From c831cb7b89a2b47757134b1e14de843ddb201159 Mon Sep 17 00:00:00 2001 From: Zetazzz Date: Tue, 6 May 2025 08:20:37 +0800 Subject: [PATCH] use the latest kit feature signingclient --- examples/authz/components/authz/GrantCard.tsx | 4 +- .../components/authz/GrantDetailsModal.tsx | 4 +- .../authz/components/authz/GrantModal.tsx | 7 +- .../components/claim-rewards/Overview.tsx | 4 +- examples/authz/components/send/send.tsx | 4 +- .../components/staking/DelegateModal.tsx | 10 +- .../authz/components/staking/Overview.tsx | 4 +- examples/authz/components/voting/Proposal.tsx | 2 +- examples/authz/package.json | 10 +- examples/authz/pages/index.tsx | 21 +- examples/authz/proto/confio/LICENSE | 204 - examples/authz/proto/confio/README.md | 1 - examples/authz/proto/confio/proofs.proto | 234 - examples/authz/proto/cosmos/LICENSE | 204 - examples/authz/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 - .../authz/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 - .../authz/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 - .../authz/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 - .../authz/proto/cosmos/gov/v1/genesis.proto | 26 - examples/authz/proto/cosmos/gov/v1/gov.proto | 132 - .../authz/proto/cosmos/gov/v1/query.proto | 183 - examples/authz/proto/cosmos/gov/v1/tx.proto | 100 - .../proto/cosmos/gov/v1beta1/genesis.proto | 26 - .../authz/proto/cosmos/gov/v1beta1/gov.proto | 201 - .../proto/cosmos/gov/v1beta1/query.proto | 191 - .../authz/proto/cosmos/gov/v1beta1/tx.proto | 106 - .../authz/proto/cosmos/group/v1/events.proto | 77 - .../authz/proto/cosmos/group/v1/genesis.proto | 38 - .../authz/proto/cosmos/group/v1/query.proto | 308 - examples/authz/proto/cosmos/group/v1/tx.proto | 364 - .../authz/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 - examples/authz/proto/cosmos/msg/v1/msg.proto | 22 - .../proto/cosmos/nft/v1beta1/event.proto | 26 - .../proto/cosmos/nft/v1beta1/genesis.proto | 22 - .../authz/proto/cosmos/nft/v1beta1/nft.proto | 48 - .../proto/cosmos/nft/v1beta1/query.proto | 125 - .../authz/proto/cosmos/nft/v1beta1/tx.proto | 30 - examples/authz/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 - .../authz/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/authz/proto/cosmos_proto/LICENSE | 204 - examples/authz/proto/cosmos_proto/README.md | 1 - .../authz/proto/cosmos_proto/cosmos.proto | 97 - examples/authz/proto/cosmwasm/LICENSE | 204 - examples/authz/proto/cosmwasm/README.md | 1 - .../proto/cosmwasm/wasm/v1/genesis.proto | 60 - .../authz/proto/cosmwasm/wasm/v1/ibc.proto | 31 - .../proto/cosmwasm/wasm/v1/proposal.proto | 150 - .../authz/proto/cosmwasm/wasm/v1/query.proto | 223 - .../authz/proto/cosmwasm/wasm/v1/tx.proto | 135 - .../authz/proto/cosmwasm/wasm/v1/types.proto | 140 - examples/authz/proto/gogoproto/LICENSE | 34 - examples/authz/proto/gogoproto/README.md | 1 - examples/authz/proto/gogoproto/gogo.proto | 145 - examples/authz/proto/google/LICENSE | 201 - examples/authz/proto/google/README.md | 1 - .../authz/proto/google/api/annotations.proto | 31 - examples/authz/proto/google/api/http.proto | 375 - .../authz/proto/google/protobuf/any.proto | 155 - .../proto/google/protobuf/descriptor.proto | 885 - .../proto/google/protobuf/duration.proto | 116 - .../authz/proto/google/protobuf/empty.proto | 52 - .../proto/google/protobuf/timestamp.proto | 138 - examples/authz/proto/ibc/LICENSE | 21 - examples/authz/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 - .../authz/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 - .../authz/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 - .../authz/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 - .../proto/osmosis/claim/v1beta1/claim.proto | 35 - .../proto/osmosis/claim/v1beta1/genesis.proto | 33 - .../proto/osmosis/claim/v1beta1/params.proto | 31 - .../proto/osmosis/claim/v1beta1/query.proto | 94 - .../authz/proto/osmosis/epochs/genesis.proto | 72 - .../authz/proto/osmosis/epochs/query.proto | 30 - .../pool-models/balancer/balancerPool.proto | 151 - .../gamm/pool-models/balancer/tx/tx.proto | 31 - .../stableswap/stableswap_pool.proto | 73 - .../gamm/pool-models/stableswap/tx.proto | 53 - .../proto/osmosis/gamm/v1beta1/genesis.proto | 27 - .../proto/osmosis/gamm/v1beta1/query.proto | 308 - .../authz/proto/osmosis/gamm/v1beta1/tx.proto | 237 - .../authz/proto/osmosis/gamm/v2/query.proto | 38 - .../ibc-rate-limit/v1beta1/params.proto | 12 - .../ibc-rate-limit/v1beta1/query.proto | 27 - .../proto/osmosis/incentives/gauge.proto | 60 - .../proto/osmosis/incentives/genesis.proto | 28 - .../proto/osmosis/incentives/params.proto | 14 - .../proto/osmosis/incentives/query.proto | 175 - .../authz/proto/osmosis/incentives/tx.proto | 60 - .../authz/proto/osmosis/lockup/genesis.proto | 14 - .../authz/proto/osmosis/lockup/lock.proto | 108 - .../authz/proto/osmosis/lockup/params.proto | 11 - .../authz/proto/osmosis/lockup/query.proto | 299 - examples/authz/proto/osmosis/lockup/tx.proto | 88 - .../proto/osmosis/mint/v1beta1/genesis.proto | 21 - .../proto/osmosis/mint/v1beta1/mint.proto | 111 - .../proto/osmosis/mint/v1beta1/query.proto | 45 - .../pool-incentives/v1beta1/genesis.proto | 27 - .../osmosis/pool-incentives/v1beta1/gov.proto | 52 - .../pool-incentives/v1beta1/incentives.proto | 58 - .../pool-incentives/v1beta1/query.proto | 108 - .../proto/osmosis/sumtree/v1beta1/tree.proto | 19 - .../proto/osmosis/superfluid/genesis.proto | 27 - .../proto/osmosis/superfluid/params.proto | 20 - .../proto/osmosis/superfluid/query.proto | 284 - .../proto/osmosis/superfluid/superfluid.proto | 82 - .../authz/proto/osmosis/superfluid/tx.proto | 92 - .../osmosis/superfluid/v1beta1/gov.proto | 50 - .../v1beta1/authorityMetadata.proto | 17 - .../tokenfactory/v1beta1/genesis.proto | 32 - .../osmosis/tokenfactory/v1beta1/params.proto | 18 - .../osmosis/tokenfactory/v1beta1/query.proto | 71 - .../osmosis/tokenfactory/v1beta1/tx.proto | 108 - .../proto/osmosis/twap/v1beta1/genesis.proto | 29 - .../proto/osmosis/twap/v1beta1/query.proto | 73 - .../proto/osmosis/twap/v1beta1/query.yml | 22 - .../osmosis/twap/v1beta1/twap_record.proto | 69 - .../osmosis/txfees/v1beta1/feetoken.proto | 17 - .../osmosis/txfees/v1beta1/genesis.proto | 13 - .../proto/osmosis/txfees/v1beta1/gov.proto | 27 - .../proto/osmosis/txfees/v1beta1/query.proto | 74 - examples/authz/proto/tendermint/LICENSE | 204 - examples/authz/proto/tendermint/README.md | 1 - .../authz/proto/tendermint/abci/types.proto | 394 - .../authz/proto/tendermint/crypto/keys.proto | 17 - .../authz/proto/tendermint/crypto/proof.proto | 41 - .../proto/tendermint/libs/bits/types.proto | 9 - .../authz/proto/tendermint/p2p/types.proto | 42 - .../authz/proto/tendermint/types/block.proto | 15 - .../proto/tendermint/types/evidence.proto | 38 - .../authz/proto/tendermint/types/params.proto | 79 - .../authz/proto/tendermint/types/types.proto | 153 - .../proto/tendermint/types/validator.proto | 25 - .../proto/tendermint/version/types.proto | 24 - examples/authz/types/codegen/binary.d.ts | 130 - .../authz/types/codegen/confio/proofs.d.ts | 901 - .../codegen/cosmos/app/v1alpha1/config.d.ts | 146 - .../codegen/cosmos/app/v1alpha1/module.d.ts | 271 - .../codegen/cosmos/app/v1alpha1/query.d.ts | 84 - .../cosmos/app/v1alpha1/query.rpc.Query.d.ts | 30 - .../codegen/cosmos/auth/v1beta1/auth.d.ts | 169 - .../codegen/cosmos/auth/v1beta1/genesis.d.ts | 52 - .../codegen/cosmos/auth/v1beta1/query.d.ts | 618 - .../cosmos/auth/v1beta1/query.rpc.Query.d.ts | 122 - .../codegen/cosmos/authz/v1beta1/authz.d.ts | 230 - .../codegen/cosmos/authz/v1beta1/event.d.ts | 108 - .../codegen/cosmos/authz/v1beta1/genesis.d.ts | 44 - .../codegen/cosmos/authz/v1beta1/query.d.ts | 294 - .../cosmos/authz/v1beta1/query.rpc.Query.d.ts | 84 - .../cosmos/authz/v1beta1/tx.amino.d.ts | 18 - .../codegen/cosmos/authz/v1beta1/tx.d.ts | 307 - .../cosmos/authz/v1beta1/tx.registry.d.ts | 77 - .../cosmos/authz/v1beta1/tx.rpc.msg.d.ts | 31 - .../codegen/cosmos/bank/v1beta1/authz.d.ts | 61 - .../codegen/cosmos/bank/v1beta1/bank.d.ts | 447 - .../codegen/cosmos/bank/v1beta1/genesis.d.ts | 125 - .../codegen/cosmos/bank/v1beta1/query.d.ts | 966 - .../cosmos/bank/v1beta1/query.rpc.Query.d.ts | 167 - .../codegen/cosmos/bank/v1beta1/tx.amino.d.ts | 13 - .../types/codegen/cosmos/bank/v1beta1/tx.d.ts | 171 - .../cosmos/bank/v1beta1/tx.registry.d.ts | 57 - .../cosmos/bank/v1beta1/tx.rpc.msg.d.ts | 16 - .../cosmos/base/abci/v1beta1/abci.d.ts | 683 - .../codegen/cosmos/base/kv/v1beta1/kv.d.ts | 87 - .../cosmos/base/query/v1beta1/pagination.d.ts | 215 - .../base/reflection/v1beta1/reflection.d.ts | 185 - .../base/reflection/v2alpha1/reflection.d.ts | 1266 - .../base/snapshots/v1beta1/snapshot.d.ts | 419 - .../base/store/v1beta1/commit_info.d.ts | 161 - .../cosmos/base/store/v1beta1/listening.d.ts | 74 - .../cosmos/base/tendermint/v1beta1/query.d.ts | 689 - .../tendermint/v1beta1/query.rpc.Service.d.ts | 95 - .../codegen/cosmos/base/v1beta1/coin.d.ts | 202 - .../authz/types/codegen/cosmos/bundle.d.ts | 21018 ---------------- .../cosmos/capability/v1beta1/capability.d.ts | 155 - .../cosmos/capability/v1beta1/genesis.d.ts | 105 - .../authz/types/codegen/cosmos/client.d.ts | 254 - .../cosmos/crisis/v1beta1/genesis.d.ts | 52 - .../cosmos/crisis/v1beta1/tx.amino.d.ts | 8 - .../codegen/cosmos/crisis/v1beta1/tx.d.ts | 87 - .../cosmos/crisis/v1beta1/tx.registry.d.ts | 37 - .../cosmos/crisis/v1beta1/tx.rpc.msg.d.ts | 13 - .../codegen/cosmos/crypto/ed25519/keys.d.ts | 111 - .../types/codegen/cosmos/crypto/hd/v1/hd.d.ts | 71 - .../cosmos/crypto/keyring/v1/record.d.ts | 242 - .../codegen/cosmos/crypto/multisig/keys.d.ts | 59 - .../crypto/multisig/v1beta1/multisig.d.ts | 114 - .../codegen/cosmos/crypto/secp256k1/keys.d.ts | 102 - .../codegen/cosmos/crypto/secp256r1/keys.d.ts | 94 - .../distribution/v1beta1/distribution.d.ts | 682 - .../cosmos/distribution/v1beta1/genesis.d.ts | 478 - .../cosmos/distribution/v1beta1/query.d.ts | 941 - .../distribution/v1beta1/query.rpc.Query.d.ts | 145 - .../cosmos/distribution/v1beta1/tx.amino.d.ts | 23 - .../cosmos/distribution/v1beta1/tx.d.ts | 370 - .../distribution/v1beta1/tx.registry.d.ts | 97 - .../distribution/v1beta1/tx.rpc.msg.d.ts | 34 - .../cosmos/evidence/v1beta1/evidence.d.ts | 61 - .../cosmos/evidence/v1beta1/genesis.d.ts | 46 - .../cosmos/evidence/v1beta1/query.d.ts | 199 - .../evidence/v1beta1/query.rpc.Query.d.ts | 43 - .../cosmos/evidence/v1beta1/tx.amino.d.ts | 8 - .../codegen/cosmos/evidence/v1beta1/tx.d.ts | 102 - .../cosmos/evidence/v1beta1/tx.registry.d.ts | 37 - .../cosmos/evidence/v1beta1/tx.rpc.msg.d.ts | 16 - .../cosmos/feegrant/v1beta1/feegrant.d.ts | 275 - .../cosmos/feegrant/v1beta1/genesis.d.ts | 44 - .../cosmos/feegrant/v1beta1/query.d.ts | 283 - .../feegrant/v1beta1/query.rpc.Query.d.ts | 67 - .../cosmos/feegrant/v1beta1/tx.amino.d.ts | 13 - .../codegen/cosmos/feegrant/v1beta1/tx.d.ts | 193 - .../cosmos/feegrant/v1beta1/tx.registry.d.ts | 57 - .../cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts | 22 - .../cosmos/genutil/v1beta1/genesis.d.ts | 45 - .../types/codegen/cosmos/gov/v1/genesis.d.ts | 76 - .../types/codegen/cosmos/gov/v1/gov.d.ts | 511 - .../types/codegen/cosmos/gov/v1/query.d.ts | 761 - .../cosmos/gov/v1/query.rpc.Query.d.ts | 121 - .../types/codegen/cosmos/gov/v1/tx.amino.d.ts | 28 - .../authz/types/codegen/cosmos/gov/v1/tx.d.ts | 467 - .../codegen/cosmos/gov/v1/tx.registry.d.ts | 117 - .../codegen/cosmos/gov/v1/tx.rpc.msg.d.ts | 28 - .../codegen/cosmos/gov/v1beta1/genesis.d.ts | 76 - .../types/codegen/cosmos/gov/v1beta1/gov.d.ts | 589 - .../codegen/cosmos/gov/v1beta1/query.d.ts | 761 - .../cosmos/gov/v1beta1/query.rpc.Query.d.ts | 121 - .../codegen/cosmos/gov/v1beta1/tx.amino.d.ts | 23 - .../types/codegen/cosmos/gov/v1beta1/tx.d.ts | 384 - .../cosmos/gov/v1beta1/tx.registry.d.ts | 97 - .../cosmos/gov/v1beta1/tx.rpc.msg.d.ts | 26 - .../types/codegen/cosmos/group/v1/events.d.ts | 400 - .../codegen/cosmos/group/v1/genesis.d.ts | 99 - .../types/codegen/cosmos/group/v1/query.d.ts | 1207 - .../cosmos/group/v1/query.rpc.Query.d.ts | 186 - .../codegen/cosmos/group/v1/tx.amino.d.ts | 73 - .../types/codegen/cosmos/group/v1/tx.d.ts | 1383 - .../codegen/cosmos/group/v1/tx.registry.d.ts | 297 - .../codegen/cosmos/group/v1/tx.rpc.msg.d.ts | 52 - .../types/codegen/cosmos/group/v1/types.d.ts | 850 - .../codegen/cosmos/mint/v1beta1/genesis.d.ts | 51 - .../codegen/cosmos/mint/v1beta1/mint.d.ts | 118 - .../codegen/cosmos/mint/v1beta1/query.d.ts | 273 - .../cosmos/mint/v1beta1/query.rpc.Query.d.ts | 56 - .../types/codegen/cosmos/msg/v1/msg.d.ts | 1 - .../codegen/cosmos/nft/v1beta1/event.d.ts | 146 - .../codegen/cosmos/nft/v1beta1/genesis.d.ts | 97 - .../types/codegen/cosmos/nft/v1beta1/nft.d.ts | 139 - .../codegen/cosmos/nft/v1beta1/query.d.ts | 601 - .../cosmos/nft/v1beta1/query.rpc.Query.d.ts | 119 - .../codegen/cosmos/nft/v1beta1/tx.amino.d.ts | 8 - .../types/codegen/cosmos/nft/v1beta1/tx.d.ts | 98 - .../cosmos/nft/v1beta1/tx.registry.d.ts | 37 - .../cosmos/nft/v1beta1/tx.rpc.msg.d.ts | 13 - .../types/codegen/cosmos/orm/v1/orm.d.ts | 313 - .../codegen/cosmos/orm/v1alpha1/schema.d.ts | 176 - .../codegen/cosmos/params/v1beta1/params.d.ts | 107 - .../codegen/cosmos/params/v1beta1/query.d.ts | 244 - .../params/v1beta1/query.rpc.Query.d.ts | 54 - .../authz/types/codegen/cosmos/rpc.query.d.ts | 61 - .../authz/types/codegen/cosmos/rpc.tx.d.ts | 47 - .../cosmos/slashing/v1beta1/genesis.d.ts | 221 - .../cosmos/slashing/v1beta1/query.d.ts | 292 - .../slashing/v1beta1/query.rpc.Query.d.ts | 56 - .../cosmos/slashing/v1beta1/slashing.d.ts | 151 - .../cosmos/slashing/v1beta1/tx.amino.d.ts | 8 - .../codegen/cosmos/slashing/v1beta1/tx.d.ts | 81 - .../cosmos/slashing/v1beta1/tx.registry.d.ts | 37 - .../cosmos/slashing/v1beta1/tx.rpc.msg.d.ts | 17 - .../codegen/cosmos/staking/v1beta1/authz.d.ts | 148 - .../cosmos/staking/v1beta1/genesis.d.ts | 139 - .../codegen/cosmos/staking/v1beta1/query.d.ts | 1447 -- .../staking/v1beta1/query.rpc.Query.d.ts | 243 - .../cosmos/staking/v1beta1/staking.d.ts | 1214 - .../cosmos/staking/v1beta1/tx.amino.d.ts | 28 - .../codegen/cosmos/staking/v1beta1/tx.d.ts | 496 - .../cosmos/staking/v1beta1/tx.registry.d.ts | 117 - .../cosmos/staking/v1beta1/tx.rpc.msg.d.ts | 34 - .../cosmos/tx/signing/v1beta1/signing.d.ts | 312 - .../codegen/cosmos/tx/v1beta1/service.d.ts | 635 - .../tx/v1beta1/service.rpc.Service.d.ts | 96 - .../types/codegen/cosmos/tx/v1beta1/tx.d.ts | 1032 - .../codegen/cosmos/upgrade/v1beta1/query.d.ts | 549 - .../upgrade/v1beta1/query.rpc.Query.d.ts | 119 - .../cosmos/upgrade/v1beta1/tx.amino.d.ts | 13 - .../codegen/cosmos/upgrade/v1beta1/tx.d.ts | 218 - .../cosmos/upgrade/v1beta1/tx.registry.d.ts | 57 - .../cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts | 25 - .../cosmos/upgrade/v1beta1/upgrade.d.ts | 307 - .../cosmos/vesting/v1beta1/tx.amino.d.ts | 18 - .../codegen/cosmos/vesting/v1beta1/tx.d.ts | 304 - .../cosmos/vesting/v1beta1/tx.registry.d.ts | 77 - .../cosmos/vesting/v1beta1/tx.rpc.msg.d.ts | 28 - .../cosmos/vesting/v1beta1/vesting.d.ts | 331 - .../types/codegen/cosmos_proto/bundle.d.ts | 53 - .../types/codegen/cosmos_proto/cosmos.d.ts | 186 - .../authz/types/codegen/cosmwasm/bundle.d.ts | 1969 -- .../authz/types/codegen/cosmwasm/client.d.ts | 47 - .../types/codegen/cosmwasm/rpc.query.d.ts | 66 - .../authz/types/codegen/cosmwasm/rpc.tx.d.ts | 52 - .../codegen/cosmwasm/wasm/v1/genesis.d.ts | 256 - .../types/codegen/cosmwasm/wasm/v1/ibc.d.ts | 119 - .../codegen/cosmwasm/wasm/v1/proposal.d.ts | 596 - .../types/codegen/cosmwasm/wasm/v1/query.d.ts | 999 - .../cosmwasm/wasm/v1/query.rpc.Query.d.ts | 134 - .../codegen/cosmwasm/wasm/v1/tx.amino.d.ts | 33 - .../types/codegen/cosmwasm/wasm/v1/tx.d.ts | 616 - .../codegen/cosmwasm/wasm/v1/tx.registry.d.ts | 137 - .../codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts | 28 - .../types/codegen/cosmwasm/wasm/v1/types.d.ts | 477 - examples/authz/types/codegen/extern.d.ts | 9 - .../authz/types/codegen/gogoproto/bundle.d.ts | 1 - .../authz/types/codegen/gogoproto/gogo.d.ts | 1 - .../types/codegen/google/api/annotations.d.ts | 1 - .../authz/types/codegen/google/api/http.d.ts | 1084 - .../authz/types/codegen/google/bundle.d.ts | 1948 -- .../types/codegen/google/protobuf/any.d.ts | 346 - .../codegen/google/protobuf/descriptor.d.ts | 2468 -- .../codegen/google/protobuf/duration.d.ts | 231 - .../types/codegen/google/protobuf/empty.d.ts | 68 - .../codegen/google/protobuf/timestamp.d.ts | 301 - examples/authz/types/codegen/helpers.d.ts | 81 - examples/authz/types/codegen/hooks.d.ts | 406 - .../ibc/applications/transfer/v1/genesis.d.ts | 50 - .../ibc/applications/transfer/v1/query.d.ts | 298 - .../transfer/v1/query.rpc.Query.d.ts | 56 - .../applications/transfer/v1/transfer.d.ts | 140 - .../applications/transfer/v1/tx.amino.d.ts | 8 - .../ibc/applications/transfer/v1/tx.d.ts | 139 - .../applications/transfer/v1/tx.registry.d.ts | 37 - .../applications/transfer/v1/tx.rpc.msg.d.ts | 13 - .../ibc/applications/transfer/v2/packet.d.ts | 72 - examples/authz/types/codegen/ibc/bundle.d.ts | 6530 ----- examples/authz/types/codegen/ibc/client.d.ts | 112 - .../codegen/ibc/core/channel/v1/channel.d.ts | 491 - .../codegen/ibc/core/channel/v1/genesis.d.ts | 123 - .../codegen/ibc/core/channel/v1/query.d.ts | 1574 -- .../ibc/core/channel/v1/query.rpc.Query.d.ts | 274 - .../codegen/ibc/core/channel/v1/tx.amino.d.ts | 53 - .../types/codegen/ibc/core/channel/v1/tx.d.ts | 994 - .../ibc/core/channel/v1/tx.registry.d.ts | 217 - .../ibc/core/channel/v1/tx.rpc.msg.d.ts | 43 - .../codegen/ibc/core/client/v1/client.d.ts | 457 - .../codegen/ibc/core/client/v1/genesis.d.ts | 179 - .../codegen/ibc/core/client/v1/query.d.ts | 882 - .../ibc/core/client/v1/query.rpc.Query.d.ts | 143 - .../codegen/ibc/core/client/v1/tx.amino.d.ts | 23 - .../types/codegen/ibc/core/client/v1/tx.d.ts | 430 - .../ibc/core/client/v1/tx.registry.d.ts | 97 - .../ibc/core/client/v1/tx.rpc.msg.d.ts | 22 - .../ibc/core/commitment/v1/commitment.d.ts | 218 - .../ibc/core/connection/v1/connection.d.ts | 464 - .../ibc/core/connection/v1/genesis.d.ts | 55 - .../codegen/ibc/core/connection/v1/query.d.ts | 588 - .../core/connection/v1/query.rpc.Query.d.ts | 115 - .../ibc/core/connection/v1/tx.amino.d.ts | 23 - .../codegen/ibc/core/connection/v1/tx.d.ts | 490 - .../ibc/core/connection/v1/tx.registry.d.ts | 97 - .../ibc/core/connection/v1/tx.rpc.msg.d.ts | 25 - .../types/codegen/ibc/core/port/v1/query.d.ts | 114 - .../ibc/core/port/v1/query.rpc.Query.d.ts | 30 - .../codegen/ibc/core/types/v1/genesis.d.ts | 64 - .../lightclients/localhost/v1/localhost.d.ts | 60 - .../solomachine/v1/solomachine.d.ts | 921 - .../solomachine/v2/solomachine.d.ts | 921 - .../tendermint/v1/tendermint.d.ts | 395 - .../authz/types/codegen/ibc/rpc.query.d.ts | 82 - examples/authz/types/codegen/ibc/rpc.tx.d.ts | 65 - .../authz/types/codegen/ics23/bundle.d.ts | 729 - examples/authz/types/codegen/index.d.ts | 28 - examples/authz/types/codegen/mobx.d.ts | 23 - examples/authz/types/codegen/mobx.stores.d.ts | 1445 -- .../authz/types/codegen/osmosis/bundle.d.ts | 7902 ------ .../codegen/osmosis/claim/v1beta1/claim.d.ts | 73 - .../osmosis/claim/v1beta1/genesis.d.ts | 58 - .../codegen/osmosis/claim/v1beta1/params.d.ts | 55 - .../codegen/osmosis/claim/v1beta1/query.d.ts | 398 - .../claim/v1beta1/query.rpc.Query.d.ts | 77 - .../authz/types/codegen/osmosis/client.d.ts | 157 - .../types/codegen/osmosis/epochs/genesis.d.ts | 202 - .../types/codegen/osmosis/epochs/query.d.ts | 152 - .../osmosis/epochs/query.rpc.Query.d.ts | 43 - .../pool-models/balancer/balancerPool.d.ts | 351 - .../pool-models/balancer/tx/tx.amino.d.ts | 8 - .../gamm/pool-models/balancer/tx/tx.d.ts | 94 - .../pool-models/balancer/tx/tx.registry.d.ts | 37 - .../pool-models/balancer/tx/tx.rpc.msg.d.ts | 11 - .../stableswap/stableswap_pool.d.ts | 154 - .../gamm/pool-models/stableswap/tx.amino.d.ts | 13 - .../gamm/pool-models/stableswap/tx.d.ts | 192 - .../pool-models/stableswap/tx.registry.d.ts | 57 - .../pool-models/stableswap/tx.rpc.msg.d.ts | 13 - .../osmosis/gamm/v1beta1/tx.amino.d.ts | 43 - .../codegen/osmosis/gamm/v1beta1/tx.d.ts | 816 - .../types/codegen/osmosis/gamm/v2/query.d.ts | 110 - .../osmosis/gamm/v2/query.rpc.Query.d.ts | 40 - .../ibc-rate-limit/v1beta1/params.d.ts | 43 - .../osmosis/ibc-rate-limit/v1beta1/query.d.ts | 84 - .../v1beta1/query.rpc.Query.d.ts | 41 - .../codegen/osmosis/incentives/gauge.d.ts | 171 - .../codegen/osmosis/incentives/genesis.d.ts | 84 - .../codegen/osmosis/incentives/params.d.ts | 51 - .../codegen/osmosis/incentives/query.d.ts | 773 - .../osmosis/incentives/query.rpc.Query.d.ts | 170 - .../codegen/osmosis/incentives/tx.amino.d.ts | 13 - .../types/codegen/osmosis/incentives/tx.d.ts | 219 - .../osmosis/incentives/tx.registry.d.ts | 57 - .../osmosis/incentives/tx.rpc.msg.d.ts | 13 - .../types/codegen/osmosis/lockup/genesis.d.ts | 50 - .../types/codegen/osmosis/lockup/lock.d.ts | 309 - .../types/codegen/osmosis/lockup/params.d.ts | 40 - .../types/codegen/osmosis/lockup/query.d.ts | 1322 - .../osmosis/lockup/query.rpc.Query.d.ts | 260 - .../codegen/osmosis/lockup/tx.amino.d.ts | 28 - .../types/codegen/osmosis/lockup/tx.d.ts | 445 - .../codegen/osmosis/lockup/tx.registry.d.ts | 117 - .../codegen/osmosis/lockup/tx.rpc.msg.d.ts | 24 - .../codegen/osmosis/mint/v1beta1/genesis.d.ts | 62 - .../codegen/osmosis/mint/v1beta1/mint.d.ts | 309 - .../codegen/osmosis/mint/v1beta1/query.d.ts | 183 - .../osmosis/mint/v1beta1/query.rpc.Query.d.ts | 43 - .../pool-incentives/v1beta1/genesis.d.ts | 56 - .../osmosis/pool-incentives/v1beta1/gov.d.ts | 149 - .../pool-incentives/v1beta1/incentives.d.ts | 255 - .../pool-incentives/v1beta1/query.d.ts | 534 - .../v1beta1/query.rpc.Query.d.ts | 94 - .../types/codegen/osmosis/rpc.query.d.ts | 93 - .../authz/types/codegen/osmosis/rpc.tx.d.ts | 65 - .../codegen/osmosis/sumtree/v1beta1/tree.d.ts | 119 - .../codegen/osmosis/superfluid/genesis.d.ts | 81 - .../codegen/osmosis/superfluid/params.d.ts | 55 - .../codegen/osmosis/superfluid/query.d.ts | 1268 - .../osmosis/superfluid/query.rpc.Query.d.ts | 270 - .../osmosis/superfluid/superfluid.d.ts | 357 - .../codegen/osmosis/superfluid/tx.amino.d.ts | 28 - .../types/codegen/osmosis/superfluid/tx.d.ts | 440 - .../osmosis/superfluid/tx.registry.d.ts | 117 - .../osmosis/superfluid/tx.rpc.msg.d.ts | 27 - .../osmosis/superfluid/v1beta1/gov.d.ts | 180 - .../v1beta1/authorityMetadata.d.ts | 57 - .../osmosis/tokenfactory/v1beta1/genesis.d.ts | 106 - .../osmosis/tokenfactory/v1beta1/params.d.ts | 44 - .../osmosis/tokenfactory/v1beta1/query.d.ts | 285 - .../tokenfactory/v1beta1/query.rpc.Query.d.ts | 89 - .../tokenfactory/v1beta1/tx.amino.d.ts | 28 - .../osmosis/tokenfactory/v1beta1/tx.d.ts | 509 - .../tokenfactory/v1beta1/tx.registry.d.ts | 117 - .../tokenfactory/v1beta1/tx.rpc.msg.d.ts | 20 - .../codegen/osmosis/twap/v1beta1/genesis.d.ts | 96 - .../codegen/osmosis/twap/v1beta1/query.d.ts | 249 - .../osmosis/twap/v1beta1/query.rpc.Query.d.ts | 52 - .../osmosis/twap/v1beta1/twap_record.d.ts | 126 - .../osmosis/txfees/v1beta1/feetoken.d.ts | 61 - .../osmosis/txfees/v1beta1/genesis.d.ts | 47 - .../codegen/osmosis/txfees/v1beta1/gov.d.ts | 70 - .../codegen/osmosis/txfees/v1beta1/query.d.ts | 328 - .../txfees/v1beta1/query.rpc.Query.d.ts | 82 - examples/authz/types/codegen/react-query.d.ts | 29 - examples/authz/types/codegen/registry.d.ts | 33 - .../types/codegen/tendermint/abci/types.d.ts | 2097 -- .../types/codegen/tendermint/bundle.d.ts | 3261 --- .../types/codegen/tendermint/crypto/keys.d.ts | 44 - .../codegen/tendermint/crypto/proof.d.ts | 228 - .../codegen/tendermint/libs/bits/types.d.ts | 41 - .../types/codegen/tendermint/p2p/types.d.ts | 227 - .../types/codegen/tendermint/types/block.d.ts | 49 - .../codegen/tendermint/types/evidence.d.ts | 181 - .../codegen/tendermint/types/params.d.ts | 355 - .../types/codegen/tendermint/types/types.d.ts | 691 - .../codegen/tendermint/types/validator.d.ts | 129 - .../codegen/tendermint/version/types.d.ts | 110 - examples/authz/types/codegen/types.d.ts | 117 - examples/authz/types/codegen/utf8.d.ts | 27 - examples/authz/types/codegen/varint.d.ts | 105 - examples/authz/types/config.d.ts | 19 - examples/authz/types/index.d.ts | 3 - examples/authz/types/utils.d.ts | 6 - examples/authz/yarn.lock | 379 +- 566 files changed, 220 insertions(+), 139566 deletions(-) delete mode 100644 examples/authz/proto/confio/LICENSE delete mode 100644 examples/authz/proto/confio/README.md delete mode 100644 examples/authz/proto/confio/proofs.proto delete mode 100644 examples/authz/proto/cosmos/LICENSE delete mode 100644 examples/authz/proto/cosmos/README.md delete mode 100644 examples/authz/proto/cosmos/app/v1alpha1/config.proto delete mode 100644 examples/authz/proto/cosmos/app/v1alpha1/module.proto delete mode 100644 examples/authz/proto/cosmos/app/v1alpha1/query.proto delete mode 100644 examples/authz/proto/cosmos/auth/v1beta1/auth.proto delete mode 100644 examples/authz/proto/cosmos/auth/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/auth/v1beta1/query.proto delete mode 100644 examples/authz/proto/cosmos/authz/v1beta1/authz.proto delete mode 100644 examples/authz/proto/cosmos/authz/v1beta1/event.proto delete mode 100644 examples/authz/proto/cosmos/authz/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/authz/v1beta1/query.proto delete mode 100644 examples/authz/proto/cosmos/authz/v1beta1/tx.proto delete mode 100644 examples/authz/proto/cosmos/bank/v1beta1/authz.proto delete mode 100644 examples/authz/proto/cosmos/bank/v1beta1/bank.proto delete mode 100644 examples/authz/proto/cosmos/bank/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/bank/v1beta1/query.proto delete mode 100644 examples/authz/proto/cosmos/bank/v1beta1/tx.proto delete mode 100644 examples/authz/proto/cosmos/base/abci/v1beta1/abci.proto delete mode 100644 examples/authz/proto/cosmos/base/kv/v1beta1/kv.proto delete mode 100644 examples/authz/proto/cosmos/base/query/v1beta1/pagination.proto delete mode 100644 examples/authz/proto/cosmos/base/reflection/v1beta1/reflection.proto delete mode 100644 examples/authz/proto/cosmos/base/reflection/v2alpha1/reflection.proto delete mode 100644 examples/authz/proto/cosmos/base/snapshots/v1beta1/snapshot.proto delete mode 100644 examples/authz/proto/cosmos/base/store/v1beta1/commit_info.proto delete mode 100644 examples/authz/proto/cosmos/base/store/v1beta1/listening.proto delete mode 100644 examples/authz/proto/cosmos/base/tendermint/v1beta1/query.proto delete mode 100644 examples/authz/proto/cosmos/base/v1beta1/coin.proto delete mode 100644 examples/authz/proto/cosmos/capability/v1beta1/capability.proto delete mode 100644 examples/authz/proto/cosmos/capability/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/crisis/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/crisis/v1beta1/tx.proto delete mode 100644 examples/authz/proto/cosmos/crypto/ed25519/keys.proto delete mode 100644 examples/authz/proto/cosmos/crypto/hd/v1/hd.proto delete mode 100644 examples/authz/proto/cosmos/crypto/keyring/v1/record.proto delete mode 100644 examples/authz/proto/cosmos/crypto/multisig/keys.proto delete mode 100644 examples/authz/proto/cosmos/crypto/multisig/v1beta1/multisig.proto delete mode 100644 examples/authz/proto/cosmos/crypto/secp256k1/keys.proto delete mode 100644 examples/authz/proto/cosmos/crypto/secp256r1/keys.proto delete mode 100644 examples/authz/proto/cosmos/distribution/v1beta1/distribution.proto delete mode 100644 examples/authz/proto/cosmos/distribution/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/distribution/v1beta1/query.proto delete mode 100644 examples/authz/proto/cosmos/distribution/v1beta1/tx.proto delete mode 100644 examples/authz/proto/cosmos/evidence/v1beta1/evidence.proto delete mode 100644 examples/authz/proto/cosmos/evidence/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/evidence/v1beta1/query.proto delete mode 100644 examples/authz/proto/cosmos/evidence/v1beta1/tx.proto delete mode 100644 examples/authz/proto/cosmos/feegrant/v1beta1/feegrant.proto delete mode 100644 examples/authz/proto/cosmos/feegrant/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/feegrant/v1beta1/query.proto delete mode 100644 examples/authz/proto/cosmos/feegrant/v1beta1/tx.proto delete mode 100644 examples/authz/proto/cosmos/genutil/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/gov/v1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/gov/v1/gov.proto delete mode 100644 examples/authz/proto/cosmos/gov/v1/query.proto delete mode 100644 examples/authz/proto/cosmos/gov/v1/tx.proto delete mode 100644 examples/authz/proto/cosmos/gov/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/gov/v1beta1/gov.proto delete mode 100644 examples/authz/proto/cosmos/gov/v1beta1/query.proto delete mode 100644 examples/authz/proto/cosmos/gov/v1beta1/tx.proto delete mode 100644 examples/authz/proto/cosmos/group/v1/events.proto delete mode 100644 examples/authz/proto/cosmos/group/v1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/group/v1/query.proto delete mode 100644 examples/authz/proto/cosmos/group/v1/tx.proto delete mode 100644 examples/authz/proto/cosmos/group/v1/types.proto delete mode 100644 examples/authz/proto/cosmos/mint/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/mint/v1beta1/mint.proto delete mode 100644 examples/authz/proto/cosmos/mint/v1beta1/query.proto delete mode 100644 examples/authz/proto/cosmos/msg/v1/msg.proto delete mode 100644 examples/authz/proto/cosmos/nft/v1beta1/event.proto delete mode 100644 examples/authz/proto/cosmos/nft/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/nft/v1beta1/nft.proto delete mode 100644 examples/authz/proto/cosmos/nft/v1beta1/query.proto delete mode 100644 examples/authz/proto/cosmos/nft/v1beta1/tx.proto delete mode 100644 examples/authz/proto/cosmos/orm/v1/orm.proto delete mode 100644 examples/authz/proto/cosmos/orm/v1alpha1/schema.proto delete mode 100644 examples/authz/proto/cosmos/params/v1beta1/params.proto delete mode 100644 examples/authz/proto/cosmos/params/v1beta1/query.proto delete mode 100644 examples/authz/proto/cosmos/slashing/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/slashing/v1beta1/query.proto delete mode 100644 examples/authz/proto/cosmos/slashing/v1beta1/slashing.proto delete mode 100644 examples/authz/proto/cosmos/slashing/v1beta1/tx.proto delete mode 100644 examples/authz/proto/cosmos/staking/v1beta1/authz.proto delete mode 100644 examples/authz/proto/cosmos/staking/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/cosmos/staking/v1beta1/query.proto delete mode 100644 examples/authz/proto/cosmos/staking/v1beta1/staking.proto delete mode 100644 examples/authz/proto/cosmos/staking/v1beta1/tx.proto delete mode 100644 examples/authz/proto/cosmos/tx/signing/v1beta1/signing.proto delete mode 100644 examples/authz/proto/cosmos/tx/v1beta1/service.proto delete mode 100644 examples/authz/proto/cosmos/tx/v1beta1/tx.proto delete mode 100644 examples/authz/proto/cosmos/upgrade/v1beta1/query.proto delete mode 100644 examples/authz/proto/cosmos/upgrade/v1beta1/tx.proto delete mode 100644 examples/authz/proto/cosmos/upgrade/v1beta1/upgrade.proto delete mode 100644 examples/authz/proto/cosmos/vesting/v1beta1/tx.proto delete mode 100644 examples/authz/proto/cosmos/vesting/v1beta1/vesting.proto delete mode 100644 examples/authz/proto/cosmos_proto/LICENSE delete mode 100644 examples/authz/proto/cosmos_proto/README.md delete mode 100644 examples/authz/proto/cosmos_proto/cosmos.proto delete mode 100644 examples/authz/proto/cosmwasm/LICENSE delete mode 100644 examples/authz/proto/cosmwasm/README.md delete mode 100644 examples/authz/proto/cosmwasm/wasm/v1/genesis.proto delete mode 100644 examples/authz/proto/cosmwasm/wasm/v1/ibc.proto delete mode 100644 examples/authz/proto/cosmwasm/wasm/v1/proposal.proto delete mode 100644 examples/authz/proto/cosmwasm/wasm/v1/query.proto delete mode 100644 examples/authz/proto/cosmwasm/wasm/v1/tx.proto delete mode 100644 examples/authz/proto/cosmwasm/wasm/v1/types.proto delete mode 100644 examples/authz/proto/gogoproto/LICENSE delete mode 100644 examples/authz/proto/gogoproto/README.md delete mode 100644 examples/authz/proto/gogoproto/gogo.proto delete mode 100644 examples/authz/proto/google/LICENSE delete mode 100644 examples/authz/proto/google/README.md delete mode 100644 examples/authz/proto/google/api/annotations.proto delete mode 100644 examples/authz/proto/google/api/http.proto delete mode 100644 examples/authz/proto/google/protobuf/any.proto delete mode 100644 examples/authz/proto/google/protobuf/descriptor.proto delete mode 100644 examples/authz/proto/google/protobuf/duration.proto delete mode 100644 examples/authz/proto/google/protobuf/empty.proto delete mode 100644 examples/authz/proto/google/protobuf/timestamp.proto delete mode 100644 examples/authz/proto/ibc/LICENSE delete mode 100644 examples/authz/proto/ibc/README.md delete mode 100644 examples/authz/proto/ibc/applications/transfer/v1/genesis.proto delete mode 100644 examples/authz/proto/ibc/applications/transfer/v1/query.proto delete mode 100644 examples/authz/proto/ibc/applications/transfer/v1/transfer.proto delete mode 100644 examples/authz/proto/ibc/applications/transfer/v1/tx.proto delete mode 100644 examples/authz/proto/ibc/applications/transfer/v2/packet.proto delete mode 100644 examples/authz/proto/ibc/core/channel/v1/channel.proto delete mode 100644 examples/authz/proto/ibc/core/channel/v1/genesis.proto delete mode 100644 examples/authz/proto/ibc/core/channel/v1/query.proto delete mode 100644 examples/authz/proto/ibc/core/channel/v1/tx.proto delete mode 100644 examples/authz/proto/ibc/core/client/v1/client.proto delete mode 100644 examples/authz/proto/ibc/core/client/v1/genesis.proto delete mode 100644 examples/authz/proto/ibc/core/client/v1/query.proto delete mode 100644 examples/authz/proto/ibc/core/client/v1/tx.proto delete mode 100644 examples/authz/proto/ibc/core/commitment/v1/commitment.proto delete mode 100644 examples/authz/proto/ibc/core/connection/v1/connection.proto delete mode 100644 examples/authz/proto/ibc/core/connection/v1/genesis.proto delete mode 100644 examples/authz/proto/ibc/core/connection/v1/query.proto delete mode 100644 examples/authz/proto/ibc/core/connection/v1/tx.proto delete mode 100644 examples/authz/proto/ibc/core/port/v1/query.proto delete mode 100644 examples/authz/proto/ibc/core/types/v1/genesis.proto delete mode 100644 examples/authz/proto/ibc/lightclients/localhost/v1/localhost.proto delete mode 100644 examples/authz/proto/ibc/lightclients/solomachine/v1/solomachine.proto delete mode 100644 examples/authz/proto/ibc/lightclients/solomachine/v2/solomachine.proto delete mode 100644 examples/authz/proto/ibc/lightclients/tendermint/v1/tendermint.proto delete mode 100644 examples/authz/proto/osmosis/claim/v1beta1/claim.proto delete mode 100644 examples/authz/proto/osmosis/claim/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/osmosis/claim/v1beta1/params.proto delete mode 100644 examples/authz/proto/osmosis/claim/v1beta1/query.proto delete mode 100644 examples/authz/proto/osmosis/epochs/genesis.proto delete mode 100644 examples/authz/proto/osmosis/epochs/query.proto delete mode 100644 examples/authz/proto/osmosis/gamm/pool-models/balancer/balancerPool.proto delete mode 100644 examples/authz/proto/osmosis/gamm/pool-models/balancer/tx/tx.proto delete mode 100644 examples/authz/proto/osmosis/gamm/pool-models/stableswap/stableswap_pool.proto delete mode 100644 examples/authz/proto/osmosis/gamm/pool-models/stableswap/tx.proto delete mode 100644 examples/authz/proto/osmosis/gamm/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/osmosis/gamm/v1beta1/query.proto delete mode 100644 examples/authz/proto/osmosis/gamm/v1beta1/tx.proto delete mode 100644 examples/authz/proto/osmosis/gamm/v2/query.proto delete mode 100644 examples/authz/proto/osmosis/ibc-rate-limit/v1beta1/params.proto delete mode 100644 examples/authz/proto/osmosis/ibc-rate-limit/v1beta1/query.proto delete mode 100644 examples/authz/proto/osmosis/incentives/gauge.proto delete mode 100644 examples/authz/proto/osmosis/incentives/genesis.proto delete mode 100644 examples/authz/proto/osmosis/incentives/params.proto delete mode 100644 examples/authz/proto/osmosis/incentives/query.proto delete mode 100644 examples/authz/proto/osmosis/incentives/tx.proto delete mode 100644 examples/authz/proto/osmosis/lockup/genesis.proto delete mode 100644 examples/authz/proto/osmosis/lockup/lock.proto delete mode 100644 examples/authz/proto/osmosis/lockup/params.proto delete mode 100644 examples/authz/proto/osmosis/lockup/query.proto delete mode 100644 examples/authz/proto/osmosis/lockup/tx.proto delete mode 100644 examples/authz/proto/osmosis/mint/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/osmosis/mint/v1beta1/mint.proto delete mode 100644 examples/authz/proto/osmosis/mint/v1beta1/query.proto delete mode 100644 examples/authz/proto/osmosis/pool-incentives/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/osmosis/pool-incentives/v1beta1/gov.proto delete mode 100644 examples/authz/proto/osmosis/pool-incentives/v1beta1/incentives.proto delete mode 100644 examples/authz/proto/osmosis/pool-incentives/v1beta1/query.proto delete mode 100644 examples/authz/proto/osmosis/sumtree/v1beta1/tree.proto delete mode 100644 examples/authz/proto/osmosis/superfluid/genesis.proto delete mode 100644 examples/authz/proto/osmosis/superfluid/params.proto delete mode 100644 examples/authz/proto/osmosis/superfluid/query.proto delete mode 100644 examples/authz/proto/osmosis/superfluid/superfluid.proto delete mode 100644 examples/authz/proto/osmosis/superfluid/tx.proto delete mode 100644 examples/authz/proto/osmosis/superfluid/v1beta1/gov.proto delete mode 100644 examples/authz/proto/osmosis/tokenfactory/v1beta1/authorityMetadata.proto delete mode 100644 examples/authz/proto/osmosis/tokenfactory/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/osmosis/tokenfactory/v1beta1/params.proto delete mode 100644 examples/authz/proto/osmosis/tokenfactory/v1beta1/query.proto delete mode 100644 examples/authz/proto/osmosis/tokenfactory/v1beta1/tx.proto delete mode 100644 examples/authz/proto/osmosis/twap/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/osmosis/twap/v1beta1/query.proto delete mode 100644 examples/authz/proto/osmosis/twap/v1beta1/query.yml delete mode 100644 examples/authz/proto/osmosis/twap/v1beta1/twap_record.proto delete mode 100644 examples/authz/proto/osmosis/txfees/v1beta1/feetoken.proto delete mode 100644 examples/authz/proto/osmosis/txfees/v1beta1/genesis.proto delete mode 100644 examples/authz/proto/osmosis/txfees/v1beta1/gov.proto delete mode 100644 examples/authz/proto/osmosis/txfees/v1beta1/query.proto delete mode 100644 examples/authz/proto/tendermint/LICENSE delete mode 100644 examples/authz/proto/tendermint/README.md delete mode 100644 examples/authz/proto/tendermint/abci/types.proto delete mode 100644 examples/authz/proto/tendermint/crypto/keys.proto delete mode 100644 examples/authz/proto/tendermint/crypto/proof.proto delete mode 100644 examples/authz/proto/tendermint/libs/bits/types.proto delete mode 100644 examples/authz/proto/tendermint/p2p/types.proto delete mode 100644 examples/authz/proto/tendermint/types/block.proto delete mode 100644 examples/authz/proto/tendermint/types/evidence.proto delete mode 100644 examples/authz/proto/tendermint/types/params.proto delete mode 100644 examples/authz/proto/tendermint/types/types.proto delete mode 100644 examples/authz/proto/tendermint/types/validator.proto delete mode 100644 examples/authz/proto/tendermint/version/types.proto delete mode 100644 examples/authz/types/codegen/binary.d.ts delete mode 100644 examples/authz/types/codegen/confio/proofs.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/app/v1alpha1/config.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/app/v1alpha1/module.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/app/v1alpha1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/app/v1alpha1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/auth/v1beta1/auth.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/auth/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/auth/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/auth/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/authz/v1beta1/authz.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/authz/v1beta1/event.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/authz/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/authz/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/authz/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/authz/v1beta1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/bank/v1beta1/authz.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/bank/v1beta1/bank.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/bank/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/bank/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/bank/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/bank/v1beta1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/base/store/v1beta1/listening.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/base/v1beta1/coin.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/bundle.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/capability/v1beta1/capability.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/capability/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/client.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/crypto/ed25519/keys.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/crypto/hd/v1/hd.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/crypto/keyring/v1/record.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/crypto/multisig/keys.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/crypto/secp256k1/keys.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/crypto/secp256r1/keys.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/distribution/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/distribution/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/evidence/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/evidence/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/feegrant/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1/gov.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1beta1/gov.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1beta1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/group/v1/events.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/group/v1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/group/v1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/group/v1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/group/v1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/group/v1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/group/v1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/group/v1/types.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/mint/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/mint/v1beta1/mint.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/mint/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/mint/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/msg/v1/msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/nft/v1beta1/event.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/nft/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/nft/v1beta1/nft.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/nft/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/nft/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/nft/v1beta1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/orm/v1/orm.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/orm/v1alpha1/schema.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/params/v1beta1/params.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/params/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/params/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/rpc.query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/rpc.tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/slashing/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/slashing/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/staking/v1beta1/authz.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/staking/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/staking/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/staking/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/staking/v1beta1/staking.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/staking/v1beta1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/tx/v1beta1/service.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/tx/v1beta1/service.rpc.Service.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/tx/v1beta1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/upgrade/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts delete mode 100644 examples/authz/types/codegen/cosmos_proto/bundle.d.ts delete mode 100644 examples/authz/types/codegen/cosmos_proto/cosmos.d.ts delete mode 100644 examples/authz/types/codegen/cosmwasm/bundle.d.ts delete mode 100644 examples/authz/types/codegen/cosmwasm/client.d.ts delete mode 100644 examples/authz/types/codegen/cosmwasm/rpc.query.d.ts delete mode 100644 examples/authz/types/codegen/cosmwasm/rpc.tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmwasm/wasm/v1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/cosmwasm/wasm/v1/ibc.d.ts delete mode 100644 examples/authz/types/codegen/cosmwasm/wasm/v1/proposal.d.ts delete mode 100644 examples/authz/types/codegen/cosmwasm/wasm/v1/query.d.ts delete mode 100644 examples/authz/types/codegen/cosmwasm/wasm/v1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/cosmwasm/wasm/v1/tx.d.ts delete mode 100644 examples/authz/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/cosmwasm/wasm/v1/types.d.ts delete mode 100644 examples/authz/types/codegen/extern.d.ts delete mode 100644 examples/authz/types/codegen/gogoproto/bundle.d.ts delete mode 100644 examples/authz/types/codegen/gogoproto/gogo.d.ts delete mode 100644 examples/authz/types/codegen/google/api/annotations.d.ts delete mode 100644 examples/authz/types/codegen/google/api/http.d.ts delete mode 100644 examples/authz/types/codegen/google/bundle.d.ts delete mode 100644 examples/authz/types/codegen/google/protobuf/any.d.ts delete mode 100644 examples/authz/types/codegen/google/protobuf/descriptor.d.ts delete mode 100644 examples/authz/types/codegen/google/protobuf/duration.d.ts delete mode 100644 examples/authz/types/codegen/google/protobuf/empty.d.ts delete mode 100644 examples/authz/types/codegen/google/protobuf/timestamp.d.ts delete mode 100644 examples/authz/types/codegen/helpers.d.ts delete mode 100644 examples/authz/types/codegen/hooks.d.ts delete mode 100644 examples/authz/types/codegen/ibc/applications/transfer/v1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/ibc/applications/transfer/v1/query.d.ts delete mode 100644 examples/authz/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/ibc/applications/transfer/v1/transfer.d.ts delete mode 100644 examples/authz/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/ibc/applications/transfer/v1/tx.d.ts delete mode 100644 examples/authz/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/ibc/applications/transfer/v2/packet.d.ts delete mode 100644 examples/authz/types/codegen/ibc/bundle.d.ts delete mode 100644 examples/authz/types/codegen/ibc/client.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/channel/v1/channel.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/channel/v1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/channel/v1/query.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/channel/v1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/channel/v1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/channel/v1/tx.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/channel/v1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/client/v1/client.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/client/v1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/client/v1/query.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/client/v1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/client/v1/tx.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/client/v1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/commitment/v1/commitment.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/connection/v1/connection.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/connection/v1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/connection/v1/query.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/connection/v1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/connection/v1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/connection/v1/tx.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/connection/v1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/port/v1/query.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/port/v1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/ibc/core/types/v1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts delete mode 100644 examples/authz/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts delete mode 100644 examples/authz/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts delete mode 100644 examples/authz/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts delete mode 100644 examples/authz/types/codegen/ibc/rpc.query.d.ts delete mode 100644 examples/authz/types/codegen/ibc/rpc.tx.d.ts delete mode 100644 examples/authz/types/codegen/ics23/bundle.d.ts delete mode 100644 examples/authz/types/codegen/index.d.ts delete mode 100644 examples/authz/types/codegen/mobx.d.ts delete mode 100644 examples/authz/types/codegen/mobx.stores.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/bundle.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/claim/v1beta1/claim.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/claim/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/claim/v1beta1/params.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/claim/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/claim/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/client.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/epochs/genesis.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/epochs/query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/epochs/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/balancerPool.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/stableswap_pool.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/gamm/v1beta1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/gamm/v1beta1/tx.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/gamm/v2/query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/gamm/v2/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/ibc-rate-limit/v1beta1/params.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/ibc-rate-limit/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/ibc-rate-limit/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/incentives/gauge.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/incentives/genesis.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/incentives/params.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/incentives/query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/incentives/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/incentives/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/incentives/tx.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/incentives/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/incentives/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/lockup/genesis.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/lockup/lock.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/lockup/params.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/lockup/query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/lockup/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/lockup/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/lockup/tx.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/lockup/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/lockup/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/mint/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/mint/v1beta1/mint.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/mint/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/mint/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/gov.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/incentives.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/rpc.query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/rpc.tx.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/sumtree/v1beta1/tree.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/superfluid/genesis.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/superfluid/params.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/superfluid/query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/superfluid/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/superfluid/superfluid.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/superfluid/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/superfluid/tx.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/superfluid/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/superfluid/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/superfluid/v1beta1/gov.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/params.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.amino.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.registry.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/twap/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/twap/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/twap/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/twap/v1beta1/twap_record.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/txfees/v1beta1/feetoken.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/txfees/v1beta1/genesis.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/txfees/v1beta1/gov.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/txfees/v1beta1/query.d.ts delete mode 100644 examples/authz/types/codegen/osmosis/txfees/v1beta1/query.rpc.Query.d.ts delete mode 100644 examples/authz/types/codegen/react-query.d.ts delete mode 100644 examples/authz/types/codegen/registry.d.ts delete mode 100644 examples/authz/types/codegen/tendermint/abci/types.d.ts delete mode 100644 examples/authz/types/codegen/tendermint/bundle.d.ts delete mode 100644 examples/authz/types/codegen/tendermint/crypto/keys.d.ts delete mode 100644 examples/authz/types/codegen/tendermint/crypto/proof.d.ts delete mode 100644 examples/authz/types/codegen/tendermint/libs/bits/types.d.ts delete mode 100644 examples/authz/types/codegen/tendermint/p2p/types.d.ts delete mode 100644 examples/authz/types/codegen/tendermint/types/block.d.ts delete mode 100644 examples/authz/types/codegen/tendermint/types/evidence.d.ts delete mode 100644 examples/authz/types/codegen/tendermint/types/params.d.ts delete mode 100644 examples/authz/types/codegen/tendermint/types/types.d.ts delete mode 100644 examples/authz/types/codegen/tendermint/types/validator.d.ts delete mode 100644 examples/authz/types/codegen/tendermint/version/types.d.ts delete mode 100644 examples/authz/types/codegen/types.d.ts delete mode 100644 examples/authz/types/codegen/utf8.d.ts delete mode 100644 examples/authz/types/codegen/varint.d.ts delete mode 100644 examples/authz/types/config.d.ts delete mode 100644 examples/authz/types/index.d.ts delete mode 100644 examples/authz/types/utils.d.ts diff --git a/examples/authz/components/authz/GrantCard.tsx b/examples/authz/components/authz/GrantCard.tsx index ba618b11..aee72d23 100644 --- a/examples/authz/components/authz/GrantCard.tsx +++ b/examples/authz/components/authz/GrantCard.tsx @@ -20,7 +20,7 @@ import { PrettyPermission, } from '@/utils'; import { useAuthzContext } from '@/context'; -import { useAuthzTx, useGrants, useSigningClient } from '@/hooks'; +import { useAuthzTx, useGrants } from '@/hooks'; import { getCoin, permissionNameToRouteMap } from '@/configs'; import styles from '@/styles/custom.module.css'; @@ -86,7 +86,7 @@ export const GrantCard = ({ amount: [ { denom: token.base, - amount: '2500', + amount: '75000', }, ], gas: '1000000', diff --git a/examples/authz/components/authz/GrantDetailsModal.tsx b/examples/authz/components/authz/GrantDetailsModal.tsx index b778fb2e..a9d42ccf 100644 --- a/examples/authz/components/authz/GrantDetailsModal.tsx +++ b/examples/authz/components/authz/GrantDetailsModal.tsx @@ -4,7 +4,7 @@ import { useState } from 'react'; import { BasicModal, Box, Button } from '@interchain-ui/react'; -import { useAuthzTx, useGrants, useSigningClient } from '@/hooks'; +import { useAuthzTx, useGrants } from '@/hooks'; import { getTokenByChainName, PrettyGrant, PrettyPermission } from '@/utils'; import { PermissionDetailCard } from './PermissionDetailCard'; import { useRevoke } from '@interchainjs/react/cosmos/authz/v1beta1/tx.rpc.react'; @@ -52,7 +52,7 @@ export const GrantDetailsModal = ({ amount: [ { denom: token.base, - amount: '2500', + amount: '75000', }, ], gas: '1000000', diff --git a/examples/authz/components/authz/GrantModal.tsx b/examples/authz/components/authz/GrantModal.tsx index 71d02fe3..f0684fb3 100644 --- a/examples/authz/components/authz/GrantModal.tsx +++ b/examples/authz/components/authz/GrantModal.tsx @@ -28,7 +28,7 @@ import { permissions, } from '@/configs'; import { AuthorizationType } from '@interchainjs/react/cosmos/staking/v1beta1/authz'; -import { GrantMsg, useAuthzTx, useGrants, useSigningClient } from '@/hooks'; +import { GrantMsg, useAuthzTx, useGrants } from '@/hooks'; import { getTokenByChainName, shiftDigits } from '@/utils'; import { CustomizationField } from './CustomizationField'; import { AddressInput } from '@/components'; @@ -140,7 +140,7 @@ export const GrantModal = ({ isOpen, onClose, chainName }: GrantModalProps) => { amount: [ { denom: token.base, - amount: '2500', + amount: '75000', }, ], gas: '1000000', @@ -154,7 +154,8 @@ export const GrantModal = ({ isOpen, onClose, chainName }: GrantModalProps) => { memo: 'granting permission', }, { - onSuccess: () => { + onSuccess: (data) => { + console.log('data', data); refetch(); onModalClose(); }, diff --git a/examples/authz/components/claim-rewards/Overview.tsx b/examples/authz/components/claim-rewards/Overview.tsx index 353fadb5..95eb23fe 100644 --- a/examples/authz/components/claim-rewards/Overview.tsx +++ b/examples/authz/components/claim-rewards/Overview.tsx @@ -9,7 +9,7 @@ import { } from '@interchain-ui/react'; import { getCoin } from '@/configs'; -import { Prices, useAuthzTx, useSigningClient } from '@/hooks'; +import { Prices, useAuthzTx } from '@/hooks'; import { sum, calcDollarValue, @@ -68,7 +68,7 @@ const Overview = ({ amount: [ { denom: token.base, - amount: '2500', + amount: '75000', }, ], gas: '1000000', diff --git a/examples/authz/components/send/send.tsx b/examples/authz/components/send/send.tsx index 45b6f593..7d639990 100644 --- a/examples/authz/components/send/send.tsx +++ b/examples/authz/components/send/send.tsx @@ -6,7 +6,7 @@ import { useChain } from '@interchain-kit/react'; import { Box, Button, Spinner, Text, TokenInput } from '@interchain-ui/react'; import BigNumber from 'bignumber.js'; -import { useAuthzTx, useSendData, useSigningClient, useToast } from '@/hooks'; +import { useAuthzTx, useSendData, useToast } from '@/hooks'; import { getCoin, getExponent, @@ -82,7 +82,7 @@ export const SendSection = ({ chainName }: SendSectionProps) => { amount: [ { denom: coin.base, - amount: '2500', + amount: '75000', }, ], gas: '1000000', diff --git a/examples/authz/components/staking/DelegateModal.tsx b/examples/authz/components/staking/DelegateModal.tsx index cfe1bf84..d25c65fa 100644 --- a/examples/authz/components/staking/DelegateModal.tsx +++ b/examples/authz/components/staking/DelegateModal.tsx @@ -23,13 +23,7 @@ import { } from '@/utils'; import { getCoin, getExponent } from '@/configs'; import { useAuthzContext } from '@/context'; -import { - Prices, - useAuthzTx, - UseDisclosureReturn, - useSigningClient, - useToast, -} from '@/hooks'; +import { Prices, useAuthzTx, UseDisclosureReturn, useToast } from '@/hooks'; import { MsgDelegate } from '@interchainjs/react/cosmos/staking/v1beta1/tx'; import { StakeAuthorization } from '@interchainjs/react/cosmos/staking/v1beta1/authz'; import { useExec } from '@interchainjs/react/cosmos/authz/v1beta1/tx.rpc.react'; @@ -136,7 +130,7 @@ export const DelegateModal = ({ amount: [ { denom: coin.base, - amount: '2500', + amount: '75000', }, ], gas: '1000000', diff --git a/examples/authz/components/staking/Overview.tsx b/examples/authz/components/staking/Overview.tsx index 130f98ef..85c25d51 100644 --- a/examples/authz/components/staking/Overview.tsx +++ b/examples/authz/components/staking/Overview.tsx @@ -11,7 +11,7 @@ import { useChain } from '@interchain-kit/react'; import { useWithdrawDelegatorReward } from '@interchainjs/react/cosmos/distribution/v1beta1/tx.rpc.react'; import { getCoin } from '@/configs'; -import { Prices, useSigningClient, useTx } from '@/hooks'; +import { Prices, useTx } from '@/hooks'; import { sum, calcDollarValue, @@ -63,7 +63,7 @@ const Overview = ({ amount: [ { denom: coin.base, - amount: '2500', + amount: '75000', }, ], gas: '1000000', diff --git a/examples/authz/components/voting/Proposal.tsx b/examples/authz/components/voting/Proposal.tsx index ac72bd74..2dc7f17a 100644 --- a/examples/authz/components/voting/Proposal.tsx +++ b/examples/authz/components/voting/Proposal.tsx @@ -166,7 +166,7 @@ export function Proposal({ amount: [ { denom: coin.base, - amount: '2500', + amount: '75000', }, ], gas: '1000000', diff --git a/examples/authz/package.json b/examples/authz/package.json index d4037214..587f372c 100644 --- a/examples/authz/package.json +++ b/examples/authz/package.json @@ -43,10 +43,10 @@ "@cosmjs/stargate": "0.32.4", "@cosmjs/tendermint-rpc": "0.32.4", "@cosmology/lcd": "^0.12.0", - "@interchain-kit/core": "0.2.222", - "@interchain-kit/keplr-extension": "0.2.222", - "@interchain-kit/leap-extension": "0.2.222", - "@interchain-kit/react": "0.2.222", + "@interchain-kit/core": "0.3.17", + "@interchain-kit/keplr-extension": "0.3.17", + "@interchain-kit/leap-extension": "0.3.17", + "@interchain-kit/react": "0.3.17", "@interchain-ui/react": "1.23.22", "@interchain-ui/react-no-ssr": "^0.1.6", "@interchainjs/cosmos": "1.11.2", @@ -56,7 +56,7 @@ "chain-registry": "^1.69.32", "dayjs": "1.11.10", "fast-fuzzy": "^1.12.0", - "interchain-kit": "0.2.222", + "interchain-kit": "0.3.17", "next": "^13", "react": "18.2.0", "react-calendar": "4.8.0", diff --git a/examples/authz/pages/index.tsx b/examples/authz/pages/index.tsx index 446296a6..2ba65690 100644 --- a/examples/authz/pages/index.tsx +++ b/examples/authz/pages/index.tsx @@ -13,30 +13,27 @@ import { useAuthzContext } from '@/context'; import { Layout, Wallet, AuthzSection } from '@/components'; import { useChain } from '@interchain-kit/react'; import { defaultChainName } from '@/configs'; -import { useSigningClient } from '@/hooks'; export default function Home() { const [selectedChain, setSelectedChain] = useState(); const { setChainName } = useAuthzContext(); const queryClient = useQueryClient(); - const { rpcEndpoint, status } = useChain(selectedChain ?? defaultChainName); - - const { data: client, isSuccess: isSigningClientSuccess } = useSigningClient( - selectedChain ?? defaultChainName, - { - walletStatus: status, - } - ); + const { + rpcEndpoint, + status, + signingClient: client, + isSigningClientLoading, + } = useChain(selectedChain ?? defaultChainName); useEffect(() => { - if (isSigningClientSuccess) { + if (!isSigningClientLoading) { queryClient.setQueryData([DEFAULT_SIGNING_CLIENT_QUERY_KEY], client); } - if (isSigningClientSuccess && rpcEndpoint) { + if (rpcEndpoint) { queryClient.setQueryData([DEFAULT_RPC_CLIENT_QUERY_KEY], rpcEndpoint); } - }, [isSigningClientSuccess, rpcEndpoint, client, queryClient]); + }, [isSigningClientLoading, rpcEndpoint, client, queryClient]); return ( diff --git a/examples/authz/proto/confio/LICENSE b/examples/authz/proto/confio/LICENSE deleted file mode 100644 index deaad1f5..00000000 --- a/examples/authz/proto/confio/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -Confio/ICS23 -License: Apache2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2019 Confio UO - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/examples/authz/proto/confio/README.md b/examples/authz/proto/confio/README.md deleted file mode 100644 index af52fb63..00000000 --- a/examples/authz/proto/confio/README.md +++ /dev/null @@ -1 +0,0 @@ -# confio \ No newline at end of file diff --git a/examples/authz/proto/confio/proofs.proto b/examples/authz/proto/confio/proofs.proto deleted file mode 100644 index da43503e..00000000 --- a/examples/authz/proto/confio/proofs.proto +++ /dev/null @@ -1,234 +0,0 @@ -syntax = "proto3"; - -package ics23; -option go_package = "github.com/confio/ics23/go"; - -enum HashOp { - // NO_HASH is the default if no data passed. Note this is an illegal argument some places. - NO_HASH = 0; - SHA256 = 1; - SHA512 = 2; - KECCAK = 3; - RIPEMD160 = 4; - BITCOIN = 5; // ripemd160(sha256(x)) -} - -/** -LengthOp defines how to process the key and value of the LeafOp -to include length information. After encoding the length with the given -algorithm, the length will be prepended to the key and value bytes. -(Each one with it's own encoded length) -*/ -enum LengthOp { - // NO_PREFIX don't include any length info - NO_PREFIX = 0; - // VAR_PROTO uses protobuf (and go-amino) varint encoding of the length - VAR_PROTO = 1; - // VAR_RLP uses rlp int encoding of the length - VAR_RLP = 2; - // FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer - FIXED32_BIG = 3; - // FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer - FIXED32_LITTLE = 4; - // FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer - FIXED64_BIG = 5; - // FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer - FIXED64_LITTLE = 6; - // REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) - REQUIRE_32_BYTES = 7; - // REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) - REQUIRE_64_BYTES = 8; -} - -/** -ExistenceProof takes a key and a value and a set of steps to perform on it. -The result of peforming all these steps will provide a "root hash", which can -be compared to the value in a header. - -Since it is computationally infeasible to produce a hash collission for any of the used -cryptographic hash functions, if someone can provide a series of operations to transform -a given key and value into a root hash that matches some trusted root, these key and values -must be in the referenced merkle tree. - -The only possible issue is maliablity in LeafOp, such as providing extra prefix data, -which should be controlled by a spec. Eg. with lengthOp as NONE, - prefix = FOO, key = BAR, value = CHOICE -and - prefix = F, key = OOBAR, value = CHOICE -would produce the same value. - -With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field -in the ProofSpec is valuable to prevent this mutability. And why all trees should -length-prefix the data before hashing it. -*/ -message ExistenceProof { - bytes key = 1; - bytes value = 2; - LeafOp leaf = 3; - repeated InnerOp path = 4; -} - -/* -NonExistenceProof takes a proof of two neighbors, one left of the desired key, -one right of the desired key. If both proofs are valid AND they are neighbors, -then there is no valid proof for the given key. -*/ -message NonExistenceProof { - bytes key = 1; // TODO: remove this as unnecessary??? we prove a range - ExistenceProof left = 2; - ExistenceProof right = 3; -} - -/* -CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages -*/ -message CommitmentProof { - oneof proof { - ExistenceProof exist = 1; - NonExistenceProof nonexist = 2; - BatchProof batch = 3; - CompressedBatchProof compressed = 4; - } -} - -/** -LeafOp represents the raw key-value data we wish to prove, and -must be flexible to represent the internal transformation from -the original key-value pairs into the basis hash, for many existing -merkle trees. - -key and value are passed in. So that the signature of this operation is: - leafOp(key, value) -> output - -To process this, first prehash the keys and values if needed (ANY means no hash in this case): - hkey = prehashKey(key) - hvalue = prehashValue(value) - -Then combine the bytes, and hash it - output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) -*/ -message LeafOp { - HashOp hash = 1; - HashOp prehash_key = 2; - HashOp prehash_value = 3; - LengthOp length = 4; - // prefix is a fixed bytes that may optionally be included at the beginning to differentiate - // a leaf node from an inner node. - bytes prefix = 5; -} - -/** -InnerOp represents a merkle-proof step that is not a leaf. -It represents concatenating two children and hashing them to provide the next result. - -The result of the previous step is passed in, so the signature of this op is: - innerOp(child) -> output - -The result of applying InnerOp should be: - output = op.hash(op.prefix || child || op.suffix) - - where the || operator is concatenation of binary data, -and child is the result of hashing all the tree below this step. - -Any special data, like prepending child with the length, or prepending the entire operation with -some value to differentiate from leaf nodes, should be included in prefix and suffix. -If either of prefix or suffix is empty, we just treat it as an empty string -*/ -message InnerOp { - HashOp hash = 1; - bytes prefix = 2; - bytes suffix = 3; -} - - -/** -ProofSpec defines what the expected parameters are for a given proof type. -This can be stored in the client and used to validate any incoming proofs. - - verify(ProofSpec, Proof) -> Proof | Error - -As demonstrated in tests, if we don't fix the algorithm used to calculate the -LeafHash for a given tree, there are many possible key-value pairs that can -generate a given hash (by interpretting the preimage differently). -We need this for proper security, requires client knows a priori what -tree format server uses. But not in code, rather a configuration object. -*/ -message ProofSpec { - // any field in the ExistenceProof must be the same as in this spec. - // except Prefix, which is just the first bytes of prefix (spec can be longer) - LeafOp leaf_spec = 1; - InnerSpec inner_spec = 2; - // max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) - int32 max_depth = 3; - // min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) - int32 min_depth = 4; -} - -/* -InnerSpec contains all store-specific structure info to determine if two proofs from a -given store are neighbors. - -This enables: - - isLeftMost(spec: InnerSpec, op: InnerOp) - isRightMost(spec: InnerSpec, op: InnerOp) - isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) -*/ -message InnerSpec { - // Child order is the ordering of the children node, must count from 0 - // iavl tree is [0, 1] (left then right) - // merk is [0, 2, 1] (left, right, here) - repeated int32 child_order = 1; - int32 child_size = 2; - int32 min_prefix_length = 3; - int32 max_prefix_length = 4; - // empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) - bytes empty_child = 5; - // hash is the algorithm that must be used for each InnerOp - HashOp hash = 6; -} - -/* -BatchProof is a group of multiple proof types than can be compressed -*/ -message BatchProof { - repeated BatchEntry entries = 1; -} - -// Use BatchEntry not CommitmentProof, to avoid recursion -message BatchEntry { - oneof proof { - ExistenceProof exist = 1; - NonExistenceProof nonexist = 2; - } -} - - -/****** all items here are compressed forms *******/ - -message CompressedBatchProof { - repeated CompressedBatchEntry entries = 1; - repeated InnerOp lookup_inners = 2; -} - -// Use BatchEntry not CommitmentProof, to avoid recursion -message CompressedBatchEntry { - oneof proof { - CompressedExistenceProof exist = 1; - CompressedNonExistenceProof nonexist = 2; - } -} - -message CompressedExistenceProof { - bytes key = 1; - bytes value = 2; - LeafOp leaf = 3; - // these are indexes into the lookup_inners table in CompressedBatchProof - repeated int32 path = 4; -} - -message CompressedNonExistenceProof { - bytes key = 1; // TODO: remove this as unnecessary??? we prove a range - CompressedExistenceProof left = 2; - CompressedExistenceProof right = 3; -} diff --git a/examples/authz/proto/cosmos/LICENSE b/examples/authz/proto/cosmos/LICENSE deleted file mode 100644 index 063e03fc..00000000 --- a/examples/authz/proto/cosmos/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -Cosmos SDK -License: Apache2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2016 All in Bits, Inc - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/examples/authz/proto/cosmos/README.md b/examples/authz/proto/cosmos/README.md deleted file mode 100644 index 98a49c6b..00000000 --- a/examples/authz/proto/cosmos/README.md +++ /dev/null @@ -1 +0,0 @@ -# cosmos \ No newline at end of file diff --git a/examples/authz/proto/cosmos/app/v1alpha1/config.proto b/examples/authz/proto/cosmos/app/v1alpha1/config.proto deleted file mode 100644 index ed775006..00000000 --- a/examples/authz/proto/cosmos/app/v1alpha1/config.proto +++ /dev/null @@ -1,36 +0,0 @@ -syntax = "proto3"; - -package cosmos.app.v1alpha1; - -import "google/protobuf/any.proto"; - -// Config represents the configuration for a Cosmos SDK ABCI app. -// It is intended that all state machine logic including the version of -// baseapp and tx handlers (and possibly even Tendermint) that an app needs -// can be described in a config object. For compatibility, the framework should -// allow a mixture of declarative and imperative app wiring, however, apps -// that strive for the maximum ease of maintainability should be able to describe -// their state machine with a config object alone. -message Config { - // modules are the module configurations for the app. - repeated ModuleConfig modules = 1; -} - -// ModuleConfig is a module configuration for an app. -message ModuleConfig { - // name is the unique name of the module within the app. It should be a name - // that persists between different versions of a module so that modules - // can be smoothly upgraded to new versions. - // - // For example, for the module cosmos.bank.module.v1.Module, we may chose - // to simply name the module "bank" in the app. When we upgrade to - // cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same - // and the framework knows that the v2 module should receive all the same state - // that the v1 module had. Note: modules should provide info on which versions - // they can migrate from in the ModuleDescriptor.can_migration_from field. - string name = 1; - - // config is the config object for the module. Module config messages should - // define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. - google.protobuf.Any config = 2; -} diff --git a/examples/authz/proto/cosmos/app/v1alpha1/module.proto b/examples/authz/proto/cosmos/app/v1alpha1/module.proto deleted file mode 100644 index 599078d7..00000000 --- a/examples/authz/proto/cosmos/app/v1alpha1/module.proto +++ /dev/null @@ -1,93 +0,0 @@ -syntax = "proto3"; - -package cosmos.app.v1alpha1; - -import "google/protobuf/descriptor.proto"; - -extend google.protobuf.MessageOptions { - // module indicates that this proto type is a config object for an app module - // and optionally provides other descriptive information about the module. - // It is recommended that a new module config object and go module is versioned - // for every state machine breaking version of a module. The recommended - // pattern for doing this is to put module config objects in a separate proto - // package from the API they expose. Ex: the cosmos.group.v1 API would be - // exposed by module configs cosmos.group.module.v1, cosmos.group.module.v2, etc. - ModuleDescriptor module = 57193479; -} - -// ModuleDescriptor describes an app module. -message ModuleDescriptor { - // go_import names the package that should be imported by an app to load the - // module in the runtime module registry. Either go_import must be defined here - // or the go_package option must be defined at the file level to indicate - // to users where to location the module implementation. go_import takes - // precedence over go_package when both are defined. - string go_import = 1; - - // use_package refers to a protobuf package that this module - // uses and exposes to the world. In an app, only one module should "use" - // or own a single protobuf package. It is assumed that the module uses - // all of the .proto files in a single package. - repeated PackageReference use_package = 2; - - // can_migrate_from defines which module versions this module can migrate - // state from. The framework will check that one module version is able to - // migrate from a previous module version before attempting to update its - // config. It is assumed that modules can transitively migrate from earlier - // versions. For instance if v3 declares it can migrate from v2, and v2 - // declares it can migrate from v1, the framework knows how to migrate - // from v1 to v3, assuming all 3 module versions are registered at runtime. - repeated MigrateFromInfo can_migrate_from = 3; -} - -// PackageReference is a reference to a protobuf package used by a module. -message PackageReference { - // name is the fully-qualified name of the package. - string name = 1; - - // revision is the optional revision of the package that is being used. - // Protobuf packages used in Cosmos should generally have a major version - // as the last part of the package name, ex. foo.bar.baz.v1. - // The revision of a package can be thought of as the minor version of a - // package which has additional backwards compatible definitions that weren't - // present in a previous version. - // - // A package should indicate its revision with a source code comment - // above the package declaration in one of its fields containing the - // test "Revision N" where N is an integer revision. All packages start - // at revision 0 the first time they are released in a module. - // - // When a new version of a module is released and items are added to existing - // .proto files, these definitions should contain comments of the form - // "Since Revision N" where N is an integer revision. - // - // When the module runtime starts up, it will check the pinned proto - // image and panic if there are runtime protobuf definitions that are not - // in the pinned descriptor which do not have - // a "Since Revision N" comment or have a "Since Revision N" comment where - // N is <= to the revision specified here. This indicates that the protobuf - // files have been updated, but the pinned file descriptor hasn't. - // - // If there are items in the pinned file descriptor with a revision - // greater than the value indicated here, this will also cause a panic - // as it may mean that the pinned descriptor for a legacy module has been - // improperly updated or that there is some other versioning discrepancy. - // Runtime protobuf definitions will also be checked for compatibility - // with pinned file descriptors to make sure there are no incompatible changes. - // - // This behavior ensures that: - // * pinned proto images are up-to-date - // * protobuf files are carefully annotated with revision comments which - // are important good client UX - // * protobuf files are changed in backwards and forwards compatible ways - uint32 revision = 2; -} - -// MigrateFromInfo is information on a module version that a newer module -// can migrate from. -message MigrateFromInfo { - - // module is the fully-qualified protobuf name of the module config object - // for the previous module version, ex: "cosmos.group.module.v1.Module". - string module = 1; -} diff --git a/examples/authz/proto/cosmos/app/v1alpha1/query.proto b/examples/authz/proto/cosmos/app/v1alpha1/query.proto deleted file mode 100644 index efec9c81..00000000 --- a/examples/authz/proto/cosmos/app/v1alpha1/query.proto +++ /dev/null @@ -1,22 +0,0 @@ -syntax = "proto3"; - -package cosmos.app.v1alpha1; - -import "cosmos/app/v1alpha1/config.proto"; - -// Query is the app module query service. -service Query { - - // Config returns the current app config. - rpc Config(QueryConfigRequest) returns (QueryConfigResponse) {} -} - -// QueryConfigRequest is the Query/Config request type. -message QueryConfigRequest {} - -// QueryConfigRequest is the Query/Config response type. -message QueryConfigResponse { - - // config is the current app config. - Config config = 1; -} diff --git a/examples/authz/proto/cosmos/auth/v1beta1/auth.proto b/examples/authz/proto/cosmos/auth/v1beta1/auth.proto deleted file mode 100644 index 963c6f15..00000000 --- a/examples/authz/proto/cosmos/auth/v1beta1/auth.proto +++ /dev/null @@ -1,47 +0,0 @@ -syntax = "proto3"; -package cosmos.auth.v1beta1; - -import "cosmos_proto/cosmos.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; - -// BaseAccount defines a base account type. It contains all the necessary fields -// for basic account functionality. Any custom account type should extend this -// type for additional functionality (e.g. vesting). -message BaseAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.equal) = false; - - option (cosmos_proto.implements_interface) = "AccountI"; - - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - google.protobuf.Any pub_key = 2 [(gogoproto.jsontag) = "public_key,omitempty"]; - uint64 account_number = 3; - uint64 sequence = 4; -} - -// ModuleAccount defines an account for modules that holds coins on a pool. -message ModuleAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - option (cosmos_proto.implements_interface) = "ModuleAccountI"; - - BaseAccount base_account = 1 [(gogoproto.embed) = true]; - string name = 2; - repeated string permissions = 3; -} - -// Params defines the parameters for the auth module. -message Params { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - uint64 max_memo_characters = 1; - uint64 tx_sig_limit = 2; - uint64 tx_size_cost_per_byte = 3; - uint64 sig_verify_cost_ed25519 = 4 [(gogoproto.customname) = "SigVerifyCostED25519"]; - uint64 sig_verify_cost_secp256k1 = 5 [(gogoproto.customname) = "SigVerifyCostSecp256k1"]; -} diff --git a/examples/authz/proto/cosmos/auth/v1beta1/genesis.proto b/examples/authz/proto/cosmos/auth/v1beta1/genesis.proto deleted file mode 100644 index c88b94ee..00000000 --- a/examples/authz/proto/cosmos/auth/v1beta1/genesis.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package cosmos.auth.v1beta1; - -import "google/protobuf/any.proto"; -import "gogoproto/gogo.proto"; -import "cosmos/auth/v1beta1/auth.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; - -// GenesisState defines the auth module's genesis state. -message GenesisState { - // params defines all the paramaters of the module. - Params params = 1 [(gogoproto.nullable) = false]; - - // accounts are the accounts present at genesis. - repeated google.protobuf.Any accounts = 2; -} diff --git a/examples/authz/proto/cosmos/auth/v1beta1/query.proto b/examples/authz/proto/cosmos/auth/v1beta1/query.proto deleted file mode 100644 index 7798da00..00000000 --- a/examples/authz/proto/cosmos/auth/v1beta1/query.proto +++ /dev/null @@ -1,130 +0,0 @@ -syntax = "proto3"; -package cosmos.auth.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "google/api/annotations.proto"; -import "cosmos/auth/v1beta1/auth.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; - -// Query defines the gRPC querier service. -service Query { - // Accounts returns all the existing accounts - // - // Since: cosmos-sdk 0.43 - rpc Accounts(QueryAccountsRequest) returns (QueryAccountsResponse) { - option (google.api.http).get = "/cosmos/auth/v1beta1/accounts"; - } - - // Account returns account details based on address. - rpc Account(QueryAccountRequest) returns (QueryAccountResponse) { - option (google.api.http).get = "/cosmos/auth/v1beta1/accounts/{address}"; - } - - // Params queries all parameters. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/auth/v1beta1/params"; - } - - // ModuleAccounts returns all the existing module accounts. - rpc ModuleAccounts(QueryModuleAccountsRequest) returns (QueryModuleAccountsResponse) { - option (google.api.http).get = "/cosmos/auth/v1beta1/module_accounts"; - } - - // Bech32 queries bech32Prefix - rpc Bech32Prefix(Bech32PrefixRequest) returns (Bech32PrefixResponse) { - option (google.api.http).get = "/cosmos/auth/v1beta1/bech32"; - } - - // AddressBytesToString converts Account Address bytes to string - rpc AddressBytesToString(AddressBytesToStringRequest) returns (AddressBytesToStringResponse) { - option (google.api.http).get = "/cosmos/auth/v1beta1/bech32/{address_bytes}"; - } - - // AddressStringToBytes converts Address string to bytes - rpc AddressStringToBytes(AddressStringToBytesRequest) returns (AddressStringToBytesResponse) { - option (google.api.http).get = "/cosmos/auth/v1beta1/bech32/{address_string}"; - } -} - -// QueryAccountsRequest is the request type for the Query/Accounts RPC method. -// -// Since: cosmos-sdk 0.43 -message QueryAccountsRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryAccountsResponse is the response type for the Query/Accounts RPC method. -// -// Since: cosmos-sdk 0.43 -message QueryAccountsResponse { - // accounts are the existing accounts - repeated google.protobuf.Any accounts = 1 [(cosmos_proto.accepts_interface) = "AccountI"]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryAccountRequest is the request type for the Query/Account RPC method. -message QueryAccountRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // address defines the address to query for. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. -message QueryModuleAccountsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [(gogoproto.nullable) = false]; -} - -// QueryAccountResponse is the response type for the Query/Account RPC method. -message QueryAccountResponse { - // account defines the account of the corresponding address. - google.protobuf.Any account = 1 [(cosmos_proto.accepts_interface) = "AccountI"]; -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. -message QueryModuleAccountsResponse { - repeated google.protobuf.Any accounts = 1 [(cosmos_proto.accepts_interface) = "ModuleAccountI"]; -} - -// Bech32PrefixRequest is the request type for Bech32Prefix rpc method -message Bech32PrefixRequest {} - -// Bech32PrefixResponse is the response type for Bech32Prefix rpc method -message Bech32PrefixResponse { - string bech32_prefix = 1; -} - -// AddressBytesToStringRequest is the request type for AddressString rpc method -message AddressBytesToStringRequest { - bytes address_bytes = 1; -} - -// AddressBytesToStringResponse is the response type for AddressString rpc method -message AddressBytesToStringResponse { - string address_string = 1; -} - -// AddressStringToBytesRequest is the request type for AccountBytes rpc method -message AddressStringToBytesRequest { - string address_string = 1; -} - -// AddressStringToBytesResponse is the response type for AddressBytes rpc method -message AddressStringToBytesResponse { - bytes address_bytes = 1; -} diff --git a/examples/authz/proto/cosmos/authz/v1beta1/authz.proto b/examples/authz/proto/cosmos/authz/v1beta1/authz.proto deleted file mode 100644 index 06ce288a..00000000 --- a/examples/authz/proto/cosmos/authz/v1beta1/authz.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.authz.v1beta1; - -import "cosmos_proto/cosmos.proto"; -import "google/protobuf/timestamp.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; -option (gogoproto.goproto_getters_all) = false; - -// GenericAuthorization gives the grantee unrestricted permissions to execute -// the provided method on behalf of the granter's account. -message GenericAuthorization { - option (cosmos_proto.implements_interface) = "Authorization"; - - // Msg, identified by it's type URL, to grant unrestricted permissions to execute - string msg = 1; -} - -// Grant gives permissions to execute -// the provide method with expiration time. -message Grant { - google.protobuf.Any authorization = 1 [(cosmos_proto.accepts_interface) = "Authorization"]; - // time when the grant will expire and will be pruned. If null, then the grant - // doesn't have a time expiration (other conditions in `authorization` - // may apply to invalidate the grant) - google.protobuf.Timestamp expiration = 2 [(gogoproto.stdtime) = true, (gogoproto.nullable) = true]; -} - -// GrantAuthorization extends a grant with both the addresses of the grantee and granter. -// It is used in genesis.proto and query.proto -message GrantAuthorization { - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - google.protobuf.Any authorization = 3 [(cosmos_proto.accepts_interface) = "Authorization"]; - google.protobuf.Timestamp expiration = 4 [(gogoproto.stdtime) = true]; -} - -// GrantQueueItem contains the list of TypeURL of a sdk.Msg. -message GrantQueueItem { - // msg_type_urls contains the list of TypeURL of a sdk.Msg. - repeated string msg_type_urls = 1; -} diff --git a/examples/authz/proto/cosmos/authz/v1beta1/event.proto b/examples/authz/proto/cosmos/authz/v1beta1/event.proto deleted file mode 100644 index 0476649a..00000000 --- a/examples/authz/proto/cosmos/authz/v1beta1/event.proto +++ /dev/null @@ -1,27 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.authz.v1beta1; - -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; - -// EventGrant is emitted on Msg/Grant -message EventGrant { - // Msg type URL for which an autorization is granted - string msg_type_url = 2; - // Granter account address - string granter = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // Grantee account address - string grantee = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// EventRevoke is emitted on Msg/Revoke -message EventRevoke { - // Msg type URL for which an autorization is revoked - string msg_type_url = 2; - // Granter account address - string granter = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // Grantee account address - string grantee = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} diff --git a/examples/authz/proto/cosmos/authz/v1beta1/genesis.proto b/examples/authz/proto/cosmos/authz/v1beta1/genesis.proto deleted file mode 100644 index 310f6265..00000000 --- a/examples/authz/proto/cosmos/authz/v1beta1/genesis.proto +++ /dev/null @@ -1,13 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.authz.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/authz/v1beta1/authz.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; - -// GenesisState defines the authz module's genesis state. -message GenesisState { - repeated GrantAuthorization authorization = 1 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/authz/v1beta1/query.proto b/examples/authz/proto/cosmos/authz/v1beta1/query.proto deleted file mode 100644 index 62154ac1..00000000 --- a/examples/authz/proto/cosmos/authz/v1beta1/query.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.authz.v1beta1; - -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "cosmos/authz/v1beta1/authz.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; - -// Query defines the gRPC querier service. -service Query { - // Returns list of `Authorization`, granted to the grantee by the granter. - rpc Grants(QueryGrantsRequest) returns (QueryGrantsResponse) { - option (google.api.http).get = "/cosmos/authz/v1beta1/grants"; - } - - // GranterGrants returns list of `GrantAuthorization`, granted by granter. - // - // Since: cosmos-sdk 0.46 - rpc GranterGrants(QueryGranterGrantsRequest) returns (QueryGranterGrantsResponse) { - option (google.api.http).get = "/cosmos/authz/v1beta1/grants/granter/{granter}"; - } - - // GranteeGrants returns a list of `GrantAuthorization` by grantee. - // - // Since: cosmos-sdk 0.46 - rpc GranteeGrants(QueryGranteeGrantsRequest) returns (QueryGranteeGrantsResponse) { - option (google.api.http).get = "/cosmos/authz/v1beta1/grants/grantee/{grantee}"; - } -} - -// QueryGrantsRequest is the request type for the Query/Grants RPC method. -message QueryGrantsRequest { - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // Optional, msg_type_url, when set, will query only grants matching given msg type. - string msg_type_url = 3; - // pagination defines an pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 4; -} - -// QueryGrantsResponse is the response type for the Query/Authorizations RPC method. -message QueryGrantsResponse { - // authorizations is a list of grants granted for grantee by granter. - repeated Grant grants = 1; - // pagination defines an pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. -message QueryGranterGrantsRequest { - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. -message QueryGranterGrantsResponse { - // grants is a list of grants granted by the granter. - repeated GrantAuthorization grants = 1; - // pagination defines an pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. -message QueryGranteeGrantsRequest { - string grantee = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. -message QueryGranteeGrantsResponse { - // grants is a list of grants granted to the grantee. - repeated GrantAuthorization grants = 1; - // pagination defines an pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/examples/authz/proto/cosmos/authz/v1beta1/tx.proto b/examples/authz/proto/cosmos/authz/v1beta1/tx.proto deleted file mode 100644 index 068218ff..00000000 --- a/examples/authz/proto/cosmos/authz/v1beta1/tx.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.authz.v1beta1; - -import "cosmos_proto/cosmos.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "cosmos/authz/v1beta1/authz.proto"; -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; -option (gogoproto.goproto_getters_all) = false; - -// Msg defines the authz Msg service. -service Msg { - // Grant grants the provided authorization to the grantee on the granter's - // account with the provided expiration time. If there is already a grant - // for the given (granter, grantee, Authorization) triple, then the grant - // will be overwritten. - rpc Grant(MsgGrant) returns (MsgGrantResponse); - - // Exec attempts to execute the provided messages using - // authorizations granted to the grantee. Each message should have only - // one signer corresponding to the granter of the authorization. - rpc Exec(MsgExec) returns (MsgExecResponse); - - // Revoke revokes any authorization corresponding to the provided method name on the - // granter's account that has been granted to the grantee. - rpc Revoke(MsgRevoke) returns (MsgRevokeResponse); -} - -// MsgGrant is a request type for Grant method. It declares authorization to the grantee -// on behalf of the granter with the provided expiration time. -message MsgGrant { - option (cosmos.msg.v1.signer) = "granter"; - - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - cosmos.authz.v1beta1.Grant grant = 3 [(gogoproto.nullable) = false]; -} - -// MsgExecResponse defines the Msg/MsgExecResponse response type. -message MsgExecResponse { - repeated bytes results = 1; -} - -// MsgExec attempts to execute the provided messages using -// authorizations granted to the grantee. Each message should have only -// one signer corresponding to the granter of the authorization. -message MsgExec { - option (cosmos.msg.v1.signer) = "grantee"; - - string grantee = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // Authorization Msg requests to execute. Each msg must implement Authorization interface - // The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) - // triple and validate it. - repeated google.protobuf.Any msgs = 2 [(cosmos_proto.accepts_interface) = "sdk.Msg, authz.Authorization"]; -} - -// MsgGrantResponse defines the Msg/MsgGrant response type. -message MsgGrantResponse {} - -// MsgRevoke revokes any authorization with the provided sdk.Msg type on the -// granter's account with that has been granted to the grantee. -message MsgRevoke { - option (cosmos.msg.v1.signer) = "granter"; - - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string msg_type_url = 3; -} - -// MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. -message MsgRevokeResponse {} diff --git a/examples/authz/proto/cosmos/bank/v1beta1/authz.proto b/examples/authz/proto/cosmos/bank/v1beta1/authz.proto deleted file mode 100644 index 4f58b15e..00000000 --- a/examples/authz/proto/cosmos/bank/v1beta1/authz.proto +++ /dev/null @@ -1,19 +0,0 @@ -syntax = "proto3"; -package cosmos.bank.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; - -// SendAuthorization allows the grantee to spend up to spend_limit coins from -// the granter's account. -// -// Since: cosmos-sdk 0.43 -message SendAuthorization { - option (cosmos_proto.implements_interface) = "Authorization"; - - repeated cosmos.base.v1beta1.Coin spend_limit = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} diff --git a/examples/authz/proto/cosmos/bank/v1beta1/bank.proto b/examples/authz/proto/cosmos/bank/v1beta1/bank.proto deleted file mode 100644 index 7bc9819d..00000000 --- a/examples/authz/proto/cosmos/bank/v1beta1/bank.proto +++ /dev/null @@ -1,108 +0,0 @@ -syntax = "proto3"; -package cosmos.bank.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; - -// Params defines the parameters for the bank module. -message Params { - option (gogoproto.goproto_stringer) = false; - repeated SendEnabled send_enabled = 1; - bool default_send_enabled = 2; -} - -// SendEnabled maps coin denom to a send_enabled status (whether a denom is -// sendable). -message SendEnabled { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - string denom = 1; - bool enabled = 2; -} - -// Input models transaction input. -message Input { - option (cosmos.msg.v1.signer) = "address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin coins = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// Output models transaction outputs. -message Output { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin coins = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// Supply represents a struct that passively keeps track of the total supply -// amounts in the network. -// This message is deprecated now that supply is indexed by denom. -message Supply { - option deprecated = true; - - option (gogoproto.equal) = true; - option (gogoproto.goproto_getters) = false; - - option (cosmos_proto.implements_interface) = "*github.com/cosmos/cosmos-sdk/x/bank/migrations/v040.SupplyI"; - - repeated cosmos.base.v1beta1.Coin total = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// DenomUnit represents a struct that describes a given -// denomination unit of the basic token. -message DenomUnit { - // denom represents the string name of the given denom unit (e.g uatom). - string denom = 1; - // exponent represents power of 10 exponent that one must - // raise the base_denom to in order to equal the given DenomUnit's denom - // 1 denom = 10^exponent base_denom - // (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with - // exponent = 6, thus: 1 atom = 10^6 uatom). - uint32 exponent = 2; - // aliases is a list of string aliases for the given denom - repeated string aliases = 3; -} - -// Metadata represents a struct that describes -// a basic token. -message Metadata { - string description = 1; - // denom_units represents the list of DenomUnit's for a given coin - repeated DenomUnit denom_units = 2; - // base represents the base denom (should be the DenomUnit with exponent = 0). - string base = 3; - // display indicates the suggested denom that should be - // displayed in clients. - string display = 4; - // name defines the name of the token (eg: Cosmos Atom) - // - // Since: cosmos-sdk 0.43 - string name = 5; - // symbol is the token symbol usually shown on exchanges (eg: ATOM). This can - // be the same as the display. - // - // Since: cosmos-sdk 0.43 - string symbol = 6; - // URI to a document (on or off-chain) that contains additional information. Optional. - // - // Since: cosmos-sdk 0.46 - string uri = 7 [(gogoproto.customname) = "URI"]; - // URIHash is a sha256 hash of a document pointed by URI. It's used to verify that - // the document didn't change. Optional. - // - // Since: cosmos-sdk 0.46 - string uri_hash = 8 [(gogoproto.customname) = "URIHash"]; -} diff --git a/examples/authz/proto/cosmos/bank/v1beta1/genesis.proto b/examples/authz/proto/cosmos/bank/v1beta1/genesis.proto deleted file mode 100644 index aa35790b..00000000 --- a/examples/authz/proto/cosmos/bank/v1beta1/genesis.proto +++ /dev/null @@ -1,40 +0,0 @@ -syntax = "proto3"; -package cosmos.bank.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/bank/v1beta1/bank.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; - -// GenesisState defines the bank module's genesis state. -message GenesisState { - // params defines all the paramaters of the module. - Params params = 1 [(gogoproto.nullable) = false]; - - // balances is an array containing the balances of all the accounts. - repeated Balance balances = 2 [(gogoproto.nullable) = false]; - - // supply represents the total supply. If it is left empty, then supply will be calculated based on the provided - // balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. - repeated cosmos.base.v1beta1.Coin supply = 3 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; - - // denom_metadata defines the metadata of the differents coins. - repeated Metadata denom_metadata = 4 [(gogoproto.nullable) = false]; -} - -// Balance defines an account address and balance pair used in the bank module's -// genesis state. -message Balance { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // address is the address of the balance holder. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // coins defines the different coins this balance holds. - repeated cosmos.base.v1beta1.Coin coins = 2 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/bank/v1beta1/query.proto b/examples/authz/proto/cosmos/bank/v1beta1/query.proto deleted file mode 100644 index cbe7f38a..00000000 --- a/examples/authz/proto/cosmos/bank/v1beta1/query.proto +++ /dev/null @@ -1,231 +0,0 @@ -syntax = "proto3"; -package cosmos.bank.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/bank/v1beta1/bank.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; - -// Query defines the gRPC querier service. -service Query { - // Balance queries the balance of a single coin for a single account. - rpc Balance(QueryBalanceRequest) returns (QueryBalanceResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/balances/{address}/by_denom"; - } - - // AllBalances queries the balance of all coins for a single account. - rpc AllBalances(QueryAllBalancesRequest) returns (QueryAllBalancesResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/balances/{address}"; - } - - // SpendableBalances queries the spenable balance of all coins for a single - // account. - rpc SpendableBalances(QuerySpendableBalancesRequest) returns (QuerySpendableBalancesResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/spendable_balances/{address}"; - } - - // TotalSupply queries the total supply of all coins. - rpc TotalSupply(QueryTotalSupplyRequest) returns (QueryTotalSupplyResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/supply"; - } - - // SupplyOf queries the supply of a single coin. - rpc SupplyOf(QuerySupplyOfRequest) returns (QuerySupplyOfResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/supply/by_denom"; - } - - // Params queries the parameters of x/bank module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/params"; - } - - // DenomsMetadata queries the client metadata of a given coin denomination. - rpc DenomMetadata(QueryDenomMetadataRequest) returns (QueryDenomMetadataResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/denoms_metadata/{denom}"; - } - - // DenomsMetadata queries the client metadata for all registered coin - // denominations. - rpc DenomsMetadata(QueryDenomsMetadataRequest) returns (QueryDenomsMetadataResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/denoms_metadata"; - } - - // DenomOwners queries for all account addresses that own a particular token - // denomination. - rpc DenomOwners(QueryDenomOwnersRequest) returns (QueryDenomOwnersResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/denom_owners/{denom}"; - } -} - -// QueryBalanceRequest is the request type for the Query/Balance RPC method. -message QueryBalanceRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // address is the address to query balances for. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // denom is the coin denom to query balances for. - string denom = 2; -} - -// QueryBalanceResponse is the response type for the Query/Balance RPC method. -message QueryBalanceResponse { - // balance is the balance of the coin. - cosmos.base.v1beta1.Coin balance = 1; -} - -// QueryBalanceRequest is the request type for the Query/AllBalances RPC method. -message QueryAllBalancesRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // address is the address to query balances for. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryAllBalancesResponse is the response type for the Query/AllBalances RPC -// method. -message QueryAllBalancesResponse { - // balances is the balances of all the coins. - repeated cosmos.base.v1beta1.Coin balances = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QuerySpendableBalancesRequest defines the gRPC request structure for querying -// an account's spendable balances. -message QuerySpendableBalancesRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // address is the address to query spendable balances for. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QuerySpendableBalancesResponse defines the gRPC response structure for querying -// an account's spendable balances. -message QuerySpendableBalancesResponse { - // balances is the spendable balances of all the coins. - repeated cosmos.base.v1beta1.Coin balances = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC -// method. -message QueryTotalSupplyRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // pagination defines an optional pagination for the request. - // - // Since: cosmos-sdk 0.43 - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC -// method -message QueryTotalSupplyResponse { - // supply is the supply of the coins - repeated cosmos.base.v1beta1.Coin supply = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - // pagination defines the pagination in the response. - // - // Since: cosmos-sdk 0.43 - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. -message QuerySupplyOfRequest { - // denom is the coin denom to query balances for. - string denom = 1; -} - -// QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. -message QuerySupplyOfResponse { - // amount is the supply of the coin. - cosmos.base.v1beta1.Coin amount = 1 [(gogoproto.nullable) = false]; -} - -// QueryParamsRequest defines the request type for querying x/bank parameters. -message QueryParamsRequest {} - -// QueryParamsResponse defines the response type for querying x/bank parameters. -message QueryParamsResponse { - Params params = 1 [(gogoproto.nullable) = false]; -} - -// QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. -message QueryDenomsMetadataRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC -// method. -message QueryDenomsMetadataResponse { - // metadata provides the client information for all the registered tokens. - repeated Metadata metadatas = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. -message QueryDenomMetadataRequest { - // denom is the coin denom to query the metadata for. - string denom = 1; -} - -// QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC -// method. -message QueryDenomMetadataResponse { - // metadata describes and provides all the client information for the requested token. - Metadata metadata = 1 [(gogoproto.nullable) = false]; -} - -// QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, -// which queries for a paginated set of all account holders of a particular -// denomination. -message QueryDenomOwnersRequest { - // denom defines the coin denomination to query all account holders for. - string denom = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// DenomOwner defines structure representing an account that owns or holds a -// particular denominated token. It contains the account address and account -// balance of the denominated token. -message DenomOwner { - // address defines the address that owns a particular denomination. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // balance is the balance of the denominated coin for an account. - cosmos.base.v1beta1.Coin balance = 2 [(gogoproto.nullable) = false]; -} - -// QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. -message QueryDenomOwnersResponse { - repeated DenomOwner denom_owners = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/examples/authz/proto/cosmos/bank/v1beta1/tx.proto b/examples/authz/proto/cosmos/bank/v1beta1/tx.proto deleted file mode 100644 index 22e62cbf..00000000 --- a/examples/authz/proto/cosmos/bank/v1beta1/tx.proto +++ /dev/null @@ -1,48 +0,0 @@ -syntax = "proto3"; -package cosmos.bank.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/bank/v1beta1/bank.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; - -// Msg defines the bank Msg service. -service Msg { - // Send defines a method for sending coins from one account to another account. - rpc Send(MsgSend) returns (MsgSendResponse); - - // MultiSend defines a method for sending coins from some accounts to other accounts. - rpc MultiSend(MsgMultiSend) returns (MsgMultiSendResponse); -} - -// MsgSend represents a message to send coins from one account to another. -message MsgSend { - option (cosmos.msg.v1.signer) = "from_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string to_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// MsgSendResponse defines the Msg/Send response type. -message MsgSendResponse {} - -// MsgMultiSend represents an arbitrary multi-in, multi-out send message. -message MsgMultiSend { - option (cosmos.msg.v1.signer) = "inputs"; - - option (gogoproto.equal) = false; - - repeated Input inputs = 1 [(gogoproto.nullable) = false]; - repeated Output outputs = 2 [(gogoproto.nullable) = false]; -} - -// MsgMultiSendResponse defines the Msg/MultiSend response type. -message MsgMultiSendResponse {} diff --git a/examples/authz/proto/cosmos/base/abci/v1beta1/abci.proto b/examples/authz/proto/cosmos/base/abci/v1beta1/abci.proto deleted file mode 100644 index 09a2fcc4..00000000 --- a/examples/authz/proto/cosmos/base/abci/v1beta1/abci.proto +++ /dev/null @@ -1,158 +0,0 @@ -syntax = "proto3"; -package cosmos.base.abci.v1beta1; - -import "gogoproto/gogo.proto"; -import "tendermint/abci/types.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/types"; -option (gogoproto.goproto_stringer_all) = false; - -// TxResponse defines a structure containing relevant tx data and metadata. The -// tags are stringified and the log is JSON decoded. -message TxResponse { - option (gogoproto.goproto_getters) = false; - // The block height - int64 height = 1; - // The transaction hash. - string txhash = 2 [(gogoproto.customname) = "TxHash"]; - // Namespace for the Code - string codespace = 3; - // Response code. - uint32 code = 4; - // Result bytes, if any. - string data = 5; - // The output of the application's logger (raw string). May be - // non-deterministic. - string raw_log = 6; - // The output of the application's logger (typed). May be non-deterministic. - repeated ABCIMessageLog logs = 7 [(gogoproto.castrepeated) = "ABCIMessageLogs", (gogoproto.nullable) = false]; - // Additional information. May be non-deterministic. - string info = 8; - // Amount of gas requested for transaction. - int64 gas_wanted = 9; - // Amount of gas consumed by transaction. - int64 gas_used = 10; - // The request transaction bytes. - google.protobuf.Any tx = 11; - // Time of the previous block. For heights > 1, it's the weighted median of - // the timestamps of the valid votes in the block.LastCommit. For height == 1, - // it's genesis time. - string timestamp = 12; - // Events defines all the events emitted by processing a transaction. Note, - // these events include those emitted by processing all the messages and those - // emitted from the ante handler. Whereas Logs contains the events, with - // additional metadata, emitted only by processing the messages. - // - // Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 - repeated tendermint.abci.Event events = 13 [(gogoproto.nullable) = false]; -} - -// ABCIMessageLog defines a structure containing an indexed tx ABCI message log. -message ABCIMessageLog { - option (gogoproto.stringer) = true; - - uint32 msg_index = 1 [(gogoproto.jsontag) = "msg_index"]; - string log = 2; - - // Events contains a slice of Event objects that were emitted during some - // execution. - repeated StringEvent events = 3 [(gogoproto.castrepeated) = "StringEvents", (gogoproto.nullable) = false]; -} - -// StringEvent defines en Event object wrapper where all the attributes -// contain key/value pairs that are strings instead of raw bytes. -message StringEvent { - option (gogoproto.stringer) = true; - - string type = 1; - repeated Attribute attributes = 2 [(gogoproto.nullable) = false]; -} - -// Attribute defines an attribute wrapper where the key and value are -// strings instead of raw bytes. -message Attribute { - string key = 1; - string value = 2; -} - -// GasInfo defines tx execution gas context. -message GasInfo { - // GasWanted is the maximum units of work we allow this tx to perform. - uint64 gas_wanted = 1; - - // GasUsed is the amount of gas actually consumed. - uint64 gas_used = 2; -} - -// Result is the union of ResponseFormat and ResponseCheckTx. -message Result { - option (gogoproto.goproto_getters) = false; - - // Data is any data returned from message or handler execution. It MUST be - // length prefixed in order to separate data from multiple message executions. - // Deprecated. This field is still populated, but prefer msg_response instead - // because it also contains the Msg response typeURL. - bytes data = 1 [deprecated = true]; - - // Log contains the log information from message or handler execution. - string log = 2; - - // Events contains a slice of Event objects that were emitted during message - // or handler execution. - repeated tendermint.abci.Event events = 3 [(gogoproto.nullable) = false]; - - // msg_responses contains the Msg handler responses type packed in Anys. - // - // Since: cosmos-sdk 0.46 - repeated google.protobuf.Any msg_responses = 4; -} - -// SimulationResponse defines the response generated when a transaction is -// successfully simulated. -message SimulationResponse { - GasInfo gas_info = 1 [(gogoproto.embed) = true, (gogoproto.nullable) = false]; - Result result = 2; -} - -// MsgData defines the data returned in a Result object during message -// execution. -message MsgData { - option deprecated = true; - option (gogoproto.stringer) = true; - - string msg_type = 1; - bytes data = 2; -} - -// TxMsgData defines a list of MsgData. A transaction will have a MsgData object -// for each message. -message TxMsgData { - option (gogoproto.stringer) = true; - - // data field is deprecated and not populated. - repeated MsgData data = 1 [deprecated = true]; - - // msg_responses contains the Msg handler responses packed into Anys. - // - // Since: cosmos-sdk 0.46 - repeated google.protobuf.Any msg_responses = 2; -} - -// SearchTxsResult defines a structure for querying txs pageable -message SearchTxsResult { - option (gogoproto.stringer) = true; - - // Count of all txs - uint64 total_count = 1; - // Count of txs in current page - uint64 count = 2; - // Index of current page, start from 1 - uint64 page_number = 3; - // Count of total pages - uint64 page_total = 4; - // Max count txs per page - uint64 limit = 5; - // List of txs in current page - repeated TxResponse txs = 6; -} diff --git a/examples/authz/proto/cosmos/base/kv/v1beta1/kv.proto b/examples/authz/proto/cosmos/base/kv/v1beta1/kv.proto deleted file mode 100644 index 4e9b8d28..00000000 --- a/examples/authz/proto/cosmos/base/kv/v1beta1/kv.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package cosmos.base.kv.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/types/kv"; - -// Pairs defines a repeated slice of Pair objects. -message Pairs { - repeated Pair pairs = 1 [(gogoproto.nullable) = false]; -} - -// Pair defines a key/value bytes tuple. -message Pair { - bytes key = 1; - bytes value = 2; -} diff --git a/examples/authz/proto/cosmos/base/query/v1beta1/pagination.proto b/examples/authz/proto/cosmos/base/query/v1beta1/pagination.proto deleted file mode 100644 index 0a368144..00000000 --- a/examples/authz/proto/cosmos/base/query/v1beta1/pagination.proto +++ /dev/null @@ -1,56 +0,0 @@ -syntax = "proto3"; -package cosmos.base.query.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/types/query"; - -// PageRequest is to be embedded in gRPC request messages for efficient -// pagination. Ex: -// -// message SomeRequest { -// Foo some_parameter = 1; -// PageRequest pagination = 2; -// } -message PageRequest { - // key is a value returned in PageResponse.next_key to begin - // querying the next page most efficiently. Only one of offset or key - // should be set. - bytes key = 1; - - // offset is a numeric offset that can be used when key is unavailable. - // It is less efficient than using key. Only one of offset or key should - // be set. - uint64 offset = 2; - - // limit is the total number of results to be returned in the result page. - // If left empty it will default to a value to be set by each app. - uint64 limit = 3; - - // count_total is set to true to indicate that the result set should include - // a count of the total number of items available for pagination in UIs. - // count_total is only respected when offset is used. It is ignored when key - // is set. - bool count_total = 4; - - // reverse is set to true if results are to be returned in the descending order. - // - // Since: cosmos-sdk 0.43 - bool reverse = 5; -} - -// PageResponse is to be embedded in gRPC response messages where the -// corresponding request message has used PageRequest. -// -// message SomeResponse { -// repeated Bar results = 1; -// PageResponse page = 2; -// } -message PageResponse { - // next_key is the key to be passed to PageRequest.key to - // query the next page most efficiently. It will be empty if - // there are no more results. - bytes next_key = 1; - - // total is total number of results available if PageRequest.count_total - // was set, its value is undefined otherwise - uint64 total = 2; -} diff --git a/examples/authz/proto/cosmos/base/reflection/v1beta1/reflection.proto b/examples/authz/proto/cosmos/base/reflection/v1beta1/reflection.proto deleted file mode 100644 index 22670e72..00000000 --- a/examples/authz/proto/cosmos/base/reflection/v1beta1/reflection.proto +++ /dev/null @@ -1,44 +0,0 @@ -syntax = "proto3"; -package cosmos.base.reflection.v1beta1; - -import "google/api/annotations.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/client/grpc/reflection"; - -// ReflectionService defines a service for interface reflection. -service ReflectionService { - // ListAllInterfaces lists all the interfaces registered in the interface - // registry. - rpc ListAllInterfaces(ListAllInterfacesRequest) returns (ListAllInterfacesResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/interfaces"; - }; - - // ListImplementations list all the concrete types that implement a given - // interface. - rpc ListImplementations(ListImplementationsRequest) returns (ListImplementationsResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/interfaces/" - "{interface_name}/implementations"; - }; -} - -// ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. -message ListAllInterfacesRequest {} - -// ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. -message ListAllInterfacesResponse { - // interface_names is an array of all the registered interfaces. - repeated string interface_names = 1; -} - -// ListImplementationsRequest is the request type of the ListImplementations -// RPC. -message ListImplementationsRequest { - // interface_name defines the interface to query the implementations for. - string interface_name = 1; -} - -// ListImplementationsResponse is the response type of the ListImplementations -// RPC. -message ListImplementationsResponse { - repeated string implementation_message_names = 1; -} diff --git a/examples/authz/proto/cosmos/base/reflection/v2alpha1/reflection.proto b/examples/authz/proto/cosmos/base/reflection/v2alpha1/reflection.proto deleted file mode 100644 index d5b04855..00000000 --- a/examples/authz/proto/cosmos/base/reflection/v2alpha1/reflection.proto +++ /dev/null @@ -1,218 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.base.reflection.v2alpha1; - -import "google/api/annotations.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/server/grpc/reflection/v2alpha1"; - -// AppDescriptor describes a cosmos-sdk based application -message AppDescriptor { - // AuthnDescriptor provides information on how to authenticate transactions on the application - // NOTE: experimental and subject to change in future releases. - AuthnDescriptor authn = 1; - // chain provides the chain descriptor - ChainDescriptor chain = 2; - // codec provides metadata information regarding codec related types - CodecDescriptor codec = 3; - // configuration provides metadata information regarding the sdk.Config type - ConfigurationDescriptor configuration = 4; - // query_services provides metadata information regarding the available queriable endpoints - QueryServicesDescriptor query_services = 5; - // tx provides metadata information regarding how to send transactions to the given application - TxDescriptor tx = 6; -} - -// TxDescriptor describes the accepted transaction type -message TxDescriptor { - // fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type) - // it is not meant to support polymorphism of transaction types, it is supposed to be used by - // reflection clients to understand if they can handle a specific transaction type in an application. - string fullname = 1; - // msgs lists the accepted application messages (sdk.Msg) - repeated MsgDescriptor msgs = 2; -} - -// AuthnDescriptor provides information on how to sign transactions without relying -// on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures -message AuthnDescriptor { - // sign_modes defines the supported signature algorithm - repeated SigningModeDescriptor sign_modes = 1; -} - -// SigningModeDescriptor provides information on a signing flow of the application -// NOTE(fdymylja): here we could go as far as providing an entire flow on how -// to sign a message given a SigningModeDescriptor, but it's better to think about -// this another time -message SigningModeDescriptor { - // name defines the unique name of the signing mode - string name = 1; - // number is the unique int32 identifier for the sign_mode enum - int32 number = 2; - // authn_info_provider_method_fullname defines the fullname of the method to call to get - // the metadata required to authenticate using the provided sign_modes - string authn_info_provider_method_fullname = 3; -} - -// ChainDescriptor describes chain information of the application -message ChainDescriptor { - // id is the chain id - string id = 1; -} - -// CodecDescriptor describes the registered interfaces and provides metadata information on the types -message CodecDescriptor { - // interfaces is a list of the registerted interfaces descriptors - repeated InterfaceDescriptor interfaces = 1; -} - -// InterfaceDescriptor describes the implementation of an interface -message InterfaceDescriptor { - // fullname is the name of the interface - string fullname = 1; - // interface_accepting_messages contains information regarding the proto messages which contain the interface as - // google.protobuf.Any field - repeated InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2; - // interface_implementers is a list of the descriptors of the interface implementers - repeated InterfaceImplementerDescriptor interface_implementers = 3; -} - -// InterfaceImplementerDescriptor describes an interface implementer -message InterfaceImplementerDescriptor { - // fullname is the protobuf queryable name of the interface implementer - string fullname = 1; - // type_url defines the type URL used when marshalling the type as any - // this is required so we can provide type safe google.protobuf.Any marshalling and - // unmarshalling, making sure that we don't accept just 'any' type - // in our interface fields - string type_url = 2; -} - -// InterfaceAcceptingMessageDescriptor describes a protobuf message which contains -// an interface represented as a google.protobuf.Any -message InterfaceAcceptingMessageDescriptor { - // fullname is the protobuf fullname of the type containing the interface - string fullname = 1; - // field_descriptor_names is a list of the protobuf name (not fullname) of the field - // which contains the interface as google.protobuf.Any (the interface is the same, but - // it can be in multiple fields of the same proto message) - repeated string field_descriptor_names = 2; -} - -// ConfigurationDescriptor contains metadata information on the sdk.Config -message ConfigurationDescriptor { - // bech32_account_address_prefix is the account address prefix - string bech32_account_address_prefix = 1; -} - -// MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction -message MsgDescriptor { - // msg_type_url contains the TypeURL of a sdk.Msg. - string msg_type_url = 1; -} - -// ReflectionService defines a service for application reflection. -service ReflectionService { - // GetAuthnDescriptor returns information on how to authenticate transactions in the application - // NOTE: this RPC is still experimental and might be subject to breaking changes or removal in - // future releases of the cosmos-sdk. - rpc GetAuthnDescriptor(GetAuthnDescriptorRequest) returns (GetAuthnDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/authn"; - } - // GetChainDescriptor returns the description of the chain - rpc GetChainDescriptor(GetChainDescriptorRequest) returns (GetChainDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/chain"; - }; - // GetCodecDescriptor returns the descriptor of the codec of the application - rpc GetCodecDescriptor(GetCodecDescriptorRequest) returns (GetCodecDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/codec"; - } - // GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application - rpc GetConfigurationDescriptor(GetConfigurationDescriptorRequest) returns (GetConfigurationDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/configuration"; - } - // GetQueryServicesDescriptor returns the available gRPC queryable services of the application - rpc GetQueryServicesDescriptor(GetQueryServicesDescriptorRequest) returns (GetQueryServicesDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/query_services"; - } - // GetTxDescriptor returns information on the used transaction object and available msgs that can be used - rpc GetTxDescriptor(GetTxDescriptorRequest) returns (GetTxDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/tx_descriptor"; - } -} - -// GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC -message GetAuthnDescriptorRequest {} -// GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC -message GetAuthnDescriptorResponse { - // authn describes how to authenticate to the application when sending transactions - AuthnDescriptor authn = 1; -} - -// GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC -message GetChainDescriptorRequest {} -// GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC -message GetChainDescriptorResponse { - // chain describes application chain information - ChainDescriptor chain = 1; -} - -// GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC -message GetCodecDescriptorRequest {} -// GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC -message GetCodecDescriptorResponse { - // codec describes the application codec such as registered interfaces and implementations - CodecDescriptor codec = 1; -} - -// GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC -message GetConfigurationDescriptorRequest {} -// GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC -message GetConfigurationDescriptorResponse { - // config describes the application's sdk.Config - ConfigurationDescriptor config = 1; -} - -// GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC -message GetQueryServicesDescriptorRequest {} -// GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC -message GetQueryServicesDescriptorResponse { - // queries provides information on the available queryable services - QueryServicesDescriptor queries = 1; -} - -// GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC -message GetTxDescriptorRequest {} -// GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC -message GetTxDescriptorResponse { - // tx provides information on msgs that can be forwarded to the application - // alongside the accepted transaction protobuf type - TxDescriptor tx = 1; -} - -// QueryServicesDescriptor contains the list of cosmos-sdk queriable services -message QueryServicesDescriptor { - // query_services is a list of cosmos-sdk QueryServiceDescriptor - repeated QueryServiceDescriptor query_services = 1; -} - -// QueryServiceDescriptor describes a cosmos-sdk queryable service -message QueryServiceDescriptor { - // fullname is the protobuf fullname of the service descriptor - string fullname = 1; - // is_module describes if this service is actually exposed by an application's module - bool is_module = 2; - // methods provides a list of query service methods - repeated QueryMethodDescriptor methods = 3; -} - -// QueryMethodDescriptor describes a queryable method of a query service -// no other info is provided beside method name and tendermint queryable path -// because it would be redundant with the grpc reflection service -message QueryMethodDescriptor { - // name is the protobuf name (not fullname) of the method - string name = 1; - // full_query_path is the path that can be used to query - // this method via tendermint abci.Query - string full_query_path = 2; -} diff --git a/examples/authz/proto/cosmos/base/snapshots/v1beta1/snapshot.proto b/examples/authz/proto/cosmos/base/snapshots/v1beta1/snapshot.proto deleted file mode 100644 index a89e0b4c..00000000 --- a/examples/authz/proto/cosmos/base/snapshots/v1beta1/snapshot.proto +++ /dev/null @@ -1,70 +0,0 @@ -syntax = "proto3"; -package cosmos.base.snapshots.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/snapshots/types"; - -// Snapshot contains Tendermint state sync snapshot info. -message Snapshot { - uint64 height = 1; - uint32 format = 2; - uint32 chunks = 3; - bytes hash = 4; - Metadata metadata = 5 [(gogoproto.nullable) = false]; -} - -// Metadata contains SDK-specific snapshot metadata. -message Metadata { - repeated bytes chunk_hashes = 1; // SHA-256 chunk hashes -} - -// SnapshotItem is an item contained in a rootmulti.Store snapshot. -message SnapshotItem { - // item is the specific type of snapshot item. - oneof item { - SnapshotStoreItem store = 1; - SnapshotIAVLItem iavl = 2 [(gogoproto.customname) = "IAVL"]; - SnapshotExtensionMeta extension = 3; - SnapshotExtensionPayload extension_payload = 4; - SnapshotKVItem kv = 5 [(gogoproto.customname) = "KV"]; - SnapshotSchema schema = 6; - } -} - -// SnapshotStoreItem contains metadata about a snapshotted store. -message SnapshotStoreItem { - string name = 1; -} - -// SnapshotIAVLItem is an exported IAVL node. -message SnapshotIAVLItem { - bytes key = 1; - bytes value = 2; - // version is block height - int64 version = 3; - // height is depth of the tree. - int32 height = 4; -} - -// SnapshotExtensionMeta contains metadata about an external snapshotter. -message SnapshotExtensionMeta { - string name = 1; - uint32 format = 2; -} - -// SnapshotExtensionPayload contains payloads of an external snapshotter. -message SnapshotExtensionPayload { - bytes payload = 1; -} - -// SnapshotKVItem is an exported Key/Value Pair -message SnapshotKVItem { - bytes key = 1; - bytes value = 2; -} - -// SnapshotSchema is an exported schema of smt store -message SnapshotSchema{ - repeated bytes keys = 1; -} diff --git a/examples/authz/proto/cosmos/base/store/v1beta1/commit_info.proto b/examples/authz/proto/cosmos/base/store/v1beta1/commit_info.proto deleted file mode 100644 index 98a33d30..00000000 --- a/examples/authz/proto/cosmos/base/store/v1beta1/commit_info.proto +++ /dev/null @@ -1,29 +0,0 @@ -syntax = "proto3"; -package cosmos.base.store.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/store/types"; - -// CommitInfo defines commit information used by the multi-store when committing -// a version/height. -message CommitInfo { - int64 version = 1; - repeated StoreInfo store_infos = 2 [(gogoproto.nullable) = false]; -} - -// StoreInfo defines store-specific commit information. It contains a reference -// between a store name and the commit ID. -message StoreInfo { - string name = 1; - CommitID commit_id = 2 [(gogoproto.nullable) = false]; -} - -// CommitID defines the committment information when a specific store is -// committed. -message CommitID { - option (gogoproto.goproto_stringer) = false; - - int64 version = 1; - bytes hash = 2; -} diff --git a/examples/authz/proto/cosmos/base/store/v1beta1/listening.proto b/examples/authz/proto/cosmos/base/store/v1beta1/listening.proto deleted file mode 100644 index 35999710..00000000 --- a/examples/authz/proto/cosmos/base/store/v1beta1/listening.proto +++ /dev/null @@ -1,16 +0,0 @@ -syntax = "proto3"; -package cosmos.base.store.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/store/types"; - -// StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) -// It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and -// Deletes -// -// Since: cosmos-sdk 0.43 -message StoreKVPair { - string store_key = 1; // the store key for the KVStore this pair originates from - bool delete = 2; // true indicates a delete operation, false indicates a set operation - bytes key = 3; - bytes value = 4; -} diff --git a/examples/authz/proto/cosmos/base/tendermint/v1beta1/query.proto b/examples/authz/proto/cosmos/base/tendermint/v1beta1/query.proto deleted file mode 100644 index 96a46e53..00000000 --- a/examples/authz/proto/cosmos/base/tendermint/v1beta1/query.proto +++ /dev/null @@ -1,138 +0,0 @@ -syntax = "proto3"; -package cosmos.base.tendermint.v1beta1; - -import "google/protobuf/any.proto"; -import "google/api/annotations.proto"; -import "tendermint/p2p/types.proto"; -import "tendermint/types/block.proto"; -import "tendermint/types/types.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/client/grpc/tmservice"; - -// Service defines the gRPC querier service for tendermint queries. -service Service { - // GetNodeInfo queries the current node info. - rpc GetNodeInfo(GetNodeInfoRequest) returns (GetNodeInfoResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/node_info"; - } - // GetSyncing queries node syncing. - rpc GetSyncing(GetSyncingRequest) returns (GetSyncingResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/syncing"; - } - // GetLatestBlock returns the latest block. - rpc GetLatestBlock(GetLatestBlockRequest) returns (GetLatestBlockResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/blocks/latest"; - } - // GetBlockByHeight queries block for given height. - rpc GetBlockByHeight(GetBlockByHeightRequest) returns (GetBlockByHeightResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/blocks/{height}"; - } - - // GetLatestValidatorSet queries latest validator-set. - rpc GetLatestValidatorSet(GetLatestValidatorSetRequest) returns (GetLatestValidatorSetResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/validatorsets/latest"; - } - // GetValidatorSetByHeight queries validator-set at a given height. - rpc GetValidatorSetByHeight(GetValidatorSetByHeightRequest) returns (GetValidatorSetByHeightResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/validatorsets/{height}"; - } -} - -// GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. -message GetValidatorSetByHeightRequest { - int64 height = 1; - // pagination defines an pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. -message GetValidatorSetByHeightResponse { - int64 block_height = 1; - repeated Validator validators = 2; - // pagination defines an pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 3; -} - -// GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. -message GetLatestValidatorSetRequest { - // pagination defines an pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. -message GetLatestValidatorSetResponse { - int64 block_height = 1; - repeated Validator validators = 2; - // pagination defines an pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 3; -} - -// Validator is the type for the validator-set. -message Validator { - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - google.protobuf.Any pub_key = 2; - int64 voting_power = 3; - int64 proposer_priority = 4; -} - -// GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. -message GetBlockByHeightRequest { - int64 height = 1; -} - -// GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. -message GetBlockByHeightResponse { - .tendermint.types.BlockID block_id = 1; - .tendermint.types.Block block = 2; -} - -// GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. -message GetLatestBlockRequest {} - -// GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. -message GetLatestBlockResponse { - .tendermint.types.BlockID block_id = 1; - .tendermint.types.Block block = 2; -} - -// GetSyncingRequest is the request type for the Query/GetSyncing RPC method. -message GetSyncingRequest {} - -// GetSyncingResponse is the response type for the Query/GetSyncing RPC method. -message GetSyncingResponse { - bool syncing = 1; -} - -// GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. -message GetNodeInfoRequest {} - -// GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. -message GetNodeInfoResponse { - .tendermint.p2p.NodeInfo node_info = 1; - VersionInfo application_version = 2; -} - -// VersionInfo is the type for the GetNodeInfoResponse message. -message VersionInfo { - string name = 1; - string app_name = 2; - string version = 3; - string git_commit = 4; - string build_tags = 5; - string go_version = 6; - repeated Module build_deps = 7; - // Since: cosmos-sdk 0.43 - string cosmos_sdk_version = 8; -} - -// Module is the type for VersionInfo -message Module { - // module path - string path = 1; - // module version - string version = 2; - // checksum - string sum = 3; -} diff --git a/examples/authz/proto/cosmos/base/v1beta1/coin.proto b/examples/authz/proto/cosmos/base/v1beta1/coin.proto deleted file mode 100644 index 69e67e09..00000000 --- a/examples/authz/proto/cosmos/base/v1beta1/coin.proto +++ /dev/null @@ -1,43 +0,0 @@ -syntax = "proto3"; -package cosmos.base.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/types"; -option (gogoproto.goproto_stringer_all) = false; -option (gogoproto.stringer_all) = false; - -// Coin defines a token with a denomination and an amount. -// -// NOTE: The amount field is an Int which implements the custom method -// signatures required by gogoproto. -message Coin { - option (gogoproto.equal) = true; - - string denom = 1; - string amount = 2 - [(cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "Int", (gogoproto.nullable) = false]; -} - -// DecCoin defines a token with a denomination and a decimal amount. -// -// NOTE: The amount field is an Dec which implements the custom method -// signatures required by gogoproto. -message DecCoin { - option (gogoproto.equal) = true; - - string denom = 1; - string amount = 2 - [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "Dec", (gogoproto.nullable) = false]; -} - -// IntProto defines a Protobuf wrapper around an Int object. -message IntProto { - string int = 1 [(cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "Int", (gogoproto.nullable) = false]; -} - -// DecProto defines a Protobuf wrapper around a Dec object. -message DecProto { - string dec = 1 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "Dec", (gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/capability/v1beta1/capability.proto b/examples/authz/proto/cosmos/capability/v1beta1/capability.proto deleted file mode 100644 index c433566d..00000000 --- a/examples/authz/proto/cosmos/capability/v1beta1/capability.proto +++ /dev/null @@ -1,30 +0,0 @@ -syntax = "proto3"; -package cosmos.capability.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/capability/types"; - -import "gogoproto/gogo.proto"; - -// Capability defines an implementation of an object capability. The index -// provided to a Capability must be globally unique. -message Capability { - option (gogoproto.goproto_stringer) = false; - - uint64 index = 1; -} - -// Owner defines a single capability owner. An owner is defined by the name of -// capability and the module name. -message Owner { - option (gogoproto.goproto_stringer) = false; - option (gogoproto.goproto_getters) = false; - - string module = 1; - string name = 2; -} - -// CapabilityOwners defines a set of owners of a single Capability. The set of -// owners must be unique. -message CapabilityOwners { - repeated Owner owners = 1 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/capability/v1beta1/genesis.proto b/examples/authz/proto/cosmos/capability/v1beta1/genesis.proto deleted file mode 100644 index b5482439..00000000 --- a/examples/authz/proto/cosmos/capability/v1beta1/genesis.proto +++ /dev/null @@ -1,26 +0,0 @@ -syntax = "proto3"; -package cosmos.capability.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/capability/v1beta1/capability.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/capability/types"; - -// GenesisOwners defines the capability owners with their corresponding index. -message GenesisOwners { - // index is the index of the capability owner. - uint64 index = 1; - - // index_owners are the owners at the given index. - CapabilityOwners index_owners = 2 [(gogoproto.nullable) = false]; -} - -// GenesisState defines the capability module's genesis state. -message GenesisState { - // index is the capability global index. - uint64 index = 1; - - // owners represents a map from index to owners of the capability index - // index key is string to allow amino marshalling. - repeated GenesisOwners owners = 2 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/crisis/v1beta1/genesis.proto b/examples/authz/proto/cosmos/crisis/v1beta1/genesis.proto deleted file mode 100644 index 5c291604..00000000 --- a/examples/authz/proto/cosmos/crisis/v1beta1/genesis.proto +++ /dev/null @@ -1,14 +0,0 @@ -syntax = "proto3"; -package cosmos.crisis.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types"; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -// GenesisState defines the crisis module's genesis state. -message GenesisState { - // constant_fee is the fee used to verify the invariant in the crisis - // module. - cosmos.base.v1beta1.Coin constant_fee = 3 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/crisis/v1beta1/tx.proto b/examples/authz/proto/cosmos/crisis/v1beta1/tx.proto deleted file mode 100644 index fea9059f..00000000 --- a/examples/authz/proto/cosmos/crisis/v1beta1/tx.proto +++ /dev/null @@ -1,29 +0,0 @@ -syntax = "proto3"; -package cosmos.crisis.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types"; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/msg/v1/msg.proto"; - -// Msg defines the bank Msg service. -service Msg { - // VerifyInvariant defines a method to verify a particular invariance. - rpc VerifyInvariant(MsgVerifyInvariant) returns (MsgVerifyInvariantResponse); -} - -// MsgVerifyInvariant represents a message to verify a particular invariance. -message MsgVerifyInvariant { - option (cosmos.msg.v1.signer) = "sender"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string sender = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string invariant_module_name = 2; - string invariant_route = 3; -} - -// MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. -message MsgVerifyInvariantResponse {} diff --git a/examples/authz/proto/cosmos/crypto/ed25519/keys.proto b/examples/authz/proto/cosmos/crypto/ed25519/keys.proto deleted file mode 100644 index 6ffec344..00000000 --- a/examples/authz/proto/cosmos/crypto/ed25519/keys.proto +++ /dev/null @@ -1,23 +0,0 @@ -syntax = "proto3"; -package cosmos.crypto.ed25519; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"; - -// PubKey is an ed25519 public key for handling Tendermint keys in SDK. -// It's needed for Any serialization and SDK compatibility. -// It must not be used in a non Tendermint key context because it doesn't implement -// ADR-28. Nevertheless, you will like to use ed25519 in app user level -// then you must create a new proto message and follow ADR-28 for Address construction. -message PubKey { - option (gogoproto.goproto_stringer) = false; - - bytes key = 1 [(gogoproto.casttype) = "crypto/ed25519.PublicKey"]; -} - -// Deprecated: PrivKey defines a ed25519 private key. -// NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. -message PrivKey { - bytes key = 1 [(gogoproto.casttype) = "crypto/ed25519.PrivateKey"]; -} diff --git a/examples/authz/proto/cosmos/crypto/hd/v1/hd.proto b/examples/authz/proto/cosmos/crypto/hd/v1/hd.proto deleted file mode 100644 index e4a95afc..00000000 --- a/examples/authz/proto/cosmos/crypto/hd/v1/hd.proto +++ /dev/null @@ -1,23 +0,0 @@ -syntax = "proto3"; -package cosmos.crypto.hd.v1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/crypto/hd"; -option (gogoproto.goproto_getters_all) = false; - -// BIP44Params is used as path field in ledger item in Record. -message BIP44Params { - option (gogoproto.goproto_stringer) = false; - // purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation - uint32 purpose = 1; - // coin_type is a constant that improves privacy - uint32 coin_type = 2; - // account splits the key space into independent user identities - uint32 account = 3; - // change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal - // chain. - bool change = 4; - // address_index is used as child index in BIP32 derivation - uint32 address_index = 5; -} diff --git a/examples/authz/proto/cosmos/crypto/keyring/v1/record.proto b/examples/authz/proto/cosmos/crypto/keyring/v1/record.proto deleted file mode 100644 index 9b2d3c96..00000000 --- a/examples/authz/proto/cosmos/crypto/keyring/v1/record.proto +++ /dev/null @@ -1,47 +0,0 @@ -syntax = "proto3"; -package cosmos.crypto.keyring.v1; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "cosmos/crypto/hd/v1/hd.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keyring"; -option (gogoproto.goproto_getters_all) = false; - -// Record is used for representing a key in the keyring. -message Record { - // name represents a name of Record - string name = 1; - // pub_key represents a public key in any format - google.protobuf.Any pub_key = 2; - - // Record contains one of the following items - oneof item { - // local stores the public information about a locally stored key - Local local = 3; - // ledger stores the public information about a Ledger key - Ledger ledger = 4; - // Multi does not store any information. - Multi multi = 5; - // Offline does not store any information. - Offline offline = 6; - } - - // Item is a keyring item stored in a keyring backend. - // Local item - message Local { - google.protobuf.Any priv_key = 1; - string priv_key_type = 2; - } - - // Ledger item - message Ledger { - hd.v1.BIP44Params path = 1; - } - - // Multi item - message Multi {} - - // Offline item - message Offline {} -} diff --git a/examples/authz/proto/cosmos/crypto/multisig/keys.proto b/examples/authz/proto/cosmos/crypto/multisig/keys.proto deleted file mode 100644 index 7a11fe33..00000000 --- a/examples/authz/proto/cosmos/crypto/multisig/keys.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package cosmos.crypto.multisig; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/multisig"; - -// LegacyAminoPubKey specifies a public key type -// which nests multiple public keys and a threshold, -// it uses legacy amino address rules. -message LegacyAminoPubKey { - option (gogoproto.goproto_getters) = false; - - uint32 threshold = 1; - repeated google.protobuf.Any public_keys = 2 [(gogoproto.customname) = "PubKeys"]; -} diff --git a/examples/authz/proto/cosmos/crypto/multisig/v1beta1/multisig.proto b/examples/authz/proto/cosmos/crypto/multisig/v1beta1/multisig.proto deleted file mode 100644 index bf671f17..00000000 --- a/examples/authz/proto/cosmos/crypto/multisig/v1beta1/multisig.proto +++ /dev/null @@ -1,25 +0,0 @@ -syntax = "proto3"; -package cosmos.crypto.multisig.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/crypto/types"; - -// MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey. -// See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers -// signed and with which modes. -message MultiSignature { - option (gogoproto.goproto_unrecognized) = true; - repeated bytes signatures = 1; -} - -// CompactBitArray is an implementation of a space efficient bit array. -// This is used to ensure that the encoded data takes up a minimal amount of -// space after proto encoding. -// This is not thread safe, and is not intended for concurrent usage. -message CompactBitArray { - option (gogoproto.goproto_stringer) = false; - - uint32 extra_bits_stored = 1; - bytes elems = 2; -} diff --git a/examples/authz/proto/cosmos/crypto/secp256k1/keys.proto b/examples/authz/proto/cosmos/crypto/secp256k1/keys.proto deleted file mode 100644 index a2272571..00000000 --- a/examples/authz/proto/cosmos/crypto/secp256k1/keys.proto +++ /dev/null @@ -1,22 +0,0 @@ -syntax = "proto3"; -package cosmos.crypto.secp256k1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"; - -// PubKey defines a secp256k1 public key -// Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte -// if the y-coordinate is the lexicographically largest of the two associated with -// the x-coordinate. Otherwise the first byte is a 0x03. -// This prefix is followed with the x-coordinate. -message PubKey { - option (gogoproto.goproto_stringer) = false; - - bytes key = 1; -} - -// PrivKey defines a secp256k1 private key. -message PrivKey { - bytes key = 1; -} diff --git a/examples/authz/proto/cosmos/crypto/secp256r1/keys.proto b/examples/authz/proto/cosmos/crypto/secp256r1/keys.proto deleted file mode 100644 index 2e96c6e3..00000000 --- a/examples/authz/proto/cosmos/crypto/secp256r1/keys.proto +++ /dev/null @@ -1,23 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.crypto.secp256r1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1"; -option (gogoproto.messagename_all) = true; -option (gogoproto.goproto_stringer_all) = false; -option (gogoproto.goproto_getters_all) = false; - -// PubKey defines a secp256r1 ECDSA public key. -message PubKey { - // Point on secp256r1 curve in a compressed representation as specified in section - // 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998 - bytes key = 1 [(gogoproto.customtype) = "ecdsaPK"]; -} - -// PrivKey defines a secp256r1 ECDSA private key. -message PrivKey { - // secret number serialized using big-endian encoding - bytes secret = 1 [(gogoproto.customtype) = "ecdsaSK"]; -} diff --git a/examples/authz/proto/cosmos/distribution/v1beta1/distribution.proto b/examples/authz/proto/cosmos/distribution/v1beta1/distribution.proto deleted file mode 100644 index 1afe25ae..00000000 --- a/examples/authz/proto/cosmos/distribution/v1beta1/distribution.proto +++ /dev/null @@ -1,154 +0,0 @@ -syntax = "proto3"; -package cosmos.distribution.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos_proto/cosmos.proto"; - -// Params defines the set of params for the distribution module. -message Params { - option (gogoproto.goproto_stringer) = false; - string community_tax = 1 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - string base_proposer_reward = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - string bonus_proposer_reward = 3 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - bool withdraw_addr_enabled = 4; -} - -// ValidatorHistoricalRewards represents historical rewards for a validator. -// Height is implicit within the store key. -// Cumulative reward ratio is the sum from the zeroeth period -// until this period of rewards / tokens, per the spec. -// The reference count indicates the number of objects -// which might need to reference this historical entry at any point. -// ReferenceCount = -// number of outstanding delegations which ended the associated period (and -// might need to read that record) -// + number of slashes which ended the associated period (and might need to -// read that record) -// + one per validator for the zeroeth period, set on initialization -message ValidatorHistoricalRewards { - repeated cosmos.base.v1beta1.DecCoin cumulative_reward_ratio = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; - uint32 reference_count = 2; -} - -// ValidatorCurrentRewards represents current rewards and current -// period for a validator kept as a running counter and incremented -// each block as long as the validator's tokens remain constant. -message ValidatorCurrentRewards { - repeated cosmos.base.v1beta1.DecCoin rewards = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; - uint64 period = 2; -} - -// ValidatorAccumulatedCommission represents accumulated commission -// for a validator kept as a running counter, can be withdrawn at any time. -message ValidatorAccumulatedCommission { - repeated cosmos.base.v1beta1.DecCoin commission = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; -} - -// ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards -// for a validator inexpensive to track, allows simple sanity checks. -message ValidatorOutstandingRewards { - repeated cosmos.base.v1beta1.DecCoin rewards = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; -} - -// ValidatorSlashEvent represents a validator slash event. -// Height is implicit within the store key. -// This is needed to calculate appropriate amount of staking tokens -// for delegations which are withdrawn after a slash has occurred. -message ValidatorSlashEvent { - uint64 validator_period = 1; - string fraction = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. -message ValidatorSlashEvents { - option (gogoproto.goproto_stringer) = false; - repeated ValidatorSlashEvent validator_slash_events = 1 [(gogoproto.nullable) = false]; -} - -// FeePool is the global fee pool for distribution. -message FeePool { - repeated cosmos.base.v1beta1.DecCoin community_pool = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; -} - -// CommunityPoolSpendProposal details a proposal for use of community funds, -// together with how many coins are proposed to be spent, and to which -// recipient account. -message CommunityPoolSpendProposal { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - string title = 1; - string description = 2; - string recipient = 3; - repeated cosmos.base.v1beta1.Coin amount = 4 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// DelegatorStartingInfo represents the starting info for a delegator reward -// period. It tracks the previous validator period, the delegation's amount of -// staking token, and the creation height (to check later on if any slashes have -// occurred). NOTE: Even though validators are slashed to whole staking tokens, -// the delegators within the validator may be left with less than a full token, -// thus sdk.Dec is used. -message DelegatorStartingInfo { - uint64 previous_period = 1; - string stake = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - uint64 height = 3 [(gogoproto.jsontag) = "creation_height"]; -} - -// DelegationDelegatorReward represents the properties -// of a delegator's delegation reward. -message DelegationDelegatorReward { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = true; - - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - repeated cosmos.base.v1beta1.DecCoin reward = 2 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; -} - -// CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal -// with a deposit -message CommunityPoolSpendProposalWithDeposit { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = true; - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - string title = 1; - string description = 2; - string recipient = 3; - string amount = 4; - string deposit = 5; -} diff --git a/examples/authz/proto/cosmos/distribution/v1beta1/genesis.proto b/examples/authz/proto/cosmos/distribution/v1beta1/genesis.proto deleted file mode 100644 index 4662e8df..00000000 --- a/examples/authz/proto/cosmos/distribution/v1beta1/genesis.proto +++ /dev/null @@ -1,144 +0,0 @@ -syntax = "proto3"; -package cosmos.distribution.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/distribution/v1beta1/distribution.proto"; -import "cosmos_proto/cosmos.proto"; - -// DelegatorWithdrawInfo is the address for where distributions rewards are -// withdrawn to by default this struct is only used at genesis to feed in -// default withdraw addresses. -message DelegatorWithdrawInfo { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_address is the address of the delegator. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // withdraw_address is the address to withdraw the delegation rewards to. - string withdraw_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// ValidatorOutstandingRewardsRecord is used for import/export via genesis json. -message ValidatorOutstandingRewardsRecord { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // validator_address is the address of the validator. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // outstanding_rewards represents the oustanding rewards of a validator. - repeated cosmos.base.v1beta1.DecCoin outstanding_rewards = 2 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; -} - -// ValidatorAccumulatedCommissionRecord is used for import / export via genesis -// json. -message ValidatorAccumulatedCommissionRecord { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // validator_address is the address of the validator. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // accumulated is the accumulated commission of a validator. - ValidatorAccumulatedCommission accumulated = 2 [(gogoproto.nullable) = false]; -} - -// ValidatorHistoricalRewardsRecord is used for import / export via genesis -// json. -message ValidatorHistoricalRewardsRecord { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // validator_address is the address of the validator. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // period defines the period the historical rewards apply to. - uint64 period = 2; - - // rewards defines the historical rewards of a validator. - ValidatorHistoricalRewards rewards = 3 [(gogoproto.nullable) = false]; -} - -// ValidatorCurrentRewardsRecord is used for import / export via genesis json. -message ValidatorCurrentRewardsRecord { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // validator_address is the address of the validator. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // rewards defines the current rewards of a validator. - ValidatorCurrentRewards rewards = 2 [(gogoproto.nullable) = false]; -} - -// DelegatorStartingInfoRecord used for import / export via genesis json. -message DelegatorStartingInfoRecord { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_address is the address of the delegator. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // validator_address is the address of the validator. - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // starting_info defines the starting info of a delegator. - DelegatorStartingInfo starting_info = 3 [(gogoproto.nullable) = false]; -} - -// ValidatorSlashEventRecord is used for import / export via genesis json. -message ValidatorSlashEventRecord { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // validator_address is the address of the validator. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // height defines the block height at which the slash event occured. - uint64 height = 2; - // period is the period of the slash event. - uint64 period = 3; - // validator_slash_event describes the slash event. - ValidatorSlashEvent validator_slash_event = 4 [(gogoproto.nullable) = false]; -} - -// GenesisState defines the distribution module's genesis state. -message GenesisState { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // params defines all the paramaters of the module. - Params params = 1 [(gogoproto.nullable) = false]; - - // fee_pool defines the fee pool at genesis. - FeePool fee_pool = 2 [(gogoproto.nullable) = false]; - - // fee_pool defines the delegator withdraw infos at genesis. - repeated DelegatorWithdrawInfo delegator_withdraw_infos = 3 [(gogoproto.nullable) = false]; - - // fee_pool defines the previous proposer at genesis. - string previous_proposer = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // fee_pool defines the outstanding rewards of all validators at genesis. - repeated ValidatorOutstandingRewardsRecord outstanding_rewards = 5 [(gogoproto.nullable) = false]; - - // fee_pool defines the accumulated commisions of all validators at genesis. - repeated ValidatorAccumulatedCommissionRecord validator_accumulated_commissions = 6 [(gogoproto.nullable) = false]; - - // fee_pool defines the historical rewards of all validators at genesis. - repeated ValidatorHistoricalRewardsRecord validator_historical_rewards = 7 [(gogoproto.nullable) = false]; - - // fee_pool defines the current rewards of all validators at genesis. - repeated ValidatorCurrentRewardsRecord validator_current_rewards = 8 [(gogoproto.nullable) = false]; - - // fee_pool defines the delegator starting infos at genesis. - repeated DelegatorStartingInfoRecord delegator_starting_infos = 9 [(gogoproto.nullable) = false]; - - // fee_pool defines the validator slash events at genesis. - repeated ValidatorSlashEventRecord validator_slash_events = 10 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/distribution/v1beta1/query.proto b/examples/authz/proto/cosmos/distribution/v1beta1/query.proto deleted file mode 100644 index a09413fc..00000000 --- a/examples/authz/proto/cosmos/distribution/v1beta1/query.proto +++ /dev/null @@ -1,219 +0,0 @@ -syntax = "proto3"; -package cosmos.distribution.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/distribution/v1beta1/distribution.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; - -// Query defines the gRPC querier service for distribution module. -service Query { - // Params queries params of the distribution module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/params"; - } - - // ValidatorOutstandingRewards queries rewards of a validator address. - rpc ValidatorOutstandingRewards(QueryValidatorOutstandingRewardsRequest) - returns (QueryValidatorOutstandingRewardsResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/validators/" - "{validator_address}/outstanding_rewards"; - } - - // ValidatorCommission queries accumulated commission for a validator. - rpc ValidatorCommission(QueryValidatorCommissionRequest) returns (QueryValidatorCommissionResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/validators/" - "{validator_address}/commission"; - } - - // ValidatorSlashes queries slash events of a validator. - rpc ValidatorSlashes(QueryValidatorSlashesRequest) returns (QueryValidatorSlashesResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/validators/{validator_address}/slashes"; - } - - // DelegationRewards queries the total rewards accrued by a delegation. - rpc DelegationRewards(QueryDelegationRewardsRequest) returns (QueryDelegationRewardsResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/" - "{validator_address}"; - } - - // DelegationTotalRewards queries the total rewards accrued by a each - // validator. - rpc DelegationTotalRewards(QueryDelegationTotalRewardsRequest) returns (QueryDelegationTotalRewardsResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards"; - } - - // DelegatorValidators queries the validators of a delegator. - rpc DelegatorValidators(QueryDelegatorValidatorsRequest) returns (QueryDelegatorValidatorsResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/" - "{delegator_address}/validators"; - } - - // DelegatorWithdrawAddress queries withdraw address of a delegator. - rpc DelegatorWithdrawAddress(QueryDelegatorWithdrawAddressRequest) returns (QueryDelegatorWithdrawAddressResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/" - "{delegator_address}/withdraw_address"; - } - - // CommunityPool queries the community pool coins. - rpc CommunityPool(QueryCommunityPoolRequest) returns (QueryCommunityPoolResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/community_pool"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [(gogoproto.nullable) = false]; -} - -// QueryValidatorOutstandingRewardsRequest is the request type for the -// Query/ValidatorOutstandingRewards RPC method. -message QueryValidatorOutstandingRewardsRequest { - // validator_address defines the validator address to query for. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryValidatorOutstandingRewardsResponse is the response type for the -// Query/ValidatorOutstandingRewards RPC method. -message QueryValidatorOutstandingRewardsResponse { - ValidatorOutstandingRewards rewards = 1 [(gogoproto.nullable) = false]; -} - -// QueryValidatorCommissionRequest is the request type for the -// Query/ValidatorCommission RPC method -message QueryValidatorCommissionRequest { - // validator_address defines the validator address to query for. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryValidatorCommissionResponse is the response type for the -// Query/ValidatorCommission RPC method -message QueryValidatorCommissionResponse { - // commission defines the commision the validator received. - ValidatorAccumulatedCommission commission = 1 [(gogoproto.nullable) = false]; -} - -// QueryValidatorSlashesRequest is the request type for the -// Query/ValidatorSlashes RPC method -message QueryValidatorSlashesRequest { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = true; - - // validator_address defines the validator address to query for. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // starting_height defines the optional starting height to query the slashes. - uint64 starting_height = 2; - // starting_height defines the optional ending height to query the slashes. - uint64 ending_height = 3; - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 4; -} - -// QueryValidatorSlashesResponse is the response type for the -// Query/ValidatorSlashes RPC method. -message QueryValidatorSlashesResponse { - // slashes defines the slashes the validator received. - repeated ValidatorSlashEvent slashes = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryDelegationRewardsRequest is the request type for the -// Query/DelegationRewards RPC method. -message QueryDelegationRewardsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_address defines the delegator address to query for. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // validator_address defines the validator address to query for. - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDelegationRewardsResponse is the response type for the -// Query/DelegationRewards RPC method. -message QueryDelegationRewardsResponse { - // rewards defines the rewards accrued by a delegation. - repeated cosmos.base.v1beta1.DecCoin rewards = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; -} - -// QueryDelegationTotalRewardsRequest is the request type for the -// Query/DelegationTotalRewards RPC method. -message QueryDelegationTotalRewardsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - // delegator_address defines the delegator address to query for. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDelegationTotalRewardsResponse is the response type for the -// Query/DelegationTotalRewards RPC method. -message QueryDelegationTotalRewardsResponse { - // rewards defines all the rewards accrued by a delegator. - repeated DelegationDelegatorReward rewards = 1 [(gogoproto.nullable) = false]; - // total defines the sum of all the rewards. - repeated cosmos.base.v1beta1.DecCoin total = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; -} - -// QueryDelegatorValidatorsRequest is the request type for the -// Query/DelegatorValidators RPC method. -message QueryDelegatorValidatorsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_address defines the delegator address to query for. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDelegatorValidatorsResponse is the response type for the -// Query/DelegatorValidators RPC method. -message QueryDelegatorValidatorsResponse { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // validators defines the validators a delegator is delegating for. - repeated string validators = 1; -} - -// QueryDelegatorWithdrawAddressRequest is the request type for the -// Query/DelegatorWithdrawAddress RPC method. -message QueryDelegatorWithdrawAddressRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_address defines the delegator address to query for. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDelegatorWithdrawAddressResponse is the response type for the -// Query/DelegatorWithdrawAddress RPC method. -message QueryDelegatorWithdrawAddressResponse { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // withdraw_address defines the delegator address to query for. - string withdraw_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC -// method. -message QueryCommunityPoolRequest {} - -// QueryCommunityPoolResponse is the response type for the Query/CommunityPool -// RPC method. -message QueryCommunityPoolResponse { - // pool defines community pool's coins. - repeated cosmos.base.v1beta1.DecCoin pool = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/distribution/v1beta1/tx.proto b/examples/authz/proto/cosmos/distribution/v1beta1/tx.proto deleted file mode 100644 index 7f22dce9..00000000 --- a/examples/authz/proto/cosmos/distribution/v1beta1/tx.proto +++ /dev/null @@ -1,95 +0,0 @@ -syntax = "proto3"; -package cosmos.distribution.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/msg/v1/msg.proto"; - -// Msg defines the distribution Msg service. -service Msg { - // SetWithdrawAddress defines a method to change the withdraw address - // for a delegator (or validator self-delegation). - rpc SetWithdrawAddress(MsgSetWithdrawAddress) returns (MsgSetWithdrawAddressResponse); - - // WithdrawDelegatorReward defines a method to withdraw rewards of delegator - // from a single validator. - rpc WithdrawDelegatorReward(MsgWithdrawDelegatorReward) returns (MsgWithdrawDelegatorRewardResponse); - - // WithdrawValidatorCommission defines a method to withdraw the - // full commission to the validator address. - rpc WithdrawValidatorCommission(MsgWithdrawValidatorCommission) returns (MsgWithdrawValidatorCommissionResponse); - - // FundCommunityPool defines a method to allow an account to directly - // fund the community pool. - rpc FundCommunityPool(MsgFundCommunityPool) returns (MsgFundCommunityPoolResponse); -} - -// MsgSetWithdrawAddress sets the withdraw address for -// a delegator (or validator self-delegation). -message MsgSetWithdrawAddress { - option (cosmos.msg.v1.signer) = "delegator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string withdraw_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. -message MsgSetWithdrawAddressResponse {} - -// MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator -// from a single validator. -message MsgWithdrawDelegatorReward { - option (cosmos.msg.v1.signer) = "delegator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. -message MsgWithdrawDelegatorRewardResponse { - repeated cosmos.base.v1beta1.Coin amount = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// MsgWithdrawValidatorCommission withdraws the full commission to the validator -// address. -message MsgWithdrawValidatorCommission { - option (cosmos.msg.v1.signer) = "validator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. -message MsgWithdrawValidatorCommissionResponse { - repeated cosmos.base.v1beta1.Coin amount = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// MsgFundCommunityPool allows an account to directly -// fund the community pool. -message MsgFundCommunityPool { - option (cosmos.msg.v1.signer) = "depositor"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - repeated cosmos.base.v1beta1.Coin amount = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. -message MsgFundCommunityPoolResponse {} diff --git a/examples/authz/proto/cosmos/evidence/v1beta1/evidence.proto b/examples/authz/proto/cosmos/evidence/v1beta1/evidence.proto deleted file mode 100644 index 83f9ec3d..00000000 --- a/examples/authz/proto/cosmos/evidence/v1beta1/evidence.proto +++ /dev/null @@ -1,22 +0,0 @@ -syntax = "proto3"; -package cosmos.evidence.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "cosmos_proto/cosmos.proto"; - -// Equivocation implements the Evidence interface and defines evidence of double -// signing misbehavior. -message Equivocation { - option (gogoproto.goproto_stringer) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.equal) = false; - - int64 height = 1; - google.protobuf.Timestamp time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - int64 power = 3; - string consensus_address = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} \ No newline at end of file diff --git a/examples/authz/proto/cosmos/evidence/v1beta1/genesis.proto b/examples/authz/proto/cosmos/evidence/v1beta1/genesis.proto deleted file mode 100644 index 199f446f..00000000 --- a/examples/authz/proto/cosmos/evidence/v1beta1/genesis.proto +++ /dev/null @@ -1,12 +0,0 @@ -syntax = "proto3"; -package cosmos.evidence.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; - -import "google/protobuf/any.proto"; - -// GenesisState defines the evidence module's genesis state. -message GenesisState { - // evidence defines all the evidence at genesis. - repeated google.protobuf.Any evidence = 1; -} diff --git a/examples/authz/proto/cosmos/evidence/v1beta1/query.proto b/examples/authz/proto/cosmos/evidence/v1beta1/query.proto deleted file mode 100644 index eda00544..00000000 --- a/examples/authz/proto/cosmos/evidence/v1beta1/query.proto +++ /dev/null @@ -1,51 +0,0 @@ -syntax = "proto3"; -package cosmos.evidence.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "google/api/annotations.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; - -// Query defines the gRPC querier service. -service Query { - // Evidence queries evidence based on evidence hash. - rpc Evidence(QueryEvidenceRequest) returns (QueryEvidenceResponse) { - option (google.api.http).get = "/cosmos/evidence/v1beta1/evidence/{evidence_hash}"; - } - - // AllEvidence queries all evidence. - rpc AllEvidence(QueryAllEvidenceRequest) returns (QueryAllEvidenceResponse) { - option (google.api.http).get = "/cosmos/evidence/v1beta1/evidence"; - } -} - -// QueryEvidenceRequest is the request type for the Query/Evidence RPC method. -message QueryEvidenceRequest { - // evidence_hash defines the hash of the requested evidence. - bytes evidence_hash = 1 [(gogoproto.casttype) = "github.com/tendermint/tendermint/libs/bytes.HexBytes"]; -} - -// QueryEvidenceResponse is the response type for the Query/Evidence RPC method. -message QueryEvidenceResponse { - // evidence returns the requested evidence. - google.protobuf.Any evidence = 1; -} - -// QueryEvidenceRequest is the request type for the Query/AllEvidence RPC -// method. -message QueryAllEvidenceRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC -// method. -message QueryAllEvidenceResponse { - // evidence returns all evidences. - repeated google.protobuf.Any evidence = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/examples/authz/proto/cosmos/evidence/v1beta1/tx.proto b/examples/authz/proto/cosmos/evidence/v1beta1/tx.proto deleted file mode 100644 index 223f7e11..00000000 --- a/examples/authz/proto/cosmos/evidence/v1beta1/tx.proto +++ /dev/null @@ -1,35 +0,0 @@ -syntax = "proto3"; -package cosmos.evidence.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/msg/v1/msg.proto"; - -// Msg defines the evidence Msg service. -service Msg { - // SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or - // counterfactual signing. - rpc SubmitEvidence(MsgSubmitEvidence) returns (MsgSubmitEvidenceResponse); -} - -// MsgSubmitEvidence represents a message that supports submitting arbitrary -// Evidence of misbehavior such as equivocation or counterfactual signing. -message MsgSubmitEvidence { - option (cosmos.msg.v1.signer) = "submitter"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string submitter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - google.protobuf.Any evidence = 2 [(cosmos_proto.accepts_interface) = "Evidence"]; -} - -// MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. -message MsgSubmitEvidenceResponse { - // hash defines the hash of the evidence. - bytes hash = 4; -} diff --git a/examples/authz/proto/cosmos/feegrant/v1beta1/feegrant.proto b/examples/authz/proto/cosmos/feegrant/v1beta1/feegrant.proto deleted file mode 100644 index eca71e2b..00000000 --- a/examples/authz/proto/cosmos/feegrant/v1beta1/feegrant.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.feegrant.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "google/protobuf/timestamp.proto"; -import "google/protobuf/duration.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; - -// BasicAllowance implements Allowance with a one-time grant of tokens -// that optionally expires. The grantee can use up to SpendLimit to cover fees. -message BasicAllowance { - option (cosmos_proto.implements_interface) = "FeeAllowanceI"; - - // spend_limit specifies the maximum amount of tokens that can be spent - // by this allowance and will be updated as tokens are spent. If it is - // empty, there is no spend limit and any amount of coins can be spent. - repeated cosmos.base.v1beta1.Coin spend_limit = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - // expiration specifies an optional time when this allowance expires - google.protobuf.Timestamp expiration = 2 [(gogoproto.stdtime) = true]; -} - -// PeriodicAllowance extends Allowance to allow for both a maximum cap, -// as well as a limit per time period. -message PeriodicAllowance { - option (cosmos_proto.implements_interface) = "FeeAllowanceI"; - - // basic specifies a struct of `BasicAllowance` - BasicAllowance basic = 1 [(gogoproto.nullable) = false]; - - // period specifies the time duration in which period_spend_limit coins can - // be spent before that allowance is reset - google.protobuf.Duration period = 2 [(gogoproto.stdduration) = true, (gogoproto.nullable) = false]; - - // period_spend_limit specifies the maximum number of coins that can be spent - // in the period - repeated cosmos.base.v1beta1.Coin period_spend_limit = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - // period_can_spend is the number of coins left to be spent before the period_reset time - repeated cosmos.base.v1beta1.Coin period_can_spend = 4 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - // period_reset is the time at which this period resets and a new one begins, - // it is calculated from the start time of the first transaction after the - // last period ended - google.protobuf.Timestamp period_reset = 5 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; -} - -// AllowedMsgAllowance creates allowance only for specified message types. -message AllowedMsgAllowance { - option (gogoproto.goproto_getters) = false; - option (cosmos_proto.implements_interface) = "FeeAllowanceI"; - - // allowance can be any of basic and periodic fee allowance. - google.protobuf.Any allowance = 1 [(cosmos_proto.accepts_interface) = "FeeAllowanceI"]; - - // allowed_messages are the messages for which the grantee has the access. - repeated string allowed_messages = 2; -} - -// Grant is stored in the KVStore to record a grant with full context -message Grant { - // granter is the address of the user granting an allowance of their funds. - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // grantee is the address of the user being granted an allowance of another user's funds. - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // allowance can be any of basic, periodic, allowed fee allowance. - google.protobuf.Any allowance = 3 [(cosmos_proto.accepts_interface) = "FeeAllowanceI"]; -} diff --git a/examples/authz/proto/cosmos/feegrant/v1beta1/genesis.proto b/examples/authz/proto/cosmos/feegrant/v1beta1/genesis.proto deleted file mode 100644 index 5b1ac4ca..00000000 --- a/examples/authz/proto/cosmos/feegrant/v1beta1/genesis.proto +++ /dev/null @@ -1,13 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.feegrant.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/feegrant/v1beta1/feegrant.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; - -// GenesisState contains a set of fee allowances, persisted from the store -message GenesisState { - repeated Grant allowances = 1 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/feegrant/v1beta1/query.proto b/examples/authz/proto/cosmos/feegrant/v1beta1/query.proto deleted file mode 100644 index 59c992c9..00000000 --- a/examples/authz/proto/cosmos/feegrant/v1beta1/query.proto +++ /dev/null @@ -1,79 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.feegrant.v1beta1; - -import "cosmos/feegrant/v1beta1/feegrant.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "google/api/annotations.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; - -// Query defines the gRPC querier service. -service Query { - - // Allowance returns fee granted to the grantee by the granter. - rpc Allowance(QueryAllowanceRequest) returns (QueryAllowanceResponse) { - option (google.api.http).get = "/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}"; - } - - // Allowances returns all the grants for address. - rpc Allowances(QueryAllowancesRequest) returns (QueryAllowancesResponse) { - option (google.api.http).get = "/cosmos/feegrant/v1beta1/allowances/{grantee}"; - } - - // AllowancesByGranter returns all the grants given by an address - // Since v0.46 - rpc AllowancesByGranter(QueryAllowancesByGranterRequest) returns (QueryAllowancesByGranterResponse) { - option (google.api.http).get = "/cosmos/feegrant/v1beta1/issued/{granter}"; - } -} - -// QueryAllowanceRequest is the request type for the Query/Allowance RPC method. -message QueryAllowanceRequest { - // granter is the address of the user granting an allowance of their funds. - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // grantee is the address of the user being granted an allowance of another user's funds. - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryAllowanceResponse is the response type for the Query/Allowance RPC method. -message QueryAllowanceResponse { - // allowance is a allowance granted for grantee by granter. - cosmos.feegrant.v1beta1.Grant allowance = 1; -} - -// QueryAllowancesRequest is the request type for the Query/Allowances RPC method. -message QueryAllowancesRequest { - string grantee = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryAllowancesResponse is the response type for the Query/Allowances RPC method. -message QueryAllowancesResponse { - // allowances are allowance's granted for grantee by granter. - repeated cosmos.feegrant.v1beta1.Grant allowances = 1; - - // pagination defines an pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. -message QueryAllowancesByGranterRequest { - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. -message QueryAllowancesByGranterResponse { - // allowances that have been issued by the granter. - repeated cosmos.feegrant.v1beta1.Grant allowances = 1; - - // pagination defines an pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/examples/authz/proto/cosmos/feegrant/v1beta1/tx.proto b/examples/authz/proto/cosmos/feegrant/v1beta1/tx.proto deleted file mode 100644 index a12d9aaa..00000000 --- a/examples/authz/proto/cosmos/feegrant/v1beta1/tx.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.feegrant.v1beta1; - -import "google/protobuf/any.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; - -// Msg defines the feegrant msg service. -service Msg { - - // GrantAllowance grants fee allowance to the grantee on the granter's - // account with the provided expiration time. - rpc GrantAllowance(MsgGrantAllowance) returns (MsgGrantAllowanceResponse); - - // RevokeAllowance revokes any fee allowance of granter's account that - // has been granted to the grantee. - rpc RevokeAllowance(MsgRevokeAllowance) returns (MsgRevokeAllowanceResponse); -} - -// MsgGrantAllowance adds permission for Grantee to spend up to Allowance -// of fees from the account of Granter. -message MsgGrantAllowance { - option (cosmos.msg.v1.signer) = "granter"; - - // granter is the address of the user granting an allowance of their funds. - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // grantee is the address of the user being granted an allowance of another user's funds. - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // allowance can be any of basic, periodic, allowed fee allowance. - google.protobuf.Any allowance = 3 [(cosmos_proto.accepts_interface) = "FeeAllowanceI"]; -} - -// MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. -message MsgGrantAllowanceResponse {} - -// MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. -message MsgRevokeAllowance { - option (cosmos.msg.v1.signer) = "granter"; - - // granter is the address of the user granting an allowance of their funds. - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // grantee is the address of the user being granted an allowance of another user's funds. - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. -message MsgRevokeAllowanceResponse {} diff --git a/examples/authz/proto/cosmos/genutil/v1beta1/genesis.proto b/examples/authz/proto/cosmos/genutil/v1beta1/genesis.proto deleted file mode 100644 index 958d15fe..00000000 --- a/examples/authz/proto/cosmos/genutil/v1beta1/genesis.proto +++ /dev/null @@ -1,12 +0,0 @@ -syntax = "proto3"; -package cosmos.genutil.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/genutil/types"; - -// GenesisState defines the raw genesis transaction in JSON. -message GenesisState { - // gen_txs defines the genesis transactions. - repeated bytes gen_txs = 1 [(gogoproto.casttype) = "encoding/json.RawMessage", (gogoproto.jsontag) = "gentxs"]; -} diff --git a/examples/authz/proto/cosmos/gov/v1/genesis.proto b/examples/authz/proto/cosmos/gov/v1/genesis.proto deleted file mode 100644 index cb44a7f3..00000000 --- a/examples/authz/proto/cosmos/gov/v1/genesis.proto +++ /dev/null @@ -1,26 +0,0 @@ -// Since: cosmos-sdk 0.46 -syntax = "proto3"; - -package cosmos.gov.v1; - -import "cosmos/gov/v1/gov.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; - -// GenesisState defines the gov module's genesis state. -message GenesisState { - // starting_proposal_id is the ID of the starting proposal. - uint64 starting_proposal_id = 1; - // deposits defines all the deposits present at genesis. - repeated Deposit deposits = 2; - // votes defines all the votes present at genesis. - repeated Vote votes = 3; - // proposals defines all the proposals present at genesis. - repeated Proposal proposals = 4; - // params defines all the paramaters of related to deposit. - DepositParams deposit_params = 5; - // params defines all the paramaters of related to voting. - VotingParams voting_params = 6; - // params defines all the paramaters of related to tally. - TallyParams tally_params = 7; -} diff --git a/examples/authz/proto/cosmos/gov/v1/gov.proto b/examples/authz/proto/cosmos/gov/v1/gov.proto deleted file mode 100644 index fb014d65..00000000 --- a/examples/authz/proto/cosmos/gov/v1/gov.proto +++ /dev/null @@ -1,132 +0,0 @@ -// Since: cosmos-sdk 0.46 -syntax = "proto3"; -package cosmos.gov.v1; - -import "cosmos/base/v1beta1/coin.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "google/protobuf/any.proto"; -import "google/protobuf/duration.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; - -// VoteOption enumerates the valid vote options for a given governance proposal. -enum VoteOption { - // VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - VOTE_OPTION_UNSPECIFIED = 0; - // VOTE_OPTION_YES defines a yes vote option. - VOTE_OPTION_YES = 1; - // VOTE_OPTION_ABSTAIN defines an abstain vote option. - VOTE_OPTION_ABSTAIN = 2; - // VOTE_OPTION_NO defines a no vote option. - VOTE_OPTION_NO = 3; - // VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. - VOTE_OPTION_NO_WITH_VETO = 4; -} - -// WeightedVoteOption defines a unit of vote for vote split. -message WeightedVoteOption { - VoteOption option = 1; - string weight = 2 [(cosmos_proto.scalar) = "cosmos.Dec"]; -} - -// Deposit defines an amount deposited by an account address to an active -// proposal. -message Deposit { - uint64 proposal_id = 1; - string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; -} - -// Proposal defines the core field members of a governance proposal. -message Proposal { - uint64 id = 1; - repeated google.protobuf.Any messages = 2; - ProposalStatus status = 3; - // final_tally_result is the final tally result of the proposal. When - // querying a proposal via gRPC, this field is not populated until the - // proposal's voting period has ended. - TallyResult final_tally_result = 4; - google.protobuf.Timestamp submit_time = 5 [(gogoproto.stdtime) = true]; - google.protobuf.Timestamp deposit_end_time = 6 [(gogoproto.stdtime) = true]; - repeated cosmos.base.v1beta1.Coin total_deposit = 7 [(gogoproto.nullable) = false]; - google.protobuf.Timestamp voting_start_time = 8 [(gogoproto.stdtime) = true]; - google.protobuf.Timestamp voting_end_time = 9 [(gogoproto.stdtime) = true]; - - // metadata is any arbitrary metadata attached to the proposal. - string metadata = 10; -} - -// ProposalStatus enumerates the valid statuses of a proposal. -enum ProposalStatus { - // PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. - PROPOSAL_STATUS_UNSPECIFIED = 0; - // PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - // period. - PROPOSAL_STATUS_DEPOSIT_PERIOD = 1; - // PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - // period. - PROPOSAL_STATUS_VOTING_PERIOD = 2; - // PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - // passed. - PROPOSAL_STATUS_PASSED = 3; - // PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - // been rejected. - PROPOSAL_STATUS_REJECTED = 4; - // PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - // failed. - PROPOSAL_STATUS_FAILED = 5; -} - -// TallyResult defines a standard tally for a governance proposal. -message TallyResult { - string yes_count = 1 [(cosmos_proto.scalar) = "cosmos.Int"]; - string abstain_count = 2 [(cosmos_proto.scalar) = "cosmos.Int"]; - string no_count = 3 [(cosmos_proto.scalar) = "cosmos.Int"]; - string no_with_veto_count = 4 [(cosmos_proto.scalar) = "cosmos.Int"]; -} - -// Vote defines a vote on a governance proposal. -// A Vote consists of a proposal ID, the voter, and the vote option. -message Vote { - uint64 proposal_id = 1; - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - reserved 3; - repeated WeightedVoteOption options = 4; - - // metadata is any arbitrary metadata to attached to the vote. - string metadata = 5; -} - -// DepositParams defines the params for deposits on governance proposals. -message DepositParams { - // Minimum deposit for a proposal to enter voting period. - repeated cosmos.base.v1beta1.Coin min_deposit = 1 - [(gogoproto.nullable) = false, (gogoproto.jsontag) = "min_deposit,omitempty"]; - - // Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - // months. - google.protobuf.Duration max_deposit_period = 2 - [(gogoproto.stdduration) = true, (gogoproto.jsontag) = "max_deposit_period,omitempty"]; -} - -// VotingParams defines the params for voting on governance proposals. -message VotingParams { - // Length of the voting period. - google.protobuf.Duration voting_period = 1 [(gogoproto.stdduration) = true]; -} - -// TallyParams defines the params for tallying votes on governance proposals. -message TallyParams { - // Minimum percentage of total stake needed to vote for a result to be - // considered valid. - string quorum = 1 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.jsontag) = "quorum,omitempty"]; - - // Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. - string threshold = 2 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.jsontag) = "threshold,omitempty"]; - - // Minimum value of Veto votes to Total votes ratio for proposal to be - // vetoed. Default value: 1/3. - string veto_threshold = 3 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.jsontag) = "veto_threshold,omitempty"]; -} diff --git a/examples/authz/proto/cosmos/gov/v1/query.proto b/examples/authz/proto/cosmos/gov/v1/query.proto deleted file mode 100644 index ea46472a..00000000 --- a/examples/authz/proto/cosmos/gov/v1/query.proto +++ /dev/null @@ -1,183 +0,0 @@ - -// Since: cosmos-sdk 0.46 -syntax = "proto3"; -package cosmos.gov.v1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "google/api/annotations.proto"; -import "cosmos/gov/v1/gov.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; - -// Query defines the gRPC querier service for gov module -service Query { - // Proposal queries proposal details based on ProposalID. - rpc Proposal(QueryProposalRequest) returns (QueryProposalResponse) { - option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}"; - } - - // Proposals queries all proposals based on given status. - rpc Proposals(QueryProposalsRequest) returns (QueryProposalsResponse) { - option (google.api.http).get = "/cosmos/gov/v1/proposals"; - } - - // Vote queries voted information based on proposalID, voterAddr. - rpc Vote(QueryVoteRequest) returns (QueryVoteResponse) { - option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}"; - } - - // Votes queries votes of a given proposal. - rpc Votes(QueryVotesRequest) returns (QueryVotesResponse) { - option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/votes"; - } - - // Params queries all parameters of the gov module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/gov/v1/params/{params_type}"; - } - - // Deposit queries single deposit information based proposalID, depositAddr. - rpc Deposit(QueryDepositRequest) returns (QueryDepositResponse) { - option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}"; - } - - // Deposits queries all deposits of a single proposal. - rpc Deposits(QueryDepositsRequest) returns (QueryDepositsResponse) { - option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/deposits"; - } - - // TallyResult queries the tally of a proposal vote. - rpc TallyResult(QueryTallyResultRequest) returns (QueryTallyResultResponse) { - option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/tally"; - } -} - -// QueryProposalRequest is the request type for the Query/Proposal RPC method. -message QueryProposalRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; -} - -// QueryProposalResponse is the response type for the Query/Proposal RPC method. -message QueryProposalResponse { - Proposal proposal = 1; -} - -// QueryProposalsRequest is the request type for the Query/Proposals RPC method. -message QueryProposalsRequest { - // proposal_status defines the status of the proposals. - ProposalStatus proposal_status = 1; - - // voter defines the voter address for the proposals. - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // depositor defines the deposit addresses from the proposals. - string depositor = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 4; -} - -// QueryProposalsResponse is the response type for the Query/Proposals RPC -// method. -message QueryProposalsResponse { - repeated Proposal proposals = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryVoteRequest is the request type for the Query/Vote RPC method. -message QueryVoteRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // voter defines the oter address for the proposals. - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryVoteResponse is the response type for the Query/Vote RPC method. -message QueryVoteResponse { - // vote defined the queried vote. - Vote vote = 1; -} - -// QueryVotesRequest is the request type for the Query/Votes RPC method. -message QueryVotesRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryVotesResponse is the response type for the Query/Votes RPC method. -message QueryVotesResponse { - // votes defined the queried votes. - repeated Vote votes = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest { - // params_type defines which parameters to query for, can be one of "voting", - // "tallying" or "deposit". - string params_type = 1; -} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // voting_params defines the parameters related to voting. - VotingParams voting_params = 1; - // deposit_params defines the parameters related to deposit. - DepositParams deposit_params = 2; - // tally_params defines the parameters related to tally. - TallyParams tally_params = 3; -} - -// QueryDepositRequest is the request type for the Query/Deposit RPC method. -message QueryDepositRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // depositor defines the deposit addresses from the proposals. - string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDepositResponse is the response type for the Query/Deposit RPC method. -message QueryDepositResponse { - // deposit defines the requested deposit. - Deposit deposit = 1; -} - -// QueryDepositsRequest is the request type for the Query/Deposits RPC method. -message QueryDepositsRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryDepositsResponse is the response type for the Query/Deposits RPC method. -message QueryDepositsResponse { - repeated Deposit deposits = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryTallyResultRequest is the request type for the Query/Tally RPC method. -message QueryTallyResultRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; -} - -// QueryTallyResultResponse is the response type for the Query/Tally RPC method. -message QueryTallyResultResponse { - // tally defines the requested tally. - TallyResult tally = 1; -} diff --git a/examples/authz/proto/cosmos/gov/v1/tx.proto b/examples/authz/proto/cosmos/gov/v1/tx.proto deleted file mode 100644 index 9306c51e..00000000 --- a/examples/authz/proto/cosmos/gov/v1/tx.proto +++ /dev/null @@ -1,100 +0,0 @@ -// Since: cosmos-sdk 0.46 -syntax = "proto3"; -package cosmos.gov.v1; - -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/gov/v1/gov.proto"; -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "google/protobuf/any.proto"; -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; - -// Msg defines the gov Msg service. -service Msg { - // SubmitProposal defines a method to create new proposal given a content. - rpc SubmitProposal(MsgSubmitProposal) returns (MsgSubmitProposalResponse); - - // ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal - // to execute a legacy content-based proposal. - rpc ExecLegacyContent(MsgExecLegacyContent) returns (MsgExecLegacyContentResponse); - - // Vote defines a method to add a vote on a specific proposal. - rpc Vote(MsgVote) returns (MsgVoteResponse); - - // VoteWeighted defines a method to add a weighted vote on a specific proposal. - rpc VoteWeighted(MsgVoteWeighted) returns (MsgVoteWeightedResponse); - - // Deposit defines a method to add deposit on a specific proposal. - rpc Deposit(MsgDeposit) returns (MsgDepositResponse); -} - -// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary -// proposal Content. -message MsgSubmitProposal { - option (cosmos.msg.v1.signer) = "proposer"; - - repeated google.protobuf.Any messages = 1; - repeated cosmos.base.v1beta1.Coin initial_deposit = 2 [(gogoproto.nullable) = false]; - string proposer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // metadata is any arbitrary metadata attached to the proposal. - string metadata = 4; -} - -// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. -message MsgSubmitProposalResponse { - uint64 proposal_id = 1; -} - -// MsgExecLegacyContent is used to wrap the legacy content field into a message. -// This ensures backwards compatibility with v1beta1.MsgSubmitProposal. -message MsgExecLegacyContent { - option (cosmos.msg.v1.signer) = "authority"; - - // content is the proposal's content. - google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "Content"]; - // authority must be the gov module address. - string authority = 2; -} - -// MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. -message MsgExecLegacyContentResponse {} - -// MsgVote defines a message to cast a vote. -message MsgVote { - option (cosmos.msg.v1.signer) = "voter"; - - uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - VoteOption option = 3; - string metadata = 4; -} - -// MsgVoteResponse defines the Msg/Vote response type. -message MsgVoteResponse {} - -// MsgVoteWeighted defines a message to cast a vote. -message MsgVoteWeighted { - option (cosmos.msg.v1.signer) = "voter"; - - uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated WeightedVoteOption options = 3; - string metadata = 4; -} - -// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. -message MsgVoteWeightedResponse {} - -// MsgDeposit defines a message to submit a deposit to an existing proposal. -message MsgDeposit { - option (cosmos.msg.v1.signer) = "depositor"; - - uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; - string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; -} - -// MsgDepositResponse defines the Msg/Deposit response type. -message MsgDepositResponse {} diff --git a/examples/authz/proto/cosmos/gov/v1beta1/genesis.proto b/examples/authz/proto/cosmos/gov/v1beta1/genesis.proto deleted file mode 100644 index be9b07e4..00000000 --- a/examples/authz/proto/cosmos/gov/v1beta1/genesis.proto +++ /dev/null @@ -1,26 +0,0 @@ -syntax = "proto3"; - -package cosmos.gov.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/gov/v1beta1/gov.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; - -// GenesisState defines the gov module's genesis state. -message GenesisState { - // starting_proposal_id is the ID of the starting proposal. - uint64 starting_proposal_id = 1; - // deposits defines all the deposits present at genesis. - repeated Deposit deposits = 2 [(gogoproto.castrepeated) = "Deposits", (gogoproto.nullable) = false]; - // votes defines all the votes present at genesis. - repeated Vote votes = 3 [(gogoproto.castrepeated) = "Votes", (gogoproto.nullable) = false]; - // proposals defines all the proposals present at genesis. - repeated Proposal proposals = 4 [(gogoproto.castrepeated) = "Proposals", (gogoproto.nullable) = false]; - // params defines all the paramaters of related to deposit. - DepositParams deposit_params = 5 [(gogoproto.nullable) = false]; - // params defines all the paramaters of related to voting. - VotingParams voting_params = 6 [(gogoproto.nullable) = false]; - // params defines all the paramaters of related to tally. - TallyParams tally_params = 7 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/gov/v1beta1/gov.proto b/examples/authz/proto/cosmos/gov/v1beta1/gov.proto deleted file mode 100644 index f1487fe4..00000000 --- a/examples/authz/proto/cosmos/gov/v1beta1/gov.proto +++ /dev/null @@ -1,201 +0,0 @@ -syntax = "proto3"; -package cosmos.gov.v1beta1; - -import "cosmos/base/v1beta1/coin.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "google/protobuf/any.proto"; -import "google/protobuf/duration.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; - -option (gogoproto.goproto_stringer_all) = false; -option (gogoproto.stringer_all) = false; -option (gogoproto.goproto_getters_all) = false; - -// VoteOption enumerates the valid vote options for a given governance proposal. -enum VoteOption { - option (gogoproto.goproto_enum_prefix) = false; - - // VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - VOTE_OPTION_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "OptionEmpty"]; - // VOTE_OPTION_YES defines a yes vote option. - VOTE_OPTION_YES = 1 [(gogoproto.enumvalue_customname) = "OptionYes"]; - // VOTE_OPTION_ABSTAIN defines an abstain vote option. - VOTE_OPTION_ABSTAIN = 2 [(gogoproto.enumvalue_customname) = "OptionAbstain"]; - // VOTE_OPTION_NO defines a no vote option. - VOTE_OPTION_NO = 3 [(gogoproto.enumvalue_customname) = "OptionNo"]; - // VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. - VOTE_OPTION_NO_WITH_VETO = 4 [(gogoproto.enumvalue_customname) = "OptionNoWithVeto"]; -} - -// WeightedVoteOption defines a unit of vote for vote split. -// -// Since: cosmos-sdk 0.43 -message WeightedVoteOption { - VoteOption option = 1; - string weight = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// TextProposal defines a standard text proposal whose changes need to be -// manually updated in case of approval. -message TextProposal { - option (cosmos_proto.implements_interface) = "Content"; - - option (gogoproto.equal) = true; - - string title = 1; - string description = 2; -} - -// Deposit defines an amount deposited by an account address to an active -// proposal. -message Deposit { - option (gogoproto.goproto_getters) = false; - option (gogoproto.equal) = false; - - uint64 proposal_id = 1; - string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// Proposal defines the core field members of a governance proposal. -message Proposal { - option (gogoproto.equal) = true; - - uint64 proposal_id = 1; - google.protobuf.Any content = 2 [(cosmos_proto.accepts_interface) = "Content"]; - ProposalStatus status = 3; - // final_tally_result is the final tally result of the proposal. When - // querying a proposal via gRPC, this field is not populated until the - // proposal's voting period has ended. - TallyResult final_tally_result = 4 [(gogoproto.nullable) = false]; - google.protobuf.Timestamp submit_time = 5 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - google.protobuf.Timestamp deposit_end_time = 6 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - repeated cosmos.base.v1beta1.Coin total_deposit = 7 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - google.protobuf.Timestamp voting_start_time = 8 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - google.protobuf.Timestamp voting_end_time = 9 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; -} - -// ProposalStatus enumerates the valid statuses of a proposal. -enum ProposalStatus { - option (gogoproto.goproto_enum_prefix) = false; - - // PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. - PROPOSAL_STATUS_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "StatusNil"]; - // PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - // period. - PROPOSAL_STATUS_DEPOSIT_PERIOD = 1 [(gogoproto.enumvalue_customname) = "StatusDepositPeriod"]; - // PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - // period. - PROPOSAL_STATUS_VOTING_PERIOD = 2 [(gogoproto.enumvalue_customname) = "StatusVotingPeriod"]; - // PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - // passed. - PROPOSAL_STATUS_PASSED = 3 [(gogoproto.enumvalue_customname) = "StatusPassed"]; - // PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - // been rejected. - PROPOSAL_STATUS_REJECTED = 4 [(gogoproto.enumvalue_customname) = "StatusRejected"]; - // PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - // failed. - PROPOSAL_STATUS_FAILED = 5 [(gogoproto.enumvalue_customname) = "StatusFailed"]; -} - -// TallyResult defines a standard tally for a governance proposal. -message TallyResult { - option (gogoproto.equal) = true; - - string yes = 1 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - string abstain = 2 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - string no = 3 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - string no_with_veto = 4 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; -} - -// Vote defines a vote on a governance proposal. -// A Vote consists of a proposal ID, the voter, and the vote option. -message Vote { - option (gogoproto.goproto_stringer) = false; - option (gogoproto.equal) = false; - - uint64 proposal_id = 1 [(gogoproto.jsontag) = "id"]; - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // Deprecated: Prefer to use `options` instead. This field is set in queries - // if and only if `len(options) == 1` and that option has weight 1. In all - // other cases, this field will default to VOTE_OPTION_UNSPECIFIED. - VoteOption option = 3 [deprecated = true]; - // Since: cosmos-sdk 0.43 - repeated WeightedVoteOption options = 4 [(gogoproto.nullable) = false]; -} - -// DepositParams defines the params for deposits on governance proposals. -message DepositParams { - // Minimum deposit for a proposal to enter voting period. - repeated cosmos.base.v1beta1.Coin min_deposit = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.jsontag) = "min_deposit,omitempty" - ]; - - // Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - // months. - google.protobuf.Duration max_deposit_period = 2 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "max_deposit_period,omitempty" - ]; -} - -// VotingParams defines the params for voting on governance proposals. -message VotingParams { - // Length of the voting period. - google.protobuf.Duration voting_period = 1 - [(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.jsontag) = "voting_period,omitempty"]; -} - -// TallyParams defines the params for tallying votes on governance proposals. -message TallyParams { - // Minimum percentage of total stake needed to vote for a result to be - // considered valid. - bytes quorum = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "quorum,omitempty" - ]; - - // Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. - bytes threshold = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "threshold,omitempty" - ]; - - // Minimum value of Veto votes to Total votes ratio for proposal to be - // vetoed. Default value: 1/3. - bytes veto_threshold = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "veto_threshold,omitempty" - ]; -} diff --git a/examples/authz/proto/cosmos/gov/v1beta1/query.proto b/examples/authz/proto/cosmos/gov/v1beta1/query.proto deleted file mode 100644 index e8837fd2..00000000 --- a/examples/authz/proto/cosmos/gov/v1beta1/query.proto +++ /dev/null @@ -1,191 +0,0 @@ -syntax = "proto3"; -package cosmos.gov.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/gov/v1beta1/gov.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; - -// Query defines the gRPC querier service for gov module -service Query { - // Proposal queries proposal details based on ProposalID. - rpc Proposal(QueryProposalRequest) returns (QueryProposalResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}"; - } - - // Proposals queries all proposals based on given status. - rpc Proposals(QueryProposalsRequest) returns (QueryProposalsResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals"; - } - - // Vote queries voted information based on proposalID, voterAddr. - rpc Vote(QueryVoteRequest) returns (QueryVoteResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}"; - } - - // Votes queries votes of a given proposal. - rpc Votes(QueryVotesRequest) returns (QueryVotesResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes"; - } - - // Params queries all parameters of the gov module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/params/{params_type}"; - } - - // Deposit queries single deposit information based proposalID, depositAddr. - rpc Deposit(QueryDepositRequest) returns (QueryDepositResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}"; - } - - // Deposits queries all deposits of a single proposal. - rpc Deposits(QueryDepositsRequest) returns (QueryDepositsResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits"; - } - - // TallyResult queries the tally of a proposal vote. - rpc TallyResult(QueryTallyResultRequest) returns (QueryTallyResultResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/tally"; - } -} - -// QueryProposalRequest is the request type for the Query/Proposal RPC method. -message QueryProposalRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; -} - -// QueryProposalResponse is the response type for the Query/Proposal RPC method. -message QueryProposalResponse { - Proposal proposal = 1 [(gogoproto.nullable) = false]; -} - -// QueryProposalsRequest is the request type for the Query/Proposals RPC method. -message QueryProposalsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // proposal_status defines the status of the proposals. - ProposalStatus proposal_status = 1; - - // voter defines the voter address for the proposals. - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // depositor defines the deposit addresses from the proposals. - string depositor = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 4; -} - -// QueryProposalsResponse is the response type for the Query/Proposals RPC -// method. -message QueryProposalsResponse { - repeated Proposal proposals = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryVoteRequest is the request type for the Query/Vote RPC method. -message QueryVoteRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // voter defines the oter address for the proposals. - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryVoteResponse is the response type for the Query/Vote RPC method. -message QueryVoteResponse { - // vote defined the queried vote. - Vote vote = 1 [(gogoproto.nullable) = false]; -} - -// QueryVotesRequest is the request type for the Query/Votes RPC method. -message QueryVotesRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryVotesResponse is the response type for the Query/Votes RPC method. -message QueryVotesResponse { - // votes defined the queried votes. - repeated Vote votes = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest { - // params_type defines which parameters to query for, can be one of "voting", - // "tallying" or "deposit". - string params_type = 1; -} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // voting_params defines the parameters related to voting. - VotingParams voting_params = 1 [(gogoproto.nullable) = false]; - // deposit_params defines the parameters related to deposit. - DepositParams deposit_params = 2 [(gogoproto.nullable) = false]; - // tally_params defines the parameters related to tally. - TallyParams tally_params = 3 [(gogoproto.nullable) = false]; -} - -// QueryDepositRequest is the request type for the Query/Deposit RPC method. -message QueryDepositRequest { - option (gogoproto.goproto_getters) = false; - option (gogoproto.equal) = false; - - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // depositor defines the deposit addresses from the proposals. - string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDepositResponse is the response type for the Query/Deposit RPC method. -message QueryDepositResponse { - // deposit defines the requested deposit. - Deposit deposit = 1 [(gogoproto.nullable) = false]; -} - -// QueryDepositsRequest is the request type for the Query/Deposits RPC method. -message QueryDepositsRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryDepositsResponse is the response type for the Query/Deposits RPC method. -message QueryDepositsResponse { - repeated Deposit deposits = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryTallyResultRequest is the request type for the Query/Tally RPC method. -message QueryTallyResultRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; -} - -// QueryTallyResultResponse is the response type for the Query/Tally RPC method. -message QueryTallyResultResponse { - // tally defines the requested tally. - TallyResult tally = 1 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/gov/v1beta1/tx.proto b/examples/authz/proto/cosmos/gov/v1beta1/tx.proto deleted file mode 100644 index 00ce2253..00000000 --- a/examples/authz/proto/cosmos/gov/v1beta1/tx.proto +++ /dev/null @@ -1,106 +0,0 @@ -syntax = "proto3"; -package cosmos.gov.v1beta1; - -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/gov/v1beta1/gov.proto"; -import "cosmos_proto/cosmos.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; - -// Msg defines the bank Msg service. -service Msg { - // SubmitProposal defines a method to create new proposal given a content. - rpc SubmitProposal(MsgSubmitProposal) returns (MsgSubmitProposalResponse); - - // Vote defines a method to add a vote on a specific proposal. - rpc Vote(MsgVote) returns (MsgVoteResponse); - - // VoteWeighted defines a method to add a weighted vote on a specific proposal. - // - // Since: cosmos-sdk 0.43 - rpc VoteWeighted(MsgVoteWeighted) returns (MsgVoteWeightedResponse); - - // Deposit defines a method to add deposit on a specific proposal. - rpc Deposit(MsgDeposit) returns (MsgDepositResponse); -} - -// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary -// proposal Content. -message MsgSubmitProposal { - option (cosmos.msg.v1.signer) = "proposer"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.stringer) = false; - option (gogoproto.goproto_getters) = false; - - google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "Content"]; - repeated cosmos.base.v1beta1.Coin initial_deposit = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - string proposer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. -message MsgSubmitProposalResponse { - uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; -} - -// MsgVote defines a message to cast a vote. -message MsgVote { - option (cosmos.msg.v1.signer) = "voter"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.stringer) = false; - option (gogoproto.goproto_getters) = false; - - uint64 proposal_id = 1; - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - VoteOption option = 3; -} - -// MsgVoteResponse defines the Msg/Vote response type. -message MsgVoteResponse {} - -// MsgVoteWeighted defines a message to cast a vote. -// -// Since: cosmos-sdk 0.43 -message MsgVoteWeighted { - option (cosmos.msg.v1.signer) = "voter"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.stringer) = false; - option (gogoproto.goproto_getters) = false; - - uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated WeightedVoteOption options = 3 [(gogoproto.nullable) = false]; -} - -// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. -// -// Since: cosmos-sdk 0.43 -message MsgVoteWeightedResponse {} - -// MsgDeposit defines a message to submit a deposit to an existing proposal. -message MsgDeposit { - option (cosmos.msg.v1.signer) = "depositor"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.stringer) = false; - option (gogoproto.goproto_getters) = false; - - uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; - string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// MsgDepositResponse defines the Msg/Deposit response type. -message MsgDepositResponse {} diff --git a/examples/authz/proto/cosmos/group/v1/events.proto b/examples/authz/proto/cosmos/group/v1/events.proto deleted file mode 100644 index e8907243..00000000 --- a/examples/authz/proto/cosmos/group/v1/events.proto +++ /dev/null @@ -1,77 +0,0 @@ -syntax = "proto3"; - -package cosmos.group.v1; - -import "cosmos_proto/cosmos.proto"; -import "cosmos/group/v1/types.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/group"; - -// EventCreateGroup is an event emitted when a group is created. -message EventCreateGroup { - - // group_id is the unique ID of the group. - uint64 group_id = 1; -} - -// EventUpdateGroup is an event emitted when a group is updated. -message EventUpdateGroup { - - // group_id is the unique ID of the group. - uint64 group_id = 1; -} - -// EventCreateGroupPolicy is an event emitted when a group policy is created. -message EventCreateGroupPolicy { - - // address is the account address of the group policy. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// EventUpdateGroupPolicy is an event emitted when a group policy is updated. -message EventUpdateGroupPolicy { - - // address is the account address of the group policy. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// EventSubmitProposal is an event emitted when a proposal is created. -message EventSubmitProposal { - - // proposal_id is the unique ID of the proposal. - uint64 proposal_id = 1; -} - -// EventWithdrawProposal is an event emitted when a proposal is withdrawn. -message EventWithdrawProposal { - - // proposal_id is the unique ID of the proposal. - uint64 proposal_id = 1; -} - -// EventVote is an event emitted when a voter votes on a proposal. -message EventVote { - - // proposal_id is the unique ID of the proposal. - uint64 proposal_id = 1; -} - -// EventExec is an event emitted when a proposal is executed. -message EventExec { - - // proposal_id is the unique ID of the proposal. - uint64 proposal_id = 1; - - // result is the proposal execution result. - ProposalExecutorResult result = 2; -} - -// EventLeaveGroup is an event emitted when group member leaves the group. -message EventLeaveGroup { - - // group_id is the unique ID of the group. - uint64 group_id = 1; - - // address is the account address of the group member. - string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} diff --git a/examples/authz/proto/cosmos/group/v1/genesis.proto b/examples/authz/proto/cosmos/group/v1/genesis.proto deleted file mode 100644 index 49655ad2..00000000 --- a/examples/authz/proto/cosmos/group/v1/genesis.proto +++ /dev/null @@ -1,38 +0,0 @@ -syntax = "proto3"; - -package cosmos.group.v1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/group"; - -import "cosmos/group/v1/types.proto"; - -// GenesisState defines the group module's genesis state. -message GenesisState { - - // group_seq is the group table orm.Sequence, - // it is used to get the next group ID. - uint64 group_seq = 1; - - // groups is the list of groups info. - repeated GroupInfo groups = 2; - - // group_members is the list of groups members. - repeated GroupMember group_members = 3; - - // group_policy_seq is the group policy table orm.Sequence, - // it is used to generate the next group policy account address. - uint64 group_policy_seq = 4; - - // group_policies is the list of group policies info. - repeated GroupPolicyInfo group_policies = 5; - - // proposal_seq is the proposal table orm.Sequence, - // it is used to get the next proposal ID. - uint64 proposal_seq = 6; - - // proposals is the list of proposals. - repeated Proposal proposals = 7; - - // votes is the list of votes. - repeated Vote votes = 8; -} \ No newline at end of file diff --git a/examples/authz/proto/cosmos/group/v1/query.proto b/examples/authz/proto/cosmos/group/v1/query.proto deleted file mode 100644 index 1690d5b7..00000000 --- a/examples/authz/proto/cosmos/group/v1/query.proto +++ /dev/null @@ -1,308 +0,0 @@ -syntax = "proto3"; - -package cosmos.group.v1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/group/v1/types.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/group"; - -// Query is the cosmos.group.v1 Query service. -service Query { - - // GroupInfo queries group info based on group id. - rpc GroupInfo(QueryGroupInfoRequest) returns (QueryGroupInfoResponse) { - option (google.api.http).get = "/cosmos/group/v1/group_info/{group_id}"; - }; - - // GroupPolicyInfo queries group policy info based on account address of group policy. - rpc GroupPolicyInfo(QueryGroupPolicyInfoRequest) returns (QueryGroupPolicyInfoResponse) { - option (google.api.http).get = "/cosmos/group/v1/group_policy_info/{address}"; - }; - - // GroupMembers queries members of a group - rpc GroupMembers(QueryGroupMembersRequest) returns (QueryGroupMembersResponse) { - option (google.api.http).get = "/cosmos/group/v1/group_members/{group_id}"; - }; - - // GroupsByAdmin queries groups by admin address. - rpc GroupsByAdmin(QueryGroupsByAdminRequest) returns (QueryGroupsByAdminResponse) { - option (google.api.http).get = "/cosmos/group/v1/groups_by_admin/{admin}"; - }; - - // GroupPoliciesByGroup queries group policies by group id. - rpc GroupPoliciesByGroup(QueryGroupPoliciesByGroupRequest) returns (QueryGroupPoliciesByGroupResponse) { - option (google.api.http).get = "/cosmos/group/v1/group_policies_by_group/{group_id}"; - }; - - // GroupsByAdmin queries group policies by admin address. - rpc GroupPoliciesByAdmin(QueryGroupPoliciesByAdminRequest) returns (QueryGroupPoliciesByAdminResponse) { - option (google.api.http).get = "/cosmos/group/v1/group_policies_by_admin/{admin}"; - }; - - // Proposal queries a proposal based on proposal id. - rpc Proposal(QueryProposalRequest) returns (QueryProposalResponse) { - option (google.api.http).get = "/cosmos/group/v1/proposal/{proposal_id}"; - }; - - // ProposalsByGroupPolicy queries proposals based on account address of group policy. - rpc ProposalsByGroupPolicy(QueryProposalsByGroupPolicyRequest) returns (QueryProposalsByGroupPolicyResponse) { - option (google.api.http).get = "/cosmos/group/v1/proposals_by_group_policy/{address}"; - }; - - // VoteByProposalVoter queries a vote by proposal id and voter. - rpc VoteByProposalVoter(QueryVoteByProposalVoterRequest) returns (QueryVoteByProposalVoterResponse) { - option (google.api.http).get = "/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}"; - }; - - // VotesByProposal queries a vote by proposal. - rpc VotesByProposal(QueryVotesByProposalRequest) returns (QueryVotesByProposalResponse) { - option (google.api.http).get = "/cosmos/group/v1/votes_by_proposal/{proposal_id}"; - }; - - // VotesByVoter queries a vote by voter. - rpc VotesByVoter(QueryVotesByVoterRequest) returns (QueryVotesByVoterResponse) { - option (google.api.http).get = "/cosmos/group/v1/votes_by_voter/{voter}"; - }; - - // GroupsByMember queries groups by member address. - rpc GroupsByMember(QueryGroupsByMemberRequest) returns (QueryGroupsByMemberResponse) { - option (google.api.http).get = "/cosmos/group/v1/groups_by_member/{address}"; - }; - - // TallyResult queries the tally of a proposal votes. - rpc TallyResult(QueryTallyResultRequest) returns (QueryTallyResultResponse) { - option (google.api.http).get = "/cosmos/group/v1/proposals/{proposal_id}/tally"; - }; -} - -// QueryGroupInfoRequest is the Query/GroupInfo request type. -message QueryGroupInfoRequest { - - // group_id is the unique ID of the group. - uint64 group_id = 1; -} - -// QueryGroupInfoResponse is the Query/GroupInfo response type. -message QueryGroupInfoResponse { - - // info is the GroupInfo for the group. - GroupInfo info = 1; -} - -// QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. -message QueryGroupPolicyInfoRequest { - - // address is the account address of the group policy. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. -message QueryGroupPolicyInfoResponse { - - // info is the GroupPolicyInfo for the group policy. - GroupPolicyInfo info = 1; -} - -// QueryGroupMembersRequest is the Query/GroupMembers request type. -message QueryGroupMembersRequest { - - // group_id is the unique ID of the group. - uint64 group_id = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryGroupMembersResponse is the Query/GroupMembersResponse response type. -message QueryGroupMembersResponse { - - // members are the members of the group with given group_id. - repeated GroupMember members = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. -message QueryGroupsByAdminRequest { - - // admin is the account address of a group's admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. -message QueryGroupsByAdminResponse { - - // groups are the groups info with the provided admin. - repeated GroupInfo groups = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. -message QueryGroupPoliciesByGroupRequest { - - // group_id is the unique ID of the group policy's group. - uint64 group_id = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. -message QueryGroupPoliciesByGroupResponse { - - // group_policies are the group policies info associated with the provided group. - repeated GroupPolicyInfo group_policies = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. -message QueryGroupPoliciesByAdminRequest { - - // admin is the admin address of the group policy. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. -message QueryGroupPoliciesByAdminResponse { - - // group_policies are the group policies info with provided admin. - repeated GroupPolicyInfo group_policies = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryProposalRequest is the Query/Proposal request type. -message QueryProposalRequest { - - // proposal_id is the unique ID of a proposal. - uint64 proposal_id = 1; -} - -// QueryProposalResponse is the Query/Proposal response type. -message QueryProposalResponse { - - // proposal is the proposal info. - Proposal proposal = 1; -} - -// QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. -message QueryProposalsByGroupPolicyRequest { - - // address is the account address of the group policy related to proposals. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. -message QueryProposalsByGroupPolicyResponse { - - // proposals are the proposals with given group policy. - repeated Proposal proposals = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. -message QueryVoteByProposalVoterRequest { - - // proposal_id is the unique ID of a proposal. - uint64 proposal_id = 1; - - // voter is a proposal voter account address. - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. -message QueryVoteByProposalVoterResponse { - - // vote is the vote with given proposal_id and voter. - Vote vote = 1; -} - -// QueryVotesByProposalRequest is the Query/VotesByProposal request type. -message QueryVotesByProposalRequest { - - // proposal_id is the unique ID of a proposal. - uint64 proposal_id = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryVotesByProposalResponse is the Query/VotesByProposal response type. -message QueryVotesByProposalResponse { - - // votes are the list of votes for given proposal_id. - repeated Vote votes = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryVotesByVoterRequest is the Query/VotesByVoter request type. -message QueryVotesByVoterRequest { - // voter is a proposal voter account address. - string voter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryVotesByVoterResponse is the Query/VotesByVoter response type. -message QueryVotesByVoterResponse { - - // votes are the list of votes by given voter. - repeated Vote votes = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryGroupsByMemberRequest is the Query/GroupsByMember request type. -message QueryGroupsByMemberRequest { - // address is the group member address. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryGroupsByMemberResponse is the Query/GroupsByMember response type. -message QueryGroupsByMemberResponse { - // groups are the groups info with the provided group member. - repeated GroupInfo groups = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryTallyResultRequest is the Query/TallyResult request type. -message QueryTallyResultRequest { - // proposal_id is the unique id of a proposal. - uint64 proposal_id = 1; -} - -// QueryTallyResultResponse is the Query/TallyResult response type. -message QueryTallyResultResponse { - // tally defines the requested tally. - TallyResult tally = 1 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/group/v1/tx.proto b/examples/authz/proto/cosmos/group/v1/tx.proto deleted file mode 100644 index 08d83ede..00000000 --- a/examples/authz/proto/cosmos/group/v1/tx.proto +++ /dev/null @@ -1,364 +0,0 @@ -syntax = "proto3"; - -package cosmos.group.v1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/group"; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "google/protobuf/any.proto"; -import "cosmos/group/v1/types.proto"; - -import "cosmos/msg/v1/msg.proto"; - -// Msg is the cosmos.group.v1 Msg service. -service Msg { - - // CreateGroup creates a new group with an admin account address, a list of members and some optional metadata. - rpc CreateGroup(MsgCreateGroup) returns (MsgCreateGroupResponse); - - // UpdateGroupMembers updates the group members with given group id and admin address. - rpc UpdateGroupMembers(MsgUpdateGroupMembers) returns (MsgUpdateGroupMembersResponse); - - // UpdateGroupAdmin updates the group admin with given group id and previous admin address. - rpc UpdateGroupAdmin(MsgUpdateGroupAdmin) returns (MsgUpdateGroupAdminResponse); - - // UpdateGroupMetadata updates the group metadata with given group id and admin address. - rpc UpdateGroupMetadata(MsgUpdateGroupMetadata) returns (MsgUpdateGroupMetadataResponse); - - // CreateGroupPolicy creates a new group policy using given DecisionPolicy. - rpc CreateGroupPolicy(MsgCreateGroupPolicy) returns (MsgCreateGroupPolicyResponse); - - // CreateGroupWithPolicy creates a new group with policy. - rpc CreateGroupWithPolicy(MsgCreateGroupWithPolicy) returns (MsgCreateGroupWithPolicyResponse); - - // UpdateGroupPolicyAdmin updates a group policy admin. - rpc UpdateGroupPolicyAdmin(MsgUpdateGroupPolicyAdmin) returns (MsgUpdateGroupPolicyAdminResponse); - - // UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. - rpc UpdateGroupPolicyDecisionPolicy(MsgUpdateGroupPolicyDecisionPolicy) - returns (MsgUpdateGroupPolicyDecisionPolicyResponse); - - // UpdateGroupPolicyMetadata updates a group policy metadata. - rpc UpdateGroupPolicyMetadata(MsgUpdateGroupPolicyMetadata) returns (MsgUpdateGroupPolicyMetadataResponse); - - // SubmitProposal submits a new proposal. - rpc SubmitProposal(MsgSubmitProposal) returns (MsgSubmitProposalResponse); - - // WithdrawProposal aborts a proposal. - rpc WithdrawProposal(MsgWithdrawProposal) returns (MsgWithdrawProposalResponse); - - // Vote allows a voter to vote on a proposal. - rpc Vote(MsgVote) returns (MsgVoteResponse); - - // Exec executes a proposal. - rpc Exec(MsgExec) returns (MsgExecResponse); - - // LeaveGroup allows a group member to leave the group. - rpc LeaveGroup(MsgLeaveGroup) returns (MsgLeaveGroupResponse); -} - -// -// Groups -// - -// MsgCreateGroup is the Msg/CreateGroup request type. -message MsgCreateGroup { - option (cosmos.msg.v1.signer) = "admin"; - // admin is the account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // members defines the group members. - repeated Member members = 2 [(gogoproto.nullable) = false]; - - // metadata is any arbitrary metadata to attached to the group. - string metadata = 3; -} - -// MsgCreateGroupResponse is the Msg/CreateGroup response type. -message MsgCreateGroupResponse { - - // group_id is the unique ID of the newly created group. - uint64 group_id = 1; -} - -// MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. -message MsgUpdateGroupMembers { - option (cosmos.msg.v1.signer) = "admin"; - - // admin is the account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // group_id is the unique ID of the group. - uint64 group_id = 2; - - // member_updates is the list of members to update, - // set weight to 0 to remove a member. - repeated Member member_updates = 3 [(gogoproto.nullable) = false]; -} - -// MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. -message MsgUpdateGroupMembersResponse {} - -// MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. -message MsgUpdateGroupAdmin { - option (cosmos.msg.v1.signer) = "admin"; - - // admin is the current account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // group_id is the unique ID of the group. - uint64 group_id = 2; - - // new_admin is the group new admin account address. - string new_admin = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. -message MsgUpdateGroupAdminResponse {} - -// MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. -message MsgUpdateGroupMetadata { - option (cosmos.msg.v1.signer) = "admin"; - - // admin is the account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // group_id is the unique ID of the group. - uint64 group_id = 2; - - // metadata is the updated group's metadata. - string metadata = 3; -} - -// MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. -message MsgUpdateGroupMetadataResponse {} - -// -// Group Policies -// - -// MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. -message MsgCreateGroupPolicy { - option (cosmos.msg.v1.signer) = "admin"; - - option (gogoproto.goproto_getters) = false; - - // admin is the account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // group_id is the unique ID of the group. - uint64 group_id = 2; - - // metadata is any arbitrary metadata attached to the group policy. - string metadata = 3; - - // decision_policy specifies the group policy's decision policy. - google.protobuf.Any decision_policy = 4 [(cosmos_proto.accepts_interface) = "DecisionPolicy"]; -} - -// MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. -message MsgCreateGroupPolicyResponse { - - // address is the account address of the newly created group policy. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. -message MsgUpdateGroupPolicyAdmin { - option (cosmos.msg.v1.signer) = "admin"; - - // admin is the account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // address is the account address of the group policy. - string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // new_admin is the new group policy admin. - string new_admin = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. -message MsgCreateGroupWithPolicy { - option (gogoproto.goproto_getters) = false; - - // admin is the account address of the group and group policy admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // members defines the group members. - repeated Member members = 2 [(gogoproto.nullable) = false]; - - // group_metadata is any arbitrary metadata attached to the group. - string group_metadata = 3; - - // group_policy_metadata is any arbitrary metadata attached to the group policy. - string group_policy_metadata = 4; - - // group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group and group policy admin. - bool group_policy_as_admin = 5; - - // decision_policy specifies the group policy's decision policy. - google.protobuf.Any decision_policy = 6 [(cosmos_proto.accepts_interface) = "DecisionPolicy"]; -} - -// MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. -message MsgCreateGroupWithPolicyResponse { - - // group_id is the unique ID of the newly created group with policy. - uint64 group_id = 1; - - // group_policy_address is the account address of the newly created group policy. - string group_policy_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. -message MsgUpdateGroupPolicyAdminResponse {} - -// MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. -message MsgUpdateGroupPolicyDecisionPolicy { - option (cosmos.msg.v1.signer) = "admin"; - - option (gogoproto.goproto_getters) = false; - - // admin is the account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // address is the account address of group policy. - string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // decision_policy is the updated group policy's decision policy. - google.protobuf.Any decision_policy = 3 [(cosmos_proto.accepts_interface) = "DecisionPolicy"]; -} - -// MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. -message MsgUpdateGroupPolicyDecisionPolicyResponse {} - -// MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. -message MsgUpdateGroupPolicyMetadata { - option (cosmos.msg.v1.signer) = "admin"; - - // admin is the account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // address is the account address of group policy. - string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // metadata is the updated group policy metadata. - string metadata = 3; -} - -// MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. -message MsgUpdateGroupPolicyMetadataResponse {} - -// -// Proposals and Voting -// - -// Exec defines modes of execution of a proposal on creation or on new vote. -enum Exec { - - // An empty value means that there should be a separate - // MsgExec request for the proposal to execute. - EXEC_UNSPECIFIED = 0; - - // Try to execute the proposal immediately. - // If the proposal is not allowed per the DecisionPolicy, - // the proposal will still be open and could - // be executed at a later point. - EXEC_TRY = 1; -} - -// MsgSubmitProposal is the Msg/SubmitProposal request type. -message MsgSubmitProposal { - option (cosmos.msg.v1.signer) = "proposers"; - - option (gogoproto.goproto_getters) = false; - - // address is the account address of group policy. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // proposers are the account addresses of the proposers. - // Proposers signatures will be counted as yes votes. - repeated string proposers = 2; - - // metadata is any arbitrary metadata to attached to the proposal. - string metadata = 3; - - // messages is a list of `sdk.Msg`s that will be executed if the proposal passes. - repeated google.protobuf.Any messages = 4; - - // exec defines the mode of execution of the proposal, - // whether it should be executed immediately on creation or not. - // If so, proposers signatures are considered as Yes votes. - Exec exec = 5; -} - -// MsgSubmitProposalResponse is the Msg/SubmitProposal response type. -message MsgSubmitProposalResponse { - - // proposal is the unique ID of the proposal. - uint64 proposal_id = 1; -} - -// MsgWithdrawProposal is the Msg/WithdrawProposal request type. -message MsgWithdrawProposal { - // proposal is the unique ID of the proposal. - uint64 proposal_id = 1; - - // address is the admin of the group policy or one of the proposer of the proposal. - string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. -message MsgWithdrawProposalResponse {} - -// MsgVote is the Msg/Vote request type. -message MsgVote { - option (cosmos.msg.v1.signer) = "voter"; - - // proposal is the unique ID of the proposal. - uint64 proposal_id = 1; - // voter is the voter account address. - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // option is the voter's choice on the proposal. - VoteOption option = 3; - - // metadata is any arbitrary metadata to attached to the vote. - string metadata = 4; - - // exec defines whether the proposal should be executed - // immediately after voting or not. - Exec exec = 5; -} - -// MsgVoteResponse is the Msg/Vote response type. -message MsgVoteResponse {} - -// MsgExec is the Msg/Exec request type. -message MsgExec { - option (cosmos.msg.v1.signer) = "signer"; - - // proposal is the unique ID of the proposal. - uint64 proposal_id = 1; - - // signer is the account address used to execute the proposal. - string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgExecResponse is the Msg/Exec request type. -message MsgExecResponse {} - -// MsgLeaveGroup is the Msg/LeaveGroup request type. -message MsgLeaveGroup { - option (cosmos.msg.v1.signer) = "address"; - - // address is the account address of the group member. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // group_id is the unique ID of the group. - uint64 group_id = 2; -} - -// MsgLeaveGroupResponse is the Msg/LeaveGroup response type. -message MsgLeaveGroupResponse {} diff --git a/examples/authz/proto/cosmos/group/v1/types.proto b/examples/authz/proto/cosmos/group/v1/types.proto deleted file mode 100644 index e09a74c1..00000000 --- a/examples/authz/proto/cosmos/group/v1/types.proto +++ /dev/null @@ -1,308 +0,0 @@ -syntax = "proto3"; - -package cosmos.group.v1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/group"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; -import "cosmos_proto/cosmos.proto"; -import "google/protobuf/any.proto"; - -// Member represents a group member with an account address, -// non-zero weight and metadata. -message Member { - - // address is the member's account address. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // weight is the member's voting weight that should be greater than 0. - string weight = 2; - - // metadata is any arbitrary metadata to attached to the member. - string metadata = 3; - - // added_at is a timestamp specifying when a member was added. - google.protobuf.Timestamp added_at = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -// Members defines a repeated slice of Member objects. -message Members { - - // members is the list of members. - repeated Member members = 1 [(gogoproto.nullable) = false]; -} - -// ThresholdDecisionPolicy implements the DecisionPolicy interface -message ThresholdDecisionPolicy { - option (cosmos_proto.implements_interface) = "DecisionPolicy"; - - // threshold is the minimum weighted sum of yes votes that must be met or exceeded for a proposal to succeed. - string threshold = 1; - - // windows defines the different windows for voting and execution. - DecisionPolicyWindows windows = 2; -} - -// PercentageDecisionPolicy implements the DecisionPolicy interface -message PercentageDecisionPolicy { - option (cosmos_proto.implements_interface) = "DecisionPolicy"; - - // percentage is the minimum percentage the weighted sum of yes votes must meet for a proposal to succeed. - string percentage = 1; - - // windows defines the different windows for voting and execution. - DecisionPolicyWindows windows = 2; -} - -// DecisionPolicyWindows defines the different windows for voting and execution. -message DecisionPolicyWindows { - // voting_period is the duration from submission of a proposal to the end of voting period - // Within this times votes can be submitted with MsgVote. - google.protobuf.Duration voting_period = 1 [(gogoproto.stdduration) = true, (gogoproto.nullable) = false]; - - // min_execution_period is the minimum duration after the proposal submission - // where members can start sending MsgExec. This means that the window for - // sending a MsgExec transaction is: - // `[ submission + min_execution_period ; submission + voting_period + max_execution_period]` - // where max_execution_period is a app-specific config, defined in the keeper. - // If not set, min_execution_period will default to 0. - // - // Please make sure to set a `min_execution_period` that is smaller than - // `voting_period + max_execution_period`, or else the above execution window - // is empty, meaning that all proposals created with this decision policy - // won't be able to be executed. - google.protobuf.Duration min_execution_period = 2 [(gogoproto.stdduration) = true, (gogoproto.nullable) = false]; -} - -// VoteOption enumerates the valid vote options for a given proposal. -enum VoteOption { - option (gogoproto.goproto_enum_prefix) = false; - - // VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - VOTE_OPTION_UNSPECIFIED = 0; - // VOTE_OPTION_YES defines a yes vote option. - VOTE_OPTION_YES = 1; - // VOTE_OPTION_ABSTAIN defines an abstain vote option. - VOTE_OPTION_ABSTAIN = 2; - // VOTE_OPTION_NO defines a no vote option. - VOTE_OPTION_NO = 3; - // VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. - VOTE_OPTION_NO_WITH_VETO = 4; -} - -// -// State -// - -// GroupInfo represents the high-level on-chain information for a group. -message GroupInfo { - - // id is the unique ID of the group. - uint64 id = 1; - - // admin is the account address of the group's admin. - string admin = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // metadata is any arbitrary metadata to attached to the group. - string metadata = 3; - - // version is used to track changes to a group's membership structure that - // would break existing proposals. Whenever any members weight is changed, - // or any member is added or removed this version is incremented and will - // cause proposals based on older versions of this group to fail - uint64 version = 4; - - // total_weight is the sum of the group members' weights. - string total_weight = 5; - - // created_at is a timestamp specifying when a group was created. - google.protobuf.Timestamp created_at = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -// GroupMember represents the relationship between a group and a member. -message GroupMember { - - // group_id is the unique ID of the group. - uint64 group_id = 1; - - // member is the member data. - Member member = 2; -} - -// GroupPolicyInfo represents the high-level on-chain information for a group policy. -message GroupPolicyInfo { - option (gogoproto.equal) = true; - option (gogoproto.goproto_getters) = false; - - // address is the account address of group policy. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // group_id is the unique ID of the group. - uint64 group_id = 2; - - // admin is the account address of the group admin. - string admin = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // metadata is any arbitrary metadata to attached to the group policy. - string metadata = 4; - - // version is used to track changes to a group's GroupPolicyInfo structure that - // would create a different result on a running proposal. - uint64 version = 5; - - // decision_policy specifies the group policy's decision policy. - google.protobuf.Any decision_policy = 6 [(cosmos_proto.accepts_interface) = "DecisionPolicy"]; - - // created_at is a timestamp specifying when a group policy was created. - google.protobuf.Timestamp created_at = 7 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -// Proposal defines a group proposal. Any member of a group can submit a proposal -// for a group policy to decide upon. -// A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal -// passes as well as some optional metadata associated with the proposal. -message Proposal { - option (gogoproto.goproto_getters) = false; - - // id is the unique id of the proposal. - uint64 id = 1; - - // address is the account address of group policy. - string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // metadata is any arbitrary metadata to attached to the proposal. - string metadata = 3; - - // proposers are the account addresses of the proposers. - repeated string proposers = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // submit_time is a timestamp specifying when a proposal was submitted. - google.protobuf.Timestamp submit_time = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - - // group_version tracks the version of the group that this proposal corresponds to. - // When group membership is changed, existing proposals from previous group versions will become invalid. - uint64 group_version = 6; - - // group_policy_version tracks the version of the group policy that this proposal corresponds to. - // When a decision policy is changed, existing proposals from previous policy versions will become invalid. - uint64 group_policy_version = 7; - - // status represents the high level position in the life cycle of the proposal. Initial value is Submitted. - ProposalStatus status = 8; - - // result is the final result based on the votes and election rule. Initial value is unfinalized. - // The result is persisted so that clients can always rely on this state and not have to replicate the logic. - ProposalResult result = 9; - - // final_tally_result contains the sums of all weighted votes for this - // proposal for each vote option, after tallying. When querying a proposal - // via gRPC, this field is not populated until the proposal's voting period - // has ended. - TallyResult final_tally_result = 10 [(gogoproto.nullable) = false]; - - // voting_period_end is the timestamp before which voting must be done. - // Unless a successfull MsgExec is called before (to execute a proposal whose - // tally is successful before the voting period ends), tallying will be done - // at this point, and the `final_tally_result`, as well - // as `status` and `result` fields will be accordingly updated. - google.protobuf.Timestamp voting_period_end = 11 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - - // executor_result is the final result based on the votes and election rule. Initial value is NotRun. - ProposalExecutorResult executor_result = 12; - - // messages is a list of Msgs that will be executed if the proposal passes. - repeated google.protobuf.Any messages = 13; -} - -// ProposalStatus defines proposal statuses. -enum ProposalStatus { - option (gogoproto.goproto_enum_prefix) = false; - - // An empty value is invalid and not allowed. - PROPOSAL_STATUS_UNSPECIFIED = 0; - - // Initial status of a proposal when persisted. - PROPOSAL_STATUS_SUBMITTED = 1; - - // Final status of a proposal when the final tally was executed. - PROPOSAL_STATUS_CLOSED = 2; - - // Final status of a proposal when the group was modified before the final tally. - PROPOSAL_STATUS_ABORTED = 3; - - // A proposal can be deleted before the voting start time by the owner. When this happens the final status - // is Withdrawn. - PROPOSAL_STATUS_WITHDRAWN = 4; -} - -// ProposalResult defines types of proposal results. -enum ProposalResult { - option (gogoproto.goproto_enum_prefix) = false; - - // An empty value is invalid and not allowed - PROPOSAL_RESULT_UNSPECIFIED = 0; - - // Until a final tally has happened the status is unfinalized - PROPOSAL_RESULT_UNFINALIZED = 1; - - // Final result of the tally - PROPOSAL_RESULT_ACCEPTED = 2; - - // Final result of the tally - PROPOSAL_RESULT_REJECTED = 3; -} - -// ProposalExecutorResult defines types of proposal executor results. -enum ProposalExecutorResult { - option (gogoproto.goproto_enum_prefix) = false; - - // An empty value is not allowed. - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0; - - // We have not yet run the executor. - PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1; - - // The executor was successful and proposed action updated state. - PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2; - - // The executor returned an error and proposed action didn't update state. - PROPOSAL_EXECUTOR_RESULT_FAILURE = 3; -} - -// TallyResult represents the sum of weighted votes for each vote option. -message TallyResult { - option (gogoproto.goproto_getters) = false; - - // yes_count is the weighted sum of yes votes. - string yes_count = 1; - - // abstain_count is the weighted sum of abstainers. - string abstain_count = 2; - - // no is the weighted sum of no votes. - string no_count = 3; - - // no_with_veto_count is the weighted sum of veto. - string no_with_veto_count = 4; -} - -// Vote represents a vote for a proposal. -message Vote { - - // proposal is the unique ID of the proposal. - uint64 proposal_id = 1; - - // voter is the account address of the voter. - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // option is the voter's choice on the proposal. - VoteOption option = 3; - - // metadata is any arbitrary metadata to attached to the vote. - string metadata = 4; - - // submit_time is the timestamp when the vote was submitted. - google.protobuf.Timestamp submit_time = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} diff --git a/examples/authz/proto/cosmos/mint/v1beta1/genesis.proto b/examples/authz/proto/cosmos/mint/v1beta1/genesis.proto deleted file mode 100644 index 4e783fb5..00000000 --- a/examples/authz/proto/cosmos/mint/v1beta1/genesis.proto +++ /dev/null @@ -1,16 +0,0 @@ -syntax = "proto3"; -package cosmos.mint.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/mint/v1beta1/mint.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; - -// GenesisState defines the mint module's genesis state. -message GenesisState { - // minter is a space for holding current inflation information. - Minter minter = 1 [(gogoproto.nullable) = false]; - - // params defines all the paramaters of the module. - Params params = 2 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/mint/v1beta1/mint.proto b/examples/authz/proto/cosmos/mint/v1beta1/mint.proto deleted file mode 100644 index 9cfe2b76..00000000 --- a/examples/authz/proto/cosmos/mint/v1beta1/mint.proto +++ /dev/null @@ -1,57 +0,0 @@ -syntax = "proto3"; -package cosmos.mint.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; - -// Minter represents the minting state. -message Minter { - // current annual inflation rate - string inflation = 1 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // current annual expected provisions - string annual_provisions = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// Params holds parameters for the mint module. -message Params { - option (gogoproto.goproto_stringer) = false; - - // type of coin to mint - string mint_denom = 1; - // maximum annual change in inflation rate - string inflation_rate_change = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // maximum inflation rate - string inflation_max = 3 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // minimum inflation rate - string inflation_min = 4 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // goal of percent bonded atoms - string goal_bonded = 5 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // expected blocks per year - uint64 blocks_per_year = 6; -} diff --git a/examples/authz/proto/cosmos/mint/v1beta1/query.proto b/examples/authz/proto/cosmos/mint/v1beta1/query.proto deleted file mode 100644 index acd341d7..00000000 --- a/examples/authz/proto/cosmos/mint/v1beta1/query.proto +++ /dev/null @@ -1,57 +0,0 @@ -syntax = "proto3"; -package cosmos.mint.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/mint/v1beta1/mint.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; - -// Query provides defines the gRPC querier service. -service Query { - // Params returns the total set of minting parameters. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/mint/v1beta1/params"; - } - - // Inflation returns the current minting inflation value. - rpc Inflation(QueryInflationRequest) returns (QueryInflationResponse) { - option (google.api.http).get = "/cosmos/mint/v1beta1/inflation"; - } - - // AnnualProvisions current minting annual provisions value. - rpc AnnualProvisions(QueryAnnualProvisionsRequest) returns (QueryAnnualProvisionsResponse) { - option (google.api.http).get = "/cosmos/mint/v1beta1/annual_provisions"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [(gogoproto.nullable) = false]; -} - -// QueryInflationRequest is the request type for the Query/Inflation RPC method. -message QueryInflationRequest {} - -// QueryInflationResponse is the response type for the Query/Inflation RPC -// method. -message QueryInflationResponse { - // inflation is the current minting inflation value. - bytes inflation = 1 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; -} - -// QueryAnnualProvisionsRequest is the request type for the -// Query/AnnualProvisions RPC method. -message QueryAnnualProvisionsRequest {} - -// QueryAnnualProvisionsResponse is the response type for the -// Query/AnnualProvisions RPC method. -message QueryAnnualProvisionsResponse { - // annual_provisions is the current minting annual provisions value. - bytes annual_provisions = 1 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/msg/v1/msg.proto b/examples/authz/proto/cosmos/msg/v1/msg.proto deleted file mode 100644 index 89bdf312..00000000 --- a/examples/authz/proto/cosmos/msg/v1/msg.proto +++ /dev/null @@ -1,22 +0,0 @@ -syntax = "proto3"; - -package cosmos.msg.v1; - -import "google/protobuf/descriptor.proto"; - -// TODO(fdymylja): once we fully migrate to protov2 the go_package needs to be updated. -// We need this right now because gogoproto codegen needs to import the extension. -option go_package = "github.com/cosmos/cosmos-sdk/types/msgservice"; - -extend google.protobuf.MessageOptions { - // signer must be used in cosmos messages in order - // to signal to external clients which fields in a - // given cosmos message must be filled with signer - // information (address). - // The field must be the protobuf name of the message - // field extended with this MessageOption. - // The field must either be of string kind, or of message - // kind in case the signer information is contained within - // a message inside the cosmos message. - repeated string signer = 11110000; -} \ No newline at end of file diff --git a/examples/authz/proto/cosmos/nft/v1beta1/event.proto b/examples/authz/proto/cosmos/nft/v1beta1/event.proto deleted file mode 100644 index 96964f08..00000000 --- a/examples/authz/proto/cosmos/nft/v1beta1/event.proto +++ /dev/null @@ -1,26 +0,0 @@ -syntax = "proto3"; -package cosmos.nft.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; - -// EventSend is emitted on Msg/Send -message EventSend { - string class_id = 1; - string id = 2; - string sender = 3; - string receiver = 4; -} - -// EventMint is emitted on Mint -message EventMint { - string class_id = 1; - string id = 2; - string owner = 3; -} - -// EventBurn is emitted on Burn -message EventBurn { - string class_id = 1; - string id = 2; - string owner = 3; -} diff --git a/examples/authz/proto/cosmos/nft/v1beta1/genesis.proto b/examples/authz/proto/cosmos/nft/v1beta1/genesis.proto deleted file mode 100644 index 6f36ed34..00000000 --- a/examples/authz/proto/cosmos/nft/v1beta1/genesis.proto +++ /dev/null @@ -1,22 +0,0 @@ -syntax = "proto3"; -package cosmos.nft.v1beta1; - -import "cosmos/nft/v1beta1/nft.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; - -// GenesisState defines the nft module's genesis state. -message GenesisState { - // class defines the class of the nft type. - repeated cosmos.nft.v1beta1.Class classes = 1; - repeated Entry entries = 2; -} - -// Entry Defines all nft owned by a person -message Entry { - // owner is the owner address of the following nft - string owner = 1; - - // nfts is a group of nfts of the same owner - repeated cosmos.nft.v1beta1.NFT nfts = 2; -} diff --git a/examples/authz/proto/cosmos/nft/v1beta1/nft.proto b/examples/authz/proto/cosmos/nft/v1beta1/nft.proto deleted file mode 100644 index b1241260..00000000 --- a/examples/authz/proto/cosmos/nft/v1beta1/nft.proto +++ /dev/null @@ -1,48 +0,0 @@ -syntax = "proto3"; -package cosmos.nft.v1beta1; - -import "google/protobuf/any.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; - -// Class defines the class of the nft type. -message Class { - // id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 - string id = 1; - - // name defines the human-readable name of the NFT classification. Optional - string name = 2; - - // symbol is an abbreviated name for nft classification. Optional - string symbol = 3; - - // description is a brief description of nft classification. Optional - string description = 4; - - // uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional - string uri = 5; - - // uri_hash is a hash of the document pointed by uri. Optional - string uri_hash = 6; - - // data is the app specific metadata of the NFT class. Optional - google.protobuf.Any data = 7; -} - -// NFT defines the NFT. -message NFT { - // class_id associated with the NFT, similar to the contract address of ERC721 - string class_id = 1; - - // id is a unique identifier of the NFT - string id = 2; - - // uri for the NFT metadata stored off chain - string uri = 3; - - // uri_hash is a hash of the document pointed by uri - string uri_hash = 4; - - // data is an app specific data of the NFT. Optional - google.protobuf.Any data = 10; -} diff --git a/examples/authz/proto/cosmos/nft/v1beta1/query.proto b/examples/authz/proto/cosmos/nft/v1beta1/query.proto deleted file mode 100644 index c1d8070f..00000000 --- a/examples/authz/proto/cosmos/nft/v1beta1/query.proto +++ /dev/null @@ -1,125 +0,0 @@ -syntax = "proto3"; -package cosmos.nft.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "google/api/annotations.proto"; -import "cosmos/nft/v1beta1/nft.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; - -// Query defines the gRPC querier service. -service Query { - // Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 - rpc Balance(QueryBalanceRequest) returns (QueryBalanceResponse) { - option (google.api.http).get = "/cosmos/nft/v1beta1/balance/{owner}/{class_id}"; - } - - // Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 - rpc Owner(QueryOwnerRequest) returns (QueryOwnerResponse) { - option (google.api.http).get = "/cosmos/nft/v1beta1/owner/{class_id}/{id}"; - } - - // Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. - rpc Supply(QuerySupplyRequest) returns (QuerySupplyResponse) { - option (google.api.http).get = "/cosmos/nft/v1beta1/supply/{class_id}"; - } - - // NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in - // ERC721Enumerable - rpc NFTs(QueryNFTsRequest) returns (QueryNFTsResponse) { - option (google.api.http).get = "/cosmos/nft/v1beta1/nfts"; - } - - // NFT queries an NFT based on its class and id. - rpc NFT(QueryNFTRequest) returns (QueryNFTResponse) { - option (google.api.http).get = "/cosmos/nft/v1beta1/nfts/{class_id}/{id}"; - } - - // Class queries an NFT class based on its id - rpc Class(QueryClassRequest) returns (QueryClassResponse) { - option (google.api.http).get = "/cosmos/nft/v1beta1/classes/{class_id}"; - } - - // Classes queries all NFT classes - rpc Classes(QueryClassesRequest) returns (QueryClassesResponse) { - option (google.api.http).get = "/cosmos/nft/v1beta1/classes"; - } -} - -// QueryBalanceRequest is the request type for the Query/Balance RPC method -message QueryBalanceRequest { - string class_id = 1; - string owner = 2; -} - -// QueryBalanceResponse is the response type for the Query/Balance RPC method -message QueryBalanceResponse { - uint64 amount = 1; -} - -// QueryOwnerRequest is the request type for the Query/Owner RPC method -message QueryOwnerRequest { - string class_id = 1; - string id = 2; -} - -// QueryOwnerResponse is the response type for the Query/Owner RPC method -message QueryOwnerResponse { - string owner = 1; -} - -// QuerySupplyRequest is the request type for the Query/Supply RPC method -message QuerySupplyRequest { - string class_id = 1; -} - -// QuerySupplyResponse is the response type for the Query/Supply RPC method -message QuerySupplyResponse { - uint64 amount = 1; -} - -// QueryNFTstRequest is the request type for the Query/NFTs RPC method -message QueryNFTsRequest { - string class_id = 1; - string owner = 2; - cosmos.base.query.v1beta1.PageRequest pagination = 3; -} - -// QueryNFTsResponse is the response type for the Query/NFTs RPC methods -message QueryNFTsResponse { - repeated cosmos.nft.v1beta1.NFT nfts = 1; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryNFTRequest is the request type for the Query/NFT RPC method -message QueryNFTRequest { - string class_id = 1; - string id = 2; -} - -// QueryNFTResponse is the response type for the Query/NFT RPC method -message QueryNFTResponse { - cosmos.nft.v1beta1.NFT nft = 1; -} - -// QueryClassRequest is the request type for the Query/Class RPC method -message QueryClassRequest { - string class_id = 1; -} - -// QueryClassResponse is the response type for the Query/Class RPC method -message QueryClassResponse { - cosmos.nft.v1beta1.Class class = 1; -} - -// QueryClassesRequest is the request type for the Query/Classes RPC method -message QueryClassesRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryClassesResponse is the response type for the Query/Classes RPC method -message QueryClassesResponse { - repeated cosmos.nft.v1beta1.Class classes = 1; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/examples/authz/proto/cosmos/nft/v1beta1/tx.proto b/examples/authz/proto/cosmos/nft/v1beta1/tx.proto deleted file mode 100644 index 95b402ce..00000000 --- a/examples/authz/proto/cosmos/nft/v1beta1/tx.proto +++ /dev/null @@ -1,30 +0,0 @@ -syntax = "proto3"; -package cosmos.nft.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; - -import "cosmos/msg/v1/msg.proto"; - -// Msg defines the nft Msg service. -service Msg { - // Send defines a method to send a nft from one account to another account. - rpc Send(MsgSend) returns (MsgSendResponse); -} -// MsgSend represents a message to send a nft from one account to another account. -message MsgSend { - option (cosmos.msg.v1.signer) = "sender"; - - // class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 - string class_id = 1; - - // id defines the unique identification of nft - string id = 2; - - // sender is the address of the owner of nft - string sender = 3; - - // receiver is the receiver address of nft - string receiver = 4; -} -// MsgSendResponse defines the Msg/Send response type. -message MsgSendResponse {} \ No newline at end of file diff --git a/examples/authz/proto/cosmos/orm/v1/orm.proto b/examples/authz/proto/cosmos/orm/v1/orm.proto deleted file mode 100644 index abfbbd4f..00000000 --- a/examples/authz/proto/cosmos/orm/v1/orm.proto +++ /dev/null @@ -1,104 +0,0 @@ -syntax = "proto3"; - -package cosmos.orm.v1; - -import "google/protobuf/descriptor.proto"; - -extend google.protobuf.MessageOptions { - - // table specifies that this message will be used as an ORM table. It cannot - // be used together with the singleton option. - TableDescriptor table = 104503790; - - // singleton specifies that this message will be used as an ORM singleton. It cannot - // be used together with the table option. - SingletonDescriptor singleton = 104503791; -} - -// TableDescriptor describes an ORM table. -message TableDescriptor { - - // primary_key defines the primary key for the table. - PrimaryKeyDescriptor primary_key = 1; - - // index defines one or more secondary indexes. - repeated SecondaryIndexDescriptor index = 2; - - // id is a non-zero integer ID that must be unique within the - // tables and singletons in this file. It may be deprecated in the future when this - // can be auto-generated. - uint32 id = 3; -} - -// PrimaryKeyDescriptor describes a table primary key. -message PrimaryKeyDescriptor { - - // fields is a comma-separated list of fields in the primary key. Spaces are - // not allowed. Supported field types, their encodings, and any applicable constraints - // are described below. - // - uint32 are encoded as 2,3,4 or 5 bytes using a compact encoding that - // is suitable for sorted iteration (not varint encoding). This type is - // well-suited for small integers. - // - uint64 are encoded as 2,4,6 or 9 bytes using a compact encoding that - // is suitable for sorted iteration (not varint encoding). This type is - // well-suited for small integers such as auto-incrementing sequences. - // - fixed32, fixed64 are encoded as big-endian fixed width bytes and support - // sorted iteration. These types are well-suited for encoding fixed with - // decimals as integers. - // - string's are encoded as raw bytes in terminal key segments and null-terminated - // in non-terminal segments. Null characters are thus forbidden in strings. - // string fields support sorted iteration. - // - bytes are encoded as raw bytes in terminal segments and length-prefixed - // with a 32-bit unsigned varint in non-terminal segments. - // - int32, sint32, int64, sint64, sfixed32, sfixed64 are encoded as fixed width bytes with - // an encoding that enables sorted iteration. - // - google.protobuf.Timestamp and google.protobuf.Duration are encoded - // as 12 bytes using an encoding that enables sorted iteration. - // - enum fields are encoded using varint encoding and do not support sorted - // iteration. - // - bool fields are encoded as a single byte 0 or 1. - // - // All other fields types are unsupported in keys including repeated and - // oneof fields. - // - // Primary keys are prefixed by the varint encoded table id and the byte 0x0 - // plus any additional prefix specified by the schema. - string fields = 1; - - // auto_increment specifies that the primary key is generated by an - // auto-incrementing integer. If this is set to true fields must only - // contain one field of that is of type uint64. - bool auto_increment = 2; -} - -// PrimaryKeyDescriptor describes a table secondary index. -message SecondaryIndexDescriptor { - - // fields is a comma-separated list of fields in the index. The supported - // field types are the same as those for PrimaryKeyDescriptor.fields. - // Index keys are prefixed by the varint encoded table id and the varint - // encoded index id plus any additional prefix specified by the schema. - // - // In addition the the field segments, non-unique index keys are suffixed with - // any additional primary key fields not present in the index fields so that the - // primary key can be reconstructed. Unique indexes instead of being suffixed - // store the remaining primary key fields in the value.. - string fields = 1; - - // id is a non-zero integer ID that must be unique within the indexes for this - // table and less than 32768. It may be deprecated in the future when this can - // be auto-generated. - uint32 id = 2; - - // unique specifies that this an unique index. - bool unique = 3; -} - -// TableDescriptor describes an ORM singleton table which has at most one instance. -message SingletonDescriptor { - - // id is a non-zero integer ID that must be unique within the - // tables and singletons in this file. It may be deprecated in the future when this - // can be auto-generated. - uint32 id = 1; -} \ No newline at end of file diff --git a/examples/authz/proto/cosmos/orm/v1alpha1/schema.proto b/examples/authz/proto/cosmos/orm/v1alpha1/schema.proto deleted file mode 100644 index ab713340..00000000 --- a/examples/authz/proto/cosmos/orm/v1alpha1/schema.proto +++ /dev/null @@ -1,76 +0,0 @@ -syntax = "proto3"; - -package cosmos.orm.v1alpha1; - -import "google/protobuf/descriptor.proto"; - -extend google.protobuf.MessageOptions { - // module_schema is used to define the ORM schema for an app module. - // All module config messages that use module_schema must also declare - // themselves as app module config messages using the cosmos.app.v1.is_module - // option. - ModuleSchemaDescriptor module_schema = 104503792; -} - -// ModuleSchemaDescriptor describe's a module's ORM schema. -message ModuleSchemaDescriptor { - repeated FileEntry schema_file = 1; - - // FileEntry describes an ORM file used in a module. - message FileEntry { - // id is a prefix that will be varint encoded and prepended to all the - // table keys specified in the file's tables. - uint32 id = 1; - - // proto_file_name is the name of a file .proto in that contains - // table definitions. The .proto file must be in a package that the - // module has referenced using cosmos.app.v1.ModuleDescriptor.use_package. - string proto_file_name = 2; - - // storage_type optionally indicates the type of storage this file's - // tables should used. If it is left unspecified, the default KV-storage - // of the app will be used. - StorageType storage_type = 3; - } - - // prefix is an optional prefix that precedes all keys in this module's - // store. - bytes prefix = 2; -} - -// StorageType -enum StorageType { - // STORAGE_TYPE_DEFAULT_UNSPECIFIED indicates the persistent - // KV-storage where primary key entries are stored in merkle-tree - // backed commitment storage and indexes and seqs are stored in - // fast index storage. Note that the Cosmos SDK before store/v2alpha1 - // does not support this. - STORAGE_TYPE_DEFAULT_UNSPECIFIED = 0; - - // STORAGE_TYPE_MEMORY indicates in-memory storage that will be - // reloaded every time an app restarts. Tables with this type of storage - // will by default be ignored when importing and exporting a module's - // state from JSON. - STORAGE_TYPE_MEMORY = 1; - - // STORAGE_TYPE_TRANSIENT indicates transient storage that is reset - // at the end of every block. Tables with this type of storage - // will by default be ignored when importing and exporting a module's - // state from JSON. - STORAGE_TYPE_TRANSIENT = 2; - - // STORAGE_TYPE_INDEX indicates persistent storage which is not backed - // by a merkle-tree and won't affect the app hash. Note that the Cosmos SDK - // before store/v2alpha1 does not support this. - STORAGE_TYPE_INDEX = 3; - - // STORAGE_TYPE_INDEX indicates persistent storage which is backed by - // a merkle-tree. With this type of storage, both primary and index keys - // will affect the app hash and this is generally less efficient - // than using STORAGE_TYPE_DEFAULT_UNSPECIFIED which separates index - // keys into index storage. Note that modules built with the - // Cosmos SDK before store/v2alpha1 must specify STORAGE_TYPE_COMMITMENT - // instead of STORAGE_TYPE_DEFAULT_UNSPECIFIED or STORAGE_TYPE_INDEX - // because this is the only type of persistent storage available. - STORAGE_TYPE_COMMITMENT = 4; -} diff --git a/examples/authz/proto/cosmos/params/v1beta1/params.proto b/examples/authz/proto/cosmos/params/v1beta1/params.proto deleted file mode 100644 index e5aabfec..00000000 --- a/examples/authz/proto/cosmos/params/v1beta1/params.proto +++ /dev/null @@ -1,29 +0,0 @@ -syntax = "proto3"; -package cosmos.params.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; - -// ParameterChangeProposal defines a proposal to change one or more parameters. -message ParameterChangeProposal { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - string title = 1; - string description = 2; - repeated ParamChange changes = 3 [(gogoproto.nullable) = false]; -} - -// ParamChange defines an individual parameter change, for use in -// ParameterChangeProposal. -message ParamChange { - option (gogoproto.goproto_stringer) = false; - - string subspace = 1; - string key = 2; - string value = 3; -} diff --git a/examples/authz/proto/cosmos/params/v1beta1/query.proto b/examples/authz/proto/cosmos/params/v1beta1/query.proto deleted file mode 100644 index 3b1c9a76..00000000 --- a/examples/authz/proto/cosmos/params/v1beta1/query.proto +++ /dev/null @@ -1,54 +0,0 @@ -syntax = "proto3"; -package cosmos.params.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/params/v1beta1/params.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal"; - -// Query defines the gRPC querier service. -service Query { - // Params queries a specific parameter of a module, given its subspace and - // key. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/params/v1beta1/params"; - } - - // Subspaces queries for all registered subspaces and all keys for a subspace. - rpc Subspaces(QuerySubspacesRequest) returns (QuerySubspacesResponse) { - option (google.api.http).get = "/cosmos/params/v1beta1/subspaces"; - } -} - -// QueryParamsRequest is request type for the Query/Params RPC method. -message QueryParamsRequest { - // subspace defines the module to query the parameter for. - string subspace = 1; - - // key defines the key of the parameter in the subspace. - string key = 2; -} - -// QueryParamsResponse is response type for the Query/Params RPC method. -message QueryParamsResponse { - // param defines the queried parameter. - ParamChange param = 1 [(gogoproto.nullable) = false]; -} - -// QuerySubspacesRequest defines a request type for querying for all registered -// subspaces and all keys for a subspace. -message QuerySubspacesRequest {} - -// QuerySubspacesResponse defines the response types for querying for all -// registered subspaces and all keys for a subspace. -message QuerySubspacesResponse { - repeated Subspace subspaces = 1; -} - -// Subspace defines a parameter subspace name and all the keys that exist for -// the subspace. -message Subspace { - string subspace = 1; - repeated string keys = 2; -} diff --git a/examples/authz/proto/cosmos/slashing/v1beta1/genesis.proto b/examples/authz/proto/cosmos/slashing/v1beta1/genesis.proto deleted file mode 100644 index 312d56aa..00000000 --- a/examples/authz/proto/cosmos/slashing/v1beta1/genesis.proto +++ /dev/null @@ -1,47 +0,0 @@ -syntax = "proto3"; -package cosmos.slashing.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; - -import "gogoproto/gogo.proto"; -import "cosmos/slashing/v1beta1/slashing.proto"; -import "cosmos_proto/cosmos.proto"; - -// GenesisState defines the slashing module's genesis state. -message GenesisState { - // params defines all the paramaters of related to deposit. - Params params = 1 [(gogoproto.nullable) = false]; - - // signing_infos represents a map between validator addresses and their - // signing infos. - repeated SigningInfo signing_infos = 2 [(gogoproto.nullable) = false]; - - // missed_blocks represents a map between validator addresses and their - // missed blocks. - repeated ValidatorMissedBlocks missed_blocks = 3 [(gogoproto.nullable) = false]; -} - -// SigningInfo stores validator signing info of corresponding address. -message SigningInfo { - // address is the validator address. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // validator_signing_info represents the signing info of this validator. - ValidatorSigningInfo validator_signing_info = 2 [(gogoproto.nullable) = false]; -} - -// ValidatorMissedBlocks contains array of missed blocks of corresponding -// address. -message ValidatorMissedBlocks { - // address is the validator address. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // missed_blocks is an array of missed blocks by the validator. - repeated MissedBlock missed_blocks = 2 [(gogoproto.nullable) = false]; -} - -// MissedBlock contains height and missed status as boolean. -message MissedBlock { - // index is the height at which the block was missed. - int64 index = 1; - // missed is the missed status. - bool missed = 2; -} diff --git a/examples/authz/proto/cosmos/slashing/v1beta1/query.proto b/examples/authz/proto/cosmos/slashing/v1beta1/query.proto deleted file mode 100644 index f742c1f8..00000000 --- a/examples/authz/proto/cosmos/slashing/v1beta1/query.proto +++ /dev/null @@ -1,64 +0,0 @@ -syntax = "proto3"; -package cosmos.slashing.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/slashing/v1beta1/slashing.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; - -// Query provides defines the gRPC querier service -service Query { - // Params queries the parameters of slashing module - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/slashing/v1beta1/params"; - } - - // SigningInfo queries the signing info of given cons address - rpc SigningInfo(QuerySigningInfoRequest) returns (QuerySigningInfoResponse) { - option (google.api.http).get = "/cosmos/slashing/v1beta1/signing_infos/{cons_address}"; - } - - // SigningInfos queries signing info of all validators - rpc SigningInfos(QuerySigningInfosRequest) returns (QuerySigningInfosResponse) { - option (google.api.http).get = "/cosmos/slashing/v1beta1/signing_infos"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method -message QueryParamsResponse { - Params params = 1 [(gogoproto.nullable) = false]; -} - -// QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC -// method -message QuerySigningInfoRequest { - // cons_address is the address to query signing info of - string cons_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC -// method -message QuerySigningInfoResponse { - // val_signing_info is the signing info of requested val cons address - ValidatorSigningInfo val_signing_info = 1 [(gogoproto.nullable) = false]; -} - -// QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC -// method -message QuerySigningInfosRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC -// method -message QuerySigningInfosResponse { - // info is the signing info of all validators - repeated cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(gogoproto.nullable) = false]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/examples/authz/proto/cosmos/slashing/v1beta1/slashing.proto b/examples/authz/proto/cosmos/slashing/v1beta1/slashing.proto deleted file mode 100644 index 0aa9f61f..00000000 --- a/examples/authz/proto/cosmos/slashing/v1beta1/slashing.proto +++ /dev/null @@ -1,45 +0,0 @@ -syntax = "proto3"; -package cosmos.slashing.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; -import "cosmos_proto/cosmos.proto"; - -// ValidatorSigningInfo defines a validator's signing info for monitoring their -// liveness activity. -message ValidatorSigningInfo { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // Height at which validator was first a candidate OR was unjailed - int64 start_height = 2; - // Index which is incremented each time the validator was a bonded - // in a block and may have signed a precommit or not. This in conjunction with the - // `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. - int64 index_offset = 3; - // Timestamp until which the validator is jailed due to liveness downtime. - google.protobuf.Timestamp jailed_until = 4 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - // Whether or not a validator has been tombstoned (killed out of validator set). It is set - // once the validator commits an equivocation or for any other configured misbehiavor. - bool tombstoned = 5; - // A counter kept to avoid unnecessary array reads. - // Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. - int64 missed_blocks_counter = 6; -} - -// Params represents the parameters used for by the slashing module. -message Params { - int64 signed_blocks_window = 1; - bytes min_signed_per_window = 2 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; - google.protobuf.Duration downtime_jail_duration = 3 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; - bytes slash_fraction_double_sign = 4 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; - bytes slash_fraction_downtime = 5 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/slashing/v1beta1/tx.proto b/examples/authz/proto/cosmos/slashing/v1beta1/tx.proto deleted file mode 100644 index 7c90304b..00000000 --- a/examples/authz/proto/cosmos/slashing/v1beta1/tx.proto +++ /dev/null @@ -1,30 +0,0 @@ -syntax = "proto3"; -package cosmos.slashing.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/msg/v1/msg.proto"; - -// Msg defines the slashing Msg service. -service Msg { - // Unjail defines a method for unjailing a jailed validator, thus returning - // them into the bonded validator set, so they can begin receiving provisions - // and rewards again. - rpc Unjail(MsgUnjail) returns (MsgUnjailResponse); -} - -// MsgUnjail defines the Msg/Unjail request type -message MsgUnjail { - option (cosmos.msg.v1.signer) = "validator_addr"; - - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = true; - - string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString", (gogoproto.jsontag) = "address"]; -} - -// MsgUnjailResponse defines the Msg/Unjail response type -message MsgUnjailResponse {} diff --git a/examples/authz/proto/cosmos/staking/v1beta1/authz.proto b/examples/authz/proto/cosmos/staking/v1beta1/authz.proto deleted file mode 100644 index 677edaad..00000000 --- a/examples/authz/proto/cosmos/staking/v1beta1/authz.proto +++ /dev/null @@ -1,47 +0,0 @@ -syntax = "proto3"; -package cosmos.staking.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; - -// StakeAuthorization defines authorization for delegate/undelegate/redelegate. -// -// Since: cosmos-sdk 0.43 -message StakeAuthorization { - option (cosmos_proto.implements_interface) = "Authorization"; - - // max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is - // empty, there is no spend limit and any amount of coins can be delegated. - cosmos.base.v1beta1.Coin max_tokens = 1 [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coin"]; - // validators is the oneof that represents either allow_list or deny_list - oneof validators { - // allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's - // account. - Validators allow_list = 2; - // deny_list specifies list of validator addresses to whom grantee can not delegate tokens. - Validators deny_list = 3; - } - // Validators defines list of validator addresses. - message Validators { - repeated string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - } - // authorization_type defines one of AuthorizationType. - AuthorizationType authorization_type = 4; -} - -// AuthorizationType defines the type of staking module authorization type -// -// Since: cosmos-sdk 0.43 -enum AuthorizationType { - // AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type - AUTHORIZATION_TYPE_UNSPECIFIED = 0; - // AUTHORIZATION_TYPE_DELEGATE defines an authorization type for Msg/Delegate - AUTHORIZATION_TYPE_DELEGATE = 1; - // AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for Msg/Undelegate - AUTHORIZATION_TYPE_UNDELEGATE = 2; - // AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for Msg/BeginRedelegate - AUTHORIZATION_TYPE_REDELEGATE = 3; -} diff --git a/examples/authz/proto/cosmos/staking/v1beta1/genesis.proto b/examples/authz/proto/cosmos/staking/v1beta1/genesis.proto deleted file mode 100644 index bf3c298e..00000000 --- a/examples/authz/proto/cosmos/staking/v1beta1/genesis.proto +++ /dev/null @@ -1,49 +0,0 @@ -syntax = "proto3"; -package cosmos.staking.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; - -import "gogoproto/gogo.proto"; -import "cosmos/staking/v1beta1/staking.proto"; -import "cosmos_proto/cosmos.proto"; - -// GenesisState defines the staking module's genesis state. -message GenesisState { - // params defines all the paramaters of related to deposit. - Params params = 1 [(gogoproto.nullable) = false]; - - // last_total_power tracks the total amounts of bonded tokens recorded during - // the previous end block. - bytes last_total_power = 2 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; - - // last_validator_powers is a special index that provides a historical list - // of the last-block's bonded validators. - repeated LastValidatorPower last_validator_powers = 3 [(gogoproto.nullable) = false]; - - // delegations defines the validator set at genesis. - repeated Validator validators = 4 [(gogoproto.nullable) = false]; - - // delegations defines the delegations active at genesis. - repeated Delegation delegations = 5 [(gogoproto.nullable) = false]; - - // unbonding_delegations defines the unbonding delegations active at genesis. - repeated UnbondingDelegation unbonding_delegations = 6 [(gogoproto.nullable) = false]; - - // redelegations defines the redelegations active at genesis. - repeated Redelegation redelegations = 7 [(gogoproto.nullable) = false]; - - bool exported = 8; -} - -// LastValidatorPower required for validator set update logic. -message LastValidatorPower { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // address is the address of the validator. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // power defines the power of the validator. - int64 power = 2; -} diff --git a/examples/authz/proto/cosmos/staking/v1beta1/query.proto b/examples/authz/proto/cosmos/staking/v1beta1/query.proto deleted file mode 100644 index 02469232..00000000 --- a/examples/authz/proto/cosmos/staking/v1beta1/query.proto +++ /dev/null @@ -1,349 +0,0 @@ -syntax = "proto3"; -package cosmos.staking.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/staking/v1beta1/staking.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; - -// Query defines the gRPC querier service. -service Query { - // Validators queries all validators that match the given status. - rpc Validators(QueryValidatorsRequest) returns (QueryValidatorsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators"; - } - - // Validator queries validator info for given validator address. - rpc Validator(QueryValidatorRequest) returns (QueryValidatorResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}"; - } - - // ValidatorDelegations queries delegate info for given validator. - rpc ValidatorDelegations(QueryValidatorDelegationsRequest) returns (QueryValidatorDelegationsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations"; - } - - // ValidatorUnbondingDelegations queries unbonding delegations of a validator. - rpc ValidatorUnbondingDelegations(QueryValidatorUnbondingDelegationsRequest) - returns (QueryValidatorUnbondingDelegationsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators/" - "{validator_addr}/unbonding_delegations"; - } - - // Delegation queries delegate info for given validator delegator pair. - rpc Delegation(QueryDelegationRequest) returns (QueryDelegationResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/" - "{delegator_addr}"; - } - - // UnbondingDelegation queries unbonding info for given validator delegator - // pair. - rpc UnbondingDelegation(QueryUnbondingDelegationRequest) returns (QueryUnbondingDelegationResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/" - "{delegator_addr}/unbonding_delegation"; - } - - // DelegatorDelegations queries all delegations of a given delegator address. - rpc DelegatorDelegations(QueryDelegatorDelegationsRequest) returns (QueryDelegatorDelegationsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/delegations/{delegator_addr}"; - } - - // DelegatorUnbondingDelegations queries all unbonding delegations of a given - // delegator address. - rpc DelegatorUnbondingDelegations(QueryDelegatorUnbondingDelegationsRequest) - returns (QueryDelegatorUnbondingDelegationsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/" - "{delegator_addr}/unbonding_delegations"; - } - - // Redelegations queries redelegations of given address. - rpc Redelegations(QueryRedelegationsRequest) returns (QueryRedelegationsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations"; - } - - // DelegatorValidators queries all validators info for given delegator - // address. - rpc DelegatorValidators(QueryDelegatorValidatorsRequest) returns (QueryDelegatorValidatorsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators"; - } - - // DelegatorValidator queries validator info for given delegator validator - // pair. - rpc DelegatorValidator(QueryDelegatorValidatorRequest) returns (QueryDelegatorValidatorResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/" - "{validator_addr}"; - } - - // HistoricalInfo queries the historical info for given height. - rpc HistoricalInfo(QueryHistoricalInfoRequest) returns (QueryHistoricalInfoResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/historical_info/{height}"; - } - - // Pool queries the pool info. - rpc Pool(QueryPoolRequest) returns (QueryPoolResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/pool"; - } - - // Parameters queries the staking parameters. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/params"; - } -} - -// QueryValidatorsRequest is request type for Query/Validators RPC method. -message QueryValidatorsRequest { - // status enables to query for validators matching a given status. - string status = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryValidatorsResponse is response type for the Query/Validators RPC method -message QueryValidatorsResponse { - // validators contains all the queried validators. - repeated Validator validators = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryValidatorRequest is response type for the Query/Validator RPC method -message QueryValidatorRequest { - // validator_addr defines the validator address to query for. - string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryValidatorResponse is response type for the Query/Validator RPC method -message QueryValidatorResponse { - // validator defines the the validator info. - Validator validator = 1 [(gogoproto.nullable) = false]; -} - -// QueryValidatorDelegationsRequest is request type for the -// Query/ValidatorDelegations RPC method -message QueryValidatorDelegationsRequest { - // validator_addr defines the validator address to query for. - string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryValidatorDelegationsResponse is response type for the -// Query/ValidatorDelegations RPC method -message QueryValidatorDelegationsResponse { - repeated DelegationResponse delegation_responses = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "DelegationResponses"]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryValidatorUnbondingDelegationsRequest is required type for the -// Query/ValidatorUnbondingDelegations RPC method -message QueryValidatorUnbondingDelegationsRequest { - // validator_addr defines the validator address to query for. - string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryValidatorUnbondingDelegationsResponse is response type for the -// Query/ValidatorUnbondingDelegations RPC method. -message QueryValidatorUnbondingDelegationsResponse { - repeated UnbondingDelegation unbonding_responses = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryDelegationRequest is request type for the Query/Delegation RPC method. -message QueryDelegationRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_addr defines the delegator address to query for. - string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // validator_addr defines the validator address to query for. - string validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDelegationResponse is response type for the Query/Delegation RPC method. -message QueryDelegationResponse { - // delegation_responses defines the delegation info of a delegation. - DelegationResponse delegation_response = 1; -} - -// QueryUnbondingDelegationRequest is request type for the -// Query/UnbondingDelegation RPC method. -message QueryUnbondingDelegationRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_addr defines the delegator address to query for. - string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // validator_addr defines the validator address to query for. - string validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDelegationResponse is response type for the Query/UnbondingDelegation -// RPC method. -message QueryUnbondingDelegationResponse { - // unbond defines the unbonding information of a delegation. - UnbondingDelegation unbond = 1 [(gogoproto.nullable) = false]; -} - -// QueryDelegatorDelegationsRequest is request type for the -// Query/DelegatorDelegations RPC method. -message QueryDelegatorDelegationsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_addr defines the delegator address to query for. - string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryDelegatorDelegationsResponse is response type for the -// Query/DelegatorDelegations RPC method. -message QueryDelegatorDelegationsResponse { - // delegation_responses defines all the delegations' info of a delegator. - repeated DelegationResponse delegation_responses = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryDelegatorUnbondingDelegationsRequest is request type for the -// Query/DelegatorUnbondingDelegations RPC method. -message QueryDelegatorUnbondingDelegationsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_addr defines the delegator address to query for. - string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryUnbondingDelegatorDelegationsResponse is response type for the -// Query/UnbondingDelegatorDelegations RPC method. -message QueryDelegatorUnbondingDelegationsResponse { - repeated UnbondingDelegation unbonding_responses = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryRedelegationsRequest is request type for the Query/Redelegations RPC -// method. -message QueryRedelegationsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_addr defines the delegator address to query for. - string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // src_validator_addr defines the validator address to redelegate from. - string src_validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // dst_validator_addr defines the validator address to redelegate to. - string dst_validator_addr = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 4; -} - -// QueryRedelegationsResponse is response type for the Query/Redelegations RPC -// method. -message QueryRedelegationsResponse { - repeated RedelegationResponse redelegation_responses = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryDelegatorValidatorsRequest is request type for the -// Query/DelegatorValidators RPC method. -message QueryDelegatorValidatorsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_addr defines the delegator address to query for. - string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryDelegatorValidatorsResponse is response type for the -// Query/DelegatorValidators RPC method. -message QueryDelegatorValidatorsResponse { - // validators defines the the validators' info of a delegator. - repeated Validator validators = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryDelegatorValidatorRequest is request type for the -// Query/DelegatorValidator RPC method. -message QueryDelegatorValidatorRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_addr defines the delegator address to query for. - string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // validator_addr defines the validator address to query for. - string validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDelegatorValidatorResponse response type for the -// Query/DelegatorValidator RPC method. -message QueryDelegatorValidatorResponse { - // validator defines the the validator info. - Validator validator = 1 [(gogoproto.nullable) = false]; -} - -// QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC -// method. -message QueryHistoricalInfoRequest { - // height defines at which height to query the historical info. - int64 height = 1; -} - -// QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC -// method. -message QueryHistoricalInfoResponse { - // hist defines the historical info at the given height. - HistoricalInfo hist = 1; -} - -// QueryPoolRequest is request type for the Query/Pool RPC method. -message QueryPoolRequest {} - -// QueryPoolResponse is response type for the Query/Pool RPC method. -message QueryPoolResponse { - // pool defines the pool info. - Pool pool = 1 [(gogoproto.nullable) = false]; -} - -// QueryParamsRequest is request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is response type for the Query/Params RPC method. -message QueryParamsResponse { - // params holds all the parameters of this module. - Params params = 1 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/cosmos/staking/v1beta1/staking.proto b/examples/authz/proto/cosmos/staking/v1beta1/staking.proto deleted file mode 100644 index dcf2645f..00000000 --- a/examples/authz/proto/cosmos/staking/v1beta1/staking.proto +++ /dev/null @@ -1,358 +0,0 @@ -syntax = "proto3"; -package cosmos.staking.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; - -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "tendermint/types/types.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; - -// HistoricalInfo contains header and validator information for a given block. -// It is stored as part of staking module's state, which persists the `n` most -// recent HistoricalInfo -// (`n` is set by the staking module's `historical_entries` parameter). -message HistoricalInfo { - tendermint.types.Header header = 1 [(gogoproto.nullable) = false]; - repeated Validator valset = 2 [(gogoproto.nullable) = false]; -} - -// CommissionRates defines the initial commission rates to be used for creating -// a validator. -message CommissionRates { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - // rate is the commission rate charged to delegators, as a fraction. - string rate = 1 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // max_rate defines the maximum commission rate which validator can ever charge, as a fraction. - string max_rate = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // max_change_rate defines the maximum daily increase of the validator commission, as a fraction. - string max_change_rate = 3 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// Commission defines commission parameters for a given validator. -message Commission { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - // commission_rates defines the initial commission rates to be used for creating a validator. - CommissionRates commission_rates = 1 [(gogoproto.embed) = true, (gogoproto.nullable) = false]; - // update_time is the last time the commission rate was changed. - google.protobuf.Timestamp update_time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -// Description defines a validator description. -message Description { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - // moniker defines a human-readable name for the validator. - string moniker = 1; - // identity defines an optional identity signature (ex. UPort or Keybase). - string identity = 2; - // website defines an optional website link. - string website = 3; - // security_contact defines an optional email for security contact. - string security_contact = 4; - // details define other optional details. - string details = 5; -} - -// Validator defines a validator, together with the total amount of the -// Validator's bond shares and their exchange rate to coins. Slashing results in -// a decrease in the exchange rate, allowing correct calculation of future -// undelegations without iterating over delegators. When coins are delegated to -// this validator, the validator is credited with a delegation whose number of -// bond shares is based on the amount of coins delegated divided by the current -// exchange rate. Voting power can be calculated as total bonded shares -// multiplied by exchange rate. -message Validator { - option (gogoproto.equal) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.goproto_getters) = false; - - // operator_address defines the address of the validator's operator; bech encoded in JSON. - string operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. - google.protobuf.Any consensus_pubkey = 2 [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey"]; - // jailed defined whether the validator has been jailed from bonded status or not. - bool jailed = 3; - // status is the validator status (bonded/unbonding/unbonded). - BondStatus status = 4; - // tokens define the delegated tokens (incl. self-delegation). - string tokens = 5 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - // delegator_shares defines total shares issued to a validator's delegators. - string delegator_shares = 6 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // description defines the description terms for the validator. - Description description = 7 [(gogoproto.nullable) = false]; - // unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. - int64 unbonding_height = 8; - // unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. - google.protobuf.Timestamp unbonding_time = 9 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - // commission defines the commission parameters. - Commission commission = 10 [(gogoproto.nullable) = false]; - // min_self_delegation is the validator's self declared minimum self delegation. - string min_self_delegation = 11 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; -} - -// BondStatus is the status of a validator. -enum BondStatus { - option (gogoproto.goproto_enum_prefix) = false; - - // UNSPECIFIED defines an invalid validator status. - BOND_STATUS_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "Unspecified"]; - // UNBONDED defines a validator that is not bonded. - BOND_STATUS_UNBONDED = 1 [(gogoproto.enumvalue_customname) = "Unbonded"]; - // UNBONDING defines a validator that is unbonding. - BOND_STATUS_UNBONDING = 2 [(gogoproto.enumvalue_customname) = "Unbonding"]; - // BONDED defines a validator that is bonded. - BOND_STATUS_BONDED = 3 [(gogoproto.enumvalue_customname) = "Bonded"]; -} - -// ValAddresses defines a repeated set of validator addresses. -message ValAddresses { - option (gogoproto.goproto_stringer) = false; - option (gogoproto.stringer) = true; - - repeated string addresses = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// DVPair is struct that just has a delegator-validator pair with no other data. -// It is intended to be used as a marshalable pointer. For example, a DVPair can -// be used to construct the key to getting an UnbondingDelegation from state. -message DVPair { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// DVPairs defines an array of DVPair objects. -message DVPairs { - repeated DVPair pairs = 1 [(gogoproto.nullable) = false]; -} - -// DVVTriplet is struct that just has a delegator-validator-validator triplet -// with no other data. It is intended to be used as a marshalable pointer. For -// example, a DVVTriplet can be used to construct the key to getting a -// Redelegation from state. -message DVVTriplet { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_src_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_dst_address = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// DVVTriplets defines an array of DVVTriplet objects. -message DVVTriplets { - repeated DVVTriplet triplets = 1 [(gogoproto.nullable) = false]; -} - -// Delegation represents the bond with tokens held by an account. It is -// owned by one delegator, and is associated with the voting power of one -// validator. -message Delegation { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - // delegator_address is the bech32-encoded address of the delegator. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // validator_address is the bech32-encoded address of the validator. - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // shares define the delegation shares received. - string shares = 3 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// UnbondingDelegation stores all of a single delegator's unbonding bonds -// for a single validator in an time-ordered list. -message UnbondingDelegation { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - // delegator_address is the bech32-encoded address of the delegator. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // validator_address is the bech32-encoded address of the validator. - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // entries are the unbonding delegation entries. - repeated UnbondingDelegationEntry entries = 3 [(gogoproto.nullable) = false]; // unbonding delegation entries -} - -// UnbondingDelegationEntry defines an unbonding object with relevant metadata. -message UnbondingDelegationEntry { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - // creation_height is the height which the unbonding took place. - int64 creation_height = 1; - // completion_time is the unix time for unbonding completion. - google.protobuf.Timestamp completion_time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - // initial_balance defines the tokens initially scheduled to receive at completion. - string initial_balance = 3 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - // balance defines the tokens to receive at completion. - string balance = 4 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; -} - -// RedelegationEntry defines a redelegation object with relevant metadata. -message RedelegationEntry { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - // creation_height defines the height which the redelegation took place. - int64 creation_height = 1; - // completion_time defines the unix time for redelegation completion. - google.protobuf.Timestamp completion_time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - // initial_balance defines the initial balance when redelegation started. - string initial_balance = 3 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - // shares_dst is the amount of destination-validator shares created by redelegation. - string shares_dst = 4 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// Redelegation contains the list of a particular delegator's redelegating bonds -// from a particular source validator to a particular destination validator. -message Redelegation { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - // delegator_address is the bech32-encoded address of the delegator. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // validator_src_address is the validator redelegation source operator address. - string validator_src_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // validator_dst_address is the validator redelegation destination operator address. - string validator_dst_address = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // entries are the redelegation entries. - repeated RedelegationEntry entries = 4 [(gogoproto.nullable) = false]; // redelegation entries -} - -// Params defines the parameters for the staking module. -message Params { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - // unbonding_time is the time duration of unbonding. - google.protobuf.Duration unbonding_time = 1 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; - // max_validators is the maximum number of validators. - uint32 max_validators = 2; - // max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). - uint32 max_entries = 3; - // historical_entries is the number of historical entries to persist. - uint32 historical_entries = 4; - // bond_denom defines the bondable coin denomination. - string bond_denom = 5; - // min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators - string min_commission_rate = 6 [ - (gogoproto.moretags) = "yaml:\"min_commission_rate\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// DelegationResponse is equivalent to Delegation except that it contains a -// balance in addition to shares which is more suitable for client responses. -message DelegationResponse { - option (gogoproto.equal) = false; - option (gogoproto.goproto_stringer) = false; - - Delegation delegation = 1 [(gogoproto.nullable) = false]; - - cosmos.base.v1beta1.Coin balance = 2 [(gogoproto.nullable) = false]; -} - -// RedelegationEntryResponse is equivalent to a RedelegationEntry except that it -// contains a balance in addition to shares which is more suitable for client -// responses. -message RedelegationEntryResponse { - option (gogoproto.equal) = true; - - RedelegationEntry redelegation_entry = 1 [(gogoproto.nullable) = false]; - string balance = 4 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; -} - -// RedelegationResponse is equivalent to a Redelegation except that its entries -// contain a balance in addition to shares which is more suitable for client -// responses. -message RedelegationResponse { - option (gogoproto.equal) = false; - - Redelegation redelegation = 1 [(gogoproto.nullable) = false]; - repeated RedelegationEntryResponse entries = 2 [(gogoproto.nullable) = false]; -} - -// Pool is used for tracking bonded and not-bonded token supply of the bond -// denomination. -message Pool { - option (gogoproto.description) = true; - option (gogoproto.equal) = true; - string not_bonded_tokens = 1 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "not_bonded_tokens" - ]; - string bonded_tokens = 2 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "bonded_tokens" - ]; -} diff --git a/examples/authz/proto/cosmos/staking/v1beta1/tx.proto b/examples/authz/proto/cosmos/staking/v1beta1/tx.proto deleted file mode 100644 index 6c8d40a7..00000000 --- a/examples/authz/proto/cosmos/staking/v1beta1/tx.proto +++ /dev/null @@ -1,138 +0,0 @@ -syntax = "proto3"; -package cosmos.staking.v1beta1; - -import "google/protobuf/any.proto"; -import "google/protobuf/timestamp.proto"; -import "gogoproto/gogo.proto"; - -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/staking/v1beta1/staking.proto"; - -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; - -// Msg defines the staking Msg service. -service Msg { - // CreateValidator defines a method for creating a new validator. - rpc CreateValidator(MsgCreateValidator) returns (MsgCreateValidatorResponse); - - // EditValidator defines a method for editing an existing validator. - rpc EditValidator(MsgEditValidator) returns (MsgEditValidatorResponse); - - // Delegate defines a method for performing a delegation of coins - // from a delegator to a validator. - rpc Delegate(MsgDelegate) returns (MsgDelegateResponse); - - // BeginRedelegate defines a method for performing a redelegation - // of coins from a delegator and source validator to a destination validator. - rpc BeginRedelegate(MsgBeginRedelegate) returns (MsgBeginRedelegateResponse); - - // Undelegate defines a method for performing an undelegation from a - // delegate and a validator. - rpc Undelegate(MsgUndelegate) returns (MsgUndelegateResponse); -} - -// MsgCreateValidator defines a SDK message for creating a new validator. -message MsgCreateValidator { - // NOTE(fdymylja): this is a particular case in which - // if validator_address == delegator_address then only one - // is expected to sign, otherwise both are. - option (cosmos.msg.v1.signer) = "delegator_address"; - option (cosmos.msg.v1.signer) = "validator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - Description description = 1 [(gogoproto.nullable) = false]; - CommissionRates commission = 2 [(gogoproto.nullable) = false]; - string min_self_delegation = 3 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - string delegator_address = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_address = 5 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - google.protobuf.Any pubkey = 6 [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey"]; - cosmos.base.v1beta1.Coin value = 7 [(gogoproto.nullable) = false]; -} - -// MsgCreateValidatorResponse defines the Msg/CreateValidator response type. -message MsgCreateValidatorResponse {} - -// MsgEditValidator defines a SDK message for editing an existing validator. -message MsgEditValidator { - option (cosmos.msg.v1.signer) = "validator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - Description description = 1 [(gogoproto.nullable) = false]; - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // We pass a reference to the new commission rate and min self delegation as - // it's not mandatory to update. If not updated, the deserialized rate will be - // zero with no way to distinguish if an update was intended. - // REF: #2373 - string commission_rate = 3 - [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"]; - string min_self_delegation = 4 - [(cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"]; -} - -// MsgEditValidatorResponse defines the Msg/EditValidator response type. -message MsgEditValidatorResponse {} - -// MsgDelegate defines a SDK message for performing a delegation of coins -// from a delegator to a validator. -message MsgDelegate { - option (cosmos.msg.v1.signer) = "delegator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; -} - -// MsgDelegateResponse defines the Msg/Delegate response type. -message MsgDelegateResponse {} - -// MsgBeginRedelegate defines a SDK message for performing a redelegation -// of coins from a delegator and source validator to a destination validator. -message MsgBeginRedelegate { - option (cosmos.msg.v1.signer) = "delegator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_src_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_dst_address = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - cosmos.base.v1beta1.Coin amount = 4 [(gogoproto.nullable) = false]; -} - -// MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. -message MsgBeginRedelegateResponse { - google.protobuf.Timestamp completion_time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -// MsgUndelegate defines a SDK message for performing an undelegation from a -// delegate and a validator. -message MsgUndelegate { - option (cosmos.msg.v1.signer) = "delegator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; -} - -// MsgUndelegateResponse defines the Msg/Undelegate response type. -message MsgUndelegateResponse { - google.protobuf.Timestamp completion_time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} diff --git a/examples/authz/proto/cosmos/tx/signing/v1beta1/signing.proto b/examples/authz/proto/cosmos/tx/signing/v1beta1/signing.proto deleted file mode 100644 index 5a22616f..00000000 --- a/examples/authz/proto/cosmos/tx/signing/v1beta1/signing.proto +++ /dev/null @@ -1,94 +0,0 @@ -syntax = "proto3"; -package cosmos.tx.signing.v1beta1; - -import "cosmos/crypto/multisig/v1beta1/multisig.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/types/tx/signing"; - -// SignMode represents a signing mode with its own security guarantees. -// -// This enum should be considered a registry of all known sign modes -// in the Cosmos ecosystem. Apps are not expected to support all known -// sign modes. Apps that would like to support custom sign modes are -// encouraged to open a small PR against this file to add a new case -// to this SignMode enum describing their sign mode so that different -// apps have a consistent version of this enum. -enum SignMode { - // SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be - // rejected. - SIGN_MODE_UNSPECIFIED = 0; - - // SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is - // verified with raw bytes from Tx. - SIGN_MODE_DIRECT = 1; - - // SIGN_MODE_TEXTUAL is a future signing mode that will verify some - // human-readable textual representation on top of the binary representation - // from SIGN_MODE_DIRECT. It is currently not supported. - SIGN_MODE_TEXTUAL = 2; - - // SIGN_MODE_DIRECT_AUX specifies a signing mode which uses - // SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not - // require signers signing over other signers' `signer_info`. It also allows - // for adding Tips in transactions. - // - // Since: cosmos-sdk 0.46 - SIGN_MODE_DIRECT_AUX = 3; - - // SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses - // Amino JSON and will be removed in the future. - SIGN_MODE_LEGACY_AMINO_JSON = 127; -} - -// SignatureDescriptors wraps multiple SignatureDescriptor's. -message SignatureDescriptors { - // signatures are the signature descriptors - repeated SignatureDescriptor signatures = 1; -} - -// SignatureDescriptor is a convenience type which represents the full data for -// a signature including the public key of the signer, signing modes and the -// signature itself. It is primarily used for coordinating signatures between -// clients. -message SignatureDescriptor { - // public_key is the public key of the signer - google.protobuf.Any public_key = 1; - - Data data = 2; - - // sequence is the sequence of the account, which describes the - // number of committed transactions signed by a given address. It is used to prevent - // replay attacks. - uint64 sequence = 3; - - // Data represents signature data - message Data { - // sum is the oneof that specifies whether this represents single or multi-signature data - oneof sum { - // single represents a single signer - Single single = 1; - - // multi represents a multisig signer - Multi multi = 2; - } - - // Single is the signature data for a single signer - message Single { - // mode is the signing mode of the single signer - SignMode mode = 1; - - // signature is the raw signature bytes - bytes signature = 2; - } - - // Multi is the signature data for a multisig public key - message Multi { - // bitarray specifies which keys within the multisig are signing - cosmos.crypto.multisig.v1beta1.CompactBitArray bitarray = 1; - - // signatures is the signatures of the multi-signature - repeated Data signatures = 2; - } - } -} diff --git a/examples/authz/proto/cosmos/tx/v1beta1/service.proto b/examples/authz/proto/cosmos/tx/v1beta1/service.proto deleted file mode 100644 index e7af1526..00000000 --- a/examples/authz/proto/cosmos/tx/v1beta1/service.proto +++ /dev/null @@ -1,163 +0,0 @@ -syntax = "proto3"; -package cosmos.tx.v1beta1; - -import "google/api/annotations.proto"; -import "cosmos/base/abci/v1beta1/abci.proto"; -import "cosmos/tx/v1beta1/tx.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "tendermint/types/block.proto"; -import "tendermint/types/types.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/types/tx"; - -// Service defines a gRPC service for interacting with transactions. -service Service { - // Simulate simulates executing a transaction for estimating gas usage. - rpc Simulate(SimulateRequest) returns (SimulateResponse) { - option (google.api.http) = { - post: "/cosmos/tx/v1beta1/simulate" - body: "*" - }; - } - // GetTx fetches a tx by hash. - rpc GetTx(GetTxRequest) returns (GetTxResponse) { - option (google.api.http).get = "/cosmos/tx/v1beta1/txs/{hash}"; - } - // BroadcastTx broadcast transaction. - rpc BroadcastTx(BroadcastTxRequest) returns (BroadcastTxResponse) { - option (google.api.http) = { - post: "/cosmos/tx/v1beta1/txs" - body: "*" - }; - } - // GetTxsEvent fetches txs by event. - rpc GetTxsEvent(GetTxsEventRequest) returns (GetTxsEventResponse) { - option (google.api.http).get = "/cosmos/tx/v1beta1/txs"; - } - // GetBlockWithTxs fetches a block with decoded txs. - // - // Since: cosmos-sdk 0.45.2 - rpc GetBlockWithTxs(GetBlockWithTxsRequest) returns (GetBlockWithTxsResponse) { - option (google.api.http).get = "/cosmos/tx/v1beta1/txs/block/{height}"; - } -} - -// GetTxsEventRequest is the request type for the Service.TxsByEvents -// RPC method. -message GetTxsEventRequest { - // events is the list of transaction event type. - repeated string events = 1; - // pagination defines a pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; - OrderBy order_by = 3; -} - -// OrderBy defines the sorting order -enum OrderBy { - // ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. - ORDER_BY_UNSPECIFIED = 0; - // ORDER_BY_ASC defines ascending order - ORDER_BY_ASC = 1; - // ORDER_BY_DESC defines descending order - ORDER_BY_DESC = 2; -} - -// GetTxsEventResponse is the response type for the Service.TxsByEvents -// RPC method. -message GetTxsEventResponse { - // txs is the list of queried transactions. - repeated cosmos.tx.v1beta1.Tx txs = 1; - // tx_responses is the list of queried TxResponses. - repeated cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; - // pagination defines a pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 3; -} - -// BroadcastTxRequest is the request type for the Service.BroadcastTxRequest -// RPC method. -message BroadcastTxRequest { - // tx_bytes is the raw transaction. - bytes tx_bytes = 1; - BroadcastMode mode = 2; -} - -// BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. -enum BroadcastMode { - // zero-value for mode ordering - BROADCAST_MODE_UNSPECIFIED = 0; - // BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for - // the tx to be committed in a block. - BROADCAST_MODE_BLOCK = 1; - // BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for - // a CheckTx execution response only. - BROADCAST_MODE_SYNC = 2; - // BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns - // immediately. - BROADCAST_MODE_ASYNC = 3; -} - -// BroadcastTxResponse is the response type for the -// Service.BroadcastTx method. -message BroadcastTxResponse { - // tx_response is the queried TxResponses. - cosmos.base.abci.v1beta1.TxResponse tx_response = 1; -} - -// SimulateRequest is the request type for the Service.Simulate -// RPC method. -message SimulateRequest { - // tx is the transaction to simulate. - // Deprecated. Send raw tx bytes instead. - cosmos.tx.v1beta1.Tx tx = 1 [deprecated = true]; - // tx_bytes is the raw transaction. - // - // Since: cosmos-sdk 0.43 - bytes tx_bytes = 2; -} - -// SimulateResponse is the response type for the -// Service.SimulateRPC method. -message SimulateResponse { - // gas_info is the information about gas used in the simulation. - cosmos.base.abci.v1beta1.GasInfo gas_info = 1; - // result is the result of the simulation. - cosmos.base.abci.v1beta1.Result result = 2; -} - -// GetTxRequest is the request type for the Service.GetTx -// RPC method. -message GetTxRequest { - // hash is the tx hash to query, encoded as a hex string. - string hash = 1; -} - -// GetTxResponse is the response type for the Service.GetTx method. -message GetTxResponse { - // tx is the queried transaction. - cosmos.tx.v1beta1.Tx tx = 1; - // tx_response is the queried TxResponses. - cosmos.base.abci.v1beta1.TxResponse tx_response = 2; -} - -// GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs -// RPC method. -// -// Since: cosmos-sdk 0.45.2 -message GetBlockWithTxsRequest { - // height is the height of the block to query. - int64 height = 1; - // pagination defines a pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. -// -// Since: cosmos-sdk 0.45.2 -message GetBlockWithTxsResponse { - // txs are the transactions in the block. - repeated cosmos.tx.v1beta1.Tx txs = 1; - .tendermint.types.BlockID block_id = 2; - .tendermint.types.Block block = 3; - // pagination defines a pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 4; -} \ No newline at end of file diff --git a/examples/authz/proto/cosmos/tx/v1beta1/tx.proto b/examples/authz/proto/cosmos/tx/v1beta1/tx.proto deleted file mode 100644 index ac7b690f..00000000 --- a/examples/authz/proto/cosmos/tx/v1beta1/tx.proto +++ /dev/null @@ -1,249 +0,0 @@ -syntax = "proto3"; -package cosmos.tx.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/crypto/multisig/v1beta1/multisig.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/tx/signing/v1beta1/signing.proto"; -import "google/protobuf/any.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/types/tx"; - -// Tx is the standard type used for broadcasting transactions. -message Tx { - // body is the processable content of the transaction - TxBody body = 1; - - // auth_info is the authorization related content of the transaction, - // specifically signers, signer modes and fee - AuthInfo auth_info = 2; - - // signatures is a list of signatures that matches the length and order of - // AuthInfo's signer_infos to allow connecting signature meta information like - // public key and signing mode by position. - repeated bytes signatures = 3; -} - -// TxRaw is a variant of Tx that pins the signer's exact binary representation -// of body and auth_info. This is used for signing, broadcasting and -// verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and -// the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used -// as the transaction ID. -message TxRaw { - // body_bytes is a protobuf serialization of a TxBody that matches the - // representation in SignDoc. - bytes body_bytes = 1; - - // auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - // representation in SignDoc. - bytes auth_info_bytes = 2; - - // signatures is a list of signatures that matches the length and order of - // AuthInfo's signer_infos to allow connecting signature meta information like - // public key and signing mode by position. - repeated bytes signatures = 3; -} - -// SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. -message SignDoc { - // body_bytes is protobuf serialization of a TxBody that matches the - // representation in TxRaw. - bytes body_bytes = 1; - - // auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - // representation in TxRaw. - bytes auth_info_bytes = 2; - - // chain_id is the unique identifier of the chain this transaction targets. - // It prevents signed transactions from being used on another chain by an - // attacker - string chain_id = 3; - - // account_number is the account number of the account in state - uint64 account_number = 4; -} - -// SignDocDirectAux is the type used for generating sign bytes for -// SIGN_MODE_DIRECT_AUX. -// -// Since: cosmos-sdk 0.46 -message SignDocDirectAux { - // body_bytes is protobuf serialization of a TxBody that matches the - // representation in TxRaw. - bytes body_bytes = 1; - - // public_key is the public key of the signing account. - google.protobuf.Any public_key = 2; - - // chain_id is the identifier of the chain this transaction targets. - // It prevents signed transactions from being used on another chain by an - // attacker. - string chain_id = 3; - - // account_number is the account number of the account in state. - uint64 account_number = 4; - - // sequence is the sequence number of the signing account. - uint64 sequence = 5; - - // Tip is the optional tip used for meta-transactions. It should be left - // empty if the signer is not the tipper for this transaction. - Tip tip = 6; -} - -// TxBody is the body of a transaction that all signers sign over. -message TxBody { - // messages is a list of messages to be executed. The required signers of - // those messages define the number and order of elements in AuthInfo's - // signer_infos and Tx's signatures. Each required signer address is added to - // the list only the first time it occurs. - // By convention, the first required signer (usually from the first message) - // is referred to as the primary signer and pays the fee for the whole - // transaction. - repeated google.protobuf.Any messages = 1; - - // memo is any arbitrary note/comment to be added to the transaction. - // WARNING: in clients, any publicly exposed text should not be called memo, - // but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). - string memo = 2; - - // timeout is the block height after which this transaction will not - // be processed by the chain - uint64 timeout_height = 3; - - // extension_options are arbitrary options that can be added by chains - // when the default options are not sufficient. If any of these are present - // and can't be handled, the transaction will be rejected - repeated google.protobuf.Any extension_options = 1023; - - // extension_options are arbitrary options that can be added by chains - // when the default options are not sufficient. If any of these are present - // and can't be handled, they will be ignored - repeated google.protobuf.Any non_critical_extension_options = 2047; -} - -// AuthInfo describes the fee and signer modes that are used to sign a -// transaction. -message AuthInfo { - // signer_infos defines the signing modes for the required signers. The number - // and order of elements must match the required signers from TxBody's - // messages. The first element is the primary signer and the one which pays - // the fee. - repeated SignerInfo signer_infos = 1; - - // Fee is the fee and gas limit for the transaction. The first signer is the - // primary signer and the one which pays the fee. The fee can be calculated - // based on the cost of evaluating the body and doing signature verification - // of the signers. This can be estimated via simulation. - Fee fee = 2; - - // Tip is the optional tip used for meta-transactions. - // - // Since: cosmos-sdk 0.46 - Tip tip = 3; -} - -// SignerInfo describes the public key and signing mode of a single top-level -// signer. -message SignerInfo { - // public_key is the public key of the signer. It is optional for accounts - // that already exist in state. If unset, the verifier can use the required \ - // signer address for this position and lookup the public key. - google.protobuf.Any public_key = 1; - - // mode_info describes the signing mode of the signer and is a nested - // structure to support nested multisig pubkey's - ModeInfo mode_info = 2; - - // sequence is the sequence of the account, which describes the - // number of committed transactions signed by a given address. It is used to - // prevent replay attacks. - uint64 sequence = 3; -} - -// ModeInfo describes the signing mode of a single or nested multisig signer. -message ModeInfo { - // sum is the oneof that specifies whether this represents a single or nested - // multisig signer - oneof sum { - // single represents a single signer - Single single = 1; - - // multi represents a nested multisig signer - Multi multi = 2; - } - - // Single is the mode info for a single signer. It is structured as a message - // to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the - // future - message Single { - // mode is the signing mode of the single signer - cosmos.tx.signing.v1beta1.SignMode mode = 1; - } - - // Multi is the mode info for a multisig public key - message Multi { - // bitarray specifies which keys within the multisig are signing - cosmos.crypto.multisig.v1beta1.CompactBitArray bitarray = 1; - - // mode_infos is the corresponding modes of the signers of the multisig - // which could include nested multisig public keys - repeated ModeInfo mode_infos = 2; - } -} - -// Fee includes the amount of coins paid in fees and the maximum -// gas to be used by the transaction. The ratio yields an effective "gasprice", -// which must be above some miminum to be accepted into the mempool. -message Fee { - // amount is the amount of coins to be paid as a fee - repeated cosmos.base.v1beta1.Coin amount = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - // gas_limit is the maximum gas that can be used in transaction processing - // before an out of gas error occurs - uint64 gas_limit = 2; - - // if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. - // the payer must be a tx signer (and thus have signed this field in AuthInfo). - // setting this field does *not* change the ordering of required signers for the transaction. - string payer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used - // to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does - // not support fee grants, this will fail - string granter = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// Tip is the tip used for meta-transactions. -// -// Since: cosmos-sdk 0.46 -message Tip { - // amount is the amount of the tip - repeated cosmos.base.v1beta1.Coin amount = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - // tipper is the address of the account paying for the tip - string tipper = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// AuxSignerData is the intermediary format that an auxiliary signer (e.g. a -// tipper) builds and sends to the fee payer (who will build and broadcast the -// actual tx). AuxSignerData is not a valid tx in itself, and will be rejected -// by the node if sent directly as-is. -// -// Since: cosmos-sdk 0.46 -message AuxSignerData { - // address is the bech32-encoded address of the auxiliary signer. If using - // AuxSignerData across different chains, the bech32 prefix of the target - // chain (where the final transaction is broadcasted) should be used. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // sign_doc is the SIGN_MOD_DIRECT_AUX sign doc that the auxiliary signer - // signs. Note: we use the same sign doc even if we're signing with - // LEGACY_AMINO_JSON. - SignDocDirectAux sign_doc = 2; - // mode is the signing mode of the single signer - cosmos.tx.signing.v1beta1.SignMode mode = 3; - // sig is the signature of the sign doc. - bytes sig = 4; -} diff --git a/examples/authz/proto/cosmos/upgrade/v1beta1/query.proto b/examples/authz/proto/cosmos/upgrade/v1beta1/query.proto deleted file mode 100644 index e8c4baa0..00000000 --- a/examples/authz/proto/cosmos/upgrade/v1beta1/query.proto +++ /dev/null @@ -1,120 +0,0 @@ -syntax = "proto3"; -package cosmos.upgrade.v1beta1; - -import "google/api/annotations.proto"; -import "cosmos/upgrade/v1beta1/upgrade.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; - -// Query defines the gRPC upgrade querier service. -service Query { - // CurrentPlan queries the current upgrade plan. - rpc CurrentPlan(QueryCurrentPlanRequest) returns (QueryCurrentPlanResponse) { - option (google.api.http).get = "/cosmos/upgrade/v1beta1/current_plan"; - } - - // AppliedPlan queries a previously applied upgrade plan by its name. - rpc AppliedPlan(QueryAppliedPlanRequest) returns (QueryAppliedPlanResponse) { - option (google.api.http).get = "/cosmos/upgrade/v1beta1/applied_plan/{name}"; - } - - // UpgradedConsensusState queries the consensus state that will serve - // as a trusted kernel for the next version of this chain. It will only be - // stored at the last height of this chain. - // UpgradedConsensusState RPC not supported with legacy querier - // This rpc is deprecated now that IBC has its own replacement - // (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) - rpc UpgradedConsensusState(QueryUpgradedConsensusStateRequest) returns (QueryUpgradedConsensusStateResponse) { - option deprecated = true; - option (google.api.http).get = "/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}"; - } - - // ModuleVersions queries the list of module versions from state. - // - // Since: cosmos-sdk 0.43 - rpc ModuleVersions(QueryModuleVersionsRequest) returns (QueryModuleVersionsResponse) { - option (google.api.http).get = "/cosmos/upgrade/v1beta1/module_versions"; - } - - // Returns the account with authority to conduct upgrades - rpc Authority(QueryAuthorityRequest) returns (QueryAuthorityResponse) { - option (google.api.http).get = "/cosmos/upgrade/v1beta1/authority"; - } -} - -// QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC -// method. -message QueryCurrentPlanRequest {} - -// QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC -// method. -message QueryCurrentPlanResponse { - // plan is the current upgrade plan. - Plan plan = 1; -} - -// QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC -// method. -message QueryAppliedPlanRequest { - // name is the name of the applied plan to query for. - string name = 1; -} - -// QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC -// method. -message QueryAppliedPlanResponse { - // height is the block height at which the plan was applied. - int64 height = 1; -} - -// QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState -// RPC method. -message QueryUpgradedConsensusStateRequest { - option deprecated = true; - - // last height of the current chain must be sent in request - // as this is the height under which next consensus state is stored - int64 last_height = 1; -} - -// QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState -// RPC method. -message QueryUpgradedConsensusStateResponse { - option deprecated = true; - reserved 1; - - // Since: cosmos-sdk 0.43 - bytes upgraded_consensus_state = 2; -} - -// QueryModuleVersionsRequest is the request type for the Query/ModuleVersions -// RPC method. -// -// Since: cosmos-sdk 0.43 -message QueryModuleVersionsRequest { - // module_name is a field to query a specific module - // consensus version from state. Leaving this empty will - // fetch the full list of module versions from state - string module_name = 1; -} - -// QueryModuleVersionsResponse is the response type for the Query/ModuleVersions -// RPC method. -// -// Since: cosmos-sdk 0.43 -message QueryModuleVersionsResponse { - // module_versions is a list of module names with their consensus versions. - repeated ModuleVersion module_versions = 1; -} - -// QueryAuthorityRequest is the request type for Query/Authority -// -// Since: cosmos-sdk 0.46 -message QueryAuthorityRequest {} - -// QueryAuthorityResponse is the response type for Query/Authority -// -// Since: cosmos-sdk 0.46 -message QueryAuthorityResponse { - string address = 1; -} \ No newline at end of file diff --git a/examples/authz/proto/cosmos/upgrade/v1beta1/tx.proto b/examples/authz/proto/cosmos/upgrade/v1beta1/tx.proto deleted file mode 100644 index 9b04bf44..00000000 --- a/examples/authz/proto/cosmos/upgrade/v1beta1/tx.proto +++ /dev/null @@ -1,55 +0,0 @@ -syntax = "proto3"; -package cosmos.upgrade.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/upgrade/v1beta1/upgrade.proto"; -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; - -// Msg defines the upgrade Msg service. -service Msg { - // SoftwareUpgrade is a governance operation for initiating a software upgrade. - // - // Since: cosmos-sdk 0.46 - rpc SoftwareUpgrade(MsgSoftwareUpgrade) returns (MsgSoftwareUpgradeResponse); - // CancelUpgrade is a governance operation for cancelling a previously - // approvid software upgrade. - // - // Since: cosmos-sdk 0.46 - rpc CancelUpgrade(MsgCancelUpgrade) returns (MsgCancelUpgradeResponse); -} - -// MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. -// -// Since: cosmos-sdk 0.46 -message MsgSoftwareUpgrade { - option (cosmos.msg.v1.signer) = "authority"; - - // authority is the address of the governance account. - string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // plan is the upgrade plan. - Plan plan = 2 [(gogoproto.nullable) = false]; -} - -// MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. -// -// Since: cosmos-sdk 0.46 -message MsgSoftwareUpgradeResponse {} - -// MsgCancelUpgrade is the Msg/CancelUpgrade request type. -// -// Since: cosmos-sdk 0.46 -message MsgCancelUpgrade { - option (cosmos.msg.v1.signer) = "authority"; - - // authority is the address of the governance account. - string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. -// -// Since: cosmos-sdk 0.46 -message MsgCancelUpgradeResponse {} \ No newline at end of file diff --git a/examples/authz/proto/cosmos/upgrade/v1beta1/upgrade.proto b/examples/authz/proto/cosmos/upgrade/v1beta1/upgrade.proto deleted file mode 100644 index dc15e27c..00000000 --- a/examples/authz/proto/cosmos/upgrade/v1beta1/upgrade.proto +++ /dev/null @@ -1,86 +0,0 @@ -syntax = "proto3"; -package cosmos.upgrade.v1beta1; - -import "google/protobuf/any.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; -option (gogoproto.goproto_getters_all) = false; - -// Plan specifies information about a planned upgrade and when it should occur. -message Plan { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - // Sets the name for the upgrade. This name will be used by the upgraded - // version of the software to apply any special "on-upgrade" commands during - // the first BeginBlock method after the upgrade is applied. It is also used - // to detect whether a software version can handle a given upgrade. If no - // upgrade handler with this name has been set in the software, it will be - // assumed that the software is out-of-date when the upgrade Time or Height is - // reached and the software will exit. - string name = 1; - - // Deprecated: Time based upgrades have been deprecated. Time based upgrade logic - // has been removed from the SDK. - // If this field is not empty, an error will be thrown. - google.protobuf.Timestamp time = 2 [deprecated = true, (gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - - // The height at which the upgrade must be performed. - // Only used if Time is not set. - int64 height = 3; - - // Any application specific upgrade info to be included on-chain - // such as a git commit that validators could automatically upgrade to - string info = 4; - - // Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been - // moved to the IBC module in the sub module 02-client. - // If this field is not empty, an error will be thrown. - google.protobuf.Any upgraded_client_state = 5 [deprecated = true]; -} - -// SoftwareUpgradeProposal is a gov Content type for initiating a software -// upgrade. -// Deprecated: This legacy proposal is deprecated in favor of Msg-based gov -// proposals, see MsgSoftwareUpgrade. -message SoftwareUpgradeProposal { - option deprecated = true; - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - string title = 1; - string description = 2; - Plan plan = 3 [(gogoproto.nullable) = false]; -} - -// CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software -// upgrade. -// Deprecated: This legacy proposal is deprecated in favor of Msg-based gov -// proposals, see MsgCancelUpgrade. -message CancelSoftwareUpgradeProposal { - option deprecated = true; - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - string title = 1; - string description = 2; -} - -// ModuleVersion specifies a module and its consensus version. -// -// Since: cosmos-sdk 0.43 -message ModuleVersion { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = true; - - // name of the app module - string name = 1; - - // consensus version of the app module - uint64 version = 2; -} diff --git a/examples/authz/proto/cosmos/vesting/v1beta1/tx.proto b/examples/authz/proto/cosmos/vesting/v1beta1/tx.proto deleted file mode 100644 index 211bad09..00000000 --- a/examples/authz/proto/cosmos/vesting/v1beta1/tx.proto +++ /dev/null @@ -1,74 +0,0 @@ -syntax = "proto3"; -package cosmos.vesting.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/vesting/v1beta1/vesting.proto"; - -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"; - -// Msg defines the bank Msg service. -service Msg { - // CreateVestingAccount defines a method that enables creating a vesting - // account. - rpc CreateVestingAccount(MsgCreateVestingAccount) returns (MsgCreateVestingAccountResponse); - // CreatePermanentLockedAccount defines a method that enables creating a permanent - // locked account. - rpc CreatePermanentLockedAccount(MsgCreatePermanentLockedAccount) returns (MsgCreatePermanentLockedAccountResponse); - // CreatePeriodicVestingAccount defines a method that enables creating a - // periodic vesting account. - rpc CreatePeriodicVestingAccount(MsgCreatePeriodicVestingAccount) returns (MsgCreatePeriodicVestingAccountResponse); -} - -// MsgCreateVestingAccount defines a message that enables creating a vesting -// account. -message MsgCreateVestingAccount { - option (cosmos.msg.v1.signer) = "from_address"; - - option (gogoproto.equal) = true; - - string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string to_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - int64 end_time = 4; - bool delayed = 5; -} - -// MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. -message MsgCreateVestingAccountResponse {} - -// MsgCreatePermanentLockedAccount defines a message that enables creating a permanent -// locked account. -message MsgCreatePermanentLockedAccount { - option (gogoproto.equal) = true; - - string from_address = 1 [(gogoproto.moretags) = "yaml:\"from_address\""]; - string to_address = 2 [(gogoproto.moretags) = "yaml:\"to_address\""]; - repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. -message MsgCreatePermanentLockedAccountResponse {} - -// MsgCreateVestingAccount defines a message that enables creating a vesting -// account. -message MsgCreatePeriodicVestingAccount { - option (cosmos.msg.v1.signer) = "from_address"; - - option (gogoproto.equal) = false; - - string from_address = 1; - string to_address = 2; - int64 start_time = 3; - repeated Period vesting_periods = 4 [(gogoproto.nullable) = false]; -} - -// MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount -// response type. -message MsgCreatePeriodicVestingAccountResponse {} diff --git a/examples/authz/proto/cosmos/vesting/v1beta1/vesting.proto b/examples/authz/proto/cosmos/vesting/v1beta1/vesting.proto deleted file mode 100644 index 824cc30d..00000000 --- a/examples/authz/proto/cosmos/vesting/v1beta1/vesting.proto +++ /dev/null @@ -1,76 +0,0 @@ -syntax = "proto3"; -package cosmos.vesting.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/auth/v1beta1/auth.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"; - -// BaseVestingAccount implements the VestingAccount interface. It contains all -// the necessary fields needed for any vesting account implementation. -message BaseVestingAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - cosmos.auth.v1beta1.BaseAccount base_account = 1 [(gogoproto.embed) = true]; - repeated cosmos.base.v1beta1.Coin original_vesting = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - repeated cosmos.base.v1beta1.Coin delegated_free = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - repeated cosmos.base.v1beta1.Coin delegated_vesting = 4 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - int64 end_time = 5; -} - -// ContinuousVestingAccount implements the VestingAccount interface. It -// continuously vests by unlocking coins linearly with respect to time. -message ContinuousVestingAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; - int64 start_time = 2; -} - -// DelayedVestingAccount implements the VestingAccount interface. It vests all -// coins after a specific time, but non prior. In other words, it keeps them -// locked until a specified time. -message DelayedVestingAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; -} - -// Period defines a length of time and amount of coins that will vest. -message Period { - option (gogoproto.goproto_stringer) = false; - - int64 length = 1; - repeated cosmos.base.v1beta1.Coin amount = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// PeriodicVestingAccount implements the VestingAccount interface. It -// periodically vests by unlocking coins during each specified period. -message PeriodicVestingAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; - int64 start_time = 2; - repeated Period vesting_periods = 3 [(gogoproto.nullable) = false]; -} - -// PermanentLockedAccount implements the VestingAccount interface. It does -// not ever release coins, locking them indefinitely. Coins in this account can -// still be used for delegating and for governance votes even while locked. -// -// Since: cosmos-sdk 0.43 -message PermanentLockedAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; -} diff --git a/examples/authz/proto/cosmos_proto/LICENSE b/examples/authz/proto/cosmos_proto/LICENSE deleted file mode 100644 index 6b3e3508..00000000 --- a/examples/authz/proto/cosmos_proto/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -Pulsar -License: Apache2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2021 Regen Network Development, Inc. & All in Bits, Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/examples/authz/proto/cosmos_proto/README.md b/examples/authz/proto/cosmos_proto/README.md deleted file mode 100644 index 9599cc65..00000000 --- a/examples/authz/proto/cosmos_proto/README.md +++ /dev/null @@ -1 +0,0 @@ -# cosmos_proto \ No newline at end of file diff --git a/examples/authz/proto/cosmos_proto/cosmos.proto b/examples/authz/proto/cosmos_proto/cosmos.proto deleted file mode 100644 index 5c63b86f..00000000 --- a/examples/authz/proto/cosmos_proto/cosmos.proto +++ /dev/null @@ -1,97 +0,0 @@ -syntax = "proto3"; -package cosmos_proto; - -import "google/protobuf/descriptor.proto"; - -option go_package = "github.com/cosmos/cosmos-proto;cosmos_proto"; - -extend google.protobuf.MessageOptions { - - // implements_interface is used to indicate the type name of the interface - // that a message implements so that it can be used in google.protobuf.Any - // fields that accept that interface. A message can implement multiple - // interfaces. Interfaces should be declared using a declare_interface - // file option. - repeated string implements_interface = 93001; -} - -extend google.protobuf.FieldOptions { - - // accepts_interface is used to annotate that a google.protobuf.Any - // field accepts messages that implement the specified interface. - // Interfaces should be declared using a declare_interface file option. - string accepts_interface = 93001; - - // scalar is used to indicate that this field follows the formatting defined - // by the named scalar which should be declared with declare_scalar. Code - // generators may choose to use this information to map this field to a - // language-specific type representing the scalar. - string scalar = 93002; -} - -extend google.protobuf.FileOptions { - - // declare_interface declares an interface type to be used with - // accepts_interface and implements_interface. Interface names are - // expected to follow the following convention such that their declaration - // can be discovered by tools: for a given interface type a.b.C, it is - // expected that the declaration will be found in a protobuf file named - // a/b/interfaces.proto in the file descriptor set. - repeated InterfaceDescriptor declare_interface = 793021; - - // declare_scalar declares a scalar type to be used with - // the scalar field option. Scalar names are - // expected to follow the following convention such that their declaration - // can be discovered by tools: for a given scalar type a.b.C, it is - // expected that the declaration will be found in a protobuf file named - // a/b/scalars.proto in the file descriptor set. - repeated ScalarDescriptor declare_scalar = 793022; -} - -// InterfaceDescriptor describes an interface type to be used with -// accepts_interface and implements_interface and declared by declare_interface. -message InterfaceDescriptor { - - // name is the name of the interface. It should be a short-name (without - // a period) such that the fully qualified name of the interface will be - // package.name, ex. for the package a.b and interface named C, the - // fully-qualified name will be a.b.C. - string name = 1; - - // description is a human-readable description of the interface and its - // purpose. - string description = 2; -} - -// ScalarDescriptor describes an scalar type to be used with -// the scalar field option and declared by declare_scalar. -// Scalars extend simple protobuf built-in types with additional -// syntax and semantics, for instance to represent big integers. -// Scalars should ideally define an encoding such that there is only one -// valid syntactical representation for a given semantic meaning, -// i.e. the encoding should be deterministic. -message ScalarDescriptor { - - // name is the name of the scalar. It should be a short-name (without - // a period) such that the fully qualified name of the scalar will be - // package.name, ex. for the package a.b and scalar named C, the - // fully-qualified name will be a.b.C. - string name = 1; - - // description is a human-readable description of the scalar and its - // encoding format. For instance a big integer or decimal scalar should - // specify precisely the expected encoding format. - string description = 2; - - // field_type is the type of field with which this scalar can be used. - // Scalars can be used with one and only one type of field so that - // encoding standards and simple and clear. Currently only string and - // bytes fields are supported for scalars. - repeated ScalarType field_type = 3; -} - -enum ScalarType { - SCALAR_TYPE_UNSPECIFIED = 0; - SCALAR_TYPE_STRING = 1; - SCALAR_TYPE_BYTES = 2; -} diff --git a/examples/authz/proto/cosmwasm/LICENSE b/examples/authz/proto/cosmwasm/LICENSE deleted file mode 100644 index 5a23302b..00000000 --- a/examples/authz/proto/cosmwasm/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -Cosmos-SDK -License: Apache2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2016 All in Bits, Inc - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/examples/authz/proto/cosmwasm/README.md b/examples/authz/proto/cosmwasm/README.md deleted file mode 100644 index 63192e81..00000000 --- a/examples/authz/proto/cosmwasm/README.md +++ /dev/null @@ -1 +0,0 @@ -# cosmwasm \ No newline at end of file diff --git a/examples/authz/proto/cosmwasm/wasm/v1/genesis.proto b/examples/authz/proto/cosmwasm/wasm/v1/genesis.proto deleted file mode 100644 index f02f3307..00000000 --- a/examples/authz/proto/cosmwasm/wasm/v1/genesis.proto +++ /dev/null @@ -1,60 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "gogoproto/gogo.proto"; -import "cosmwasm/wasm/v1/types.proto"; -import "cosmwasm/wasm/v1/tx.proto"; - -option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; - -// GenesisState - genesis state of x/wasm -message GenesisState { - Params params = 1 [ (gogoproto.nullable) = false ]; - repeated Code codes = 2 - [ (gogoproto.nullable) = false, (gogoproto.jsontag) = "codes,omitempty" ]; - repeated Contract contracts = 3 [ - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "contracts,omitempty" - ]; - repeated Sequence sequences = 4 [ - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "sequences,omitempty" - ]; - repeated GenMsgs gen_msgs = 5 [ - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "gen_msgs,omitempty" - ]; - - // GenMsgs define the messages that can be executed during genesis phase in - // order. The intention is to have more human readable data that is auditable. - message GenMsgs { - // sum is a single message - oneof sum { - MsgStoreCode store_code = 1; - MsgInstantiateContract instantiate_contract = 2; - MsgExecuteContract execute_contract = 3; - } - } -} - -// Code struct encompasses CodeInfo and CodeBytes -message Code { - uint64 code_id = 1 [ (gogoproto.customname) = "CodeID" ]; - CodeInfo code_info = 2 [ (gogoproto.nullable) = false ]; - bytes code_bytes = 3; - // Pinned to wasmvm cache - bool pinned = 4; -} - -// Contract struct encompasses ContractAddress, ContractInfo, and ContractState -message Contract { - string contract_address = 1; - ContractInfo contract_info = 2 [ (gogoproto.nullable) = false ]; - repeated Model contract_state = 3 [ (gogoproto.nullable) = false ]; -} - -// Sequence key and value of an id generation counter -message Sequence { - bytes id_key = 1 [ (gogoproto.customname) = "IDKey" ]; - uint64 value = 2; -} \ No newline at end of file diff --git a/examples/authz/proto/cosmwasm/wasm/v1/ibc.proto b/examples/authz/proto/cosmwasm/wasm/v1/ibc.proto deleted file mode 100644 index d880a707..00000000 --- a/examples/authz/proto/cosmwasm/wasm/v1/ibc.proto +++ /dev/null @@ -1,31 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; -option (gogoproto.goproto_getters_all) = false; - -// MsgIBCSend -message MsgIBCSend { - // the channel by which the packet will be sent - string channel = 2 [ (gogoproto.moretags) = "yaml:\"source_channel\"" ]; - - // Timeout height relative to the current block height. - // The timeout is disabled when set to 0. - uint64 timeout_height = 4 - [ (gogoproto.moretags) = "yaml:\"timeout_height\"" ]; - // Timeout timestamp (in nanoseconds) relative to the current block timestamp. - // The timeout is disabled when set to 0. - uint64 timeout_timestamp = 5 - [ (gogoproto.moretags) = "yaml:\"timeout_timestamp\"" ]; - - // Data is the payload to transfer. We must not make assumption what format or - // content is in here. - bytes data = 6; -} - -// MsgIBCCloseChannel port and channel need to be owned by the contract -message MsgIBCCloseChannel { - string channel = 2 [ (gogoproto.moretags) = "yaml:\"source_channel\"" ]; -} diff --git a/examples/authz/proto/cosmwasm/wasm/v1/proposal.proto b/examples/authz/proto/cosmwasm/wasm/v1/proposal.proto deleted file mode 100644 index 2f36f87f..00000000 --- a/examples/authz/proto/cosmwasm/wasm/v1/proposal.proto +++ /dev/null @@ -1,150 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmwasm/wasm/v1/types.proto"; - -option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; -option (gogoproto.goproto_stringer_all) = false; -option (gogoproto.goproto_getters_all) = false; -option (gogoproto.equal_all) = true; - -// StoreCodeProposal gov proposal content type to submit WASM code to the system -message StoreCodeProposal { - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // RunAs is the address that is passed to the contract's environment as sender - string run_as = 3; - // WASMByteCode can be raw or gzip compressed - bytes wasm_byte_code = 4 [ (gogoproto.customname) = "WASMByteCode" ]; - // Used in v1beta1 - reserved 5, 6; - // InstantiatePermission to apply on contract creation, optional - AccessConfig instantiate_permission = 7; -} - -// InstantiateContractProposal gov proposal content type to instantiate a -// contract. -message InstantiateContractProposal { - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // RunAs is the address that is passed to the contract's environment as sender - string run_as = 3; - // Admin is an optional address that can execute migrations - string admin = 4; - // CodeID is the reference to the stored WASM code - uint64 code_id = 5 [ (gogoproto.customname) = "CodeID" ]; - // Label is optional metadata to be stored with a constract instance. - string label = 6; - // Msg json encoded message to be passed to the contract on instantiation - bytes msg = 7 [ (gogoproto.casttype) = "RawContractMessage" ]; - // Funds coins that are transferred to the contract on instantiation - repeated cosmos.base.v1beta1.Coin funds = 8 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -// MigrateContractProposal gov proposal content type to migrate a contract. -message MigrateContractProposal { - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // Note: skipping 3 as this was previously used for unneeded run_as - - // Contract is the address of the smart contract - string contract = 4; - // CodeID references the new WASM codesudo - uint64 code_id = 5 [ (gogoproto.customname) = "CodeID" ]; - // Msg json encoded message to be passed to the contract on migration - bytes msg = 6 [ (gogoproto.casttype) = "RawContractMessage" ]; -} - -// SudoContractProposal gov proposal content type to call sudo on a contract. -message SudoContractProposal { - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // Contract is the address of the smart contract - string contract = 3; - // Msg json encoded message to be passed to the contract as sudo - bytes msg = 4 [ (gogoproto.casttype) = "RawContractMessage" ]; -} - -// ExecuteContractProposal gov proposal content type to call execute on a -// contract. -message ExecuteContractProposal { - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // RunAs is the address that is passed to the contract's environment as sender - string run_as = 3; - // Contract is the address of the smart contract - string contract = 4; - // Msg json encoded message to be passed to the contract as execute - bytes msg = 5 [ (gogoproto.casttype) = "RawContractMessage" ]; - // Funds coins that are transferred to the contract on instantiation - repeated cosmos.base.v1beta1.Coin funds = 6 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -// UpdateAdminProposal gov proposal content type to set an admin for a contract. -message UpdateAdminProposal { - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // NewAdmin address to be set - string new_admin = 3 [ (gogoproto.moretags) = "yaml:\"new_admin\"" ]; - // Contract is the address of the smart contract - string contract = 4; -} - -// ClearAdminProposal gov proposal content type to clear the admin of a -// contract. -message ClearAdminProposal { - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // Contract is the address of the smart contract - string contract = 3; -} - -// PinCodesProposal gov proposal content type to pin a set of code ids in the -// wasmvm cache. -message PinCodesProposal { - // Title is a short summary - string title = 1 [ (gogoproto.moretags) = "yaml:\"title\"" ]; - // Description is a human readable text - string description = 2 [ (gogoproto.moretags) = "yaml:\"description\"" ]; - // CodeIDs references the new WASM codes - repeated uint64 code_ids = 3 [ - (gogoproto.customname) = "CodeIDs", - (gogoproto.moretags) = "yaml:\"code_ids\"" - ]; -} - -// UnpinCodesProposal gov proposal content type to unpin a set of code ids in -// the wasmvm cache. -message UnpinCodesProposal { - // Title is a short summary - string title = 1 [ (gogoproto.moretags) = "yaml:\"title\"" ]; - // Description is a human readable text - string description = 2 [ (gogoproto.moretags) = "yaml:\"description\"" ]; - // CodeIDs references the WASM codes - repeated uint64 code_ids = 3 [ - (gogoproto.customname) = "CodeIDs", - (gogoproto.moretags) = "yaml:\"code_ids\"" - ]; -} diff --git a/examples/authz/proto/cosmwasm/wasm/v1/query.proto b/examples/authz/proto/cosmwasm/wasm/v1/query.proto deleted file mode 100644 index dbe7c0fb..00000000 --- a/examples/authz/proto/cosmwasm/wasm/v1/query.proto +++ /dev/null @@ -1,223 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "gogoproto/gogo.proto"; -import "cosmwasm/wasm/v1/types.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; - -option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; -option (gogoproto.goproto_getters_all) = false; -option (gogoproto.equal_all) = false; - -// Query provides defines the gRPC querier service -service Query { - // ContractInfo gets the contract meta data - rpc ContractInfo(QueryContractInfoRequest) - returns (QueryContractInfoResponse) { - option (google.api.http).get = "/cosmwasm/wasm/v1/contract/{address}"; - } - // ContractHistory gets the contract code history - rpc ContractHistory(QueryContractHistoryRequest) - returns (QueryContractHistoryResponse) { - option (google.api.http).get = - "/cosmwasm/wasm/v1/contract/{address}/history"; - } - // ContractsByCode lists all smart contracts for a code id - rpc ContractsByCode(QueryContractsByCodeRequest) - returns (QueryContractsByCodeResponse) { - option (google.api.http).get = "/cosmwasm/wasm/v1/code/{code_id}/contracts"; - } - // AllContractState gets all raw store data for a single contract - rpc AllContractState(QueryAllContractStateRequest) - returns (QueryAllContractStateResponse) { - option (google.api.http).get = "/cosmwasm/wasm/v1/contract/{address}/state"; - } - // RawContractState gets single key from the raw store data of a contract - rpc RawContractState(QueryRawContractStateRequest) - returns (QueryRawContractStateResponse) { - option (google.api.http).get = - "/wasm/v1/contract/{address}/raw/{query_data}"; - } - // SmartContractState get smart query result from the contract - rpc SmartContractState(QuerySmartContractStateRequest) - returns (QuerySmartContractStateResponse) { - option (google.api.http).get = - "/wasm/v1/contract/{address}/smart/{query_data}"; - } - // Code gets the binary code and metadata for a singe wasm code - rpc Code(QueryCodeRequest) returns (QueryCodeResponse) { - option (google.api.http).get = "/cosmwasm/wasm/v1/code/{code_id}"; - } - // Codes gets the metadata for all stored wasm codes - rpc Codes(QueryCodesRequest) returns (QueryCodesResponse) { - option (google.api.http).get = "/cosmwasm/wasm/v1/code"; - } - - // PinnedCodes gets the pinned code ids - rpc PinnedCodes(QueryPinnedCodesRequest) returns (QueryPinnedCodesResponse) { - option (google.api.http).get = "/cosmwasm/wasm/v1/codes/pinned"; - } -} - -// QueryContractInfoRequest is the request type for the Query/ContractInfo RPC -// method -message QueryContractInfoRequest { - // address is the address of the contract to query - string address = 1; -} -// QueryContractInfoResponse is the response type for the Query/ContractInfo RPC -// method -message QueryContractInfoResponse { - option (gogoproto.equal) = true; - - // address is the address of the contract - string address = 1; - ContractInfo contract_info = 2 [ - (gogoproto.embed) = true, - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "" - ]; -} - -// QueryContractHistoryRequest is the request type for the Query/ContractHistory -// RPC method -message QueryContractHistoryRequest { - // address is the address of the contract to query - string address = 1; - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryContractHistoryResponse is the response type for the -// Query/ContractHistory RPC method -message QueryContractHistoryResponse { - repeated ContractCodeHistoryEntry entries = 1 - [ (gogoproto.nullable) = false ]; - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryContractsByCodeRequest is the request type for the Query/ContractsByCode -// RPC method -message QueryContractsByCodeRequest { - uint64 code_id = 1; // grpc-gateway_out does not support Go style CodID - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryContractsByCodeResponse is the response type for the -// Query/ContractsByCode RPC method -message QueryContractsByCodeResponse { - // contracts are a set of contract addresses - repeated string contracts = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryAllContractStateRequest is the request type for the -// Query/AllContractState RPC method -message QueryAllContractStateRequest { - // address is the address of the contract - string address = 1; - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryAllContractStateResponse is the response type for the -// Query/AllContractState RPC method -message QueryAllContractStateResponse { - repeated Model models = 1 [ (gogoproto.nullable) = false ]; - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryRawContractStateRequest is the request type for the -// Query/RawContractState RPC method -message QueryRawContractStateRequest { - // address is the address of the contract - string address = 1; - bytes query_data = 2; -} - -// QueryRawContractStateResponse is the response type for the -// Query/RawContractState RPC method -message QueryRawContractStateResponse { - // Data contains the raw store data - bytes data = 1; -} - -// QuerySmartContractStateRequest is the request type for the -// Query/SmartContractState RPC method -message QuerySmartContractStateRequest { - // address is the address of the contract - string address = 1; - // QueryData contains the query data passed to the contract - bytes query_data = 2 [ (gogoproto.casttype) = "RawContractMessage" ]; -} - -// QuerySmartContractStateResponse is the response type for the -// Query/SmartContractState RPC method -message QuerySmartContractStateResponse { - // Data contains the json data returned from the smart contract - bytes data = 1 [ (gogoproto.casttype) = "RawContractMessage" ]; -} - -// QueryCodeRequest is the request type for the Query/Code RPC method -message QueryCodeRequest { - uint64 code_id = 1; // grpc-gateway_out does not support Go style CodID -} - -// CodeInfoResponse contains code meta data from CodeInfo -message CodeInfoResponse { - option (gogoproto.equal) = true; - - uint64 code_id = 1 [ - (gogoproto.customname) = "CodeID", - (gogoproto.jsontag) = "id" - ]; // id for legacy support - string creator = 2; - bytes data_hash = 3 - [ (gogoproto.casttype) = - "github.com/tendermint/tendermint/libs/bytes.HexBytes" ]; - // Used in v1beta1 - reserved 4, 5; -} - -// QueryCodeResponse is the response type for the Query/Code RPC method -message QueryCodeResponse { - option (gogoproto.equal) = true; - CodeInfoResponse code_info = 1 - [ (gogoproto.embed) = true, (gogoproto.jsontag) = "" ]; - bytes data = 2 [ (gogoproto.jsontag) = "data" ]; -} - -// QueryCodesRequest is the request type for the Query/Codes RPC method -message QueryCodesRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryCodesResponse is the response type for the Query/Codes RPC method -message QueryCodesResponse { - repeated CodeInfoResponse code_infos = 1 [ (gogoproto.nullable) = false ]; - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryPinnedCodesRequest is the request type for the Query/PinnedCodes -// RPC method -message QueryPinnedCodesRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryPinnedCodesResponse is the response type for the -// Query/PinnedCodes RPC method -message QueryPinnedCodesResponse { - repeated uint64 code_ids = 1 - [ (gogoproto.nullable) = false, (gogoproto.customname) = "CodeIDs" ]; - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/examples/authz/proto/cosmwasm/wasm/v1/tx.proto b/examples/authz/proto/cosmwasm/wasm/v1/tx.proto deleted file mode 100644 index 8295907e..00000000 --- a/examples/authz/proto/cosmwasm/wasm/v1/tx.proto +++ /dev/null @@ -1,135 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "cosmos/base/v1beta1/coin.proto"; -import "gogoproto/gogo.proto"; -import "cosmwasm/wasm/v1/types.proto"; - -option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; -option (gogoproto.goproto_getters_all) = false; - -// Msg defines the wasm Msg service. -service Msg { - // StoreCode to submit Wasm code to the system - rpc StoreCode(MsgStoreCode) returns (MsgStoreCodeResponse); - // Instantiate creates a new smart contract instance for the given code id. - rpc InstantiateContract(MsgInstantiateContract) - returns (MsgInstantiateContractResponse); - // Execute submits the given message data to a smart contract - rpc ExecuteContract(MsgExecuteContract) returns (MsgExecuteContractResponse); - // Migrate runs a code upgrade/ downgrade for a smart contract - rpc MigrateContract(MsgMigrateContract) returns (MsgMigrateContractResponse); - // UpdateAdmin sets a new admin for a smart contract - rpc UpdateAdmin(MsgUpdateAdmin) returns (MsgUpdateAdminResponse); - // ClearAdmin removes any admin stored for a smart contract - rpc ClearAdmin(MsgClearAdmin) returns (MsgClearAdminResponse); -} - -// MsgStoreCode submit Wasm code to the system -message MsgStoreCode { - // Sender is the that actor that signed the messages - string sender = 1; - // WASMByteCode can be raw or gzip compressed - bytes wasm_byte_code = 2 [ (gogoproto.customname) = "WASMByteCode" ]; - // Used in v1beta1 - reserved 3, 4; - // InstantiatePermission access control to apply on contract creation, - // optional - AccessConfig instantiate_permission = 5; -} -// MsgStoreCodeResponse returns store result data. -message MsgStoreCodeResponse { - // CodeID is the reference to the stored WASM code - uint64 code_id = 1 [ (gogoproto.customname) = "CodeID" ]; -} - -// MsgInstantiateContract create a new smart contract instance for the given -// code id. -message MsgInstantiateContract { - // Sender is the that actor that signed the messages - string sender = 1; - // Admin is an optional address that can execute migrations - string admin = 2; - // CodeID is the reference to the stored WASM code - uint64 code_id = 3 [ (gogoproto.customname) = "CodeID" ]; - // Label is optional metadata to be stored with a contract instance. - string label = 4; - // Msg json encoded message to be passed to the contract on instantiation - bytes msg = 5 [ (gogoproto.casttype) = "RawContractMessage" ]; - // Funds coins that are transferred to the contract on instantiation - repeated cosmos.base.v1beta1.Coin funds = 6 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} -// MsgInstantiateContractResponse return instantiation result data -message MsgInstantiateContractResponse { - // Address is the bech32 address of the new contract instance. - string address = 1; - // Data contains base64-encoded bytes to returned from the contract - bytes data = 2; -} - -// MsgExecuteContract submits the given message data to a smart contract -message MsgExecuteContract { - // Sender is the that actor that signed the messages - string sender = 1; - // Contract is the address of the smart contract - string contract = 2; - // Msg json encoded message to be passed to the contract - bytes msg = 3 [ (gogoproto.casttype) = "RawContractMessage" ]; - // Funds coins that are transferred to the contract on execution - repeated cosmos.base.v1beta1.Coin funds = 5 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -// MsgExecuteContractResponse returns execution result data. -message MsgExecuteContractResponse { - // Data contains base64-encoded bytes to returned from the contract - bytes data = 1; -} - -// MsgMigrateContract runs a code upgrade/ downgrade for a smart contract -message MsgMigrateContract { - // Sender is the that actor that signed the messages - string sender = 1; - // Contract is the address of the smart contract - string contract = 2; - // CodeID references the new WASM code - uint64 code_id = 3 [ (gogoproto.customname) = "CodeID" ]; - // Msg json encoded message to be passed to the contract on migration - bytes msg = 4 [ (gogoproto.casttype) = "RawContractMessage" ]; -} - -// MsgMigrateContractResponse returns contract migration result data. -message MsgMigrateContractResponse { - // Data contains same raw bytes returned as data from the wasm contract. - // (May be empty) - bytes data = 1; -} - -// MsgUpdateAdmin sets a new admin for a smart contract -message MsgUpdateAdmin { - // Sender is the that actor that signed the messages - string sender = 1; - // NewAdmin address to be set - string new_admin = 2; - // Contract is the address of the smart contract - string contract = 3; -} - -// MsgUpdateAdminResponse returns empty data -message MsgUpdateAdminResponse {} - -// MsgClearAdmin removes any admin stored for a smart contract -message MsgClearAdmin { - // Sender is the that actor that signed the messages - string sender = 1; - // Contract is the address of the smart contract - string contract = 3; -} - -// MsgClearAdminResponse returns empty data -message MsgClearAdminResponse {} diff --git a/examples/authz/proto/cosmwasm/wasm/v1/types.proto b/examples/authz/proto/cosmwasm/wasm/v1/types.proto deleted file mode 100644 index 7ee2f639..00000000 --- a/examples/authz/proto/cosmwasm/wasm/v1/types.proto +++ /dev/null @@ -1,140 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "cosmos_proto/cosmos.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; -option (gogoproto.goproto_getters_all) = false; -option (gogoproto.equal_all) = true; - -// AccessType permission types -enum AccessType { - option (gogoproto.goproto_enum_prefix) = false; - option (gogoproto.goproto_enum_stringer) = false; - // AccessTypeUnspecified placeholder for empty value - ACCESS_TYPE_UNSPECIFIED = 0 - [ (gogoproto.enumvalue_customname) = "AccessTypeUnspecified" ]; - // AccessTypeNobody forbidden - ACCESS_TYPE_NOBODY = 1 - [ (gogoproto.enumvalue_customname) = "AccessTypeNobody" ]; - // AccessTypeOnlyAddress restricted to an address - ACCESS_TYPE_ONLY_ADDRESS = 2 - [ (gogoproto.enumvalue_customname) = "AccessTypeOnlyAddress" ]; - // AccessTypeEverybody unrestricted - ACCESS_TYPE_EVERYBODY = 3 - [ (gogoproto.enumvalue_customname) = "AccessTypeEverybody" ]; -} - -// AccessTypeParam -message AccessTypeParam { - option (gogoproto.goproto_stringer) = true; - AccessType value = 1 [ (gogoproto.moretags) = "yaml:\"value\"" ]; -} - -// AccessConfig access control type. -message AccessConfig { - option (gogoproto.goproto_stringer) = true; - AccessType permission = 1 [ (gogoproto.moretags) = "yaml:\"permission\"" ]; - string address = 2 [ (gogoproto.moretags) = "yaml:\"address\"" ]; -} - -// Params defines the set of wasm parameters. -message Params { - option (gogoproto.goproto_stringer) = false; - AccessConfig code_upload_access = 1 [ - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"code_upload_access\"" - ]; - AccessType instantiate_default_permission = 2 - [ (gogoproto.moretags) = "yaml:\"instantiate_default_permission\"" ]; - uint64 max_wasm_code_size = 3 - [ (gogoproto.moretags) = "yaml:\"max_wasm_code_size\"" ]; -} - -// CodeInfo is data for the uploaded contract WASM code -message CodeInfo { - // CodeHash is the unique identifier created by wasmvm - bytes code_hash = 1; - // Creator address who initially stored the code - string creator = 2; - // Used in v1beta1 - reserved 3, 4; - // InstantiateConfig access control to apply on contract creation, optional - AccessConfig instantiate_config = 5 [ (gogoproto.nullable) = false ]; -} - -// ContractInfo stores a WASM contract instance -message ContractInfo { - option (gogoproto.equal) = true; - - // CodeID is the reference to the stored Wasm code - uint64 code_id = 1 [ (gogoproto.customname) = "CodeID" ]; - // Creator address who initially instantiated the contract - string creator = 2; - // Admin is an optional address that can execute migrations - string admin = 3; - // Label is optional metadata to be stored with a contract instance. - string label = 4; - // Created Tx position when the contract was instantiated. - // This data should kept internal and not be exposed via query results. Just - // use for sorting - AbsoluteTxPosition created = 5; - string ibc_port_id = 6 [ (gogoproto.customname) = "IBCPortID" ]; - - // Extension is an extension point to store custom metadata within the - // persistence model. - google.protobuf.Any extension = 7 - [ (cosmos_proto.accepts_interface) = "ContractInfoExtension" ]; -} - -// ContractCodeHistoryOperationType actions that caused a code change -enum ContractCodeHistoryOperationType { - option (gogoproto.goproto_enum_prefix) = false; - // ContractCodeHistoryOperationTypeUnspecified placeholder for empty value - CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0 - [ (gogoproto.enumvalue_customname) = - "ContractCodeHistoryOperationTypeUnspecified" ]; - // ContractCodeHistoryOperationTypeInit on chain contract instantiation - CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1 - [ (gogoproto.enumvalue_customname) = - "ContractCodeHistoryOperationTypeInit" ]; - // ContractCodeHistoryOperationTypeMigrate code migration - CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2 - [ (gogoproto.enumvalue_customname) = - "ContractCodeHistoryOperationTypeMigrate" ]; - // ContractCodeHistoryOperationTypeGenesis based on genesis data - CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3 - [ (gogoproto.enumvalue_customname) = - "ContractCodeHistoryOperationTypeGenesis" ]; -} - -// ContractCodeHistoryEntry metadata to a contract. -message ContractCodeHistoryEntry { - ContractCodeHistoryOperationType operation = 1; - // CodeID is the reference to the stored WASM code - uint64 code_id = 2 [ (gogoproto.customname) = "CodeID" ]; - // Updated Tx position when the operation was executed. - AbsoluteTxPosition updated = 3; - bytes msg = 4 [ (gogoproto.casttype) = "RawContractMessage" ]; -} - -// AbsoluteTxPosition is a unique transaction position that allows for global -// ordering of transactions. -message AbsoluteTxPosition { - // BlockHeight is the block the contract was created at - uint64 block_height = 1; - // TxIndex is a monotonic counter within the block (actual transaction index, - // or gas consumed) - uint64 tx_index = 2; -} - -// Model is a struct that holds a KV pair -message Model { - // hex-encode key to read it better (this is often ascii) - bytes key = 1 [ (gogoproto.casttype) = - "github.com/tendermint/tendermint/libs/bytes.HexBytes" ]; - // base64-encode raw value - bytes value = 2; -} diff --git a/examples/authz/proto/gogoproto/LICENSE b/examples/authz/proto/gogoproto/LICENSE deleted file mode 100644 index 992eb2bd..00000000 --- a/examples/authz/proto/gogoproto/LICENSE +++ /dev/null @@ -1,34 +0,0 @@ -Copyright (c) 2013, The GoGo Authors. All rights reserved. - -Protocol Buffers for Go with Gadgets - -Go support for Protocol Buffers - Google's data interchange format - -Copyright 2010 The Go Authors. All rights reserved. -https://github.com/golang/protobuf - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/examples/authz/proto/gogoproto/README.md b/examples/authz/proto/gogoproto/README.md deleted file mode 100644 index 4cfc4768..00000000 --- a/examples/authz/proto/gogoproto/README.md +++ /dev/null @@ -1 +0,0 @@ -# gogoproto \ No newline at end of file diff --git a/examples/authz/proto/gogoproto/gogo.proto b/examples/authz/proto/gogoproto/gogo.proto deleted file mode 100644 index 49e78f99..00000000 --- a/examples/authz/proto/gogoproto/gogo.proto +++ /dev/null @@ -1,145 +0,0 @@ -// Protocol Buffers for Go with Gadgets -// -// Copyright (c) 2013, The GoGo Authors. All rights reserved. -// http://github.com/gogo/protobuf -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -syntax = "proto2"; -package gogoproto; - -import "google/protobuf/descriptor.proto"; - -option java_package = "com.google.protobuf"; -option java_outer_classname = "GoGoProtos"; -option go_package = "github.com/gogo/protobuf/gogoproto"; - -extend google.protobuf.EnumOptions { - optional bool goproto_enum_prefix = 62001; - optional bool goproto_enum_stringer = 62021; - optional bool enum_stringer = 62022; - optional string enum_customname = 62023; - optional bool enumdecl = 62024; -} - -extend google.protobuf.EnumValueOptions { - optional string enumvalue_customname = 66001; -} - -extend google.protobuf.FileOptions { - optional bool goproto_getters_all = 63001; - optional bool goproto_enum_prefix_all = 63002; - optional bool goproto_stringer_all = 63003; - optional bool verbose_equal_all = 63004; - optional bool face_all = 63005; - optional bool gostring_all = 63006; - optional bool populate_all = 63007; - optional bool stringer_all = 63008; - optional bool onlyone_all = 63009; - - optional bool equal_all = 63013; - optional bool description_all = 63014; - optional bool testgen_all = 63015; - optional bool benchgen_all = 63016; - optional bool marshaler_all = 63017; - optional bool unmarshaler_all = 63018; - optional bool stable_marshaler_all = 63019; - - optional bool sizer_all = 63020; - - optional bool goproto_enum_stringer_all = 63021; - optional bool enum_stringer_all = 63022; - - optional bool unsafe_marshaler_all = 63023; - optional bool unsafe_unmarshaler_all = 63024; - - optional bool goproto_extensions_map_all = 63025; - optional bool goproto_unrecognized_all = 63026; - optional bool gogoproto_import = 63027; - optional bool protosizer_all = 63028; - optional bool compare_all = 63029; - optional bool typedecl_all = 63030; - optional bool enumdecl_all = 63031; - - optional bool goproto_registration = 63032; - optional bool messagename_all = 63033; - - optional bool goproto_sizecache_all = 63034; - optional bool goproto_unkeyed_all = 63035; -} - -extend google.protobuf.MessageOptions { - optional bool goproto_getters = 64001; - optional bool goproto_stringer = 64003; - optional bool verbose_equal = 64004; - optional bool face = 64005; - optional bool gostring = 64006; - optional bool populate = 64007; - optional bool stringer = 67008; - optional bool onlyone = 64009; - - optional bool equal = 64013; - optional bool description = 64014; - optional bool testgen = 64015; - optional bool benchgen = 64016; - optional bool marshaler = 64017; - optional bool unmarshaler = 64018; - optional bool stable_marshaler = 64019; - - optional bool sizer = 64020; - - optional bool unsafe_marshaler = 64023; - optional bool unsafe_unmarshaler = 64024; - - optional bool goproto_extensions_map = 64025; - optional bool goproto_unrecognized = 64026; - - optional bool protosizer = 64028; - optional bool compare = 64029; - - optional bool typedecl = 64030; - - optional bool messagename = 64033; - - optional bool goproto_sizecache = 64034; - optional bool goproto_unkeyed = 64035; -} - -extend google.protobuf.FieldOptions { - optional bool nullable = 65001; - optional bool embed = 65002; - optional string customtype = 65003; - optional string customname = 65004; - optional string jsontag = 65005; - optional string moretags = 65006; - optional string casttype = 65007; - optional string castkey = 65008; - optional string castvalue = 65009; - - optional bool stdtime = 65010; - optional bool stdduration = 65011; - optional bool wktpointer = 65012; - - optional string castrepeated = 65013; -} diff --git a/examples/authz/proto/google/LICENSE b/examples/authz/proto/google/LICENSE deleted file mode 100644 index 261eeb9e..00000000 --- a/examples/authz/proto/google/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/examples/authz/proto/google/README.md b/examples/authz/proto/google/README.md deleted file mode 100644 index 3bdc1f83..00000000 --- a/examples/authz/proto/google/README.md +++ /dev/null @@ -1 +0,0 @@ -# google \ No newline at end of file diff --git a/examples/authz/proto/google/api/annotations.proto b/examples/authz/proto/google/api/annotations.proto deleted file mode 100644 index efdab3db..00000000 --- a/examples/authz/proto/google/api/annotations.proto +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/api/http.proto"; -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "AnnotationsProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.MethodOptions { - // See `HttpRule`. - HttpRule http = 72295728; -} diff --git a/examples/authz/proto/google/api/http.proto b/examples/authz/proto/google/api/http.proto deleted file mode 100644 index 113fa936..00000000 --- a/examples/authz/proto/google/api/http.proto +++ /dev/null @@ -1,375 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "HttpProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -// Defines the HTTP configuration for an API service. It contains a list of -// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method -// to one or more HTTP REST API methods. -message Http { - // A list of HTTP configuration rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - repeated HttpRule rules = 1; - - // When set to true, URL path parameters will be fully URI-decoded except in - // cases of single segment matches in reserved expansion, where "%2F" will be - // left encoded. - // - // The default behavior is to not decode RFC 6570 reserved characters in multi - // segment matches. - bool fully_decode_reserved_expansion = 2; -} - -// # gRPC Transcoding -// -// gRPC Transcoding is a feature for mapping between a gRPC method and one or -// more HTTP REST endpoints. It allows developers to build a single API service -// that supports both gRPC APIs and REST APIs. Many systems, including [Google -// APIs](https://github.com/googleapis/googleapis), -// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC -// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), -// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature -// and use it for large scale production services. -// -// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -// how different portions of the gRPC request message are mapped to the URL -// path, URL query parameters, and HTTP request body. It also controls how the -// gRPC response message is mapped to the HTTP response body. `HttpRule` is -// typically specified as an `google.api.http` annotation on the gRPC method. -// -// Each mapping specifies a URL path template and an HTTP method. The path -// template may refer to one or more fields in the gRPC request message, as long -// as each field is a non-repeated field with a primitive (non-message) type. -// The path template controls how fields of the request message are mapped to -// the URL path. -// -// Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/{name=messages/*}" -// }; -// } -// } -// message GetMessageRequest { -// string name = 1; // Mapped to URL path. -// } -// message Message { -// string text = 1; // The resource content. -// } -// -// This enables an HTTP REST to gRPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` -// -// Any fields in the request message which are not bound by the path template -// automatically become HTTP query parameters if there is no HTTP request body. -// For example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get:"/v1/messages/{message_id}" -// }; -// } -// } -// message GetMessageRequest { -// message SubMessage { -// string subfield = 1; -// } -// string message_id = 1; // Mapped to URL path. -// int64 revision = 2; // Mapped to URL query parameter `revision`. -// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. -// } -// -// This enables a HTTP JSON to RPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | -// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: -// "foo"))` -// -// Note that fields which are mapped to URL query parameters must have a -// primitive type or a repeated primitive type or a non-repeated message type. -// In the case of a repeated type, the parameter can be repeated in the URL -// as `...?param=A¶m=B`. In the case of a message type, each field of the -// message is mapped to a separate parameter, such as -// `...?foo.a=A&foo.b=B&foo.c=C`. -// -// For HTTP methods that allow a request body, the `body` field -// specifies the mapping. Consider a REST update method on the -// message resource collection: -// -// service Messaging { -// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "message" -// }; -// } -// } -// message UpdateMessageRequest { -// string message_id = 1; // mapped to the URL -// Message message = 2; // mapped to the body -// } -// -// The following HTTP JSON to RPC mapping is enabled, where the -// representation of the JSON in the request body is determined by -// protos JSON encoding: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" message { text: "Hi!" })` -// -// The special name `*` can be used in the body mapping to define that -// every field not bound by the path template should be mapped to the -// request body. This enables the following alternative definition of -// the update method: -// -// service Messaging { -// rpc UpdateMessage(Message) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "*" -// }; -// } -// } -// message Message { -// string message_id = 1; -// string text = 2; -// } -// -// -// The following HTTP JSON to RPC mapping is enabled: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" text: "Hi!")` -// -// Note that when using `*` in the body mapping, it is not possible to -// have HTTP parameters, as all fields not bound by the path end in -// the body. This makes this option more rarely used in practice when -// defining REST APIs. The common usage of `*` is in custom methods -// which don't use the URL at all for transferring data. -// -// It is possible to define multiple HTTP methods for one RPC by using -// the `additional_bindings` option. Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/messages/{message_id}" -// additional_bindings { -// get: "/v1/users/{user_id}/messages/{message_id}" -// } -// }; -// } -// } -// message GetMessageRequest { -// string message_id = 1; -// string user_id = 2; -// } -// -// This enables the following two alternative HTTP JSON to RPC mappings: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -// "123456")` -// -// ## Rules for HTTP mapping -// -// 1. Leaf request fields (recursive expansion nested messages in the request -// message) are classified into three categories: -// - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP -// request body. -// - All other fields are passed via the URL query parameters, and the -// parameter name is the field path in the request message. A repeated -// field can be represented as multiple query parameters under the same -// name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields -// are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all -// fields are passed via URL path and URL query parameters. -// -// ### Path template syntax -// -// Template = "/" Segments [ Verb ] ; -// Segments = Segment { "/" Segment } ; -// Segment = "*" | "**" | LITERAL | Variable ; -// Variable = "{" FieldPath [ "=" Segments ] "}" ; -// FieldPath = IDENT { "." IDENT } ; -// Verb = ":" LITERAL ; -// -// The syntax `*` matches a single URL path segment. The syntax `**` matches -// zero or more URL path segments, which must be the last part of the URL path -// except the `Verb`. -// -// The syntax `Variable` matches part of the URL path as specified by its -// template. A variable template must not contain other variables. If a variable -// matches a single path segment, its template may be omitted, e.g. `{var}` -// is equivalent to `{var=*}`. -// -// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -// contains any reserved character, such characters should be percent-encoded -// before the matching. -// -// If a variable contains exactly one path segment, such as `"{var}"` or -// `"{var=*}"`, when such a variable is expanded into a URL path on the client -// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The -// server side does the reverse decoding. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{var}`. -// -// If a variable contains multiple path segments, such as `"{var=foo/*}"` -// or `"{var=**}"`, when such a variable is expanded into a URL path on the -// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. -// The server side does the reverse decoding, except "%2F" and "%2f" are left -// unchanged. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{+var}`. -// -// ## Using gRPC API Service Configuration -// -// gRPC API Service Configuration (service config) is a configuration language -// for configuring a gRPC service to become a user-facing product. The -// service config is simply the YAML representation of the `google.api.Service` -// proto message. -// -// As an alternative to annotating your proto file, you can configure gRPC -// transcoding in your service config YAML files. You do this by specifying a -// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -// effect as the proto annotation. This can be particularly useful if you -// have a proto that is reused in multiple services. Note that any transcoding -// specified in the service config will override any matching transcoding -// configuration in the proto. -// -// Example: -// -// http: -// rules: -// # Selects a gRPC method and applies HttpRule to it. -// - selector: example.v1.Messaging.GetMessage -// get: /v1/messages/{message_id}/{sub.subfield} -// -// ## Special notes -// -// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -// proto to JSON conversion must follow the [proto3 -// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). -// -// While the single segment variable follows the semantics of -// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -// Expansion, the multi segment variable **does not** follow RFC 6570 Section -// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -// does not expand special characters like `?` and `#`, which would lead -// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -// for multi segment variables. -// -// The path variables **must not** refer to any repeated or mapped field, -// because client libraries are not capable of handling such variable expansion. -// -// The path variables **must not** capture the leading "/" character. The reason -// is that the most common use case "{var}" does not capture the leading "/" -// character. For consistency, all path variables must share the same behavior. -// -// Repeated message fields must not be mapped to URL query parameters, because -// no client library can support such complicated mapping. -// -// If an API needs to use a JSON array for request or response body, it can map -// the request or response body to a repeated field. However, some gRPC -// Transcoding implementations may not support this feature. -message HttpRule { - // Selects a method to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - string selector = 1; - - // Determines the URL pattern is matched by this rules. This pattern can be - // used with any of the {get|put|post|delete|patch} methods. A custom method - // can be defined using the 'custom' field. - oneof pattern { - // Maps to HTTP GET. Used for listing and getting information about - // resources. - string get = 2; - - // Maps to HTTP PUT. Used for replacing a resource. - string put = 3; - - // Maps to HTTP POST. Used for creating a resource or performing an action. - string post = 4; - - // Maps to HTTP DELETE. Used for deleting a resource. - string delete = 5; - - // Maps to HTTP PATCH. Used for updating a resource. - string patch = 6; - - // The custom pattern is used for specifying an HTTP method that is not - // included in the `pattern` field, such as HEAD, or "*" to leave the - // HTTP method unspecified for this rule. The wild-card rule is useful - // for services that provide content to Web (HTML) clients. - CustomHttpPattern custom = 8; - } - - // The name of the request field whose value is mapped to the HTTP request - // body, or `*` for mapping all request fields not captured by the path - // pattern to the HTTP body, or omitted for not having any HTTP request body. - // - // NOTE: the referred field must be present at the top-level of the request - // message type. - string body = 7; - - // Optional. The name of the response field whose value is mapped to the HTTP - // response body. When omitted, the entire response message will be used - // as the HTTP response body. - // - // NOTE: The referred field must be present at the top-level of the response - // message type. - string response_body = 12; - - // Additional HTTP bindings for the selector. Nested bindings must - // not contain an `additional_bindings` field themselves (that is, - // the nesting may only be one level deep). - repeated HttpRule additional_bindings = 11; -} - -// A custom pattern is used for defining custom HTTP verb. -message CustomHttpPattern { - // The name of this custom HTTP verb. - string kind = 1; - - // The path matched by this custom verb. - string path = 2; -} diff --git a/examples/authz/proto/google/protobuf/any.proto b/examples/authz/proto/google/protobuf/any.proto deleted file mode 100644 index 4cf3843b..00000000 --- a/examples/authz/proto/google/protobuf/any.proto +++ /dev/null @@ -1,155 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -syntax = "proto3"; - -package google.protobuf; - -option csharp_namespace = "Google.Protobuf.WellKnownTypes"; -option go_package = "types"; -option java_package = "com.google.protobuf"; -option java_outer_classname = "AnyProto"; -option java_multiple_files = true; -option objc_class_prefix = "GPB"; - -// `Any` contains an arbitrary serialized protocol buffer message along with a -// URL that describes the type of the serialized message. -// -// Protobuf library provides support to pack/unpack Any values in the form -// of utility functions or additional generated methods of the Any type. -// -// Example 1: Pack and unpack a message in C++. -// -// Foo foo = ...; -// Any any; -// any.PackFrom(foo); -// ... -// if (any.UnpackTo(&foo)) { -// ... -// } -// -// Example 2: Pack and unpack a message in Java. -// -// Foo foo = ...; -// Any any = Any.pack(foo); -// ... -// if (any.is(Foo.class)) { -// foo = any.unpack(Foo.class); -// } -// -// Example 3: Pack and unpack a message in Python. -// -// foo = Foo(...) -// any = Any() -// any.Pack(foo) -// ... -// if any.Is(Foo.DESCRIPTOR): -// any.Unpack(foo) -// ... -// -// Example 4: Pack and unpack a message in Go -// -// foo := &pb.Foo{...} -// any, err := ptypes.MarshalAny(foo) -// ... -// foo := &pb.Foo{} -// if err := ptypes.UnmarshalAny(any, foo); err != nil { -// ... -// } -// -// The pack methods provided by protobuf library will by default use -// 'type.googleapis.com/full.type.name' as the type URL and the unpack -// methods only use the fully qualified type name after the last '/' -// in the type URL, for example "foo.bar.com/x/y.z" will yield type -// name "y.z". -// -// -// JSON -// ==== -// The JSON representation of an `Any` value uses the regular -// representation of the deserialized, embedded message, with an -// additional field `@type` which contains the type URL. Example: -// -// package google.profile; -// message Person { -// string first_name = 1; -// string last_name = 2; -// } -// -// { -// "@type": "type.googleapis.com/google.profile.Person", -// "firstName": , -// "lastName": -// } -// -// If the embedded message type is well-known and has a custom JSON -// representation, that representation will be embedded adding a field -// `value` which holds the custom JSON in addition to the `@type` -// field. Example (for message [google.protobuf.Duration][]): -// -// { -// "@type": "type.googleapis.com/google.protobuf.Duration", -// "value": "1.212s" -// } -// -message Any { - // A URL/resource name that uniquely identifies the type of the serialized - // protocol buffer message. This string must contain at least - // one "/" character. The last segment of the URL's path must represent - // the fully qualified name of the type (as in - // `path/google.protobuf.Duration`). The name should be in a canonical form - // (e.g., leading "." is not accepted). - // - // In practice, teams usually precompile into the binary all types that they - // expect it to use in the context of Any. However, for URLs which use the - // scheme `http`, `https`, or no scheme, one can optionally set up a type - // server that maps type URLs to message definitions as follows: - // - // * If no scheme is provided, `https` is assumed. - // * An HTTP GET on the URL must yield a [google.protobuf.Type][] - // value in binary format, or produce an error. - // * Applications are allowed to cache lookup results based on the - // URL, or have them precompiled into a binary to avoid any - // lookup. Therefore, binary compatibility needs to be preserved - // on changes to types. (Use versioned type names to manage - // breaking changes.) - // - // Note: this functionality is not currently available in the official - // protobuf release, and it is not used for type URLs beginning with - // type.googleapis.com. - // - // Schemes other than `http`, `https` (or the empty scheme) might be - // used with implementation specific semantics. - // - string type_url = 1; - - // Must be a valid serialized protocol buffer of the above specified type. - bytes value = 2; -} diff --git a/examples/authz/proto/google/protobuf/descriptor.proto b/examples/authz/proto/google/protobuf/descriptor.proto deleted file mode 100644 index 4a08905a..00000000 --- a/examples/authz/proto/google/protobuf/descriptor.proto +++ /dev/null @@ -1,885 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// Author: kenton@google.com (Kenton Varda) -// Based on original Protocol Buffers design by -// Sanjay Ghemawat, Jeff Dean, and others. -// -// The messages in this file describe the definitions found in .proto files. -// A valid .proto file can be translated directly to a FileDescriptorProto -// without any other information (e.g. without reading its imports). - - -syntax = "proto2"; - -package google.protobuf; - -option go_package = "descriptor"; -option java_package = "com.google.protobuf"; -option java_outer_classname = "DescriptorProtos"; -option csharp_namespace = "Google.Protobuf.Reflection"; -option objc_class_prefix = "GPB"; -option cc_enable_arenas = true; - -// descriptor.proto must be optimized for speed because reflection-based -// algorithms don't work during bootstrapping. -option optimize_for = SPEED; - -// The protocol compiler can output a FileDescriptorSet containing the .proto -// files it parses. -message FileDescriptorSet { - repeated FileDescriptorProto file = 1; -} - -// Describes a complete .proto file. -message FileDescriptorProto { - optional string name = 1; // file name, relative to root of source tree - optional string package = 2; // e.g. "foo", "foo.bar", etc. - - // Names of files imported by this file. - repeated string dependency = 3; - // Indexes of the public imported files in the dependency list above. - repeated int32 public_dependency = 10; - // Indexes of the weak imported files in the dependency list. - // For Google-internal migration only. Do not use. - repeated int32 weak_dependency = 11; - - // All top-level definitions in this file. - repeated DescriptorProto message_type = 4; - repeated EnumDescriptorProto enum_type = 5; - repeated ServiceDescriptorProto service = 6; - repeated FieldDescriptorProto extension = 7; - - optional FileOptions options = 8; - - // This field contains optional information about the original source code. - // You may safely remove this entire field without harming runtime - // functionality of the descriptors -- the information is needed only by - // development tools. - optional SourceCodeInfo source_code_info = 9; - - // The syntax of the proto file. - // The supported values are "proto2" and "proto3". - optional string syntax = 12; -} - -// Describes a message type. -message DescriptorProto { - optional string name = 1; - - repeated FieldDescriptorProto field = 2; - repeated FieldDescriptorProto extension = 6; - - repeated DescriptorProto nested_type = 3; - repeated EnumDescriptorProto enum_type = 4; - - message ExtensionRange { - optional int32 start = 1; // Inclusive. - optional int32 end = 2; // Exclusive. - - optional ExtensionRangeOptions options = 3; - } - repeated ExtensionRange extension_range = 5; - - repeated OneofDescriptorProto oneof_decl = 8; - - optional MessageOptions options = 7; - - // Range of reserved tag numbers. Reserved tag numbers may not be used by - // fields or extension ranges in the same message. Reserved ranges may - // not overlap. - message ReservedRange { - optional int32 start = 1; // Inclusive. - optional int32 end = 2; // Exclusive. - } - repeated ReservedRange reserved_range = 9; - // Reserved field names, which may not be used by fields in the same message. - // A given name may only be reserved once. - repeated string reserved_name = 10; -} - -message ExtensionRangeOptions { - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -// Describes a field within a message. -message FieldDescriptorProto { - enum Type { - // 0 is reserved for errors. - // Order is weird for historical reasons. - TYPE_DOUBLE = 1; - TYPE_FLOAT = 2; - // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - // negative values are likely. - TYPE_INT64 = 3; - TYPE_UINT64 = 4; - // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - // negative values are likely. - TYPE_INT32 = 5; - TYPE_FIXED64 = 6; - TYPE_FIXED32 = 7; - TYPE_BOOL = 8; - TYPE_STRING = 9; - // Tag-delimited aggregate. - // Group type is deprecated and not supported in proto3. However, Proto3 - // implementations should still be able to parse the group wire format and - // treat group fields as unknown fields. - TYPE_GROUP = 10; - TYPE_MESSAGE = 11; // Length-delimited aggregate. - - // New in version 2. - TYPE_BYTES = 12; - TYPE_UINT32 = 13; - TYPE_ENUM = 14; - TYPE_SFIXED32 = 15; - TYPE_SFIXED64 = 16; - TYPE_SINT32 = 17; // Uses ZigZag encoding. - TYPE_SINT64 = 18; // Uses ZigZag encoding. - } - - enum Label { - // 0 is reserved for errors - LABEL_OPTIONAL = 1; - LABEL_REQUIRED = 2; - LABEL_REPEATED = 3; - } - - optional string name = 1; - optional int32 number = 3; - optional Label label = 4; - - // If type_name is set, this need not be set. If both this and type_name - // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - optional Type type = 5; - - // For message and enum types, this is the name of the type. If the name - // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - // rules are used to find the type (i.e. first the nested types within this - // message are searched, then within the parent, on up to the root - // namespace). - optional string type_name = 6; - - // For extensions, this is the name of the type being extended. It is - // resolved in the same manner as type_name. - optional string extendee = 2; - - // For numeric types, contains the original text representation of the value. - // For booleans, "true" or "false". - // For strings, contains the default text contents (not escaped in any way). - // For bytes, contains the C escaped value. All bytes >= 128 are escaped. - // TODO(kenton): Base-64 encode? - optional string default_value = 7; - - // If set, gives the index of a oneof in the containing type's oneof_decl - // list. This field is a member of that oneof. - optional int32 oneof_index = 9; - - // JSON name of this field. The value is set by protocol compiler. If the - // user has set a "json_name" option on this field, that option's value - // will be used. Otherwise, it's deduced from the field's name by converting - // it to camelCase. - optional string json_name = 10; - - optional FieldOptions options = 8; -} - -// Describes a oneof. -message OneofDescriptorProto { - optional string name = 1; - optional OneofOptions options = 2; -} - -// Describes an enum type. -message EnumDescriptorProto { - optional string name = 1; - - repeated EnumValueDescriptorProto value = 2; - - optional EnumOptions options = 3; - - // Range of reserved numeric values. Reserved values may not be used by - // entries in the same enum. Reserved ranges may not overlap. - // - // Note that this is distinct from DescriptorProto.ReservedRange in that it - // is inclusive such that it can appropriately represent the entire int32 - // domain. - message EnumReservedRange { - optional int32 start = 1; // Inclusive. - optional int32 end = 2; // Inclusive. - } - - // Range of reserved numeric values. Reserved numeric values may not be used - // by enum values in the same enum declaration. Reserved ranges may not - // overlap. - repeated EnumReservedRange reserved_range = 4; - - // Reserved enum value names, which may not be reused. A given name may only - // be reserved once. - repeated string reserved_name = 5; -} - -// Describes a value within an enum. -message EnumValueDescriptorProto { - optional string name = 1; - optional int32 number = 2; - - optional EnumValueOptions options = 3; -} - -// Describes a service. -message ServiceDescriptorProto { - optional string name = 1; - repeated MethodDescriptorProto method = 2; - - optional ServiceOptions options = 3; -} - -// Describes a method of a service. -message MethodDescriptorProto { - optional string name = 1; - - // Input and output type names. These are resolved in the same way as - // FieldDescriptorProto.type_name, but must refer to a message type. - optional string input_type = 2; - optional string output_type = 3; - - optional MethodOptions options = 4; - - // Identifies if client streams multiple client messages - optional bool client_streaming = 5 [default = false]; - // Identifies if server streams multiple server messages - optional bool server_streaming = 6 [default = false]; -} - - -// =================================================================== -// Options - -// Each of the definitions above may have "options" attached. These are -// just annotations which may cause code to be generated slightly differently -// or may contain hints for code that manipulates protocol messages. -// -// Clients may define custom options as extensions of the *Options messages. -// These extensions may not yet be known at parsing time, so the parser cannot -// store the values in them. Instead it stores them in a field in the *Options -// message called uninterpreted_option. This field must have the same name -// across all *Options messages. We then use this field to populate the -// extensions when we build a descriptor, at which point all protos have been -// parsed and so all extensions are known. -// -// Extension numbers for custom options may be chosen as follows: -// * For options which will only be used within a single application or -// organization, or for experimental options, use field numbers 50000 -// through 99999. It is up to you to ensure that you do not use the -// same number for multiple options. -// * For options which will be published and used publicly by multiple -// independent entities, e-mail protobuf-global-extension-registry@google.com -// to reserve extension numbers. Simply provide your project name (e.g. -// Objective-C plugin) and your project website (if available) -- there's no -// need to explain how you intend to use them. Usually you only need one -// extension number. You can declare multiple options with only one extension -// number by putting them in a sub-message. See the Custom Options section of -// the docs for examples: -// https://developers.google.com/protocol-buffers/docs/proto#options -// If this turns out to be popular, a web service will be set up -// to automatically assign option numbers. - -message FileOptions { - - // Sets the Java package where classes generated from this .proto will be - // placed. By default, the proto package is used, but this is often - // inappropriate because proto packages do not normally start with backwards - // domain names. - optional string java_package = 1; - - - // If set, all the classes from the .proto file are wrapped in a single - // outer class with the given name. This applies to both Proto1 - // (equivalent to the old "--one_java_file" option) and Proto2 (where - // a .proto always translates to a single class, but you may want to - // explicitly choose the class name). - optional string java_outer_classname = 8; - - // If set true, then the Java code generator will generate a separate .java - // file for each top-level message, enum, and service defined in the .proto - // file. Thus, these types will *not* be nested inside the outer class - // named by java_outer_classname. However, the outer class will still be - // generated to contain the file's getDescriptor() method as well as any - // top-level extensions defined in the file. - optional bool java_multiple_files = 10 [default = false]; - - // This option does nothing. - optional bool java_generate_equals_and_hash = 20 [deprecated=true]; - - // If set true, then the Java2 code generator will generate code that - // throws an exception whenever an attempt is made to assign a non-UTF-8 - // byte sequence to a string field. - // Message reflection will do the same. - // However, an extension field still accepts non-UTF-8 byte sequences. - // This option has no effect on when used with the lite runtime. - optional bool java_string_check_utf8 = 27 [default = false]; - - - // Generated classes can be optimized for speed or code size. - enum OptimizeMode { - SPEED = 1; // Generate complete code for parsing, serialization, - // etc. - CODE_SIZE = 2; // Use ReflectionOps to implement these methods. - LITE_RUNTIME = 3; // Generate code using MessageLite and the lite runtime. - } - optional OptimizeMode optimize_for = 9 [default = SPEED]; - - // Sets the Go package where structs generated from this .proto will be - // placed. If omitted, the Go package will be derived from the following: - // - The basename of the package import path, if provided. - // - Otherwise, the package statement in the .proto file, if present. - // - Otherwise, the basename of the .proto file, without extension. - optional string go_package = 11; - - - - - // Should generic services be generated in each language? "Generic" services - // are not specific to any particular RPC system. They are generated by the - // main code generators in each language (without additional plugins). - // Generic services were the only kind of service generation supported by - // early versions of google.protobuf. - // - // Generic services are now considered deprecated in favor of using plugins - // that generate code specific to your particular RPC system. Therefore, - // these default to false. Old code which depends on generic services should - // explicitly set them to true. - optional bool cc_generic_services = 16 [default = false]; - optional bool java_generic_services = 17 [default = false]; - optional bool py_generic_services = 18 [default = false]; - optional bool php_generic_services = 42 [default = false]; - - // Is this file deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for everything in the file, or it will be completely ignored; in the very - // least, this is a formalization for deprecating files. - optional bool deprecated = 23 [default = false]; - - // Enables the use of arenas for the proto messages in this file. This applies - // only to generated classes for C++. - optional bool cc_enable_arenas = 31 [default = false]; - - - // Sets the objective c class prefix which is prepended to all objective c - // generated classes from this .proto. There is no default. - optional string objc_class_prefix = 36; - - // Namespace for generated classes; defaults to the package. - optional string csharp_namespace = 37; - - // By default Swift generators will take the proto package and CamelCase it - // replacing '.' with underscore and use that to prefix the types/symbols - // defined. When this options is provided, they will use this value instead - // to prefix the types/symbols defined. - optional string swift_prefix = 39; - - // Sets the php class prefix which is prepended to all php generated classes - // from this .proto. Default is empty. - optional string php_class_prefix = 40; - - // Use this option to change the namespace of php generated classes. Default - // is empty. When this option is empty, the package name will be used for - // determining the namespace. - optional string php_namespace = 41; - - // Use this option to change the namespace of php generated metadata classes. - // Default is empty. When this option is empty, the proto file name will be - // used for determining the namespace. - optional string php_metadata_namespace = 44; - - // Use this option to change the package of ruby generated classes. Default - // is empty. When this option is not set, the package name will be used for - // determining the ruby package. - optional string ruby_package = 45; - - - // The parser stores options it doesn't recognize here. - // See the documentation for the "Options" section above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. - // See the documentation for the "Options" section above. - extensions 1000 to max; - - //reserved 38; -} - -message MessageOptions { - // Set true to use the old proto1 MessageSet wire format for extensions. - // This is provided for backwards-compatibility with the MessageSet wire - // format. You should not use this for any other reason: It's less - // efficient, has fewer features, and is more complicated. - // - // The message must be defined exactly as follows: - // message Foo { - // option message_set_wire_format = true; - // extensions 4 to max; - // } - // Note that the message cannot have any defined fields; MessageSets only - // have extensions. - // - // All extensions of your type must be singular messages; e.g. they cannot - // be int32s, enums, or repeated messages. - // - // Because this is an option, the above two restrictions are not enforced by - // the protocol compiler. - optional bool message_set_wire_format = 1 [default = false]; - - // Disables the generation of the standard "descriptor()" accessor, which can - // conflict with a field of the same name. This is meant to make migration - // from proto1 easier; new code should avoid fields named "descriptor". - optional bool no_standard_descriptor_accessor = 2 [default = false]; - - // Is this message deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the message, or it will be completely ignored; in the very least, - // this is a formalization for deprecating messages. - optional bool deprecated = 3 [default = false]; - - // Whether the message is an automatically generated map entry type for the - // maps field. - // - // For maps fields: - // map map_field = 1; - // The parsed descriptor looks like: - // message MapFieldEntry { - // option map_entry = true; - // optional KeyType key = 1; - // optional ValueType value = 2; - // } - // repeated MapFieldEntry map_field = 1; - // - // Implementations may choose not to generate the map_entry=true message, but - // use a native map in the target language to hold the keys and values. - // The reflection APIs in such implementations still need to work as - // if the field is a repeated message field. - // - // NOTE: Do not set the option in .proto files. Always use the maps syntax - // instead. The option should only be implicitly set by the proto compiler - // parser. - optional bool map_entry = 7; - - //reserved 8; // javalite_serializable - //reserved 9; // javanano_as_lite - - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -message FieldOptions { - // The ctype option instructs the C++ code generator to use a different - // representation of the field than it normally would. See the specific - // options below. This option is not yet implemented in the open source - // release -- sorry, we'll try to include it in a future version! - optional CType ctype = 1 [default = STRING]; - enum CType { - // Default mode. - STRING = 0; - - CORD = 1; - - STRING_PIECE = 2; - } - // The packed option can be enabled for repeated primitive fields to enable - // a more efficient representation on the wire. Rather than repeatedly - // writing the tag and type for each element, the entire array is encoded as - // a single length-delimited blob. In proto3, only explicit setting it to - // false will avoid using packed encoding. - optional bool packed = 2; - - // The jstype option determines the JavaScript type used for values of the - // field. The option is permitted only for 64 bit integral and fixed types - // (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - // is represented as JavaScript string, which avoids loss of precision that - // can happen when a large value is converted to a floating point JavaScript. - // Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - // use the JavaScript "number" type. The behavior of the default option - // JS_NORMAL is implementation dependent. - // - // This option is an enum to permit additional types to be added, e.g. - // goog.math.Integer. - optional JSType jstype = 6 [default = JS_NORMAL]; - enum JSType { - // Use the default type. - JS_NORMAL = 0; - - // Use JavaScript strings. - JS_STRING = 1; - - // Use JavaScript numbers. - JS_NUMBER = 2; - } - - // Should this field be parsed lazily? Lazy applies only to message-type - // fields. It means that when the outer message is initially parsed, the - // inner message's contents will not be parsed but instead stored in encoded - // form. The inner message will actually be parsed when it is first accessed. - // - // This is only a hint. Implementations are free to choose whether to use - // eager or lazy parsing regardless of the value of this option. However, - // setting this option true suggests that the protocol author believes that - // using lazy parsing on this field is worth the additional bookkeeping - // overhead typically needed to implement it. - // - // This option does not affect the public interface of any generated code; - // all method signatures remain the same. Furthermore, thread-safety of the - // interface is not affected by this option; const methods remain safe to - // call from multiple threads concurrently, while non-const methods continue - // to require exclusive access. - // - // - // Note that implementations may choose not to check required fields within - // a lazy sub-message. That is, calling IsInitialized() on the outer message - // may return true even if the inner message has missing required fields. - // This is necessary because otherwise the inner message would have to be - // parsed in order to perform the check, defeating the purpose of lazy - // parsing. An implementation which chooses not to check required fields - // must be consistent about it. That is, for any particular sub-message, the - // implementation must either *always* check its required fields, or *never* - // check its required fields, regardless of whether or not the message has - // been parsed. - optional bool lazy = 5 [default = false]; - - // Is this field deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for accessors, or it will be completely ignored; in the very least, this - // is a formalization for deprecating fields. - optional bool deprecated = 3 [default = false]; - - // For Google-internal migration only. Do not use. - optional bool weak = 10 [default = false]; - - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; - - //reserved 4; // removed jtype -} - -message OneofOptions { - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -message EnumOptions { - - // Set this option to true to allow mapping different tag names to the same - // value. - optional bool allow_alias = 2; - - // Is this enum deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the enum, or it will be completely ignored; in the very least, this - // is a formalization for deprecating enums. - optional bool deprecated = 3 [default = false]; - - //reserved 5; // javanano_as_lite - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -message EnumValueOptions { - // Is this enum value deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the enum value, or it will be completely ignored; in the very least, - // this is a formalization for deprecating enum values. - optional bool deprecated = 1 [default = false]; - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -message ServiceOptions { - - // Note: Field numbers 1 through 32 are reserved for Google's internal RPC - // framework. We apologize for hoarding these numbers to ourselves, but - // we were already using them long before we decided to release Protocol - // Buffers. - - // Is this service deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the service, or it will be completely ignored; in the very least, - // this is a formalization for deprecating services. - optional bool deprecated = 33 [default = false]; - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -message MethodOptions { - - // Note: Field numbers 1 through 32 are reserved for Google's internal RPC - // framework. We apologize for hoarding these numbers to ourselves, but - // we were already using them long before we decided to release Protocol - // Buffers. - - // Is this method deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the method, or it will be completely ignored; in the very least, - // this is a formalization for deprecating methods. - optional bool deprecated = 33 [default = false]; - - // Is this method side-effect-free (or safe in HTTP parlance), or idempotent, - // or neither? HTTP based RPC implementation may choose GET verb for safe - // methods, and PUT verb for idempotent methods instead of the default POST. - enum IdempotencyLevel { - IDEMPOTENCY_UNKNOWN = 0; - NO_SIDE_EFFECTS = 1; // implies idempotent - IDEMPOTENT = 2; // idempotent, but may have side effects - } - optional IdempotencyLevel idempotency_level = 34 - [default = IDEMPOTENCY_UNKNOWN]; - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - - -// A message representing a option the parser does not recognize. This only -// appears in options protos created by the compiler::Parser class. -// DescriptorPool resolves these when building Descriptor objects. Therefore, -// options protos in descriptor objects (e.g. returned by Descriptor::options(), -// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions -// in them. -message UninterpretedOption { - // The name of the uninterpreted option. Each string represents a segment in - // a dot-separated name. is_extension is true iff a segment represents an - // extension (denoted with parentheses in options specs in .proto files). - // E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents - // "foo.(bar.baz).qux". - message NamePart { - required string name_part = 1; - required bool is_extension = 2; - } - repeated NamePart name = 2; - - // The value of the uninterpreted option, in whatever type the tokenizer - // identified it as during parsing. Exactly one of these should be set. - optional string identifier_value = 3; - optional uint64 positive_int_value = 4; - optional int64 negative_int_value = 5; - optional double double_value = 6; - optional bytes string_value = 7; - optional string aggregate_value = 8; -} - -// =================================================================== -// Optional source code info - -// Encapsulates information about the original source file from which a -// FileDescriptorProto was generated. -message SourceCodeInfo { - // A Location identifies a piece of source code in a .proto file which - // corresponds to a particular definition. This information is intended - // to be useful to IDEs, code indexers, documentation generators, and similar - // tools. - // - // For example, say we have a file like: - // message Foo { - // optional string foo = 1; - // } - // Let's look at just the field definition: - // optional string foo = 1; - // ^ ^^ ^^ ^ ^^^ - // a bc de f ghi - // We have the following locations: - // span path represents - // [a,i) [ 4, 0, 2, 0 ] The whole field definition. - // [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - // [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - // [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - // [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - // - // Notes: - // - A location may refer to a repeated field itself (i.e. not to any - // particular index within it). This is used whenever a set of elements are - // logically enclosed in a single code segment. For example, an entire - // extend block (possibly containing multiple extension definitions) will - // have an outer location whose path refers to the "extensions" repeated - // field without an index. - // - Multiple locations may have the same path. This happens when a single - // logical declaration is spread out across multiple places. The most - // obvious example is the "extend" block again -- there may be multiple - // extend blocks in the same scope, each of which will have the same path. - // - A location's span is not always a subset of its parent's span. For - // example, the "extendee" of an extension declaration appears at the - // beginning of the "extend" block and is shared by all extensions within - // the block. - // - Just because a location's span is a subset of some other location's span - // does not mean that it is a descendant. For example, a "group" defines - // both a type and a field in a single declaration. Thus, the locations - // corresponding to the type and field and their components will overlap. - // - Code which tries to interpret locations should probably be designed to - // ignore those that it doesn't understand, as more types of locations could - // be recorded in the future. - repeated Location location = 1; - message Location { - // Identifies which part of the FileDescriptorProto was defined at this - // location. - // - // Each element is a field number or an index. They form a path from - // the root FileDescriptorProto to the place where the definition. For - // example, this path: - // [ 4, 3, 2, 7, 1 ] - // refers to: - // file.message_type(3) // 4, 3 - // .field(7) // 2, 7 - // .name() // 1 - // This is because FileDescriptorProto.message_type has field number 4: - // repeated DescriptorProto message_type = 4; - // and DescriptorProto.field has field number 2: - // repeated FieldDescriptorProto field = 2; - // and FieldDescriptorProto.name has field number 1: - // optional string name = 1; - // - // Thus, the above path gives the location of a field name. If we removed - // the last element: - // [ 4, 3, 2, 7 ] - // this path refers to the whole field declaration (from the beginning - // of the label to the terminating semicolon). - repeated int32 path = 1 [packed = true]; - - // Always has exactly three or four elements: start line, start column, - // end line (optional, otherwise assumed same as start line), end column. - // These are packed into a single field for efficiency. Note that line - // and column numbers are zero-based -- typically you will want to add - // 1 to each before displaying to a user. - repeated int32 span = 2 [packed = true]; - - // If this SourceCodeInfo represents a complete declaration, these are any - // comments appearing before and after the declaration which appear to be - // attached to the declaration. - // - // A series of line comments appearing on consecutive lines, with no other - // tokens appearing on those lines, will be treated as a single comment. - // - // leading_detached_comments will keep paragraphs of comments that appear - // before (but not connected to) the current element. Each paragraph, - // separated by empty lines, will be one comment element in the repeated - // field. - // - // Only the comment content is provided; comment markers (e.g. //) are - // stripped out. For block comments, leading whitespace and an asterisk - // will be stripped from the beginning of each line other than the first. - // Newlines are included in the output. - // - // Examples: - // - // optional int32 foo = 1; // Comment attached to foo. - // // Comment attached to bar. - // optional int32 bar = 2; - // - // optional string baz = 3; - // // Comment attached to baz. - // // Another line attached to baz. - // - // // Comment attached to qux. - // // - // // Another line attached to qux. - // optional double qux = 4; - // - // // Detached comment for corge. This is not leading or trailing comments - // // to qux or corge because there are blank lines separating it from - // // both. - // - // // Detached comment for corge paragraph 2. - // - // optional string corge = 5; - // /* Block comment attached - // * to corge. Leading asterisks - // * will be removed. */ - // /* Block comment attached to - // * grault. */ - // optional int32 grault = 6; - // - // // ignored detached comments. - optional string leading_comments = 3; - optional string trailing_comments = 4; - repeated string leading_detached_comments = 6; - } -} - -// Describes the relationship between generated code and its original source -// file. A GeneratedCodeInfo message is associated with only one generated -// source file, but may contain references to different source .proto files. -message GeneratedCodeInfo { - // An Annotation connects some span of text in generated code to an element - // of its generating .proto file. - repeated Annotation annotation = 1; - message Annotation { - // Identifies the element in the original source .proto file. This field - // is formatted the same as SourceCodeInfo.Location.path. - repeated int32 path = 1 [packed = true]; - - // Identifies the filesystem path to the original source .proto. - optional string source_file = 2; - - // Identifies the starting offset in bytes in the generated code - // that relates to the identified object. - optional int32 begin = 3; - - // Identifies the ending offset in bytes in the generated code that - // relates to the identified offset. The end offset should be one past - // the last relevant byte (so the length of the text = end - begin). - optional int32 end = 4; - } -} diff --git a/examples/authz/proto/google/protobuf/duration.proto b/examples/authz/proto/google/protobuf/duration.proto deleted file mode 100644 index b14bea5d..00000000 --- a/examples/authz/proto/google/protobuf/duration.proto +++ /dev/null @@ -1,116 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -syntax = "proto3"; - -package google.protobuf; - -option csharp_namespace = "Google.Protobuf.WellKnownTypes"; -option cc_enable_arenas = true; -option go_package = "types"; -option java_package = "com.google.protobuf"; -option java_outer_classname = "DurationProto"; -option java_multiple_files = true; -option objc_class_prefix = "GPB"; - -// A Duration represents a signed, fixed-length span of time represented -// as a count of seconds and fractions of seconds at nanosecond -// resolution. It is independent of any calendar and concepts like "day" -// or "month". It is related to Timestamp in that the difference between -// two Timestamp values is a Duration and it can be added or subtracted -// from a Timestamp. Range is approximately +-10,000 years. -// -// # Examples -// -// Example 1: Compute Duration from two Timestamps in pseudo code. -// -// Timestamp start = ...; -// Timestamp end = ...; -// Duration duration = ...; -// -// duration.seconds = end.seconds - start.seconds; -// duration.nanos = end.nanos - start.nanos; -// -// if (duration.seconds < 0 && duration.nanos > 0) { -// duration.seconds += 1; -// duration.nanos -= 1000000000; -// } else if (durations.seconds > 0 && duration.nanos < 0) { -// duration.seconds -= 1; -// duration.nanos += 1000000000; -// } -// -// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. -// -// Timestamp start = ...; -// Duration duration = ...; -// Timestamp end = ...; -// -// end.seconds = start.seconds + duration.seconds; -// end.nanos = start.nanos + duration.nanos; -// -// if (end.nanos < 0) { -// end.seconds -= 1; -// end.nanos += 1000000000; -// } else if (end.nanos >= 1000000000) { -// end.seconds += 1; -// end.nanos -= 1000000000; -// } -// -// Example 3: Compute Duration from datetime.timedelta in Python. -// -// td = datetime.timedelta(days=3, minutes=10) -// duration = Duration() -// duration.FromTimedelta(td) -// -// # JSON Mapping -// -// In JSON format, the Duration type is encoded as a string rather than an -// object, where the string ends in the suffix "s" (indicating seconds) and -// is preceded by the number of seconds, with nanoseconds expressed as -// fractional seconds. For example, 3 seconds with 0 nanoseconds should be -// encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should -// be expressed in JSON format as "3.000000001s", and 3 seconds and 1 -// microsecond should be expressed in JSON format as "3.000001s". -// -// -message Duration { - // Signed seconds of the span of time. Must be from -315,576,000,000 - // to +315,576,000,000 inclusive. Note: these bounds are computed from: - // 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - int64 seconds = 1; - - // Signed fractions of a second at nanosecond resolution of the span - // of time. Durations less than one second are represented with a 0 - // `seconds` field and a positive or negative `nanos` field. For durations - // of one second or more, a non-zero value for the `nanos` field must be - // of the same sign as the `seconds` field. Must be from -999,999,999 - // to +999,999,999 inclusive. - int32 nanos = 2; -} diff --git a/examples/authz/proto/google/protobuf/empty.proto b/examples/authz/proto/google/protobuf/empty.proto deleted file mode 100644 index 6057c852..00000000 --- a/examples/authz/proto/google/protobuf/empty.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -syntax = "proto3"; - -package google.protobuf; - -option csharp_namespace = "Google.Protobuf.WellKnownTypes"; -option go_package = "types"; -option java_package = "com.google.protobuf"; -option java_outer_classname = "EmptyProto"; -option java_multiple_files = true; -option objc_class_prefix = "GPB"; -option cc_enable_arenas = true; - -// A generic empty message that you can re-use to avoid defining duplicated -// empty messages in your APIs. A typical example is to use it as the request -// or the response type of an API method. For instance: -// -// service Foo { -// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); -// } -// -// The JSON representation for `Empty` is empty JSON object `{}`. -message Empty {} diff --git a/examples/authz/proto/google/protobuf/timestamp.proto b/examples/authz/proto/google/protobuf/timestamp.proto deleted file mode 100644 index 0ebe36ea..00000000 --- a/examples/authz/proto/google/protobuf/timestamp.proto +++ /dev/null @@ -1,138 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -syntax = "proto3"; - -package google.protobuf; - -option csharp_namespace = "Google.Protobuf.WellKnownTypes"; -option cc_enable_arenas = true; -option go_package = "types"; -option java_package = "com.google.protobuf"; -option java_outer_classname = "TimestampProto"; -option java_multiple_files = true; -option objc_class_prefix = "GPB"; - -// A Timestamp represents a point in time independent of any time zone or local -// calendar, encoded as a count of seconds and fractions of seconds at -// nanosecond resolution. The count is relative to an epoch at UTC midnight on -// January 1, 1970, in the proleptic Gregorian calendar which extends the -// Gregorian calendar backwards to year one. -// -// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap -// second table is needed for interpretation, using a [24-hour linear -// smear](https://developers.google.com/time/smear). -// -// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By -// restricting to that range, we ensure that we can convert to and from [RFC -// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. -// -// # Examples -// -// Example 1: Compute Timestamp from POSIX `time()`. -// -// Timestamp timestamp; -// timestamp.set_seconds(time(NULL)); -// timestamp.set_nanos(0); -// -// Example 2: Compute Timestamp from POSIX `gettimeofday()`. -// -// struct timeval tv; -// gettimeofday(&tv, NULL); -// -// Timestamp timestamp; -// timestamp.set_seconds(tv.tv_sec); -// timestamp.set_nanos(tv.tv_usec * 1000); -// -// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. -// -// FILETIME ft; -// GetSystemTimeAsFileTime(&ft); -// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; -// -// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z -// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. -// Timestamp timestamp; -// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); -// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); -// -// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. -// -// long millis = System.currentTimeMillis(); -// -// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) -// .setNanos((int) ((millis % 1000) * 1000000)).build(); -// -// -// Example 5: Compute Timestamp from current time in Python. -// -// timestamp = Timestamp() -// timestamp.GetCurrentTime() -// -// # JSON Mapping -// -// In JSON format, the Timestamp type is encoded as a string in the -// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the -// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" -// where {year} is always expressed using four digits while {month}, {day}, -// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional -// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), -// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone -// is required. A proto3 JSON serializer should always use UTC (as indicated by -// "Z") when printing the Timestamp type and a proto3 JSON parser should be -// able to accept both UTC and other timezones (as indicated by an offset). -// -// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past -// 01:30 UTC on January 15, 2017. -// -// In JavaScript, one can convert a Date object to this format using the -// standard -// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) -// method. In Python, a standard `datetime.datetime` object can be converted -// to this format using -// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with -// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use -// the Joda Time's [`ISODateTimeFormat.dateTime()`]( -// http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D -// ) to obtain a formatter capable of generating timestamps in this format. -// -// -message Timestamp { - // Represents seconds of UTC time since Unix epoch - // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - // 9999-12-31T23:59:59Z inclusive. - int64 seconds = 1; - - // Non-negative fractions of a second at nanosecond resolution. Negative - // second values with fractions must still have non-negative nanos values - // that count forward in time. Must be from 0 to 999,999,999 - // inclusive. - int32 nanos = 2; -} diff --git a/examples/authz/proto/ibc/LICENSE b/examples/authz/proto/ibc/LICENSE deleted file mode 100644 index c04a16b3..00000000 --- a/examples/authz/proto/ibc/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 COSMOS - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/examples/authz/proto/ibc/README.md b/examples/authz/proto/ibc/README.md deleted file mode 100644 index e4ee70c7..00000000 --- a/examples/authz/proto/ibc/README.md +++ /dev/null @@ -1 +0,0 @@ -# ibc \ No newline at end of file diff --git a/examples/authz/proto/ibc/applications/transfer/v1/genesis.proto b/examples/authz/proto/ibc/applications/transfer/v1/genesis.proto deleted file mode 100644 index 73d9fddd..00000000 --- a/examples/authz/proto/ibc/applications/transfer/v1/genesis.proto +++ /dev/null @@ -1,19 +0,0 @@ -syntax = "proto3"; - -package ibc.applications.transfer.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; - -import "ibc/applications/transfer/v1/transfer.proto"; -import "gogoproto/gogo.proto"; - -// GenesisState defines the ibc-transfer genesis state -message GenesisState { - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - repeated DenomTrace denom_traces = 2 [ - (gogoproto.castrepeated) = "Traces", - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"denom_traces\"" - ]; - Params params = 3 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/ibc/applications/transfer/v1/query.proto b/examples/authz/proto/ibc/applications/transfer/v1/query.proto deleted file mode 100644 index f2faa87b..00000000 --- a/examples/authz/proto/ibc/applications/transfer/v1/query.proto +++ /dev/null @@ -1,67 +0,0 @@ -syntax = "proto3"; - -package ibc.applications.transfer.v1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "ibc/applications/transfer/v1/transfer.proto"; -import "google/api/annotations.proto"; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; - -// Query provides defines the gRPC querier service. -service Query { - // DenomTrace queries a denomination trace information. - rpc DenomTrace(QueryDenomTraceRequest) returns (QueryDenomTraceResponse) { - option (google.api.http).get = "/ibc/apps/transfer/v1/denom_traces/{hash}"; - } - - // DenomTraces queries all denomination traces. - rpc DenomTraces(QueryDenomTracesRequest) returns (QueryDenomTracesResponse) { - option (google.api.http).get = "/ibc/apps/transfer/v1/denom_traces"; - } - - // Params queries all parameters of the ibc-transfer module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/ibc/apps/transfer/v1/params"; - } -} - -// QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC -// method -message QueryDenomTraceRequest { - // hash (in hex format) of the denomination trace information. - string hash = 1; -} - -// QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC -// method. -message QueryDenomTraceResponse { - // denom_trace returns the requested denomination trace information. - DenomTrace denom_trace = 1; -} - -// QueryConnectionsRequest is the request type for the Query/DenomTraces RPC -// method -message QueryDenomTracesRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryConnectionsResponse is the response type for the Query/DenomTraces RPC -// method. -message QueryDenomTracesResponse { - // denom_traces returns all denominations trace information. - repeated DenomTrace denom_traces = 1 [(gogoproto.castrepeated) = "Traces", (gogoproto.nullable) = false]; - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1; -} diff --git a/examples/authz/proto/ibc/applications/transfer/v1/transfer.proto b/examples/authz/proto/ibc/applications/transfer/v1/transfer.proto deleted file mode 100644 index 10ce92f9..00000000 --- a/examples/authz/proto/ibc/applications/transfer/v1/transfer.proto +++ /dev/null @@ -1,30 +0,0 @@ -syntax = "proto3"; - -package ibc.applications.transfer.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; - -import "gogoproto/gogo.proto"; - -// DenomTrace contains the base denomination for ICS20 fungible tokens and the -// source tracing information path. -message DenomTrace { - // path defines the chain of port/channel identifiers used for tracing the - // source of the fungible token. - string path = 1; - // base denomination of the relayed fungible token. - string base_denom = 2; -} - -// Params defines the set of IBC transfer parameters. -// NOTE: To prevent a single token from being transferred, set the -// TransfersEnabled parameter to true and then set the bank module's SendEnabled -// parameter for the denomination to false. -message Params { - // send_enabled enables or disables all cross-chain token transfers from this - // chain. - bool send_enabled = 1 [(gogoproto.moretags) = "yaml:\"send_enabled\""]; - // receive_enabled enables or disables all cross-chain token transfers to this - // chain. - bool receive_enabled = 2 [(gogoproto.moretags) = "yaml:\"receive_enabled\""]; -} diff --git a/examples/authz/proto/ibc/applications/transfer/v1/tx.proto b/examples/authz/proto/ibc/applications/transfer/v1/tx.proto deleted file mode 100644 index dfc480d0..00000000 --- a/examples/authz/proto/ibc/applications/transfer/v1/tx.proto +++ /dev/null @@ -1,44 +0,0 @@ -syntax = "proto3"; - -package ibc.applications.transfer.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "ibc/core/client/v1/client.proto"; - -// Msg defines the ibc/transfer Msg service. -service Msg { - // Transfer defines a rpc handler method for MsgTransfer. - rpc Transfer(MsgTransfer) returns (MsgTransferResponse); -} - -// MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between -// ICS20 enabled chains. See ICS Spec here: -// https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures -message MsgTransfer { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // the port on which the packet will be sent - string source_port = 1 [(gogoproto.moretags) = "yaml:\"source_port\""]; - // the channel by which the packet will be sent - string source_channel = 2 [(gogoproto.moretags) = "yaml:\"source_channel\""]; - // the tokens to be transferred - cosmos.base.v1beta1.Coin token = 3 [(gogoproto.nullable) = false]; - // the sender address - string sender = 4; - // the recipient address on the destination chain - string receiver = 5; - // Timeout height relative to the current block height. - // The timeout is disabled when set to 0. - ibc.core.client.v1.Height timeout_height = 6 - [(gogoproto.moretags) = "yaml:\"timeout_height\"", (gogoproto.nullable) = false]; - // Timeout timestamp (in nanoseconds) relative to the current block timestamp. - // The timeout is disabled when set to 0. - uint64 timeout_timestamp = 7 [(gogoproto.moretags) = "yaml:\"timeout_timestamp\""]; -} - -// MsgTransferResponse defines the Msg/Transfer response type. -message MsgTransferResponse {} diff --git a/examples/authz/proto/ibc/applications/transfer/v2/packet.proto b/examples/authz/proto/ibc/applications/transfer/v2/packet.proto deleted file mode 100644 index 593392a9..00000000 --- a/examples/authz/proto/ibc/applications/transfer/v2/packet.proto +++ /dev/null @@ -1,19 +0,0 @@ -syntax = "proto3"; - -package ibc.applications.transfer.v2; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; - -// FungibleTokenPacketData defines a struct for the packet payload -// See FungibleTokenPacketData spec: -// https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures -message FungibleTokenPacketData { - // the token denomination to be transferred - string denom = 1; - // the token amount to be transferred - string amount = 2; - // the sender address - string sender = 3; - // the recipient address on the destination chain - string receiver = 4; -} diff --git a/examples/authz/proto/ibc/core/channel/v1/channel.proto b/examples/authz/proto/ibc/core/channel/v1/channel.proto deleted file mode 100644 index c7f42dbf..00000000 --- a/examples/authz/proto/ibc/core/channel/v1/channel.proto +++ /dev/null @@ -1,148 +0,0 @@ -syntax = "proto3"; - -package ibc.core.channel.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; - -import "gogoproto/gogo.proto"; -import "ibc/core/client/v1/client.proto"; - -// Channel defines pipeline for exactly-once packet delivery between specific -// modules on separate blockchains, which has at least one end capable of -// sending packets and one end capable of receiving packets. -message Channel { - option (gogoproto.goproto_getters) = false; - - // current state of the channel end - State state = 1; - // whether the channel is ordered or unordered - Order ordering = 2; - // counterparty channel end - Counterparty counterparty = 3 [(gogoproto.nullable) = false]; - // list of connection identifiers, in order, along which packets sent on - // this channel will travel - repeated string connection_hops = 4 [(gogoproto.moretags) = "yaml:\"connection_hops\""]; - // opaque channel version, which is agreed upon during the handshake - string version = 5; -} - -// IdentifiedChannel defines a channel with additional port and channel -// identifier fields. -message IdentifiedChannel { - option (gogoproto.goproto_getters) = false; - - // current state of the channel end - State state = 1; - // whether the channel is ordered or unordered - Order ordering = 2; - // counterparty channel end - Counterparty counterparty = 3 [(gogoproto.nullable) = false]; - // list of connection identifiers, in order, along which packets sent on - // this channel will travel - repeated string connection_hops = 4 [(gogoproto.moretags) = "yaml:\"connection_hops\""]; - // opaque channel version, which is agreed upon during the handshake - string version = 5; - // port identifier - string port_id = 6; - // channel identifier - string channel_id = 7; -} - -// State defines if a channel is in one of the following states: -// CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. -enum State { - option (gogoproto.goproto_enum_prefix) = false; - - // Default State - STATE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNINITIALIZED"]; - // A channel has just started the opening handshake. - STATE_INIT = 1 [(gogoproto.enumvalue_customname) = "INIT"]; - // A channel has acknowledged the handshake step on the counterparty chain. - STATE_TRYOPEN = 2 [(gogoproto.enumvalue_customname) = "TRYOPEN"]; - // A channel has completed the handshake. Open channels are - // ready to send and receive packets. - STATE_OPEN = 3 [(gogoproto.enumvalue_customname) = "OPEN"]; - // A channel has been closed and can no longer be used to send or receive - // packets. - STATE_CLOSED = 4 [(gogoproto.enumvalue_customname) = "CLOSED"]; -} - -// Order defines if a channel is ORDERED or UNORDERED -enum Order { - option (gogoproto.goproto_enum_prefix) = false; - - // zero-value for channel ordering - ORDER_NONE_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "NONE"]; - // packets can be delivered in any order, which may differ from the order in - // which they were sent. - ORDER_UNORDERED = 1 [(gogoproto.enumvalue_customname) = "UNORDERED"]; - // packets are delivered exactly in the order which they were sent - ORDER_ORDERED = 2 [(gogoproto.enumvalue_customname) = "ORDERED"]; -} - -// Counterparty defines a channel end counterparty -message Counterparty { - option (gogoproto.goproto_getters) = false; - - // port on the counterparty chain which owns the other end of the channel. - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - // channel end on the counterparty chain - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; -} - -// Packet defines a type that carries data across different chains through IBC -message Packet { - option (gogoproto.goproto_getters) = false; - - // number corresponds to the order of sends and receives, where a Packet - // with an earlier sequence number must be sent and received before a Packet - // with a later sequence number. - uint64 sequence = 1; - // identifies the port on the sending chain. - string source_port = 2 [(gogoproto.moretags) = "yaml:\"source_port\""]; - // identifies the channel end on the sending chain. - string source_channel = 3 [(gogoproto.moretags) = "yaml:\"source_channel\""]; - // identifies the port on the receiving chain. - string destination_port = 4 [(gogoproto.moretags) = "yaml:\"destination_port\""]; - // identifies the channel end on the receiving chain. - string destination_channel = 5 [(gogoproto.moretags) = "yaml:\"destination_channel\""]; - // actual opaque bytes transferred directly to the application module - bytes data = 6; - // block height after which the packet times out - ibc.core.client.v1.Height timeout_height = 7 - [(gogoproto.moretags) = "yaml:\"timeout_height\"", (gogoproto.nullable) = false]; - // block timestamp (in nanoseconds) after which the packet times out - uint64 timeout_timestamp = 8 [(gogoproto.moretags) = "yaml:\"timeout_timestamp\""]; -} - -// PacketState defines the generic type necessary to retrieve and store -// packet commitments, acknowledgements, and receipts. -// Caller is responsible for knowing the context necessary to interpret this -// state as a commitment, acknowledgement, or a receipt. -message PacketState { - option (gogoproto.goproto_getters) = false; - - // channel port identifier. - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - // channel unique identifier. - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - // packet sequence. - uint64 sequence = 3; - // embedded data that represents packet state. - bytes data = 4; -} - -// Acknowledgement is the recommended acknowledgement format to be used by -// app-specific protocols. -// NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental -// conflicts with other protobuf message formats used for acknowledgements. -// The first byte of any message with this format will be the non-ASCII values -// `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: -// https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope -message Acknowledgement { - // response contains either a result or an error and must be non-empty - oneof response { - bytes result = 21; - string error = 22; - } -} diff --git a/examples/authz/proto/ibc/core/channel/v1/genesis.proto b/examples/authz/proto/ibc/core/channel/v1/genesis.proto deleted file mode 100644 index 38b57ed6..00000000 --- a/examples/authz/proto/ibc/core/channel/v1/genesis.proto +++ /dev/null @@ -1,32 +0,0 @@ -syntax = "proto3"; - -package ibc.core.channel.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; - -import "gogoproto/gogo.proto"; -import "ibc/core/channel/v1/channel.proto"; - -// GenesisState defines the ibc channel submodule's genesis state. -message GenesisState { - repeated IdentifiedChannel channels = 1 [(gogoproto.casttype) = "IdentifiedChannel", (gogoproto.nullable) = false]; - repeated PacketState acknowledgements = 2 [(gogoproto.nullable) = false]; - repeated PacketState commitments = 3 [(gogoproto.nullable) = false]; - repeated PacketState receipts = 4 [(gogoproto.nullable) = false]; - repeated PacketSequence send_sequences = 5 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"send_sequences\""]; - repeated PacketSequence recv_sequences = 6 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"recv_sequences\""]; - repeated PacketSequence ack_sequences = 7 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"ack_sequences\""]; - // the sequence for the next generated channel identifier - uint64 next_channel_sequence = 8 [(gogoproto.moretags) = "yaml:\"next_channel_sequence\""]; -} - -// PacketSequence defines the genesis type necessary to retrieve and store -// next send and receive sequences. -message PacketSequence { - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - uint64 sequence = 3; -} diff --git a/examples/authz/proto/ibc/core/channel/v1/query.proto b/examples/authz/proto/ibc/core/channel/v1/query.proto deleted file mode 100644 index 212cb645..00000000 --- a/examples/authz/proto/ibc/core/channel/v1/query.proto +++ /dev/null @@ -1,376 +0,0 @@ -syntax = "proto3"; - -package ibc.core.channel.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; - -import "ibc/core/client/v1/client.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "ibc/core/channel/v1/channel.proto"; -import "google/api/annotations.proto"; -import "google/protobuf/any.proto"; -import "gogoproto/gogo.proto"; - -// Query provides defines the gRPC querier service -service Query { - // Channel queries an IBC Channel. - rpc Channel(QueryChannelRequest) returns (QueryChannelResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}"; - } - - // Channels queries all the IBC channels of a chain. - rpc Channels(QueryChannelsRequest) returns (QueryChannelsResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels"; - } - - // ConnectionChannels queries all the channels associated with a connection - // end. - rpc ConnectionChannels(QueryConnectionChannelsRequest) returns (QueryConnectionChannelsResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/connections/{connection}/channels"; - } - - // ChannelClientState queries for the client state for the channel associated - // with the provided channel identifiers. - rpc ChannelClientState(QueryChannelClientStateRequest) returns (QueryChannelClientStateResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/client_state"; - } - - // ChannelConsensusState queries for the consensus state for the channel - // associated with the provided channel identifiers. - rpc ChannelConsensusState(QueryChannelConsensusStateRequest) returns (QueryChannelConsensusStateResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/consensus_state/revision/" - "{revision_number}/height/{revision_height}"; - } - - // PacketCommitment queries a stored packet commitment hash. - rpc PacketCommitment(QueryPacketCommitmentRequest) returns (QueryPacketCommitmentResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/" - "packet_commitments/{sequence}"; - } - - // PacketCommitments returns all the packet commitments hashes associated - // with a channel. - rpc PacketCommitments(QueryPacketCommitmentsRequest) returns (QueryPacketCommitmentsResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/packet_commitments"; - } - - // PacketReceipt queries if a given packet sequence has been received on the - // queried chain - rpc PacketReceipt(QueryPacketReceiptRequest) returns (QueryPacketReceiptResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/packet_receipts/{sequence}"; - } - - // PacketAcknowledgement queries a stored packet acknowledgement hash. - rpc PacketAcknowledgement(QueryPacketAcknowledgementRequest) returns (QueryPacketAcknowledgementResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/packet_acks/{sequence}"; - } - - // PacketAcknowledgements returns all the packet acknowledgements associated - // with a channel. - rpc PacketAcknowledgements(QueryPacketAcknowledgementsRequest) returns (QueryPacketAcknowledgementsResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/packet_acknowledgements"; - } - - // UnreceivedPackets returns all the unreceived IBC packets associated with a - // channel and sequences. - rpc UnreceivedPackets(QueryUnreceivedPacketsRequest) returns (QueryUnreceivedPacketsResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/" - "packet_commitments/" - "{packet_commitment_sequences}/unreceived_packets"; - } - - // UnreceivedAcks returns all the unreceived IBC acknowledgements associated - // with a channel and sequences. - rpc UnreceivedAcks(QueryUnreceivedAcksRequest) returns (QueryUnreceivedAcksResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/packet_commitments/" - "{packet_ack_sequences}/unreceived_acks"; - } - - // NextSequenceReceive returns the next receive sequence for a given channel. - rpc NextSequenceReceive(QueryNextSequenceReceiveRequest) returns (QueryNextSequenceReceiveResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/next_sequence"; - } -} - -// QueryChannelRequest is the request type for the Query/Channel RPC method -message QueryChannelRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; -} - -// QueryChannelResponse is the response type for the Query/Channel RPC method. -// Besides the Channel end, it includes a proof and the height from which the -// proof was retrieved. -message QueryChannelResponse { - // channel associated with the request identifiers - ibc.core.channel.v1.Channel channel = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryChannelsRequest is the request type for the Query/Channels RPC method -message QueryChannelsRequest { - // pagination request - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryChannelsResponse is the response type for the Query/Channels RPC method. -message QueryChannelsResponse { - // list of stored channels of the chain. - repeated ibc.core.channel.v1.IdentifiedChannel channels = 1; - // pagination response - cosmos.base.query.v1beta1.PageResponse pagination = 2; - // query block height - ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; -} - -// QueryConnectionChannelsRequest is the request type for the -// Query/QueryConnectionChannels RPC method -message QueryConnectionChannelsRequest { - // connection unique identifier - string connection = 1; - // pagination request - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryConnectionChannelsResponse is the Response type for the -// Query/QueryConnectionChannels RPC method -message QueryConnectionChannelsResponse { - // list of channels associated with a connection. - repeated ibc.core.channel.v1.IdentifiedChannel channels = 1; - // pagination response - cosmos.base.query.v1beta1.PageResponse pagination = 2; - // query block height - ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; -} - -// QueryChannelClientStateRequest is the request type for the Query/ClientState -// RPC method -message QueryChannelClientStateRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; -} - -// QueryChannelClientStateResponse is the Response type for the -// Query/QueryChannelClientState RPC method -message QueryChannelClientStateResponse { - // client state associated with the channel - ibc.core.client.v1.IdentifiedClientState identified_client_state = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryChannelConsensusStateRequest is the request type for the -// Query/ConsensusState RPC method -message QueryChannelConsensusStateRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // revision number of the consensus state - uint64 revision_number = 3; - // revision height of the consensus state - uint64 revision_height = 4; -} - -// QueryChannelClientStateResponse is the Response type for the -// Query/QueryChannelClientState RPC method -message QueryChannelConsensusStateResponse { - // consensus state associated with the channel - google.protobuf.Any consensus_state = 1; - // client ID associated with the consensus state - string client_id = 2; - // merkle proof of existence - bytes proof = 3; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 4 [(gogoproto.nullable) = false]; -} - -// QueryPacketCommitmentRequest is the request type for the -// Query/PacketCommitment RPC method -message QueryPacketCommitmentRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // packet sequence - uint64 sequence = 3; -} - -// QueryPacketCommitmentResponse defines the client query response for a packet -// which also includes a proof and the height from which the proof was -// retrieved -message QueryPacketCommitmentResponse { - // packet associated with the request fields - bytes commitment = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryPacketCommitmentsRequest is the request type for the -// Query/QueryPacketCommitments RPC method -message QueryPacketCommitmentsRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // pagination request - cosmos.base.query.v1beta1.PageRequest pagination = 3; -} - -// QueryPacketCommitmentsResponse is the request type for the -// Query/QueryPacketCommitments RPC method -message QueryPacketCommitmentsResponse { - repeated ibc.core.channel.v1.PacketState commitments = 1; - // pagination response - cosmos.base.query.v1beta1.PageResponse pagination = 2; - // query block height - ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; -} - -// QueryPacketReceiptRequest is the request type for the -// Query/PacketReceipt RPC method -message QueryPacketReceiptRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // packet sequence - uint64 sequence = 3; -} - -// QueryPacketReceiptResponse defines the client query response for a packet -// receipt which also includes a proof, and the height from which the proof was -// retrieved -message QueryPacketReceiptResponse { - // success flag for if receipt exists - bool received = 2; - // merkle proof of existence - bytes proof = 3; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 4 [(gogoproto.nullable) = false]; -} - -// QueryPacketAcknowledgementRequest is the request type for the -// Query/PacketAcknowledgement RPC method -message QueryPacketAcknowledgementRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // packet sequence - uint64 sequence = 3; -} - -// QueryPacketAcknowledgementResponse defines the client query response for a -// packet which also includes a proof and the height from which the -// proof was retrieved -message QueryPacketAcknowledgementResponse { - // packet associated with the request fields - bytes acknowledgement = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryPacketAcknowledgementsRequest is the request type for the -// Query/QueryPacketCommitments RPC method -message QueryPacketAcknowledgementsRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // pagination request - cosmos.base.query.v1beta1.PageRequest pagination = 3; - // list of packet sequences - repeated uint64 packet_commitment_sequences = 4; -} - -// QueryPacketAcknowledgemetsResponse is the request type for the -// Query/QueryPacketAcknowledgements RPC method -message QueryPacketAcknowledgementsResponse { - repeated ibc.core.channel.v1.PacketState acknowledgements = 1; - // pagination response - cosmos.base.query.v1beta1.PageResponse pagination = 2; - // query block height - ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; -} - -// QueryUnreceivedPacketsRequest is the request type for the -// Query/UnreceivedPackets RPC method -message QueryUnreceivedPacketsRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // list of packet sequences - repeated uint64 packet_commitment_sequences = 3; -} - -// QueryUnreceivedPacketsResponse is the response type for the -// Query/UnreceivedPacketCommitments RPC method -message QueryUnreceivedPacketsResponse { - // list of unreceived packet sequences - repeated uint64 sequences = 1; - // query block height - ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false]; -} - -// QueryUnreceivedAcks is the request type for the -// Query/UnreceivedAcks RPC method -message QueryUnreceivedAcksRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // list of acknowledgement sequences - repeated uint64 packet_ack_sequences = 3; -} - -// QueryUnreceivedAcksResponse is the response type for the -// Query/UnreceivedAcks RPC method -message QueryUnreceivedAcksResponse { - // list of unreceived acknowledgement sequences - repeated uint64 sequences = 1; - // query block height - ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false]; -} - -// QueryNextSequenceReceiveRequest is the request type for the -// Query/QueryNextSequenceReceiveRequest RPC method -message QueryNextSequenceReceiveRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; -} - -// QuerySequenceResponse is the request type for the -// Query/QueryNextSequenceReceiveResponse RPC method -message QueryNextSequenceReceiveResponse { - // next sequence receive number - uint64 next_sequence_receive = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/ibc/core/channel/v1/tx.proto b/examples/authz/proto/ibc/core/channel/v1/tx.proto deleted file mode 100644 index dab45080..00000000 --- a/examples/authz/proto/ibc/core/channel/v1/tx.proto +++ /dev/null @@ -1,211 +0,0 @@ -syntax = "proto3"; - -package ibc.core.channel.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; - -import "gogoproto/gogo.proto"; -import "ibc/core/client/v1/client.proto"; -import "ibc/core/channel/v1/channel.proto"; - -// Msg defines the ibc/channel Msg service. -service Msg { - // ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. - rpc ChannelOpenInit(MsgChannelOpenInit) returns (MsgChannelOpenInitResponse); - - // ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. - rpc ChannelOpenTry(MsgChannelOpenTry) returns (MsgChannelOpenTryResponse); - - // ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. - rpc ChannelOpenAck(MsgChannelOpenAck) returns (MsgChannelOpenAckResponse); - - // ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. - rpc ChannelOpenConfirm(MsgChannelOpenConfirm) returns (MsgChannelOpenConfirmResponse); - - // ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. - rpc ChannelCloseInit(MsgChannelCloseInit) returns (MsgChannelCloseInitResponse); - - // ChannelCloseConfirm defines a rpc handler method for - // MsgChannelCloseConfirm. - rpc ChannelCloseConfirm(MsgChannelCloseConfirm) returns (MsgChannelCloseConfirmResponse); - - // RecvPacket defines a rpc handler method for MsgRecvPacket. - rpc RecvPacket(MsgRecvPacket) returns (MsgRecvPacketResponse); - - // Timeout defines a rpc handler method for MsgTimeout. - rpc Timeout(MsgTimeout) returns (MsgTimeoutResponse); - - // TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. - rpc TimeoutOnClose(MsgTimeoutOnClose) returns (MsgTimeoutOnCloseResponse); - - // Acknowledgement defines a rpc handler method for MsgAcknowledgement. - rpc Acknowledgement(MsgAcknowledgement) returns (MsgAcknowledgementResponse); -} - -// MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It -// is called by a relayer on Chain A. -message MsgChannelOpenInit { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - Channel channel = 2 [(gogoproto.nullable) = false]; - string signer = 3; -} - -// MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. -message MsgChannelOpenInitResponse {} - -// MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel -// on Chain B. -message MsgChannelOpenTry { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - // in the case of crossing hello's, when both chains call OpenInit, we need - // the channel identifier of the previous channel in state INIT - string previous_channel_id = 2 [(gogoproto.moretags) = "yaml:\"previous_channel_id\""]; - Channel channel = 3 [(gogoproto.nullable) = false]; - string counterparty_version = 4 [(gogoproto.moretags) = "yaml:\"counterparty_version\""]; - bytes proof_init = 5 [(gogoproto.moretags) = "yaml:\"proof_init\""]; - ibc.core.client.v1.Height proof_height = 6 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - string signer = 7; -} - -// MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. -message MsgChannelOpenTryResponse {} - -// MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge -// the change of channel state to TRYOPEN on Chain B. -message MsgChannelOpenAck { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - string counterparty_channel_id = 3 [(gogoproto.moretags) = "yaml:\"counterparty_channel_id\""]; - string counterparty_version = 4 [(gogoproto.moretags) = "yaml:\"counterparty_version\""]; - bytes proof_try = 5 [(gogoproto.moretags) = "yaml:\"proof_try\""]; - ibc.core.client.v1.Height proof_height = 6 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - string signer = 7; -} - -// MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. -message MsgChannelOpenAckResponse {} - -// MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to -// acknowledge the change of channel state to OPEN on Chain A. -message MsgChannelOpenConfirm { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - bytes proof_ack = 3 [(gogoproto.moretags) = "yaml:\"proof_ack\""]; - ibc.core.client.v1.Height proof_height = 4 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - string signer = 5; -} - -// MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response -// type. -message MsgChannelOpenConfirmResponse {} - -// MsgChannelCloseInit defines a msg sent by a Relayer to Chain A -// to close a channel with Chain B. -message MsgChannelCloseInit { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - string signer = 3; -} - -// MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. -message MsgChannelCloseInitResponse {} - -// MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B -// to acknowledge the change of channel state to CLOSED on Chain A. -message MsgChannelCloseConfirm { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - bytes proof_init = 3 [(gogoproto.moretags) = "yaml:\"proof_init\""]; - ibc.core.client.v1.Height proof_height = 4 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - string signer = 5; -} - -// MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response -// type. -message MsgChannelCloseConfirmResponse {} - -// MsgRecvPacket receives incoming IBC packet -message MsgRecvPacket { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - Packet packet = 1 [(gogoproto.nullable) = false]; - bytes proof_commitment = 2 [(gogoproto.moretags) = "yaml:\"proof_commitment\""]; - ibc.core.client.v1.Height proof_height = 3 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - string signer = 4; -} - -// MsgRecvPacketResponse defines the Msg/RecvPacket response type. -message MsgRecvPacketResponse {} - -// MsgTimeout receives timed-out packet -message MsgTimeout { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - Packet packet = 1 [(gogoproto.nullable) = false]; - bytes proof_unreceived = 2 [(gogoproto.moretags) = "yaml:\"proof_unreceived\""]; - ibc.core.client.v1.Height proof_height = 3 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - uint64 next_sequence_recv = 4 [(gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; - string signer = 5; -} - -// MsgTimeoutResponse defines the Msg/Timeout response type. -message MsgTimeoutResponse {} - -// MsgTimeoutOnClose timed-out packet upon counterparty channel closure. -message MsgTimeoutOnClose { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - Packet packet = 1 [(gogoproto.nullable) = false]; - bytes proof_unreceived = 2 [(gogoproto.moretags) = "yaml:\"proof_unreceived\""]; - bytes proof_close = 3 [(gogoproto.moretags) = "yaml:\"proof_close\""]; - ibc.core.client.v1.Height proof_height = 4 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - uint64 next_sequence_recv = 5 [(gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; - string signer = 6; -} - -// MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. -message MsgTimeoutOnCloseResponse {} - -// MsgAcknowledgement receives incoming IBC acknowledgement -message MsgAcknowledgement { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - Packet packet = 1 [(gogoproto.nullable) = false]; - bytes acknowledgement = 2; - bytes proof_acked = 3 [(gogoproto.moretags) = "yaml:\"proof_acked\""]; - ibc.core.client.v1.Height proof_height = 4 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - string signer = 5; -} - -// MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. -message MsgAcknowledgementResponse {} diff --git a/examples/authz/proto/ibc/core/client/v1/client.proto b/examples/authz/proto/ibc/core/client/v1/client.proto deleted file mode 100644 index f0a1538e..00000000 --- a/examples/authz/proto/ibc/core/client/v1/client.proto +++ /dev/null @@ -1,104 +0,0 @@ -syntax = "proto3"; - -package ibc.core.client.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "cosmos/upgrade/v1beta1/upgrade.proto"; -import "cosmos_proto/cosmos.proto"; - -// IdentifiedClientState defines a client state with an additional client -// identifier field. -message IdentifiedClientState { - // client identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // client state - google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; -} - -// ConsensusStateWithHeight defines a consensus state with an additional height -// field. -message ConsensusStateWithHeight { - // consensus state height - Height height = 1 [(gogoproto.nullable) = false]; - // consensus state - google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml\"consensus_state\""]; -} - -// ClientConsensusStates defines all the stored consensus states for a given -// client. -message ClientConsensusStates { - // client identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // consensus states and their heights associated with the client - repeated ConsensusStateWithHeight consensus_states = 2 - [(gogoproto.moretags) = "yaml:\"consensus_states\"", (gogoproto.nullable) = false]; -} - -// ClientUpdateProposal is a governance proposal. If it passes, the substitute -// client's latest consensus state is copied over to the subject client. The proposal -// handler may fail if the subject and the substitute do not match in client and -// chain parameters (with exception to latest height, frozen height, and chain-id). -message ClientUpdateProposal { - option (gogoproto.goproto_getters) = false; - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // the title of the update proposal - string title = 1; - // the description of the proposal - string description = 2; - // the client identifier for the client to be updated if the proposal passes - string subject_client_id = 3 [(gogoproto.moretags) = "yaml:\"subject_client_id\""]; - // the substitute client identifier for the client standing in for the subject - // client - string substitute_client_id = 4 [(gogoproto.moretags) = "yaml:\"substitute_client_id\""]; -} - -// UpgradeProposal is a gov Content type for initiating an IBC breaking -// upgrade. -message UpgradeProposal { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.equal) = true; - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - string title = 1; - string description = 2; - cosmos.upgrade.v1beta1.Plan plan = 3 [(gogoproto.nullable) = false]; - - // An UpgradedClientState must be provided to perform an IBC breaking upgrade. - // This will make the chain commit to the correct upgraded (self) client state - // before the upgrade occurs, so that connecting chains can verify that the - // new upgraded client is valid by verifying a proof on the previous version - // of the chain. This will allow IBC connections to persist smoothly across - // planned chain upgrades - google.protobuf.Any upgraded_client_state = 4 [(gogoproto.moretags) = "yaml:\"upgraded_client_state\""]; -} - -// Height is a monotonically increasing data type -// that can be compared against another Height for the purposes of updating and -// freezing clients -// -// Normally the RevisionHeight is incremented at each height while keeping -// RevisionNumber the same. However some consensus algorithms may choose to -// reset the height in certain conditions e.g. hard forks, state-machine -// breaking changes In these cases, the RevisionNumber is incremented so that -// height continues to be monitonically increasing even as the RevisionHeight -// gets reset -message Height { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - // the revision that the client is currently on - uint64 revision_number = 1 [(gogoproto.moretags) = "yaml:\"revision_number\""]; - // the height within the given revision - uint64 revision_height = 2 [(gogoproto.moretags) = "yaml:\"revision_height\""]; -} - -// Params defines the set of IBC light client parameters. -message Params { - // allowed_clients defines the list of allowed client state types. - repeated string allowed_clients = 1 [(gogoproto.moretags) = "yaml:\"allowed_clients\""]; -} diff --git a/examples/authz/proto/ibc/core/client/v1/genesis.proto b/examples/authz/proto/ibc/core/client/v1/genesis.proto deleted file mode 100644 index 6668f2ca..00000000 --- a/examples/authz/proto/ibc/core/client/v1/genesis.proto +++ /dev/null @@ -1,48 +0,0 @@ -syntax = "proto3"; - -package ibc.core.client.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; - -import "ibc/core/client/v1/client.proto"; -import "gogoproto/gogo.proto"; - -// GenesisState defines the ibc client submodule's genesis state. -message GenesisState { - // client states with their corresponding identifiers - repeated IdentifiedClientState clients = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "IdentifiedClientStates"]; - // consensus states from each client - repeated ClientConsensusStates clients_consensus = 2 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "ClientsConsensusStates", - (gogoproto.moretags) = "yaml:\"clients_consensus\"" - ]; - // metadata from each client - repeated IdentifiedGenesisMetadata clients_metadata = 3 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"clients_metadata\""]; - Params params = 4 [(gogoproto.nullable) = false]; - // create localhost on initialization - bool create_localhost = 5 [(gogoproto.moretags) = "yaml:\"create_localhost\""]; - // the sequence for the next generated client identifier - uint64 next_client_sequence = 6 [(gogoproto.moretags) = "yaml:\"next_client_sequence\""]; -} - -// GenesisMetadata defines the genesis type for metadata that clients may return -// with ExportMetadata -message GenesisMetadata { - option (gogoproto.goproto_getters) = false; - - // store key of metadata without clientID-prefix - bytes key = 1; - // metadata value - bytes value = 2; -} - -// IdentifiedGenesisMetadata has the client metadata with the corresponding -// client id. -message IdentifiedGenesisMetadata { - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - repeated GenesisMetadata client_metadata = 2 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_metadata\""]; -} diff --git a/examples/authz/proto/ibc/core/client/v1/query.proto b/examples/authz/proto/ibc/core/client/v1/query.proto deleted file mode 100644 index b6f8eb47..00000000 --- a/examples/authz/proto/ibc/core/client/v1/query.proto +++ /dev/null @@ -1,184 +0,0 @@ -syntax = "proto3"; - -package ibc.core.client.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "ibc/core/client/v1/client.proto"; -import "google/protobuf/any.proto"; -import "google/api/annotations.proto"; -import "gogoproto/gogo.proto"; - -// Query provides defines the gRPC querier service -service Query { - // ClientState queries an IBC light client. - rpc ClientState(QueryClientStateRequest) returns (QueryClientStateResponse) { - option (google.api.http).get = "/ibc/core/client/v1/client_states/{client_id}"; - } - - // ClientStates queries all the IBC light clients of a chain. - rpc ClientStates(QueryClientStatesRequest) returns (QueryClientStatesResponse) { - option (google.api.http).get = "/ibc/core/client/v1/client_states"; - } - - // ConsensusState queries a consensus state associated with a client state at - // a given height. - rpc ConsensusState(QueryConsensusStateRequest) returns (QueryConsensusStateResponse) { - option (google.api.http).get = "/ibc/core/client/v1/consensus_states/" - "{client_id}/revision/{revision_number}/" - "height/{revision_height}"; - } - - // ConsensusStates queries all the consensus state associated with a given - // client. - rpc ConsensusStates(QueryConsensusStatesRequest) returns (QueryConsensusStatesResponse) { - option (google.api.http).get = "/ibc/core/client/v1/consensus_states/{client_id}"; - } - - // Status queries the status of an IBC client. - rpc ClientStatus(QueryClientStatusRequest) returns (QueryClientStatusResponse) { - option (google.api.http).get = "/ibc/core/client/v1/client_status/{client_id}"; - } - - // ClientParams queries all parameters of the ibc client. - rpc ClientParams(QueryClientParamsRequest) returns (QueryClientParamsResponse) { - option (google.api.http).get = "/ibc/client/v1/params"; - } - - // UpgradedClientState queries an Upgraded IBC light client. - rpc UpgradedClientState(QueryUpgradedClientStateRequest) returns (QueryUpgradedClientStateResponse) { - option (google.api.http).get = "/ibc/core/client/v1/upgraded_client_states"; - } - - // UpgradedConsensusState queries an Upgraded IBC consensus state. - rpc UpgradedConsensusState(QueryUpgradedConsensusStateRequest) returns (QueryUpgradedConsensusStateResponse) { - option (google.api.http).get = "/ibc/core/client/v1/upgraded_consensus_states"; - } -} - -// QueryClientStateRequest is the request type for the Query/ClientState RPC -// method -message QueryClientStateRequest { - // client state unique identifier - string client_id = 1; -} - -// QueryClientStateResponse is the response type for the Query/ClientState RPC -// method. Besides the client state, it includes a proof and the height from -// which the proof was retrieved. -message QueryClientStateResponse { - // client state associated with the request identifier - google.protobuf.Any client_state = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryClientStatesRequest is the request type for the Query/ClientStates RPC -// method -message QueryClientStatesRequest { - // pagination request - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryClientStatesResponse is the response type for the Query/ClientStates RPC -// method. -message QueryClientStatesResponse { - // list of stored ClientStates of the chain. - repeated IdentifiedClientState client_states = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "IdentifiedClientStates"]; - // pagination response - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryConsensusStateRequest is the request type for the Query/ConsensusState -// RPC method. Besides the consensus state, it includes a proof and the height -// from which the proof was retrieved. -message QueryConsensusStateRequest { - // client identifier - string client_id = 1; - // consensus state revision number - uint64 revision_number = 2; - // consensus state revision height - uint64 revision_height = 3; - // latest_height overrrides the height field and queries the latest stored - // ConsensusState - bool latest_height = 4; -} - -// QueryConsensusStateResponse is the response type for the Query/ConsensusState -// RPC method -message QueryConsensusStateResponse { - // consensus state associated with the client identifier at the given height - google.protobuf.Any consensus_state = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryConsensusStatesRequest is the request type for the Query/ConsensusStates -// RPC method. -message QueryConsensusStatesRequest { - // client identifier - string client_id = 1; - // pagination request - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryConsensusStatesResponse is the response type for the -// Query/ConsensusStates RPC method -message QueryConsensusStatesResponse { - // consensus states associated with the identifier - repeated ConsensusStateWithHeight consensus_states = 1 [(gogoproto.nullable) = false]; - // pagination response - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryClientStatusRequest is the request type for the Query/ClientStatus RPC -// method -message QueryClientStatusRequest { - // client unique identifier - string client_id = 1; -} - -// QueryClientStatusResponse is the response type for the Query/ClientStatus RPC -// method. It returns the current status of the IBC client. -message QueryClientStatusResponse { - string status = 1; -} - -// QueryClientParamsRequest is the request type for the Query/ClientParams RPC -// method. -message QueryClientParamsRequest {} - -// QueryClientParamsResponse is the response type for the Query/ClientParams RPC -// method. -message QueryClientParamsResponse { - // params defines the parameters of the module. - Params params = 1; -} - -// QueryUpgradedClientStateRequest is the request type for the -// Query/UpgradedClientState RPC method -message QueryUpgradedClientStateRequest {} - -// QueryUpgradedClientStateResponse is the response type for the -// Query/UpgradedClientState RPC method. -message QueryUpgradedClientStateResponse { - // client state associated with the request identifier - google.protobuf.Any upgraded_client_state = 1; -} - -// QueryUpgradedConsensusStateRequest is the request type for the -// Query/UpgradedConsensusState RPC method -message QueryUpgradedConsensusStateRequest {} - -// QueryUpgradedConsensusStateResponse is the response type for the -// Query/UpgradedConsensusState RPC method. -message QueryUpgradedConsensusStateResponse { - // Consensus state associated with the request identifier - google.protobuf.Any upgraded_consensus_state = 1; -} diff --git a/examples/authz/proto/ibc/core/client/v1/tx.proto b/examples/authz/proto/ibc/core/client/v1/tx.proto deleted file mode 100644 index 82df96de..00000000 --- a/examples/authz/proto/ibc/core/client/v1/tx.proto +++ /dev/null @@ -1,99 +0,0 @@ -syntax = "proto3"; - -package ibc.core.client.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -// Msg defines the ibc/client Msg service. -service Msg { - // CreateClient defines a rpc handler method for MsgCreateClient. - rpc CreateClient(MsgCreateClient) returns (MsgCreateClientResponse); - - // UpdateClient defines a rpc handler method for MsgUpdateClient. - rpc UpdateClient(MsgUpdateClient) returns (MsgUpdateClientResponse); - - // UpgradeClient defines a rpc handler method for MsgUpgradeClient. - rpc UpgradeClient(MsgUpgradeClient) returns (MsgUpgradeClientResponse); - - // SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. - rpc SubmitMisbehaviour(MsgSubmitMisbehaviour) returns (MsgSubmitMisbehaviourResponse); -} - -// MsgCreateClient defines a message to create an IBC client -message MsgCreateClient { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // light client state - google.protobuf.Any client_state = 1 [(gogoproto.moretags) = "yaml:\"client_state\""]; - // consensus state associated with the client that corresponds to a given - // height. - google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; - // signer address - string signer = 3; -} - -// MsgCreateClientResponse defines the Msg/CreateClient response type. -message MsgCreateClientResponse {} - -// MsgUpdateClient defines an sdk.Msg to update a IBC client state using -// the given header. -message MsgUpdateClient { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // client unique identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // header to update the light client - google.protobuf.Any header = 2; - // signer address - string signer = 3; -} - -// MsgUpdateClientResponse defines the Msg/UpdateClient response type. -message MsgUpdateClientResponse {} - -// MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client -// state -message MsgUpgradeClient { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // client unique identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // upgraded client state - google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; - // upgraded consensus state, only contains enough information to serve as a - // basis of trust in update logic - google.protobuf.Any consensus_state = 3 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; - // proof that old chain committed to new client - bytes proof_upgrade_client = 4 [(gogoproto.moretags) = "yaml:\"proof_upgrade_client\""]; - // proof that old chain committed to new consensus state - bytes proof_upgrade_consensus_state = 5 [(gogoproto.moretags) = "yaml:\"proof_upgrade_consensus_state\""]; - // signer address - string signer = 6; -} - -// MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. -message MsgUpgradeClientResponse {} - -// MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for -// light client misbehaviour. -message MsgSubmitMisbehaviour { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // client unique identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // misbehaviour used for freezing the light client - google.protobuf.Any misbehaviour = 2; - // signer address - string signer = 3; -} - -// MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response -// type. -message MsgSubmitMisbehaviourResponse {} diff --git a/examples/authz/proto/ibc/core/commitment/v1/commitment.proto b/examples/authz/proto/ibc/core/commitment/v1/commitment.proto deleted file mode 100644 index b460b9a1..00000000 --- a/examples/authz/proto/ibc/core/commitment/v1/commitment.proto +++ /dev/null @@ -1,41 +0,0 @@ -syntax = "proto3"; - -package ibc.core.commitment.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/23-commitment/types"; - -import "gogoproto/gogo.proto"; -import "confio/proofs.proto"; - -// MerkleRoot defines a merkle root hash. -// In the Cosmos SDK, the AppHash of a block header becomes the root. -message MerkleRoot { - option (gogoproto.goproto_getters) = false; - - bytes hash = 1; -} - -// MerklePrefix is merkle path prefixed to the key. -// The constructed key from the Path and the key will be append(Path.KeyPath, -// append(Path.KeyPrefix, key...)) -message MerklePrefix { - bytes key_prefix = 1 [(gogoproto.moretags) = "yaml:\"key_prefix\""]; -} - -// MerklePath is the path used to verify commitment proofs, which can be an -// arbitrary structured object (defined by a commitment type). -// MerklePath is represented from root-to-leaf -message MerklePath { - option (gogoproto.goproto_stringer) = false; - - repeated string key_path = 1 [(gogoproto.moretags) = "yaml:\"key_path\""]; -} - -// MerkleProof is a wrapper type over a chain of CommitmentProofs. -// It demonstrates membership or non-membership for an element or set of -// elements, verifiable in conjunction with a known commitment root. Proofs -// should be succinct. -// MerkleProofs are ordered from leaf-to-root -message MerkleProof { - repeated ics23.CommitmentProof proofs = 1; -} diff --git a/examples/authz/proto/ibc/core/connection/v1/connection.proto b/examples/authz/proto/ibc/core/connection/v1/connection.proto deleted file mode 100644 index 74c39e26..00000000 --- a/examples/authz/proto/ibc/core/connection/v1/connection.proto +++ /dev/null @@ -1,114 +0,0 @@ -syntax = "proto3"; - -package ibc.core.connection.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; - -import "gogoproto/gogo.proto"; -import "ibc/core/commitment/v1/commitment.proto"; - -// ICS03 - Connection Data Structures as defined in -// https://github.com/cosmos/ibc/blob/master/spec/core/ics-003-connection-semantics#data-structures - -// ConnectionEnd defines a stateful object on a chain connected to another -// separate one. -// NOTE: there must only be 2 defined ConnectionEnds to establish -// a connection between two chains. -message ConnectionEnd { - option (gogoproto.goproto_getters) = false; - // client associated with this connection. - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // IBC version which can be utilised to determine encodings or protocols for - // channels or packets utilising this connection. - repeated Version versions = 2; - // current state of the connection end. - State state = 3; - // counterparty chain associated with this connection. - Counterparty counterparty = 4 [(gogoproto.nullable) = false]; - // delay period that must pass before a consensus state can be used for - // packet-verification NOTE: delay period logic is only implemented by some - // clients. - uint64 delay_period = 5 [(gogoproto.moretags) = "yaml:\"delay_period\""]; -} - -// IdentifiedConnection defines a connection with additional connection -// identifier field. -message IdentifiedConnection { - option (gogoproto.goproto_getters) = false; - // connection identifier. - string id = 1 [(gogoproto.moretags) = "yaml:\"id\""]; - // client associated with this connection. - string client_id = 2 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // IBC version which can be utilised to determine encodings or protocols for - // channels or packets utilising this connection - repeated Version versions = 3; - // current state of the connection end. - State state = 4; - // counterparty chain associated with this connection. - Counterparty counterparty = 5 [(gogoproto.nullable) = false]; - // delay period associated with this connection. - uint64 delay_period = 6 [(gogoproto.moretags) = "yaml:\"delay_period\""]; -} - -// State defines if a connection is in one of the following states: -// INIT, TRYOPEN, OPEN or UNINITIALIZED. -enum State { - option (gogoproto.goproto_enum_prefix) = false; - - // Default State - STATE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNINITIALIZED"]; - // A connection end has just started the opening handshake. - STATE_INIT = 1 [(gogoproto.enumvalue_customname) = "INIT"]; - // A connection end has acknowledged the handshake step on the counterparty - // chain. - STATE_TRYOPEN = 2 [(gogoproto.enumvalue_customname) = "TRYOPEN"]; - // A connection end has completed the handshake. - STATE_OPEN = 3 [(gogoproto.enumvalue_customname) = "OPEN"]; -} - -// Counterparty defines the counterparty chain associated with a connection end. -message Counterparty { - option (gogoproto.goproto_getters) = false; - - // identifies the client on the counterparty chain associated with a given - // connection. - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // identifies the connection end on the counterparty chain associated with a - // given connection. - string connection_id = 2 [(gogoproto.moretags) = "yaml:\"connection_id\""]; - // commitment merkle prefix of the counterparty chain. - ibc.core.commitment.v1.MerklePrefix prefix = 3 [(gogoproto.nullable) = false]; -} - -// ClientPaths define all the connection paths for a client state. -message ClientPaths { - // list of connection paths - repeated string paths = 1; -} - -// ConnectionPaths define all the connection paths for a given client state. -message ConnectionPaths { - // client state unique identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // list of connection paths - repeated string paths = 2; -} - -// Version defines the versioning scheme used to negotiate the IBC verison in -// the connection handshake. -message Version { - option (gogoproto.goproto_getters) = false; - - // unique version identifier - string identifier = 1; - // list of features compatible with the specified identifier - repeated string features = 2; -} - -// Params defines the set of Connection parameters. -message Params { - // maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the - // largest amount of time that the chain might reasonably take to produce the next block under normal operating - // conditions. A safe choice is 3-5x the expected time per block. - uint64 max_expected_time_per_block = 1 [(gogoproto.moretags) = "yaml:\"max_expected_time_per_block\""]; -} diff --git a/examples/authz/proto/ibc/core/connection/v1/genesis.proto b/examples/authz/proto/ibc/core/connection/v1/genesis.proto deleted file mode 100644 index ec5be642..00000000 --- a/examples/authz/proto/ibc/core/connection/v1/genesis.proto +++ /dev/null @@ -1,18 +0,0 @@ -syntax = "proto3"; - -package ibc.core.connection.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; - -import "gogoproto/gogo.proto"; -import "ibc/core/connection/v1/connection.proto"; - -// GenesisState defines the ibc connection submodule's genesis state. -message GenesisState { - repeated IdentifiedConnection connections = 1 [(gogoproto.nullable) = false]; - repeated ConnectionPaths client_connection_paths = 2 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_connection_paths\""]; - // the sequence for the next generated connection identifier - uint64 next_connection_sequence = 3 [(gogoproto.moretags) = "yaml:\"next_connection_sequence\""]; - Params params = 4 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/ibc/core/connection/v1/query.proto b/examples/authz/proto/ibc/core/connection/v1/query.proto deleted file mode 100644 index d668c3d2..00000000 --- a/examples/authz/proto/ibc/core/connection/v1/query.proto +++ /dev/null @@ -1,138 +0,0 @@ -syntax = "proto3"; - -package ibc.core.connection.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; - -import "gogoproto/gogo.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "ibc/core/client/v1/client.proto"; -import "ibc/core/connection/v1/connection.proto"; -import "google/api/annotations.proto"; -import "google/protobuf/any.proto"; - -// Query provides defines the gRPC querier service -service Query { - // Connection queries an IBC connection end. - rpc Connection(QueryConnectionRequest) returns (QueryConnectionResponse) { - option (google.api.http).get = "/ibc/core/connection/v1/connections/{connection_id}"; - } - - // Connections queries all the IBC connections of a chain. - rpc Connections(QueryConnectionsRequest) returns (QueryConnectionsResponse) { - option (google.api.http).get = "/ibc/core/connection/v1/connections"; - } - - // ClientConnections queries the connection paths associated with a client - // state. - rpc ClientConnections(QueryClientConnectionsRequest) returns (QueryClientConnectionsResponse) { - option (google.api.http).get = "/ibc/core/connection/v1/client_connections/{client_id}"; - } - - // ConnectionClientState queries the client state associated with the - // connection. - rpc ConnectionClientState(QueryConnectionClientStateRequest) returns (QueryConnectionClientStateResponse) { - option (google.api.http).get = "/ibc/core/connection/v1/connections/{connection_id}/client_state"; - } - - // ConnectionConsensusState queries the consensus state associated with the - // connection. - rpc ConnectionConsensusState(QueryConnectionConsensusStateRequest) returns (QueryConnectionConsensusStateResponse) { - option (google.api.http).get = "/ibc/core/connection/v1/connections/{connection_id}/consensus_state/" - "revision/{revision_number}/height/{revision_height}"; - } -} - -// QueryConnectionRequest is the request type for the Query/Connection RPC -// method -message QueryConnectionRequest { - // connection unique identifier - string connection_id = 1; -} - -// QueryConnectionResponse is the response type for the Query/Connection RPC -// method. Besides the connection end, it includes a proof and the height from -// which the proof was retrieved. -message QueryConnectionResponse { - // connection associated with the request identifier - ibc.core.connection.v1.ConnectionEnd connection = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryConnectionsRequest is the request type for the Query/Connections RPC -// method -message QueryConnectionsRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryConnectionsResponse is the response type for the Query/Connections RPC -// method. -message QueryConnectionsResponse { - // list of stored connections of the chain. - repeated ibc.core.connection.v1.IdentifiedConnection connections = 1; - // pagination response - cosmos.base.query.v1beta1.PageResponse pagination = 2; - // query block height - ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; -} - -// QueryClientConnectionsRequest is the request type for the -// Query/ClientConnections RPC method -message QueryClientConnectionsRequest { - // client identifier associated with a connection - string client_id = 1; -} - -// QueryClientConnectionsResponse is the response type for the -// Query/ClientConnections RPC method -message QueryClientConnectionsResponse { - // slice of all the connection paths associated with a client. - repeated string connection_paths = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was generated - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryConnectionClientStateRequest is the request type for the -// Query/ConnectionClientState RPC method -message QueryConnectionClientStateRequest { - // connection identifier - string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; -} - -// QueryConnectionClientStateResponse is the response type for the -// Query/ConnectionClientState RPC method -message QueryConnectionClientStateResponse { - // client state associated with the channel - ibc.core.client.v1.IdentifiedClientState identified_client_state = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryConnectionConsensusStateRequest is the request type for the -// Query/ConnectionConsensusState RPC method -message QueryConnectionConsensusStateRequest { - // connection identifier - string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; - uint64 revision_number = 2; - uint64 revision_height = 3; -} - -// QueryConnectionConsensusStateResponse is the response type for the -// Query/ConnectionConsensusState RPC method -message QueryConnectionConsensusStateResponse { - // consensus state associated with the channel - google.protobuf.Any consensus_state = 1; - // client ID associated with the consensus state - string client_id = 2; - // merkle proof of existence - bytes proof = 3; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 4 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/ibc/core/connection/v1/tx.proto b/examples/authz/proto/ibc/core/connection/v1/tx.proto deleted file mode 100644 index 9d4e577e..00000000 --- a/examples/authz/proto/ibc/core/connection/v1/tx.proto +++ /dev/null @@ -1,119 +0,0 @@ -syntax = "proto3"; - -package ibc.core.connection.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "ibc/core/client/v1/client.proto"; -import "ibc/core/connection/v1/connection.proto"; - -// Msg defines the ibc/connection Msg service. -service Msg { - // ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit. - rpc ConnectionOpenInit(MsgConnectionOpenInit) returns (MsgConnectionOpenInitResponse); - - // ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry. - rpc ConnectionOpenTry(MsgConnectionOpenTry) returns (MsgConnectionOpenTryResponse); - - // ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck. - rpc ConnectionOpenAck(MsgConnectionOpenAck) returns (MsgConnectionOpenAckResponse); - - // ConnectionOpenConfirm defines a rpc handler method for - // MsgConnectionOpenConfirm. - rpc ConnectionOpenConfirm(MsgConnectionOpenConfirm) returns (MsgConnectionOpenConfirmResponse); -} - -// MsgConnectionOpenInit defines the msg sent by an account on Chain A to -// initialize a connection with Chain B. -message MsgConnectionOpenInit { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - Counterparty counterparty = 2 [(gogoproto.nullable) = false]; - Version version = 3; - uint64 delay_period = 4 [(gogoproto.moretags) = "yaml:\"delay_period\""]; - string signer = 5; -} - -// MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response -// type. -message MsgConnectionOpenInitResponse {} - -// MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a -// connection on Chain B. -message MsgConnectionOpenTry { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // in the case of crossing hello's, when both chains call OpenInit, we need - // the connection identifier of the previous connection in state INIT - string previous_connection_id = 2 [(gogoproto.moretags) = "yaml:\"previous_connection_id\""]; - google.protobuf.Any client_state = 3 [(gogoproto.moretags) = "yaml:\"client_state\""]; - Counterparty counterparty = 4 [(gogoproto.nullable) = false]; - uint64 delay_period = 5 [(gogoproto.moretags) = "yaml:\"delay_period\""]; - repeated Version counterparty_versions = 6 [(gogoproto.moretags) = "yaml:\"counterparty_versions\""]; - ibc.core.client.v1.Height proof_height = 7 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - // proof of the initialization the connection on Chain A: `UNITIALIZED -> - // INIT` - bytes proof_init = 8 [(gogoproto.moretags) = "yaml:\"proof_init\""]; - // proof of client state included in message - bytes proof_client = 9 [(gogoproto.moretags) = "yaml:\"proof_client\""]; - // proof of client consensus state - bytes proof_consensus = 10 [(gogoproto.moretags) = "yaml:\"proof_consensus\""]; - ibc.core.client.v1.Height consensus_height = 11 - [(gogoproto.moretags) = "yaml:\"consensus_height\"", (gogoproto.nullable) = false]; - string signer = 12; -} - -// MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. -message MsgConnectionOpenTryResponse {} - -// MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to -// acknowledge the change of connection state to TRYOPEN on Chain B. -message MsgConnectionOpenAck { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; - string counterparty_connection_id = 2 [(gogoproto.moretags) = "yaml:\"counterparty_connection_id\""]; - Version version = 3; - google.protobuf.Any client_state = 4 [(gogoproto.moretags) = "yaml:\"client_state\""]; - ibc.core.client.v1.Height proof_height = 5 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - // proof of the initialization the connection on Chain B: `UNITIALIZED -> - // TRYOPEN` - bytes proof_try = 6 [(gogoproto.moretags) = "yaml:\"proof_try\""]; - // proof of client state included in message - bytes proof_client = 7 [(gogoproto.moretags) = "yaml:\"proof_client\""]; - // proof of client consensus state - bytes proof_consensus = 8 [(gogoproto.moretags) = "yaml:\"proof_consensus\""]; - ibc.core.client.v1.Height consensus_height = 9 - [(gogoproto.moretags) = "yaml:\"consensus_height\"", (gogoproto.nullable) = false]; - string signer = 10; -} - -// MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. -message MsgConnectionOpenAckResponse {} - -// MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to -// acknowledge the change of connection state to OPEN on Chain A. -message MsgConnectionOpenConfirm { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; - // proof for the change of the connection state on Chain A: `INIT -> OPEN` - bytes proof_ack = 2 [(gogoproto.moretags) = "yaml:\"proof_ack\""]; - ibc.core.client.v1.Height proof_height = 3 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - string signer = 4; -} - -// MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm -// response type. -message MsgConnectionOpenConfirmResponse {} diff --git a/examples/authz/proto/ibc/core/port/v1/query.proto b/examples/authz/proto/ibc/core/port/v1/query.proto deleted file mode 100644 index 3c7fb7cb..00000000 --- a/examples/authz/proto/ibc/core/port/v1/query.proto +++ /dev/null @@ -1,35 +0,0 @@ -syntax = "proto3"; - -package ibc.core.port.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/05-port/types"; - -import "ibc/core/channel/v1/channel.proto"; - -// Query defines the gRPC querier service -service Query { - // AppVersion queries an IBC Port and determines the appropriate application version to be used - rpc AppVersion(QueryAppVersionRequest) returns (QueryAppVersionResponse) {} -} - -// QueryAppVersionRequest is the request type for the Query/AppVersion RPC method -message QueryAppVersionRequest { - // port unique identifier - string port_id = 1; - // connection unique identifier - string connection_id = 2; - // whether the channel is ordered or unordered - ibc.core.channel.v1.Order ordering = 3; - // counterparty channel end - ibc.core.channel.v1.Counterparty counterparty = 4; - // proposed version - string proposed_version = 5; -} - -// QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. -message QueryAppVersionResponse { - // port id associated with the request identifiers - string port_id = 1; - // supported app version - string version = 2; -} diff --git a/examples/authz/proto/ibc/core/types/v1/genesis.proto b/examples/authz/proto/ibc/core/types/v1/genesis.proto deleted file mode 100644 index e39f6cdb..00000000 --- a/examples/authz/proto/ibc/core/types/v1/genesis.proto +++ /dev/null @@ -1,23 +0,0 @@ -syntax = "proto3"; - -package ibc.core.types.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/types"; - -import "gogoproto/gogo.proto"; -import "ibc/core/client/v1/genesis.proto"; -import "ibc/core/connection/v1/genesis.proto"; -import "ibc/core/channel/v1/genesis.proto"; - -// GenesisState defines the ibc module's genesis state. -message GenesisState { - // ICS002 - Clients genesis state - ibc.core.client.v1.GenesisState client_genesis = 1 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_genesis\""]; - // ICS003 - Connections genesis state - ibc.core.connection.v1.GenesisState connection_genesis = 2 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"connection_genesis\""]; - // ICS004 - Channel genesis state - ibc.core.channel.v1.GenesisState channel_genesis = 3 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"channel_genesis\""]; -} diff --git a/examples/authz/proto/ibc/lightclients/localhost/v1/localhost.proto b/examples/authz/proto/ibc/lightclients/localhost/v1/localhost.proto deleted file mode 100644 index 4fe05b78..00000000 --- a/examples/authz/proto/ibc/lightclients/localhost/v1/localhost.proto +++ /dev/null @@ -1,18 +0,0 @@ -syntax = "proto3"; - -package ibc.lightclients.localhost.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/light-clients/09-localhost/types"; - -import "gogoproto/gogo.proto"; -import "ibc/core/client/v1/client.proto"; - -// ClientState defines a loopback (localhost) client. It requires (read-only) -// access to keys outside the client prefix. -message ClientState { - option (gogoproto.goproto_getters) = false; - // self chain ID - string chain_id = 1 [(gogoproto.moretags) = "yaml:\"chain_id\""]; - // self latest block height - ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/ibc/lightclients/solomachine/v1/solomachine.proto b/examples/authz/proto/ibc/lightclients/solomachine/v1/solomachine.proto deleted file mode 100644 index b9b8a3a2..00000000 --- a/examples/authz/proto/ibc/lightclients/solomachine/v1/solomachine.proto +++ /dev/null @@ -1,189 +0,0 @@ -syntax = "proto3"; - -package ibc.lightclients.solomachine.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/legacy/v100"; - -import "ibc/core/connection/v1/connection.proto"; -import "ibc/core/channel/v1/channel.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -// ClientState defines a solo machine client that tracks the current consensus -// state and if the client is frozen. -message ClientState { - option (gogoproto.goproto_getters) = false; - // latest sequence of the client state - uint64 sequence = 1; - // frozen sequence of the solo machine - uint64 frozen_sequence = 2 [(gogoproto.moretags) = "yaml:\"frozen_sequence\""]; - ConsensusState consensus_state = 3 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; - // when set to true, will allow governance to update a solo machine client. - // The client will be unfrozen if it is frozen. - bool allow_update_after_proposal = 4 [(gogoproto.moretags) = "yaml:\"allow_update_after_proposal\""]; -} - -// ConsensusState defines a solo machine consensus state. The sequence of a -// consensus state is contained in the "height" key used in storing the -// consensus state. -message ConsensusState { - option (gogoproto.goproto_getters) = false; - // public key of the solo machine - google.protobuf.Any public_key = 1 [(gogoproto.moretags) = "yaml:\"public_key\""]; - // diversifier allows the same public key to be re-used across different solo - // machine clients (potentially on different chains) without being considered - // misbehaviour. - string diversifier = 2; - uint64 timestamp = 3; -} - -// Header defines a solo machine consensus header -message Header { - option (gogoproto.goproto_getters) = false; - // sequence to update solo machine public key at - uint64 sequence = 1; - uint64 timestamp = 2; - bytes signature = 3; - google.protobuf.Any new_public_key = 4 [(gogoproto.moretags) = "yaml:\"new_public_key\""]; - string new_diversifier = 5 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; -} - -// Misbehaviour defines misbehaviour for a solo machine which consists -// of a sequence and two signatures over different messages at that sequence. -message Misbehaviour { - option (gogoproto.goproto_getters) = false; - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - uint64 sequence = 2; - SignatureAndData signature_one = 3 [(gogoproto.moretags) = "yaml:\"signature_one\""]; - SignatureAndData signature_two = 4 [(gogoproto.moretags) = "yaml:\"signature_two\""]; -} - -// SignatureAndData contains a signature and the data signed over to create that -// signature. -message SignatureAndData { - option (gogoproto.goproto_getters) = false; - bytes signature = 1; - DataType data_type = 2 [(gogoproto.moretags) = "yaml:\"data_type\""]; - bytes data = 3; - uint64 timestamp = 4; -} - -// TimestampedSignatureData contains the signature data and the timestamp of the -// signature. -message TimestampedSignatureData { - option (gogoproto.goproto_getters) = false; - bytes signature_data = 1 [(gogoproto.moretags) = "yaml:\"signature_data\""]; - uint64 timestamp = 2; -} - -// SignBytes defines the signed bytes used for signature verification. -message SignBytes { - option (gogoproto.goproto_getters) = false; - - uint64 sequence = 1; - uint64 timestamp = 2; - string diversifier = 3; - // type of the data used - DataType data_type = 4 [(gogoproto.moretags) = "yaml:\"data_type\""]; - // marshaled data - bytes data = 5; -} - -// DataType defines the type of solo machine proof being created. This is done -// to preserve uniqueness of different data sign byte encodings. -enum DataType { - option (gogoproto.goproto_enum_prefix) = false; - - // Default State - DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNSPECIFIED"]; - // Data type for client state verification - DATA_TYPE_CLIENT_STATE = 1 [(gogoproto.enumvalue_customname) = "CLIENT"]; - // Data type for consensus state verification - DATA_TYPE_CONSENSUS_STATE = 2 [(gogoproto.enumvalue_customname) = "CONSENSUS"]; - // Data type for connection state verification - DATA_TYPE_CONNECTION_STATE = 3 [(gogoproto.enumvalue_customname) = "CONNECTION"]; - // Data type for channel state verification - DATA_TYPE_CHANNEL_STATE = 4 [(gogoproto.enumvalue_customname) = "CHANNEL"]; - // Data type for packet commitment verification - DATA_TYPE_PACKET_COMMITMENT = 5 [(gogoproto.enumvalue_customname) = "PACKETCOMMITMENT"]; - // Data type for packet acknowledgement verification - DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6 [(gogoproto.enumvalue_customname) = "PACKETACKNOWLEDGEMENT"]; - // Data type for packet receipt absence verification - DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7 [(gogoproto.enumvalue_customname) = "PACKETRECEIPTABSENCE"]; - // Data type for next sequence recv verification - DATA_TYPE_NEXT_SEQUENCE_RECV = 8 [(gogoproto.enumvalue_customname) = "NEXTSEQUENCERECV"]; - // Data type for header verification - DATA_TYPE_HEADER = 9 [(gogoproto.enumvalue_customname) = "HEADER"]; -} - -// HeaderData returns the SignBytes data for update verification. -message HeaderData { - option (gogoproto.goproto_getters) = false; - - // header public key - google.protobuf.Any new_pub_key = 1 [(gogoproto.moretags) = "yaml:\"new_pub_key\""]; - // header diversifier - string new_diversifier = 2 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; -} - -// ClientStateData returns the SignBytes data for client state verification. -message ClientStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; -} - -// ConsensusStateData returns the SignBytes data for consensus state -// verification. -message ConsensusStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; -} - -// ConnectionStateData returns the SignBytes data for connection state -// verification. -message ConnectionStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - ibc.core.connection.v1.ConnectionEnd connection = 2; -} - -// ChannelStateData returns the SignBytes data for channel state -// verification. -message ChannelStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - ibc.core.channel.v1.Channel channel = 2; -} - -// PacketCommitmentData returns the SignBytes data for packet commitment -// verification. -message PacketCommitmentData { - bytes path = 1; - bytes commitment = 2; -} - -// PacketAcknowledgementData returns the SignBytes data for acknowledgement -// verification. -message PacketAcknowledgementData { - bytes path = 1; - bytes acknowledgement = 2; -} - -// PacketReceiptAbsenceData returns the SignBytes data for -// packet receipt absence verification. -message PacketReceiptAbsenceData { - bytes path = 1; -} - -// NextSequenceRecvData returns the SignBytes data for verification of the next -// sequence to be received. -message NextSequenceRecvData { - bytes path = 1; - uint64 next_seq_recv = 2 [(gogoproto.moretags) = "yaml:\"next_seq_recv\""]; -} diff --git a/examples/authz/proto/ibc/lightclients/solomachine/v2/solomachine.proto b/examples/authz/proto/ibc/lightclients/solomachine/v2/solomachine.proto deleted file mode 100644 index 0c8c638c..00000000 --- a/examples/authz/proto/ibc/lightclients/solomachine/v2/solomachine.proto +++ /dev/null @@ -1,189 +0,0 @@ -syntax = "proto3"; - -package ibc.lightclients.solomachine.v2; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/light-clients/06-solomachine/types"; - -import "ibc/core/connection/v1/connection.proto"; -import "ibc/core/channel/v1/channel.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -// ClientState defines a solo machine client that tracks the current consensus -// state and if the client is frozen. -message ClientState { - option (gogoproto.goproto_getters) = false; - // latest sequence of the client state - uint64 sequence = 1; - // frozen sequence of the solo machine - bool is_frozen = 2 [(gogoproto.moretags) = "yaml:\"is_frozen\""]; - ConsensusState consensus_state = 3 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; - // when set to true, will allow governance to update a solo machine client. - // The client will be unfrozen if it is frozen. - bool allow_update_after_proposal = 4 [(gogoproto.moretags) = "yaml:\"allow_update_after_proposal\""]; -} - -// ConsensusState defines a solo machine consensus state. The sequence of a -// consensus state is contained in the "height" key used in storing the -// consensus state. -message ConsensusState { - option (gogoproto.goproto_getters) = false; - // public key of the solo machine - google.protobuf.Any public_key = 1 [(gogoproto.moretags) = "yaml:\"public_key\""]; - // diversifier allows the same public key to be re-used across different solo - // machine clients (potentially on different chains) without being considered - // misbehaviour. - string diversifier = 2; - uint64 timestamp = 3; -} - -// Header defines a solo machine consensus header -message Header { - option (gogoproto.goproto_getters) = false; - // sequence to update solo machine public key at - uint64 sequence = 1; - uint64 timestamp = 2; - bytes signature = 3; - google.protobuf.Any new_public_key = 4 [(gogoproto.moretags) = "yaml:\"new_public_key\""]; - string new_diversifier = 5 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; -} - -// Misbehaviour defines misbehaviour for a solo machine which consists -// of a sequence and two signatures over different messages at that sequence. -message Misbehaviour { - option (gogoproto.goproto_getters) = false; - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - uint64 sequence = 2; - SignatureAndData signature_one = 3 [(gogoproto.moretags) = "yaml:\"signature_one\""]; - SignatureAndData signature_two = 4 [(gogoproto.moretags) = "yaml:\"signature_two\""]; -} - -// SignatureAndData contains a signature and the data signed over to create that -// signature. -message SignatureAndData { - option (gogoproto.goproto_getters) = false; - bytes signature = 1; - DataType data_type = 2 [(gogoproto.moretags) = "yaml:\"data_type\""]; - bytes data = 3; - uint64 timestamp = 4; -} - -// TimestampedSignatureData contains the signature data and the timestamp of the -// signature. -message TimestampedSignatureData { - option (gogoproto.goproto_getters) = false; - bytes signature_data = 1 [(gogoproto.moretags) = "yaml:\"signature_data\""]; - uint64 timestamp = 2; -} - -// SignBytes defines the signed bytes used for signature verification. -message SignBytes { - option (gogoproto.goproto_getters) = false; - - uint64 sequence = 1; - uint64 timestamp = 2; - string diversifier = 3; - // type of the data used - DataType data_type = 4 [(gogoproto.moretags) = "yaml:\"data_type\""]; - // marshaled data - bytes data = 5; -} - -// DataType defines the type of solo machine proof being created. This is done -// to preserve uniqueness of different data sign byte encodings. -enum DataType { - option (gogoproto.goproto_enum_prefix) = false; - - // Default State - DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNSPECIFIED"]; - // Data type for client state verification - DATA_TYPE_CLIENT_STATE = 1 [(gogoproto.enumvalue_customname) = "CLIENT"]; - // Data type for consensus state verification - DATA_TYPE_CONSENSUS_STATE = 2 [(gogoproto.enumvalue_customname) = "CONSENSUS"]; - // Data type for connection state verification - DATA_TYPE_CONNECTION_STATE = 3 [(gogoproto.enumvalue_customname) = "CONNECTION"]; - // Data type for channel state verification - DATA_TYPE_CHANNEL_STATE = 4 [(gogoproto.enumvalue_customname) = "CHANNEL"]; - // Data type for packet commitment verification - DATA_TYPE_PACKET_COMMITMENT = 5 [(gogoproto.enumvalue_customname) = "PACKETCOMMITMENT"]; - // Data type for packet acknowledgement verification - DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6 [(gogoproto.enumvalue_customname) = "PACKETACKNOWLEDGEMENT"]; - // Data type for packet receipt absence verification - DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7 [(gogoproto.enumvalue_customname) = "PACKETRECEIPTABSENCE"]; - // Data type for next sequence recv verification - DATA_TYPE_NEXT_SEQUENCE_RECV = 8 [(gogoproto.enumvalue_customname) = "NEXTSEQUENCERECV"]; - // Data type for header verification - DATA_TYPE_HEADER = 9 [(gogoproto.enumvalue_customname) = "HEADER"]; -} - -// HeaderData returns the SignBytes data for update verification. -message HeaderData { - option (gogoproto.goproto_getters) = false; - - // header public key - google.protobuf.Any new_pub_key = 1 [(gogoproto.moretags) = "yaml:\"new_pub_key\""]; - // header diversifier - string new_diversifier = 2 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; -} - -// ClientStateData returns the SignBytes data for client state verification. -message ClientStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; -} - -// ConsensusStateData returns the SignBytes data for consensus state -// verification. -message ConsensusStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; -} - -// ConnectionStateData returns the SignBytes data for connection state -// verification. -message ConnectionStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - ibc.core.connection.v1.ConnectionEnd connection = 2; -} - -// ChannelStateData returns the SignBytes data for channel state -// verification. -message ChannelStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - ibc.core.channel.v1.Channel channel = 2; -} - -// PacketCommitmentData returns the SignBytes data for packet commitment -// verification. -message PacketCommitmentData { - bytes path = 1; - bytes commitment = 2; -} - -// PacketAcknowledgementData returns the SignBytes data for acknowledgement -// verification. -message PacketAcknowledgementData { - bytes path = 1; - bytes acknowledgement = 2; -} - -// PacketReceiptAbsenceData returns the SignBytes data for -// packet receipt absence verification. -message PacketReceiptAbsenceData { - bytes path = 1; -} - -// NextSequenceRecvData returns the SignBytes data for verification of the next -// sequence to be received. -message NextSequenceRecvData { - bytes path = 1; - uint64 next_seq_recv = 2 [(gogoproto.moretags) = "yaml:\"next_seq_recv\""]; -} diff --git a/examples/authz/proto/ibc/lightclients/tendermint/v1/tendermint.proto b/examples/authz/proto/ibc/lightclients/tendermint/v1/tendermint.proto deleted file mode 100644 index 54e229b2..00000000 --- a/examples/authz/proto/ibc/lightclients/tendermint/v1/tendermint.proto +++ /dev/null @@ -1,115 +0,0 @@ -syntax = "proto3"; - -package ibc.lightclients.tendermint.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/light-clients/07-tendermint/types"; - -import "tendermint/types/validator.proto"; -import "tendermint/types/types.proto"; -import "confio/proofs.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; -import "ibc/core/client/v1/client.proto"; -import "ibc/core/commitment/v1/commitment.proto"; -import "gogoproto/gogo.proto"; - -// ClientState from Tendermint tracks the current validator set, latest height, -// and a possible frozen height. -message ClientState { - option (gogoproto.goproto_getters) = false; - - string chain_id = 1; - Fraction trust_level = 2 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"trust_level\""]; - // duration of the period since the LastestTimestamp during which the - // submitted headers are valid for upgrade - google.protobuf.Duration trusting_period = 3 - [(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.moretags) = "yaml:\"trusting_period\""]; - // duration of the staking unbonding period - google.protobuf.Duration unbonding_period = 4 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.moretags) = "yaml:\"unbonding_period\"" - ]; - // defines how much new (untrusted) header's Time can drift into the future. - google.protobuf.Duration max_clock_drift = 5 - [(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.moretags) = "yaml:\"max_clock_drift\""]; - // Block height when the client was frozen due to a misbehaviour - ibc.core.client.v1.Height frozen_height = 6 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"frozen_height\""]; - // Latest height the client was updated to - ibc.core.client.v1.Height latest_height = 7 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"latest_height\""]; - - // Proof specifications used in verifying counterparty state - repeated ics23.ProofSpec proof_specs = 8 [(gogoproto.moretags) = "yaml:\"proof_specs\""]; - - // Path at which next upgraded client will be committed. - // Each element corresponds to the key for a single CommitmentProof in the - // chained proof. NOTE: ClientState must stored under - // `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored - // under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using - // the default upgrade module, upgrade_path should be []string{"upgrade", - // "upgradedIBCState"}` - repeated string upgrade_path = 9 [(gogoproto.moretags) = "yaml:\"upgrade_path\""]; - - // This flag, when set to true, will allow governance to recover a client - // which has expired - bool allow_update_after_expiry = 10 [(gogoproto.moretags) = "yaml:\"allow_update_after_expiry\""]; - // This flag, when set to true, will allow governance to unfreeze a client - // whose chain has experienced a misbehaviour event - bool allow_update_after_misbehaviour = 11 [(gogoproto.moretags) = "yaml:\"allow_update_after_misbehaviour\""]; -} - -// ConsensusState defines the consensus state from Tendermint. -message ConsensusState { - option (gogoproto.goproto_getters) = false; - - // timestamp that corresponds to the block height in which the ConsensusState - // was stored. - google.protobuf.Timestamp timestamp = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - // commitment root (i.e app hash) - ibc.core.commitment.v1.MerkleRoot root = 2 [(gogoproto.nullable) = false]; - bytes next_validators_hash = 3 [ - (gogoproto.casttype) = "github.com/tendermint/tendermint/libs/bytes.HexBytes", - (gogoproto.moretags) = "yaml:\"next_validators_hash\"" - ]; -} - -// Misbehaviour is a wrapper over two conflicting Headers -// that implements Misbehaviour interface expected by ICS-02 -message Misbehaviour { - option (gogoproto.goproto_getters) = false; - - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - Header header_1 = 2 [(gogoproto.customname) = "Header1", (gogoproto.moretags) = "yaml:\"header_1\""]; - Header header_2 = 3 [(gogoproto.customname) = "Header2", (gogoproto.moretags) = "yaml:\"header_2\""]; -} - -// Header defines the Tendermint client consensus Header. -// It encapsulates all the information necessary to update from a trusted -// Tendermint ConsensusState. The inclusion of TrustedHeight and -// TrustedValidators allows this update to process correctly, so long as the -// ConsensusState for the TrustedHeight exists, this removes race conditions -// among relayers The SignedHeader and ValidatorSet are the new untrusted update -// fields for the client. The TrustedHeight is the height of a stored -// ConsensusState on the client that will be used to verify the new untrusted -// header. The Trusted ConsensusState must be within the unbonding period of -// current time in order to correctly verify, and the TrustedValidators must -// hash to TrustedConsensusState.NextValidatorsHash since that is the last -// trusted validator set at the TrustedHeight. -message Header { - .tendermint.types.SignedHeader signed_header = 1 - [(gogoproto.embed) = true, (gogoproto.moretags) = "yaml:\"signed_header\""]; - - .tendermint.types.ValidatorSet validator_set = 2 [(gogoproto.moretags) = "yaml:\"validator_set\""]; - ibc.core.client.v1.Height trusted_height = 3 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"trusted_height\""]; - .tendermint.types.ValidatorSet trusted_validators = 4 [(gogoproto.moretags) = "yaml:\"trusted_validators\""]; -} - -// Fraction defines the protobuf message type for tmmath.Fraction that only -// supports positive values. -message Fraction { - uint64 numerator = 1; - uint64 denominator = 2; -} diff --git a/examples/authz/proto/osmosis/claim/v1beta1/claim.proto b/examples/authz/proto/osmosis/claim/v1beta1/claim.proto deleted file mode 100644 index 47e824ab..00000000 --- a/examples/authz/proto/osmosis/claim/v1beta1/claim.proto +++ /dev/null @@ -1,35 +0,0 @@ -syntax = "proto3"; -package osmosis.claim.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/bank/v1beta1/genesis.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v7/x/claim/types"; - -enum Action { - option (gogoproto.goproto_enum_prefix) = false; - - ActionAddLiquidity = 0; - ActionSwap = 1; - ActionVote = 2; - ActionDelegateStake = 3; -} - -// A Claim Records is the metadata of claim data per address -message ClaimRecord { - // address of claim user - string address = 1 [ (gogoproto.moretags) = "yaml:\"address\"" ]; - - // total initial claimable amount for the user - repeated cosmos.base.v1beta1.Coin initial_claimable_amount = 2 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"initial_claimable_amount\"" - ]; - - // true if action is completed - // index of bool in array refers to action enum # - repeated bool action_completed = 3 - [ (gogoproto.moretags) = "yaml:\"action_completed\"" ]; -} \ No newline at end of file diff --git a/examples/authz/proto/osmosis/claim/v1beta1/genesis.proto b/examples/authz/proto/osmosis/claim/v1beta1/genesis.proto deleted file mode 100644 index 1166a25c..00000000 --- a/examples/authz/proto/osmosis/claim/v1beta1/genesis.proto +++ /dev/null @@ -1,33 +0,0 @@ -syntax = "proto3"; -package osmosis.claim.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/bank/v1beta1/genesis.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; -import "osmosis/claim/v1beta1/claim.proto"; -import "osmosis/claim/v1beta1/params.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v7/x/claim/types"; - -// GenesisState defines the claim module's genesis state. -message GenesisState { - // balance of the claim module's account - cosmos.base.v1beta1.Coin module_account_balance = 1 [ - (gogoproto.moretags) = "yaml:\"module_account_balance\"", - (gogoproto.nullable) = false - ]; - - // params defines all the parameters of the module. - Params params = 2 [ - (gogoproto.moretags) = "yaml:\"params\"", - (gogoproto.nullable) = false - ]; - - // list of claim records, one for every airdrop recipient - repeated ClaimRecord claim_records = 3 [ - (gogoproto.moretags) = "yaml:\"claim_records\"", - (gogoproto.nullable) = false - ]; -} diff --git a/examples/authz/proto/osmosis/claim/v1beta1/params.proto b/examples/authz/proto/osmosis/claim/v1beta1/params.proto deleted file mode 100644 index 3398b0da..00000000 --- a/examples/authz/proto/osmosis/claim/v1beta1/params.proto +++ /dev/null @@ -1,31 +0,0 @@ -syntax = "proto3"; -package osmosis.claim.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v7/x/claim/types"; - -// Params defines the claim module's parameters. -message Params { - google.protobuf.Timestamp airdrop_start_time = 1 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"airdrop_start_time\"" - ]; - google.protobuf.Duration duration_until_decay = 2 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "duration_until_decay,omitempty", - (gogoproto.moretags) = "yaml:\"duration_until_decay\"" - ]; - google.protobuf.Duration duration_of_decay = 3 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "duration_of_decay,omitempty", - (gogoproto.moretags) = "yaml:\"duration_of_decay\"" - ]; - // denom of claimable asset - string claim_denom = 4; -} diff --git a/examples/authz/proto/osmosis/claim/v1beta1/query.proto b/examples/authz/proto/osmosis/claim/v1beta1/query.proto deleted file mode 100644 index cca55759..00000000 --- a/examples/authz/proto/osmosis/claim/v1beta1/query.proto +++ /dev/null @@ -1,94 +0,0 @@ -syntax = "proto3"; -package osmosis.claim.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "osmosis/claim/v1beta1/claim.proto"; -import "osmosis/claim/v1beta1/params.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v7/x/claim/types"; - -// Query defines the gRPC querier service. -service Query { - rpc ModuleAccountBalance(QueryModuleAccountBalanceRequest) - returns (QueryModuleAccountBalanceResponse) { - option (google.api.http).get = - "/osmosis/claim/v1beta1/module_account_balance"; - } - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/osmosis/claim/v1beta1/params"; - } - rpc ClaimRecord(QueryClaimRecordRequest) returns (QueryClaimRecordResponse) { - option (google.api.http).get = - "/osmosis/claim/v1beta1/claim_record/{address}"; - } - rpc ClaimableForAction(QueryClaimableForActionRequest) - returns (QueryClaimableForActionResponse) { - option (google.api.http).get = - "/osmosis/claim/v1beta1/claimable_for_action/{address}/{action}"; - } - rpc TotalClaimable(QueryTotalClaimableRequest) - returns (QueryTotalClaimableResponse) { - option (google.api.http).get = - "/osmosis/claim/v1beta1/total_claimable/{address}"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryModuleAccountBalanceRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryModuleAccountBalanceResponse { - // params defines the parameters of the module. - repeated cosmos.base.v1beta1.Coin moduleAccountBalance = 1 [ - (gogoproto.moretags) = "yaml:\"coins\"", - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; -} - -message QueryClaimRecordRequest { - string address = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; -} - -message QueryClaimRecordResponse { - ClaimRecord claim_record = 1 [ - (gogoproto.moretags) = "yaml:\"claim_record\"", - (gogoproto.nullable) = false - ]; -} - -message QueryClaimableForActionRequest { - string address = 1 [ (gogoproto.moretags) = "yaml:\"address\"" ]; - Action action = 2 [ (gogoproto.moretags) = "yaml:\"action\"" ]; -} - -message QueryClaimableForActionResponse { - repeated cosmos.base.v1beta1.Coin coins = 1 [ - (gogoproto.moretags) = "yaml:\"coins\"", - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -message QueryTotalClaimableRequest { - string address = 1 [ (gogoproto.moretags) = "yaml:\"address\"" ]; -} - -message QueryTotalClaimableResponse { - repeated cosmos.base.v1beta1.Coin coins = 1 [ - (gogoproto.moretags) = "yaml:\"coins\"", - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} \ No newline at end of file diff --git a/examples/authz/proto/osmosis/epochs/genesis.proto b/examples/authz/proto/osmosis/epochs/genesis.proto deleted file mode 100644 index f8a2754b..00000000 --- a/examples/authz/proto/osmosis/epochs/genesis.proto +++ /dev/null @@ -1,72 +0,0 @@ -syntax = "proto3"; -package osmosis.epochs.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/epochs/types"; - -// EpochInfo is a struct that describes the data going into -// a timer defined by the x/epochs module. -message EpochInfo { - // identifier is a unique reference to this particular timer. - string identifier = 1; - // start_time is the time at which the timer first ever ticks. - // If start_time is in the future, the epoch will not begin until the start - // time. - google.protobuf.Timestamp start_time = 2 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"start_time\"" - ]; - // duration is the time in between epoch ticks. - // In order for intended behavior to be met, duration should - // be greater than the chains expected block time. - // Duration must be non-zero. - google.protobuf.Duration duration = 3 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "duration,omitempty", - (gogoproto.moretags) = "yaml:\"duration\"" - ]; - // current_epoch is the current epoch number, or in other words, - // how many times has the timer 'ticked'. - // The first tick (current_epoch=1) is defined as - // the first block whose blocktime is greater than the EpochInfo start_time. - int64 current_epoch = 4; - // current_epoch_start_time describes the start time of the current timer - // interval. The interval is (current_epoch_start_time, - // current_epoch_start_time + duration] When the timer ticks, this is set to - // current_epoch_start_time = last_epoch_start_time + duration only one timer - // tick for a given identifier can occur per block. - // - // NOTE! The current_epoch_start_time may diverge significantly from the - // wall-clock time the epoch began at. Wall-clock time of epoch start may be - // >> current_epoch_start_time. Suppose current_epoch_start_time = 10, - // duration = 5. Suppose the chain goes offline at t=14, and comes back online - // at t=30, and produces blocks at every successive time. (t=31, 32, etc.) - // * The t=30 block will start the epoch for (10, 15] - // * The t=31 block will start the epoch for (15, 20] - // * The t=32 block will start the epoch for (20, 25] - // * The t=33 block will start the epoch for (25, 30] - // * The t=34 block will start the epoch for (30, 35] - // * The **t=36** block will start the epoch for (35, 40] - google.protobuf.Timestamp current_epoch_start_time = 5 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"current_epoch_start_time\"" - ]; - // epoch_counting_started is a boolean, that indicates whether this - // epoch timer has began yet. - bool epoch_counting_started = 6; - reserved 7; - // current_epoch_start_height is the block height at which the current epoch - // started. (The block height at which the timer last ticked) - int64 current_epoch_start_height = 8; -} - -// GenesisState defines the epochs module's genesis state. -message GenesisState { - repeated EpochInfo epochs = 1 [ (gogoproto.nullable) = false ]; -} diff --git a/examples/authz/proto/osmosis/epochs/query.proto b/examples/authz/proto/osmosis/epochs/query.proto deleted file mode 100644 index 9fde25db..00000000 --- a/examples/authz/proto/osmosis/epochs/query.proto +++ /dev/null @@ -1,30 +0,0 @@ -syntax = "proto3"; -package osmosis.epochs.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "osmosis/epochs/genesis.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/epochs/types"; - -// Query defines the gRPC querier service. -service Query { - // EpochInfos provide running epochInfos - rpc EpochInfos(QueryEpochsInfoRequest) returns (QueryEpochsInfoResponse) { - option (google.api.http).get = "/osmosis/epochs/v1beta1/epochs"; - } - // CurrentEpoch provide current epoch of specified identifier - rpc CurrentEpoch(QueryCurrentEpochRequest) - returns (QueryCurrentEpochResponse) { - option (google.api.http).get = "/osmosis/epochs/v1beta1/current_epoch"; - } -} - -message QueryEpochsInfoRequest {} -message QueryEpochsInfoResponse { - repeated EpochInfo epochs = 1 [ (gogoproto.nullable) = false ]; -} - -message QueryCurrentEpochRequest { string identifier = 1; } -message QueryCurrentEpochResponse { int64 current_epoch = 1; } \ No newline at end of file diff --git a/examples/authz/proto/osmosis/gamm/pool-models/balancer/balancerPool.proto b/examples/authz/proto/osmosis/gamm/pool-models/balancer/balancerPool.proto deleted file mode 100644 index 6ee8f133..00000000 --- a/examples/authz/proto/osmosis/gamm/pool-models/balancer/balancerPool.proto +++ /dev/null @@ -1,151 +0,0 @@ -syntax = "proto3"; -// this is a legacy package that requires additional migration logic -// in order to use the correct packge. Decision made to use legacy package path -// until clear steps for migration logic and the unknowns for state breaking are -// investigated for changing proto package. -package osmosis.gamm.v1beta1; - -import "cosmos_proto/cosmos.proto"; -import "gogoproto/gogo.proto"; - -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; - -import "cosmos/auth/v1beta1/auth.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/gamm/pool-models/balancer"; - -// Parameters for changing the weights in a balancer pool smoothly from -// a start weight and end weight over a period of time. -// Currently, the only smooth change supported is linear changing between -// the two weights, but more types may be added in the future. -// When these parameters are set, the weight w(t) for pool time `t` is the -// following: -// t <= start_time: w(t) = initial_pool_weights -// start_time < t <= start_time + duration: -// w(t) = initial_pool_weights + (t - start_time) * -// (target_pool_weights - initial_pool_weights) / (duration) -// t > start_time + duration: w(t) = target_pool_weights -message SmoothWeightChangeParams { - // The start time for beginning the weight change. - // If a parameter change / pool instantiation leaves this blank, - // it should be generated by the state_machine as the current time. - google.protobuf.Timestamp start_time = 1 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"start_time\"" - ]; - // Duration for the weights to change over - google.protobuf.Duration duration = 2 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "duration,omitempty", - (gogoproto.moretags) = "yaml:\"duration\"" - ]; - // The initial pool weights. These are copied from the pool's settings - // at the time of weight change instantiation. - // The amount PoolAsset.token.amount field is ignored if present, - // future type refactorings should just have a type with the denom & weight - // here. - repeated osmosis.gamm.v1beta1.PoolAsset initial_pool_weights = 3 [ - (gogoproto.moretags) = "yaml:\"initial_pool_weights\"", - (gogoproto.nullable) = false - ]; - // The target pool weights. The pool weights will change linearly with respect - // to time between start_time, and start_time + duration. The amount - // PoolAsset.token.amount field is ignored if present, future type - // refactorings should just have a type with the denom & weight here. - repeated osmosis.gamm.v1beta1.PoolAsset target_pool_weights = 4 [ - (gogoproto.moretags) = "yaml:\"target_pool_weights\"", - (gogoproto.nullable) = false - ]; - // Intermediate variable for the 'slope' of pool weights. This is equal to - // (target_pool_weights - initial_pool_weights) / (duration) - // TODO: Work out precision, and decide if this is good to add - // repeated PoolAsset poolWeightSlope = 5 [ - // (gogoproto.moretags) = "yaml:\"pool_weight_slope\"", - // (gogoproto.nullable) = false - // ]; -} - -// PoolParams defined the parameters that will be managed by the pool -// governance in the future. This params are not managed by the chain -// governance. Instead they will be managed by the token holders of the pool. -// The pool's token holders are specified in future_pool_governor. -message PoolParams { - string swap_fee = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"swap_fee\"", - (gogoproto.nullable) = false - ]; - string exit_fee = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"exit_fee\"", - (gogoproto.nullable) = false - ]; - SmoothWeightChangeParams smooth_weight_change_params = 3 [ - (gogoproto.moretags) = "yaml:\"smooth_weight_change_params\"", - (gogoproto.nullable) = true - ]; -} - -// Pool asset is an internal struct that combines the amount of the -// token in the pool, and its balancer weight. -// This is an awkward packaging of data, -// and should be revisited in a future state migration. -message PoolAsset { - // Coins we are talking about, - // the denomination must be unique amongst all PoolAssets for this pool. - cosmos.base.v1beta1.Coin token = 1 - [ (gogoproto.moretags) = "yaml:\"token\"", (gogoproto.nullable) = false ]; - // Weight that is not normalized. This weight must be less than 2^50 - string weight = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"weight\"", - (gogoproto.nullable) = false - ]; -} - -message Pool { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - option (cosmos_proto.implements_interface) = "PoolI"; - - string address = 1 [ (gogoproto.moretags) = "yaml:\"address\"" ]; - uint64 id = 2; - - PoolParams pool_params = 3 [ - (gogoproto.moretags) = "yaml:\"balancer_pool_params\"", - (gogoproto.nullable) = false - ]; - - // This string specifies who will govern the pool in the future. - // Valid forms of this are: - // {token name},{duration} - // {duration} - // where {token name} if specified is the token which determines the - // governor, and if not specified is the LP token for this pool.duration is - // a time specified as 0w,1w,2w, etc. which specifies how long the token - // would need to be locked up to count in governance. 0w means no lockup. - // TODO: Further improve these docs - string future_pool_governor = 4 - [ (gogoproto.moretags) = "yaml:\"future_pool_governor\"" ]; - // sum of all LP tokens sent out - cosmos.base.v1beta1.Coin total_shares = 5 [ - (gogoproto.moretags) = "yaml:\"total_shares\"", - (gogoproto.nullable) = false - ]; - // These are assumed to be sorted by denomiation. - // They contain the pool asset and the information about the weight - repeated osmosis.gamm.v1beta1.PoolAsset pool_assets = 6 [ - (gogoproto.moretags) = "yaml:\"pool_assets\"", - (gogoproto.nullable) = false - ]; - // sum of all non-normalized pool weights - string total_weight = 7 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"total_weight\"", - (gogoproto.nullable) = false - ]; -} diff --git a/examples/authz/proto/osmosis/gamm/pool-models/balancer/tx/tx.proto b/examples/authz/proto/osmosis/gamm/pool-models/balancer/tx/tx.proto deleted file mode 100644 index 5ed0fdc0..00000000 --- a/examples/authz/proto/osmosis/gamm/pool-models/balancer/tx/tx.proto +++ /dev/null @@ -1,31 +0,0 @@ -syntax = "proto3"; -package osmosis.gamm.poolmodels.balancer.v1beta1; - -import "gogoproto/gogo.proto"; -import "osmosis/gamm/pool-models/balancer/balancerPool.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/gamm/pool-models/balancer"; - -service Msg { - rpc CreateBalancerPool(MsgCreateBalancerPool) - returns (MsgCreateBalancerPoolResponse); -} - -// ===================== MsgCreatePool -message MsgCreateBalancerPool { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - - osmosis.gamm.v1beta1.PoolParams pool_params = 2 - [ (gogoproto.moretags) = "yaml:\"pool_params\"" ]; - - repeated osmosis.gamm.v1beta1.PoolAsset pool_assets = 3 - [ (gogoproto.nullable) = false ]; - - string future_pool_governor = 4 - [ (gogoproto.moretags) = "yaml:\"future_pool_governor\"" ]; -} - -// Returns the poolID -message MsgCreateBalancerPoolResponse { - uint64 pool_id = 1 [ (gogoproto.customname) = "PoolID" ]; -} diff --git a/examples/authz/proto/osmosis/gamm/pool-models/stableswap/stableswap_pool.proto b/examples/authz/proto/osmosis/gamm/pool-models/stableswap/stableswap_pool.proto deleted file mode 100644 index 582a37b3..00000000 --- a/examples/authz/proto/osmosis/gamm/pool-models/stableswap/stableswap_pool.proto +++ /dev/null @@ -1,73 +0,0 @@ -syntax = "proto3"; -package osmosis.gamm.poolmodels.stableswap.v1beta1; - -import "cosmos_proto/cosmos.proto"; -import "gogoproto/gogo.proto"; - -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; - -import "cosmos/auth/v1beta1/auth.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/gamm/pool-models/stableswap"; - -// PoolParams defined the parameters that will be managed by the pool -// governance in the future. This params are not managed by the chain -// governance. Instead they will be managed by the token holders of the pool. -// The pool's token holders are specified in future_pool_governor. -message PoolParams { - string swap_fee = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"swap_fee\"", - (gogoproto.nullable) = false - ]; - string exit_fee = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"exit_fee\"", - (gogoproto.nullable) = false - ]; -} - -// Pool is the stableswap Pool struct -message Pool { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - option (cosmos_proto.implements_interface) = "PoolI"; - - string address = 1 [ (gogoproto.moretags) = "yaml:\"address\"" ]; - uint64 id = 2; - - PoolParams pool_params = 3 [ - (gogoproto.moretags) = "yaml:\"stableswap_pool_params\"", - (gogoproto.nullable) = false - ]; - - // This string specifies who will govern the pool in the future. - // Valid forms of this are: - // {token name},{duration} - // {duration} - // where {token name} if specified is the token which determines the - // governor, and if not specified is the LP token for this pool.duration is - // a time specified as 0w,1w,2w, etc. which specifies how long the token - // would need to be locked up to count in governance. 0w means no lockup. - string future_pool_governor = 4 - [ (gogoproto.moretags) = "yaml:\"future_pool_governor\"" ]; - // sum of all LP shares - cosmos.base.v1beta1.Coin total_shares = 5 [ - (gogoproto.moretags) = "yaml:\"total_shares\"", - (gogoproto.nullable) = false - ]; - // assets in the pool - repeated cosmos.base.v1beta1.Coin pool_liquidity = 6 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; - - // for calculation amognst assets with different precisions - repeated uint64 scaling_factors = 7 - [ (gogoproto.moretags) = "yaml:\"stableswap_scaling_factors\"" ]; - // scaling_factor_controller is the address can adjust pool scaling factors - string scaling_factor_controller = 8 - [ (gogoproto.moretags) = "yaml:\"scaling_factor_controller\"" ]; -} diff --git a/examples/authz/proto/osmosis/gamm/pool-models/stableswap/tx.proto b/examples/authz/proto/osmosis/gamm/pool-models/stableswap/tx.proto deleted file mode 100644 index 73a74b06..00000000 --- a/examples/authz/proto/osmosis/gamm/pool-models/stableswap/tx.proto +++ /dev/null @@ -1,53 +0,0 @@ -syntax = "proto3"; -package osmosis.gamm.poolmodels.stableswap.v1beta1; - -import "cosmos/base/v1beta1/coin.proto"; -import "gogoproto/gogo.proto"; -import "osmosis/gamm/pool-models/stableswap/stableswap_pool.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/gamm/pool-models/stableswap"; - -service Msg { - rpc CreateStableswapPool(MsgCreateStableswapPool) - returns (MsgCreateStableswapPoolResponse); - rpc StableSwapAdjustScalingFactors(MsgStableSwapAdjustScalingFactors) - returns (MsgStableSwapAdjustScalingFactorsResponse); -} - -// ===================== MsgCreatePool -message MsgCreateStableswapPool { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - - PoolParams pool_params = 2 [ (gogoproto.moretags) = "yaml:\"pool_params\"" ]; - - repeated cosmos.base.v1beta1.Coin initial_pool_liquidity = 3 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; - - repeated uint64 scaling_factors = 4 - [ (gogoproto.moretags) = "yaml:\"stableswap_scaling_factor\"" ]; - - string future_pool_governor = 5 - [ (gogoproto.moretags) = "yaml:\"future_pool_governor\"" ]; - - string scaling_factor_controller = 6 - [ (gogoproto.moretags) = "yaml:\"scaling_factor_controller\"" ]; -} - -// Returns a poolID with custom poolName. -message MsgCreateStableswapPoolResponse { - uint64 pool_id = 1 [ (gogoproto.customname) = "PoolID" ]; -} - -// Sender must be the pool's scaling_factor_governor in order for the tx to -// succeed. Adjusts stableswap scaling factors. -message MsgStableSwapAdjustScalingFactors { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - uint64 pool_id = 2 [ (gogoproto.customname) = "PoolID" ]; - - repeated uint64 scaling_factors = 3 - [ (gogoproto.moretags) = "yaml:\"stableswap_scaling_factor\"" ]; -} - -message MsgStableSwapAdjustScalingFactorsResponse {} diff --git a/examples/authz/proto/osmosis/gamm/v1beta1/genesis.proto b/examples/authz/proto/osmosis/gamm/v1beta1/genesis.proto deleted file mode 100644 index d2d71c0e..00000000 --- a/examples/authz/proto/osmosis/gamm/v1beta1/genesis.proto +++ /dev/null @@ -1,27 +0,0 @@ -syntax = "proto3"; -package osmosis.gamm.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -// Params holds parameters for the incentives module -message Params { - repeated cosmos.base.v1beta1.Coin pool_creation_fee = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "yaml:\"pool_creation_fee\"", - (gogoproto.nullable) = false - ]; -} - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/gamm/types"; - -// GenesisState defines the gamm module's genesis state. -message GenesisState { - repeated google.protobuf.Any pools = 1 - [ (cosmos_proto.accepts_interface) = "PoolI" ]; - // will be renamed to next_pool_id in an upcoming version - uint64 next_pool_number = 2; - Params params = 3 [ (gogoproto.nullable) = false ]; -} diff --git a/examples/authz/proto/osmosis/gamm/v1beta1/query.proto b/examples/authz/proto/osmosis/gamm/v1beta1/query.proto deleted file mode 100644 index 9d6a521c..00000000 --- a/examples/authz/proto/osmosis/gamm/v1beta1/query.proto +++ /dev/null @@ -1,308 +0,0 @@ -syntax = "proto3"; -package osmosis.gamm.v1beta1; - -import "gogoproto/gogo.proto"; -import "osmosis/gamm/v1beta1/tx.proto"; - -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "google/api/annotations.proto"; -import "google/protobuf/any.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/gamm/types"; - -service Query { - rpc Pools(QueryPoolsRequest) returns (QueryPoolsResponse) { - option (google.api.http).get = "/osmosis/gamm/v1beta1/pools"; - } - - rpc NumPools(QueryNumPoolsRequest) returns (QueryNumPoolsResponse) { - option (google.api.http).get = "/osmosis/gamm/v1beta1/num_pools"; - } - - rpc TotalLiquidity(QueryTotalLiquidityRequest) - returns (QueryTotalLiquidityResponse) { - option (google.api.http).get = "/osmosis/gamm/v1beta1/total_liquidity"; - } - - // PoolsWithFilter allows you to query specific pools with requested - // parameters - rpc PoolsWithFilter(QueryPoolsWithFilterRequest) - returns (QueryPoolsWithFilterResponse) { - option (google.api.http).get = "/osmosis/gamm/v1beta1/filtered_pools"; - } - - // Per Pool gRPC Endpoints - rpc Pool(QueryPoolRequest) returns (QueryPoolResponse) { - option (google.api.http).get = "/osmosis/gamm/v1beta1/pools/{pool_id}"; - } - - // PoolType returns the type of the pool. - // Returns "Balancer" as a string literal when the pool is a balancer pool. - // Errors if the pool is failed to be type caseted. - rpc PoolType(QueryPoolTypeRequest) returns (QueryPoolTypeResponse) { - option (google.api.http).get = "/osmosis/gamm/v1beta1/pool_type/{pool_id}"; - } - - // Simulates joining pool without a swap. Returns the amount of shares you'd - // get and tokens needed to provide - rpc CalcJoinPoolNoSwapShares(QueryCalcJoinPoolNoSwapSharesRequest) - returns (QueryCalcJoinPoolNoSwapSharesResponse) {} - - rpc CalcJoinPoolShares(QueryCalcJoinPoolSharesRequest) - returns (QueryCalcJoinPoolSharesResponse) { - option (google.api.http).get = - "/osmosis/gamm/v1beta1/pools/{pool_id}/join_swap_exact_in"; - } - rpc CalcExitPoolCoinsFromShares(QueryCalcExitPoolCoinsFromSharesRequest) - returns (QueryCalcExitPoolCoinsFromSharesResponse) { - option (google.api.http).get = - "/osmosis/gamm/v1beta1/pools/{pool_id}/exit_swap_share_amount_in"; - } - - rpc PoolParams(QueryPoolParamsRequest) returns (QueryPoolParamsResponse) { - option (google.api.http).get = - "/osmosis/gamm/v1beta1/pools/{pool_id}/params"; - } - - rpc TotalPoolLiquidity(QueryTotalPoolLiquidityRequest) - returns (QueryTotalPoolLiquidityResponse) { - option (google.api.http).get = - "/osmosis/gamm/v1beta1/pools/{pool_id}/total_pool_liquidity"; - } - - rpc TotalShares(QueryTotalSharesRequest) returns (QueryTotalSharesResponse) { - option (google.api.http).get = - "/osmosis/gamm/v1beta1/pools/{pool_id}/total_shares"; - } - - // SpotPrice defines a gRPC query handler that returns the spot price given - // a base denomination and a quote denomination. - rpc SpotPrice(QuerySpotPriceRequest) returns (QuerySpotPriceResponse) { - option deprecated = true; - option (google.api.http).get = - "/osmosis/gamm/v1beta1/pools/{pool_id}/prices"; - } - - // Estimate the swap. - rpc EstimateSwapExactAmountIn(QuerySwapExactAmountInRequest) - returns (QuerySwapExactAmountInResponse) { - option (google.api.http).get = - "/osmosis/gamm/v1beta1/{pool_id}/estimate/swap_exact_amount_in"; - } - - rpc EstimateSwapExactAmountOut(QuerySwapExactAmountOutRequest) - returns (QuerySwapExactAmountOutResponse) { - option (google.api.http).get = - "/osmosis/gamm/v1beta1/{pool_id}/estimate/swap_exact_amount_out"; - } -} - -//=============================== Pool -message QueryPoolRequest { - uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; -} -message QueryPoolResponse { - google.protobuf.Any pool = 1 [ (cosmos_proto.accepts_interface) = "PoolI" ]; -} - -//=============================== Pools -message QueryPoolsRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} -message QueryPoolsResponse { - repeated google.protobuf.Any pools = 1 - [ (cosmos_proto.accepts_interface) = "PoolI" ]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -//=============================== NumPools -message QueryNumPoolsRequest {} -message QueryNumPoolsResponse { - uint64 num_pools = 1 [ (gogoproto.moretags) = "yaml:\"num_pools\"" ]; -} - -//=============================== PoolType -message QueryPoolTypeRequest { - uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; -} -message QueryPoolTypeResponse { - string pool_type = 1 [ (gogoproto.moretags) = "yaml:\"pool_type\"" ]; -} - -//=============================== CalcJoinPoolShares -message QueryCalcJoinPoolSharesRequest { - uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - repeated cosmos.base.v1beta1.Coin tokens_in = 2 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.nullable) = false - ]; -} -message QueryCalcJoinPoolSharesResponse { - string share_out_amount = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"share_out_amount\"", - (gogoproto.nullable) = false - ]; - repeated cosmos.base.v1beta1.Coin tokens_out = 2 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.nullable) = false - ]; -} - -//=============================== CalcExitPoolCoinsFromShares -message QueryCalcExitPoolCoinsFromSharesRequest { - uint64 pool_id = 1; - string share_in_amount = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; -} -message QueryCalcExitPoolCoinsFromSharesResponse { - repeated cosmos.base.v1beta1.Coin tokens_out = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.nullable) = false - ]; -} - -//=============================== PoolParams -message QueryPoolParamsRequest { - uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; -} -message QueryPoolParamsResponse { google.protobuf.Any params = 1; } - -//=============================== PoolLiquidity -message QueryTotalPoolLiquidityRequest { - uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; -} - -message QueryTotalPoolLiquidityResponse { - repeated cosmos.base.v1beta1.Coin liquidity = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "yaml:\"liquidity\"", - (gogoproto.nullable) = false - ]; -} - -//=============================== TotalShares -message QueryTotalSharesRequest { - uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; -} -message QueryTotalSharesResponse { - cosmos.base.v1beta1.Coin total_shares = 1 [ - (gogoproto.moretags) = "yaml:\"total_shares\"", - (gogoproto.nullable) = false - ]; -} -//=============================== CalcJoinPoolNoSwapShares -message QueryCalcJoinPoolNoSwapSharesRequest { - uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - repeated cosmos.base.v1beta1.Coin tokens_in = 2 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.nullable) = false - ]; -} -message QueryCalcJoinPoolNoSwapSharesResponse { - repeated cosmos.base.v1beta1.Coin tokens_out = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "yaml:\"tokens_out\"", - (gogoproto.nullable) = false - ]; - string shares_out = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; -} -// QuerySpotPriceRequest defines the gRPC request structure for a SpotPrice -// query. -message QuerySpotPriceRequest { - option deprecated = true; - uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - string base_asset_denom = 2 - [ (gogoproto.moretags) = "yaml:\"base_asset_denom\"" ]; - string quote_asset_denom = 3 - [ (gogoproto.moretags) = "yaml:\"quote_asset_denom\"" ]; - reserved 4; - reserved "withSwapFee"; -} - -//=============================== PoolsWithFilter - -message QueryPoolsWithFilterRequest { - repeated cosmos.base.v1beta1.Coin min_liquidity = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "yaml:\"min_liquidity\"", - (gogoproto.nullable) = false - ]; - string pool_type = 2; - cosmos.base.query.v1beta1.PageRequest pagination = 3; -} - -message QueryPoolsWithFilterResponse { - repeated google.protobuf.Any pools = 1 - [ (cosmos_proto.accepts_interface) = "PoolI" ]; - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QuerySpotPriceResponse defines the gRPC response structure for a SpotPrice -// query. -message QuerySpotPriceResponse { - option deprecated = true; - // String of the Dec. Ex) 10.203uatom - string spot_price = 1 [ (gogoproto.moretags) = "yaml:\"spot_price\"" ]; -} - -//=============================== EstimateSwapExactAmountIn -message QuerySwapExactAmountInRequest { - // TODO: CHANGE THIS TO RESERVED IN A PATCH RELEASE - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - string token_in = 3 [ (gogoproto.moretags) = "yaml:\"token_in\"" ]; - repeated SwapAmountInRoute routes = 4 [ - (gogoproto.moretags) = "yaml:\"routes\"", - (gogoproto.nullable) = false - ]; -} - -message QuerySwapExactAmountInResponse { - string token_out_amount = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"token_out_amount\"", - (gogoproto.nullable) = false - ]; -} - -//=============================== EstimateSwapExactAmountOut -message QuerySwapExactAmountOutRequest { - // TODO: CHANGE THIS TO RESERVED IN A PATCH RELEASE - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - repeated SwapAmountOutRoute routes = 3 [ - (gogoproto.moretags) = "yaml:\"routes\"", - (gogoproto.nullable) = false - ]; - string token_out = 4 [ (gogoproto.moretags) = "yaml:\"token_out\"" ]; -} - -message QuerySwapExactAmountOutResponse { - string token_in_amount = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"token_in_amount\"", - (gogoproto.nullable) = false - ]; -} - -message QueryTotalLiquidityRequest {} - -message QueryTotalLiquidityResponse { - repeated cosmos.base.v1beta1.Coin liquidity = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "yaml:\"liquidity\"", - (gogoproto.nullable) = false - ]; -} diff --git a/examples/authz/proto/osmosis/gamm/v1beta1/tx.proto b/examples/authz/proto/osmosis/gamm/v1beta1/tx.proto deleted file mode 100644 index 1421e624..00000000 --- a/examples/authz/proto/osmosis/gamm/v1beta1/tx.proto +++ /dev/null @@ -1,237 +0,0 @@ -syntax = "proto3"; -package osmosis.gamm.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/gamm/types"; - -service Msg { - rpc JoinPool(MsgJoinPool) returns (MsgJoinPoolResponse); - rpc ExitPool(MsgExitPool) returns (MsgExitPoolResponse); - rpc SwapExactAmountIn(MsgSwapExactAmountIn) - returns (MsgSwapExactAmountInResponse); - rpc SwapExactAmountOut(MsgSwapExactAmountOut) - returns (MsgSwapExactAmountOutResponse); - rpc JoinSwapExternAmountIn(MsgJoinSwapExternAmountIn) - returns (MsgJoinSwapExternAmountInResponse); - rpc JoinSwapShareAmountOut(MsgJoinSwapShareAmountOut) - returns (MsgJoinSwapShareAmountOutResponse); - rpc ExitSwapExternAmountOut(MsgExitSwapExternAmountOut) - returns (MsgExitSwapExternAmountOutResponse); - rpc ExitSwapShareAmountIn(MsgExitSwapShareAmountIn) - returns (MsgExitSwapShareAmountInResponse); -} - -// ===================== MsgJoinPool -// This is really MsgJoinPoolNoSwap -message MsgJoinPool { - - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - string share_out_amount = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"pool_amount_out\"", - (gogoproto.nullable) = false - ]; - repeated cosmos.base.v1beta1.Coin token_in_maxs = 4 [ - (gogoproto.moretags) = "yaml:\"token_in_max_amounts\"", - (gogoproto.nullable) = false - ]; -} - -message MsgJoinPoolResponse { - string share_out_amount = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"share_out_amount\"", - (gogoproto.nullable) = false - ]; - repeated cosmos.base.v1beta1.Coin token_in = 2 [ - (gogoproto.moretags) = "yaml:\"token_in\"", - (gogoproto.nullable) = false - ]; -} - -// ===================== MsgExitPool -message MsgExitPool { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - string share_in_amount = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"share_in_amount\"", - (gogoproto.nullable) = false - ]; - - repeated cosmos.base.v1beta1.Coin token_out_mins = 4 [ - (gogoproto.moretags) = "yaml:\"token_out_min_amounts\"", - (gogoproto.nullable) = false - ]; -} - -message MsgExitPoolResponse { - repeated cosmos.base.v1beta1.Coin token_out = 1 [ - (gogoproto.moretags) = "yaml:\"token_out\"", - (gogoproto.nullable) = false - ]; -} - -// ===================== MsgSwapExactAmountIn -message SwapAmountInRoute { - uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - string token_out_denom = 2 - [ (gogoproto.moretags) = "yaml:\"token_out_denom\"" ]; -} - -message MsgSwapExactAmountIn { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - repeated SwapAmountInRoute routes = 2 [ (gogoproto.nullable) = false ]; - cosmos.base.v1beta1.Coin token_in = 3 [ - (gogoproto.moretags) = "yaml:\"token_in\"", - (gogoproto.nullable) = false - ]; - string token_out_min_amount = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"token_out_min_amount\"", - (gogoproto.nullable) = false - ]; -} - -message MsgSwapExactAmountInResponse { - string token_out_amount = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"token_out_amount\"", - (gogoproto.nullable) = false - ]; -} - -// ===================== MsgSwapExactAmountOut -message SwapAmountOutRoute { - uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - string token_in_denom = 2 - [ (gogoproto.moretags) = "yaml:\"token_out_denom\"" ]; -} - -message MsgSwapExactAmountOut { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - repeated SwapAmountOutRoute routes = 2 [ (gogoproto.nullable) = false ]; - string token_in_max_amount = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"token_in_max_amount\"", - (gogoproto.nullable) = false - ]; - cosmos.base.v1beta1.Coin token_out = 4 [ - (gogoproto.moretags) = "yaml:\"token_out\"", - (gogoproto.nullable) = false - ]; -} - -message MsgSwapExactAmountOutResponse { - string token_in_amount = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"token_in_amount\"", - (gogoproto.nullable) = false - ]; -} - -// ===================== MsgJoinSwapExternAmountIn -// TODO: Rename to MsgJoinSwapExactAmountIn -message MsgJoinSwapExternAmountIn { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - cosmos.base.v1beta1.Coin token_in = 3 [ - (gogoproto.moretags) = "yaml:\"token_in\"", - (gogoproto.nullable) = false - ]; - string share_out_min_amount = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"share_out_min_amount\"", - (gogoproto.nullable) = false - ]; - // repeated cosmos.base.v1beta1.Coin tokensIn = 5 [ - // (gogoproto.moretags) = "yaml:\"tokens_in\"", - // (gogoproto.nullable) = false - // ]; -} - -message MsgJoinSwapExternAmountInResponse { - string share_out_amount = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"share_out_amount\"", - (gogoproto.nullable) = false - ]; -} - -// ===================== MsgJoinSwapShareAmountOut -message MsgJoinSwapShareAmountOut { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - string token_in_denom = 3 - [ (gogoproto.moretags) = "yaml:\"token_in_denom\"" ]; - string share_out_amount = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"share_out_amount\"", - (gogoproto.nullable) = false - ]; - string token_in_max_amount = 5 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"token_in_max_amount\"", - (gogoproto.nullable) = false - ]; -} - -message MsgJoinSwapShareAmountOutResponse { - string token_in_amount = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"token_in_amount\"", - (gogoproto.nullable) = false - ]; -} - -// ===================== MsgExitSwapShareAmountIn -message MsgExitSwapShareAmountIn { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - string token_out_denom = 3 - [ (gogoproto.moretags) = "yaml:\"token_out_denom\"" ]; - string share_in_amount = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"share_in_amount\"", - (gogoproto.nullable) = false - ]; - string token_out_min_amount = 5 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"token_out_min_amount\"", - (gogoproto.nullable) = false - ]; -} - -message MsgExitSwapShareAmountInResponse { - string token_out_amount = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"token_out_amount\"", - (gogoproto.nullable) = false - ]; -} - -// ===================== MsgExitSwapExternAmountOut -message MsgExitSwapExternAmountOut { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - cosmos.base.v1beta1.Coin token_out = 3 [ - (gogoproto.moretags) = "yaml:\"token_out\"", - (gogoproto.nullable) = false - ]; - string share_in_max_amount = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"share_in_max_amount\"", - (gogoproto.nullable) = false - ]; -} - -message MsgExitSwapExternAmountOutResponse { - string share_in_amount = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"share_in_amount\"", - (gogoproto.nullable) = false - ]; -} diff --git a/examples/authz/proto/osmosis/gamm/v2/query.proto b/examples/authz/proto/osmosis/gamm/v2/query.proto deleted file mode 100644 index 02ec334c..00000000 --- a/examples/authz/proto/osmosis/gamm/v2/query.proto +++ /dev/null @@ -1,38 +0,0 @@ -syntax = "proto3"; -package osmosis.gamm.v2; - -import "gogoproto/gogo.proto"; -import "osmosis/gamm/v1beta1/tx.proto"; - -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "google/api/annotations.proto"; -import "google/protobuf/any.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/gamm/v2types"; - -service Query { - // SpotPrice defines a gRPC query handler that returns the spot price given - // a base denomination and a quote denomination. - rpc SpotPrice(QuerySpotPriceRequest) returns (QuerySpotPriceResponse) { - option (google.api.http).get = "/osmosis/gamm/v2/pools/{pool_id}/prices"; - } -} - -// QuerySpotPriceRequest defines the gRPC request structure for a SpotPrice -// query. -message QuerySpotPriceRequest { - uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - string base_asset_denom = 2 - [ (gogoproto.moretags) = "yaml:\"base_asset_denom\"" ]; - string quote_asset_denom = 3 - [ (gogoproto.moretags) = "yaml:\"quote_asset_denom\"" ]; -} - -// QuerySpotPriceResponse defines the gRPC response structure for a SpotPrice -// query. -message QuerySpotPriceResponse { - // String of the Dec. Ex) 10.203uatom - string spot_price = 1 [ (gogoproto.moretags) = "yaml:\"spot_price\"" ]; -} diff --git a/examples/authz/proto/osmosis/ibc-rate-limit/v1beta1/params.proto b/examples/authz/proto/osmosis/ibc-rate-limit/v1beta1/params.proto deleted file mode 100644 index 5f66b2b3..00000000 --- a/examples/authz/proto/osmosis/ibc-rate-limit/v1beta1/params.proto +++ /dev/null @@ -1,12 +0,0 @@ -syntax = "proto3"; -package osmosis.ibcratelimit.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/ibc-rate-limit/types"; - -// Params defines the parameters for the ibc-rate-limit module. -message Params { - string contract_address = 1 - [ (gogoproto.moretags) = "yaml:\"contract_address\"" ]; -} diff --git a/examples/authz/proto/osmosis/ibc-rate-limit/v1beta1/query.proto b/examples/authz/proto/osmosis/ibc-rate-limit/v1beta1/query.proto deleted file mode 100644 index 01d2eb2d..00000000 --- a/examples/authz/proto/osmosis/ibc-rate-limit/v1beta1/query.proto +++ /dev/null @@ -1,27 +0,0 @@ -syntax = "proto3"; -package osmosis.ibcratelimit.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "osmosis/ibc-rate-limit/v1beta1/params.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/ibc-rate-limit/types"; - -// Query defines the gRPC querier service. -service Query { - // Params defines a gRPC query method that returns the ibc-rate-limit module's - // parameters. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/osmosis/ibc-rate-limit/v1beta1/params"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; -} diff --git a/examples/authz/proto/osmosis/incentives/gauge.proto b/examples/authz/proto/osmosis/incentives/gauge.proto deleted file mode 100644 index 39fc45de..00000000 --- a/examples/authz/proto/osmosis/incentives/gauge.proto +++ /dev/null @@ -1,60 +0,0 @@ -syntax = "proto3"; -package osmosis.incentives; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "osmosis/lockup/lock.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/incentives/types"; - -// Gauge is an object that stores and distributes yields to recipients who -// satisfy certain conditions. Currently gauges support conditions around the -// duration for which a given denom is locked. -message Gauge { - // id is the unique ID of a Gauge - uint64 id = 1; - // is_perpetual is a flag to show if it's a perpetual or non-perpetual gauge - // Non-perpetual gauges distribute their tokens equally per epoch while the - // gauge is in the active period. Perpetual gauges distribute all their tokens - // at a single time and only distribute their tokens again once the gauge is - // refilled, Intended for use with incentives that get refilled daily. - bool is_perpetual = 2; - // distribute_to is where the gauge rewards are distributed to. - // This is queried via lock duration or by timestamp - osmosis.lockup.QueryCondition distribute_to = 3 - [ (gogoproto.nullable) = false ]; - // coins is the total amount of coins that have been in the gauge - // Can distribute multiple coin denoms - repeated cosmos.base.v1beta1.Coin coins = 4 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; - // start_time is the distribution start time - google.protobuf.Timestamp start_time = 5 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"start_time\"" - ]; - // num_epochs_paid_over is the number of total epochs distribution will be - // completed over - uint64 num_epochs_paid_over = 6; - // filled_epochs is the number of epochs distribution has been completed on - // already - uint64 filled_epochs = 7; - // distributed_coins are coins that have been distributed already - repeated cosmos.base.v1beta1.Coin distributed_coins = 8 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -message LockableDurationsInfo { - // List of incentivised durations that gauges will pay out to - repeated google.protobuf.Duration lockable_durations = 1 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.moretags) = "yaml:\"lockable_durations\"" - ]; -} \ No newline at end of file diff --git a/examples/authz/proto/osmosis/incentives/genesis.proto b/examples/authz/proto/osmosis/incentives/genesis.proto deleted file mode 100644 index 402970b0..00000000 --- a/examples/authz/proto/osmosis/incentives/genesis.proto +++ /dev/null @@ -1,28 +0,0 @@ -syntax = "proto3"; -package osmosis.incentives; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; -import "osmosis/incentives/params.proto"; -import "osmosis/incentives/gauge.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/incentives/types"; - -// GenesisState defines the incentives module's various parameters when first -// initialized -message GenesisState { - // params are all the parameters of the module - Params params = 1 [ (gogoproto.nullable) = false ]; - // gauges are all gauges that should exist at genesis - repeated Gauge gauges = 2 [ (gogoproto.nullable) = false ]; - // lockable_durations are all lockup durations that gauges can be locked for - // in order to recieve incentives - repeated google.protobuf.Duration lockable_durations = 3 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.moretags) = "yaml:\"lockable_durations\"" - ]; - // last_gauge_id is what the gauge number will increment from when creating - // the next gauge after genesis - uint64 last_gauge_id = 4; -} diff --git a/examples/authz/proto/osmosis/incentives/params.proto b/examples/authz/proto/osmosis/incentives/params.proto deleted file mode 100644 index 9056bb36..00000000 --- a/examples/authz/proto/osmosis/incentives/params.proto +++ /dev/null @@ -1,14 +0,0 @@ -syntax = "proto3"; -package osmosis.incentives; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/incentives/types"; - -// Params holds parameters for the incentives module -message Params { - // distr_epoch_identifier is what epoch type distribution will be triggered by - // (day, week, etc.) - string distr_epoch_identifier = 1 - [ (gogoproto.moretags) = "yaml:\"distr_epoch_identifier\"" ]; -} diff --git a/examples/authz/proto/osmosis/incentives/query.proto b/examples/authz/proto/osmosis/incentives/query.proto deleted file mode 100644 index d2d0e64f..00000000 --- a/examples/authz/proto/osmosis/incentives/query.proto +++ /dev/null @@ -1,175 +0,0 @@ -syntax = "proto3"; -package osmosis.incentives; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "google/protobuf/duration.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "osmosis/incentives/gauge.proto"; -import "osmosis/lockup/lock.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/incentives/types"; - -// Query defines the gRPC querier service -service Query { - // ModuleToDistributeCoins returns coins that are going to be distributed - rpc ModuleToDistributeCoins(ModuleToDistributeCoinsRequest) - returns (ModuleToDistributeCoinsResponse) { - option (google.api.http).get = - "/osmosis/incentives/v1beta1/module_to_distribute_coins"; - } - - // GaugeByID returns gauges by their respective ID - rpc GaugeByID(GaugeByIDRequest) returns (GaugeByIDResponse) { - option (google.api.http).get = - "/osmosis/incentives/v1beta1/gauge_by_id/{id}"; - } - // Gauges returns both upcoming and active gauges - rpc Gauges(GaugesRequest) returns (GaugesResponse) { - option (google.api.http).get = "/osmosis/incentives/v1beta1/gauges"; - } - // ActiveGauges returns active gauges - rpc ActiveGauges(ActiveGaugesRequest) returns (ActiveGaugesResponse) { - option (google.api.http).get = "/osmosis/incentives/v1beta1/active_gauges"; - } - // ActiveGaugesPerDenom returns active gauges by denom - rpc ActiveGaugesPerDenom(ActiveGaugesPerDenomRequest) - returns (ActiveGaugesPerDenomResponse) { - option (google.api.http).get = - "/osmosis/incentives/v1beta1/active_gauges_per_denom"; - } - // Returns scheduled gauges that have not yet occured - rpc UpcomingGauges(UpcomingGaugesRequest) returns (UpcomingGaugesResponse) { - option (google.api.http).get = - "/osmosis/incentives/v1beta1/upcoming_gauges"; - } - // UpcomingGaugesPerDenom returns scheduled gauges that have not yet occured - // by denom - rpc UpcomingGaugesPerDenom(UpcomingGaugesPerDenomRequest) - returns (UpcomingGaugesPerDenomResponse) { - option (google.api.http).get = - "/osmosis/incentives/v1beta1/upcoming_gauges_per_denom"; - } - - // RewardsEst returns an estimate of the rewards from now until a specified - // time in the future The querier either provides an address or a set of locks - // for which they want to find the associated rewards - rpc RewardsEst(RewardsEstRequest) returns (RewardsEstResponse) { - option (google.api.http).get = - "/osmosis/incentives/v1beta1/rewards_est/{owner}"; - } - // LockableDurations returns lockable durations that are valid to distribute - // incentives for - rpc LockableDurations(QueryLockableDurationsRequest) - returns (QueryLockableDurationsResponse) { - option (google.api.http).get = - "/osmosis/incentives/v1beta1/lockable_durations"; - } -} - -message ModuleToDistributeCoinsRequest {} -message ModuleToDistributeCoinsResponse { - // Coins that have yet to be distributed - repeated cosmos.base.v1beta1.Coin coins = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -message GaugeByIDRequest { - // Gague ID being queried - uint64 id = 1; -} -message GaugeByIDResponse { - // Gauge that corresponds to provided gague ID - Gauge gauge = 1; -} - -message GaugesRequest { - // Pagination defines pagination for the request - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} -message GaugesResponse { - // Upcoming and active gauges - repeated Gauge data = 1 [ (gogoproto.nullable) = false ]; - // Pagination defines pagination for the response - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message ActiveGaugesRequest { - // Pagination defines pagination for the request - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} -message ActiveGaugesResponse { - // Active gagues only - repeated Gauge data = 1 [ (gogoproto.nullable) = false ]; - // Pagination defines pagination for the response - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message ActiveGaugesPerDenomRequest { - // Desired denom when querying active gagues - string denom = 1; - // Pagination defines pagination for the request - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} -message ActiveGaugesPerDenomResponse { - // Active gagues that match denom in query - repeated Gauge data = 1 [ (gogoproto.nullable) = false ]; - // Pagination defines pagination for the response - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message UpcomingGaugesRequest { - // Pagination defines pagination for the request - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} -message UpcomingGaugesResponse { - // Gauges whose distribution is upcoming - repeated Gauge data = 1 [ (gogoproto.nullable) = false ]; - // Pagination defines pagination for the response - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message UpcomingGaugesPerDenomRequest { - // Filter for upcoming gagues that match specific denom - string denom = 1; - // Pagination defines pagination for the request - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -message UpcomingGaugesPerDenomResponse { - // Upcoming gagues that match denom in query - repeated Gauge upcoming_gauges = 1 [ (gogoproto.nullable) = false ]; - // Pagination defines pagination for the response - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message RewardsEstRequest { - // Address that is being queried for future estimated rewards - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - // Lock IDs included in future reward estimation - repeated uint64 lock_ids = 2; - // Upper time limit of reward estimation - // Lower limit is current epoch - int64 end_epoch = 3; -} -message RewardsEstResponse { - // Estimated coin rewards that will be recieved at provided address - // from specified locks between current time and end epoch - repeated cosmos.base.v1beta1.Coin coins = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -message QueryLockableDurationsRequest {} -message QueryLockableDurationsResponse { - // Time durations that users can lock coins for in order to recieve rewards - repeated google.protobuf.Duration lockable_durations = 1 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.moretags) = "yaml:\"lockable_durations\"" - ]; -} \ No newline at end of file diff --git a/examples/authz/proto/osmosis/incentives/tx.proto b/examples/authz/proto/osmosis/incentives/tx.proto deleted file mode 100644 index b0881650..00000000 --- a/examples/authz/proto/osmosis/incentives/tx.proto +++ /dev/null @@ -1,60 +0,0 @@ -syntax = "proto3"; -package osmosis.incentives; - -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "osmosis/incentives/gauge.proto"; -import "osmosis/lockup/lock.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/incentives/types"; - -service Msg { - rpc CreateGauge(MsgCreateGauge) returns (MsgCreateGaugeResponse); - rpc AddToGauge(MsgAddToGauge) returns (MsgAddToGaugeResponse); -} - -// MsgCreateGauge creates a gague to distribute rewards to users -message MsgCreateGauge { - // is_perpetual shows if it's a perpetual or non-perpetual gauge - // Non-perpetual gauges distribute their tokens equally per epoch while the - // gauge is in the active period. Perpetual gauges distribute all their tokens - // at a single time and only distribute their tokens again once the gauge is - // refilled - bool is_perpetual = 1; - // owner is the address of gauge creator - string owner = 2 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - // distribute_to show which lock the gauge should distribute to by time - // duration or by timestamp - osmosis.lockup.QueryCondition distribute_to = 3 - [ (gogoproto.nullable) = false ]; - // coins are coin(s) to be distributed by the gauge - repeated cosmos.base.v1beta1.Coin coins = 4 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; - // start_time is the distribution start time - google.protobuf.Timestamp start_time = 5 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"timestamp\"" - ]; - // num_epochs_paid_over is the number of epochs distribution will be completed - // over - uint64 num_epochs_paid_over = 6; -} -message MsgCreateGaugeResponse {} - -// MsgAddToGauge adds coins to a previously created gauge -message MsgAddToGauge { - // owner is the gauge owner's address - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - // gauge_id is the ID of gauge that rewards are getting added to - uint64 gauge_id = 2; - // rewards are the coin(s) to add to gauge - repeated cosmos.base.v1beta1.Coin rewards = 3 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} -message MsgAddToGaugeResponse {} diff --git a/examples/authz/proto/osmosis/lockup/genesis.proto b/examples/authz/proto/osmosis/lockup/genesis.proto deleted file mode 100644 index ff486713..00000000 --- a/examples/authz/proto/osmosis/lockup/genesis.proto +++ /dev/null @@ -1,14 +0,0 @@ -syntax = "proto3"; -package osmosis.lockup; - -import "gogoproto/gogo.proto"; -import "osmosis/lockup/lock.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/lockup/types"; - -// GenesisState defines the lockup module's genesis state. -message GenesisState { - uint64 last_lock_id = 1; - repeated PeriodLock locks = 2 [ (gogoproto.nullable) = false ]; - repeated SyntheticLock synthetic_locks = 3 [ (gogoproto.nullable) = false ]; -} diff --git a/examples/authz/proto/osmosis/lockup/lock.proto b/examples/authz/proto/osmosis/lockup/lock.proto deleted file mode 100644 index 577a8d2b..00000000 --- a/examples/authz/proto/osmosis/lockup/lock.proto +++ /dev/null @@ -1,108 +0,0 @@ -syntax = "proto3"; -package osmosis.lockup; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/lockup/types"; - -// PeriodLock is a single lock unit by period defined by the x/lockup module. -// It's a record of a locked coin at a specific time. It stores owner, duration, -// unlock time and the number of coins locked. A state of a period lock is -// created upon lock creation, and deleted once the lock has been matured after -// the `duration` has passed since unbonding started. -message PeriodLock { - // ID is the unique id of the lock. - // The ID of the lock is decided upon lock creation, incrementing by 1 for - // every lock. - uint64 ID = 1; - // Owner is the account address of the lock owner. - // Only the owner can modify the state of the lock. - string owner = 2 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - // Duration is the time needed for a lock to mature after unlocking has - // started. - google.protobuf.Duration duration = 3 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "duration,omitempty", - (gogoproto.moretags) = "yaml:\"duration\"" - ]; - // EndTime refers to the time at which the lock would mature and get deleted. - // This value is first initialized when an unlock has started for the lock, - // end time being block time + duration. - google.protobuf.Timestamp end_time = 4 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"end_time\"" - ]; - // Coins are the tokens locked within the lock, kept in the module account. - repeated cosmos.base.v1beta1.Coin coins = 5 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -// LockQueryType defines the type of the lock query that can -// either be by duration or start time of the lock. -enum LockQueryType { - option (gogoproto.goproto_enum_prefix) = false; - - ByDuration = 0; - ByTime = 1; -} - -// QueryCondition is a struct used for querying locks upon different conditions. -// Duration field and timestamp fields could be optional, depending on the -// LockQueryType. -message QueryCondition { - // LockQueryType is a type of lock query, ByLockDuration | ByLockTime - LockQueryType lock_query_type = 1; - // Denom represents the token denomination we are looking to lock up - string denom = 2; - // Duration is used to query locks with longer duration than the specified - // duration. Duration field must not be nil when the lock query type is - // `ByLockDuration`. - google.protobuf.Duration duration = 3 [ - (gogoproto.stdduration) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"duration\"" - ]; - // Timestamp is used by locks started before the specified duration. - // Timestamp field must not be nil when the lock query type is `ByLockTime`. - // Querying locks with timestamp is currently not implemented. - google.protobuf.Timestamp timestamp = 4 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"timestamp\"" - ]; -} - -// SyntheticLock is creating virtual lockup where new denom is combination of -// original denom and synthetic suffix. At the time of synthetic lockup creation -// and deletion, accumulation store is also being updated and on querier side, -// they can query as freely as native lockup. -message SyntheticLock { - // Underlying Lock ID is the underlying native lock's id for this synthetic - // lockup. A synthetic lock MUST have an underlying lock. - uint64 underlying_lock_id = 1; - // SynthDenom is the synthetic denom that is a combination of - // gamm share + bonding status + validator address. - string synth_denom = 2; - // used for unbonding synthetic lockups, for active synthetic lockups, this - // value is set to uninitialized value - google.protobuf.Timestamp end_time = 3 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"end_time\"" - ]; - // Duration is the duration for a synthetic lock to mature - // at the point of unbonding has started. - google.protobuf.Duration duration = 4 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "duration,omitempty", - (gogoproto.moretags) = "yaml:\"duration\"" - ]; -} diff --git a/examples/authz/proto/osmosis/lockup/params.proto b/examples/authz/proto/osmosis/lockup/params.proto deleted file mode 100644 index 1c66228f..00000000 --- a/examples/authz/proto/osmosis/lockup/params.proto +++ /dev/null @@ -1,11 +0,0 @@ -syntax = "proto3"; -package osmosis.lockup; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/lockup/types"; - -message Params { - repeated string force_unlock_allowed_addresses = 1 - [ (gogoproto.moretags) = "yaml:\"force_unlock_allowed_address\"" ]; -} diff --git a/examples/authz/proto/osmosis/lockup/query.proto b/examples/authz/proto/osmosis/lockup/query.proto deleted file mode 100644 index 8e69afbf..00000000 --- a/examples/authz/proto/osmosis/lockup/query.proto +++ /dev/null @@ -1,299 +0,0 @@ -syntax = "proto3"; -package osmosis.lockup; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "google/api/annotations.proto"; -import "google/protobuf/timestamp.proto"; -import "google/protobuf/duration.proto"; -import "osmosis/lockup/lock.proto"; -import "osmosis/lockup/params.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/lockup/types"; - -// Query defines the gRPC querier service. -service Query { - // Return full balance of the module - rpc ModuleBalance(ModuleBalanceRequest) returns (ModuleBalanceResponse) { - option (google.api.http).get = "/osmosis/lockup/v1beta1/module_balance"; - } - // Return locked balance of the module - rpc ModuleLockedAmount(ModuleLockedAmountRequest) - returns (ModuleLockedAmountResponse) { - option (google.api.http).get = - "/osmosis/lockup/v1beta1/module_locked_amount"; - } - - // Returns unlockable coins which are not withdrawn yet - rpc AccountUnlockableCoins(AccountUnlockableCoinsRequest) - returns (AccountUnlockableCoinsResponse) { - option (google.api.http).get = - "/osmosis/lockup/v1beta1/account_unlockable_coins/{owner}"; - } - // Returns unlocking coins - rpc AccountUnlockingCoins(AccountUnlockingCoinsRequest) - returns (AccountUnlockingCoinsResponse) { - option (google.api.http).get = - "/osmosis/lockup/v1beta1/account_unlocking_coins/{owner}"; - } - // Return a locked coins that can't be withdrawn - rpc AccountLockedCoins(AccountLockedCoinsRequest) - returns (AccountLockedCoinsResponse) { - option (google.api.http).get = - "/osmosis/lockup/v1beta1/account_locked_coins/{owner}"; - } - - // Returns locked records of an account with unlock time beyond timestamp - rpc AccountLockedPastTime(AccountLockedPastTimeRequest) - returns (AccountLockedPastTimeResponse) { - option (google.api.http).get = - "/osmosis/lockup/v1beta1/account_locked_pasttime/{owner}"; - } - // Returns locked records of an account with unlock time beyond timestamp - // excluding tokens started unlocking - rpc AccountLockedPastTimeNotUnlockingOnly( - AccountLockedPastTimeNotUnlockingOnlyRequest) - returns (AccountLockedPastTimeNotUnlockingOnlyResponse) { - option (google.api.http).get = - "/osmosis/lockup/v1beta1/account_locked_pasttime_not_unlocking_only/" - "{owner}"; - } - // Returns unlocked records with unlock time before timestamp - rpc AccountUnlockedBeforeTime(AccountUnlockedBeforeTimeRequest) - returns (AccountUnlockedBeforeTimeResponse) { - option (google.api.http).get = - "/osmosis/lockup/v1beta1/account_unlocked_before_time/{owner}"; - } - - // Returns lock records by address, timestamp, denom - rpc AccountLockedPastTimeDenom(AccountLockedPastTimeDenomRequest) - returns (AccountLockedPastTimeDenomResponse) { - option (google.api.http).get = - "/osmosis/lockup/v1beta1/account_locked_pasttime_denom/{owner}"; - } - - // Returns total locked per denom with longer past given time - rpc LockedDenom(LockedDenomRequest) returns (LockedDenomResponse) { - option (google.api.http).get = "/osmosis/lockup/v1beta1/locked_denom"; - } - - // Returns lock record by id - rpc LockedByID(LockedRequest) returns (LockedResponse) { - option (google.api.http).get = - "/osmosis/lockup/v1beta1/locked_by_id/{lock_id}"; - } - - // Returns synthetic lockups by native lockup id - rpc SyntheticLockupsByLockupID(SyntheticLockupsByLockupIDRequest) - returns (SyntheticLockupsByLockupIDResponse) { - option (google.api.http).get = - "/osmosis/lockup/v1beta1/synthetic_lockups_by_lock_id/{lock_id}"; - } - - // Returns account locked records with longer duration - rpc AccountLockedLongerDuration(AccountLockedLongerDurationRequest) - returns (AccountLockedLongerDurationResponse) { - option (google.api.http).get = - "/osmosis/lockup/v1beta1/account_locked_longer_duration/{owner}"; - } - - // Returns account locked records with a specific duration - rpc AccountLockedDuration(AccountLockedDurationRequest) - returns (AccountLockedDurationResponse) { - option (google.api.http).get = - "/osmosis/lockup/v1beta1/account_locked_duration/{owner}"; - } - - // Returns account locked records with longer duration excluding tokens - // started unlocking - rpc AccountLockedLongerDurationNotUnlockingOnly( - AccountLockedLongerDurationNotUnlockingOnlyRequest) - returns (AccountLockedLongerDurationNotUnlockingOnlyResponse) { - option (google.api.http).get = - "/osmosis/lockup/v1beta1/" - "account_locked_longer_duration_not_unlocking_only/{owner}"; - } - // Returns account's locked records for a denom with longer duration - rpc AccountLockedLongerDurationDenom(AccountLockedLongerDurationDenomRequest) - returns (AccountLockedLongerDurationDenomResponse) { - option (google.api.http).get = - "/osmosis/lockup/v1beta1/account_locked_longer_duration_denom/{owner}"; - } - // Params returns lockup params. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/osmosis/lockup/v1beta1/params"; - } -} - -message ModuleBalanceRequest {}; -message ModuleBalanceResponse { - repeated cosmos.base.v1beta1.Coin coins = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -}; - -message ModuleLockedAmountRequest {}; -message ModuleLockedAmountResponse { - repeated cosmos.base.v1beta1.Coin coins = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -}; - -message AccountUnlockableCoinsRequest { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; -}; -message AccountUnlockableCoinsResponse { - repeated cosmos.base.v1beta1.Coin coins = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -}; - -message AccountUnlockingCoinsRequest { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; -} -message AccountUnlockingCoinsResponse { - repeated cosmos.base.v1beta1.Coin coins = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -message AccountLockedCoinsRequest { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; -}; -message AccountLockedCoinsResponse { - repeated cosmos.base.v1beta1.Coin coins = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -}; - -message AccountLockedPastTimeRequest { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - google.protobuf.Timestamp timestamp = 2 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"timestamp\"" - ]; -}; -message AccountLockedPastTimeResponse { - repeated PeriodLock locks = 1 [ (gogoproto.nullable) = false ]; -}; - -message AccountLockedPastTimeNotUnlockingOnlyRequest { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - google.protobuf.Timestamp timestamp = 2 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"timestamp\"" - ]; -}; -message AccountLockedPastTimeNotUnlockingOnlyResponse { - repeated PeriodLock locks = 1 [ (gogoproto.nullable) = false ]; -}; - -message AccountUnlockedBeforeTimeRequest { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - google.protobuf.Timestamp timestamp = 2 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"timestamp\"" - ]; -}; -message AccountUnlockedBeforeTimeResponse { - repeated PeriodLock locks = 1 [ (gogoproto.nullable) = false ]; -} - -message AccountLockedPastTimeDenomRequest { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - google.protobuf.Timestamp timestamp = 2 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"timestamp\"" - ]; - string denom = 3; -}; -message AccountLockedPastTimeDenomResponse { - repeated PeriodLock locks = 1 [ (gogoproto.nullable) = false ]; -}; - -message LockedDenomRequest { - string denom = 1; - google.protobuf.Duration duration = 2 [ - (gogoproto.stdduration) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"duration\"" - ]; -} -message LockedDenomResponse { - string amount = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"amount\"", - (gogoproto.nullable) = false - ]; -} - -message LockedRequest { uint64 lock_id = 1; }; -message LockedResponse { PeriodLock lock = 1; }; - -message SyntheticLockupsByLockupIDRequest { uint64 lock_id = 1; } -message SyntheticLockupsByLockupIDResponse { - repeated SyntheticLock synthetic_locks = 1 [ (gogoproto.nullable) = false ]; -} - -message AccountLockedLongerDurationRequest { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - google.protobuf.Duration duration = 2 [ - (gogoproto.stdduration) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"duration\"" - ]; -}; -message AccountLockedLongerDurationResponse { - repeated PeriodLock locks = 1 [ (gogoproto.nullable) = false ]; -}; - -message AccountLockedDurationRequest { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - google.protobuf.Duration duration = 2 [ - (gogoproto.stdduration) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"duration\"" - ]; -}; -message AccountLockedDurationResponse { - repeated PeriodLock locks = 1 [ (gogoproto.nullable) = false ]; -}; - -message AccountLockedLongerDurationNotUnlockingOnlyRequest { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - google.protobuf.Duration duration = 2 [ - (gogoproto.stdduration) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"duration\"" - ]; -}; -message AccountLockedLongerDurationNotUnlockingOnlyResponse { - repeated PeriodLock locks = 1 [ (gogoproto.nullable) = false ]; -}; - -message AccountLockedLongerDurationDenomRequest { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - google.protobuf.Duration duration = 2 [ - (gogoproto.stdduration) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"duration\"" - ]; - string denom = 3; -}; -message AccountLockedLongerDurationDenomResponse { - repeated PeriodLock locks = 1 [ (gogoproto.nullable) = false ]; -}; - -message QueryParamsRequest {} -message QueryParamsResponse { - Params params = 1 [ (gogoproto.nullable) = false ]; -} diff --git a/examples/authz/proto/osmosis/lockup/tx.proto b/examples/authz/proto/osmosis/lockup/tx.proto deleted file mode 100644 index 9d5c0642..00000000 --- a/examples/authz/proto/osmosis/lockup/tx.proto +++ /dev/null @@ -1,88 +0,0 @@ -syntax = "proto3"; -package osmosis.lockup; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "osmosis/lockup/lock.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/lockup/types"; - -// Msg defines the Msg service. -service Msg { - // LockTokens lock tokens - rpc LockTokens(MsgLockTokens) returns (MsgLockTokensResponse); - // BeginUnlockingAll begin unlocking all tokens - rpc BeginUnlockingAll(MsgBeginUnlockingAll) - returns (MsgBeginUnlockingAllResponse); - // MsgBeginUnlocking begins unlocking tokens by lock ID - rpc BeginUnlocking(MsgBeginUnlocking) returns (MsgBeginUnlockingResponse); - // MsgEditLockup edits the existing lockups by lock ID - rpc ExtendLockup(MsgExtendLockup) returns (MsgExtendLockupResponse); - rpc ForceUnlock(MsgForceUnlock) returns (MsgForceUnlockResponse); -} - -message MsgLockTokens { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - google.protobuf.Duration duration = 2 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "duration,omitempty", - (gogoproto.moretags) = "yaml:\"duration\"" - ]; - repeated cosmos.base.v1beta1.Coin coins = 3 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} -message MsgLockTokensResponse { uint64 ID = 1; } - -message MsgBeginUnlockingAll { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; -} -message MsgBeginUnlockingAllResponse { repeated PeriodLock unlocks = 1; } - -message MsgBeginUnlocking { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - uint64 ID = 2; - // Amount of unlocking coins. Unlock all if not set. - repeated cosmos.base.v1beta1.Coin coins = 3 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} -message MsgBeginUnlockingResponse { bool success = 1; } - -// MsgExtendLockup extends the existing lockup's duration. -// The new duration is longer than the original. -message MsgExtendLockup { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - uint64 ID = 2; - - // duration to be set. fails if lower than the current duration, or is - // unlocking - google.protobuf.Duration duration = 3 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "duration,omitempty", - (gogoproto.moretags) = "yaml:\"duration\"" - ]; - - // extend for other edit, e.g. cancel unlocking -} - -message MsgExtendLockupResponse { bool success = 1; } - -// MsgForceUnlock unlocks locks immediately for -// addresses registered via governance. -message MsgForceUnlock { - string owner = 1 [ (gogoproto.moretags) = "yaml:\"owner\"" ]; - uint64 ID = 2; - // Amount of unlocking coins. Unlock all if not set. - repeated cosmos.base.v1beta1.Coin coins = 3 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -message MsgForceUnlockResponse { bool success = 1; } \ No newline at end of file diff --git a/examples/authz/proto/osmosis/mint/v1beta1/genesis.proto b/examples/authz/proto/osmosis/mint/v1beta1/genesis.proto deleted file mode 100644 index 67534deb..00000000 --- a/examples/authz/proto/osmosis/mint/v1beta1/genesis.proto +++ /dev/null @@ -1,21 +0,0 @@ -syntax = "proto3"; -package osmosis.mint.v1beta1; - -import "gogoproto/gogo.proto"; -import "osmosis/mint/v1beta1/mint.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/mint/types"; - -// GenesisState defines the mint module's genesis state. -message GenesisState { - // minter is an abstraction for holding current rewards information. - Minter minter = 1 [ (gogoproto.nullable) = false ]; - - // params defines all the paramaters of the mint module. - Params params = 2 [ (gogoproto.nullable) = false ]; - - // reduction_started_epoch is the first epoch in which the reduction of mint - // begins. - int64 reduction_started_epoch = 3 - [ (gogoproto.moretags) = "yaml:\"reduction_started_epoch\"" ]; -} diff --git a/examples/authz/proto/osmosis/mint/v1beta1/mint.proto b/examples/authz/proto/osmosis/mint/v1beta1/mint.proto deleted file mode 100644 index d0a8223f..00000000 --- a/examples/authz/proto/osmosis/mint/v1beta1/mint.proto +++ /dev/null @@ -1,111 +0,0 @@ -syntax = "proto3"; -package osmosis.mint.v1beta1; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/mint/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "google/protobuf/any.proto"; -import "google/protobuf/duration.proto"; - -// Minter represents the minting state. -message Minter { - // epoch_provisions represent rewards for the current epoch. - string epoch_provisions = 1 [ - (gogoproto.moretags) = "yaml:\"epoch_provisions\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// WeightedAddress represents an address with a weight assigned to it. -// The weight is used to determine the proportion of the total minted -// tokens to be minted to the address. -message WeightedAddress { - string address = 1 [ (gogoproto.moretags) = "yaml:\"address\"" ]; - string weight = 2 [ - (gogoproto.moretags) = "yaml:\"weight\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// DistributionProportions defines the distribution proportions of the minted -// denom. In other words, defines which stakeholders will receive the minted -// denoms and how much. -message DistributionProportions { - // staking defines the proportion of the minted mint_denom that is to be - // allocated as staking rewards. - string staking = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"staking\"", - (gogoproto.nullable) = false - ]; - // pool_incentives defines the proportion of the minted mint_denom that is - // to be allocated as pool incentives. - string pool_incentives = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"pool_incentives\"", - (gogoproto.nullable) = false - ]; - // developer_rewards defines the proportion of the minted mint_denom that is - // to be allocated to developer rewards address. - string developer_rewards = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"developer_rewards\"", - (gogoproto.nullable) = false - ]; - // community_pool defines the proportion of the minted mint_denom that is - // to be allocated to the community pool. - string community_pool = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"community_pool\"", - (gogoproto.nullable) = false - ]; -} - -// Params holds parameters for the x/mint module. -message Params { - option (gogoproto.goproto_stringer) = false; - - // mint_denom is the denom of the coin to mint. - string mint_denom = 1; - // genesis_epoch_provisions epoch provisions from the first epoch. - string genesis_epoch_provisions = 2 [ - (gogoproto.moretags) = "yaml:\"genesis_epoch_provisions\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // epoch_identifier mint epoch identifier e.g. (day, week). - string epoch_identifier = 3 - [ (gogoproto.moretags) = "yaml:\"epoch_identifier\"" ]; - // reduction_period_in_epochs the number of epochs it takes - // to reduce the rewards. - int64 reduction_period_in_epochs = 4 - [ (gogoproto.moretags) = "yaml:\"reduction_period_in_epochs\"" ]; - // reduction_factor is the reduction multiplier to execute - // at the end of each period set by reduction_period_in_epochs. - string reduction_factor = 5 [ - (gogoproto.moretags) = "yaml:\"reduction_factor\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // distribution_proportions defines the distribution proportions of the minted - // denom. In other words, defines which stakeholders will receive the minted - // denoms and how much. - DistributionProportions distribution_proportions = 6 - [ (gogoproto.nullable) = false ]; - // weighted_developer_rewards_receivers is the address to receive developer - // rewards with weights assignedt to each address. The final amount that each - // address receives is: epoch_provisions * - // distribution_proportions.developer_rewards * Address's Weight. - repeated WeightedAddress weighted_developer_rewards_receivers = 7 [ - (gogoproto.moretags) = "yaml:\"developer_rewards_receiver\"", - (gogoproto.nullable) = false - ]; - // minting_rewards_distribution_start_epoch start epoch to distribute minting - // rewards - int64 minting_rewards_distribution_start_epoch = 8 - [ (gogoproto.moretags) = - "yaml:\"minting_rewards_distribution_start_epoch\"" ]; -} diff --git a/examples/authz/proto/osmosis/mint/v1beta1/query.proto b/examples/authz/proto/osmosis/mint/v1beta1/query.proto deleted file mode 100644 index 9960e6ef..00000000 --- a/examples/authz/proto/osmosis/mint/v1beta1/query.proto +++ /dev/null @@ -1,45 +0,0 @@ -syntax = "proto3"; -package osmosis.mint.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "osmosis/mint/v1beta1/mint.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/mint/types"; - -// Query provides defines the gRPC querier service. -service Query { - // Params returns the total set of minting parameters. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/osmosis/mint/v1beta1/params"; - } - - // EpochProvisions returns the current minting epoch provisions value. - rpc EpochProvisions(QueryEpochProvisionsRequest) - returns (QueryEpochProvisionsResponse) { - option (google.api.http).get = "/osmosis/mint/v1beta1/epoch_provisions"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; -} - -// QueryEpochProvisionsRequest is the request type for the -// Query/EpochProvisions RPC method. -message QueryEpochProvisionsRequest {} - -// QueryEpochProvisionsResponse is the response type for the -// Query/EpochProvisions RPC method. -message QueryEpochProvisionsResponse { - // epoch_provisions is the current minting per epoch provisions value. - bytes epoch_provisions = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} diff --git a/examples/authz/proto/osmosis/pool-incentives/v1beta1/genesis.proto b/examples/authz/proto/osmosis/pool-incentives/v1beta1/genesis.proto deleted file mode 100644 index 51302029..00000000 --- a/examples/authz/proto/osmosis/pool-incentives/v1beta1/genesis.proto +++ /dev/null @@ -1,27 +0,0 @@ -syntax = "proto3"; -package osmosis.poolincentives.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; -import "osmosis/pool-incentives/v1beta1/incentives.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/pool-incentives/types"; - -// GenesisState defines the pool incentives module's genesis state. -message GenesisState { - // params defines all the paramaters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; - repeated google.protobuf.Duration lockable_durations = 2 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.moretags) = "yaml:\"lockable_durations\"" - ]; - DistrInfo distr_info = 3 [ - (gogoproto.nullable) = true, - (gogoproto.moretags) = "yaml:\"distr_info\"" - ]; - PoolToGauges pool_to_gauges = 4 [ - (gogoproto.nullable) = true, - (gogoproto.moretags) = "yaml:\"pool_to_gauges\"" - ]; -} diff --git a/examples/authz/proto/osmosis/pool-incentives/v1beta1/gov.proto b/examples/authz/proto/osmosis/pool-incentives/v1beta1/gov.proto deleted file mode 100644 index d0a48bca..00000000 --- a/examples/authz/proto/osmosis/pool-incentives/v1beta1/gov.proto +++ /dev/null @@ -1,52 +0,0 @@ -syntax = "proto3"; -package osmosis.poolincentives.v1beta1; - -import "gogoproto/gogo.proto"; -import "osmosis/pool-incentives/v1beta1/incentives.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/pool-incentives/types"; - -// ReplacePoolIncentivesProposal is a gov Content type for updating the pool -// incentives. If a ReplacePoolIncentivesProposal passes, the proposal’s records -// override the existing DistrRecords set in the module. Each record has a -// specified gauge id and weight, and the incentives are distributed to each -// gauge according to weight/total_weight. The incentives are put in the fee -// pool and it is allocated to gauges and community pool by the DistrRecords -// configuration. Note that gaugeId=0 represents the community pool. -message ReplacePoolIncentivesProposal { - option (gogoproto.equal) = true; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - option (cosmos_proto.implements_interface) = "ProposalContentI"; - - string title = 1; - string description = 2; - repeated DistrRecord records = 3 [ (gogoproto.nullable) = false ]; -} - -// UpdatePoolIncentivesProposal is a gov Content type for updating the pool -// incentives. If a UpdatePoolIncentivesProposal passes, all the DistrRecords -// in the proposals are edited. An existing DistrRecord is not overriden unless -// explicitly included in the proposal. -// This differs from an ReplacePoolIncentivesProposal because it only does an -// in place update of the DistrRecords for gauges explicitly mentioned in the -// proposal. - -// For example: if the existing DistrRecords were: -// [(Gauge 0, 5), (Gauge 1, 6), (Gauge 2, 6)] -// An UpdatePoolIncentivesProposal includes -// [(Gauge 1, 0), (Gauge 2, 4), (Gauge 3, 10)] -// This would delete Gauge 1, Edit Gauge 2, and Add Gauge 3 -// The result DistrRecords in state would be: -// [(Gauge 0, 5), (Gauge 2, 4), (Gauge 3, 10)] -message UpdatePoolIncentivesProposal { - option (gogoproto.equal) = true; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - option (cosmos_proto.implements_interface) = "ProposalContentI"; - - string title = 1; - string description = 2; - repeated DistrRecord records = 3 [ (gogoproto.nullable) = false ]; -} diff --git a/examples/authz/proto/osmosis/pool-incentives/v1beta1/incentives.proto b/examples/authz/proto/osmosis/pool-incentives/v1beta1/incentives.proto deleted file mode 100644 index f26183a4..00000000 --- a/examples/authz/proto/osmosis/pool-incentives/v1beta1/incentives.proto +++ /dev/null @@ -1,58 +0,0 @@ -syntax = "proto3"; -package osmosis.poolincentives.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/pool-incentives/types"; - -message Params { - option (gogoproto.goproto_stringer) = false; - - // minted_denom is the denomination of the coin expected to be minted by the - // minting module. Pool-incentives module doesn’t actually mint the coin - // itself, but rather manages the distribution of coins that matches the - // defined minted_denom. - string minted_denom = 1 [ (gogoproto.moretags) = "yaml:\"minted_denom\"" ]; -} - -message LockableDurationsInfo { - repeated google.protobuf.Duration lockable_durations = 1 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.moretags) = "yaml:\"lockable_durations\"" - ]; -} - -message DistrInfo { - string total_weight = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"total_weight\"", - (gogoproto.nullable) = false - ]; - repeated DistrRecord records = 2 [ (gogoproto.nullable) = false ]; -} - -message DistrRecord { - option (gogoproto.equal) = true; - - uint64 gauge_id = 1 [ (gogoproto.moretags) = "yaml:\"gauge_id\"" ]; - string weight = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; -} - -message PoolToGauge { - uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - uint64 gauge_id = 2 [ (gogoproto.moretags) = "yaml:\"gauge\"" ]; - google.protobuf.Duration duration = 3 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.moretags) = "yaml:\"duration\"" - ]; -} - -message PoolToGauges { - repeated PoolToGauge pool_to_gauge = 2 [ (gogoproto.nullable) = false ]; -} \ No newline at end of file diff --git a/examples/authz/proto/osmosis/pool-incentives/v1beta1/query.proto b/examples/authz/proto/osmosis/pool-incentives/v1beta1/query.proto deleted file mode 100644 index 3af16e93..00000000 --- a/examples/authz/proto/osmosis/pool-incentives/v1beta1/query.proto +++ /dev/null @@ -1,108 +0,0 @@ -syntax = "proto3"; -package osmosis.poolincentives.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "google/protobuf/duration.proto"; -import "osmosis/incentives/gauge.proto"; -import "osmosis/pool-incentives/v1beta1/incentives.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/pool-incentives/types"; - -service Query { - // GaugeIds takes the pool id and returns the matching gauge ids and durations - rpc GaugeIds(QueryGaugeIdsRequest) returns (QueryGaugeIdsResponse) { - option (google.api.http).get = - "/osmosis/pool-incentives/v1beta1/gauge-ids/{pool_id}"; - } - // DistrInfo returns the pool's matching gauge ids and weights. - rpc DistrInfo(QueryDistrInfoRequest) returns (QueryDistrInfoResponse) { - option (google.api.http).get = - "/osmosis/pool-incentives/v1beta1/distr_info"; - } - - // Params returns pool incentives params. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/osmosis/pool-incentives/v1beta1/params"; - } - - // LockableDurations returns lock durations for pools. - rpc LockableDurations(QueryLockableDurationsRequest) - returns (QueryLockableDurationsResponse) { - option (google.api.http).get = - "/osmosis/pool-incentives/v1beta1/lockable_durations"; - } - - // IncentivizedPools returns currently incentivized pools - rpc IncentivizedPools(QueryIncentivizedPoolsRequest) - returns (QueryIncentivizedPoolsResponse) { - option (google.api.http).get = - "/osmosis/pool-incentives/v1beta1/incentivized_pools"; - } - - // ExternalIncentiveGauges returns external incentive gauges. - rpc ExternalIncentiveGauges(QueryExternalIncentiveGaugesRequest) - returns (QueryExternalIncentiveGaugesResponse) { - option (google.api.http).get = - "/osmosis/pool-incentives/v1beta1/external_incentive_gauges"; - } -} - -message QueryGaugeIdsRequest { - uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; -} -message QueryGaugeIdsResponse { - message GaugeIdWithDuration { - uint64 gauge_id = 1 [ (gogoproto.moretags) = "yaml:\"gauge_id\"" ]; - google.protobuf.Duration duration = 2 - [ (gogoproto.nullable) = false, (gogoproto.stdduration) = true ]; - string gauge_incentive_percentage = 3; - } - - repeated GaugeIdWithDuration gauge_ids_with_duration = 1 - [ (gogoproto.moretags) = "yaml:\"gauge_ids_with_duration\"" ]; -} - -message QueryDistrInfoRequest {} -message QueryDistrInfoResponse { - DistrInfo distr_info = 1 [ - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"distr_info\"" - ]; -} - -message QueryParamsRequest {} -message QueryParamsResponse { - Params params = 1 [ (gogoproto.nullable) = false ]; -} - -message QueryLockableDurationsRequest {} -message QueryLockableDurationsResponse { - repeated google.protobuf.Duration lockable_durations = 1 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.moretags) = "yaml:\"lockable_durations\"" - ]; -} - -message QueryIncentivizedPoolsRequest {} -message IncentivizedPool { - uint64 pool_id = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - google.protobuf.Duration lockable_duration = 2 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.moretags) = "yaml:\"lockable_duration\"" - ]; - uint64 gauge_id = 3 [ (gogoproto.moretags) = "yaml:\"gauge_id\"" ]; -} -message QueryIncentivizedPoolsResponse { - repeated IncentivizedPool incentivized_pools = 1 [ - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"incentivized_pools\"" - ]; -} - -message QueryExternalIncentiveGaugesRequest {} -message QueryExternalIncentiveGaugesResponse { - repeated osmosis.incentives.Gauge data = 1 [ (gogoproto.nullable) = false ]; -} diff --git a/examples/authz/proto/osmosis/sumtree/v1beta1/tree.proto b/examples/authz/proto/osmosis/sumtree/v1beta1/tree.proto deleted file mode 100644 index ff9a1f32..00000000 --- a/examples/authz/proto/osmosis/sumtree/v1beta1/tree.proto +++ /dev/null @@ -1,19 +0,0 @@ -syntax = "proto3"; -package osmosis.store.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/osmoutils/sumtree"; - -message Node { repeated Child children = 1; } - -message Child { - bytes index = 1; - string accumulation = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; -} - -message Leaf { Child leaf = 1; } diff --git a/examples/authz/proto/osmosis/superfluid/genesis.proto b/examples/authz/proto/osmosis/superfluid/genesis.proto deleted file mode 100644 index a068d0ff..00000000 --- a/examples/authz/proto/osmosis/superfluid/genesis.proto +++ /dev/null @@ -1,27 +0,0 @@ -syntax = "proto3"; -package osmosis.superfluid; - -import "gogoproto/gogo.proto"; -import "osmosis/superfluid/superfluid.proto"; -import "osmosis/superfluid/params.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/superfluid/types"; - -// GenesisState defines the module's genesis state. -message GenesisState { - Params params = 1 [ (gogoproto.nullable) = false ]; - // superfluid_assets defines the registered superfluid assets that have been - // registered via governance. - repeated SuperfluidAsset superfluid_assets = 2 - [ (gogoproto.nullable) = false ]; - // osmo_equivalent_multipliers is the records of osmo equivalent amount of - // each superfluid registered pool, updated every epoch. - repeated OsmoEquivalentMultiplierRecord osmo_equivalent_multipliers = 3 - [ (gogoproto.nullable) = false ]; - // intermediary_accounts is a secondary account for superfluid staking that - // plays an intermediary role between validators and the delegators. - repeated SuperfluidIntermediaryAccount intermediary_accounts = 4 - [ (gogoproto.nullable) = false ]; - repeated LockIdIntermediaryAccountConnection intemediary_account_connections = - 5 [ (gogoproto.nullable) = false ]; -} diff --git a/examples/authz/proto/osmosis/superfluid/params.proto b/examples/authz/proto/osmosis/superfluid/params.proto deleted file mode 100644 index 754f6a7e..00000000 --- a/examples/authz/proto/osmosis/superfluid/params.proto +++ /dev/null @@ -1,20 +0,0 @@ -syntax = "proto3"; -package osmosis.superfluid; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/superfluid/types"; - -// Params holds parameters for the superfluid module -message Params { - // minimum_risk_factor is to be cut on OSMO equivalent value of lp tokens for - // superfluid staking, default: 5%. The minimum risk factor works - // to counter-balance the staked amount on chain's exposure to various asset - // volatilities, and have base staking be 'resistant' to volatility. - string minimum_risk_factor = 1 [ - (gogoproto.moretags) = "yaml:\"minimum_risk_factor\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} diff --git a/examples/authz/proto/osmosis/superfluid/query.proto b/examples/authz/proto/osmosis/superfluid/query.proto deleted file mode 100644 index 71f80d62..00000000 --- a/examples/authz/proto/osmosis/superfluid/query.proto +++ /dev/null @@ -1,284 +0,0 @@ -syntax = "proto3"; -package osmosis.superfluid; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "google/api/annotations.proto"; -import "google/protobuf/timestamp.proto"; -import "google/protobuf/duration.proto"; -import "osmosis/superfluid/superfluid.proto"; -import "osmosis/superfluid/params.proto"; -import "osmosis/lockup/lock.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "cosmos/staking/v1beta1/staking.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/superfluid/types"; - -// Query defines the gRPC querier service. -service Query { - // Params returns the total set of superfluid parameters. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/osmosis/superfluid/v1beta1/params"; - } - - // Returns superfluid asset type, whether if it's a native asset or an lp - // share. - rpc AssetType(AssetTypeRequest) returns (AssetTypeResponse) { - option (google.api.http).get = "/osmosis/superfluid/v1beta1/asset_type"; - } - - // Returns all registered superfluid assets. - rpc AllAssets(AllAssetsRequest) returns (AllAssetsResponse) { - option (google.api.http).get = "/osmosis/superfluid/v1beta1/all_assets"; - } - - // Returns the osmo equivalent multiplier used in the most recent epoch. - rpc AssetMultiplier(AssetMultiplierRequest) - returns (AssetMultiplierResponse) { - option (google.api.http).get = - "/osmosis/superfluid/v1beta1/asset_multiplier"; - } - - // Returns all superfluid intermediary accounts. - rpc AllIntermediaryAccounts(AllIntermediaryAccountsRequest) - returns (AllIntermediaryAccountsResponse) { - option (google.api.http).get = - "/osmosis/superfluid/v1beta1/all_intermediary_accounts"; - } - - // Returns intermediary account connected to a superfluid staked lock by id - rpc ConnectedIntermediaryAccount(ConnectedIntermediaryAccountRequest) - returns (ConnectedIntermediaryAccountResponse) { - option (google.api.http).get = - "/osmosis/superfluid/v1beta1/connected_intermediary_account/{lock_id}"; - } - - // Returns the amount of delegations of specific denom for all validators - rpc TotalDelegationByValidatorForDenom( - QueryTotalDelegationByValidatorForDenomRequest) - returns (QueryTotalDelegationByValidatorForDenomResponse) {} - - // Returns the total amount of osmo superfluidly staked. - // Response is denominated in uosmo. - rpc TotalSuperfluidDelegations(TotalSuperfluidDelegationsRequest) - returns (TotalSuperfluidDelegationsResponse) { - option (google.api.http).get = - "/osmosis/superfluid/v1beta1/all_superfluid_delegations"; - } - - // Returns the coins superfluid delegated for the delegator, validator, denom - // triplet - rpc SuperfluidDelegationAmount(SuperfluidDelegationAmountRequest) - returns (SuperfluidDelegationAmountResponse) { - option (google.api.http).get = - "/osmosis/superfluid/v1beta1/superfluid_delegation_amount"; - } - - // Returns all the delegated superfluid poistions for a specific delegator. - rpc SuperfluidDelegationsByDelegator(SuperfluidDelegationsByDelegatorRequest) - returns (SuperfluidDelegationsByDelegatorResponse) { - option (google.api.http).get = "/osmosis/superfluid/v1beta1/" - "superfluid_delegations/{delegator_address}"; - } - - // Returns all the undelegating superfluid poistions for a specific delegator. - rpc SuperfluidUndelegationsByDelegator( - SuperfluidUndelegationsByDelegatorRequest) - returns (SuperfluidUndelegationsByDelegatorResponse) { - option (google.api.http).get = - "/osmosis/superfluid/v1beta1/" - "superfluid_undelegations_by_delegator/{delegator_address}"; - } - - // Returns all the superfluid positions of a specific denom delegated to one - // validator - rpc SuperfluidDelegationsByValidatorDenom( - SuperfluidDelegationsByValidatorDenomRequest) - returns (SuperfluidDelegationsByValidatorDenomResponse) { - option (google.api.http).get = - "/osmosis/superfluid/v1beta1/superfluid_delegations_by_validator_denom"; - } - - // Returns the amount of a specific denom delegated to a specific validator - // This is labeled an estimate, because the way it calculates the amount can - // lead rounding errors from the true delegated amount - rpc EstimateSuperfluidDelegatedAmountByValidatorDenom( - EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) - returns (EstimateSuperfluidDelegatedAmountByValidatorDenomResponse) { - option (google.api.http).get = - "/osmosis/superfluid/v1beta1/" - "estimate_superfluid_delegation_amount_by_validator_denom"; - } - - // Returns the specified delegations for a specific delegator - rpc TotalDelegationByDelegator(QueryTotalDelegationByDelegatorRequest) - returns (QueryTotalDelegationByDelegatorResponse) { - option (google.api.http).get = - "/osmosis/superfluid/v1beta1/" - "total_delegation_by_delegator/{delegator_address}"; - } - - // Returns a list of whitelisted pool ids to unpool. - rpc UnpoolWhitelist(QueryUnpoolWhitelistRequest) - returns (QueryUnpoolWhitelistResponse) { - option (google.api.http).get = "/osmosis/superfluid/v1beta1/" - "unpool_whitelist"; - } -} - -message QueryParamsRequest {} -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; -} - -message AssetTypeRequest { string denom = 1; }; -message AssetTypeResponse { SuperfluidAssetType asset_type = 1; }; - -message AllAssetsRequest {}; -message AllAssetsResponse { - repeated SuperfluidAsset assets = 1 [ (gogoproto.nullable) = false ]; -}; - -message AssetMultiplierRequest { string denom = 1; }; -message AssetMultiplierResponse { - OsmoEquivalentMultiplierRecord osmo_equivalent_multiplier = 1; -}; - -message SuperfluidIntermediaryAccountInfo { - string denom = 1; - string val_addr = 2; - uint64 gauge_id = 3; - string address = 4; -} -message AllIntermediaryAccountsRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -}; -message AllIntermediaryAccountsResponse { - repeated SuperfluidIntermediaryAccountInfo accounts = 1 - [ (gogoproto.nullable) = false ]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -}; - -message ConnectedIntermediaryAccountRequest { uint64 lock_id = 1; } -message ConnectedIntermediaryAccountResponse { - SuperfluidIntermediaryAccountInfo account = 1; -} - -message QueryTotalDelegationByValidatorForDenomRequest { string denom = 1; } -message QueryTotalDelegationByValidatorForDenomResponse { - repeated Delegations assets = 1 [ (gogoproto.nullable) = false ]; -} - -message Delegations { - string val_addr = 1; - string amount_sfsd = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"amount_sfsd\"", - (gogoproto.nullable) = false - ]; - string osmo_equivalent = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"osmo_equivalent\"", - (gogoproto.nullable) = false - ]; -} -message TotalSuperfluidDelegationsRequest {} - -message TotalSuperfluidDelegationsResponse { - string total_delegations = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.moretags) = "yaml:\"total_superfluid_delegations\"", - (gogoproto.nullable) = false - ]; -} - -message SuperfluidDelegationAmountRequest { - string delegator_address = 1; - string validator_address = 2; - string denom = 3; -} - -message SuperfluidDelegationAmountResponse { - repeated cosmos.base.v1beta1.Coin amount = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -message SuperfluidDelegationsByDelegatorRequest { - string delegator_address = 1; -} - -message SuperfluidDelegationsByDelegatorResponse { - repeated SuperfluidDelegationRecord superfluid_delegation_records = 1 - [ (gogoproto.nullable) = false ]; - repeated cosmos.base.v1beta1.Coin total_delegated_coins = 2 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; - cosmos.base.v1beta1.Coin total_equivalent_staked_amount = 3 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coin" - ]; -} - -message SuperfluidUndelegationsByDelegatorRequest { - string delegator_address = 1; - string denom = 2; -} - -message SuperfluidUndelegationsByDelegatorResponse { - repeated SuperfluidDelegationRecord superfluid_delegation_records = 1 - [ (gogoproto.nullable) = false ]; - repeated cosmos.base.v1beta1.Coin total_undelegated_coins = 2 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; - repeated osmosis.lockup.SyntheticLock synthetic_locks = 3 - [ (gogoproto.nullable) = false ]; -} - -message SuperfluidDelegationsByValidatorDenomRequest { - string validator_address = 1; - string denom = 2; -} - -message SuperfluidDelegationsByValidatorDenomResponse { - repeated SuperfluidDelegationRecord superfluid_delegation_records = 1 - [ (gogoproto.nullable) = false ]; -} - -message EstimateSuperfluidDelegatedAmountByValidatorDenomRequest { - string validator_address = 1; - string denom = 2; -} - -message EstimateSuperfluidDelegatedAmountByValidatorDenomResponse { - repeated cosmos.base.v1beta1.Coin total_delegated_coins = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -message QueryTotalDelegationByDelegatorRequest { string delegator_address = 1; } - -message QueryTotalDelegationByDelegatorResponse { - repeated SuperfluidDelegationRecord superfluid_delegation_records = 1 - [ (gogoproto.nullable) = false ]; - - repeated cosmos.staking.v1beta1.DelegationResponse delegation_response = 2 - [ (gogoproto.nullable) = false ]; - repeated cosmos.base.v1beta1.Coin total_delegated_coins = 3 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; - cosmos.base.v1beta1.Coin total_equivalent_staked_amount = 4 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coin" - ]; -} - -message QueryUnpoolWhitelistRequest {} - -message QueryUnpoolWhitelistResponse { repeated uint64 pool_ids = 1; } diff --git a/examples/authz/proto/osmosis/superfluid/superfluid.proto b/examples/authz/proto/osmosis/superfluid/superfluid.proto deleted file mode 100644 index fdf8d5a1..00000000 --- a/examples/authz/proto/osmosis/superfluid/superfluid.proto +++ /dev/null @@ -1,82 +0,0 @@ -syntax = "proto3"; -package osmosis.superfluid; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/superfluid/types"; - -// SuperfluidAssetType indicates whether the superfluid asset is -// a native token itself or the lp share of a pool. -enum SuperfluidAssetType { - option (gogoproto.goproto_enum_prefix) = false; - - SuperfluidAssetTypeNative = 0; - SuperfluidAssetTypeLPShare = 1; - // SuperfluidAssetTypeLendingShare = 2; // for now not exist -} - -// SuperfluidAsset stores the pair of superfluid asset type and denom pair -message SuperfluidAsset { - option (gogoproto.equal) = true; - option (gogoproto.goproto_getters) = false; - - string denom = 1; - // AssetType indicates whether the superfluid asset is a native token or an lp - // share - SuperfluidAssetType asset_type = 2; -} - -// SuperfluidIntermediaryAccount takes the role of intermediary between LP token -// and OSMO tokens for superfluid staking. The intermediary account is the -// actual account responsible for delegation, not the validator account itself. -message SuperfluidIntermediaryAccount { - // Denom indicates the denom of the superfluid asset. - string denom = 1; - string val_addr = 2; - // perpetual gauge for rewards distribution - uint64 gauge_id = 3; -} - -// The Osmo-Equivalent-Multiplier Record for epoch N refers to the osmo worth we -// treat an LP share as having, for all of epoch N. Eventually this is intended -// to be set as the Time-weighted-average-osmo-backing for the entire duration -// of epoch N-1. (Thereby locking whats in use for epoch N as based on the prior -// epochs rewards) However for now, this is not the TWAP but instead the spot -// price at the boundary. For different types of assets in the future, it could -// change. -message OsmoEquivalentMultiplierRecord { - int64 epoch_number = 1; - // superfluid asset denom, can be LP token or native token - string denom = 2; - string multiplier = 3 [ - (gogoproto.moretags) = "yaml:\"multiplier\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// SuperfluidDelegationRecord is a struct used to indicate superfluid -// delegations of an account in the state machine in a user friendly form. -message SuperfluidDelegationRecord { - string delegator_address = 1; - string validator_address = 2; - cosmos.base.v1beta1.Coin delegation_amount = 3 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coin" - ]; - cosmos.base.v1beta1.Coin equivalent_staked_amount = 4 - [ (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coin" ]; -} - -// LockIdIntermediaryAccountConnection is a struct used to indicate the -// relationship between the underlying lock id and superfluid delegation done -// via lp shares. -message LockIdIntermediaryAccountConnection { - uint64 lock_id = 1; - string intermediary_account = 2; -} - -message UnpoolWhitelistedPools { repeated uint64 ids = 1; } diff --git a/examples/authz/proto/osmosis/superfluid/tx.proto b/examples/authz/proto/osmosis/superfluid/tx.proto deleted file mode 100644 index 67b4a915..00000000 --- a/examples/authz/proto/osmosis/superfluid/tx.proto +++ /dev/null @@ -1,92 +0,0 @@ -syntax = "proto3"; -package osmosis.superfluid; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "osmosis/superfluid/superfluid.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/superfluid/types"; - -// Msg defines the Msg service. -service Msg { - // Execute superfluid delegation for a lockup - rpc SuperfluidDelegate(MsgSuperfluidDelegate) - returns (MsgSuperfluidDelegateResponse); - - // Execute superfluid undelegation for a lockup - rpc SuperfluidUndelegate(MsgSuperfluidUndelegate) - returns (MsgSuperfluidUndelegateResponse); - - // Execute superfluid redelegation for a lockup - // rpc SuperfluidRedelegate(MsgSuperfluidRedelegate) returns - // (MsgSuperfluidRedelegateResponse); - - // For a given lock that is being superfluidly undelegated, - // also unbond the underlying lock. - rpc SuperfluidUnbondLock(MsgSuperfluidUnbondLock) - returns (MsgSuperfluidUnbondLockResponse); - - // Execute lockup lock and superfluid delegation in a single msg - rpc LockAndSuperfluidDelegate(MsgLockAndSuperfluidDelegate) - returns (MsgLockAndSuperfluidDelegateResponse); - - rpc UnPoolWhitelistedPool(MsgUnPoolWhitelistedPool) - returns (MsgUnPoolWhitelistedPoolResponse); -} - -message MsgSuperfluidDelegate { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - uint64 lock_id = 2; - string val_addr = 3; -} -message MsgSuperfluidDelegateResponse {} - -message MsgSuperfluidUndelegate { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - uint64 lock_id = 2; -} -message MsgSuperfluidUndelegateResponse {} - -message MsgSuperfluidUnbondLock { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - uint64 lock_id = 2; -} -message MsgSuperfluidUnbondLockResponse {} - -// message MsgSuperfluidRedelegate { -// string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; -// uint64 lock_id = 2; -// string new_val_addr = 3; -// } -// message MsgSuperfluidRedelegateResponse {} - -// MsgLockAndSuperfluidDelegate locks coins with the unbonding period duration, -// and then does a superfluid lock from the newly created lockup, to the -// specified validator addr. -message MsgLockAndSuperfluidDelegate { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - repeated cosmos.base.v1beta1.Coin coins = 2 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; - string val_addr = 3; -} -message MsgLockAndSuperfluidDelegateResponse { uint64 ID = 1; } - -// MsgUnPoolWhitelistedPool Unpools every lock the sender has, that is -// associated with pool pool_id. If pool_id is not approved for unpooling by -// governance, this is a no-op. Unpooling takes the locked gamm shares, and runs -// "ExitPool" on it, to get the constituent tokens. e.g. z gamm/pool/1 tokens -// ExitPools into constituent tokens x uatom, y uosmo. Then it creates a new -// lock for every constituent token, with the duration associated with the lock. -// If the lock was unbonding, the new lockup durations should be the time left -// until unbond completion. -message MsgUnPoolWhitelistedPool { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; -} - -message MsgUnPoolWhitelistedPoolResponse { - repeated uint64 exited_lock_ids = 1; -} diff --git a/examples/authz/proto/osmosis/superfluid/v1beta1/gov.proto b/examples/authz/proto/osmosis/superfluid/v1beta1/gov.proto deleted file mode 100644 index 787a45c6..00000000 --- a/examples/authz/proto/osmosis/superfluid/v1beta1/gov.proto +++ /dev/null @@ -1,50 +0,0 @@ -syntax = "proto3"; -package osmosis.superfluid.v1beta1; - -import "gogoproto/gogo.proto"; -import "osmosis/superfluid/superfluid.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/superfluid/types"; - -// SetSuperfluidAssetsProposal is a gov Content type to update the superfluid -// assets -message SetSuperfluidAssetsProposal { - option (gogoproto.equal) = true; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - option (cosmos_proto.implements_interface) = "ProposalContentI"; - - string title = 1; - string description = 2; - repeated SuperfluidAsset assets = 3 [ (gogoproto.nullable) = false ]; -} - -// RemoveSuperfluidAssetsProposal is a gov Content type to remove the superfluid -// assets by denom -message RemoveSuperfluidAssetsProposal { - option (gogoproto.equal) = true; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - option (cosmos_proto.implements_interface) = "ProposalContentI"; - - string title = 1; - string description = 2; - repeated string superfluid_asset_denoms = 3; -} - -// UpdateUnpoolWhiteListProposal is a gov Content type to update the -// allowed list of pool ids. -message UpdateUnpoolWhiteListProposal { - option (gogoproto.equal) = true; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - option (cosmos_proto.implements_interface) = "ProposalContentI"; - - string title = 1; - string description = 2; - repeated uint64 ids = 3; - bool is_overwrite = 4; -} diff --git a/examples/authz/proto/osmosis/tokenfactory/v1beta1/authorityMetadata.proto b/examples/authz/proto/osmosis/tokenfactory/v1beta1/authorityMetadata.proto deleted file mode 100644 index cc58a6d5..00000000 --- a/examples/authz/proto/osmosis/tokenfactory/v1beta1/authorityMetadata.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package osmosis.tokenfactory.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/tokenfactory/types"; - -// DenomAuthorityMetadata specifies metadata for addresses that have specific -// capabilities over a token factory denom. Right now there is only one Admin -// permission, but is planned to be extended to the future. -message DenomAuthorityMetadata { - option (gogoproto.equal) = true; - - // Can be empty for no admin, or a valid osmosis address - string admin = 1 [ (gogoproto.moretags) = "yaml:\"admin\"" ]; -} diff --git a/examples/authz/proto/osmosis/tokenfactory/v1beta1/genesis.proto b/examples/authz/proto/osmosis/tokenfactory/v1beta1/genesis.proto deleted file mode 100644 index e8c2c7c2..00000000 --- a/examples/authz/proto/osmosis/tokenfactory/v1beta1/genesis.proto +++ /dev/null @@ -1,32 +0,0 @@ -syntax = "proto3"; -package osmosis.tokenfactory.v1beta1; - -import "gogoproto/gogo.proto"; -import "osmosis/tokenfactory/v1beta1/authorityMetadata.proto"; -import "osmosis/tokenfactory/v1beta1/params.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/tokenfactory/types"; - -// GenesisState defines the tokenfactory module's genesis state. -message GenesisState { - // params defines the paramaters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; - - repeated GenesisDenom factory_denoms = 2 [ - (gogoproto.moretags) = "yaml:\"factory_denoms\"", - (gogoproto.nullable) = false - ]; -} - -// GenesisDenom defines a tokenfactory denom that is defined within genesis -// state. The structure contains DenomAuthorityMetadata which defines the -// denom's admin. -message GenesisDenom { - option (gogoproto.equal) = true; - - string denom = 1 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; - DenomAuthorityMetadata authority_metadata = 2 [ - (gogoproto.moretags) = "yaml:\"authority_metadata\"", - (gogoproto.nullable) = false - ]; -} diff --git a/examples/authz/proto/osmosis/tokenfactory/v1beta1/params.proto b/examples/authz/proto/osmosis/tokenfactory/v1beta1/params.proto deleted file mode 100644 index 7e14273d..00000000 --- a/examples/authz/proto/osmosis/tokenfactory/v1beta1/params.proto +++ /dev/null @@ -1,18 +0,0 @@ -syntax = "proto3"; -package osmosis.tokenfactory.v1beta1; - -import "gogoproto/gogo.proto"; -import "osmosis/tokenfactory/v1beta1/authorityMetadata.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/tokenfactory/types"; - -// Params defines the parameters for the tokenfactory module. -message Params { - repeated cosmos.base.v1beta1.Coin denom_creation_fee = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "yaml:\"denom_creation_fee\"", - (gogoproto.nullable) = false - ]; -} diff --git a/examples/authz/proto/osmosis/tokenfactory/v1beta1/query.proto b/examples/authz/proto/osmosis/tokenfactory/v1beta1/query.proto deleted file mode 100644 index 7b347161..00000000 --- a/examples/authz/proto/osmosis/tokenfactory/v1beta1/query.proto +++ /dev/null @@ -1,71 +0,0 @@ -syntax = "proto3"; -package osmosis.tokenfactory.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "osmosis/tokenfactory/v1beta1/authorityMetadata.proto"; -import "osmosis/tokenfactory/v1beta1/params.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/tokenfactory/types"; - -// Query defines the gRPC querier service. -service Query { - // Params defines a gRPC query method that returns the tokenfactory module's - // parameters. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/osmosis/tokenfactory/v1beta1/params"; - } - - // DenomAuthorityMetadata defines a gRPC query method for fetching - // DenomAuthorityMetadata for a particular denom. - rpc DenomAuthorityMetadata(QueryDenomAuthorityMetadataRequest) - returns (QueryDenomAuthorityMetadataResponse) { - option (google.api.http).get = - "/osmosis/tokenfactory/v1beta1/denoms/{denom}/authority_metadata"; - } - - // DenomsFromCreator defines a gRPC query method for fetching all - // denominations created by a specific admin/creator. - rpc DenomsFromCreator(QueryDenomsFromCreatorRequest) - returns (QueryDenomsFromCreatorResponse) { - option (google.api.http).get = - "/osmosis/tokenfactory/v1beta1/denoms_from_creator/{creator}"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; -} - -// QueryDenomAuthorityMetadataRequest defines the request structure for the -// DenomAuthorityMetadata gRPC query. -message QueryDenomAuthorityMetadataRequest { - string denom = 1 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; -} - -// QueryDenomAuthorityMetadataResponse defines the response structure for the -// DenomAuthorityMetadata gRPC query. -message QueryDenomAuthorityMetadataResponse { - DenomAuthorityMetadata authority_metadata = 1 [ - (gogoproto.moretags) = "yaml:\"authority_metadata\"", - (gogoproto.nullable) = false - ]; -} - -// QueryDenomsFromCreatorRequest defines the request structure for the -// DenomsFromCreator gRPC query. -message QueryDenomsFromCreatorRequest { - string creator = 1 [ (gogoproto.moretags) = "yaml:\"creator\"" ]; -} - -// QueryDenomsFromCreatorRequest defines the response structure for the -// DenomsFromCreator gRPC query. -message QueryDenomsFromCreatorResponse { - repeated string denoms = 1 [ (gogoproto.moretags) = "yaml:\"denoms\"" ]; -} diff --git a/examples/authz/proto/osmosis/tokenfactory/v1beta1/tx.proto b/examples/authz/proto/osmosis/tokenfactory/v1beta1/tx.proto deleted file mode 100644 index 938b1fa9..00000000 --- a/examples/authz/proto/osmosis/tokenfactory/v1beta1/tx.proto +++ /dev/null @@ -1,108 +0,0 @@ -syntax = "proto3"; -package osmosis.tokenfactory.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/bank/v1beta1/bank.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/tokenfactory/types"; - -// Msg defines the tokefactory module's gRPC message service. -service Msg { - rpc CreateDenom(MsgCreateDenom) returns (MsgCreateDenomResponse); - rpc Mint(MsgMint) returns (MsgMintResponse); - rpc Burn(MsgBurn) returns (MsgBurnResponse); - rpc ChangeAdmin(MsgChangeAdmin) returns (MsgChangeAdminResponse); - rpc SetDenomMetadata(MsgSetDenomMetadata) - returns (MsgSetDenomMetadataResponse); - - // ForceTransfer is deactivated for now because we need to think through edge - // cases rpc ForceTransfer(MsgForceTransfer) returns - // (MsgForceTransferResponse); -} - -// MsgCreateDenom defines the message structure for the CreateDenom gRPC service -// method. It allows an account to create a new denom. It requires a sender -// address and a sub denomination. The (sender_address, sub_denomination) tuple -// must be unique and cannot be re-used. -// -// The resulting denom created is defined as -// . The resulting denom's admin is -// originally set to be the creator, but this can be changed later. The token -// denom does not indicate the current admin. -message MsgCreateDenom { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - // subdenom can be up to 44 "alphanumeric" characters long. - string subdenom = 2 [ (gogoproto.moretags) = "yaml:\"subdenom\"" ]; -} - -// MsgCreateDenomResponse is the return value of MsgCreateDenom -// It returns the full string of the newly created denom -message MsgCreateDenomResponse { - string new_token_denom = 1 - [ (gogoproto.moretags) = "yaml:\"new_token_denom\"" ]; -} - -// MsgMint is the sdk.Msg type for allowing an admin account to mint -// more of a token. For now, we only support minting to the sender account -message MsgMint { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.base.v1beta1.Coin amount = 2 [ - (gogoproto.moretags) = "yaml:\"amount\"", - (gogoproto.nullable) = false - ]; -} - -message MsgMintResponse {} - -// MsgBurn is the sdk.Msg type for allowing an admin account to burn -// a token. For now, we only support burning from the sender account. -message MsgBurn { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.base.v1beta1.Coin amount = 2 [ - (gogoproto.moretags) = "yaml:\"amount\"", - (gogoproto.nullable) = false - ]; -} - -message MsgBurnResponse {} - -// MsgChangeAdmin is the sdk.Msg type for allowing an admin account to reassign -// adminship of a denom to a new account -message MsgChangeAdmin { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - string denom = 2 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; - string new_admin = 3 [ (gogoproto.moretags) = "yaml:\"new_admin\"" ]; -} - -// MsgChangeAdminResponse defines the response structure for an executed -// MsgChangeAdmin message. -message MsgChangeAdminResponse {} - -// message MsgForceTransfer { -// string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; -// cosmos.base.v1beta1.Coin amount = 2 [ -// (gogoproto.moretags) = "yaml:\"amount\"", -// (gogoproto.nullable) = false -// ]; -// string transferFromAddress = 3 -// [ (gogoproto.moretags) = "yaml:\"transfer_from_address\"" ]; -// string transferToAddress = 4 -// [ (gogoproto.moretags) = "yaml:\"transfer_to_address\"" ]; -// } - -// message MsgForceTransferResponse {} - -// MsgSetDenomMetadata is the sdk.Msg type for allowing an admin account to set -// the denom's bank metadata -message MsgSetDenomMetadata { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.bank.v1beta1.Metadata metadata = 2 [ - (gogoproto.moretags) = "yaml:\"metadata\"", - (gogoproto.nullable) = false - ]; -} - -// MsgSetDenomMetadataResponse defines the response structure for an executed -// MsgSetDenomMetadata message. -message MsgSetDenomMetadataResponse {} \ No newline at end of file diff --git a/examples/authz/proto/osmosis/twap/v1beta1/genesis.proto b/examples/authz/proto/osmosis/twap/v1beta1/genesis.proto deleted file mode 100644 index e9c377b0..00000000 --- a/examples/authz/proto/osmosis/twap/v1beta1/genesis.proto +++ /dev/null @@ -1,29 +0,0 @@ -syntax = "proto3"; -package osmosis.twap.v1beta1; - -import "gogoproto/gogo.proto"; -import "osmosis/twap/v1beta1/twap_record.proto"; -import "google/protobuf/any.proto"; -import "cosmos_proto/cosmos.proto"; -import "google/protobuf/duration.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/twap/types"; - -// Params holds parameters for the twap module -message Params { - string prune_epoch_identifier = 1; - google.protobuf.Duration record_history_keep_period = 2 [ - (gogoproto.moretags) = "yaml:\"record_history_keep_period\"", - (gogoproto.stdduration) = true, - (gogoproto.nullable) = false - ]; -} - -// GenesisState defines the twap module's genesis state. -message GenesisState { - // twaps is the collection of all twap records. - repeated TwapRecord twaps = 1 [ (gogoproto.nullable) = false ]; - - // params is the container of twap parameters. - Params params = 2 [ (gogoproto.nullable) = false ]; -} diff --git a/examples/authz/proto/osmosis/twap/v1beta1/query.proto b/examples/authz/proto/osmosis/twap/v1beta1/query.proto deleted file mode 100644 index 95374ece..00000000 --- a/examples/authz/proto/osmosis/twap/v1beta1/query.proto +++ /dev/null @@ -1,73 +0,0 @@ -syntax = "proto3"; -package osmosis.twap.v1beta1; - -import "gogoproto/gogo.proto"; -import "osmosis/twap/v1beta1/twap_record.proto"; -import "osmosis/twap/v1beta1/genesis.proto"; - -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "google/api/annotations.proto"; -import "google/protobuf/any.proto"; -import "cosmos_proto/cosmos.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/twap/client/queryproto"; - -service Query { - rpc Params(ParamsRequest) returns (ParamsResponse) { - option (google.api.http).get = "/osmosis/twap/v1beta1/Params"; - } - rpc ArithmeticTwap(ArithmeticTwapRequest) returns (ArithmeticTwapResponse) { - option (google.api.http).get = "/osmosis/twap/v1beta1/ArithmeticTwap"; - } - rpc ArithmeticTwapToNow(ArithmeticTwapToNowRequest) - returns (ArithmeticTwapToNowResponse) { - option deprecated = true; - option (google.api.http).get = "/osmosis/twap/v1beta1/ArithmeticTwapToNow"; - } -} - -message ArithmeticTwapRequest { - uint64 pool_id = 1; - string base_asset = 2; - string quote_asset = 3; - google.protobuf.Timestamp start_time = 4 [ - (gogoproto.nullable) = false, - (gogoproto.stdtime) = true, - (gogoproto.moretags) = "yaml:\"start_time\"" - ]; - google.protobuf.Timestamp end_time = 5 [ - (gogoproto.nullable) = true, - (gogoproto.stdtime) = true, - (gogoproto.moretags) = "yaml:\"end_time\"" - ]; -} -message ArithmeticTwapResponse { - string arithmetic_twap = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"arithmetic_twap\"", - (gogoproto.nullable) = false - ]; -} - -message ArithmeticTwapToNowRequest { - uint64 pool_id = 1; - string base_asset = 2; - string quote_asset = 3; - google.protobuf.Timestamp start_time = 4 [ - (gogoproto.nullable) = false, - (gogoproto.stdtime) = true, - (gogoproto.moretags) = "yaml:\"start_time\"" - ]; -} -message ArithmeticTwapToNowResponse { - string arithmetic_twap = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"arithmetic_twap\"", - (gogoproto.nullable) = false - ]; -} - -message ParamsRequest {} -message ParamsResponse { Params params = 1 [ (gogoproto.nullable) = false ]; } diff --git a/examples/authz/proto/osmosis/twap/v1beta1/query.yml b/examples/authz/proto/osmosis/twap/v1beta1/query.yml deleted file mode 100644 index 6763392a..00000000 --- a/examples/authz/proto/osmosis/twap/v1beta1/query.yml +++ /dev/null @@ -1,22 +0,0 @@ -keeper: - path: "github.com/osmosis-labs/osmosis/v13/x/twap" - struct: "Keeper" -client_path: "github.com/osmosis-labs/osmosis/v13/x/twap/client" -queries: - ArithmeticTwap: - proto_wrapper: - default_values: - Req.end_time: "ctx.BlockTime()" - query_func: "k.GetArithmeticTwap" - cli: - cmd: "ArithmeticTwap" - ArithmeticTwapToNow: - proto_wrapper: - query_func: "k.GetArithmeticTwapToNow" - cli: - cmd: "ArithmeticTwapToNow" - Params: - proto_wrapper: - query_func: "k.GetParams" - cli: - cmd: "GetArithmeticTwapToNow" \ No newline at end of file diff --git a/examples/authz/proto/osmosis/twap/v1beta1/twap_record.proto b/examples/authz/proto/osmosis/twap/v1beta1/twap_record.proto deleted file mode 100644 index d040b318..00000000 --- a/examples/authz/proto/osmosis/twap/v1beta1/twap_record.proto +++ /dev/null @@ -1,69 +0,0 @@ -syntax = "proto3"; -package osmosis.twap.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/twap/types"; - -// A TWAP record should be indexed in state by pool_id, (asset pair), timestamp -// The asset pair assets should be lexicographically sorted. -// Technically (pool_id, asset_0_denom, asset_1_denom, height) do not need to -// appear in the struct however we view this as the wrong performance tradeoff -// given SDK today. Would rather we optimize for readability and correctness, -// than an optimal state storage format. The system bottleneck is elsewhere for -// now. -message TwapRecord { - uint64 pool_id = 1; - // Lexicographically smaller denom of the pair - string asset0_denom = 2; - // Lexicographically larger denom of the pair - string asset1_denom = 3; - // height this record corresponds to, for debugging purposes - int64 height = 4 [ - (gogoproto.moretags) = "yaml:\"record_height\"", - (gogoproto.jsontag) = "record_height" - ]; - // This field should only exist until we have a global registry in the state - // machine, mapping prior block heights within {TIME RANGE} to times. - google.protobuf.Timestamp time = 5 [ - (gogoproto.nullable) = false, - (gogoproto.stdtime) = true, - (gogoproto.moretags) = "yaml:\"record_time\"" - ]; - - // We store the last spot prices in the struct, so that we can interpolate - // accumulator values for times between when accumulator records are stored. - string p0_last_spot_price = 6 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - string p1_last_spot_price = 7 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - - string p0_arithmetic_twap_accumulator = 8 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - string p1_arithmetic_twap_accumulator = 9 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // string geometric_twap_accumulator = 7 [(gogoproto.customtype) = - // "github.com/cosmos/cosmos-sdk/types.Dec", - // (gogoproto.nullable) = false]; - - // This field contains the time in which the last spot price error occured. - // It is used to alert the caller if they are getting a potentially erroneous - // TWAP, due to an unforeseen underlying error. - google.protobuf.Timestamp last_error_time = 11 [ - (gogoproto.nullable) = false, - (gogoproto.stdtime) = true, - (gogoproto.moretags) = "yaml:\"last_error_time\"" - ]; -} diff --git a/examples/authz/proto/osmosis/txfees/v1beta1/feetoken.proto b/examples/authz/proto/osmosis/txfees/v1beta1/feetoken.proto deleted file mode 100644 index 3b18f58f..00000000 --- a/examples/authz/proto/osmosis/txfees/v1beta1/feetoken.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package osmosis.txfees.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/txfees/types"; - -// FeeToken is a struct that specifies a coin denom, and pool ID pair. -// This marks the token as eligible for use as a tx fee asset in Osmosis. -// Its price in osmo is derived through looking at the provided pool ID. -// The pool ID must have osmo as one of its assets. -message FeeToken { - option (gogoproto.equal) = true; - - string denom = 1 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; - uint64 poolID = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; -} \ No newline at end of file diff --git a/examples/authz/proto/osmosis/txfees/v1beta1/genesis.proto b/examples/authz/proto/osmosis/txfees/v1beta1/genesis.proto deleted file mode 100644 index 4ac7a282..00000000 --- a/examples/authz/proto/osmosis/txfees/v1beta1/genesis.proto +++ /dev/null @@ -1,13 +0,0 @@ -syntax = "proto3"; -package osmosis.txfees.v1beta1; - -import "gogoproto/gogo.proto"; -import "osmosis/txfees/v1beta1/feetoken.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/txfees/types"; - -// GenesisState defines the txfees module's genesis state. -message GenesisState { - string basedenom = 1; - repeated FeeToken feetokens = 2 [ (gogoproto.nullable) = false ]; -} diff --git a/examples/authz/proto/osmosis/txfees/v1beta1/gov.proto b/examples/authz/proto/osmosis/txfees/v1beta1/gov.proto deleted file mode 100644 index a87a2afa..00000000 --- a/examples/authz/proto/osmosis/txfees/v1beta1/gov.proto +++ /dev/null @@ -1,27 +0,0 @@ -syntax = "proto3"; -package osmosis.txfees.v1beta1; - -import "gogoproto/gogo.proto"; -import "osmosis/txfees/v1beta1/feetoken.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/txfees/types"; - -// UpdateFeeTokenProposal is a gov Content type for adding a new whitelisted fee -// token. It must specify a denom along with gamm pool ID to use as a spot price -// calculator. It can be used to add a new denom to the whitelist It can also be -// used to update the Pool to associate with the denom. If Pool ID is set to 0, -// it will remove the denom from the whitelisted set. -message UpdateFeeTokenProposal { - option (gogoproto.equal) = true; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - option (cosmos_proto.implements_interface) = "ProposalContentI"; - - string title = 1 [ (gogoproto.moretags) = "yaml:\"title\"" ]; - string description = 2 [ (gogoproto.moretags) = "yaml:\"description\"" ]; - FeeToken feetoken = 3 [ - (gogoproto.moretags) = "yaml:\"fee_token\"", - (gogoproto.nullable) = false - ]; -} \ No newline at end of file diff --git a/examples/authz/proto/osmosis/txfees/v1beta1/query.proto b/examples/authz/proto/osmosis/txfees/v1beta1/query.proto deleted file mode 100644 index 395eb113..00000000 --- a/examples/authz/proto/osmosis/txfees/v1beta1/query.proto +++ /dev/null @@ -1,74 +0,0 @@ -syntax = "proto3"; -package osmosis.txfees.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "google/protobuf/duration.proto"; - -import "osmosis/txfees/v1beta1/feetoken.proto"; - -option go_package = "github.com/osmosis-labs/osmosis/v13/x/txfees/types"; - -service Query { - // FeeTokens returns a list of all the whitelisted fee tokens and their - // corresponding pools. It does not include the BaseDenom, which has its own - // query endpoint - rpc FeeTokens(QueryFeeTokensRequest) returns (QueryFeeTokensResponse) { - option (google.api.http).get = "/osmosis/txfees/v1beta1/fee_tokens"; - } - - // DenomSpotPrice returns all spot prices by each registered token denom. - rpc DenomSpotPrice(QueryDenomSpotPriceRequest) - returns (QueryDenomSpotPriceResponse) { - option (google.api.http).get = - "/osmosis/txfees/v1beta1/spot_price_by_denom"; - } - - // Returns the poolID for a specified denom input. - rpc DenomPoolId(QueryDenomPoolIdRequest) returns (QueryDenomPoolIdResponse) { - option (google.api.http).get = - "/osmosis/txfees/v1beta1/denom_pool_id/{denom}"; - } - - // Returns a list of all base denom tokens and their corresponding pools. - rpc BaseDenom(QueryBaseDenomRequest) returns (QueryBaseDenomResponse) { - option (google.api.http).get = "/osmosis/txfees/v1beta1/base_denom"; - } -} - -message QueryFeeTokensRequest {} -message QueryFeeTokensResponse { - repeated FeeToken fee_tokens = 1 [ - (gogoproto.moretags) = "yaml:\"fee_tokens\"", - (gogoproto.nullable) = false - ]; -} - -// QueryDenomSpotPriceRequest defines grpc request structure for querying spot -// price for the specified tx fee denom -message QueryDenomSpotPriceRequest { - string denom = 1 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; -} - -// QueryDenomSpotPriceRequest defines grpc response structure for querying spot -// price for the specified tx fee denom -message QueryDenomSpotPriceResponse { - uint64 poolID = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; - string spot_price = 2 [ - (gogoproto.moretags) = "yaml:\"spot_price\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -message QueryDenomPoolIdRequest { - string denom = 1 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; -} -message QueryDenomPoolIdResponse { - uint64 poolID = 1 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ]; -} - -message QueryBaseDenomRequest {} -message QueryBaseDenomResponse { - string base_denom = 1 [ (gogoproto.moretags) = "yaml:\"base_denom\"" ]; -} diff --git a/examples/authz/proto/tendermint/LICENSE b/examples/authz/proto/tendermint/LICENSE deleted file mode 100644 index eaf92fbf..00000000 --- a/examples/authz/proto/tendermint/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -Tendermint Core -License: Apache2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2016 All in Bits, Inc - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/examples/authz/proto/tendermint/README.md b/examples/authz/proto/tendermint/README.md deleted file mode 100644 index 74fcf8b8..00000000 --- a/examples/authz/proto/tendermint/README.md +++ /dev/null @@ -1 +0,0 @@ -# tendermint \ No newline at end of file diff --git a/examples/authz/proto/tendermint/abci/types.proto b/examples/authz/proto/tendermint/abci/types.proto deleted file mode 100644 index d41a5226..00000000 --- a/examples/authz/proto/tendermint/abci/types.proto +++ /dev/null @@ -1,394 +0,0 @@ -syntax = "proto3"; -package tendermint.abci; - -option go_package = "github.com/tendermint/tendermint/abci/types"; - -// For more information on gogo.proto, see: -// https://github.com/gogo/protobuf/blob/master/extensions.md -import "tendermint/crypto/proof.proto"; -import "tendermint/types/types.proto"; -import "tendermint/crypto/keys.proto"; -import "tendermint/types/params.proto"; -import "google/protobuf/timestamp.proto"; -import "gogoproto/gogo.proto"; - -// This file is copied from http://github.com/tendermint/abci -// NOTE: When using custom types, mind the warnings. -// https://github.com/gogo/protobuf/blob/master/custom_types.md#warnings-and-issues - -//---------------------------------------- -// Request types - -message Request { - oneof value { - RequestEcho echo = 1; - RequestFlush flush = 2; - RequestInfo info = 3; - RequestSetOption set_option = 4; - RequestInitChain init_chain = 5; - RequestQuery query = 6; - RequestBeginBlock begin_block = 7; - RequestCheckTx check_tx = 8; - RequestDeliverTx deliver_tx = 9; - RequestEndBlock end_block = 10; - RequestCommit commit = 11; - RequestListSnapshots list_snapshots = 12; - RequestOfferSnapshot offer_snapshot = 13; - RequestLoadSnapshotChunk load_snapshot_chunk = 14; - RequestApplySnapshotChunk apply_snapshot_chunk = 15; - } -} - -message RequestEcho { - string message = 1; -} - -message RequestFlush {} - -message RequestInfo { - string version = 1; - uint64 block_version = 2; - uint64 p2p_version = 3; -} - -// nondeterministic -message RequestSetOption { - string key = 1; - string value = 2; -} - -message RequestInitChain { - google.protobuf.Timestamp time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - string chain_id = 2; - ConsensusParams consensus_params = 3; - repeated ValidatorUpdate validators = 4 [(gogoproto.nullable) = false]; - bytes app_state_bytes = 5; - int64 initial_height = 6; -} - -message RequestQuery { - bytes data = 1; - string path = 2; - int64 height = 3; - bool prove = 4; -} - -message RequestBeginBlock { - bytes hash = 1; - tendermint.types.Header header = 2 [(gogoproto.nullable) = false]; - LastCommitInfo last_commit_info = 3 [(gogoproto.nullable) = false]; - repeated Evidence byzantine_validators = 4 [(gogoproto.nullable) = false]; -} - -enum CheckTxType { - NEW = 0 [(gogoproto.enumvalue_customname) = "New"]; - RECHECK = 1 [(gogoproto.enumvalue_customname) = "Recheck"]; -} - -message RequestCheckTx { - bytes tx = 1; - CheckTxType type = 2; -} - -message RequestDeliverTx { - bytes tx = 1; -} - -message RequestEndBlock { - int64 height = 1; -} - -message RequestCommit {} - -// lists available snapshots -message RequestListSnapshots {} - -// offers a snapshot to the application -message RequestOfferSnapshot { - Snapshot snapshot = 1; // snapshot offered by peers - bytes app_hash = 2; // light client-verified app hash for snapshot height -} - -// loads a snapshot chunk -message RequestLoadSnapshotChunk { - uint64 height = 1; - uint32 format = 2; - uint32 chunk = 3; -} - -// Applies a snapshot chunk -message RequestApplySnapshotChunk { - uint32 index = 1; - bytes chunk = 2; - string sender = 3; -} - -//---------------------------------------- -// Response types - -message Response { - oneof value { - ResponseException exception = 1; - ResponseEcho echo = 2; - ResponseFlush flush = 3; - ResponseInfo info = 4; - ResponseSetOption set_option = 5; - ResponseInitChain init_chain = 6; - ResponseQuery query = 7; - ResponseBeginBlock begin_block = 8; - ResponseCheckTx check_tx = 9; - ResponseDeliverTx deliver_tx = 10; - ResponseEndBlock end_block = 11; - ResponseCommit commit = 12; - ResponseListSnapshots list_snapshots = 13; - ResponseOfferSnapshot offer_snapshot = 14; - ResponseLoadSnapshotChunk load_snapshot_chunk = 15; - ResponseApplySnapshotChunk apply_snapshot_chunk = 16; - } -} - -// nondeterministic -message ResponseException { - string error = 1; -} - -message ResponseEcho { - string message = 1; -} - -message ResponseFlush {} - -message ResponseInfo { - string data = 1; - - string version = 2; - uint64 app_version = 3; - - int64 last_block_height = 4; - bytes last_block_app_hash = 5; -} - -// nondeterministic -message ResponseSetOption { - uint32 code = 1; - // bytes data = 2; - string log = 3; - string info = 4; -} - -message ResponseInitChain { - ConsensusParams consensus_params = 1; - repeated ValidatorUpdate validators = 2 [(gogoproto.nullable) = false]; - bytes app_hash = 3; -} - -message ResponseQuery { - uint32 code = 1; - // bytes data = 2; // use "value" instead. - string log = 3; // nondeterministic - string info = 4; // nondeterministic - int64 index = 5; - bytes key = 6; - bytes value = 7; - tendermint.crypto.ProofOps proof_ops = 8; - int64 height = 9; - string codespace = 10; -} - -message ResponseBeginBlock { - repeated Event events = 1 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; -} - -message ResponseCheckTx { - uint32 code = 1; - bytes data = 2; - string log = 3; // nondeterministic - string info = 4; // nondeterministic - int64 gas_wanted = 5 [json_name = "gas_wanted"]; - int64 gas_used = 6 [json_name = "gas_used"]; - repeated Event events = 7 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; - string codespace = 8; -} - -message ResponseDeliverTx { - uint32 code = 1; - bytes data = 2; - string log = 3; // nondeterministic - string info = 4; // nondeterministic - int64 gas_wanted = 5 [json_name = "gas_wanted"]; - int64 gas_used = 6 [json_name = "gas_used"]; - repeated Event events = 7 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; - string codespace = 8; -} - -message ResponseEndBlock { - repeated ValidatorUpdate validator_updates = 1 [(gogoproto.nullable) = false]; - ConsensusParams consensus_param_updates = 2; - repeated Event events = 3 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; -} - -message ResponseCommit { - // reserve 1 - bytes data = 2; - int64 retain_height = 3; -} - -message ResponseListSnapshots { - repeated Snapshot snapshots = 1; -} - -message ResponseOfferSnapshot { - Result result = 1; - - enum Result { - UNKNOWN = 0; // Unknown result, abort all snapshot restoration - ACCEPT = 1; // Snapshot accepted, apply chunks - ABORT = 2; // Abort all snapshot restoration - REJECT = 3; // Reject this specific snapshot, try others - REJECT_FORMAT = 4; // Reject all snapshots of this format, try others - REJECT_SENDER = 5; // Reject all snapshots from the sender(s), try others - } -} - -message ResponseLoadSnapshotChunk { - bytes chunk = 1; -} - -message ResponseApplySnapshotChunk { - Result result = 1; - repeated uint32 refetch_chunks = 2; // Chunks to refetch and reapply - repeated string reject_senders = 3; // Chunk senders to reject and ban - - enum Result { - UNKNOWN = 0; // Unknown result, abort all snapshot restoration - ACCEPT = 1; // Chunk successfully accepted - ABORT = 2; // Abort all snapshot restoration - RETRY = 3; // Retry chunk (combine with refetch and reject) - RETRY_SNAPSHOT = 4; // Retry snapshot (combine with refetch and reject) - REJECT_SNAPSHOT = 5; // Reject this snapshot, try others - } -} - -//---------------------------------------- -// Misc. - -// ConsensusParams contains all consensus-relevant parameters -// that can be adjusted by the abci app -message ConsensusParams { - BlockParams block = 1; - tendermint.types.EvidenceParams evidence = 2; - tendermint.types.ValidatorParams validator = 3; - tendermint.types.VersionParams version = 4; -} - -// BlockParams contains limits on the block size. -message BlockParams { - // Note: must be greater than 0 - int64 max_bytes = 1; - // Note: must be greater or equal to -1 - int64 max_gas = 2; -} - -message LastCommitInfo { - int32 round = 1; - repeated VoteInfo votes = 2 [(gogoproto.nullable) = false]; -} - -// Event allows application developers to attach additional information to -// ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. -// Later, transactions may be queried using these events. -message Event { - string type = 1; - repeated EventAttribute attributes = 2 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "attributes,omitempty"]; -} - -// EventAttribute is a single key-value pair, associated with an event. -message EventAttribute { - bytes key = 1; - bytes value = 2; - bool index = 3; // nondeterministic -} - -// TxResult contains results of executing the transaction. -// -// One usage is indexing transaction results. -message TxResult { - int64 height = 1; - uint32 index = 2; - bytes tx = 3; - ResponseDeliverTx result = 4 [(gogoproto.nullable) = false]; -} - -//---------------------------------------- -// Blockchain Types - -// Validator -message Validator { - bytes address = 1; // The first 20 bytes of SHA256(public key) - // PubKey pub_key = 2 [(gogoproto.nullable)=false]; - int64 power = 3; // The voting power -} - -// ValidatorUpdate -message ValidatorUpdate { - tendermint.crypto.PublicKey pub_key = 1 [(gogoproto.nullable) = false]; - int64 power = 2; -} - -// VoteInfo -message VoteInfo { - Validator validator = 1 [(gogoproto.nullable) = false]; - bool signed_last_block = 2; -} - -enum EvidenceType { - UNKNOWN = 0; - DUPLICATE_VOTE = 1; - LIGHT_CLIENT_ATTACK = 2; -} - -message Evidence { - EvidenceType type = 1; - // The offending validator - Validator validator = 2 [(gogoproto.nullable) = false]; - // The height when the offense occurred - int64 height = 3; - // The corresponding time where the offense occurred - google.protobuf.Timestamp time = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - // Total voting power of the validator set in case the ABCI application does - // not store historical validators. - // https://github.com/tendermint/tendermint/issues/4581 - int64 total_voting_power = 5; -} - -//---------------------------------------- -// State Sync Types - -message Snapshot { - uint64 height = 1; // The height at which the snapshot was taken - uint32 format = 2; // The application-specific snapshot format - uint32 chunks = 3; // Number of chunks in the snapshot - bytes hash = 4; // Arbitrary snapshot hash, equal only if identical - bytes metadata = 5; // Arbitrary application metadata -} - -//---------------------------------------- -// Service Definition - -service ABCIApplication { - rpc Echo(RequestEcho) returns (ResponseEcho); - rpc Flush(RequestFlush) returns (ResponseFlush); - rpc Info(RequestInfo) returns (ResponseInfo); - rpc SetOption(RequestSetOption) returns (ResponseSetOption); - rpc DeliverTx(RequestDeliverTx) returns (ResponseDeliverTx); - rpc CheckTx(RequestCheckTx) returns (ResponseCheckTx); - rpc Query(RequestQuery) returns (ResponseQuery); - rpc Commit(RequestCommit) returns (ResponseCommit); - rpc InitChain(RequestInitChain) returns (ResponseInitChain); - rpc BeginBlock(RequestBeginBlock) returns (ResponseBeginBlock); - rpc EndBlock(RequestEndBlock) returns (ResponseEndBlock); - rpc ListSnapshots(RequestListSnapshots) returns (ResponseListSnapshots); - rpc OfferSnapshot(RequestOfferSnapshot) returns (ResponseOfferSnapshot); - rpc LoadSnapshotChunk(RequestLoadSnapshotChunk) returns (ResponseLoadSnapshotChunk); - rpc ApplySnapshotChunk(RequestApplySnapshotChunk) returns (ResponseApplySnapshotChunk); -} diff --git a/examples/authz/proto/tendermint/crypto/keys.proto b/examples/authz/proto/tendermint/crypto/keys.proto deleted file mode 100644 index 16fd7adf..00000000 --- a/examples/authz/proto/tendermint/crypto/keys.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package tendermint.crypto; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/crypto"; - -import "gogoproto/gogo.proto"; - -// PublicKey defines the keys available for use with Tendermint Validators -message PublicKey { - option (gogoproto.compare) = true; - option (gogoproto.equal) = true; - - oneof sum { - bytes ed25519 = 1; - bytes secp256k1 = 2; - } -} diff --git a/examples/authz/proto/tendermint/crypto/proof.proto b/examples/authz/proto/tendermint/crypto/proof.proto deleted file mode 100644 index 975df768..00000000 --- a/examples/authz/proto/tendermint/crypto/proof.proto +++ /dev/null @@ -1,41 +0,0 @@ -syntax = "proto3"; -package tendermint.crypto; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/crypto"; - -import "gogoproto/gogo.proto"; - -message Proof { - int64 total = 1; - int64 index = 2; - bytes leaf_hash = 3; - repeated bytes aunts = 4; -} - -message ValueOp { - // Encoded in ProofOp.Key. - bytes key = 1; - - // To encode in ProofOp.Data - Proof proof = 2; -} - -message DominoOp { - string key = 1; - string input = 2; - string output = 3; -} - -// ProofOp defines an operation used for calculating Merkle root -// The data could be arbitrary format, providing nessecary data -// for example neighbouring node hash -message ProofOp { - string type = 1; - bytes key = 2; - bytes data = 3; -} - -// ProofOps is Merkle proof defined by the list of ProofOps -message ProofOps { - repeated ProofOp ops = 1 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/tendermint/libs/bits/types.proto b/examples/authz/proto/tendermint/libs/bits/types.proto deleted file mode 100644 index 3111d113..00000000 --- a/examples/authz/proto/tendermint/libs/bits/types.proto +++ /dev/null @@ -1,9 +0,0 @@ -syntax = "proto3"; -package tendermint.libs.bits; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/libs/bits"; - -message BitArray { - int64 bits = 1; - repeated uint64 elems = 2; -} diff --git a/examples/authz/proto/tendermint/p2p/types.proto b/examples/authz/proto/tendermint/p2p/types.proto deleted file mode 100644 index 216a6d8d..00000000 --- a/examples/authz/proto/tendermint/p2p/types.proto +++ /dev/null @@ -1,42 +0,0 @@ -syntax = "proto3"; -package tendermint.p2p; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/p2p"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; - -message ProtocolVersion { - uint64 p2p = 1 [(gogoproto.customname) = "P2P"]; - uint64 block = 2; - uint64 app = 3; -} - -message NodeInfo { - ProtocolVersion protocol_version = 1 [(gogoproto.nullable) = false]; - string node_id = 2 [(gogoproto.customname) = "NodeID"]; - string listen_addr = 3; - string network = 4; - string version = 5; - bytes channels = 6; - string moniker = 7; - NodeInfoOther other = 8 [(gogoproto.nullable) = false]; -} - -message NodeInfoOther { - string tx_index = 1; - string rpc_address = 2 [(gogoproto.customname) = "RPCAddress"]; -} - -message PeerInfo { - string id = 1 [(gogoproto.customname) = "ID"]; - repeated PeerAddressInfo address_info = 2; - google.protobuf.Timestamp last_connected = 3 [(gogoproto.stdtime) = true]; -} - -message PeerAddressInfo { - string address = 1; - google.protobuf.Timestamp last_dial_success = 2 [(gogoproto.stdtime) = true]; - google.protobuf.Timestamp last_dial_failure = 3 [(gogoproto.stdtime) = true]; - uint32 dial_failures = 4; -} diff --git a/examples/authz/proto/tendermint/types/block.proto b/examples/authz/proto/tendermint/types/block.proto deleted file mode 100644 index 84e9bb15..00000000 --- a/examples/authz/proto/tendermint/types/block.proto +++ /dev/null @@ -1,15 +0,0 @@ -syntax = "proto3"; -package tendermint.types; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; - -import "gogoproto/gogo.proto"; -import "tendermint/types/types.proto"; -import "tendermint/types/evidence.proto"; - -message Block { - Header header = 1 [(gogoproto.nullable) = false]; - Data data = 2 [(gogoproto.nullable) = false]; - tendermint.types.EvidenceList evidence = 3 [(gogoproto.nullable) = false]; - Commit last_commit = 4; -} diff --git a/examples/authz/proto/tendermint/types/evidence.proto b/examples/authz/proto/tendermint/types/evidence.proto deleted file mode 100644 index d9548a43..00000000 --- a/examples/authz/proto/tendermint/types/evidence.proto +++ /dev/null @@ -1,38 +0,0 @@ -syntax = "proto3"; -package tendermint.types; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "tendermint/types/types.proto"; -import "tendermint/types/validator.proto"; - -message Evidence { - oneof sum { - DuplicateVoteEvidence duplicate_vote_evidence = 1; - LightClientAttackEvidence light_client_attack_evidence = 2; - } -} - -// DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. -message DuplicateVoteEvidence { - tendermint.types.Vote vote_a = 1; - tendermint.types.Vote vote_b = 2; - int64 total_voting_power = 3; - int64 validator_power = 4; - google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -// LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. -message LightClientAttackEvidence { - tendermint.types.LightBlock conflicting_block = 1; - int64 common_height = 2; - repeated tendermint.types.Validator byzantine_validators = 3; - int64 total_voting_power = 4; - google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -message EvidenceList { - repeated Evidence evidence = 1 [(gogoproto.nullable) = false]; -} diff --git a/examples/authz/proto/tendermint/types/params.proto b/examples/authz/proto/tendermint/types/params.proto deleted file mode 100644 index 70789222..00000000 --- a/examples/authz/proto/tendermint/types/params.proto +++ /dev/null @@ -1,79 +0,0 @@ -syntax = "proto3"; -package tendermint.types; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; - -option (gogoproto.equal_all) = true; - -// ConsensusParams contains consensus critical parameters that determine the -// validity of blocks. -message ConsensusParams { - BlockParams block = 1 [(gogoproto.nullable) = false]; - EvidenceParams evidence = 2 [(gogoproto.nullable) = false]; - ValidatorParams validator = 3 [(gogoproto.nullable) = false]; - VersionParams version = 4 [(gogoproto.nullable) = false]; -} - -// BlockParams contains limits on the block size. -message BlockParams { - // Max block size, in bytes. - // Note: must be greater than 0 - int64 max_bytes = 1; - // Max gas per block. - // Note: must be greater or equal to -1 - int64 max_gas = 2; - // Minimum time increment between consecutive blocks (in milliseconds) If the - // block header timestamp is ahead of the system clock, decrease this value. - // - // Not exposed to the application. - int64 time_iota_ms = 3; -} - -// EvidenceParams determine how we handle evidence of malfeasance. -message EvidenceParams { - // Max age of evidence, in blocks. - // - // The basic formula for calculating this is: MaxAgeDuration / {average block - // time}. - int64 max_age_num_blocks = 1; - - // Max age of evidence, in time. - // - // It should correspond with an app's "unbonding period" or other similar - // mechanism for handling [Nothing-At-Stake - // attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). - google.protobuf.Duration max_age_duration = 2 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; - - // This sets the maximum size of total evidence in bytes that can be committed in a single block. - // and should fall comfortably under the max block bytes. - // Default is 1048576 or 1MB - int64 max_bytes = 3; -} - -// ValidatorParams restrict the public key types validators can use. -// NOTE: uses ABCI pubkey naming, not Amino names. -message ValidatorParams { - option (gogoproto.populate) = true; - option (gogoproto.equal) = true; - - repeated string pub_key_types = 1; -} - -// VersionParams contains the ABCI application version. -message VersionParams { - option (gogoproto.populate) = true; - option (gogoproto.equal) = true; - - uint64 app_version = 1; -} - -// HashedParams is a subset of ConsensusParams. -// -// It is hashed into the Header.ConsensusHash. -message HashedParams { - int64 block_max_bytes = 1; - int64 block_max_gas = 2; -} diff --git a/examples/authz/proto/tendermint/types/types.proto b/examples/authz/proto/tendermint/types/types.proto deleted file mode 100644 index 57efc33c..00000000 --- a/examples/authz/proto/tendermint/types/types.proto +++ /dev/null @@ -1,153 +0,0 @@ -syntax = "proto3"; -package tendermint.types; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "tendermint/crypto/proof.proto"; -import "tendermint/version/types.proto"; -import "tendermint/types/validator.proto"; - -// BlockIdFlag indicates which BlcokID the signature is for -enum BlockIDFlag { - option (gogoproto.goproto_enum_stringer) = true; - option (gogoproto.goproto_enum_prefix) = false; - - BLOCK_ID_FLAG_UNKNOWN = 0 [(gogoproto.enumvalue_customname) = "BlockIDFlagUnknown"]; - BLOCK_ID_FLAG_ABSENT = 1 [(gogoproto.enumvalue_customname) = "BlockIDFlagAbsent"]; - BLOCK_ID_FLAG_COMMIT = 2 [(gogoproto.enumvalue_customname) = "BlockIDFlagCommit"]; - BLOCK_ID_FLAG_NIL = 3 [(gogoproto.enumvalue_customname) = "BlockIDFlagNil"]; -} - -// SignedMsgType is a type of signed message in the consensus. -enum SignedMsgType { - option (gogoproto.goproto_enum_stringer) = true; - option (gogoproto.goproto_enum_prefix) = false; - - SIGNED_MSG_TYPE_UNKNOWN = 0 [(gogoproto.enumvalue_customname) = "UnknownType"]; - // Votes - SIGNED_MSG_TYPE_PREVOTE = 1 [(gogoproto.enumvalue_customname) = "PrevoteType"]; - SIGNED_MSG_TYPE_PRECOMMIT = 2 [(gogoproto.enumvalue_customname) = "PrecommitType"]; - - // Proposals - SIGNED_MSG_TYPE_PROPOSAL = 32 [(gogoproto.enumvalue_customname) = "ProposalType"]; -} - -// PartsetHeader -message PartSetHeader { - uint32 total = 1; - bytes hash = 2; -} - -message Part { - uint32 index = 1; - bytes bytes = 2; - tendermint.crypto.Proof proof = 3 [(gogoproto.nullable) = false]; -} - -// BlockID -message BlockID { - bytes hash = 1; - PartSetHeader part_set_header = 2 [(gogoproto.nullable) = false]; -} - -// -------------------------------- - -// Header defines the structure of a Tendermint block header. -message Header { - // basic block info - tendermint.version.Consensus version = 1 [(gogoproto.nullable) = false]; - string chain_id = 2 [(gogoproto.customname) = "ChainID"]; - int64 height = 3; - google.protobuf.Timestamp time = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - - // prev block info - BlockID last_block_id = 5 [(gogoproto.nullable) = false]; - - // hashes of block data - bytes last_commit_hash = 6; // commit from validators from the last block - bytes data_hash = 7; // transactions - - // hashes from the app output from the prev block - bytes validators_hash = 8; // validators for the current block - bytes next_validators_hash = 9; // validators for the next block - bytes consensus_hash = 10; // consensus params for current block - bytes app_hash = 11; // state after txs from the previous block - bytes last_results_hash = 12; // root hash of all results from the txs from the previous block - - // consensus info - bytes evidence_hash = 13; // evidence included in the block - bytes proposer_address = 14; // original proposer of the block -} - -// Data contains the set of transactions included in the block -message Data { - // Txs that will be applied by state @ block.Height+1. - // NOTE: not all txs here are valid. We're just agreeing on the order first. - // This means that block.AppHash does not include these txs. - repeated bytes txs = 1; -} - -// Vote represents a prevote, precommit, or commit vote from validators for -// consensus. -message Vote { - SignedMsgType type = 1; - int64 height = 2; - int32 round = 3; - BlockID block_id = 4 [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; // zero if vote is nil. - google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - bytes validator_address = 6; - int32 validator_index = 7; - bytes signature = 8; -} - -// Commit contains the evidence that a block was committed by a set of validators. -message Commit { - int64 height = 1; - int32 round = 2; - BlockID block_id = 3 [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; - repeated CommitSig signatures = 4 [(gogoproto.nullable) = false]; -} - -// CommitSig is a part of the Vote included in a Commit. -message CommitSig { - BlockIDFlag block_id_flag = 1; - bytes validator_address = 2; - google.protobuf.Timestamp timestamp = 3 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - bytes signature = 4; -} - -message Proposal { - SignedMsgType type = 1; - int64 height = 2; - int32 round = 3; - int32 pol_round = 4; - BlockID block_id = 5 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; - google.protobuf.Timestamp timestamp = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - bytes signature = 7; -} - -message SignedHeader { - Header header = 1; - Commit commit = 2; -} - -message LightBlock { - SignedHeader signed_header = 1; - tendermint.types.ValidatorSet validator_set = 2; -} - -message BlockMeta { - BlockID block_id = 1 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; - int64 block_size = 2; - Header header = 3 [(gogoproto.nullable) = false]; - int64 num_txs = 4; -} - -// TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. -message TxProof { - bytes root_hash = 1; - bytes data = 2; - tendermint.crypto.Proof proof = 3; -} diff --git a/examples/authz/proto/tendermint/types/validator.proto b/examples/authz/proto/tendermint/types/validator.proto deleted file mode 100644 index 49860b96..00000000 --- a/examples/authz/proto/tendermint/types/validator.proto +++ /dev/null @@ -1,25 +0,0 @@ -syntax = "proto3"; -package tendermint.types; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; - -import "gogoproto/gogo.proto"; -import "tendermint/crypto/keys.proto"; - -message ValidatorSet { - repeated Validator validators = 1; - Validator proposer = 2; - int64 total_voting_power = 3; -} - -message Validator { - bytes address = 1; - tendermint.crypto.PublicKey pub_key = 2 [(gogoproto.nullable) = false]; - int64 voting_power = 3; - int64 proposer_priority = 4; -} - -message SimpleValidator { - tendermint.crypto.PublicKey pub_key = 1; - int64 voting_power = 2; -} diff --git a/examples/authz/proto/tendermint/version/types.proto b/examples/authz/proto/tendermint/version/types.proto deleted file mode 100644 index 6061868b..00000000 --- a/examples/authz/proto/tendermint/version/types.proto +++ /dev/null @@ -1,24 +0,0 @@ -syntax = "proto3"; -package tendermint.version; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/version"; - -import "gogoproto/gogo.proto"; - -// App includes the protocol and software version for the application. -// This information is included in ResponseInfo. The App.Protocol can be -// updated in ResponseEndBlock. -message App { - uint64 protocol = 1; - string software = 2; -} - -// Consensus captures the consensus rules for processing a block in the blockchain, -// including all blockchain data structures and the rules of the application's -// state transition machine. -message Consensus { - option (gogoproto.equal) = true; - - uint64 block = 1; - uint64 app = 2; -} diff --git a/examples/authz/types/codegen/binary.d.ts b/examples/authz/types/codegen/binary.d.ts deleted file mode 100644 index 16d16295..00000000 --- a/examples/authz/types/codegen/binary.d.ts +++ /dev/null @@ -1,130 +0,0 @@ -/** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.3.2 -* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain -* and run the transpile command or yarn proto command to regenerate this bundle. -*/ -export declare enum WireType { - Varint = 0, - Fixed64 = 1, - Bytes = 2, - Fixed32 = 5 -} -export interface IBinaryReader { - buf: Uint8Array; - pos: number; - type: number; - len: number; - tag(): [number, WireType, number]; - skip(length?: number): this; - skipType(wireType: number): this; - uint32(): number; - int32(): number; - sint32(): number; - fixed32(): number; - sfixed32(): number; - int64(): bigint; - uint64(): bigint; - sint64(): bigint; - fixed64(): bigint; - sfixed64(): bigint; - float(): number; - double(): number; - bool(): boolean; - bytes(): Uint8Array; - string(): string; -} -export declare class BinaryReader implements IBinaryReader { - buf: Uint8Array; - pos: number; - type: number; - len: number; - assertBounds(): void; - constructor(buf?: ArrayLike); - tag(): [number, WireType, number]; - skip(length?: number): this; - skipType(wireType: number): this; - uint32(): number; - int32(): number; - sint32(): number; - fixed32(): number; - sfixed32(): number; - int64(): bigint; - uint64(): bigint; - sint64(): bigint; - fixed64(): bigint; - sfixed64(): bigint; - float(): number; - double(): number; - bool(): boolean; - bytes(): Uint8Array; - string(): string; -} -export interface IBinaryWriter { - len: number; - head: IOp; - tail: IOp; - states: State | null; - finish(): Uint8Array; - fork(): IBinaryWriter; - reset(): IBinaryWriter; - ldelim(): IBinaryWriter; - tag(fieldNo: number, type: WireType): IBinaryWriter; - uint32(value: number): IBinaryWriter; - int32(value: number): IBinaryWriter; - sint32(value: number): IBinaryWriter; - int64(value: string | number | bigint): IBinaryWriter; - uint64: (value: string | number | bigint) => IBinaryWriter; - sint64(value: string | number | bigint): IBinaryWriter; - fixed64(value: string | number | bigint): IBinaryWriter; - sfixed64: (value: string | number | bigint) => IBinaryWriter; - bool(value: boolean): IBinaryWriter; - fixed32(value: number): IBinaryWriter; - sfixed32: (value: number) => IBinaryWriter; - float(value: number): IBinaryWriter; - double(value: number): IBinaryWriter; - bytes(value: Uint8Array): IBinaryWriter; - string(value: string): IBinaryWriter; -} -interface IOp { - len: number; - next?: IOp; - proceed(buf: Uint8Array | number[], pos: number): void; -} -declare class State { - head: IOp; - tail: IOp; - len: number; - next: State | null; - constructor(writer: BinaryWriter); -} -export declare class BinaryWriter implements IBinaryWriter { - len: number; - head: IOp; - tail: IOp; - states: State | null; - constructor(); - static create(): BinaryWriter; - static alloc(size: number): Uint8Array | number[]; - private _push; - finish(): Uint8Array; - fork(): BinaryWriter; - reset(): BinaryWriter; - ldelim(): BinaryWriter; - tag(fieldNo: number, type: WireType): BinaryWriter; - uint32(value: number): BinaryWriter; - int32(value: number): BinaryWriter; - sint32(value: number): BinaryWriter; - int64(value: string | number | bigint): BinaryWriter; - uint64: (value: string | number | bigint) => BinaryWriter; - sint64(value: string | number | bigint): BinaryWriter; - fixed64(value: string | number | bigint): BinaryWriter; - sfixed64: (value: string | number | bigint) => BinaryWriter; - bool(value: boolean): BinaryWriter; - fixed32(value: number): BinaryWriter; - sfixed32: (value: number) => BinaryWriter; - float(value: number): BinaryWriter; - double(value: number): BinaryWriter; - bytes(value: Uint8Array): BinaryWriter; - string(value: string): BinaryWriter; -} -export {}; diff --git a/examples/authz/types/codegen/confio/proofs.d.ts b/examples/authz/types/codegen/confio/proofs.d.ts deleted file mode 100644 index ac542047..00000000 --- a/examples/authz/types/codegen/confio/proofs.d.ts +++ /dev/null @@ -1,901 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../binary"; -import { DeepPartial } from "../helpers"; -export declare enum HashOp { - /** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */ - NO_HASH = 0, - SHA256 = 1, - SHA512 = 2, - KECCAK = 3, - RIPEMD160 = 4, - /** BITCOIN - ripemd160(sha256(x)) */ - BITCOIN = 5, - UNRECOGNIZED = -1 -} -export declare const HashOpSDKType: typeof HashOp; -export declare const HashOpAmino: typeof HashOp; -export declare function hashOpFromJSON(object: any): HashOp; -export declare function hashOpToJSON(object: HashOp): string; -/** - * LengthOp defines how to process the key and value of the LeafOp - * to include length information. After encoding the length with the given - * algorithm, the length will be prepended to the key and value bytes. - * (Each one with it's own encoded length) - */ -export declare enum LengthOp { - /** NO_PREFIX - NO_PREFIX don't include any length info */ - NO_PREFIX = 0, - /** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */ - VAR_PROTO = 1, - /** VAR_RLP - VAR_RLP uses rlp int encoding of the length */ - VAR_RLP = 2, - /** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */ - FIXED32_BIG = 3, - /** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */ - FIXED32_LITTLE = 4, - /** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */ - FIXED64_BIG = 5, - /** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */ - FIXED64_LITTLE = 6, - /** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */ - REQUIRE_32_BYTES = 7, - /** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */ - REQUIRE_64_BYTES = 8, - UNRECOGNIZED = -1 -} -export declare const LengthOpSDKType: typeof LengthOp; -export declare const LengthOpAmino: typeof LengthOp; -export declare function lengthOpFromJSON(object: any): LengthOp; -export declare function lengthOpToJSON(object: LengthOp): string; -/** - * ExistenceProof takes a key and a value and a set of steps to perform on it. - * The result of peforming all these steps will provide a "root hash", which can - * be compared to the value in a header. - * - * Since it is computationally infeasible to produce a hash collission for any of the used - * cryptographic hash functions, if someone can provide a series of operations to transform - * a given key and value into a root hash that matches some trusted root, these key and values - * must be in the referenced merkle tree. - * - * The only possible issue is maliablity in LeafOp, such as providing extra prefix data, - * which should be controlled by a spec. Eg. with lengthOp as NONE, - * prefix = FOO, key = BAR, value = CHOICE - * and - * prefix = F, key = OOBAR, value = CHOICE - * would produce the same value. - * - * With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field - * in the ProofSpec is valuable to prevent this mutability. And why all trees should - * length-prefix the data before hashing it. - */ -export interface ExistenceProof { - key: Uint8Array; - value: Uint8Array; - leaf?: LeafOp | undefined; - path: InnerOp[]; -} -export interface ExistenceProofProtoMsg { - typeUrl: "/ics23.ExistenceProof"; - value: Uint8Array; -} -/** - * ExistenceProof takes a key and a value and a set of steps to perform on it. - * The result of peforming all these steps will provide a "root hash", which can - * be compared to the value in a header. - * - * Since it is computationally infeasible to produce a hash collission for any of the used - * cryptographic hash functions, if someone can provide a series of operations to transform - * a given key and value into a root hash that matches some trusted root, these key and values - * must be in the referenced merkle tree. - * - * The only possible issue is maliablity in LeafOp, such as providing extra prefix data, - * which should be controlled by a spec. Eg. with lengthOp as NONE, - * prefix = FOO, key = BAR, value = CHOICE - * and - * prefix = F, key = OOBAR, value = CHOICE - * would produce the same value. - * - * With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field - * in the ProofSpec is valuable to prevent this mutability. And why all trees should - * length-prefix the data before hashing it. - */ -export interface ExistenceProofAmino { - key?: string; - value?: string; - leaf?: LeafOpAmino | undefined; - path?: InnerOpAmino[]; -} -export interface ExistenceProofAminoMsg { - type: "/ics23.ExistenceProof"; - value: ExistenceProofAmino; -} -/** - * ExistenceProof takes a key and a value and a set of steps to perform on it. - * The result of peforming all these steps will provide a "root hash", which can - * be compared to the value in a header. - * - * Since it is computationally infeasible to produce a hash collission for any of the used - * cryptographic hash functions, if someone can provide a series of operations to transform - * a given key and value into a root hash that matches some trusted root, these key and values - * must be in the referenced merkle tree. - * - * The only possible issue is maliablity in LeafOp, such as providing extra prefix data, - * which should be controlled by a spec. Eg. with lengthOp as NONE, - * prefix = FOO, key = BAR, value = CHOICE - * and - * prefix = F, key = OOBAR, value = CHOICE - * would produce the same value. - * - * With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field - * in the ProofSpec is valuable to prevent this mutability. And why all trees should - * length-prefix the data before hashing it. - */ -export interface ExistenceProofSDKType { - key: Uint8Array; - value: Uint8Array; - leaf?: LeafOpSDKType | undefined; - path: InnerOpSDKType[]; -} -/** - * NonExistenceProof takes a proof of two neighbors, one left of the desired key, - * one right of the desired key. If both proofs are valid AND they are neighbors, - * then there is no valid proof for the given key. - */ -export interface NonExistenceProof { - /** TODO: remove this as unnecessary??? we prove a range */ - key: Uint8Array; - left?: ExistenceProof | undefined; - right?: ExistenceProof | undefined; -} -export interface NonExistenceProofProtoMsg { - typeUrl: "/ics23.NonExistenceProof"; - value: Uint8Array; -} -/** - * NonExistenceProof takes a proof of two neighbors, one left of the desired key, - * one right of the desired key. If both proofs are valid AND they are neighbors, - * then there is no valid proof for the given key. - */ -export interface NonExistenceProofAmino { - /** TODO: remove this as unnecessary??? we prove a range */ - key?: string; - left?: ExistenceProofAmino | undefined; - right?: ExistenceProofAmino | undefined; -} -export interface NonExistenceProofAminoMsg { - type: "/ics23.NonExistenceProof"; - value: NonExistenceProofAmino; -} -/** - * NonExistenceProof takes a proof of two neighbors, one left of the desired key, - * one right of the desired key. If both proofs are valid AND they are neighbors, - * then there is no valid proof for the given key. - */ -export interface NonExistenceProofSDKType { - key: Uint8Array; - left?: ExistenceProofSDKType | undefined; - right?: ExistenceProofSDKType | undefined; -} -/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ -export interface CommitmentProof { - exist?: ExistenceProof | undefined; - nonexist?: NonExistenceProof | undefined; - batch?: BatchProof | undefined; - compressed?: CompressedBatchProof | undefined; -} -export interface CommitmentProofProtoMsg { - typeUrl: "/ics23.CommitmentProof"; - value: Uint8Array; -} -/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ -export interface CommitmentProofAmino { - exist?: ExistenceProofAmino | undefined; - nonexist?: NonExistenceProofAmino | undefined; - batch?: BatchProofAmino | undefined; - compressed?: CompressedBatchProofAmino | undefined; -} -export interface CommitmentProofAminoMsg { - type: "/ics23.CommitmentProof"; - value: CommitmentProofAmino; -} -/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ -export interface CommitmentProofSDKType { - exist?: ExistenceProofSDKType | undefined; - nonexist?: NonExistenceProofSDKType | undefined; - batch?: BatchProofSDKType | undefined; - compressed?: CompressedBatchProofSDKType | undefined; -} -/** - * LeafOp represents the raw key-value data we wish to prove, and - * must be flexible to represent the internal transformation from - * the original key-value pairs into the basis hash, for many existing - * merkle trees. - * - * key and value are passed in. So that the signature of this operation is: - * leafOp(key, value) -> output - * - * To process this, first prehash the keys and values if needed (ANY means no hash in this case): - * hkey = prehashKey(key) - * hvalue = prehashValue(value) - * - * Then combine the bytes, and hash it - * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) - */ -export interface LeafOp { - hash: HashOp; - prehashKey: HashOp; - prehashValue: HashOp; - length: LengthOp; - /** - * prefix is a fixed bytes that may optionally be included at the beginning to differentiate - * a leaf node from an inner node. - */ - prefix: Uint8Array; -} -export interface LeafOpProtoMsg { - typeUrl: "/ics23.LeafOp"; - value: Uint8Array; -} -/** - * LeafOp represents the raw key-value data we wish to prove, and - * must be flexible to represent the internal transformation from - * the original key-value pairs into the basis hash, for many existing - * merkle trees. - * - * key and value are passed in. So that the signature of this operation is: - * leafOp(key, value) -> output - * - * To process this, first prehash the keys and values if needed (ANY means no hash in this case): - * hkey = prehashKey(key) - * hvalue = prehashValue(value) - * - * Then combine the bytes, and hash it - * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) - */ -export interface LeafOpAmino { - hash?: HashOp; - prehash_key?: HashOp; - prehash_value?: HashOp; - length?: LengthOp; - /** - * prefix is a fixed bytes that may optionally be included at the beginning to differentiate - * a leaf node from an inner node. - */ - prefix?: string; -} -export interface LeafOpAminoMsg { - type: "/ics23.LeafOp"; - value: LeafOpAmino; -} -/** - * LeafOp represents the raw key-value data we wish to prove, and - * must be flexible to represent the internal transformation from - * the original key-value pairs into the basis hash, for many existing - * merkle trees. - * - * key and value are passed in. So that the signature of this operation is: - * leafOp(key, value) -> output - * - * To process this, first prehash the keys and values if needed (ANY means no hash in this case): - * hkey = prehashKey(key) - * hvalue = prehashValue(value) - * - * Then combine the bytes, and hash it - * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) - */ -export interface LeafOpSDKType { - hash: HashOp; - prehash_key: HashOp; - prehash_value: HashOp; - length: LengthOp; - prefix: Uint8Array; -} -/** - * InnerOp represents a merkle-proof step that is not a leaf. - * It represents concatenating two children and hashing them to provide the next result. - * - * The result of the previous step is passed in, so the signature of this op is: - * innerOp(child) -> output - * - * The result of applying InnerOp should be: - * output = op.hash(op.prefix || child || op.suffix) - * - * where the || operator is concatenation of binary data, - * and child is the result of hashing all the tree below this step. - * - * Any special data, like prepending child with the length, or prepending the entire operation with - * some value to differentiate from leaf nodes, should be included in prefix and suffix. - * If either of prefix or suffix is empty, we just treat it as an empty string - */ -export interface InnerOp { - hash: HashOp; - prefix: Uint8Array; - suffix: Uint8Array; -} -export interface InnerOpProtoMsg { - typeUrl: "/ics23.InnerOp"; - value: Uint8Array; -} -/** - * InnerOp represents a merkle-proof step that is not a leaf. - * It represents concatenating two children and hashing them to provide the next result. - * - * The result of the previous step is passed in, so the signature of this op is: - * innerOp(child) -> output - * - * The result of applying InnerOp should be: - * output = op.hash(op.prefix || child || op.suffix) - * - * where the || operator is concatenation of binary data, - * and child is the result of hashing all the tree below this step. - * - * Any special data, like prepending child with the length, or prepending the entire operation with - * some value to differentiate from leaf nodes, should be included in prefix and suffix. - * If either of prefix or suffix is empty, we just treat it as an empty string - */ -export interface InnerOpAmino { - hash?: HashOp; - prefix?: string; - suffix?: string; -} -export interface InnerOpAminoMsg { - type: "/ics23.InnerOp"; - value: InnerOpAmino; -} -/** - * InnerOp represents a merkle-proof step that is not a leaf. - * It represents concatenating two children and hashing them to provide the next result. - * - * The result of the previous step is passed in, so the signature of this op is: - * innerOp(child) -> output - * - * The result of applying InnerOp should be: - * output = op.hash(op.prefix || child || op.suffix) - * - * where the || operator is concatenation of binary data, - * and child is the result of hashing all the tree below this step. - * - * Any special data, like prepending child with the length, or prepending the entire operation with - * some value to differentiate from leaf nodes, should be included in prefix and suffix. - * If either of prefix or suffix is empty, we just treat it as an empty string - */ -export interface InnerOpSDKType { - hash: HashOp; - prefix: Uint8Array; - suffix: Uint8Array; -} -/** - * ProofSpec defines what the expected parameters are for a given proof type. - * This can be stored in the client and used to validate any incoming proofs. - * - * verify(ProofSpec, Proof) -> Proof | Error - * - * As demonstrated in tests, if we don't fix the algorithm used to calculate the - * LeafHash for a given tree, there are many possible key-value pairs that can - * generate a given hash (by interpretting the preimage differently). - * We need this for proper security, requires client knows a priori what - * tree format server uses. But not in code, rather a configuration object. - */ -export interface ProofSpec { - /** - * any field in the ExistenceProof must be the same as in this spec. - * except Prefix, which is just the first bytes of prefix (spec can be longer) - */ - leafSpec?: LeafOp | undefined; - innerSpec?: InnerSpec | undefined; - /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ - maxDepth: number; - /** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */ - minDepth: number; -} -export interface ProofSpecProtoMsg { - typeUrl: "/ics23.ProofSpec"; - value: Uint8Array; -} -/** - * ProofSpec defines what the expected parameters are for a given proof type. - * This can be stored in the client and used to validate any incoming proofs. - * - * verify(ProofSpec, Proof) -> Proof | Error - * - * As demonstrated in tests, if we don't fix the algorithm used to calculate the - * LeafHash for a given tree, there are many possible key-value pairs that can - * generate a given hash (by interpretting the preimage differently). - * We need this for proper security, requires client knows a priori what - * tree format server uses. But not in code, rather a configuration object. - */ -export interface ProofSpecAmino { - /** - * any field in the ExistenceProof must be the same as in this spec. - * except Prefix, which is just the first bytes of prefix (spec can be longer) - */ - leaf_spec?: LeafOpAmino | undefined; - inner_spec?: InnerSpecAmino | undefined; - /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ - max_depth?: number; - /** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */ - min_depth?: number; -} -export interface ProofSpecAminoMsg { - type: "/ics23.ProofSpec"; - value: ProofSpecAmino; -} -/** - * ProofSpec defines what the expected parameters are for a given proof type. - * This can be stored in the client and used to validate any incoming proofs. - * - * verify(ProofSpec, Proof) -> Proof | Error - * - * As demonstrated in tests, if we don't fix the algorithm used to calculate the - * LeafHash for a given tree, there are many possible key-value pairs that can - * generate a given hash (by interpretting the preimage differently). - * We need this for proper security, requires client knows a priori what - * tree format server uses. But not in code, rather a configuration object. - */ -export interface ProofSpecSDKType { - leaf_spec?: LeafOpSDKType | undefined; - inner_spec?: InnerSpecSDKType | undefined; - max_depth: number; - min_depth: number; -} -/** - * InnerSpec contains all store-specific structure info to determine if two proofs from a - * given store are neighbors. - * - * This enables: - * - * isLeftMost(spec: InnerSpec, op: InnerOp) - * isRightMost(spec: InnerSpec, op: InnerOp) - * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) - */ -export interface InnerSpec { - /** - * Child order is the ordering of the children node, must count from 0 - * iavl tree is [0, 1] (left then right) - * merk is [0, 2, 1] (left, right, here) - */ - childOrder: number[]; - childSize: number; - minPrefixLength: number; - maxPrefixLength: number; - /** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */ - emptyChild: Uint8Array; - /** hash is the algorithm that must be used for each InnerOp */ - hash: HashOp; -} -export interface InnerSpecProtoMsg { - typeUrl: "/ics23.InnerSpec"; - value: Uint8Array; -} -/** - * InnerSpec contains all store-specific structure info to determine if two proofs from a - * given store are neighbors. - * - * This enables: - * - * isLeftMost(spec: InnerSpec, op: InnerOp) - * isRightMost(spec: InnerSpec, op: InnerOp) - * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) - */ -export interface InnerSpecAmino { - /** - * Child order is the ordering of the children node, must count from 0 - * iavl tree is [0, 1] (left then right) - * merk is [0, 2, 1] (left, right, here) - */ - child_order?: number[]; - child_size?: number; - min_prefix_length?: number; - max_prefix_length?: number; - /** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */ - empty_child?: string; - /** hash is the algorithm that must be used for each InnerOp */ - hash?: HashOp; -} -export interface InnerSpecAminoMsg { - type: "/ics23.InnerSpec"; - value: InnerSpecAmino; -} -/** - * InnerSpec contains all store-specific structure info to determine if two proofs from a - * given store are neighbors. - * - * This enables: - * - * isLeftMost(spec: InnerSpec, op: InnerOp) - * isRightMost(spec: InnerSpec, op: InnerOp) - * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) - */ -export interface InnerSpecSDKType { - child_order: number[]; - child_size: number; - min_prefix_length: number; - max_prefix_length: number; - empty_child: Uint8Array; - hash: HashOp; -} -/** BatchProof is a group of multiple proof types than can be compressed */ -export interface BatchProof { - entries: BatchEntry[]; -} -export interface BatchProofProtoMsg { - typeUrl: "/ics23.BatchProof"; - value: Uint8Array; -} -/** BatchProof is a group of multiple proof types than can be compressed */ -export interface BatchProofAmino { - entries?: BatchEntryAmino[]; -} -export interface BatchProofAminoMsg { - type: "/ics23.BatchProof"; - value: BatchProofAmino; -} -/** BatchProof is a group of multiple proof types than can be compressed */ -export interface BatchProofSDKType { - entries: BatchEntrySDKType[]; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ -export interface BatchEntry { - exist?: ExistenceProof | undefined; - nonexist?: NonExistenceProof | undefined; -} -export interface BatchEntryProtoMsg { - typeUrl: "/ics23.BatchEntry"; - value: Uint8Array; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ -export interface BatchEntryAmino { - exist?: ExistenceProofAmino | undefined; - nonexist?: NonExistenceProofAmino | undefined; -} -export interface BatchEntryAminoMsg { - type: "/ics23.BatchEntry"; - value: BatchEntryAmino; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ -export interface BatchEntrySDKType { - exist?: ExistenceProofSDKType | undefined; - nonexist?: NonExistenceProofSDKType | undefined; -} -export interface CompressedBatchProof { - entries: CompressedBatchEntry[]; - lookupInners: InnerOp[]; -} -export interface CompressedBatchProofProtoMsg { - typeUrl: "/ics23.CompressedBatchProof"; - value: Uint8Array; -} -export interface CompressedBatchProofAmino { - entries?: CompressedBatchEntryAmino[]; - lookup_inners?: InnerOpAmino[]; -} -export interface CompressedBatchProofAminoMsg { - type: "/ics23.CompressedBatchProof"; - value: CompressedBatchProofAmino; -} -export interface CompressedBatchProofSDKType { - entries: CompressedBatchEntrySDKType[]; - lookup_inners: InnerOpSDKType[]; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ -export interface CompressedBatchEntry { - exist?: CompressedExistenceProof | undefined; - nonexist?: CompressedNonExistenceProof | undefined; -} -export interface CompressedBatchEntryProtoMsg { - typeUrl: "/ics23.CompressedBatchEntry"; - value: Uint8Array; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ -export interface CompressedBatchEntryAmino { - exist?: CompressedExistenceProofAmino | undefined; - nonexist?: CompressedNonExistenceProofAmino | undefined; -} -export interface CompressedBatchEntryAminoMsg { - type: "/ics23.CompressedBatchEntry"; - value: CompressedBatchEntryAmino; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ -export interface CompressedBatchEntrySDKType { - exist?: CompressedExistenceProofSDKType | undefined; - nonexist?: CompressedNonExistenceProofSDKType | undefined; -} -export interface CompressedExistenceProof { - key: Uint8Array; - value: Uint8Array; - leaf?: LeafOp | undefined; - /** these are indexes into the lookup_inners table in CompressedBatchProof */ - path: number[]; -} -export interface CompressedExistenceProofProtoMsg { - typeUrl: "/ics23.CompressedExistenceProof"; - value: Uint8Array; -} -export interface CompressedExistenceProofAmino { - key?: string; - value?: string; - leaf?: LeafOpAmino | undefined; - /** these are indexes into the lookup_inners table in CompressedBatchProof */ - path?: number[]; -} -export interface CompressedExistenceProofAminoMsg { - type: "/ics23.CompressedExistenceProof"; - value: CompressedExistenceProofAmino; -} -export interface CompressedExistenceProofSDKType { - key: Uint8Array; - value: Uint8Array; - leaf?: LeafOpSDKType | undefined; - path: number[]; -} -export interface CompressedNonExistenceProof { - /** TODO: remove this as unnecessary??? we prove a range */ - key: Uint8Array; - left?: CompressedExistenceProof | undefined; - right?: CompressedExistenceProof | undefined; -} -export interface CompressedNonExistenceProofProtoMsg { - typeUrl: "/ics23.CompressedNonExistenceProof"; - value: Uint8Array; -} -export interface CompressedNonExistenceProofAmino { - /** TODO: remove this as unnecessary??? we prove a range */ - key?: string; - left?: CompressedExistenceProofAmino | undefined; - right?: CompressedExistenceProofAmino | undefined; -} -export interface CompressedNonExistenceProofAminoMsg { - type: "/ics23.CompressedNonExistenceProof"; - value: CompressedNonExistenceProofAmino; -} -export interface CompressedNonExistenceProofSDKType { - key: Uint8Array; - left?: CompressedExistenceProofSDKType | undefined; - right?: CompressedExistenceProofSDKType | undefined; -} -export declare const ExistenceProof: { - typeUrl: string; - is(o: any): o is ExistenceProof; - isSDK(o: any): o is ExistenceProofSDKType; - isAmino(o: any): o is ExistenceProofAmino; - encode(message: ExistenceProof, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ExistenceProof; - fromJSON(object: any): ExistenceProof; - toJSON(message: ExistenceProof): unknown; - fromPartial(object: DeepPartial): ExistenceProof; - fromSDK(object: ExistenceProofSDKType): ExistenceProof; - toSDK(message: ExistenceProof): ExistenceProofSDKType; - fromAmino(object: ExistenceProofAmino): ExistenceProof; - toAmino(message: ExistenceProof): ExistenceProofAmino; - fromAminoMsg(object: ExistenceProofAminoMsg): ExistenceProof; - fromProtoMsg(message: ExistenceProofProtoMsg): ExistenceProof; - toProto(message: ExistenceProof): Uint8Array; - toProtoMsg(message: ExistenceProof): ExistenceProofProtoMsg; -}; -export declare const NonExistenceProof: { - typeUrl: string; - is(o: any): o is NonExistenceProof; - isSDK(o: any): o is NonExistenceProofSDKType; - isAmino(o: any): o is NonExistenceProofAmino; - encode(message: NonExistenceProof, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): NonExistenceProof; - fromJSON(object: any): NonExistenceProof; - toJSON(message: NonExistenceProof): unknown; - fromPartial(object: DeepPartial): NonExistenceProof; - fromSDK(object: NonExistenceProofSDKType): NonExistenceProof; - toSDK(message: NonExistenceProof): NonExistenceProofSDKType; - fromAmino(object: NonExistenceProofAmino): NonExistenceProof; - toAmino(message: NonExistenceProof): NonExistenceProofAmino; - fromAminoMsg(object: NonExistenceProofAminoMsg): NonExistenceProof; - fromProtoMsg(message: NonExistenceProofProtoMsg): NonExistenceProof; - toProto(message: NonExistenceProof): Uint8Array; - toProtoMsg(message: NonExistenceProof): NonExistenceProofProtoMsg; -}; -export declare const CommitmentProof: { - typeUrl: string; - is(o: any): o is CommitmentProof; - isSDK(o: any): o is CommitmentProofSDKType; - isAmino(o: any): o is CommitmentProofAmino; - encode(message: CommitmentProof, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CommitmentProof; - fromJSON(object: any): CommitmentProof; - toJSON(message: CommitmentProof): unknown; - fromPartial(object: DeepPartial): CommitmentProof; - fromSDK(object: CommitmentProofSDKType): CommitmentProof; - toSDK(message: CommitmentProof): CommitmentProofSDKType; - fromAmino(object: CommitmentProofAmino): CommitmentProof; - toAmino(message: CommitmentProof): CommitmentProofAmino; - fromAminoMsg(object: CommitmentProofAminoMsg): CommitmentProof; - fromProtoMsg(message: CommitmentProofProtoMsg): CommitmentProof; - toProto(message: CommitmentProof): Uint8Array; - toProtoMsg(message: CommitmentProof): CommitmentProofProtoMsg; -}; -export declare const LeafOp: { - typeUrl: string; - is(o: any): o is LeafOp; - isSDK(o: any): o is LeafOpSDKType; - isAmino(o: any): o is LeafOpAmino; - encode(message: LeafOp, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): LeafOp; - fromJSON(object: any): LeafOp; - toJSON(message: LeafOp): unknown; - fromPartial(object: DeepPartial): LeafOp; - fromSDK(object: LeafOpSDKType): LeafOp; - toSDK(message: LeafOp): LeafOpSDKType; - fromAmino(object: LeafOpAmino): LeafOp; - toAmino(message: LeafOp): LeafOpAmino; - fromAminoMsg(object: LeafOpAminoMsg): LeafOp; - fromProtoMsg(message: LeafOpProtoMsg): LeafOp; - toProto(message: LeafOp): Uint8Array; - toProtoMsg(message: LeafOp): LeafOpProtoMsg; -}; -export declare const InnerOp: { - typeUrl: string; - is(o: any): o is InnerOp; - isSDK(o: any): o is InnerOpSDKType; - isAmino(o: any): o is InnerOpAmino; - encode(message: InnerOp, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): InnerOp; - fromJSON(object: any): InnerOp; - toJSON(message: InnerOp): unknown; - fromPartial(object: DeepPartial): InnerOp; - fromSDK(object: InnerOpSDKType): InnerOp; - toSDK(message: InnerOp): InnerOpSDKType; - fromAmino(object: InnerOpAmino): InnerOp; - toAmino(message: InnerOp): InnerOpAmino; - fromAminoMsg(object: InnerOpAminoMsg): InnerOp; - fromProtoMsg(message: InnerOpProtoMsg): InnerOp; - toProto(message: InnerOp): Uint8Array; - toProtoMsg(message: InnerOp): InnerOpProtoMsg; -}; -export declare const ProofSpec: { - typeUrl: string; - is(o: any): o is ProofSpec; - isSDK(o: any): o is ProofSpecSDKType; - isAmino(o: any): o is ProofSpecAmino; - encode(message: ProofSpec, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ProofSpec; - fromJSON(object: any): ProofSpec; - toJSON(message: ProofSpec): unknown; - fromPartial(object: DeepPartial): ProofSpec; - fromSDK(object: ProofSpecSDKType): ProofSpec; - toSDK(message: ProofSpec): ProofSpecSDKType; - fromAmino(object: ProofSpecAmino): ProofSpec; - toAmino(message: ProofSpec): ProofSpecAmino; - fromAminoMsg(object: ProofSpecAminoMsg): ProofSpec; - fromProtoMsg(message: ProofSpecProtoMsg): ProofSpec; - toProto(message: ProofSpec): Uint8Array; - toProtoMsg(message: ProofSpec): ProofSpecProtoMsg; -}; -export declare const InnerSpec: { - typeUrl: string; - is(o: any): o is InnerSpec; - isSDK(o: any): o is InnerSpecSDKType; - isAmino(o: any): o is InnerSpecAmino; - encode(message: InnerSpec, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): InnerSpec; - fromJSON(object: any): InnerSpec; - toJSON(message: InnerSpec): unknown; - fromPartial(object: DeepPartial): InnerSpec; - fromSDK(object: InnerSpecSDKType): InnerSpec; - toSDK(message: InnerSpec): InnerSpecSDKType; - fromAmino(object: InnerSpecAmino): InnerSpec; - toAmino(message: InnerSpec): InnerSpecAmino; - fromAminoMsg(object: InnerSpecAminoMsg): InnerSpec; - fromProtoMsg(message: InnerSpecProtoMsg): InnerSpec; - toProto(message: InnerSpec): Uint8Array; - toProtoMsg(message: InnerSpec): InnerSpecProtoMsg; -}; -export declare const BatchProof: { - typeUrl: string; - is(o: any): o is BatchProof; - isSDK(o: any): o is BatchProofSDKType; - isAmino(o: any): o is BatchProofAmino; - encode(message: BatchProof, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): BatchProof; - fromJSON(object: any): BatchProof; - toJSON(message: BatchProof): unknown; - fromPartial(object: DeepPartial): BatchProof; - fromSDK(object: BatchProofSDKType): BatchProof; - toSDK(message: BatchProof): BatchProofSDKType; - fromAmino(object: BatchProofAmino): BatchProof; - toAmino(message: BatchProof): BatchProofAmino; - fromAminoMsg(object: BatchProofAminoMsg): BatchProof; - fromProtoMsg(message: BatchProofProtoMsg): BatchProof; - toProto(message: BatchProof): Uint8Array; - toProtoMsg(message: BatchProof): BatchProofProtoMsg; -}; -export declare const BatchEntry: { - typeUrl: string; - is(o: any): o is BatchEntry; - isSDK(o: any): o is BatchEntrySDKType; - isAmino(o: any): o is BatchEntryAmino; - encode(message: BatchEntry, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): BatchEntry; - fromJSON(object: any): BatchEntry; - toJSON(message: BatchEntry): unknown; - fromPartial(object: DeepPartial): BatchEntry; - fromSDK(object: BatchEntrySDKType): BatchEntry; - toSDK(message: BatchEntry): BatchEntrySDKType; - fromAmino(object: BatchEntryAmino): BatchEntry; - toAmino(message: BatchEntry): BatchEntryAmino; - fromAminoMsg(object: BatchEntryAminoMsg): BatchEntry; - fromProtoMsg(message: BatchEntryProtoMsg): BatchEntry; - toProto(message: BatchEntry): Uint8Array; - toProtoMsg(message: BatchEntry): BatchEntryProtoMsg; -}; -export declare const CompressedBatchProof: { - typeUrl: string; - is(o: any): o is CompressedBatchProof; - isSDK(o: any): o is CompressedBatchProofSDKType; - isAmino(o: any): o is CompressedBatchProofAmino; - encode(message: CompressedBatchProof, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CompressedBatchProof; - fromJSON(object: any): CompressedBatchProof; - toJSON(message: CompressedBatchProof): unknown; - fromPartial(object: DeepPartial): CompressedBatchProof; - fromSDK(object: CompressedBatchProofSDKType): CompressedBatchProof; - toSDK(message: CompressedBatchProof): CompressedBatchProofSDKType; - fromAmino(object: CompressedBatchProofAmino): CompressedBatchProof; - toAmino(message: CompressedBatchProof): CompressedBatchProofAmino; - fromAminoMsg(object: CompressedBatchProofAminoMsg): CompressedBatchProof; - fromProtoMsg(message: CompressedBatchProofProtoMsg): CompressedBatchProof; - toProto(message: CompressedBatchProof): Uint8Array; - toProtoMsg(message: CompressedBatchProof): CompressedBatchProofProtoMsg; -}; -export declare const CompressedBatchEntry: { - typeUrl: string; - is(o: any): o is CompressedBatchEntry; - isSDK(o: any): o is CompressedBatchEntrySDKType; - isAmino(o: any): o is CompressedBatchEntryAmino; - encode(message: CompressedBatchEntry, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CompressedBatchEntry; - fromJSON(object: any): CompressedBatchEntry; - toJSON(message: CompressedBatchEntry): unknown; - fromPartial(object: DeepPartial): CompressedBatchEntry; - fromSDK(object: CompressedBatchEntrySDKType): CompressedBatchEntry; - toSDK(message: CompressedBatchEntry): CompressedBatchEntrySDKType; - fromAmino(object: CompressedBatchEntryAmino): CompressedBatchEntry; - toAmino(message: CompressedBatchEntry): CompressedBatchEntryAmino; - fromAminoMsg(object: CompressedBatchEntryAminoMsg): CompressedBatchEntry; - fromProtoMsg(message: CompressedBatchEntryProtoMsg): CompressedBatchEntry; - toProto(message: CompressedBatchEntry): Uint8Array; - toProtoMsg(message: CompressedBatchEntry): CompressedBatchEntryProtoMsg; -}; -export declare const CompressedExistenceProof: { - typeUrl: string; - is(o: any): o is CompressedExistenceProof; - isSDK(o: any): o is CompressedExistenceProofSDKType; - isAmino(o: any): o is CompressedExistenceProofAmino; - encode(message: CompressedExistenceProof, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CompressedExistenceProof; - fromJSON(object: any): CompressedExistenceProof; - toJSON(message: CompressedExistenceProof): unknown; - fromPartial(object: DeepPartial): CompressedExistenceProof; - fromSDK(object: CompressedExistenceProofSDKType): CompressedExistenceProof; - toSDK(message: CompressedExistenceProof): CompressedExistenceProofSDKType; - fromAmino(object: CompressedExistenceProofAmino): CompressedExistenceProof; - toAmino(message: CompressedExistenceProof): CompressedExistenceProofAmino; - fromAminoMsg(object: CompressedExistenceProofAminoMsg): CompressedExistenceProof; - fromProtoMsg(message: CompressedExistenceProofProtoMsg): CompressedExistenceProof; - toProto(message: CompressedExistenceProof): Uint8Array; - toProtoMsg(message: CompressedExistenceProof): CompressedExistenceProofProtoMsg; -}; -export declare const CompressedNonExistenceProof: { - typeUrl: string; - is(o: any): o is CompressedNonExistenceProof; - isSDK(o: any): o is CompressedNonExistenceProofSDKType; - isAmino(o: any): o is CompressedNonExistenceProofAmino; - encode(message: CompressedNonExistenceProof, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CompressedNonExistenceProof; - fromJSON(object: any): CompressedNonExistenceProof; - toJSON(message: CompressedNonExistenceProof): unknown; - fromPartial(object: DeepPartial): CompressedNonExistenceProof; - fromSDK(object: CompressedNonExistenceProofSDKType): CompressedNonExistenceProof; - toSDK(message: CompressedNonExistenceProof): CompressedNonExistenceProofSDKType; - fromAmino(object: CompressedNonExistenceProofAmino): CompressedNonExistenceProof; - toAmino(message: CompressedNonExistenceProof): CompressedNonExistenceProofAmino; - fromAminoMsg(object: CompressedNonExistenceProofAminoMsg): CompressedNonExistenceProof; - fromProtoMsg(message: CompressedNonExistenceProofProtoMsg): CompressedNonExistenceProof; - toProto(message: CompressedNonExistenceProof): Uint8Array; - toProtoMsg(message: CompressedNonExistenceProof): CompressedNonExistenceProofProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/app/v1alpha1/config.d.ts b/examples/authz/types/codegen/cosmos/app/v1alpha1/config.d.ts deleted file mode 100644 index 2f9ad126..00000000 --- a/examples/authz/types/codegen/cosmos/app/v1alpha1/config.d.ts +++ /dev/null @@ -1,146 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ -export interface Config { - /** modules are the module configurations for the app. */ - modules: ModuleConfig[]; -} -export interface ConfigProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.Config"; - value: Uint8Array; -} -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ -export interface ConfigAmino { - /** modules are the module configurations for the app. */ - modules?: ModuleConfigAmino[]; -} -export interface ConfigAminoMsg { - type: "cosmos-sdk/Config"; - value: ConfigAmino; -} -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ -export interface ConfigSDKType { - modules: ModuleConfigSDKType[]; -} -/** ModuleConfig is a module configuration for an app. */ -export interface ModuleConfig { - /** - * name is the unique name of the module within the app. It should be a name - * that persists between different versions of a module so that modules - * can be smoothly upgraded to new versions. - * - * For example, for the module cosmos.bank.module.v1.Module, we may chose - * to simply name the module "bank" in the app. When we upgrade to - * cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same - * and the framework knows that the v2 module should receive all the same state - * that the v1 module had. Note: modules should provide info on which versions - * they can migrate from in the ModuleDescriptor.can_migration_from field. - */ - name: string; - /** - * config is the config object for the module. Module config messages should - * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. - */ - config?: Any | undefined; -} -export interface ModuleConfigProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.ModuleConfig"; - value: Uint8Array; -} -/** ModuleConfig is a module configuration for an app. */ -export interface ModuleConfigAmino { - /** - * name is the unique name of the module within the app. It should be a name - * that persists between different versions of a module so that modules - * can be smoothly upgraded to new versions. - * - * For example, for the module cosmos.bank.module.v1.Module, we may chose - * to simply name the module "bank" in the app. When we upgrade to - * cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same - * and the framework knows that the v2 module should receive all the same state - * that the v1 module had. Note: modules should provide info on which versions - * they can migrate from in the ModuleDescriptor.can_migration_from field. - */ - name?: string; - /** - * config is the config object for the module. Module config messages should - * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. - */ - config?: AnyAmino | undefined; -} -export interface ModuleConfigAminoMsg { - type: "cosmos-sdk/ModuleConfig"; - value: ModuleConfigAmino; -} -/** ModuleConfig is a module configuration for an app. */ -export interface ModuleConfigSDKType { - name: string; - config?: AnySDKType | undefined; -} -export declare const Config: { - typeUrl: string; - aminoType: string; - is(o: any): o is Config; - isSDK(o: any): o is ConfigSDKType; - isAmino(o: any): o is ConfigAmino; - encode(message: Config, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Config; - fromJSON(object: any): Config; - toJSON(message: Config): unknown; - fromPartial(object: DeepPartial): Config; - fromSDK(object: ConfigSDKType): Config; - toSDK(message: Config): ConfigSDKType; - fromAmino(object: ConfigAmino): Config; - toAmino(message: Config): ConfigAmino; - fromAminoMsg(object: ConfigAminoMsg): Config; - toAminoMsg(message: Config): ConfigAminoMsg; - fromProtoMsg(message: ConfigProtoMsg): Config; - toProto(message: Config): Uint8Array; - toProtoMsg(message: Config): ConfigProtoMsg; -}; -export declare const ModuleConfig: { - typeUrl: string; - aminoType: string; - is(o: any): o is ModuleConfig; - isSDK(o: any): o is ModuleConfigSDKType; - isAmino(o: any): o is ModuleConfigAmino; - encode(message: ModuleConfig, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ModuleConfig; - fromJSON(object: any): ModuleConfig; - toJSON(message: ModuleConfig): unknown; - fromPartial(object: DeepPartial): ModuleConfig; - fromSDK(object: ModuleConfigSDKType): ModuleConfig; - toSDK(message: ModuleConfig): ModuleConfigSDKType; - fromAmino(object: ModuleConfigAmino): ModuleConfig; - toAmino(message: ModuleConfig): ModuleConfigAmino; - fromAminoMsg(object: ModuleConfigAminoMsg): ModuleConfig; - toAminoMsg(message: ModuleConfig): ModuleConfigAminoMsg; - fromProtoMsg(message: ModuleConfigProtoMsg): ModuleConfig; - toProto(message: ModuleConfig): Uint8Array; - toProtoMsg(message: ModuleConfig): ModuleConfigProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/app/v1alpha1/module.d.ts b/examples/authz/types/codegen/cosmos/app/v1alpha1/module.d.ts deleted file mode 100644 index 98cfbe4b..00000000 --- a/examples/authz/types/codegen/cosmos/app/v1alpha1/module.d.ts +++ /dev/null @@ -1,271 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** ModuleDescriptor describes an app module. */ -export interface ModuleDescriptor { - /** - * go_import names the package that should be imported by an app to load the - * module in the runtime module registry. Either go_import must be defined here - * or the go_package option must be defined at the file level to indicate - * to users where to location the module implementation. go_import takes - * precedence over go_package when both are defined. - */ - goImport: string; - /** - * use_package refers to a protobuf package that this module - * uses and exposes to the world. In an app, only one module should "use" - * or own a single protobuf package. It is assumed that the module uses - * all of the .proto files in a single package. - */ - usePackage: PackageReference[]; - /** - * can_migrate_from defines which module versions this module can migrate - * state from. The framework will check that one module version is able to - * migrate from a previous module version before attempting to update its - * config. It is assumed that modules can transitively migrate from earlier - * versions. For instance if v3 declares it can migrate from v2, and v2 - * declares it can migrate from v1, the framework knows how to migrate - * from v1 to v3, assuming all 3 module versions are registered at runtime. - */ - canMigrateFrom: MigrateFromInfo[]; -} -export interface ModuleDescriptorProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.ModuleDescriptor"; - value: Uint8Array; -} -/** ModuleDescriptor describes an app module. */ -export interface ModuleDescriptorAmino { - /** - * go_import names the package that should be imported by an app to load the - * module in the runtime module registry. Either go_import must be defined here - * or the go_package option must be defined at the file level to indicate - * to users where to location the module implementation. go_import takes - * precedence over go_package when both are defined. - */ - go_import?: string; - /** - * use_package refers to a protobuf package that this module - * uses and exposes to the world. In an app, only one module should "use" - * or own a single protobuf package. It is assumed that the module uses - * all of the .proto files in a single package. - */ - use_package?: PackageReferenceAmino[]; - /** - * can_migrate_from defines which module versions this module can migrate - * state from. The framework will check that one module version is able to - * migrate from a previous module version before attempting to update its - * config. It is assumed that modules can transitively migrate from earlier - * versions. For instance if v3 declares it can migrate from v2, and v2 - * declares it can migrate from v1, the framework knows how to migrate - * from v1 to v3, assuming all 3 module versions are registered at runtime. - */ - can_migrate_from?: MigrateFromInfoAmino[]; -} -export interface ModuleDescriptorAminoMsg { - type: "cosmos-sdk/ModuleDescriptor"; - value: ModuleDescriptorAmino; -} -/** ModuleDescriptor describes an app module. */ -export interface ModuleDescriptorSDKType { - go_import: string; - use_package: PackageReferenceSDKType[]; - can_migrate_from: MigrateFromInfoSDKType[]; -} -/** PackageReference is a reference to a protobuf package used by a module. */ -export interface PackageReference { - /** name is the fully-qualified name of the package. */ - name: string; - /** - * revision is the optional revision of the package that is being used. - * Protobuf packages used in Cosmos should generally have a major version - * as the last part of the package name, ex. foo.bar.baz.v1. - * The revision of a package can be thought of as the minor version of a - * package which has additional backwards compatible definitions that weren't - * present in a previous version. - * - * A package should indicate its revision with a source code comment - * above the package declaration in one of its fields containing the - * test "Revision N" where N is an integer revision. All packages start - * at revision 0 the first time they are released in a module. - * - * When a new version of a module is released and items are added to existing - * .proto files, these definitions should contain comments of the form - * "Since Revision N" where N is an integer revision. - * - * When the module runtime starts up, it will check the pinned proto - * image and panic if there are runtime protobuf definitions that are not - * in the pinned descriptor which do not have - * a "Since Revision N" comment or have a "Since Revision N" comment where - * N is <= to the revision specified here. This indicates that the protobuf - * files have been updated, but the pinned file descriptor hasn't. - * - * If there are items in the pinned file descriptor with a revision - * greater than the value indicated here, this will also cause a panic - * as it may mean that the pinned descriptor for a legacy module has been - * improperly updated or that there is some other versioning discrepancy. - * Runtime protobuf definitions will also be checked for compatibility - * with pinned file descriptors to make sure there are no incompatible changes. - * - * This behavior ensures that: - * * pinned proto images are up-to-date - * * protobuf files are carefully annotated with revision comments which - * are important good client UX - * * protobuf files are changed in backwards and forwards compatible ways - */ - revision: number; -} -export interface PackageReferenceProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.PackageReference"; - value: Uint8Array; -} -/** PackageReference is a reference to a protobuf package used by a module. */ -export interface PackageReferenceAmino { - /** name is the fully-qualified name of the package. */ - name?: string; - /** - * revision is the optional revision of the package that is being used. - * Protobuf packages used in Cosmos should generally have a major version - * as the last part of the package name, ex. foo.bar.baz.v1. - * The revision of a package can be thought of as the minor version of a - * package which has additional backwards compatible definitions that weren't - * present in a previous version. - * - * A package should indicate its revision with a source code comment - * above the package declaration in one of its fields containing the - * test "Revision N" where N is an integer revision. All packages start - * at revision 0 the first time they are released in a module. - * - * When a new version of a module is released and items are added to existing - * .proto files, these definitions should contain comments of the form - * "Since Revision N" where N is an integer revision. - * - * When the module runtime starts up, it will check the pinned proto - * image and panic if there are runtime protobuf definitions that are not - * in the pinned descriptor which do not have - * a "Since Revision N" comment or have a "Since Revision N" comment where - * N is <= to the revision specified here. This indicates that the protobuf - * files have been updated, but the pinned file descriptor hasn't. - * - * If there are items in the pinned file descriptor with a revision - * greater than the value indicated here, this will also cause a panic - * as it may mean that the pinned descriptor for a legacy module has been - * improperly updated or that there is some other versioning discrepancy. - * Runtime protobuf definitions will also be checked for compatibility - * with pinned file descriptors to make sure there are no incompatible changes. - * - * This behavior ensures that: - * * pinned proto images are up-to-date - * * protobuf files are carefully annotated with revision comments which - * are important good client UX - * * protobuf files are changed in backwards and forwards compatible ways - */ - revision?: number; -} -export interface PackageReferenceAminoMsg { - type: "cosmos-sdk/PackageReference"; - value: PackageReferenceAmino; -} -/** PackageReference is a reference to a protobuf package used by a module. */ -export interface PackageReferenceSDKType { - name: string; - revision: number; -} -/** - * MigrateFromInfo is information on a module version that a newer module - * can migrate from. - */ -export interface MigrateFromInfo { - /** - * module is the fully-qualified protobuf name of the module config object - * for the previous module version, ex: "cosmos.group.module.v1.Module". - */ - module: string; -} -export interface MigrateFromInfoProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.MigrateFromInfo"; - value: Uint8Array; -} -/** - * MigrateFromInfo is information on a module version that a newer module - * can migrate from. - */ -export interface MigrateFromInfoAmino { - /** - * module is the fully-qualified protobuf name of the module config object - * for the previous module version, ex: "cosmos.group.module.v1.Module". - */ - module?: string; -} -export interface MigrateFromInfoAminoMsg { - type: "cosmos-sdk/MigrateFromInfo"; - value: MigrateFromInfoAmino; -} -/** - * MigrateFromInfo is information on a module version that a newer module - * can migrate from. - */ -export interface MigrateFromInfoSDKType { - module: string; -} -export declare const ModuleDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is ModuleDescriptor; - isSDK(o: any): o is ModuleDescriptorSDKType; - isAmino(o: any): o is ModuleDescriptorAmino; - encode(message: ModuleDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ModuleDescriptor; - fromJSON(object: any): ModuleDescriptor; - toJSON(message: ModuleDescriptor): unknown; - fromPartial(object: DeepPartial): ModuleDescriptor; - fromSDK(object: ModuleDescriptorSDKType): ModuleDescriptor; - toSDK(message: ModuleDescriptor): ModuleDescriptorSDKType; - fromAmino(object: ModuleDescriptorAmino): ModuleDescriptor; - toAmino(message: ModuleDescriptor): ModuleDescriptorAmino; - fromAminoMsg(object: ModuleDescriptorAminoMsg): ModuleDescriptor; - toAminoMsg(message: ModuleDescriptor): ModuleDescriptorAminoMsg; - fromProtoMsg(message: ModuleDescriptorProtoMsg): ModuleDescriptor; - toProto(message: ModuleDescriptor): Uint8Array; - toProtoMsg(message: ModuleDescriptor): ModuleDescriptorProtoMsg; -}; -export declare const PackageReference: { - typeUrl: string; - aminoType: string; - is(o: any): o is PackageReference; - isSDK(o: any): o is PackageReferenceSDKType; - isAmino(o: any): o is PackageReferenceAmino; - encode(message: PackageReference, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PackageReference; - fromJSON(object: any): PackageReference; - toJSON(message: PackageReference): unknown; - fromPartial(object: DeepPartial): PackageReference; - fromSDK(object: PackageReferenceSDKType): PackageReference; - toSDK(message: PackageReference): PackageReferenceSDKType; - fromAmino(object: PackageReferenceAmino): PackageReference; - toAmino(message: PackageReference): PackageReferenceAmino; - fromAminoMsg(object: PackageReferenceAminoMsg): PackageReference; - toAminoMsg(message: PackageReference): PackageReferenceAminoMsg; - fromProtoMsg(message: PackageReferenceProtoMsg): PackageReference; - toProto(message: PackageReference): Uint8Array; - toProtoMsg(message: PackageReference): PackageReferenceProtoMsg; -}; -export declare const MigrateFromInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is MigrateFromInfo; - isSDK(o: any): o is MigrateFromInfoSDKType; - isAmino(o: any): o is MigrateFromInfoAmino; - encode(message: MigrateFromInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MigrateFromInfo; - fromJSON(object: any): MigrateFromInfo; - toJSON(message: MigrateFromInfo): unknown; - fromPartial(object: DeepPartial): MigrateFromInfo; - fromSDK(object: MigrateFromInfoSDKType): MigrateFromInfo; - toSDK(message: MigrateFromInfo): MigrateFromInfoSDKType; - fromAmino(object: MigrateFromInfoAmino): MigrateFromInfo; - toAmino(message: MigrateFromInfo): MigrateFromInfoAmino; - fromAminoMsg(object: MigrateFromInfoAminoMsg): MigrateFromInfo; - toAminoMsg(message: MigrateFromInfo): MigrateFromInfoAminoMsg; - fromProtoMsg(message: MigrateFromInfoProtoMsg): MigrateFromInfo; - toProto(message: MigrateFromInfo): Uint8Array; - toProtoMsg(message: MigrateFromInfo): MigrateFromInfoProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/app/v1alpha1/query.d.ts b/examples/authz/types/codegen/cosmos/app/v1alpha1/query.d.ts deleted file mode 100644 index 4d1c4238..00000000 --- a/examples/authz/types/codegen/cosmos/app/v1alpha1/query.d.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { Config, ConfigAmino, ConfigSDKType } from "./config"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryConfigRequest is the Query/Config request type. */ -export interface QueryConfigRequest { -} -export interface QueryConfigRequestProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigRequest"; - value: Uint8Array; -} -/** QueryConfigRequest is the Query/Config request type. */ -export interface QueryConfigRequestAmino { -} -export interface QueryConfigRequestAminoMsg { - type: "cosmos-sdk/QueryConfigRequest"; - value: QueryConfigRequestAmino; -} -/** QueryConfigRequest is the Query/Config request type. */ -export interface QueryConfigRequestSDKType { -} -/** QueryConfigRequest is the Query/Config response type. */ -export interface QueryConfigResponse { - /** config is the current app config. */ - config?: Config | undefined; -} -export interface QueryConfigResponseProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigResponse"; - value: Uint8Array; -} -/** QueryConfigRequest is the Query/Config response type. */ -export interface QueryConfigResponseAmino { - /** config is the current app config. */ - config?: ConfigAmino | undefined; -} -export interface QueryConfigResponseAminoMsg { - type: "cosmos-sdk/QueryConfigResponse"; - value: QueryConfigResponseAmino; -} -/** QueryConfigRequest is the Query/Config response type. */ -export interface QueryConfigResponseSDKType { - config?: ConfigSDKType | undefined; -} -export declare const QueryConfigRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConfigRequest; - isSDK(o: any): o is QueryConfigRequestSDKType; - isAmino(o: any): o is QueryConfigRequestAmino; - encode(_: QueryConfigRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConfigRequest; - fromJSON(_: any): QueryConfigRequest; - toJSON(_: QueryConfigRequest): unknown; - fromPartial(_: DeepPartial): QueryConfigRequest; - fromSDK(_: QueryConfigRequestSDKType): QueryConfigRequest; - toSDK(_: QueryConfigRequest): QueryConfigRequestSDKType; - fromAmino(_: QueryConfigRequestAmino): QueryConfigRequest; - toAmino(_: QueryConfigRequest): QueryConfigRequestAmino; - fromAminoMsg(object: QueryConfigRequestAminoMsg): QueryConfigRequest; - toAminoMsg(message: QueryConfigRequest): QueryConfigRequestAminoMsg; - fromProtoMsg(message: QueryConfigRequestProtoMsg): QueryConfigRequest; - toProto(message: QueryConfigRequest): Uint8Array; - toProtoMsg(message: QueryConfigRequest): QueryConfigRequestProtoMsg; -}; -export declare const QueryConfigResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConfigResponse; - isSDK(o: any): o is QueryConfigResponseSDKType; - isAmino(o: any): o is QueryConfigResponseAmino; - encode(message: QueryConfigResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConfigResponse; - fromJSON(object: any): QueryConfigResponse; - toJSON(message: QueryConfigResponse): unknown; - fromPartial(object: DeepPartial): QueryConfigResponse; - fromSDK(object: QueryConfigResponseSDKType): QueryConfigResponse; - toSDK(message: QueryConfigResponse): QueryConfigResponseSDKType; - fromAmino(object: QueryConfigResponseAmino): QueryConfigResponse; - toAmino(message: QueryConfigResponse): QueryConfigResponseAmino; - fromAminoMsg(object: QueryConfigResponseAminoMsg): QueryConfigResponse; - toAminoMsg(message: QueryConfigResponse): QueryConfigResponseAminoMsg; - fromProtoMsg(message: QueryConfigResponseProtoMsg): QueryConfigResponse; - toProto(message: QueryConfigResponse): Uint8Array; - toProtoMsg(message: QueryConfigResponse): QueryConfigResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/app/v1alpha1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/app/v1alpha1/query.rpc.Query.d.ts deleted file mode 100644 index 33d2e350..00000000 --- a/examples/authz/types/codegen/cosmos/app/v1alpha1/query.rpc.Query.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryConfigRequest, QueryConfigResponse } from "./query"; -/** Query is the app module query service. */ -export interface Query { - /** Config returns the current app config. */ - config(request?: QueryConfigRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - config: (request?: QueryConfigRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseConfigQuery extends ReactQueryParams { - request?: QueryConfigRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Config returns the current app config. */ useConfig: ({ request, options }: UseConfigQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Config returns the current app config. */ QueryConfigStore: { - new (): { - store: QueryStore; - config(request: QueryConfigRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/auth/v1beta1/auth.d.ts b/examples/authz/types/codegen/cosmos/auth/v1beta1/auth.d.ts deleted file mode 100644 index 66305369..00000000 --- a/examples/authz/types/codegen/cosmos/auth/v1beta1/auth.d.ts +++ /dev/null @@ -1,169 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * BaseAccount defines a base account type. It contains all the necessary fields - * for basic account functionality. Any custom account type should extend this - * type for additional functionality (e.g. vesting). - */ -export interface BaseAccount { - $typeUrl?: "/cosmos.auth.v1beta1.BaseAccount"; - address: string; - pubKey?: Any | undefined; - accountNumber: bigint; - sequence: bigint; -} -export interface BaseAccountProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.BaseAccount"; - value: Uint8Array; -} -/** - * BaseAccount defines a base account type. It contains all the necessary fields - * for basic account functionality. Any custom account type should extend this - * type for additional functionality (e.g. vesting). - */ -export interface BaseAccountAmino { - address?: string; - pub_key?: AnyAmino | undefined; - account_number?: string; - sequence?: string; -} -export interface BaseAccountAminoMsg { - type: "cosmos-sdk/BaseAccount"; - value: BaseAccountAmino; -} -/** - * BaseAccount defines a base account type. It contains all the necessary fields - * for basic account functionality. Any custom account type should extend this - * type for additional functionality (e.g. vesting). - */ -export interface BaseAccountSDKType { - $typeUrl?: "/cosmos.auth.v1beta1.BaseAccount"; - address: string; - pub_key?: AnySDKType | undefined; - account_number: bigint; - sequence: bigint; -} -/** ModuleAccount defines an account for modules that holds coins on a pool. */ -export interface ModuleAccount { - $typeUrl?: "/cosmos.auth.v1beta1.ModuleAccount"; - baseAccount?: BaseAccount | undefined; - name: string; - permissions: string[]; -} -export interface ModuleAccountProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.ModuleAccount"; - value: Uint8Array; -} -/** ModuleAccount defines an account for modules that holds coins on a pool. */ -export interface ModuleAccountAmino { - base_account?: BaseAccountAmino | undefined; - name?: string; - permissions?: string[]; -} -export interface ModuleAccountAminoMsg { - type: "cosmos-sdk/ModuleAccount"; - value: ModuleAccountAmino; -} -/** ModuleAccount defines an account for modules that holds coins on a pool. */ -export interface ModuleAccountSDKType { - $typeUrl?: "/cosmos.auth.v1beta1.ModuleAccount"; - base_account?: BaseAccountSDKType | undefined; - name: string; - permissions: string[]; -} -/** Params defines the parameters for the auth module. */ -export interface Params { - maxMemoCharacters: bigint; - txSigLimit: bigint; - txSizeCostPerByte: bigint; - sigVerifyCostEd25519: bigint; - sigVerifyCostSecp256k1: bigint; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.Params"; - value: Uint8Array; -} -/** Params defines the parameters for the auth module. */ -export interface ParamsAmino { - max_memo_characters?: string; - tx_sig_limit?: string; - tx_size_cost_per_byte?: string; - sig_verify_cost_ed25519?: string; - sig_verify_cost_secp256k1?: string; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params defines the parameters for the auth module. */ -export interface ParamsSDKType { - max_memo_characters: bigint; - tx_sig_limit: bigint; - tx_size_cost_per_byte: bigint; - sig_verify_cost_ed25519: bigint; - sig_verify_cost_secp256k1: bigint; -} -export declare const BaseAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is BaseAccount; - isSDK(o: any): o is BaseAccountSDKType; - isAmino(o: any): o is BaseAccountAmino; - encode(message: BaseAccount, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): BaseAccount; - fromJSON(object: any): BaseAccount; - toJSON(message: BaseAccount): unknown; - fromPartial(object: DeepPartial): BaseAccount; - fromSDK(object: BaseAccountSDKType): BaseAccount; - toSDK(message: BaseAccount): BaseAccountSDKType; - fromAmino(object: BaseAccountAmino): BaseAccount; - toAmino(message: BaseAccount): BaseAccountAmino; - fromAminoMsg(object: BaseAccountAminoMsg): BaseAccount; - toAminoMsg(message: BaseAccount): BaseAccountAminoMsg; - fromProtoMsg(message: BaseAccountProtoMsg): BaseAccount; - toProto(message: BaseAccount): Uint8Array; - toProtoMsg(message: BaseAccount): BaseAccountProtoMsg; -}; -export declare const ModuleAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is ModuleAccount; - isSDK(o: any): o is ModuleAccountSDKType; - isAmino(o: any): o is ModuleAccountAmino; - encode(message: ModuleAccount, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ModuleAccount; - fromJSON(object: any): ModuleAccount; - toJSON(message: ModuleAccount): unknown; - fromPartial(object: DeepPartial): ModuleAccount; - fromSDK(object: ModuleAccountSDKType): ModuleAccount; - toSDK(message: ModuleAccount): ModuleAccountSDKType; - fromAmino(object: ModuleAccountAmino): ModuleAccount; - toAmino(message: ModuleAccount): ModuleAccountAmino; - fromAminoMsg(object: ModuleAccountAminoMsg): ModuleAccount; - toAminoMsg(message: ModuleAccount): ModuleAccountAminoMsg; - fromProtoMsg(message: ModuleAccountProtoMsg): ModuleAccount; - toProto(message: ModuleAccount): Uint8Array; - toProtoMsg(message: ModuleAccount): ModuleAccountProtoMsg; -}; -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/auth/v1beta1/genesis.d.ts b/examples/authz/types/codegen/cosmos/auth/v1beta1/genesis.d.ts deleted file mode 100644 index b6eeeafd..00000000 --- a/examples/authz/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType } from "./auth"; -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the auth module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params: Params | undefined; - /** accounts are the accounts present at genesis. */ - accounts: Any[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the auth module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of the module. */ - params?: ParamsAmino | undefined; - /** accounts are the accounts present at genesis. */ - accounts?: AnyAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the auth module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType | undefined; - accounts: AnySDKType[]; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/auth/v1beta1/query.d.ts b/examples/authz/types/codegen/cosmos/auth/v1beta1/query.d.ts deleted file mode 100644 index 5f8653f2..00000000 --- a/examples/authz/types/codegen/cosmos/auth/v1beta1/query.d.ts +++ /dev/null @@ -1,618 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Params, ParamsAmino, ParamsSDKType, BaseAccount, BaseAccountProtoMsg, BaseAccountSDKType, ModuleAccount, ModuleAccountProtoMsg, ModuleAccountSDKType } from "./auth"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * QueryAccountsRequest is the request type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryAccountsRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountsRequest"; - value: Uint8Array; -} -/** - * QueryAccountsRequest is the request type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryAccountsRequestAminoMsg { - type: "cosmos-sdk/QueryAccountsRequest"; - value: QueryAccountsRequestAmino; -} -/** - * QueryAccountsRequest is the request type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryAccountsResponse is the response type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsResponse { - /** accounts are the existing accounts */ - accounts: (BaseAccount | Any)[] | Any[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryAccountsResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountsResponse"; - value: Uint8Array; -} -export type QueryAccountsResponseEncoded = Omit & { - /** accounts are the existing accounts */ accounts: (BaseAccountProtoMsg | AnyProtoMsg)[]; -}; -/** - * QueryAccountsResponse is the response type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsResponseAmino { - /** accounts are the existing accounts */ - accounts?: AnyAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryAccountsResponseAminoMsg { - type: "cosmos-sdk/QueryAccountsResponse"; - value: QueryAccountsResponseAmino; -} -/** - * QueryAccountsResponse is the response type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsResponseSDKType { - accounts: (BaseAccountSDKType | AnySDKType)[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryAccountRequest is the request type for the Query/Account RPC method. */ -export interface QueryAccountRequest { - /** address defines the address to query for. */ - address: string; -} -export interface QueryAccountRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountRequest"; - value: Uint8Array; -} -/** QueryAccountRequest is the request type for the Query/Account RPC method. */ -export interface QueryAccountRequestAmino { - /** address defines the address to query for. */ - address?: string; -} -export interface QueryAccountRequestAminoMsg { - type: "cosmos-sdk/QueryAccountRequest"; - value: QueryAccountRequestAmino; -} -/** QueryAccountRequest is the request type for the Query/Account RPC method. */ -export interface QueryAccountRequestSDKType { - address: string; -} -/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ -export interface QueryModuleAccountsRequest { -} -export interface QueryModuleAccountsRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryModuleAccountsRequest"; - value: Uint8Array; -} -/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ -export interface QueryModuleAccountsRequestAmino { -} -export interface QueryModuleAccountsRequestAminoMsg { - type: "cosmos-sdk/QueryModuleAccountsRequest"; - value: QueryModuleAccountsRequestAmino; -} -/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ -export interface QueryModuleAccountsRequestSDKType { -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params: Params | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; -} -/** QueryAccountResponse is the response type for the Query/Account RPC method. */ -export interface QueryAccountResponse { - /** account defines the account of the corresponding address. */ - account?: BaseAccount | Any | undefined; -} -export interface QueryAccountResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountResponse"; - value: Uint8Array; -} -export type QueryAccountResponseEncoded = Omit & { - /** account defines the account of the corresponding address. */ account?: BaseAccountProtoMsg | AnyProtoMsg | undefined; -}; -/** QueryAccountResponse is the response type for the Query/Account RPC method. */ -export interface QueryAccountResponseAmino { - /** account defines the account of the corresponding address. */ - account?: AnyAmino | undefined; -} -export interface QueryAccountResponseAminoMsg { - type: "cosmos-sdk/QueryAccountResponse"; - value: QueryAccountResponseAmino; -} -/** QueryAccountResponse is the response type for the Query/Account RPC method. */ -export interface QueryAccountResponseSDKType { - account?: BaseAccountSDKType | AnySDKType | undefined; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { -} -/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ -export interface QueryModuleAccountsResponse { - accounts: (ModuleAccount | Any)[] | Any[]; -} -export interface QueryModuleAccountsResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryModuleAccountsResponse"; - value: Uint8Array; -} -export type QueryModuleAccountsResponseEncoded = Omit & { - accounts: (ModuleAccountProtoMsg | AnyProtoMsg)[]; -}; -/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ -export interface QueryModuleAccountsResponseAmino { - accounts?: AnyAmino[]; -} -export interface QueryModuleAccountsResponseAminoMsg { - type: "cosmos-sdk/QueryModuleAccountsResponse"; - value: QueryModuleAccountsResponseAmino; -} -/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ -export interface QueryModuleAccountsResponseSDKType { - accounts: (ModuleAccountSDKType | AnySDKType)[]; -} -/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ -export interface Bech32PrefixRequest { -} -export interface Bech32PrefixRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.Bech32PrefixRequest"; - value: Uint8Array; -} -/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ -export interface Bech32PrefixRequestAmino { -} -export interface Bech32PrefixRequestAminoMsg { - type: "cosmos-sdk/Bech32PrefixRequest"; - value: Bech32PrefixRequestAmino; -} -/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ -export interface Bech32PrefixRequestSDKType { -} -/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ -export interface Bech32PrefixResponse { - bech32Prefix: string; -} -export interface Bech32PrefixResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.Bech32PrefixResponse"; - value: Uint8Array; -} -/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ -export interface Bech32PrefixResponseAmino { - bech32_prefix?: string; -} -export interface Bech32PrefixResponseAminoMsg { - type: "cosmos-sdk/Bech32PrefixResponse"; - value: Bech32PrefixResponseAmino; -} -/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ -export interface Bech32PrefixResponseSDKType { - bech32_prefix: string; -} -/** AddressBytesToStringRequest is the request type for AddressString rpc method */ -export interface AddressBytesToStringRequest { - addressBytes: Uint8Array; -} -export interface AddressBytesToStringRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.AddressBytesToStringRequest"; - value: Uint8Array; -} -/** AddressBytesToStringRequest is the request type for AddressString rpc method */ -export interface AddressBytesToStringRequestAmino { - address_bytes?: string; -} -export interface AddressBytesToStringRequestAminoMsg { - type: "cosmos-sdk/AddressBytesToStringRequest"; - value: AddressBytesToStringRequestAmino; -} -/** AddressBytesToStringRequest is the request type for AddressString rpc method */ -export interface AddressBytesToStringRequestSDKType { - address_bytes: Uint8Array; -} -/** AddressBytesToStringResponse is the response type for AddressString rpc method */ -export interface AddressBytesToStringResponse { - addressString: string; -} -export interface AddressBytesToStringResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.AddressBytesToStringResponse"; - value: Uint8Array; -} -/** AddressBytesToStringResponse is the response type for AddressString rpc method */ -export interface AddressBytesToStringResponseAmino { - address_string?: string; -} -export interface AddressBytesToStringResponseAminoMsg { - type: "cosmos-sdk/AddressBytesToStringResponse"; - value: AddressBytesToStringResponseAmino; -} -/** AddressBytesToStringResponse is the response type for AddressString rpc method */ -export interface AddressBytesToStringResponseSDKType { - address_string: string; -} -/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ -export interface AddressStringToBytesRequest { - addressString: string; -} -export interface AddressStringToBytesRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.AddressStringToBytesRequest"; - value: Uint8Array; -} -/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ -export interface AddressStringToBytesRequestAmino { - address_string?: string; -} -export interface AddressStringToBytesRequestAminoMsg { - type: "cosmos-sdk/AddressStringToBytesRequest"; - value: AddressStringToBytesRequestAmino; -} -/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ -export interface AddressStringToBytesRequestSDKType { - address_string: string; -} -/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ -export interface AddressStringToBytesResponse { - addressBytes: Uint8Array; -} -export interface AddressStringToBytesResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.AddressStringToBytesResponse"; - value: Uint8Array; -} -/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ -export interface AddressStringToBytesResponseAmino { - address_bytes?: string; -} -export interface AddressStringToBytesResponseAminoMsg { - type: "cosmos-sdk/AddressStringToBytesResponse"; - value: AddressStringToBytesResponseAmino; -} -/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ -export interface AddressStringToBytesResponseSDKType { - address_bytes: Uint8Array; -} -export declare const QueryAccountsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAccountsRequest; - isSDK(o: any): o is QueryAccountsRequestSDKType; - isAmino(o: any): o is QueryAccountsRequestAmino; - encode(message: QueryAccountsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAccountsRequest; - fromJSON(object: any): QueryAccountsRequest; - toJSON(message: QueryAccountsRequest): unknown; - fromPartial(object: DeepPartial): QueryAccountsRequest; - fromSDK(object: QueryAccountsRequestSDKType): QueryAccountsRequest; - toSDK(message: QueryAccountsRequest): QueryAccountsRequestSDKType; - fromAmino(object: QueryAccountsRequestAmino): QueryAccountsRequest; - toAmino(message: QueryAccountsRequest): QueryAccountsRequestAmino; - fromAminoMsg(object: QueryAccountsRequestAminoMsg): QueryAccountsRequest; - toAminoMsg(message: QueryAccountsRequest): QueryAccountsRequestAminoMsg; - fromProtoMsg(message: QueryAccountsRequestProtoMsg): QueryAccountsRequest; - toProto(message: QueryAccountsRequest): Uint8Array; - toProtoMsg(message: QueryAccountsRequest): QueryAccountsRequestProtoMsg; -}; -export declare const QueryAccountsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAccountsResponse; - isSDK(o: any): o is QueryAccountsResponseSDKType; - isAmino(o: any): o is QueryAccountsResponseAmino; - encode(message: QueryAccountsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAccountsResponse; - fromJSON(object: any): QueryAccountsResponse; - toJSON(message: QueryAccountsResponse): unknown; - fromPartial(object: DeepPartial): QueryAccountsResponse; - fromSDK(object: QueryAccountsResponseSDKType): QueryAccountsResponse; - toSDK(message: QueryAccountsResponse): QueryAccountsResponseSDKType; - fromAmino(object: QueryAccountsResponseAmino): QueryAccountsResponse; - toAmino(message: QueryAccountsResponse): QueryAccountsResponseAmino; - fromAminoMsg(object: QueryAccountsResponseAminoMsg): QueryAccountsResponse; - toAminoMsg(message: QueryAccountsResponse): QueryAccountsResponseAminoMsg; - fromProtoMsg(message: QueryAccountsResponseProtoMsg): QueryAccountsResponse; - toProto(message: QueryAccountsResponse): Uint8Array; - toProtoMsg(message: QueryAccountsResponse): QueryAccountsResponseProtoMsg; -}; -export declare const QueryAccountRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAccountRequest; - isSDK(o: any): o is QueryAccountRequestSDKType; - isAmino(o: any): o is QueryAccountRequestAmino; - encode(message: QueryAccountRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAccountRequest; - fromJSON(object: any): QueryAccountRequest; - toJSON(message: QueryAccountRequest): unknown; - fromPartial(object: DeepPartial): QueryAccountRequest; - fromSDK(object: QueryAccountRequestSDKType): QueryAccountRequest; - toSDK(message: QueryAccountRequest): QueryAccountRequestSDKType; - fromAmino(object: QueryAccountRequestAmino): QueryAccountRequest; - toAmino(message: QueryAccountRequest): QueryAccountRequestAmino; - fromAminoMsg(object: QueryAccountRequestAminoMsg): QueryAccountRequest; - toAminoMsg(message: QueryAccountRequest): QueryAccountRequestAminoMsg; - fromProtoMsg(message: QueryAccountRequestProtoMsg): QueryAccountRequest; - toProto(message: QueryAccountRequest): Uint8Array; - toProtoMsg(message: QueryAccountRequest): QueryAccountRequestProtoMsg; -}; -export declare const QueryModuleAccountsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryModuleAccountsRequest; - isSDK(o: any): o is QueryModuleAccountsRequestSDKType; - isAmino(o: any): o is QueryModuleAccountsRequestAmino; - encode(_: QueryModuleAccountsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryModuleAccountsRequest; - fromJSON(_: any): QueryModuleAccountsRequest; - toJSON(_: QueryModuleAccountsRequest): unknown; - fromPartial(_: DeepPartial): QueryModuleAccountsRequest; - fromSDK(_: QueryModuleAccountsRequestSDKType): QueryModuleAccountsRequest; - toSDK(_: QueryModuleAccountsRequest): QueryModuleAccountsRequestSDKType; - fromAmino(_: QueryModuleAccountsRequestAmino): QueryModuleAccountsRequest; - toAmino(_: QueryModuleAccountsRequest): QueryModuleAccountsRequestAmino; - fromAminoMsg(object: QueryModuleAccountsRequestAminoMsg): QueryModuleAccountsRequest; - toAminoMsg(message: QueryModuleAccountsRequest): QueryModuleAccountsRequestAminoMsg; - fromProtoMsg(message: QueryModuleAccountsRequestProtoMsg): QueryModuleAccountsRequest; - toProto(message: QueryModuleAccountsRequest): Uint8Array; - toProtoMsg(message: QueryModuleAccountsRequest): QueryModuleAccountsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryAccountResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAccountResponse; - isSDK(o: any): o is QueryAccountResponseSDKType; - isAmino(o: any): o is QueryAccountResponseAmino; - encode(message: QueryAccountResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAccountResponse; - fromJSON(object: any): QueryAccountResponse; - toJSON(message: QueryAccountResponse): unknown; - fromPartial(object: DeepPartial): QueryAccountResponse; - fromSDK(object: QueryAccountResponseSDKType): QueryAccountResponse; - toSDK(message: QueryAccountResponse): QueryAccountResponseSDKType; - fromAmino(object: QueryAccountResponseAmino): QueryAccountResponse; - toAmino(message: QueryAccountResponse): QueryAccountResponseAmino; - fromAminoMsg(object: QueryAccountResponseAminoMsg): QueryAccountResponse; - toAminoMsg(message: QueryAccountResponse): QueryAccountResponseAminoMsg; - fromProtoMsg(message: QueryAccountResponseProtoMsg): QueryAccountResponse; - toProto(message: QueryAccountResponse): Uint8Array; - toProtoMsg(message: QueryAccountResponse): QueryAccountResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: DeepPartial): QueryParamsRequest; - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryModuleAccountsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryModuleAccountsResponse; - isSDK(o: any): o is QueryModuleAccountsResponseSDKType; - isAmino(o: any): o is QueryModuleAccountsResponseAmino; - encode(message: QueryModuleAccountsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryModuleAccountsResponse; - fromJSON(object: any): QueryModuleAccountsResponse; - toJSON(message: QueryModuleAccountsResponse): unknown; - fromPartial(object: DeepPartial): QueryModuleAccountsResponse; - fromSDK(object: QueryModuleAccountsResponseSDKType): QueryModuleAccountsResponse; - toSDK(message: QueryModuleAccountsResponse): QueryModuleAccountsResponseSDKType; - fromAmino(object: QueryModuleAccountsResponseAmino): QueryModuleAccountsResponse; - toAmino(message: QueryModuleAccountsResponse): QueryModuleAccountsResponseAmino; - fromAminoMsg(object: QueryModuleAccountsResponseAminoMsg): QueryModuleAccountsResponse; - toAminoMsg(message: QueryModuleAccountsResponse): QueryModuleAccountsResponseAminoMsg; - fromProtoMsg(message: QueryModuleAccountsResponseProtoMsg): QueryModuleAccountsResponse; - toProto(message: QueryModuleAccountsResponse): Uint8Array; - toProtoMsg(message: QueryModuleAccountsResponse): QueryModuleAccountsResponseProtoMsg; -}; -export declare const Bech32PrefixRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is Bech32PrefixRequest; - isSDK(o: any): o is Bech32PrefixRequestSDKType; - isAmino(o: any): o is Bech32PrefixRequestAmino; - encode(_: Bech32PrefixRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Bech32PrefixRequest; - fromJSON(_: any): Bech32PrefixRequest; - toJSON(_: Bech32PrefixRequest): unknown; - fromPartial(_: DeepPartial): Bech32PrefixRequest; - fromSDK(_: Bech32PrefixRequestSDKType): Bech32PrefixRequest; - toSDK(_: Bech32PrefixRequest): Bech32PrefixRequestSDKType; - fromAmino(_: Bech32PrefixRequestAmino): Bech32PrefixRequest; - toAmino(_: Bech32PrefixRequest): Bech32PrefixRequestAmino; - fromAminoMsg(object: Bech32PrefixRequestAminoMsg): Bech32PrefixRequest; - toAminoMsg(message: Bech32PrefixRequest): Bech32PrefixRequestAminoMsg; - fromProtoMsg(message: Bech32PrefixRequestProtoMsg): Bech32PrefixRequest; - toProto(message: Bech32PrefixRequest): Uint8Array; - toProtoMsg(message: Bech32PrefixRequest): Bech32PrefixRequestProtoMsg; -}; -export declare const Bech32PrefixResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is Bech32PrefixResponse; - isSDK(o: any): o is Bech32PrefixResponseSDKType; - isAmino(o: any): o is Bech32PrefixResponseAmino; - encode(message: Bech32PrefixResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Bech32PrefixResponse; - fromJSON(object: any): Bech32PrefixResponse; - toJSON(message: Bech32PrefixResponse): unknown; - fromPartial(object: DeepPartial): Bech32PrefixResponse; - fromSDK(object: Bech32PrefixResponseSDKType): Bech32PrefixResponse; - toSDK(message: Bech32PrefixResponse): Bech32PrefixResponseSDKType; - fromAmino(object: Bech32PrefixResponseAmino): Bech32PrefixResponse; - toAmino(message: Bech32PrefixResponse): Bech32PrefixResponseAmino; - fromAminoMsg(object: Bech32PrefixResponseAminoMsg): Bech32PrefixResponse; - toAminoMsg(message: Bech32PrefixResponse): Bech32PrefixResponseAminoMsg; - fromProtoMsg(message: Bech32PrefixResponseProtoMsg): Bech32PrefixResponse; - toProto(message: Bech32PrefixResponse): Uint8Array; - toProtoMsg(message: Bech32PrefixResponse): Bech32PrefixResponseProtoMsg; -}; -export declare const AddressBytesToStringRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AddressBytesToStringRequest; - isSDK(o: any): o is AddressBytesToStringRequestSDKType; - isAmino(o: any): o is AddressBytesToStringRequestAmino; - encode(message: AddressBytesToStringRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AddressBytesToStringRequest; - fromJSON(object: any): AddressBytesToStringRequest; - toJSON(message: AddressBytesToStringRequest): unknown; - fromPartial(object: DeepPartial): AddressBytesToStringRequest; - fromSDK(object: AddressBytesToStringRequestSDKType): AddressBytesToStringRequest; - toSDK(message: AddressBytesToStringRequest): AddressBytesToStringRequestSDKType; - fromAmino(object: AddressBytesToStringRequestAmino): AddressBytesToStringRequest; - toAmino(message: AddressBytesToStringRequest): AddressBytesToStringRequestAmino; - fromAminoMsg(object: AddressBytesToStringRequestAminoMsg): AddressBytesToStringRequest; - toAminoMsg(message: AddressBytesToStringRequest): AddressBytesToStringRequestAminoMsg; - fromProtoMsg(message: AddressBytesToStringRequestProtoMsg): AddressBytesToStringRequest; - toProto(message: AddressBytesToStringRequest): Uint8Array; - toProtoMsg(message: AddressBytesToStringRequest): AddressBytesToStringRequestProtoMsg; -}; -export declare const AddressBytesToStringResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AddressBytesToStringResponse; - isSDK(o: any): o is AddressBytesToStringResponseSDKType; - isAmino(o: any): o is AddressBytesToStringResponseAmino; - encode(message: AddressBytesToStringResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AddressBytesToStringResponse; - fromJSON(object: any): AddressBytesToStringResponse; - toJSON(message: AddressBytesToStringResponse): unknown; - fromPartial(object: DeepPartial): AddressBytesToStringResponse; - fromSDK(object: AddressBytesToStringResponseSDKType): AddressBytesToStringResponse; - toSDK(message: AddressBytesToStringResponse): AddressBytesToStringResponseSDKType; - fromAmino(object: AddressBytesToStringResponseAmino): AddressBytesToStringResponse; - toAmino(message: AddressBytesToStringResponse): AddressBytesToStringResponseAmino; - fromAminoMsg(object: AddressBytesToStringResponseAminoMsg): AddressBytesToStringResponse; - toAminoMsg(message: AddressBytesToStringResponse): AddressBytesToStringResponseAminoMsg; - fromProtoMsg(message: AddressBytesToStringResponseProtoMsg): AddressBytesToStringResponse; - toProto(message: AddressBytesToStringResponse): Uint8Array; - toProtoMsg(message: AddressBytesToStringResponse): AddressBytesToStringResponseProtoMsg; -}; -export declare const AddressStringToBytesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AddressStringToBytesRequest; - isSDK(o: any): o is AddressStringToBytesRequestSDKType; - isAmino(o: any): o is AddressStringToBytesRequestAmino; - encode(message: AddressStringToBytesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AddressStringToBytesRequest; - fromJSON(object: any): AddressStringToBytesRequest; - toJSON(message: AddressStringToBytesRequest): unknown; - fromPartial(object: DeepPartial): AddressStringToBytesRequest; - fromSDK(object: AddressStringToBytesRequestSDKType): AddressStringToBytesRequest; - toSDK(message: AddressStringToBytesRequest): AddressStringToBytesRequestSDKType; - fromAmino(object: AddressStringToBytesRequestAmino): AddressStringToBytesRequest; - toAmino(message: AddressStringToBytesRequest): AddressStringToBytesRequestAmino; - fromAminoMsg(object: AddressStringToBytesRequestAminoMsg): AddressStringToBytesRequest; - toAminoMsg(message: AddressStringToBytesRequest): AddressStringToBytesRequestAminoMsg; - fromProtoMsg(message: AddressStringToBytesRequestProtoMsg): AddressStringToBytesRequest; - toProto(message: AddressStringToBytesRequest): Uint8Array; - toProtoMsg(message: AddressStringToBytesRequest): AddressStringToBytesRequestProtoMsg; -}; -export declare const AddressStringToBytesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AddressStringToBytesResponse; - isSDK(o: any): o is AddressStringToBytesResponseSDKType; - isAmino(o: any): o is AddressStringToBytesResponseAmino; - encode(message: AddressStringToBytesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AddressStringToBytesResponse; - fromJSON(object: any): AddressStringToBytesResponse; - toJSON(message: AddressStringToBytesResponse): unknown; - fromPartial(object: DeepPartial): AddressStringToBytesResponse; - fromSDK(object: AddressStringToBytesResponseSDKType): AddressStringToBytesResponse; - toSDK(message: AddressStringToBytesResponse): AddressStringToBytesResponseSDKType; - fromAmino(object: AddressStringToBytesResponseAmino): AddressStringToBytesResponse; - toAmino(message: AddressStringToBytesResponse): AddressStringToBytesResponseAmino; - fromAminoMsg(object: AddressStringToBytesResponseAminoMsg): AddressStringToBytesResponse; - toAminoMsg(message: AddressStringToBytesResponse): AddressStringToBytesResponseAminoMsg; - fromProtoMsg(message: AddressStringToBytesResponseProtoMsg): AddressStringToBytesResponse; - toProto(message: AddressStringToBytesResponse): Uint8Array; - toProtoMsg(message: AddressStringToBytesResponse): AddressStringToBytesResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/auth/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/auth/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 6d17e2b5..00000000 --- a/examples/authz/types/codegen/cosmos/auth/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,122 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryAccountsRequest, QueryAccountsResponse, QueryAccountRequest, QueryAccountResponse, QueryParamsRequest, QueryParamsResponse, QueryModuleAccountsRequest, QueryModuleAccountsResponse, Bech32PrefixRequest, Bech32PrefixResponse, AddressBytesToStringRequest, AddressBytesToStringResponse, AddressStringToBytesRequest, AddressStringToBytesResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** - * Accounts returns all the existing accounts - * - * Since: cosmos-sdk 0.43 - */ - accounts(request?: QueryAccountsRequest): Promise; - /** Account returns account details based on address. */ - account(request: QueryAccountRequest): Promise; - /** Params queries all parameters. */ - params(request?: QueryParamsRequest): Promise; - /** ModuleAccounts returns all the existing module accounts. */ - moduleAccounts(request?: QueryModuleAccountsRequest): Promise; - /** Bech32 queries bech32Prefix */ - bech32Prefix(request?: Bech32PrefixRequest): Promise; - /** AddressBytesToString converts Account Address bytes to string */ - addressBytesToString(request: AddressBytesToStringRequest): Promise; - /** AddressStringToBytes converts Address string to bytes */ - addressStringToBytes(request: AddressStringToBytesRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - accounts: (request?: QueryAccountsRequest) => Promise; - account: (request: QueryAccountRequest) => Promise; - params: (request?: QueryParamsRequest) => Promise; - moduleAccounts: (request?: QueryModuleAccountsRequest) => Promise; - bech32Prefix: (request?: Bech32PrefixRequest) => Promise; - addressBytesToString: (request: AddressBytesToStringRequest) => Promise; - addressStringToBytes: (request: AddressStringToBytesRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseAccountsQuery extends ReactQueryParams { - request?: QueryAccountsRequest; -} -export interface UseAccountQuery extends ReactQueryParams { - request: QueryAccountRequest; -} -export interface UseParamsQuery extends ReactQueryParams { - request?: QueryParamsRequest; -} -export interface UseModuleAccountsQuery extends ReactQueryParams { - request?: QueryModuleAccountsRequest; -} -export interface UseBech32PrefixQuery extends ReactQueryParams { - request?: Bech32PrefixRequest; -} -export interface UseAddressBytesToStringQuery extends ReactQueryParams { - request: AddressBytesToStringRequest; -} -export interface UseAddressStringToBytesQuery extends ReactQueryParams { - request: AddressStringToBytesRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** - * Accounts returns all the existing accounts - * - * Since: cosmos-sdk 0.43 - */ - useAccounts: ({ request, options }: UseAccountsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Account returns account details based on address. */ useAccount: ({ request, options }: UseAccountQuery) => import("@tanstack/react-query").UseQueryResult; - /** Params queries all parameters. */ useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - /** ModuleAccounts returns all the existing module accounts. */ useModuleAccounts: ({ request, options }: UseModuleAccountsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Bech32 queries bech32Prefix */ useBech32Prefix: ({ request, options }: UseBech32PrefixQuery) => import("@tanstack/react-query").UseQueryResult; - /** AddressBytesToString converts Account Address bytes to string */ useAddressBytesToString: ({ request, options }: UseAddressBytesToStringQuery) => import("@tanstack/react-query").UseQueryResult; - /** AddressStringToBytes converts Address string to bytes */ useAddressStringToBytes: ({ request, options }: UseAddressStringToBytesQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** - * Accounts returns all the existing accounts - * - * Since: cosmos-sdk 0.43 - */ - QueryAccountsStore: { - new (): { - store: QueryStore; - accounts(request: QueryAccountsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Account returns account details based on address. */ QueryAccountStore: { - new (): { - store: QueryStore; - account(request: QueryAccountRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Params queries all parameters. */ QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** ModuleAccounts returns all the existing module accounts. */ QueryModuleAccountsStore: { - new (): { - store: QueryStore; - moduleAccounts(request: QueryModuleAccountsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Bech32 queries bech32Prefix */ QueryBech32PrefixStore: { - new (): { - store: QueryStore; - bech32Prefix(request: Bech32PrefixRequest): import("../../../mobx").MobxResponse; - }; - }; - /** AddressBytesToString converts Account Address bytes to string */ QueryAddressBytesToStringStore: { - new (): { - store: QueryStore; - addressBytesToString(request: AddressBytesToStringRequest): import("../../../mobx").MobxResponse; - }; - }; - /** AddressStringToBytes converts Address string to bytes */ QueryAddressStringToBytesStore: { - new (): { - store: QueryStore; - addressStringToBytes(request: AddressStringToBytesRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/authz/v1beta1/authz.d.ts b/examples/authz/types/codegen/cosmos/authz/v1beta1/authz.d.ts deleted file mode 100644 index 1fdaa53a..00000000 --- a/examples/authz/types/codegen/cosmos/authz/v1beta1/authz.d.ts +++ /dev/null @@ -1,230 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { SendAuthorization, SendAuthorizationProtoMsg, SendAuthorizationSDKType } from "../../bank/v1beta1/authz"; -import { StakeAuthorization, StakeAuthorizationProtoMsg, StakeAuthorizationSDKType } from "../../staking/v1beta1/authz"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * GenericAuthorization gives the grantee unrestricted permissions to execute - * the provided method on behalf of the granter's account. - */ -export interface GenericAuthorization { - $typeUrl?: "/cosmos.authz.v1beta1.GenericAuthorization"; - /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ - msg: string; -} -export interface GenericAuthorizationProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.GenericAuthorization"; - value: Uint8Array; -} -/** - * GenericAuthorization gives the grantee unrestricted permissions to execute - * the provided method on behalf of the granter's account. - */ -export interface GenericAuthorizationAmino { - /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ - msg?: string; -} -export interface GenericAuthorizationAminoMsg { - type: "cosmos-sdk/GenericAuthorization"; - value: GenericAuthorizationAmino; -} -/** - * GenericAuthorization gives the grantee unrestricted permissions to execute - * the provided method on behalf of the granter's account. - */ -export interface GenericAuthorizationSDKType { - $typeUrl?: "/cosmos.authz.v1beta1.GenericAuthorization"; - msg: string; -} -/** - * Grant gives permissions to execute - * the provide method with expiration time. - */ -export interface Grant { - authorization?: GenericAuthorization | SendAuthorization | StakeAuthorization | Any | undefined; - /** - * time when the grant will expire and will be pruned. If null, then the grant - * doesn't have a time expiration (other conditions in `authorization` - * may apply to invalidate the grant) - */ - expiration?: Date | undefined; -} -export interface GrantProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.Grant"; - value: Uint8Array; -} -export type GrantEncoded = Omit & { - authorization?: GenericAuthorizationProtoMsg | SendAuthorizationProtoMsg | StakeAuthorizationProtoMsg | AnyProtoMsg | undefined; -}; -/** - * Grant gives permissions to execute - * the provide method with expiration time. - */ -export interface GrantAmino { - authorization?: AnyAmino | undefined; - /** - * time when the grant will expire and will be pruned. If null, then the grant - * doesn't have a time expiration (other conditions in `authorization` - * may apply to invalidate the grant) - */ - expiration?: string | undefined; -} -export interface GrantAminoMsg { - type: "cosmos-sdk/Grant"; - value: GrantAmino; -} -/** - * Grant gives permissions to execute - * the provide method with expiration time. - */ -export interface GrantSDKType { - authorization?: GenericAuthorizationSDKType | SendAuthorizationSDKType | StakeAuthorizationSDKType | AnySDKType | undefined; - expiration?: Date | undefined; -} -/** - * GrantAuthorization extends a grant with both the addresses of the grantee and granter. - * It is used in genesis.proto and query.proto - */ -export interface GrantAuthorization { - granter: string; - grantee: string; - authorization?: GenericAuthorization | SendAuthorization | StakeAuthorization | Any | undefined; - expiration?: Date | undefined; -} -export interface GrantAuthorizationProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.GrantAuthorization"; - value: Uint8Array; -} -export type GrantAuthorizationEncoded = Omit & { - authorization?: GenericAuthorizationProtoMsg | SendAuthorizationProtoMsg | StakeAuthorizationProtoMsg | AnyProtoMsg | undefined; -}; -/** - * GrantAuthorization extends a grant with both the addresses of the grantee and granter. - * It is used in genesis.proto and query.proto - */ -export interface GrantAuthorizationAmino { - granter?: string; - grantee?: string; - authorization?: AnyAmino | undefined; - expiration?: string | undefined; -} -export interface GrantAuthorizationAminoMsg { - type: "cosmos-sdk/GrantAuthorization"; - value: GrantAuthorizationAmino; -} -/** - * GrantAuthorization extends a grant with both the addresses of the grantee and granter. - * It is used in genesis.proto and query.proto - */ -export interface GrantAuthorizationSDKType { - granter: string; - grantee: string; - authorization?: GenericAuthorizationSDKType | SendAuthorizationSDKType | StakeAuthorizationSDKType | AnySDKType | undefined; - expiration?: Date | undefined; -} -/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ -export interface GrantQueueItem { - /** msg_type_urls contains the list of TypeURL of a sdk.Msg. */ - msgTypeUrls: string[]; -} -export interface GrantQueueItemProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.GrantQueueItem"; - value: Uint8Array; -} -/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ -export interface GrantQueueItemAmino { - /** msg_type_urls contains the list of TypeURL of a sdk.Msg. */ - msg_type_urls?: string[]; -} -export interface GrantQueueItemAminoMsg { - type: "cosmos-sdk/GrantQueueItem"; - value: GrantQueueItemAmino; -} -/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ -export interface GrantQueueItemSDKType { - msg_type_urls: string[]; -} -export declare const GenericAuthorization: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenericAuthorization; - isSDK(o: any): o is GenericAuthorizationSDKType; - isAmino(o: any): o is GenericAuthorizationAmino; - encode(message: GenericAuthorization, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenericAuthorization; - fromJSON(object: any): GenericAuthorization; - toJSON(message: GenericAuthorization): unknown; - fromPartial(object: DeepPartial): GenericAuthorization; - fromSDK(object: GenericAuthorizationSDKType): GenericAuthorization; - toSDK(message: GenericAuthorization): GenericAuthorizationSDKType; - fromAmino(object: GenericAuthorizationAmino): GenericAuthorization; - toAmino(message: GenericAuthorization): GenericAuthorizationAmino; - fromAminoMsg(object: GenericAuthorizationAminoMsg): GenericAuthorization; - toAminoMsg(message: GenericAuthorization): GenericAuthorizationAminoMsg; - fromProtoMsg(message: GenericAuthorizationProtoMsg): GenericAuthorization; - toProto(message: GenericAuthorization): Uint8Array; - toProtoMsg(message: GenericAuthorization): GenericAuthorizationProtoMsg; -}; -export declare const Grant: { - typeUrl: string; - aminoType: string; - is(o: any): o is Grant; - isSDK(o: any): o is GrantSDKType; - isAmino(o: any): o is GrantAmino; - encode(message: Grant, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Grant; - fromJSON(object: any): Grant; - toJSON(message: Grant): unknown; - fromPartial(object: DeepPartial): Grant; - fromSDK(object: GrantSDKType): Grant; - toSDK(message: Grant): GrantSDKType; - fromAmino(object: GrantAmino): Grant; - toAmino(message: Grant): GrantAmino; - fromAminoMsg(object: GrantAminoMsg): Grant; - toAminoMsg(message: Grant): GrantAminoMsg; - fromProtoMsg(message: GrantProtoMsg): Grant; - toProto(message: Grant): Uint8Array; - toProtoMsg(message: Grant): GrantProtoMsg; -}; -export declare const GrantAuthorization: { - typeUrl: string; - aminoType: string; - is(o: any): o is GrantAuthorization; - isSDK(o: any): o is GrantAuthorizationSDKType; - isAmino(o: any): o is GrantAuthorizationAmino; - encode(message: GrantAuthorization, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GrantAuthorization; - fromJSON(object: any): GrantAuthorization; - toJSON(message: GrantAuthorization): unknown; - fromPartial(object: DeepPartial): GrantAuthorization; - fromSDK(object: GrantAuthorizationSDKType): GrantAuthorization; - toSDK(message: GrantAuthorization): GrantAuthorizationSDKType; - fromAmino(object: GrantAuthorizationAmino): GrantAuthorization; - toAmino(message: GrantAuthorization): GrantAuthorizationAmino; - fromAminoMsg(object: GrantAuthorizationAminoMsg): GrantAuthorization; - toAminoMsg(message: GrantAuthorization): GrantAuthorizationAminoMsg; - fromProtoMsg(message: GrantAuthorizationProtoMsg): GrantAuthorization; - toProto(message: GrantAuthorization): Uint8Array; - toProtoMsg(message: GrantAuthorization): GrantAuthorizationProtoMsg; -}; -export declare const GrantQueueItem: { - typeUrl: string; - aminoType: string; - is(o: any): o is GrantQueueItem; - isSDK(o: any): o is GrantQueueItemSDKType; - isAmino(o: any): o is GrantQueueItemAmino; - encode(message: GrantQueueItem, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GrantQueueItem; - fromJSON(object: any): GrantQueueItem; - toJSON(message: GrantQueueItem): unknown; - fromPartial(object: DeepPartial): GrantQueueItem; - fromSDK(object: GrantQueueItemSDKType): GrantQueueItem; - toSDK(message: GrantQueueItem): GrantQueueItemSDKType; - fromAmino(object: GrantQueueItemAmino): GrantQueueItem; - toAmino(message: GrantQueueItem): GrantQueueItemAmino; - fromAminoMsg(object: GrantQueueItemAminoMsg): GrantQueueItem; - toAminoMsg(message: GrantQueueItem): GrantQueueItemAminoMsg; - fromProtoMsg(message: GrantQueueItemProtoMsg): GrantQueueItem; - toProto(message: GrantQueueItem): Uint8Array; - toProtoMsg(message: GrantQueueItem): GrantQueueItemProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/authz/v1beta1/event.d.ts b/examples/authz/types/codegen/cosmos/authz/v1beta1/event.d.ts deleted file mode 100644 index fefd89cb..00000000 --- a/examples/authz/types/codegen/cosmos/authz/v1beta1/event.d.ts +++ /dev/null @@ -1,108 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** EventGrant is emitted on Msg/Grant */ -export interface EventGrant { - /** Msg type URL for which an autorization is granted */ - msgTypeUrl: string; - /** Granter account address */ - granter: string; - /** Grantee account address */ - grantee: string; -} -export interface EventGrantProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.EventGrant"; - value: Uint8Array; -} -/** EventGrant is emitted on Msg/Grant */ -export interface EventGrantAmino { - /** Msg type URL for which an autorization is granted */ - msg_type_url?: string; - /** Granter account address */ - granter?: string; - /** Grantee account address */ - grantee?: string; -} -export interface EventGrantAminoMsg { - type: "cosmos-sdk/EventGrant"; - value: EventGrantAmino; -} -/** EventGrant is emitted on Msg/Grant */ -export interface EventGrantSDKType { - msg_type_url: string; - granter: string; - grantee: string; -} -/** EventRevoke is emitted on Msg/Revoke */ -export interface EventRevoke { - /** Msg type URL for which an autorization is revoked */ - msgTypeUrl: string; - /** Granter account address */ - granter: string; - /** Grantee account address */ - grantee: string; -} -export interface EventRevokeProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.EventRevoke"; - value: Uint8Array; -} -/** EventRevoke is emitted on Msg/Revoke */ -export interface EventRevokeAmino { - /** Msg type URL for which an autorization is revoked */ - msg_type_url?: string; - /** Granter account address */ - granter?: string; - /** Grantee account address */ - grantee?: string; -} -export interface EventRevokeAminoMsg { - type: "cosmos-sdk/EventRevoke"; - value: EventRevokeAmino; -} -/** EventRevoke is emitted on Msg/Revoke */ -export interface EventRevokeSDKType { - msg_type_url: string; - granter: string; - grantee: string; -} -export declare const EventGrant: { - typeUrl: string; - aminoType: string; - is(o: any): o is EventGrant; - isSDK(o: any): o is EventGrantSDKType; - isAmino(o: any): o is EventGrantAmino; - encode(message: EventGrant, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EventGrant; - fromJSON(object: any): EventGrant; - toJSON(message: EventGrant): unknown; - fromPartial(object: DeepPartial): EventGrant; - fromSDK(object: EventGrantSDKType): EventGrant; - toSDK(message: EventGrant): EventGrantSDKType; - fromAmino(object: EventGrantAmino): EventGrant; - toAmino(message: EventGrant): EventGrantAmino; - fromAminoMsg(object: EventGrantAminoMsg): EventGrant; - toAminoMsg(message: EventGrant): EventGrantAminoMsg; - fromProtoMsg(message: EventGrantProtoMsg): EventGrant; - toProto(message: EventGrant): Uint8Array; - toProtoMsg(message: EventGrant): EventGrantProtoMsg; -}; -export declare const EventRevoke: { - typeUrl: string; - aminoType: string; - is(o: any): o is EventRevoke; - isSDK(o: any): o is EventRevokeSDKType; - isAmino(o: any): o is EventRevokeAmino; - encode(message: EventRevoke, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EventRevoke; - fromJSON(object: any): EventRevoke; - toJSON(message: EventRevoke): unknown; - fromPartial(object: DeepPartial): EventRevoke; - fromSDK(object: EventRevokeSDKType): EventRevoke; - toSDK(message: EventRevoke): EventRevokeSDKType; - fromAmino(object: EventRevokeAmino): EventRevoke; - toAmino(message: EventRevoke): EventRevokeAmino; - fromAminoMsg(object: EventRevokeAminoMsg): EventRevoke; - toAminoMsg(message: EventRevoke): EventRevokeAminoMsg; - fromProtoMsg(message: EventRevokeProtoMsg): EventRevoke; - toProto(message: EventRevoke): Uint8Array; - toProtoMsg(message: EventRevoke): EventRevokeProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/authz/v1beta1/genesis.d.ts b/examples/authz/types/codegen/cosmos/authz/v1beta1/genesis.d.ts deleted file mode 100644 index 475a7287..00000000 --- a/examples/authz/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { GrantAuthorization, GrantAuthorizationAmino, GrantAuthorizationSDKType } from "./authz"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the authz module's genesis state. */ -export interface GenesisState { - authorization: GrantAuthorization[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the authz module's genesis state. */ -export interface GenesisStateAmino { - authorization?: GrantAuthorizationAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the authz module's genesis state. */ -export interface GenesisStateSDKType { - authorization: GrantAuthorizationSDKType[]; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/authz/v1beta1/query.d.ts b/examples/authz/types/codegen/cosmos/authz/v1beta1/query.d.ts deleted file mode 100644 index 407cb422..00000000 --- a/examples/authz/types/codegen/cosmos/authz/v1beta1/query.d.ts +++ /dev/null @@ -1,294 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantAmino, GrantSDKType, GrantAuthorization, GrantAuthorizationAmino, GrantAuthorizationSDKType } from "./authz"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ -export interface QueryGrantsRequest { - granter: string; - grantee: string; - /** Optional, msg_type_url, when set, will query only grants matching given msg type. */ - msgTypeUrl: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryGrantsRequestProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGrantsRequest"; - value: Uint8Array; -} -/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ -export interface QueryGrantsRequestAmino { - granter?: string; - grantee?: string; - /** Optional, msg_type_url, when set, will query only grants matching given msg type. */ - msg_type_url?: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryGrantsRequestAminoMsg { - type: "cosmos-sdk/QueryGrantsRequest"; - value: QueryGrantsRequestAmino; -} -/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ -export interface QueryGrantsRequestSDKType { - granter: string; - grantee: string; - msg_type_url: string; - pagination?: PageRequestSDKType | undefined; -} -/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ -export interface QueryGrantsResponse { - /** authorizations is a list of grants granted for grantee by granter. */ - grants: Grant[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryGrantsResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGrantsResponse"; - value: Uint8Array; -} -/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ -export interface QueryGrantsResponseAmino { - /** authorizations is a list of grants granted for grantee by granter. */ - grants?: GrantAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryGrantsResponseAminoMsg { - type: "cosmos-sdk/QueryGrantsResponse"; - value: QueryGrantsResponseAmino; -} -/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ -export interface QueryGrantsResponseSDKType { - grants: GrantSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsRequest { - granter: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryGranterGrantsRequestProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGranterGrantsRequest"; - value: Uint8Array; -} -/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsRequestAmino { - granter?: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryGranterGrantsRequestAminoMsg { - type: "cosmos-sdk/QueryGranterGrantsRequest"; - value: QueryGranterGrantsRequestAmino; -} -/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsRequestSDKType { - granter: string; - pagination?: PageRequestSDKType | undefined; -} -/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsResponse { - /** grants is a list of grants granted by the granter. */ - grants: GrantAuthorization[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryGranterGrantsResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGranterGrantsResponse"; - value: Uint8Array; -} -/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsResponseAmino { - /** grants is a list of grants granted by the granter. */ - grants?: GrantAuthorizationAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryGranterGrantsResponseAminoMsg { - type: "cosmos-sdk/QueryGranterGrantsResponse"; - value: QueryGranterGrantsResponseAmino; -} -/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsResponseSDKType { - grants: GrantAuthorizationSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ -export interface QueryGranteeGrantsRequest { - grantee: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryGranteeGrantsRequestProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGranteeGrantsRequest"; - value: Uint8Array; -} -/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ -export interface QueryGranteeGrantsRequestAmino { - grantee?: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryGranteeGrantsRequestAminoMsg { - type: "cosmos-sdk/QueryGranteeGrantsRequest"; - value: QueryGranteeGrantsRequestAmino; -} -/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ -export interface QueryGranteeGrantsRequestSDKType { - grantee: string; - pagination?: PageRequestSDKType | undefined; -} -/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ -export interface QueryGranteeGrantsResponse { - /** grants is a list of grants granted to the grantee. */ - grants: GrantAuthorization[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryGranteeGrantsResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGranteeGrantsResponse"; - value: Uint8Array; -} -/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ -export interface QueryGranteeGrantsResponseAmino { - /** grants is a list of grants granted to the grantee. */ - grants?: GrantAuthorizationAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryGranteeGrantsResponseAminoMsg { - type: "cosmos-sdk/QueryGranteeGrantsResponse"; - value: QueryGranteeGrantsResponseAmino; -} -/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ -export interface QueryGranteeGrantsResponseSDKType { - grants: GrantAuthorizationSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -export declare const QueryGrantsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGrantsRequest; - isSDK(o: any): o is QueryGrantsRequestSDKType; - isAmino(o: any): o is QueryGrantsRequestAmino; - encode(message: QueryGrantsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGrantsRequest; - fromJSON(object: any): QueryGrantsRequest; - toJSON(message: QueryGrantsRequest): unknown; - fromPartial(object: DeepPartial): QueryGrantsRequest; - fromSDK(object: QueryGrantsRequestSDKType): QueryGrantsRequest; - toSDK(message: QueryGrantsRequest): QueryGrantsRequestSDKType; - fromAmino(object: QueryGrantsRequestAmino): QueryGrantsRequest; - toAmino(message: QueryGrantsRequest): QueryGrantsRequestAmino; - fromAminoMsg(object: QueryGrantsRequestAminoMsg): QueryGrantsRequest; - toAminoMsg(message: QueryGrantsRequest): QueryGrantsRequestAminoMsg; - fromProtoMsg(message: QueryGrantsRequestProtoMsg): QueryGrantsRequest; - toProto(message: QueryGrantsRequest): Uint8Array; - toProtoMsg(message: QueryGrantsRequest): QueryGrantsRequestProtoMsg; -}; -export declare const QueryGrantsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGrantsResponse; - isSDK(o: any): o is QueryGrantsResponseSDKType; - isAmino(o: any): o is QueryGrantsResponseAmino; - encode(message: QueryGrantsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGrantsResponse; - fromJSON(object: any): QueryGrantsResponse; - toJSON(message: QueryGrantsResponse): unknown; - fromPartial(object: DeepPartial): QueryGrantsResponse; - fromSDK(object: QueryGrantsResponseSDKType): QueryGrantsResponse; - toSDK(message: QueryGrantsResponse): QueryGrantsResponseSDKType; - fromAmino(object: QueryGrantsResponseAmino): QueryGrantsResponse; - toAmino(message: QueryGrantsResponse): QueryGrantsResponseAmino; - fromAminoMsg(object: QueryGrantsResponseAminoMsg): QueryGrantsResponse; - toAminoMsg(message: QueryGrantsResponse): QueryGrantsResponseAminoMsg; - fromProtoMsg(message: QueryGrantsResponseProtoMsg): QueryGrantsResponse; - toProto(message: QueryGrantsResponse): Uint8Array; - toProtoMsg(message: QueryGrantsResponse): QueryGrantsResponseProtoMsg; -}; -export declare const QueryGranterGrantsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGranterGrantsRequest; - isSDK(o: any): o is QueryGranterGrantsRequestSDKType; - isAmino(o: any): o is QueryGranterGrantsRequestAmino; - encode(message: QueryGranterGrantsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGranterGrantsRequest; - fromJSON(object: any): QueryGranterGrantsRequest; - toJSON(message: QueryGranterGrantsRequest): unknown; - fromPartial(object: DeepPartial): QueryGranterGrantsRequest; - fromSDK(object: QueryGranterGrantsRequestSDKType): QueryGranterGrantsRequest; - toSDK(message: QueryGranterGrantsRequest): QueryGranterGrantsRequestSDKType; - fromAmino(object: QueryGranterGrantsRequestAmino): QueryGranterGrantsRequest; - toAmino(message: QueryGranterGrantsRequest): QueryGranterGrantsRequestAmino; - fromAminoMsg(object: QueryGranterGrantsRequestAminoMsg): QueryGranterGrantsRequest; - toAminoMsg(message: QueryGranterGrantsRequest): QueryGranterGrantsRequestAminoMsg; - fromProtoMsg(message: QueryGranterGrantsRequestProtoMsg): QueryGranterGrantsRequest; - toProto(message: QueryGranterGrantsRequest): Uint8Array; - toProtoMsg(message: QueryGranterGrantsRequest): QueryGranterGrantsRequestProtoMsg; -}; -export declare const QueryGranterGrantsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGranterGrantsResponse; - isSDK(o: any): o is QueryGranterGrantsResponseSDKType; - isAmino(o: any): o is QueryGranterGrantsResponseAmino; - encode(message: QueryGranterGrantsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGranterGrantsResponse; - fromJSON(object: any): QueryGranterGrantsResponse; - toJSON(message: QueryGranterGrantsResponse): unknown; - fromPartial(object: DeepPartial): QueryGranterGrantsResponse; - fromSDK(object: QueryGranterGrantsResponseSDKType): QueryGranterGrantsResponse; - toSDK(message: QueryGranterGrantsResponse): QueryGranterGrantsResponseSDKType; - fromAmino(object: QueryGranterGrantsResponseAmino): QueryGranterGrantsResponse; - toAmino(message: QueryGranterGrantsResponse): QueryGranterGrantsResponseAmino; - fromAminoMsg(object: QueryGranterGrantsResponseAminoMsg): QueryGranterGrantsResponse; - toAminoMsg(message: QueryGranterGrantsResponse): QueryGranterGrantsResponseAminoMsg; - fromProtoMsg(message: QueryGranterGrantsResponseProtoMsg): QueryGranterGrantsResponse; - toProto(message: QueryGranterGrantsResponse): Uint8Array; - toProtoMsg(message: QueryGranterGrantsResponse): QueryGranterGrantsResponseProtoMsg; -}; -export declare const QueryGranteeGrantsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGranteeGrantsRequest; - isSDK(o: any): o is QueryGranteeGrantsRequestSDKType; - isAmino(o: any): o is QueryGranteeGrantsRequestAmino; - encode(message: QueryGranteeGrantsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGranteeGrantsRequest; - fromJSON(object: any): QueryGranteeGrantsRequest; - toJSON(message: QueryGranteeGrantsRequest): unknown; - fromPartial(object: DeepPartial): QueryGranteeGrantsRequest; - fromSDK(object: QueryGranteeGrantsRequestSDKType): QueryGranteeGrantsRequest; - toSDK(message: QueryGranteeGrantsRequest): QueryGranteeGrantsRequestSDKType; - fromAmino(object: QueryGranteeGrantsRequestAmino): QueryGranteeGrantsRequest; - toAmino(message: QueryGranteeGrantsRequest): QueryGranteeGrantsRequestAmino; - fromAminoMsg(object: QueryGranteeGrantsRequestAminoMsg): QueryGranteeGrantsRequest; - toAminoMsg(message: QueryGranteeGrantsRequest): QueryGranteeGrantsRequestAminoMsg; - fromProtoMsg(message: QueryGranteeGrantsRequestProtoMsg): QueryGranteeGrantsRequest; - toProto(message: QueryGranteeGrantsRequest): Uint8Array; - toProtoMsg(message: QueryGranteeGrantsRequest): QueryGranteeGrantsRequestProtoMsg; -}; -export declare const QueryGranteeGrantsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGranteeGrantsResponse; - isSDK(o: any): o is QueryGranteeGrantsResponseSDKType; - isAmino(o: any): o is QueryGranteeGrantsResponseAmino; - encode(message: QueryGranteeGrantsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGranteeGrantsResponse; - fromJSON(object: any): QueryGranteeGrantsResponse; - toJSON(message: QueryGranteeGrantsResponse): unknown; - fromPartial(object: DeepPartial): QueryGranteeGrantsResponse; - fromSDK(object: QueryGranteeGrantsResponseSDKType): QueryGranteeGrantsResponse; - toSDK(message: QueryGranteeGrantsResponse): QueryGranteeGrantsResponseSDKType; - fromAmino(object: QueryGranteeGrantsResponseAmino): QueryGranteeGrantsResponse; - toAmino(message: QueryGranteeGrantsResponse): QueryGranteeGrantsResponseAmino; - fromAminoMsg(object: QueryGranteeGrantsResponseAminoMsg): QueryGranteeGrantsResponse; - toAminoMsg(message: QueryGranteeGrantsResponse): QueryGranteeGrantsResponseAminoMsg; - fromProtoMsg(message: QueryGranteeGrantsResponseProtoMsg): QueryGranteeGrantsResponse; - toProto(message: QueryGranteeGrantsResponse): Uint8Array; - toProtoMsg(message: QueryGranteeGrantsResponse): QueryGranteeGrantsResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/authz/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/authz/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 22884b9a..00000000 --- a/examples/authz/types/codegen/cosmos/authz/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Returns list of `Authorization`, granted to the grantee by the granter. */ - grants(request: QueryGrantsRequest): Promise; - /** - * GranterGrants returns list of `GrantAuthorization`, granted by granter. - * - * Since: cosmos-sdk 0.46 - */ - granterGrants(request: QueryGranterGrantsRequest): Promise; - /** - * GranteeGrants returns a list of `GrantAuthorization` by grantee. - * - * Since: cosmos-sdk 0.46 - */ - granteeGrants(request: QueryGranteeGrantsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - grants: (request: QueryGrantsRequest) => Promise; - granterGrants: (request: QueryGranterGrantsRequest) => Promise; - granteeGrants: (request: QueryGranteeGrantsRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseGrantsQuery extends ReactQueryParams { - request: QueryGrantsRequest; -} -export interface UseGranterGrantsQuery extends ReactQueryParams { - request: QueryGranterGrantsRequest; -} -export interface UseGranteeGrantsQuery extends ReactQueryParams { - request: QueryGranteeGrantsRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Returns list of `Authorization`, granted to the grantee by the granter. */ useGrants: ({ request, options }: UseGrantsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * GranterGrants returns list of `GrantAuthorization`, granted by granter. - * - * Since: cosmos-sdk 0.46 - */ - useGranterGrants: ({ request, options }: UseGranterGrantsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * GranteeGrants returns a list of `GrantAuthorization` by grantee. - * - * Since: cosmos-sdk 0.46 - */ - useGranteeGrants: ({ request, options }: UseGranteeGrantsQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Returns list of `Authorization`, granted to the grantee by the granter. */ QueryGrantsStore: { - new (): { - store: QueryStore; - grants(request: QueryGrantsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * GranterGrants returns list of `GrantAuthorization`, granted by granter. - * - * Since: cosmos-sdk 0.46 - */ - QueryGranterGrantsStore: { - new (): { - store: QueryStore; - granterGrants(request: QueryGranterGrantsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * GranteeGrants returns a list of `GrantAuthorization` by grantee. - * - * Since: cosmos-sdk 0.46 - */ - QueryGranteeGrantsStore: { - new (): { - store: QueryStore; - granteeGrants(request: QueryGranteeGrantsRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts b/examples/authz/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts deleted file mode 100644 index 6f44ab84..00000000 --- a/examples/authz/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { MsgGrant, MsgExec, MsgRevoke } from "./tx"; -export declare const AminoConverter: { - "/cosmos.authz.v1beta1.MsgGrant": { - aminoType: string; - toAmino: (message: MsgGrant) => import("./tx").MsgGrantAmino; - fromAmino: (object: import("./tx").MsgGrantAmino) => MsgGrant; - }; - "/cosmos.authz.v1beta1.MsgExec": { - aminoType: string; - toAmino: (message: MsgExec) => import("./tx").MsgExecAmino; - fromAmino: (object: import("./tx").MsgExecAmino) => MsgExec; - }; - "/cosmos.authz.v1beta1.MsgRevoke": { - aminoType: string; - toAmino: (message: MsgRevoke) => import("./tx").MsgRevokeAmino; - fromAmino: (object: import("./tx").MsgRevokeAmino) => MsgRevoke; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/authz/v1beta1/tx.d.ts b/examples/authz/types/codegen/cosmos/authz/v1beta1/tx.d.ts deleted file mode 100644 index eaca1ca4..00000000 --- a/examples/authz/types/codegen/cosmos/authz/v1beta1/tx.d.ts +++ /dev/null @@ -1,307 +0,0 @@ -import { Grant, GrantAmino, GrantSDKType } from "./authz"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * MsgGrant is a request type for Grant method. It declares authorization to the grantee - * on behalf of the granter with the provided expiration time. - */ -export interface MsgGrant { - granter: string; - grantee: string; - grant: Grant | undefined; -} -export interface MsgGrantProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgGrant"; - value: Uint8Array; -} -/** - * MsgGrant is a request type for Grant method. It declares authorization to the grantee - * on behalf of the granter with the provided expiration time. - */ -export interface MsgGrantAmino { - granter?: string; - grantee?: string; - grant?: GrantAmino | undefined; -} -export interface MsgGrantAminoMsg { - type: "cosmos-sdk/MsgGrant"; - value: MsgGrantAmino; -} -/** - * MsgGrant is a request type for Grant method. It declares authorization to the grantee - * on behalf of the granter with the provided expiration time. - */ -export interface MsgGrantSDKType { - granter: string; - grantee: string; - grant: GrantSDKType | undefined; -} -/** MsgExecResponse defines the Msg/MsgExecResponse response type. */ -export interface MsgExecResponse { - results: Uint8Array[]; -} -export interface MsgExecResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgExecResponse"; - value: Uint8Array; -} -/** MsgExecResponse defines the Msg/MsgExecResponse response type. */ -export interface MsgExecResponseAmino { - results?: string[]; -} -export interface MsgExecResponseAminoMsg { - type: "cosmos-sdk/MsgExecResponse"; - value: MsgExecResponseAmino; -} -/** MsgExecResponse defines the Msg/MsgExecResponse response type. */ -export interface MsgExecResponseSDKType { - results: Uint8Array[]; -} -/** - * MsgExec attempts to execute the provided messages using - * authorizations granted to the grantee. Each message should have only - * one signer corresponding to the granter of the authorization. - */ -export interface MsgExec { - grantee: string; - /** - * Authorization Msg requests to execute. Each msg must implement Authorization interface - * The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) - * triple and validate it. - */ - msgs: (Any)[] | Any[]; -} -export interface MsgExecProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgExec"; - value: Uint8Array; -} -export type MsgExecEncoded = Omit & { - /** - * Authorization Msg requests to execute. Each msg must implement Authorization interface - * The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) - * triple and validate it. - */ - msgs: (AnyProtoMsg)[]; -}; -/** - * MsgExec attempts to execute the provided messages using - * authorizations granted to the grantee. Each message should have only - * one signer corresponding to the granter of the authorization. - */ -export interface MsgExecAmino { - grantee?: string; - /** - * Authorization Msg requests to execute. Each msg must implement Authorization interface - * The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) - * triple and validate it. - */ - msgs?: AnyAmino[]; -} -export interface MsgExecAminoMsg { - type: "cosmos-sdk/MsgExec"; - value: MsgExecAmino; -} -/** - * MsgExec attempts to execute the provided messages using - * authorizations granted to the grantee. Each message should have only - * one signer corresponding to the granter of the authorization. - */ -export interface MsgExecSDKType { - grantee: string; - msgs: (AnySDKType)[]; -} -/** MsgGrantResponse defines the Msg/MsgGrant response type. */ -export interface MsgGrantResponse { -} -export interface MsgGrantResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgGrantResponse"; - value: Uint8Array; -} -/** MsgGrantResponse defines the Msg/MsgGrant response type. */ -export interface MsgGrantResponseAmino { -} -export interface MsgGrantResponseAminoMsg { - type: "cosmos-sdk/MsgGrantResponse"; - value: MsgGrantResponseAmino; -} -/** MsgGrantResponse defines the Msg/MsgGrant response type. */ -export interface MsgGrantResponseSDKType { -} -/** - * MsgRevoke revokes any authorization with the provided sdk.Msg type on the - * granter's account with that has been granted to the grantee. - */ -export interface MsgRevoke { - granter: string; - grantee: string; - msgTypeUrl: string; -} -export interface MsgRevokeProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgRevoke"; - value: Uint8Array; -} -/** - * MsgRevoke revokes any authorization with the provided sdk.Msg type on the - * granter's account with that has been granted to the grantee. - */ -export interface MsgRevokeAmino { - granter?: string; - grantee?: string; - msg_type_url?: string; -} -export interface MsgRevokeAminoMsg { - type: "cosmos-sdk/MsgRevoke"; - value: MsgRevokeAmino; -} -/** - * MsgRevoke revokes any authorization with the provided sdk.Msg type on the - * granter's account with that has been granted to the grantee. - */ -export interface MsgRevokeSDKType { - granter: string; - grantee: string; - msg_type_url: string; -} -/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */ -export interface MsgRevokeResponse { -} -export interface MsgRevokeResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgRevokeResponse"; - value: Uint8Array; -} -/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */ -export interface MsgRevokeResponseAmino { -} -export interface MsgRevokeResponseAminoMsg { - type: "cosmos-sdk/MsgRevokeResponse"; - value: MsgRevokeResponseAmino; -} -/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */ -export interface MsgRevokeResponseSDKType { -} -export declare const MsgGrant: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgGrant; - isSDK(o: any): o is MsgGrantSDKType; - isAmino(o: any): o is MsgGrantAmino; - encode(message: MsgGrant, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgGrant; - fromJSON(object: any): MsgGrant; - toJSON(message: MsgGrant): unknown; - fromPartial(object: DeepPartial): MsgGrant; - fromSDK(object: MsgGrantSDKType): MsgGrant; - toSDK(message: MsgGrant): MsgGrantSDKType; - fromAmino(object: MsgGrantAmino): MsgGrant; - toAmino(message: MsgGrant): MsgGrantAmino; - fromAminoMsg(object: MsgGrantAminoMsg): MsgGrant; - toAminoMsg(message: MsgGrant): MsgGrantAminoMsg; - fromProtoMsg(message: MsgGrantProtoMsg): MsgGrant; - toProto(message: MsgGrant): Uint8Array; - toProtoMsg(message: MsgGrant): MsgGrantProtoMsg; -}; -export declare const MsgExecResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExecResponse; - isSDK(o: any): o is MsgExecResponseSDKType; - isAmino(o: any): o is MsgExecResponseAmino; - encode(message: MsgExecResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExecResponse; - fromJSON(object: any): MsgExecResponse; - toJSON(message: MsgExecResponse): unknown; - fromPartial(object: DeepPartial): MsgExecResponse; - fromSDK(object: MsgExecResponseSDKType): MsgExecResponse; - toSDK(message: MsgExecResponse): MsgExecResponseSDKType; - fromAmino(object: MsgExecResponseAmino): MsgExecResponse; - toAmino(message: MsgExecResponse): MsgExecResponseAmino; - fromAminoMsg(object: MsgExecResponseAminoMsg): MsgExecResponse; - toAminoMsg(message: MsgExecResponse): MsgExecResponseAminoMsg; - fromProtoMsg(message: MsgExecResponseProtoMsg): MsgExecResponse; - toProto(message: MsgExecResponse): Uint8Array; - toProtoMsg(message: MsgExecResponse): MsgExecResponseProtoMsg; -}; -export declare const MsgExec: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExec; - isSDK(o: any): o is MsgExecSDKType; - isAmino(o: any): o is MsgExecAmino; - encode(message: MsgExec, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExec; - fromJSON(object: any): MsgExec; - toJSON(message: MsgExec): unknown; - fromPartial(object: DeepPartial): MsgExec; - fromSDK(object: MsgExecSDKType): MsgExec; - toSDK(message: MsgExec): MsgExecSDKType; - fromAmino(object: MsgExecAmino): MsgExec; - toAmino(message: MsgExec): MsgExecAmino; - fromAminoMsg(object: MsgExecAminoMsg): MsgExec; - toAminoMsg(message: MsgExec): MsgExecAminoMsg; - fromProtoMsg(message: MsgExecProtoMsg): MsgExec; - toProto(message: MsgExec): Uint8Array; - toProtoMsg(message: MsgExec): MsgExecProtoMsg; -}; -export declare const MsgGrantResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgGrantResponse; - isSDK(o: any): o is MsgGrantResponseSDKType; - isAmino(o: any): o is MsgGrantResponseAmino; - encode(_: MsgGrantResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgGrantResponse; - fromJSON(_: any): MsgGrantResponse; - toJSON(_: MsgGrantResponse): unknown; - fromPartial(_: DeepPartial): MsgGrantResponse; - fromSDK(_: MsgGrantResponseSDKType): MsgGrantResponse; - toSDK(_: MsgGrantResponse): MsgGrantResponseSDKType; - fromAmino(_: MsgGrantResponseAmino): MsgGrantResponse; - toAmino(_: MsgGrantResponse): MsgGrantResponseAmino; - fromAminoMsg(object: MsgGrantResponseAminoMsg): MsgGrantResponse; - toAminoMsg(message: MsgGrantResponse): MsgGrantResponseAminoMsg; - fromProtoMsg(message: MsgGrantResponseProtoMsg): MsgGrantResponse; - toProto(message: MsgGrantResponse): Uint8Array; - toProtoMsg(message: MsgGrantResponse): MsgGrantResponseProtoMsg; -}; -export declare const MsgRevoke: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgRevoke; - isSDK(o: any): o is MsgRevokeSDKType; - isAmino(o: any): o is MsgRevokeAmino; - encode(message: MsgRevoke, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgRevoke; - fromJSON(object: any): MsgRevoke; - toJSON(message: MsgRevoke): unknown; - fromPartial(object: DeepPartial): MsgRevoke; - fromSDK(object: MsgRevokeSDKType): MsgRevoke; - toSDK(message: MsgRevoke): MsgRevokeSDKType; - fromAmino(object: MsgRevokeAmino): MsgRevoke; - toAmino(message: MsgRevoke): MsgRevokeAmino; - fromAminoMsg(object: MsgRevokeAminoMsg): MsgRevoke; - toAminoMsg(message: MsgRevoke): MsgRevokeAminoMsg; - fromProtoMsg(message: MsgRevokeProtoMsg): MsgRevoke; - toProto(message: MsgRevoke): Uint8Array; - toProtoMsg(message: MsgRevoke): MsgRevokeProtoMsg; -}; -export declare const MsgRevokeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgRevokeResponse; - isSDK(o: any): o is MsgRevokeResponseSDKType; - isAmino(o: any): o is MsgRevokeResponseAmino; - encode(_: MsgRevokeResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgRevokeResponse; - fromJSON(_: any): MsgRevokeResponse; - toJSON(_: MsgRevokeResponse): unknown; - fromPartial(_: DeepPartial): MsgRevokeResponse; - fromSDK(_: MsgRevokeResponseSDKType): MsgRevokeResponse; - toSDK(_: MsgRevokeResponse): MsgRevokeResponseSDKType; - fromAmino(_: MsgRevokeResponseAmino): MsgRevokeResponse; - toAmino(_: MsgRevokeResponse): MsgRevokeResponseAmino; - fromAminoMsg(object: MsgRevokeResponseAminoMsg): MsgRevokeResponse; - toAminoMsg(message: MsgRevokeResponse): MsgRevokeResponseAminoMsg; - fromProtoMsg(message: MsgRevokeResponseProtoMsg): MsgRevokeResponse; - toProto(message: MsgRevokeResponse): Uint8Array; - toProtoMsg(message: MsgRevokeResponse): MsgRevokeResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts b/examples/authz/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts deleted file mode 100644 index 1d1c7f3e..00000000 --- a/examples/authz/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgGrant, MsgExec, MsgRevoke } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - grant(value: MsgGrant): { - typeUrl: string; - value: Uint8Array; - }; - exec(value: MsgExec): { - typeUrl: string; - value: Uint8Array; - }; - revoke(value: MsgRevoke): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - grant(value: MsgGrant): { - typeUrl: string; - value: MsgGrant; - }; - exec(value: MsgExec): { - typeUrl: string; - value: MsgExec; - }; - revoke(value: MsgRevoke): { - typeUrl: string; - value: MsgRevoke; - }; - }; - toJSON: { - grant(value: MsgGrant): { - typeUrl: string; - value: unknown; - }; - exec(value: MsgExec): { - typeUrl: string; - value: unknown; - }; - revoke(value: MsgRevoke): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - grant(value: any): { - typeUrl: string; - value: MsgGrant; - }; - exec(value: any): { - typeUrl: string; - value: MsgExec; - }; - revoke(value: any): { - typeUrl: string; - value: MsgRevoke; - }; - }; - fromPartial: { - grant(value: MsgGrant): { - typeUrl: string; - value: MsgGrant; - }; - exec(value: MsgExec): { - typeUrl: string; - value: MsgExec; - }; - revoke(value: MsgRevoke): { - typeUrl: string; - value: MsgRevoke; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 86139055..00000000 --- a/examples/authz/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgGrant, MsgExec, MsgRevoke } from "./tx"; -/** Msg defines the authz Msg service. */ -export interface Msg { - /** - * Grant grants the provided authorization to the grantee on the granter's - * account with the provided expiration time. If there is already a grant - * for the given (granter, grantee, Authorization) triple, then the grant - * will be overwritten. - */ - grant(signerAddress: string, message: MsgGrant, fee: number | StdFee | "auto", memo: string): Promise; - /** - * Exec attempts to execute the provided messages using - * authorizations granted to the grantee. Each message should have only - * one signer corresponding to the granter of the authorization. - */ - exec(signerAddress: string, message: MsgExec, fee: number | StdFee | "auto", memo: string): Promise; - /** - * Revoke revokes any authorization corresponding to the provided method name on the - * granter's account that has been granted to the grantee. - */ - revoke(signerAddress: string, message: MsgRevoke, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - grant: (signerAddress: string, message: MsgGrant, fee?: number | StdFee | "auto", memo?: string) => Promise; - exec: (signerAddress: string, message: MsgExec, fee?: number | StdFee | "auto", memo?: string) => Promise; - revoke: (signerAddress: string, message: MsgRevoke, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/cosmos/bank/v1beta1/authz.d.ts b/examples/authz/types/codegen/cosmos/bank/v1beta1/authz.d.ts deleted file mode 100644 index aaef2f41..00000000 --- a/examples/authz/types/codegen/cosmos/bank/v1beta1/authz.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * SendAuthorization allows the grantee to spend up to spend_limit coins from - * the granter's account. - * - * Since: cosmos-sdk 0.43 - */ -export interface SendAuthorization { - $typeUrl?: "/cosmos.bank.v1beta1.SendAuthorization"; - spendLimit: Coin[]; -} -export interface SendAuthorizationProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.SendAuthorization"; - value: Uint8Array; -} -/** - * SendAuthorization allows the grantee to spend up to spend_limit coins from - * the granter's account. - * - * Since: cosmos-sdk 0.43 - */ -export interface SendAuthorizationAmino { - spend_limit?: CoinAmino[]; -} -export interface SendAuthorizationAminoMsg { - type: "cosmos-sdk/SendAuthorization"; - value: SendAuthorizationAmino; -} -/** - * SendAuthorization allows the grantee to spend up to spend_limit coins from - * the granter's account. - * - * Since: cosmos-sdk 0.43 - */ -export interface SendAuthorizationSDKType { - $typeUrl?: "/cosmos.bank.v1beta1.SendAuthorization"; - spend_limit: CoinSDKType[]; -} -export declare const SendAuthorization: { - typeUrl: string; - aminoType: string; - is(o: any): o is SendAuthorization; - isSDK(o: any): o is SendAuthorizationSDKType; - isAmino(o: any): o is SendAuthorizationAmino; - encode(message: SendAuthorization, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SendAuthorization; - fromJSON(object: any): SendAuthorization; - toJSON(message: SendAuthorization): unknown; - fromPartial(object: DeepPartial): SendAuthorization; - fromSDK(object: SendAuthorizationSDKType): SendAuthorization; - toSDK(message: SendAuthorization): SendAuthorizationSDKType; - fromAmino(object: SendAuthorizationAmino): SendAuthorization; - toAmino(message: SendAuthorization): SendAuthorizationAmino; - fromAminoMsg(object: SendAuthorizationAminoMsg): SendAuthorization; - toAminoMsg(message: SendAuthorization): SendAuthorizationAminoMsg; - fromProtoMsg(message: SendAuthorizationProtoMsg): SendAuthorization; - toProto(message: SendAuthorization): Uint8Array; - toProtoMsg(message: SendAuthorization): SendAuthorizationProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/bank/v1beta1/bank.d.ts b/examples/authz/types/codegen/cosmos/bank/v1beta1/bank.d.ts deleted file mode 100644 index c51ad0ce..00000000 --- a/examples/authz/types/codegen/cosmos/bank/v1beta1/bank.d.ts +++ /dev/null @@ -1,447 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** Params defines the parameters for the bank module. */ -export interface Params { - sendEnabled: SendEnabled[]; - defaultSendEnabled: boolean; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Params"; - value: Uint8Array; -} -/** Params defines the parameters for the bank module. */ -export interface ParamsAmino { - send_enabled?: SendEnabledAmino[]; - default_send_enabled?: boolean; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params defines the parameters for the bank module. */ -export interface ParamsSDKType { - send_enabled: SendEnabledSDKType[]; - default_send_enabled: boolean; -} -/** - * SendEnabled maps coin denom to a send_enabled status (whether a denom is - * sendable). - */ -export interface SendEnabled { - denom: string; - enabled: boolean; -} -export interface SendEnabledProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.SendEnabled"; - value: Uint8Array; -} -/** - * SendEnabled maps coin denom to a send_enabled status (whether a denom is - * sendable). - */ -export interface SendEnabledAmino { - denom?: string; - enabled?: boolean; -} -export interface SendEnabledAminoMsg { - type: "cosmos-sdk/SendEnabled"; - value: SendEnabledAmino; -} -/** - * SendEnabled maps coin denom to a send_enabled status (whether a denom is - * sendable). - */ -export interface SendEnabledSDKType { - denom: string; - enabled: boolean; -} -/** Input models transaction input. */ -export interface Input { - address: string; - coins: Coin[]; -} -export interface InputProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Input"; - value: Uint8Array; -} -/** Input models transaction input. */ -export interface InputAmino { - address?: string; - coins?: CoinAmino[]; -} -export interface InputAminoMsg { - type: "cosmos-sdk/Input"; - value: InputAmino; -} -/** Input models transaction input. */ -export interface InputSDKType { - address: string; - coins: CoinSDKType[]; -} -/** Output models transaction outputs. */ -export interface Output { - address: string; - coins: Coin[]; -} -export interface OutputProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Output"; - value: Uint8Array; -} -/** Output models transaction outputs. */ -export interface OutputAmino { - address?: string; - coins?: CoinAmino[]; -} -export interface OutputAminoMsg { - type: "cosmos-sdk/Output"; - value: OutputAmino; -} -/** Output models transaction outputs. */ -export interface OutputSDKType { - address: string; - coins: CoinSDKType[]; -} -/** - * Supply represents a struct that passively keeps track of the total supply - * amounts in the network. - * This message is deprecated now that supply is indexed by denom. - */ -/** @deprecated */ -export interface Supply { - $typeUrl?: "/cosmos.bank.v1beta1.Supply"; - total: Coin[]; -} -export interface SupplyProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Supply"; - value: Uint8Array; -} -/** - * Supply represents a struct that passively keeps track of the total supply - * amounts in the network. - * This message is deprecated now that supply is indexed by denom. - */ -/** @deprecated */ -export interface SupplyAmino { - total?: CoinAmino[]; -} -export interface SupplyAminoMsg { - type: "cosmos-sdk/Supply"; - value: SupplyAmino; -} -/** - * Supply represents a struct that passively keeps track of the total supply - * amounts in the network. - * This message is deprecated now that supply is indexed by denom. - */ -/** @deprecated */ -export interface SupplySDKType { - $typeUrl?: "/cosmos.bank.v1beta1.Supply"; - total: CoinSDKType[]; -} -/** - * DenomUnit represents a struct that describes a given - * denomination unit of the basic token. - */ -export interface DenomUnit { - /** denom represents the string name of the given denom unit (e.g uatom). */ - denom: string; - /** - * exponent represents power of 10 exponent that one must - * raise the base_denom to in order to equal the given DenomUnit's denom - * 1 denom = 10^exponent base_denom - * (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with - * exponent = 6, thus: 1 atom = 10^6 uatom). - */ - exponent: number; - /** aliases is a list of string aliases for the given denom */ - aliases: string[]; -} -export interface DenomUnitProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.DenomUnit"; - value: Uint8Array; -} -/** - * DenomUnit represents a struct that describes a given - * denomination unit of the basic token. - */ -export interface DenomUnitAmino { - /** denom represents the string name of the given denom unit (e.g uatom). */ - denom?: string; - /** - * exponent represents power of 10 exponent that one must - * raise the base_denom to in order to equal the given DenomUnit's denom - * 1 denom = 10^exponent base_denom - * (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with - * exponent = 6, thus: 1 atom = 10^6 uatom). - */ - exponent?: number; - /** aliases is a list of string aliases for the given denom */ - aliases?: string[]; -} -export interface DenomUnitAminoMsg { - type: "cosmos-sdk/DenomUnit"; - value: DenomUnitAmino; -} -/** - * DenomUnit represents a struct that describes a given - * denomination unit of the basic token. - */ -export interface DenomUnitSDKType { - denom: string; - exponent: number; - aliases: string[]; -} -/** - * Metadata represents a struct that describes - * a basic token. - */ -export interface Metadata { - description: string; - /** denom_units represents the list of DenomUnit's for a given coin */ - denomUnits: DenomUnit[]; - /** base represents the base denom (should be the DenomUnit with exponent = 0). */ - base: string; - /** - * display indicates the suggested denom that should be - * displayed in clients. - */ - display: string; - /** - * name defines the name of the token (eg: Cosmos Atom) - * - * Since: cosmos-sdk 0.43 - */ - name: string; - /** - * symbol is the token symbol usually shown on exchanges (eg: ATOM). This can - * be the same as the display. - * - * Since: cosmos-sdk 0.43 - */ - symbol: string; - /** - * URI to a document (on or off-chain) that contains additional information. Optional. - * - * Since: cosmos-sdk 0.46 - */ - uri: string; - /** - * URIHash is a sha256 hash of a document pointed by URI. It's used to verify that - * the document didn't change. Optional. - * - * Since: cosmos-sdk 0.46 - */ - uriHash: string; -} -export interface MetadataProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Metadata"; - value: Uint8Array; -} -/** - * Metadata represents a struct that describes - * a basic token. - */ -export interface MetadataAmino { - description?: string; - /** denom_units represents the list of DenomUnit's for a given coin */ - denom_units?: DenomUnitAmino[]; - /** base represents the base denom (should be the DenomUnit with exponent = 0). */ - base?: string; - /** - * display indicates the suggested denom that should be - * displayed in clients. - */ - display?: string; - /** - * name defines the name of the token (eg: Cosmos Atom) - * - * Since: cosmos-sdk 0.43 - */ - name?: string; - /** - * symbol is the token symbol usually shown on exchanges (eg: ATOM). This can - * be the same as the display. - * - * Since: cosmos-sdk 0.43 - */ - symbol?: string; - /** - * URI to a document (on or off-chain) that contains additional information. Optional. - * - * Since: cosmos-sdk 0.46 - */ - uri?: string; - /** - * URIHash is a sha256 hash of a document pointed by URI. It's used to verify that - * the document didn't change. Optional. - * - * Since: cosmos-sdk 0.46 - */ - uri_hash?: string; -} -export interface MetadataAminoMsg { - type: "cosmos-sdk/Metadata"; - value: MetadataAmino; -} -/** - * Metadata represents a struct that describes - * a basic token. - */ -export interface MetadataSDKType { - description: string; - denom_units: DenomUnitSDKType[]; - base: string; - display: string; - name: string; - symbol: string; - uri: string; - uri_hash: string; -} -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; -export declare const SendEnabled: { - typeUrl: string; - aminoType: string; - is(o: any): o is SendEnabled; - isSDK(o: any): o is SendEnabledSDKType; - isAmino(o: any): o is SendEnabledAmino; - encode(message: SendEnabled, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SendEnabled; - fromJSON(object: any): SendEnabled; - toJSON(message: SendEnabled): unknown; - fromPartial(object: DeepPartial): SendEnabled; - fromSDK(object: SendEnabledSDKType): SendEnabled; - toSDK(message: SendEnabled): SendEnabledSDKType; - fromAmino(object: SendEnabledAmino): SendEnabled; - toAmino(message: SendEnabled): SendEnabledAmino; - fromAminoMsg(object: SendEnabledAminoMsg): SendEnabled; - toAminoMsg(message: SendEnabled): SendEnabledAminoMsg; - fromProtoMsg(message: SendEnabledProtoMsg): SendEnabled; - toProto(message: SendEnabled): Uint8Array; - toProtoMsg(message: SendEnabled): SendEnabledProtoMsg; -}; -export declare const Input: { - typeUrl: string; - aminoType: string; - is(o: any): o is Input; - isSDK(o: any): o is InputSDKType; - isAmino(o: any): o is InputAmino; - encode(message: Input, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Input; - fromJSON(object: any): Input; - toJSON(message: Input): unknown; - fromPartial(object: DeepPartial): Input; - fromSDK(object: InputSDKType): Input; - toSDK(message: Input): InputSDKType; - fromAmino(object: InputAmino): Input; - toAmino(message: Input): InputAmino; - fromAminoMsg(object: InputAminoMsg): Input; - toAminoMsg(message: Input): InputAminoMsg; - fromProtoMsg(message: InputProtoMsg): Input; - toProto(message: Input): Uint8Array; - toProtoMsg(message: Input): InputProtoMsg; -}; -export declare const Output: { - typeUrl: string; - aminoType: string; - is(o: any): o is Output; - isSDK(o: any): o is OutputSDKType; - isAmino(o: any): o is OutputAmino; - encode(message: Output, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Output; - fromJSON(object: any): Output; - toJSON(message: Output): unknown; - fromPartial(object: DeepPartial): Output; - fromSDK(object: OutputSDKType): Output; - toSDK(message: Output): OutputSDKType; - fromAmino(object: OutputAmino): Output; - toAmino(message: Output): OutputAmino; - fromAminoMsg(object: OutputAminoMsg): Output; - toAminoMsg(message: Output): OutputAminoMsg; - fromProtoMsg(message: OutputProtoMsg): Output; - toProto(message: Output): Uint8Array; - toProtoMsg(message: Output): OutputProtoMsg; -}; -export declare const Supply: { - typeUrl: string; - aminoType: string; - is(o: any): o is Supply; - isSDK(o: any): o is SupplySDKType; - isAmino(o: any): o is SupplyAmino; - encode(message: Supply, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Supply; - fromJSON(object: any): Supply; - toJSON(message: Supply): unknown; - fromPartial(object: DeepPartial): Supply; - fromSDK(object: SupplySDKType): Supply; - toSDK(message: Supply): SupplySDKType; - fromAmino(object: SupplyAmino): Supply; - toAmino(message: Supply): SupplyAmino; - fromAminoMsg(object: SupplyAminoMsg): Supply; - toAminoMsg(message: Supply): SupplyAminoMsg; - fromProtoMsg(message: SupplyProtoMsg): Supply; - toProto(message: Supply): Uint8Array; - toProtoMsg(message: Supply): SupplyProtoMsg; -}; -export declare const DenomUnit: { - typeUrl: string; - aminoType: string; - is(o: any): o is DenomUnit; - isSDK(o: any): o is DenomUnitSDKType; - isAmino(o: any): o is DenomUnitAmino; - encode(message: DenomUnit, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DenomUnit; - fromJSON(object: any): DenomUnit; - toJSON(message: DenomUnit): unknown; - fromPartial(object: DeepPartial): DenomUnit; - fromSDK(object: DenomUnitSDKType): DenomUnit; - toSDK(message: DenomUnit): DenomUnitSDKType; - fromAmino(object: DenomUnitAmino): DenomUnit; - toAmino(message: DenomUnit): DenomUnitAmino; - fromAminoMsg(object: DenomUnitAminoMsg): DenomUnit; - toAminoMsg(message: DenomUnit): DenomUnitAminoMsg; - fromProtoMsg(message: DenomUnitProtoMsg): DenomUnit; - toProto(message: DenomUnit): Uint8Array; - toProtoMsg(message: DenomUnit): DenomUnitProtoMsg; -}; -export declare const Metadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is Metadata; - isSDK(o: any): o is MetadataSDKType; - isAmino(o: any): o is MetadataAmino; - encode(message: Metadata, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Metadata; - fromJSON(object: any): Metadata; - toJSON(message: Metadata): unknown; - fromPartial(object: DeepPartial): Metadata; - fromSDK(object: MetadataSDKType): Metadata; - toSDK(message: Metadata): MetadataSDKType; - fromAmino(object: MetadataAmino): Metadata; - toAmino(message: Metadata): MetadataAmino; - fromAminoMsg(object: MetadataAminoMsg): Metadata; - toAminoMsg(message: Metadata): MetadataAminoMsg; - fromProtoMsg(message: MetadataProtoMsg): Metadata; - toProto(message: Metadata): Uint8Array; - toProtoMsg(message: Metadata): MetadataProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/bank/v1beta1/genesis.d.ts b/examples/authz/types/codegen/cosmos/bank/v1beta1/genesis.d.ts deleted file mode 100644 index 00cb897b..00000000 --- a/examples/authz/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +++ /dev/null @@ -1,125 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType, Metadata, MetadataAmino, MetadataSDKType } from "./bank"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the bank module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params: Params | undefined; - /** balances is an array containing the balances of all the accounts. */ - balances: Balance[]; - /** - * supply represents the total supply. If it is left empty, then supply will be calculated based on the provided - * balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. - */ - supply: Coin[]; - /** denom_metadata defines the metadata of the differents coins. */ - denomMetadata: Metadata[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the bank module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of the module. */ - params?: ParamsAmino | undefined; - /** balances is an array containing the balances of all the accounts. */ - balances?: BalanceAmino[]; - /** - * supply represents the total supply. If it is left empty, then supply will be calculated based on the provided - * balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. - */ - supply?: CoinAmino[]; - /** denom_metadata defines the metadata of the differents coins. */ - denom_metadata?: MetadataAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the bank module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType | undefined; - balances: BalanceSDKType[]; - supply: CoinSDKType[]; - denom_metadata: MetadataSDKType[]; -} -/** - * Balance defines an account address and balance pair used in the bank module's - * genesis state. - */ -export interface Balance { - /** address is the address of the balance holder. */ - address: string; - /** coins defines the different coins this balance holds. */ - coins: Coin[]; -} -export interface BalanceProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Balance"; - value: Uint8Array; -} -/** - * Balance defines an account address and balance pair used in the bank module's - * genesis state. - */ -export interface BalanceAmino { - /** address is the address of the balance holder. */ - address?: string; - /** coins defines the different coins this balance holds. */ - coins?: CoinAmino[]; -} -export interface BalanceAminoMsg { - type: "cosmos-sdk/Balance"; - value: BalanceAmino; -} -/** - * Balance defines an account address and balance pair used in the bank module's - * genesis state. - */ -export interface BalanceSDKType { - address: string; - coins: CoinSDKType[]; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; -export declare const Balance: { - typeUrl: string; - aminoType: string; - is(o: any): o is Balance; - isSDK(o: any): o is BalanceSDKType; - isAmino(o: any): o is BalanceAmino; - encode(message: Balance, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Balance; - fromJSON(object: any): Balance; - toJSON(message: Balance): unknown; - fromPartial(object: DeepPartial): Balance; - fromSDK(object: BalanceSDKType): Balance; - toSDK(message: Balance): BalanceSDKType; - fromAmino(object: BalanceAmino): Balance; - toAmino(message: Balance): BalanceAmino; - fromAminoMsg(object: BalanceAminoMsg): Balance; - toAminoMsg(message: Balance): BalanceAminoMsg; - fromProtoMsg(message: BalanceProtoMsg): Balance; - toProto(message: Balance): Uint8Array; - toProtoMsg(message: Balance): BalanceProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/bank/v1beta1/query.d.ts b/examples/authz/types/codegen/cosmos/bank/v1beta1/query.d.ts deleted file mode 100644 index 2cec0b99..00000000 --- a/examples/authz/types/codegen/cosmos/bank/v1beta1/query.d.ts +++ /dev/null @@ -1,966 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Params, ParamsAmino, ParamsSDKType, Metadata, MetadataAmino, MetadataSDKType } from "./bank"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ -export interface QueryBalanceRequest { - /** address is the address to query balances for. */ - address: string; - /** denom is the coin denom to query balances for. */ - denom: string; -} -export interface QueryBalanceRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryBalanceRequest"; - value: Uint8Array; -} -/** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ -export interface QueryBalanceRequestAmino { - /** address is the address to query balances for. */ - address?: string; - /** denom is the coin denom to query balances for. */ - denom?: string; -} -export interface QueryBalanceRequestAminoMsg { - type: "cosmos-sdk/QueryBalanceRequest"; - value: QueryBalanceRequestAmino; -} -/** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ -export interface QueryBalanceRequestSDKType { - address: string; - denom: string; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ -export interface QueryBalanceResponse { - /** balance is the balance of the coin. */ - balance?: Coin | undefined; -} -export interface QueryBalanceResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryBalanceResponse"; - value: Uint8Array; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ -export interface QueryBalanceResponseAmino { - /** balance is the balance of the coin. */ - balance?: CoinAmino | undefined; -} -export interface QueryBalanceResponseAminoMsg { - type: "cosmos-sdk/QueryBalanceResponse"; - value: QueryBalanceResponseAmino; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ -export interface QueryBalanceResponseSDKType { - balance?: CoinSDKType | undefined; -} -/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ -export interface QueryAllBalancesRequest { - /** address is the address to query balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryAllBalancesRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryAllBalancesRequest"; - value: Uint8Array; -} -/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ -export interface QueryAllBalancesRequestAmino { - /** address is the address to query balances for. */ - address?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryAllBalancesRequestAminoMsg { - type: "cosmos-sdk/QueryAllBalancesRequest"; - value: QueryAllBalancesRequestAmino; -} -/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ -export interface QueryAllBalancesRequestSDKType { - address: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC - * method. - */ -export interface QueryAllBalancesResponse { - /** balances is the balances of all the coins. */ - balances: Coin[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryAllBalancesResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryAllBalancesResponse"; - value: Uint8Array; -} -/** - * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC - * method. - */ -export interface QueryAllBalancesResponseAmino { - /** balances is the balances of all the coins. */ - balances?: CoinAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryAllBalancesResponseAminoMsg { - type: "cosmos-sdk/QueryAllBalancesResponse"; - value: QueryAllBalancesResponseAmino; -} -/** - * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC - * method. - */ -export interface QueryAllBalancesResponseSDKType { - balances: CoinSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** - * QuerySpendableBalancesRequest defines the gRPC request structure for querying - * an account's spendable balances. - */ -export interface QuerySpendableBalancesRequest { - /** address is the address to query spendable balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QuerySpendableBalancesRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QuerySpendableBalancesRequest"; - value: Uint8Array; -} -/** - * QuerySpendableBalancesRequest defines the gRPC request structure for querying - * an account's spendable balances. - */ -export interface QuerySpendableBalancesRequestAmino { - /** address is the address to query spendable balances for. */ - address?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QuerySpendableBalancesRequestAminoMsg { - type: "cosmos-sdk/QuerySpendableBalancesRequest"; - value: QuerySpendableBalancesRequestAmino; -} -/** - * QuerySpendableBalancesRequest defines the gRPC request structure for querying - * an account's spendable balances. - */ -export interface QuerySpendableBalancesRequestSDKType { - address: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * QuerySpendableBalancesResponse defines the gRPC response structure for querying - * an account's spendable balances. - */ -export interface QuerySpendableBalancesResponse { - /** balances is the spendable balances of all the coins. */ - balances: Coin[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QuerySpendableBalancesResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QuerySpendableBalancesResponse"; - value: Uint8Array; -} -/** - * QuerySpendableBalancesResponse defines the gRPC response structure for querying - * an account's spendable balances. - */ -export interface QuerySpendableBalancesResponseAmino { - /** balances is the spendable balances of all the coins. */ - balances?: CoinAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QuerySpendableBalancesResponseAminoMsg { - type: "cosmos-sdk/QuerySpendableBalancesResponse"; - value: QuerySpendableBalancesResponseAmino; -} -/** - * QuerySpendableBalancesResponse defines the gRPC response structure for querying - * an account's spendable balances. - */ -export interface QuerySpendableBalancesResponseSDKType { - balances: CoinSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC - * method. - */ -export interface QueryTotalSupplyRequest { - /** - * pagination defines an optional pagination for the request. - * - * Since: cosmos-sdk 0.43 - */ - pagination?: PageRequest | undefined; -} -export interface QueryTotalSupplyRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryTotalSupplyRequest"; - value: Uint8Array; -} -/** - * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC - * method. - */ -export interface QueryTotalSupplyRequestAmino { - /** - * pagination defines an optional pagination for the request. - * - * Since: cosmos-sdk 0.43 - */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryTotalSupplyRequestAminoMsg { - type: "cosmos-sdk/QueryTotalSupplyRequest"; - value: QueryTotalSupplyRequestAmino; -} -/** - * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC - * method. - */ -export interface QueryTotalSupplyRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC - * method - */ -export interface QueryTotalSupplyResponse { - /** supply is the supply of the coins */ - supply: Coin[]; - /** - * pagination defines the pagination in the response. - * - * Since: cosmos-sdk 0.43 - */ - pagination?: PageResponse | undefined; -} -export interface QueryTotalSupplyResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryTotalSupplyResponse"; - value: Uint8Array; -} -/** - * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC - * method - */ -export interface QueryTotalSupplyResponseAmino { - /** supply is the supply of the coins */ - supply?: CoinAmino[]; - /** - * pagination defines the pagination in the response. - * - * Since: cosmos-sdk 0.43 - */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryTotalSupplyResponseAminoMsg { - type: "cosmos-sdk/QueryTotalSupplyResponse"; - value: QueryTotalSupplyResponseAmino; -} -/** - * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC - * method - */ -export interface QueryTotalSupplyResponseSDKType { - supply: CoinSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfRequest { - /** denom is the coin denom to query balances for. */ - denom: string; -} -export interface QuerySupplyOfRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QuerySupplyOfRequest"; - value: Uint8Array; -} -/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfRequestAmino { - /** denom is the coin denom to query balances for. */ - denom?: string; -} -export interface QuerySupplyOfRequestAminoMsg { - type: "cosmos-sdk/QuerySupplyOfRequest"; - value: QuerySupplyOfRequestAmino; -} -/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfRequestSDKType { - denom: string; -} -/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfResponse { - /** amount is the supply of the coin. */ - amount: Coin | undefined; -} -export interface QuerySupplyOfResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QuerySupplyOfResponse"; - value: Uint8Array; -} -/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfResponseAmino { - /** amount is the supply of the coin. */ - amount?: CoinAmino | undefined; -} -export interface QuerySupplyOfResponseAminoMsg { - type: "cosmos-sdk/QuerySupplyOfResponse"; - value: QuerySupplyOfResponseAmino; -} -/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfResponseSDKType { - amount: CoinSDKType | undefined; -} -/** QueryParamsRequest defines the request type for querying x/bank parameters. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest defines the request type for querying x/bank parameters. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest defines the request type for querying x/bank parameters. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse defines the response type for querying x/bank parameters. */ -export interface QueryParamsResponse { - params: Params | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse defines the response type for querying x/bank parameters. */ -export interface QueryParamsResponseAmino { - params?: ParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse defines the response type for querying x/bank parameters. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; -} -/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ -export interface QueryDenomsMetadataRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryDenomsMetadataRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomsMetadataRequest"; - value: Uint8Array; -} -/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ -export interface QueryDenomsMetadataRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryDenomsMetadataRequestAminoMsg { - type: "cosmos-sdk/QueryDenomsMetadataRequest"; - value: QueryDenomsMetadataRequestAmino; -} -/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ -export interface QueryDenomsMetadataRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC - * method. - */ -export interface QueryDenomsMetadataResponse { - /** metadata provides the client information for all the registered tokens. */ - metadatas: Metadata[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryDenomsMetadataResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomsMetadataResponse"; - value: Uint8Array; -} -/** - * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC - * method. - */ -export interface QueryDenomsMetadataResponseAmino { - /** metadata provides the client information for all the registered tokens. */ - metadatas?: MetadataAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryDenomsMetadataResponseAminoMsg { - type: "cosmos-sdk/QueryDenomsMetadataResponse"; - value: QueryDenomsMetadataResponseAmino; -} -/** - * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC - * method. - */ -export interface QueryDenomsMetadataResponseSDKType { - metadatas: MetadataSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ -export interface QueryDenomMetadataRequest { - /** denom is the coin denom to query the metadata for. */ - denom: string; -} -export interface QueryDenomMetadataRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomMetadataRequest"; - value: Uint8Array; -} -/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ -export interface QueryDenomMetadataRequestAmino { - /** denom is the coin denom to query the metadata for. */ - denom?: string; -} -export interface QueryDenomMetadataRequestAminoMsg { - type: "cosmos-sdk/QueryDenomMetadataRequest"; - value: QueryDenomMetadataRequestAmino; -} -/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ -export interface QueryDenomMetadataRequestSDKType { - denom: string; -} -/** - * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC - * method. - */ -export interface QueryDenomMetadataResponse { - /** metadata describes and provides all the client information for the requested token. */ - metadata: Metadata | undefined; -} -export interface QueryDenomMetadataResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomMetadataResponse"; - value: Uint8Array; -} -/** - * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC - * method. - */ -export interface QueryDenomMetadataResponseAmino { - /** metadata describes and provides all the client information for the requested token. */ - metadata?: MetadataAmino | undefined; -} -export interface QueryDenomMetadataResponseAminoMsg { - type: "cosmos-sdk/QueryDenomMetadataResponse"; - value: QueryDenomMetadataResponseAmino; -} -/** - * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC - * method. - */ -export interface QueryDenomMetadataResponseSDKType { - metadata: MetadataSDKType | undefined; -} -/** - * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, - * which queries for a paginated set of all account holders of a particular - * denomination. - */ -export interface QueryDenomOwnersRequest { - /** denom defines the coin denomination to query all account holders for. */ - denom: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryDenomOwnersRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomOwnersRequest"; - value: Uint8Array; -} -/** - * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, - * which queries for a paginated set of all account holders of a particular - * denomination. - */ -export interface QueryDenomOwnersRequestAmino { - /** denom defines the coin denomination to query all account holders for. */ - denom?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryDenomOwnersRequestAminoMsg { - type: "cosmos-sdk/QueryDenomOwnersRequest"; - value: QueryDenomOwnersRequestAmino; -} -/** - * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, - * which queries for a paginated set of all account holders of a particular - * denomination. - */ -export interface QueryDenomOwnersRequestSDKType { - denom: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * DenomOwner defines structure representing an account that owns or holds a - * particular denominated token. It contains the account address and account - * balance of the denominated token. - */ -export interface DenomOwner { - /** address defines the address that owns a particular denomination. */ - address: string; - /** balance is the balance of the denominated coin for an account. */ - balance: Coin | undefined; -} -export interface DenomOwnerProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.DenomOwner"; - value: Uint8Array; -} -/** - * DenomOwner defines structure representing an account that owns or holds a - * particular denominated token. It contains the account address and account - * balance of the denominated token. - */ -export interface DenomOwnerAmino { - /** address defines the address that owns a particular denomination. */ - address?: string; - /** balance is the balance of the denominated coin for an account. */ - balance?: CoinAmino | undefined; -} -export interface DenomOwnerAminoMsg { - type: "cosmos-sdk/DenomOwner"; - value: DenomOwnerAmino; -} -/** - * DenomOwner defines structure representing an account that owns or holds a - * particular denominated token. It contains the account address and account - * balance of the denominated token. - */ -export interface DenomOwnerSDKType { - address: string; - balance: CoinSDKType | undefined; -} -/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ -export interface QueryDenomOwnersResponse { - denomOwners: DenomOwner[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryDenomOwnersResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomOwnersResponse"; - value: Uint8Array; -} -/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ -export interface QueryDenomOwnersResponseAmino { - denom_owners?: DenomOwnerAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryDenomOwnersResponseAminoMsg { - type: "cosmos-sdk/QueryDenomOwnersResponse"; - value: QueryDenomOwnersResponseAmino; -} -/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ -export interface QueryDenomOwnersResponseSDKType { - denom_owners: DenomOwnerSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -export declare const QueryBalanceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryBalanceRequest; - isSDK(o: any): o is QueryBalanceRequestSDKType; - isAmino(o: any): o is QueryBalanceRequestAmino; - encode(message: QueryBalanceRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryBalanceRequest; - fromJSON(object: any): QueryBalanceRequest; - toJSON(message: QueryBalanceRequest): unknown; - fromPartial(object: DeepPartial): QueryBalanceRequest; - fromSDK(object: QueryBalanceRequestSDKType): QueryBalanceRequest; - toSDK(message: QueryBalanceRequest): QueryBalanceRequestSDKType; - fromAmino(object: QueryBalanceRequestAmino): QueryBalanceRequest; - toAmino(message: QueryBalanceRequest): QueryBalanceRequestAmino; - fromAminoMsg(object: QueryBalanceRequestAminoMsg): QueryBalanceRequest; - toAminoMsg(message: QueryBalanceRequest): QueryBalanceRequestAminoMsg; - fromProtoMsg(message: QueryBalanceRequestProtoMsg): QueryBalanceRequest; - toProto(message: QueryBalanceRequest): Uint8Array; - toProtoMsg(message: QueryBalanceRequest): QueryBalanceRequestProtoMsg; -}; -export declare const QueryBalanceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryBalanceResponse; - isSDK(o: any): o is QueryBalanceResponseSDKType; - isAmino(o: any): o is QueryBalanceResponseAmino; - encode(message: QueryBalanceResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryBalanceResponse; - fromJSON(object: any): QueryBalanceResponse; - toJSON(message: QueryBalanceResponse): unknown; - fromPartial(object: DeepPartial): QueryBalanceResponse; - fromSDK(object: QueryBalanceResponseSDKType): QueryBalanceResponse; - toSDK(message: QueryBalanceResponse): QueryBalanceResponseSDKType; - fromAmino(object: QueryBalanceResponseAmino): QueryBalanceResponse; - toAmino(message: QueryBalanceResponse): QueryBalanceResponseAmino; - fromAminoMsg(object: QueryBalanceResponseAminoMsg): QueryBalanceResponse; - toAminoMsg(message: QueryBalanceResponse): QueryBalanceResponseAminoMsg; - fromProtoMsg(message: QueryBalanceResponseProtoMsg): QueryBalanceResponse; - toProto(message: QueryBalanceResponse): Uint8Array; - toProtoMsg(message: QueryBalanceResponse): QueryBalanceResponseProtoMsg; -}; -export declare const QueryAllBalancesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAllBalancesRequest; - isSDK(o: any): o is QueryAllBalancesRequestSDKType; - isAmino(o: any): o is QueryAllBalancesRequestAmino; - encode(message: QueryAllBalancesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAllBalancesRequest; - fromJSON(object: any): QueryAllBalancesRequest; - toJSON(message: QueryAllBalancesRequest): unknown; - fromPartial(object: DeepPartial): QueryAllBalancesRequest; - fromSDK(object: QueryAllBalancesRequestSDKType): QueryAllBalancesRequest; - toSDK(message: QueryAllBalancesRequest): QueryAllBalancesRequestSDKType; - fromAmino(object: QueryAllBalancesRequestAmino): QueryAllBalancesRequest; - toAmino(message: QueryAllBalancesRequest): QueryAllBalancesRequestAmino; - fromAminoMsg(object: QueryAllBalancesRequestAminoMsg): QueryAllBalancesRequest; - toAminoMsg(message: QueryAllBalancesRequest): QueryAllBalancesRequestAminoMsg; - fromProtoMsg(message: QueryAllBalancesRequestProtoMsg): QueryAllBalancesRequest; - toProto(message: QueryAllBalancesRequest): Uint8Array; - toProtoMsg(message: QueryAllBalancesRequest): QueryAllBalancesRequestProtoMsg; -}; -export declare const QueryAllBalancesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAllBalancesResponse; - isSDK(o: any): o is QueryAllBalancesResponseSDKType; - isAmino(o: any): o is QueryAllBalancesResponseAmino; - encode(message: QueryAllBalancesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAllBalancesResponse; - fromJSON(object: any): QueryAllBalancesResponse; - toJSON(message: QueryAllBalancesResponse): unknown; - fromPartial(object: DeepPartial): QueryAllBalancesResponse; - fromSDK(object: QueryAllBalancesResponseSDKType): QueryAllBalancesResponse; - toSDK(message: QueryAllBalancesResponse): QueryAllBalancesResponseSDKType; - fromAmino(object: QueryAllBalancesResponseAmino): QueryAllBalancesResponse; - toAmino(message: QueryAllBalancesResponse): QueryAllBalancesResponseAmino; - fromAminoMsg(object: QueryAllBalancesResponseAminoMsg): QueryAllBalancesResponse; - toAminoMsg(message: QueryAllBalancesResponse): QueryAllBalancesResponseAminoMsg; - fromProtoMsg(message: QueryAllBalancesResponseProtoMsg): QueryAllBalancesResponse; - toProto(message: QueryAllBalancesResponse): Uint8Array; - toProtoMsg(message: QueryAllBalancesResponse): QueryAllBalancesResponseProtoMsg; -}; -export declare const QuerySpendableBalancesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySpendableBalancesRequest; - isSDK(o: any): o is QuerySpendableBalancesRequestSDKType; - isAmino(o: any): o is QuerySpendableBalancesRequestAmino; - encode(message: QuerySpendableBalancesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySpendableBalancesRequest; - fromJSON(object: any): QuerySpendableBalancesRequest; - toJSON(message: QuerySpendableBalancesRequest): unknown; - fromPartial(object: DeepPartial): QuerySpendableBalancesRequest; - fromSDK(object: QuerySpendableBalancesRequestSDKType): QuerySpendableBalancesRequest; - toSDK(message: QuerySpendableBalancesRequest): QuerySpendableBalancesRequestSDKType; - fromAmino(object: QuerySpendableBalancesRequestAmino): QuerySpendableBalancesRequest; - toAmino(message: QuerySpendableBalancesRequest): QuerySpendableBalancesRequestAmino; - fromAminoMsg(object: QuerySpendableBalancesRequestAminoMsg): QuerySpendableBalancesRequest; - toAminoMsg(message: QuerySpendableBalancesRequest): QuerySpendableBalancesRequestAminoMsg; - fromProtoMsg(message: QuerySpendableBalancesRequestProtoMsg): QuerySpendableBalancesRequest; - toProto(message: QuerySpendableBalancesRequest): Uint8Array; - toProtoMsg(message: QuerySpendableBalancesRequest): QuerySpendableBalancesRequestProtoMsg; -}; -export declare const QuerySpendableBalancesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySpendableBalancesResponse; - isSDK(o: any): o is QuerySpendableBalancesResponseSDKType; - isAmino(o: any): o is QuerySpendableBalancesResponseAmino; - encode(message: QuerySpendableBalancesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySpendableBalancesResponse; - fromJSON(object: any): QuerySpendableBalancesResponse; - toJSON(message: QuerySpendableBalancesResponse): unknown; - fromPartial(object: DeepPartial): QuerySpendableBalancesResponse; - fromSDK(object: QuerySpendableBalancesResponseSDKType): QuerySpendableBalancesResponse; - toSDK(message: QuerySpendableBalancesResponse): QuerySpendableBalancesResponseSDKType; - fromAmino(object: QuerySpendableBalancesResponseAmino): QuerySpendableBalancesResponse; - toAmino(message: QuerySpendableBalancesResponse): QuerySpendableBalancesResponseAmino; - fromAminoMsg(object: QuerySpendableBalancesResponseAminoMsg): QuerySpendableBalancesResponse; - toAminoMsg(message: QuerySpendableBalancesResponse): QuerySpendableBalancesResponseAminoMsg; - fromProtoMsg(message: QuerySpendableBalancesResponseProtoMsg): QuerySpendableBalancesResponse; - toProto(message: QuerySpendableBalancesResponse): Uint8Array; - toProtoMsg(message: QuerySpendableBalancesResponse): QuerySpendableBalancesResponseProtoMsg; -}; -export declare const QueryTotalSupplyRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryTotalSupplyRequest; - isSDK(o: any): o is QueryTotalSupplyRequestSDKType; - isAmino(o: any): o is QueryTotalSupplyRequestAmino; - encode(message: QueryTotalSupplyRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryTotalSupplyRequest; - fromJSON(object: any): QueryTotalSupplyRequest; - toJSON(message: QueryTotalSupplyRequest): unknown; - fromPartial(object: DeepPartial): QueryTotalSupplyRequest; - fromSDK(object: QueryTotalSupplyRequestSDKType): QueryTotalSupplyRequest; - toSDK(message: QueryTotalSupplyRequest): QueryTotalSupplyRequestSDKType; - fromAmino(object: QueryTotalSupplyRequestAmino): QueryTotalSupplyRequest; - toAmino(message: QueryTotalSupplyRequest): QueryTotalSupplyRequestAmino; - fromAminoMsg(object: QueryTotalSupplyRequestAminoMsg): QueryTotalSupplyRequest; - toAminoMsg(message: QueryTotalSupplyRequest): QueryTotalSupplyRequestAminoMsg; - fromProtoMsg(message: QueryTotalSupplyRequestProtoMsg): QueryTotalSupplyRequest; - toProto(message: QueryTotalSupplyRequest): Uint8Array; - toProtoMsg(message: QueryTotalSupplyRequest): QueryTotalSupplyRequestProtoMsg; -}; -export declare const QueryTotalSupplyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryTotalSupplyResponse; - isSDK(o: any): o is QueryTotalSupplyResponseSDKType; - isAmino(o: any): o is QueryTotalSupplyResponseAmino; - encode(message: QueryTotalSupplyResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryTotalSupplyResponse; - fromJSON(object: any): QueryTotalSupplyResponse; - toJSON(message: QueryTotalSupplyResponse): unknown; - fromPartial(object: DeepPartial): QueryTotalSupplyResponse; - fromSDK(object: QueryTotalSupplyResponseSDKType): QueryTotalSupplyResponse; - toSDK(message: QueryTotalSupplyResponse): QueryTotalSupplyResponseSDKType; - fromAmino(object: QueryTotalSupplyResponseAmino): QueryTotalSupplyResponse; - toAmino(message: QueryTotalSupplyResponse): QueryTotalSupplyResponseAmino; - fromAminoMsg(object: QueryTotalSupplyResponseAminoMsg): QueryTotalSupplyResponse; - toAminoMsg(message: QueryTotalSupplyResponse): QueryTotalSupplyResponseAminoMsg; - fromProtoMsg(message: QueryTotalSupplyResponseProtoMsg): QueryTotalSupplyResponse; - toProto(message: QueryTotalSupplyResponse): Uint8Array; - toProtoMsg(message: QueryTotalSupplyResponse): QueryTotalSupplyResponseProtoMsg; -}; -export declare const QuerySupplyOfRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySupplyOfRequest; - isSDK(o: any): o is QuerySupplyOfRequestSDKType; - isAmino(o: any): o is QuerySupplyOfRequestAmino; - encode(message: QuerySupplyOfRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySupplyOfRequest; - fromJSON(object: any): QuerySupplyOfRequest; - toJSON(message: QuerySupplyOfRequest): unknown; - fromPartial(object: DeepPartial): QuerySupplyOfRequest; - fromSDK(object: QuerySupplyOfRequestSDKType): QuerySupplyOfRequest; - toSDK(message: QuerySupplyOfRequest): QuerySupplyOfRequestSDKType; - fromAmino(object: QuerySupplyOfRequestAmino): QuerySupplyOfRequest; - toAmino(message: QuerySupplyOfRequest): QuerySupplyOfRequestAmino; - fromAminoMsg(object: QuerySupplyOfRequestAminoMsg): QuerySupplyOfRequest; - toAminoMsg(message: QuerySupplyOfRequest): QuerySupplyOfRequestAminoMsg; - fromProtoMsg(message: QuerySupplyOfRequestProtoMsg): QuerySupplyOfRequest; - toProto(message: QuerySupplyOfRequest): Uint8Array; - toProtoMsg(message: QuerySupplyOfRequest): QuerySupplyOfRequestProtoMsg; -}; -export declare const QuerySupplyOfResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySupplyOfResponse; - isSDK(o: any): o is QuerySupplyOfResponseSDKType; - isAmino(o: any): o is QuerySupplyOfResponseAmino; - encode(message: QuerySupplyOfResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySupplyOfResponse; - fromJSON(object: any): QuerySupplyOfResponse; - toJSON(message: QuerySupplyOfResponse): unknown; - fromPartial(object: DeepPartial): QuerySupplyOfResponse; - fromSDK(object: QuerySupplyOfResponseSDKType): QuerySupplyOfResponse; - toSDK(message: QuerySupplyOfResponse): QuerySupplyOfResponseSDKType; - fromAmino(object: QuerySupplyOfResponseAmino): QuerySupplyOfResponse; - toAmino(message: QuerySupplyOfResponse): QuerySupplyOfResponseAmino; - fromAminoMsg(object: QuerySupplyOfResponseAminoMsg): QuerySupplyOfResponse; - toAminoMsg(message: QuerySupplyOfResponse): QuerySupplyOfResponseAminoMsg; - fromProtoMsg(message: QuerySupplyOfResponseProtoMsg): QuerySupplyOfResponse; - toProto(message: QuerySupplyOfResponse): Uint8Array; - toProtoMsg(message: QuerySupplyOfResponse): QuerySupplyOfResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: DeepPartial): QueryParamsRequest; - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryDenomsMetadataRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomsMetadataRequest; - isSDK(o: any): o is QueryDenomsMetadataRequestSDKType; - isAmino(o: any): o is QueryDenomsMetadataRequestAmino; - encode(message: QueryDenomsMetadataRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomsMetadataRequest; - fromJSON(object: any): QueryDenomsMetadataRequest; - toJSON(message: QueryDenomsMetadataRequest): unknown; - fromPartial(object: DeepPartial): QueryDenomsMetadataRequest; - fromSDK(object: QueryDenomsMetadataRequestSDKType): QueryDenomsMetadataRequest; - toSDK(message: QueryDenomsMetadataRequest): QueryDenomsMetadataRequestSDKType; - fromAmino(object: QueryDenomsMetadataRequestAmino): QueryDenomsMetadataRequest; - toAmino(message: QueryDenomsMetadataRequest): QueryDenomsMetadataRequestAmino; - fromAminoMsg(object: QueryDenomsMetadataRequestAminoMsg): QueryDenomsMetadataRequest; - toAminoMsg(message: QueryDenomsMetadataRequest): QueryDenomsMetadataRequestAminoMsg; - fromProtoMsg(message: QueryDenomsMetadataRequestProtoMsg): QueryDenomsMetadataRequest; - toProto(message: QueryDenomsMetadataRequest): Uint8Array; - toProtoMsg(message: QueryDenomsMetadataRequest): QueryDenomsMetadataRequestProtoMsg; -}; -export declare const QueryDenomsMetadataResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomsMetadataResponse; - isSDK(o: any): o is QueryDenomsMetadataResponseSDKType; - isAmino(o: any): o is QueryDenomsMetadataResponseAmino; - encode(message: QueryDenomsMetadataResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomsMetadataResponse; - fromJSON(object: any): QueryDenomsMetadataResponse; - toJSON(message: QueryDenomsMetadataResponse): unknown; - fromPartial(object: DeepPartial): QueryDenomsMetadataResponse; - fromSDK(object: QueryDenomsMetadataResponseSDKType): QueryDenomsMetadataResponse; - toSDK(message: QueryDenomsMetadataResponse): QueryDenomsMetadataResponseSDKType; - fromAmino(object: QueryDenomsMetadataResponseAmino): QueryDenomsMetadataResponse; - toAmino(message: QueryDenomsMetadataResponse): QueryDenomsMetadataResponseAmino; - fromAminoMsg(object: QueryDenomsMetadataResponseAminoMsg): QueryDenomsMetadataResponse; - toAminoMsg(message: QueryDenomsMetadataResponse): QueryDenomsMetadataResponseAminoMsg; - fromProtoMsg(message: QueryDenomsMetadataResponseProtoMsg): QueryDenomsMetadataResponse; - toProto(message: QueryDenomsMetadataResponse): Uint8Array; - toProtoMsg(message: QueryDenomsMetadataResponse): QueryDenomsMetadataResponseProtoMsg; -}; -export declare const QueryDenomMetadataRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomMetadataRequest; - isSDK(o: any): o is QueryDenomMetadataRequestSDKType; - isAmino(o: any): o is QueryDenomMetadataRequestAmino; - encode(message: QueryDenomMetadataRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomMetadataRequest; - fromJSON(object: any): QueryDenomMetadataRequest; - toJSON(message: QueryDenomMetadataRequest): unknown; - fromPartial(object: DeepPartial): QueryDenomMetadataRequest; - fromSDK(object: QueryDenomMetadataRequestSDKType): QueryDenomMetadataRequest; - toSDK(message: QueryDenomMetadataRequest): QueryDenomMetadataRequestSDKType; - fromAmino(object: QueryDenomMetadataRequestAmino): QueryDenomMetadataRequest; - toAmino(message: QueryDenomMetadataRequest): QueryDenomMetadataRequestAmino; - fromAminoMsg(object: QueryDenomMetadataRequestAminoMsg): QueryDenomMetadataRequest; - toAminoMsg(message: QueryDenomMetadataRequest): QueryDenomMetadataRequestAminoMsg; - fromProtoMsg(message: QueryDenomMetadataRequestProtoMsg): QueryDenomMetadataRequest; - toProto(message: QueryDenomMetadataRequest): Uint8Array; - toProtoMsg(message: QueryDenomMetadataRequest): QueryDenomMetadataRequestProtoMsg; -}; -export declare const QueryDenomMetadataResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomMetadataResponse; - isSDK(o: any): o is QueryDenomMetadataResponseSDKType; - isAmino(o: any): o is QueryDenomMetadataResponseAmino; - encode(message: QueryDenomMetadataResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomMetadataResponse; - fromJSON(object: any): QueryDenomMetadataResponse; - toJSON(message: QueryDenomMetadataResponse): unknown; - fromPartial(object: DeepPartial): QueryDenomMetadataResponse; - fromSDK(object: QueryDenomMetadataResponseSDKType): QueryDenomMetadataResponse; - toSDK(message: QueryDenomMetadataResponse): QueryDenomMetadataResponseSDKType; - fromAmino(object: QueryDenomMetadataResponseAmino): QueryDenomMetadataResponse; - toAmino(message: QueryDenomMetadataResponse): QueryDenomMetadataResponseAmino; - fromAminoMsg(object: QueryDenomMetadataResponseAminoMsg): QueryDenomMetadataResponse; - toAminoMsg(message: QueryDenomMetadataResponse): QueryDenomMetadataResponseAminoMsg; - fromProtoMsg(message: QueryDenomMetadataResponseProtoMsg): QueryDenomMetadataResponse; - toProto(message: QueryDenomMetadataResponse): Uint8Array; - toProtoMsg(message: QueryDenomMetadataResponse): QueryDenomMetadataResponseProtoMsg; -}; -export declare const QueryDenomOwnersRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomOwnersRequest; - isSDK(o: any): o is QueryDenomOwnersRequestSDKType; - isAmino(o: any): o is QueryDenomOwnersRequestAmino; - encode(message: QueryDenomOwnersRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomOwnersRequest; - fromJSON(object: any): QueryDenomOwnersRequest; - toJSON(message: QueryDenomOwnersRequest): unknown; - fromPartial(object: DeepPartial): QueryDenomOwnersRequest; - fromSDK(object: QueryDenomOwnersRequestSDKType): QueryDenomOwnersRequest; - toSDK(message: QueryDenomOwnersRequest): QueryDenomOwnersRequestSDKType; - fromAmino(object: QueryDenomOwnersRequestAmino): QueryDenomOwnersRequest; - toAmino(message: QueryDenomOwnersRequest): QueryDenomOwnersRequestAmino; - fromAminoMsg(object: QueryDenomOwnersRequestAminoMsg): QueryDenomOwnersRequest; - toAminoMsg(message: QueryDenomOwnersRequest): QueryDenomOwnersRequestAminoMsg; - fromProtoMsg(message: QueryDenomOwnersRequestProtoMsg): QueryDenomOwnersRequest; - toProto(message: QueryDenomOwnersRequest): Uint8Array; - toProtoMsg(message: QueryDenomOwnersRequest): QueryDenomOwnersRequestProtoMsg; -}; -export declare const DenomOwner: { - typeUrl: string; - aminoType: string; - is(o: any): o is DenomOwner; - isSDK(o: any): o is DenomOwnerSDKType; - isAmino(o: any): o is DenomOwnerAmino; - encode(message: DenomOwner, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DenomOwner; - fromJSON(object: any): DenomOwner; - toJSON(message: DenomOwner): unknown; - fromPartial(object: DeepPartial): DenomOwner; - fromSDK(object: DenomOwnerSDKType): DenomOwner; - toSDK(message: DenomOwner): DenomOwnerSDKType; - fromAmino(object: DenomOwnerAmino): DenomOwner; - toAmino(message: DenomOwner): DenomOwnerAmino; - fromAminoMsg(object: DenomOwnerAminoMsg): DenomOwner; - toAminoMsg(message: DenomOwner): DenomOwnerAminoMsg; - fromProtoMsg(message: DenomOwnerProtoMsg): DenomOwner; - toProto(message: DenomOwner): Uint8Array; - toProtoMsg(message: DenomOwner): DenomOwnerProtoMsg; -}; -export declare const QueryDenomOwnersResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomOwnersResponse; - isSDK(o: any): o is QueryDenomOwnersResponseSDKType; - isAmino(o: any): o is QueryDenomOwnersResponseAmino; - encode(message: QueryDenomOwnersResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomOwnersResponse; - fromJSON(object: any): QueryDenomOwnersResponse; - toJSON(message: QueryDenomOwnersResponse): unknown; - fromPartial(object: DeepPartial): QueryDenomOwnersResponse; - fromSDK(object: QueryDenomOwnersResponseSDKType): QueryDenomOwnersResponse; - toSDK(message: QueryDenomOwnersResponse): QueryDenomOwnersResponseSDKType; - fromAmino(object: QueryDenomOwnersResponseAmino): QueryDenomOwnersResponse; - toAmino(message: QueryDenomOwnersResponse): QueryDenomOwnersResponseAmino; - fromAminoMsg(object: QueryDenomOwnersResponseAminoMsg): QueryDenomOwnersResponse; - toAminoMsg(message: QueryDenomOwnersResponse): QueryDenomOwnersResponseAminoMsg; - fromProtoMsg(message: QueryDenomOwnersResponseProtoMsg): QueryDenomOwnersResponse; - toProto(message: QueryDenomOwnersResponse): Uint8Array; - toProtoMsg(message: QueryDenomOwnersResponse): QueryDenomOwnersResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/bank/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/bank/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index baf271fa..00000000 --- a/examples/authz/types/codegen/cosmos/bank/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,167 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Balance queries the balance of a single coin for a single account. */ - balance(request: QueryBalanceRequest): Promise; - /** AllBalances queries the balance of all coins for a single account. */ - allBalances(request: QueryAllBalancesRequest): Promise; - /** - * SpendableBalances queries the spenable balance of all coins for a single - * account. - */ - spendableBalances(request: QuerySpendableBalancesRequest): Promise; - /** TotalSupply queries the total supply of all coins. */ - totalSupply(request?: QueryTotalSupplyRequest): Promise; - /** SupplyOf queries the supply of a single coin. */ - supplyOf(request: QuerySupplyOfRequest): Promise; - /** Params queries the parameters of x/bank module. */ - params(request?: QueryParamsRequest): Promise; - /** DenomsMetadata queries the client metadata of a given coin denomination. */ - denomMetadata(request: QueryDenomMetadataRequest): Promise; - /** - * DenomsMetadata queries the client metadata for all registered coin - * denominations. - */ - denomsMetadata(request?: QueryDenomsMetadataRequest): Promise; - /** - * DenomOwners queries for all account addresses that own a particular token - * denomination. - */ - denomOwners(request: QueryDenomOwnersRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - balance: (request: QueryBalanceRequest) => Promise; - allBalances: (request: QueryAllBalancesRequest) => Promise; - spendableBalances: (request: QuerySpendableBalancesRequest) => Promise; - totalSupply: (request?: QueryTotalSupplyRequest) => Promise; - supplyOf: (request: QuerySupplyOfRequest) => Promise; - params: (request?: QueryParamsRequest) => Promise; - denomMetadata: (request: QueryDenomMetadataRequest) => Promise; - denomsMetadata: (request?: QueryDenomsMetadataRequest) => Promise; - denomOwners: (request: QueryDenomOwnersRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseBalanceQuery extends ReactQueryParams { - request: QueryBalanceRequest; -} -export interface UseAllBalancesQuery extends ReactQueryParams { - request: QueryAllBalancesRequest; -} -export interface UseSpendableBalancesQuery extends ReactQueryParams { - request: QuerySpendableBalancesRequest; -} -export interface UseTotalSupplyQuery extends ReactQueryParams { - request?: QueryTotalSupplyRequest; -} -export interface UseSupplyOfQuery extends ReactQueryParams { - request: QuerySupplyOfRequest; -} -export interface UseParamsQuery extends ReactQueryParams { - request?: QueryParamsRequest; -} -export interface UseDenomMetadataQuery extends ReactQueryParams { - request: QueryDenomMetadataRequest; -} -export interface UseDenomsMetadataQuery extends ReactQueryParams { - request?: QueryDenomsMetadataRequest; -} -export interface UseDenomOwnersQuery extends ReactQueryParams { - request: QueryDenomOwnersRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Balance queries the balance of a single coin for a single account. */ useBalance: ({ request, options }: UseBalanceQuery) => import("@tanstack/react-query").UseQueryResult; - /** AllBalances queries the balance of all coins for a single account. */ useAllBalances: ({ request, options }: UseAllBalancesQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * SpendableBalances queries the spenable balance of all coins for a single - * account. - */ - useSpendableBalances: ({ request, options }: UseSpendableBalancesQuery) => import("@tanstack/react-query").UseQueryResult; - /** TotalSupply queries the total supply of all coins. */ useTotalSupply: ({ request, options }: UseTotalSupplyQuery) => import("@tanstack/react-query").UseQueryResult; - /** SupplyOf queries the supply of a single coin. */ useSupplyOf: ({ request, options }: UseSupplyOfQuery) => import("@tanstack/react-query").UseQueryResult; - /** Params queries the parameters of x/bank module. */ useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - /** DenomsMetadata queries the client metadata of a given coin denomination. */ useDenomMetadata: ({ request, options }: UseDenomMetadataQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * DenomsMetadata queries the client metadata for all registered coin - * denominations. - */ - useDenomsMetadata: ({ request, options }: UseDenomsMetadataQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * DenomOwners queries for all account addresses that own a particular token - * denomination. - */ - useDenomOwners: ({ request, options }: UseDenomOwnersQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Balance queries the balance of a single coin for a single account. */ QueryBalanceStore: { - new (): { - store: QueryStore; - balance(request: QueryBalanceRequest): import("../../../mobx").MobxResponse; - }; - }; - /** AllBalances queries the balance of all coins for a single account. */ QueryAllBalancesStore: { - new (): { - store: QueryStore; - allBalances(request: QueryAllBalancesRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * SpendableBalances queries the spenable balance of all coins for a single - * account. - */ - QuerySpendableBalancesStore: { - new (): { - store: QueryStore; - spendableBalances(request: QuerySpendableBalancesRequest): import("../../../mobx").MobxResponse; - }; - }; - /** TotalSupply queries the total supply of all coins. */ QueryTotalSupplyStore: { - new (): { - store: QueryStore; - totalSupply(request: QueryTotalSupplyRequest): import("../../../mobx").MobxResponse; - }; - }; - /** SupplyOf queries the supply of a single coin. */ QuerySupplyOfStore: { - new (): { - store: QueryStore; - supplyOf(request: QuerySupplyOfRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Params queries the parameters of x/bank module. */ QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** DenomsMetadata queries the client metadata of a given coin denomination. */ QueryDenomMetadataStore: { - new (): { - store: QueryStore; - denomMetadata(request: QueryDenomMetadataRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * DenomsMetadata queries the client metadata for all registered coin - * denominations. - */ - QueryDenomsMetadataStore: { - new (): { - store: QueryStore; - denomsMetadata(request: QueryDenomsMetadataRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * DenomOwners queries for all account addresses that own a particular token - * denomination. - */ - QueryDenomOwnersStore: { - new (): { - store: QueryStore; - denomOwners(request: QueryDenomOwnersRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts b/examples/authz/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts deleted file mode 100644 index ad7ed74a..00000000 --- a/examples/authz/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { MsgSend, MsgMultiSend } from "./tx"; -export declare const AminoConverter: { - "/cosmos.bank.v1beta1.MsgSend": { - aminoType: string; - toAmino: (message: MsgSend) => import("./tx").MsgSendAmino; - fromAmino: (object: import("./tx").MsgSendAmino) => MsgSend; - }; - "/cosmos.bank.v1beta1.MsgMultiSend": { - aminoType: string; - toAmino: (message: MsgMultiSend) => import("./tx").MsgMultiSendAmino; - fromAmino: (object: import("./tx").MsgMultiSendAmino) => MsgMultiSend; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/bank/v1beta1/tx.d.ts b/examples/authz/types/codegen/cosmos/bank/v1beta1/tx.d.ts deleted file mode 100644 index 1a44ed8d..00000000 --- a/examples/authz/types/codegen/cosmos/bank/v1beta1/tx.d.ts +++ /dev/null @@ -1,171 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Input, InputAmino, InputSDKType, Output, OutputAmino, OutputSDKType } from "./bank"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** MsgSend represents a message to send coins from one account to another. */ -export interface MsgSend { - fromAddress: string; - toAddress: string; - amount: Coin[]; -} -export interface MsgSendProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.MsgSend"; - value: Uint8Array; -} -/** MsgSend represents a message to send coins from one account to another. */ -export interface MsgSendAmino { - from_address?: string; - to_address?: string; - amount?: CoinAmino[]; -} -export interface MsgSendAminoMsg { - type: "cosmos-sdk/MsgSend"; - value: MsgSendAmino; -} -/** MsgSend represents a message to send coins from one account to another. */ -export interface MsgSendSDKType { - from_address: string; - to_address: string; - amount: CoinSDKType[]; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponse { -} -export interface MsgSendResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.MsgSendResponse"; - value: Uint8Array; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponseAmino { -} -export interface MsgSendResponseAminoMsg { - type: "cosmos-sdk/MsgSendResponse"; - value: MsgSendResponseAmino; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponseSDKType { -} -/** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */ -export interface MsgMultiSend { - inputs: Input[]; - outputs: Output[]; -} -export interface MsgMultiSendProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend"; - value: Uint8Array; -} -/** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */ -export interface MsgMultiSendAmino { - inputs?: InputAmino[]; - outputs?: OutputAmino[]; -} -export interface MsgMultiSendAminoMsg { - type: "cosmos-sdk/MsgMultiSend"; - value: MsgMultiSendAmino; -} -/** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */ -export interface MsgMultiSendSDKType { - inputs: InputSDKType[]; - outputs: OutputSDKType[]; -} -/** MsgMultiSendResponse defines the Msg/MultiSend response type. */ -export interface MsgMultiSendResponse { -} -export interface MsgMultiSendResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSendResponse"; - value: Uint8Array; -} -/** MsgMultiSendResponse defines the Msg/MultiSend response type. */ -export interface MsgMultiSendResponseAmino { -} -export interface MsgMultiSendResponseAminoMsg { - type: "cosmos-sdk/MsgMultiSendResponse"; - value: MsgMultiSendResponseAmino; -} -/** MsgMultiSendResponse defines the Msg/MultiSend response type. */ -export interface MsgMultiSendResponseSDKType { -} -export declare const MsgSend: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSend; - isSDK(o: any): o is MsgSendSDKType; - isAmino(o: any): o is MsgSendAmino; - encode(message: MsgSend, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSend; - fromJSON(object: any): MsgSend; - toJSON(message: MsgSend): unknown; - fromPartial(object: DeepPartial): MsgSend; - fromSDK(object: MsgSendSDKType): MsgSend; - toSDK(message: MsgSend): MsgSendSDKType; - fromAmino(object: MsgSendAmino): MsgSend; - toAmino(message: MsgSend): MsgSendAmino; - fromAminoMsg(object: MsgSendAminoMsg): MsgSend; - toAminoMsg(message: MsgSend): MsgSendAminoMsg; - fromProtoMsg(message: MsgSendProtoMsg): MsgSend; - toProto(message: MsgSend): Uint8Array; - toProtoMsg(message: MsgSend): MsgSendProtoMsg; -}; -export declare const MsgSendResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSendResponse; - isSDK(o: any): o is MsgSendResponseSDKType; - isAmino(o: any): o is MsgSendResponseAmino; - encode(_: MsgSendResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSendResponse; - fromJSON(_: any): MsgSendResponse; - toJSON(_: MsgSendResponse): unknown; - fromPartial(_: DeepPartial): MsgSendResponse; - fromSDK(_: MsgSendResponseSDKType): MsgSendResponse; - toSDK(_: MsgSendResponse): MsgSendResponseSDKType; - fromAmino(_: MsgSendResponseAmino): MsgSendResponse; - toAmino(_: MsgSendResponse): MsgSendResponseAmino; - fromAminoMsg(object: MsgSendResponseAminoMsg): MsgSendResponse; - toAminoMsg(message: MsgSendResponse): MsgSendResponseAminoMsg; - fromProtoMsg(message: MsgSendResponseProtoMsg): MsgSendResponse; - toProto(message: MsgSendResponse): Uint8Array; - toProtoMsg(message: MsgSendResponse): MsgSendResponseProtoMsg; -}; -export declare const MsgMultiSend: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgMultiSend; - isSDK(o: any): o is MsgMultiSendSDKType; - isAmino(o: any): o is MsgMultiSendAmino; - encode(message: MsgMultiSend, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgMultiSend; - fromJSON(object: any): MsgMultiSend; - toJSON(message: MsgMultiSend): unknown; - fromPartial(object: DeepPartial): MsgMultiSend; - fromSDK(object: MsgMultiSendSDKType): MsgMultiSend; - toSDK(message: MsgMultiSend): MsgMultiSendSDKType; - fromAmino(object: MsgMultiSendAmino): MsgMultiSend; - toAmino(message: MsgMultiSend): MsgMultiSendAmino; - fromAminoMsg(object: MsgMultiSendAminoMsg): MsgMultiSend; - toAminoMsg(message: MsgMultiSend): MsgMultiSendAminoMsg; - fromProtoMsg(message: MsgMultiSendProtoMsg): MsgMultiSend; - toProto(message: MsgMultiSend): Uint8Array; - toProtoMsg(message: MsgMultiSend): MsgMultiSendProtoMsg; -}; -export declare const MsgMultiSendResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgMultiSendResponse; - isSDK(o: any): o is MsgMultiSendResponseSDKType; - isAmino(o: any): o is MsgMultiSendResponseAmino; - encode(_: MsgMultiSendResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgMultiSendResponse; - fromJSON(_: any): MsgMultiSendResponse; - toJSON(_: MsgMultiSendResponse): unknown; - fromPartial(_: DeepPartial): MsgMultiSendResponse; - fromSDK(_: MsgMultiSendResponseSDKType): MsgMultiSendResponse; - toSDK(_: MsgMultiSendResponse): MsgMultiSendResponseSDKType; - fromAmino(_: MsgMultiSendResponseAmino): MsgMultiSendResponse; - toAmino(_: MsgMultiSendResponse): MsgMultiSendResponseAmino; - fromAminoMsg(object: MsgMultiSendResponseAminoMsg): MsgMultiSendResponse; - toAminoMsg(message: MsgMultiSendResponse): MsgMultiSendResponseAminoMsg; - fromProtoMsg(message: MsgMultiSendResponseProtoMsg): MsgMultiSendResponse; - toProto(message: MsgMultiSendResponse): Uint8Array; - toProtoMsg(message: MsgMultiSendResponse): MsgMultiSendResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts b/examples/authz/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts deleted file mode 100644 index 5f1ccfe4..00000000 --- a/examples/authz/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgSend, MsgMultiSend } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - send(value: MsgSend): { - typeUrl: string; - value: Uint8Array; - }; - multiSend(value: MsgMultiSend): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - send(value: MsgSend): { - typeUrl: string; - value: MsgSend; - }; - multiSend(value: MsgMultiSend): { - typeUrl: string; - value: MsgMultiSend; - }; - }; - toJSON: { - send(value: MsgSend): { - typeUrl: string; - value: unknown; - }; - multiSend(value: MsgMultiSend): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - send(value: any): { - typeUrl: string; - value: MsgSend; - }; - multiSend(value: any): { - typeUrl: string; - value: MsgMultiSend; - }; - }; - fromPartial: { - send(value: MsgSend): { - typeUrl: string; - value: MsgSend; - }; - multiSend(value: MsgMultiSend): { - typeUrl: string; - value: MsgMultiSend; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index a846c384..00000000 --- a/examples/authz/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgSend, MsgMultiSend } from "./tx"; -/** Msg defines the bank Msg service. */ -export interface Msg { - /** Send defines a method for sending coins from one account to another account. */ - send(signerAddress: string, message: MsgSend, fee: number | StdFee | "auto", memo: string): Promise; - /** MultiSend defines a method for sending coins from some accounts to other accounts. */ - multiSend(signerAddress: string, message: MsgMultiSend, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - send: (signerAddress: string, message: MsgSend, fee?: number | StdFee | "auto", memo?: string) => Promise; - multiSend: (signerAddress: string, message: MsgMultiSend, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts b/examples/authz/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts deleted file mode 100644 index af650dfc..00000000 --- a/examples/authz/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +++ /dev/null @@ -1,683 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { Event, EventAmino, EventSDKType } from "../../../../tendermint/abci/types"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * TxResponse defines a structure containing relevant tx data and metadata. The - * tags are stringified and the log is JSON decoded. - */ -export interface TxResponse { - /** The block height */ - height: bigint; - /** The transaction hash. */ - txhash: string; - /** Namespace for the Code */ - codespace: string; - /** Response code. */ - code: number; - /** Result bytes, if any. */ - data: string; - /** - * The output of the application's logger (raw string). May be - * non-deterministic. - */ - rawLog: string; - /** The output of the application's logger (typed). May be non-deterministic. */ - logs: ABCIMessageLog[]; - /** Additional information. May be non-deterministic. */ - info: string; - /** Amount of gas requested for transaction. */ - gasWanted: bigint; - /** Amount of gas consumed by transaction. */ - gasUsed: bigint; - /** The request transaction bytes. */ - tx?: Any | undefined; - /** - * Time of the previous block. For heights > 1, it's the weighted median of - * the timestamps of the valid votes in the block.LastCommit. For height == 1, - * it's genesis time. - */ - timestamp: string; - /** - * Events defines all the events emitted by processing a transaction. Note, - * these events include those emitted by processing all the messages and those - * emitted from the ante handler. Whereas Logs contains the events, with - * additional metadata, emitted only by processing the messages. - * - * Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 - */ - events: Event[]; -} -export interface TxResponseProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.TxResponse"; - value: Uint8Array; -} -/** - * TxResponse defines a structure containing relevant tx data and metadata. The - * tags are stringified and the log is JSON decoded. - */ -export interface TxResponseAmino { - /** The block height */ - height?: string; - /** The transaction hash. */ - txhash?: string; - /** Namespace for the Code */ - codespace?: string; - /** Response code. */ - code?: number; - /** Result bytes, if any. */ - data?: string; - /** - * The output of the application's logger (raw string). May be - * non-deterministic. - */ - raw_log?: string; - /** The output of the application's logger (typed). May be non-deterministic. */ - logs?: ABCIMessageLogAmino[]; - /** Additional information. May be non-deterministic. */ - info?: string; - /** Amount of gas requested for transaction. */ - gas_wanted?: string; - /** Amount of gas consumed by transaction. */ - gas_used?: string; - /** The request transaction bytes. */ - tx?: AnyAmino | undefined; - /** - * Time of the previous block. For heights > 1, it's the weighted median of - * the timestamps of the valid votes in the block.LastCommit. For height == 1, - * it's genesis time. - */ - timestamp?: string; - /** - * Events defines all the events emitted by processing a transaction. Note, - * these events include those emitted by processing all the messages and those - * emitted from the ante handler. Whereas Logs contains the events, with - * additional metadata, emitted only by processing the messages. - * - * Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 - */ - events?: EventAmino[]; -} -export interface TxResponseAminoMsg { - type: "cosmos-sdk/TxResponse"; - value: TxResponseAmino; -} -/** - * TxResponse defines a structure containing relevant tx data and metadata. The - * tags are stringified and the log is JSON decoded. - */ -export interface TxResponseSDKType { - height: bigint; - txhash: string; - codespace: string; - code: number; - data: string; - raw_log: string; - logs: ABCIMessageLogSDKType[]; - info: string; - gas_wanted: bigint; - gas_used: bigint; - tx?: AnySDKType | undefined; - timestamp: string; - events: EventSDKType[]; -} -/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ -export interface ABCIMessageLog { - msgIndex: number; - log: string; - /** - * Events contains a slice of Event objects that were emitted during some - * execution. - */ - events: StringEvent[]; -} -export interface ABCIMessageLogProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.ABCIMessageLog"; - value: Uint8Array; -} -/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ -export interface ABCIMessageLogAmino { - msg_index?: number; - log?: string; - /** - * Events contains a slice of Event objects that were emitted during some - * execution. - */ - events?: StringEventAmino[]; -} -export interface ABCIMessageLogAminoMsg { - type: "cosmos-sdk/ABCIMessageLog"; - value: ABCIMessageLogAmino; -} -/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ -export interface ABCIMessageLogSDKType { - msg_index: number; - log: string; - events: StringEventSDKType[]; -} -/** - * StringEvent defines en Event object wrapper where all the attributes - * contain key/value pairs that are strings instead of raw bytes. - */ -export interface StringEvent { - type: string; - attributes: Attribute[]; -} -export interface StringEventProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.StringEvent"; - value: Uint8Array; -} -/** - * StringEvent defines en Event object wrapper where all the attributes - * contain key/value pairs that are strings instead of raw bytes. - */ -export interface StringEventAmino { - type?: string; - attributes?: AttributeAmino[]; -} -export interface StringEventAminoMsg { - type: "cosmos-sdk/StringEvent"; - value: StringEventAmino; -} -/** - * StringEvent defines en Event object wrapper where all the attributes - * contain key/value pairs that are strings instead of raw bytes. - */ -export interface StringEventSDKType { - type: string; - attributes: AttributeSDKType[]; -} -/** - * Attribute defines an attribute wrapper where the key and value are - * strings instead of raw bytes. - */ -export interface Attribute { - key: string; - value: string; -} -export interface AttributeProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.Attribute"; - value: Uint8Array; -} -/** - * Attribute defines an attribute wrapper where the key and value are - * strings instead of raw bytes. - */ -export interface AttributeAmino { - key?: string; - value?: string; -} -export interface AttributeAminoMsg { - type: "cosmos-sdk/Attribute"; - value: AttributeAmino; -} -/** - * Attribute defines an attribute wrapper where the key and value are - * strings instead of raw bytes. - */ -export interface AttributeSDKType { - key: string; - value: string; -} -/** GasInfo defines tx execution gas context. */ -export interface GasInfo { - /** GasWanted is the maximum units of work we allow this tx to perform. */ - gasWanted: bigint; - /** GasUsed is the amount of gas actually consumed. */ - gasUsed: bigint; -} -export interface GasInfoProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.GasInfo"; - value: Uint8Array; -} -/** GasInfo defines tx execution gas context. */ -export interface GasInfoAmino { - /** GasWanted is the maximum units of work we allow this tx to perform. */ - gas_wanted?: string; - /** GasUsed is the amount of gas actually consumed. */ - gas_used?: string; -} -export interface GasInfoAminoMsg { - type: "cosmos-sdk/GasInfo"; - value: GasInfoAmino; -} -/** GasInfo defines tx execution gas context. */ -export interface GasInfoSDKType { - gas_wanted: bigint; - gas_used: bigint; -} -/** Result is the union of ResponseFormat and ResponseCheckTx. */ -export interface Result { - /** - * Data is any data returned from message or handler execution. It MUST be - * length prefixed in order to separate data from multiple message executions. - * Deprecated. This field is still populated, but prefer msg_response instead - * because it also contains the Msg response typeURL. - */ - /** @deprecated */ - data: Uint8Array; - /** Log contains the log information from message or handler execution. */ - log: string; - /** - * Events contains a slice of Event objects that were emitted during message - * or handler execution. - */ - events: Event[]; - /** - * msg_responses contains the Msg handler responses type packed in Anys. - * - * Since: cosmos-sdk 0.46 - */ - msgResponses: Any[]; -} -export interface ResultProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.Result"; - value: Uint8Array; -} -/** Result is the union of ResponseFormat and ResponseCheckTx. */ -export interface ResultAmino { - /** - * Data is any data returned from message or handler execution. It MUST be - * length prefixed in order to separate data from multiple message executions. - * Deprecated. This field is still populated, but prefer msg_response instead - * because it also contains the Msg response typeURL. - */ - /** @deprecated */ - data?: string; - /** Log contains the log information from message or handler execution. */ - log?: string; - /** - * Events contains a slice of Event objects that were emitted during message - * or handler execution. - */ - events?: EventAmino[]; - /** - * msg_responses contains the Msg handler responses type packed in Anys. - * - * Since: cosmos-sdk 0.46 - */ - msg_responses?: AnyAmino[]; -} -export interface ResultAminoMsg { - type: "cosmos-sdk/Result"; - value: ResultAmino; -} -/** Result is the union of ResponseFormat and ResponseCheckTx. */ -export interface ResultSDKType { - /** @deprecated */ - data: Uint8Array; - log: string; - events: EventSDKType[]; - msg_responses: AnySDKType[]; -} -/** - * SimulationResponse defines the response generated when a transaction is - * successfully simulated. - */ -export interface SimulationResponse { - gasInfo: GasInfo | undefined; - result?: Result | undefined; -} -export interface SimulationResponseProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.SimulationResponse"; - value: Uint8Array; -} -/** - * SimulationResponse defines the response generated when a transaction is - * successfully simulated. - */ -export interface SimulationResponseAmino { - gas_info?: GasInfoAmino | undefined; - result?: ResultAmino | undefined; -} -export interface SimulationResponseAminoMsg { - type: "cosmos-sdk/SimulationResponse"; - value: SimulationResponseAmino; -} -/** - * SimulationResponse defines the response generated when a transaction is - * successfully simulated. - */ -export interface SimulationResponseSDKType { - gas_info: GasInfoSDKType | undefined; - result?: ResultSDKType | undefined; -} -/** - * MsgData defines the data returned in a Result object during message - * execution. - */ -/** @deprecated */ -export interface MsgData { - msgType: string; - data: Uint8Array; -} -export interface MsgDataProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.MsgData"; - value: Uint8Array; -} -/** - * MsgData defines the data returned in a Result object during message - * execution. - */ -/** @deprecated */ -export interface MsgDataAmino { - msg_type?: string; - data?: string; -} -export interface MsgDataAminoMsg { - type: "cosmos-sdk/MsgData"; - value: MsgDataAmino; -} -/** - * MsgData defines the data returned in a Result object during message - * execution. - */ -/** @deprecated */ -export interface MsgDataSDKType { - msg_type: string; - data: Uint8Array; -} -/** - * TxMsgData defines a list of MsgData. A transaction will have a MsgData object - * for each message. - */ -export interface TxMsgData { - /** data field is deprecated and not populated. */ - /** @deprecated */ - data: MsgData[]; - /** - * msg_responses contains the Msg handler responses packed into Anys. - * - * Since: cosmos-sdk 0.46 - */ - msgResponses: Any[]; -} -export interface TxMsgDataProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.TxMsgData"; - value: Uint8Array; -} -/** - * TxMsgData defines a list of MsgData. A transaction will have a MsgData object - * for each message. - */ -export interface TxMsgDataAmino { - /** data field is deprecated and not populated. */ - /** @deprecated */ - data?: MsgDataAmino[]; - /** - * msg_responses contains the Msg handler responses packed into Anys. - * - * Since: cosmos-sdk 0.46 - */ - msg_responses?: AnyAmino[]; -} -export interface TxMsgDataAminoMsg { - type: "cosmos-sdk/TxMsgData"; - value: TxMsgDataAmino; -} -/** - * TxMsgData defines a list of MsgData. A transaction will have a MsgData object - * for each message. - */ -export interface TxMsgDataSDKType { - /** @deprecated */ - data: MsgDataSDKType[]; - msg_responses: AnySDKType[]; -} -/** SearchTxsResult defines a structure for querying txs pageable */ -export interface SearchTxsResult { - /** Count of all txs */ - totalCount: bigint; - /** Count of txs in current page */ - count: bigint; - /** Index of current page, start from 1 */ - pageNumber: bigint; - /** Count of total pages */ - pageTotal: bigint; - /** Max count txs per page */ - limit: bigint; - /** List of txs in current page */ - txs: TxResponse[]; -} -export interface SearchTxsResultProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.SearchTxsResult"; - value: Uint8Array; -} -/** SearchTxsResult defines a structure for querying txs pageable */ -export interface SearchTxsResultAmino { - /** Count of all txs */ - total_count?: string; - /** Count of txs in current page */ - count?: string; - /** Index of current page, start from 1 */ - page_number?: string; - /** Count of total pages */ - page_total?: string; - /** Max count txs per page */ - limit?: string; - /** List of txs in current page */ - txs?: TxResponseAmino[]; -} -export interface SearchTxsResultAminoMsg { - type: "cosmos-sdk/SearchTxsResult"; - value: SearchTxsResultAmino; -} -/** SearchTxsResult defines a structure for querying txs pageable */ -export interface SearchTxsResultSDKType { - total_count: bigint; - count: bigint; - page_number: bigint; - page_total: bigint; - limit: bigint; - txs: TxResponseSDKType[]; -} -export declare const TxResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is TxResponse; - isSDK(o: any): o is TxResponseSDKType; - isAmino(o: any): o is TxResponseAmino; - encode(message: TxResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TxResponse; - fromJSON(object: any): TxResponse; - toJSON(message: TxResponse): unknown; - fromPartial(object: DeepPartial): TxResponse; - fromSDK(object: TxResponseSDKType): TxResponse; - toSDK(message: TxResponse): TxResponseSDKType; - fromAmino(object: TxResponseAmino): TxResponse; - toAmino(message: TxResponse): TxResponseAmino; - fromAminoMsg(object: TxResponseAminoMsg): TxResponse; - toAminoMsg(message: TxResponse): TxResponseAminoMsg; - fromProtoMsg(message: TxResponseProtoMsg): TxResponse; - toProto(message: TxResponse): Uint8Array; - toProtoMsg(message: TxResponse): TxResponseProtoMsg; -}; -export declare const ABCIMessageLog: { - typeUrl: string; - aminoType: string; - is(o: any): o is ABCIMessageLog; - isSDK(o: any): o is ABCIMessageLogSDKType; - isAmino(o: any): o is ABCIMessageLogAmino; - encode(message: ABCIMessageLog, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ABCIMessageLog; - fromJSON(object: any): ABCIMessageLog; - toJSON(message: ABCIMessageLog): unknown; - fromPartial(object: DeepPartial): ABCIMessageLog; - fromSDK(object: ABCIMessageLogSDKType): ABCIMessageLog; - toSDK(message: ABCIMessageLog): ABCIMessageLogSDKType; - fromAmino(object: ABCIMessageLogAmino): ABCIMessageLog; - toAmino(message: ABCIMessageLog): ABCIMessageLogAmino; - fromAminoMsg(object: ABCIMessageLogAminoMsg): ABCIMessageLog; - toAminoMsg(message: ABCIMessageLog): ABCIMessageLogAminoMsg; - fromProtoMsg(message: ABCIMessageLogProtoMsg): ABCIMessageLog; - toProto(message: ABCIMessageLog): Uint8Array; - toProtoMsg(message: ABCIMessageLog): ABCIMessageLogProtoMsg; -}; -export declare const StringEvent: { - typeUrl: string; - aminoType: string; - is(o: any): o is StringEvent; - isSDK(o: any): o is StringEventSDKType; - isAmino(o: any): o is StringEventAmino; - encode(message: StringEvent, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): StringEvent; - fromJSON(object: any): StringEvent; - toJSON(message: StringEvent): unknown; - fromPartial(object: DeepPartial): StringEvent; - fromSDK(object: StringEventSDKType): StringEvent; - toSDK(message: StringEvent): StringEventSDKType; - fromAmino(object: StringEventAmino): StringEvent; - toAmino(message: StringEvent): StringEventAmino; - fromAminoMsg(object: StringEventAminoMsg): StringEvent; - toAminoMsg(message: StringEvent): StringEventAminoMsg; - fromProtoMsg(message: StringEventProtoMsg): StringEvent; - toProto(message: StringEvent): Uint8Array; - toProtoMsg(message: StringEvent): StringEventProtoMsg; -}; -export declare const Attribute: { - typeUrl: string; - aminoType: string; - is(o: any): o is Attribute; - isSDK(o: any): o is AttributeSDKType; - isAmino(o: any): o is AttributeAmino; - encode(message: Attribute, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Attribute; - fromJSON(object: any): Attribute; - toJSON(message: Attribute): unknown; - fromPartial(object: DeepPartial): Attribute; - fromSDK(object: AttributeSDKType): Attribute; - toSDK(message: Attribute): AttributeSDKType; - fromAmino(object: AttributeAmino): Attribute; - toAmino(message: Attribute): AttributeAmino; - fromAminoMsg(object: AttributeAminoMsg): Attribute; - toAminoMsg(message: Attribute): AttributeAminoMsg; - fromProtoMsg(message: AttributeProtoMsg): Attribute; - toProto(message: Attribute): Uint8Array; - toProtoMsg(message: Attribute): AttributeProtoMsg; -}; -export declare const GasInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is GasInfo; - isSDK(o: any): o is GasInfoSDKType; - isAmino(o: any): o is GasInfoAmino; - encode(message: GasInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GasInfo; - fromJSON(object: any): GasInfo; - toJSON(message: GasInfo): unknown; - fromPartial(object: DeepPartial): GasInfo; - fromSDK(object: GasInfoSDKType): GasInfo; - toSDK(message: GasInfo): GasInfoSDKType; - fromAmino(object: GasInfoAmino): GasInfo; - toAmino(message: GasInfo): GasInfoAmino; - fromAminoMsg(object: GasInfoAminoMsg): GasInfo; - toAminoMsg(message: GasInfo): GasInfoAminoMsg; - fromProtoMsg(message: GasInfoProtoMsg): GasInfo; - toProto(message: GasInfo): Uint8Array; - toProtoMsg(message: GasInfo): GasInfoProtoMsg; -}; -export declare const Result: { - typeUrl: string; - aminoType: string; - is(o: any): o is Result; - isSDK(o: any): o is ResultSDKType; - isAmino(o: any): o is ResultAmino; - encode(message: Result, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Result; - fromJSON(object: any): Result; - toJSON(message: Result): unknown; - fromPartial(object: DeepPartial): Result; - fromSDK(object: ResultSDKType): Result; - toSDK(message: Result): ResultSDKType; - fromAmino(object: ResultAmino): Result; - toAmino(message: Result): ResultAmino; - fromAminoMsg(object: ResultAminoMsg): Result; - toAminoMsg(message: Result): ResultAminoMsg; - fromProtoMsg(message: ResultProtoMsg): Result; - toProto(message: Result): Uint8Array; - toProtoMsg(message: Result): ResultProtoMsg; -}; -export declare const SimulationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is SimulationResponse; - isSDK(o: any): o is SimulationResponseSDKType; - isAmino(o: any): o is SimulationResponseAmino; - encode(message: SimulationResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SimulationResponse; - fromJSON(object: any): SimulationResponse; - toJSON(message: SimulationResponse): unknown; - fromPartial(object: DeepPartial): SimulationResponse; - fromSDK(object: SimulationResponseSDKType): SimulationResponse; - toSDK(message: SimulationResponse): SimulationResponseSDKType; - fromAmino(object: SimulationResponseAmino): SimulationResponse; - toAmino(message: SimulationResponse): SimulationResponseAmino; - fromAminoMsg(object: SimulationResponseAminoMsg): SimulationResponse; - toAminoMsg(message: SimulationResponse): SimulationResponseAminoMsg; - fromProtoMsg(message: SimulationResponseProtoMsg): SimulationResponse; - toProto(message: SimulationResponse): Uint8Array; - toProtoMsg(message: SimulationResponse): SimulationResponseProtoMsg; -}; -export declare const MsgData: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgData; - isSDK(o: any): o is MsgDataSDKType; - isAmino(o: any): o is MsgDataAmino; - encode(message: MsgData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgData; - fromJSON(object: any): MsgData; - toJSON(message: MsgData): unknown; - fromPartial(object: DeepPartial): MsgData; - fromSDK(object: MsgDataSDKType): MsgData; - toSDK(message: MsgData): MsgDataSDKType; - fromAmino(object: MsgDataAmino): MsgData; - toAmino(message: MsgData): MsgDataAmino; - fromAminoMsg(object: MsgDataAminoMsg): MsgData; - toAminoMsg(message: MsgData): MsgDataAminoMsg; - fromProtoMsg(message: MsgDataProtoMsg): MsgData; - toProto(message: MsgData): Uint8Array; - toProtoMsg(message: MsgData): MsgDataProtoMsg; -}; -export declare const TxMsgData: { - typeUrl: string; - aminoType: string; - is(o: any): o is TxMsgData; - isSDK(o: any): o is TxMsgDataSDKType; - isAmino(o: any): o is TxMsgDataAmino; - encode(message: TxMsgData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TxMsgData; - fromJSON(object: any): TxMsgData; - toJSON(message: TxMsgData): unknown; - fromPartial(object: DeepPartial): TxMsgData; - fromSDK(object: TxMsgDataSDKType): TxMsgData; - toSDK(message: TxMsgData): TxMsgDataSDKType; - fromAmino(object: TxMsgDataAmino): TxMsgData; - toAmino(message: TxMsgData): TxMsgDataAmino; - fromAminoMsg(object: TxMsgDataAminoMsg): TxMsgData; - toAminoMsg(message: TxMsgData): TxMsgDataAminoMsg; - fromProtoMsg(message: TxMsgDataProtoMsg): TxMsgData; - toProto(message: TxMsgData): Uint8Array; - toProtoMsg(message: TxMsgData): TxMsgDataProtoMsg; -}; -export declare const SearchTxsResult: { - typeUrl: string; - aminoType: string; - is(o: any): o is SearchTxsResult; - isSDK(o: any): o is SearchTxsResultSDKType; - isAmino(o: any): o is SearchTxsResultAmino; - encode(message: SearchTxsResult, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SearchTxsResult; - fromJSON(object: any): SearchTxsResult; - toJSON(message: SearchTxsResult): unknown; - fromPartial(object: DeepPartial): SearchTxsResult; - fromSDK(object: SearchTxsResultSDKType): SearchTxsResult; - toSDK(message: SearchTxsResult): SearchTxsResultSDKType; - fromAmino(object: SearchTxsResultAmino): SearchTxsResult; - toAmino(message: SearchTxsResult): SearchTxsResultAmino; - fromAminoMsg(object: SearchTxsResultAminoMsg): SearchTxsResult; - toAminoMsg(message: SearchTxsResult): SearchTxsResultAminoMsg; - fromProtoMsg(message: SearchTxsResultProtoMsg): SearchTxsResult; - toProto(message: SearchTxsResult): Uint8Array; - toProtoMsg(message: SearchTxsResult): SearchTxsResultProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts b/examples/authz/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts deleted file mode 100644 index e2ef5493..00000000 --- a/examples/authz/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** Pairs defines a repeated slice of Pair objects. */ -export interface Pairs { - pairs: Pair[]; -} -export interface PairsProtoMsg { - typeUrl: "/cosmos.base.kv.v1beta1.Pairs"; - value: Uint8Array; -} -/** Pairs defines a repeated slice of Pair objects. */ -export interface PairsAmino { - pairs?: PairAmino[]; -} -export interface PairsAminoMsg { - type: "cosmos-sdk/Pairs"; - value: PairsAmino; -} -/** Pairs defines a repeated slice of Pair objects. */ -export interface PairsSDKType { - pairs: PairSDKType[]; -} -/** Pair defines a key/value bytes tuple. */ -export interface Pair { - key: Uint8Array; - value: Uint8Array; -} -export interface PairProtoMsg { - typeUrl: "/cosmos.base.kv.v1beta1.Pair"; - value: Uint8Array; -} -/** Pair defines a key/value bytes tuple. */ -export interface PairAmino { - key?: string; - value?: string; -} -export interface PairAminoMsg { - type: "cosmos-sdk/Pair"; - value: PairAmino; -} -/** Pair defines a key/value bytes tuple. */ -export interface PairSDKType { - key: Uint8Array; - value: Uint8Array; -} -export declare const Pairs: { - typeUrl: string; - aminoType: string; - is(o: any): o is Pairs; - isSDK(o: any): o is PairsSDKType; - isAmino(o: any): o is PairsAmino; - encode(message: Pairs, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Pairs; - fromJSON(object: any): Pairs; - toJSON(message: Pairs): unknown; - fromPartial(object: DeepPartial): Pairs; - fromSDK(object: PairsSDKType): Pairs; - toSDK(message: Pairs): PairsSDKType; - fromAmino(object: PairsAmino): Pairs; - toAmino(message: Pairs): PairsAmino; - fromAminoMsg(object: PairsAminoMsg): Pairs; - toAminoMsg(message: Pairs): PairsAminoMsg; - fromProtoMsg(message: PairsProtoMsg): Pairs; - toProto(message: Pairs): Uint8Array; - toProtoMsg(message: Pairs): PairsProtoMsg; -}; -export declare const Pair: { - typeUrl: string; - aminoType: string; - is(o: any): o is Pair; - isSDK(o: any): o is PairSDKType; - isAmino(o: any): o is PairAmino; - encode(message: Pair, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Pair; - fromJSON(object: any): Pair; - toJSON(message: Pair): unknown; - fromPartial(object: DeepPartial): Pair; - fromSDK(object: PairSDKType): Pair; - toSDK(message: Pair): PairSDKType; - fromAmino(object: PairAmino): Pair; - toAmino(message: Pair): PairAmino; - fromAminoMsg(object: PairAminoMsg): Pair; - toAminoMsg(message: Pair): PairAminoMsg; - fromProtoMsg(message: PairProtoMsg): Pair; - toProto(message: Pair): Uint8Array; - toProtoMsg(message: Pair): PairProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts b/examples/authz/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts deleted file mode 100644 index 126c518f..00000000 --- a/examples/authz/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +++ /dev/null @@ -1,215 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * PageRequest is to be embedded in gRPC request messages for efficient - * pagination. Ex: - * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } - */ -export interface PageRequest { - /** - * key is a value returned in PageResponse.next_key to begin - * querying the next page most efficiently. Only one of offset or key - * should be set. - */ - key: Uint8Array; - /** - * offset is a numeric offset that can be used when key is unavailable. - * It is less efficient than using key. Only one of offset or key should - * be set. - */ - offset: bigint; - /** - * limit is the total number of results to be returned in the result page. - * If left empty it will default to a value to be set by each app. - */ - limit: bigint; - /** - * count_total is set to true to indicate that the result set should include - * a count of the total number of items available for pagination in UIs. - * count_total is only respected when offset is used. It is ignored when key - * is set. - */ - countTotal: boolean; - /** - * reverse is set to true if results are to be returned in the descending order. - * - * Since: cosmos-sdk 0.43 - */ - reverse: boolean; -} -export interface PageRequestProtoMsg { - typeUrl: "/cosmos.base.query.v1beta1.PageRequest"; - value: Uint8Array; -} -/** - * PageRequest is to be embedded in gRPC request messages for efficient - * pagination. Ex: - * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } - */ -export interface PageRequestAmino { - /** - * key is a value returned in PageResponse.next_key to begin - * querying the next page most efficiently. Only one of offset or key - * should be set. - */ - key?: string; - /** - * offset is a numeric offset that can be used when key is unavailable. - * It is less efficient than using key. Only one of offset or key should - * be set. - */ - offset?: string; - /** - * limit is the total number of results to be returned in the result page. - * If left empty it will default to a value to be set by each app. - */ - limit?: string; - /** - * count_total is set to true to indicate that the result set should include - * a count of the total number of items available for pagination in UIs. - * count_total is only respected when offset is used. It is ignored when key - * is set. - */ - count_total?: boolean; - /** - * reverse is set to true if results are to be returned in the descending order. - * - * Since: cosmos-sdk 0.43 - */ - reverse?: boolean; -} -export interface PageRequestAminoMsg { - type: "cosmos-sdk/PageRequest"; - value: PageRequestAmino; -} -/** - * PageRequest is to be embedded in gRPC request messages for efficient - * pagination. Ex: - * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } - */ -export interface PageRequestSDKType { - key: Uint8Array; - offset: bigint; - limit: bigint; - count_total: boolean; - reverse: boolean; -} -/** - * PageResponse is to be embedded in gRPC response messages where the - * corresponding request message has used PageRequest. - * - * message SomeResponse { - * repeated Bar results = 1; - * PageResponse page = 2; - * } - */ -export interface PageResponse { - /** - * next_key is the key to be passed to PageRequest.key to - * query the next page most efficiently. It will be empty if - * there are no more results. - */ - nextKey: Uint8Array; - /** - * total is total number of results available if PageRequest.count_total - * was set, its value is undefined otherwise - */ - total: bigint; -} -export interface PageResponseProtoMsg { - typeUrl: "/cosmos.base.query.v1beta1.PageResponse"; - value: Uint8Array; -} -/** - * PageResponse is to be embedded in gRPC response messages where the - * corresponding request message has used PageRequest. - * - * message SomeResponse { - * repeated Bar results = 1; - * PageResponse page = 2; - * } - */ -export interface PageResponseAmino { - /** - * next_key is the key to be passed to PageRequest.key to - * query the next page most efficiently. It will be empty if - * there are no more results. - */ - next_key?: string; - /** - * total is total number of results available if PageRequest.count_total - * was set, its value is undefined otherwise - */ - total?: string; -} -export interface PageResponseAminoMsg { - type: "cosmos-sdk/PageResponse"; - value: PageResponseAmino; -} -/** - * PageResponse is to be embedded in gRPC response messages where the - * corresponding request message has used PageRequest. - * - * message SomeResponse { - * repeated Bar results = 1; - * PageResponse page = 2; - * } - */ -export interface PageResponseSDKType { - next_key: Uint8Array; - total: bigint; -} -export declare const PageRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is PageRequest; - isSDK(o: any): o is PageRequestSDKType; - isAmino(o: any): o is PageRequestAmino; - encode(message: PageRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PageRequest; - fromJSON(object: any): PageRequest; - toJSON(message: PageRequest): unknown; - fromPartial(object: DeepPartial): PageRequest; - fromSDK(object: PageRequestSDKType): PageRequest; - toSDK(message: PageRequest): PageRequestSDKType; - fromAmino(object: PageRequestAmino): PageRequest; - toAmino(message: PageRequest): PageRequestAmino; - fromAminoMsg(object: PageRequestAminoMsg): PageRequest; - toAminoMsg(message: PageRequest): PageRequestAminoMsg; - fromProtoMsg(message: PageRequestProtoMsg): PageRequest; - toProto(message: PageRequest): Uint8Array; - toProtoMsg(message: PageRequest): PageRequestProtoMsg; -}; -export declare const PageResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is PageResponse; - isSDK(o: any): o is PageResponseSDKType; - isAmino(o: any): o is PageResponseAmino; - encode(message: PageResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PageResponse; - fromJSON(object: any): PageResponse; - toJSON(message: PageResponse): unknown; - fromPartial(object: DeepPartial): PageResponse; - fromSDK(object: PageResponseSDKType): PageResponse; - toSDK(message: PageResponse): PageResponseSDKType; - fromAmino(object: PageResponseAmino): PageResponse; - toAmino(message: PageResponse): PageResponseAmino; - fromAminoMsg(object: PageResponseAminoMsg): PageResponse; - toAminoMsg(message: PageResponse): PageResponseAminoMsg; - fromProtoMsg(message: PageResponseProtoMsg): PageResponse; - toProto(message: PageResponse): Uint8Array; - toProtoMsg(message: PageResponse): PageResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts b/examples/authz/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts deleted file mode 100644 index 7918d706..00000000 --- a/examples/authz/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +++ /dev/null @@ -1,185 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesRequest { -} -export interface ListAllInterfacesRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesRequest"; - value: Uint8Array; -} -/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesRequestAmino { -} -export interface ListAllInterfacesRequestAminoMsg { - type: "cosmos-sdk/ListAllInterfacesRequest"; - value: ListAllInterfacesRequestAmino; -} -/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesRequestSDKType { -} -/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesResponse { - /** interface_names is an array of all the registered interfaces. */ - interfaceNames: string[]; -} -export interface ListAllInterfacesResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesResponse"; - value: Uint8Array; -} -/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesResponseAmino { - /** interface_names is an array of all the registered interfaces. */ - interface_names?: string[]; -} -export interface ListAllInterfacesResponseAminoMsg { - type: "cosmos-sdk/ListAllInterfacesResponse"; - value: ListAllInterfacesResponseAmino; -} -/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesResponseSDKType { - interface_names: string[]; -} -/** - * ListImplementationsRequest is the request type of the ListImplementations - * RPC. - */ -export interface ListImplementationsRequest { - /** interface_name defines the interface to query the implementations for. */ - interfaceName: string; -} -export interface ListImplementationsRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsRequest"; - value: Uint8Array; -} -/** - * ListImplementationsRequest is the request type of the ListImplementations - * RPC. - */ -export interface ListImplementationsRequestAmino { - /** interface_name defines the interface to query the implementations for. */ - interface_name?: string; -} -export interface ListImplementationsRequestAminoMsg { - type: "cosmos-sdk/ListImplementationsRequest"; - value: ListImplementationsRequestAmino; -} -/** - * ListImplementationsRequest is the request type of the ListImplementations - * RPC. - */ -export interface ListImplementationsRequestSDKType { - interface_name: string; -} -/** - * ListImplementationsResponse is the response type of the ListImplementations - * RPC. - */ -export interface ListImplementationsResponse { - implementationMessageNames: string[]; -} -export interface ListImplementationsResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsResponse"; - value: Uint8Array; -} -/** - * ListImplementationsResponse is the response type of the ListImplementations - * RPC. - */ -export interface ListImplementationsResponseAmino { - implementation_message_names?: string[]; -} -export interface ListImplementationsResponseAminoMsg { - type: "cosmos-sdk/ListImplementationsResponse"; - value: ListImplementationsResponseAmino; -} -/** - * ListImplementationsResponse is the response type of the ListImplementations - * RPC. - */ -export interface ListImplementationsResponseSDKType { - implementation_message_names: string[]; -} -export declare const ListAllInterfacesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is ListAllInterfacesRequest; - isSDK(o: any): o is ListAllInterfacesRequestSDKType; - isAmino(o: any): o is ListAllInterfacesRequestAmino; - encode(_: ListAllInterfacesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ListAllInterfacesRequest; - fromJSON(_: any): ListAllInterfacesRequest; - toJSON(_: ListAllInterfacesRequest): unknown; - fromPartial(_: DeepPartial): ListAllInterfacesRequest; - fromSDK(_: ListAllInterfacesRequestSDKType): ListAllInterfacesRequest; - toSDK(_: ListAllInterfacesRequest): ListAllInterfacesRequestSDKType; - fromAmino(_: ListAllInterfacesRequestAmino): ListAllInterfacesRequest; - toAmino(_: ListAllInterfacesRequest): ListAllInterfacesRequestAmino; - fromAminoMsg(object: ListAllInterfacesRequestAminoMsg): ListAllInterfacesRequest; - toAminoMsg(message: ListAllInterfacesRequest): ListAllInterfacesRequestAminoMsg; - fromProtoMsg(message: ListAllInterfacesRequestProtoMsg): ListAllInterfacesRequest; - toProto(message: ListAllInterfacesRequest): Uint8Array; - toProtoMsg(message: ListAllInterfacesRequest): ListAllInterfacesRequestProtoMsg; -}; -export declare const ListAllInterfacesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is ListAllInterfacesResponse; - isSDK(o: any): o is ListAllInterfacesResponseSDKType; - isAmino(o: any): o is ListAllInterfacesResponseAmino; - encode(message: ListAllInterfacesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ListAllInterfacesResponse; - fromJSON(object: any): ListAllInterfacesResponse; - toJSON(message: ListAllInterfacesResponse): unknown; - fromPartial(object: DeepPartial): ListAllInterfacesResponse; - fromSDK(object: ListAllInterfacesResponseSDKType): ListAllInterfacesResponse; - toSDK(message: ListAllInterfacesResponse): ListAllInterfacesResponseSDKType; - fromAmino(object: ListAllInterfacesResponseAmino): ListAllInterfacesResponse; - toAmino(message: ListAllInterfacesResponse): ListAllInterfacesResponseAmino; - fromAminoMsg(object: ListAllInterfacesResponseAminoMsg): ListAllInterfacesResponse; - toAminoMsg(message: ListAllInterfacesResponse): ListAllInterfacesResponseAminoMsg; - fromProtoMsg(message: ListAllInterfacesResponseProtoMsg): ListAllInterfacesResponse; - toProto(message: ListAllInterfacesResponse): Uint8Array; - toProtoMsg(message: ListAllInterfacesResponse): ListAllInterfacesResponseProtoMsg; -}; -export declare const ListImplementationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is ListImplementationsRequest; - isSDK(o: any): o is ListImplementationsRequestSDKType; - isAmino(o: any): o is ListImplementationsRequestAmino; - encode(message: ListImplementationsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ListImplementationsRequest; - fromJSON(object: any): ListImplementationsRequest; - toJSON(message: ListImplementationsRequest): unknown; - fromPartial(object: DeepPartial): ListImplementationsRequest; - fromSDK(object: ListImplementationsRequestSDKType): ListImplementationsRequest; - toSDK(message: ListImplementationsRequest): ListImplementationsRequestSDKType; - fromAmino(object: ListImplementationsRequestAmino): ListImplementationsRequest; - toAmino(message: ListImplementationsRequest): ListImplementationsRequestAmino; - fromAminoMsg(object: ListImplementationsRequestAminoMsg): ListImplementationsRequest; - toAminoMsg(message: ListImplementationsRequest): ListImplementationsRequestAminoMsg; - fromProtoMsg(message: ListImplementationsRequestProtoMsg): ListImplementationsRequest; - toProto(message: ListImplementationsRequest): Uint8Array; - toProtoMsg(message: ListImplementationsRequest): ListImplementationsRequestProtoMsg; -}; -export declare const ListImplementationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is ListImplementationsResponse; - isSDK(o: any): o is ListImplementationsResponseSDKType; - isAmino(o: any): o is ListImplementationsResponseAmino; - encode(message: ListImplementationsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ListImplementationsResponse; - fromJSON(object: any): ListImplementationsResponse; - toJSON(message: ListImplementationsResponse): unknown; - fromPartial(object: DeepPartial): ListImplementationsResponse; - fromSDK(object: ListImplementationsResponseSDKType): ListImplementationsResponse; - toSDK(message: ListImplementationsResponse): ListImplementationsResponseSDKType; - fromAmino(object: ListImplementationsResponseAmino): ListImplementationsResponse; - toAmino(message: ListImplementationsResponse): ListImplementationsResponseAmino; - fromAminoMsg(object: ListImplementationsResponseAminoMsg): ListImplementationsResponse; - toAminoMsg(message: ListImplementationsResponse): ListImplementationsResponseAminoMsg; - fromProtoMsg(message: ListImplementationsResponseProtoMsg): ListImplementationsResponse; - toProto(message: ListImplementationsResponse): Uint8Array; - toProtoMsg(message: ListImplementationsResponse): ListImplementationsResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts b/examples/authz/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts deleted file mode 100644 index 5778e348..00000000 --- a/examples/authz/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +++ /dev/null @@ -1,1266 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** AppDescriptor describes a cosmos-sdk based application */ -export interface AppDescriptor { - /** - * AuthnDescriptor provides information on how to authenticate transactions on the application - * NOTE: experimental and subject to change in future releases. - */ - authn?: AuthnDescriptor | undefined; - /** chain provides the chain descriptor */ - chain?: ChainDescriptor | undefined; - /** codec provides metadata information regarding codec related types */ - codec?: CodecDescriptor | undefined; - /** configuration provides metadata information regarding the sdk.Config type */ - configuration?: ConfigurationDescriptor | undefined; - /** query_services provides metadata information regarding the available queriable endpoints */ - queryServices?: QueryServicesDescriptor | undefined; - /** tx provides metadata information regarding how to send transactions to the given application */ - tx?: TxDescriptor | undefined; -} -export interface AppDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.AppDescriptor"; - value: Uint8Array; -} -/** AppDescriptor describes a cosmos-sdk based application */ -export interface AppDescriptorAmino { - /** - * AuthnDescriptor provides information on how to authenticate transactions on the application - * NOTE: experimental and subject to change in future releases. - */ - authn?: AuthnDescriptorAmino | undefined; - /** chain provides the chain descriptor */ - chain?: ChainDescriptorAmino | undefined; - /** codec provides metadata information regarding codec related types */ - codec?: CodecDescriptorAmino | undefined; - /** configuration provides metadata information regarding the sdk.Config type */ - configuration?: ConfigurationDescriptorAmino | undefined; - /** query_services provides metadata information regarding the available queriable endpoints */ - query_services?: QueryServicesDescriptorAmino | undefined; - /** tx provides metadata information regarding how to send transactions to the given application */ - tx?: TxDescriptorAmino | undefined; -} -export interface AppDescriptorAminoMsg { - type: "cosmos-sdk/AppDescriptor"; - value: AppDescriptorAmino; -} -/** AppDescriptor describes a cosmos-sdk based application */ -export interface AppDescriptorSDKType { - authn?: AuthnDescriptorSDKType | undefined; - chain?: ChainDescriptorSDKType | undefined; - codec?: CodecDescriptorSDKType | undefined; - configuration?: ConfigurationDescriptorSDKType | undefined; - query_services?: QueryServicesDescriptorSDKType | undefined; - tx?: TxDescriptorSDKType | undefined; -} -/** TxDescriptor describes the accepted transaction type */ -export interface TxDescriptor { - /** - * fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type) - * it is not meant to support polymorphism of transaction types, it is supposed to be used by - * reflection clients to understand if they can handle a specific transaction type in an application. - */ - fullname: string; - /** msgs lists the accepted application messages (sdk.Msg) */ - msgs: MsgDescriptor[]; -} -export interface TxDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.TxDescriptor"; - value: Uint8Array; -} -/** TxDescriptor describes the accepted transaction type */ -export interface TxDescriptorAmino { - /** - * fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type) - * it is not meant to support polymorphism of transaction types, it is supposed to be used by - * reflection clients to understand if they can handle a specific transaction type in an application. - */ - fullname?: string; - /** msgs lists the accepted application messages (sdk.Msg) */ - msgs?: MsgDescriptorAmino[]; -} -export interface TxDescriptorAminoMsg { - type: "cosmos-sdk/TxDescriptor"; - value: TxDescriptorAmino; -} -/** TxDescriptor describes the accepted transaction type */ -export interface TxDescriptorSDKType { - fullname: string; - msgs: MsgDescriptorSDKType[]; -} -/** - * AuthnDescriptor provides information on how to sign transactions without relying - * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures - */ -export interface AuthnDescriptor { - /** sign_modes defines the supported signature algorithm */ - signModes: SigningModeDescriptor[]; -} -export interface AuthnDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.AuthnDescriptor"; - value: Uint8Array; -} -/** - * AuthnDescriptor provides information on how to sign transactions without relying - * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures - */ -export interface AuthnDescriptorAmino { - /** sign_modes defines the supported signature algorithm */ - sign_modes?: SigningModeDescriptorAmino[]; -} -export interface AuthnDescriptorAminoMsg { - type: "cosmos-sdk/AuthnDescriptor"; - value: AuthnDescriptorAmino; -} -/** - * AuthnDescriptor provides information on how to sign transactions without relying - * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures - */ -export interface AuthnDescriptorSDKType { - sign_modes: SigningModeDescriptorSDKType[]; -} -/** - * SigningModeDescriptor provides information on a signing flow of the application - * NOTE(fdymylja): here we could go as far as providing an entire flow on how - * to sign a message given a SigningModeDescriptor, but it's better to think about - * this another time - */ -export interface SigningModeDescriptor { - /** name defines the unique name of the signing mode */ - name: string; - /** number is the unique int32 identifier for the sign_mode enum */ - number: number; - /** - * authn_info_provider_method_fullname defines the fullname of the method to call to get - * the metadata required to authenticate using the provided sign_modes - */ - authnInfoProviderMethodFullname: string; -} -export interface SigningModeDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.SigningModeDescriptor"; - value: Uint8Array; -} -/** - * SigningModeDescriptor provides information on a signing flow of the application - * NOTE(fdymylja): here we could go as far as providing an entire flow on how - * to sign a message given a SigningModeDescriptor, but it's better to think about - * this another time - */ -export interface SigningModeDescriptorAmino { - /** name defines the unique name of the signing mode */ - name?: string; - /** number is the unique int32 identifier for the sign_mode enum */ - number?: number; - /** - * authn_info_provider_method_fullname defines the fullname of the method to call to get - * the metadata required to authenticate using the provided sign_modes - */ - authn_info_provider_method_fullname?: string; -} -export interface SigningModeDescriptorAminoMsg { - type: "cosmos-sdk/SigningModeDescriptor"; - value: SigningModeDescriptorAmino; -} -/** - * SigningModeDescriptor provides information on a signing flow of the application - * NOTE(fdymylja): here we could go as far as providing an entire flow on how - * to sign a message given a SigningModeDescriptor, but it's better to think about - * this another time - */ -export interface SigningModeDescriptorSDKType { - name: string; - number: number; - authn_info_provider_method_fullname: string; -} -/** ChainDescriptor describes chain information of the application */ -export interface ChainDescriptor { - /** id is the chain id */ - id: string; -} -export interface ChainDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.ChainDescriptor"; - value: Uint8Array; -} -/** ChainDescriptor describes chain information of the application */ -export interface ChainDescriptorAmino { - /** id is the chain id */ - id?: string; -} -export interface ChainDescriptorAminoMsg { - type: "cosmos-sdk/ChainDescriptor"; - value: ChainDescriptorAmino; -} -/** ChainDescriptor describes chain information of the application */ -export interface ChainDescriptorSDKType { - id: string; -} -/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ -export interface CodecDescriptor { - /** interfaces is a list of the registerted interfaces descriptors */ - interfaces: InterfaceDescriptor[]; -} -export interface CodecDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.CodecDescriptor"; - value: Uint8Array; -} -/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ -export interface CodecDescriptorAmino { - /** interfaces is a list of the registerted interfaces descriptors */ - interfaces?: InterfaceDescriptorAmino[]; -} -export interface CodecDescriptorAminoMsg { - type: "cosmos-sdk/CodecDescriptor"; - value: CodecDescriptorAmino; -} -/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ -export interface CodecDescriptorSDKType { - interfaces: InterfaceDescriptorSDKType[]; -} -/** InterfaceDescriptor describes the implementation of an interface */ -export interface InterfaceDescriptor { - /** fullname is the name of the interface */ - fullname: string; - /** - * interface_accepting_messages contains information regarding the proto messages which contain the interface as - * google.protobuf.Any field - */ - interfaceAcceptingMessages: InterfaceAcceptingMessageDescriptor[]; - /** interface_implementers is a list of the descriptors of the interface implementers */ - interfaceImplementers: InterfaceImplementerDescriptor[]; -} -export interface InterfaceDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.InterfaceDescriptor"; - value: Uint8Array; -} -/** InterfaceDescriptor describes the implementation of an interface */ -export interface InterfaceDescriptorAmino { - /** fullname is the name of the interface */ - fullname?: string; - /** - * interface_accepting_messages contains information regarding the proto messages which contain the interface as - * google.protobuf.Any field - */ - interface_accepting_messages?: InterfaceAcceptingMessageDescriptorAmino[]; - /** interface_implementers is a list of the descriptors of the interface implementers */ - interface_implementers?: InterfaceImplementerDescriptorAmino[]; -} -export interface InterfaceDescriptorAminoMsg { - type: "cosmos-sdk/InterfaceDescriptor"; - value: InterfaceDescriptorAmino; -} -/** InterfaceDescriptor describes the implementation of an interface */ -export interface InterfaceDescriptorSDKType { - fullname: string; - interface_accepting_messages: InterfaceAcceptingMessageDescriptorSDKType[]; - interface_implementers: InterfaceImplementerDescriptorSDKType[]; -} -/** InterfaceImplementerDescriptor describes an interface implementer */ -export interface InterfaceImplementerDescriptor { - /** fullname is the protobuf queryable name of the interface implementer */ - fullname: string; - /** - * type_url defines the type URL used when marshalling the type as any - * this is required so we can provide type safe google.protobuf.Any marshalling and - * unmarshalling, making sure that we don't accept just 'any' type - * in our interface fields - */ - typeUrl: string; -} -export interface InterfaceImplementerDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor"; - value: Uint8Array; -} -/** InterfaceImplementerDescriptor describes an interface implementer */ -export interface InterfaceImplementerDescriptorAmino { - /** fullname is the protobuf queryable name of the interface implementer */ - fullname?: string; - /** - * type_url defines the type URL used when marshalling the type as any - * this is required so we can provide type safe google.protobuf.Any marshalling and - * unmarshalling, making sure that we don't accept just 'any' type - * in our interface fields - */ - type_url?: string; -} -export interface InterfaceImplementerDescriptorAminoMsg { - type: "cosmos-sdk/InterfaceImplementerDescriptor"; - value: InterfaceImplementerDescriptorAmino; -} -/** InterfaceImplementerDescriptor describes an interface implementer */ -export interface InterfaceImplementerDescriptorSDKType { - fullname: string; - type_url: string; -} -/** - * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains - * an interface represented as a google.protobuf.Any - */ -export interface InterfaceAcceptingMessageDescriptor { - /** fullname is the protobuf fullname of the type containing the interface */ - fullname: string; - /** - * field_descriptor_names is a list of the protobuf name (not fullname) of the field - * which contains the interface as google.protobuf.Any (the interface is the same, but - * it can be in multiple fields of the same proto message) - */ - fieldDescriptorNames: string[]; -} -export interface InterfaceAcceptingMessageDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor"; - value: Uint8Array; -} -/** - * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains - * an interface represented as a google.protobuf.Any - */ -export interface InterfaceAcceptingMessageDescriptorAmino { - /** fullname is the protobuf fullname of the type containing the interface */ - fullname?: string; - /** - * field_descriptor_names is a list of the protobuf name (not fullname) of the field - * which contains the interface as google.protobuf.Any (the interface is the same, but - * it can be in multiple fields of the same proto message) - */ - field_descriptor_names?: string[]; -} -export interface InterfaceAcceptingMessageDescriptorAminoMsg { - type: "cosmos-sdk/InterfaceAcceptingMessageDescriptor"; - value: InterfaceAcceptingMessageDescriptorAmino; -} -/** - * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains - * an interface represented as a google.protobuf.Any - */ -export interface InterfaceAcceptingMessageDescriptorSDKType { - fullname: string; - field_descriptor_names: string[]; -} -/** ConfigurationDescriptor contains metadata information on the sdk.Config */ -export interface ConfigurationDescriptor { - /** bech32_account_address_prefix is the account address prefix */ - bech32AccountAddressPrefix: string; -} -export interface ConfigurationDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.ConfigurationDescriptor"; - value: Uint8Array; -} -/** ConfigurationDescriptor contains metadata information on the sdk.Config */ -export interface ConfigurationDescriptorAmino { - /** bech32_account_address_prefix is the account address prefix */ - bech32_account_address_prefix?: string; -} -export interface ConfigurationDescriptorAminoMsg { - type: "cosmos-sdk/ConfigurationDescriptor"; - value: ConfigurationDescriptorAmino; -} -/** ConfigurationDescriptor contains metadata information on the sdk.Config */ -export interface ConfigurationDescriptorSDKType { - bech32_account_address_prefix: string; -} -/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ -export interface MsgDescriptor { - /** msg_type_url contains the TypeURL of a sdk.Msg. */ - msgTypeUrl: string; -} -export interface MsgDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.MsgDescriptor"; - value: Uint8Array; -} -/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ -export interface MsgDescriptorAmino { - /** msg_type_url contains the TypeURL of a sdk.Msg. */ - msg_type_url?: string; -} -export interface MsgDescriptorAminoMsg { - type: "cosmos-sdk/MsgDescriptor"; - value: MsgDescriptorAmino; -} -/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ -export interface MsgDescriptorSDKType { - msg_type_url: string; -} -/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorRequest { -} -export interface GetAuthnDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest"; - value: Uint8Array; -} -/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorRequestAmino { -} -export interface GetAuthnDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetAuthnDescriptorRequest"; - value: GetAuthnDescriptorRequestAmino; -} -/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorRequestSDKType { -} -/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorResponse { - /** authn describes how to authenticate to the application when sending transactions */ - authn?: AuthnDescriptor | undefined; -} -export interface GetAuthnDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse"; - value: Uint8Array; -} -/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorResponseAmino { - /** authn describes how to authenticate to the application when sending transactions */ - authn?: AuthnDescriptorAmino | undefined; -} -export interface GetAuthnDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetAuthnDescriptorResponse"; - value: GetAuthnDescriptorResponseAmino; -} -/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorResponseSDKType { - authn?: AuthnDescriptorSDKType | undefined; -} -/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ -export interface GetChainDescriptorRequest { -} -export interface GetChainDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest"; - value: Uint8Array; -} -/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ -export interface GetChainDescriptorRequestAmino { -} -export interface GetChainDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetChainDescriptorRequest"; - value: GetChainDescriptorRequestAmino; -} -/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ -export interface GetChainDescriptorRequestSDKType { -} -/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ -export interface GetChainDescriptorResponse { - /** chain describes application chain information */ - chain?: ChainDescriptor | undefined; -} -export interface GetChainDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse"; - value: Uint8Array; -} -/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ -export interface GetChainDescriptorResponseAmino { - /** chain describes application chain information */ - chain?: ChainDescriptorAmino | undefined; -} -export interface GetChainDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetChainDescriptorResponse"; - value: GetChainDescriptorResponseAmino; -} -/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ -export interface GetChainDescriptorResponseSDKType { - chain?: ChainDescriptorSDKType | undefined; -} -/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorRequest { -} -export interface GetCodecDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest"; - value: Uint8Array; -} -/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorRequestAmino { -} -export interface GetCodecDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetCodecDescriptorRequest"; - value: GetCodecDescriptorRequestAmino; -} -/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorRequestSDKType { -} -/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorResponse { - /** codec describes the application codec such as registered interfaces and implementations */ - codec?: CodecDescriptor | undefined; -} -export interface GetCodecDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse"; - value: Uint8Array; -} -/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorResponseAmino { - /** codec describes the application codec such as registered interfaces and implementations */ - codec?: CodecDescriptorAmino | undefined; -} -export interface GetCodecDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetCodecDescriptorResponse"; - value: GetCodecDescriptorResponseAmino; -} -/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorResponseSDKType { - codec?: CodecDescriptorSDKType | undefined; -} -/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorRequest { -} -export interface GetConfigurationDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest"; - value: Uint8Array; -} -/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorRequestAmino { -} -export interface GetConfigurationDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetConfigurationDescriptorRequest"; - value: GetConfigurationDescriptorRequestAmino; -} -/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorRequestSDKType { -} -/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorResponse { - /** config describes the application's sdk.Config */ - config?: ConfigurationDescriptor | undefined; -} -export interface GetConfigurationDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse"; - value: Uint8Array; -} -/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorResponseAmino { - /** config describes the application's sdk.Config */ - config?: ConfigurationDescriptorAmino | undefined; -} -export interface GetConfigurationDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetConfigurationDescriptorResponse"; - value: GetConfigurationDescriptorResponseAmino; -} -/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorResponseSDKType { - config?: ConfigurationDescriptorSDKType | undefined; -} -/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorRequest { -} -export interface GetQueryServicesDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest"; - value: Uint8Array; -} -/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorRequestAmino { -} -export interface GetQueryServicesDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetQueryServicesDescriptorRequest"; - value: GetQueryServicesDescriptorRequestAmino; -} -/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorRequestSDKType { -} -/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorResponse { - /** queries provides information on the available queryable services */ - queries?: QueryServicesDescriptor | undefined; -} -export interface GetQueryServicesDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse"; - value: Uint8Array; -} -/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorResponseAmino { - /** queries provides information on the available queryable services */ - queries?: QueryServicesDescriptorAmino | undefined; -} -export interface GetQueryServicesDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetQueryServicesDescriptorResponse"; - value: GetQueryServicesDescriptorResponseAmino; -} -/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorResponseSDKType { - queries?: QueryServicesDescriptorSDKType | undefined; -} -/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ -export interface GetTxDescriptorRequest { -} -export interface GetTxDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest"; - value: Uint8Array; -} -/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ -export interface GetTxDescriptorRequestAmino { -} -export interface GetTxDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetTxDescriptorRequest"; - value: GetTxDescriptorRequestAmino; -} -/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ -export interface GetTxDescriptorRequestSDKType { -} -/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ -export interface GetTxDescriptorResponse { - /** - * tx provides information on msgs that can be forwarded to the application - * alongside the accepted transaction protobuf type - */ - tx?: TxDescriptor | undefined; -} -export interface GetTxDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse"; - value: Uint8Array; -} -/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ -export interface GetTxDescriptorResponseAmino { - /** - * tx provides information on msgs that can be forwarded to the application - * alongside the accepted transaction protobuf type - */ - tx?: TxDescriptorAmino | undefined; -} -export interface GetTxDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetTxDescriptorResponse"; - value: GetTxDescriptorResponseAmino; -} -/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ -export interface GetTxDescriptorResponseSDKType { - tx?: TxDescriptorSDKType | undefined; -} -/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ -export interface QueryServicesDescriptor { - /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ - queryServices: QueryServiceDescriptor[]; -} -export interface QueryServicesDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.QueryServicesDescriptor"; - value: Uint8Array; -} -/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ -export interface QueryServicesDescriptorAmino { - /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ - query_services?: QueryServiceDescriptorAmino[]; -} -export interface QueryServicesDescriptorAminoMsg { - type: "cosmos-sdk/QueryServicesDescriptor"; - value: QueryServicesDescriptorAmino; -} -/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ -export interface QueryServicesDescriptorSDKType { - query_services: QueryServiceDescriptorSDKType[]; -} -/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ -export interface QueryServiceDescriptor { - /** fullname is the protobuf fullname of the service descriptor */ - fullname: string; - /** is_module describes if this service is actually exposed by an application's module */ - isModule: boolean; - /** methods provides a list of query service methods */ - methods: QueryMethodDescriptor[]; -} -export interface QueryServiceDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.QueryServiceDescriptor"; - value: Uint8Array; -} -/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ -export interface QueryServiceDescriptorAmino { - /** fullname is the protobuf fullname of the service descriptor */ - fullname?: string; - /** is_module describes if this service is actually exposed by an application's module */ - is_module?: boolean; - /** methods provides a list of query service methods */ - methods?: QueryMethodDescriptorAmino[]; -} -export interface QueryServiceDescriptorAminoMsg { - type: "cosmos-sdk/QueryServiceDescriptor"; - value: QueryServiceDescriptorAmino; -} -/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ -export interface QueryServiceDescriptorSDKType { - fullname: string; - is_module: boolean; - methods: QueryMethodDescriptorSDKType[]; -} -/** - * QueryMethodDescriptor describes a queryable method of a query service - * no other info is provided beside method name and tendermint queryable path - * because it would be redundant with the grpc reflection service - */ -export interface QueryMethodDescriptor { - /** name is the protobuf name (not fullname) of the method */ - name: string; - /** - * full_query_path is the path that can be used to query - * this method via tendermint abci.Query - */ - fullQueryPath: string; -} -export interface QueryMethodDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.QueryMethodDescriptor"; - value: Uint8Array; -} -/** - * QueryMethodDescriptor describes a queryable method of a query service - * no other info is provided beside method name and tendermint queryable path - * because it would be redundant with the grpc reflection service - */ -export interface QueryMethodDescriptorAmino { - /** name is the protobuf name (not fullname) of the method */ - name?: string; - /** - * full_query_path is the path that can be used to query - * this method via tendermint abci.Query - */ - full_query_path?: string; -} -export interface QueryMethodDescriptorAminoMsg { - type: "cosmos-sdk/QueryMethodDescriptor"; - value: QueryMethodDescriptorAmino; -} -/** - * QueryMethodDescriptor describes a queryable method of a query service - * no other info is provided beside method name and tendermint queryable path - * because it would be redundant with the grpc reflection service - */ -export interface QueryMethodDescriptorSDKType { - name: string; - full_query_path: string; -} -export declare const AppDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is AppDescriptor; - isSDK(o: any): o is AppDescriptorSDKType; - isAmino(o: any): o is AppDescriptorAmino; - encode(message: AppDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AppDescriptor; - fromJSON(object: any): AppDescriptor; - toJSON(message: AppDescriptor): unknown; - fromPartial(object: DeepPartial): AppDescriptor; - fromSDK(object: AppDescriptorSDKType): AppDescriptor; - toSDK(message: AppDescriptor): AppDescriptorSDKType; - fromAmino(object: AppDescriptorAmino): AppDescriptor; - toAmino(message: AppDescriptor): AppDescriptorAmino; - fromAminoMsg(object: AppDescriptorAminoMsg): AppDescriptor; - toAminoMsg(message: AppDescriptor): AppDescriptorAminoMsg; - fromProtoMsg(message: AppDescriptorProtoMsg): AppDescriptor; - toProto(message: AppDescriptor): Uint8Array; - toProtoMsg(message: AppDescriptor): AppDescriptorProtoMsg; -}; -export declare const TxDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is TxDescriptor; - isSDK(o: any): o is TxDescriptorSDKType; - isAmino(o: any): o is TxDescriptorAmino; - encode(message: TxDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TxDescriptor; - fromJSON(object: any): TxDescriptor; - toJSON(message: TxDescriptor): unknown; - fromPartial(object: DeepPartial): TxDescriptor; - fromSDK(object: TxDescriptorSDKType): TxDescriptor; - toSDK(message: TxDescriptor): TxDescriptorSDKType; - fromAmino(object: TxDescriptorAmino): TxDescriptor; - toAmino(message: TxDescriptor): TxDescriptorAmino; - fromAminoMsg(object: TxDescriptorAminoMsg): TxDescriptor; - toAminoMsg(message: TxDescriptor): TxDescriptorAminoMsg; - fromProtoMsg(message: TxDescriptorProtoMsg): TxDescriptor; - toProto(message: TxDescriptor): Uint8Array; - toProtoMsg(message: TxDescriptor): TxDescriptorProtoMsg; -}; -export declare const AuthnDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is AuthnDescriptor; - isSDK(o: any): o is AuthnDescriptorSDKType; - isAmino(o: any): o is AuthnDescriptorAmino; - encode(message: AuthnDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AuthnDescriptor; - fromJSON(object: any): AuthnDescriptor; - toJSON(message: AuthnDescriptor): unknown; - fromPartial(object: DeepPartial): AuthnDescriptor; - fromSDK(object: AuthnDescriptorSDKType): AuthnDescriptor; - toSDK(message: AuthnDescriptor): AuthnDescriptorSDKType; - fromAmino(object: AuthnDescriptorAmino): AuthnDescriptor; - toAmino(message: AuthnDescriptor): AuthnDescriptorAmino; - fromAminoMsg(object: AuthnDescriptorAminoMsg): AuthnDescriptor; - toAminoMsg(message: AuthnDescriptor): AuthnDescriptorAminoMsg; - fromProtoMsg(message: AuthnDescriptorProtoMsg): AuthnDescriptor; - toProto(message: AuthnDescriptor): Uint8Array; - toProtoMsg(message: AuthnDescriptor): AuthnDescriptorProtoMsg; -}; -export declare const SigningModeDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is SigningModeDescriptor; - isSDK(o: any): o is SigningModeDescriptorSDKType; - isAmino(o: any): o is SigningModeDescriptorAmino; - encode(message: SigningModeDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SigningModeDescriptor; - fromJSON(object: any): SigningModeDescriptor; - toJSON(message: SigningModeDescriptor): unknown; - fromPartial(object: DeepPartial): SigningModeDescriptor; - fromSDK(object: SigningModeDescriptorSDKType): SigningModeDescriptor; - toSDK(message: SigningModeDescriptor): SigningModeDescriptorSDKType; - fromAmino(object: SigningModeDescriptorAmino): SigningModeDescriptor; - toAmino(message: SigningModeDescriptor): SigningModeDescriptorAmino; - fromAminoMsg(object: SigningModeDescriptorAminoMsg): SigningModeDescriptor; - toAminoMsg(message: SigningModeDescriptor): SigningModeDescriptorAminoMsg; - fromProtoMsg(message: SigningModeDescriptorProtoMsg): SigningModeDescriptor; - toProto(message: SigningModeDescriptor): Uint8Array; - toProtoMsg(message: SigningModeDescriptor): SigningModeDescriptorProtoMsg; -}; -export declare const ChainDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is ChainDescriptor; - isSDK(o: any): o is ChainDescriptorSDKType; - isAmino(o: any): o is ChainDescriptorAmino; - encode(message: ChainDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ChainDescriptor; - fromJSON(object: any): ChainDescriptor; - toJSON(message: ChainDescriptor): unknown; - fromPartial(object: DeepPartial): ChainDescriptor; - fromSDK(object: ChainDescriptorSDKType): ChainDescriptor; - toSDK(message: ChainDescriptor): ChainDescriptorSDKType; - fromAmino(object: ChainDescriptorAmino): ChainDescriptor; - toAmino(message: ChainDescriptor): ChainDescriptorAmino; - fromAminoMsg(object: ChainDescriptorAminoMsg): ChainDescriptor; - toAminoMsg(message: ChainDescriptor): ChainDescriptorAminoMsg; - fromProtoMsg(message: ChainDescriptorProtoMsg): ChainDescriptor; - toProto(message: ChainDescriptor): Uint8Array; - toProtoMsg(message: ChainDescriptor): ChainDescriptorProtoMsg; -}; -export declare const CodecDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is CodecDescriptor; - isSDK(o: any): o is CodecDescriptorSDKType; - isAmino(o: any): o is CodecDescriptorAmino; - encode(message: CodecDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CodecDescriptor; - fromJSON(object: any): CodecDescriptor; - toJSON(message: CodecDescriptor): unknown; - fromPartial(object: DeepPartial): CodecDescriptor; - fromSDK(object: CodecDescriptorSDKType): CodecDescriptor; - toSDK(message: CodecDescriptor): CodecDescriptorSDKType; - fromAmino(object: CodecDescriptorAmino): CodecDescriptor; - toAmino(message: CodecDescriptor): CodecDescriptorAmino; - fromAminoMsg(object: CodecDescriptorAminoMsg): CodecDescriptor; - toAminoMsg(message: CodecDescriptor): CodecDescriptorAminoMsg; - fromProtoMsg(message: CodecDescriptorProtoMsg): CodecDescriptor; - toProto(message: CodecDescriptor): Uint8Array; - toProtoMsg(message: CodecDescriptor): CodecDescriptorProtoMsg; -}; -export declare const InterfaceDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is InterfaceDescriptor; - isSDK(o: any): o is InterfaceDescriptorSDKType; - isAmino(o: any): o is InterfaceDescriptorAmino; - encode(message: InterfaceDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): InterfaceDescriptor; - fromJSON(object: any): InterfaceDescriptor; - toJSON(message: InterfaceDescriptor): unknown; - fromPartial(object: DeepPartial): InterfaceDescriptor; - fromSDK(object: InterfaceDescriptorSDKType): InterfaceDescriptor; - toSDK(message: InterfaceDescriptor): InterfaceDescriptorSDKType; - fromAmino(object: InterfaceDescriptorAmino): InterfaceDescriptor; - toAmino(message: InterfaceDescriptor): InterfaceDescriptorAmino; - fromAminoMsg(object: InterfaceDescriptorAminoMsg): InterfaceDescriptor; - toAminoMsg(message: InterfaceDescriptor): InterfaceDescriptorAminoMsg; - fromProtoMsg(message: InterfaceDescriptorProtoMsg): InterfaceDescriptor; - toProto(message: InterfaceDescriptor): Uint8Array; - toProtoMsg(message: InterfaceDescriptor): InterfaceDescriptorProtoMsg; -}; -export declare const InterfaceImplementerDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is InterfaceImplementerDescriptor; - isSDK(o: any): o is InterfaceImplementerDescriptorSDKType; - isAmino(o: any): o is InterfaceImplementerDescriptorAmino; - encode(message: InterfaceImplementerDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): InterfaceImplementerDescriptor; - fromJSON(object: any): InterfaceImplementerDescriptor; - toJSON(message: InterfaceImplementerDescriptor): unknown; - fromPartial(object: DeepPartial): InterfaceImplementerDescriptor; - fromSDK(object: InterfaceImplementerDescriptorSDKType): InterfaceImplementerDescriptor; - toSDK(message: InterfaceImplementerDescriptor): InterfaceImplementerDescriptorSDKType; - fromAmino(object: InterfaceImplementerDescriptorAmino): InterfaceImplementerDescriptor; - toAmino(message: InterfaceImplementerDescriptor): InterfaceImplementerDescriptorAmino; - fromAminoMsg(object: InterfaceImplementerDescriptorAminoMsg): InterfaceImplementerDescriptor; - toAminoMsg(message: InterfaceImplementerDescriptor): InterfaceImplementerDescriptorAminoMsg; - fromProtoMsg(message: InterfaceImplementerDescriptorProtoMsg): InterfaceImplementerDescriptor; - toProto(message: InterfaceImplementerDescriptor): Uint8Array; - toProtoMsg(message: InterfaceImplementerDescriptor): InterfaceImplementerDescriptorProtoMsg; -}; -export declare const InterfaceAcceptingMessageDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is InterfaceAcceptingMessageDescriptor; - isSDK(o: any): o is InterfaceAcceptingMessageDescriptorSDKType; - isAmino(o: any): o is InterfaceAcceptingMessageDescriptorAmino; - encode(message: InterfaceAcceptingMessageDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): InterfaceAcceptingMessageDescriptor; - fromJSON(object: any): InterfaceAcceptingMessageDescriptor; - toJSON(message: InterfaceAcceptingMessageDescriptor): unknown; - fromPartial(object: DeepPartial): InterfaceAcceptingMessageDescriptor; - fromSDK(object: InterfaceAcceptingMessageDescriptorSDKType): InterfaceAcceptingMessageDescriptor; - toSDK(message: InterfaceAcceptingMessageDescriptor): InterfaceAcceptingMessageDescriptorSDKType; - fromAmino(object: InterfaceAcceptingMessageDescriptorAmino): InterfaceAcceptingMessageDescriptor; - toAmino(message: InterfaceAcceptingMessageDescriptor): InterfaceAcceptingMessageDescriptorAmino; - fromAminoMsg(object: InterfaceAcceptingMessageDescriptorAminoMsg): InterfaceAcceptingMessageDescriptor; - toAminoMsg(message: InterfaceAcceptingMessageDescriptor): InterfaceAcceptingMessageDescriptorAminoMsg; - fromProtoMsg(message: InterfaceAcceptingMessageDescriptorProtoMsg): InterfaceAcceptingMessageDescriptor; - toProto(message: InterfaceAcceptingMessageDescriptor): Uint8Array; - toProtoMsg(message: InterfaceAcceptingMessageDescriptor): InterfaceAcceptingMessageDescriptorProtoMsg; -}; -export declare const ConfigurationDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is ConfigurationDescriptor; - isSDK(o: any): o is ConfigurationDescriptorSDKType; - isAmino(o: any): o is ConfigurationDescriptorAmino; - encode(message: ConfigurationDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ConfigurationDescriptor; - fromJSON(object: any): ConfigurationDescriptor; - toJSON(message: ConfigurationDescriptor): unknown; - fromPartial(object: DeepPartial): ConfigurationDescriptor; - fromSDK(object: ConfigurationDescriptorSDKType): ConfigurationDescriptor; - toSDK(message: ConfigurationDescriptor): ConfigurationDescriptorSDKType; - fromAmino(object: ConfigurationDescriptorAmino): ConfigurationDescriptor; - toAmino(message: ConfigurationDescriptor): ConfigurationDescriptorAmino; - fromAminoMsg(object: ConfigurationDescriptorAminoMsg): ConfigurationDescriptor; - toAminoMsg(message: ConfigurationDescriptor): ConfigurationDescriptorAminoMsg; - fromProtoMsg(message: ConfigurationDescriptorProtoMsg): ConfigurationDescriptor; - toProto(message: ConfigurationDescriptor): Uint8Array; - toProtoMsg(message: ConfigurationDescriptor): ConfigurationDescriptorProtoMsg; -}; -export declare const MsgDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgDescriptor; - isSDK(o: any): o is MsgDescriptorSDKType; - isAmino(o: any): o is MsgDescriptorAmino; - encode(message: MsgDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgDescriptor; - fromJSON(object: any): MsgDescriptor; - toJSON(message: MsgDescriptor): unknown; - fromPartial(object: DeepPartial): MsgDescriptor; - fromSDK(object: MsgDescriptorSDKType): MsgDescriptor; - toSDK(message: MsgDescriptor): MsgDescriptorSDKType; - fromAmino(object: MsgDescriptorAmino): MsgDescriptor; - toAmino(message: MsgDescriptor): MsgDescriptorAmino; - fromAminoMsg(object: MsgDescriptorAminoMsg): MsgDescriptor; - toAminoMsg(message: MsgDescriptor): MsgDescriptorAminoMsg; - fromProtoMsg(message: MsgDescriptorProtoMsg): MsgDescriptor; - toProto(message: MsgDescriptor): Uint8Array; - toProtoMsg(message: MsgDescriptor): MsgDescriptorProtoMsg; -}; -export declare const GetAuthnDescriptorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetAuthnDescriptorRequest; - isSDK(o: any): o is GetAuthnDescriptorRequestSDKType; - isAmino(o: any): o is GetAuthnDescriptorRequestAmino; - encode(_: GetAuthnDescriptorRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetAuthnDescriptorRequest; - fromJSON(_: any): GetAuthnDescriptorRequest; - toJSON(_: GetAuthnDescriptorRequest): unknown; - fromPartial(_: DeepPartial): GetAuthnDescriptorRequest; - fromSDK(_: GetAuthnDescriptorRequestSDKType): GetAuthnDescriptorRequest; - toSDK(_: GetAuthnDescriptorRequest): GetAuthnDescriptorRequestSDKType; - fromAmino(_: GetAuthnDescriptorRequestAmino): GetAuthnDescriptorRequest; - toAmino(_: GetAuthnDescriptorRequest): GetAuthnDescriptorRequestAmino; - fromAminoMsg(object: GetAuthnDescriptorRequestAminoMsg): GetAuthnDescriptorRequest; - toAminoMsg(message: GetAuthnDescriptorRequest): GetAuthnDescriptorRequestAminoMsg; - fromProtoMsg(message: GetAuthnDescriptorRequestProtoMsg): GetAuthnDescriptorRequest; - toProto(message: GetAuthnDescriptorRequest): Uint8Array; - toProtoMsg(message: GetAuthnDescriptorRequest): GetAuthnDescriptorRequestProtoMsg; -}; -export declare const GetAuthnDescriptorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetAuthnDescriptorResponse; - isSDK(o: any): o is GetAuthnDescriptorResponseSDKType; - isAmino(o: any): o is GetAuthnDescriptorResponseAmino; - encode(message: GetAuthnDescriptorResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetAuthnDescriptorResponse; - fromJSON(object: any): GetAuthnDescriptorResponse; - toJSON(message: GetAuthnDescriptorResponse): unknown; - fromPartial(object: DeepPartial): GetAuthnDescriptorResponse; - fromSDK(object: GetAuthnDescriptorResponseSDKType): GetAuthnDescriptorResponse; - toSDK(message: GetAuthnDescriptorResponse): GetAuthnDescriptorResponseSDKType; - fromAmino(object: GetAuthnDescriptorResponseAmino): GetAuthnDescriptorResponse; - toAmino(message: GetAuthnDescriptorResponse): GetAuthnDescriptorResponseAmino; - fromAminoMsg(object: GetAuthnDescriptorResponseAminoMsg): GetAuthnDescriptorResponse; - toAminoMsg(message: GetAuthnDescriptorResponse): GetAuthnDescriptorResponseAminoMsg; - fromProtoMsg(message: GetAuthnDescriptorResponseProtoMsg): GetAuthnDescriptorResponse; - toProto(message: GetAuthnDescriptorResponse): Uint8Array; - toProtoMsg(message: GetAuthnDescriptorResponse): GetAuthnDescriptorResponseProtoMsg; -}; -export declare const GetChainDescriptorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetChainDescriptorRequest; - isSDK(o: any): o is GetChainDescriptorRequestSDKType; - isAmino(o: any): o is GetChainDescriptorRequestAmino; - encode(_: GetChainDescriptorRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetChainDescriptorRequest; - fromJSON(_: any): GetChainDescriptorRequest; - toJSON(_: GetChainDescriptorRequest): unknown; - fromPartial(_: DeepPartial): GetChainDescriptorRequest; - fromSDK(_: GetChainDescriptorRequestSDKType): GetChainDescriptorRequest; - toSDK(_: GetChainDescriptorRequest): GetChainDescriptorRequestSDKType; - fromAmino(_: GetChainDescriptorRequestAmino): GetChainDescriptorRequest; - toAmino(_: GetChainDescriptorRequest): GetChainDescriptorRequestAmino; - fromAminoMsg(object: GetChainDescriptorRequestAminoMsg): GetChainDescriptorRequest; - toAminoMsg(message: GetChainDescriptorRequest): GetChainDescriptorRequestAminoMsg; - fromProtoMsg(message: GetChainDescriptorRequestProtoMsg): GetChainDescriptorRequest; - toProto(message: GetChainDescriptorRequest): Uint8Array; - toProtoMsg(message: GetChainDescriptorRequest): GetChainDescriptorRequestProtoMsg; -}; -export declare const GetChainDescriptorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetChainDescriptorResponse; - isSDK(o: any): o is GetChainDescriptorResponseSDKType; - isAmino(o: any): o is GetChainDescriptorResponseAmino; - encode(message: GetChainDescriptorResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetChainDescriptorResponse; - fromJSON(object: any): GetChainDescriptorResponse; - toJSON(message: GetChainDescriptorResponse): unknown; - fromPartial(object: DeepPartial): GetChainDescriptorResponse; - fromSDK(object: GetChainDescriptorResponseSDKType): GetChainDescriptorResponse; - toSDK(message: GetChainDescriptorResponse): GetChainDescriptorResponseSDKType; - fromAmino(object: GetChainDescriptorResponseAmino): GetChainDescriptorResponse; - toAmino(message: GetChainDescriptorResponse): GetChainDescriptorResponseAmino; - fromAminoMsg(object: GetChainDescriptorResponseAminoMsg): GetChainDescriptorResponse; - toAminoMsg(message: GetChainDescriptorResponse): GetChainDescriptorResponseAminoMsg; - fromProtoMsg(message: GetChainDescriptorResponseProtoMsg): GetChainDescriptorResponse; - toProto(message: GetChainDescriptorResponse): Uint8Array; - toProtoMsg(message: GetChainDescriptorResponse): GetChainDescriptorResponseProtoMsg; -}; -export declare const GetCodecDescriptorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetCodecDescriptorRequest; - isSDK(o: any): o is GetCodecDescriptorRequestSDKType; - isAmino(o: any): o is GetCodecDescriptorRequestAmino; - encode(_: GetCodecDescriptorRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetCodecDescriptorRequest; - fromJSON(_: any): GetCodecDescriptorRequest; - toJSON(_: GetCodecDescriptorRequest): unknown; - fromPartial(_: DeepPartial): GetCodecDescriptorRequest; - fromSDK(_: GetCodecDescriptorRequestSDKType): GetCodecDescriptorRequest; - toSDK(_: GetCodecDescriptorRequest): GetCodecDescriptorRequestSDKType; - fromAmino(_: GetCodecDescriptorRequestAmino): GetCodecDescriptorRequest; - toAmino(_: GetCodecDescriptorRequest): GetCodecDescriptorRequestAmino; - fromAminoMsg(object: GetCodecDescriptorRequestAminoMsg): GetCodecDescriptorRequest; - toAminoMsg(message: GetCodecDescriptorRequest): GetCodecDescriptorRequestAminoMsg; - fromProtoMsg(message: GetCodecDescriptorRequestProtoMsg): GetCodecDescriptorRequest; - toProto(message: GetCodecDescriptorRequest): Uint8Array; - toProtoMsg(message: GetCodecDescriptorRequest): GetCodecDescriptorRequestProtoMsg; -}; -export declare const GetCodecDescriptorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetCodecDescriptorResponse; - isSDK(o: any): o is GetCodecDescriptorResponseSDKType; - isAmino(o: any): o is GetCodecDescriptorResponseAmino; - encode(message: GetCodecDescriptorResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetCodecDescriptorResponse; - fromJSON(object: any): GetCodecDescriptorResponse; - toJSON(message: GetCodecDescriptorResponse): unknown; - fromPartial(object: DeepPartial): GetCodecDescriptorResponse; - fromSDK(object: GetCodecDescriptorResponseSDKType): GetCodecDescriptorResponse; - toSDK(message: GetCodecDescriptorResponse): GetCodecDescriptorResponseSDKType; - fromAmino(object: GetCodecDescriptorResponseAmino): GetCodecDescriptorResponse; - toAmino(message: GetCodecDescriptorResponse): GetCodecDescriptorResponseAmino; - fromAminoMsg(object: GetCodecDescriptorResponseAminoMsg): GetCodecDescriptorResponse; - toAminoMsg(message: GetCodecDescriptorResponse): GetCodecDescriptorResponseAminoMsg; - fromProtoMsg(message: GetCodecDescriptorResponseProtoMsg): GetCodecDescriptorResponse; - toProto(message: GetCodecDescriptorResponse): Uint8Array; - toProtoMsg(message: GetCodecDescriptorResponse): GetCodecDescriptorResponseProtoMsg; -}; -export declare const GetConfigurationDescriptorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetConfigurationDescriptorRequest; - isSDK(o: any): o is GetConfigurationDescriptorRequestSDKType; - isAmino(o: any): o is GetConfigurationDescriptorRequestAmino; - encode(_: GetConfigurationDescriptorRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetConfigurationDescriptorRequest; - fromJSON(_: any): GetConfigurationDescriptorRequest; - toJSON(_: GetConfigurationDescriptorRequest): unknown; - fromPartial(_: DeepPartial): GetConfigurationDescriptorRequest; - fromSDK(_: GetConfigurationDescriptorRequestSDKType): GetConfigurationDescriptorRequest; - toSDK(_: GetConfigurationDescriptorRequest): GetConfigurationDescriptorRequestSDKType; - fromAmino(_: GetConfigurationDescriptorRequestAmino): GetConfigurationDescriptorRequest; - toAmino(_: GetConfigurationDescriptorRequest): GetConfigurationDescriptorRequestAmino; - fromAminoMsg(object: GetConfigurationDescriptorRequestAminoMsg): GetConfigurationDescriptorRequest; - toAminoMsg(message: GetConfigurationDescriptorRequest): GetConfigurationDescriptorRequestAminoMsg; - fromProtoMsg(message: GetConfigurationDescriptorRequestProtoMsg): GetConfigurationDescriptorRequest; - toProto(message: GetConfigurationDescriptorRequest): Uint8Array; - toProtoMsg(message: GetConfigurationDescriptorRequest): GetConfigurationDescriptorRequestProtoMsg; -}; -export declare const GetConfigurationDescriptorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetConfigurationDescriptorResponse; - isSDK(o: any): o is GetConfigurationDescriptorResponseSDKType; - isAmino(o: any): o is GetConfigurationDescriptorResponseAmino; - encode(message: GetConfigurationDescriptorResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetConfigurationDescriptorResponse; - fromJSON(object: any): GetConfigurationDescriptorResponse; - toJSON(message: GetConfigurationDescriptorResponse): unknown; - fromPartial(object: DeepPartial): GetConfigurationDescriptorResponse; - fromSDK(object: GetConfigurationDescriptorResponseSDKType): GetConfigurationDescriptorResponse; - toSDK(message: GetConfigurationDescriptorResponse): GetConfigurationDescriptorResponseSDKType; - fromAmino(object: GetConfigurationDescriptorResponseAmino): GetConfigurationDescriptorResponse; - toAmino(message: GetConfigurationDescriptorResponse): GetConfigurationDescriptorResponseAmino; - fromAminoMsg(object: GetConfigurationDescriptorResponseAminoMsg): GetConfigurationDescriptorResponse; - toAminoMsg(message: GetConfigurationDescriptorResponse): GetConfigurationDescriptorResponseAminoMsg; - fromProtoMsg(message: GetConfigurationDescriptorResponseProtoMsg): GetConfigurationDescriptorResponse; - toProto(message: GetConfigurationDescriptorResponse): Uint8Array; - toProtoMsg(message: GetConfigurationDescriptorResponse): GetConfigurationDescriptorResponseProtoMsg; -}; -export declare const GetQueryServicesDescriptorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetQueryServicesDescriptorRequest; - isSDK(o: any): o is GetQueryServicesDescriptorRequestSDKType; - isAmino(o: any): o is GetQueryServicesDescriptorRequestAmino; - encode(_: GetQueryServicesDescriptorRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetQueryServicesDescriptorRequest; - fromJSON(_: any): GetQueryServicesDescriptorRequest; - toJSON(_: GetQueryServicesDescriptorRequest): unknown; - fromPartial(_: DeepPartial): GetQueryServicesDescriptorRequest; - fromSDK(_: GetQueryServicesDescriptorRequestSDKType): GetQueryServicesDescriptorRequest; - toSDK(_: GetQueryServicesDescriptorRequest): GetQueryServicesDescriptorRequestSDKType; - fromAmino(_: GetQueryServicesDescriptorRequestAmino): GetQueryServicesDescriptorRequest; - toAmino(_: GetQueryServicesDescriptorRequest): GetQueryServicesDescriptorRequestAmino; - fromAminoMsg(object: GetQueryServicesDescriptorRequestAminoMsg): GetQueryServicesDescriptorRequest; - toAminoMsg(message: GetQueryServicesDescriptorRequest): GetQueryServicesDescriptorRequestAminoMsg; - fromProtoMsg(message: GetQueryServicesDescriptorRequestProtoMsg): GetQueryServicesDescriptorRequest; - toProto(message: GetQueryServicesDescriptorRequest): Uint8Array; - toProtoMsg(message: GetQueryServicesDescriptorRequest): GetQueryServicesDescriptorRequestProtoMsg; -}; -export declare const GetQueryServicesDescriptorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetQueryServicesDescriptorResponse; - isSDK(o: any): o is GetQueryServicesDescriptorResponseSDKType; - isAmino(o: any): o is GetQueryServicesDescriptorResponseAmino; - encode(message: GetQueryServicesDescriptorResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetQueryServicesDescriptorResponse; - fromJSON(object: any): GetQueryServicesDescriptorResponse; - toJSON(message: GetQueryServicesDescriptorResponse): unknown; - fromPartial(object: DeepPartial): GetQueryServicesDescriptorResponse; - fromSDK(object: GetQueryServicesDescriptorResponseSDKType): GetQueryServicesDescriptorResponse; - toSDK(message: GetQueryServicesDescriptorResponse): GetQueryServicesDescriptorResponseSDKType; - fromAmino(object: GetQueryServicesDescriptorResponseAmino): GetQueryServicesDescriptorResponse; - toAmino(message: GetQueryServicesDescriptorResponse): GetQueryServicesDescriptorResponseAmino; - fromAminoMsg(object: GetQueryServicesDescriptorResponseAminoMsg): GetQueryServicesDescriptorResponse; - toAminoMsg(message: GetQueryServicesDescriptorResponse): GetQueryServicesDescriptorResponseAminoMsg; - fromProtoMsg(message: GetQueryServicesDescriptorResponseProtoMsg): GetQueryServicesDescriptorResponse; - toProto(message: GetQueryServicesDescriptorResponse): Uint8Array; - toProtoMsg(message: GetQueryServicesDescriptorResponse): GetQueryServicesDescriptorResponseProtoMsg; -}; -export declare const GetTxDescriptorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetTxDescriptorRequest; - isSDK(o: any): o is GetTxDescriptorRequestSDKType; - isAmino(o: any): o is GetTxDescriptorRequestAmino; - encode(_: GetTxDescriptorRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetTxDescriptorRequest; - fromJSON(_: any): GetTxDescriptorRequest; - toJSON(_: GetTxDescriptorRequest): unknown; - fromPartial(_: DeepPartial): GetTxDescriptorRequest; - fromSDK(_: GetTxDescriptorRequestSDKType): GetTxDescriptorRequest; - toSDK(_: GetTxDescriptorRequest): GetTxDescriptorRequestSDKType; - fromAmino(_: GetTxDescriptorRequestAmino): GetTxDescriptorRequest; - toAmino(_: GetTxDescriptorRequest): GetTxDescriptorRequestAmino; - fromAminoMsg(object: GetTxDescriptorRequestAminoMsg): GetTxDescriptorRequest; - toAminoMsg(message: GetTxDescriptorRequest): GetTxDescriptorRequestAminoMsg; - fromProtoMsg(message: GetTxDescriptorRequestProtoMsg): GetTxDescriptorRequest; - toProto(message: GetTxDescriptorRequest): Uint8Array; - toProtoMsg(message: GetTxDescriptorRequest): GetTxDescriptorRequestProtoMsg; -}; -export declare const GetTxDescriptorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetTxDescriptorResponse; - isSDK(o: any): o is GetTxDescriptorResponseSDKType; - isAmino(o: any): o is GetTxDescriptorResponseAmino; - encode(message: GetTxDescriptorResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetTxDescriptorResponse; - fromJSON(object: any): GetTxDescriptorResponse; - toJSON(message: GetTxDescriptorResponse): unknown; - fromPartial(object: DeepPartial): GetTxDescriptorResponse; - fromSDK(object: GetTxDescriptorResponseSDKType): GetTxDescriptorResponse; - toSDK(message: GetTxDescriptorResponse): GetTxDescriptorResponseSDKType; - fromAmino(object: GetTxDescriptorResponseAmino): GetTxDescriptorResponse; - toAmino(message: GetTxDescriptorResponse): GetTxDescriptorResponseAmino; - fromAminoMsg(object: GetTxDescriptorResponseAminoMsg): GetTxDescriptorResponse; - toAminoMsg(message: GetTxDescriptorResponse): GetTxDescriptorResponseAminoMsg; - fromProtoMsg(message: GetTxDescriptorResponseProtoMsg): GetTxDescriptorResponse; - toProto(message: GetTxDescriptorResponse): Uint8Array; - toProtoMsg(message: GetTxDescriptorResponse): GetTxDescriptorResponseProtoMsg; -}; -export declare const QueryServicesDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryServicesDescriptor; - isSDK(o: any): o is QueryServicesDescriptorSDKType; - isAmino(o: any): o is QueryServicesDescriptorAmino; - encode(message: QueryServicesDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryServicesDescriptor; - fromJSON(object: any): QueryServicesDescriptor; - toJSON(message: QueryServicesDescriptor): unknown; - fromPartial(object: DeepPartial): QueryServicesDescriptor; - fromSDK(object: QueryServicesDescriptorSDKType): QueryServicesDescriptor; - toSDK(message: QueryServicesDescriptor): QueryServicesDescriptorSDKType; - fromAmino(object: QueryServicesDescriptorAmino): QueryServicesDescriptor; - toAmino(message: QueryServicesDescriptor): QueryServicesDescriptorAmino; - fromAminoMsg(object: QueryServicesDescriptorAminoMsg): QueryServicesDescriptor; - toAminoMsg(message: QueryServicesDescriptor): QueryServicesDescriptorAminoMsg; - fromProtoMsg(message: QueryServicesDescriptorProtoMsg): QueryServicesDescriptor; - toProto(message: QueryServicesDescriptor): Uint8Array; - toProtoMsg(message: QueryServicesDescriptor): QueryServicesDescriptorProtoMsg; -}; -export declare const QueryServiceDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryServiceDescriptor; - isSDK(o: any): o is QueryServiceDescriptorSDKType; - isAmino(o: any): o is QueryServiceDescriptorAmino; - encode(message: QueryServiceDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryServiceDescriptor; - fromJSON(object: any): QueryServiceDescriptor; - toJSON(message: QueryServiceDescriptor): unknown; - fromPartial(object: DeepPartial): QueryServiceDescriptor; - fromSDK(object: QueryServiceDescriptorSDKType): QueryServiceDescriptor; - toSDK(message: QueryServiceDescriptor): QueryServiceDescriptorSDKType; - fromAmino(object: QueryServiceDescriptorAmino): QueryServiceDescriptor; - toAmino(message: QueryServiceDescriptor): QueryServiceDescriptorAmino; - fromAminoMsg(object: QueryServiceDescriptorAminoMsg): QueryServiceDescriptor; - toAminoMsg(message: QueryServiceDescriptor): QueryServiceDescriptorAminoMsg; - fromProtoMsg(message: QueryServiceDescriptorProtoMsg): QueryServiceDescriptor; - toProto(message: QueryServiceDescriptor): Uint8Array; - toProtoMsg(message: QueryServiceDescriptor): QueryServiceDescriptorProtoMsg; -}; -export declare const QueryMethodDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryMethodDescriptor; - isSDK(o: any): o is QueryMethodDescriptorSDKType; - isAmino(o: any): o is QueryMethodDescriptorAmino; - encode(message: QueryMethodDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryMethodDescriptor; - fromJSON(object: any): QueryMethodDescriptor; - toJSON(message: QueryMethodDescriptor): unknown; - fromPartial(object: DeepPartial): QueryMethodDescriptor; - fromSDK(object: QueryMethodDescriptorSDKType): QueryMethodDescriptor; - toSDK(message: QueryMethodDescriptor): QueryMethodDescriptorSDKType; - fromAmino(object: QueryMethodDescriptorAmino): QueryMethodDescriptor; - toAmino(message: QueryMethodDescriptor): QueryMethodDescriptorAmino; - fromAminoMsg(object: QueryMethodDescriptorAminoMsg): QueryMethodDescriptor; - toAminoMsg(message: QueryMethodDescriptor): QueryMethodDescriptorAminoMsg; - fromProtoMsg(message: QueryMethodDescriptorProtoMsg): QueryMethodDescriptor; - toProto(message: QueryMethodDescriptor): Uint8Array; - toProtoMsg(message: QueryMethodDescriptor): QueryMethodDescriptorProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts b/examples/authz/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts deleted file mode 100644 index b5073144..00000000 --- a/examples/authz/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +++ /dev/null @@ -1,419 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** Snapshot contains Tendermint state sync snapshot info. */ -export interface Snapshot { - height: bigint; - format: number; - chunks: number; - hash: Uint8Array; - metadata: Metadata | undefined; -} -export interface SnapshotProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.Snapshot"; - value: Uint8Array; -} -/** Snapshot contains Tendermint state sync snapshot info. */ -export interface SnapshotAmino { - height?: string; - format?: number; - chunks?: number; - hash?: string; - metadata?: MetadataAmino | undefined; -} -export interface SnapshotAminoMsg { - type: "cosmos-sdk/Snapshot"; - value: SnapshotAmino; -} -/** Snapshot contains Tendermint state sync snapshot info. */ -export interface SnapshotSDKType { - height: bigint; - format: number; - chunks: number; - hash: Uint8Array; - metadata: MetadataSDKType | undefined; -} -/** Metadata contains SDK-specific snapshot metadata. */ -export interface Metadata { - /** SHA-256 chunk hashes */ - chunkHashes: Uint8Array[]; -} -export interface MetadataProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.Metadata"; - value: Uint8Array; -} -/** Metadata contains SDK-specific snapshot metadata. */ -export interface MetadataAmino { - /** SHA-256 chunk hashes */ - chunk_hashes?: string[]; -} -export interface MetadataAminoMsg { - type: "cosmos-sdk/Metadata"; - value: MetadataAmino; -} -/** Metadata contains SDK-specific snapshot metadata. */ -export interface MetadataSDKType { - chunk_hashes: Uint8Array[]; -} -/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ -export interface SnapshotItem { - store?: SnapshotStoreItem | undefined; - iavl?: SnapshotIAVLItem | undefined; - extension?: SnapshotExtensionMeta | undefined; - extensionPayload?: SnapshotExtensionPayload | undefined; - kv?: SnapshotKVItem | undefined; - schema?: SnapshotSchema | undefined; -} -export interface SnapshotItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotItem"; - value: Uint8Array; -} -/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ -export interface SnapshotItemAmino { - store?: SnapshotStoreItemAmino | undefined; - iavl?: SnapshotIAVLItemAmino | undefined; - extension?: SnapshotExtensionMetaAmino | undefined; - extension_payload?: SnapshotExtensionPayloadAmino | undefined; - kv?: SnapshotKVItemAmino | undefined; - schema?: SnapshotSchemaAmino | undefined; -} -export interface SnapshotItemAminoMsg { - type: "cosmos-sdk/SnapshotItem"; - value: SnapshotItemAmino; -} -/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ -export interface SnapshotItemSDKType { - store?: SnapshotStoreItemSDKType | undefined; - iavl?: SnapshotIAVLItemSDKType | undefined; - extension?: SnapshotExtensionMetaSDKType | undefined; - extension_payload?: SnapshotExtensionPayloadSDKType | undefined; - kv?: SnapshotKVItemSDKType | undefined; - schema?: SnapshotSchemaSDKType | undefined; -} -/** SnapshotStoreItem contains metadata about a snapshotted store. */ -export interface SnapshotStoreItem { - name: string; -} -export interface SnapshotStoreItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotStoreItem"; - value: Uint8Array; -} -/** SnapshotStoreItem contains metadata about a snapshotted store. */ -export interface SnapshotStoreItemAmino { - name?: string; -} -export interface SnapshotStoreItemAminoMsg { - type: "cosmos-sdk/SnapshotStoreItem"; - value: SnapshotStoreItemAmino; -} -/** SnapshotStoreItem contains metadata about a snapshotted store. */ -export interface SnapshotStoreItemSDKType { - name: string; -} -/** SnapshotIAVLItem is an exported IAVL node. */ -export interface SnapshotIAVLItem { - key: Uint8Array; - value: Uint8Array; - /** version is block height */ - version: bigint; - /** height is depth of the tree. */ - height: number; -} -export interface SnapshotIAVLItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotIAVLItem"; - value: Uint8Array; -} -/** SnapshotIAVLItem is an exported IAVL node. */ -export interface SnapshotIAVLItemAmino { - key?: string; - value?: string; - /** version is block height */ - version?: string; - /** height is depth of the tree. */ - height?: number; -} -export interface SnapshotIAVLItemAminoMsg { - type: "cosmos-sdk/SnapshotIAVLItem"; - value: SnapshotIAVLItemAmino; -} -/** SnapshotIAVLItem is an exported IAVL node. */ -export interface SnapshotIAVLItemSDKType { - key: Uint8Array; - value: Uint8Array; - version: bigint; - height: number; -} -/** SnapshotExtensionMeta contains metadata about an external snapshotter. */ -export interface SnapshotExtensionMeta { - name: string; - format: number; -} -export interface SnapshotExtensionMetaProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta"; - value: Uint8Array; -} -/** SnapshotExtensionMeta contains metadata about an external snapshotter. */ -export interface SnapshotExtensionMetaAmino { - name?: string; - format?: number; -} -export interface SnapshotExtensionMetaAminoMsg { - type: "cosmos-sdk/SnapshotExtensionMeta"; - value: SnapshotExtensionMetaAmino; -} -/** SnapshotExtensionMeta contains metadata about an external snapshotter. */ -export interface SnapshotExtensionMetaSDKType { - name: string; - format: number; -} -/** SnapshotExtensionPayload contains payloads of an external snapshotter. */ -export interface SnapshotExtensionPayload { - payload: Uint8Array; -} -export interface SnapshotExtensionPayloadProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload"; - value: Uint8Array; -} -/** SnapshotExtensionPayload contains payloads of an external snapshotter. */ -export interface SnapshotExtensionPayloadAmino { - payload?: string; -} -export interface SnapshotExtensionPayloadAminoMsg { - type: "cosmos-sdk/SnapshotExtensionPayload"; - value: SnapshotExtensionPayloadAmino; -} -/** SnapshotExtensionPayload contains payloads of an external snapshotter. */ -export interface SnapshotExtensionPayloadSDKType { - payload: Uint8Array; -} -/** SnapshotKVItem is an exported Key/Value Pair */ -export interface SnapshotKVItem { - key: Uint8Array; - value: Uint8Array; -} -export interface SnapshotKVItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotKVItem"; - value: Uint8Array; -} -/** SnapshotKVItem is an exported Key/Value Pair */ -export interface SnapshotKVItemAmino { - key?: string; - value?: string; -} -export interface SnapshotKVItemAminoMsg { - type: "cosmos-sdk/SnapshotKVItem"; - value: SnapshotKVItemAmino; -} -/** SnapshotKVItem is an exported Key/Value Pair */ -export interface SnapshotKVItemSDKType { - key: Uint8Array; - value: Uint8Array; -} -/** SnapshotSchema is an exported schema of smt store */ -export interface SnapshotSchema { - keys: Uint8Array[]; -} -export interface SnapshotSchemaProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotSchema"; - value: Uint8Array; -} -/** SnapshotSchema is an exported schema of smt store */ -export interface SnapshotSchemaAmino { - keys?: string[]; -} -export interface SnapshotSchemaAminoMsg { - type: "cosmos-sdk/SnapshotSchema"; - value: SnapshotSchemaAmino; -} -/** SnapshotSchema is an exported schema of smt store */ -export interface SnapshotSchemaSDKType { - keys: Uint8Array[]; -} -export declare const Snapshot: { - typeUrl: string; - aminoType: string; - is(o: any): o is Snapshot; - isSDK(o: any): o is SnapshotSDKType; - isAmino(o: any): o is SnapshotAmino; - encode(message: Snapshot, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Snapshot; - fromJSON(object: any): Snapshot; - toJSON(message: Snapshot): unknown; - fromPartial(object: DeepPartial): Snapshot; - fromSDK(object: SnapshotSDKType): Snapshot; - toSDK(message: Snapshot): SnapshotSDKType; - fromAmino(object: SnapshotAmino): Snapshot; - toAmino(message: Snapshot): SnapshotAmino; - fromAminoMsg(object: SnapshotAminoMsg): Snapshot; - toAminoMsg(message: Snapshot): SnapshotAminoMsg; - fromProtoMsg(message: SnapshotProtoMsg): Snapshot; - toProto(message: Snapshot): Uint8Array; - toProtoMsg(message: Snapshot): SnapshotProtoMsg; -}; -export declare const Metadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is Metadata; - isSDK(o: any): o is MetadataSDKType; - isAmino(o: any): o is MetadataAmino; - encode(message: Metadata, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Metadata; - fromJSON(object: any): Metadata; - toJSON(message: Metadata): unknown; - fromPartial(object: DeepPartial): Metadata; - fromSDK(object: MetadataSDKType): Metadata; - toSDK(message: Metadata): MetadataSDKType; - fromAmino(object: MetadataAmino): Metadata; - toAmino(message: Metadata): MetadataAmino; - fromAminoMsg(object: MetadataAminoMsg): Metadata; - toAminoMsg(message: Metadata): MetadataAminoMsg; - fromProtoMsg(message: MetadataProtoMsg): Metadata; - toProto(message: Metadata): Uint8Array; - toProtoMsg(message: Metadata): MetadataProtoMsg; -}; -export declare const SnapshotItem: { - typeUrl: string; - aminoType: string; - is(o: any): o is SnapshotItem; - isSDK(o: any): o is SnapshotItemSDKType; - isAmino(o: any): o is SnapshotItemAmino; - encode(message: SnapshotItem, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SnapshotItem; - fromJSON(object: any): SnapshotItem; - toJSON(message: SnapshotItem): unknown; - fromPartial(object: DeepPartial): SnapshotItem; - fromSDK(object: SnapshotItemSDKType): SnapshotItem; - toSDK(message: SnapshotItem): SnapshotItemSDKType; - fromAmino(object: SnapshotItemAmino): SnapshotItem; - toAmino(message: SnapshotItem): SnapshotItemAmino; - fromAminoMsg(object: SnapshotItemAminoMsg): SnapshotItem; - toAminoMsg(message: SnapshotItem): SnapshotItemAminoMsg; - fromProtoMsg(message: SnapshotItemProtoMsg): SnapshotItem; - toProto(message: SnapshotItem): Uint8Array; - toProtoMsg(message: SnapshotItem): SnapshotItemProtoMsg; -}; -export declare const SnapshotStoreItem: { - typeUrl: string; - aminoType: string; - is(o: any): o is SnapshotStoreItem; - isSDK(o: any): o is SnapshotStoreItemSDKType; - isAmino(o: any): o is SnapshotStoreItemAmino; - encode(message: SnapshotStoreItem, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SnapshotStoreItem; - fromJSON(object: any): SnapshotStoreItem; - toJSON(message: SnapshotStoreItem): unknown; - fromPartial(object: DeepPartial): SnapshotStoreItem; - fromSDK(object: SnapshotStoreItemSDKType): SnapshotStoreItem; - toSDK(message: SnapshotStoreItem): SnapshotStoreItemSDKType; - fromAmino(object: SnapshotStoreItemAmino): SnapshotStoreItem; - toAmino(message: SnapshotStoreItem): SnapshotStoreItemAmino; - fromAminoMsg(object: SnapshotStoreItemAminoMsg): SnapshotStoreItem; - toAminoMsg(message: SnapshotStoreItem): SnapshotStoreItemAminoMsg; - fromProtoMsg(message: SnapshotStoreItemProtoMsg): SnapshotStoreItem; - toProto(message: SnapshotStoreItem): Uint8Array; - toProtoMsg(message: SnapshotStoreItem): SnapshotStoreItemProtoMsg; -}; -export declare const SnapshotIAVLItem: { - typeUrl: string; - aminoType: string; - is(o: any): o is SnapshotIAVLItem; - isSDK(o: any): o is SnapshotIAVLItemSDKType; - isAmino(o: any): o is SnapshotIAVLItemAmino; - encode(message: SnapshotIAVLItem, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SnapshotIAVLItem; - fromJSON(object: any): SnapshotIAVLItem; - toJSON(message: SnapshotIAVLItem): unknown; - fromPartial(object: DeepPartial): SnapshotIAVLItem; - fromSDK(object: SnapshotIAVLItemSDKType): SnapshotIAVLItem; - toSDK(message: SnapshotIAVLItem): SnapshotIAVLItemSDKType; - fromAmino(object: SnapshotIAVLItemAmino): SnapshotIAVLItem; - toAmino(message: SnapshotIAVLItem): SnapshotIAVLItemAmino; - fromAminoMsg(object: SnapshotIAVLItemAminoMsg): SnapshotIAVLItem; - toAminoMsg(message: SnapshotIAVLItem): SnapshotIAVLItemAminoMsg; - fromProtoMsg(message: SnapshotIAVLItemProtoMsg): SnapshotIAVLItem; - toProto(message: SnapshotIAVLItem): Uint8Array; - toProtoMsg(message: SnapshotIAVLItem): SnapshotIAVLItemProtoMsg; -}; -export declare const SnapshotExtensionMeta: { - typeUrl: string; - aminoType: string; - is(o: any): o is SnapshotExtensionMeta; - isSDK(o: any): o is SnapshotExtensionMetaSDKType; - isAmino(o: any): o is SnapshotExtensionMetaAmino; - encode(message: SnapshotExtensionMeta, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SnapshotExtensionMeta; - fromJSON(object: any): SnapshotExtensionMeta; - toJSON(message: SnapshotExtensionMeta): unknown; - fromPartial(object: DeepPartial): SnapshotExtensionMeta; - fromSDK(object: SnapshotExtensionMetaSDKType): SnapshotExtensionMeta; - toSDK(message: SnapshotExtensionMeta): SnapshotExtensionMetaSDKType; - fromAmino(object: SnapshotExtensionMetaAmino): SnapshotExtensionMeta; - toAmino(message: SnapshotExtensionMeta): SnapshotExtensionMetaAmino; - fromAminoMsg(object: SnapshotExtensionMetaAminoMsg): SnapshotExtensionMeta; - toAminoMsg(message: SnapshotExtensionMeta): SnapshotExtensionMetaAminoMsg; - fromProtoMsg(message: SnapshotExtensionMetaProtoMsg): SnapshotExtensionMeta; - toProto(message: SnapshotExtensionMeta): Uint8Array; - toProtoMsg(message: SnapshotExtensionMeta): SnapshotExtensionMetaProtoMsg; -}; -export declare const SnapshotExtensionPayload: { - typeUrl: string; - aminoType: string; - is(o: any): o is SnapshotExtensionPayload; - isSDK(o: any): o is SnapshotExtensionPayloadSDKType; - isAmino(o: any): o is SnapshotExtensionPayloadAmino; - encode(message: SnapshotExtensionPayload, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SnapshotExtensionPayload; - fromJSON(object: any): SnapshotExtensionPayload; - toJSON(message: SnapshotExtensionPayload): unknown; - fromPartial(object: DeepPartial): SnapshotExtensionPayload; - fromSDK(object: SnapshotExtensionPayloadSDKType): SnapshotExtensionPayload; - toSDK(message: SnapshotExtensionPayload): SnapshotExtensionPayloadSDKType; - fromAmino(object: SnapshotExtensionPayloadAmino): SnapshotExtensionPayload; - toAmino(message: SnapshotExtensionPayload): SnapshotExtensionPayloadAmino; - fromAminoMsg(object: SnapshotExtensionPayloadAminoMsg): SnapshotExtensionPayload; - toAminoMsg(message: SnapshotExtensionPayload): SnapshotExtensionPayloadAminoMsg; - fromProtoMsg(message: SnapshotExtensionPayloadProtoMsg): SnapshotExtensionPayload; - toProto(message: SnapshotExtensionPayload): Uint8Array; - toProtoMsg(message: SnapshotExtensionPayload): SnapshotExtensionPayloadProtoMsg; -}; -export declare const SnapshotKVItem: { - typeUrl: string; - aminoType: string; - is(o: any): o is SnapshotKVItem; - isSDK(o: any): o is SnapshotKVItemSDKType; - isAmino(o: any): o is SnapshotKVItemAmino; - encode(message: SnapshotKVItem, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SnapshotKVItem; - fromJSON(object: any): SnapshotKVItem; - toJSON(message: SnapshotKVItem): unknown; - fromPartial(object: DeepPartial): SnapshotKVItem; - fromSDK(object: SnapshotKVItemSDKType): SnapshotKVItem; - toSDK(message: SnapshotKVItem): SnapshotKVItemSDKType; - fromAmino(object: SnapshotKVItemAmino): SnapshotKVItem; - toAmino(message: SnapshotKVItem): SnapshotKVItemAmino; - fromAminoMsg(object: SnapshotKVItemAminoMsg): SnapshotKVItem; - toAminoMsg(message: SnapshotKVItem): SnapshotKVItemAminoMsg; - fromProtoMsg(message: SnapshotKVItemProtoMsg): SnapshotKVItem; - toProto(message: SnapshotKVItem): Uint8Array; - toProtoMsg(message: SnapshotKVItem): SnapshotKVItemProtoMsg; -}; -export declare const SnapshotSchema: { - typeUrl: string; - aminoType: string; - is(o: any): o is SnapshotSchema; - isSDK(o: any): o is SnapshotSchemaSDKType; - isAmino(o: any): o is SnapshotSchemaAmino; - encode(message: SnapshotSchema, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SnapshotSchema; - fromJSON(object: any): SnapshotSchema; - toJSON(message: SnapshotSchema): unknown; - fromPartial(object: DeepPartial): SnapshotSchema; - fromSDK(object: SnapshotSchemaSDKType): SnapshotSchema; - toSDK(message: SnapshotSchema): SnapshotSchemaSDKType; - fromAmino(object: SnapshotSchemaAmino): SnapshotSchema; - toAmino(message: SnapshotSchema): SnapshotSchemaAmino; - fromAminoMsg(object: SnapshotSchemaAminoMsg): SnapshotSchema; - toAminoMsg(message: SnapshotSchema): SnapshotSchemaAminoMsg; - fromProtoMsg(message: SnapshotSchemaProtoMsg): SnapshotSchema; - toProto(message: SnapshotSchema): Uint8Array; - toProtoMsg(message: SnapshotSchema): SnapshotSchemaProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts b/examples/authz/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts deleted file mode 100644 index 0b7e6cda..00000000 --- a/examples/authz/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +++ /dev/null @@ -1,161 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * CommitInfo defines commit information used by the multi-store when committing - * a version/height. - */ -export interface CommitInfo { - version: bigint; - storeInfos: StoreInfo[]; -} -export interface CommitInfoProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.CommitInfo"; - value: Uint8Array; -} -/** - * CommitInfo defines commit information used by the multi-store when committing - * a version/height. - */ -export interface CommitInfoAmino { - version?: string; - store_infos?: StoreInfoAmino[]; -} -export interface CommitInfoAminoMsg { - type: "cosmos-sdk/CommitInfo"; - value: CommitInfoAmino; -} -/** - * CommitInfo defines commit information used by the multi-store when committing - * a version/height. - */ -export interface CommitInfoSDKType { - version: bigint; - store_infos: StoreInfoSDKType[]; -} -/** - * StoreInfo defines store-specific commit information. It contains a reference - * between a store name and the commit ID. - */ -export interface StoreInfo { - name: string; - commitId: CommitID | undefined; -} -export interface StoreInfoProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.StoreInfo"; - value: Uint8Array; -} -/** - * StoreInfo defines store-specific commit information. It contains a reference - * between a store name and the commit ID. - */ -export interface StoreInfoAmino { - name?: string; - commit_id?: CommitIDAmino | undefined; -} -export interface StoreInfoAminoMsg { - type: "cosmos-sdk/StoreInfo"; - value: StoreInfoAmino; -} -/** - * StoreInfo defines store-specific commit information. It contains a reference - * between a store name and the commit ID. - */ -export interface StoreInfoSDKType { - name: string; - commit_id: CommitIDSDKType | undefined; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ -export interface CommitID { - version: bigint; - hash: Uint8Array; -} -export interface CommitIDProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.CommitID"; - value: Uint8Array; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ -export interface CommitIDAmino { - version?: string; - hash?: string; -} -export interface CommitIDAminoMsg { - type: "cosmos-sdk/CommitID"; - value: CommitIDAmino; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ -export interface CommitIDSDKType { - version: bigint; - hash: Uint8Array; -} -export declare const CommitInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is CommitInfo; - isSDK(o: any): o is CommitInfoSDKType; - isAmino(o: any): o is CommitInfoAmino; - encode(message: CommitInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CommitInfo; - fromJSON(object: any): CommitInfo; - toJSON(message: CommitInfo): unknown; - fromPartial(object: DeepPartial): CommitInfo; - fromSDK(object: CommitInfoSDKType): CommitInfo; - toSDK(message: CommitInfo): CommitInfoSDKType; - fromAmino(object: CommitInfoAmino): CommitInfo; - toAmino(message: CommitInfo): CommitInfoAmino; - fromAminoMsg(object: CommitInfoAminoMsg): CommitInfo; - toAminoMsg(message: CommitInfo): CommitInfoAminoMsg; - fromProtoMsg(message: CommitInfoProtoMsg): CommitInfo; - toProto(message: CommitInfo): Uint8Array; - toProtoMsg(message: CommitInfo): CommitInfoProtoMsg; -}; -export declare const StoreInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is StoreInfo; - isSDK(o: any): o is StoreInfoSDKType; - isAmino(o: any): o is StoreInfoAmino; - encode(message: StoreInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): StoreInfo; - fromJSON(object: any): StoreInfo; - toJSON(message: StoreInfo): unknown; - fromPartial(object: DeepPartial): StoreInfo; - fromSDK(object: StoreInfoSDKType): StoreInfo; - toSDK(message: StoreInfo): StoreInfoSDKType; - fromAmino(object: StoreInfoAmino): StoreInfo; - toAmino(message: StoreInfo): StoreInfoAmino; - fromAminoMsg(object: StoreInfoAminoMsg): StoreInfo; - toAminoMsg(message: StoreInfo): StoreInfoAminoMsg; - fromProtoMsg(message: StoreInfoProtoMsg): StoreInfo; - toProto(message: StoreInfo): Uint8Array; - toProtoMsg(message: StoreInfo): StoreInfoProtoMsg; -}; -export declare const CommitID: { - typeUrl: string; - aminoType: string; - is(o: any): o is CommitID; - isSDK(o: any): o is CommitIDSDKType; - isAmino(o: any): o is CommitIDAmino; - encode(message: CommitID, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CommitID; - fromJSON(object: any): CommitID; - toJSON(message: CommitID): unknown; - fromPartial(object: DeepPartial): CommitID; - fromSDK(object: CommitIDSDKType): CommitID; - toSDK(message: CommitID): CommitIDSDKType; - fromAmino(object: CommitIDAmino): CommitID; - toAmino(message: CommitID): CommitIDAmino; - fromAminoMsg(object: CommitIDAminoMsg): CommitID; - toAminoMsg(message: CommitID): CommitIDAminoMsg; - fromProtoMsg(message: CommitIDProtoMsg): CommitID; - toProto(message: CommitID): Uint8Array; - toProtoMsg(message: CommitID): CommitIDProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/base/store/v1beta1/listening.d.ts b/examples/authz/types/codegen/cosmos/base/store/v1beta1/listening.d.ts deleted file mode 100644 index 2effb55d..00000000 --- a/examples/authz/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ -export interface StoreKVPair { - /** the store key for the KVStore this pair originates from */ - storeKey: string; - /** true indicates a delete operation, false indicates a set operation */ - delete: boolean; - key: Uint8Array; - value: Uint8Array; -} -export interface StoreKVPairProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.StoreKVPair"; - value: Uint8Array; -} -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ -export interface StoreKVPairAmino { - /** the store key for the KVStore this pair originates from */ - store_key?: string; - /** true indicates a delete operation, false indicates a set operation */ - delete?: boolean; - key?: string; - value?: string; -} -export interface StoreKVPairAminoMsg { - type: "cosmos-sdk/StoreKVPair"; - value: StoreKVPairAmino; -} -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ -export interface StoreKVPairSDKType { - store_key: string; - delete: boolean; - key: Uint8Array; - value: Uint8Array; -} -export declare const StoreKVPair: { - typeUrl: string; - aminoType: string; - is(o: any): o is StoreKVPair; - isSDK(o: any): o is StoreKVPairSDKType; - isAmino(o: any): o is StoreKVPairAmino; - encode(message: StoreKVPair, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): StoreKVPair; - fromJSON(object: any): StoreKVPair; - toJSON(message: StoreKVPair): unknown; - fromPartial(object: DeepPartial): StoreKVPair; - fromSDK(object: StoreKVPairSDKType): StoreKVPair; - toSDK(message: StoreKVPair): StoreKVPairSDKType; - fromAmino(object: StoreKVPairAmino): StoreKVPair; - toAmino(message: StoreKVPair): StoreKVPairAmino; - fromAminoMsg(object: StoreKVPairAminoMsg): StoreKVPair; - toAminoMsg(message: StoreKVPair): StoreKVPairAminoMsg; - fromProtoMsg(message: StoreKVPairProtoMsg): StoreKVPair; - toProto(message: StoreKVPair): Uint8Array; - toProtoMsg(message: StoreKVPair): StoreKVPairProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts b/examples/authz/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts deleted file mode 100644 index fd8fa26e..00000000 --- a/examples/authz/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +++ /dev/null @@ -1,689 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../query/v1beta1/pagination"; -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { BlockID, BlockIDAmino, BlockIDSDKType } from "../../../../tendermint/types/types"; -import { Block, BlockAmino, BlockSDKType } from "../../../../tendermint/types/block"; -import { NodeInfo, NodeInfoAmino, NodeInfoSDKType } from "../../../../tendermint/p2p/types"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightRequest { - height: bigint; - /** pagination defines an pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface GetValidatorSetByHeightRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest"; - value: Uint8Array; -} -/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightRequestAmino { - height?: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface GetValidatorSetByHeightRequestAminoMsg { - type: "cosmos-sdk/GetValidatorSetByHeightRequest"; - value: GetValidatorSetByHeightRequestAmino; -} -/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightRequestSDKType { - height: bigint; - pagination?: PageRequestSDKType | undefined; -} -/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightResponse { - blockHeight: bigint; - validators: Validator[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponse | undefined; -} -export interface GetValidatorSetByHeightResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse"; - value: Uint8Array; -} -/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightResponseAmino { - block_height?: string; - validators?: ValidatorAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface GetValidatorSetByHeightResponseAminoMsg { - type: "cosmos-sdk/GetValidatorSetByHeightResponse"; - value: GetValidatorSetByHeightResponseAmino; -} -/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightResponseSDKType { - block_height: bigint; - validators: ValidatorSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetRequest { - /** pagination defines an pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface GetLatestValidatorSetRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest"; - value: Uint8Array; -} -/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetRequestAmino { - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface GetLatestValidatorSetRequestAminoMsg { - type: "cosmos-sdk/GetLatestValidatorSetRequest"; - value: GetLatestValidatorSetRequestAmino; -} -/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetResponse { - blockHeight: bigint; - validators: Validator[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponse | undefined; -} -export interface GetLatestValidatorSetResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse"; - value: Uint8Array; -} -/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetResponseAmino { - block_height?: string; - validators?: ValidatorAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface GetLatestValidatorSetResponseAminoMsg { - type: "cosmos-sdk/GetLatestValidatorSetResponse"; - value: GetLatestValidatorSetResponseAmino; -} -/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetResponseSDKType { - block_height: bigint; - validators: ValidatorSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** Validator is the type for the validator-set. */ -export interface Validator { - address: string; - pubKey?: Any | undefined; - votingPower: bigint; - proposerPriority: bigint; -} -export interface ValidatorProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.Validator"; - value: Uint8Array; -} -/** Validator is the type for the validator-set. */ -export interface ValidatorAmino { - address?: string; - pub_key?: AnyAmino | undefined; - voting_power?: string; - proposer_priority?: string; -} -export interface ValidatorAminoMsg { - type: "cosmos-sdk/Validator"; - value: ValidatorAmino; -} -/** Validator is the type for the validator-set. */ -export interface ValidatorSDKType { - address: string; - pub_key?: AnySDKType | undefined; - voting_power: bigint; - proposer_priority: bigint; -} -/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */ -export interface GetBlockByHeightRequest { - height: bigint; -} -export interface GetBlockByHeightRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest"; - value: Uint8Array; -} -/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */ -export interface GetBlockByHeightRequestAmino { - height?: string; -} -export interface GetBlockByHeightRequestAminoMsg { - type: "cosmos-sdk/GetBlockByHeightRequest"; - value: GetBlockByHeightRequestAmino; -} -/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */ -export interface GetBlockByHeightRequestSDKType { - height: bigint; -} -/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ -export interface GetBlockByHeightResponse { - blockId?: BlockID | undefined; - block?: Block | undefined; -} -export interface GetBlockByHeightResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse"; - value: Uint8Array; -} -/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ -export interface GetBlockByHeightResponseAmino { - block_id?: BlockIDAmino | undefined; - block?: BlockAmino | undefined; -} -export interface GetBlockByHeightResponseAminoMsg { - type: "cosmos-sdk/GetBlockByHeightResponse"; - value: GetBlockByHeightResponseAmino; -} -/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ -export interface GetBlockByHeightResponseSDKType { - block_id?: BlockIDSDKType | undefined; - block?: BlockSDKType | undefined; -} -/** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */ -export interface GetLatestBlockRequest { -} -export interface GetLatestBlockRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockRequest"; - value: Uint8Array; -} -/** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */ -export interface GetLatestBlockRequestAmino { -} -export interface GetLatestBlockRequestAminoMsg { - type: "cosmos-sdk/GetLatestBlockRequest"; - value: GetLatestBlockRequestAmino; -} -/** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */ -export interface GetLatestBlockRequestSDKType { -} -/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ -export interface GetLatestBlockResponse { - blockId?: BlockID | undefined; - block?: Block | undefined; -} -export interface GetLatestBlockResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse"; - value: Uint8Array; -} -/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ -export interface GetLatestBlockResponseAmino { - block_id?: BlockIDAmino | undefined; - block?: BlockAmino | undefined; -} -export interface GetLatestBlockResponseAminoMsg { - type: "cosmos-sdk/GetLatestBlockResponse"; - value: GetLatestBlockResponseAmino; -} -/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ -export interface GetLatestBlockResponseSDKType { - block_id?: BlockIDSDKType | undefined; - block?: BlockSDKType | undefined; -} -/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ -export interface GetSyncingRequest { -} -export interface GetSyncingRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingRequest"; - value: Uint8Array; -} -/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ -export interface GetSyncingRequestAmino { -} -export interface GetSyncingRequestAminoMsg { - type: "cosmos-sdk/GetSyncingRequest"; - value: GetSyncingRequestAmino; -} -/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ -export interface GetSyncingRequestSDKType { -} -/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */ -export interface GetSyncingResponse { - syncing: boolean; -} -export interface GetSyncingResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingResponse"; - value: Uint8Array; -} -/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */ -export interface GetSyncingResponseAmino { - syncing?: boolean; -} -export interface GetSyncingResponseAminoMsg { - type: "cosmos-sdk/GetSyncingResponse"; - value: GetSyncingResponseAmino; -} -/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */ -export interface GetSyncingResponseSDKType { - syncing: boolean; -} -/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoRequest { -} -export interface GetNodeInfoRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoRequest"; - value: Uint8Array; -} -/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoRequestAmino { -} -export interface GetNodeInfoRequestAminoMsg { - type: "cosmos-sdk/GetNodeInfoRequest"; - value: GetNodeInfoRequestAmino; -} -/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoRequestSDKType { -} -/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoResponse { - nodeInfo?: NodeInfo | undefined; - applicationVersion?: VersionInfo | undefined; -} -export interface GetNodeInfoResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse"; - value: Uint8Array; -} -/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoResponseAmino { - node_info?: NodeInfoAmino | undefined; - application_version?: VersionInfoAmino | undefined; -} -export interface GetNodeInfoResponseAminoMsg { - type: "cosmos-sdk/GetNodeInfoResponse"; - value: GetNodeInfoResponseAmino; -} -/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoResponseSDKType { - node_info?: NodeInfoSDKType | undefined; - application_version?: VersionInfoSDKType | undefined; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ -export interface VersionInfo { - name: string; - appName: string; - version: string; - gitCommit: string; - buildTags: string; - goVersion: string; - buildDeps: Module[]; - /** Since: cosmos-sdk 0.43 */ - cosmosSdkVersion: string; -} -export interface VersionInfoProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.VersionInfo"; - value: Uint8Array; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ -export interface VersionInfoAmino { - name?: string; - app_name?: string; - version?: string; - git_commit?: string; - build_tags?: string; - go_version?: string; - build_deps?: ModuleAmino[]; - /** Since: cosmos-sdk 0.43 */ - cosmos_sdk_version?: string; -} -export interface VersionInfoAminoMsg { - type: "cosmos-sdk/VersionInfo"; - value: VersionInfoAmino; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ -export interface VersionInfoSDKType { - name: string; - app_name: string; - version: string; - git_commit: string; - build_tags: string; - go_version: string; - build_deps: ModuleSDKType[]; - cosmos_sdk_version: string; -} -/** Module is the type for VersionInfo */ -export interface Module { - /** module path */ - path: string; - /** module version */ - version: string; - /** checksum */ - sum: string; -} -export interface ModuleProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.Module"; - value: Uint8Array; -} -/** Module is the type for VersionInfo */ -export interface ModuleAmino { - /** module path */ - path?: string; - /** module version */ - version?: string; - /** checksum */ - sum?: string; -} -export interface ModuleAminoMsg { - type: "cosmos-sdk/Module"; - value: ModuleAmino; -} -/** Module is the type for VersionInfo */ -export interface ModuleSDKType { - path: string; - version: string; - sum: string; -} -export declare const GetValidatorSetByHeightRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetValidatorSetByHeightRequest; - isSDK(o: any): o is GetValidatorSetByHeightRequestSDKType; - isAmino(o: any): o is GetValidatorSetByHeightRequestAmino; - encode(message: GetValidatorSetByHeightRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetValidatorSetByHeightRequest; - fromJSON(object: any): GetValidatorSetByHeightRequest; - toJSON(message: GetValidatorSetByHeightRequest): unknown; - fromPartial(object: DeepPartial): GetValidatorSetByHeightRequest; - fromSDK(object: GetValidatorSetByHeightRequestSDKType): GetValidatorSetByHeightRequest; - toSDK(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestSDKType; - fromAmino(object: GetValidatorSetByHeightRequestAmino): GetValidatorSetByHeightRequest; - toAmino(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestAmino; - fromAminoMsg(object: GetValidatorSetByHeightRequestAminoMsg): GetValidatorSetByHeightRequest; - toAminoMsg(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestAminoMsg; - fromProtoMsg(message: GetValidatorSetByHeightRequestProtoMsg): GetValidatorSetByHeightRequest; - toProto(message: GetValidatorSetByHeightRequest): Uint8Array; - toProtoMsg(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestProtoMsg; -}; -export declare const GetValidatorSetByHeightResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetValidatorSetByHeightResponse; - isSDK(o: any): o is GetValidatorSetByHeightResponseSDKType; - isAmino(o: any): o is GetValidatorSetByHeightResponseAmino; - encode(message: GetValidatorSetByHeightResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetValidatorSetByHeightResponse; - fromJSON(object: any): GetValidatorSetByHeightResponse; - toJSON(message: GetValidatorSetByHeightResponse): unknown; - fromPartial(object: DeepPartial): GetValidatorSetByHeightResponse; - fromSDK(object: GetValidatorSetByHeightResponseSDKType): GetValidatorSetByHeightResponse; - toSDK(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseSDKType; - fromAmino(object: GetValidatorSetByHeightResponseAmino): GetValidatorSetByHeightResponse; - toAmino(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseAmino; - fromAminoMsg(object: GetValidatorSetByHeightResponseAminoMsg): GetValidatorSetByHeightResponse; - toAminoMsg(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseAminoMsg; - fromProtoMsg(message: GetValidatorSetByHeightResponseProtoMsg): GetValidatorSetByHeightResponse; - toProto(message: GetValidatorSetByHeightResponse): Uint8Array; - toProtoMsg(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseProtoMsg; -}; -export declare const GetLatestValidatorSetRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetLatestValidatorSetRequest; - isSDK(o: any): o is GetLatestValidatorSetRequestSDKType; - isAmino(o: any): o is GetLatestValidatorSetRequestAmino; - encode(message: GetLatestValidatorSetRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetLatestValidatorSetRequest; - fromJSON(object: any): GetLatestValidatorSetRequest; - toJSON(message: GetLatestValidatorSetRequest): unknown; - fromPartial(object: DeepPartial): GetLatestValidatorSetRequest; - fromSDK(object: GetLatestValidatorSetRequestSDKType): GetLatestValidatorSetRequest; - toSDK(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestSDKType; - fromAmino(object: GetLatestValidatorSetRequestAmino): GetLatestValidatorSetRequest; - toAmino(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestAmino; - fromAminoMsg(object: GetLatestValidatorSetRequestAminoMsg): GetLatestValidatorSetRequest; - toAminoMsg(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestAminoMsg; - fromProtoMsg(message: GetLatestValidatorSetRequestProtoMsg): GetLatestValidatorSetRequest; - toProto(message: GetLatestValidatorSetRequest): Uint8Array; - toProtoMsg(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestProtoMsg; -}; -export declare const GetLatestValidatorSetResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetLatestValidatorSetResponse; - isSDK(o: any): o is GetLatestValidatorSetResponseSDKType; - isAmino(o: any): o is GetLatestValidatorSetResponseAmino; - encode(message: GetLatestValidatorSetResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetLatestValidatorSetResponse; - fromJSON(object: any): GetLatestValidatorSetResponse; - toJSON(message: GetLatestValidatorSetResponse): unknown; - fromPartial(object: DeepPartial): GetLatestValidatorSetResponse; - fromSDK(object: GetLatestValidatorSetResponseSDKType): GetLatestValidatorSetResponse; - toSDK(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseSDKType; - fromAmino(object: GetLatestValidatorSetResponseAmino): GetLatestValidatorSetResponse; - toAmino(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseAmino; - fromAminoMsg(object: GetLatestValidatorSetResponseAminoMsg): GetLatestValidatorSetResponse; - toAminoMsg(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseAminoMsg; - fromProtoMsg(message: GetLatestValidatorSetResponseProtoMsg): GetLatestValidatorSetResponse; - toProto(message: GetLatestValidatorSetResponse): Uint8Array; - toProtoMsg(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseProtoMsg; -}; -export declare const Validator: { - typeUrl: string; - aminoType: string; - is(o: any): o is Validator; - isSDK(o: any): o is ValidatorSDKType; - isAmino(o: any): o is ValidatorAmino; - encode(message: Validator, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Validator; - fromJSON(object: any): Validator; - toJSON(message: Validator): unknown; - fromPartial(object: DeepPartial): Validator; - fromSDK(object: ValidatorSDKType): Validator; - toSDK(message: Validator): ValidatorSDKType; - fromAmino(object: ValidatorAmino): Validator; - toAmino(message: Validator): ValidatorAmino; - fromAminoMsg(object: ValidatorAminoMsg): Validator; - toAminoMsg(message: Validator): ValidatorAminoMsg; - fromProtoMsg(message: ValidatorProtoMsg): Validator; - toProto(message: Validator): Uint8Array; - toProtoMsg(message: Validator): ValidatorProtoMsg; -}; -export declare const GetBlockByHeightRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetBlockByHeightRequest; - isSDK(o: any): o is GetBlockByHeightRequestSDKType; - isAmino(o: any): o is GetBlockByHeightRequestAmino; - encode(message: GetBlockByHeightRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetBlockByHeightRequest; - fromJSON(object: any): GetBlockByHeightRequest; - toJSON(message: GetBlockByHeightRequest): unknown; - fromPartial(object: DeepPartial): GetBlockByHeightRequest; - fromSDK(object: GetBlockByHeightRequestSDKType): GetBlockByHeightRequest; - toSDK(message: GetBlockByHeightRequest): GetBlockByHeightRequestSDKType; - fromAmino(object: GetBlockByHeightRequestAmino): GetBlockByHeightRequest; - toAmino(message: GetBlockByHeightRequest): GetBlockByHeightRequestAmino; - fromAminoMsg(object: GetBlockByHeightRequestAminoMsg): GetBlockByHeightRequest; - toAminoMsg(message: GetBlockByHeightRequest): GetBlockByHeightRequestAminoMsg; - fromProtoMsg(message: GetBlockByHeightRequestProtoMsg): GetBlockByHeightRequest; - toProto(message: GetBlockByHeightRequest): Uint8Array; - toProtoMsg(message: GetBlockByHeightRequest): GetBlockByHeightRequestProtoMsg; -}; -export declare const GetBlockByHeightResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetBlockByHeightResponse; - isSDK(o: any): o is GetBlockByHeightResponseSDKType; - isAmino(o: any): o is GetBlockByHeightResponseAmino; - encode(message: GetBlockByHeightResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetBlockByHeightResponse; - fromJSON(object: any): GetBlockByHeightResponse; - toJSON(message: GetBlockByHeightResponse): unknown; - fromPartial(object: DeepPartial): GetBlockByHeightResponse; - fromSDK(object: GetBlockByHeightResponseSDKType): GetBlockByHeightResponse; - toSDK(message: GetBlockByHeightResponse): GetBlockByHeightResponseSDKType; - fromAmino(object: GetBlockByHeightResponseAmino): GetBlockByHeightResponse; - toAmino(message: GetBlockByHeightResponse): GetBlockByHeightResponseAmino; - fromAminoMsg(object: GetBlockByHeightResponseAminoMsg): GetBlockByHeightResponse; - toAminoMsg(message: GetBlockByHeightResponse): GetBlockByHeightResponseAminoMsg; - fromProtoMsg(message: GetBlockByHeightResponseProtoMsg): GetBlockByHeightResponse; - toProto(message: GetBlockByHeightResponse): Uint8Array; - toProtoMsg(message: GetBlockByHeightResponse): GetBlockByHeightResponseProtoMsg; -}; -export declare const GetLatestBlockRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetLatestBlockRequest; - isSDK(o: any): o is GetLatestBlockRequestSDKType; - isAmino(o: any): o is GetLatestBlockRequestAmino; - encode(_: GetLatestBlockRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetLatestBlockRequest; - fromJSON(_: any): GetLatestBlockRequest; - toJSON(_: GetLatestBlockRequest): unknown; - fromPartial(_: DeepPartial): GetLatestBlockRequest; - fromSDK(_: GetLatestBlockRequestSDKType): GetLatestBlockRequest; - toSDK(_: GetLatestBlockRequest): GetLatestBlockRequestSDKType; - fromAmino(_: GetLatestBlockRequestAmino): GetLatestBlockRequest; - toAmino(_: GetLatestBlockRequest): GetLatestBlockRequestAmino; - fromAminoMsg(object: GetLatestBlockRequestAminoMsg): GetLatestBlockRequest; - toAminoMsg(message: GetLatestBlockRequest): GetLatestBlockRequestAminoMsg; - fromProtoMsg(message: GetLatestBlockRequestProtoMsg): GetLatestBlockRequest; - toProto(message: GetLatestBlockRequest): Uint8Array; - toProtoMsg(message: GetLatestBlockRequest): GetLatestBlockRequestProtoMsg; -}; -export declare const GetLatestBlockResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetLatestBlockResponse; - isSDK(o: any): o is GetLatestBlockResponseSDKType; - isAmino(o: any): o is GetLatestBlockResponseAmino; - encode(message: GetLatestBlockResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetLatestBlockResponse; - fromJSON(object: any): GetLatestBlockResponse; - toJSON(message: GetLatestBlockResponse): unknown; - fromPartial(object: DeepPartial): GetLatestBlockResponse; - fromSDK(object: GetLatestBlockResponseSDKType): GetLatestBlockResponse; - toSDK(message: GetLatestBlockResponse): GetLatestBlockResponseSDKType; - fromAmino(object: GetLatestBlockResponseAmino): GetLatestBlockResponse; - toAmino(message: GetLatestBlockResponse): GetLatestBlockResponseAmino; - fromAminoMsg(object: GetLatestBlockResponseAminoMsg): GetLatestBlockResponse; - toAminoMsg(message: GetLatestBlockResponse): GetLatestBlockResponseAminoMsg; - fromProtoMsg(message: GetLatestBlockResponseProtoMsg): GetLatestBlockResponse; - toProto(message: GetLatestBlockResponse): Uint8Array; - toProtoMsg(message: GetLatestBlockResponse): GetLatestBlockResponseProtoMsg; -}; -export declare const GetSyncingRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetSyncingRequest; - isSDK(o: any): o is GetSyncingRequestSDKType; - isAmino(o: any): o is GetSyncingRequestAmino; - encode(_: GetSyncingRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetSyncingRequest; - fromJSON(_: any): GetSyncingRequest; - toJSON(_: GetSyncingRequest): unknown; - fromPartial(_: DeepPartial): GetSyncingRequest; - fromSDK(_: GetSyncingRequestSDKType): GetSyncingRequest; - toSDK(_: GetSyncingRequest): GetSyncingRequestSDKType; - fromAmino(_: GetSyncingRequestAmino): GetSyncingRequest; - toAmino(_: GetSyncingRequest): GetSyncingRequestAmino; - fromAminoMsg(object: GetSyncingRequestAminoMsg): GetSyncingRequest; - toAminoMsg(message: GetSyncingRequest): GetSyncingRequestAminoMsg; - fromProtoMsg(message: GetSyncingRequestProtoMsg): GetSyncingRequest; - toProto(message: GetSyncingRequest): Uint8Array; - toProtoMsg(message: GetSyncingRequest): GetSyncingRequestProtoMsg; -}; -export declare const GetSyncingResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetSyncingResponse; - isSDK(o: any): o is GetSyncingResponseSDKType; - isAmino(o: any): o is GetSyncingResponseAmino; - encode(message: GetSyncingResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetSyncingResponse; - fromJSON(object: any): GetSyncingResponse; - toJSON(message: GetSyncingResponse): unknown; - fromPartial(object: DeepPartial): GetSyncingResponse; - fromSDK(object: GetSyncingResponseSDKType): GetSyncingResponse; - toSDK(message: GetSyncingResponse): GetSyncingResponseSDKType; - fromAmino(object: GetSyncingResponseAmino): GetSyncingResponse; - toAmino(message: GetSyncingResponse): GetSyncingResponseAmino; - fromAminoMsg(object: GetSyncingResponseAminoMsg): GetSyncingResponse; - toAminoMsg(message: GetSyncingResponse): GetSyncingResponseAminoMsg; - fromProtoMsg(message: GetSyncingResponseProtoMsg): GetSyncingResponse; - toProto(message: GetSyncingResponse): Uint8Array; - toProtoMsg(message: GetSyncingResponse): GetSyncingResponseProtoMsg; -}; -export declare const GetNodeInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetNodeInfoRequest; - isSDK(o: any): o is GetNodeInfoRequestSDKType; - isAmino(o: any): o is GetNodeInfoRequestAmino; - encode(_: GetNodeInfoRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetNodeInfoRequest; - fromJSON(_: any): GetNodeInfoRequest; - toJSON(_: GetNodeInfoRequest): unknown; - fromPartial(_: DeepPartial): GetNodeInfoRequest; - fromSDK(_: GetNodeInfoRequestSDKType): GetNodeInfoRequest; - toSDK(_: GetNodeInfoRequest): GetNodeInfoRequestSDKType; - fromAmino(_: GetNodeInfoRequestAmino): GetNodeInfoRequest; - toAmino(_: GetNodeInfoRequest): GetNodeInfoRequestAmino; - fromAminoMsg(object: GetNodeInfoRequestAminoMsg): GetNodeInfoRequest; - toAminoMsg(message: GetNodeInfoRequest): GetNodeInfoRequestAminoMsg; - fromProtoMsg(message: GetNodeInfoRequestProtoMsg): GetNodeInfoRequest; - toProto(message: GetNodeInfoRequest): Uint8Array; - toProtoMsg(message: GetNodeInfoRequest): GetNodeInfoRequestProtoMsg; -}; -export declare const GetNodeInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetNodeInfoResponse; - isSDK(o: any): o is GetNodeInfoResponseSDKType; - isAmino(o: any): o is GetNodeInfoResponseAmino; - encode(message: GetNodeInfoResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetNodeInfoResponse; - fromJSON(object: any): GetNodeInfoResponse; - toJSON(message: GetNodeInfoResponse): unknown; - fromPartial(object: DeepPartial): GetNodeInfoResponse; - fromSDK(object: GetNodeInfoResponseSDKType): GetNodeInfoResponse; - toSDK(message: GetNodeInfoResponse): GetNodeInfoResponseSDKType; - fromAmino(object: GetNodeInfoResponseAmino): GetNodeInfoResponse; - toAmino(message: GetNodeInfoResponse): GetNodeInfoResponseAmino; - fromAminoMsg(object: GetNodeInfoResponseAminoMsg): GetNodeInfoResponse; - toAminoMsg(message: GetNodeInfoResponse): GetNodeInfoResponseAminoMsg; - fromProtoMsg(message: GetNodeInfoResponseProtoMsg): GetNodeInfoResponse; - toProto(message: GetNodeInfoResponse): Uint8Array; - toProtoMsg(message: GetNodeInfoResponse): GetNodeInfoResponseProtoMsg; -}; -export declare const VersionInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is VersionInfo; - isSDK(o: any): o is VersionInfoSDKType; - isAmino(o: any): o is VersionInfoAmino; - encode(message: VersionInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): VersionInfo; - fromJSON(object: any): VersionInfo; - toJSON(message: VersionInfo): unknown; - fromPartial(object: DeepPartial): VersionInfo; - fromSDK(object: VersionInfoSDKType): VersionInfo; - toSDK(message: VersionInfo): VersionInfoSDKType; - fromAmino(object: VersionInfoAmino): VersionInfo; - toAmino(message: VersionInfo): VersionInfoAmino; - fromAminoMsg(object: VersionInfoAminoMsg): VersionInfo; - toAminoMsg(message: VersionInfo): VersionInfoAminoMsg; - fromProtoMsg(message: VersionInfoProtoMsg): VersionInfo; - toProto(message: VersionInfo): Uint8Array; - toProtoMsg(message: VersionInfo): VersionInfoProtoMsg; -}; -export declare const Module: { - typeUrl: string; - aminoType: string; - is(o: any): o is Module; - isSDK(o: any): o is ModuleSDKType; - isAmino(o: any): o is ModuleAmino; - encode(message: Module, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Module; - fromJSON(object: any): Module; - toJSON(message: Module): unknown; - fromPartial(object: DeepPartial): Module; - fromSDK(object: ModuleSDKType): Module; - toSDK(message: Module): ModuleSDKType; - fromAmino(object: ModuleAmino): Module; - toAmino(message: Module): ModuleAmino; - fromAminoMsg(object: ModuleAminoMsg): Module; - toAminoMsg(message: Module): ModuleAminoMsg; - fromProtoMsg(message: ModuleProtoMsg): Module; - toProto(message: Module): Uint8Array; - toProtoMsg(message: Module): ModuleProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.d.ts b/examples/authz/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.d.ts deleted file mode 100644 index 50ea85f3..00000000 --- a/examples/authz/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.d.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { TxRpc } from "../../../../types"; -import { ReactQueryParams } from "../../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../../mobx"; -import { GetNodeInfoRequest, GetNodeInfoResponse, GetSyncingRequest, GetSyncingResponse, GetLatestBlockRequest, GetLatestBlockResponse, GetBlockByHeightRequest, GetBlockByHeightResponse, GetLatestValidatorSetRequest, GetLatestValidatorSetResponse, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponse } from "./query"; -/** Service defines the gRPC querier service for tendermint queries. */ -export interface Service { - /** GetNodeInfo queries the current node info. */ - getNodeInfo(request?: GetNodeInfoRequest): Promise; - /** GetSyncing queries node syncing. */ - getSyncing(request?: GetSyncingRequest): Promise; - /** GetLatestBlock returns the latest block. */ - getLatestBlock(request?: GetLatestBlockRequest): Promise; - /** GetBlockByHeight queries block for given height. */ - getBlockByHeight(request: GetBlockByHeightRequest): Promise; - /** GetLatestValidatorSet queries latest validator-set. */ - getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise; - /** GetValidatorSetByHeight queries validator-set at a given height. */ - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; -} -export declare class ServiceClientImpl implements Service { - private readonly rpc; - constructor(rpc: TxRpc); - getNodeInfo: (request?: GetNodeInfoRequest) => Promise; - getSyncing: (request?: GetSyncingRequest) => Promise; - getLatestBlock: (request?: GetLatestBlockRequest) => Promise; - getBlockByHeight: (request: GetBlockByHeightRequest) => Promise; - getLatestValidatorSet: (request?: GetLatestValidatorSetRequest) => Promise; - getValidatorSetByHeight: (request: GetValidatorSetByHeightRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => ServiceClientImpl; -export interface UseGetNodeInfoQuery extends ReactQueryParams { - request?: GetNodeInfoRequest; -} -export interface UseGetSyncingQuery extends ReactQueryParams { - request?: GetSyncingRequest; -} -export interface UseGetLatestBlockQuery extends ReactQueryParams { - request?: GetLatestBlockRequest; -} -export interface UseGetBlockByHeightQuery extends ReactQueryParams { - request: GetBlockByHeightRequest; -} -export interface UseGetLatestValidatorSetQuery extends ReactQueryParams { - request?: GetLatestValidatorSetRequest; -} -export interface UseGetValidatorSetByHeightQuery extends ReactQueryParams { - request: GetValidatorSetByHeightRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** GetNodeInfo queries the current node info. */ useGetNodeInfo: ({ request, options }: UseGetNodeInfoQuery) => import("@tanstack/react-query").UseQueryResult; - /** GetSyncing queries node syncing. */ useGetSyncing: ({ request, options }: UseGetSyncingQuery) => import("@tanstack/react-query").UseQueryResult; - /** GetLatestBlock returns the latest block. */ useGetLatestBlock: ({ request, options }: UseGetLatestBlockQuery) => import("@tanstack/react-query").UseQueryResult; - /** GetBlockByHeight queries block for given height. */ useGetBlockByHeight: ({ request, options }: UseGetBlockByHeightQuery) => import("@tanstack/react-query").UseQueryResult; - /** GetLatestValidatorSet queries latest validator-set. */ useGetLatestValidatorSet: ({ request, options }: UseGetLatestValidatorSetQuery) => import("@tanstack/react-query").UseQueryResult; - /** GetValidatorSetByHeight queries validator-set at a given height. */ useGetValidatorSetByHeight: ({ request, options }: UseGetValidatorSetByHeightQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** GetNodeInfo queries the current node info. */ QueryGetNodeInfoStore: { - new (): { - store: QueryStore; - getNodeInfo(request: GetNodeInfoRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** GetSyncing queries node syncing. */ QueryGetSyncingStore: { - new (): { - store: QueryStore; - getSyncing(request: GetSyncingRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** GetLatestBlock returns the latest block. */ QueryGetLatestBlockStore: { - new (): { - store: QueryStore; - getLatestBlock(request: GetLatestBlockRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** GetBlockByHeight queries block for given height. */ QueryGetBlockByHeightStore: { - new (): { - store: QueryStore; - getBlockByHeight(request: GetBlockByHeightRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** GetLatestValidatorSet queries latest validator-set. */ QueryGetLatestValidatorSetStore: { - new (): { - store: QueryStore; - getLatestValidatorSet(request: GetLatestValidatorSetRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** GetValidatorSetByHeight queries validator-set at a given height. */ QueryGetValidatorSetByHeightStore: { - new (): { - store: QueryStore; - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): import("../../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/base/v1beta1/coin.d.ts b/examples/authz/types/codegen/cosmos/base/v1beta1/coin.d.ts deleted file mode 100644 index f55ed3d6..00000000 --- a/examples/authz/types/codegen/cosmos/base/v1beta1/coin.d.ts +++ /dev/null @@ -1,202 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * Coin defines a token with a denomination and an amount. - * - * NOTE: The amount field is an Int which implements the custom method - * signatures required by gogoproto. - */ -export interface Coin { - denom: string; - amount: string; -} -export interface CoinProtoMsg { - typeUrl: "/cosmos.base.v1beta1.Coin"; - value: Uint8Array; -} -/** - * Coin defines a token with a denomination and an amount. - * - * NOTE: The amount field is an Int which implements the custom method - * signatures required by gogoproto. - */ -export interface CoinAmino { - denom?: string; - amount?: string; -} -export interface CoinAminoMsg { - type: "cosmos-sdk/Coin"; - value: CoinAmino; -} -/** - * Coin defines a token with a denomination and an amount. - * - * NOTE: The amount field is an Int which implements the custom method - * signatures required by gogoproto. - */ -export interface CoinSDKType { - denom: string; - amount: string; -} -/** - * DecCoin defines a token with a denomination and a decimal amount. - * - * NOTE: The amount field is an Dec which implements the custom method - * signatures required by gogoproto. - */ -export interface DecCoin { - denom: string; - amount: string; -} -export interface DecCoinProtoMsg { - typeUrl: "/cosmos.base.v1beta1.DecCoin"; - value: Uint8Array; -} -/** - * DecCoin defines a token with a denomination and a decimal amount. - * - * NOTE: The amount field is an Dec which implements the custom method - * signatures required by gogoproto. - */ -export interface DecCoinAmino { - denom?: string; - amount?: string; -} -export interface DecCoinAminoMsg { - type: "cosmos-sdk/DecCoin"; - value: DecCoinAmino; -} -/** - * DecCoin defines a token with a denomination and a decimal amount. - * - * NOTE: The amount field is an Dec which implements the custom method - * signatures required by gogoproto. - */ -export interface DecCoinSDKType { - denom: string; - amount: string; -} -/** IntProto defines a Protobuf wrapper around an Int object. */ -export interface IntProto { - int: string; -} -export interface IntProtoProtoMsg { - typeUrl: "/cosmos.base.v1beta1.IntProto"; - value: Uint8Array; -} -/** IntProto defines a Protobuf wrapper around an Int object. */ -export interface IntProtoAmino { - int?: string; -} -export interface IntProtoAminoMsg { - type: "cosmos-sdk/IntProto"; - value: IntProtoAmino; -} -/** IntProto defines a Protobuf wrapper around an Int object. */ -export interface IntProtoSDKType { - int: string; -} -/** DecProto defines a Protobuf wrapper around a Dec object. */ -export interface DecProto { - dec: string; -} -export interface DecProtoProtoMsg { - typeUrl: "/cosmos.base.v1beta1.DecProto"; - value: Uint8Array; -} -/** DecProto defines a Protobuf wrapper around a Dec object. */ -export interface DecProtoAmino { - dec?: string; -} -export interface DecProtoAminoMsg { - type: "cosmos-sdk/DecProto"; - value: DecProtoAmino; -} -/** DecProto defines a Protobuf wrapper around a Dec object. */ -export interface DecProtoSDKType { - dec: string; -} -export declare const Coin: { - typeUrl: string; - aminoType: string; - is(o: any): o is Coin; - isSDK(o: any): o is CoinSDKType; - isAmino(o: any): o is CoinAmino; - encode(message: Coin, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Coin; - fromJSON(object: any): Coin; - toJSON(message: Coin): unknown; - fromPartial(object: DeepPartial): Coin; - fromSDK(object: CoinSDKType): Coin; - toSDK(message: Coin): CoinSDKType; - fromAmino(object: CoinAmino): Coin; - toAmino(message: Coin): CoinAmino; - fromAminoMsg(object: CoinAminoMsg): Coin; - toAminoMsg(message: Coin): CoinAminoMsg; - fromProtoMsg(message: CoinProtoMsg): Coin; - toProto(message: Coin): Uint8Array; - toProtoMsg(message: Coin): CoinProtoMsg; -}; -export declare const DecCoin: { - typeUrl: string; - aminoType: string; - is(o: any): o is DecCoin; - isSDK(o: any): o is DecCoinSDKType; - isAmino(o: any): o is DecCoinAmino; - encode(message: DecCoin, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DecCoin; - fromJSON(object: any): DecCoin; - toJSON(message: DecCoin): unknown; - fromPartial(object: DeepPartial): DecCoin; - fromSDK(object: DecCoinSDKType): DecCoin; - toSDK(message: DecCoin): DecCoinSDKType; - fromAmino(object: DecCoinAmino): DecCoin; - toAmino(message: DecCoin): DecCoinAmino; - fromAminoMsg(object: DecCoinAminoMsg): DecCoin; - toAminoMsg(message: DecCoin): DecCoinAminoMsg; - fromProtoMsg(message: DecCoinProtoMsg): DecCoin; - toProto(message: DecCoin): Uint8Array; - toProtoMsg(message: DecCoin): DecCoinProtoMsg; -}; -export declare const IntProto: { - typeUrl: string; - aminoType: string; - is(o: any): o is IntProto; - isSDK(o: any): o is IntProtoSDKType; - isAmino(o: any): o is IntProtoAmino; - encode(message: IntProto, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): IntProto; - fromJSON(object: any): IntProto; - toJSON(message: IntProto): unknown; - fromPartial(object: DeepPartial): IntProto; - fromSDK(object: IntProtoSDKType): IntProto; - toSDK(message: IntProto): IntProtoSDKType; - fromAmino(object: IntProtoAmino): IntProto; - toAmino(message: IntProto): IntProtoAmino; - fromAminoMsg(object: IntProtoAminoMsg): IntProto; - toAminoMsg(message: IntProto): IntProtoAminoMsg; - fromProtoMsg(message: IntProtoProtoMsg): IntProto; - toProto(message: IntProto): Uint8Array; - toProtoMsg(message: IntProto): IntProtoProtoMsg; -}; -export declare const DecProto: { - typeUrl: string; - aminoType: string; - is(o: any): o is DecProto; - isSDK(o: any): o is DecProtoSDKType; - isAmino(o: any): o is DecProtoAmino; - encode(message: DecProto, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DecProto; - fromJSON(object: any): DecProto; - toJSON(message: DecProto): unknown; - fromPartial(object: DeepPartial): DecProto; - fromSDK(object: DecProtoSDKType): DecProto; - toSDK(message: DecProto): DecProtoSDKType; - fromAmino(object: DecProtoAmino): DecProto; - toAmino(message: DecProto): DecProtoAmino; - fromAminoMsg(object: DecProtoAminoMsg): DecProto; - toAminoMsg(message: DecProto): DecProtoAminoMsg; - fromProtoMsg(message: DecProtoProtoMsg): DecProto; - toProto(message: DecProto): Uint8Array; - toProtoMsg(message: DecProto): DecProtoProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/bundle.d.ts b/examples/authz/types/codegen/cosmos/bundle.d.ts deleted file mode 100644 index 2f89d8e1..00000000 --- a/examples/authz/types/codegen/cosmos/bundle.d.ts +++ /dev/null @@ -1,21018 +0,0 @@ -import * as _2 from "./app/v1alpha1/config"; -import * as _3 from "./app/v1alpha1/module"; -import * as _4 from "./app/v1alpha1/query"; -import * as _5 from "./auth/v1beta1/auth"; -import * as _6 from "./auth/v1beta1/genesis"; -import * as _7 from "./auth/v1beta1/query"; -import * as _8 from "./authz/v1beta1/authz"; -import * as _9 from "./authz/v1beta1/event"; -import * as _10 from "./authz/v1beta1/genesis"; -import * as _11 from "./authz/v1beta1/query"; -import * as _12 from "./authz/v1beta1/tx"; -import * as _13 from "./bank/v1beta1/authz"; -import * as _14 from "./bank/v1beta1/bank"; -import * as _15 from "./bank/v1beta1/genesis"; -import * as _16 from "./bank/v1beta1/query"; -import * as _17 from "./bank/v1beta1/tx"; -import * as _18 from "./base/abci/v1beta1/abci"; -import * as _19 from "./base/kv/v1beta1/kv"; -import * as _20 from "./base/query/v1beta1/pagination"; -import * as _21 from "./base/reflection/v1beta1/reflection"; -import * as _22 from "./base/reflection/v2alpha1/reflection"; -import * as _23 from "./base/snapshots/v1beta1/snapshot"; -import * as _24 from "./base/store/v1beta1/commit_info"; -import * as _25 from "./base/store/v1beta1/listening"; -import * as _26 from "./base/tendermint/v1beta1/query"; -import * as _27 from "./base/v1beta1/coin"; -import * as _28 from "./capability/v1beta1/capability"; -import * as _29 from "./capability/v1beta1/genesis"; -import * as _30 from "./crisis/v1beta1/genesis"; -import * as _31 from "./crisis/v1beta1/tx"; -import * as _32 from "./crypto/ed25519/keys"; -import * as _33 from "./crypto/hd/v1/hd"; -import * as _34 from "./crypto/keyring/v1/record"; -import * as _35 from "./crypto/multisig/keys"; -import * as _36 from "./crypto/secp256k1/keys"; -import * as _37 from "./crypto/secp256r1/keys"; -import * as _38 from "./distribution/v1beta1/distribution"; -import * as _39 from "./distribution/v1beta1/genesis"; -import * as _40 from "./distribution/v1beta1/query"; -import * as _41 from "./distribution/v1beta1/tx"; -import * as _42 from "./evidence/v1beta1/evidence"; -import * as _43 from "./evidence/v1beta1/genesis"; -import * as _44 from "./evidence/v1beta1/query"; -import * as _45 from "./evidence/v1beta1/tx"; -import * as _46 from "./feegrant/v1beta1/feegrant"; -import * as _47 from "./feegrant/v1beta1/genesis"; -import * as _48 from "./feegrant/v1beta1/query"; -import * as _49 from "./feegrant/v1beta1/tx"; -import * as _50 from "./genutil/v1beta1/genesis"; -import * as _51 from "./gov/v1/genesis"; -import * as _52 from "./gov/v1/gov"; -import * as _53 from "./gov/v1/query"; -import * as _54 from "./gov/v1/tx"; -import * as _55 from "./gov/v1beta1/genesis"; -import * as _56 from "./gov/v1beta1/gov"; -import * as _57 from "./gov/v1beta1/query"; -import * as _58 from "./gov/v1beta1/tx"; -import * as _59 from "./group/v1/events"; -import * as _60 from "./group/v1/genesis"; -import * as _61 from "./group/v1/query"; -import * as _62 from "./group/v1/tx"; -import * as _63 from "./group/v1/types"; -import * as _64 from "./mint/v1beta1/genesis"; -import * as _65 from "./mint/v1beta1/mint"; -import * as _66 from "./mint/v1beta1/query"; -import * as _68 from "./nft/v1beta1/event"; -import * as _69 from "./nft/v1beta1/genesis"; -import * as _70 from "./nft/v1beta1/nft"; -import * as _71 from "./nft/v1beta1/query"; -import * as _72 from "./nft/v1beta1/tx"; -import * as _73 from "./orm/v1/orm"; -import * as _74 from "./orm/v1alpha1/schema"; -import * as _75 from "./params/v1beta1/params"; -import * as _76 from "./params/v1beta1/query"; -import * as _77 from "./slashing/v1beta1/genesis"; -import * as _78 from "./slashing/v1beta1/query"; -import * as _79 from "./slashing/v1beta1/slashing"; -import * as _80 from "./slashing/v1beta1/tx"; -import * as _81 from "./staking/v1beta1/authz"; -import * as _82 from "./staking/v1beta1/genesis"; -import * as _83 from "./staking/v1beta1/query"; -import * as _84 from "./staking/v1beta1/staking"; -import * as _85 from "./staking/v1beta1/tx"; -import * as _86 from "./tx/signing/v1beta1/signing"; -import * as _87 from "./tx/v1beta1/service"; -import * as _88 from "./tx/v1beta1/tx"; -import * as _89 from "./upgrade/v1beta1/query"; -import * as _90 from "./upgrade/v1beta1/tx"; -import * as _91 from "./upgrade/v1beta1/upgrade"; -import * as _92 from "./vesting/v1beta1/tx"; -import * as _93 from "./vesting/v1beta1/vesting"; -import * as _218 from "./app/v1alpha1/query.rpc.Query"; -import * as _219 from "./auth/v1beta1/query.rpc.Query"; -import * as _220 from "./authz/v1beta1/query.rpc.Query"; -import * as _221 from "./bank/v1beta1/query.rpc.Query"; -import * as _222 from "./base/tendermint/v1beta1/query.rpc.Service"; -import * as _223 from "./distribution/v1beta1/query.rpc.Query"; -import * as _224 from "./evidence/v1beta1/query.rpc.Query"; -import * as _225 from "./feegrant/v1beta1/query.rpc.Query"; -import * as _226 from "./gov/v1/query.rpc.Query"; -import * as _227 from "./gov/v1beta1/query.rpc.Query"; -import * as _228 from "./group/v1/query.rpc.Query"; -import * as _229 from "./mint/v1beta1/query.rpc.Query"; -import * as _230 from "./nft/v1beta1/query.rpc.Query"; -import * as _231 from "./params/v1beta1/query.rpc.Query"; -import * as _232 from "./slashing/v1beta1/query.rpc.Query"; -import * as _233 from "./staking/v1beta1/query.rpc.Query"; -import * as _234 from "./tx/v1beta1/service.rpc.Service"; -import * as _235 from "./upgrade/v1beta1/query.rpc.Query"; -import * as _236 from "./authz/v1beta1/tx.rpc.msg"; -import * as _237 from "./bank/v1beta1/tx.rpc.msg"; -import * as _238 from "./crisis/v1beta1/tx.rpc.msg"; -import * as _239 from "./distribution/v1beta1/tx.rpc.msg"; -import * as _240 from "./evidence/v1beta1/tx.rpc.msg"; -import * as _241 from "./feegrant/v1beta1/tx.rpc.msg"; -import * as _242 from "./gov/v1/tx.rpc.msg"; -import * as _243 from "./gov/v1beta1/tx.rpc.msg"; -import * as _244 from "./group/v1/tx.rpc.msg"; -import * as _245 from "./nft/v1beta1/tx.rpc.msg"; -import * as _246 from "./slashing/v1beta1/tx.rpc.msg"; -import * as _247 from "./staking/v1beta1/tx.rpc.msg"; -import * as _248 from "./upgrade/v1beta1/tx.rpc.msg"; -import * as _249 from "./vesting/v1beta1/tx.rpc.msg"; -export declare namespace cosmos { - namespace app { - const v1alpha1: { - QueryClientImpl: typeof _218.QueryClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _218.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useConfig: ({ request, options }: _218.UseConfigQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryConfigStore: { - new (): { - store: import("..").QueryStore<_4.QueryConfigRequest, _4.QueryConfigResponse>; - config(request: _4.QueryConfigRequest): import("..").MobxResponse<_4.QueryConfigResponse>; - }; - }; - }; - QueryConfigRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _4.QueryConfigRequest; - isSDK(o: any): o is _4.QueryConfigRequestSDKType; - isAmino(o: any): o is _4.QueryConfigRequestAmino; - encode(_: _4.QueryConfigRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _4.QueryConfigRequest; - fromJSON(_: any): _4.QueryConfigRequest; - toJSON(_: _4.QueryConfigRequest): unknown; - fromPartial(_: {}): _4.QueryConfigRequest; - fromSDK(_: _4.QueryConfigRequestSDKType): _4.QueryConfigRequest; - toSDK(_: _4.QueryConfigRequest): _4.QueryConfigRequestSDKType; - fromAmino(_: _4.QueryConfigRequestAmino): _4.QueryConfigRequest; - toAmino(_: _4.QueryConfigRequest): _4.QueryConfigRequestAmino; - fromAminoMsg(object: _4.QueryConfigRequestAminoMsg): _4.QueryConfigRequest; - toAminoMsg(message: _4.QueryConfigRequest): _4.QueryConfigRequestAminoMsg; - fromProtoMsg(message: _4.QueryConfigRequestProtoMsg): _4.QueryConfigRequest; - toProto(message: _4.QueryConfigRequest): Uint8Array; - toProtoMsg(message: _4.QueryConfigRequest): _4.QueryConfigRequestProtoMsg; - }; - QueryConfigResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _4.QueryConfigResponse; - isSDK(o: any): o is _4.QueryConfigResponseSDKType; - isAmino(o: any): o is _4.QueryConfigResponseAmino; - encode(message: _4.QueryConfigResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _4.QueryConfigResponse; - fromJSON(object: any): _4.QueryConfigResponse; - toJSON(message: _4.QueryConfigResponse): unknown; - fromPartial(object: { - config?: { - modules?: { - name?: string; - config?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }; - }): _4.QueryConfigResponse; - fromSDK(object: _4.QueryConfigResponseSDKType): _4.QueryConfigResponse; - toSDK(message: _4.QueryConfigResponse): _4.QueryConfigResponseSDKType; - fromAmino(object: _4.QueryConfigResponseAmino): _4.QueryConfigResponse; - toAmino(message: _4.QueryConfigResponse): _4.QueryConfigResponseAmino; - fromAminoMsg(object: _4.QueryConfigResponseAminoMsg): _4.QueryConfigResponse; - toAminoMsg(message: _4.QueryConfigResponse): _4.QueryConfigResponseAminoMsg; - fromProtoMsg(message: _4.QueryConfigResponseProtoMsg): _4.QueryConfigResponse; - toProto(message: _4.QueryConfigResponse): Uint8Array; - toProtoMsg(message: _4.QueryConfigResponse): _4.QueryConfigResponseProtoMsg; - }; - ModuleDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _3.ModuleDescriptor; - isSDK(o: any): o is _3.ModuleDescriptorSDKType; - isAmino(o: any): o is _3.ModuleDescriptorAmino; - encode(message: _3.ModuleDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _3.ModuleDescriptor; - fromJSON(object: any): _3.ModuleDescriptor; - toJSON(message: _3.ModuleDescriptor): unknown; - fromPartial(object: { - goImport?: string; - usePackage?: { - name?: string; - revision?: number; - }[]; - canMigrateFrom?: { - module?: string; - }[]; - }): _3.ModuleDescriptor; - fromSDK(object: _3.ModuleDescriptorSDKType): _3.ModuleDescriptor; - toSDK(message: _3.ModuleDescriptor): _3.ModuleDescriptorSDKType; - fromAmino(object: _3.ModuleDescriptorAmino): _3.ModuleDescriptor; - toAmino(message: _3.ModuleDescriptor): _3.ModuleDescriptorAmino; - fromAminoMsg(object: _3.ModuleDescriptorAminoMsg): _3.ModuleDescriptor; - toAminoMsg(message: _3.ModuleDescriptor): _3.ModuleDescriptorAminoMsg; - fromProtoMsg(message: _3.ModuleDescriptorProtoMsg): _3.ModuleDescriptor; - toProto(message: _3.ModuleDescriptor): Uint8Array; - toProtoMsg(message: _3.ModuleDescriptor): _3.ModuleDescriptorProtoMsg; - }; - PackageReference: { - typeUrl: string; - aminoType: string; - is(o: any): o is _3.PackageReference; - isSDK(o: any): o is _3.PackageReferenceSDKType; - isAmino(o: any): o is _3.PackageReferenceAmino; - encode(message: _3.PackageReference, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _3.PackageReference; - fromJSON(object: any): _3.PackageReference; - toJSON(message: _3.PackageReference): unknown; - fromPartial(object: { - name?: string; - revision?: number; - }): _3.PackageReference; - fromSDK(object: _3.PackageReferenceSDKType): _3.PackageReference; - toSDK(message: _3.PackageReference): _3.PackageReferenceSDKType; - fromAmino(object: _3.PackageReferenceAmino): _3.PackageReference; - toAmino(message: _3.PackageReference): _3.PackageReferenceAmino; - fromAminoMsg(object: _3.PackageReferenceAminoMsg): _3.PackageReference; - toAminoMsg(message: _3.PackageReference): _3.PackageReferenceAminoMsg; - fromProtoMsg(message: _3.PackageReferenceProtoMsg): _3.PackageReference; - toProto(message: _3.PackageReference): Uint8Array; - toProtoMsg(message: _3.PackageReference): _3.PackageReferenceProtoMsg; - }; - MigrateFromInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _3.MigrateFromInfo; - isSDK(o: any): o is _3.MigrateFromInfoSDKType; - isAmino(o: any): o is _3.MigrateFromInfoAmino; - encode(message: _3.MigrateFromInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _3.MigrateFromInfo; - fromJSON(object: any): _3.MigrateFromInfo; - toJSON(message: _3.MigrateFromInfo): unknown; - fromPartial(object: { - module?: string; - }): _3.MigrateFromInfo; - fromSDK(object: _3.MigrateFromInfoSDKType): _3.MigrateFromInfo; - toSDK(message: _3.MigrateFromInfo): _3.MigrateFromInfoSDKType; - fromAmino(object: _3.MigrateFromInfoAmino): _3.MigrateFromInfo; - toAmino(message: _3.MigrateFromInfo): _3.MigrateFromInfoAmino; - fromAminoMsg(object: _3.MigrateFromInfoAminoMsg): _3.MigrateFromInfo; - toAminoMsg(message: _3.MigrateFromInfo): _3.MigrateFromInfoAminoMsg; - fromProtoMsg(message: _3.MigrateFromInfoProtoMsg): _3.MigrateFromInfo; - toProto(message: _3.MigrateFromInfo): Uint8Array; - toProtoMsg(message: _3.MigrateFromInfo): _3.MigrateFromInfoProtoMsg; - }; - Config: { - typeUrl: string; - aminoType: string; - is(o: any): o is _2.Config; - isSDK(o: any): o is _2.ConfigSDKType; - isAmino(o: any): o is _2.ConfigAmino; - encode(message: _2.Config, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _2.Config; - fromJSON(object: any): _2.Config; - toJSON(message: _2.Config): unknown; - fromPartial(object: { - modules?: { - name?: string; - config?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }): _2.Config; - fromSDK(object: _2.ConfigSDKType): _2.Config; - toSDK(message: _2.Config): _2.ConfigSDKType; - fromAmino(object: _2.ConfigAmino): _2.Config; - toAmino(message: _2.Config): _2.ConfigAmino; - fromAminoMsg(object: _2.ConfigAminoMsg): _2.Config; - toAminoMsg(message: _2.Config): _2.ConfigAminoMsg; - fromProtoMsg(message: _2.ConfigProtoMsg): _2.Config; - toProto(message: _2.Config): Uint8Array; - toProtoMsg(message: _2.Config): _2.ConfigProtoMsg; - }; - ModuleConfig: { - typeUrl: string; - aminoType: string; - is(o: any): o is _2.ModuleConfig; - isSDK(o: any): o is _2.ModuleConfigSDKType; - isAmino(o: any): o is _2.ModuleConfigAmino; - encode(message: _2.ModuleConfig, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _2.ModuleConfig; - fromJSON(object: any): _2.ModuleConfig; - toJSON(message: _2.ModuleConfig): unknown; - fromPartial(object: { - name?: string; - config?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _2.ModuleConfig; - fromSDK(object: _2.ModuleConfigSDKType): _2.ModuleConfig; - toSDK(message: _2.ModuleConfig): _2.ModuleConfigSDKType; - fromAmino(object: _2.ModuleConfigAmino): _2.ModuleConfig; - toAmino(message: _2.ModuleConfig): _2.ModuleConfigAmino; - fromAminoMsg(object: _2.ModuleConfigAminoMsg): _2.ModuleConfig; - toAminoMsg(message: _2.ModuleConfig): _2.ModuleConfigAminoMsg; - fromProtoMsg(message: _2.ModuleConfigProtoMsg): _2.ModuleConfig; - toProto(message: _2.ModuleConfig): Uint8Array; - toProtoMsg(message: _2.ModuleConfig): _2.ModuleConfigProtoMsg; - }; - }; - } - namespace auth { - const v1beta1: { - QueryClientImpl: typeof _219.QueryClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _219.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useAccounts: ({ request, options }: _219.UseAccountsQuery) => import("@tanstack/react-query").UseQueryResult; - useAccount: ({ request, options }: _219.UseAccountQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _219.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useModuleAccounts: ({ request, options }: _219.UseModuleAccountsQuery) => import("@tanstack/react-query").UseQueryResult; - useBech32Prefix: ({ request, options }: _219.UseBech32PrefixQuery) => import("@tanstack/react-query").UseQueryResult; - useAddressBytesToString: ({ request, options }: _219.UseAddressBytesToStringQuery) => import("@tanstack/react-query").UseQueryResult; - useAddressStringToBytes: ({ request, options }: _219.UseAddressStringToBytesQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryAccountsStore: { - new (): { - store: import("..").QueryStore<_7.QueryAccountsRequest, _7.QueryAccountsResponse>; - accounts(request: _7.QueryAccountsRequest): import("..").MobxResponse<_7.QueryAccountsResponse>; - }; - }; - QueryAccountStore: { - new (): { - store: import("..").QueryStore<_7.QueryAccountRequest, _7.QueryAccountResponse>; - account(request: _7.QueryAccountRequest): import("..").MobxResponse<_7.QueryAccountResponse>; - }; - }; - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_7.QueryParamsRequest, _7.QueryParamsResponse>; - params(request: _7.QueryParamsRequest): import("..").MobxResponse<_7.QueryParamsResponse>; - }; - }; - QueryModuleAccountsStore: { - new (): { - store: import("..").QueryStore<_7.QueryModuleAccountsRequest, _7.QueryModuleAccountsResponse>; - moduleAccounts(request: _7.QueryModuleAccountsRequest): import("..").MobxResponse<_7.QueryModuleAccountsResponse>; - }; - }; - QueryBech32PrefixStore: { - new (): { - store: import("..").QueryStore<_7.Bech32PrefixRequest, _7.Bech32PrefixResponse>; - bech32Prefix(request: _7.Bech32PrefixRequest): import("..").MobxResponse<_7.Bech32PrefixResponse>; - }; - }; - QueryAddressBytesToStringStore: { - new (): { - store: import("..").QueryStore<_7.AddressBytesToStringRequest, _7.AddressBytesToStringResponse>; - addressBytesToString(request: _7.AddressBytesToStringRequest): import("..").MobxResponse<_7.AddressBytesToStringResponse>; - }; - }; - QueryAddressStringToBytesStore: { - new (): { - store: import("..").QueryStore<_7.AddressStringToBytesRequest, _7.AddressStringToBytesResponse>; - addressStringToBytes(request: _7.AddressStringToBytesRequest): import("..").MobxResponse<_7.AddressStringToBytesResponse>; - }; - }; - }; - QueryAccountsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _7.QueryAccountsRequest; - isSDK(o: any): o is _7.QueryAccountsRequestSDKType; - isAmino(o: any): o is _7.QueryAccountsRequestAmino; - encode(message: _7.QueryAccountsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _7.QueryAccountsRequest; - fromJSON(object: any): _7.QueryAccountsRequest; - toJSON(message: _7.QueryAccountsRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _7.QueryAccountsRequest; - fromSDK(object: _7.QueryAccountsRequestSDKType): _7.QueryAccountsRequest; - toSDK(message: _7.QueryAccountsRequest): _7.QueryAccountsRequestSDKType; - fromAmino(object: _7.QueryAccountsRequestAmino): _7.QueryAccountsRequest; - toAmino(message: _7.QueryAccountsRequest): _7.QueryAccountsRequestAmino; - fromAminoMsg(object: _7.QueryAccountsRequestAminoMsg): _7.QueryAccountsRequest; - toAminoMsg(message: _7.QueryAccountsRequest): _7.QueryAccountsRequestAminoMsg; - fromProtoMsg(message: _7.QueryAccountsRequestProtoMsg): _7.QueryAccountsRequest; - toProto(message: _7.QueryAccountsRequest): Uint8Array; - toProtoMsg(message: _7.QueryAccountsRequest): _7.QueryAccountsRequestProtoMsg; - }; - QueryAccountsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _7.QueryAccountsResponse; - isSDK(o: any): o is _7.QueryAccountsResponseSDKType; - isAmino(o: any): o is _7.QueryAccountsResponseAmino; - encode(message: _7.QueryAccountsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _7.QueryAccountsResponse; - fromJSON(object: any): _7.QueryAccountsResponse; - toJSON(message: _7.QueryAccountsResponse): unknown; - fromPartial(object: { - accounts?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[] | ({ - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.auth.v1beta1.BaseAccount"; - address?: string; - pubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: bigint; - sequence?: bigint; - })[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _7.QueryAccountsResponse; - fromSDK(object: _7.QueryAccountsResponseSDKType): _7.QueryAccountsResponse; - toSDK(message: _7.QueryAccountsResponse): _7.QueryAccountsResponseSDKType; - fromAmino(object: _7.QueryAccountsResponseAmino): _7.QueryAccountsResponse; - toAmino(message: _7.QueryAccountsResponse): _7.QueryAccountsResponseAmino; - fromAminoMsg(object: _7.QueryAccountsResponseAminoMsg): _7.QueryAccountsResponse; - toAminoMsg(message: _7.QueryAccountsResponse): _7.QueryAccountsResponseAminoMsg; - fromProtoMsg(message: _7.QueryAccountsResponseProtoMsg): _7.QueryAccountsResponse; - toProto(message: _7.QueryAccountsResponse): Uint8Array; - toProtoMsg(message: _7.QueryAccountsResponse): _7.QueryAccountsResponseProtoMsg; - }; - QueryAccountRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _7.QueryAccountRequest; - isSDK(o: any): o is _7.QueryAccountRequestSDKType; - isAmino(o: any): o is _7.QueryAccountRequestAmino; - encode(message: _7.QueryAccountRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _7.QueryAccountRequest; - fromJSON(object: any): _7.QueryAccountRequest; - toJSON(message: _7.QueryAccountRequest): unknown; - fromPartial(object: { - address?: string; - }): _7.QueryAccountRequest; - fromSDK(object: _7.QueryAccountRequestSDKType): _7.QueryAccountRequest; - toSDK(message: _7.QueryAccountRequest): _7.QueryAccountRequestSDKType; - fromAmino(object: _7.QueryAccountRequestAmino): _7.QueryAccountRequest; - toAmino(message: _7.QueryAccountRequest): _7.QueryAccountRequestAmino; - fromAminoMsg(object: _7.QueryAccountRequestAminoMsg): _7.QueryAccountRequest; - toAminoMsg(message: _7.QueryAccountRequest): _7.QueryAccountRequestAminoMsg; - fromProtoMsg(message: _7.QueryAccountRequestProtoMsg): _7.QueryAccountRequest; - toProto(message: _7.QueryAccountRequest): Uint8Array; - toProtoMsg(message: _7.QueryAccountRequest): _7.QueryAccountRequestProtoMsg; - }; - QueryModuleAccountsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _7.QueryModuleAccountsRequest; - isSDK(o: any): o is _7.QueryModuleAccountsRequestSDKType; - isAmino(o: any): o is _7.QueryModuleAccountsRequestAmino; - encode(_: _7.QueryModuleAccountsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _7.QueryModuleAccountsRequest; - fromJSON(_: any): _7.QueryModuleAccountsRequest; - toJSON(_: _7.QueryModuleAccountsRequest): unknown; - fromPartial(_: {}): _7.QueryModuleAccountsRequest; - fromSDK(_: _7.QueryModuleAccountsRequestSDKType): _7.QueryModuleAccountsRequest; - toSDK(_: _7.QueryModuleAccountsRequest): _7.QueryModuleAccountsRequestSDKType; - fromAmino(_: _7.QueryModuleAccountsRequestAmino): _7.QueryModuleAccountsRequest; - toAmino(_: _7.QueryModuleAccountsRequest): _7.QueryModuleAccountsRequestAmino; - fromAminoMsg(object: _7.QueryModuleAccountsRequestAminoMsg): _7.QueryModuleAccountsRequest; - toAminoMsg(message: _7.QueryModuleAccountsRequest): _7.QueryModuleAccountsRequestAminoMsg; - fromProtoMsg(message: _7.QueryModuleAccountsRequestProtoMsg): _7.QueryModuleAccountsRequest; - toProto(message: _7.QueryModuleAccountsRequest): Uint8Array; - toProtoMsg(message: _7.QueryModuleAccountsRequest): _7.QueryModuleAccountsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _7.QueryParamsResponse; - isSDK(o: any): o is _7.QueryParamsResponseSDKType; - isAmino(o: any): o is _7.QueryParamsResponseAmino; - encode(message: _7.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _7.QueryParamsResponse; - fromJSON(object: any): _7.QueryParamsResponse; - toJSON(message: _7.QueryParamsResponse): unknown; - fromPartial(object: { - params?: { - maxMemoCharacters?: bigint; - txSigLimit?: bigint; - txSizeCostPerByte?: bigint; - sigVerifyCostEd25519?: bigint; - sigVerifyCostSecp256k1?: bigint; - }; - }): _7.QueryParamsResponse; - fromSDK(object: _7.QueryParamsResponseSDKType): _7.QueryParamsResponse; - toSDK(message: _7.QueryParamsResponse): _7.QueryParamsResponseSDKType; - fromAmino(object: _7.QueryParamsResponseAmino): _7.QueryParamsResponse; - toAmino(message: _7.QueryParamsResponse): _7.QueryParamsResponseAmino; - fromAminoMsg(object: _7.QueryParamsResponseAminoMsg): _7.QueryParamsResponse; - toAminoMsg(message: _7.QueryParamsResponse): _7.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _7.QueryParamsResponseProtoMsg): _7.QueryParamsResponse; - toProto(message: _7.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _7.QueryParamsResponse): _7.QueryParamsResponseProtoMsg; - }; - QueryAccountResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _7.QueryAccountResponse; - isSDK(o: any): o is _7.QueryAccountResponseSDKType; - isAmino(o: any): o is _7.QueryAccountResponseAmino; - encode(message: _7.QueryAccountResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _7.QueryAccountResponse; - fromJSON(object: any): _7.QueryAccountResponse; - toJSON(message: _7.QueryAccountResponse): unknown; - fromPartial(object: { - account?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.auth.v1beta1.BaseAccount"; - address?: string; - pubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: bigint; - sequence?: bigint; - }; - }): _7.QueryAccountResponse; - fromSDK(object: _7.QueryAccountResponseSDKType): _7.QueryAccountResponse; - toSDK(message: _7.QueryAccountResponse): _7.QueryAccountResponseSDKType; - fromAmino(object: _7.QueryAccountResponseAmino): _7.QueryAccountResponse; - toAmino(message: _7.QueryAccountResponse): _7.QueryAccountResponseAmino; - fromAminoMsg(object: _7.QueryAccountResponseAminoMsg): _7.QueryAccountResponse; - toAminoMsg(message: _7.QueryAccountResponse): _7.QueryAccountResponseAminoMsg; - fromProtoMsg(message: _7.QueryAccountResponseProtoMsg): _7.QueryAccountResponse; - toProto(message: _7.QueryAccountResponse): Uint8Array; - toProtoMsg(message: _7.QueryAccountResponse): _7.QueryAccountResponseProtoMsg; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _7.QueryParamsRequest; - isSDK(o: any): o is _7.QueryParamsRequestSDKType; - isAmino(o: any): o is _7.QueryParamsRequestAmino; - encode(_: _7.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _7.QueryParamsRequest; - fromJSON(_: any): _7.QueryParamsRequest; - toJSON(_: _7.QueryParamsRequest): unknown; - fromPartial(_: {}): _7.QueryParamsRequest; - fromSDK(_: _7.QueryParamsRequestSDKType): _7.QueryParamsRequest; - toSDK(_: _7.QueryParamsRequest): _7.QueryParamsRequestSDKType; - fromAmino(_: _7.QueryParamsRequestAmino): _7.QueryParamsRequest; - toAmino(_: _7.QueryParamsRequest): _7.QueryParamsRequestAmino; - fromAminoMsg(object: _7.QueryParamsRequestAminoMsg): _7.QueryParamsRequest; - toAminoMsg(message: _7.QueryParamsRequest): _7.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _7.QueryParamsRequestProtoMsg): _7.QueryParamsRequest; - toProto(message: _7.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _7.QueryParamsRequest): _7.QueryParamsRequestProtoMsg; - }; - QueryModuleAccountsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _7.QueryModuleAccountsResponse; - isSDK(o: any): o is _7.QueryModuleAccountsResponseSDKType; - isAmino(o: any): o is _7.QueryModuleAccountsResponseAmino; - encode(message: _7.QueryModuleAccountsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _7.QueryModuleAccountsResponse; - fromJSON(object: any): _7.QueryModuleAccountsResponse; - toJSON(message: _7.QueryModuleAccountsResponse): unknown; - fromPartial(object: { - accounts?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[] | ({ - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.auth.v1beta1.ModuleAccount"; - baseAccount?: { - $typeUrl?: "/cosmos.auth.v1beta1.BaseAccount"; - address?: string; - pubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: bigint; - sequence?: bigint; - }; - name?: string; - permissions?: string[]; - })[]; - }): _7.QueryModuleAccountsResponse; - fromSDK(object: _7.QueryModuleAccountsResponseSDKType): _7.QueryModuleAccountsResponse; - toSDK(message: _7.QueryModuleAccountsResponse): _7.QueryModuleAccountsResponseSDKType; - fromAmino(object: _7.QueryModuleAccountsResponseAmino): _7.QueryModuleAccountsResponse; - toAmino(message: _7.QueryModuleAccountsResponse): _7.QueryModuleAccountsResponseAmino; - fromAminoMsg(object: _7.QueryModuleAccountsResponseAminoMsg): _7.QueryModuleAccountsResponse; - toAminoMsg(message: _7.QueryModuleAccountsResponse): _7.QueryModuleAccountsResponseAminoMsg; - fromProtoMsg(message: _7.QueryModuleAccountsResponseProtoMsg): _7.QueryModuleAccountsResponse; - toProto(message: _7.QueryModuleAccountsResponse): Uint8Array; - toProtoMsg(message: _7.QueryModuleAccountsResponse): _7.QueryModuleAccountsResponseProtoMsg; - }; - Bech32PrefixRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _7.Bech32PrefixRequest; - isSDK(o: any): o is _7.Bech32PrefixRequestSDKType; - isAmino(o: any): o is _7.Bech32PrefixRequestAmino; - encode(_: _7.Bech32PrefixRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _7.Bech32PrefixRequest; - fromJSON(_: any): _7.Bech32PrefixRequest; - toJSON(_: _7.Bech32PrefixRequest): unknown; - fromPartial(_: {}): _7.Bech32PrefixRequest; - fromSDK(_: _7.Bech32PrefixRequestSDKType): _7.Bech32PrefixRequest; - toSDK(_: _7.Bech32PrefixRequest): _7.Bech32PrefixRequestSDKType; - fromAmino(_: _7.Bech32PrefixRequestAmino): _7.Bech32PrefixRequest; - toAmino(_: _7.Bech32PrefixRequest): _7.Bech32PrefixRequestAmino; - fromAminoMsg(object: _7.Bech32PrefixRequestAminoMsg): _7.Bech32PrefixRequest; - toAminoMsg(message: _7.Bech32PrefixRequest): _7.Bech32PrefixRequestAminoMsg; - fromProtoMsg(message: _7.Bech32PrefixRequestProtoMsg): _7.Bech32PrefixRequest; - toProto(message: _7.Bech32PrefixRequest): Uint8Array; - toProtoMsg(message: _7.Bech32PrefixRequest): _7.Bech32PrefixRequestProtoMsg; - }; - Bech32PrefixResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _7.Bech32PrefixResponse; - isSDK(o: any): o is _7.Bech32PrefixResponseSDKType; - isAmino(o: any): o is _7.Bech32PrefixResponseAmino; - encode(message: _7.Bech32PrefixResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _7.Bech32PrefixResponse; - fromJSON(object: any): _7.Bech32PrefixResponse; - toJSON(message: _7.Bech32PrefixResponse): unknown; - fromPartial(object: { - bech32Prefix?: string; - }): _7.Bech32PrefixResponse; - fromSDK(object: _7.Bech32PrefixResponseSDKType): _7.Bech32PrefixResponse; - toSDK(message: _7.Bech32PrefixResponse): _7.Bech32PrefixResponseSDKType; - fromAmino(object: _7.Bech32PrefixResponseAmino): _7.Bech32PrefixResponse; - toAmino(message: _7.Bech32PrefixResponse): _7.Bech32PrefixResponseAmino; - fromAminoMsg(object: _7.Bech32PrefixResponseAminoMsg): _7.Bech32PrefixResponse; - toAminoMsg(message: _7.Bech32PrefixResponse): _7.Bech32PrefixResponseAminoMsg; - fromProtoMsg(message: _7.Bech32PrefixResponseProtoMsg): _7.Bech32PrefixResponse; - toProto(message: _7.Bech32PrefixResponse): Uint8Array; - toProtoMsg(message: _7.Bech32PrefixResponse): _7.Bech32PrefixResponseProtoMsg; - }; - AddressBytesToStringRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _7.AddressBytesToStringRequest; - isSDK(o: any): o is _7.AddressBytesToStringRequestSDKType; - isAmino(o: any): o is _7.AddressBytesToStringRequestAmino; - encode(message: _7.AddressBytesToStringRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _7.AddressBytesToStringRequest; - fromJSON(object: any): _7.AddressBytesToStringRequest; - toJSON(message: _7.AddressBytesToStringRequest): unknown; - fromPartial(object: { - addressBytes?: Uint8Array; - }): _7.AddressBytesToStringRequest; - fromSDK(object: _7.AddressBytesToStringRequestSDKType): _7.AddressBytesToStringRequest; - toSDK(message: _7.AddressBytesToStringRequest): _7.AddressBytesToStringRequestSDKType; - fromAmino(object: _7.AddressBytesToStringRequestAmino): _7.AddressBytesToStringRequest; - toAmino(message: _7.AddressBytesToStringRequest): _7.AddressBytesToStringRequestAmino; - fromAminoMsg(object: _7.AddressBytesToStringRequestAminoMsg): _7.AddressBytesToStringRequest; - toAminoMsg(message: _7.AddressBytesToStringRequest): _7.AddressBytesToStringRequestAminoMsg; - fromProtoMsg(message: _7.AddressBytesToStringRequestProtoMsg): _7.AddressBytesToStringRequest; - toProto(message: _7.AddressBytesToStringRequest): Uint8Array; - toProtoMsg(message: _7.AddressBytesToStringRequest): _7.AddressBytesToStringRequestProtoMsg; - }; - AddressBytesToStringResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _7.AddressBytesToStringResponse; - isSDK(o: any): o is _7.AddressBytesToStringResponseSDKType; - isAmino(o: any): o is _7.AddressBytesToStringResponseAmino; - encode(message: _7.AddressBytesToStringResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _7.AddressBytesToStringResponse; - fromJSON(object: any): _7.AddressBytesToStringResponse; - toJSON(message: _7.AddressBytesToStringResponse): unknown; - fromPartial(object: { - addressString?: string; - }): _7.AddressBytesToStringResponse; - fromSDK(object: _7.AddressBytesToStringResponseSDKType): _7.AddressBytesToStringResponse; - toSDK(message: _7.AddressBytesToStringResponse): _7.AddressBytesToStringResponseSDKType; - fromAmino(object: _7.AddressBytesToStringResponseAmino): _7.AddressBytesToStringResponse; - toAmino(message: _7.AddressBytesToStringResponse): _7.AddressBytesToStringResponseAmino; - fromAminoMsg(object: _7.AddressBytesToStringResponseAminoMsg): _7.AddressBytesToStringResponse; - toAminoMsg(message: _7.AddressBytesToStringResponse): _7.AddressBytesToStringResponseAminoMsg; - fromProtoMsg(message: _7.AddressBytesToStringResponseProtoMsg): _7.AddressBytesToStringResponse; - toProto(message: _7.AddressBytesToStringResponse): Uint8Array; - toProtoMsg(message: _7.AddressBytesToStringResponse): _7.AddressBytesToStringResponseProtoMsg; - }; - AddressStringToBytesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _7.AddressStringToBytesRequest; - isSDK(o: any): o is _7.AddressStringToBytesRequestSDKType; - isAmino(o: any): o is _7.AddressStringToBytesRequestAmino; - encode(message: _7.AddressStringToBytesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _7.AddressStringToBytesRequest; - fromJSON(object: any): _7.AddressStringToBytesRequest; - toJSON(message: _7.AddressStringToBytesRequest): unknown; - fromPartial(object: { - addressString?: string; - }): _7.AddressStringToBytesRequest; - fromSDK(object: _7.AddressStringToBytesRequestSDKType): _7.AddressStringToBytesRequest; - toSDK(message: _7.AddressStringToBytesRequest): _7.AddressStringToBytesRequestSDKType; - fromAmino(object: _7.AddressStringToBytesRequestAmino): _7.AddressStringToBytesRequest; - toAmino(message: _7.AddressStringToBytesRequest): _7.AddressStringToBytesRequestAmino; - fromAminoMsg(object: _7.AddressStringToBytesRequestAminoMsg): _7.AddressStringToBytesRequest; - toAminoMsg(message: _7.AddressStringToBytesRequest): _7.AddressStringToBytesRequestAminoMsg; - fromProtoMsg(message: _7.AddressStringToBytesRequestProtoMsg): _7.AddressStringToBytesRequest; - toProto(message: _7.AddressStringToBytesRequest): Uint8Array; - toProtoMsg(message: _7.AddressStringToBytesRequest): _7.AddressStringToBytesRequestProtoMsg; - }; - AddressStringToBytesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _7.AddressStringToBytesResponse; - isSDK(o: any): o is _7.AddressStringToBytesResponseSDKType; - isAmino(o: any): o is _7.AddressStringToBytesResponseAmino; - encode(message: _7.AddressStringToBytesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _7.AddressStringToBytesResponse; - fromJSON(object: any): _7.AddressStringToBytesResponse; - toJSON(message: _7.AddressStringToBytesResponse): unknown; - fromPartial(object: { - addressBytes?: Uint8Array; - }): _7.AddressStringToBytesResponse; - fromSDK(object: _7.AddressStringToBytesResponseSDKType): _7.AddressStringToBytesResponse; - toSDK(message: _7.AddressStringToBytesResponse): _7.AddressStringToBytesResponseSDKType; - fromAmino(object: _7.AddressStringToBytesResponseAmino): _7.AddressStringToBytesResponse; - toAmino(message: _7.AddressStringToBytesResponse): _7.AddressStringToBytesResponseAmino; - fromAminoMsg(object: _7.AddressStringToBytesResponseAminoMsg): _7.AddressStringToBytesResponse; - toAminoMsg(message: _7.AddressStringToBytesResponse): _7.AddressStringToBytesResponseAminoMsg; - fromProtoMsg(message: _7.AddressStringToBytesResponseProtoMsg): _7.AddressStringToBytesResponse; - toProto(message: _7.AddressStringToBytesResponse): Uint8Array; - toProtoMsg(message: _7.AddressStringToBytesResponse): _7.AddressStringToBytesResponseProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _6.GenesisState; - isSDK(o: any): o is _6.GenesisStateSDKType; - isAmino(o: any): o is _6.GenesisStateAmino; - encode(message: _6.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _6.GenesisState; - fromJSON(object: any): _6.GenesisState; - toJSON(message: _6.GenesisState): unknown; - fromPartial(object: { - params?: { - maxMemoCharacters?: bigint; - txSigLimit?: bigint; - txSizeCostPerByte?: bigint; - sigVerifyCostEd25519?: bigint; - sigVerifyCostSecp256k1?: bigint; - }; - accounts?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _6.GenesisState; - fromSDK(object: _6.GenesisStateSDKType): _6.GenesisState; - toSDK(message: _6.GenesisState): _6.GenesisStateSDKType; - fromAmino(object: _6.GenesisStateAmino): _6.GenesisState; - toAmino(message: _6.GenesisState): _6.GenesisStateAmino; - fromAminoMsg(object: _6.GenesisStateAminoMsg): _6.GenesisState; - toAminoMsg(message: _6.GenesisState): _6.GenesisStateAminoMsg; - fromProtoMsg(message: _6.GenesisStateProtoMsg): _6.GenesisState; - toProto(message: _6.GenesisState): Uint8Array; - toProtoMsg(message: _6.GenesisState): _6.GenesisStateProtoMsg; - }; - BaseAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is _5.BaseAccount; - isSDK(o: any): o is _5.BaseAccountSDKType; - isAmino(o: any): o is _5.BaseAccountAmino; - encode(message: _5.BaseAccount, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _5.BaseAccount; - fromJSON(object: any): _5.BaseAccount; - toJSON(message: _5.BaseAccount): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.auth.v1beta1.BaseAccount"; - address?: string; - pubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: bigint; - sequence?: bigint; - }): _5.BaseAccount; - fromSDK(object: _5.BaseAccountSDKType): _5.BaseAccount; - toSDK(message: _5.BaseAccount): _5.BaseAccountSDKType; - fromAmino(object: _5.BaseAccountAmino): _5.BaseAccount; - toAmino(message: _5.BaseAccount): _5.BaseAccountAmino; - fromAminoMsg(object: _5.BaseAccountAminoMsg): _5.BaseAccount; - toAminoMsg(message: _5.BaseAccount): _5.BaseAccountAminoMsg; - fromProtoMsg(message: _5.BaseAccountProtoMsg): _5.BaseAccount; - toProto(message: _5.BaseAccount): Uint8Array; - toProtoMsg(message: _5.BaseAccount): _5.BaseAccountProtoMsg; - }; - ModuleAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is _5.ModuleAccount; - isSDK(o: any): o is _5.ModuleAccountSDKType; - isAmino(o: any): o is _5.ModuleAccountAmino; - encode(message: _5.ModuleAccount, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _5.ModuleAccount; - fromJSON(object: any): _5.ModuleAccount; - toJSON(message: _5.ModuleAccount): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.auth.v1beta1.ModuleAccount"; - baseAccount?: { - $typeUrl?: "/cosmos.auth.v1beta1.BaseAccount"; - address?: string; - pubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: bigint; - sequence?: bigint; - }; - name?: string; - permissions?: string[]; - }): _5.ModuleAccount; - fromSDK(object: _5.ModuleAccountSDKType): _5.ModuleAccount; - toSDK(message: _5.ModuleAccount): _5.ModuleAccountSDKType; - fromAmino(object: _5.ModuleAccountAmino): _5.ModuleAccount; - toAmino(message: _5.ModuleAccount): _5.ModuleAccountAmino; - fromAminoMsg(object: _5.ModuleAccountAminoMsg): _5.ModuleAccount; - toAminoMsg(message: _5.ModuleAccount): _5.ModuleAccountAminoMsg; - fromProtoMsg(message: _5.ModuleAccountProtoMsg): _5.ModuleAccount; - toProto(message: _5.ModuleAccount): Uint8Array; - toProtoMsg(message: _5.ModuleAccount): _5.ModuleAccountProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _5.Params; - isSDK(o: any): o is _5.ParamsSDKType; - isAmino(o: any): o is _5.ParamsAmino; - encode(message: _5.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _5.Params; - fromJSON(object: any): _5.Params; - toJSON(message: _5.Params): unknown; - fromPartial(object: { - maxMemoCharacters?: bigint; - txSigLimit?: bigint; - txSizeCostPerByte?: bigint; - sigVerifyCostEd25519?: bigint; - sigVerifyCostSecp256k1?: bigint; - }): _5.Params; - fromSDK(object: _5.ParamsSDKType): _5.Params; - toSDK(message: _5.Params): _5.ParamsSDKType; - fromAmino(object: _5.ParamsAmino): _5.Params; - toAmino(message: _5.Params): _5.ParamsAmino; - fromAminoMsg(object: _5.ParamsAminoMsg): _5.Params; - toAminoMsg(message: _5.Params): _5.ParamsAminoMsg; - fromProtoMsg(message: _5.ParamsProtoMsg): _5.Params; - toProto(message: _5.Params): Uint8Array; - toProtoMsg(message: _5.Params): _5.ParamsProtoMsg; - }; - }; - } - namespace authz { - const v1beta1: { - MsgClientImpl: typeof _236.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _236.MsgClientImpl; - QueryClientImpl: typeof _220.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useGrants: ({ request, options }: _220.UseGrantsQuery) => import("@tanstack/react-query").UseQueryResult; - useGranterGrants: ({ request, options }: _220.UseGranterGrantsQuery) => import("@tanstack/react-query").UseQueryResult; - useGranteeGrants: ({ request, options }: _220.UseGranteeGrantsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryGrantsStore: { - new (): { - store: import("..").QueryStore<_11.QueryGrantsRequest, _11.QueryGrantsResponse>; - grants(request: _11.QueryGrantsRequest): import("..").MobxResponse<_11.QueryGrantsResponse>; - }; - }; - QueryGranterGrantsStore: { - new (): { - store: import("..").QueryStore<_11.QueryGranterGrantsRequest, _11.QueryGranterGrantsResponse>; - granterGrants(request: _11.QueryGranterGrantsRequest): import("..").MobxResponse<_11.QueryGranterGrantsResponse>; - }; - }; - QueryGranteeGrantsStore: { - new (): { - store: import("..").QueryStore<_11.QueryGranteeGrantsRequest, _11.QueryGranteeGrantsResponse>; - granteeGrants(request: _11.QueryGranteeGrantsRequest): import("..").MobxResponse<_11.QueryGranteeGrantsResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - grant(value: _12.MsgGrant): { - typeUrl: string; - value: Uint8Array; - }; - exec(value: _12.MsgExec): { - typeUrl: string; - value: Uint8Array; - }; - revoke(value: _12.MsgRevoke): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - grant(value: _12.MsgGrant): { - typeUrl: string; - value: _12.MsgGrant; - }; - exec(value: _12.MsgExec): { - typeUrl: string; - value: _12.MsgExec; - }; - revoke(value: _12.MsgRevoke): { - typeUrl: string; - value: _12.MsgRevoke; - }; - }; - toJSON: { - grant(value: _12.MsgGrant): { - typeUrl: string; - value: unknown; - }; - exec(value: _12.MsgExec): { - typeUrl: string; - value: unknown; - }; - revoke(value: _12.MsgRevoke): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - grant(value: any): { - typeUrl: string; - value: _12.MsgGrant; - }; - exec(value: any): { - typeUrl: string; - value: _12.MsgExec; - }; - revoke(value: any): { - typeUrl: string; - value: _12.MsgRevoke; - }; - }; - fromPartial: { - grant(value: _12.MsgGrant): { - typeUrl: string; - value: _12.MsgGrant; - }; - exec(value: _12.MsgExec): { - typeUrl: string; - value: _12.MsgExec; - }; - revoke(value: _12.MsgRevoke): { - typeUrl: string; - value: _12.MsgRevoke; - }; - }; - }; - AminoConverter: { - "/cosmos.authz.v1beta1.MsgGrant": { - aminoType: string; - toAmino: (message: _12.MsgGrant) => _12.MsgGrantAmino; - fromAmino: (object: _12.MsgGrantAmino) => _12.MsgGrant; - }; - "/cosmos.authz.v1beta1.MsgExec": { - aminoType: string; - toAmino: (message: _12.MsgExec) => _12.MsgExecAmino; - fromAmino: (object: _12.MsgExecAmino) => _12.MsgExec; - }; - "/cosmos.authz.v1beta1.MsgRevoke": { - aminoType: string; - toAmino: (message: _12.MsgRevoke) => _12.MsgRevokeAmino; - fromAmino: (object: _12.MsgRevokeAmino) => _12.MsgRevoke; - }; - }; - MsgGrant: { - typeUrl: string; - aminoType: string; - is(o: any): o is _12.MsgGrant; - isSDK(o: any): o is _12.MsgGrantSDKType; - isAmino(o: any): o is _12.MsgGrantAmino; - encode(message: _12.MsgGrant, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _12.MsgGrant; - fromJSON(object: any): _12.MsgGrant; - toJSON(message: _12.MsgGrant): unknown; - fromPartial(object: { - granter?: string; - grantee?: string; - grant?: { - authorization?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.bank.v1beta1.SendAuthorization"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - } | { - $typeUrl?: "/cosmos.staking.v1beta1.StakeAuthorization"; - maxTokens?: { - denom?: string; - amount?: string; - }; - allowList?: { - address?: string[]; - }; - denyList?: { - address?: string[]; - }; - authorizationType?: _81.AuthorizationType; - } | { - $typeUrl?: "/cosmos.authz.v1beta1.GenericAuthorization"; - msg?: string; - }; - expiration?: Date; - }; - }): _12.MsgGrant; - fromSDK(object: _12.MsgGrantSDKType): _12.MsgGrant; - toSDK(message: _12.MsgGrant): _12.MsgGrantSDKType; - fromAmino(object: _12.MsgGrantAmino): _12.MsgGrant; - toAmino(message: _12.MsgGrant): _12.MsgGrantAmino; - fromAminoMsg(object: _12.MsgGrantAminoMsg): _12.MsgGrant; - toAminoMsg(message: _12.MsgGrant): _12.MsgGrantAminoMsg; - fromProtoMsg(message: _12.MsgGrantProtoMsg): _12.MsgGrant; - toProto(message: _12.MsgGrant): Uint8Array; - toProtoMsg(message: _12.MsgGrant): _12.MsgGrantProtoMsg; - }; - MsgExecResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _12.MsgExecResponse; - isSDK(o: any): o is _12.MsgExecResponseSDKType; - isAmino(o: any): o is _12.MsgExecResponseAmino; - encode(message: _12.MsgExecResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _12.MsgExecResponse; - fromJSON(object: any): _12.MsgExecResponse; - toJSON(message: _12.MsgExecResponse): unknown; - fromPartial(object: { - results?: Uint8Array[]; - }): _12.MsgExecResponse; - fromSDK(object: _12.MsgExecResponseSDKType): _12.MsgExecResponse; - toSDK(message: _12.MsgExecResponse): _12.MsgExecResponseSDKType; - fromAmino(object: _12.MsgExecResponseAmino): _12.MsgExecResponse; - toAmino(message: _12.MsgExecResponse): _12.MsgExecResponseAmino; - fromAminoMsg(object: _12.MsgExecResponseAminoMsg): _12.MsgExecResponse; - toAminoMsg(message: _12.MsgExecResponse): _12.MsgExecResponseAminoMsg; - fromProtoMsg(message: _12.MsgExecResponseProtoMsg): _12.MsgExecResponse; - toProto(message: _12.MsgExecResponse): Uint8Array; - toProtoMsg(message: _12.MsgExecResponse): _12.MsgExecResponseProtoMsg; - }; - MsgExec: { - typeUrl: string; - aminoType: string; - is(o: any): o is _12.MsgExec; - isSDK(o: any): o is _12.MsgExecSDKType; - isAmino(o: any): o is _12.MsgExecAmino; - encode(message: _12.MsgExec, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _12.MsgExec; - fromJSON(object: any): _12.MsgExec; - toJSON(message: _12.MsgExec): unknown; - fromPartial(object: { - grantee?: string; - msgs?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _12.MsgExec; - fromSDK(object: _12.MsgExecSDKType): _12.MsgExec; - toSDK(message: _12.MsgExec): _12.MsgExecSDKType; - fromAmino(object: _12.MsgExecAmino): _12.MsgExec; - toAmino(message: _12.MsgExec): _12.MsgExecAmino; - fromAminoMsg(object: _12.MsgExecAminoMsg): _12.MsgExec; - toAminoMsg(message: _12.MsgExec): _12.MsgExecAminoMsg; - fromProtoMsg(message: _12.MsgExecProtoMsg): _12.MsgExec; - toProto(message: _12.MsgExec): Uint8Array; - toProtoMsg(message: _12.MsgExec): _12.MsgExecProtoMsg; - }; - MsgGrantResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _12.MsgGrantResponse; - isSDK(o: any): o is _12.MsgGrantResponseSDKType; - isAmino(o: any): o is _12.MsgGrantResponseAmino; - encode(_: _12.MsgGrantResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _12.MsgGrantResponse; - fromJSON(_: any): _12.MsgGrantResponse; - toJSON(_: _12.MsgGrantResponse): unknown; - fromPartial(_: {}): _12.MsgGrantResponse; - fromSDK(_: _12.MsgGrantResponseSDKType): _12.MsgGrantResponse; - toSDK(_: _12.MsgGrantResponse): _12.MsgGrantResponseSDKType; - fromAmino(_: _12.MsgGrantResponseAmino): _12.MsgGrantResponse; - toAmino(_: _12.MsgGrantResponse): _12.MsgGrantResponseAmino; - fromAminoMsg(object: _12.MsgGrantResponseAminoMsg): _12.MsgGrantResponse; - toAminoMsg(message: _12.MsgGrantResponse): _12.MsgGrantResponseAminoMsg; - fromProtoMsg(message: _12.MsgGrantResponseProtoMsg): _12.MsgGrantResponse; - toProto(message: _12.MsgGrantResponse): Uint8Array; - toProtoMsg(message: _12.MsgGrantResponse): _12.MsgGrantResponseProtoMsg; - }; - MsgRevoke: { - typeUrl: string; - aminoType: string; - is(o: any): o is _12.MsgRevoke; - isSDK(o: any): o is _12.MsgRevokeSDKType; - isAmino(o: any): o is _12.MsgRevokeAmino; - encode(message: _12.MsgRevoke, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _12.MsgRevoke; - fromJSON(object: any): _12.MsgRevoke; - toJSON(message: _12.MsgRevoke): unknown; - fromPartial(object: { - granter?: string; - grantee?: string; - msgTypeUrl?: string; - }): _12.MsgRevoke; - fromSDK(object: _12.MsgRevokeSDKType): _12.MsgRevoke; - toSDK(message: _12.MsgRevoke): _12.MsgRevokeSDKType; - fromAmino(object: _12.MsgRevokeAmino): _12.MsgRevoke; - toAmino(message: _12.MsgRevoke): _12.MsgRevokeAmino; - fromAminoMsg(object: _12.MsgRevokeAminoMsg): _12.MsgRevoke; - toAminoMsg(message: _12.MsgRevoke): _12.MsgRevokeAminoMsg; - fromProtoMsg(message: _12.MsgRevokeProtoMsg): _12.MsgRevoke; - toProto(message: _12.MsgRevoke): Uint8Array; - toProtoMsg(message: _12.MsgRevoke): _12.MsgRevokeProtoMsg; - }; - MsgRevokeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _12.MsgRevokeResponse; - isSDK(o: any): o is _12.MsgRevokeResponseSDKType; - isAmino(o: any): o is _12.MsgRevokeResponseAmino; - encode(_: _12.MsgRevokeResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _12.MsgRevokeResponse; - fromJSON(_: any): _12.MsgRevokeResponse; - toJSON(_: _12.MsgRevokeResponse): unknown; - fromPartial(_: {}): _12.MsgRevokeResponse; - fromSDK(_: _12.MsgRevokeResponseSDKType): _12.MsgRevokeResponse; - toSDK(_: _12.MsgRevokeResponse): _12.MsgRevokeResponseSDKType; - fromAmino(_: _12.MsgRevokeResponseAmino): _12.MsgRevokeResponse; - toAmino(_: _12.MsgRevokeResponse): _12.MsgRevokeResponseAmino; - fromAminoMsg(object: _12.MsgRevokeResponseAminoMsg): _12.MsgRevokeResponse; - toAminoMsg(message: _12.MsgRevokeResponse): _12.MsgRevokeResponseAminoMsg; - fromProtoMsg(message: _12.MsgRevokeResponseProtoMsg): _12.MsgRevokeResponse; - toProto(message: _12.MsgRevokeResponse): Uint8Array; - toProtoMsg(message: _12.MsgRevokeResponse): _12.MsgRevokeResponseProtoMsg; - }; - QueryGrantsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _11.QueryGrantsRequest; - isSDK(o: any): o is _11.QueryGrantsRequestSDKType; - isAmino(o: any): o is _11.QueryGrantsRequestAmino; - encode(message: _11.QueryGrantsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _11.QueryGrantsRequest; - fromJSON(object: any): _11.QueryGrantsRequest; - toJSON(message: _11.QueryGrantsRequest): unknown; - fromPartial(object: { - granter?: string; - grantee?: string; - msgTypeUrl?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _11.QueryGrantsRequest; - fromSDK(object: _11.QueryGrantsRequestSDKType): _11.QueryGrantsRequest; - toSDK(message: _11.QueryGrantsRequest): _11.QueryGrantsRequestSDKType; - fromAmino(object: _11.QueryGrantsRequestAmino): _11.QueryGrantsRequest; - toAmino(message: _11.QueryGrantsRequest): _11.QueryGrantsRequestAmino; - fromAminoMsg(object: _11.QueryGrantsRequestAminoMsg): _11.QueryGrantsRequest; - toAminoMsg(message: _11.QueryGrantsRequest): _11.QueryGrantsRequestAminoMsg; - fromProtoMsg(message: _11.QueryGrantsRequestProtoMsg): _11.QueryGrantsRequest; - toProto(message: _11.QueryGrantsRequest): Uint8Array; - toProtoMsg(message: _11.QueryGrantsRequest): _11.QueryGrantsRequestProtoMsg; - }; - QueryGrantsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _11.QueryGrantsResponse; - isSDK(o: any): o is _11.QueryGrantsResponseSDKType; - isAmino(o: any): o is _11.QueryGrantsResponseAmino; - encode(message: _11.QueryGrantsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _11.QueryGrantsResponse; - fromJSON(object: any): _11.QueryGrantsResponse; - toJSON(message: _11.QueryGrantsResponse): unknown; - fromPartial(object: { - grants?: { - authorization?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.bank.v1beta1.SendAuthorization"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - } | { - $typeUrl?: "/cosmos.staking.v1beta1.StakeAuthorization"; - maxTokens?: { - denom?: string; - amount?: string; - }; - allowList?: { - address?: string[]; - }; - denyList?: { - address?: string[]; - }; - authorizationType?: _81.AuthorizationType; - } | { - $typeUrl?: "/cosmos.authz.v1beta1.GenericAuthorization"; - msg?: string; - }; - expiration?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _11.QueryGrantsResponse; - fromSDK(object: _11.QueryGrantsResponseSDKType): _11.QueryGrantsResponse; - toSDK(message: _11.QueryGrantsResponse): _11.QueryGrantsResponseSDKType; - fromAmino(object: _11.QueryGrantsResponseAmino): _11.QueryGrantsResponse; - toAmino(message: _11.QueryGrantsResponse): _11.QueryGrantsResponseAmino; - fromAminoMsg(object: _11.QueryGrantsResponseAminoMsg): _11.QueryGrantsResponse; - toAminoMsg(message: _11.QueryGrantsResponse): _11.QueryGrantsResponseAminoMsg; - fromProtoMsg(message: _11.QueryGrantsResponseProtoMsg): _11.QueryGrantsResponse; - toProto(message: _11.QueryGrantsResponse): Uint8Array; - toProtoMsg(message: _11.QueryGrantsResponse): _11.QueryGrantsResponseProtoMsg; - }; - QueryGranterGrantsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _11.QueryGranterGrantsRequest; - isSDK(o: any): o is _11.QueryGranterGrantsRequestSDKType; - isAmino(o: any): o is _11.QueryGranterGrantsRequestAmino; - encode(message: _11.QueryGranterGrantsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _11.QueryGranterGrantsRequest; - fromJSON(object: any): _11.QueryGranterGrantsRequest; - toJSON(message: _11.QueryGranterGrantsRequest): unknown; - fromPartial(object: { - granter?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _11.QueryGranterGrantsRequest; - fromSDK(object: _11.QueryGranterGrantsRequestSDKType): _11.QueryGranterGrantsRequest; - toSDK(message: _11.QueryGranterGrantsRequest): _11.QueryGranterGrantsRequestSDKType; - fromAmino(object: _11.QueryGranterGrantsRequestAmino): _11.QueryGranterGrantsRequest; - toAmino(message: _11.QueryGranterGrantsRequest): _11.QueryGranterGrantsRequestAmino; - fromAminoMsg(object: _11.QueryGranterGrantsRequestAminoMsg): _11.QueryGranterGrantsRequest; - toAminoMsg(message: _11.QueryGranterGrantsRequest): _11.QueryGranterGrantsRequestAminoMsg; - fromProtoMsg(message: _11.QueryGranterGrantsRequestProtoMsg): _11.QueryGranterGrantsRequest; - toProto(message: _11.QueryGranterGrantsRequest): Uint8Array; - toProtoMsg(message: _11.QueryGranterGrantsRequest): _11.QueryGranterGrantsRequestProtoMsg; - }; - QueryGranterGrantsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _11.QueryGranterGrantsResponse; - isSDK(o: any): o is _11.QueryGranterGrantsResponseSDKType; - isAmino(o: any): o is _11.QueryGranterGrantsResponseAmino; - encode(message: _11.QueryGranterGrantsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _11.QueryGranterGrantsResponse; - fromJSON(object: any): _11.QueryGranterGrantsResponse; - toJSON(message: _11.QueryGranterGrantsResponse): unknown; - fromPartial(object: { - grants?: { - granter?: string; - grantee?: string; - authorization?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.bank.v1beta1.SendAuthorization"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - } | { - $typeUrl?: "/cosmos.staking.v1beta1.StakeAuthorization"; - maxTokens?: { - denom?: string; - amount?: string; - }; - allowList?: { - address?: string[]; - }; - denyList?: { - address?: string[]; - }; - authorizationType?: _81.AuthorizationType; - } | { - $typeUrl?: "/cosmos.authz.v1beta1.GenericAuthorization"; - msg?: string; - }; - expiration?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _11.QueryGranterGrantsResponse; - fromSDK(object: _11.QueryGranterGrantsResponseSDKType): _11.QueryGranterGrantsResponse; - toSDK(message: _11.QueryGranterGrantsResponse): _11.QueryGranterGrantsResponseSDKType; - fromAmino(object: _11.QueryGranterGrantsResponseAmino): _11.QueryGranterGrantsResponse; - toAmino(message: _11.QueryGranterGrantsResponse): _11.QueryGranterGrantsResponseAmino; - fromAminoMsg(object: _11.QueryGranterGrantsResponseAminoMsg): _11.QueryGranterGrantsResponse; - toAminoMsg(message: _11.QueryGranterGrantsResponse): _11.QueryGranterGrantsResponseAminoMsg; - fromProtoMsg(message: _11.QueryGranterGrantsResponseProtoMsg): _11.QueryGranterGrantsResponse; - toProto(message: _11.QueryGranterGrantsResponse): Uint8Array; - toProtoMsg(message: _11.QueryGranterGrantsResponse): _11.QueryGranterGrantsResponseProtoMsg; - }; - QueryGranteeGrantsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _11.QueryGranteeGrantsRequest; - isSDK(o: any): o is _11.QueryGranteeGrantsRequestSDKType; - isAmino(o: any): o is _11.QueryGranteeGrantsRequestAmino; - encode(message: _11.QueryGranteeGrantsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _11.QueryGranteeGrantsRequest; - fromJSON(object: any): _11.QueryGranteeGrantsRequest; - toJSON(message: _11.QueryGranteeGrantsRequest): unknown; - fromPartial(object: { - grantee?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _11.QueryGranteeGrantsRequest; - fromSDK(object: _11.QueryGranteeGrantsRequestSDKType): _11.QueryGranteeGrantsRequest; - toSDK(message: _11.QueryGranteeGrantsRequest): _11.QueryGranteeGrantsRequestSDKType; - fromAmino(object: _11.QueryGranteeGrantsRequestAmino): _11.QueryGranteeGrantsRequest; - toAmino(message: _11.QueryGranteeGrantsRequest): _11.QueryGranteeGrantsRequestAmino; - fromAminoMsg(object: _11.QueryGranteeGrantsRequestAminoMsg): _11.QueryGranteeGrantsRequest; - toAminoMsg(message: _11.QueryGranteeGrantsRequest): _11.QueryGranteeGrantsRequestAminoMsg; - fromProtoMsg(message: _11.QueryGranteeGrantsRequestProtoMsg): _11.QueryGranteeGrantsRequest; - toProto(message: _11.QueryGranteeGrantsRequest): Uint8Array; - toProtoMsg(message: _11.QueryGranteeGrantsRequest): _11.QueryGranteeGrantsRequestProtoMsg; - }; - QueryGranteeGrantsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _11.QueryGranteeGrantsResponse; - isSDK(o: any): o is _11.QueryGranteeGrantsResponseSDKType; - isAmino(o: any): o is _11.QueryGranteeGrantsResponseAmino; - encode(message: _11.QueryGranteeGrantsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _11.QueryGranteeGrantsResponse; - fromJSON(object: any): _11.QueryGranteeGrantsResponse; - toJSON(message: _11.QueryGranteeGrantsResponse): unknown; - fromPartial(object: { - grants?: { - granter?: string; - grantee?: string; - authorization?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.bank.v1beta1.SendAuthorization"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - } | { - $typeUrl?: "/cosmos.staking.v1beta1.StakeAuthorization"; - maxTokens?: { - denom?: string; - amount?: string; - }; - allowList?: { - address?: string[]; - }; - denyList?: { - address?: string[]; - }; - authorizationType?: _81.AuthorizationType; - } | { - $typeUrl?: "/cosmos.authz.v1beta1.GenericAuthorization"; - msg?: string; - }; - expiration?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _11.QueryGranteeGrantsResponse; - fromSDK(object: _11.QueryGranteeGrantsResponseSDKType): _11.QueryGranteeGrantsResponse; - toSDK(message: _11.QueryGranteeGrantsResponse): _11.QueryGranteeGrantsResponseSDKType; - fromAmino(object: _11.QueryGranteeGrantsResponseAmino): _11.QueryGranteeGrantsResponse; - toAmino(message: _11.QueryGranteeGrantsResponse): _11.QueryGranteeGrantsResponseAmino; - fromAminoMsg(object: _11.QueryGranteeGrantsResponseAminoMsg): _11.QueryGranteeGrantsResponse; - toAminoMsg(message: _11.QueryGranteeGrantsResponse): _11.QueryGranteeGrantsResponseAminoMsg; - fromProtoMsg(message: _11.QueryGranteeGrantsResponseProtoMsg): _11.QueryGranteeGrantsResponse; - toProto(message: _11.QueryGranteeGrantsResponse): Uint8Array; - toProtoMsg(message: _11.QueryGranteeGrantsResponse): _11.QueryGranteeGrantsResponseProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _10.GenesisState; - isSDK(o: any): o is _10.GenesisStateSDKType; - isAmino(o: any): o is _10.GenesisStateAmino; - encode(message: _10.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _10.GenesisState; - fromJSON(object: any): _10.GenesisState; - toJSON(message: _10.GenesisState): unknown; - fromPartial(object: { - authorization?: { - granter?: string; - grantee?: string; - authorization?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.bank.v1beta1.SendAuthorization"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - } | { - $typeUrl?: "/cosmos.staking.v1beta1.StakeAuthorization"; - maxTokens?: { - denom?: string; - amount?: string; - }; - allowList?: { - address?: string[]; - }; - denyList?: { - address?: string[]; - }; - authorizationType?: _81.AuthorizationType; - } | { - $typeUrl?: "/cosmos.authz.v1beta1.GenericAuthorization"; - msg?: string; - }; - expiration?: Date; - }[]; - }): _10.GenesisState; - fromSDK(object: _10.GenesisStateSDKType): _10.GenesisState; - toSDK(message: _10.GenesisState): _10.GenesisStateSDKType; - fromAmino(object: _10.GenesisStateAmino): _10.GenesisState; - toAmino(message: _10.GenesisState): _10.GenesisStateAmino; - fromAminoMsg(object: _10.GenesisStateAminoMsg): _10.GenesisState; - toAminoMsg(message: _10.GenesisState): _10.GenesisStateAminoMsg; - fromProtoMsg(message: _10.GenesisStateProtoMsg): _10.GenesisState; - toProto(message: _10.GenesisState): Uint8Array; - toProtoMsg(message: _10.GenesisState): _10.GenesisStateProtoMsg; - }; - EventGrant: { - typeUrl: string; - aminoType: string; - is(o: any): o is _9.EventGrant; - isSDK(o: any): o is _9.EventGrantSDKType; - isAmino(o: any): o is _9.EventGrantAmino; - encode(message: _9.EventGrant, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _9.EventGrant; - fromJSON(object: any): _9.EventGrant; - toJSON(message: _9.EventGrant): unknown; - fromPartial(object: { - msgTypeUrl?: string; - granter?: string; - grantee?: string; - }): _9.EventGrant; - fromSDK(object: _9.EventGrantSDKType): _9.EventGrant; - toSDK(message: _9.EventGrant): _9.EventGrantSDKType; - fromAmino(object: _9.EventGrantAmino): _9.EventGrant; - toAmino(message: _9.EventGrant): _9.EventGrantAmino; - fromAminoMsg(object: _9.EventGrantAminoMsg): _9.EventGrant; - toAminoMsg(message: _9.EventGrant): _9.EventGrantAminoMsg; - fromProtoMsg(message: _9.EventGrantProtoMsg): _9.EventGrant; - toProto(message: _9.EventGrant): Uint8Array; - toProtoMsg(message: _9.EventGrant): _9.EventGrantProtoMsg; - }; - EventRevoke: { - typeUrl: string; - aminoType: string; - is(o: any): o is _9.EventRevoke; - isSDK(o: any): o is _9.EventRevokeSDKType; - isAmino(o: any): o is _9.EventRevokeAmino; - encode(message: _9.EventRevoke, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _9.EventRevoke; - fromJSON(object: any): _9.EventRevoke; - toJSON(message: _9.EventRevoke): unknown; - fromPartial(object: { - msgTypeUrl?: string; - granter?: string; - grantee?: string; - }): _9.EventRevoke; - fromSDK(object: _9.EventRevokeSDKType): _9.EventRevoke; - toSDK(message: _9.EventRevoke): _9.EventRevokeSDKType; - fromAmino(object: _9.EventRevokeAmino): _9.EventRevoke; - toAmino(message: _9.EventRevoke): _9.EventRevokeAmino; - fromAminoMsg(object: _9.EventRevokeAminoMsg): _9.EventRevoke; - toAminoMsg(message: _9.EventRevoke): _9.EventRevokeAminoMsg; - fromProtoMsg(message: _9.EventRevokeProtoMsg): _9.EventRevoke; - toProto(message: _9.EventRevoke): Uint8Array; - toProtoMsg(message: _9.EventRevoke): _9.EventRevokeProtoMsg; - }; - GenericAuthorization: { - typeUrl: string; - aminoType: string; - is(o: any): o is _8.GenericAuthorization; - isSDK(o: any): o is _8.GenericAuthorizationSDKType; - isAmino(o: any): o is _8.GenericAuthorizationAmino; - encode(message: _8.GenericAuthorization, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _8.GenericAuthorization; - fromJSON(object: any): _8.GenericAuthorization; - toJSON(message: _8.GenericAuthorization): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.authz.v1beta1.GenericAuthorization"; - msg?: string; - }): _8.GenericAuthorization; - fromSDK(object: _8.GenericAuthorizationSDKType): _8.GenericAuthorization; - toSDK(message: _8.GenericAuthorization): _8.GenericAuthorizationSDKType; - fromAmino(object: _8.GenericAuthorizationAmino): _8.GenericAuthorization; - toAmino(message: _8.GenericAuthorization): _8.GenericAuthorizationAmino; - fromAminoMsg(object: _8.GenericAuthorizationAminoMsg): _8.GenericAuthorization; - toAminoMsg(message: _8.GenericAuthorization): _8.GenericAuthorizationAminoMsg; - fromProtoMsg(message: _8.GenericAuthorizationProtoMsg): _8.GenericAuthorization; - toProto(message: _8.GenericAuthorization): Uint8Array; - toProtoMsg(message: _8.GenericAuthorization): _8.GenericAuthorizationProtoMsg; - }; - Grant: { - typeUrl: string; - aminoType: string; - is(o: any): o is _8.Grant; - isSDK(o: any): o is _8.GrantSDKType; - isAmino(o: any): o is _8.GrantAmino; - encode(message: _8.Grant, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _8.Grant; - fromJSON(object: any): _8.Grant; - toJSON(message: _8.Grant): unknown; - fromPartial(object: { - authorization?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.bank.v1beta1.SendAuthorization"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - } | { - $typeUrl?: "/cosmos.staking.v1beta1.StakeAuthorization"; - maxTokens?: { - denom?: string; - amount?: string; - }; - allowList?: { - address?: string[]; - }; - denyList?: { - address?: string[]; - }; - authorizationType?: _81.AuthorizationType; - } | { - $typeUrl?: "/cosmos.authz.v1beta1.GenericAuthorization"; - msg?: string; - }; - expiration?: Date; - }): _8.Grant; - fromSDK(object: _8.GrantSDKType): _8.Grant; - toSDK(message: _8.Grant): _8.GrantSDKType; - fromAmino(object: _8.GrantAmino): _8.Grant; - toAmino(message: _8.Grant): _8.GrantAmino; - fromAminoMsg(object: _8.GrantAminoMsg): _8.Grant; - toAminoMsg(message: _8.Grant): _8.GrantAminoMsg; - fromProtoMsg(message: _8.GrantProtoMsg): _8.Grant; - toProto(message: _8.Grant): Uint8Array; - toProtoMsg(message: _8.Grant): _8.GrantProtoMsg; - }; - GrantAuthorization: { - typeUrl: string; - aminoType: string; - is(o: any): o is _8.GrantAuthorization; - isSDK(o: any): o is _8.GrantAuthorizationSDKType; - isAmino(o: any): o is _8.GrantAuthorizationAmino; - encode(message: _8.GrantAuthorization, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _8.GrantAuthorization; - fromJSON(object: any): _8.GrantAuthorization; - toJSON(message: _8.GrantAuthorization): unknown; - fromPartial(object: { - granter?: string; - grantee?: string; - authorization?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.bank.v1beta1.SendAuthorization"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - } | { - $typeUrl?: "/cosmos.staking.v1beta1.StakeAuthorization"; - maxTokens?: { - denom?: string; - amount?: string; - }; - allowList?: { - address?: string[]; - }; - denyList?: { - address?: string[]; - }; - authorizationType?: _81.AuthorizationType; - } | { - $typeUrl?: "/cosmos.authz.v1beta1.GenericAuthorization"; - msg?: string; - }; - expiration?: Date; - }): _8.GrantAuthorization; - fromSDK(object: _8.GrantAuthorizationSDKType): _8.GrantAuthorization; - toSDK(message: _8.GrantAuthorization): _8.GrantAuthorizationSDKType; - fromAmino(object: _8.GrantAuthorizationAmino): _8.GrantAuthorization; - toAmino(message: _8.GrantAuthorization): _8.GrantAuthorizationAmino; - fromAminoMsg(object: _8.GrantAuthorizationAminoMsg): _8.GrantAuthorization; - toAminoMsg(message: _8.GrantAuthorization): _8.GrantAuthorizationAminoMsg; - fromProtoMsg(message: _8.GrantAuthorizationProtoMsg): _8.GrantAuthorization; - toProto(message: _8.GrantAuthorization): Uint8Array; - toProtoMsg(message: _8.GrantAuthorization): _8.GrantAuthorizationProtoMsg; - }; - GrantQueueItem: { - typeUrl: string; - aminoType: string; - is(o: any): o is _8.GrantQueueItem; - isSDK(o: any): o is _8.GrantQueueItemSDKType; - isAmino(o: any): o is _8.GrantQueueItemAmino; - encode(message: _8.GrantQueueItem, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _8.GrantQueueItem; - fromJSON(object: any): _8.GrantQueueItem; - toJSON(message: _8.GrantQueueItem): unknown; - fromPartial(object: { - msgTypeUrls?: string[]; - }): _8.GrantQueueItem; - fromSDK(object: _8.GrantQueueItemSDKType): _8.GrantQueueItem; - toSDK(message: _8.GrantQueueItem): _8.GrantQueueItemSDKType; - fromAmino(object: _8.GrantQueueItemAmino): _8.GrantQueueItem; - toAmino(message: _8.GrantQueueItem): _8.GrantQueueItemAmino; - fromAminoMsg(object: _8.GrantQueueItemAminoMsg): _8.GrantQueueItem; - toAminoMsg(message: _8.GrantQueueItem): _8.GrantQueueItemAminoMsg; - fromProtoMsg(message: _8.GrantQueueItemProtoMsg): _8.GrantQueueItem; - toProto(message: _8.GrantQueueItem): Uint8Array; - toProtoMsg(message: _8.GrantQueueItem): _8.GrantQueueItemProtoMsg; - }; - }; - } - namespace bank { - const v1beta1: { - MsgClientImpl: typeof _237.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _237.MsgClientImpl; - QueryClientImpl: typeof _221.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useBalance: ({ request, options }: _221.UseBalanceQuery) => import("@tanstack/react-query").UseQueryResult; - useAllBalances: ({ request, options }: _221.UseAllBalancesQuery) => import("@tanstack/react-query").UseQueryResult; - useSpendableBalances: ({ request, options }: _221.UseSpendableBalancesQuery) => import("@tanstack/react-query").UseQueryResult; - useTotalSupply: ({ request, options }: _221.UseTotalSupplyQuery) => import("@tanstack/react-query").UseQueryResult; - useSupplyOf: ({ request, options }: _221.UseSupplyOfQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _221.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomMetadata: ({ request, options }: _221.UseDenomMetadataQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomsMetadata: ({ request, options }: _221.UseDenomsMetadataQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomOwners: ({ request, options }: _221.UseDenomOwnersQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryBalanceStore: { - new (): { - store: import("..").QueryStore<_16.QueryBalanceRequest, _16.QueryBalanceResponse>; - balance(request: _16.QueryBalanceRequest): import("..").MobxResponse<_16.QueryBalanceResponse>; - }; - }; - QueryAllBalancesStore: { - new (): { - store: import("..").QueryStore<_16.QueryAllBalancesRequest, _16.QueryAllBalancesResponse>; - allBalances(request: _16.QueryAllBalancesRequest): import("..").MobxResponse<_16.QueryAllBalancesResponse>; - }; - }; - QuerySpendableBalancesStore: { - new (): { - store: import("..").QueryStore<_16.QuerySpendableBalancesRequest, _16.QuerySpendableBalancesResponse>; - spendableBalances(request: _16.QuerySpendableBalancesRequest): import("..").MobxResponse<_16.QuerySpendableBalancesResponse>; - }; - }; - QueryTotalSupplyStore: { - new (): { - store: import("..").QueryStore<_16.QueryTotalSupplyRequest, _16.QueryTotalSupplyResponse>; - totalSupply(request: _16.QueryTotalSupplyRequest): import("..").MobxResponse<_16.QueryTotalSupplyResponse>; - }; - }; - QuerySupplyOfStore: { - new (): { - store: import("..").QueryStore<_16.QuerySupplyOfRequest, _16.QuerySupplyOfResponse>; - supplyOf(request: _16.QuerySupplyOfRequest): import("..").MobxResponse<_16.QuerySupplyOfResponse>; - }; - }; - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_16.QueryParamsRequest, _16.QueryParamsResponse>; - params(request: _16.QueryParamsRequest): import("..").MobxResponse<_16.QueryParamsResponse>; - }; - }; - QueryDenomMetadataStore: { - new (): { - store: import("..").QueryStore<_16.QueryDenomMetadataRequest, _16.QueryDenomMetadataResponse>; - denomMetadata(request: _16.QueryDenomMetadataRequest): import("..").MobxResponse<_16.QueryDenomMetadataResponse>; - }; - }; - QueryDenomsMetadataStore: { - new (): { - store: import("..").QueryStore<_16.QueryDenomsMetadataRequest, _16.QueryDenomsMetadataResponse>; - denomsMetadata(request: _16.QueryDenomsMetadataRequest): import("..").MobxResponse<_16.QueryDenomsMetadataResponse>; - }; - }; - QueryDenomOwnersStore: { - new (): { - store: import("..").QueryStore<_16.QueryDenomOwnersRequest, _16.QueryDenomOwnersResponse>; - denomOwners(request: _16.QueryDenomOwnersRequest): import("..").MobxResponse<_16.QueryDenomOwnersResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - send(value: _17.MsgSend): { - typeUrl: string; - value: Uint8Array; - }; - multiSend(value: _17.MsgMultiSend): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - send(value: _17.MsgSend): { - typeUrl: string; - value: _17.MsgSend; - }; - multiSend(value: _17.MsgMultiSend): { - typeUrl: string; - value: _17.MsgMultiSend; - }; - }; - toJSON: { - send(value: _17.MsgSend): { - typeUrl: string; - value: unknown; - }; - multiSend(value: _17.MsgMultiSend): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - send(value: any): { - typeUrl: string; - value: _17.MsgSend; - }; - multiSend(value: any): { - typeUrl: string; - value: _17.MsgMultiSend; - }; - }; - fromPartial: { - send(value: _17.MsgSend): { - typeUrl: string; - value: _17.MsgSend; - }; - multiSend(value: _17.MsgMultiSend): { - typeUrl: string; - value: _17.MsgMultiSend; - }; - }; - }; - AminoConverter: { - "/cosmos.bank.v1beta1.MsgSend": { - aminoType: string; - toAmino: (message: _17.MsgSend) => _17.MsgSendAmino; - fromAmino: (object: _17.MsgSendAmino) => _17.MsgSend; - }; - "/cosmos.bank.v1beta1.MsgMultiSend": { - aminoType: string; - toAmino: (message: _17.MsgMultiSend) => _17.MsgMultiSendAmino; - fromAmino: (object: _17.MsgMultiSendAmino) => _17.MsgMultiSend; - }; - }; - MsgSend: { - typeUrl: string; - aminoType: string; - is(o: any): o is _17.MsgSend; - isSDK(o: any): o is _17.MsgSendSDKType; - isAmino(o: any): o is _17.MsgSendAmino; - encode(message: _17.MsgSend, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _17.MsgSend; - fromJSON(object: any): _17.MsgSend; - toJSON(message: _17.MsgSend): unknown; - fromPartial(object: { - fromAddress?: string; - toAddress?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _17.MsgSend; - fromSDK(object: _17.MsgSendSDKType): _17.MsgSend; - toSDK(message: _17.MsgSend): _17.MsgSendSDKType; - fromAmino(object: _17.MsgSendAmino): _17.MsgSend; - toAmino(message: _17.MsgSend): _17.MsgSendAmino; - fromAminoMsg(object: _17.MsgSendAminoMsg): _17.MsgSend; - toAminoMsg(message: _17.MsgSend): _17.MsgSendAminoMsg; - fromProtoMsg(message: _17.MsgSendProtoMsg): _17.MsgSend; - toProto(message: _17.MsgSend): Uint8Array; - toProtoMsg(message: _17.MsgSend): _17.MsgSendProtoMsg; - }; - MsgSendResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _17.MsgSendResponse; - isSDK(o: any): o is _17.MsgSendResponseSDKType; - isAmino(o: any): o is _17.MsgSendResponseAmino; - encode(_: _17.MsgSendResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _17.MsgSendResponse; - fromJSON(_: any): _17.MsgSendResponse; - toJSON(_: _17.MsgSendResponse): unknown; - fromPartial(_: {}): _17.MsgSendResponse; - fromSDK(_: _17.MsgSendResponseSDKType): _17.MsgSendResponse; - toSDK(_: _17.MsgSendResponse): _17.MsgSendResponseSDKType; - fromAmino(_: _17.MsgSendResponseAmino): _17.MsgSendResponse; - toAmino(_: _17.MsgSendResponse): _17.MsgSendResponseAmino; - fromAminoMsg(object: _17.MsgSendResponseAminoMsg): _17.MsgSendResponse; - toAminoMsg(message: _17.MsgSendResponse): _17.MsgSendResponseAminoMsg; - fromProtoMsg(message: _17.MsgSendResponseProtoMsg): _17.MsgSendResponse; - toProto(message: _17.MsgSendResponse): Uint8Array; - toProtoMsg(message: _17.MsgSendResponse): _17.MsgSendResponseProtoMsg; - }; - MsgMultiSend: { - typeUrl: string; - aminoType: string; - is(o: any): o is _17.MsgMultiSend; - isSDK(o: any): o is _17.MsgMultiSendSDKType; - isAmino(o: any): o is _17.MsgMultiSendAmino; - encode(message: _17.MsgMultiSend, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _17.MsgMultiSend; - fromJSON(object: any): _17.MsgMultiSend; - toJSON(message: _17.MsgMultiSend): unknown; - fromPartial(object: { - inputs?: { - address?: string; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - outputs?: { - address?: string; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _17.MsgMultiSend; - fromSDK(object: _17.MsgMultiSendSDKType): _17.MsgMultiSend; - toSDK(message: _17.MsgMultiSend): _17.MsgMultiSendSDKType; - fromAmino(object: _17.MsgMultiSendAmino): _17.MsgMultiSend; - toAmino(message: _17.MsgMultiSend): _17.MsgMultiSendAmino; - fromAminoMsg(object: _17.MsgMultiSendAminoMsg): _17.MsgMultiSend; - toAminoMsg(message: _17.MsgMultiSend): _17.MsgMultiSendAminoMsg; - fromProtoMsg(message: _17.MsgMultiSendProtoMsg): _17.MsgMultiSend; - toProto(message: _17.MsgMultiSend): Uint8Array; - toProtoMsg(message: _17.MsgMultiSend): _17.MsgMultiSendProtoMsg; - }; - MsgMultiSendResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _17.MsgMultiSendResponse; - isSDK(o: any): o is _17.MsgMultiSendResponseSDKType; - isAmino(o: any): o is _17.MsgMultiSendResponseAmino; - encode(_: _17.MsgMultiSendResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _17.MsgMultiSendResponse; - fromJSON(_: any): _17.MsgMultiSendResponse; - toJSON(_: _17.MsgMultiSendResponse): unknown; - fromPartial(_: {}): _17.MsgMultiSendResponse; - fromSDK(_: _17.MsgMultiSendResponseSDKType): _17.MsgMultiSendResponse; - toSDK(_: _17.MsgMultiSendResponse): _17.MsgMultiSendResponseSDKType; - fromAmino(_: _17.MsgMultiSendResponseAmino): _17.MsgMultiSendResponse; - toAmino(_: _17.MsgMultiSendResponse): _17.MsgMultiSendResponseAmino; - fromAminoMsg(object: _17.MsgMultiSendResponseAminoMsg): _17.MsgMultiSendResponse; - toAminoMsg(message: _17.MsgMultiSendResponse): _17.MsgMultiSendResponseAminoMsg; - fromProtoMsg(message: _17.MsgMultiSendResponseProtoMsg): _17.MsgMultiSendResponse; - toProto(message: _17.MsgMultiSendResponse): Uint8Array; - toProtoMsg(message: _17.MsgMultiSendResponse): _17.MsgMultiSendResponseProtoMsg; - }; - QueryBalanceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QueryBalanceRequest; - isSDK(o: any): o is _16.QueryBalanceRequestSDKType; - isAmino(o: any): o is _16.QueryBalanceRequestAmino; - encode(message: _16.QueryBalanceRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QueryBalanceRequest; - fromJSON(object: any): _16.QueryBalanceRequest; - toJSON(message: _16.QueryBalanceRequest): unknown; - fromPartial(object: { - address?: string; - denom?: string; - }): _16.QueryBalanceRequest; - fromSDK(object: _16.QueryBalanceRequestSDKType): _16.QueryBalanceRequest; - toSDK(message: _16.QueryBalanceRequest): _16.QueryBalanceRequestSDKType; - fromAmino(object: _16.QueryBalanceRequestAmino): _16.QueryBalanceRequest; - toAmino(message: _16.QueryBalanceRequest): _16.QueryBalanceRequestAmino; - fromAminoMsg(object: _16.QueryBalanceRequestAminoMsg): _16.QueryBalanceRequest; - toAminoMsg(message: _16.QueryBalanceRequest): _16.QueryBalanceRequestAminoMsg; - fromProtoMsg(message: _16.QueryBalanceRequestProtoMsg): _16.QueryBalanceRequest; - toProto(message: _16.QueryBalanceRequest): Uint8Array; - toProtoMsg(message: _16.QueryBalanceRequest): _16.QueryBalanceRequestProtoMsg; - }; - QueryBalanceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QueryBalanceResponse; - isSDK(o: any): o is _16.QueryBalanceResponseSDKType; - isAmino(o: any): o is _16.QueryBalanceResponseAmino; - encode(message: _16.QueryBalanceResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QueryBalanceResponse; - fromJSON(object: any): _16.QueryBalanceResponse; - toJSON(message: _16.QueryBalanceResponse): unknown; - fromPartial(object: { - balance?: { - denom?: string; - amount?: string; - }; - }): _16.QueryBalanceResponse; - fromSDK(object: _16.QueryBalanceResponseSDKType): _16.QueryBalanceResponse; - toSDK(message: _16.QueryBalanceResponse): _16.QueryBalanceResponseSDKType; - fromAmino(object: _16.QueryBalanceResponseAmino): _16.QueryBalanceResponse; - toAmino(message: _16.QueryBalanceResponse): _16.QueryBalanceResponseAmino; - fromAminoMsg(object: _16.QueryBalanceResponseAminoMsg): _16.QueryBalanceResponse; - toAminoMsg(message: _16.QueryBalanceResponse): _16.QueryBalanceResponseAminoMsg; - fromProtoMsg(message: _16.QueryBalanceResponseProtoMsg): _16.QueryBalanceResponse; - toProto(message: _16.QueryBalanceResponse): Uint8Array; - toProtoMsg(message: _16.QueryBalanceResponse): _16.QueryBalanceResponseProtoMsg; - }; - QueryAllBalancesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QueryAllBalancesRequest; - isSDK(o: any): o is _16.QueryAllBalancesRequestSDKType; - isAmino(o: any): o is _16.QueryAllBalancesRequestAmino; - encode(message: _16.QueryAllBalancesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QueryAllBalancesRequest; - fromJSON(object: any): _16.QueryAllBalancesRequest; - toJSON(message: _16.QueryAllBalancesRequest): unknown; - fromPartial(object: { - address?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _16.QueryAllBalancesRequest; - fromSDK(object: _16.QueryAllBalancesRequestSDKType): _16.QueryAllBalancesRequest; - toSDK(message: _16.QueryAllBalancesRequest): _16.QueryAllBalancesRequestSDKType; - fromAmino(object: _16.QueryAllBalancesRequestAmino): _16.QueryAllBalancesRequest; - toAmino(message: _16.QueryAllBalancesRequest): _16.QueryAllBalancesRequestAmino; - fromAminoMsg(object: _16.QueryAllBalancesRequestAminoMsg): _16.QueryAllBalancesRequest; - toAminoMsg(message: _16.QueryAllBalancesRequest): _16.QueryAllBalancesRequestAminoMsg; - fromProtoMsg(message: _16.QueryAllBalancesRequestProtoMsg): _16.QueryAllBalancesRequest; - toProto(message: _16.QueryAllBalancesRequest): Uint8Array; - toProtoMsg(message: _16.QueryAllBalancesRequest): _16.QueryAllBalancesRequestProtoMsg; - }; - QueryAllBalancesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QueryAllBalancesResponse; - isSDK(o: any): o is _16.QueryAllBalancesResponseSDKType; - isAmino(o: any): o is _16.QueryAllBalancesResponseAmino; - encode(message: _16.QueryAllBalancesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QueryAllBalancesResponse; - fromJSON(object: any): _16.QueryAllBalancesResponse; - toJSON(message: _16.QueryAllBalancesResponse): unknown; - fromPartial(object: { - balances?: { - denom?: string; - amount?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _16.QueryAllBalancesResponse; - fromSDK(object: _16.QueryAllBalancesResponseSDKType): _16.QueryAllBalancesResponse; - toSDK(message: _16.QueryAllBalancesResponse): _16.QueryAllBalancesResponseSDKType; - fromAmino(object: _16.QueryAllBalancesResponseAmino): _16.QueryAllBalancesResponse; - toAmino(message: _16.QueryAllBalancesResponse): _16.QueryAllBalancesResponseAmino; - fromAminoMsg(object: _16.QueryAllBalancesResponseAminoMsg): _16.QueryAllBalancesResponse; - toAminoMsg(message: _16.QueryAllBalancesResponse): _16.QueryAllBalancesResponseAminoMsg; - fromProtoMsg(message: _16.QueryAllBalancesResponseProtoMsg): _16.QueryAllBalancesResponse; - toProto(message: _16.QueryAllBalancesResponse): Uint8Array; - toProtoMsg(message: _16.QueryAllBalancesResponse): _16.QueryAllBalancesResponseProtoMsg; - }; - QuerySpendableBalancesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QuerySpendableBalancesRequest; - isSDK(o: any): o is _16.QuerySpendableBalancesRequestSDKType; - isAmino(o: any): o is _16.QuerySpendableBalancesRequestAmino; - encode(message: _16.QuerySpendableBalancesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QuerySpendableBalancesRequest; - fromJSON(object: any): _16.QuerySpendableBalancesRequest; - toJSON(message: _16.QuerySpendableBalancesRequest): unknown; - fromPartial(object: { - address?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _16.QuerySpendableBalancesRequest; - fromSDK(object: _16.QuerySpendableBalancesRequestSDKType): _16.QuerySpendableBalancesRequest; - toSDK(message: _16.QuerySpendableBalancesRequest): _16.QuerySpendableBalancesRequestSDKType; - fromAmino(object: _16.QuerySpendableBalancesRequestAmino): _16.QuerySpendableBalancesRequest; - toAmino(message: _16.QuerySpendableBalancesRequest): _16.QuerySpendableBalancesRequestAmino; - fromAminoMsg(object: _16.QuerySpendableBalancesRequestAminoMsg): _16.QuerySpendableBalancesRequest; - toAminoMsg(message: _16.QuerySpendableBalancesRequest): _16.QuerySpendableBalancesRequestAminoMsg; - fromProtoMsg(message: _16.QuerySpendableBalancesRequestProtoMsg): _16.QuerySpendableBalancesRequest; - toProto(message: _16.QuerySpendableBalancesRequest): Uint8Array; - toProtoMsg(message: _16.QuerySpendableBalancesRequest): _16.QuerySpendableBalancesRequestProtoMsg; - }; - QuerySpendableBalancesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QuerySpendableBalancesResponse; - isSDK(o: any): o is _16.QuerySpendableBalancesResponseSDKType; - isAmino(o: any): o is _16.QuerySpendableBalancesResponseAmino; - encode(message: _16.QuerySpendableBalancesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QuerySpendableBalancesResponse; - fromJSON(object: any): _16.QuerySpendableBalancesResponse; - toJSON(message: _16.QuerySpendableBalancesResponse): unknown; - fromPartial(object: { - balances?: { - denom?: string; - amount?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _16.QuerySpendableBalancesResponse; - fromSDK(object: _16.QuerySpendableBalancesResponseSDKType): _16.QuerySpendableBalancesResponse; - toSDK(message: _16.QuerySpendableBalancesResponse): _16.QuerySpendableBalancesResponseSDKType; - fromAmino(object: _16.QuerySpendableBalancesResponseAmino): _16.QuerySpendableBalancesResponse; - toAmino(message: _16.QuerySpendableBalancesResponse): _16.QuerySpendableBalancesResponseAmino; - fromAminoMsg(object: _16.QuerySpendableBalancesResponseAminoMsg): _16.QuerySpendableBalancesResponse; - toAminoMsg(message: _16.QuerySpendableBalancesResponse): _16.QuerySpendableBalancesResponseAminoMsg; - fromProtoMsg(message: _16.QuerySpendableBalancesResponseProtoMsg): _16.QuerySpendableBalancesResponse; - toProto(message: _16.QuerySpendableBalancesResponse): Uint8Array; - toProtoMsg(message: _16.QuerySpendableBalancesResponse): _16.QuerySpendableBalancesResponseProtoMsg; - }; - QueryTotalSupplyRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QueryTotalSupplyRequest; - isSDK(o: any): o is _16.QueryTotalSupplyRequestSDKType; - isAmino(o: any): o is _16.QueryTotalSupplyRequestAmino; - encode(message: _16.QueryTotalSupplyRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QueryTotalSupplyRequest; - fromJSON(object: any): _16.QueryTotalSupplyRequest; - toJSON(message: _16.QueryTotalSupplyRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _16.QueryTotalSupplyRequest; - fromSDK(object: _16.QueryTotalSupplyRequestSDKType): _16.QueryTotalSupplyRequest; - toSDK(message: _16.QueryTotalSupplyRequest): _16.QueryTotalSupplyRequestSDKType; - fromAmino(object: _16.QueryTotalSupplyRequestAmino): _16.QueryTotalSupplyRequest; - toAmino(message: _16.QueryTotalSupplyRequest): _16.QueryTotalSupplyRequestAmino; - fromAminoMsg(object: _16.QueryTotalSupplyRequestAminoMsg): _16.QueryTotalSupplyRequest; - toAminoMsg(message: _16.QueryTotalSupplyRequest): _16.QueryTotalSupplyRequestAminoMsg; - fromProtoMsg(message: _16.QueryTotalSupplyRequestProtoMsg): _16.QueryTotalSupplyRequest; - toProto(message: _16.QueryTotalSupplyRequest): Uint8Array; - toProtoMsg(message: _16.QueryTotalSupplyRequest): _16.QueryTotalSupplyRequestProtoMsg; - }; - QueryTotalSupplyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QueryTotalSupplyResponse; - isSDK(o: any): o is _16.QueryTotalSupplyResponseSDKType; - isAmino(o: any): o is _16.QueryTotalSupplyResponseAmino; - encode(message: _16.QueryTotalSupplyResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QueryTotalSupplyResponse; - fromJSON(object: any): _16.QueryTotalSupplyResponse; - toJSON(message: _16.QueryTotalSupplyResponse): unknown; - fromPartial(object: { - supply?: { - denom?: string; - amount?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _16.QueryTotalSupplyResponse; - fromSDK(object: _16.QueryTotalSupplyResponseSDKType): _16.QueryTotalSupplyResponse; - toSDK(message: _16.QueryTotalSupplyResponse): _16.QueryTotalSupplyResponseSDKType; - fromAmino(object: _16.QueryTotalSupplyResponseAmino): _16.QueryTotalSupplyResponse; - toAmino(message: _16.QueryTotalSupplyResponse): _16.QueryTotalSupplyResponseAmino; - fromAminoMsg(object: _16.QueryTotalSupplyResponseAminoMsg): _16.QueryTotalSupplyResponse; - toAminoMsg(message: _16.QueryTotalSupplyResponse): _16.QueryTotalSupplyResponseAminoMsg; - fromProtoMsg(message: _16.QueryTotalSupplyResponseProtoMsg): _16.QueryTotalSupplyResponse; - toProto(message: _16.QueryTotalSupplyResponse): Uint8Array; - toProtoMsg(message: _16.QueryTotalSupplyResponse): _16.QueryTotalSupplyResponseProtoMsg; - }; - QuerySupplyOfRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QuerySupplyOfRequest; - isSDK(o: any): o is _16.QuerySupplyOfRequestSDKType; - isAmino(o: any): o is _16.QuerySupplyOfRequestAmino; - encode(message: _16.QuerySupplyOfRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QuerySupplyOfRequest; - fromJSON(object: any): _16.QuerySupplyOfRequest; - toJSON(message: _16.QuerySupplyOfRequest): unknown; - fromPartial(object: { - denom?: string; - }): _16.QuerySupplyOfRequest; - fromSDK(object: _16.QuerySupplyOfRequestSDKType): _16.QuerySupplyOfRequest; - toSDK(message: _16.QuerySupplyOfRequest): _16.QuerySupplyOfRequestSDKType; - fromAmino(object: _16.QuerySupplyOfRequestAmino): _16.QuerySupplyOfRequest; - toAmino(message: _16.QuerySupplyOfRequest): _16.QuerySupplyOfRequestAmino; - fromAminoMsg(object: _16.QuerySupplyOfRequestAminoMsg): _16.QuerySupplyOfRequest; - toAminoMsg(message: _16.QuerySupplyOfRequest): _16.QuerySupplyOfRequestAminoMsg; - fromProtoMsg(message: _16.QuerySupplyOfRequestProtoMsg): _16.QuerySupplyOfRequest; - toProto(message: _16.QuerySupplyOfRequest): Uint8Array; - toProtoMsg(message: _16.QuerySupplyOfRequest): _16.QuerySupplyOfRequestProtoMsg; - }; - QuerySupplyOfResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QuerySupplyOfResponse; - isSDK(o: any): o is _16.QuerySupplyOfResponseSDKType; - isAmino(o: any): o is _16.QuerySupplyOfResponseAmino; - encode(message: _16.QuerySupplyOfResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QuerySupplyOfResponse; - fromJSON(object: any): _16.QuerySupplyOfResponse; - toJSON(message: _16.QuerySupplyOfResponse): unknown; - fromPartial(object: { - amount?: { - denom?: string; - amount?: string; - }; - }): _16.QuerySupplyOfResponse; - fromSDK(object: _16.QuerySupplyOfResponseSDKType): _16.QuerySupplyOfResponse; - toSDK(message: _16.QuerySupplyOfResponse): _16.QuerySupplyOfResponseSDKType; - fromAmino(object: _16.QuerySupplyOfResponseAmino): _16.QuerySupplyOfResponse; - toAmino(message: _16.QuerySupplyOfResponse): _16.QuerySupplyOfResponseAmino; - fromAminoMsg(object: _16.QuerySupplyOfResponseAminoMsg): _16.QuerySupplyOfResponse; - toAminoMsg(message: _16.QuerySupplyOfResponse): _16.QuerySupplyOfResponseAminoMsg; - fromProtoMsg(message: _16.QuerySupplyOfResponseProtoMsg): _16.QuerySupplyOfResponse; - toProto(message: _16.QuerySupplyOfResponse): Uint8Array; - toProtoMsg(message: _16.QuerySupplyOfResponse): _16.QuerySupplyOfResponseProtoMsg; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QueryParamsRequest; - isSDK(o: any): o is _16.QueryParamsRequestSDKType; - isAmino(o: any): o is _16.QueryParamsRequestAmino; - encode(_: _16.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QueryParamsRequest; - fromJSON(_: any): _16.QueryParamsRequest; - toJSON(_: _16.QueryParamsRequest): unknown; - fromPartial(_: {}): _16.QueryParamsRequest; - fromSDK(_: _16.QueryParamsRequestSDKType): _16.QueryParamsRequest; - toSDK(_: _16.QueryParamsRequest): _16.QueryParamsRequestSDKType; - fromAmino(_: _16.QueryParamsRequestAmino): _16.QueryParamsRequest; - toAmino(_: _16.QueryParamsRequest): _16.QueryParamsRequestAmino; - fromAminoMsg(object: _16.QueryParamsRequestAminoMsg): _16.QueryParamsRequest; - toAminoMsg(message: _16.QueryParamsRequest): _16.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _16.QueryParamsRequestProtoMsg): _16.QueryParamsRequest; - toProto(message: _16.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _16.QueryParamsRequest): _16.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QueryParamsResponse; - isSDK(o: any): o is _16.QueryParamsResponseSDKType; - isAmino(o: any): o is _16.QueryParamsResponseAmino; - encode(message: _16.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QueryParamsResponse; - fromJSON(object: any): _16.QueryParamsResponse; - toJSON(message: _16.QueryParamsResponse): unknown; - fromPartial(object: { - params?: { - sendEnabled?: { - denom?: string; - enabled?: boolean; - }[]; - defaultSendEnabled?: boolean; - }; - }): _16.QueryParamsResponse; - fromSDK(object: _16.QueryParamsResponseSDKType): _16.QueryParamsResponse; - toSDK(message: _16.QueryParamsResponse): _16.QueryParamsResponseSDKType; - fromAmino(object: _16.QueryParamsResponseAmino): _16.QueryParamsResponse; - toAmino(message: _16.QueryParamsResponse): _16.QueryParamsResponseAmino; - fromAminoMsg(object: _16.QueryParamsResponseAminoMsg): _16.QueryParamsResponse; - toAminoMsg(message: _16.QueryParamsResponse): _16.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _16.QueryParamsResponseProtoMsg): _16.QueryParamsResponse; - toProto(message: _16.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _16.QueryParamsResponse): _16.QueryParamsResponseProtoMsg; - }; - QueryDenomsMetadataRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QueryDenomsMetadataRequest; - isSDK(o: any): o is _16.QueryDenomsMetadataRequestSDKType; - isAmino(o: any): o is _16.QueryDenomsMetadataRequestAmino; - encode(message: _16.QueryDenomsMetadataRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QueryDenomsMetadataRequest; - fromJSON(object: any): _16.QueryDenomsMetadataRequest; - toJSON(message: _16.QueryDenomsMetadataRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _16.QueryDenomsMetadataRequest; - fromSDK(object: _16.QueryDenomsMetadataRequestSDKType): _16.QueryDenomsMetadataRequest; - toSDK(message: _16.QueryDenomsMetadataRequest): _16.QueryDenomsMetadataRequestSDKType; - fromAmino(object: _16.QueryDenomsMetadataRequestAmino): _16.QueryDenomsMetadataRequest; - toAmino(message: _16.QueryDenomsMetadataRequest): _16.QueryDenomsMetadataRequestAmino; - fromAminoMsg(object: _16.QueryDenomsMetadataRequestAminoMsg): _16.QueryDenomsMetadataRequest; - toAminoMsg(message: _16.QueryDenomsMetadataRequest): _16.QueryDenomsMetadataRequestAminoMsg; - fromProtoMsg(message: _16.QueryDenomsMetadataRequestProtoMsg): _16.QueryDenomsMetadataRequest; - toProto(message: _16.QueryDenomsMetadataRequest): Uint8Array; - toProtoMsg(message: _16.QueryDenomsMetadataRequest): _16.QueryDenomsMetadataRequestProtoMsg; - }; - QueryDenomsMetadataResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QueryDenomsMetadataResponse; - isSDK(o: any): o is _16.QueryDenomsMetadataResponseSDKType; - isAmino(o: any): o is _16.QueryDenomsMetadataResponseAmino; - encode(message: _16.QueryDenomsMetadataResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QueryDenomsMetadataResponse; - fromJSON(object: any): _16.QueryDenomsMetadataResponse; - toJSON(message: _16.QueryDenomsMetadataResponse): unknown; - fromPartial(object: { - metadatas?: { - description?: string; - denomUnits?: { - denom?: string; - exponent?: number; - aliases?: string[]; - }[]; - base?: string; - display?: string; - name?: string; - symbol?: string; - uri?: string; - uriHash?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _16.QueryDenomsMetadataResponse; - fromSDK(object: _16.QueryDenomsMetadataResponseSDKType): _16.QueryDenomsMetadataResponse; - toSDK(message: _16.QueryDenomsMetadataResponse): _16.QueryDenomsMetadataResponseSDKType; - fromAmino(object: _16.QueryDenomsMetadataResponseAmino): _16.QueryDenomsMetadataResponse; - toAmino(message: _16.QueryDenomsMetadataResponse): _16.QueryDenomsMetadataResponseAmino; - fromAminoMsg(object: _16.QueryDenomsMetadataResponseAminoMsg): _16.QueryDenomsMetadataResponse; - toAminoMsg(message: _16.QueryDenomsMetadataResponse): _16.QueryDenomsMetadataResponseAminoMsg; - fromProtoMsg(message: _16.QueryDenomsMetadataResponseProtoMsg): _16.QueryDenomsMetadataResponse; - toProto(message: _16.QueryDenomsMetadataResponse): Uint8Array; - toProtoMsg(message: _16.QueryDenomsMetadataResponse): _16.QueryDenomsMetadataResponseProtoMsg; - }; - QueryDenomMetadataRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QueryDenomMetadataRequest; - isSDK(o: any): o is _16.QueryDenomMetadataRequestSDKType; - isAmino(o: any): o is _16.QueryDenomMetadataRequestAmino; - encode(message: _16.QueryDenomMetadataRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QueryDenomMetadataRequest; - fromJSON(object: any): _16.QueryDenomMetadataRequest; - toJSON(message: _16.QueryDenomMetadataRequest): unknown; - fromPartial(object: { - denom?: string; - }): _16.QueryDenomMetadataRequest; - fromSDK(object: _16.QueryDenomMetadataRequestSDKType): _16.QueryDenomMetadataRequest; - toSDK(message: _16.QueryDenomMetadataRequest): _16.QueryDenomMetadataRequestSDKType; - fromAmino(object: _16.QueryDenomMetadataRequestAmino): _16.QueryDenomMetadataRequest; - toAmino(message: _16.QueryDenomMetadataRequest): _16.QueryDenomMetadataRequestAmino; - fromAminoMsg(object: _16.QueryDenomMetadataRequestAminoMsg): _16.QueryDenomMetadataRequest; - toAminoMsg(message: _16.QueryDenomMetadataRequest): _16.QueryDenomMetadataRequestAminoMsg; - fromProtoMsg(message: _16.QueryDenomMetadataRequestProtoMsg): _16.QueryDenomMetadataRequest; - toProto(message: _16.QueryDenomMetadataRequest): Uint8Array; - toProtoMsg(message: _16.QueryDenomMetadataRequest): _16.QueryDenomMetadataRequestProtoMsg; - }; - QueryDenomMetadataResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QueryDenomMetadataResponse; - isSDK(o: any): o is _16.QueryDenomMetadataResponseSDKType; - isAmino(o: any): o is _16.QueryDenomMetadataResponseAmino; - encode(message: _16.QueryDenomMetadataResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QueryDenomMetadataResponse; - fromJSON(object: any): _16.QueryDenomMetadataResponse; - toJSON(message: _16.QueryDenomMetadataResponse): unknown; - fromPartial(object: { - metadata?: { - description?: string; - denomUnits?: { - denom?: string; - exponent?: number; - aliases?: string[]; - }[]; - base?: string; - display?: string; - name?: string; - symbol?: string; - uri?: string; - uriHash?: string; - }; - }): _16.QueryDenomMetadataResponse; - fromSDK(object: _16.QueryDenomMetadataResponseSDKType): _16.QueryDenomMetadataResponse; - toSDK(message: _16.QueryDenomMetadataResponse): _16.QueryDenomMetadataResponseSDKType; - fromAmino(object: _16.QueryDenomMetadataResponseAmino): _16.QueryDenomMetadataResponse; - toAmino(message: _16.QueryDenomMetadataResponse): _16.QueryDenomMetadataResponseAmino; - fromAminoMsg(object: _16.QueryDenomMetadataResponseAminoMsg): _16.QueryDenomMetadataResponse; - toAminoMsg(message: _16.QueryDenomMetadataResponse): _16.QueryDenomMetadataResponseAminoMsg; - fromProtoMsg(message: _16.QueryDenomMetadataResponseProtoMsg): _16.QueryDenomMetadataResponse; - toProto(message: _16.QueryDenomMetadataResponse): Uint8Array; - toProtoMsg(message: _16.QueryDenomMetadataResponse): _16.QueryDenomMetadataResponseProtoMsg; - }; - QueryDenomOwnersRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QueryDenomOwnersRequest; - isSDK(o: any): o is _16.QueryDenomOwnersRequestSDKType; - isAmino(o: any): o is _16.QueryDenomOwnersRequestAmino; - encode(message: _16.QueryDenomOwnersRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QueryDenomOwnersRequest; - fromJSON(object: any): _16.QueryDenomOwnersRequest; - toJSON(message: _16.QueryDenomOwnersRequest): unknown; - fromPartial(object: { - denom?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _16.QueryDenomOwnersRequest; - fromSDK(object: _16.QueryDenomOwnersRequestSDKType): _16.QueryDenomOwnersRequest; - toSDK(message: _16.QueryDenomOwnersRequest): _16.QueryDenomOwnersRequestSDKType; - fromAmino(object: _16.QueryDenomOwnersRequestAmino): _16.QueryDenomOwnersRequest; - toAmino(message: _16.QueryDenomOwnersRequest): _16.QueryDenomOwnersRequestAmino; - fromAminoMsg(object: _16.QueryDenomOwnersRequestAminoMsg): _16.QueryDenomOwnersRequest; - toAminoMsg(message: _16.QueryDenomOwnersRequest): _16.QueryDenomOwnersRequestAminoMsg; - fromProtoMsg(message: _16.QueryDenomOwnersRequestProtoMsg): _16.QueryDenomOwnersRequest; - toProto(message: _16.QueryDenomOwnersRequest): Uint8Array; - toProtoMsg(message: _16.QueryDenomOwnersRequest): _16.QueryDenomOwnersRequestProtoMsg; - }; - DenomOwner: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.DenomOwner; - isSDK(o: any): o is _16.DenomOwnerSDKType; - isAmino(o: any): o is _16.DenomOwnerAmino; - encode(message: _16.DenomOwner, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.DenomOwner; - fromJSON(object: any): _16.DenomOwner; - toJSON(message: _16.DenomOwner): unknown; - fromPartial(object: { - address?: string; - balance?: { - denom?: string; - amount?: string; - }; - }): _16.DenomOwner; - fromSDK(object: _16.DenomOwnerSDKType): _16.DenomOwner; - toSDK(message: _16.DenomOwner): _16.DenomOwnerSDKType; - fromAmino(object: _16.DenomOwnerAmino): _16.DenomOwner; - toAmino(message: _16.DenomOwner): _16.DenomOwnerAmino; - fromAminoMsg(object: _16.DenomOwnerAminoMsg): _16.DenomOwner; - toAminoMsg(message: _16.DenomOwner): _16.DenomOwnerAminoMsg; - fromProtoMsg(message: _16.DenomOwnerProtoMsg): _16.DenomOwner; - toProto(message: _16.DenomOwner): Uint8Array; - toProtoMsg(message: _16.DenomOwner): _16.DenomOwnerProtoMsg; - }; - QueryDenomOwnersResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _16.QueryDenomOwnersResponse; - isSDK(o: any): o is _16.QueryDenomOwnersResponseSDKType; - isAmino(o: any): o is _16.QueryDenomOwnersResponseAmino; - encode(message: _16.QueryDenomOwnersResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _16.QueryDenomOwnersResponse; - fromJSON(object: any): _16.QueryDenomOwnersResponse; - toJSON(message: _16.QueryDenomOwnersResponse): unknown; - fromPartial(object: { - denomOwners?: { - address?: string; - balance?: { - denom?: string; - amount?: string; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _16.QueryDenomOwnersResponse; - fromSDK(object: _16.QueryDenomOwnersResponseSDKType): _16.QueryDenomOwnersResponse; - toSDK(message: _16.QueryDenomOwnersResponse): _16.QueryDenomOwnersResponseSDKType; - fromAmino(object: _16.QueryDenomOwnersResponseAmino): _16.QueryDenomOwnersResponse; - toAmino(message: _16.QueryDenomOwnersResponse): _16.QueryDenomOwnersResponseAmino; - fromAminoMsg(object: _16.QueryDenomOwnersResponseAminoMsg): _16.QueryDenomOwnersResponse; - toAminoMsg(message: _16.QueryDenomOwnersResponse): _16.QueryDenomOwnersResponseAminoMsg; - fromProtoMsg(message: _16.QueryDenomOwnersResponseProtoMsg): _16.QueryDenomOwnersResponse; - toProto(message: _16.QueryDenomOwnersResponse): Uint8Array; - toProtoMsg(message: _16.QueryDenomOwnersResponse): _16.QueryDenomOwnersResponseProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _15.GenesisState; - isSDK(o: any): o is _15.GenesisStateSDKType; - isAmino(o: any): o is _15.GenesisStateAmino; - encode(message: _15.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _15.GenesisState; - fromJSON(object: any): _15.GenesisState; - toJSON(message: _15.GenesisState): unknown; - fromPartial(object: { - params?: { - sendEnabled?: { - denom?: string; - enabled?: boolean; - }[]; - defaultSendEnabled?: boolean; - }; - balances?: { - address?: string; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - supply?: { - denom?: string; - amount?: string; - }[]; - denomMetadata?: { - description?: string; - denomUnits?: { - denom?: string; - exponent?: number; - aliases?: string[]; - }[]; - base?: string; - display?: string; - name?: string; - symbol?: string; - uri?: string; - uriHash?: string; - }[]; - }): _15.GenesisState; - fromSDK(object: _15.GenesisStateSDKType): _15.GenesisState; - toSDK(message: _15.GenesisState): _15.GenesisStateSDKType; - fromAmino(object: _15.GenesisStateAmino): _15.GenesisState; - toAmino(message: _15.GenesisState): _15.GenesisStateAmino; - fromAminoMsg(object: _15.GenesisStateAminoMsg): _15.GenesisState; - toAminoMsg(message: _15.GenesisState): _15.GenesisStateAminoMsg; - fromProtoMsg(message: _15.GenesisStateProtoMsg): _15.GenesisState; - toProto(message: _15.GenesisState): Uint8Array; - toProtoMsg(message: _15.GenesisState): _15.GenesisStateProtoMsg; - }; - Balance: { - typeUrl: string; - aminoType: string; - is(o: any): o is _15.Balance; - isSDK(o: any): o is _15.BalanceSDKType; - isAmino(o: any): o is _15.BalanceAmino; - encode(message: _15.Balance, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _15.Balance; - fromJSON(object: any): _15.Balance; - toJSON(message: _15.Balance): unknown; - fromPartial(object: { - address?: string; - coins?: { - denom?: string; - amount?: string; - }[]; - }): _15.Balance; - fromSDK(object: _15.BalanceSDKType): _15.Balance; - toSDK(message: _15.Balance): _15.BalanceSDKType; - fromAmino(object: _15.BalanceAmino): _15.Balance; - toAmino(message: _15.Balance): _15.BalanceAmino; - fromAminoMsg(object: _15.BalanceAminoMsg): _15.Balance; - toAminoMsg(message: _15.Balance): _15.BalanceAminoMsg; - fromProtoMsg(message: _15.BalanceProtoMsg): _15.Balance; - toProto(message: _15.Balance): Uint8Array; - toProtoMsg(message: _15.Balance): _15.BalanceProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _14.Params; - isSDK(o: any): o is _14.ParamsSDKType; - isAmino(o: any): o is _14.ParamsAmino; - encode(message: _14.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _14.Params; - fromJSON(object: any): _14.Params; - toJSON(message: _14.Params): unknown; - fromPartial(object: { - sendEnabled?: { - denom?: string; - enabled?: boolean; - }[]; - defaultSendEnabled?: boolean; - }): _14.Params; - fromSDK(object: _14.ParamsSDKType): _14.Params; - toSDK(message: _14.Params): _14.ParamsSDKType; - fromAmino(object: _14.ParamsAmino): _14.Params; - toAmino(message: _14.Params): _14.ParamsAmino; - fromAminoMsg(object: _14.ParamsAminoMsg): _14.Params; - toAminoMsg(message: _14.Params): _14.ParamsAminoMsg; - fromProtoMsg(message: _14.ParamsProtoMsg): _14.Params; - toProto(message: _14.Params): Uint8Array; - toProtoMsg(message: _14.Params): _14.ParamsProtoMsg; - }; - SendEnabled: { - typeUrl: string; - aminoType: string; - is(o: any): o is _14.SendEnabled; - isSDK(o: any): o is _14.SendEnabledSDKType; - isAmino(o: any): o is _14.SendEnabledAmino; - encode(message: _14.SendEnabled, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _14.SendEnabled; - fromJSON(object: any): _14.SendEnabled; - toJSON(message: _14.SendEnabled): unknown; - fromPartial(object: { - denom?: string; - enabled?: boolean; - }): _14.SendEnabled; - fromSDK(object: _14.SendEnabledSDKType): _14.SendEnabled; - toSDK(message: _14.SendEnabled): _14.SendEnabledSDKType; - fromAmino(object: _14.SendEnabledAmino): _14.SendEnabled; - toAmino(message: _14.SendEnabled): _14.SendEnabledAmino; - fromAminoMsg(object: _14.SendEnabledAminoMsg): _14.SendEnabled; - toAminoMsg(message: _14.SendEnabled): _14.SendEnabledAminoMsg; - fromProtoMsg(message: _14.SendEnabledProtoMsg): _14.SendEnabled; - toProto(message: _14.SendEnabled): Uint8Array; - toProtoMsg(message: _14.SendEnabled): _14.SendEnabledProtoMsg; - }; - Input: { - typeUrl: string; - aminoType: string; - is(o: any): o is _14.Input; - isSDK(o: any): o is _14.InputSDKType; - isAmino(o: any): o is _14.InputAmino; - encode(message: _14.Input, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _14.Input; - fromJSON(object: any): _14.Input; - toJSON(message: _14.Input): unknown; - fromPartial(object: { - address?: string; - coins?: { - denom?: string; - amount?: string; - }[]; - }): _14.Input; - fromSDK(object: _14.InputSDKType): _14.Input; - toSDK(message: _14.Input): _14.InputSDKType; - fromAmino(object: _14.InputAmino): _14.Input; - toAmino(message: _14.Input): _14.InputAmino; - fromAminoMsg(object: _14.InputAminoMsg): _14.Input; - toAminoMsg(message: _14.Input): _14.InputAminoMsg; - fromProtoMsg(message: _14.InputProtoMsg): _14.Input; - toProto(message: _14.Input): Uint8Array; - toProtoMsg(message: _14.Input): _14.InputProtoMsg; - }; - Output: { - typeUrl: string; - aminoType: string; - is(o: any): o is _14.Output; - isSDK(o: any): o is _14.OutputSDKType; - isAmino(o: any): o is _14.OutputAmino; - encode(message: _14.Output, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _14.Output; - fromJSON(object: any): _14.Output; - toJSON(message: _14.Output): unknown; - fromPartial(object: { - address?: string; - coins?: { - denom?: string; - amount?: string; - }[]; - }): _14.Output; - fromSDK(object: _14.OutputSDKType): _14.Output; - toSDK(message: _14.Output): _14.OutputSDKType; - fromAmino(object: _14.OutputAmino): _14.Output; - toAmino(message: _14.Output): _14.OutputAmino; - fromAminoMsg(object: _14.OutputAminoMsg): _14.Output; - toAminoMsg(message: _14.Output): _14.OutputAminoMsg; - fromProtoMsg(message: _14.OutputProtoMsg): _14.Output; - toProto(message: _14.Output): Uint8Array; - toProtoMsg(message: _14.Output): _14.OutputProtoMsg; - }; - Supply: { - typeUrl: string; - aminoType: string; - is(o: any): o is _14.Supply; - isSDK(o: any): o is _14.SupplySDKType; - isAmino(o: any): o is _14.SupplyAmino; - encode(message: _14.Supply, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _14.Supply; - fromJSON(object: any): _14.Supply; - toJSON(message: _14.Supply): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.bank.v1beta1.Supply"; - total?: { - denom?: string; - amount?: string; - }[]; - }): _14.Supply; - fromSDK(object: _14.SupplySDKType): _14.Supply; - toSDK(message: _14.Supply): _14.SupplySDKType; - fromAmino(object: _14.SupplyAmino): _14.Supply; - toAmino(message: _14.Supply): _14.SupplyAmino; - fromAminoMsg(object: _14.SupplyAminoMsg): _14.Supply; - toAminoMsg(message: _14.Supply): _14.SupplyAminoMsg; - fromProtoMsg(message: _14.SupplyProtoMsg): _14.Supply; - toProto(message: _14.Supply): Uint8Array; - toProtoMsg(message: _14.Supply): _14.SupplyProtoMsg; - }; - DenomUnit: { - typeUrl: string; - aminoType: string; - is(o: any): o is _14.DenomUnit; - isSDK(o: any): o is _14.DenomUnitSDKType; - isAmino(o: any): o is _14.DenomUnitAmino; - encode(message: _14.DenomUnit, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _14.DenomUnit; - fromJSON(object: any): _14.DenomUnit; - toJSON(message: _14.DenomUnit): unknown; - fromPartial(object: { - denom?: string; - exponent?: number; - aliases?: string[]; - }): _14.DenomUnit; - fromSDK(object: _14.DenomUnitSDKType): _14.DenomUnit; - toSDK(message: _14.DenomUnit): _14.DenomUnitSDKType; - fromAmino(object: _14.DenomUnitAmino): _14.DenomUnit; - toAmino(message: _14.DenomUnit): _14.DenomUnitAmino; - fromAminoMsg(object: _14.DenomUnitAminoMsg): _14.DenomUnit; - toAminoMsg(message: _14.DenomUnit): _14.DenomUnitAminoMsg; - fromProtoMsg(message: _14.DenomUnitProtoMsg): _14.DenomUnit; - toProto(message: _14.DenomUnit): Uint8Array; - toProtoMsg(message: _14.DenomUnit): _14.DenomUnitProtoMsg; - }; - Metadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is _14.Metadata; - isSDK(o: any): o is _14.MetadataSDKType; - isAmino(o: any): o is _14.MetadataAmino; - encode(message: _14.Metadata, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _14.Metadata; - fromJSON(object: any): _14.Metadata; - toJSON(message: _14.Metadata): unknown; - fromPartial(object: { - description?: string; - denomUnits?: { - denom?: string; - exponent?: number; - aliases?: string[]; - }[]; - base?: string; - display?: string; - name?: string; - symbol?: string; - uri?: string; - uriHash?: string; - }): _14.Metadata; - fromSDK(object: _14.MetadataSDKType): _14.Metadata; - toSDK(message: _14.Metadata): _14.MetadataSDKType; - fromAmino(object: _14.MetadataAmino): _14.Metadata; - toAmino(message: _14.Metadata): _14.MetadataAmino; - fromAminoMsg(object: _14.MetadataAminoMsg): _14.Metadata; - toAminoMsg(message: _14.Metadata): _14.MetadataAminoMsg; - fromProtoMsg(message: _14.MetadataProtoMsg): _14.Metadata; - toProto(message: _14.Metadata): Uint8Array; - toProtoMsg(message: _14.Metadata): _14.MetadataProtoMsg; - }; - SendAuthorization: { - typeUrl: string; - aminoType: string; - is(o: any): o is _13.SendAuthorization; - isSDK(o: any): o is _13.SendAuthorizationSDKType; - isAmino(o: any): o is _13.SendAuthorizationAmino; - encode(message: _13.SendAuthorization, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _13.SendAuthorization; - fromJSON(object: any): _13.SendAuthorization; - toJSON(message: _13.SendAuthorization): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.bank.v1beta1.SendAuthorization"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - }): _13.SendAuthorization; - fromSDK(object: _13.SendAuthorizationSDKType): _13.SendAuthorization; - toSDK(message: _13.SendAuthorization): _13.SendAuthorizationSDKType; - fromAmino(object: _13.SendAuthorizationAmino): _13.SendAuthorization; - toAmino(message: _13.SendAuthorization): _13.SendAuthorizationAmino; - fromAminoMsg(object: _13.SendAuthorizationAminoMsg): _13.SendAuthorization; - toAminoMsg(message: _13.SendAuthorization): _13.SendAuthorizationAminoMsg; - fromProtoMsg(message: _13.SendAuthorizationProtoMsg): _13.SendAuthorization; - toProto(message: _13.SendAuthorization): Uint8Array; - toProtoMsg(message: _13.SendAuthorization): _13.SendAuthorizationProtoMsg; - }; - }; - } - namespace base { - namespace abci { - const v1beta1: { - TxResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _18.TxResponse; - isSDK(o: any): o is _18.TxResponseSDKType; - isAmino(o: any): o is _18.TxResponseAmino; - encode(message: _18.TxResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _18.TxResponse; - fromJSON(object: any): _18.TxResponse; - toJSON(message: _18.TxResponse): unknown; - fromPartial(object: { - height?: bigint; - txhash?: string; - codespace?: string; - code?: number; - data?: string; - rawLog?: string; - logs?: { - msgIndex?: number; - log?: string; - events?: { - type?: string; - attributes?: { - key?: string; - value?: string; - }[]; - }[]; - }[]; - info?: string; - gasWanted?: bigint; - gasUsed?: bigint; - tx?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - timestamp?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }): _18.TxResponse; - fromSDK(object: _18.TxResponseSDKType): _18.TxResponse; - toSDK(message: _18.TxResponse): _18.TxResponseSDKType; - fromAmino(object: _18.TxResponseAmino): _18.TxResponse; - toAmino(message: _18.TxResponse): _18.TxResponseAmino; - fromAminoMsg(object: _18.TxResponseAminoMsg): _18.TxResponse; - toAminoMsg(message: _18.TxResponse): _18.TxResponseAminoMsg; - fromProtoMsg(message: _18.TxResponseProtoMsg): _18.TxResponse; - toProto(message: _18.TxResponse): Uint8Array; - toProtoMsg(message: _18.TxResponse): _18.TxResponseProtoMsg; - }; - ABCIMessageLog: { - typeUrl: string; - aminoType: string; - is(o: any): o is _18.ABCIMessageLog; - isSDK(o: any): o is _18.ABCIMessageLogSDKType; - isAmino(o: any): o is _18.ABCIMessageLogAmino; - encode(message: _18.ABCIMessageLog, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _18.ABCIMessageLog; - fromJSON(object: any): _18.ABCIMessageLog; - toJSON(message: _18.ABCIMessageLog): unknown; - fromPartial(object: { - msgIndex?: number; - log?: string; - events?: { - type?: string; - attributes?: { - key?: string; - value?: string; - }[]; - }[]; - }): _18.ABCIMessageLog; - fromSDK(object: _18.ABCIMessageLogSDKType): _18.ABCIMessageLog; - toSDK(message: _18.ABCIMessageLog): _18.ABCIMessageLogSDKType; - fromAmino(object: _18.ABCIMessageLogAmino): _18.ABCIMessageLog; - toAmino(message: _18.ABCIMessageLog): _18.ABCIMessageLogAmino; - fromAminoMsg(object: _18.ABCIMessageLogAminoMsg): _18.ABCIMessageLog; - toAminoMsg(message: _18.ABCIMessageLog): _18.ABCIMessageLogAminoMsg; - fromProtoMsg(message: _18.ABCIMessageLogProtoMsg): _18.ABCIMessageLog; - toProto(message: _18.ABCIMessageLog): Uint8Array; - toProtoMsg(message: _18.ABCIMessageLog): _18.ABCIMessageLogProtoMsg; - }; - StringEvent: { - typeUrl: string; - aminoType: string; - is(o: any): o is _18.StringEvent; - isSDK(o: any): o is _18.StringEventSDKType; - isAmino(o: any): o is _18.StringEventAmino; - encode(message: _18.StringEvent, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _18.StringEvent; - fromJSON(object: any): _18.StringEvent; - toJSON(message: _18.StringEvent): unknown; - fromPartial(object: { - type?: string; - attributes?: { - key?: string; - value?: string; - }[]; - }): _18.StringEvent; - fromSDK(object: _18.StringEventSDKType): _18.StringEvent; - toSDK(message: _18.StringEvent): _18.StringEventSDKType; - fromAmino(object: _18.StringEventAmino): _18.StringEvent; - toAmino(message: _18.StringEvent): _18.StringEventAmino; - fromAminoMsg(object: _18.StringEventAminoMsg): _18.StringEvent; - toAminoMsg(message: _18.StringEvent): _18.StringEventAminoMsg; - fromProtoMsg(message: _18.StringEventProtoMsg): _18.StringEvent; - toProto(message: _18.StringEvent): Uint8Array; - toProtoMsg(message: _18.StringEvent): _18.StringEventProtoMsg; - }; - Attribute: { - typeUrl: string; - aminoType: string; - is(o: any): o is _18.Attribute; - isSDK(o: any): o is _18.AttributeSDKType; - isAmino(o: any): o is _18.AttributeAmino; - encode(message: _18.Attribute, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _18.Attribute; - fromJSON(object: any): _18.Attribute; - toJSON(message: _18.Attribute): unknown; - fromPartial(object: { - key?: string; - value?: string; - }): _18.Attribute; - fromSDK(object: _18.AttributeSDKType): _18.Attribute; - toSDK(message: _18.Attribute): _18.AttributeSDKType; - fromAmino(object: _18.AttributeAmino): _18.Attribute; - toAmino(message: _18.Attribute): _18.AttributeAmino; - fromAminoMsg(object: _18.AttributeAminoMsg): _18.Attribute; - toAminoMsg(message: _18.Attribute): _18.AttributeAminoMsg; - fromProtoMsg(message: _18.AttributeProtoMsg): _18.Attribute; - toProto(message: _18.Attribute): Uint8Array; - toProtoMsg(message: _18.Attribute): _18.AttributeProtoMsg; - }; - GasInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _18.GasInfo; - isSDK(o: any): o is _18.GasInfoSDKType; - isAmino(o: any): o is _18.GasInfoAmino; - encode(message: _18.GasInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _18.GasInfo; - fromJSON(object: any): _18.GasInfo; - toJSON(message: _18.GasInfo): unknown; - fromPartial(object: { - gasWanted?: bigint; - gasUsed?: bigint; - }): _18.GasInfo; - fromSDK(object: _18.GasInfoSDKType): _18.GasInfo; - toSDK(message: _18.GasInfo): _18.GasInfoSDKType; - fromAmino(object: _18.GasInfoAmino): _18.GasInfo; - toAmino(message: _18.GasInfo): _18.GasInfoAmino; - fromAminoMsg(object: _18.GasInfoAminoMsg): _18.GasInfo; - toAminoMsg(message: _18.GasInfo): _18.GasInfoAminoMsg; - fromProtoMsg(message: _18.GasInfoProtoMsg): _18.GasInfo; - toProto(message: _18.GasInfo): Uint8Array; - toProtoMsg(message: _18.GasInfo): _18.GasInfoProtoMsg; - }; - Result: { - typeUrl: string; - aminoType: string; - is(o: any): o is _18.Result; - isSDK(o: any): o is _18.ResultSDKType; - isAmino(o: any): o is _18.ResultAmino; - encode(message: _18.Result, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _18.Result; - fromJSON(object: any): _18.Result; - toJSON(message: _18.Result): unknown; - fromPartial(object: { - data?: Uint8Array; - log?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - msgResponses?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _18.Result; - fromSDK(object: _18.ResultSDKType): _18.Result; - toSDK(message: _18.Result): _18.ResultSDKType; - fromAmino(object: _18.ResultAmino): _18.Result; - toAmino(message: _18.Result): _18.ResultAmino; - fromAminoMsg(object: _18.ResultAminoMsg): _18.Result; - toAminoMsg(message: _18.Result): _18.ResultAminoMsg; - fromProtoMsg(message: _18.ResultProtoMsg): _18.Result; - toProto(message: _18.Result): Uint8Array; - toProtoMsg(message: _18.Result): _18.ResultProtoMsg; - }; - SimulationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _18.SimulationResponse; - isSDK(o: any): o is _18.SimulationResponseSDKType; - isAmino(o: any): o is _18.SimulationResponseAmino; - encode(message: _18.SimulationResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _18.SimulationResponse; - fromJSON(object: any): _18.SimulationResponse; - toJSON(message: _18.SimulationResponse): unknown; - fromPartial(object: { - gasInfo?: { - gasWanted?: bigint; - gasUsed?: bigint; - }; - result?: { - data?: Uint8Array; - log?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - msgResponses?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - }): _18.SimulationResponse; - fromSDK(object: _18.SimulationResponseSDKType): _18.SimulationResponse; - toSDK(message: _18.SimulationResponse): _18.SimulationResponseSDKType; - fromAmino(object: _18.SimulationResponseAmino): _18.SimulationResponse; - toAmino(message: _18.SimulationResponse): _18.SimulationResponseAmino; - fromAminoMsg(object: _18.SimulationResponseAminoMsg): _18.SimulationResponse; - toAminoMsg(message: _18.SimulationResponse): _18.SimulationResponseAminoMsg; - fromProtoMsg(message: _18.SimulationResponseProtoMsg): _18.SimulationResponse; - toProto(message: _18.SimulationResponse): Uint8Array; - toProtoMsg(message: _18.SimulationResponse): _18.SimulationResponseProtoMsg; - }; - MsgData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _18.MsgData; - isSDK(o: any): o is _18.MsgDataSDKType; - isAmino(o: any): o is _18.MsgDataAmino; - encode(message: _18.MsgData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _18.MsgData; - fromJSON(object: any): _18.MsgData; - toJSON(message: _18.MsgData): unknown; - fromPartial(object: { - msgType?: string; - data?: Uint8Array; - }): _18.MsgData; - fromSDK(object: _18.MsgDataSDKType): _18.MsgData; - toSDK(message: _18.MsgData): _18.MsgDataSDKType; - fromAmino(object: _18.MsgDataAmino): _18.MsgData; - toAmino(message: _18.MsgData): _18.MsgDataAmino; - fromAminoMsg(object: _18.MsgDataAminoMsg): _18.MsgData; - toAminoMsg(message: _18.MsgData): _18.MsgDataAminoMsg; - fromProtoMsg(message: _18.MsgDataProtoMsg): _18.MsgData; - toProto(message: _18.MsgData): Uint8Array; - toProtoMsg(message: _18.MsgData): _18.MsgDataProtoMsg; - }; - TxMsgData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _18.TxMsgData; - isSDK(o: any): o is _18.TxMsgDataSDKType; - isAmino(o: any): o is _18.TxMsgDataAmino; - encode(message: _18.TxMsgData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _18.TxMsgData; - fromJSON(object: any): _18.TxMsgData; - toJSON(message: _18.TxMsgData): unknown; - fromPartial(object: { - data?: { - msgType?: string; - data?: Uint8Array; - }[]; - msgResponses?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _18.TxMsgData; - fromSDK(object: _18.TxMsgDataSDKType): _18.TxMsgData; - toSDK(message: _18.TxMsgData): _18.TxMsgDataSDKType; - fromAmino(object: _18.TxMsgDataAmino): _18.TxMsgData; - toAmino(message: _18.TxMsgData): _18.TxMsgDataAmino; - fromAminoMsg(object: _18.TxMsgDataAminoMsg): _18.TxMsgData; - toAminoMsg(message: _18.TxMsgData): _18.TxMsgDataAminoMsg; - fromProtoMsg(message: _18.TxMsgDataProtoMsg): _18.TxMsgData; - toProto(message: _18.TxMsgData): Uint8Array; - toProtoMsg(message: _18.TxMsgData): _18.TxMsgDataProtoMsg; - }; - SearchTxsResult: { - typeUrl: string; - aminoType: string; - is(o: any): o is _18.SearchTxsResult; - isSDK(o: any): o is _18.SearchTxsResultSDKType; - isAmino(o: any): o is _18.SearchTxsResultAmino; - encode(message: _18.SearchTxsResult, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _18.SearchTxsResult; - fromJSON(object: any): _18.SearchTxsResult; - toJSON(message: _18.SearchTxsResult): unknown; - fromPartial(object: { - totalCount?: bigint; - count?: bigint; - pageNumber?: bigint; - pageTotal?: bigint; - limit?: bigint; - txs?: { - height?: bigint; - txhash?: string; - codespace?: string; - code?: number; - data?: string; - rawLog?: string; - logs?: { - msgIndex?: number; - log?: string; - events?: { - type?: string; - attributes?: { - key?: string; - value?: string; - }[]; - }[]; - }[]; - info?: string; - gasWanted?: bigint; - gasUsed?: bigint; - tx?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - timestamp?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }[]; - }): _18.SearchTxsResult; - fromSDK(object: _18.SearchTxsResultSDKType): _18.SearchTxsResult; - toSDK(message: _18.SearchTxsResult): _18.SearchTxsResultSDKType; - fromAmino(object: _18.SearchTxsResultAmino): _18.SearchTxsResult; - toAmino(message: _18.SearchTxsResult): _18.SearchTxsResultAmino; - fromAminoMsg(object: _18.SearchTxsResultAminoMsg): _18.SearchTxsResult; - toAminoMsg(message: _18.SearchTxsResult): _18.SearchTxsResultAminoMsg; - fromProtoMsg(message: _18.SearchTxsResultProtoMsg): _18.SearchTxsResult; - toProto(message: _18.SearchTxsResult): Uint8Array; - toProtoMsg(message: _18.SearchTxsResult): _18.SearchTxsResultProtoMsg; - }; - }; - } - namespace kv { - const v1beta1: { - Pairs: { - typeUrl: string; - aminoType: string; - is(o: any): o is _19.Pairs; - isSDK(o: any): o is _19.PairsSDKType; - isAmino(o: any): o is _19.PairsAmino; - encode(message: _19.Pairs, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _19.Pairs; - fromJSON(object: any): _19.Pairs; - toJSON(message: _19.Pairs): unknown; - fromPartial(object: { - pairs?: { - key?: Uint8Array; - value?: Uint8Array; - }[]; - }): _19.Pairs; - fromSDK(object: _19.PairsSDKType): _19.Pairs; - toSDK(message: _19.Pairs): _19.PairsSDKType; - fromAmino(object: _19.PairsAmino): _19.Pairs; - toAmino(message: _19.Pairs): _19.PairsAmino; - fromAminoMsg(object: _19.PairsAminoMsg): _19.Pairs; - toAminoMsg(message: _19.Pairs): _19.PairsAminoMsg; - fromProtoMsg(message: _19.PairsProtoMsg): _19.Pairs; - toProto(message: _19.Pairs): Uint8Array; - toProtoMsg(message: _19.Pairs): _19.PairsProtoMsg; - }; - Pair: { - typeUrl: string; - aminoType: string; - is(o: any): o is _19.Pair; - isSDK(o: any): o is _19.PairSDKType; - isAmino(o: any): o is _19.PairAmino; - encode(message: _19.Pair, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _19.Pair; - fromJSON(object: any): _19.Pair; - toJSON(message: _19.Pair): unknown; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - }): _19.Pair; - fromSDK(object: _19.PairSDKType): _19.Pair; - toSDK(message: _19.Pair): _19.PairSDKType; - fromAmino(object: _19.PairAmino): _19.Pair; - toAmino(message: _19.Pair): _19.PairAmino; - fromAminoMsg(object: _19.PairAminoMsg): _19.Pair; - toAminoMsg(message: _19.Pair): _19.PairAminoMsg; - fromProtoMsg(message: _19.PairProtoMsg): _19.Pair; - toProto(message: _19.Pair): Uint8Array; - toProtoMsg(message: _19.Pair): _19.PairProtoMsg; - }; - }; - } - namespace query { - const v1beta1: { - PageRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _20.PageRequest; - isSDK(o: any): o is _20.PageRequestSDKType; - isAmino(o: any): o is _20.PageRequestAmino; - encode(message: _20.PageRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _20.PageRequest; - fromJSON(object: any): _20.PageRequest; - toJSON(message: _20.PageRequest): unknown; - fromPartial(object: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }): _20.PageRequest; - fromSDK(object: _20.PageRequestSDKType): _20.PageRequest; - toSDK(message: _20.PageRequest): _20.PageRequestSDKType; - fromAmino(object: _20.PageRequestAmino): _20.PageRequest; - toAmino(message: _20.PageRequest): _20.PageRequestAmino; - fromAminoMsg(object: _20.PageRequestAminoMsg): _20.PageRequest; - toAminoMsg(message: _20.PageRequest): _20.PageRequestAminoMsg; - fromProtoMsg(message: _20.PageRequestProtoMsg): _20.PageRequest; - toProto(message: _20.PageRequest): Uint8Array; - toProtoMsg(message: _20.PageRequest): _20.PageRequestProtoMsg; - }; - PageResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _20.PageResponse; - isSDK(o: any): o is _20.PageResponseSDKType; - isAmino(o: any): o is _20.PageResponseAmino; - encode(message: _20.PageResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _20.PageResponse; - fromJSON(object: any): _20.PageResponse; - toJSON(message: _20.PageResponse): unknown; - fromPartial(object: { - nextKey?: Uint8Array; - total?: bigint; - }): _20.PageResponse; - fromSDK(object: _20.PageResponseSDKType): _20.PageResponse; - toSDK(message: _20.PageResponse): _20.PageResponseSDKType; - fromAmino(object: _20.PageResponseAmino): _20.PageResponse; - toAmino(message: _20.PageResponse): _20.PageResponseAmino; - fromAminoMsg(object: _20.PageResponseAminoMsg): _20.PageResponse; - toAminoMsg(message: _20.PageResponse): _20.PageResponseAminoMsg; - fromProtoMsg(message: _20.PageResponseProtoMsg): _20.PageResponse; - toProto(message: _20.PageResponse): Uint8Array; - toProtoMsg(message: _20.PageResponse): _20.PageResponseProtoMsg; - }; - }; - } - namespace reflection { - const v1beta1: { - ListAllInterfacesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _21.ListAllInterfacesRequest; - isSDK(o: any): o is _21.ListAllInterfacesRequestSDKType; - isAmino(o: any): o is _21.ListAllInterfacesRequestAmino; - encode(_: _21.ListAllInterfacesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _21.ListAllInterfacesRequest; - fromJSON(_: any): _21.ListAllInterfacesRequest; - toJSON(_: _21.ListAllInterfacesRequest): unknown; - fromPartial(_: {}): _21.ListAllInterfacesRequest; - fromSDK(_: _21.ListAllInterfacesRequestSDKType): _21.ListAllInterfacesRequest; - toSDK(_: _21.ListAllInterfacesRequest): _21.ListAllInterfacesRequestSDKType; - fromAmino(_: _21.ListAllInterfacesRequestAmino): _21.ListAllInterfacesRequest; - toAmino(_: _21.ListAllInterfacesRequest): _21.ListAllInterfacesRequestAmino; - fromAminoMsg(object: _21.ListAllInterfacesRequestAminoMsg): _21.ListAllInterfacesRequest; - toAminoMsg(message: _21.ListAllInterfacesRequest): _21.ListAllInterfacesRequestAminoMsg; - fromProtoMsg(message: _21.ListAllInterfacesRequestProtoMsg): _21.ListAllInterfacesRequest; - toProto(message: _21.ListAllInterfacesRequest): Uint8Array; - toProtoMsg(message: _21.ListAllInterfacesRequest): _21.ListAllInterfacesRequestProtoMsg; - }; - ListAllInterfacesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _21.ListAllInterfacesResponse; - isSDK(o: any): o is _21.ListAllInterfacesResponseSDKType; - isAmino(o: any): o is _21.ListAllInterfacesResponseAmino; - encode(message: _21.ListAllInterfacesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _21.ListAllInterfacesResponse; - fromJSON(object: any): _21.ListAllInterfacesResponse; - toJSON(message: _21.ListAllInterfacesResponse): unknown; - fromPartial(object: { - interfaceNames?: string[]; - }): _21.ListAllInterfacesResponse; - fromSDK(object: _21.ListAllInterfacesResponseSDKType): _21.ListAllInterfacesResponse; - toSDK(message: _21.ListAllInterfacesResponse): _21.ListAllInterfacesResponseSDKType; - fromAmino(object: _21.ListAllInterfacesResponseAmino): _21.ListAllInterfacesResponse; - toAmino(message: _21.ListAllInterfacesResponse): _21.ListAllInterfacesResponseAmino; - fromAminoMsg(object: _21.ListAllInterfacesResponseAminoMsg): _21.ListAllInterfacesResponse; - toAminoMsg(message: _21.ListAllInterfacesResponse): _21.ListAllInterfacesResponseAminoMsg; - fromProtoMsg(message: _21.ListAllInterfacesResponseProtoMsg): _21.ListAllInterfacesResponse; - toProto(message: _21.ListAllInterfacesResponse): Uint8Array; - toProtoMsg(message: _21.ListAllInterfacesResponse): _21.ListAllInterfacesResponseProtoMsg; - }; - ListImplementationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _21.ListImplementationsRequest; - isSDK(o: any): o is _21.ListImplementationsRequestSDKType; - isAmino(o: any): o is _21.ListImplementationsRequestAmino; - encode(message: _21.ListImplementationsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _21.ListImplementationsRequest; - fromJSON(object: any): _21.ListImplementationsRequest; - toJSON(message: _21.ListImplementationsRequest): unknown; - fromPartial(object: { - interfaceName?: string; - }): _21.ListImplementationsRequest; - fromSDK(object: _21.ListImplementationsRequestSDKType): _21.ListImplementationsRequest; - toSDK(message: _21.ListImplementationsRequest): _21.ListImplementationsRequestSDKType; - fromAmino(object: _21.ListImplementationsRequestAmino): _21.ListImplementationsRequest; - toAmino(message: _21.ListImplementationsRequest): _21.ListImplementationsRequestAmino; - fromAminoMsg(object: _21.ListImplementationsRequestAminoMsg): _21.ListImplementationsRequest; - toAminoMsg(message: _21.ListImplementationsRequest): _21.ListImplementationsRequestAminoMsg; - fromProtoMsg(message: _21.ListImplementationsRequestProtoMsg): _21.ListImplementationsRequest; - toProto(message: _21.ListImplementationsRequest): Uint8Array; - toProtoMsg(message: _21.ListImplementationsRequest): _21.ListImplementationsRequestProtoMsg; - }; - ListImplementationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _21.ListImplementationsResponse; - isSDK(o: any): o is _21.ListImplementationsResponseSDKType; - isAmino(o: any): o is _21.ListImplementationsResponseAmino; - encode(message: _21.ListImplementationsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _21.ListImplementationsResponse; - fromJSON(object: any): _21.ListImplementationsResponse; - toJSON(message: _21.ListImplementationsResponse): unknown; - fromPartial(object: { - implementationMessageNames?: string[]; - }): _21.ListImplementationsResponse; - fromSDK(object: _21.ListImplementationsResponseSDKType): _21.ListImplementationsResponse; - toSDK(message: _21.ListImplementationsResponse): _21.ListImplementationsResponseSDKType; - fromAmino(object: _21.ListImplementationsResponseAmino): _21.ListImplementationsResponse; - toAmino(message: _21.ListImplementationsResponse): _21.ListImplementationsResponseAmino; - fromAminoMsg(object: _21.ListImplementationsResponseAminoMsg): _21.ListImplementationsResponse; - toAminoMsg(message: _21.ListImplementationsResponse): _21.ListImplementationsResponseAminoMsg; - fromProtoMsg(message: _21.ListImplementationsResponseProtoMsg): _21.ListImplementationsResponse; - toProto(message: _21.ListImplementationsResponse): Uint8Array; - toProtoMsg(message: _21.ListImplementationsResponse): _21.ListImplementationsResponseProtoMsg; - }; - }; - const v2alpha1: { - AppDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.AppDescriptor; - isSDK(o: any): o is _22.AppDescriptorSDKType; - isAmino(o: any): o is _22.AppDescriptorAmino; - encode(message: _22.AppDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.AppDescriptor; - fromJSON(object: any): _22.AppDescriptor; - toJSON(message: _22.AppDescriptor): unknown; - fromPartial(object: { - authn?: { - signModes?: { - name?: string; - number?: number; - authnInfoProviderMethodFullname?: string; - }[]; - }; - chain?: { - id?: string; - }; - codec?: { - interfaces?: { - fullname?: string; - interfaceAcceptingMessages?: { - fullname?: string; - fieldDescriptorNames?: string[]; - }[]; - interfaceImplementers?: { - fullname?: string; - typeUrl?: string; - }[]; - }[]; - }; - configuration?: { - bech32AccountAddressPrefix?: string; - }; - queryServices?: { - queryServices?: { - fullname?: string; - isModule?: boolean; - methods?: { - name?: string; - fullQueryPath?: string; - }[]; - }[]; - }; - tx?: { - fullname?: string; - msgs?: { - msgTypeUrl?: string; - }[]; - }; - }): _22.AppDescriptor; - fromSDK(object: _22.AppDescriptorSDKType): _22.AppDescriptor; - toSDK(message: _22.AppDescriptor): _22.AppDescriptorSDKType; - fromAmino(object: _22.AppDescriptorAmino): _22.AppDescriptor; - toAmino(message: _22.AppDescriptor): _22.AppDescriptorAmino; - fromAminoMsg(object: _22.AppDescriptorAminoMsg): _22.AppDescriptor; - toAminoMsg(message: _22.AppDescriptor): _22.AppDescriptorAminoMsg; - fromProtoMsg(message: _22.AppDescriptorProtoMsg): _22.AppDescriptor; - toProto(message: _22.AppDescriptor): Uint8Array; - toProtoMsg(message: _22.AppDescriptor): _22.AppDescriptorProtoMsg; - }; - TxDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.TxDescriptor; - isSDK(o: any): o is _22.TxDescriptorSDKType; - isAmino(o: any): o is _22.TxDescriptorAmino; - encode(message: _22.TxDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.TxDescriptor; - fromJSON(object: any): _22.TxDescriptor; - toJSON(message: _22.TxDescriptor): unknown; - fromPartial(object: { - fullname?: string; - msgs?: { - msgTypeUrl?: string; - }[]; - }): _22.TxDescriptor; - fromSDK(object: _22.TxDescriptorSDKType): _22.TxDescriptor; - toSDK(message: _22.TxDescriptor): _22.TxDescriptorSDKType; - fromAmino(object: _22.TxDescriptorAmino): _22.TxDescriptor; - toAmino(message: _22.TxDescriptor): _22.TxDescriptorAmino; - fromAminoMsg(object: _22.TxDescriptorAminoMsg): _22.TxDescriptor; - toAminoMsg(message: _22.TxDescriptor): _22.TxDescriptorAminoMsg; - fromProtoMsg(message: _22.TxDescriptorProtoMsg): _22.TxDescriptor; - toProto(message: _22.TxDescriptor): Uint8Array; - toProtoMsg(message: _22.TxDescriptor): _22.TxDescriptorProtoMsg; - }; - AuthnDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.AuthnDescriptor; - isSDK(o: any): o is _22.AuthnDescriptorSDKType; - isAmino(o: any): o is _22.AuthnDescriptorAmino; - encode(message: _22.AuthnDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.AuthnDescriptor; - fromJSON(object: any): _22.AuthnDescriptor; - toJSON(message: _22.AuthnDescriptor): unknown; - fromPartial(object: { - signModes?: { - name?: string; - number?: number; - authnInfoProviderMethodFullname?: string; - }[]; - }): _22.AuthnDescriptor; - fromSDK(object: _22.AuthnDescriptorSDKType): _22.AuthnDescriptor; - toSDK(message: _22.AuthnDescriptor): _22.AuthnDescriptorSDKType; - fromAmino(object: _22.AuthnDescriptorAmino): _22.AuthnDescriptor; - toAmino(message: _22.AuthnDescriptor): _22.AuthnDescriptorAmino; - fromAminoMsg(object: _22.AuthnDescriptorAminoMsg): _22.AuthnDescriptor; - toAminoMsg(message: _22.AuthnDescriptor): _22.AuthnDescriptorAminoMsg; - fromProtoMsg(message: _22.AuthnDescriptorProtoMsg): _22.AuthnDescriptor; - toProto(message: _22.AuthnDescriptor): Uint8Array; - toProtoMsg(message: _22.AuthnDescriptor): _22.AuthnDescriptorProtoMsg; - }; - SigningModeDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.SigningModeDescriptor; - isSDK(o: any): o is _22.SigningModeDescriptorSDKType; - isAmino(o: any): o is _22.SigningModeDescriptorAmino; - encode(message: _22.SigningModeDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.SigningModeDescriptor; - fromJSON(object: any): _22.SigningModeDescriptor; - toJSON(message: _22.SigningModeDescriptor): unknown; - fromPartial(object: { - name?: string; - number?: number; - authnInfoProviderMethodFullname?: string; - }): _22.SigningModeDescriptor; - fromSDK(object: _22.SigningModeDescriptorSDKType): _22.SigningModeDescriptor; - toSDK(message: _22.SigningModeDescriptor): _22.SigningModeDescriptorSDKType; - fromAmino(object: _22.SigningModeDescriptorAmino): _22.SigningModeDescriptor; - toAmino(message: _22.SigningModeDescriptor): _22.SigningModeDescriptorAmino; - fromAminoMsg(object: _22.SigningModeDescriptorAminoMsg): _22.SigningModeDescriptor; - toAminoMsg(message: _22.SigningModeDescriptor): _22.SigningModeDescriptorAminoMsg; - fromProtoMsg(message: _22.SigningModeDescriptorProtoMsg): _22.SigningModeDescriptor; - toProto(message: _22.SigningModeDescriptor): Uint8Array; - toProtoMsg(message: _22.SigningModeDescriptor): _22.SigningModeDescriptorProtoMsg; - }; - ChainDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.ChainDescriptor; - isSDK(o: any): o is _22.ChainDescriptorSDKType; - isAmino(o: any): o is _22.ChainDescriptorAmino; - encode(message: _22.ChainDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.ChainDescriptor; - fromJSON(object: any): _22.ChainDescriptor; - toJSON(message: _22.ChainDescriptor): unknown; - fromPartial(object: { - id?: string; - }): _22.ChainDescriptor; - fromSDK(object: _22.ChainDescriptorSDKType): _22.ChainDescriptor; - toSDK(message: _22.ChainDescriptor): _22.ChainDescriptorSDKType; - fromAmino(object: _22.ChainDescriptorAmino): _22.ChainDescriptor; - toAmino(message: _22.ChainDescriptor): _22.ChainDescriptorAmino; - fromAminoMsg(object: _22.ChainDescriptorAminoMsg): _22.ChainDescriptor; - toAminoMsg(message: _22.ChainDescriptor): _22.ChainDescriptorAminoMsg; - fromProtoMsg(message: _22.ChainDescriptorProtoMsg): _22.ChainDescriptor; - toProto(message: _22.ChainDescriptor): Uint8Array; - toProtoMsg(message: _22.ChainDescriptor): _22.ChainDescriptorProtoMsg; - }; - CodecDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.CodecDescriptor; - isSDK(o: any): o is _22.CodecDescriptorSDKType; - isAmino(o: any): o is _22.CodecDescriptorAmino; - encode(message: _22.CodecDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.CodecDescriptor; - fromJSON(object: any): _22.CodecDescriptor; - toJSON(message: _22.CodecDescriptor): unknown; - fromPartial(object: { - interfaces?: { - fullname?: string; - interfaceAcceptingMessages?: { - fullname?: string; - fieldDescriptorNames?: string[]; - }[]; - interfaceImplementers?: { - fullname?: string; - typeUrl?: string; - }[]; - }[]; - }): _22.CodecDescriptor; - fromSDK(object: _22.CodecDescriptorSDKType): _22.CodecDescriptor; - toSDK(message: _22.CodecDescriptor): _22.CodecDescriptorSDKType; - fromAmino(object: _22.CodecDescriptorAmino): _22.CodecDescriptor; - toAmino(message: _22.CodecDescriptor): _22.CodecDescriptorAmino; - fromAminoMsg(object: _22.CodecDescriptorAminoMsg): _22.CodecDescriptor; - toAminoMsg(message: _22.CodecDescriptor): _22.CodecDescriptorAminoMsg; - fromProtoMsg(message: _22.CodecDescriptorProtoMsg): _22.CodecDescriptor; - toProto(message: _22.CodecDescriptor): Uint8Array; - toProtoMsg(message: _22.CodecDescriptor): _22.CodecDescriptorProtoMsg; - }; - InterfaceDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.InterfaceDescriptor; - isSDK(o: any): o is _22.InterfaceDescriptorSDKType; - isAmino(o: any): o is _22.InterfaceDescriptorAmino; - encode(message: _22.InterfaceDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.InterfaceDescriptor; - fromJSON(object: any): _22.InterfaceDescriptor; - toJSON(message: _22.InterfaceDescriptor): unknown; - fromPartial(object: { - fullname?: string; - interfaceAcceptingMessages?: { - fullname?: string; - fieldDescriptorNames?: string[]; - }[]; - interfaceImplementers?: { - fullname?: string; - typeUrl?: string; - }[]; - }): _22.InterfaceDescriptor; - fromSDK(object: _22.InterfaceDescriptorSDKType): _22.InterfaceDescriptor; - toSDK(message: _22.InterfaceDescriptor): _22.InterfaceDescriptorSDKType; - fromAmino(object: _22.InterfaceDescriptorAmino): _22.InterfaceDescriptor; - toAmino(message: _22.InterfaceDescriptor): _22.InterfaceDescriptorAmino; - fromAminoMsg(object: _22.InterfaceDescriptorAminoMsg): _22.InterfaceDescriptor; - toAminoMsg(message: _22.InterfaceDescriptor): _22.InterfaceDescriptorAminoMsg; - fromProtoMsg(message: _22.InterfaceDescriptorProtoMsg): _22.InterfaceDescriptor; - toProto(message: _22.InterfaceDescriptor): Uint8Array; - toProtoMsg(message: _22.InterfaceDescriptor): _22.InterfaceDescriptorProtoMsg; - }; - InterfaceImplementerDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.InterfaceImplementerDescriptor; - isSDK(o: any): o is _22.InterfaceImplementerDescriptorSDKType; - isAmino(o: any): o is _22.InterfaceImplementerDescriptorAmino; - encode(message: _22.InterfaceImplementerDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.InterfaceImplementerDescriptor; - fromJSON(object: any): _22.InterfaceImplementerDescriptor; - toJSON(message: _22.InterfaceImplementerDescriptor): unknown; - fromPartial(object: { - fullname?: string; - typeUrl?: string; - }): _22.InterfaceImplementerDescriptor; - fromSDK(object: _22.InterfaceImplementerDescriptorSDKType): _22.InterfaceImplementerDescriptor; - toSDK(message: _22.InterfaceImplementerDescriptor): _22.InterfaceImplementerDescriptorSDKType; - fromAmino(object: _22.InterfaceImplementerDescriptorAmino): _22.InterfaceImplementerDescriptor; - toAmino(message: _22.InterfaceImplementerDescriptor): _22.InterfaceImplementerDescriptorAmino; - fromAminoMsg(object: _22.InterfaceImplementerDescriptorAminoMsg): _22.InterfaceImplementerDescriptor; - toAminoMsg(message: _22.InterfaceImplementerDescriptor): _22.InterfaceImplementerDescriptorAminoMsg; - fromProtoMsg(message: _22.InterfaceImplementerDescriptorProtoMsg): _22.InterfaceImplementerDescriptor; - toProto(message: _22.InterfaceImplementerDescriptor): Uint8Array; - toProtoMsg(message: _22.InterfaceImplementerDescriptor): _22.InterfaceImplementerDescriptorProtoMsg; - }; - InterfaceAcceptingMessageDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.InterfaceAcceptingMessageDescriptor; - isSDK(o: any): o is _22.InterfaceAcceptingMessageDescriptorSDKType; - isAmino(o: any): o is _22.InterfaceAcceptingMessageDescriptorAmino; - encode(message: _22.InterfaceAcceptingMessageDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.InterfaceAcceptingMessageDescriptor; - fromJSON(object: any): _22.InterfaceAcceptingMessageDescriptor; - toJSON(message: _22.InterfaceAcceptingMessageDescriptor): unknown; - fromPartial(object: { - fullname?: string; - fieldDescriptorNames?: string[]; - }): _22.InterfaceAcceptingMessageDescriptor; - fromSDK(object: _22.InterfaceAcceptingMessageDescriptorSDKType): _22.InterfaceAcceptingMessageDescriptor; - toSDK(message: _22.InterfaceAcceptingMessageDescriptor): _22.InterfaceAcceptingMessageDescriptorSDKType; - fromAmino(object: _22.InterfaceAcceptingMessageDescriptorAmino): _22.InterfaceAcceptingMessageDescriptor; - toAmino(message: _22.InterfaceAcceptingMessageDescriptor): _22.InterfaceAcceptingMessageDescriptorAmino; - fromAminoMsg(object: _22.InterfaceAcceptingMessageDescriptorAminoMsg): _22.InterfaceAcceptingMessageDescriptor; - toAminoMsg(message: _22.InterfaceAcceptingMessageDescriptor): _22.InterfaceAcceptingMessageDescriptorAminoMsg; - fromProtoMsg(message: _22.InterfaceAcceptingMessageDescriptorProtoMsg): _22.InterfaceAcceptingMessageDescriptor; - toProto(message: _22.InterfaceAcceptingMessageDescriptor): Uint8Array; - toProtoMsg(message: _22.InterfaceAcceptingMessageDescriptor): _22.InterfaceAcceptingMessageDescriptorProtoMsg; - }; - ConfigurationDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.ConfigurationDescriptor; - isSDK(o: any): o is _22.ConfigurationDescriptorSDKType; - isAmino(o: any): o is _22.ConfigurationDescriptorAmino; - encode(message: _22.ConfigurationDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.ConfigurationDescriptor; - fromJSON(object: any): _22.ConfigurationDescriptor; - toJSON(message: _22.ConfigurationDescriptor): unknown; - fromPartial(object: { - bech32AccountAddressPrefix?: string; - }): _22.ConfigurationDescriptor; - fromSDK(object: _22.ConfigurationDescriptorSDKType): _22.ConfigurationDescriptor; - toSDK(message: _22.ConfigurationDescriptor): _22.ConfigurationDescriptorSDKType; - fromAmino(object: _22.ConfigurationDescriptorAmino): _22.ConfigurationDescriptor; - toAmino(message: _22.ConfigurationDescriptor): _22.ConfigurationDescriptorAmino; - fromAminoMsg(object: _22.ConfigurationDescriptorAminoMsg): _22.ConfigurationDescriptor; - toAminoMsg(message: _22.ConfigurationDescriptor): _22.ConfigurationDescriptorAminoMsg; - fromProtoMsg(message: _22.ConfigurationDescriptorProtoMsg): _22.ConfigurationDescriptor; - toProto(message: _22.ConfigurationDescriptor): Uint8Array; - toProtoMsg(message: _22.ConfigurationDescriptor): _22.ConfigurationDescriptorProtoMsg; - }; - MsgDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.MsgDescriptor; - isSDK(o: any): o is _22.MsgDescriptorSDKType; - isAmino(o: any): o is _22.MsgDescriptorAmino; - encode(message: _22.MsgDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.MsgDescriptor; - fromJSON(object: any): _22.MsgDescriptor; - toJSON(message: _22.MsgDescriptor): unknown; - fromPartial(object: { - msgTypeUrl?: string; - }): _22.MsgDescriptor; - fromSDK(object: _22.MsgDescriptorSDKType): _22.MsgDescriptor; - toSDK(message: _22.MsgDescriptor): _22.MsgDescriptorSDKType; - fromAmino(object: _22.MsgDescriptorAmino): _22.MsgDescriptor; - toAmino(message: _22.MsgDescriptor): _22.MsgDescriptorAmino; - fromAminoMsg(object: _22.MsgDescriptorAminoMsg): _22.MsgDescriptor; - toAminoMsg(message: _22.MsgDescriptor): _22.MsgDescriptorAminoMsg; - fromProtoMsg(message: _22.MsgDescriptorProtoMsg): _22.MsgDescriptor; - toProto(message: _22.MsgDescriptor): Uint8Array; - toProtoMsg(message: _22.MsgDescriptor): _22.MsgDescriptorProtoMsg; - }; - GetAuthnDescriptorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.GetAuthnDescriptorRequest; - isSDK(o: any): o is _22.GetAuthnDescriptorRequestSDKType; - isAmino(o: any): o is _22.GetAuthnDescriptorRequestAmino; - encode(_: _22.GetAuthnDescriptorRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.GetAuthnDescriptorRequest; - fromJSON(_: any): _22.GetAuthnDescriptorRequest; - toJSON(_: _22.GetAuthnDescriptorRequest): unknown; - fromPartial(_: {}): _22.GetAuthnDescriptorRequest; - fromSDK(_: _22.GetAuthnDescriptorRequestSDKType): _22.GetAuthnDescriptorRequest; - toSDK(_: _22.GetAuthnDescriptorRequest): _22.GetAuthnDescriptorRequestSDKType; - fromAmino(_: _22.GetAuthnDescriptorRequestAmino): _22.GetAuthnDescriptorRequest; - toAmino(_: _22.GetAuthnDescriptorRequest): _22.GetAuthnDescriptorRequestAmino; - fromAminoMsg(object: _22.GetAuthnDescriptorRequestAminoMsg): _22.GetAuthnDescriptorRequest; - toAminoMsg(message: _22.GetAuthnDescriptorRequest): _22.GetAuthnDescriptorRequestAminoMsg; - fromProtoMsg(message: _22.GetAuthnDescriptorRequestProtoMsg): _22.GetAuthnDescriptorRequest; - toProto(message: _22.GetAuthnDescriptorRequest): Uint8Array; - toProtoMsg(message: _22.GetAuthnDescriptorRequest): _22.GetAuthnDescriptorRequestProtoMsg; - }; - GetAuthnDescriptorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.GetAuthnDescriptorResponse; - isSDK(o: any): o is _22.GetAuthnDescriptorResponseSDKType; - isAmino(o: any): o is _22.GetAuthnDescriptorResponseAmino; - encode(message: _22.GetAuthnDescriptorResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.GetAuthnDescriptorResponse; - fromJSON(object: any): _22.GetAuthnDescriptorResponse; - toJSON(message: _22.GetAuthnDescriptorResponse): unknown; - fromPartial(object: { - authn?: { - signModes?: { - name?: string; - number?: number; - authnInfoProviderMethodFullname?: string; - }[]; - }; - }): _22.GetAuthnDescriptorResponse; - fromSDK(object: _22.GetAuthnDescriptorResponseSDKType): _22.GetAuthnDescriptorResponse; - toSDK(message: _22.GetAuthnDescriptorResponse): _22.GetAuthnDescriptorResponseSDKType; - fromAmino(object: _22.GetAuthnDescriptorResponseAmino): _22.GetAuthnDescriptorResponse; - toAmino(message: _22.GetAuthnDescriptorResponse): _22.GetAuthnDescriptorResponseAmino; - fromAminoMsg(object: _22.GetAuthnDescriptorResponseAminoMsg): _22.GetAuthnDescriptorResponse; - toAminoMsg(message: _22.GetAuthnDescriptorResponse): _22.GetAuthnDescriptorResponseAminoMsg; - fromProtoMsg(message: _22.GetAuthnDescriptorResponseProtoMsg): _22.GetAuthnDescriptorResponse; - toProto(message: _22.GetAuthnDescriptorResponse): Uint8Array; - toProtoMsg(message: _22.GetAuthnDescriptorResponse): _22.GetAuthnDescriptorResponseProtoMsg; - }; - GetChainDescriptorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.GetChainDescriptorRequest; - isSDK(o: any): o is _22.GetChainDescriptorRequestSDKType; - isAmino(o: any): o is _22.GetChainDescriptorRequestAmino; - encode(_: _22.GetChainDescriptorRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.GetChainDescriptorRequest; - fromJSON(_: any): _22.GetChainDescriptorRequest; - toJSON(_: _22.GetChainDescriptorRequest): unknown; - fromPartial(_: {}): _22.GetChainDescriptorRequest; - fromSDK(_: _22.GetChainDescriptorRequestSDKType): _22.GetChainDescriptorRequest; - toSDK(_: _22.GetChainDescriptorRequest): _22.GetChainDescriptorRequestSDKType; - fromAmino(_: _22.GetChainDescriptorRequestAmino): _22.GetChainDescriptorRequest; - toAmino(_: _22.GetChainDescriptorRequest): _22.GetChainDescriptorRequestAmino; - fromAminoMsg(object: _22.GetChainDescriptorRequestAminoMsg): _22.GetChainDescriptorRequest; - toAminoMsg(message: _22.GetChainDescriptorRequest): _22.GetChainDescriptorRequestAminoMsg; - fromProtoMsg(message: _22.GetChainDescriptorRequestProtoMsg): _22.GetChainDescriptorRequest; - toProto(message: _22.GetChainDescriptorRequest): Uint8Array; - toProtoMsg(message: _22.GetChainDescriptorRequest): _22.GetChainDescriptorRequestProtoMsg; - }; - GetChainDescriptorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.GetChainDescriptorResponse; - isSDK(o: any): o is _22.GetChainDescriptorResponseSDKType; - isAmino(o: any): o is _22.GetChainDescriptorResponseAmino; - encode(message: _22.GetChainDescriptorResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.GetChainDescriptorResponse; - fromJSON(object: any): _22.GetChainDescriptorResponse; - toJSON(message: _22.GetChainDescriptorResponse): unknown; - fromPartial(object: { - chain?: { - id?: string; - }; - }): _22.GetChainDescriptorResponse; - fromSDK(object: _22.GetChainDescriptorResponseSDKType): _22.GetChainDescriptorResponse; - toSDK(message: _22.GetChainDescriptorResponse): _22.GetChainDescriptorResponseSDKType; - fromAmino(object: _22.GetChainDescriptorResponseAmino): _22.GetChainDescriptorResponse; - toAmino(message: _22.GetChainDescriptorResponse): _22.GetChainDescriptorResponseAmino; - fromAminoMsg(object: _22.GetChainDescriptorResponseAminoMsg): _22.GetChainDescriptorResponse; - toAminoMsg(message: _22.GetChainDescriptorResponse): _22.GetChainDescriptorResponseAminoMsg; - fromProtoMsg(message: _22.GetChainDescriptorResponseProtoMsg): _22.GetChainDescriptorResponse; - toProto(message: _22.GetChainDescriptorResponse): Uint8Array; - toProtoMsg(message: _22.GetChainDescriptorResponse): _22.GetChainDescriptorResponseProtoMsg; - }; - GetCodecDescriptorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.GetCodecDescriptorRequest; - isSDK(o: any): o is _22.GetCodecDescriptorRequestSDKType; - isAmino(o: any): o is _22.GetCodecDescriptorRequestAmino; - encode(_: _22.GetCodecDescriptorRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.GetCodecDescriptorRequest; - fromJSON(_: any): _22.GetCodecDescriptorRequest; - toJSON(_: _22.GetCodecDescriptorRequest): unknown; - fromPartial(_: {}): _22.GetCodecDescriptorRequest; - fromSDK(_: _22.GetCodecDescriptorRequestSDKType): _22.GetCodecDescriptorRequest; - toSDK(_: _22.GetCodecDescriptorRequest): _22.GetCodecDescriptorRequestSDKType; - fromAmino(_: _22.GetCodecDescriptorRequestAmino): _22.GetCodecDescriptorRequest; - toAmino(_: _22.GetCodecDescriptorRequest): _22.GetCodecDescriptorRequestAmino; - fromAminoMsg(object: _22.GetCodecDescriptorRequestAminoMsg): _22.GetCodecDescriptorRequest; - toAminoMsg(message: _22.GetCodecDescriptorRequest): _22.GetCodecDescriptorRequestAminoMsg; - fromProtoMsg(message: _22.GetCodecDescriptorRequestProtoMsg): _22.GetCodecDescriptorRequest; - toProto(message: _22.GetCodecDescriptorRequest): Uint8Array; - toProtoMsg(message: _22.GetCodecDescriptorRequest): _22.GetCodecDescriptorRequestProtoMsg; - }; - GetCodecDescriptorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.GetCodecDescriptorResponse; - isSDK(o: any): o is _22.GetCodecDescriptorResponseSDKType; - isAmino(o: any): o is _22.GetCodecDescriptorResponseAmino; - encode(message: _22.GetCodecDescriptorResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.GetCodecDescriptorResponse; - fromJSON(object: any): _22.GetCodecDescriptorResponse; - toJSON(message: _22.GetCodecDescriptorResponse): unknown; - fromPartial(object: { - codec?: { - interfaces?: { - fullname?: string; - interfaceAcceptingMessages?: { - fullname?: string; - fieldDescriptorNames?: string[]; - }[]; - interfaceImplementers?: { - fullname?: string; - typeUrl?: string; - }[]; - }[]; - }; - }): _22.GetCodecDescriptorResponse; - fromSDK(object: _22.GetCodecDescriptorResponseSDKType): _22.GetCodecDescriptorResponse; - toSDK(message: _22.GetCodecDescriptorResponse): _22.GetCodecDescriptorResponseSDKType; - fromAmino(object: _22.GetCodecDescriptorResponseAmino): _22.GetCodecDescriptorResponse; - toAmino(message: _22.GetCodecDescriptorResponse): _22.GetCodecDescriptorResponseAmino; - fromAminoMsg(object: _22.GetCodecDescriptorResponseAminoMsg): _22.GetCodecDescriptorResponse; - toAminoMsg(message: _22.GetCodecDescriptorResponse): _22.GetCodecDescriptorResponseAminoMsg; - fromProtoMsg(message: _22.GetCodecDescriptorResponseProtoMsg): _22.GetCodecDescriptorResponse; - toProto(message: _22.GetCodecDescriptorResponse): Uint8Array; - toProtoMsg(message: _22.GetCodecDescriptorResponse): _22.GetCodecDescriptorResponseProtoMsg; - }; - GetConfigurationDescriptorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.GetConfigurationDescriptorRequest; - isSDK(o: any): o is _22.GetConfigurationDescriptorRequestSDKType; - isAmino(o: any): o is _22.GetConfigurationDescriptorRequestAmino; - encode(_: _22.GetConfigurationDescriptorRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.GetConfigurationDescriptorRequest; - fromJSON(_: any): _22.GetConfigurationDescriptorRequest; - toJSON(_: _22.GetConfigurationDescriptorRequest): unknown; - fromPartial(_: {}): _22.GetConfigurationDescriptorRequest; - fromSDK(_: _22.GetConfigurationDescriptorRequestSDKType): _22.GetConfigurationDescriptorRequest; - toSDK(_: _22.GetConfigurationDescriptorRequest): _22.GetConfigurationDescriptorRequestSDKType; - fromAmino(_: _22.GetConfigurationDescriptorRequestAmino): _22.GetConfigurationDescriptorRequest; - toAmino(_: _22.GetConfigurationDescriptorRequest): _22.GetConfigurationDescriptorRequestAmino; - fromAminoMsg(object: _22.GetConfigurationDescriptorRequestAminoMsg): _22.GetConfigurationDescriptorRequest; - toAminoMsg(message: _22.GetConfigurationDescriptorRequest): _22.GetConfigurationDescriptorRequestAminoMsg; - fromProtoMsg(message: _22.GetConfigurationDescriptorRequestProtoMsg): _22.GetConfigurationDescriptorRequest; - toProto(message: _22.GetConfigurationDescriptorRequest): Uint8Array; - toProtoMsg(message: _22.GetConfigurationDescriptorRequest): _22.GetConfigurationDescriptorRequestProtoMsg; - }; - GetConfigurationDescriptorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.GetConfigurationDescriptorResponse; - isSDK(o: any): o is _22.GetConfigurationDescriptorResponseSDKType; - isAmino(o: any): o is _22.GetConfigurationDescriptorResponseAmino; - encode(message: _22.GetConfigurationDescriptorResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.GetConfigurationDescriptorResponse; - fromJSON(object: any): _22.GetConfigurationDescriptorResponse; - toJSON(message: _22.GetConfigurationDescriptorResponse): unknown; - fromPartial(object: { - config?: { - bech32AccountAddressPrefix?: string; - }; - }): _22.GetConfigurationDescriptorResponse; - fromSDK(object: _22.GetConfigurationDescriptorResponseSDKType): _22.GetConfigurationDescriptorResponse; - toSDK(message: _22.GetConfigurationDescriptorResponse): _22.GetConfigurationDescriptorResponseSDKType; - fromAmino(object: _22.GetConfigurationDescriptorResponseAmino): _22.GetConfigurationDescriptorResponse; - toAmino(message: _22.GetConfigurationDescriptorResponse): _22.GetConfigurationDescriptorResponseAmino; - fromAminoMsg(object: _22.GetConfigurationDescriptorResponseAminoMsg): _22.GetConfigurationDescriptorResponse; - toAminoMsg(message: _22.GetConfigurationDescriptorResponse): _22.GetConfigurationDescriptorResponseAminoMsg; - fromProtoMsg(message: _22.GetConfigurationDescriptorResponseProtoMsg): _22.GetConfigurationDescriptorResponse; - toProto(message: _22.GetConfigurationDescriptorResponse): Uint8Array; - toProtoMsg(message: _22.GetConfigurationDescriptorResponse): _22.GetConfigurationDescriptorResponseProtoMsg; - }; - GetQueryServicesDescriptorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.GetQueryServicesDescriptorRequest; - isSDK(o: any): o is _22.GetQueryServicesDescriptorRequestSDKType; - isAmino(o: any): o is _22.GetQueryServicesDescriptorRequestAmino; - encode(_: _22.GetQueryServicesDescriptorRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.GetQueryServicesDescriptorRequest; - fromJSON(_: any): _22.GetQueryServicesDescriptorRequest; - toJSON(_: _22.GetQueryServicesDescriptorRequest): unknown; - fromPartial(_: {}): _22.GetQueryServicesDescriptorRequest; - fromSDK(_: _22.GetQueryServicesDescriptorRequestSDKType): _22.GetQueryServicesDescriptorRequest; - toSDK(_: _22.GetQueryServicesDescriptorRequest): _22.GetQueryServicesDescriptorRequestSDKType; - fromAmino(_: _22.GetQueryServicesDescriptorRequestAmino): _22.GetQueryServicesDescriptorRequest; - toAmino(_: _22.GetQueryServicesDescriptorRequest): _22.GetQueryServicesDescriptorRequestAmino; - fromAminoMsg(object: _22.GetQueryServicesDescriptorRequestAminoMsg): _22.GetQueryServicesDescriptorRequest; - toAminoMsg(message: _22.GetQueryServicesDescriptorRequest): _22.GetQueryServicesDescriptorRequestAminoMsg; - fromProtoMsg(message: _22.GetQueryServicesDescriptorRequestProtoMsg): _22.GetQueryServicesDescriptorRequest; - toProto(message: _22.GetQueryServicesDescriptorRequest): Uint8Array; - toProtoMsg(message: _22.GetQueryServicesDescriptorRequest): _22.GetQueryServicesDescriptorRequestProtoMsg; - }; - GetQueryServicesDescriptorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.GetQueryServicesDescriptorResponse; - isSDK(o: any): o is _22.GetQueryServicesDescriptorResponseSDKType; - isAmino(o: any): o is _22.GetQueryServicesDescriptorResponseAmino; - encode(message: _22.GetQueryServicesDescriptorResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.GetQueryServicesDescriptorResponse; - fromJSON(object: any): _22.GetQueryServicesDescriptorResponse; - toJSON(message: _22.GetQueryServicesDescriptorResponse): unknown; - fromPartial(object: { - queries?: { - queryServices?: { - fullname?: string; - isModule?: boolean; - methods?: { - name?: string; - fullQueryPath?: string; - }[]; - }[]; - }; - }): _22.GetQueryServicesDescriptorResponse; - fromSDK(object: _22.GetQueryServicesDescriptorResponseSDKType): _22.GetQueryServicesDescriptorResponse; - toSDK(message: _22.GetQueryServicesDescriptorResponse): _22.GetQueryServicesDescriptorResponseSDKType; - fromAmino(object: _22.GetQueryServicesDescriptorResponseAmino): _22.GetQueryServicesDescriptorResponse; - toAmino(message: _22.GetQueryServicesDescriptorResponse): _22.GetQueryServicesDescriptorResponseAmino; - fromAminoMsg(object: _22.GetQueryServicesDescriptorResponseAminoMsg): _22.GetQueryServicesDescriptorResponse; - toAminoMsg(message: _22.GetQueryServicesDescriptorResponse): _22.GetQueryServicesDescriptorResponseAminoMsg; - fromProtoMsg(message: _22.GetQueryServicesDescriptorResponseProtoMsg): _22.GetQueryServicesDescriptorResponse; - toProto(message: _22.GetQueryServicesDescriptorResponse): Uint8Array; - toProtoMsg(message: _22.GetQueryServicesDescriptorResponse): _22.GetQueryServicesDescriptorResponseProtoMsg; - }; - GetTxDescriptorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.GetTxDescriptorRequest; - isSDK(o: any): o is _22.GetTxDescriptorRequestSDKType; - isAmino(o: any): o is _22.GetTxDescriptorRequestAmino; - encode(_: _22.GetTxDescriptorRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.GetTxDescriptorRequest; - fromJSON(_: any): _22.GetTxDescriptorRequest; - toJSON(_: _22.GetTxDescriptorRequest): unknown; - fromPartial(_: {}): _22.GetTxDescriptorRequest; - fromSDK(_: _22.GetTxDescriptorRequestSDKType): _22.GetTxDescriptorRequest; - toSDK(_: _22.GetTxDescriptorRequest): _22.GetTxDescriptorRequestSDKType; - fromAmino(_: _22.GetTxDescriptorRequestAmino): _22.GetTxDescriptorRequest; - toAmino(_: _22.GetTxDescriptorRequest): _22.GetTxDescriptorRequestAmino; - fromAminoMsg(object: _22.GetTxDescriptorRequestAminoMsg): _22.GetTxDescriptorRequest; - toAminoMsg(message: _22.GetTxDescriptorRequest): _22.GetTxDescriptorRequestAminoMsg; - fromProtoMsg(message: _22.GetTxDescriptorRequestProtoMsg): _22.GetTxDescriptorRequest; - toProto(message: _22.GetTxDescriptorRequest): Uint8Array; - toProtoMsg(message: _22.GetTxDescriptorRequest): _22.GetTxDescriptorRequestProtoMsg; - }; - GetTxDescriptorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.GetTxDescriptorResponse; - isSDK(o: any): o is _22.GetTxDescriptorResponseSDKType; - isAmino(o: any): o is _22.GetTxDescriptorResponseAmino; - encode(message: _22.GetTxDescriptorResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.GetTxDescriptorResponse; - fromJSON(object: any): _22.GetTxDescriptorResponse; - toJSON(message: _22.GetTxDescriptorResponse): unknown; - fromPartial(object: { - tx?: { - fullname?: string; - msgs?: { - msgTypeUrl?: string; - }[]; - }; - }): _22.GetTxDescriptorResponse; - fromSDK(object: _22.GetTxDescriptorResponseSDKType): _22.GetTxDescriptorResponse; - toSDK(message: _22.GetTxDescriptorResponse): _22.GetTxDescriptorResponseSDKType; - fromAmino(object: _22.GetTxDescriptorResponseAmino): _22.GetTxDescriptorResponse; - toAmino(message: _22.GetTxDescriptorResponse): _22.GetTxDescriptorResponseAmino; - fromAminoMsg(object: _22.GetTxDescriptorResponseAminoMsg): _22.GetTxDescriptorResponse; - toAminoMsg(message: _22.GetTxDescriptorResponse): _22.GetTxDescriptorResponseAminoMsg; - fromProtoMsg(message: _22.GetTxDescriptorResponseProtoMsg): _22.GetTxDescriptorResponse; - toProto(message: _22.GetTxDescriptorResponse): Uint8Array; - toProtoMsg(message: _22.GetTxDescriptorResponse): _22.GetTxDescriptorResponseProtoMsg; - }; - QueryServicesDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.QueryServicesDescriptor; - isSDK(o: any): o is _22.QueryServicesDescriptorSDKType; - isAmino(o: any): o is _22.QueryServicesDescriptorAmino; - encode(message: _22.QueryServicesDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.QueryServicesDescriptor; - fromJSON(object: any): _22.QueryServicesDescriptor; - toJSON(message: _22.QueryServicesDescriptor): unknown; - fromPartial(object: { - queryServices?: { - fullname?: string; - isModule?: boolean; - methods?: { - name?: string; - fullQueryPath?: string; - }[]; - }[]; - }): _22.QueryServicesDescriptor; - fromSDK(object: _22.QueryServicesDescriptorSDKType): _22.QueryServicesDescriptor; - toSDK(message: _22.QueryServicesDescriptor): _22.QueryServicesDescriptorSDKType; - fromAmino(object: _22.QueryServicesDescriptorAmino): _22.QueryServicesDescriptor; - toAmino(message: _22.QueryServicesDescriptor): _22.QueryServicesDescriptorAmino; - fromAminoMsg(object: _22.QueryServicesDescriptorAminoMsg): _22.QueryServicesDescriptor; - toAminoMsg(message: _22.QueryServicesDescriptor): _22.QueryServicesDescriptorAminoMsg; - fromProtoMsg(message: _22.QueryServicesDescriptorProtoMsg): _22.QueryServicesDescriptor; - toProto(message: _22.QueryServicesDescriptor): Uint8Array; - toProtoMsg(message: _22.QueryServicesDescriptor): _22.QueryServicesDescriptorProtoMsg; - }; - QueryServiceDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.QueryServiceDescriptor; - isSDK(o: any): o is _22.QueryServiceDescriptorSDKType; - isAmino(o: any): o is _22.QueryServiceDescriptorAmino; - encode(message: _22.QueryServiceDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.QueryServiceDescriptor; - fromJSON(object: any): _22.QueryServiceDescriptor; - toJSON(message: _22.QueryServiceDescriptor): unknown; - fromPartial(object: { - fullname?: string; - isModule?: boolean; - methods?: { - name?: string; - fullQueryPath?: string; - }[]; - }): _22.QueryServiceDescriptor; - fromSDK(object: _22.QueryServiceDescriptorSDKType): _22.QueryServiceDescriptor; - toSDK(message: _22.QueryServiceDescriptor): _22.QueryServiceDescriptorSDKType; - fromAmino(object: _22.QueryServiceDescriptorAmino): _22.QueryServiceDescriptor; - toAmino(message: _22.QueryServiceDescriptor): _22.QueryServiceDescriptorAmino; - fromAminoMsg(object: _22.QueryServiceDescriptorAminoMsg): _22.QueryServiceDescriptor; - toAminoMsg(message: _22.QueryServiceDescriptor): _22.QueryServiceDescriptorAminoMsg; - fromProtoMsg(message: _22.QueryServiceDescriptorProtoMsg): _22.QueryServiceDescriptor; - toProto(message: _22.QueryServiceDescriptor): Uint8Array; - toProtoMsg(message: _22.QueryServiceDescriptor): _22.QueryServiceDescriptorProtoMsg; - }; - QueryMethodDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _22.QueryMethodDescriptor; - isSDK(o: any): o is _22.QueryMethodDescriptorSDKType; - isAmino(o: any): o is _22.QueryMethodDescriptorAmino; - encode(message: _22.QueryMethodDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _22.QueryMethodDescriptor; - fromJSON(object: any): _22.QueryMethodDescriptor; - toJSON(message: _22.QueryMethodDescriptor): unknown; - fromPartial(object: { - name?: string; - fullQueryPath?: string; - }): _22.QueryMethodDescriptor; - fromSDK(object: _22.QueryMethodDescriptorSDKType): _22.QueryMethodDescriptor; - toSDK(message: _22.QueryMethodDescriptor): _22.QueryMethodDescriptorSDKType; - fromAmino(object: _22.QueryMethodDescriptorAmino): _22.QueryMethodDescriptor; - toAmino(message: _22.QueryMethodDescriptor): _22.QueryMethodDescriptorAmino; - fromAminoMsg(object: _22.QueryMethodDescriptorAminoMsg): _22.QueryMethodDescriptor; - toAminoMsg(message: _22.QueryMethodDescriptor): _22.QueryMethodDescriptorAminoMsg; - fromProtoMsg(message: _22.QueryMethodDescriptorProtoMsg): _22.QueryMethodDescriptor; - toProto(message: _22.QueryMethodDescriptor): Uint8Array; - toProtoMsg(message: _22.QueryMethodDescriptor): _22.QueryMethodDescriptorProtoMsg; - }; - }; - } - namespace snapshots { - const v1beta1: { - Snapshot: { - typeUrl: string; - aminoType: string; - is(o: any): o is _23.Snapshot; - isSDK(o: any): o is _23.SnapshotSDKType; - isAmino(o: any): o is _23.SnapshotAmino; - encode(message: _23.Snapshot, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _23.Snapshot; - fromJSON(object: any): _23.Snapshot; - toJSON(message: _23.Snapshot): unknown; - fromPartial(object: { - height?: bigint; - format?: number; - chunks?: number; - hash?: Uint8Array; - metadata?: { - chunkHashes?: Uint8Array[]; - }; - }): _23.Snapshot; - fromSDK(object: _23.SnapshotSDKType): _23.Snapshot; - toSDK(message: _23.Snapshot): _23.SnapshotSDKType; - fromAmino(object: _23.SnapshotAmino): _23.Snapshot; - toAmino(message: _23.Snapshot): _23.SnapshotAmino; - fromAminoMsg(object: _23.SnapshotAminoMsg): _23.Snapshot; - toAminoMsg(message: _23.Snapshot): _23.SnapshotAminoMsg; - fromProtoMsg(message: _23.SnapshotProtoMsg): _23.Snapshot; - toProto(message: _23.Snapshot): Uint8Array; - toProtoMsg(message: _23.Snapshot): _23.SnapshotProtoMsg; - }; - Metadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is _23.Metadata; - isSDK(o: any): o is _23.MetadataSDKType; - isAmino(o: any): o is _23.MetadataAmino; - encode(message: _23.Metadata, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _23.Metadata; - fromJSON(object: any): _23.Metadata; - toJSON(message: _23.Metadata): unknown; - fromPartial(object: { - chunkHashes?: Uint8Array[]; - }): _23.Metadata; - fromSDK(object: _23.MetadataSDKType): _23.Metadata; - toSDK(message: _23.Metadata): _23.MetadataSDKType; - fromAmino(object: _23.MetadataAmino): _23.Metadata; - toAmino(message: _23.Metadata): _23.MetadataAmino; - fromAminoMsg(object: _23.MetadataAminoMsg): _23.Metadata; - toAminoMsg(message: _23.Metadata): _23.MetadataAminoMsg; - fromProtoMsg(message: _23.MetadataProtoMsg): _23.Metadata; - toProto(message: _23.Metadata): Uint8Array; - toProtoMsg(message: _23.Metadata): _23.MetadataProtoMsg; - }; - SnapshotItem: { - typeUrl: string; - aminoType: string; - is(o: any): o is _23.SnapshotItem; - isSDK(o: any): o is _23.SnapshotItemSDKType; - isAmino(o: any): o is _23.SnapshotItemAmino; - encode(message: _23.SnapshotItem, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _23.SnapshotItem; - fromJSON(object: any): _23.SnapshotItem; - toJSON(message: _23.SnapshotItem): unknown; - fromPartial(object: { - store?: { - name?: string; - }; - iavl?: { - key?: Uint8Array; - value?: Uint8Array; - version?: bigint; - height?: number; - }; - extension?: { - name?: string; - format?: number; - }; - extensionPayload?: { - payload?: Uint8Array; - }; - kv?: { - key?: Uint8Array; - value?: Uint8Array; - }; - schema?: { - keys?: Uint8Array[]; - }; - }): _23.SnapshotItem; - fromSDK(object: _23.SnapshotItemSDKType): _23.SnapshotItem; - toSDK(message: _23.SnapshotItem): _23.SnapshotItemSDKType; - fromAmino(object: _23.SnapshotItemAmino): _23.SnapshotItem; - toAmino(message: _23.SnapshotItem): _23.SnapshotItemAmino; - fromAminoMsg(object: _23.SnapshotItemAminoMsg): _23.SnapshotItem; - toAminoMsg(message: _23.SnapshotItem): _23.SnapshotItemAminoMsg; - fromProtoMsg(message: _23.SnapshotItemProtoMsg): _23.SnapshotItem; - toProto(message: _23.SnapshotItem): Uint8Array; - toProtoMsg(message: _23.SnapshotItem): _23.SnapshotItemProtoMsg; - }; - SnapshotStoreItem: { - typeUrl: string; - aminoType: string; - is(o: any): o is _23.SnapshotStoreItem; - isSDK(o: any): o is _23.SnapshotStoreItemSDKType; - isAmino(o: any): o is _23.SnapshotStoreItemAmino; - encode(message: _23.SnapshotStoreItem, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _23.SnapshotStoreItem; - fromJSON(object: any): _23.SnapshotStoreItem; - toJSON(message: _23.SnapshotStoreItem): unknown; - fromPartial(object: { - name?: string; - }): _23.SnapshotStoreItem; - fromSDK(object: _23.SnapshotStoreItemSDKType): _23.SnapshotStoreItem; - toSDK(message: _23.SnapshotStoreItem): _23.SnapshotStoreItemSDKType; - fromAmino(object: _23.SnapshotStoreItemAmino): _23.SnapshotStoreItem; - toAmino(message: _23.SnapshotStoreItem): _23.SnapshotStoreItemAmino; - fromAminoMsg(object: _23.SnapshotStoreItemAminoMsg): _23.SnapshotStoreItem; - toAminoMsg(message: _23.SnapshotStoreItem): _23.SnapshotStoreItemAminoMsg; - fromProtoMsg(message: _23.SnapshotStoreItemProtoMsg): _23.SnapshotStoreItem; - toProto(message: _23.SnapshotStoreItem): Uint8Array; - toProtoMsg(message: _23.SnapshotStoreItem): _23.SnapshotStoreItemProtoMsg; - }; - SnapshotIAVLItem: { - typeUrl: string; - aminoType: string; - is(o: any): o is _23.SnapshotIAVLItem; - isSDK(o: any): o is _23.SnapshotIAVLItemSDKType; - isAmino(o: any): o is _23.SnapshotIAVLItemAmino; - encode(message: _23.SnapshotIAVLItem, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _23.SnapshotIAVLItem; - fromJSON(object: any): _23.SnapshotIAVLItem; - toJSON(message: _23.SnapshotIAVLItem): unknown; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - version?: bigint; - height?: number; - }): _23.SnapshotIAVLItem; - fromSDK(object: _23.SnapshotIAVLItemSDKType): _23.SnapshotIAVLItem; - toSDK(message: _23.SnapshotIAVLItem): _23.SnapshotIAVLItemSDKType; - fromAmino(object: _23.SnapshotIAVLItemAmino): _23.SnapshotIAVLItem; - toAmino(message: _23.SnapshotIAVLItem): _23.SnapshotIAVLItemAmino; - fromAminoMsg(object: _23.SnapshotIAVLItemAminoMsg): _23.SnapshotIAVLItem; - toAminoMsg(message: _23.SnapshotIAVLItem): _23.SnapshotIAVLItemAminoMsg; - fromProtoMsg(message: _23.SnapshotIAVLItemProtoMsg): _23.SnapshotIAVLItem; - toProto(message: _23.SnapshotIAVLItem): Uint8Array; - toProtoMsg(message: _23.SnapshotIAVLItem): _23.SnapshotIAVLItemProtoMsg; - }; - SnapshotExtensionMeta: { - typeUrl: string; - aminoType: string; - is(o: any): o is _23.SnapshotExtensionMeta; - isSDK(o: any): o is _23.SnapshotExtensionMetaSDKType; - isAmino(o: any): o is _23.SnapshotExtensionMetaAmino; - encode(message: _23.SnapshotExtensionMeta, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _23.SnapshotExtensionMeta; - fromJSON(object: any): _23.SnapshotExtensionMeta; - toJSON(message: _23.SnapshotExtensionMeta): unknown; - fromPartial(object: { - name?: string; - format?: number; - }): _23.SnapshotExtensionMeta; - fromSDK(object: _23.SnapshotExtensionMetaSDKType): _23.SnapshotExtensionMeta; - toSDK(message: _23.SnapshotExtensionMeta): _23.SnapshotExtensionMetaSDKType; - fromAmino(object: _23.SnapshotExtensionMetaAmino): _23.SnapshotExtensionMeta; - toAmino(message: _23.SnapshotExtensionMeta): _23.SnapshotExtensionMetaAmino; - fromAminoMsg(object: _23.SnapshotExtensionMetaAminoMsg): _23.SnapshotExtensionMeta; - toAminoMsg(message: _23.SnapshotExtensionMeta): _23.SnapshotExtensionMetaAminoMsg; - fromProtoMsg(message: _23.SnapshotExtensionMetaProtoMsg): _23.SnapshotExtensionMeta; - toProto(message: _23.SnapshotExtensionMeta): Uint8Array; - toProtoMsg(message: _23.SnapshotExtensionMeta): _23.SnapshotExtensionMetaProtoMsg; - }; - SnapshotExtensionPayload: { - typeUrl: string; - aminoType: string; - is(o: any): o is _23.SnapshotExtensionPayload; - isSDK(o: any): o is _23.SnapshotExtensionPayloadSDKType; - isAmino(o: any): o is _23.SnapshotExtensionPayloadAmino; - encode(message: _23.SnapshotExtensionPayload, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _23.SnapshotExtensionPayload; - fromJSON(object: any): _23.SnapshotExtensionPayload; - toJSON(message: _23.SnapshotExtensionPayload): unknown; - fromPartial(object: { - payload?: Uint8Array; - }): _23.SnapshotExtensionPayload; - fromSDK(object: _23.SnapshotExtensionPayloadSDKType): _23.SnapshotExtensionPayload; - toSDK(message: _23.SnapshotExtensionPayload): _23.SnapshotExtensionPayloadSDKType; - fromAmino(object: _23.SnapshotExtensionPayloadAmino): _23.SnapshotExtensionPayload; - toAmino(message: _23.SnapshotExtensionPayload): _23.SnapshotExtensionPayloadAmino; - fromAminoMsg(object: _23.SnapshotExtensionPayloadAminoMsg): _23.SnapshotExtensionPayload; - toAminoMsg(message: _23.SnapshotExtensionPayload): _23.SnapshotExtensionPayloadAminoMsg; - fromProtoMsg(message: _23.SnapshotExtensionPayloadProtoMsg): _23.SnapshotExtensionPayload; - toProto(message: _23.SnapshotExtensionPayload): Uint8Array; - toProtoMsg(message: _23.SnapshotExtensionPayload): _23.SnapshotExtensionPayloadProtoMsg; - }; - SnapshotKVItem: { - typeUrl: string; - aminoType: string; - is(o: any): o is _23.SnapshotKVItem; - isSDK(o: any): o is _23.SnapshotKVItemSDKType; - isAmino(o: any): o is _23.SnapshotKVItemAmino; - encode(message: _23.SnapshotKVItem, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _23.SnapshotKVItem; - fromJSON(object: any): _23.SnapshotKVItem; - toJSON(message: _23.SnapshotKVItem): unknown; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - }): _23.SnapshotKVItem; - fromSDK(object: _23.SnapshotKVItemSDKType): _23.SnapshotKVItem; - toSDK(message: _23.SnapshotKVItem): _23.SnapshotKVItemSDKType; - fromAmino(object: _23.SnapshotKVItemAmino): _23.SnapshotKVItem; - toAmino(message: _23.SnapshotKVItem): _23.SnapshotKVItemAmino; - fromAminoMsg(object: _23.SnapshotKVItemAminoMsg): _23.SnapshotKVItem; - toAminoMsg(message: _23.SnapshotKVItem): _23.SnapshotKVItemAminoMsg; - fromProtoMsg(message: _23.SnapshotKVItemProtoMsg): _23.SnapshotKVItem; - toProto(message: _23.SnapshotKVItem): Uint8Array; - toProtoMsg(message: _23.SnapshotKVItem): _23.SnapshotKVItemProtoMsg; - }; - SnapshotSchema: { - typeUrl: string; - aminoType: string; - is(o: any): o is _23.SnapshotSchema; - isSDK(o: any): o is _23.SnapshotSchemaSDKType; - isAmino(o: any): o is _23.SnapshotSchemaAmino; - encode(message: _23.SnapshotSchema, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _23.SnapshotSchema; - fromJSON(object: any): _23.SnapshotSchema; - toJSON(message: _23.SnapshotSchema): unknown; - fromPartial(object: { - keys?: Uint8Array[]; - }): _23.SnapshotSchema; - fromSDK(object: _23.SnapshotSchemaSDKType): _23.SnapshotSchema; - toSDK(message: _23.SnapshotSchema): _23.SnapshotSchemaSDKType; - fromAmino(object: _23.SnapshotSchemaAmino): _23.SnapshotSchema; - toAmino(message: _23.SnapshotSchema): _23.SnapshotSchemaAmino; - fromAminoMsg(object: _23.SnapshotSchemaAminoMsg): _23.SnapshotSchema; - toAminoMsg(message: _23.SnapshotSchema): _23.SnapshotSchemaAminoMsg; - fromProtoMsg(message: _23.SnapshotSchemaProtoMsg): _23.SnapshotSchema; - toProto(message: _23.SnapshotSchema): Uint8Array; - toProtoMsg(message: _23.SnapshotSchema): _23.SnapshotSchemaProtoMsg; - }; - }; - } - namespace store { - const v1beta1: { - StoreKVPair: { - typeUrl: string; - aminoType: string; - is(o: any): o is _25.StoreKVPair; - isSDK(o: any): o is _25.StoreKVPairSDKType; - isAmino(o: any): o is _25.StoreKVPairAmino; - encode(message: _25.StoreKVPair, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _25.StoreKVPair; - fromJSON(object: any): _25.StoreKVPair; - toJSON(message: _25.StoreKVPair): unknown; - fromPartial(object: { - storeKey?: string; - delete?: boolean; - key?: Uint8Array; - value?: Uint8Array; - }): _25.StoreKVPair; - fromSDK(object: _25.StoreKVPairSDKType): _25.StoreKVPair; - toSDK(message: _25.StoreKVPair): _25.StoreKVPairSDKType; - fromAmino(object: _25.StoreKVPairAmino): _25.StoreKVPair; - toAmino(message: _25.StoreKVPair): _25.StoreKVPairAmino; - fromAminoMsg(object: _25.StoreKVPairAminoMsg): _25.StoreKVPair; - toAminoMsg(message: _25.StoreKVPair): _25.StoreKVPairAminoMsg; - fromProtoMsg(message: _25.StoreKVPairProtoMsg): _25.StoreKVPair; - toProto(message: _25.StoreKVPair): Uint8Array; - toProtoMsg(message: _25.StoreKVPair): _25.StoreKVPairProtoMsg; - }; - CommitInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _24.CommitInfo; - isSDK(o: any): o is _24.CommitInfoSDKType; - isAmino(o: any): o is _24.CommitInfoAmino; - encode(message: _24.CommitInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _24.CommitInfo; - fromJSON(object: any): _24.CommitInfo; - toJSON(message: _24.CommitInfo): unknown; - fromPartial(object: { - version?: bigint; - storeInfos?: { - name?: string; - commitId?: { - version?: bigint; - hash?: Uint8Array; - }; - }[]; - }): _24.CommitInfo; - fromSDK(object: _24.CommitInfoSDKType): _24.CommitInfo; - toSDK(message: _24.CommitInfo): _24.CommitInfoSDKType; - fromAmino(object: _24.CommitInfoAmino): _24.CommitInfo; - toAmino(message: _24.CommitInfo): _24.CommitInfoAmino; - fromAminoMsg(object: _24.CommitInfoAminoMsg): _24.CommitInfo; - toAminoMsg(message: _24.CommitInfo): _24.CommitInfoAminoMsg; - fromProtoMsg(message: _24.CommitInfoProtoMsg): _24.CommitInfo; - toProto(message: _24.CommitInfo): Uint8Array; - toProtoMsg(message: _24.CommitInfo): _24.CommitInfoProtoMsg; - }; - StoreInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _24.StoreInfo; - isSDK(o: any): o is _24.StoreInfoSDKType; - isAmino(o: any): o is _24.StoreInfoAmino; - encode(message: _24.StoreInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _24.StoreInfo; - fromJSON(object: any): _24.StoreInfo; - toJSON(message: _24.StoreInfo): unknown; - fromPartial(object: { - name?: string; - commitId?: { - version?: bigint; - hash?: Uint8Array; - }; - }): _24.StoreInfo; - fromSDK(object: _24.StoreInfoSDKType): _24.StoreInfo; - toSDK(message: _24.StoreInfo): _24.StoreInfoSDKType; - fromAmino(object: _24.StoreInfoAmino): _24.StoreInfo; - toAmino(message: _24.StoreInfo): _24.StoreInfoAmino; - fromAminoMsg(object: _24.StoreInfoAminoMsg): _24.StoreInfo; - toAminoMsg(message: _24.StoreInfo): _24.StoreInfoAminoMsg; - fromProtoMsg(message: _24.StoreInfoProtoMsg): _24.StoreInfo; - toProto(message: _24.StoreInfo): Uint8Array; - toProtoMsg(message: _24.StoreInfo): _24.StoreInfoProtoMsg; - }; - CommitID: { - typeUrl: string; - aminoType: string; - is(o: any): o is _24.CommitID; - isSDK(o: any): o is _24.CommitIDSDKType; - isAmino(o: any): o is _24.CommitIDAmino; - encode(message: _24.CommitID, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _24.CommitID; - fromJSON(object: any): _24.CommitID; - toJSON(message: _24.CommitID): unknown; - fromPartial(object: { - version?: bigint; - hash?: Uint8Array; - }): _24.CommitID; - fromSDK(object: _24.CommitIDSDKType): _24.CommitID; - toSDK(message: _24.CommitID): _24.CommitIDSDKType; - fromAmino(object: _24.CommitIDAmino): _24.CommitID; - toAmino(message: _24.CommitID): _24.CommitIDAmino; - fromAminoMsg(object: _24.CommitIDAminoMsg): _24.CommitID; - toAminoMsg(message: _24.CommitID): _24.CommitIDAminoMsg; - fromProtoMsg(message: _24.CommitIDProtoMsg): _24.CommitID; - toProto(message: _24.CommitID): Uint8Array; - toProtoMsg(message: _24.CommitID): _24.CommitIDProtoMsg; - }; - }; - } - namespace tendermint { - const v1beta1: { - ServiceClientImpl: typeof _222.ServiceClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _222.ServiceClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useGetNodeInfo: ({ request, options }: _222.UseGetNodeInfoQuery) => import("@tanstack/react-query").UseQueryResult; - useGetSyncing: ({ request, options }: _222.UseGetSyncingQuery) => import("@tanstack/react-query").UseQueryResult; - useGetLatestBlock: ({ request, options }: _222.UseGetLatestBlockQuery) => import("@tanstack/react-query").UseQueryResult; - useGetBlockByHeight: ({ request, options }: _222.UseGetBlockByHeightQuery) => import("@tanstack/react-query").UseQueryResult; - useGetLatestValidatorSet: ({ request, options }: _222.UseGetLatestValidatorSetQuery) => import("@tanstack/react-query").UseQueryResult; - useGetValidatorSetByHeight: ({ request, options }: _222.UseGetValidatorSetByHeightQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryGetNodeInfoStore: { - new (): { - store: import("..").QueryStore<_26.GetNodeInfoRequest, _26.GetNodeInfoResponse>; - getNodeInfo(request: _26.GetNodeInfoRequest): import("..").MobxResponse<_26.GetNodeInfoResponse>; - }; - }; - QueryGetSyncingStore: { - new (): { - store: import("..").QueryStore<_26.GetSyncingRequest, _26.GetSyncingResponse>; - getSyncing(request: _26.GetSyncingRequest): import("..").MobxResponse<_26.GetSyncingResponse>; - }; - }; - QueryGetLatestBlockStore: { - new (): { - store: import("..").QueryStore<_26.GetLatestBlockRequest, _26.GetLatestBlockResponse>; - getLatestBlock(request: _26.GetLatestBlockRequest): import("..").MobxResponse<_26.GetLatestBlockResponse>; - }; - }; - QueryGetBlockByHeightStore: { - new (): { - store: import("..").QueryStore<_26.GetBlockByHeightRequest, _26.GetBlockByHeightResponse>; - getBlockByHeight(request: _26.GetBlockByHeightRequest): import("..").MobxResponse<_26.GetBlockByHeightResponse>; - }; - }; - QueryGetLatestValidatorSetStore: { - new (): { - store: import("..").QueryStore<_26.GetLatestValidatorSetRequest, _26.GetLatestValidatorSetResponse>; - getLatestValidatorSet(request: _26.GetLatestValidatorSetRequest): import("..").MobxResponse<_26.GetLatestValidatorSetResponse>; - }; - }; - QueryGetValidatorSetByHeightStore: { - new (): { - store: import("..").QueryStore<_26.GetValidatorSetByHeightRequest, _26.GetValidatorSetByHeightResponse>; - getValidatorSetByHeight(request: _26.GetValidatorSetByHeightRequest): import("..").MobxResponse<_26.GetValidatorSetByHeightResponse>; - }; - }; - }; - GetValidatorSetByHeightRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _26.GetValidatorSetByHeightRequest; - isSDK(o: any): o is _26.GetValidatorSetByHeightRequestSDKType; - isAmino(o: any): o is _26.GetValidatorSetByHeightRequestAmino; - encode(message: _26.GetValidatorSetByHeightRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _26.GetValidatorSetByHeightRequest; - fromJSON(object: any): _26.GetValidatorSetByHeightRequest; - toJSON(message: _26.GetValidatorSetByHeightRequest): unknown; - fromPartial(object: { - height?: bigint; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _26.GetValidatorSetByHeightRequest; - fromSDK(object: _26.GetValidatorSetByHeightRequestSDKType): _26.GetValidatorSetByHeightRequest; - toSDK(message: _26.GetValidatorSetByHeightRequest): _26.GetValidatorSetByHeightRequestSDKType; - fromAmino(object: _26.GetValidatorSetByHeightRequestAmino): _26.GetValidatorSetByHeightRequest; - toAmino(message: _26.GetValidatorSetByHeightRequest): _26.GetValidatorSetByHeightRequestAmino; - fromAminoMsg(object: _26.GetValidatorSetByHeightRequestAminoMsg): _26.GetValidatorSetByHeightRequest; - toAminoMsg(message: _26.GetValidatorSetByHeightRequest): _26.GetValidatorSetByHeightRequestAminoMsg; - fromProtoMsg(message: _26.GetValidatorSetByHeightRequestProtoMsg): _26.GetValidatorSetByHeightRequest; - toProto(message: _26.GetValidatorSetByHeightRequest): Uint8Array; - toProtoMsg(message: _26.GetValidatorSetByHeightRequest): _26.GetValidatorSetByHeightRequestProtoMsg; - }; - GetValidatorSetByHeightResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _26.GetValidatorSetByHeightResponse; - isSDK(o: any): o is _26.GetValidatorSetByHeightResponseSDKType; - isAmino(o: any): o is _26.GetValidatorSetByHeightResponseAmino; - encode(message: _26.GetValidatorSetByHeightResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _26.GetValidatorSetByHeightResponse; - fromJSON(object: any): _26.GetValidatorSetByHeightResponse; - toJSON(message: _26.GetValidatorSetByHeightResponse): unknown; - fromPartial(object: { - blockHeight?: bigint; - validators?: { - address?: string; - pubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _26.GetValidatorSetByHeightResponse; - fromSDK(object: _26.GetValidatorSetByHeightResponseSDKType): _26.GetValidatorSetByHeightResponse; - toSDK(message: _26.GetValidatorSetByHeightResponse): _26.GetValidatorSetByHeightResponseSDKType; - fromAmino(object: _26.GetValidatorSetByHeightResponseAmino): _26.GetValidatorSetByHeightResponse; - toAmino(message: _26.GetValidatorSetByHeightResponse): _26.GetValidatorSetByHeightResponseAmino; - fromAminoMsg(object: _26.GetValidatorSetByHeightResponseAminoMsg): _26.GetValidatorSetByHeightResponse; - toAminoMsg(message: _26.GetValidatorSetByHeightResponse): _26.GetValidatorSetByHeightResponseAminoMsg; - fromProtoMsg(message: _26.GetValidatorSetByHeightResponseProtoMsg): _26.GetValidatorSetByHeightResponse; - toProto(message: _26.GetValidatorSetByHeightResponse): Uint8Array; - toProtoMsg(message: _26.GetValidatorSetByHeightResponse): _26.GetValidatorSetByHeightResponseProtoMsg; - }; - GetLatestValidatorSetRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _26.GetLatestValidatorSetRequest; - isSDK(o: any): o is _26.GetLatestValidatorSetRequestSDKType; - isAmino(o: any): o is _26.GetLatestValidatorSetRequestAmino; - encode(message: _26.GetLatestValidatorSetRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _26.GetLatestValidatorSetRequest; - fromJSON(object: any): _26.GetLatestValidatorSetRequest; - toJSON(message: _26.GetLatestValidatorSetRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _26.GetLatestValidatorSetRequest; - fromSDK(object: _26.GetLatestValidatorSetRequestSDKType): _26.GetLatestValidatorSetRequest; - toSDK(message: _26.GetLatestValidatorSetRequest): _26.GetLatestValidatorSetRequestSDKType; - fromAmino(object: _26.GetLatestValidatorSetRequestAmino): _26.GetLatestValidatorSetRequest; - toAmino(message: _26.GetLatestValidatorSetRequest): _26.GetLatestValidatorSetRequestAmino; - fromAminoMsg(object: _26.GetLatestValidatorSetRequestAminoMsg): _26.GetLatestValidatorSetRequest; - toAminoMsg(message: _26.GetLatestValidatorSetRequest): _26.GetLatestValidatorSetRequestAminoMsg; - fromProtoMsg(message: _26.GetLatestValidatorSetRequestProtoMsg): _26.GetLatestValidatorSetRequest; - toProto(message: _26.GetLatestValidatorSetRequest): Uint8Array; - toProtoMsg(message: _26.GetLatestValidatorSetRequest): _26.GetLatestValidatorSetRequestProtoMsg; - }; - GetLatestValidatorSetResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _26.GetLatestValidatorSetResponse; - isSDK(o: any): o is _26.GetLatestValidatorSetResponseSDKType; - isAmino(o: any): o is _26.GetLatestValidatorSetResponseAmino; - encode(message: _26.GetLatestValidatorSetResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _26.GetLatestValidatorSetResponse; - fromJSON(object: any): _26.GetLatestValidatorSetResponse; - toJSON(message: _26.GetLatestValidatorSetResponse): unknown; - fromPartial(object: { - blockHeight?: bigint; - validators?: { - address?: string; - pubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _26.GetLatestValidatorSetResponse; - fromSDK(object: _26.GetLatestValidatorSetResponseSDKType): _26.GetLatestValidatorSetResponse; - toSDK(message: _26.GetLatestValidatorSetResponse): _26.GetLatestValidatorSetResponseSDKType; - fromAmino(object: _26.GetLatestValidatorSetResponseAmino): _26.GetLatestValidatorSetResponse; - toAmino(message: _26.GetLatestValidatorSetResponse): _26.GetLatestValidatorSetResponseAmino; - fromAminoMsg(object: _26.GetLatestValidatorSetResponseAminoMsg): _26.GetLatestValidatorSetResponse; - toAminoMsg(message: _26.GetLatestValidatorSetResponse): _26.GetLatestValidatorSetResponseAminoMsg; - fromProtoMsg(message: _26.GetLatestValidatorSetResponseProtoMsg): _26.GetLatestValidatorSetResponse; - toProto(message: _26.GetLatestValidatorSetResponse): Uint8Array; - toProtoMsg(message: _26.GetLatestValidatorSetResponse): _26.GetLatestValidatorSetResponseProtoMsg; - }; - Validator: { - typeUrl: string; - aminoType: string; - is(o: any): o is _26.Validator; - isSDK(o: any): o is _26.ValidatorSDKType; - isAmino(o: any): o is _26.ValidatorAmino; - encode(message: _26.Validator, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _26.Validator; - fromJSON(object: any): _26.Validator; - toJSON(message: _26.Validator): unknown; - fromPartial(object: { - address?: string; - pubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }): _26.Validator; - fromSDK(object: _26.ValidatorSDKType): _26.Validator; - toSDK(message: _26.Validator): _26.ValidatorSDKType; - fromAmino(object: _26.ValidatorAmino): _26.Validator; - toAmino(message: _26.Validator): _26.ValidatorAmino; - fromAminoMsg(object: _26.ValidatorAminoMsg): _26.Validator; - toAminoMsg(message: _26.Validator): _26.ValidatorAminoMsg; - fromProtoMsg(message: _26.ValidatorProtoMsg): _26.Validator; - toProto(message: _26.Validator): Uint8Array; - toProtoMsg(message: _26.Validator): _26.ValidatorProtoMsg; - }; - GetBlockByHeightRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _26.GetBlockByHeightRequest; - isSDK(o: any): o is _26.GetBlockByHeightRequestSDKType; - isAmino(o: any): o is _26.GetBlockByHeightRequestAmino; - encode(message: _26.GetBlockByHeightRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _26.GetBlockByHeightRequest; - fromJSON(object: any): _26.GetBlockByHeightRequest; - toJSON(message: _26.GetBlockByHeightRequest): unknown; - fromPartial(object: { - height?: bigint; - }): _26.GetBlockByHeightRequest; - fromSDK(object: _26.GetBlockByHeightRequestSDKType): _26.GetBlockByHeightRequest; - toSDK(message: _26.GetBlockByHeightRequest): _26.GetBlockByHeightRequestSDKType; - fromAmino(object: _26.GetBlockByHeightRequestAmino): _26.GetBlockByHeightRequest; - toAmino(message: _26.GetBlockByHeightRequest): _26.GetBlockByHeightRequestAmino; - fromAminoMsg(object: _26.GetBlockByHeightRequestAminoMsg): _26.GetBlockByHeightRequest; - toAminoMsg(message: _26.GetBlockByHeightRequest): _26.GetBlockByHeightRequestAminoMsg; - fromProtoMsg(message: _26.GetBlockByHeightRequestProtoMsg): _26.GetBlockByHeightRequest; - toProto(message: _26.GetBlockByHeightRequest): Uint8Array; - toProtoMsg(message: _26.GetBlockByHeightRequest): _26.GetBlockByHeightRequestProtoMsg; - }; - GetBlockByHeightResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _26.GetBlockByHeightResponse; - isSDK(o: any): o is _26.GetBlockByHeightResponseSDKType; - isAmino(o: any): o is _26.GetBlockByHeightResponseAmino; - encode(message: _26.GetBlockByHeightResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _26.GetBlockByHeightResponse; - fromJSON(object: any): _26.GetBlockByHeightResponse; - toJSON(message: _26.GetBlockByHeightResponse): unknown; - fromPartial(object: { - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - block?: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - data?: { - txs?: Uint8Array[]; - }; - evidence?: { - evidence?: { - duplicateVoteEvidence?: { - voteA?: { - type?: import("../tendermint/types/types").SignedMsgType; - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - voteB?: { - type?: import("../tendermint/types/types").SignedMsgType; - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - totalVotingPower?: bigint; - validatorPower?: bigint; - timestamp?: Date; - }; - lightClientAttackEvidence?: { - conflictingBlock?: { - signedHeader?: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }; - totalVotingPower?: bigint; - }; - }; - commonHeight?: bigint; - byzantineValidators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - totalVotingPower?: bigint; - timestamp?: Date; - }; - }[]; - }; - lastCommit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - }): _26.GetBlockByHeightResponse; - fromSDK(object: _26.GetBlockByHeightResponseSDKType): _26.GetBlockByHeightResponse; - toSDK(message: _26.GetBlockByHeightResponse): _26.GetBlockByHeightResponseSDKType; - fromAmino(object: _26.GetBlockByHeightResponseAmino): _26.GetBlockByHeightResponse; - toAmino(message: _26.GetBlockByHeightResponse): _26.GetBlockByHeightResponseAmino; - fromAminoMsg(object: _26.GetBlockByHeightResponseAminoMsg): _26.GetBlockByHeightResponse; - toAminoMsg(message: _26.GetBlockByHeightResponse): _26.GetBlockByHeightResponseAminoMsg; - fromProtoMsg(message: _26.GetBlockByHeightResponseProtoMsg): _26.GetBlockByHeightResponse; - toProto(message: _26.GetBlockByHeightResponse): Uint8Array; - toProtoMsg(message: _26.GetBlockByHeightResponse): _26.GetBlockByHeightResponseProtoMsg; - }; - GetLatestBlockRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _26.GetLatestBlockRequest; - isSDK(o: any): o is _26.GetLatestBlockRequestSDKType; - isAmino(o: any): o is _26.GetLatestBlockRequestAmino; - encode(_: _26.GetLatestBlockRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _26.GetLatestBlockRequest; - fromJSON(_: any): _26.GetLatestBlockRequest; - toJSON(_: _26.GetLatestBlockRequest): unknown; - fromPartial(_: {}): _26.GetLatestBlockRequest; - fromSDK(_: _26.GetLatestBlockRequestSDKType): _26.GetLatestBlockRequest; - toSDK(_: _26.GetLatestBlockRequest): _26.GetLatestBlockRequestSDKType; - fromAmino(_: _26.GetLatestBlockRequestAmino): _26.GetLatestBlockRequest; - toAmino(_: _26.GetLatestBlockRequest): _26.GetLatestBlockRequestAmino; - fromAminoMsg(object: _26.GetLatestBlockRequestAminoMsg): _26.GetLatestBlockRequest; - toAminoMsg(message: _26.GetLatestBlockRequest): _26.GetLatestBlockRequestAminoMsg; - fromProtoMsg(message: _26.GetLatestBlockRequestProtoMsg): _26.GetLatestBlockRequest; - toProto(message: _26.GetLatestBlockRequest): Uint8Array; - toProtoMsg(message: _26.GetLatestBlockRequest): _26.GetLatestBlockRequestProtoMsg; - }; - GetLatestBlockResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _26.GetLatestBlockResponse; - isSDK(o: any): o is _26.GetLatestBlockResponseSDKType; - isAmino(o: any): o is _26.GetLatestBlockResponseAmino; - encode(message: _26.GetLatestBlockResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _26.GetLatestBlockResponse; - fromJSON(object: any): _26.GetLatestBlockResponse; - toJSON(message: _26.GetLatestBlockResponse): unknown; - fromPartial(object: { - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - block?: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - data?: { - txs?: Uint8Array[]; - }; - evidence?: { - evidence?: { - duplicateVoteEvidence?: { - voteA?: { - type?: import("../tendermint/types/types").SignedMsgType; - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - voteB?: { - type?: import("../tendermint/types/types").SignedMsgType; - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - totalVotingPower?: bigint; - validatorPower?: bigint; - timestamp?: Date; - }; - lightClientAttackEvidence?: { - conflictingBlock?: { - signedHeader?: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }; - totalVotingPower?: bigint; - }; - }; - commonHeight?: bigint; - byzantineValidators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - totalVotingPower?: bigint; - timestamp?: Date; - }; - }[]; - }; - lastCommit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - }): _26.GetLatestBlockResponse; - fromSDK(object: _26.GetLatestBlockResponseSDKType): _26.GetLatestBlockResponse; - toSDK(message: _26.GetLatestBlockResponse): _26.GetLatestBlockResponseSDKType; - fromAmino(object: _26.GetLatestBlockResponseAmino): _26.GetLatestBlockResponse; - toAmino(message: _26.GetLatestBlockResponse): _26.GetLatestBlockResponseAmino; - fromAminoMsg(object: _26.GetLatestBlockResponseAminoMsg): _26.GetLatestBlockResponse; - toAminoMsg(message: _26.GetLatestBlockResponse): _26.GetLatestBlockResponseAminoMsg; - fromProtoMsg(message: _26.GetLatestBlockResponseProtoMsg): _26.GetLatestBlockResponse; - toProto(message: _26.GetLatestBlockResponse): Uint8Array; - toProtoMsg(message: _26.GetLatestBlockResponse): _26.GetLatestBlockResponseProtoMsg; - }; - GetSyncingRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _26.GetSyncingRequest; - isSDK(o: any): o is _26.GetSyncingRequestSDKType; - isAmino(o: any): o is _26.GetSyncingRequestAmino; - encode(_: _26.GetSyncingRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _26.GetSyncingRequest; - fromJSON(_: any): _26.GetSyncingRequest; - toJSON(_: _26.GetSyncingRequest): unknown; - fromPartial(_: {}): _26.GetSyncingRequest; - fromSDK(_: _26.GetSyncingRequestSDKType): _26.GetSyncingRequest; - toSDK(_: _26.GetSyncingRequest): _26.GetSyncingRequestSDKType; - fromAmino(_: _26.GetSyncingRequestAmino): _26.GetSyncingRequest; - toAmino(_: _26.GetSyncingRequest): _26.GetSyncingRequestAmino; - fromAminoMsg(object: _26.GetSyncingRequestAminoMsg): _26.GetSyncingRequest; - toAminoMsg(message: _26.GetSyncingRequest): _26.GetSyncingRequestAminoMsg; - fromProtoMsg(message: _26.GetSyncingRequestProtoMsg): _26.GetSyncingRequest; - toProto(message: _26.GetSyncingRequest): Uint8Array; - toProtoMsg(message: _26.GetSyncingRequest): _26.GetSyncingRequestProtoMsg; - }; - GetSyncingResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _26.GetSyncingResponse; - isSDK(o: any): o is _26.GetSyncingResponseSDKType; - isAmino(o: any): o is _26.GetSyncingResponseAmino; - encode(message: _26.GetSyncingResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _26.GetSyncingResponse; - fromJSON(object: any): _26.GetSyncingResponse; - toJSON(message: _26.GetSyncingResponse): unknown; - fromPartial(object: { - syncing?: boolean; - }): _26.GetSyncingResponse; - fromSDK(object: _26.GetSyncingResponseSDKType): _26.GetSyncingResponse; - toSDK(message: _26.GetSyncingResponse): _26.GetSyncingResponseSDKType; - fromAmino(object: _26.GetSyncingResponseAmino): _26.GetSyncingResponse; - toAmino(message: _26.GetSyncingResponse): _26.GetSyncingResponseAmino; - fromAminoMsg(object: _26.GetSyncingResponseAminoMsg): _26.GetSyncingResponse; - toAminoMsg(message: _26.GetSyncingResponse): _26.GetSyncingResponseAminoMsg; - fromProtoMsg(message: _26.GetSyncingResponseProtoMsg): _26.GetSyncingResponse; - toProto(message: _26.GetSyncingResponse): Uint8Array; - toProtoMsg(message: _26.GetSyncingResponse): _26.GetSyncingResponseProtoMsg; - }; - GetNodeInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _26.GetNodeInfoRequest; - isSDK(o: any): o is _26.GetNodeInfoRequestSDKType; - isAmino(o: any): o is _26.GetNodeInfoRequestAmino; - encode(_: _26.GetNodeInfoRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _26.GetNodeInfoRequest; - fromJSON(_: any): _26.GetNodeInfoRequest; - toJSON(_: _26.GetNodeInfoRequest): unknown; - fromPartial(_: {}): _26.GetNodeInfoRequest; - fromSDK(_: _26.GetNodeInfoRequestSDKType): _26.GetNodeInfoRequest; - toSDK(_: _26.GetNodeInfoRequest): _26.GetNodeInfoRequestSDKType; - fromAmino(_: _26.GetNodeInfoRequestAmino): _26.GetNodeInfoRequest; - toAmino(_: _26.GetNodeInfoRequest): _26.GetNodeInfoRequestAmino; - fromAminoMsg(object: _26.GetNodeInfoRequestAminoMsg): _26.GetNodeInfoRequest; - toAminoMsg(message: _26.GetNodeInfoRequest): _26.GetNodeInfoRequestAminoMsg; - fromProtoMsg(message: _26.GetNodeInfoRequestProtoMsg): _26.GetNodeInfoRequest; - toProto(message: _26.GetNodeInfoRequest): Uint8Array; - toProtoMsg(message: _26.GetNodeInfoRequest): _26.GetNodeInfoRequestProtoMsg; - }; - GetNodeInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _26.GetNodeInfoResponse; - isSDK(o: any): o is _26.GetNodeInfoResponseSDKType; - isAmino(o: any): o is _26.GetNodeInfoResponseAmino; - encode(message: _26.GetNodeInfoResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _26.GetNodeInfoResponse; - fromJSON(object: any): _26.GetNodeInfoResponse; - toJSON(message: _26.GetNodeInfoResponse): unknown; - fromPartial(object: { - nodeInfo?: { - protocolVersion?: { - p2p?: bigint; - block?: bigint; - app?: bigint; - }; - nodeId?: string; - listenAddr?: string; - network?: string; - version?: string; - channels?: Uint8Array; - moniker?: string; - other?: { - txIndex?: string; - rpcAddress?: string; - }; - }; - applicationVersion?: { - name?: string; - appName?: string; - version?: string; - gitCommit?: string; - buildTags?: string; - goVersion?: string; - buildDeps?: { - path?: string; - version?: string; - sum?: string; - }[]; - cosmosSdkVersion?: string; - }; - }): _26.GetNodeInfoResponse; - fromSDK(object: _26.GetNodeInfoResponseSDKType): _26.GetNodeInfoResponse; - toSDK(message: _26.GetNodeInfoResponse): _26.GetNodeInfoResponseSDKType; - fromAmino(object: _26.GetNodeInfoResponseAmino): _26.GetNodeInfoResponse; - toAmino(message: _26.GetNodeInfoResponse): _26.GetNodeInfoResponseAmino; - fromAminoMsg(object: _26.GetNodeInfoResponseAminoMsg): _26.GetNodeInfoResponse; - toAminoMsg(message: _26.GetNodeInfoResponse): _26.GetNodeInfoResponseAminoMsg; - fromProtoMsg(message: _26.GetNodeInfoResponseProtoMsg): _26.GetNodeInfoResponse; - toProto(message: _26.GetNodeInfoResponse): Uint8Array; - toProtoMsg(message: _26.GetNodeInfoResponse): _26.GetNodeInfoResponseProtoMsg; - }; - VersionInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _26.VersionInfo; - isSDK(o: any): o is _26.VersionInfoSDKType; - isAmino(o: any): o is _26.VersionInfoAmino; - encode(message: _26.VersionInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _26.VersionInfo; - fromJSON(object: any): _26.VersionInfo; - toJSON(message: _26.VersionInfo): unknown; - fromPartial(object: { - name?: string; - appName?: string; - version?: string; - gitCommit?: string; - buildTags?: string; - goVersion?: string; - buildDeps?: { - path?: string; - version?: string; - sum?: string; - }[]; - cosmosSdkVersion?: string; - }): _26.VersionInfo; - fromSDK(object: _26.VersionInfoSDKType): _26.VersionInfo; - toSDK(message: _26.VersionInfo): _26.VersionInfoSDKType; - fromAmino(object: _26.VersionInfoAmino): _26.VersionInfo; - toAmino(message: _26.VersionInfo): _26.VersionInfoAmino; - fromAminoMsg(object: _26.VersionInfoAminoMsg): _26.VersionInfo; - toAminoMsg(message: _26.VersionInfo): _26.VersionInfoAminoMsg; - fromProtoMsg(message: _26.VersionInfoProtoMsg): _26.VersionInfo; - toProto(message: _26.VersionInfo): Uint8Array; - toProtoMsg(message: _26.VersionInfo): _26.VersionInfoProtoMsg; - }; - Module: { - typeUrl: string; - aminoType: string; - is(o: any): o is _26.Module; - isSDK(o: any): o is _26.ModuleSDKType; - isAmino(o: any): o is _26.ModuleAmino; - encode(message: _26.Module, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _26.Module; - fromJSON(object: any): _26.Module; - toJSON(message: _26.Module): unknown; - fromPartial(object: { - path?: string; - version?: string; - sum?: string; - }): _26.Module; - fromSDK(object: _26.ModuleSDKType): _26.Module; - toSDK(message: _26.Module): _26.ModuleSDKType; - fromAmino(object: _26.ModuleAmino): _26.Module; - toAmino(message: _26.Module): _26.ModuleAmino; - fromAminoMsg(object: _26.ModuleAminoMsg): _26.Module; - toAminoMsg(message: _26.Module): _26.ModuleAminoMsg; - fromProtoMsg(message: _26.ModuleProtoMsg): _26.Module; - toProto(message: _26.Module): Uint8Array; - toProtoMsg(message: _26.Module): _26.ModuleProtoMsg; - }; - }; - } - const v1beta1: { - Coin: { - typeUrl: string; - aminoType: string; - is(o: any): o is _27.Coin; - isSDK(o: any): o is _27.CoinSDKType; - isAmino(o: any): o is _27.CoinAmino; - encode(message: _27.Coin, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _27.Coin; - fromJSON(object: any): _27.Coin; - toJSON(message: _27.Coin): unknown; - fromPartial(object: { - denom?: string; - amount?: string; - }): _27.Coin; - fromSDK(object: _27.CoinSDKType): _27.Coin; - toSDK(message: _27.Coin): _27.CoinSDKType; - fromAmino(object: _27.CoinAmino): _27.Coin; - toAmino(message: _27.Coin): _27.CoinAmino; - fromAminoMsg(object: _27.CoinAminoMsg): _27.Coin; - toAminoMsg(message: _27.Coin): _27.CoinAminoMsg; - fromProtoMsg(message: _27.CoinProtoMsg): _27.Coin; - toProto(message: _27.Coin): Uint8Array; - toProtoMsg(message: _27.Coin): _27.CoinProtoMsg; - }; - DecCoin: { - typeUrl: string; - aminoType: string; - is(o: any): o is _27.DecCoin; - isSDK(o: any): o is _27.DecCoinSDKType; - isAmino(o: any): o is _27.DecCoinAmino; - encode(message: _27.DecCoin, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _27.DecCoin; - fromJSON(object: any): _27.DecCoin; - toJSON(message: _27.DecCoin): unknown; - fromPartial(object: { - denom?: string; - amount?: string; - }): _27.DecCoin; - fromSDK(object: _27.DecCoinSDKType): _27.DecCoin; - toSDK(message: _27.DecCoin): _27.DecCoinSDKType; - fromAmino(object: _27.DecCoinAmino): _27.DecCoin; - toAmino(message: _27.DecCoin): _27.DecCoinAmino; - fromAminoMsg(object: _27.DecCoinAminoMsg): _27.DecCoin; - toAminoMsg(message: _27.DecCoin): _27.DecCoinAminoMsg; - fromProtoMsg(message: _27.DecCoinProtoMsg): _27.DecCoin; - toProto(message: _27.DecCoin): Uint8Array; - toProtoMsg(message: _27.DecCoin): _27.DecCoinProtoMsg; - }; - IntProto: { - typeUrl: string; - aminoType: string; - is(o: any): o is _27.IntProto; - isSDK(o: any): o is _27.IntProtoSDKType; - isAmino(o: any): o is _27.IntProtoAmino; - encode(message: _27.IntProto, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _27.IntProto; - fromJSON(object: any): _27.IntProto; - toJSON(message: _27.IntProto): unknown; - fromPartial(object: { - int?: string; - }): _27.IntProto; - fromSDK(object: _27.IntProtoSDKType): _27.IntProto; - toSDK(message: _27.IntProto): _27.IntProtoSDKType; - fromAmino(object: _27.IntProtoAmino): _27.IntProto; - toAmino(message: _27.IntProto): _27.IntProtoAmino; - fromAminoMsg(object: _27.IntProtoAminoMsg): _27.IntProto; - toAminoMsg(message: _27.IntProto): _27.IntProtoAminoMsg; - fromProtoMsg(message: _27.IntProtoProtoMsg): _27.IntProto; - toProto(message: _27.IntProto): Uint8Array; - toProtoMsg(message: _27.IntProto): _27.IntProtoProtoMsg; - }; - DecProto: { - typeUrl: string; - aminoType: string; - is(o: any): o is _27.DecProto; - isSDK(o: any): o is _27.DecProtoSDKType; - isAmino(o: any): o is _27.DecProtoAmino; - encode(message: _27.DecProto, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _27.DecProto; - fromJSON(object: any): _27.DecProto; - toJSON(message: _27.DecProto): unknown; - fromPartial(object: { - dec?: string; - }): _27.DecProto; - fromSDK(object: _27.DecProtoSDKType): _27.DecProto; - toSDK(message: _27.DecProto): _27.DecProtoSDKType; - fromAmino(object: _27.DecProtoAmino): _27.DecProto; - toAmino(message: _27.DecProto): _27.DecProtoAmino; - fromAminoMsg(object: _27.DecProtoAminoMsg): _27.DecProto; - toAminoMsg(message: _27.DecProto): _27.DecProtoAminoMsg; - fromProtoMsg(message: _27.DecProtoProtoMsg): _27.DecProto; - toProto(message: _27.DecProto): Uint8Array; - toProtoMsg(message: _27.DecProto): _27.DecProtoProtoMsg; - }; - }; - } - namespace capability { - const v1beta1: { - GenesisOwners: { - typeUrl: string; - aminoType: string; - is(o: any): o is _29.GenesisOwners; - isSDK(o: any): o is _29.GenesisOwnersSDKType; - isAmino(o: any): o is _29.GenesisOwnersAmino; - encode(message: _29.GenesisOwners, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _29.GenesisOwners; - fromJSON(object: any): _29.GenesisOwners; - toJSON(message: _29.GenesisOwners): unknown; - fromPartial(object: { - index?: bigint; - indexOwners?: { - owners?: { - module?: string; - name?: string; - }[]; - }; - }): _29.GenesisOwners; - fromSDK(object: _29.GenesisOwnersSDKType): _29.GenesisOwners; - toSDK(message: _29.GenesisOwners): _29.GenesisOwnersSDKType; - fromAmino(object: _29.GenesisOwnersAmino): _29.GenesisOwners; - toAmino(message: _29.GenesisOwners): _29.GenesisOwnersAmino; - fromAminoMsg(object: _29.GenesisOwnersAminoMsg): _29.GenesisOwners; - toAminoMsg(message: _29.GenesisOwners): _29.GenesisOwnersAminoMsg; - fromProtoMsg(message: _29.GenesisOwnersProtoMsg): _29.GenesisOwners; - toProto(message: _29.GenesisOwners): Uint8Array; - toProtoMsg(message: _29.GenesisOwners): _29.GenesisOwnersProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _29.GenesisState; - isSDK(o: any): o is _29.GenesisStateSDKType; - isAmino(o: any): o is _29.GenesisStateAmino; - encode(message: _29.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _29.GenesisState; - fromJSON(object: any): _29.GenesisState; - toJSON(message: _29.GenesisState): unknown; - fromPartial(object: { - index?: bigint; - owners?: { - index?: bigint; - indexOwners?: { - owners?: { - module?: string; - name?: string; - }[]; - }; - }[]; - }): _29.GenesisState; - fromSDK(object: _29.GenesisStateSDKType): _29.GenesisState; - toSDK(message: _29.GenesisState): _29.GenesisStateSDKType; - fromAmino(object: _29.GenesisStateAmino): _29.GenesisState; - toAmino(message: _29.GenesisState): _29.GenesisStateAmino; - fromAminoMsg(object: _29.GenesisStateAminoMsg): _29.GenesisState; - toAminoMsg(message: _29.GenesisState): _29.GenesisStateAminoMsg; - fromProtoMsg(message: _29.GenesisStateProtoMsg): _29.GenesisState; - toProto(message: _29.GenesisState): Uint8Array; - toProtoMsg(message: _29.GenesisState): _29.GenesisStateProtoMsg; - }; - Capability: { - typeUrl: string; - aminoType: string; - is(o: any): o is _28.Capability; - isSDK(o: any): o is _28.CapabilitySDKType; - isAmino(o: any): o is _28.CapabilityAmino; - encode(message: _28.Capability, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _28.Capability; - fromJSON(object: any): _28.Capability; - toJSON(message: _28.Capability): unknown; - fromPartial(object: { - index?: bigint; - }): _28.Capability; - fromSDK(object: _28.CapabilitySDKType): _28.Capability; - toSDK(message: _28.Capability): _28.CapabilitySDKType; - fromAmino(object: _28.CapabilityAmino): _28.Capability; - toAmino(message: _28.Capability): _28.CapabilityAmino; - fromAminoMsg(object: _28.CapabilityAminoMsg): _28.Capability; - toAminoMsg(message: _28.Capability): _28.CapabilityAminoMsg; - fromProtoMsg(message: _28.CapabilityProtoMsg): _28.Capability; - toProto(message: _28.Capability): Uint8Array; - toProtoMsg(message: _28.Capability): _28.CapabilityProtoMsg; - }; - Owner: { - typeUrl: string; - aminoType: string; - is(o: any): o is _28.Owner; - isSDK(o: any): o is _28.OwnerSDKType; - isAmino(o: any): o is _28.OwnerAmino; - encode(message: _28.Owner, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _28.Owner; - fromJSON(object: any): _28.Owner; - toJSON(message: _28.Owner): unknown; - fromPartial(object: { - module?: string; - name?: string; - }): _28.Owner; - fromSDK(object: _28.OwnerSDKType): _28.Owner; - toSDK(message: _28.Owner): _28.OwnerSDKType; - fromAmino(object: _28.OwnerAmino): _28.Owner; - toAmino(message: _28.Owner): _28.OwnerAmino; - fromAminoMsg(object: _28.OwnerAminoMsg): _28.Owner; - toAminoMsg(message: _28.Owner): _28.OwnerAminoMsg; - fromProtoMsg(message: _28.OwnerProtoMsg): _28.Owner; - toProto(message: _28.Owner): Uint8Array; - toProtoMsg(message: _28.Owner): _28.OwnerProtoMsg; - }; - CapabilityOwners: { - typeUrl: string; - aminoType: string; - is(o: any): o is _28.CapabilityOwners; - isSDK(o: any): o is _28.CapabilityOwnersSDKType; - isAmino(o: any): o is _28.CapabilityOwnersAmino; - encode(message: _28.CapabilityOwners, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _28.CapabilityOwners; - fromJSON(object: any): _28.CapabilityOwners; - toJSON(message: _28.CapabilityOwners): unknown; - fromPartial(object: { - owners?: { - module?: string; - name?: string; - }[]; - }): _28.CapabilityOwners; - fromSDK(object: _28.CapabilityOwnersSDKType): _28.CapabilityOwners; - toSDK(message: _28.CapabilityOwners): _28.CapabilityOwnersSDKType; - fromAmino(object: _28.CapabilityOwnersAmino): _28.CapabilityOwners; - toAmino(message: _28.CapabilityOwners): _28.CapabilityOwnersAmino; - fromAminoMsg(object: _28.CapabilityOwnersAminoMsg): _28.CapabilityOwners; - toAminoMsg(message: _28.CapabilityOwners): _28.CapabilityOwnersAminoMsg; - fromProtoMsg(message: _28.CapabilityOwnersProtoMsg): _28.CapabilityOwners; - toProto(message: _28.CapabilityOwners): Uint8Array; - toProtoMsg(message: _28.CapabilityOwners): _28.CapabilityOwnersProtoMsg; - }; - }; - } - namespace crisis { - const v1beta1: { - MsgClientImpl: typeof _238.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _238.MsgClientImpl; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - verifyInvariant(value: _31.MsgVerifyInvariant): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - verifyInvariant(value: _31.MsgVerifyInvariant): { - typeUrl: string; - value: _31.MsgVerifyInvariant; - }; - }; - toJSON: { - verifyInvariant(value: _31.MsgVerifyInvariant): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - verifyInvariant(value: any): { - typeUrl: string; - value: _31.MsgVerifyInvariant; - }; - }; - fromPartial: { - verifyInvariant(value: _31.MsgVerifyInvariant): { - typeUrl: string; - value: _31.MsgVerifyInvariant; - }; - }; - }; - AminoConverter: { - "/cosmos.crisis.v1beta1.MsgVerifyInvariant": { - aminoType: string; - toAmino: (message: _31.MsgVerifyInvariant) => _31.MsgVerifyInvariantAmino; - fromAmino: (object: _31.MsgVerifyInvariantAmino) => _31.MsgVerifyInvariant; - }; - }; - MsgVerifyInvariant: { - typeUrl: string; - aminoType: string; - is(o: any): o is _31.MsgVerifyInvariant; - isSDK(o: any): o is _31.MsgVerifyInvariantSDKType; - isAmino(o: any): o is _31.MsgVerifyInvariantAmino; - encode(message: _31.MsgVerifyInvariant, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _31.MsgVerifyInvariant; - fromJSON(object: any): _31.MsgVerifyInvariant; - toJSON(message: _31.MsgVerifyInvariant): unknown; - fromPartial(object: { - sender?: string; - invariantModuleName?: string; - invariantRoute?: string; - }): _31.MsgVerifyInvariant; - fromSDK(object: _31.MsgVerifyInvariantSDKType): _31.MsgVerifyInvariant; - toSDK(message: _31.MsgVerifyInvariant): _31.MsgVerifyInvariantSDKType; - fromAmino(object: _31.MsgVerifyInvariantAmino): _31.MsgVerifyInvariant; - toAmino(message: _31.MsgVerifyInvariant): _31.MsgVerifyInvariantAmino; - fromAminoMsg(object: _31.MsgVerifyInvariantAminoMsg): _31.MsgVerifyInvariant; - toAminoMsg(message: _31.MsgVerifyInvariant): _31.MsgVerifyInvariantAminoMsg; - fromProtoMsg(message: _31.MsgVerifyInvariantProtoMsg): _31.MsgVerifyInvariant; - toProto(message: _31.MsgVerifyInvariant): Uint8Array; - toProtoMsg(message: _31.MsgVerifyInvariant): _31.MsgVerifyInvariantProtoMsg; - }; - MsgVerifyInvariantResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _31.MsgVerifyInvariantResponse; - isSDK(o: any): o is _31.MsgVerifyInvariantResponseSDKType; - isAmino(o: any): o is _31.MsgVerifyInvariantResponseAmino; - encode(_: _31.MsgVerifyInvariantResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _31.MsgVerifyInvariantResponse; - fromJSON(_: any): _31.MsgVerifyInvariantResponse; - toJSON(_: _31.MsgVerifyInvariantResponse): unknown; - fromPartial(_: {}): _31.MsgVerifyInvariantResponse; - fromSDK(_: _31.MsgVerifyInvariantResponseSDKType): _31.MsgVerifyInvariantResponse; - toSDK(_: _31.MsgVerifyInvariantResponse): _31.MsgVerifyInvariantResponseSDKType; - fromAmino(_: _31.MsgVerifyInvariantResponseAmino): _31.MsgVerifyInvariantResponse; - toAmino(_: _31.MsgVerifyInvariantResponse): _31.MsgVerifyInvariantResponseAmino; - fromAminoMsg(object: _31.MsgVerifyInvariantResponseAminoMsg): _31.MsgVerifyInvariantResponse; - toAminoMsg(message: _31.MsgVerifyInvariantResponse): _31.MsgVerifyInvariantResponseAminoMsg; - fromProtoMsg(message: _31.MsgVerifyInvariantResponseProtoMsg): _31.MsgVerifyInvariantResponse; - toProto(message: _31.MsgVerifyInvariantResponse): Uint8Array; - toProtoMsg(message: _31.MsgVerifyInvariantResponse): _31.MsgVerifyInvariantResponseProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _30.GenesisState; - isSDK(o: any): o is _30.GenesisStateSDKType; - isAmino(o: any): o is _30.GenesisStateAmino; - encode(message: _30.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _30.GenesisState; - fromJSON(object: any): _30.GenesisState; - toJSON(message: _30.GenesisState): unknown; - fromPartial(object: { - constantFee?: { - denom?: string; - amount?: string; - }; - }): _30.GenesisState; - fromSDK(object: _30.GenesisStateSDKType): _30.GenesisState; - toSDK(message: _30.GenesisState): _30.GenesisStateSDKType; - fromAmino(object: _30.GenesisStateAmino): _30.GenesisState; - toAmino(message: _30.GenesisState): _30.GenesisStateAmino; - fromAminoMsg(object: _30.GenesisStateAminoMsg): _30.GenesisState; - toAminoMsg(message: _30.GenesisState): _30.GenesisStateAminoMsg; - fromProtoMsg(message: _30.GenesisStateProtoMsg): _30.GenesisState; - toProto(message: _30.GenesisState): Uint8Array; - toProtoMsg(message: _30.GenesisState): _30.GenesisStateProtoMsg; - }; - }; - } - namespace crypto { - const ed25519: { - PubKey: { - typeUrl: string; - aminoType: string; - is(o: any): o is _32.PubKey; - isSDK(o: any): o is _32.PubKeySDKType; - isAmino(o: any): o is _32.PubKeyAmino; - encode(message: _32.PubKey, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _32.PubKey; - fromJSON(object: any): _32.PubKey; - toJSON(message: _32.PubKey): unknown; - fromPartial(object: { - key?: Uint8Array; - }): _32.PubKey; - fromSDK(object: _32.PubKeySDKType): _32.PubKey; - toSDK(message: _32.PubKey): _32.PubKeySDKType; - fromAmino(object: _32.PubKeyAmino): _32.PubKey; - toAmino(message: _32.PubKey): _32.PubKeyAmino; - fromAminoMsg(object: _32.PubKeyAminoMsg): _32.PubKey; - toAminoMsg(message: _32.PubKey): _32.PubKeyAminoMsg; - fromProtoMsg(message: _32.PubKeyProtoMsg): _32.PubKey; - toProto(message: _32.PubKey): Uint8Array; - toProtoMsg(message: _32.PubKey): _32.PubKeyProtoMsg; - }; - PrivKey: { - typeUrl: string; - aminoType: string; - is(o: any): o is _32.PrivKey; - isSDK(o: any): o is _32.PrivKeySDKType; - isAmino(o: any): o is _32.PrivKeyAmino; - encode(message: _32.PrivKey, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _32.PrivKey; - fromJSON(object: any): _32.PrivKey; - toJSON(message: _32.PrivKey): unknown; - fromPartial(object: { - key?: Uint8Array; - }): _32.PrivKey; - fromSDK(object: _32.PrivKeySDKType): _32.PrivKey; - toSDK(message: _32.PrivKey): _32.PrivKeySDKType; - fromAmino(object: _32.PrivKeyAmino): _32.PrivKey; - toAmino(message: _32.PrivKey): _32.PrivKeyAmino; - fromAminoMsg(object: _32.PrivKeyAminoMsg): _32.PrivKey; - toAminoMsg(message: _32.PrivKey): _32.PrivKeyAminoMsg; - fromProtoMsg(message: _32.PrivKeyProtoMsg): _32.PrivKey; - toProto(message: _32.PrivKey): Uint8Array; - toProtoMsg(message: _32.PrivKey): _32.PrivKeyProtoMsg; - }; - }; - namespace hd { - const v1: { - BIP44Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _33.BIP44Params; - isSDK(o: any): o is _33.BIP44ParamsSDKType; - isAmino(o: any): o is _33.BIP44ParamsAmino; - encode(message: _33.BIP44Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _33.BIP44Params; - fromJSON(object: any): _33.BIP44Params; - toJSON(message: _33.BIP44Params): unknown; - fromPartial(object: { - purpose?: number; - coinType?: number; - account?: number; - change?: boolean; - addressIndex?: number; - }): _33.BIP44Params; - fromSDK(object: _33.BIP44ParamsSDKType): _33.BIP44Params; - toSDK(message: _33.BIP44Params): _33.BIP44ParamsSDKType; - fromAmino(object: _33.BIP44ParamsAmino): _33.BIP44Params; - toAmino(message: _33.BIP44Params): _33.BIP44ParamsAmino; - fromAminoMsg(object: _33.BIP44ParamsAminoMsg): _33.BIP44Params; - toAminoMsg(message: _33.BIP44Params): _33.BIP44ParamsAminoMsg; - fromProtoMsg(message: _33.BIP44ParamsProtoMsg): _33.BIP44Params; - toProto(message: _33.BIP44Params): Uint8Array; - toProtoMsg(message: _33.BIP44Params): _33.BIP44ParamsProtoMsg; - }; - }; - } - namespace keyring { - const v1: { - Record: { - typeUrl: string; - aminoType: string; - is(o: any): o is _34.Record; - isSDK(o: any): o is _34.RecordSDKType; - isAmino(o: any): o is _34.RecordAmino; - encode(message: _34.Record, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _34.Record; - fromJSON(object: any): _34.Record; - toJSON(message: _34.Record): unknown; - fromPartial(object: { - name?: string; - pubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - local?: { - privKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - privKeyType?: string; - }; - ledger?: { - path?: { - purpose?: number; - coinType?: number; - account?: number; - change?: boolean; - addressIndex?: number; - }; - }; - multi?: {}; - offline?: {}; - }): _34.Record; - fromSDK(object: _34.RecordSDKType): _34.Record; - toSDK(message: _34.Record): _34.RecordSDKType; - fromAmino(object: _34.RecordAmino): _34.Record; - toAmino(message: _34.Record): _34.RecordAmino; - fromAminoMsg(object: _34.RecordAminoMsg): _34.Record; - toAminoMsg(message: _34.Record): _34.RecordAminoMsg; - fromProtoMsg(message: _34.RecordProtoMsg): _34.Record; - toProto(message: _34.Record): Uint8Array; - toProtoMsg(message: _34.Record): _34.RecordProtoMsg; - }; - Record_Local: { - typeUrl: string; - aminoType: string; - is(o: any): o is _34.Record_Local; - isSDK(o: any): o is _34.Record_LocalSDKType; - isAmino(o: any): o is _34.Record_LocalAmino; - encode(message: _34.Record_Local, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _34.Record_Local; - fromJSON(object: any): _34.Record_Local; - toJSON(message: _34.Record_Local): unknown; - fromPartial(object: { - privKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - privKeyType?: string; - }): _34.Record_Local; - fromSDK(object: _34.Record_LocalSDKType): _34.Record_Local; - toSDK(message: _34.Record_Local): _34.Record_LocalSDKType; - fromAmino(object: _34.Record_LocalAmino): _34.Record_Local; - toAmino(message: _34.Record_Local): _34.Record_LocalAmino; - fromAminoMsg(object: _34.Record_LocalAminoMsg): _34.Record_Local; - toAminoMsg(message: _34.Record_Local): _34.Record_LocalAminoMsg; - fromProtoMsg(message: _34.Record_LocalProtoMsg): _34.Record_Local; - toProto(message: _34.Record_Local): Uint8Array; - toProtoMsg(message: _34.Record_Local): _34.Record_LocalProtoMsg; - }; - Record_Ledger: { - typeUrl: string; - aminoType: string; - is(o: any): o is _34.Record_Ledger; - isSDK(o: any): o is _34.Record_LedgerSDKType; - isAmino(o: any): o is _34.Record_LedgerAmino; - encode(message: _34.Record_Ledger, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _34.Record_Ledger; - fromJSON(object: any): _34.Record_Ledger; - toJSON(message: _34.Record_Ledger): unknown; - fromPartial(object: { - path?: { - purpose?: number; - coinType?: number; - account?: number; - change?: boolean; - addressIndex?: number; - }; - }): _34.Record_Ledger; - fromSDK(object: _34.Record_LedgerSDKType): _34.Record_Ledger; - toSDK(message: _34.Record_Ledger): _34.Record_LedgerSDKType; - fromAmino(object: _34.Record_LedgerAmino): _34.Record_Ledger; - toAmino(message: _34.Record_Ledger): _34.Record_LedgerAmino; - fromAminoMsg(object: _34.Record_LedgerAminoMsg): _34.Record_Ledger; - toAminoMsg(message: _34.Record_Ledger): _34.Record_LedgerAminoMsg; - fromProtoMsg(message: _34.Record_LedgerProtoMsg): _34.Record_Ledger; - toProto(message: _34.Record_Ledger): Uint8Array; - toProtoMsg(message: _34.Record_Ledger): _34.Record_LedgerProtoMsg; - }; - Record_Multi: { - typeUrl: string; - aminoType: string; - is(o: any): o is _34.Record_Multi; - isSDK(o: any): o is _34.Record_MultiSDKType; - isAmino(o: any): o is _34.Record_MultiAmino; - encode(_: _34.Record_Multi, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _34.Record_Multi; - fromJSON(_: any): _34.Record_Multi; - toJSON(_: _34.Record_Multi): unknown; - fromPartial(_: {}): _34.Record_Multi; - fromSDK(_: _34.Record_MultiSDKType): _34.Record_Multi; - toSDK(_: _34.Record_Multi): _34.Record_MultiSDKType; - fromAmino(_: _34.Record_MultiAmino): _34.Record_Multi; - toAmino(_: _34.Record_Multi): _34.Record_MultiAmino; - fromAminoMsg(object: _34.Record_MultiAminoMsg): _34.Record_Multi; - toAminoMsg(message: _34.Record_Multi): _34.Record_MultiAminoMsg; - fromProtoMsg(message: _34.Record_MultiProtoMsg): _34.Record_Multi; - toProto(message: _34.Record_Multi): Uint8Array; - toProtoMsg(message: _34.Record_Multi): _34.Record_MultiProtoMsg; - }; - Record_Offline: { - typeUrl: string; - aminoType: string; - is(o: any): o is _34.Record_Offline; - isSDK(o: any): o is _34.Record_OfflineSDKType; - isAmino(o: any): o is _34.Record_OfflineAmino; - encode(_: _34.Record_Offline, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _34.Record_Offline; - fromJSON(_: any): _34.Record_Offline; - toJSON(_: _34.Record_Offline): unknown; - fromPartial(_: {}): _34.Record_Offline; - fromSDK(_: _34.Record_OfflineSDKType): _34.Record_Offline; - toSDK(_: _34.Record_Offline): _34.Record_OfflineSDKType; - fromAmino(_: _34.Record_OfflineAmino): _34.Record_Offline; - toAmino(_: _34.Record_Offline): _34.Record_OfflineAmino; - fromAminoMsg(object: _34.Record_OfflineAminoMsg): _34.Record_Offline; - toAminoMsg(message: _34.Record_Offline): _34.Record_OfflineAminoMsg; - fromProtoMsg(message: _34.Record_OfflineProtoMsg): _34.Record_Offline; - toProto(message: _34.Record_Offline): Uint8Array; - toProtoMsg(message: _34.Record_Offline): _34.Record_OfflineProtoMsg; - }; - }; - } - const multisig: { - LegacyAminoPubKey: { - typeUrl: string; - aminoType: string; - is(o: any): o is _35.LegacyAminoPubKey; - isSDK(o: any): o is _35.LegacyAminoPubKeySDKType; - isAmino(o: any): o is _35.LegacyAminoPubKeyAmino; - encode(message: _35.LegacyAminoPubKey, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _35.LegacyAminoPubKey; - fromJSON(object: any): _35.LegacyAminoPubKey; - toJSON(message: _35.LegacyAminoPubKey): unknown; - fromPartial(object: { - threshold?: number; - publicKeys?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _35.LegacyAminoPubKey; - fromSDK(object: _35.LegacyAminoPubKeySDKType): _35.LegacyAminoPubKey; - toSDK(message: _35.LegacyAminoPubKey): _35.LegacyAminoPubKeySDKType; - fromAmino(object: _35.LegacyAminoPubKeyAmino): _35.LegacyAminoPubKey; - toAmino(message: _35.LegacyAminoPubKey): _35.LegacyAminoPubKeyAmino; - fromAminoMsg(object: _35.LegacyAminoPubKeyAminoMsg): _35.LegacyAminoPubKey; - toAminoMsg(message: _35.LegacyAminoPubKey): _35.LegacyAminoPubKeyAminoMsg; - fromProtoMsg(message: _35.LegacyAminoPubKeyProtoMsg): _35.LegacyAminoPubKey; - toProto(message: _35.LegacyAminoPubKey): Uint8Array; - toProtoMsg(message: _35.LegacyAminoPubKey): _35.LegacyAminoPubKeyProtoMsg; - }; - }; - const secp256k1: { - PubKey: { - typeUrl: string; - aminoType: string; - is(o: any): o is _36.PubKey; - isSDK(o: any): o is _36.PubKeySDKType; - isAmino(o: any): o is _36.PubKeyAmino; - encode(message: _36.PubKey, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _36.PubKey; - fromJSON(object: any): _36.PubKey; - toJSON(message: _36.PubKey): unknown; - fromPartial(object: { - key?: Uint8Array; - }): _36.PubKey; - fromSDK(object: _36.PubKeySDKType): _36.PubKey; - toSDK(message: _36.PubKey): _36.PubKeySDKType; - fromAmino(object: _36.PubKeyAmino): _36.PubKey; - toAmino(message: _36.PubKey): _36.PubKeyAmino; - fromAminoMsg(object: _36.PubKeyAminoMsg): _36.PubKey; - toAminoMsg(message: _36.PubKey): _36.PubKeyAminoMsg; - fromProtoMsg(message: _36.PubKeyProtoMsg): _36.PubKey; - toProto(message: _36.PubKey): Uint8Array; - toProtoMsg(message: _36.PubKey): _36.PubKeyProtoMsg; - }; - PrivKey: { - typeUrl: string; - aminoType: string; - is(o: any): o is _36.PrivKey; - isSDK(o: any): o is _36.PrivKeySDKType; - isAmino(o: any): o is _36.PrivKeyAmino; - encode(message: _36.PrivKey, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _36.PrivKey; - fromJSON(object: any): _36.PrivKey; - toJSON(message: _36.PrivKey): unknown; - fromPartial(object: { - key?: Uint8Array; - }): _36.PrivKey; - fromSDK(object: _36.PrivKeySDKType): _36.PrivKey; - toSDK(message: _36.PrivKey): _36.PrivKeySDKType; - fromAmino(object: _36.PrivKeyAmino): _36.PrivKey; - toAmino(message: _36.PrivKey): _36.PrivKeyAmino; - fromAminoMsg(object: _36.PrivKeyAminoMsg): _36.PrivKey; - toAminoMsg(message: _36.PrivKey): _36.PrivKeyAminoMsg; - fromProtoMsg(message: _36.PrivKeyProtoMsg): _36.PrivKey; - toProto(message: _36.PrivKey): Uint8Array; - toProtoMsg(message: _36.PrivKey): _36.PrivKeyProtoMsg; - }; - }; - const secp256r1: { - PubKey: { - typeUrl: string; - aminoType: string; - is(o: any): o is _37.PubKey; - isSDK(o: any): o is _37.PubKeySDKType; - isAmino(o: any): o is _37.PubKeyAmino; - encode(message: _37.PubKey, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _37.PubKey; - fromJSON(object: any): _37.PubKey; - toJSON(message: _37.PubKey): unknown; - fromPartial(object: { - key?: Uint8Array; - }): _37.PubKey; - fromSDK(object: _37.PubKeySDKType): _37.PubKey; - toSDK(message: _37.PubKey): _37.PubKeySDKType; - fromAmino(object: _37.PubKeyAmino): _37.PubKey; - toAmino(message: _37.PubKey): _37.PubKeyAmino; - fromAminoMsg(object: _37.PubKeyAminoMsg): _37.PubKey; - toAminoMsg(message: _37.PubKey): _37.PubKeyAminoMsg; - fromProtoMsg(message: _37.PubKeyProtoMsg): _37.PubKey; - toProto(message: _37.PubKey): Uint8Array; - toProtoMsg(message: _37.PubKey): _37.PubKeyProtoMsg; - }; - PrivKey: { - typeUrl: string; - aminoType: string; - is(o: any): o is _37.PrivKey; - isSDK(o: any): o is _37.PrivKeySDKType; - isAmino(o: any): o is _37.PrivKeyAmino; - encode(message: _37.PrivKey, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _37.PrivKey; - fromJSON(object: any): _37.PrivKey; - toJSON(message: _37.PrivKey): unknown; - fromPartial(object: { - secret?: Uint8Array; - }): _37.PrivKey; - fromSDK(object: _37.PrivKeySDKType): _37.PrivKey; - toSDK(message: _37.PrivKey): _37.PrivKeySDKType; - fromAmino(object: _37.PrivKeyAmino): _37.PrivKey; - toAmino(message: _37.PrivKey): _37.PrivKeyAmino; - fromAminoMsg(object: _37.PrivKeyAminoMsg): _37.PrivKey; - toAminoMsg(message: _37.PrivKey): _37.PrivKeyAminoMsg; - fromProtoMsg(message: _37.PrivKeyProtoMsg): _37.PrivKey; - toProto(message: _37.PrivKey): Uint8Array; - toProtoMsg(message: _37.PrivKey): _37.PrivKeyProtoMsg; - }; - }; - } - namespace distribution { - const v1beta1: { - MsgClientImpl: typeof _239.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _239.MsgClientImpl; - QueryClientImpl: typeof _223.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useParams: ({ request, options }: _223.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useValidatorOutstandingRewards: ({ request, options }: _223.UseValidatorOutstandingRewardsQuery) => import("@tanstack/react-query").UseQueryResult; - useValidatorCommission: ({ request, options }: _223.UseValidatorCommissionQuery) => import("@tanstack/react-query").UseQueryResult; - useValidatorSlashes: ({ request, options }: _223.UseValidatorSlashesQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegationRewards: ({ request, options }: _223.UseDelegationRewardsQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegationTotalRewards: ({ request, options }: _223.UseDelegationTotalRewardsQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegatorValidators: ({ request, options }: _223.UseDelegatorValidatorsQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegatorWithdrawAddress: ({ request, options }: _223.UseDelegatorWithdrawAddressQuery) => import("@tanstack/react-query").UseQueryResult; - useCommunityPool: ({ request, options }: _223.UseCommunityPoolQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_40.QueryParamsRequest, _40.QueryParamsResponse>; - params(request: _40.QueryParamsRequest): import("..").MobxResponse<_40.QueryParamsResponse>; - }; - }; - QueryValidatorOutstandingRewardsStore: { - new (): { - store: import("..").QueryStore<_40.QueryValidatorOutstandingRewardsRequest, _40.QueryValidatorOutstandingRewardsResponse>; - validatorOutstandingRewards(request: _40.QueryValidatorOutstandingRewardsRequest): import("..").MobxResponse<_40.QueryValidatorOutstandingRewardsResponse>; - }; - }; - QueryValidatorCommissionStore: { - new (): { - store: import("..").QueryStore<_40.QueryValidatorCommissionRequest, _40.QueryValidatorCommissionResponse>; - validatorCommission(request: _40.QueryValidatorCommissionRequest): import("..").MobxResponse<_40.QueryValidatorCommissionResponse>; - }; - }; - QueryValidatorSlashesStore: { - new (): { - store: import("..").QueryStore<_40.QueryValidatorSlashesRequest, _40.QueryValidatorSlashesResponse>; - validatorSlashes(request: _40.QueryValidatorSlashesRequest): import("..").MobxResponse<_40.QueryValidatorSlashesResponse>; - }; - }; - QueryDelegationRewardsStore: { - new (): { - store: import("..").QueryStore<_40.QueryDelegationRewardsRequest, _40.QueryDelegationRewardsResponse>; - delegationRewards(request: _40.QueryDelegationRewardsRequest): import("..").MobxResponse<_40.QueryDelegationRewardsResponse>; - }; - }; - QueryDelegationTotalRewardsStore: { - new (): { - store: import("..").QueryStore<_40.QueryDelegationTotalRewardsRequest, _40.QueryDelegationTotalRewardsResponse>; - delegationTotalRewards(request: _40.QueryDelegationTotalRewardsRequest): import("..").MobxResponse<_40.QueryDelegationTotalRewardsResponse>; - }; - }; - QueryDelegatorValidatorsStore: { - new (): { - store: import("..").QueryStore<_40.QueryDelegatorValidatorsRequest, _40.QueryDelegatorValidatorsResponse>; - delegatorValidators(request: _40.QueryDelegatorValidatorsRequest): import("..").MobxResponse<_40.QueryDelegatorValidatorsResponse>; - }; - }; - QueryDelegatorWithdrawAddressStore: { - new (): { - store: import("..").QueryStore<_40.QueryDelegatorWithdrawAddressRequest, _40.QueryDelegatorWithdrawAddressResponse>; - delegatorWithdrawAddress(request: _40.QueryDelegatorWithdrawAddressRequest): import("..").MobxResponse<_40.QueryDelegatorWithdrawAddressResponse>; - }; - }; - QueryCommunityPoolStore: { - new (): { - store: import("..").QueryStore<_40.QueryCommunityPoolRequest, _40.QueryCommunityPoolResponse>; - communityPool(request: _40.QueryCommunityPoolRequest): import("..").MobxResponse<_40.QueryCommunityPoolResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - setWithdrawAddress(value: _41.MsgSetWithdrawAddress): { - typeUrl: string; - value: Uint8Array; - }; - withdrawDelegatorReward(value: _41.MsgWithdrawDelegatorReward): { - typeUrl: string; - value: Uint8Array; - }; - withdrawValidatorCommission(value: _41.MsgWithdrawValidatorCommission): { - typeUrl: string; - value: Uint8Array; - }; - fundCommunityPool(value: _41.MsgFundCommunityPool): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - setWithdrawAddress(value: _41.MsgSetWithdrawAddress): { - typeUrl: string; - value: _41.MsgSetWithdrawAddress; - }; - withdrawDelegatorReward(value: _41.MsgWithdrawDelegatorReward): { - typeUrl: string; - value: _41.MsgWithdrawDelegatorReward; - }; - withdrawValidatorCommission(value: _41.MsgWithdrawValidatorCommission): { - typeUrl: string; - value: _41.MsgWithdrawValidatorCommission; - }; - fundCommunityPool(value: _41.MsgFundCommunityPool): { - typeUrl: string; - value: _41.MsgFundCommunityPool; - }; - }; - toJSON: { - setWithdrawAddress(value: _41.MsgSetWithdrawAddress): { - typeUrl: string; - value: unknown; - }; - withdrawDelegatorReward(value: _41.MsgWithdrawDelegatorReward): { - typeUrl: string; - value: unknown; - }; - withdrawValidatorCommission(value: _41.MsgWithdrawValidatorCommission): { - typeUrl: string; - value: unknown; - }; - fundCommunityPool(value: _41.MsgFundCommunityPool): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - setWithdrawAddress(value: any): { - typeUrl: string; - value: _41.MsgSetWithdrawAddress; - }; - withdrawDelegatorReward(value: any): { - typeUrl: string; - value: _41.MsgWithdrawDelegatorReward; - }; - withdrawValidatorCommission(value: any): { - typeUrl: string; - value: _41.MsgWithdrawValidatorCommission; - }; - fundCommunityPool(value: any): { - typeUrl: string; - value: _41.MsgFundCommunityPool; - }; - }; - fromPartial: { - setWithdrawAddress(value: _41.MsgSetWithdrawAddress): { - typeUrl: string; - value: _41.MsgSetWithdrawAddress; - }; - withdrawDelegatorReward(value: _41.MsgWithdrawDelegatorReward): { - typeUrl: string; - value: _41.MsgWithdrawDelegatorReward; - }; - withdrawValidatorCommission(value: _41.MsgWithdrawValidatorCommission): { - typeUrl: string; - value: _41.MsgWithdrawValidatorCommission; - }; - fundCommunityPool(value: _41.MsgFundCommunityPool): { - typeUrl: string; - value: _41.MsgFundCommunityPool; - }; - }; - }; - AminoConverter: { - "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": { - aminoType: string; - toAmino: (message: _41.MsgSetWithdrawAddress) => _41.MsgSetWithdrawAddressAmino; - fromAmino: (object: _41.MsgSetWithdrawAddressAmino) => _41.MsgSetWithdrawAddress; - }; - "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": { - aminoType: string; - toAmino: (message: _41.MsgWithdrawDelegatorReward) => _41.MsgWithdrawDelegatorRewardAmino; - fromAmino: (object: _41.MsgWithdrawDelegatorRewardAmino) => _41.MsgWithdrawDelegatorReward; - }; - "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": { - aminoType: string; - toAmino: (message: _41.MsgWithdrawValidatorCommission) => _41.MsgWithdrawValidatorCommissionAmino; - fromAmino: (object: _41.MsgWithdrawValidatorCommissionAmino) => _41.MsgWithdrawValidatorCommission; - }; - "/cosmos.distribution.v1beta1.MsgFundCommunityPool": { - aminoType: string; - toAmino: (message: _41.MsgFundCommunityPool) => _41.MsgFundCommunityPoolAmino; - fromAmino: (object: _41.MsgFundCommunityPoolAmino) => _41.MsgFundCommunityPool; - }; - }; - MsgSetWithdrawAddress: { - typeUrl: string; - aminoType: string; - is(o: any): o is _41.MsgSetWithdrawAddress; - isSDK(o: any): o is _41.MsgSetWithdrawAddressSDKType; - isAmino(o: any): o is _41.MsgSetWithdrawAddressAmino; - encode(message: _41.MsgSetWithdrawAddress, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _41.MsgSetWithdrawAddress; - fromJSON(object: any): _41.MsgSetWithdrawAddress; - toJSON(message: _41.MsgSetWithdrawAddress): unknown; - fromPartial(object: { - delegatorAddress?: string; - withdrawAddress?: string; - }): _41.MsgSetWithdrawAddress; - fromSDK(object: _41.MsgSetWithdrawAddressSDKType): _41.MsgSetWithdrawAddress; - toSDK(message: _41.MsgSetWithdrawAddress): _41.MsgSetWithdrawAddressSDKType; - fromAmino(object: _41.MsgSetWithdrawAddressAmino): _41.MsgSetWithdrawAddress; - toAmino(message: _41.MsgSetWithdrawAddress): _41.MsgSetWithdrawAddressAmino; - fromAminoMsg(object: _41.MsgSetWithdrawAddressAminoMsg): _41.MsgSetWithdrawAddress; - toAminoMsg(message: _41.MsgSetWithdrawAddress): _41.MsgSetWithdrawAddressAminoMsg; - fromProtoMsg(message: _41.MsgSetWithdrawAddressProtoMsg): _41.MsgSetWithdrawAddress; - toProto(message: _41.MsgSetWithdrawAddress): Uint8Array; - toProtoMsg(message: _41.MsgSetWithdrawAddress): _41.MsgSetWithdrawAddressProtoMsg; - }; - MsgSetWithdrawAddressResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _41.MsgSetWithdrawAddressResponse; - isSDK(o: any): o is _41.MsgSetWithdrawAddressResponseSDKType; - isAmino(o: any): o is _41.MsgSetWithdrawAddressResponseAmino; - encode(_: _41.MsgSetWithdrawAddressResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _41.MsgSetWithdrawAddressResponse; - fromJSON(_: any): _41.MsgSetWithdrawAddressResponse; - toJSON(_: _41.MsgSetWithdrawAddressResponse): unknown; - fromPartial(_: {}): _41.MsgSetWithdrawAddressResponse; - fromSDK(_: _41.MsgSetWithdrawAddressResponseSDKType): _41.MsgSetWithdrawAddressResponse; - toSDK(_: _41.MsgSetWithdrawAddressResponse): _41.MsgSetWithdrawAddressResponseSDKType; - fromAmino(_: _41.MsgSetWithdrawAddressResponseAmino): _41.MsgSetWithdrawAddressResponse; - toAmino(_: _41.MsgSetWithdrawAddressResponse): _41.MsgSetWithdrawAddressResponseAmino; - fromAminoMsg(object: _41.MsgSetWithdrawAddressResponseAminoMsg): _41.MsgSetWithdrawAddressResponse; - toAminoMsg(message: _41.MsgSetWithdrawAddressResponse): _41.MsgSetWithdrawAddressResponseAminoMsg; - fromProtoMsg(message: _41.MsgSetWithdrawAddressResponseProtoMsg): _41.MsgSetWithdrawAddressResponse; - toProto(message: _41.MsgSetWithdrawAddressResponse): Uint8Array; - toProtoMsg(message: _41.MsgSetWithdrawAddressResponse): _41.MsgSetWithdrawAddressResponseProtoMsg; - }; - MsgWithdrawDelegatorReward: { - typeUrl: string; - aminoType: string; - is(o: any): o is _41.MsgWithdrawDelegatorReward; - isSDK(o: any): o is _41.MsgWithdrawDelegatorRewardSDKType; - isAmino(o: any): o is _41.MsgWithdrawDelegatorRewardAmino; - encode(message: _41.MsgWithdrawDelegatorReward, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _41.MsgWithdrawDelegatorReward; - fromJSON(object: any): _41.MsgWithdrawDelegatorReward; - toJSON(message: _41.MsgWithdrawDelegatorReward): unknown; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - }): _41.MsgWithdrawDelegatorReward; - fromSDK(object: _41.MsgWithdrawDelegatorRewardSDKType): _41.MsgWithdrawDelegatorReward; - toSDK(message: _41.MsgWithdrawDelegatorReward): _41.MsgWithdrawDelegatorRewardSDKType; - fromAmino(object: _41.MsgWithdrawDelegatorRewardAmino): _41.MsgWithdrawDelegatorReward; - toAmino(message: _41.MsgWithdrawDelegatorReward): _41.MsgWithdrawDelegatorRewardAmino; - fromAminoMsg(object: _41.MsgWithdrawDelegatorRewardAminoMsg): _41.MsgWithdrawDelegatorReward; - toAminoMsg(message: _41.MsgWithdrawDelegatorReward): _41.MsgWithdrawDelegatorRewardAminoMsg; - fromProtoMsg(message: _41.MsgWithdrawDelegatorRewardProtoMsg): _41.MsgWithdrawDelegatorReward; - toProto(message: _41.MsgWithdrawDelegatorReward): Uint8Array; - toProtoMsg(message: _41.MsgWithdrawDelegatorReward): _41.MsgWithdrawDelegatorRewardProtoMsg; - }; - MsgWithdrawDelegatorRewardResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _41.MsgWithdrawDelegatorRewardResponse; - isSDK(o: any): o is _41.MsgWithdrawDelegatorRewardResponseSDKType; - isAmino(o: any): o is _41.MsgWithdrawDelegatorRewardResponseAmino; - encode(message: _41.MsgWithdrawDelegatorRewardResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _41.MsgWithdrawDelegatorRewardResponse; - fromJSON(object: any): _41.MsgWithdrawDelegatorRewardResponse; - toJSON(message: _41.MsgWithdrawDelegatorRewardResponse): unknown; - fromPartial(object: { - amount?: { - denom?: string; - amount?: string; - }[]; - }): _41.MsgWithdrawDelegatorRewardResponse; - fromSDK(object: _41.MsgWithdrawDelegatorRewardResponseSDKType): _41.MsgWithdrawDelegatorRewardResponse; - toSDK(message: _41.MsgWithdrawDelegatorRewardResponse): _41.MsgWithdrawDelegatorRewardResponseSDKType; - fromAmino(object: _41.MsgWithdrawDelegatorRewardResponseAmino): _41.MsgWithdrawDelegatorRewardResponse; - toAmino(message: _41.MsgWithdrawDelegatorRewardResponse): _41.MsgWithdrawDelegatorRewardResponseAmino; - fromAminoMsg(object: _41.MsgWithdrawDelegatorRewardResponseAminoMsg): _41.MsgWithdrawDelegatorRewardResponse; - toAminoMsg(message: _41.MsgWithdrawDelegatorRewardResponse): _41.MsgWithdrawDelegatorRewardResponseAminoMsg; - fromProtoMsg(message: _41.MsgWithdrawDelegatorRewardResponseProtoMsg): _41.MsgWithdrawDelegatorRewardResponse; - toProto(message: _41.MsgWithdrawDelegatorRewardResponse): Uint8Array; - toProtoMsg(message: _41.MsgWithdrawDelegatorRewardResponse): _41.MsgWithdrawDelegatorRewardResponseProtoMsg; - }; - MsgWithdrawValidatorCommission: { - typeUrl: string; - aminoType: string; - is(o: any): o is _41.MsgWithdrawValidatorCommission; - isSDK(o: any): o is _41.MsgWithdrawValidatorCommissionSDKType; - isAmino(o: any): o is _41.MsgWithdrawValidatorCommissionAmino; - encode(message: _41.MsgWithdrawValidatorCommission, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _41.MsgWithdrawValidatorCommission; - fromJSON(object: any): _41.MsgWithdrawValidatorCommission; - toJSON(message: _41.MsgWithdrawValidatorCommission): unknown; - fromPartial(object: { - validatorAddress?: string; - }): _41.MsgWithdrawValidatorCommission; - fromSDK(object: _41.MsgWithdrawValidatorCommissionSDKType): _41.MsgWithdrawValidatorCommission; - toSDK(message: _41.MsgWithdrawValidatorCommission): _41.MsgWithdrawValidatorCommissionSDKType; - fromAmino(object: _41.MsgWithdrawValidatorCommissionAmino): _41.MsgWithdrawValidatorCommission; - toAmino(message: _41.MsgWithdrawValidatorCommission): _41.MsgWithdrawValidatorCommissionAmino; - fromAminoMsg(object: _41.MsgWithdrawValidatorCommissionAminoMsg): _41.MsgWithdrawValidatorCommission; - toAminoMsg(message: _41.MsgWithdrawValidatorCommission): _41.MsgWithdrawValidatorCommissionAminoMsg; - fromProtoMsg(message: _41.MsgWithdrawValidatorCommissionProtoMsg): _41.MsgWithdrawValidatorCommission; - toProto(message: _41.MsgWithdrawValidatorCommission): Uint8Array; - toProtoMsg(message: _41.MsgWithdrawValidatorCommission): _41.MsgWithdrawValidatorCommissionProtoMsg; - }; - MsgWithdrawValidatorCommissionResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _41.MsgWithdrawValidatorCommissionResponse; - isSDK(o: any): o is _41.MsgWithdrawValidatorCommissionResponseSDKType; - isAmino(o: any): o is _41.MsgWithdrawValidatorCommissionResponseAmino; - encode(message: _41.MsgWithdrawValidatorCommissionResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _41.MsgWithdrawValidatorCommissionResponse; - fromJSON(object: any): _41.MsgWithdrawValidatorCommissionResponse; - toJSON(message: _41.MsgWithdrawValidatorCommissionResponse): unknown; - fromPartial(object: { - amount?: { - denom?: string; - amount?: string; - }[]; - }): _41.MsgWithdrawValidatorCommissionResponse; - fromSDK(object: _41.MsgWithdrawValidatorCommissionResponseSDKType): _41.MsgWithdrawValidatorCommissionResponse; - toSDK(message: _41.MsgWithdrawValidatorCommissionResponse): _41.MsgWithdrawValidatorCommissionResponseSDKType; - fromAmino(object: _41.MsgWithdrawValidatorCommissionResponseAmino): _41.MsgWithdrawValidatorCommissionResponse; - toAmino(message: _41.MsgWithdrawValidatorCommissionResponse): _41.MsgWithdrawValidatorCommissionResponseAmino; - fromAminoMsg(object: _41.MsgWithdrawValidatorCommissionResponseAminoMsg): _41.MsgWithdrawValidatorCommissionResponse; - toAminoMsg(message: _41.MsgWithdrawValidatorCommissionResponse): _41.MsgWithdrawValidatorCommissionResponseAminoMsg; - fromProtoMsg(message: _41.MsgWithdrawValidatorCommissionResponseProtoMsg): _41.MsgWithdrawValidatorCommissionResponse; - toProto(message: _41.MsgWithdrawValidatorCommissionResponse): Uint8Array; - toProtoMsg(message: _41.MsgWithdrawValidatorCommissionResponse): _41.MsgWithdrawValidatorCommissionResponseProtoMsg; - }; - MsgFundCommunityPool: { - typeUrl: string; - aminoType: string; - is(o: any): o is _41.MsgFundCommunityPool; - isSDK(o: any): o is _41.MsgFundCommunityPoolSDKType; - isAmino(o: any): o is _41.MsgFundCommunityPoolAmino; - encode(message: _41.MsgFundCommunityPool, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _41.MsgFundCommunityPool; - fromJSON(object: any): _41.MsgFundCommunityPool; - toJSON(message: _41.MsgFundCommunityPool): unknown; - fromPartial(object: { - amount?: { - denom?: string; - amount?: string; - }[]; - depositor?: string; - }): _41.MsgFundCommunityPool; - fromSDK(object: _41.MsgFundCommunityPoolSDKType): _41.MsgFundCommunityPool; - toSDK(message: _41.MsgFundCommunityPool): _41.MsgFundCommunityPoolSDKType; - fromAmino(object: _41.MsgFundCommunityPoolAmino): _41.MsgFundCommunityPool; - toAmino(message: _41.MsgFundCommunityPool): _41.MsgFundCommunityPoolAmino; - fromAminoMsg(object: _41.MsgFundCommunityPoolAminoMsg): _41.MsgFundCommunityPool; - toAminoMsg(message: _41.MsgFundCommunityPool): _41.MsgFundCommunityPoolAminoMsg; - fromProtoMsg(message: _41.MsgFundCommunityPoolProtoMsg): _41.MsgFundCommunityPool; - toProto(message: _41.MsgFundCommunityPool): Uint8Array; - toProtoMsg(message: _41.MsgFundCommunityPool): _41.MsgFundCommunityPoolProtoMsg; - }; - MsgFundCommunityPoolResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _41.MsgFundCommunityPoolResponse; - isSDK(o: any): o is _41.MsgFundCommunityPoolResponseSDKType; - isAmino(o: any): o is _41.MsgFundCommunityPoolResponseAmino; - encode(_: _41.MsgFundCommunityPoolResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _41.MsgFundCommunityPoolResponse; - fromJSON(_: any): _41.MsgFundCommunityPoolResponse; - toJSON(_: _41.MsgFundCommunityPoolResponse): unknown; - fromPartial(_: {}): _41.MsgFundCommunityPoolResponse; - fromSDK(_: _41.MsgFundCommunityPoolResponseSDKType): _41.MsgFundCommunityPoolResponse; - toSDK(_: _41.MsgFundCommunityPoolResponse): _41.MsgFundCommunityPoolResponseSDKType; - fromAmino(_: _41.MsgFundCommunityPoolResponseAmino): _41.MsgFundCommunityPoolResponse; - toAmino(_: _41.MsgFundCommunityPoolResponse): _41.MsgFundCommunityPoolResponseAmino; - fromAminoMsg(object: _41.MsgFundCommunityPoolResponseAminoMsg): _41.MsgFundCommunityPoolResponse; - toAminoMsg(message: _41.MsgFundCommunityPoolResponse): _41.MsgFundCommunityPoolResponseAminoMsg; - fromProtoMsg(message: _41.MsgFundCommunityPoolResponseProtoMsg): _41.MsgFundCommunityPoolResponse; - toProto(message: _41.MsgFundCommunityPoolResponse): Uint8Array; - toProtoMsg(message: _41.MsgFundCommunityPoolResponse): _41.MsgFundCommunityPoolResponseProtoMsg; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryParamsRequest; - isSDK(o: any): o is _40.QueryParamsRequestSDKType; - isAmino(o: any): o is _40.QueryParamsRequestAmino; - encode(_: _40.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryParamsRequest; - fromJSON(_: any): _40.QueryParamsRequest; - toJSON(_: _40.QueryParamsRequest): unknown; - fromPartial(_: {}): _40.QueryParamsRequest; - fromSDK(_: _40.QueryParamsRequestSDKType): _40.QueryParamsRequest; - toSDK(_: _40.QueryParamsRequest): _40.QueryParamsRequestSDKType; - fromAmino(_: _40.QueryParamsRequestAmino): _40.QueryParamsRequest; - toAmino(_: _40.QueryParamsRequest): _40.QueryParamsRequestAmino; - fromAminoMsg(object: _40.QueryParamsRequestAminoMsg): _40.QueryParamsRequest; - toAminoMsg(message: _40.QueryParamsRequest): _40.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _40.QueryParamsRequestProtoMsg): _40.QueryParamsRequest; - toProto(message: _40.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _40.QueryParamsRequest): _40.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryParamsResponse; - isSDK(o: any): o is _40.QueryParamsResponseSDKType; - isAmino(o: any): o is _40.QueryParamsResponseAmino; - encode(message: _40.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryParamsResponse; - fromJSON(object: any): _40.QueryParamsResponse; - toJSON(message: _40.QueryParamsResponse): unknown; - fromPartial(object: { - params?: { - communityTax?: string; - baseProposerReward?: string; - bonusProposerReward?: string; - withdrawAddrEnabled?: boolean; - }; - }): _40.QueryParamsResponse; - fromSDK(object: _40.QueryParamsResponseSDKType): _40.QueryParamsResponse; - toSDK(message: _40.QueryParamsResponse): _40.QueryParamsResponseSDKType; - fromAmino(object: _40.QueryParamsResponseAmino): _40.QueryParamsResponse; - toAmino(message: _40.QueryParamsResponse): _40.QueryParamsResponseAmino; - fromAminoMsg(object: _40.QueryParamsResponseAminoMsg): _40.QueryParamsResponse; - toAminoMsg(message: _40.QueryParamsResponse): _40.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _40.QueryParamsResponseProtoMsg): _40.QueryParamsResponse; - toProto(message: _40.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _40.QueryParamsResponse): _40.QueryParamsResponseProtoMsg; - }; - QueryValidatorOutstandingRewardsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryValidatorOutstandingRewardsRequest; - isSDK(o: any): o is _40.QueryValidatorOutstandingRewardsRequestSDKType; - isAmino(o: any): o is _40.QueryValidatorOutstandingRewardsRequestAmino; - encode(message: _40.QueryValidatorOutstandingRewardsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryValidatorOutstandingRewardsRequest; - fromJSON(object: any): _40.QueryValidatorOutstandingRewardsRequest; - toJSON(message: _40.QueryValidatorOutstandingRewardsRequest): unknown; - fromPartial(object: { - validatorAddress?: string; - }): _40.QueryValidatorOutstandingRewardsRequest; - fromSDK(object: _40.QueryValidatorOutstandingRewardsRequestSDKType): _40.QueryValidatorOutstandingRewardsRequest; - toSDK(message: _40.QueryValidatorOutstandingRewardsRequest): _40.QueryValidatorOutstandingRewardsRequestSDKType; - fromAmino(object: _40.QueryValidatorOutstandingRewardsRequestAmino): _40.QueryValidatorOutstandingRewardsRequest; - toAmino(message: _40.QueryValidatorOutstandingRewardsRequest): _40.QueryValidatorOutstandingRewardsRequestAmino; - fromAminoMsg(object: _40.QueryValidatorOutstandingRewardsRequestAminoMsg): _40.QueryValidatorOutstandingRewardsRequest; - toAminoMsg(message: _40.QueryValidatorOutstandingRewardsRequest): _40.QueryValidatorOutstandingRewardsRequestAminoMsg; - fromProtoMsg(message: _40.QueryValidatorOutstandingRewardsRequestProtoMsg): _40.QueryValidatorOutstandingRewardsRequest; - toProto(message: _40.QueryValidatorOutstandingRewardsRequest): Uint8Array; - toProtoMsg(message: _40.QueryValidatorOutstandingRewardsRequest): _40.QueryValidatorOutstandingRewardsRequestProtoMsg; - }; - QueryValidatorOutstandingRewardsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryValidatorOutstandingRewardsResponse; - isSDK(o: any): o is _40.QueryValidatorOutstandingRewardsResponseSDKType; - isAmino(o: any): o is _40.QueryValidatorOutstandingRewardsResponseAmino; - encode(message: _40.QueryValidatorOutstandingRewardsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryValidatorOutstandingRewardsResponse; - fromJSON(object: any): _40.QueryValidatorOutstandingRewardsResponse; - toJSON(message: _40.QueryValidatorOutstandingRewardsResponse): unknown; - fromPartial(object: { - rewards?: { - rewards?: { - denom?: string; - amount?: string; - }[]; - }; - }): _40.QueryValidatorOutstandingRewardsResponse; - fromSDK(object: _40.QueryValidatorOutstandingRewardsResponseSDKType): _40.QueryValidatorOutstandingRewardsResponse; - toSDK(message: _40.QueryValidatorOutstandingRewardsResponse): _40.QueryValidatorOutstandingRewardsResponseSDKType; - fromAmino(object: _40.QueryValidatorOutstandingRewardsResponseAmino): _40.QueryValidatorOutstandingRewardsResponse; - toAmino(message: _40.QueryValidatorOutstandingRewardsResponse): _40.QueryValidatorOutstandingRewardsResponseAmino; - fromAminoMsg(object: _40.QueryValidatorOutstandingRewardsResponseAminoMsg): _40.QueryValidatorOutstandingRewardsResponse; - toAminoMsg(message: _40.QueryValidatorOutstandingRewardsResponse): _40.QueryValidatorOutstandingRewardsResponseAminoMsg; - fromProtoMsg(message: _40.QueryValidatorOutstandingRewardsResponseProtoMsg): _40.QueryValidatorOutstandingRewardsResponse; - toProto(message: _40.QueryValidatorOutstandingRewardsResponse): Uint8Array; - toProtoMsg(message: _40.QueryValidatorOutstandingRewardsResponse): _40.QueryValidatorOutstandingRewardsResponseProtoMsg; - }; - QueryValidatorCommissionRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryValidatorCommissionRequest; - isSDK(o: any): o is _40.QueryValidatorCommissionRequestSDKType; - isAmino(o: any): o is _40.QueryValidatorCommissionRequestAmino; - encode(message: _40.QueryValidatorCommissionRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryValidatorCommissionRequest; - fromJSON(object: any): _40.QueryValidatorCommissionRequest; - toJSON(message: _40.QueryValidatorCommissionRequest): unknown; - fromPartial(object: { - validatorAddress?: string; - }): _40.QueryValidatorCommissionRequest; - fromSDK(object: _40.QueryValidatorCommissionRequestSDKType): _40.QueryValidatorCommissionRequest; - toSDK(message: _40.QueryValidatorCommissionRequest): _40.QueryValidatorCommissionRequestSDKType; - fromAmino(object: _40.QueryValidatorCommissionRequestAmino): _40.QueryValidatorCommissionRequest; - toAmino(message: _40.QueryValidatorCommissionRequest): _40.QueryValidatorCommissionRequestAmino; - fromAminoMsg(object: _40.QueryValidatorCommissionRequestAminoMsg): _40.QueryValidatorCommissionRequest; - toAminoMsg(message: _40.QueryValidatorCommissionRequest): _40.QueryValidatorCommissionRequestAminoMsg; - fromProtoMsg(message: _40.QueryValidatorCommissionRequestProtoMsg): _40.QueryValidatorCommissionRequest; - toProto(message: _40.QueryValidatorCommissionRequest): Uint8Array; - toProtoMsg(message: _40.QueryValidatorCommissionRequest): _40.QueryValidatorCommissionRequestProtoMsg; - }; - QueryValidatorCommissionResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryValidatorCommissionResponse; - isSDK(o: any): o is _40.QueryValidatorCommissionResponseSDKType; - isAmino(o: any): o is _40.QueryValidatorCommissionResponseAmino; - encode(message: _40.QueryValidatorCommissionResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryValidatorCommissionResponse; - fromJSON(object: any): _40.QueryValidatorCommissionResponse; - toJSON(message: _40.QueryValidatorCommissionResponse): unknown; - fromPartial(object: { - commission?: { - commission?: { - denom?: string; - amount?: string; - }[]; - }; - }): _40.QueryValidatorCommissionResponse; - fromSDK(object: _40.QueryValidatorCommissionResponseSDKType): _40.QueryValidatorCommissionResponse; - toSDK(message: _40.QueryValidatorCommissionResponse): _40.QueryValidatorCommissionResponseSDKType; - fromAmino(object: _40.QueryValidatorCommissionResponseAmino): _40.QueryValidatorCommissionResponse; - toAmino(message: _40.QueryValidatorCommissionResponse): _40.QueryValidatorCommissionResponseAmino; - fromAminoMsg(object: _40.QueryValidatorCommissionResponseAminoMsg): _40.QueryValidatorCommissionResponse; - toAminoMsg(message: _40.QueryValidatorCommissionResponse): _40.QueryValidatorCommissionResponseAminoMsg; - fromProtoMsg(message: _40.QueryValidatorCommissionResponseProtoMsg): _40.QueryValidatorCommissionResponse; - toProto(message: _40.QueryValidatorCommissionResponse): Uint8Array; - toProtoMsg(message: _40.QueryValidatorCommissionResponse): _40.QueryValidatorCommissionResponseProtoMsg; - }; - QueryValidatorSlashesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryValidatorSlashesRequest; - isSDK(o: any): o is _40.QueryValidatorSlashesRequestSDKType; - isAmino(o: any): o is _40.QueryValidatorSlashesRequestAmino; - encode(message: _40.QueryValidatorSlashesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryValidatorSlashesRequest; - fromJSON(object: any): _40.QueryValidatorSlashesRequest; - toJSON(message: _40.QueryValidatorSlashesRequest): unknown; - fromPartial(object: { - validatorAddress?: string; - startingHeight?: bigint; - endingHeight?: bigint; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _40.QueryValidatorSlashesRequest; - fromSDK(object: _40.QueryValidatorSlashesRequestSDKType): _40.QueryValidatorSlashesRequest; - toSDK(message: _40.QueryValidatorSlashesRequest): _40.QueryValidatorSlashesRequestSDKType; - fromAmino(object: _40.QueryValidatorSlashesRequestAmino): _40.QueryValidatorSlashesRequest; - toAmino(message: _40.QueryValidatorSlashesRequest): _40.QueryValidatorSlashesRequestAmino; - fromAminoMsg(object: _40.QueryValidatorSlashesRequestAminoMsg): _40.QueryValidatorSlashesRequest; - toAminoMsg(message: _40.QueryValidatorSlashesRequest): _40.QueryValidatorSlashesRequestAminoMsg; - fromProtoMsg(message: _40.QueryValidatorSlashesRequestProtoMsg): _40.QueryValidatorSlashesRequest; - toProto(message: _40.QueryValidatorSlashesRequest): Uint8Array; - toProtoMsg(message: _40.QueryValidatorSlashesRequest): _40.QueryValidatorSlashesRequestProtoMsg; - }; - QueryValidatorSlashesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryValidatorSlashesResponse; - isSDK(o: any): o is _40.QueryValidatorSlashesResponseSDKType; - isAmino(o: any): o is _40.QueryValidatorSlashesResponseAmino; - encode(message: _40.QueryValidatorSlashesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryValidatorSlashesResponse; - fromJSON(object: any): _40.QueryValidatorSlashesResponse; - toJSON(message: _40.QueryValidatorSlashesResponse): unknown; - fromPartial(object: { - slashes?: { - validatorPeriod?: bigint; - fraction?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _40.QueryValidatorSlashesResponse; - fromSDK(object: _40.QueryValidatorSlashesResponseSDKType): _40.QueryValidatorSlashesResponse; - toSDK(message: _40.QueryValidatorSlashesResponse): _40.QueryValidatorSlashesResponseSDKType; - fromAmino(object: _40.QueryValidatorSlashesResponseAmino): _40.QueryValidatorSlashesResponse; - toAmino(message: _40.QueryValidatorSlashesResponse): _40.QueryValidatorSlashesResponseAmino; - fromAminoMsg(object: _40.QueryValidatorSlashesResponseAminoMsg): _40.QueryValidatorSlashesResponse; - toAminoMsg(message: _40.QueryValidatorSlashesResponse): _40.QueryValidatorSlashesResponseAminoMsg; - fromProtoMsg(message: _40.QueryValidatorSlashesResponseProtoMsg): _40.QueryValidatorSlashesResponse; - toProto(message: _40.QueryValidatorSlashesResponse): Uint8Array; - toProtoMsg(message: _40.QueryValidatorSlashesResponse): _40.QueryValidatorSlashesResponseProtoMsg; - }; - QueryDelegationRewardsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryDelegationRewardsRequest; - isSDK(o: any): o is _40.QueryDelegationRewardsRequestSDKType; - isAmino(o: any): o is _40.QueryDelegationRewardsRequestAmino; - encode(message: _40.QueryDelegationRewardsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryDelegationRewardsRequest; - fromJSON(object: any): _40.QueryDelegationRewardsRequest; - toJSON(message: _40.QueryDelegationRewardsRequest): unknown; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - }): _40.QueryDelegationRewardsRequest; - fromSDK(object: _40.QueryDelegationRewardsRequestSDKType): _40.QueryDelegationRewardsRequest; - toSDK(message: _40.QueryDelegationRewardsRequest): _40.QueryDelegationRewardsRequestSDKType; - fromAmino(object: _40.QueryDelegationRewardsRequestAmino): _40.QueryDelegationRewardsRequest; - toAmino(message: _40.QueryDelegationRewardsRequest): _40.QueryDelegationRewardsRequestAmino; - fromAminoMsg(object: _40.QueryDelegationRewardsRequestAminoMsg): _40.QueryDelegationRewardsRequest; - toAminoMsg(message: _40.QueryDelegationRewardsRequest): _40.QueryDelegationRewardsRequestAminoMsg; - fromProtoMsg(message: _40.QueryDelegationRewardsRequestProtoMsg): _40.QueryDelegationRewardsRequest; - toProto(message: _40.QueryDelegationRewardsRequest): Uint8Array; - toProtoMsg(message: _40.QueryDelegationRewardsRequest): _40.QueryDelegationRewardsRequestProtoMsg; - }; - QueryDelegationRewardsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryDelegationRewardsResponse; - isSDK(o: any): o is _40.QueryDelegationRewardsResponseSDKType; - isAmino(o: any): o is _40.QueryDelegationRewardsResponseAmino; - encode(message: _40.QueryDelegationRewardsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryDelegationRewardsResponse; - fromJSON(object: any): _40.QueryDelegationRewardsResponse; - toJSON(message: _40.QueryDelegationRewardsResponse): unknown; - fromPartial(object: { - rewards?: { - denom?: string; - amount?: string; - }[]; - }): _40.QueryDelegationRewardsResponse; - fromSDK(object: _40.QueryDelegationRewardsResponseSDKType): _40.QueryDelegationRewardsResponse; - toSDK(message: _40.QueryDelegationRewardsResponse): _40.QueryDelegationRewardsResponseSDKType; - fromAmino(object: _40.QueryDelegationRewardsResponseAmino): _40.QueryDelegationRewardsResponse; - toAmino(message: _40.QueryDelegationRewardsResponse): _40.QueryDelegationRewardsResponseAmino; - fromAminoMsg(object: _40.QueryDelegationRewardsResponseAminoMsg): _40.QueryDelegationRewardsResponse; - toAminoMsg(message: _40.QueryDelegationRewardsResponse): _40.QueryDelegationRewardsResponseAminoMsg; - fromProtoMsg(message: _40.QueryDelegationRewardsResponseProtoMsg): _40.QueryDelegationRewardsResponse; - toProto(message: _40.QueryDelegationRewardsResponse): Uint8Array; - toProtoMsg(message: _40.QueryDelegationRewardsResponse): _40.QueryDelegationRewardsResponseProtoMsg; - }; - QueryDelegationTotalRewardsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryDelegationTotalRewardsRequest; - isSDK(o: any): o is _40.QueryDelegationTotalRewardsRequestSDKType; - isAmino(o: any): o is _40.QueryDelegationTotalRewardsRequestAmino; - encode(message: _40.QueryDelegationTotalRewardsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryDelegationTotalRewardsRequest; - fromJSON(object: any): _40.QueryDelegationTotalRewardsRequest; - toJSON(message: _40.QueryDelegationTotalRewardsRequest): unknown; - fromPartial(object: { - delegatorAddress?: string; - }): _40.QueryDelegationTotalRewardsRequest; - fromSDK(object: _40.QueryDelegationTotalRewardsRequestSDKType): _40.QueryDelegationTotalRewardsRequest; - toSDK(message: _40.QueryDelegationTotalRewardsRequest): _40.QueryDelegationTotalRewardsRequestSDKType; - fromAmino(object: _40.QueryDelegationTotalRewardsRequestAmino): _40.QueryDelegationTotalRewardsRequest; - toAmino(message: _40.QueryDelegationTotalRewardsRequest): _40.QueryDelegationTotalRewardsRequestAmino; - fromAminoMsg(object: _40.QueryDelegationTotalRewardsRequestAminoMsg): _40.QueryDelegationTotalRewardsRequest; - toAminoMsg(message: _40.QueryDelegationTotalRewardsRequest): _40.QueryDelegationTotalRewardsRequestAminoMsg; - fromProtoMsg(message: _40.QueryDelegationTotalRewardsRequestProtoMsg): _40.QueryDelegationTotalRewardsRequest; - toProto(message: _40.QueryDelegationTotalRewardsRequest): Uint8Array; - toProtoMsg(message: _40.QueryDelegationTotalRewardsRequest): _40.QueryDelegationTotalRewardsRequestProtoMsg; - }; - QueryDelegationTotalRewardsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryDelegationTotalRewardsResponse; - isSDK(o: any): o is _40.QueryDelegationTotalRewardsResponseSDKType; - isAmino(o: any): o is _40.QueryDelegationTotalRewardsResponseAmino; - encode(message: _40.QueryDelegationTotalRewardsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryDelegationTotalRewardsResponse; - fromJSON(object: any): _40.QueryDelegationTotalRewardsResponse; - toJSON(message: _40.QueryDelegationTotalRewardsResponse): unknown; - fromPartial(object: { - rewards?: { - validatorAddress?: string; - reward?: { - denom?: string; - amount?: string; - }[]; - }[]; - total?: { - denom?: string; - amount?: string; - }[]; - }): _40.QueryDelegationTotalRewardsResponse; - fromSDK(object: _40.QueryDelegationTotalRewardsResponseSDKType): _40.QueryDelegationTotalRewardsResponse; - toSDK(message: _40.QueryDelegationTotalRewardsResponse): _40.QueryDelegationTotalRewardsResponseSDKType; - fromAmino(object: _40.QueryDelegationTotalRewardsResponseAmino): _40.QueryDelegationTotalRewardsResponse; - toAmino(message: _40.QueryDelegationTotalRewardsResponse): _40.QueryDelegationTotalRewardsResponseAmino; - fromAminoMsg(object: _40.QueryDelegationTotalRewardsResponseAminoMsg): _40.QueryDelegationTotalRewardsResponse; - toAminoMsg(message: _40.QueryDelegationTotalRewardsResponse): _40.QueryDelegationTotalRewardsResponseAminoMsg; - fromProtoMsg(message: _40.QueryDelegationTotalRewardsResponseProtoMsg): _40.QueryDelegationTotalRewardsResponse; - toProto(message: _40.QueryDelegationTotalRewardsResponse): Uint8Array; - toProtoMsg(message: _40.QueryDelegationTotalRewardsResponse): _40.QueryDelegationTotalRewardsResponseProtoMsg; - }; - QueryDelegatorValidatorsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryDelegatorValidatorsRequest; - isSDK(o: any): o is _40.QueryDelegatorValidatorsRequestSDKType; - isAmino(o: any): o is _40.QueryDelegatorValidatorsRequestAmino; - encode(message: _40.QueryDelegatorValidatorsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryDelegatorValidatorsRequest; - fromJSON(object: any): _40.QueryDelegatorValidatorsRequest; - toJSON(message: _40.QueryDelegatorValidatorsRequest): unknown; - fromPartial(object: { - delegatorAddress?: string; - }): _40.QueryDelegatorValidatorsRequest; - fromSDK(object: _40.QueryDelegatorValidatorsRequestSDKType): _40.QueryDelegatorValidatorsRequest; - toSDK(message: _40.QueryDelegatorValidatorsRequest): _40.QueryDelegatorValidatorsRequestSDKType; - fromAmino(object: _40.QueryDelegatorValidatorsRequestAmino): _40.QueryDelegatorValidatorsRequest; - toAmino(message: _40.QueryDelegatorValidatorsRequest): _40.QueryDelegatorValidatorsRequestAmino; - fromAminoMsg(object: _40.QueryDelegatorValidatorsRequestAminoMsg): _40.QueryDelegatorValidatorsRequest; - toAminoMsg(message: _40.QueryDelegatorValidatorsRequest): _40.QueryDelegatorValidatorsRequestAminoMsg; - fromProtoMsg(message: _40.QueryDelegatorValidatorsRequestProtoMsg): _40.QueryDelegatorValidatorsRequest; - toProto(message: _40.QueryDelegatorValidatorsRequest): Uint8Array; - toProtoMsg(message: _40.QueryDelegatorValidatorsRequest): _40.QueryDelegatorValidatorsRequestProtoMsg; - }; - QueryDelegatorValidatorsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryDelegatorValidatorsResponse; - isSDK(o: any): o is _40.QueryDelegatorValidatorsResponseSDKType; - isAmino(o: any): o is _40.QueryDelegatorValidatorsResponseAmino; - encode(message: _40.QueryDelegatorValidatorsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryDelegatorValidatorsResponse; - fromJSON(object: any): _40.QueryDelegatorValidatorsResponse; - toJSON(message: _40.QueryDelegatorValidatorsResponse): unknown; - fromPartial(object: { - validators?: string[]; - }): _40.QueryDelegatorValidatorsResponse; - fromSDK(object: _40.QueryDelegatorValidatorsResponseSDKType): _40.QueryDelegatorValidatorsResponse; - toSDK(message: _40.QueryDelegatorValidatorsResponse): _40.QueryDelegatorValidatorsResponseSDKType; - fromAmino(object: _40.QueryDelegatorValidatorsResponseAmino): _40.QueryDelegatorValidatorsResponse; - toAmino(message: _40.QueryDelegatorValidatorsResponse): _40.QueryDelegatorValidatorsResponseAmino; - fromAminoMsg(object: _40.QueryDelegatorValidatorsResponseAminoMsg): _40.QueryDelegatorValidatorsResponse; - toAminoMsg(message: _40.QueryDelegatorValidatorsResponse): _40.QueryDelegatorValidatorsResponseAminoMsg; - fromProtoMsg(message: _40.QueryDelegatorValidatorsResponseProtoMsg): _40.QueryDelegatorValidatorsResponse; - toProto(message: _40.QueryDelegatorValidatorsResponse): Uint8Array; - toProtoMsg(message: _40.QueryDelegatorValidatorsResponse): _40.QueryDelegatorValidatorsResponseProtoMsg; - }; - QueryDelegatorWithdrawAddressRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryDelegatorWithdrawAddressRequest; - isSDK(o: any): o is _40.QueryDelegatorWithdrawAddressRequestSDKType; - isAmino(o: any): o is _40.QueryDelegatorWithdrawAddressRequestAmino; - encode(message: _40.QueryDelegatorWithdrawAddressRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryDelegatorWithdrawAddressRequest; - fromJSON(object: any): _40.QueryDelegatorWithdrawAddressRequest; - toJSON(message: _40.QueryDelegatorWithdrawAddressRequest): unknown; - fromPartial(object: { - delegatorAddress?: string; - }): _40.QueryDelegatorWithdrawAddressRequest; - fromSDK(object: _40.QueryDelegatorWithdrawAddressRequestSDKType): _40.QueryDelegatorWithdrawAddressRequest; - toSDK(message: _40.QueryDelegatorWithdrawAddressRequest): _40.QueryDelegatorWithdrawAddressRequestSDKType; - fromAmino(object: _40.QueryDelegatorWithdrawAddressRequestAmino): _40.QueryDelegatorWithdrawAddressRequest; - toAmino(message: _40.QueryDelegatorWithdrawAddressRequest): _40.QueryDelegatorWithdrawAddressRequestAmino; - fromAminoMsg(object: _40.QueryDelegatorWithdrawAddressRequestAminoMsg): _40.QueryDelegatorWithdrawAddressRequest; - toAminoMsg(message: _40.QueryDelegatorWithdrawAddressRequest): _40.QueryDelegatorWithdrawAddressRequestAminoMsg; - fromProtoMsg(message: _40.QueryDelegatorWithdrawAddressRequestProtoMsg): _40.QueryDelegatorWithdrawAddressRequest; - toProto(message: _40.QueryDelegatorWithdrawAddressRequest): Uint8Array; - toProtoMsg(message: _40.QueryDelegatorWithdrawAddressRequest): _40.QueryDelegatorWithdrawAddressRequestProtoMsg; - }; - QueryDelegatorWithdrawAddressResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryDelegatorWithdrawAddressResponse; - isSDK(o: any): o is _40.QueryDelegatorWithdrawAddressResponseSDKType; - isAmino(o: any): o is _40.QueryDelegatorWithdrawAddressResponseAmino; - encode(message: _40.QueryDelegatorWithdrawAddressResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryDelegatorWithdrawAddressResponse; - fromJSON(object: any): _40.QueryDelegatorWithdrawAddressResponse; - toJSON(message: _40.QueryDelegatorWithdrawAddressResponse): unknown; - fromPartial(object: { - withdrawAddress?: string; - }): _40.QueryDelegatorWithdrawAddressResponse; - fromSDK(object: _40.QueryDelegatorWithdrawAddressResponseSDKType): _40.QueryDelegatorWithdrawAddressResponse; - toSDK(message: _40.QueryDelegatorWithdrawAddressResponse): _40.QueryDelegatorWithdrawAddressResponseSDKType; - fromAmino(object: _40.QueryDelegatorWithdrawAddressResponseAmino): _40.QueryDelegatorWithdrawAddressResponse; - toAmino(message: _40.QueryDelegatorWithdrawAddressResponse): _40.QueryDelegatorWithdrawAddressResponseAmino; - fromAminoMsg(object: _40.QueryDelegatorWithdrawAddressResponseAminoMsg): _40.QueryDelegatorWithdrawAddressResponse; - toAminoMsg(message: _40.QueryDelegatorWithdrawAddressResponse): _40.QueryDelegatorWithdrawAddressResponseAminoMsg; - fromProtoMsg(message: _40.QueryDelegatorWithdrawAddressResponseProtoMsg): _40.QueryDelegatorWithdrawAddressResponse; - toProto(message: _40.QueryDelegatorWithdrawAddressResponse): Uint8Array; - toProtoMsg(message: _40.QueryDelegatorWithdrawAddressResponse): _40.QueryDelegatorWithdrawAddressResponseProtoMsg; - }; - QueryCommunityPoolRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryCommunityPoolRequest; - isSDK(o: any): o is _40.QueryCommunityPoolRequestSDKType; - isAmino(o: any): o is _40.QueryCommunityPoolRequestAmino; - encode(_: _40.QueryCommunityPoolRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryCommunityPoolRequest; - fromJSON(_: any): _40.QueryCommunityPoolRequest; - toJSON(_: _40.QueryCommunityPoolRequest): unknown; - fromPartial(_: {}): _40.QueryCommunityPoolRequest; - fromSDK(_: _40.QueryCommunityPoolRequestSDKType): _40.QueryCommunityPoolRequest; - toSDK(_: _40.QueryCommunityPoolRequest): _40.QueryCommunityPoolRequestSDKType; - fromAmino(_: _40.QueryCommunityPoolRequestAmino): _40.QueryCommunityPoolRequest; - toAmino(_: _40.QueryCommunityPoolRequest): _40.QueryCommunityPoolRequestAmino; - fromAminoMsg(object: _40.QueryCommunityPoolRequestAminoMsg): _40.QueryCommunityPoolRequest; - toAminoMsg(message: _40.QueryCommunityPoolRequest): _40.QueryCommunityPoolRequestAminoMsg; - fromProtoMsg(message: _40.QueryCommunityPoolRequestProtoMsg): _40.QueryCommunityPoolRequest; - toProto(message: _40.QueryCommunityPoolRequest): Uint8Array; - toProtoMsg(message: _40.QueryCommunityPoolRequest): _40.QueryCommunityPoolRequestProtoMsg; - }; - QueryCommunityPoolResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _40.QueryCommunityPoolResponse; - isSDK(o: any): o is _40.QueryCommunityPoolResponseSDKType; - isAmino(o: any): o is _40.QueryCommunityPoolResponseAmino; - encode(message: _40.QueryCommunityPoolResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _40.QueryCommunityPoolResponse; - fromJSON(object: any): _40.QueryCommunityPoolResponse; - toJSON(message: _40.QueryCommunityPoolResponse): unknown; - fromPartial(object: { - pool?: { - denom?: string; - amount?: string; - }[]; - }): _40.QueryCommunityPoolResponse; - fromSDK(object: _40.QueryCommunityPoolResponseSDKType): _40.QueryCommunityPoolResponse; - toSDK(message: _40.QueryCommunityPoolResponse): _40.QueryCommunityPoolResponseSDKType; - fromAmino(object: _40.QueryCommunityPoolResponseAmino): _40.QueryCommunityPoolResponse; - toAmino(message: _40.QueryCommunityPoolResponse): _40.QueryCommunityPoolResponseAmino; - fromAminoMsg(object: _40.QueryCommunityPoolResponseAminoMsg): _40.QueryCommunityPoolResponse; - toAminoMsg(message: _40.QueryCommunityPoolResponse): _40.QueryCommunityPoolResponseAminoMsg; - fromProtoMsg(message: _40.QueryCommunityPoolResponseProtoMsg): _40.QueryCommunityPoolResponse; - toProto(message: _40.QueryCommunityPoolResponse): Uint8Array; - toProtoMsg(message: _40.QueryCommunityPoolResponse): _40.QueryCommunityPoolResponseProtoMsg; - }; - DelegatorWithdrawInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _39.DelegatorWithdrawInfo; - isSDK(o: any): o is _39.DelegatorWithdrawInfoSDKType; - isAmino(o: any): o is _39.DelegatorWithdrawInfoAmino; - encode(message: _39.DelegatorWithdrawInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _39.DelegatorWithdrawInfo; - fromJSON(object: any): _39.DelegatorWithdrawInfo; - toJSON(message: _39.DelegatorWithdrawInfo): unknown; - fromPartial(object: { - delegatorAddress?: string; - withdrawAddress?: string; - }): _39.DelegatorWithdrawInfo; - fromSDK(object: _39.DelegatorWithdrawInfoSDKType): _39.DelegatorWithdrawInfo; - toSDK(message: _39.DelegatorWithdrawInfo): _39.DelegatorWithdrawInfoSDKType; - fromAmino(object: _39.DelegatorWithdrawInfoAmino): _39.DelegatorWithdrawInfo; - toAmino(message: _39.DelegatorWithdrawInfo): _39.DelegatorWithdrawInfoAmino; - fromAminoMsg(object: _39.DelegatorWithdrawInfoAminoMsg): _39.DelegatorWithdrawInfo; - toAminoMsg(message: _39.DelegatorWithdrawInfo): _39.DelegatorWithdrawInfoAminoMsg; - fromProtoMsg(message: _39.DelegatorWithdrawInfoProtoMsg): _39.DelegatorWithdrawInfo; - toProto(message: _39.DelegatorWithdrawInfo): Uint8Array; - toProtoMsg(message: _39.DelegatorWithdrawInfo): _39.DelegatorWithdrawInfoProtoMsg; - }; - ValidatorOutstandingRewardsRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is _39.ValidatorOutstandingRewardsRecord; - isSDK(o: any): o is _39.ValidatorOutstandingRewardsRecordSDKType; - isAmino(o: any): o is _39.ValidatorOutstandingRewardsRecordAmino; - encode(message: _39.ValidatorOutstandingRewardsRecord, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _39.ValidatorOutstandingRewardsRecord; - fromJSON(object: any): _39.ValidatorOutstandingRewardsRecord; - toJSON(message: _39.ValidatorOutstandingRewardsRecord): unknown; - fromPartial(object: { - validatorAddress?: string; - outstandingRewards?: { - denom?: string; - amount?: string; - }[]; - }): _39.ValidatorOutstandingRewardsRecord; - fromSDK(object: _39.ValidatorOutstandingRewardsRecordSDKType): _39.ValidatorOutstandingRewardsRecord; - toSDK(message: _39.ValidatorOutstandingRewardsRecord): _39.ValidatorOutstandingRewardsRecordSDKType; - fromAmino(object: _39.ValidatorOutstandingRewardsRecordAmino): _39.ValidatorOutstandingRewardsRecord; - toAmino(message: _39.ValidatorOutstandingRewardsRecord): _39.ValidatorOutstandingRewardsRecordAmino; - fromAminoMsg(object: _39.ValidatorOutstandingRewardsRecordAminoMsg): _39.ValidatorOutstandingRewardsRecord; - toAminoMsg(message: _39.ValidatorOutstandingRewardsRecord): _39.ValidatorOutstandingRewardsRecordAminoMsg; - fromProtoMsg(message: _39.ValidatorOutstandingRewardsRecordProtoMsg): _39.ValidatorOutstandingRewardsRecord; - toProto(message: _39.ValidatorOutstandingRewardsRecord): Uint8Array; - toProtoMsg(message: _39.ValidatorOutstandingRewardsRecord): _39.ValidatorOutstandingRewardsRecordProtoMsg; - }; - ValidatorAccumulatedCommissionRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is _39.ValidatorAccumulatedCommissionRecord; - isSDK(o: any): o is _39.ValidatorAccumulatedCommissionRecordSDKType; - isAmino(o: any): o is _39.ValidatorAccumulatedCommissionRecordAmino; - encode(message: _39.ValidatorAccumulatedCommissionRecord, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _39.ValidatorAccumulatedCommissionRecord; - fromJSON(object: any): _39.ValidatorAccumulatedCommissionRecord; - toJSON(message: _39.ValidatorAccumulatedCommissionRecord): unknown; - fromPartial(object: { - validatorAddress?: string; - accumulated?: { - commission?: { - denom?: string; - amount?: string; - }[]; - }; - }): _39.ValidatorAccumulatedCommissionRecord; - fromSDK(object: _39.ValidatorAccumulatedCommissionRecordSDKType): _39.ValidatorAccumulatedCommissionRecord; - toSDK(message: _39.ValidatorAccumulatedCommissionRecord): _39.ValidatorAccumulatedCommissionRecordSDKType; - fromAmino(object: _39.ValidatorAccumulatedCommissionRecordAmino): _39.ValidatorAccumulatedCommissionRecord; - toAmino(message: _39.ValidatorAccumulatedCommissionRecord): _39.ValidatorAccumulatedCommissionRecordAmino; - fromAminoMsg(object: _39.ValidatorAccumulatedCommissionRecordAminoMsg): _39.ValidatorAccumulatedCommissionRecord; - toAminoMsg(message: _39.ValidatorAccumulatedCommissionRecord): _39.ValidatorAccumulatedCommissionRecordAminoMsg; - fromProtoMsg(message: _39.ValidatorAccumulatedCommissionRecordProtoMsg): _39.ValidatorAccumulatedCommissionRecord; - toProto(message: _39.ValidatorAccumulatedCommissionRecord): Uint8Array; - toProtoMsg(message: _39.ValidatorAccumulatedCommissionRecord): _39.ValidatorAccumulatedCommissionRecordProtoMsg; - }; - ValidatorHistoricalRewardsRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is _39.ValidatorHistoricalRewardsRecord; - isSDK(o: any): o is _39.ValidatorHistoricalRewardsRecordSDKType; - isAmino(o: any): o is _39.ValidatorHistoricalRewardsRecordAmino; - encode(message: _39.ValidatorHistoricalRewardsRecord, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _39.ValidatorHistoricalRewardsRecord; - fromJSON(object: any): _39.ValidatorHistoricalRewardsRecord; - toJSON(message: _39.ValidatorHistoricalRewardsRecord): unknown; - fromPartial(object: { - validatorAddress?: string; - period?: bigint; - rewards?: { - cumulativeRewardRatio?: { - denom?: string; - amount?: string; - }[]; - referenceCount?: number; - }; - }): _39.ValidatorHistoricalRewardsRecord; - fromSDK(object: _39.ValidatorHistoricalRewardsRecordSDKType): _39.ValidatorHistoricalRewardsRecord; - toSDK(message: _39.ValidatorHistoricalRewardsRecord): _39.ValidatorHistoricalRewardsRecordSDKType; - fromAmino(object: _39.ValidatorHistoricalRewardsRecordAmino): _39.ValidatorHistoricalRewardsRecord; - toAmino(message: _39.ValidatorHistoricalRewardsRecord): _39.ValidatorHistoricalRewardsRecordAmino; - fromAminoMsg(object: _39.ValidatorHistoricalRewardsRecordAminoMsg): _39.ValidatorHistoricalRewardsRecord; - toAminoMsg(message: _39.ValidatorHistoricalRewardsRecord): _39.ValidatorHistoricalRewardsRecordAminoMsg; - fromProtoMsg(message: _39.ValidatorHistoricalRewardsRecordProtoMsg): _39.ValidatorHistoricalRewardsRecord; - toProto(message: _39.ValidatorHistoricalRewardsRecord): Uint8Array; - toProtoMsg(message: _39.ValidatorHistoricalRewardsRecord): _39.ValidatorHistoricalRewardsRecordProtoMsg; - }; - ValidatorCurrentRewardsRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is _39.ValidatorCurrentRewardsRecord; - isSDK(o: any): o is _39.ValidatorCurrentRewardsRecordSDKType; - isAmino(o: any): o is _39.ValidatorCurrentRewardsRecordAmino; - encode(message: _39.ValidatorCurrentRewardsRecord, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _39.ValidatorCurrentRewardsRecord; - fromJSON(object: any): _39.ValidatorCurrentRewardsRecord; - toJSON(message: _39.ValidatorCurrentRewardsRecord): unknown; - fromPartial(object: { - validatorAddress?: string; - rewards?: { - rewards?: { - denom?: string; - amount?: string; - }[]; - period?: bigint; - }; - }): _39.ValidatorCurrentRewardsRecord; - fromSDK(object: _39.ValidatorCurrentRewardsRecordSDKType): _39.ValidatorCurrentRewardsRecord; - toSDK(message: _39.ValidatorCurrentRewardsRecord): _39.ValidatorCurrentRewardsRecordSDKType; - fromAmino(object: _39.ValidatorCurrentRewardsRecordAmino): _39.ValidatorCurrentRewardsRecord; - toAmino(message: _39.ValidatorCurrentRewardsRecord): _39.ValidatorCurrentRewardsRecordAmino; - fromAminoMsg(object: _39.ValidatorCurrentRewardsRecordAminoMsg): _39.ValidatorCurrentRewardsRecord; - toAminoMsg(message: _39.ValidatorCurrentRewardsRecord): _39.ValidatorCurrentRewardsRecordAminoMsg; - fromProtoMsg(message: _39.ValidatorCurrentRewardsRecordProtoMsg): _39.ValidatorCurrentRewardsRecord; - toProto(message: _39.ValidatorCurrentRewardsRecord): Uint8Array; - toProtoMsg(message: _39.ValidatorCurrentRewardsRecord): _39.ValidatorCurrentRewardsRecordProtoMsg; - }; - DelegatorStartingInfoRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is _39.DelegatorStartingInfoRecord; - isSDK(o: any): o is _39.DelegatorStartingInfoRecordSDKType; - isAmino(o: any): o is _39.DelegatorStartingInfoRecordAmino; - encode(message: _39.DelegatorStartingInfoRecord, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _39.DelegatorStartingInfoRecord; - fromJSON(object: any): _39.DelegatorStartingInfoRecord; - toJSON(message: _39.DelegatorStartingInfoRecord): unknown; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - startingInfo?: { - previousPeriod?: bigint; - stake?: string; - height?: bigint; - }; - }): _39.DelegatorStartingInfoRecord; - fromSDK(object: _39.DelegatorStartingInfoRecordSDKType): _39.DelegatorStartingInfoRecord; - toSDK(message: _39.DelegatorStartingInfoRecord): _39.DelegatorStartingInfoRecordSDKType; - fromAmino(object: _39.DelegatorStartingInfoRecordAmino): _39.DelegatorStartingInfoRecord; - toAmino(message: _39.DelegatorStartingInfoRecord): _39.DelegatorStartingInfoRecordAmino; - fromAminoMsg(object: _39.DelegatorStartingInfoRecordAminoMsg): _39.DelegatorStartingInfoRecord; - toAminoMsg(message: _39.DelegatorStartingInfoRecord): _39.DelegatorStartingInfoRecordAminoMsg; - fromProtoMsg(message: _39.DelegatorStartingInfoRecordProtoMsg): _39.DelegatorStartingInfoRecord; - toProto(message: _39.DelegatorStartingInfoRecord): Uint8Array; - toProtoMsg(message: _39.DelegatorStartingInfoRecord): _39.DelegatorStartingInfoRecordProtoMsg; - }; - ValidatorSlashEventRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is _39.ValidatorSlashEventRecord; - isSDK(o: any): o is _39.ValidatorSlashEventRecordSDKType; - isAmino(o: any): o is _39.ValidatorSlashEventRecordAmino; - encode(message: _39.ValidatorSlashEventRecord, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _39.ValidatorSlashEventRecord; - fromJSON(object: any): _39.ValidatorSlashEventRecord; - toJSON(message: _39.ValidatorSlashEventRecord): unknown; - fromPartial(object: { - validatorAddress?: string; - height?: bigint; - period?: bigint; - validatorSlashEvent?: { - validatorPeriod?: bigint; - fraction?: string; - }; - }): _39.ValidatorSlashEventRecord; - fromSDK(object: _39.ValidatorSlashEventRecordSDKType): _39.ValidatorSlashEventRecord; - toSDK(message: _39.ValidatorSlashEventRecord): _39.ValidatorSlashEventRecordSDKType; - fromAmino(object: _39.ValidatorSlashEventRecordAmino): _39.ValidatorSlashEventRecord; - toAmino(message: _39.ValidatorSlashEventRecord): _39.ValidatorSlashEventRecordAmino; - fromAminoMsg(object: _39.ValidatorSlashEventRecordAminoMsg): _39.ValidatorSlashEventRecord; - toAminoMsg(message: _39.ValidatorSlashEventRecord): _39.ValidatorSlashEventRecordAminoMsg; - fromProtoMsg(message: _39.ValidatorSlashEventRecordProtoMsg): _39.ValidatorSlashEventRecord; - toProto(message: _39.ValidatorSlashEventRecord): Uint8Array; - toProtoMsg(message: _39.ValidatorSlashEventRecord): _39.ValidatorSlashEventRecordProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _39.GenesisState; - isSDK(o: any): o is _39.GenesisStateSDKType; - isAmino(o: any): o is _39.GenesisStateAmino; - encode(message: _39.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _39.GenesisState; - fromJSON(object: any): _39.GenesisState; - toJSON(message: _39.GenesisState): unknown; - fromPartial(object: { - params?: { - communityTax?: string; - baseProposerReward?: string; - bonusProposerReward?: string; - withdrawAddrEnabled?: boolean; - }; - feePool?: { - communityPool?: { - denom?: string; - amount?: string; - }[]; - }; - delegatorWithdrawInfos?: { - delegatorAddress?: string; - withdrawAddress?: string; - }[]; - previousProposer?: string; - outstandingRewards?: { - validatorAddress?: string; - outstandingRewards?: { - denom?: string; - amount?: string; - }[]; - }[]; - validatorAccumulatedCommissions?: { - validatorAddress?: string; - accumulated?: { - commission?: { - denom?: string; - amount?: string; - }[]; - }; - }[]; - validatorHistoricalRewards?: { - validatorAddress?: string; - period?: bigint; - rewards?: { - cumulativeRewardRatio?: { - denom?: string; - amount?: string; - }[]; - referenceCount?: number; - }; - }[]; - validatorCurrentRewards?: { - validatorAddress?: string; - rewards?: { - rewards?: { - denom?: string; - amount?: string; - }[]; - period?: bigint; - }; - }[]; - delegatorStartingInfos?: { - delegatorAddress?: string; - validatorAddress?: string; - startingInfo?: { - previousPeriod?: bigint; - stake?: string; - height?: bigint; - }; - }[]; - validatorSlashEvents?: { - validatorAddress?: string; - height?: bigint; - period?: bigint; - validatorSlashEvent?: { - validatorPeriod?: bigint; - fraction?: string; - }; - }[]; - }): _39.GenesisState; - fromSDK(object: _39.GenesisStateSDKType): _39.GenesisState; - toSDK(message: _39.GenesisState): _39.GenesisStateSDKType; - fromAmino(object: _39.GenesisStateAmino): _39.GenesisState; - toAmino(message: _39.GenesisState): _39.GenesisStateAmino; - fromAminoMsg(object: _39.GenesisStateAminoMsg): _39.GenesisState; - toAminoMsg(message: _39.GenesisState): _39.GenesisStateAminoMsg; - fromProtoMsg(message: _39.GenesisStateProtoMsg): _39.GenesisState; - toProto(message: _39.GenesisState): Uint8Array; - toProtoMsg(message: _39.GenesisState): _39.GenesisStateProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _38.Params; - isSDK(o: any): o is _38.ParamsSDKType; - isAmino(o: any): o is _38.ParamsAmino; - encode(message: _38.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _38.Params; - fromJSON(object: any): _38.Params; - toJSON(message: _38.Params): unknown; - fromPartial(object: { - communityTax?: string; - baseProposerReward?: string; - bonusProposerReward?: string; - withdrawAddrEnabled?: boolean; - }): _38.Params; - fromSDK(object: _38.ParamsSDKType): _38.Params; - toSDK(message: _38.Params): _38.ParamsSDKType; - fromAmino(object: _38.ParamsAmino): _38.Params; - toAmino(message: _38.Params): _38.ParamsAmino; - fromAminoMsg(object: _38.ParamsAminoMsg): _38.Params; - toAminoMsg(message: _38.Params): _38.ParamsAminoMsg; - fromProtoMsg(message: _38.ParamsProtoMsg): _38.Params; - toProto(message: _38.Params): Uint8Array; - toProtoMsg(message: _38.Params): _38.ParamsProtoMsg; - }; - ValidatorHistoricalRewards: { - typeUrl: string; - aminoType: string; - is(o: any): o is _38.ValidatorHistoricalRewards; - isSDK(o: any): o is _38.ValidatorHistoricalRewardsSDKType; - isAmino(o: any): o is _38.ValidatorHistoricalRewardsAmino; - encode(message: _38.ValidatorHistoricalRewards, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _38.ValidatorHistoricalRewards; - fromJSON(object: any): _38.ValidatorHistoricalRewards; - toJSON(message: _38.ValidatorHistoricalRewards): unknown; - fromPartial(object: { - cumulativeRewardRatio?: { - denom?: string; - amount?: string; - }[]; - referenceCount?: number; - }): _38.ValidatorHistoricalRewards; - fromSDK(object: _38.ValidatorHistoricalRewardsSDKType): _38.ValidatorHistoricalRewards; - toSDK(message: _38.ValidatorHistoricalRewards): _38.ValidatorHistoricalRewardsSDKType; - fromAmino(object: _38.ValidatorHistoricalRewardsAmino): _38.ValidatorHistoricalRewards; - toAmino(message: _38.ValidatorHistoricalRewards): _38.ValidatorHistoricalRewardsAmino; - fromAminoMsg(object: _38.ValidatorHistoricalRewardsAminoMsg): _38.ValidatorHistoricalRewards; - toAminoMsg(message: _38.ValidatorHistoricalRewards): _38.ValidatorHistoricalRewardsAminoMsg; - fromProtoMsg(message: _38.ValidatorHistoricalRewardsProtoMsg): _38.ValidatorHistoricalRewards; - toProto(message: _38.ValidatorHistoricalRewards): Uint8Array; - toProtoMsg(message: _38.ValidatorHistoricalRewards): _38.ValidatorHistoricalRewardsProtoMsg; - }; - ValidatorCurrentRewards: { - typeUrl: string; - aminoType: string; - is(o: any): o is _38.ValidatorCurrentRewards; - isSDK(o: any): o is _38.ValidatorCurrentRewardsSDKType; - isAmino(o: any): o is _38.ValidatorCurrentRewardsAmino; - encode(message: _38.ValidatorCurrentRewards, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _38.ValidatorCurrentRewards; - fromJSON(object: any): _38.ValidatorCurrentRewards; - toJSON(message: _38.ValidatorCurrentRewards): unknown; - fromPartial(object: { - rewards?: { - denom?: string; - amount?: string; - }[]; - period?: bigint; - }): _38.ValidatorCurrentRewards; - fromSDK(object: _38.ValidatorCurrentRewardsSDKType): _38.ValidatorCurrentRewards; - toSDK(message: _38.ValidatorCurrentRewards): _38.ValidatorCurrentRewardsSDKType; - fromAmino(object: _38.ValidatorCurrentRewardsAmino): _38.ValidatorCurrentRewards; - toAmino(message: _38.ValidatorCurrentRewards): _38.ValidatorCurrentRewardsAmino; - fromAminoMsg(object: _38.ValidatorCurrentRewardsAminoMsg): _38.ValidatorCurrentRewards; - toAminoMsg(message: _38.ValidatorCurrentRewards): _38.ValidatorCurrentRewardsAminoMsg; - fromProtoMsg(message: _38.ValidatorCurrentRewardsProtoMsg): _38.ValidatorCurrentRewards; - toProto(message: _38.ValidatorCurrentRewards): Uint8Array; - toProtoMsg(message: _38.ValidatorCurrentRewards): _38.ValidatorCurrentRewardsProtoMsg; - }; - ValidatorAccumulatedCommission: { - typeUrl: string; - aminoType: string; - is(o: any): o is _38.ValidatorAccumulatedCommission; - isSDK(o: any): o is _38.ValidatorAccumulatedCommissionSDKType; - isAmino(o: any): o is _38.ValidatorAccumulatedCommissionAmino; - encode(message: _38.ValidatorAccumulatedCommission, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _38.ValidatorAccumulatedCommission; - fromJSON(object: any): _38.ValidatorAccumulatedCommission; - toJSON(message: _38.ValidatorAccumulatedCommission): unknown; - fromPartial(object: { - commission?: { - denom?: string; - amount?: string; - }[]; - }): _38.ValidatorAccumulatedCommission; - fromSDK(object: _38.ValidatorAccumulatedCommissionSDKType): _38.ValidatorAccumulatedCommission; - toSDK(message: _38.ValidatorAccumulatedCommission): _38.ValidatorAccumulatedCommissionSDKType; - fromAmino(object: _38.ValidatorAccumulatedCommissionAmino): _38.ValidatorAccumulatedCommission; - toAmino(message: _38.ValidatorAccumulatedCommission): _38.ValidatorAccumulatedCommissionAmino; - fromAminoMsg(object: _38.ValidatorAccumulatedCommissionAminoMsg): _38.ValidatorAccumulatedCommission; - toAminoMsg(message: _38.ValidatorAccumulatedCommission): _38.ValidatorAccumulatedCommissionAminoMsg; - fromProtoMsg(message: _38.ValidatorAccumulatedCommissionProtoMsg): _38.ValidatorAccumulatedCommission; - toProto(message: _38.ValidatorAccumulatedCommission): Uint8Array; - toProtoMsg(message: _38.ValidatorAccumulatedCommission): _38.ValidatorAccumulatedCommissionProtoMsg; - }; - ValidatorOutstandingRewards: { - typeUrl: string; - aminoType: string; - is(o: any): o is _38.ValidatorOutstandingRewards; - isSDK(o: any): o is _38.ValidatorOutstandingRewardsSDKType; - isAmino(o: any): o is _38.ValidatorOutstandingRewardsAmino; - encode(message: _38.ValidatorOutstandingRewards, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _38.ValidatorOutstandingRewards; - fromJSON(object: any): _38.ValidatorOutstandingRewards; - toJSON(message: _38.ValidatorOutstandingRewards): unknown; - fromPartial(object: { - rewards?: { - denom?: string; - amount?: string; - }[]; - }): _38.ValidatorOutstandingRewards; - fromSDK(object: _38.ValidatorOutstandingRewardsSDKType): _38.ValidatorOutstandingRewards; - toSDK(message: _38.ValidatorOutstandingRewards): _38.ValidatorOutstandingRewardsSDKType; - fromAmino(object: _38.ValidatorOutstandingRewardsAmino): _38.ValidatorOutstandingRewards; - toAmino(message: _38.ValidatorOutstandingRewards): _38.ValidatorOutstandingRewardsAmino; - fromAminoMsg(object: _38.ValidatorOutstandingRewardsAminoMsg): _38.ValidatorOutstandingRewards; - toAminoMsg(message: _38.ValidatorOutstandingRewards): _38.ValidatorOutstandingRewardsAminoMsg; - fromProtoMsg(message: _38.ValidatorOutstandingRewardsProtoMsg): _38.ValidatorOutstandingRewards; - toProto(message: _38.ValidatorOutstandingRewards): Uint8Array; - toProtoMsg(message: _38.ValidatorOutstandingRewards): _38.ValidatorOutstandingRewardsProtoMsg; - }; - ValidatorSlashEvent: { - typeUrl: string; - aminoType: string; - is(o: any): o is _38.ValidatorSlashEvent; - isSDK(o: any): o is _38.ValidatorSlashEventSDKType; - isAmino(o: any): o is _38.ValidatorSlashEventAmino; - encode(message: _38.ValidatorSlashEvent, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _38.ValidatorSlashEvent; - fromJSON(object: any): _38.ValidatorSlashEvent; - toJSON(message: _38.ValidatorSlashEvent): unknown; - fromPartial(object: { - validatorPeriod?: bigint; - fraction?: string; - }): _38.ValidatorSlashEvent; - fromSDK(object: _38.ValidatorSlashEventSDKType): _38.ValidatorSlashEvent; - toSDK(message: _38.ValidatorSlashEvent): _38.ValidatorSlashEventSDKType; - fromAmino(object: _38.ValidatorSlashEventAmino): _38.ValidatorSlashEvent; - toAmino(message: _38.ValidatorSlashEvent): _38.ValidatorSlashEventAmino; - fromAminoMsg(object: _38.ValidatorSlashEventAminoMsg): _38.ValidatorSlashEvent; - toAminoMsg(message: _38.ValidatorSlashEvent): _38.ValidatorSlashEventAminoMsg; - fromProtoMsg(message: _38.ValidatorSlashEventProtoMsg): _38.ValidatorSlashEvent; - toProto(message: _38.ValidatorSlashEvent): Uint8Array; - toProtoMsg(message: _38.ValidatorSlashEvent): _38.ValidatorSlashEventProtoMsg; - }; - ValidatorSlashEvents: { - typeUrl: string; - aminoType: string; - is(o: any): o is _38.ValidatorSlashEvents; - isSDK(o: any): o is _38.ValidatorSlashEventsSDKType; - isAmino(o: any): o is _38.ValidatorSlashEventsAmino; - encode(message: _38.ValidatorSlashEvents, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _38.ValidatorSlashEvents; - fromJSON(object: any): _38.ValidatorSlashEvents; - toJSON(message: _38.ValidatorSlashEvents): unknown; - fromPartial(object: { - validatorSlashEvents?: { - validatorPeriod?: bigint; - fraction?: string; - }[]; - }): _38.ValidatorSlashEvents; - fromSDK(object: _38.ValidatorSlashEventsSDKType): _38.ValidatorSlashEvents; - toSDK(message: _38.ValidatorSlashEvents): _38.ValidatorSlashEventsSDKType; - fromAmino(object: _38.ValidatorSlashEventsAmino): _38.ValidatorSlashEvents; - toAmino(message: _38.ValidatorSlashEvents): _38.ValidatorSlashEventsAmino; - fromAminoMsg(object: _38.ValidatorSlashEventsAminoMsg): _38.ValidatorSlashEvents; - toAminoMsg(message: _38.ValidatorSlashEvents): _38.ValidatorSlashEventsAminoMsg; - fromProtoMsg(message: _38.ValidatorSlashEventsProtoMsg): _38.ValidatorSlashEvents; - toProto(message: _38.ValidatorSlashEvents): Uint8Array; - toProtoMsg(message: _38.ValidatorSlashEvents): _38.ValidatorSlashEventsProtoMsg; - }; - FeePool: { - typeUrl: string; - aminoType: string; - is(o: any): o is _38.FeePool; - isSDK(o: any): o is _38.FeePoolSDKType; - isAmino(o: any): o is _38.FeePoolAmino; - encode(message: _38.FeePool, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _38.FeePool; - fromJSON(object: any): _38.FeePool; - toJSON(message: _38.FeePool): unknown; - fromPartial(object: { - communityPool?: { - denom?: string; - amount?: string; - }[]; - }): _38.FeePool; - fromSDK(object: _38.FeePoolSDKType): _38.FeePool; - toSDK(message: _38.FeePool): _38.FeePoolSDKType; - fromAmino(object: _38.FeePoolAmino): _38.FeePool; - toAmino(message: _38.FeePool): _38.FeePoolAmino; - fromAminoMsg(object: _38.FeePoolAminoMsg): _38.FeePool; - toAminoMsg(message: _38.FeePool): _38.FeePoolAminoMsg; - fromProtoMsg(message: _38.FeePoolProtoMsg): _38.FeePool; - toProto(message: _38.FeePool): Uint8Array; - toProtoMsg(message: _38.FeePool): _38.FeePoolProtoMsg; - }; - CommunityPoolSpendProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _38.CommunityPoolSpendProposal; - isSDK(o: any): o is _38.CommunityPoolSpendProposalSDKType; - isAmino(o: any): o is _38.CommunityPoolSpendProposalAmino; - encode(message: _38.CommunityPoolSpendProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _38.CommunityPoolSpendProposal; - fromJSON(object: any): _38.CommunityPoolSpendProposal; - toJSON(message: _38.CommunityPoolSpendProposal): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal"; - title?: string; - description?: string; - recipient?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _38.CommunityPoolSpendProposal; - fromSDK(object: _38.CommunityPoolSpendProposalSDKType): _38.CommunityPoolSpendProposal; - toSDK(message: _38.CommunityPoolSpendProposal): _38.CommunityPoolSpendProposalSDKType; - fromAmino(object: _38.CommunityPoolSpendProposalAmino): _38.CommunityPoolSpendProposal; - toAmino(message: _38.CommunityPoolSpendProposal): _38.CommunityPoolSpendProposalAmino; - fromAminoMsg(object: _38.CommunityPoolSpendProposalAminoMsg): _38.CommunityPoolSpendProposal; - toAminoMsg(message: _38.CommunityPoolSpendProposal): _38.CommunityPoolSpendProposalAminoMsg; - fromProtoMsg(message: _38.CommunityPoolSpendProposalProtoMsg): _38.CommunityPoolSpendProposal; - toProto(message: _38.CommunityPoolSpendProposal): Uint8Array; - toProtoMsg(message: _38.CommunityPoolSpendProposal): _38.CommunityPoolSpendProposalProtoMsg; - }; - DelegatorStartingInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _38.DelegatorStartingInfo; - isSDK(o: any): o is _38.DelegatorStartingInfoSDKType; - isAmino(o: any): o is _38.DelegatorStartingInfoAmino; - encode(message: _38.DelegatorStartingInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _38.DelegatorStartingInfo; - fromJSON(object: any): _38.DelegatorStartingInfo; - toJSON(message: _38.DelegatorStartingInfo): unknown; - fromPartial(object: { - previousPeriod?: bigint; - stake?: string; - height?: bigint; - }): _38.DelegatorStartingInfo; - fromSDK(object: _38.DelegatorStartingInfoSDKType): _38.DelegatorStartingInfo; - toSDK(message: _38.DelegatorStartingInfo): _38.DelegatorStartingInfoSDKType; - fromAmino(object: _38.DelegatorStartingInfoAmino): _38.DelegatorStartingInfo; - toAmino(message: _38.DelegatorStartingInfo): _38.DelegatorStartingInfoAmino; - fromAminoMsg(object: _38.DelegatorStartingInfoAminoMsg): _38.DelegatorStartingInfo; - toAminoMsg(message: _38.DelegatorStartingInfo): _38.DelegatorStartingInfoAminoMsg; - fromProtoMsg(message: _38.DelegatorStartingInfoProtoMsg): _38.DelegatorStartingInfo; - toProto(message: _38.DelegatorStartingInfo): Uint8Array; - toProtoMsg(message: _38.DelegatorStartingInfo): _38.DelegatorStartingInfoProtoMsg; - }; - DelegationDelegatorReward: { - typeUrl: string; - aminoType: string; - is(o: any): o is _38.DelegationDelegatorReward; - isSDK(o: any): o is _38.DelegationDelegatorRewardSDKType; - isAmino(o: any): o is _38.DelegationDelegatorRewardAmino; - encode(message: _38.DelegationDelegatorReward, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _38.DelegationDelegatorReward; - fromJSON(object: any): _38.DelegationDelegatorReward; - toJSON(message: _38.DelegationDelegatorReward): unknown; - fromPartial(object: { - validatorAddress?: string; - reward?: { - denom?: string; - amount?: string; - }[]; - }): _38.DelegationDelegatorReward; - fromSDK(object: _38.DelegationDelegatorRewardSDKType): _38.DelegationDelegatorReward; - toSDK(message: _38.DelegationDelegatorReward): _38.DelegationDelegatorRewardSDKType; - fromAmino(object: _38.DelegationDelegatorRewardAmino): _38.DelegationDelegatorReward; - toAmino(message: _38.DelegationDelegatorReward): _38.DelegationDelegatorRewardAmino; - fromAminoMsg(object: _38.DelegationDelegatorRewardAminoMsg): _38.DelegationDelegatorReward; - toAminoMsg(message: _38.DelegationDelegatorReward): _38.DelegationDelegatorRewardAminoMsg; - fromProtoMsg(message: _38.DelegationDelegatorRewardProtoMsg): _38.DelegationDelegatorReward; - toProto(message: _38.DelegationDelegatorReward): Uint8Array; - toProtoMsg(message: _38.DelegationDelegatorReward): _38.DelegationDelegatorRewardProtoMsg; - }; - CommunityPoolSpendProposalWithDeposit: { - typeUrl: string; - aminoType: string; - is(o: any): o is _38.CommunityPoolSpendProposalWithDeposit; - isSDK(o: any): o is _38.CommunityPoolSpendProposalWithDepositSDKType; - isAmino(o: any): o is _38.CommunityPoolSpendProposalWithDepositAmino; - encode(message: _38.CommunityPoolSpendProposalWithDeposit, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _38.CommunityPoolSpendProposalWithDeposit; - fromJSON(object: any): _38.CommunityPoolSpendProposalWithDeposit; - toJSON(message: _38.CommunityPoolSpendProposalWithDeposit): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit"; - title?: string; - description?: string; - recipient?: string; - amount?: string; - deposit?: string; - }): _38.CommunityPoolSpendProposalWithDeposit; - fromSDK(object: _38.CommunityPoolSpendProposalWithDepositSDKType): _38.CommunityPoolSpendProposalWithDeposit; - toSDK(message: _38.CommunityPoolSpendProposalWithDeposit): _38.CommunityPoolSpendProposalWithDepositSDKType; - fromAmino(object: _38.CommunityPoolSpendProposalWithDepositAmino): _38.CommunityPoolSpendProposalWithDeposit; - toAmino(message: _38.CommunityPoolSpendProposalWithDeposit): _38.CommunityPoolSpendProposalWithDepositAmino; - fromAminoMsg(object: _38.CommunityPoolSpendProposalWithDepositAminoMsg): _38.CommunityPoolSpendProposalWithDeposit; - toAminoMsg(message: _38.CommunityPoolSpendProposalWithDeposit): _38.CommunityPoolSpendProposalWithDepositAminoMsg; - fromProtoMsg(message: _38.CommunityPoolSpendProposalWithDepositProtoMsg): _38.CommunityPoolSpendProposalWithDeposit; - toProto(message: _38.CommunityPoolSpendProposalWithDeposit): Uint8Array; - toProtoMsg(message: _38.CommunityPoolSpendProposalWithDeposit): _38.CommunityPoolSpendProposalWithDepositProtoMsg; - }; - }; - } - namespace evidence { - const v1beta1: { - MsgClientImpl: typeof _240.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _240.MsgClientImpl; - QueryClientImpl: typeof _224.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useEvidence: ({ request, options }: _224.UseEvidenceQuery) => import("@tanstack/react-query").UseQueryResult; - useAllEvidence: ({ request, options }: _224.UseAllEvidenceQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryEvidenceStore: { - new (): { - store: import("..").QueryStore<_44.QueryEvidenceRequest, _44.QueryEvidenceResponse>; - evidence(request: _44.QueryEvidenceRequest): import("..").MobxResponse<_44.QueryEvidenceResponse>; - }; - }; - QueryAllEvidenceStore: { - new (): { - store: import("..").QueryStore<_44.QueryAllEvidenceRequest, _44.QueryAllEvidenceResponse>; - allEvidence(request: _44.QueryAllEvidenceRequest): import("..").MobxResponse<_44.QueryAllEvidenceResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - submitEvidence(value: _45.MsgSubmitEvidence): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - submitEvidence(value: _45.MsgSubmitEvidence): { - typeUrl: string; - value: _45.MsgSubmitEvidence; - }; - }; - toJSON: { - submitEvidence(value: _45.MsgSubmitEvidence): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - submitEvidence(value: any): { - typeUrl: string; - value: _45.MsgSubmitEvidence; - }; - }; - fromPartial: { - submitEvidence(value: _45.MsgSubmitEvidence): { - typeUrl: string; - value: _45.MsgSubmitEvidence; - }; - }; - }; - AminoConverter: { - "/cosmos.evidence.v1beta1.MsgSubmitEvidence": { - aminoType: string; - toAmino: (message: _45.MsgSubmitEvidence) => _45.MsgSubmitEvidenceAmino; - fromAmino: (object: _45.MsgSubmitEvidenceAmino) => _45.MsgSubmitEvidence; - }; - }; - MsgSubmitEvidence: { - typeUrl: string; - aminoType: string; - is(o: any): o is _45.MsgSubmitEvidence; - isSDK(o: any): o is _45.MsgSubmitEvidenceSDKType; - isAmino(o: any): o is _45.MsgSubmitEvidenceAmino; - encode(message: _45.MsgSubmitEvidence, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _45.MsgSubmitEvidence; - fromJSON(object: any): _45.MsgSubmitEvidence; - toJSON(message: _45.MsgSubmitEvidence): unknown; - fromPartial(object: { - submitter?: string; - evidence?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _45.MsgSubmitEvidence; - fromSDK(object: _45.MsgSubmitEvidenceSDKType): _45.MsgSubmitEvidence; - toSDK(message: _45.MsgSubmitEvidence): _45.MsgSubmitEvidenceSDKType; - fromAmino(object: _45.MsgSubmitEvidenceAmino): _45.MsgSubmitEvidence; - toAmino(message: _45.MsgSubmitEvidence): _45.MsgSubmitEvidenceAmino; - fromAminoMsg(object: _45.MsgSubmitEvidenceAminoMsg): _45.MsgSubmitEvidence; - toAminoMsg(message: _45.MsgSubmitEvidence): _45.MsgSubmitEvidenceAminoMsg; - fromProtoMsg(message: _45.MsgSubmitEvidenceProtoMsg): _45.MsgSubmitEvidence; - toProto(message: _45.MsgSubmitEvidence): Uint8Array; - toProtoMsg(message: _45.MsgSubmitEvidence): _45.MsgSubmitEvidenceProtoMsg; - }; - MsgSubmitEvidenceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _45.MsgSubmitEvidenceResponse; - isSDK(o: any): o is _45.MsgSubmitEvidenceResponseSDKType; - isAmino(o: any): o is _45.MsgSubmitEvidenceResponseAmino; - encode(message: _45.MsgSubmitEvidenceResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _45.MsgSubmitEvidenceResponse; - fromJSON(object: any): _45.MsgSubmitEvidenceResponse; - toJSON(message: _45.MsgSubmitEvidenceResponse): unknown; - fromPartial(object: { - hash?: Uint8Array; - }): _45.MsgSubmitEvidenceResponse; - fromSDK(object: _45.MsgSubmitEvidenceResponseSDKType): _45.MsgSubmitEvidenceResponse; - toSDK(message: _45.MsgSubmitEvidenceResponse): _45.MsgSubmitEvidenceResponseSDKType; - fromAmino(object: _45.MsgSubmitEvidenceResponseAmino): _45.MsgSubmitEvidenceResponse; - toAmino(message: _45.MsgSubmitEvidenceResponse): _45.MsgSubmitEvidenceResponseAmino; - fromAminoMsg(object: _45.MsgSubmitEvidenceResponseAminoMsg): _45.MsgSubmitEvidenceResponse; - toAminoMsg(message: _45.MsgSubmitEvidenceResponse): _45.MsgSubmitEvidenceResponseAminoMsg; - fromProtoMsg(message: _45.MsgSubmitEvidenceResponseProtoMsg): _45.MsgSubmitEvidenceResponse; - toProto(message: _45.MsgSubmitEvidenceResponse): Uint8Array; - toProtoMsg(message: _45.MsgSubmitEvidenceResponse): _45.MsgSubmitEvidenceResponseProtoMsg; - }; - QueryEvidenceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _44.QueryEvidenceRequest; - isSDK(o: any): o is _44.QueryEvidenceRequestSDKType; - isAmino(o: any): o is _44.QueryEvidenceRequestAmino; - encode(message: _44.QueryEvidenceRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _44.QueryEvidenceRequest; - fromJSON(object: any): _44.QueryEvidenceRequest; - toJSON(message: _44.QueryEvidenceRequest): unknown; - fromPartial(object: { - evidenceHash?: Uint8Array; - }): _44.QueryEvidenceRequest; - fromSDK(object: _44.QueryEvidenceRequestSDKType): _44.QueryEvidenceRequest; - toSDK(message: _44.QueryEvidenceRequest): _44.QueryEvidenceRequestSDKType; - fromAmino(object: _44.QueryEvidenceRequestAmino): _44.QueryEvidenceRequest; - toAmino(message: _44.QueryEvidenceRequest): _44.QueryEvidenceRequestAmino; - fromAminoMsg(object: _44.QueryEvidenceRequestAminoMsg): _44.QueryEvidenceRequest; - toAminoMsg(message: _44.QueryEvidenceRequest): _44.QueryEvidenceRequestAminoMsg; - fromProtoMsg(message: _44.QueryEvidenceRequestProtoMsg): _44.QueryEvidenceRequest; - toProto(message: _44.QueryEvidenceRequest): Uint8Array; - toProtoMsg(message: _44.QueryEvidenceRequest): _44.QueryEvidenceRequestProtoMsg; - }; - QueryEvidenceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _44.QueryEvidenceResponse; - isSDK(o: any): o is _44.QueryEvidenceResponseSDKType; - isAmino(o: any): o is _44.QueryEvidenceResponseAmino; - encode(message: _44.QueryEvidenceResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _44.QueryEvidenceResponse; - fromJSON(object: any): _44.QueryEvidenceResponse; - toJSON(message: _44.QueryEvidenceResponse): unknown; - fromPartial(object: { - evidence?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _44.QueryEvidenceResponse; - fromSDK(object: _44.QueryEvidenceResponseSDKType): _44.QueryEvidenceResponse; - toSDK(message: _44.QueryEvidenceResponse): _44.QueryEvidenceResponseSDKType; - fromAmino(object: _44.QueryEvidenceResponseAmino): _44.QueryEvidenceResponse; - toAmino(message: _44.QueryEvidenceResponse): _44.QueryEvidenceResponseAmino; - fromAminoMsg(object: _44.QueryEvidenceResponseAminoMsg): _44.QueryEvidenceResponse; - toAminoMsg(message: _44.QueryEvidenceResponse): _44.QueryEvidenceResponseAminoMsg; - fromProtoMsg(message: _44.QueryEvidenceResponseProtoMsg): _44.QueryEvidenceResponse; - toProto(message: _44.QueryEvidenceResponse): Uint8Array; - toProtoMsg(message: _44.QueryEvidenceResponse): _44.QueryEvidenceResponseProtoMsg; - }; - QueryAllEvidenceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _44.QueryAllEvidenceRequest; - isSDK(o: any): o is _44.QueryAllEvidenceRequestSDKType; - isAmino(o: any): o is _44.QueryAllEvidenceRequestAmino; - encode(message: _44.QueryAllEvidenceRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _44.QueryAllEvidenceRequest; - fromJSON(object: any): _44.QueryAllEvidenceRequest; - toJSON(message: _44.QueryAllEvidenceRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _44.QueryAllEvidenceRequest; - fromSDK(object: _44.QueryAllEvidenceRequestSDKType): _44.QueryAllEvidenceRequest; - toSDK(message: _44.QueryAllEvidenceRequest): _44.QueryAllEvidenceRequestSDKType; - fromAmino(object: _44.QueryAllEvidenceRequestAmino): _44.QueryAllEvidenceRequest; - toAmino(message: _44.QueryAllEvidenceRequest): _44.QueryAllEvidenceRequestAmino; - fromAminoMsg(object: _44.QueryAllEvidenceRequestAminoMsg): _44.QueryAllEvidenceRequest; - toAminoMsg(message: _44.QueryAllEvidenceRequest): _44.QueryAllEvidenceRequestAminoMsg; - fromProtoMsg(message: _44.QueryAllEvidenceRequestProtoMsg): _44.QueryAllEvidenceRequest; - toProto(message: _44.QueryAllEvidenceRequest): Uint8Array; - toProtoMsg(message: _44.QueryAllEvidenceRequest): _44.QueryAllEvidenceRequestProtoMsg; - }; - QueryAllEvidenceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _44.QueryAllEvidenceResponse; - isSDK(o: any): o is _44.QueryAllEvidenceResponseSDKType; - isAmino(o: any): o is _44.QueryAllEvidenceResponseAmino; - encode(message: _44.QueryAllEvidenceResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _44.QueryAllEvidenceResponse; - fromJSON(object: any): _44.QueryAllEvidenceResponse; - toJSON(message: _44.QueryAllEvidenceResponse): unknown; - fromPartial(object: { - evidence?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _44.QueryAllEvidenceResponse; - fromSDK(object: _44.QueryAllEvidenceResponseSDKType): _44.QueryAllEvidenceResponse; - toSDK(message: _44.QueryAllEvidenceResponse): _44.QueryAllEvidenceResponseSDKType; - fromAmino(object: _44.QueryAllEvidenceResponseAmino): _44.QueryAllEvidenceResponse; - toAmino(message: _44.QueryAllEvidenceResponse): _44.QueryAllEvidenceResponseAmino; - fromAminoMsg(object: _44.QueryAllEvidenceResponseAminoMsg): _44.QueryAllEvidenceResponse; - toAminoMsg(message: _44.QueryAllEvidenceResponse): _44.QueryAllEvidenceResponseAminoMsg; - fromProtoMsg(message: _44.QueryAllEvidenceResponseProtoMsg): _44.QueryAllEvidenceResponse; - toProto(message: _44.QueryAllEvidenceResponse): Uint8Array; - toProtoMsg(message: _44.QueryAllEvidenceResponse): _44.QueryAllEvidenceResponseProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _43.GenesisState; - isSDK(o: any): o is _43.GenesisStateSDKType; - isAmino(o: any): o is _43.GenesisStateAmino; - encode(message: _43.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _43.GenesisState; - fromJSON(object: any): _43.GenesisState; - toJSON(message: _43.GenesisState): unknown; - fromPartial(object: { - evidence?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _43.GenesisState; - fromSDK(object: _43.GenesisStateSDKType): _43.GenesisState; - toSDK(message: _43.GenesisState): _43.GenesisStateSDKType; - fromAmino(object: _43.GenesisStateAmino): _43.GenesisState; - toAmino(message: _43.GenesisState): _43.GenesisStateAmino; - fromAminoMsg(object: _43.GenesisStateAminoMsg): _43.GenesisState; - toAminoMsg(message: _43.GenesisState): _43.GenesisStateAminoMsg; - fromProtoMsg(message: _43.GenesisStateProtoMsg): _43.GenesisState; - toProto(message: _43.GenesisState): Uint8Array; - toProtoMsg(message: _43.GenesisState): _43.GenesisStateProtoMsg; - }; - Equivocation: { - typeUrl: string; - aminoType: string; - is(o: any): o is _42.Equivocation; - isSDK(o: any): o is _42.EquivocationSDKType; - isAmino(o: any): o is _42.EquivocationAmino; - encode(message: _42.Equivocation, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _42.Equivocation; - fromJSON(object: any): _42.Equivocation; - toJSON(message: _42.Equivocation): unknown; - fromPartial(object: { - height?: bigint; - time?: Date; - power?: bigint; - consensusAddress?: string; - }): _42.Equivocation; - fromSDK(object: _42.EquivocationSDKType): _42.Equivocation; - toSDK(message: _42.Equivocation): _42.EquivocationSDKType; - fromAmino(object: _42.EquivocationAmino): _42.Equivocation; - toAmino(message: _42.Equivocation): _42.EquivocationAmino; - fromAminoMsg(object: _42.EquivocationAminoMsg): _42.Equivocation; - toAminoMsg(message: _42.Equivocation): _42.EquivocationAminoMsg; - fromProtoMsg(message: _42.EquivocationProtoMsg): _42.Equivocation; - toProto(message: _42.Equivocation): Uint8Array; - toProtoMsg(message: _42.Equivocation): _42.EquivocationProtoMsg; - }; - }; - } - namespace feegrant { - const v1beta1: { - MsgClientImpl: typeof _241.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _241.MsgClientImpl; - QueryClientImpl: typeof _225.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useAllowance: ({ request, options }: _225.UseAllowanceQuery) => import("@tanstack/react-query").UseQueryResult; - useAllowances: ({ request, options }: _225.UseAllowancesQuery) => import("@tanstack/react-query").UseQueryResult; - useAllowancesByGranter: ({ request, options }: _225.UseAllowancesByGranterQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryAllowanceStore: { - new (): { - store: import("..").QueryStore<_48.QueryAllowanceRequest, _48.QueryAllowanceResponse>; - allowance(request: _48.QueryAllowanceRequest): import("..").MobxResponse<_48.QueryAllowanceResponse>; - }; - }; - QueryAllowancesStore: { - new (): { - store: import("..").QueryStore<_48.QueryAllowancesRequest, _48.QueryAllowancesResponse>; - allowances(request: _48.QueryAllowancesRequest): import("..").MobxResponse<_48.QueryAllowancesResponse>; - }; - }; - QueryAllowancesByGranterStore: { - new (): { - store: import("..").QueryStore<_48.QueryAllowancesByGranterRequest, _48.QueryAllowancesByGranterResponse>; - allowancesByGranter(request: _48.QueryAllowancesByGranterRequest): import("..").MobxResponse<_48.QueryAllowancesByGranterResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - grantAllowance(value: _49.MsgGrantAllowance): { - typeUrl: string; - value: Uint8Array; - }; - revokeAllowance(value: _49.MsgRevokeAllowance): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - grantAllowance(value: _49.MsgGrantAllowance): { - typeUrl: string; - value: _49.MsgGrantAllowance; - }; - revokeAllowance(value: _49.MsgRevokeAllowance): { - typeUrl: string; - value: _49.MsgRevokeAllowance; - }; - }; - toJSON: { - grantAllowance(value: _49.MsgGrantAllowance): { - typeUrl: string; - value: unknown; - }; - revokeAllowance(value: _49.MsgRevokeAllowance): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - grantAllowance(value: any): { - typeUrl: string; - value: _49.MsgGrantAllowance; - }; - revokeAllowance(value: any): { - typeUrl: string; - value: _49.MsgRevokeAllowance; - }; - }; - fromPartial: { - grantAllowance(value: _49.MsgGrantAllowance): { - typeUrl: string; - value: _49.MsgGrantAllowance; - }; - revokeAllowance(value: _49.MsgRevokeAllowance): { - typeUrl: string; - value: _49.MsgRevokeAllowance; - }; - }; - }; - AminoConverter: { - "/cosmos.feegrant.v1beta1.MsgGrantAllowance": { - aminoType: string; - toAmino: (message: _49.MsgGrantAllowance) => _49.MsgGrantAllowanceAmino; - fromAmino: (object: _49.MsgGrantAllowanceAmino) => _49.MsgGrantAllowance; - }; - "/cosmos.feegrant.v1beta1.MsgRevokeAllowance": { - aminoType: string; - toAmino: (message: _49.MsgRevokeAllowance) => _49.MsgRevokeAllowanceAmino; - fromAmino: (object: _49.MsgRevokeAllowanceAmino) => _49.MsgRevokeAllowance; - }; - }; - MsgGrantAllowance: { - typeUrl: string; - aminoType: string; - is(o: any): o is _49.MsgGrantAllowance; - isSDK(o: any): o is _49.MsgGrantAllowanceSDKType; - isAmino(o: any): o is _49.MsgGrantAllowanceAmino; - encode(message: _49.MsgGrantAllowance, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _49.MsgGrantAllowance; - fromJSON(object: any): _49.MsgGrantAllowance; - toJSON(message: _49.MsgGrantAllowance): unknown; - fromPartial(object: { - granter?: string; - grantee?: string; - allowance?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - basic?: { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }; - period?: { - seconds?: bigint; - nanos?: number; - }; - periodSpendLimit?: { - denom?: string; - amount?: string; - }[]; - periodCanSpend?: { - denom?: string; - amount?: string; - }[]; - periodReset?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance"; - allowance?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - basic?: { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }; - period?: { - seconds?: bigint; - nanos?: number; - }; - periodSpendLimit?: { - denom?: string; - amount?: string; - }[]; - periodCanSpend?: { - denom?: string; - amount?: string; - }[]; - periodReset?: Date; - } | any; - allowedMessages?: string[]; - }; - }): _49.MsgGrantAllowance; - fromSDK(object: _49.MsgGrantAllowanceSDKType): _49.MsgGrantAllowance; - toSDK(message: _49.MsgGrantAllowance): _49.MsgGrantAllowanceSDKType; - fromAmino(object: _49.MsgGrantAllowanceAmino): _49.MsgGrantAllowance; - toAmino(message: _49.MsgGrantAllowance): _49.MsgGrantAllowanceAmino; - fromAminoMsg(object: _49.MsgGrantAllowanceAminoMsg): _49.MsgGrantAllowance; - toAminoMsg(message: _49.MsgGrantAllowance): _49.MsgGrantAllowanceAminoMsg; - fromProtoMsg(message: _49.MsgGrantAllowanceProtoMsg): _49.MsgGrantAllowance; - toProto(message: _49.MsgGrantAllowance): Uint8Array; - toProtoMsg(message: _49.MsgGrantAllowance): _49.MsgGrantAllowanceProtoMsg; - }; - MsgGrantAllowanceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _49.MsgGrantAllowanceResponse; - isSDK(o: any): o is _49.MsgGrantAllowanceResponseSDKType; - isAmino(o: any): o is _49.MsgGrantAllowanceResponseAmino; - encode(_: _49.MsgGrantAllowanceResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _49.MsgGrantAllowanceResponse; - fromJSON(_: any): _49.MsgGrantAllowanceResponse; - toJSON(_: _49.MsgGrantAllowanceResponse): unknown; - fromPartial(_: {}): _49.MsgGrantAllowanceResponse; - fromSDK(_: _49.MsgGrantAllowanceResponseSDKType): _49.MsgGrantAllowanceResponse; - toSDK(_: _49.MsgGrantAllowanceResponse): _49.MsgGrantAllowanceResponseSDKType; - fromAmino(_: _49.MsgGrantAllowanceResponseAmino): _49.MsgGrantAllowanceResponse; - toAmino(_: _49.MsgGrantAllowanceResponse): _49.MsgGrantAllowanceResponseAmino; - fromAminoMsg(object: _49.MsgGrantAllowanceResponseAminoMsg): _49.MsgGrantAllowanceResponse; - toAminoMsg(message: _49.MsgGrantAllowanceResponse): _49.MsgGrantAllowanceResponseAminoMsg; - fromProtoMsg(message: _49.MsgGrantAllowanceResponseProtoMsg): _49.MsgGrantAllowanceResponse; - toProto(message: _49.MsgGrantAllowanceResponse): Uint8Array; - toProtoMsg(message: _49.MsgGrantAllowanceResponse): _49.MsgGrantAllowanceResponseProtoMsg; - }; - MsgRevokeAllowance: { - typeUrl: string; - aminoType: string; - is(o: any): o is _49.MsgRevokeAllowance; - isSDK(o: any): o is _49.MsgRevokeAllowanceSDKType; - isAmino(o: any): o is _49.MsgRevokeAllowanceAmino; - encode(message: _49.MsgRevokeAllowance, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _49.MsgRevokeAllowance; - fromJSON(object: any): _49.MsgRevokeAllowance; - toJSON(message: _49.MsgRevokeAllowance): unknown; - fromPartial(object: { - granter?: string; - grantee?: string; - }): _49.MsgRevokeAllowance; - fromSDK(object: _49.MsgRevokeAllowanceSDKType): _49.MsgRevokeAllowance; - toSDK(message: _49.MsgRevokeAllowance): _49.MsgRevokeAllowanceSDKType; - fromAmino(object: _49.MsgRevokeAllowanceAmino): _49.MsgRevokeAllowance; - toAmino(message: _49.MsgRevokeAllowance): _49.MsgRevokeAllowanceAmino; - fromAminoMsg(object: _49.MsgRevokeAllowanceAminoMsg): _49.MsgRevokeAllowance; - toAminoMsg(message: _49.MsgRevokeAllowance): _49.MsgRevokeAllowanceAminoMsg; - fromProtoMsg(message: _49.MsgRevokeAllowanceProtoMsg): _49.MsgRevokeAllowance; - toProto(message: _49.MsgRevokeAllowance): Uint8Array; - toProtoMsg(message: _49.MsgRevokeAllowance): _49.MsgRevokeAllowanceProtoMsg; - }; - MsgRevokeAllowanceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _49.MsgRevokeAllowanceResponse; - isSDK(o: any): o is _49.MsgRevokeAllowanceResponseSDKType; - isAmino(o: any): o is _49.MsgRevokeAllowanceResponseAmino; - encode(_: _49.MsgRevokeAllowanceResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _49.MsgRevokeAllowanceResponse; - fromJSON(_: any): _49.MsgRevokeAllowanceResponse; - toJSON(_: _49.MsgRevokeAllowanceResponse): unknown; - fromPartial(_: {}): _49.MsgRevokeAllowanceResponse; - fromSDK(_: _49.MsgRevokeAllowanceResponseSDKType): _49.MsgRevokeAllowanceResponse; - toSDK(_: _49.MsgRevokeAllowanceResponse): _49.MsgRevokeAllowanceResponseSDKType; - fromAmino(_: _49.MsgRevokeAllowanceResponseAmino): _49.MsgRevokeAllowanceResponse; - toAmino(_: _49.MsgRevokeAllowanceResponse): _49.MsgRevokeAllowanceResponseAmino; - fromAminoMsg(object: _49.MsgRevokeAllowanceResponseAminoMsg): _49.MsgRevokeAllowanceResponse; - toAminoMsg(message: _49.MsgRevokeAllowanceResponse): _49.MsgRevokeAllowanceResponseAminoMsg; - fromProtoMsg(message: _49.MsgRevokeAllowanceResponseProtoMsg): _49.MsgRevokeAllowanceResponse; - toProto(message: _49.MsgRevokeAllowanceResponse): Uint8Array; - toProtoMsg(message: _49.MsgRevokeAllowanceResponse): _49.MsgRevokeAllowanceResponseProtoMsg; - }; - QueryAllowanceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _48.QueryAllowanceRequest; - isSDK(o: any): o is _48.QueryAllowanceRequestSDKType; - isAmino(o: any): o is _48.QueryAllowanceRequestAmino; - encode(message: _48.QueryAllowanceRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _48.QueryAllowanceRequest; - fromJSON(object: any): _48.QueryAllowanceRequest; - toJSON(message: _48.QueryAllowanceRequest): unknown; - fromPartial(object: { - granter?: string; - grantee?: string; - }): _48.QueryAllowanceRequest; - fromSDK(object: _48.QueryAllowanceRequestSDKType): _48.QueryAllowanceRequest; - toSDK(message: _48.QueryAllowanceRequest): _48.QueryAllowanceRequestSDKType; - fromAmino(object: _48.QueryAllowanceRequestAmino): _48.QueryAllowanceRequest; - toAmino(message: _48.QueryAllowanceRequest): _48.QueryAllowanceRequestAmino; - fromAminoMsg(object: _48.QueryAllowanceRequestAminoMsg): _48.QueryAllowanceRequest; - toAminoMsg(message: _48.QueryAllowanceRequest): _48.QueryAllowanceRequestAminoMsg; - fromProtoMsg(message: _48.QueryAllowanceRequestProtoMsg): _48.QueryAllowanceRequest; - toProto(message: _48.QueryAllowanceRequest): Uint8Array; - toProtoMsg(message: _48.QueryAllowanceRequest): _48.QueryAllowanceRequestProtoMsg; - }; - QueryAllowanceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _48.QueryAllowanceResponse; - isSDK(o: any): o is _48.QueryAllowanceResponseSDKType; - isAmino(o: any): o is _48.QueryAllowanceResponseAmino; - encode(message: _48.QueryAllowanceResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _48.QueryAllowanceResponse; - fromJSON(object: any): _48.QueryAllowanceResponse; - toJSON(message: _48.QueryAllowanceResponse): unknown; - fromPartial(object: { - allowance?: { - granter?: string; - grantee?: string; - allowance?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - basic?: { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }; - period?: { - seconds?: bigint; - nanos?: number; - }; - periodSpendLimit?: { - denom?: string; - amount?: string; - }[]; - periodCanSpend?: { - denom?: string; - amount?: string; - }[]; - periodReset?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance"; - allowance?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - basic?: { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }; - period?: { - seconds?: bigint; - nanos?: number; - }; - periodSpendLimit?: { - denom?: string; - amount?: string; - }[]; - periodCanSpend?: { - denom?: string; - amount?: string; - }[]; - periodReset?: Date; - } | any; - allowedMessages?: string[]; - }; - }; - }): _48.QueryAllowanceResponse; - fromSDK(object: _48.QueryAllowanceResponseSDKType): _48.QueryAllowanceResponse; - toSDK(message: _48.QueryAllowanceResponse): _48.QueryAllowanceResponseSDKType; - fromAmino(object: _48.QueryAllowanceResponseAmino): _48.QueryAllowanceResponse; - toAmino(message: _48.QueryAllowanceResponse): _48.QueryAllowanceResponseAmino; - fromAminoMsg(object: _48.QueryAllowanceResponseAminoMsg): _48.QueryAllowanceResponse; - toAminoMsg(message: _48.QueryAllowanceResponse): _48.QueryAllowanceResponseAminoMsg; - fromProtoMsg(message: _48.QueryAllowanceResponseProtoMsg): _48.QueryAllowanceResponse; - toProto(message: _48.QueryAllowanceResponse): Uint8Array; - toProtoMsg(message: _48.QueryAllowanceResponse): _48.QueryAllowanceResponseProtoMsg; - }; - QueryAllowancesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _48.QueryAllowancesRequest; - isSDK(o: any): o is _48.QueryAllowancesRequestSDKType; - isAmino(o: any): o is _48.QueryAllowancesRequestAmino; - encode(message: _48.QueryAllowancesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _48.QueryAllowancesRequest; - fromJSON(object: any): _48.QueryAllowancesRequest; - toJSON(message: _48.QueryAllowancesRequest): unknown; - fromPartial(object: { - grantee?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _48.QueryAllowancesRequest; - fromSDK(object: _48.QueryAllowancesRequestSDKType): _48.QueryAllowancesRequest; - toSDK(message: _48.QueryAllowancesRequest): _48.QueryAllowancesRequestSDKType; - fromAmino(object: _48.QueryAllowancesRequestAmino): _48.QueryAllowancesRequest; - toAmino(message: _48.QueryAllowancesRequest): _48.QueryAllowancesRequestAmino; - fromAminoMsg(object: _48.QueryAllowancesRequestAminoMsg): _48.QueryAllowancesRequest; - toAminoMsg(message: _48.QueryAllowancesRequest): _48.QueryAllowancesRequestAminoMsg; - fromProtoMsg(message: _48.QueryAllowancesRequestProtoMsg): _48.QueryAllowancesRequest; - toProto(message: _48.QueryAllowancesRequest): Uint8Array; - toProtoMsg(message: _48.QueryAllowancesRequest): _48.QueryAllowancesRequestProtoMsg; - }; - QueryAllowancesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _48.QueryAllowancesResponse; - isSDK(o: any): o is _48.QueryAllowancesResponseSDKType; - isAmino(o: any): o is _48.QueryAllowancesResponseAmino; - encode(message: _48.QueryAllowancesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _48.QueryAllowancesResponse; - fromJSON(object: any): _48.QueryAllowancesResponse; - toJSON(message: _48.QueryAllowancesResponse): unknown; - fromPartial(object: { - allowances?: { - granter?: string; - grantee?: string; - allowance?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - basic?: { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }; - period?: { - seconds?: bigint; - nanos?: number; - }; - periodSpendLimit?: { - denom?: string; - amount?: string; - }[]; - periodCanSpend?: { - denom?: string; - amount?: string; - }[]; - periodReset?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance"; - allowance?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - basic?: { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }; - period?: { - seconds?: bigint; - nanos?: number; - }; - periodSpendLimit?: { - denom?: string; - amount?: string; - }[]; - periodCanSpend?: { - denom?: string; - amount?: string; - }[]; - periodReset?: Date; - } | any; - allowedMessages?: string[]; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _48.QueryAllowancesResponse; - fromSDK(object: _48.QueryAllowancesResponseSDKType): _48.QueryAllowancesResponse; - toSDK(message: _48.QueryAllowancesResponse): _48.QueryAllowancesResponseSDKType; - fromAmino(object: _48.QueryAllowancesResponseAmino): _48.QueryAllowancesResponse; - toAmino(message: _48.QueryAllowancesResponse): _48.QueryAllowancesResponseAmino; - fromAminoMsg(object: _48.QueryAllowancesResponseAminoMsg): _48.QueryAllowancesResponse; - toAminoMsg(message: _48.QueryAllowancesResponse): _48.QueryAllowancesResponseAminoMsg; - fromProtoMsg(message: _48.QueryAllowancesResponseProtoMsg): _48.QueryAllowancesResponse; - toProto(message: _48.QueryAllowancesResponse): Uint8Array; - toProtoMsg(message: _48.QueryAllowancesResponse): _48.QueryAllowancesResponseProtoMsg; - }; - QueryAllowancesByGranterRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _48.QueryAllowancesByGranterRequest; - isSDK(o: any): o is _48.QueryAllowancesByGranterRequestSDKType; - isAmino(o: any): o is _48.QueryAllowancesByGranterRequestAmino; - encode(message: _48.QueryAllowancesByGranterRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _48.QueryAllowancesByGranterRequest; - fromJSON(object: any): _48.QueryAllowancesByGranterRequest; - toJSON(message: _48.QueryAllowancesByGranterRequest): unknown; - fromPartial(object: { - granter?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _48.QueryAllowancesByGranterRequest; - fromSDK(object: _48.QueryAllowancesByGranterRequestSDKType): _48.QueryAllowancesByGranterRequest; - toSDK(message: _48.QueryAllowancesByGranterRequest): _48.QueryAllowancesByGranterRequestSDKType; - fromAmino(object: _48.QueryAllowancesByGranterRequestAmino): _48.QueryAllowancesByGranterRequest; - toAmino(message: _48.QueryAllowancesByGranterRequest): _48.QueryAllowancesByGranterRequestAmino; - fromAminoMsg(object: _48.QueryAllowancesByGranterRequestAminoMsg): _48.QueryAllowancesByGranterRequest; - toAminoMsg(message: _48.QueryAllowancesByGranterRequest): _48.QueryAllowancesByGranterRequestAminoMsg; - fromProtoMsg(message: _48.QueryAllowancesByGranterRequestProtoMsg): _48.QueryAllowancesByGranterRequest; - toProto(message: _48.QueryAllowancesByGranterRequest): Uint8Array; - toProtoMsg(message: _48.QueryAllowancesByGranterRequest): _48.QueryAllowancesByGranterRequestProtoMsg; - }; - QueryAllowancesByGranterResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _48.QueryAllowancesByGranterResponse; - isSDK(o: any): o is _48.QueryAllowancesByGranterResponseSDKType; - isAmino(o: any): o is _48.QueryAllowancesByGranterResponseAmino; - encode(message: _48.QueryAllowancesByGranterResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _48.QueryAllowancesByGranterResponse; - fromJSON(object: any): _48.QueryAllowancesByGranterResponse; - toJSON(message: _48.QueryAllowancesByGranterResponse): unknown; - fromPartial(object: { - allowances?: { - granter?: string; - grantee?: string; - allowance?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - basic?: { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }; - period?: { - seconds?: bigint; - nanos?: number; - }; - periodSpendLimit?: { - denom?: string; - amount?: string; - }[]; - periodCanSpend?: { - denom?: string; - amount?: string; - }[]; - periodReset?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance"; - allowance?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - basic?: { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }; - period?: { - seconds?: bigint; - nanos?: number; - }; - periodSpendLimit?: { - denom?: string; - amount?: string; - }[]; - periodCanSpend?: { - denom?: string; - amount?: string; - }[]; - periodReset?: Date; - } | any; - allowedMessages?: string[]; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _48.QueryAllowancesByGranterResponse; - fromSDK(object: _48.QueryAllowancesByGranterResponseSDKType): _48.QueryAllowancesByGranterResponse; - toSDK(message: _48.QueryAllowancesByGranterResponse): _48.QueryAllowancesByGranterResponseSDKType; - fromAmino(object: _48.QueryAllowancesByGranterResponseAmino): _48.QueryAllowancesByGranterResponse; - toAmino(message: _48.QueryAllowancesByGranterResponse): _48.QueryAllowancesByGranterResponseAmino; - fromAminoMsg(object: _48.QueryAllowancesByGranterResponseAminoMsg): _48.QueryAllowancesByGranterResponse; - toAminoMsg(message: _48.QueryAllowancesByGranterResponse): _48.QueryAllowancesByGranterResponseAminoMsg; - fromProtoMsg(message: _48.QueryAllowancesByGranterResponseProtoMsg): _48.QueryAllowancesByGranterResponse; - toProto(message: _48.QueryAllowancesByGranterResponse): Uint8Array; - toProtoMsg(message: _48.QueryAllowancesByGranterResponse): _48.QueryAllowancesByGranterResponseProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _47.GenesisState; - isSDK(o: any): o is _47.GenesisStateSDKType; - isAmino(o: any): o is _47.GenesisStateAmino; - encode(message: _47.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _47.GenesisState; - fromJSON(object: any): _47.GenesisState; - toJSON(message: _47.GenesisState): unknown; - fromPartial(object: { - allowances?: { - granter?: string; - grantee?: string; - allowance?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - basic?: { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }; - period?: { - seconds?: bigint; - nanos?: number; - }; - periodSpendLimit?: { - denom?: string; - amount?: string; - }[]; - periodCanSpend?: { - denom?: string; - amount?: string; - }[]; - periodReset?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance"; - allowance?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - basic?: { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }; - period?: { - seconds?: bigint; - nanos?: number; - }; - periodSpendLimit?: { - denom?: string; - amount?: string; - }[]; - periodCanSpend?: { - denom?: string; - amount?: string; - }[]; - periodReset?: Date; - } | any; - allowedMessages?: string[]; - }; - }[]; - }): _47.GenesisState; - fromSDK(object: _47.GenesisStateSDKType): _47.GenesisState; - toSDK(message: _47.GenesisState): _47.GenesisStateSDKType; - fromAmino(object: _47.GenesisStateAmino): _47.GenesisState; - toAmino(message: _47.GenesisState): _47.GenesisStateAmino; - fromAminoMsg(object: _47.GenesisStateAminoMsg): _47.GenesisState; - toAminoMsg(message: _47.GenesisState): _47.GenesisStateAminoMsg; - fromProtoMsg(message: _47.GenesisStateProtoMsg): _47.GenesisState; - toProto(message: _47.GenesisState): Uint8Array; - toProtoMsg(message: _47.GenesisState): _47.GenesisStateProtoMsg; - }; - BasicAllowance: { - typeUrl: string; - aminoType: string; - is(o: any): o is _46.BasicAllowance; - isSDK(o: any): o is _46.BasicAllowanceSDKType; - isAmino(o: any): o is _46.BasicAllowanceAmino; - encode(message: _46.BasicAllowance, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _46.BasicAllowance; - fromJSON(object: any): _46.BasicAllowance; - toJSON(message: _46.BasicAllowance): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }): _46.BasicAllowance; - fromSDK(object: _46.BasicAllowanceSDKType): _46.BasicAllowance; - toSDK(message: _46.BasicAllowance): _46.BasicAllowanceSDKType; - fromAmino(object: _46.BasicAllowanceAmino): _46.BasicAllowance; - toAmino(message: _46.BasicAllowance): _46.BasicAllowanceAmino; - fromAminoMsg(object: _46.BasicAllowanceAminoMsg): _46.BasicAllowance; - toAminoMsg(message: _46.BasicAllowance): _46.BasicAllowanceAminoMsg; - fromProtoMsg(message: _46.BasicAllowanceProtoMsg): _46.BasicAllowance; - toProto(message: _46.BasicAllowance): Uint8Array; - toProtoMsg(message: _46.BasicAllowance): _46.BasicAllowanceProtoMsg; - }; - PeriodicAllowance: { - typeUrl: string; - aminoType: string; - is(o: any): o is _46.PeriodicAllowance; - isSDK(o: any): o is _46.PeriodicAllowanceSDKType; - isAmino(o: any): o is _46.PeriodicAllowanceAmino; - encode(message: _46.PeriodicAllowance, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _46.PeriodicAllowance; - fromJSON(object: any): _46.PeriodicAllowance; - toJSON(message: _46.PeriodicAllowance): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - basic?: { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }; - period?: { - seconds?: bigint; - nanos?: number; - }; - periodSpendLimit?: { - denom?: string; - amount?: string; - }[]; - periodCanSpend?: { - denom?: string; - amount?: string; - }[]; - periodReset?: Date; - }): _46.PeriodicAllowance; - fromSDK(object: _46.PeriodicAllowanceSDKType): _46.PeriodicAllowance; - toSDK(message: _46.PeriodicAllowance): _46.PeriodicAllowanceSDKType; - fromAmino(object: _46.PeriodicAllowanceAmino): _46.PeriodicAllowance; - toAmino(message: _46.PeriodicAllowance): _46.PeriodicAllowanceAmino; - fromAminoMsg(object: _46.PeriodicAllowanceAminoMsg): _46.PeriodicAllowance; - toAminoMsg(message: _46.PeriodicAllowance): _46.PeriodicAllowanceAminoMsg; - fromProtoMsg(message: _46.PeriodicAllowanceProtoMsg): _46.PeriodicAllowance; - toProto(message: _46.PeriodicAllowance): Uint8Array; - toProtoMsg(message: _46.PeriodicAllowance): _46.PeriodicAllowanceProtoMsg; - }; - AllowedMsgAllowance: { - typeUrl: string; - aminoType: string; - is(o: any): o is _46.AllowedMsgAllowance; - isSDK(o: any): o is _46.AllowedMsgAllowanceSDKType; - isAmino(o: any): o is _46.AllowedMsgAllowanceAmino; - encode(message: _46.AllowedMsgAllowance, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _46.AllowedMsgAllowance; - fromJSON(object: any): _46.AllowedMsgAllowance; - toJSON(message: _46.AllowedMsgAllowance): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance"; - allowance?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - basic?: { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }; - period?: { - seconds?: bigint; - nanos?: number; - }; - periodSpendLimit?: { - denom?: string; - amount?: string; - }[]; - periodCanSpend?: { - denom?: string; - amount?: string; - }[]; - periodReset?: Date; - } | any; - allowedMessages?: string[]; - }): _46.AllowedMsgAllowance; - fromSDK(object: _46.AllowedMsgAllowanceSDKType): _46.AllowedMsgAllowance; - toSDK(message: _46.AllowedMsgAllowance): _46.AllowedMsgAllowanceSDKType; - fromAmino(object: _46.AllowedMsgAllowanceAmino): _46.AllowedMsgAllowance; - toAmino(message: _46.AllowedMsgAllowance): _46.AllowedMsgAllowanceAmino; - fromAminoMsg(object: _46.AllowedMsgAllowanceAminoMsg): _46.AllowedMsgAllowance; - toAminoMsg(message: _46.AllowedMsgAllowance): _46.AllowedMsgAllowanceAminoMsg; - fromProtoMsg(message: _46.AllowedMsgAllowanceProtoMsg): _46.AllowedMsgAllowance; - toProto(message: _46.AllowedMsgAllowance): Uint8Array; - toProtoMsg(message: _46.AllowedMsgAllowance): _46.AllowedMsgAllowanceProtoMsg; - }; - Grant: { - typeUrl: string; - aminoType: string; - is(o: any): o is _46.Grant; - isSDK(o: any): o is _46.GrantSDKType; - isAmino(o: any): o is _46.GrantAmino; - encode(message: _46.Grant, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _46.Grant; - fromJSON(object: any): _46.Grant; - toJSON(message: _46.Grant): unknown; - fromPartial(object: { - granter?: string; - grantee?: string; - allowance?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - basic?: { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }; - period?: { - seconds?: bigint; - nanos?: number; - }; - periodSpendLimit?: { - denom?: string; - amount?: string; - }[]; - periodCanSpend?: { - denom?: string; - amount?: string; - }[]; - periodReset?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance"; - allowance?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - } | { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - basic?: { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }; - period?: { - seconds?: bigint; - nanos?: number; - }; - periodSpendLimit?: { - denom?: string; - amount?: string; - }[]; - periodCanSpend?: { - denom?: string; - amount?: string; - }[]; - periodReset?: Date; - } | any; - allowedMessages?: string[]; - }; - }): _46.Grant; - fromSDK(object: _46.GrantSDKType): _46.Grant; - toSDK(message: _46.Grant): _46.GrantSDKType; - fromAmino(object: _46.GrantAmino): _46.Grant; - toAmino(message: _46.Grant): _46.GrantAmino; - fromAminoMsg(object: _46.GrantAminoMsg): _46.Grant; - toAminoMsg(message: _46.Grant): _46.GrantAminoMsg; - fromProtoMsg(message: _46.GrantProtoMsg): _46.Grant; - toProto(message: _46.Grant): Uint8Array; - toProtoMsg(message: _46.Grant): _46.GrantProtoMsg; - }; - }; - } - namespace genutil { - const v1beta1: { - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _50.GenesisState; - isSDK(o: any): o is _50.GenesisStateSDKType; - isAmino(o: any): o is _50.GenesisStateAmino; - encode(message: _50.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _50.GenesisState; - fromJSON(object: any): _50.GenesisState; - toJSON(message: _50.GenesisState): unknown; - fromPartial(object: { - genTxs?: Uint8Array[]; - }): _50.GenesisState; - fromSDK(object: _50.GenesisStateSDKType): _50.GenesisState; - toSDK(message: _50.GenesisState): _50.GenesisStateSDKType; - fromAmino(object: _50.GenesisStateAmino): _50.GenesisState; - toAmino(message: _50.GenesisState): _50.GenesisStateAmino; - fromAminoMsg(object: _50.GenesisStateAminoMsg): _50.GenesisState; - toAminoMsg(message: _50.GenesisState): _50.GenesisStateAminoMsg; - fromProtoMsg(message: _50.GenesisStateProtoMsg): _50.GenesisState; - toProto(message: _50.GenesisState): Uint8Array; - toProtoMsg(message: _50.GenesisState): _50.GenesisStateProtoMsg; - }; - }; - } - namespace gov { - const v1: { - MsgClientImpl: typeof _242.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _242.MsgClientImpl; - QueryClientImpl: typeof _226.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useProposal: ({ request, options }: _226.UseProposalQuery) => import("@tanstack/react-query").UseQueryResult; - useProposals: ({ request, options }: _226.UseProposalsQuery) => import("@tanstack/react-query").UseQueryResult; - useVote: ({ request, options }: _226.UseVoteQuery) => import("@tanstack/react-query").UseQueryResult; - useVotes: ({ request, options }: _226.UseVotesQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _226.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useDeposit: ({ request, options }: _226.UseDepositQuery) => import("@tanstack/react-query").UseQueryResult; - useDeposits: ({ request, options }: _226.UseDepositsQuery) => import("@tanstack/react-query").UseQueryResult; - useTallyResult: ({ request, options }: _226.UseTallyResultQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryProposalStore: { - new (): { - store: import("..").QueryStore<_53.QueryProposalRequest, _53.QueryProposalResponse>; - proposal(request: _53.QueryProposalRequest): import("..").MobxResponse<_53.QueryProposalResponse>; - }; - }; - QueryProposalsStore: { - new (): { - store: import("..").QueryStore<_53.QueryProposalsRequest, _53.QueryProposalsResponse>; - proposals(request: _53.QueryProposalsRequest): import("..").MobxResponse<_53.QueryProposalsResponse>; - }; - }; - QueryVoteStore: { - new (): { - store: import("..").QueryStore<_53.QueryVoteRequest, _53.QueryVoteResponse>; - vote(request: _53.QueryVoteRequest): import("..").MobxResponse<_53.QueryVoteResponse>; - }; - }; - QueryVotesStore: { - new (): { - store: import("..").QueryStore<_53.QueryVotesRequest, _53.QueryVotesResponse>; - votes(request: _53.QueryVotesRequest): import("..").MobxResponse<_53.QueryVotesResponse>; - }; - }; - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_53.QueryParamsRequest, _53.QueryParamsResponse>; - params(request: _53.QueryParamsRequest): import("..").MobxResponse<_53.QueryParamsResponse>; - }; - }; - QueryDepositStore: { - new (): { - store: import("..").QueryStore<_53.QueryDepositRequest, _53.QueryDepositResponse>; - deposit(request: _53.QueryDepositRequest): import("..").MobxResponse<_53.QueryDepositResponse>; - }; - }; - QueryDepositsStore: { - new (): { - store: import("..").QueryStore<_53.QueryDepositsRequest, _53.QueryDepositsResponse>; - deposits(request: _53.QueryDepositsRequest): import("..").MobxResponse<_53.QueryDepositsResponse>; - }; - }; - QueryTallyResultStore: { - new (): { - store: import("..").QueryStore<_53.QueryTallyResultRequest, _53.QueryTallyResultResponse>; - tallyResult(request: _53.QueryTallyResultRequest): import("..").MobxResponse<_53.QueryTallyResultResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - submitProposal(value: _54.MsgSubmitProposal): { - typeUrl: string; - value: Uint8Array; - }; - execLegacyContent(value: _54.MsgExecLegacyContent): { - typeUrl: string; - value: Uint8Array; - }; - vote(value: _54.MsgVote): { - typeUrl: string; - value: Uint8Array; - }; - voteWeighted(value: _54.MsgVoteWeighted): { - typeUrl: string; - value: Uint8Array; - }; - deposit(value: _54.MsgDeposit): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - submitProposal(value: _54.MsgSubmitProposal): { - typeUrl: string; - value: _54.MsgSubmitProposal; - }; - execLegacyContent(value: _54.MsgExecLegacyContent): { - typeUrl: string; - value: _54.MsgExecLegacyContent; - }; - vote(value: _54.MsgVote): { - typeUrl: string; - value: _54.MsgVote; - }; - voteWeighted(value: _54.MsgVoteWeighted): { - typeUrl: string; - value: _54.MsgVoteWeighted; - }; - deposit(value: _54.MsgDeposit): { - typeUrl: string; - value: _54.MsgDeposit; - }; - }; - toJSON: { - submitProposal(value: _54.MsgSubmitProposal): { - typeUrl: string; - value: unknown; - }; - execLegacyContent(value: _54.MsgExecLegacyContent): { - typeUrl: string; - value: unknown; - }; - vote(value: _54.MsgVote): { - typeUrl: string; - value: unknown; - }; - voteWeighted(value: _54.MsgVoteWeighted): { - typeUrl: string; - value: unknown; - }; - deposit(value: _54.MsgDeposit): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - submitProposal(value: any): { - typeUrl: string; - value: _54.MsgSubmitProposal; - }; - execLegacyContent(value: any): { - typeUrl: string; - value: _54.MsgExecLegacyContent; - }; - vote(value: any): { - typeUrl: string; - value: _54.MsgVote; - }; - voteWeighted(value: any): { - typeUrl: string; - value: _54.MsgVoteWeighted; - }; - deposit(value: any): { - typeUrl: string; - value: _54.MsgDeposit; - }; - }; - fromPartial: { - submitProposal(value: _54.MsgSubmitProposal): { - typeUrl: string; - value: _54.MsgSubmitProposal; - }; - execLegacyContent(value: _54.MsgExecLegacyContent): { - typeUrl: string; - value: _54.MsgExecLegacyContent; - }; - vote(value: _54.MsgVote): { - typeUrl: string; - value: _54.MsgVote; - }; - voteWeighted(value: _54.MsgVoteWeighted): { - typeUrl: string; - value: _54.MsgVoteWeighted; - }; - deposit(value: _54.MsgDeposit): { - typeUrl: string; - value: _54.MsgDeposit; - }; - }; - }; - AminoConverter: { - "/cosmos.gov.v1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: _54.MsgSubmitProposal) => _54.MsgSubmitProposalAmino; - fromAmino: (object: _54.MsgSubmitProposalAmino) => _54.MsgSubmitProposal; - }; - "/cosmos.gov.v1.MsgExecLegacyContent": { - aminoType: string; - toAmino: (message: _54.MsgExecLegacyContent) => _54.MsgExecLegacyContentAmino; - fromAmino: (object: _54.MsgExecLegacyContentAmino) => _54.MsgExecLegacyContent; - }; - "/cosmos.gov.v1.MsgVote": { - aminoType: string; - toAmino: (message: _54.MsgVote) => _54.MsgVoteAmino; - fromAmino: (object: _54.MsgVoteAmino) => _54.MsgVote; - }; - "/cosmos.gov.v1.MsgVoteWeighted": { - aminoType: string; - toAmino: (message: _54.MsgVoteWeighted) => _54.MsgVoteWeightedAmino; - fromAmino: (object: _54.MsgVoteWeightedAmino) => _54.MsgVoteWeighted; - }; - "/cosmos.gov.v1.MsgDeposit": { - aminoType: string; - toAmino: (message: _54.MsgDeposit) => _54.MsgDepositAmino; - fromAmino: (object: _54.MsgDepositAmino) => _54.MsgDeposit; - }; - }; - MsgSubmitProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _54.MsgSubmitProposal; - isSDK(o: any): o is _54.MsgSubmitProposalSDKType; - isAmino(o: any): o is _54.MsgSubmitProposalAmino; - encode(message: _54.MsgSubmitProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _54.MsgSubmitProposal; - fromJSON(object: any): _54.MsgSubmitProposal; - toJSON(message: _54.MsgSubmitProposal): unknown; - fromPartial(object: { - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - initialDeposit?: { - denom?: string; - amount?: string; - }[]; - proposer?: string; - metadata?: string; - }): _54.MsgSubmitProposal; - fromSDK(object: _54.MsgSubmitProposalSDKType): _54.MsgSubmitProposal; - toSDK(message: _54.MsgSubmitProposal): _54.MsgSubmitProposalSDKType; - fromAmino(object: _54.MsgSubmitProposalAmino): _54.MsgSubmitProposal; - toAmino(message: _54.MsgSubmitProposal): _54.MsgSubmitProposalAmino; - fromAminoMsg(object: _54.MsgSubmitProposalAminoMsg): _54.MsgSubmitProposal; - toAminoMsg(message: _54.MsgSubmitProposal): _54.MsgSubmitProposalAminoMsg; - fromProtoMsg(message: _54.MsgSubmitProposalProtoMsg): _54.MsgSubmitProposal; - toProto(message: _54.MsgSubmitProposal): Uint8Array; - toProtoMsg(message: _54.MsgSubmitProposal): _54.MsgSubmitProposalProtoMsg; - }; - MsgSubmitProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _54.MsgSubmitProposalResponse; - isSDK(o: any): o is _54.MsgSubmitProposalResponseSDKType; - isAmino(o: any): o is _54.MsgSubmitProposalResponseAmino; - encode(message: _54.MsgSubmitProposalResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _54.MsgSubmitProposalResponse; - fromJSON(object: any): _54.MsgSubmitProposalResponse; - toJSON(message: _54.MsgSubmitProposalResponse): unknown; - fromPartial(object: { - proposalId?: bigint; - }): _54.MsgSubmitProposalResponse; - fromSDK(object: _54.MsgSubmitProposalResponseSDKType): _54.MsgSubmitProposalResponse; - toSDK(message: _54.MsgSubmitProposalResponse): _54.MsgSubmitProposalResponseSDKType; - fromAmino(object: _54.MsgSubmitProposalResponseAmino): _54.MsgSubmitProposalResponse; - toAmino(message: _54.MsgSubmitProposalResponse): _54.MsgSubmitProposalResponseAmino; - fromAminoMsg(object: _54.MsgSubmitProposalResponseAminoMsg): _54.MsgSubmitProposalResponse; - toAminoMsg(message: _54.MsgSubmitProposalResponse): _54.MsgSubmitProposalResponseAminoMsg; - fromProtoMsg(message: _54.MsgSubmitProposalResponseProtoMsg): _54.MsgSubmitProposalResponse; - toProto(message: _54.MsgSubmitProposalResponse): Uint8Array; - toProtoMsg(message: _54.MsgSubmitProposalResponse): _54.MsgSubmitProposalResponseProtoMsg; - }; - MsgExecLegacyContent: { - typeUrl: string; - aminoType: string; - is(o: any): o is _54.MsgExecLegacyContent; - isSDK(o: any): o is _54.MsgExecLegacyContentSDKType; - isAmino(o: any): o is _54.MsgExecLegacyContentAmino; - encode(message: _54.MsgExecLegacyContent, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _54.MsgExecLegacyContent; - fromJSON(object: any): _54.MsgExecLegacyContent; - toJSON(message: _54.MsgExecLegacyContent): unknown; - fromPartial(object: { - content?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.gov.v1beta1.TextProposal"; - title?: string; - description?: string; - }; - authority?: string; - }): _54.MsgExecLegacyContent; - fromSDK(object: _54.MsgExecLegacyContentSDKType): _54.MsgExecLegacyContent; - toSDK(message: _54.MsgExecLegacyContent): _54.MsgExecLegacyContentSDKType; - fromAmino(object: _54.MsgExecLegacyContentAmino): _54.MsgExecLegacyContent; - toAmino(message: _54.MsgExecLegacyContent): _54.MsgExecLegacyContentAmino; - fromAminoMsg(object: _54.MsgExecLegacyContentAminoMsg): _54.MsgExecLegacyContent; - toAminoMsg(message: _54.MsgExecLegacyContent): _54.MsgExecLegacyContentAminoMsg; - fromProtoMsg(message: _54.MsgExecLegacyContentProtoMsg): _54.MsgExecLegacyContent; - toProto(message: _54.MsgExecLegacyContent): Uint8Array; - toProtoMsg(message: _54.MsgExecLegacyContent): _54.MsgExecLegacyContentProtoMsg; - }; - MsgExecLegacyContentResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _54.MsgExecLegacyContentResponse; - isSDK(o: any): o is _54.MsgExecLegacyContentResponseSDKType; - isAmino(o: any): o is _54.MsgExecLegacyContentResponseAmino; - encode(_: _54.MsgExecLegacyContentResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _54.MsgExecLegacyContentResponse; - fromJSON(_: any): _54.MsgExecLegacyContentResponse; - toJSON(_: _54.MsgExecLegacyContentResponse): unknown; - fromPartial(_: {}): _54.MsgExecLegacyContentResponse; - fromSDK(_: _54.MsgExecLegacyContentResponseSDKType): _54.MsgExecLegacyContentResponse; - toSDK(_: _54.MsgExecLegacyContentResponse): _54.MsgExecLegacyContentResponseSDKType; - fromAmino(_: _54.MsgExecLegacyContentResponseAmino): _54.MsgExecLegacyContentResponse; - toAmino(_: _54.MsgExecLegacyContentResponse): _54.MsgExecLegacyContentResponseAmino; - fromAminoMsg(object: _54.MsgExecLegacyContentResponseAminoMsg): _54.MsgExecLegacyContentResponse; - toAminoMsg(message: _54.MsgExecLegacyContentResponse): _54.MsgExecLegacyContentResponseAminoMsg; - fromProtoMsg(message: _54.MsgExecLegacyContentResponseProtoMsg): _54.MsgExecLegacyContentResponse; - toProto(message: _54.MsgExecLegacyContentResponse): Uint8Array; - toProtoMsg(message: _54.MsgExecLegacyContentResponse): _54.MsgExecLegacyContentResponseProtoMsg; - }; - MsgVote: { - typeUrl: string; - aminoType: string; - is(o: any): o is _54.MsgVote; - isSDK(o: any): o is _54.MsgVoteSDKType; - isAmino(o: any): o is _54.MsgVoteAmino; - encode(message: _54.MsgVote, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _54.MsgVote; - fromJSON(object: any): _54.MsgVote; - toJSON(message: _54.MsgVote): unknown; - fromPartial(object: { - proposalId?: bigint; - voter?: string; - option?: _52.VoteOption; - metadata?: string; - }): _54.MsgVote; - fromSDK(object: _54.MsgVoteSDKType): _54.MsgVote; - toSDK(message: _54.MsgVote): _54.MsgVoteSDKType; - fromAmino(object: _54.MsgVoteAmino): _54.MsgVote; - toAmino(message: _54.MsgVote): _54.MsgVoteAmino; - fromAminoMsg(object: _54.MsgVoteAminoMsg): _54.MsgVote; - toAminoMsg(message: _54.MsgVote): _54.MsgVoteAminoMsg; - fromProtoMsg(message: _54.MsgVoteProtoMsg): _54.MsgVote; - toProto(message: _54.MsgVote): Uint8Array; - toProtoMsg(message: _54.MsgVote): _54.MsgVoteProtoMsg; - }; - MsgVoteResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _54.MsgVoteResponse; - isSDK(o: any): o is _54.MsgVoteResponseSDKType; - isAmino(o: any): o is _54.MsgVoteResponseAmino; - encode(_: _54.MsgVoteResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _54.MsgVoteResponse; - fromJSON(_: any): _54.MsgVoteResponse; - toJSON(_: _54.MsgVoteResponse): unknown; - fromPartial(_: {}): _54.MsgVoteResponse; - fromSDK(_: _54.MsgVoteResponseSDKType): _54.MsgVoteResponse; - toSDK(_: _54.MsgVoteResponse): _54.MsgVoteResponseSDKType; - fromAmino(_: _54.MsgVoteResponseAmino): _54.MsgVoteResponse; - toAmino(_: _54.MsgVoteResponse): _54.MsgVoteResponseAmino; - fromAminoMsg(object: _54.MsgVoteResponseAminoMsg): _54.MsgVoteResponse; - toAminoMsg(message: _54.MsgVoteResponse): _54.MsgVoteResponseAminoMsg; - fromProtoMsg(message: _54.MsgVoteResponseProtoMsg): _54.MsgVoteResponse; - toProto(message: _54.MsgVoteResponse): Uint8Array; - toProtoMsg(message: _54.MsgVoteResponse): _54.MsgVoteResponseProtoMsg; - }; - MsgVoteWeighted: { - typeUrl: string; - aminoType: string; - is(o: any): o is _54.MsgVoteWeighted; - isSDK(o: any): o is _54.MsgVoteWeightedSDKType; - isAmino(o: any): o is _54.MsgVoteWeightedAmino; - encode(message: _54.MsgVoteWeighted, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _54.MsgVoteWeighted; - fromJSON(object: any): _54.MsgVoteWeighted; - toJSON(message: _54.MsgVoteWeighted): unknown; - fromPartial(object: { - proposalId?: bigint; - voter?: string; - options?: { - option?: _52.VoteOption; - weight?: string; - }[]; - metadata?: string; - }): _54.MsgVoteWeighted; - fromSDK(object: _54.MsgVoteWeightedSDKType): _54.MsgVoteWeighted; - toSDK(message: _54.MsgVoteWeighted): _54.MsgVoteWeightedSDKType; - fromAmino(object: _54.MsgVoteWeightedAmino): _54.MsgVoteWeighted; - toAmino(message: _54.MsgVoteWeighted): _54.MsgVoteWeightedAmino; - fromAminoMsg(object: _54.MsgVoteWeightedAminoMsg): _54.MsgVoteWeighted; - toAminoMsg(message: _54.MsgVoteWeighted): _54.MsgVoteWeightedAminoMsg; - fromProtoMsg(message: _54.MsgVoteWeightedProtoMsg): _54.MsgVoteWeighted; - toProto(message: _54.MsgVoteWeighted): Uint8Array; - toProtoMsg(message: _54.MsgVoteWeighted): _54.MsgVoteWeightedProtoMsg; - }; - MsgVoteWeightedResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _54.MsgVoteWeightedResponse; - isSDK(o: any): o is _54.MsgVoteWeightedResponseSDKType; - isAmino(o: any): o is _54.MsgVoteWeightedResponseAmino; - encode(_: _54.MsgVoteWeightedResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _54.MsgVoteWeightedResponse; - fromJSON(_: any): _54.MsgVoteWeightedResponse; - toJSON(_: _54.MsgVoteWeightedResponse): unknown; - fromPartial(_: {}): _54.MsgVoteWeightedResponse; - fromSDK(_: _54.MsgVoteWeightedResponseSDKType): _54.MsgVoteWeightedResponse; - toSDK(_: _54.MsgVoteWeightedResponse): _54.MsgVoteWeightedResponseSDKType; - fromAmino(_: _54.MsgVoteWeightedResponseAmino): _54.MsgVoteWeightedResponse; - toAmino(_: _54.MsgVoteWeightedResponse): _54.MsgVoteWeightedResponseAmino; - fromAminoMsg(object: _54.MsgVoteWeightedResponseAminoMsg): _54.MsgVoteWeightedResponse; - toAminoMsg(message: _54.MsgVoteWeightedResponse): _54.MsgVoteWeightedResponseAminoMsg; - fromProtoMsg(message: _54.MsgVoteWeightedResponseProtoMsg): _54.MsgVoteWeightedResponse; - toProto(message: _54.MsgVoteWeightedResponse): Uint8Array; - toProtoMsg(message: _54.MsgVoteWeightedResponse): _54.MsgVoteWeightedResponseProtoMsg; - }; - MsgDeposit: { - typeUrl: string; - aminoType: string; - is(o: any): o is _54.MsgDeposit; - isSDK(o: any): o is _54.MsgDepositSDKType; - isAmino(o: any): o is _54.MsgDepositAmino; - encode(message: _54.MsgDeposit, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _54.MsgDeposit; - fromJSON(object: any): _54.MsgDeposit; - toJSON(message: _54.MsgDeposit): unknown; - fromPartial(object: { - proposalId?: bigint; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _54.MsgDeposit; - fromSDK(object: _54.MsgDepositSDKType): _54.MsgDeposit; - toSDK(message: _54.MsgDeposit): _54.MsgDepositSDKType; - fromAmino(object: _54.MsgDepositAmino): _54.MsgDeposit; - toAmino(message: _54.MsgDeposit): _54.MsgDepositAmino; - fromAminoMsg(object: _54.MsgDepositAminoMsg): _54.MsgDeposit; - toAminoMsg(message: _54.MsgDeposit): _54.MsgDepositAminoMsg; - fromProtoMsg(message: _54.MsgDepositProtoMsg): _54.MsgDeposit; - toProto(message: _54.MsgDeposit): Uint8Array; - toProtoMsg(message: _54.MsgDeposit): _54.MsgDepositProtoMsg; - }; - MsgDepositResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _54.MsgDepositResponse; - isSDK(o: any): o is _54.MsgDepositResponseSDKType; - isAmino(o: any): o is _54.MsgDepositResponseAmino; - encode(_: _54.MsgDepositResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _54.MsgDepositResponse; - fromJSON(_: any): _54.MsgDepositResponse; - toJSON(_: _54.MsgDepositResponse): unknown; - fromPartial(_: {}): _54.MsgDepositResponse; - fromSDK(_: _54.MsgDepositResponseSDKType): _54.MsgDepositResponse; - toSDK(_: _54.MsgDepositResponse): _54.MsgDepositResponseSDKType; - fromAmino(_: _54.MsgDepositResponseAmino): _54.MsgDepositResponse; - toAmino(_: _54.MsgDepositResponse): _54.MsgDepositResponseAmino; - fromAminoMsg(object: _54.MsgDepositResponseAminoMsg): _54.MsgDepositResponse; - toAminoMsg(message: _54.MsgDepositResponse): _54.MsgDepositResponseAminoMsg; - fromProtoMsg(message: _54.MsgDepositResponseProtoMsg): _54.MsgDepositResponse; - toProto(message: _54.MsgDepositResponse): Uint8Array; - toProtoMsg(message: _54.MsgDepositResponse): _54.MsgDepositResponseProtoMsg; - }; - QueryProposalRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryProposalRequest; - isSDK(o: any): o is _53.QueryProposalRequestSDKType; - isAmino(o: any): o is _53.QueryProposalRequestAmino; - encode(message: _53.QueryProposalRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryProposalRequest; - fromJSON(object: any): _53.QueryProposalRequest; - toJSON(message: _53.QueryProposalRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - }): _53.QueryProposalRequest; - fromSDK(object: _53.QueryProposalRequestSDKType): _53.QueryProposalRequest; - toSDK(message: _53.QueryProposalRequest): _53.QueryProposalRequestSDKType; - fromAmino(object: _53.QueryProposalRequestAmino): _53.QueryProposalRequest; - toAmino(message: _53.QueryProposalRequest): _53.QueryProposalRequestAmino; - fromAminoMsg(object: _53.QueryProposalRequestAminoMsg): _53.QueryProposalRequest; - toAminoMsg(message: _53.QueryProposalRequest): _53.QueryProposalRequestAminoMsg; - fromProtoMsg(message: _53.QueryProposalRequestProtoMsg): _53.QueryProposalRequest; - toProto(message: _53.QueryProposalRequest): Uint8Array; - toProtoMsg(message: _53.QueryProposalRequest): _53.QueryProposalRequestProtoMsg; - }; - QueryProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryProposalResponse; - isSDK(o: any): o is _53.QueryProposalResponseSDKType; - isAmino(o: any): o is _53.QueryProposalResponseAmino; - encode(message: _53.QueryProposalResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryProposalResponse; - fromJSON(object: any): _53.QueryProposalResponse; - toJSON(message: _53.QueryProposalResponse): unknown; - fromPartial(object: { - proposal?: { - id?: bigint; - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - status?: _52.ProposalStatus; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - metadata?: string; - }; - }): _53.QueryProposalResponse; - fromSDK(object: _53.QueryProposalResponseSDKType): _53.QueryProposalResponse; - toSDK(message: _53.QueryProposalResponse): _53.QueryProposalResponseSDKType; - fromAmino(object: _53.QueryProposalResponseAmino): _53.QueryProposalResponse; - toAmino(message: _53.QueryProposalResponse): _53.QueryProposalResponseAmino; - fromAminoMsg(object: _53.QueryProposalResponseAminoMsg): _53.QueryProposalResponse; - toAminoMsg(message: _53.QueryProposalResponse): _53.QueryProposalResponseAminoMsg; - fromProtoMsg(message: _53.QueryProposalResponseProtoMsg): _53.QueryProposalResponse; - toProto(message: _53.QueryProposalResponse): Uint8Array; - toProtoMsg(message: _53.QueryProposalResponse): _53.QueryProposalResponseProtoMsg; - }; - QueryProposalsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryProposalsRequest; - isSDK(o: any): o is _53.QueryProposalsRequestSDKType; - isAmino(o: any): o is _53.QueryProposalsRequestAmino; - encode(message: _53.QueryProposalsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryProposalsRequest; - fromJSON(object: any): _53.QueryProposalsRequest; - toJSON(message: _53.QueryProposalsRequest): unknown; - fromPartial(object: { - proposalStatus?: _52.ProposalStatus; - voter?: string; - depositor?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _53.QueryProposalsRequest; - fromSDK(object: _53.QueryProposalsRequestSDKType): _53.QueryProposalsRequest; - toSDK(message: _53.QueryProposalsRequest): _53.QueryProposalsRequestSDKType; - fromAmino(object: _53.QueryProposalsRequestAmino): _53.QueryProposalsRequest; - toAmino(message: _53.QueryProposalsRequest): _53.QueryProposalsRequestAmino; - fromAminoMsg(object: _53.QueryProposalsRequestAminoMsg): _53.QueryProposalsRequest; - toAminoMsg(message: _53.QueryProposalsRequest): _53.QueryProposalsRequestAminoMsg; - fromProtoMsg(message: _53.QueryProposalsRequestProtoMsg): _53.QueryProposalsRequest; - toProto(message: _53.QueryProposalsRequest): Uint8Array; - toProtoMsg(message: _53.QueryProposalsRequest): _53.QueryProposalsRequestProtoMsg; - }; - QueryProposalsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryProposalsResponse; - isSDK(o: any): o is _53.QueryProposalsResponseSDKType; - isAmino(o: any): o is _53.QueryProposalsResponseAmino; - encode(message: _53.QueryProposalsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryProposalsResponse; - fromJSON(object: any): _53.QueryProposalsResponse; - toJSON(message: _53.QueryProposalsResponse): unknown; - fromPartial(object: { - proposals?: { - id?: bigint; - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - status?: _52.ProposalStatus; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - metadata?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _53.QueryProposalsResponse; - fromSDK(object: _53.QueryProposalsResponseSDKType): _53.QueryProposalsResponse; - toSDK(message: _53.QueryProposalsResponse): _53.QueryProposalsResponseSDKType; - fromAmino(object: _53.QueryProposalsResponseAmino): _53.QueryProposalsResponse; - toAmino(message: _53.QueryProposalsResponse): _53.QueryProposalsResponseAmino; - fromAminoMsg(object: _53.QueryProposalsResponseAminoMsg): _53.QueryProposalsResponse; - toAminoMsg(message: _53.QueryProposalsResponse): _53.QueryProposalsResponseAminoMsg; - fromProtoMsg(message: _53.QueryProposalsResponseProtoMsg): _53.QueryProposalsResponse; - toProto(message: _53.QueryProposalsResponse): Uint8Array; - toProtoMsg(message: _53.QueryProposalsResponse): _53.QueryProposalsResponseProtoMsg; - }; - QueryVoteRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryVoteRequest; - isSDK(o: any): o is _53.QueryVoteRequestSDKType; - isAmino(o: any): o is _53.QueryVoteRequestAmino; - encode(message: _53.QueryVoteRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryVoteRequest; - fromJSON(object: any): _53.QueryVoteRequest; - toJSON(message: _53.QueryVoteRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - voter?: string; - }): _53.QueryVoteRequest; - fromSDK(object: _53.QueryVoteRequestSDKType): _53.QueryVoteRequest; - toSDK(message: _53.QueryVoteRequest): _53.QueryVoteRequestSDKType; - fromAmino(object: _53.QueryVoteRequestAmino): _53.QueryVoteRequest; - toAmino(message: _53.QueryVoteRequest): _53.QueryVoteRequestAmino; - fromAminoMsg(object: _53.QueryVoteRequestAminoMsg): _53.QueryVoteRequest; - toAminoMsg(message: _53.QueryVoteRequest): _53.QueryVoteRequestAminoMsg; - fromProtoMsg(message: _53.QueryVoteRequestProtoMsg): _53.QueryVoteRequest; - toProto(message: _53.QueryVoteRequest): Uint8Array; - toProtoMsg(message: _53.QueryVoteRequest): _53.QueryVoteRequestProtoMsg; - }; - QueryVoteResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryVoteResponse; - isSDK(o: any): o is _53.QueryVoteResponseSDKType; - isAmino(o: any): o is _53.QueryVoteResponseAmino; - encode(message: _53.QueryVoteResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryVoteResponse; - fromJSON(object: any): _53.QueryVoteResponse; - toJSON(message: _53.QueryVoteResponse): unknown; - fromPartial(object: { - vote?: { - proposalId?: bigint; - voter?: string; - options?: { - option?: _52.VoteOption; - weight?: string; - }[]; - metadata?: string; - }; - }): _53.QueryVoteResponse; - fromSDK(object: _53.QueryVoteResponseSDKType): _53.QueryVoteResponse; - toSDK(message: _53.QueryVoteResponse): _53.QueryVoteResponseSDKType; - fromAmino(object: _53.QueryVoteResponseAmino): _53.QueryVoteResponse; - toAmino(message: _53.QueryVoteResponse): _53.QueryVoteResponseAmino; - fromAminoMsg(object: _53.QueryVoteResponseAminoMsg): _53.QueryVoteResponse; - toAminoMsg(message: _53.QueryVoteResponse): _53.QueryVoteResponseAminoMsg; - fromProtoMsg(message: _53.QueryVoteResponseProtoMsg): _53.QueryVoteResponse; - toProto(message: _53.QueryVoteResponse): Uint8Array; - toProtoMsg(message: _53.QueryVoteResponse): _53.QueryVoteResponseProtoMsg; - }; - QueryVotesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryVotesRequest; - isSDK(o: any): o is _53.QueryVotesRequestSDKType; - isAmino(o: any): o is _53.QueryVotesRequestAmino; - encode(message: _53.QueryVotesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryVotesRequest; - fromJSON(object: any): _53.QueryVotesRequest; - toJSON(message: _53.QueryVotesRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _53.QueryVotesRequest; - fromSDK(object: _53.QueryVotesRequestSDKType): _53.QueryVotesRequest; - toSDK(message: _53.QueryVotesRequest): _53.QueryVotesRequestSDKType; - fromAmino(object: _53.QueryVotesRequestAmino): _53.QueryVotesRequest; - toAmino(message: _53.QueryVotesRequest): _53.QueryVotesRequestAmino; - fromAminoMsg(object: _53.QueryVotesRequestAminoMsg): _53.QueryVotesRequest; - toAminoMsg(message: _53.QueryVotesRequest): _53.QueryVotesRequestAminoMsg; - fromProtoMsg(message: _53.QueryVotesRequestProtoMsg): _53.QueryVotesRequest; - toProto(message: _53.QueryVotesRequest): Uint8Array; - toProtoMsg(message: _53.QueryVotesRequest): _53.QueryVotesRequestProtoMsg; - }; - QueryVotesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryVotesResponse; - isSDK(o: any): o is _53.QueryVotesResponseSDKType; - isAmino(o: any): o is _53.QueryVotesResponseAmino; - encode(message: _53.QueryVotesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryVotesResponse; - fromJSON(object: any): _53.QueryVotesResponse; - toJSON(message: _53.QueryVotesResponse): unknown; - fromPartial(object: { - votes?: { - proposalId?: bigint; - voter?: string; - options?: { - option?: _52.VoteOption; - weight?: string; - }[]; - metadata?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _53.QueryVotesResponse; - fromSDK(object: _53.QueryVotesResponseSDKType): _53.QueryVotesResponse; - toSDK(message: _53.QueryVotesResponse): _53.QueryVotesResponseSDKType; - fromAmino(object: _53.QueryVotesResponseAmino): _53.QueryVotesResponse; - toAmino(message: _53.QueryVotesResponse): _53.QueryVotesResponseAmino; - fromAminoMsg(object: _53.QueryVotesResponseAminoMsg): _53.QueryVotesResponse; - toAminoMsg(message: _53.QueryVotesResponse): _53.QueryVotesResponseAminoMsg; - fromProtoMsg(message: _53.QueryVotesResponseProtoMsg): _53.QueryVotesResponse; - toProto(message: _53.QueryVotesResponse): Uint8Array; - toProtoMsg(message: _53.QueryVotesResponse): _53.QueryVotesResponseProtoMsg; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryParamsRequest; - isSDK(o: any): o is _53.QueryParamsRequestSDKType; - isAmino(o: any): o is _53.QueryParamsRequestAmino; - encode(message: _53.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryParamsRequest; - fromJSON(object: any): _53.QueryParamsRequest; - toJSON(message: _53.QueryParamsRequest): unknown; - fromPartial(object: { - paramsType?: string; - }): _53.QueryParamsRequest; - fromSDK(object: _53.QueryParamsRequestSDKType): _53.QueryParamsRequest; - toSDK(message: _53.QueryParamsRequest): _53.QueryParamsRequestSDKType; - fromAmino(object: _53.QueryParamsRequestAmino): _53.QueryParamsRequest; - toAmino(message: _53.QueryParamsRequest): _53.QueryParamsRequestAmino; - fromAminoMsg(object: _53.QueryParamsRequestAminoMsg): _53.QueryParamsRequest; - toAminoMsg(message: _53.QueryParamsRequest): _53.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _53.QueryParamsRequestProtoMsg): _53.QueryParamsRequest; - toProto(message: _53.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _53.QueryParamsRequest): _53.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryParamsResponse; - isSDK(o: any): o is _53.QueryParamsResponseSDKType; - isAmino(o: any): o is _53.QueryParamsResponseAmino; - encode(message: _53.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryParamsResponse; - fromJSON(object: any): _53.QueryParamsResponse; - toJSON(message: _53.QueryParamsResponse): unknown; - fromPartial(object: { - votingParams?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - depositParams?: { - minDeposit?: { - denom?: string; - amount?: string; - }[]; - maxDepositPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - tallyParams?: { - quorum?: string; - threshold?: string; - vetoThreshold?: string; - }; - }): _53.QueryParamsResponse; - fromSDK(object: _53.QueryParamsResponseSDKType): _53.QueryParamsResponse; - toSDK(message: _53.QueryParamsResponse): _53.QueryParamsResponseSDKType; - fromAmino(object: _53.QueryParamsResponseAmino): _53.QueryParamsResponse; - toAmino(message: _53.QueryParamsResponse): _53.QueryParamsResponseAmino; - fromAminoMsg(object: _53.QueryParamsResponseAminoMsg): _53.QueryParamsResponse; - toAminoMsg(message: _53.QueryParamsResponse): _53.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _53.QueryParamsResponseProtoMsg): _53.QueryParamsResponse; - toProto(message: _53.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _53.QueryParamsResponse): _53.QueryParamsResponseProtoMsg; - }; - QueryDepositRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryDepositRequest; - isSDK(o: any): o is _53.QueryDepositRequestSDKType; - isAmino(o: any): o is _53.QueryDepositRequestAmino; - encode(message: _53.QueryDepositRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryDepositRequest; - fromJSON(object: any): _53.QueryDepositRequest; - toJSON(message: _53.QueryDepositRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - depositor?: string; - }): _53.QueryDepositRequest; - fromSDK(object: _53.QueryDepositRequestSDKType): _53.QueryDepositRequest; - toSDK(message: _53.QueryDepositRequest): _53.QueryDepositRequestSDKType; - fromAmino(object: _53.QueryDepositRequestAmino): _53.QueryDepositRequest; - toAmino(message: _53.QueryDepositRequest): _53.QueryDepositRequestAmino; - fromAminoMsg(object: _53.QueryDepositRequestAminoMsg): _53.QueryDepositRequest; - toAminoMsg(message: _53.QueryDepositRequest): _53.QueryDepositRequestAminoMsg; - fromProtoMsg(message: _53.QueryDepositRequestProtoMsg): _53.QueryDepositRequest; - toProto(message: _53.QueryDepositRequest): Uint8Array; - toProtoMsg(message: _53.QueryDepositRequest): _53.QueryDepositRequestProtoMsg; - }; - QueryDepositResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryDepositResponse; - isSDK(o: any): o is _53.QueryDepositResponseSDKType; - isAmino(o: any): o is _53.QueryDepositResponseAmino; - encode(message: _53.QueryDepositResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryDepositResponse; - fromJSON(object: any): _53.QueryDepositResponse; - toJSON(message: _53.QueryDepositResponse): unknown; - fromPartial(object: { - deposit?: { - proposalId?: bigint; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }; - }): _53.QueryDepositResponse; - fromSDK(object: _53.QueryDepositResponseSDKType): _53.QueryDepositResponse; - toSDK(message: _53.QueryDepositResponse): _53.QueryDepositResponseSDKType; - fromAmino(object: _53.QueryDepositResponseAmino): _53.QueryDepositResponse; - toAmino(message: _53.QueryDepositResponse): _53.QueryDepositResponseAmino; - fromAminoMsg(object: _53.QueryDepositResponseAminoMsg): _53.QueryDepositResponse; - toAminoMsg(message: _53.QueryDepositResponse): _53.QueryDepositResponseAminoMsg; - fromProtoMsg(message: _53.QueryDepositResponseProtoMsg): _53.QueryDepositResponse; - toProto(message: _53.QueryDepositResponse): Uint8Array; - toProtoMsg(message: _53.QueryDepositResponse): _53.QueryDepositResponseProtoMsg; - }; - QueryDepositsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryDepositsRequest; - isSDK(o: any): o is _53.QueryDepositsRequestSDKType; - isAmino(o: any): o is _53.QueryDepositsRequestAmino; - encode(message: _53.QueryDepositsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryDepositsRequest; - fromJSON(object: any): _53.QueryDepositsRequest; - toJSON(message: _53.QueryDepositsRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _53.QueryDepositsRequest; - fromSDK(object: _53.QueryDepositsRequestSDKType): _53.QueryDepositsRequest; - toSDK(message: _53.QueryDepositsRequest): _53.QueryDepositsRequestSDKType; - fromAmino(object: _53.QueryDepositsRequestAmino): _53.QueryDepositsRequest; - toAmino(message: _53.QueryDepositsRequest): _53.QueryDepositsRequestAmino; - fromAminoMsg(object: _53.QueryDepositsRequestAminoMsg): _53.QueryDepositsRequest; - toAminoMsg(message: _53.QueryDepositsRequest): _53.QueryDepositsRequestAminoMsg; - fromProtoMsg(message: _53.QueryDepositsRequestProtoMsg): _53.QueryDepositsRequest; - toProto(message: _53.QueryDepositsRequest): Uint8Array; - toProtoMsg(message: _53.QueryDepositsRequest): _53.QueryDepositsRequestProtoMsg; - }; - QueryDepositsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryDepositsResponse; - isSDK(o: any): o is _53.QueryDepositsResponseSDKType; - isAmino(o: any): o is _53.QueryDepositsResponseAmino; - encode(message: _53.QueryDepositsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryDepositsResponse; - fromJSON(object: any): _53.QueryDepositsResponse; - toJSON(message: _53.QueryDepositsResponse): unknown; - fromPartial(object: { - deposits?: { - proposalId?: bigint; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _53.QueryDepositsResponse; - fromSDK(object: _53.QueryDepositsResponseSDKType): _53.QueryDepositsResponse; - toSDK(message: _53.QueryDepositsResponse): _53.QueryDepositsResponseSDKType; - fromAmino(object: _53.QueryDepositsResponseAmino): _53.QueryDepositsResponse; - toAmino(message: _53.QueryDepositsResponse): _53.QueryDepositsResponseAmino; - fromAminoMsg(object: _53.QueryDepositsResponseAminoMsg): _53.QueryDepositsResponse; - toAminoMsg(message: _53.QueryDepositsResponse): _53.QueryDepositsResponseAminoMsg; - fromProtoMsg(message: _53.QueryDepositsResponseProtoMsg): _53.QueryDepositsResponse; - toProto(message: _53.QueryDepositsResponse): Uint8Array; - toProtoMsg(message: _53.QueryDepositsResponse): _53.QueryDepositsResponseProtoMsg; - }; - QueryTallyResultRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryTallyResultRequest; - isSDK(o: any): o is _53.QueryTallyResultRequestSDKType; - isAmino(o: any): o is _53.QueryTallyResultRequestAmino; - encode(message: _53.QueryTallyResultRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryTallyResultRequest; - fromJSON(object: any): _53.QueryTallyResultRequest; - toJSON(message: _53.QueryTallyResultRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - }): _53.QueryTallyResultRequest; - fromSDK(object: _53.QueryTallyResultRequestSDKType): _53.QueryTallyResultRequest; - toSDK(message: _53.QueryTallyResultRequest): _53.QueryTallyResultRequestSDKType; - fromAmino(object: _53.QueryTallyResultRequestAmino): _53.QueryTallyResultRequest; - toAmino(message: _53.QueryTallyResultRequest): _53.QueryTallyResultRequestAmino; - fromAminoMsg(object: _53.QueryTallyResultRequestAminoMsg): _53.QueryTallyResultRequest; - toAminoMsg(message: _53.QueryTallyResultRequest): _53.QueryTallyResultRequestAminoMsg; - fromProtoMsg(message: _53.QueryTallyResultRequestProtoMsg): _53.QueryTallyResultRequest; - toProto(message: _53.QueryTallyResultRequest): Uint8Array; - toProtoMsg(message: _53.QueryTallyResultRequest): _53.QueryTallyResultRequestProtoMsg; - }; - QueryTallyResultResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _53.QueryTallyResultResponse; - isSDK(o: any): o is _53.QueryTallyResultResponseSDKType; - isAmino(o: any): o is _53.QueryTallyResultResponseAmino; - encode(message: _53.QueryTallyResultResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _53.QueryTallyResultResponse; - fromJSON(object: any): _53.QueryTallyResultResponse; - toJSON(message: _53.QueryTallyResultResponse): unknown; - fromPartial(object: { - tally?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - }): _53.QueryTallyResultResponse; - fromSDK(object: _53.QueryTallyResultResponseSDKType): _53.QueryTallyResultResponse; - toSDK(message: _53.QueryTallyResultResponse): _53.QueryTallyResultResponseSDKType; - fromAmino(object: _53.QueryTallyResultResponseAmino): _53.QueryTallyResultResponse; - toAmino(message: _53.QueryTallyResultResponse): _53.QueryTallyResultResponseAmino; - fromAminoMsg(object: _53.QueryTallyResultResponseAminoMsg): _53.QueryTallyResultResponse; - toAminoMsg(message: _53.QueryTallyResultResponse): _53.QueryTallyResultResponseAminoMsg; - fromProtoMsg(message: _53.QueryTallyResultResponseProtoMsg): _53.QueryTallyResultResponse; - toProto(message: _53.QueryTallyResultResponse): Uint8Array; - toProtoMsg(message: _53.QueryTallyResultResponse): _53.QueryTallyResultResponseProtoMsg; - }; - voteOptionFromJSON(object: any): _52.VoteOption; - voteOptionToJSON(object: _52.VoteOption): string; - proposalStatusFromJSON(object: any): _52.ProposalStatus; - proposalStatusToJSON(object: _52.ProposalStatus): string; - VoteOption: typeof _52.VoteOption; - VoteOptionSDKType: typeof _52.VoteOption; - VoteOptionAmino: typeof _52.VoteOption; - ProposalStatus: typeof _52.ProposalStatus; - ProposalStatusSDKType: typeof _52.ProposalStatus; - ProposalStatusAmino: typeof _52.ProposalStatus; - WeightedVoteOption: { - typeUrl: string; - aminoType: string; - is(o: any): o is _52.WeightedVoteOption; - isSDK(o: any): o is _52.WeightedVoteOptionSDKType; - isAmino(o: any): o is _52.WeightedVoteOptionAmino; - encode(message: _52.WeightedVoteOption, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _52.WeightedVoteOption; - fromJSON(object: any): _52.WeightedVoteOption; - toJSON(message: _52.WeightedVoteOption): unknown; - fromPartial(object: { - option?: _52.VoteOption; - weight?: string; - }): _52.WeightedVoteOption; - fromSDK(object: _52.WeightedVoteOptionSDKType): _52.WeightedVoteOption; - toSDK(message: _52.WeightedVoteOption): _52.WeightedVoteOptionSDKType; - fromAmino(object: _52.WeightedVoteOptionAmino): _52.WeightedVoteOption; - toAmino(message: _52.WeightedVoteOption): _52.WeightedVoteOptionAmino; - fromAminoMsg(object: _52.WeightedVoteOptionAminoMsg): _52.WeightedVoteOption; - toAminoMsg(message: _52.WeightedVoteOption): _52.WeightedVoteOptionAminoMsg; - fromProtoMsg(message: _52.WeightedVoteOptionProtoMsg): _52.WeightedVoteOption; - toProto(message: _52.WeightedVoteOption): Uint8Array; - toProtoMsg(message: _52.WeightedVoteOption): _52.WeightedVoteOptionProtoMsg; - }; - Deposit: { - typeUrl: string; - aminoType: string; - is(o: any): o is _52.Deposit; - isSDK(o: any): o is _52.DepositSDKType; - isAmino(o: any): o is _52.DepositAmino; - encode(message: _52.Deposit, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _52.Deposit; - fromJSON(object: any): _52.Deposit; - toJSON(message: _52.Deposit): unknown; - fromPartial(object: { - proposalId?: bigint; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _52.Deposit; - fromSDK(object: _52.DepositSDKType): _52.Deposit; - toSDK(message: _52.Deposit): _52.DepositSDKType; - fromAmino(object: _52.DepositAmino): _52.Deposit; - toAmino(message: _52.Deposit): _52.DepositAmino; - fromAminoMsg(object: _52.DepositAminoMsg): _52.Deposit; - toAminoMsg(message: _52.Deposit): _52.DepositAminoMsg; - fromProtoMsg(message: _52.DepositProtoMsg): _52.Deposit; - toProto(message: _52.Deposit): Uint8Array; - toProtoMsg(message: _52.Deposit): _52.DepositProtoMsg; - }; - Proposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _52.Proposal; - isSDK(o: any): o is _52.ProposalSDKType; - isAmino(o: any): o is _52.ProposalAmino; - encode(message: _52.Proposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _52.Proposal; - fromJSON(object: any): _52.Proposal; - toJSON(message: _52.Proposal): unknown; - fromPartial(object: { - id?: bigint; - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - status?: _52.ProposalStatus; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - metadata?: string; - }): _52.Proposal; - fromSDK(object: _52.ProposalSDKType): _52.Proposal; - toSDK(message: _52.Proposal): _52.ProposalSDKType; - fromAmino(object: _52.ProposalAmino): _52.Proposal; - toAmino(message: _52.Proposal): _52.ProposalAmino; - fromAminoMsg(object: _52.ProposalAminoMsg): _52.Proposal; - toAminoMsg(message: _52.Proposal): _52.ProposalAminoMsg; - fromProtoMsg(message: _52.ProposalProtoMsg): _52.Proposal; - toProto(message: _52.Proposal): Uint8Array; - toProtoMsg(message: _52.Proposal): _52.ProposalProtoMsg; - }; - TallyResult: { - typeUrl: string; - aminoType: string; - is(o: any): o is _52.TallyResult; - isSDK(o: any): o is _52.TallyResultSDKType; - isAmino(o: any): o is _52.TallyResultAmino; - encode(message: _52.TallyResult, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _52.TallyResult; - fromJSON(object: any): _52.TallyResult; - toJSON(message: _52.TallyResult): unknown; - fromPartial(object: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }): _52.TallyResult; - fromSDK(object: _52.TallyResultSDKType): _52.TallyResult; - toSDK(message: _52.TallyResult): _52.TallyResultSDKType; - fromAmino(object: _52.TallyResultAmino): _52.TallyResult; - toAmino(message: _52.TallyResult): _52.TallyResultAmino; - fromAminoMsg(object: _52.TallyResultAminoMsg): _52.TallyResult; - toAminoMsg(message: _52.TallyResult): _52.TallyResultAminoMsg; - fromProtoMsg(message: _52.TallyResultProtoMsg): _52.TallyResult; - toProto(message: _52.TallyResult): Uint8Array; - toProtoMsg(message: _52.TallyResult): _52.TallyResultProtoMsg; - }; - Vote: { - typeUrl: string; - aminoType: string; - is(o: any): o is _52.Vote; - isSDK(o: any): o is _52.VoteSDKType; - isAmino(o: any): o is _52.VoteAmino; - encode(message: _52.Vote, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _52.Vote; - fromJSON(object: any): _52.Vote; - toJSON(message: _52.Vote): unknown; - fromPartial(object: { - proposalId?: bigint; - voter?: string; - options?: { - option?: _52.VoteOption; - weight?: string; - }[]; - metadata?: string; - }): _52.Vote; - fromSDK(object: _52.VoteSDKType): _52.Vote; - toSDK(message: _52.Vote): _52.VoteSDKType; - fromAmino(object: _52.VoteAmino): _52.Vote; - toAmino(message: _52.Vote): _52.VoteAmino; - fromAminoMsg(object: _52.VoteAminoMsg): _52.Vote; - toAminoMsg(message: _52.Vote): _52.VoteAminoMsg; - fromProtoMsg(message: _52.VoteProtoMsg): _52.Vote; - toProto(message: _52.Vote): Uint8Array; - toProtoMsg(message: _52.Vote): _52.VoteProtoMsg; - }; - DepositParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is _52.DepositParams; - isSDK(o: any): o is _52.DepositParamsSDKType; - isAmino(o: any): o is _52.DepositParamsAmino; - encode(message: _52.DepositParams, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _52.DepositParams; - fromJSON(object: any): _52.DepositParams; - toJSON(message: _52.DepositParams): unknown; - fromPartial(object: { - minDeposit?: { - denom?: string; - amount?: string; - }[]; - maxDepositPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }): _52.DepositParams; - fromSDK(object: _52.DepositParamsSDKType): _52.DepositParams; - toSDK(message: _52.DepositParams): _52.DepositParamsSDKType; - fromAmino(object: _52.DepositParamsAmino): _52.DepositParams; - toAmino(message: _52.DepositParams): _52.DepositParamsAmino; - fromAminoMsg(object: _52.DepositParamsAminoMsg): _52.DepositParams; - toAminoMsg(message: _52.DepositParams): _52.DepositParamsAminoMsg; - fromProtoMsg(message: _52.DepositParamsProtoMsg): _52.DepositParams; - toProto(message: _52.DepositParams): Uint8Array; - toProtoMsg(message: _52.DepositParams): _52.DepositParamsProtoMsg; - }; - VotingParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is _52.VotingParams; - isSDK(o: any): o is _52.VotingParamsSDKType; - isAmino(o: any): o is _52.VotingParamsAmino; - encode(message: _52.VotingParams, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _52.VotingParams; - fromJSON(object: any): _52.VotingParams; - toJSON(message: _52.VotingParams): unknown; - fromPartial(object: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }): _52.VotingParams; - fromSDK(object: _52.VotingParamsSDKType): _52.VotingParams; - toSDK(message: _52.VotingParams): _52.VotingParamsSDKType; - fromAmino(object: _52.VotingParamsAmino): _52.VotingParams; - toAmino(message: _52.VotingParams): _52.VotingParamsAmino; - fromAminoMsg(object: _52.VotingParamsAminoMsg): _52.VotingParams; - toAminoMsg(message: _52.VotingParams): _52.VotingParamsAminoMsg; - fromProtoMsg(message: _52.VotingParamsProtoMsg): _52.VotingParams; - toProto(message: _52.VotingParams): Uint8Array; - toProtoMsg(message: _52.VotingParams): _52.VotingParamsProtoMsg; - }; - TallyParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is _52.TallyParams; - isSDK(o: any): o is _52.TallyParamsSDKType; - isAmino(o: any): o is _52.TallyParamsAmino; - encode(message: _52.TallyParams, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _52.TallyParams; - fromJSON(object: any): _52.TallyParams; - toJSON(message: _52.TallyParams): unknown; - fromPartial(object: { - quorum?: string; - threshold?: string; - vetoThreshold?: string; - }): _52.TallyParams; - fromSDK(object: _52.TallyParamsSDKType): _52.TallyParams; - toSDK(message: _52.TallyParams): _52.TallyParamsSDKType; - fromAmino(object: _52.TallyParamsAmino): _52.TallyParams; - toAmino(message: _52.TallyParams): _52.TallyParamsAmino; - fromAminoMsg(object: _52.TallyParamsAminoMsg): _52.TallyParams; - toAminoMsg(message: _52.TallyParams): _52.TallyParamsAminoMsg; - fromProtoMsg(message: _52.TallyParamsProtoMsg): _52.TallyParams; - toProto(message: _52.TallyParams): Uint8Array; - toProtoMsg(message: _52.TallyParams): _52.TallyParamsProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _51.GenesisState; - isSDK(o: any): o is _51.GenesisStateSDKType; - isAmino(o: any): o is _51.GenesisStateAmino; - encode(message: _51.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _51.GenesisState; - fromJSON(object: any): _51.GenesisState; - toJSON(message: _51.GenesisState): unknown; - fromPartial(object: { - startingProposalId?: bigint; - deposits?: { - proposalId?: bigint; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }[]; - votes?: { - proposalId?: bigint; - voter?: string; - options?: { - option?: _52.VoteOption; - weight?: string; - }[]; - metadata?: string; - }[]; - proposals?: { - id?: bigint; - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - status?: _52.ProposalStatus; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - metadata?: string; - }[]; - depositParams?: { - minDeposit?: { - denom?: string; - amount?: string; - }[]; - maxDepositPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - votingParams?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - tallyParams?: { - quorum?: string; - threshold?: string; - vetoThreshold?: string; - }; - }): _51.GenesisState; - fromSDK(object: _51.GenesisStateSDKType): _51.GenesisState; - toSDK(message: _51.GenesisState): _51.GenesisStateSDKType; - fromAmino(object: _51.GenesisStateAmino): _51.GenesisState; - toAmino(message: _51.GenesisState): _51.GenesisStateAmino; - fromAminoMsg(object: _51.GenesisStateAminoMsg): _51.GenesisState; - toAminoMsg(message: _51.GenesisState): _51.GenesisStateAminoMsg; - fromProtoMsg(message: _51.GenesisStateProtoMsg): _51.GenesisState; - toProto(message: _51.GenesisState): Uint8Array; - toProtoMsg(message: _51.GenesisState): _51.GenesisStateProtoMsg; - }; - }; - const v1beta1: { - MsgClientImpl: typeof _243.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _243.MsgClientImpl; - QueryClientImpl: typeof _227.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useProposal: ({ request, options }: _227.UseProposalQuery) => import("@tanstack/react-query").UseQueryResult; - useProposals: ({ request, options }: _227.UseProposalsQuery) => import("@tanstack/react-query").UseQueryResult; - useVote: ({ request, options }: _227.UseVoteQuery) => import("@tanstack/react-query").UseQueryResult; - useVotes: ({ request, options }: _227.UseVotesQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _227.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useDeposit: ({ request, options }: _227.UseDepositQuery) => import("@tanstack/react-query").UseQueryResult; - useDeposits: ({ request, options }: _227.UseDepositsQuery) => import("@tanstack/react-query").UseQueryResult; - useTallyResult: ({ request, options }: _227.UseTallyResultQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryProposalStore: { - new (): { - store: import("..").QueryStore<_57.QueryProposalRequest, _57.QueryProposalResponse>; - proposal(request: _57.QueryProposalRequest): import("..").MobxResponse<_57.QueryProposalResponse>; - }; - }; - QueryProposalsStore: { - new (): { - store: import("..").QueryStore<_57.QueryProposalsRequest, _57.QueryProposalsResponse>; - proposals(request: _57.QueryProposalsRequest): import("..").MobxResponse<_57.QueryProposalsResponse>; - }; - }; - QueryVoteStore: { - new (): { - store: import("..").QueryStore<_57.QueryVoteRequest, _57.QueryVoteResponse>; - vote(request: _57.QueryVoteRequest): import("..").MobxResponse<_57.QueryVoteResponse>; - }; - }; - QueryVotesStore: { - new (): { - store: import("..").QueryStore<_57.QueryVotesRequest, _57.QueryVotesResponse>; - votes(request: _57.QueryVotesRequest): import("..").MobxResponse<_57.QueryVotesResponse>; - }; - }; - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_57.QueryParamsRequest, _57.QueryParamsResponse>; - params(request: _57.QueryParamsRequest): import("..").MobxResponse<_57.QueryParamsResponse>; - }; - }; - QueryDepositStore: { - new (): { - store: import("..").QueryStore<_57.QueryDepositRequest, _57.QueryDepositResponse>; - deposit(request: _57.QueryDepositRequest): import("..").MobxResponse<_57.QueryDepositResponse>; - }; - }; - QueryDepositsStore: { - new (): { - store: import("..").QueryStore<_57.QueryDepositsRequest, _57.QueryDepositsResponse>; - deposits(request: _57.QueryDepositsRequest): import("..").MobxResponse<_57.QueryDepositsResponse>; - }; - }; - QueryTallyResultStore: { - new (): { - store: import("..").QueryStore<_57.QueryTallyResultRequest, _57.QueryTallyResultResponse>; - tallyResult(request: _57.QueryTallyResultRequest): import("..").MobxResponse<_57.QueryTallyResultResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - submitProposal(value: _58.MsgSubmitProposal): { - typeUrl: string; - value: Uint8Array; - }; - vote(value: _58.MsgVote): { - typeUrl: string; - value: Uint8Array; - }; - voteWeighted(value: _58.MsgVoteWeighted): { - typeUrl: string; - value: Uint8Array; - }; - deposit(value: _58.MsgDeposit): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - submitProposal(value: _58.MsgSubmitProposal): { - typeUrl: string; - value: _58.MsgSubmitProposal; - }; - vote(value: _58.MsgVote): { - typeUrl: string; - value: _58.MsgVote; - }; - voteWeighted(value: _58.MsgVoteWeighted): { - typeUrl: string; - value: _58.MsgVoteWeighted; - }; - deposit(value: _58.MsgDeposit): { - typeUrl: string; - value: _58.MsgDeposit; - }; - }; - toJSON: { - submitProposal(value: _58.MsgSubmitProposal): { - typeUrl: string; - value: unknown; - }; - vote(value: _58.MsgVote): { - typeUrl: string; - value: unknown; - }; - voteWeighted(value: _58.MsgVoteWeighted): { - typeUrl: string; - value: unknown; - }; - deposit(value: _58.MsgDeposit): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - submitProposal(value: any): { - typeUrl: string; - value: _58.MsgSubmitProposal; - }; - vote(value: any): { - typeUrl: string; - value: _58.MsgVote; - }; - voteWeighted(value: any): { - typeUrl: string; - value: _58.MsgVoteWeighted; - }; - deposit(value: any): { - typeUrl: string; - value: _58.MsgDeposit; - }; - }; - fromPartial: { - submitProposal(value: _58.MsgSubmitProposal): { - typeUrl: string; - value: _58.MsgSubmitProposal; - }; - vote(value: _58.MsgVote): { - typeUrl: string; - value: _58.MsgVote; - }; - voteWeighted(value: _58.MsgVoteWeighted): { - typeUrl: string; - value: _58.MsgVoteWeighted; - }; - deposit(value: _58.MsgDeposit): { - typeUrl: string; - value: _58.MsgDeposit; - }; - }; - }; - AminoConverter: { - "/cosmos.gov.v1beta1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: _58.MsgSubmitProposal) => _58.MsgSubmitProposalAmino; - fromAmino: (object: _58.MsgSubmitProposalAmino) => _58.MsgSubmitProposal; - }; - "/cosmos.gov.v1beta1.MsgVote": { - aminoType: string; - toAmino: (message: _58.MsgVote) => _58.MsgVoteAmino; - fromAmino: (object: _58.MsgVoteAmino) => _58.MsgVote; - }; - "/cosmos.gov.v1beta1.MsgVoteWeighted": { - aminoType: string; - toAmino: (message: _58.MsgVoteWeighted) => _58.MsgVoteWeightedAmino; - fromAmino: (object: _58.MsgVoteWeightedAmino) => _58.MsgVoteWeighted; - }; - "/cosmos.gov.v1beta1.MsgDeposit": { - aminoType: string; - toAmino: (message: _58.MsgDeposit) => _58.MsgDepositAmino; - fromAmino: (object: _58.MsgDepositAmino) => _58.MsgDeposit; - }; - }; - MsgSubmitProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _58.MsgSubmitProposal; - isSDK(o: any): o is _58.MsgSubmitProposalSDKType; - isAmino(o: any): o is _58.MsgSubmitProposalAmino; - encode(message: _58.MsgSubmitProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _58.MsgSubmitProposal; - fromJSON(object: any): _58.MsgSubmitProposal; - toJSON(message: _58.MsgSubmitProposal): unknown; - fromPartial(object: { - content?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.gov.v1beta1.TextProposal"; - title?: string; - description?: string; - }; - initialDeposit?: { - denom?: string; - amount?: string; - }[]; - proposer?: string; - }): _58.MsgSubmitProposal; - fromSDK(object: _58.MsgSubmitProposalSDKType): _58.MsgSubmitProposal; - toSDK(message: _58.MsgSubmitProposal): _58.MsgSubmitProposalSDKType; - fromAmino(object: _58.MsgSubmitProposalAmino): _58.MsgSubmitProposal; - toAmino(message: _58.MsgSubmitProposal): _58.MsgSubmitProposalAmino; - fromAminoMsg(object: _58.MsgSubmitProposalAminoMsg): _58.MsgSubmitProposal; - toAminoMsg(message: _58.MsgSubmitProposal): _58.MsgSubmitProposalAminoMsg; - fromProtoMsg(message: _58.MsgSubmitProposalProtoMsg): _58.MsgSubmitProposal; - toProto(message: _58.MsgSubmitProposal): Uint8Array; - toProtoMsg(message: _58.MsgSubmitProposal): _58.MsgSubmitProposalProtoMsg; - }; - MsgSubmitProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _58.MsgSubmitProposalResponse; - isSDK(o: any): o is _58.MsgSubmitProposalResponseSDKType; - isAmino(o: any): o is _58.MsgSubmitProposalResponseAmino; - encode(message: _58.MsgSubmitProposalResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _58.MsgSubmitProposalResponse; - fromJSON(object: any): _58.MsgSubmitProposalResponse; - toJSON(message: _58.MsgSubmitProposalResponse): unknown; - fromPartial(object: { - proposalId?: bigint; - }): _58.MsgSubmitProposalResponse; - fromSDK(object: _58.MsgSubmitProposalResponseSDKType): _58.MsgSubmitProposalResponse; - toSDK(message: _58.MsgSubmitProposalResponse): _58.MsgSubmitProposalResponseSDKType; - fromAmino(object: _58.MsgSubmitProposalResponseAmino): _58.MsgSubmitProposalResponse; - toAmino(message: _58.MsgSubmitProposalResponse): _58.MsgSubmitProposalResponseAmino; - fromAminoMsg(object: _58.MsgSubmitProposalResponseAminoMsg): _58.MsgSubmitProposalResponse; - toAminoMsg(message: _58.MsgSubmitProposalResponse): _58.MsgSubmitProposalResponseAminoMsg; - fromProtoMsg(message: _58.MsgSubmitProposalResponseProtoMsg): _58.MsgSubmitProposalResponse; - toProto(message: _58.MsgSubmitProposalResponse): Uint8Array; - toProtoMsg(message: _58.MsgSubmitProposalResponse): _58.MsgSubmitProposalResponseProtoMsg; - }; - MsgVote: { - typeUrl: string; - aminoType: string; - is(o: any): o is _58.MsgVote; - isSDK(o: any): o is _58.MsgVoteSDKType; - isAmino(o: any): o is _58.MsgVoteAmino; - encode(message: _58.MsgVote, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _58.MsgVote; - fromJSON(object: any): _58.MsgVote; - toJSON(message: _58.MsgVote): unknown; - fromPartial(object: { - proposalId?: bigint; - voter?: string; - option?: _56.VoteOption; - }): _58.MsgVote; - fromSDK(object: _58.MsgVoteSDKType): _58.MsgVote; - toSDK(message: _58.MsgVote): _58.MsgVoteSDKType; - fromAmino(object: _58.MsgVoteAmino): _58.MsgVote; - toAmino(message: _58.MsgVote): _58.MsgVoteAmino; - fromAminoMsg(object: _58.MsgVoteAminoMsg): _58.MsgVote; - toAminoMsg(message: _58.MsgVote): _58.MsgVoteAminoMsg; - fromProtoMsg(message: _58.MsgVoteProtoMsg): _58.MsgVote; - toProto(message: _58.MsgVote): Uint8Array; - toProtoMsg(message: _58.MsgVote): _58.MsgVoteProtoMsg; - }; - MsgVoteResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _58.MsgVoteResponse; - isSDK(o: any): o is _58.MsgVoteResponseSDKType; - isAmino(o: any): o is _58.MsgVoteResponseAmino; - encode(_: _58.MsgVoteResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _58.MsgVoteResponse; - fromJSON(_: any): _58.MsgVoteResponse; - toJSON(_: _58.MsgVoteResponse): unknown; - fromPartial(_: {}): _58.MsgVoteResponse; - fromSDK(_: _58.MsgVoteResponseSDKType): _58.MsgVoteResponse; - toSDK(_: _58.MsgVoteResponse): _58.MsgVoteResponseSDKType; - fromAmino(_: _58.MsgVoteResponseAmino): _58.MsgVoteResponse; - toAmino(_: _58.MsgVoteResponse): _58.MsgVoteResponseAmino; - fromAminoMsg(object: _58.MsgVoteResponseAminoMsg): _58.MsgVoteResponse; - toAminoMsg(message: _58.MsgVoteResponse): _58.MsgVoteResponseAminoMsg; - fromProtoMsg(message: _58.MsgVoteResponseProtoMsg): _58.MsgVoteResponse; - toProto(message: _58.MsgVoteResponse): Uint8Array; - toProtoMsg(message: _58.MsgVoteResponse): _58.MsgVoteResponseProtoMsg; - }; - MsgVoteWeighted: { - typeUrl: string; - aminoType: string; - is(o: any): o is _58.MsgVoteWeighted; - isSDK(o: any): o is _58.MsgVoteWeightedSDKType; - isAmino(o: any): o is _58.MsgVoteWeightedAmino; - encode(message: _58.MsgVoteWeighted, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _58.MsgVoteWeighted; - fromJSON(object: any): _58.MsgVoteWeighted; - toJSON(message: _58.MsgVoteWeighted): unknown; - fromPartial(object: { - proposalId?: bigint; - voter?: string; - options?: { - option?: _56.VoteOption; - weight?: string; - }[]; - }): _58.MsgVoteWeighted; - fromSDK(object: _58.MsgVoteWeightedSDKType): _58.MsgVoteWeighted; - toSDK(message: _58.MsgVoteWeighted): _58.MsgVoteWeightedSDKType; - fromAmino(object: _58.MsgVoteWeightedAmino): _58.MsgVoteWeighted; - toAmino(message: _58.MsgVoteWeighted): _58.MsgVoteWeightedAmino; - fromAminoMsg(object: _58.MsgVoteWeightedAminoMsg): _58.MsgVoteWeighted; - toAminoMsg(message: _58.MsgVoteWeighted): _58.MsgVoteWeightedAminoMsg; - fromProtoMsg(message: _58.MsgVoteWeightedProtoMsg): _58.MsgVoteWeighted; - toProto(message: _58.MsgVoteWeighted): Uint8Array; - toProtoMsg(message: _58.MsgVoteWeighted): _58.MsgVoteWeightedProtoMsg; - }; - MsgVoteWeightedResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _58.MsgVoteWeightedResponse; - isSDK(o: any): o is _58.MsgVoteWeightedResponseSDKType; - isAmino(o: any): o is _58.MsgVoteWeightedResponseAmino; - encode(_: _58.MsgVoteWeightedResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _58.MsgVoteWeightedResponse; - fromJSON(_: any): _58.MsgVoteWeightedResponse; - toJSON(_: _58.MsgVoteWeightedResponse): unknown; - fromPartial(_: {}): _58.MsgVoteWeightedResponse; - fromSDK(_: _58.MsgVoteWeightedResponseSDKType): _58.MsgVoteWeightedResponse; - toSDK(_: _58.MsgVoteWeightedResponse): _58.MsgVoteWeightedResponseSDKType; - fromAmino(_: _58.MsgVoteWeightedResponseAmino): _58.MsgVoteWeightedResponse; - toAmino(_: _58.MsgVoteWeightedResponse): _58.MsgVoteWeightedResponseAmino; - fromAminoMsg(object: _58.MsgVoteWeightedResponseAminoMsg): _58.MsgVoteWeightedResponse; - toAminoMsg(message: _58.MsgVoteWeightedResponse): _58.MsgVoteWeightedResponseAminoMsg; - fromProtoMsg(message: _58.MsgVoteWeightedResponseProtoMsg): _58.MsgVoteWeightedResponse; - toProto(message: _58.MsgVoteWeightedResponse): Uint8Array; - toProtoMsg(message: _58.MsgVoteWeightedResponse): _58.MsgVoteWeightedResponseProtoMsg; - }; - MsgDeposit: { - typeUrl: string; - aminoType: string; - is(o: any): o is _58.MsgDeposit; - isSDK(o: any): o is _58.MsgDepositSDKType; - isAmino(o: any): o is _58.MsgDepositAmino; - encode(message: _58.MsgDeposit, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _58.MsgDeposit; - fromJSON(object: any): _58.MsgDeposit; - toJSON(message: _58.MsgDeposit): unknown; - fromPartial(object: { - proposalId?: bigint; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _58.MsgDeposit; - fromSDK(object: _58.MsgDepositSDKType): _58.MsgDeposit; - toSDK(message: _58.MsgDeposit): _58.MsgDepositSDKType; - fromAmino(object: _58.MsgDepositAmino): _58.MsgDeposit; - toAmino(message: _58.MsgDeposit): _58.MsgDepositAmino; - fromAminoMsg(object: _58.MsgDepositAminoMsg): _58.MsgDeposit; - toAminoMsg(message: _58.MsgDeposit): _58.MsgDepositAminoMsg; - fromProtoMsg(message: _58.MsgDepositProtoMsg): _58.MsgDeposit; - toProto(message: _58.MsgDeposit): Uint8Array; - toProtoMsg(message: _58.MsgDeposit): _58.MsgDepositProtoMsg; - }; - MsgDepositResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _58.MsgDepositResponse; - isSDK(o: any): o is _58.MsgDepositResponseSDKType; - isAmino(o: any): o is _58.MsgDepositResponseAmino; - encode(_: _58.MsgDepositResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _58.MsgDepositResponse; - fromJSON(_: any): _58.MsgDepositResponse; - toJSON(_: _58.MsgDepositResponse): unknown; - fromPartial(_: {}): _58.MsgDepositResponse; - fromSDK(_: _58.MsgDepositResponseSDKType): _58.MsgDepositResponse; - toSDK(_: _58.MsgDepositResponse): _58.MsgDepositResponseSDKType; - fromAmino(_: _58.MsgDepositResponseAmino): _58.MsgDepositResponse; - toAmino(_: _58.MsgDepositResponse): _58.MsgDepositResponseAmino; - fromAminoMsg(object: _58.MsgDepositResponseAminoMsg): _58.MsgDepositResponse; - toAminoMsg(message: _58.MsgDepositResponse): _58.MsgDepositResponseAminoMsg; - fromProtoMsg(message: _58.MsgDepositResponseProtoMsg): _58.MsgDepositResponse; - toProto(message: _58.MsgDepositResponse): Uint8Array; - toProtoMsg(message: _58.MsgDepositResponse): _58.MsgDepositResponseProtoMsg; - }; - QueryProposalRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryProposalRequest; - isSDK(o: any): o is _57.QueryProposalRequestSDKType; - isAmino(o: any): o is _57.QueryProposalRequestAmino; - encode(message: _57.QueryProposalRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryProposalRequest; - fromJSON(object: any): _57.QueryProposalRequest; - toJSON(message: _57.QueryProposalRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - }): _57.QueryProposalRequest; - fromSDK(object: _57.QueryProposalRequestSDKType): _57.QueryProposalRequest; - toSDK(message: _57.QueryProposalRequest): _57.QueryProposalRequestSDKType; - fromAmino(object: _57.QueryProposalRequestAmino): _57.QueryProposalRequest; - toAmino(message: _57.QueryProposalRequest): _57.QueryProposalRequestAmino; - fromAminoMsg(object: _57.QueryProposalRequestAminoMsg): _57.QueryProposalRequest; - toAminoMsg(message: _57.QueryProposalRequest): _57.QueryProposalRequestAminoMsg; - fromProtoMsg(message: _57.QueryProposalRequestProtoMsg): _57.QueryProposalRequest; - toProto(message: _57.QueryProposalRequest): Uint8Array; - toProtoMsg(message: _57.QueryProposalRequest): _57.QueryProposalRequestProtoMsg; - }; - QueryProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryProposalResponse; - isSDK(o: any): o is _57.QueryProposalResponseSDKType; - isAmino(o: any): o is _57.QueryProposalResponseAmino; - encode(message: _57.QueryProposalResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryProposalResponse; - fromJSON(object: any): _57.QueryProposalResponse; - toJSON(message: _57.QueryProposalResponse): unknown; - fromPartial(object: { - proposal?: { - proposalId?: bigint; - content?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.gov.v1beta1.TextProposal"; - title?: string; - description?: string; - }; - status?: _56.ProposalStatus; - finalTallyResult?: { - yes?: string; - abstain?: string; - no?: string; - noWithVeto?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - }; - }): _57.QueryProposalResponse; - fromSDK(object: _57.QueryProposalResponseSDKType): _57.QueryProposalResponse; - toSDK(message: _57.QueryProposalResponse): _57.QueryProposalResponseSDKType; - fromAmino(object: _57.QueryProposalResponseAmino): _57.QueryProposalResponse; - toAmino(message: _57.QueryProposalResponse): _57.QueryProposalResponseAmino; - fromAminoMsg(object: _57.QueryProposalResponseAminoMsg): _57.QueryProposalResponse; - toAminoMsg(message: _57.QueryProposalResponse): _57.QueryProposalResponseAminoMsg; - fromProtoMsg(message: _57.QueryProposalResponseProtoMsg): _57.QueryProposalResponse; - toProto(message: _57.QueryProposalResponse): Uint8Array; - toProtoMsg(message: _57.QueryProposalResponse): _57.QueryProposalResponseProtoMsg; - }; - QueryProposalsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryProposalsRequest; - isSDK(o: any): o is _57.QueryProposalsRequestSDKType; - isAmino(o: any): o is _57.QueryProposalsRequestAmino; - encode(message: _57.QueryProposalsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryProposalsRequest; - fromJSON(object: any): _57.QueryProposalsRequest; - toJSON(message: _57.QueryProposalsRequest): unknown; - fromPartial(object: { - proposalStatus?: _56.ProposalStatus; - voter?: string; - depositor?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _57.QueryProposalsRequest; - fromSDK(object: _57.QueryProposalsRequestSDKType): _57.QueryProposalsRequest; - toSDK(message: _57.QueryProposalsRequest): _57.QueryProposalsRequestSDKType; - fromAmino(object: _57.QueryProposalsRequestAmino): _57.QueryProposalsRequest; - toAmino(message: _57.QueryProposalsRequest): _57.QueryProposalsRequestAmino; - fromAminoMsg(object: _57.QueryProposalsRequestAminoMsg): _57.QueryProposalsRequest; - toAminoMsg(message: _57.QueryProposalsRequest): _57.QueryProposalsRequestAminoMsg; - fromProtoMsg(message: _57.QueryProposalsRequestProtoMsg): _57.QueryProposalsRequest; - toProto(message: _57.QueryProposalsRequest): Uint8Array; - toProtoMsg(message: _57.QueryProposalsRequest): _57.QueryProposalsRequestProtoMsg; - }; - QueryProposalsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryProposalsResponse; - isSDK(o: any): o is _57.QueryProposalsResponseSDKType; - isAmino(o: any): o is _57.QueryProposalsResponseAmino; - encode(message: _57.QueryProposalsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryProposalsResponse; - fromJSON(object: any): _57.QueryProposalsResponse; - toJSON(message: _57.QueryProposalsResponse): unknown; - fromPartial(object: { - proposals?: { - proposalId?: bigint; - content?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.gov.v1beta1.TextProposal"; - title?: string; - description?: string; - }; - status?: _56.ProposalStatus; - finalTallyResult?: { - yes?: string; - abstain?: string; - no?: string; - noWithVeto?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _57.QueryProposalsResponse; - fromSDK(object: _57.QueryProposalsResponseSDKType): _57.QueryProposalsResponse; - toSDK(message: _57.QueryProposalsResponse): _57.QueryProposalsResponseSDKType; - fromAmino(object: _57.QueryProposalsResponseAmino): _57.QueryProposalsResponse; - toAmino(message: _57.QueryProposalsResponse): _57.QueryProposalsResponseAmino; - fromAminoMsg(object: _57.QueryProposalsResponseAminoMsg): _57.QueryProposalsResponse; - toAminoMsg(message: _57.QueryProposalsResponse): _57.QueryProposalsResponseAminoMsg; - fromProtoMsg(message: _57.QueryProposalsResponseProtoMsg): _57.QueryProposalsResponse; - toProto(message: _57.QueryProposalsResponse): Uint8Array; - toProtoMsg(message: _57.QueryProposalsResponse): _57.QueryProposalsResponseProtoMsg; - }; - QueryVoteRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryVoteRequest; - isSDK(o: any): o is _57.QueryVoteRequestSDKType; - isAmino(o: any): o is _57.QueryVoteRequestAmino; - encode(message: _57.QueryVoteRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryVoteRequest; - fromJSON(object: any): _57.QueryVoteRequest; - toJSON(message: _57.QueryVoteRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - voter?: string; - }): _57.QueryVoteRequest; - fromSDK(object: _57.QueryVoteRequestSDKType): _57.QueryVoteRequest; - toSDK(message: _57.QueryVoteRequest): _57.QueryVoteRequestSDKType; - fromAmino(object: _57.QueryVoteRequestAmino): _57.QueryVoteRequest; - toAmino(message: _57.QueryVoteRequest): _57.QueryVoteRequestAmino; - fromAminoMsg(object: _57.QueryVoteRequestAminoMsg): _57.QueryVoteRequest; - toAminoMsg(message: _57.QueryVoteRequest): _57.QueryVoteRequestAminoMsg; - fromProtoMsg(message: _57.QueryVoteRequestProtoMsg): _57.QueryVoteRequest; - toProto(message: _57.QueryVoteRequest): Uint8Array; - toProtoMsg(message: _57.QueryVoteRequest): _57.QueryVoteRequestProtoMsg; - }; - QueryVoteResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryVoteResponse; - isSDK(o: any): o is _57.QueryVoteResponseSDKType; - isAmino(o: any): o is _57.QueryVoteResponseAmino; - encode(message: _57.QueryVoteResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryVoteResponse; - fromJSON(object: any): _57.QueryVoteResponse; - toJSON(message: _57.QueryVoteResponse): unknown; - fromPartial(object: { - vote?: { - proposalId?: bigint; - voter?: string; - option?: _56.VoteOption; - options?: { - option?: _56.VoteOption; - weight?: string; - }[]; - }; - }): _57.QueryVoteResponse; - fromSDK(object: _57.QueryVoteResponseSDKType): _57.QueryVoteResponse; - toSDK(message: _57.QueryVoteResponse): _57.QueryVoteResponseSDKType; - fromAmino(object: _57.QueryVoteResponseAmino): _57.QueryVoteResponse; - toAmino(message: _57.QueryVoteResponse): _57.QueryVoteResponseAmino; - fromAminoMsg(object: _57.QueryVoteResponseAminoMsg): _57.QueryVoteResponse; - toAminoMsg(message: _57.QueryVoteResponse): _57.QueryVoteResponseAminoMsg; - fromProtoMsg(message: _57.QueryVoteResponseProtoMsg): _57.QueryVoteResponse; - toProto(message: _57.QueryVoteResponse): Uint8Array; - toProtoMsg(message: _57.QueryVoteResponse): _57.QueryVoteResponseProtoMsg; - }; - QueryVotesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryVotesRequest; - isSDK(o: any): o is _57.QueryVotesRequestSDKType; - isAmino(o: any): o is _57.QueryVotesRequestAmino; - encode(message: _57.QueryVotesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryVotesRequest; - fromJSON(object: any): _57.QueryVotesRequest; - toJSON(message: _57.QueryVotesRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _57.QueryVotesRequest; - fromSDK(object: _57.QueryVotesRequestSDKType): _57.QueryVotesRequest; - toSDK(message: _57.QueryVotesRequest): _57.QueryVotesRequestSDKType; - fromAmino(object: _57.QueryVotesRequestAmino): _57.QueryVotesRequest; - toAmino(message: _57.QueryVotesRequest): _57.QueryVotesRequestAmino; - fromAminoMsg(object: _57.QueryVotesRequestAminoMsg): _57.QueryVotesRequest; - toAminoMsg(message: _57.QueryVotesRequest): _57.QueryVotesRequestAminoMsg; - fromProtoMsg(message: _57.QueryVotesRequestProtoMsg): _57.QueryVotesRequest; - toProto(message: _57.QueryVotesRequest): Uint8Array; - toProtoMsg(message: _57.QueryVotesRequest): _57.QueryVotesRequestProtoMsg; - }; - QueryVotesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryVotesResponse; - isSDK(o: any): o is _57.QueryVotesResponseSDKType; - isAmino(o: any): o is _57.QueryVotesResponseAmino; - encode(message: _57.QueryVotesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryVotesResponse; - fromJSON(object: any): _57.QueryVotesResponse; - toJSON(message: _57.QueryVotesResponse): unknown; - fromPartial(object: { - votes?: { - proposalId?: bigint; - voter?: string; - option?: _56.VoteOption; - options?: { - option?: _56.VoteOption; - weight?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _57.QueryVotesResponse; - fromSDK(object: _57.QueryVotesResponseSDKType): _57.QueryVotesResponse; - toSDK(message: _57.QueryVotesResponse): _57.QueryVotesResponseSDKType; - fromAmino(object: _57.QueryVotesResponseAmino): _57.QueryVotesResponse; - toAmino(message: _57.QueryVotesResponse): _57.QueryVotesResponseAmino; - fromAminoMsg(object: _57.QueryVotesResponseAminoMsg): _57.QueryVotesResponse; - toAminoMsg(message: _57.QueryVotesResponse): _57.QueryVotesResponseAminoMsg; - fromProtoMsg(message: _57.QueryVotesResponseProtoMsg): _57.QueryVotesResponse; - toProto(message: _57.QueryVotesResponse): Uint8Array; - toProtoMsg(message: _57.QueryVotesResponse): _57.QueryVotesResponseProtoMsg; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryParamsRequest; - isSDK(o: any): o is _57.QueryParamsRequestSDKType; - isAmino(o: any): o is _57.QueryParamsRequestAmino; - encode(message: _57.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryParamsRequest; - fromJSON(object: any): _57.QueryParamsRequest; - toJSON(message: _57.QueryParamsRequest): unknown; - fromPartial(object: { - paramsType?: string; - }): _57.QueryParamsRequest; - fromSDK(object: _57.QueryParamsRequestSDKType): _57.QueryParamsRequest; - toSDK(message: _57.QueryParamsRequest): _57.QueryParamsRequestSDKType; - fromAmino(object: _57.QueryParamsRequestAmino): _57.QueryParamsRequest; - toAmino(message: _57.QueryParamsRequest): _57.QueryParamsRequestAmino; - fromAminoMsg(object: _57.QueryParamsRequestAminoMsg): _57.QueryParamsRequest; - toAminoMsg(message: _57.QueryParamsRequest): _57.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _57.QueryParamsRequestProtoMsg): _57.QueryParamsRequest; - toProto(message: _57.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _57.QueryParamsRequest): _57.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryParamsResponse; - isSDK(o: any): o is _57.QueryParamsResponseSDKType; - isAmino(o: any): o is _57.QueryParamsResponseAmino; - encode(message: _57.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryParamsResponse; - fromJSON(object: any): _57.QueryParamsResponse; - toJSON(message: _57.QueryParamsResponse): unknown; - fromPartial(object: { - votingParams?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - depositParams?: { - minDeposit?: { - denom?: string; - amount?: string; - }[]; - maxDepositPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - tallyParams?: { - quorum?: Uint8Array; - threshold?: Uint8Array; - vetoThreshold?: Uint8Array; - }; - }): _57.QueryParamsResponse; - fromSDK(object: _57.QueryParamsResponseSDKType): _57.QueryParamsResponse; - toSDK(message: _57.QueryParamsResponse): _57.QueryParamsResponseSDKType; - fromAmino(object: _57.QueryParamsResponseAmino): _57.QueryParamsResponse; - toAmino(message: _57.QueryParamsResponse): _57.QueryParamsResponseAmino; - fromAminoMsg(object: _57.QueryParamsResponseAminoMsg): _57.QueryParamsResponse; - toAminoMsg(message: _57.QueryParamsResponse): _57.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _57.QueryParamsResponseProtoMsg): _57.QueryParamsResponse; - toProto(message: _57.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _57.QueryParamsResponse): _57.QueryParamsResponseProtoMsg; - }; - QueryDepositRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryDepositRequest; - isSDK(o: any): o is _57.QueryDepositRequestSDKType; - isAmino(o: any): o is _57.QueryDepositRequestAmino; - encode(message: _57.QueryDepositRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryDepositRequest; - fromJSON(object: any): _57.QueryDepositRequest; - toJSON(message: _57.QueryDepositRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - depositor?: string; - }): _57.QueryDepositRequest; - fromSDK(object: _57.QueryDepositRequestSDKType): _57.QueryDepositRequest; - toSDK(message: _57.QueryDepositRequest): _57.QueryDepositRequestSDKType; - fromAmino(object: _57.QueryDepositRequestAmino): _57.QueryDepositRequest; - toAmino(message: _57.QueryDepositRequest): _57.QueryDepositRequestAmino; - fromAminoMsg(object: _57.QueryDepositRequestAminoMsg): _57.QueryDepositRequest; - toAminoMsg(message: _57.QueryDepositRequest): _57.QueryDepositRequestAminoMsg; - fromProtoMsg(message: _57.QueryDepositRequestProtoMsg): _57.QueryDepositRequest; - toProto(message: _57.QueryDepositRequest): Uint8Array; - toProtoMsg(message: _57.QueryDepositRequest): _57.QueryDepositRequestProtoMsg; - }; - QueryDepositResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryDepositResponse; - isSDK(o: any): o is _57.QueryDepositResponseSDKType; - isAmino(o: any): o is _57.QueryDepositResponseAmino; - encode(message: _57.QueryDepositResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryDepositResponse; - fromJSON(object: any): _57.QueryDepositResponse; - toJSON(message: _57.QueryDepositResponse): unknown; - fromPartial(object: { - deposit?: { - proposalId?: bigint; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }; - }): _57.QueryDepositResponse; - fromSDK(object: _57.QueryDepositResponseSDKType): _57.QueryDepositResponse; - toSDK(message: _57.QueryDepositResponse): _57.QueryDepositResponseSDKType; - fromAmino(object: _57.QueryDepositResponseAmino): _57.QueryDepositResponse; - toAmino(message: _57.QueryDepositResponse): _57.QueryDepositResponseAmino; - fromAminoMsg(object: _57.QueryDepositResponseAminoMsg): _57.QueryDepositResponse; - toAminoMsg(message: _57.QueryDepositResponse): _57.QueryDepositResponseAminoMsg; - fromProtoMsg(message: _57.QueryDepositResponseProtoMsg): _57.QueryDepositResponse; - toProto(message: _57.QueryDepositResponse): Uint8Array; - toProtoMsg(message: _57.QueryDepositResponse): _57.QueryDepositResponseProtoMsg; - }; - QueryDepositsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryDepositsRequest; - isSDK(o: any): o is _57.QueryDepositsRequestSDKType; - isAmino(o: any): o is _57.QueryDepositsRequestAmino; - encode(message: _57.QueryDepositsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryDepositsRequest; - fromJSON(object: any): _57.QueryDepositsRequest; - toJSON(message: _57.QueryDepositsRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _57.QueryDepositsRequest; - fromSDK(object: _57.QueryDepositsRequestSDKType): _57.QueryDepositsRequest; - toSDK(message: _57.QueryDepositsRequest): _57.QueryDepositsRequestSDKType; - fromAmino(object: _57.QueryDepositsRequestAmino): _57.QueryDepositsRequest; - toAmino(message: _57.QueryDepositsRequest): _57.QueryDepositsRequestAmino; - fromAminoMsg(object: _57.QueryDepositsRequestAminoMsg): _57.QueryDepositsRequest; - toAminoMsg(message: _57.QueryDepositsRequest): _57.QueryDepositsRequestAminoMsg; - fromProtoMsg(message: _57.QueryDepositsRequestProtoMsg): _57.QueryDepositsRequest; - toProto(message: _57.QueryDepositsRequest): Uint8Array; - toProtoMsg(message: _57.QueryDepositsRequest): _57.QueryDepositsRequestProtoMsg; - }; - QueryDepositsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryDepositsResponse; - isSDK(o: any): o is _57.QueryDepositsResponseSDKType; - isAmino(o: any): o is _57.QueryDepositsResponseAmino; - encode(message: _57.QueryDepositsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryDepositsResponse; - fromJSON(object: any): _57.QueryDepositsResponse; - toJSON(message: _57.QueryDepositsResponse): unknown; - fromPartial(object: { - deposits?: { - proposalId?: bigint; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _57.QueryDepositsResponse; - fromSDK(object: _57.QueryDepositsResponseSDKType): _57.QueryDepositsResponse; - toSDK(message: _57.QueryDepositsResponse): _57.QueryDepositsResponseSDKType; - fromAmino(object: _57.QueryDepositsResponseAmino): _57.QueryDepositsResponse; - toAmino(message: _57.QueryDepositsResponse): _57.QueryDepositsResponseAmino; - fromAminoMsg(object: _57.QueryDepositsResponseAminoMsg): _57.QueryDepositsResponse; - toAminoMsg(message: _57.QueryDepositsResponse): _57.QueryDepositsResponseAminoMsg; - fromProtoMsg(message: _57.QueryDepositsResponseProtoMsg): _57.QueryDepositsResponse; - toProto(message: _57.QueryDepositsResponse): Uint8Array; - toProtoMsg(message: _57.QueryDepositsResponse): _57.QueryDepositsResponseProtoMsg; - }; - QueryTallyResultRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryTallyResultRequest; - isSDK(o: any): o is _57.QueryTallyResultRequestSDKType; - isAmino(o: any): o is _57.QueryTallyResultRequestAmino; - encode(message: _57.QueryTallyResultRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryTallyResultRequest; - fromJSON(object: any): _57.QueryTallyResultRequest; - toJSON(message: _57.QueryTallyResultRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - }): _57.QueryTallyResultRequest; - fromSDK(object: _57.QueryTallyResultRequestSDKType): _57.QueryTallyResultRequest; - toSDK(message: _57.QueryTallyResultRequest): _57.QueryTallyResultRequestSDKType; - fromAmino(object: _57.QueryTallyResultRequestAmino): _57.QueryTallyResultRequest; - toAmino(message: _57.QueryTallyResultRequest): _57.QueryTallyResultRequestAmino; - fromAminoMsg(object: _57.QueryTallyResultRequestAminoMsg): _57.QueryTallyResultRequest; - toAminoMsg(message: _57.QueryTallyResultRequest): _57.QueryTallyResultRequestAminoMsg; - fromProtoMsg(message: _57.QueryTallyResultRequestProtoMsg): _57.QueryTallyResultRequest; - toProto(message: _57.QueryTallyResultRequest): Uint8Array; - toProtoMsg(message: _57.QueryTallyResultRequest): _57.QueryTallyResultRequestProtoMsg; - }; - QueryTallyResultResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _57.QueryTallyResultResponse; - isSDK(o: any): o is _57.QueryTallyResultResponseSDKType; - isAmino(o: any): o is _57.QueryTallyResultResponseAmino; - encode(message: _57.QueryTallyResultResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _57.QueryTallyResultResponse; - fromJSON(object: any): _57.QueryTallyResultResponse; - toJSON(message: _57.QueryTallyResultResponse): unknown; - fromPartial(object: { - tally?: { - yes?: string; - abstain?: string; - no?: string; - noWithVeto?: string; - }; - }): _57.QueryTallyResultResponse; - fromSDK(object: _57.QueryTallyResultResponseSDKType): _57.QueryTallyResultResponse; - toSDK(message: _57.QueryTallyResultResponse): _57.QueryTallyResultResponseSDKType; - fromAmino(object: _57.QueryTallyResultResponseAmino): _57.QueryTallyResultResponse; - toAmino(message: _57.QueryTallyResultResponse): _57.QueryTallyResultResponseAmino; - fromAminoMsg(object: _57.QueryTallyResultResponseAminoMsg): _57.QueryTallyResultResponse; - toAminoMsg(message: _57.QueryTallyResultResponse): _57.QueryTallyResultResponseAminoMsg; - fromProtoMsg(message: _57.QueryTallyResultResponseProtoMsg): _57.QueryTallyResultResponse; - toProto(message: _57.QueryTallyResultResponse): Uint8Array; - toProtoMsg(message: _57.QueryTallyResultResponse): _57.QueryTallyResultResponseProtoMsg; - }; - voteOptionFromJSON(object: any): _56.VoteOption; - voteOptionToJSON(object: _56.VoteOption): string; - proposalStatusFromJSON(object: any): _56.ProposalStatus; - proposalStatusToJSON(object: _56.ProposalStatus): string; - VoteOption: typeof _56.VoteOption; - VoteOptionSDKType: typeof _56.VoteOption; - VoteOptionAmino: typeof _56.VoteOption; - ProposalStatus: typeof _56.ProposalStatus; - ProposalStatusSDKType: typeof _56.ProposalStatus; - ProposalStatusAmino: typeof _56.ProposalStatus; - WeightedVoteOption: { - typeUrl: string; - aminoType: string; - is(o: any): o is _56.WeightedVoteOption; - isSDK(o: any): o is _56.WeightedVoteOptionSDKType; - isAmino(o: any): o is _56.WeightedVoteOptionAmino; - encode(message: _56.WeightedVoteOption, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _56.WeightedVoteOption; - fromJSON(object: any): _56.WeightedVoteOption; - toJSON(message: _56.WeightedVoteOption): unknown; - fromPartial(object: { - option?: _56.VoteOption; - weight?: string; - }): _56.WeightedVoteOption; - fromSDK(object: _56.WeightedVoteOptionSDKType): _56.WeightedVoteOption; - toSDK(message: _56.WeightedVoteOption): _56.WeightedVoteOptionSDKType; - fromAmino(object: _56.WeightedVoteOptionAmino): _56.WeightedVoteOption; - toAmino(message: _56.WeightedVoteOption): _56.WeightedVoteOptionAmino; - fromAminoMsg(object: _56.WeightedVoteOptionAminoMsg): _56.WeightedVoteOption; - toAminoMsg(message: _56.WeightedVoteOption): _56.WeightedVoteOptionAminoMsg; - fromProtoMsg(message: _56.WeightedVoteOptionProtoMsg): _56.WeightedVoteOption; - toProto(message: _56.WeightedVoteOption): Uint8Array; - toProtoMsg(message: _56.WeightedVoteOption): _56.WeightedVoteOptionProtoMsg; - }; - TextProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _56.TextProposal; - isSDK(o: any): o is _56.TextProposalSDKType; - isAmino(o: any): o is _56.TextProposalAmino; - encode(message: _56.TextProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _56.TextProposal; - fromJSON(object: any): _56.TextProposal; - toJSON(message: _56.TextProposal): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.gov.v1beta1.TextProposal"; - title?: string; - description?: string; - }): _56.TextProposal; - fromSDK(object: _56.TextProposalSDKType): _56.TextProposal; - toSDK(message: _56.TextProposal): _56.TextProposalSDKType; - fromAmino(object: _56.TextProposalAmino): _56.TextProposal; - toAmino(message: _56.TextProposal): _56.TextProposalAmino; - fromAminoMsg(object: _56.TextProposalAminoMsg): _56.TextProposal; - toAminoMsg(message: _56.TextProposal): _56.TextProposalAminoMsg; - fromProtoMsg(message: _56.TextProposalProtoMsg): _56.TextProposal; - toProto(message: _56.TextProposal): Uint8Array; - toProtoMsg(message: _56.TextProposal): _56.TextProposalProtoMsg; - }; - Deposit: { - typeUrl: string; - aminoType: string; - is(o: any): o is _56.Deposit; - isSDK(o: any): o is _56.DepositSDKType; - isAmino(o: any): o is _56.DepositAmino; - encode(message: _56.Deposit, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _56.Deposit; - fromJSON(object: any): _56.Deposit; - toJSON(message: _56.Deposit): unknown; - fromPartial(object: { - proposalId?: bigint; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _56.Deposit; - fromSDK(object: _56.DepositSDKType): _56.Deposit; - toSDK(message: _56.Deposit): _56.DepositSDKType; - fromAmino(object: _56.DepositAmino): _56.Deposit; - toAmino(message: _56.Deposit): _56.DepositAmino; - fromAminoMsg(object: _56.DepositAminoMsg): _56.Deposit; - toAminoMsg(message: _56.Deposit): _56.DepositAminoMsg; - fromProtoMsg(message: _56.DepositProtoMsg): _56.Deposit; - toProto(message: _56.Deposit): Uint8Array; - toProtoMsg(message: _56.Deposit): _56.DepositProtoMsg; - }; - Proposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _56.Proposal; - isSDK(o: any): o is _56.ProposalSDKType; - isAmino(o: any): o is _56.ProposalAmino; - encode(message: _56.Proposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _56.Proposal; - fromJSON(object: any): _56.Proposal; - toJSON(message: _56.Proposal): unknown; - fromPartial(object: { - proposalId?: bigint; - content?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.gov.v1beta1.TextProposal"; - title?: string; - description?: string; - }; - status?: _56.ProposalStatus; - finalTallyResult?: { - yes?: string; - abstain?: string; - no?: string; - noWithVeto?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - }): _56.Proposal; - fromSDK(object: _56.ProposalSDKType): _56.Proposal; - toSDK(message: _56.Proposal): _56.ProposalSDKType; - fromAmino(object: _56.ProposalAmino): _56.Proposal; - toAmino(message: _56.Proposal): _56.ProposalAmino; - fromAminoMsg(object: _56.ProposalAminoMsg): _56.Proposal; - toAminoMsg(message: _56.Proposal): _56.ProposalAminoMsg; - fromProtoMsg(message: _56.ProposalProtoMsg): _56.Proposal; - toProto(message: _56.Proposal): Uint8Array; - toProtoMsg(message: _56.Proposal): _56.ProposalProtoMsg; - }; - TallyResult: { - typeUrl: string; - aminoType: string; - is(o: any): o is _56.TallyResult; - isSDK(o: any): o is _56.TallyResultSDKType; - isAmino(o: any): o is _56.TallyResultAmino; - encode(message: _56.TallyResult, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _56.TallyResult; - fromJSON(object: any): _56.TallyResult; - toJSON(message: _56.TallyResult): unknown; - fromPartial(object: { - yes?: string; - abstain?: string; - no?: string; - noWithVeto?: string; - }): _56.TallyResult; - fromSDK(object: _56.TallyResultSDKType): _56.TallyResult; - toSDK(message: _56.TallyResult): _56.TallyResultSDKType; - fromAmino(object: _56.TallyResultAmino): _56.TallyResult; - toAmino(message: _56.TallyResult): _56.TallyResultAmino; - fromAminoMsg(object: _56.TallyResultAminoMsg): _56.TallyResult; - toAminoMsg(message: _56.TallyResult): _56.TallyResultAminoMsg; - fromProtoMsg(message: _56.TallyResultProtoMsg): _56.TallyResult; - toProto(message: _56.TallyResult): Uint8Array; - toProtoMsg(message: _56.TallyResult): _56.TallyResultProtoMsg; - }; - Vote: { - typeUrl: string; - aminoType: string; - is(o: any): o is _56.Vote; - isSDK(o: any): o is _56.VoteSDKType; - isAmino(o: any): o is _56.VoteAmino; - encode(message: _56.Vote, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _56.Vote; - fromJSON(object: any): _56.Vote; - toJSON(message: _56.Vote): unknown; - fromPartial(object: { - proposalId?: bigint; - voter?: string; - option?: _56.VoteOption; - options?: { - option?: _56.VoteOption; - weight?: string; - }[]; - }): _56.Vote; - fromSDK(object: _56.VoteSDKType): _56.Vote; - toSDK(message: _56.Vote): _56.VoteSDKType; - fromAmino(object: _56.VoteAmino): _56.Vote; - toAmino(message: _56.Vote): _56.VoteAmino; - fromAminoMsg(object: _56.VoteAminoMsg): _56.Vote; - toAminoMsg(message: _56.Vote): _56.VoteAminoMsg; - fromProtoMsg(message: _56.VoteProtoMsg): _56.Vote; - toProto(message: _56.Vote): Uint8Array; - toProtoMsg(message: _56.Vote): _56.VoteProtoMsg; - }; - DepositParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is _56.DepositParams; - isSDK(o: any): o is _56.DepositParamsSDKType; - isAmino(o: any): o is _56.DepositParamsAmino; - encode(message: _56.DepositParams, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _56.DepositParams; - fromJSON(object: any): _56.DepositParams; - toJSON(message: _56.DepositParams): unknown; - fromPartial(object: { - minDeposit?: { - denom?: string; - amount?: string; - }[]; - maxDepositPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }): _56.DepositParams; - fromSDK(object: _56.DepositParamsSDKType): _56.DepositParams; - toSDK(message: _56.DepositParams): _56.DepositParamsSDKType; - fromAmino(object: _56.DepositParamsAmino): _56.DepositParams; - toAmino(message: _56.DepositParams): _56.DepositParamsAmino; - fromAminoMsg(object: _56.DepositParamsAminoMsg): _56.DepositParams; - toAminoMsg(message: _56.DepositParams): _56.DepositParamsAminoMsg; - fromProtoMsg(message: _56.DepositParamsProtoMsg): _56.DepositParams; - toProto(message: _56.DepositParams): Uint8Array; - toProtoMsg(message: _56.DepositParams): _56.DepositParamsProtoMsg; - }; - VotingParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is _56.VotingParams; - isSDK(o: any): o is _56.VotingParamsSDKType; - isAmino(o: any): o is _56.VotingParamsAmino; - encode(message: _56.VotingParams, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _56.VotingParams; - fromJSON(object: any): _56.VotingParams; - toJSON(message: _56.VotingParams): unknown; - fromPartial(object: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }): _56.VotingParams; - fromSDK(object: _56.VotingParamsSDKType): _56.VotingParams; - toSDK(message: _56.VotingParams): _56.VotingParamsSDKType; - fromAmino(object: _56.VotingParamsAmino): _56.VotingParams; - toAmino(message: _56.VotingParams): _56.VotingParamsAmino; - fromAminoMsg(object: _56.VotingParamsAminoMsg): _56.VotingParams; - toAminoMsg(message: _56.VotingParams): _56.VotingParamsAminoMsg; - fromProtoMsg(message: _56.VotingParamsProtoMsg): _56.VotingParams; - toProto(message: _56.VotingParams): Uint8Array; - toProtoMsg(message: _56.VotingParams): _56.VotingParamsProtoMsg; - }; - TallyParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is _56.TallyParams; - isSDK(o: any): o is _56.TallyParamsSDKType; - isAmino(o: any): o is _56.TallyParamsAmino; - encode(message: _56.TallyParams, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _56.TallyParams; - fromJSON(object: any): _56.TallyParams; - toJSON(message: _56.TallyParams): unknown; - fromPartial(object: { - quorum?: Uint8Array; - threshold?: Uint8Array; - vetoThreshold?: Uint8Array; - }): _56.TallyParams; - fromSDK(object: _56.TallyParamsSDKType): _56.TallyParams; - toSDK(message: _56.TallyParams): _56.TallyParamsSDKType; - fromAmino(object: _56.TallyParamsAmino): _56.TallyParams; - toAmino(message: _56.TallyParams): _56.TallyParamsAmino; - fromAminoMsg(object: _56.TallyParamsAminoMsg): _56.TallyParams; - toAminoMsg(message: _56.TallyParams): _56.TallyParamsAminoMsg; - fromProtoMsg(message: _56.TallyParamsProtoMsg): _56.TallyParams; - toProto(message: _56.TallyParams): Uint8Array; - toProtoMsg(message: _56.TallyParams): _56.TallyParamsProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _55.GenesisState; - isSDK(o: any): o is _55.GenesisStateSDKType; - isAmino(o: any): o is _55.GenesisStateAmino; - encode(message: _55.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _55.GenesisState; - fromJSON(object: any): _55.GenesisState; - toJSON(message: _55.GenesisState): unknown; - fromPartial(object: { - startingProposalId?: bigint; - deposits?: { - proposalId?: bigint; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }[]; - votes?: { - proposalId?: bigint; - voter?: string; - option?: _56.VoteOption; - options?: { - option?: _56.VoteOption; - weight?: string; - }[]; - }[]; - proposals?: { - proposalId?: bigint; - content?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.gov.v1beta1.TextProposal"; - title?: string; - description?: string; - }; - status?: _56.ProposalStatus; - finalTallyResult?: { - yes?: string; - abstain?: string; - no?: string; - noWithVeto?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - }[]; - depositParams?: { - minDeposit?: { - denom?: string; - amount?: string; - }[]; - maxDepositPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - votingParams?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - tallyParams?: { - quorum?: Uint8Array; - threshold?: Uint8Array; - vetoThreshold?: Uint8Array; - }; - }): _55.GenesisState; - fromSDK(object: _55.GenesisStateSDKType): _55.GenesisState; - toSDK(message: _55.GenesisState): _55.GenesisStateSDKType; - fromAmino(object: _55.GenesisStateAmino): _55.GenesisState; - toAmino(message: _55.GenesisState): _55.GenesisStateAmino; - fromAminoMsg(object: _55.GenesisStateAminoMsg): _55.GenesisState; - toAminoMsg(message: _55.GenesisState): _55.GenesisStateAminoMsg; - fromProtoMsg(message: _55.GenesisStateProtoMsg): _55.GenesisState; - toProto(message: _55.GenesisState): Uint8Array; - toProtoMsg(message: _55.GenesisState): _55.GenesisStateProtoMsg; - }; - }; - } - namespace group { - const v1: { - MsgClientImpl: typeof _244.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _244.MsgClientImpl; - QueryClientImpl: typeof _228.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useGroupInfo: ({ request, options }: _228.UseGroupInfoQuery) => import("@tanstack/react-query").UseQueryResult; - useGroupPolicyInfo: ({ request, options }: _228.UseGroupPolicyInfoQuery) => import("@tanstack/react-query").UseQueryResult; - useGroupMembers: ({ request, options }: _228.UseGroupMembersQuery) => import("@tanstack/react-query").UseQueryResult; - useGroupsByAdmin: ({ request, options }: _228.UseGroupsByAdminQuery) => import("@tanstack/react-query").UseQueryResult; - useGroupPoliciesByGroup: ({ request, options }: _228.UseGroupPoliciesByGroupQuery) => import("@tanstack/react-query").UseQueryResult; - useGroupPoliciesByAdmin: ({ request, options }: _228.UseGroupPoliciesByAdminQuery) => import("@tanstack/react-query").UseQueryResult; - useProposal: ({ request, options }: _228.UseProposalQuery) => import("@tanstack/react-query").UseQueryResult; - useProposalsByGroupPolicy: ({ request, options }: _228.UseProposalsByGroupPolicyQuery) => import("@tanstack/react-query").UseQueryResult; - useVoteByProposalVoter: ({ request, options }: _228.UseVoteByProposalVoterQuery) => import("@tanstack/react-query").UseQueryResult; - useVotesByProposal: ({ request, options }: _228.UseVotesByProposalQuery) => import("@tanstack/react-query").UseQueryResult; - useVotesByVoter: ({ request, options }: _228.UseVotesByVoterQuery) => import("@tanstack/react-query").UseQueryResult; - useGroupsByMember: ({ request, options }: _228.UseGroupsByMemberQuery) => import("@tanstack/react-query").UseQueryResult; - useTallyResult: ({ request, options }: _228.UseTallyResultQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryGroupInfoStore: { - new (): { - store: import("..").QueryStore<_61.QueryGroupInfoRequest, _61.QueryGroupInfoResponse>; - groupInfo(request: _61.QueryGroupInfoRequest): import("..").MobxResponse<_61.QueryGroupInfoResponse>; - }; - }; - QueryGroupPolicyInfoStore: { - new (): { - store: import("..").QueryStore<_61.QueryGroupPolicyInfoRequest, _61.QueryGroupPolicyInfoResponse>; - groupPolicyInfo(request: _61.QueryGroupPolicyInfoRequest): import("..").MobxResponse<_61.QueryGroupPolicyInfoResponse>; - }; - }; - QueryGroupMembersStore: { - new (): { - store: import("..").QueryStore<_61.QueryGroupMembersRequest, _61.QueryGroupMembersResponse>; - groupMembers(request: _61.QueryGroupMembersRequest): import("..").MobxResponse<_61.QueryGroupMembersResponse>; - }; - }; - QueryGroupsByAdminStore: { - new (): { - store: import("..").QueryStore<_61.QueryGroupsByAdminRequest, _61.QueryGroupsByAdminResponse>; - groupsByAdmin(request: _61.QueryGroupsByAdminRequest): import("..").MobxResponse<_61.QueryGroupsByAdminResponse>; - }; - }; - QueryGroupPoliciesByGroupStore: { - new (): { - store: import("..").QueryStore<_61.QueryGroupPoliciesByGroupRequest, _61.QueryGroupPoliciesByGroupResponse>; - groupPoliciesByGroup(request: _61.QueryGroupPoliciesByGroupRequest): import("..").MobxResponse<_61.QueryGroupPoliciesByGroupResponse>; - }; - }; - QueryGroupPoliciesByAdminStore: { - new (): { - store: import("..").QueryStore<_61.QueryGroupPoliciesByAdminRequest, _61.QueryGroupPoliciesByAdminResponse>; - groupPoliciesByAdmin(request: _61.QueryGroupPoliciesByAdminRequest): import("..").MobxResponse<_61.QueryGroupPoliciesByAdminResponse>; - }; - }; - QueryProposalStore: { - new (): { - store: import("..").QueryStore<_61.QueryProposalRequest, _61.QueryProposalResponse>; - proposal(request: _61.QueryProposalRequest): import("..").MobxResponse<_61.QueryProposalResponse>; - }; - }; - QueryProposalsByGroupPolicyStore: { - new (): { - store: import("..").QueryStore<_61.QueryProposalsByGroupPolicyRequest, _61.QueryProposalsByGroupPolicyResponse>; - proposalsByGroupPolicy(request: _61.QueryProposalsByGroupPolicyRequest): import("..").MobxResponse<_61.QueryProposalsByGroupPolicyResponse>; - }; - }; - QueryVoteByProposalVoterStore: { - new (): { - store: import("..").QueryStore<_61.QueryVoteByProposalVoterRequest, _61.QueryVoteByProposalVoterResponse>; - voteByProposalVoter(request: _61.QueryVoteByProposalVoterRequest): import("..").MobxResponse<_61.QueryVoteByProposalVoterResponse>; - }; - }; - QueryVotesByProposalStore: { - new (): { - store: import("..").QueryStore<_61.QueryVotesByProposalRequest, _61.QueryVotesByProposalResponse>; - votesByProposal(request: _61.QueryVotesByProposalRequest): import("..").MobxResponse<_61.QueryVotesByProposalResponse>; - }; - }; - QueryVotesByVoterStore: { - new (): { - store: import("..").QueryStore<_61.QueryVotesByVoterRequest, _61.QueryVotesByVoterResponse>; - votesByVoter(request: _61.QueryVotesByVoterRequest): import("..").MobxResponse<_61.QueryVotesByVoterResponse>; - }; - }; - QueryGroupsByMemberStore: { - new (): { - store: import("..").QueryStore<_61.QueryGroupsByMemberRequest, _61.QueryGroupsByMemberResponse>; - groupsByMember(request: _61.QueryGroupsByMemberRequest): import("..").MobxResponse<_61.QueryGroupsByMemberResponse>; - }; - }; - QueryTallyResultStore: { - new (): { - store: import("..").QueryStore<_61.QueryTallyResultRequest, _61.QueryTallyResultResponse>; - tallyResult(request: _61.QueryTallyResultRequest): import("..").MobxResponse<_61.QueryTallyResultResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - createGroup(value: _62.MsgCreateGroup): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupMembers(value: _62.MsgUpdateGroupMembers): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupAdmin(value: _62.MsgUpdateGroupAdmin): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupMetadata(value: _62.MsgUpdateGroupMetadata): { - typeUrl: string; - value: Uint8Array; - }; - createGroupPolicy(value: _62.MsgCreateGroupPolicy): { - typeUrl: string; - value: Uint8Array; - }; - createGroupWithPolicy(value: _62.MsgCreateGroupWithPolicy): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupPolicyAdmin(value: _62.MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupPolicyDecisionPolicy(value: _62.MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupPolicyMetadata(value: _62.MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: Uint8Array; - }; - submitProposal(value: _62.MsgSubmitProposal): { - typeUrl: string; - value: Uint8Array; - }; - withdrawProposal(value: _62.MsgWithdrawProposal): { - typeUrl: string; - value: Uint8Array; - }; - vote(value: _62.MsgVote): { - typeUrl: string; - value: Uint8Array; - }; - exec(value: _62.MsgExec): { - typeUrl: string; - value: Uint8Array; - }; - leaveGroup(value: _62.MsgLeaveGroup): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createGroup(value: _62.MsgCreateGroup): { - typeUrl: string; - value: _62.MsgCreateGroup; - }; - updateGroupMembers(value: _62.MsgUpdateGroupMembers): { - typeUrl: string; - value: _62.MsgUpdateGroupMembers; - }; - updateGroupAdmin(value: _62.MsgUpdateGroupAdmin): { - typeUrl: string; - value: _62.MsgUpdateGroupAdmin; - }; - updateGroupMetadata(value: _62.MsgUpdateGroupMetadata): { - typeUrl: string; - value: _62.MsgUpdateGroupMetadata; - }; - createGroupPolicy(value: _62.MsgCreateGroupPolicy): { - typeUrl: string; - value: _62.MsgCreateGroupPolicy; - }; - createGroupWithPolicy(value: _62.MsgCreateGroupWithPolicy): { - typeUrl: string; - value: _62.MsgCreateGroupWithPolicy; - }; - updateGroupPolicyAdmin(value: _62.MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: _62.MsgUpdateGroupPolicyAdmin; - }; - updateGroupPolicyDecisionPolicy(value: _62.MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: _62.MsgUpdateGroupPolicyDecisionPolicy; - }; - updateGroupPolicyMetadata(value: _62.MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: _62.MsgUpdateGroupPolicyMetadata; - }; - submitProposal(value: _62.MsgSubmitProposal): { - typeUrl: string; - value: _62.MsgSubmitProposal; - }; - withdrawProposal(value: _62.MsgWithdrawProposal): { - typeUrl: string; - value: _62.MsgWithdrawProposal; - }; - vote(value: _62.MsgVote): { - typeUrl: string; - value: _62.MsgVote; - }; - exec(value: _62.MsgExec): { - typeUrl: string; - value: _62.MsgExec; - }; - leaveGroup(value: _62.MsgLeaveGroup): { - typeUrl: string; - value: _62.MsgLeaveGroup; - }; - }; - toJSON: { - createGroup(value: _62.MsgCreateGroup): { - typeUrl: string; - value: unknown; - }; - updateGroupMembers(value: _62.MsgUpdateGroupMembers): { - typeUrl: string; - value: unknown; - }; - updateGroupAdmin(value: _62.MsgUpdateGroupAdmin): { - typeUrl: string; - value: unknown; - }; - updateGroupMetadata(value: _62.MsgUpdateGroupMetadata): { - typeUrl: string; - value: unknown; - }; - createGroupPolicy(value: _62.MsgCreateGroupPolicy): { - typeUrl: string; - value: unknown; - }; - createGroupWithPolicy(value: _62.MsgCreateGroupWithPolicy): { - typeUrl: string; - value: unknown; - }; - updateGroupPolicyAdmin(value: _62.MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: unknown; - }; - updateGroupPolicyDecisionPolicy(value: _62.MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: unknown; - }; - updateGroupPolicyMetadata(value: _62.MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: unknown; - }; - submitProposal(value: _62.MsgSubmitProposal): { - typeUrl: string; - value: unknown; - }; - withdrawProposal(value: _62.MsgWithdrawProposal): { - typeUrl: string; - value: unknown; - }; - vote(value: _62.MsgVote): { - typeUrl: string; - value: unknown; - }; - exec(value: _62.MsgExec): { - typeUrl: string; - value: unknown; - }; - leaveGroup(value: _62.MsgLeaveGroup): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createGroup(value: any): { - typeUrl: string; - value: _62.MsgCreateGroup; - }; - updateGroupMembers(value: any): { - typeUrl: string; - value: _62.MsgUpdateGroupMembers; - }; - updateGroupAdmin(value: any): { - typeUrl: string; - value: _62.MsgUpdateGroupAdmin; - }; - updateGroupMetadata(value: any): { - typeUrl: string; - value: _62.MsgUpdateGroupMetadata; - }; - createGroupPolicy(value: any): { - typeUrl: string; - value: _62.MsgCreateGroupPolicy; - }; - createGroupWithPolicy(value: any): { - typeUrl: string; - value: _62.MsgCreateGroupWithPolicy; - }; - updateGroupPolicyAdmin(value: any): { - typeUrl: string; - value: _62.MsgUpdateGroupPolicyAdmin; - }; - updateGroupPolicyDecisionPolicy(value: any): { - typeUrl: string; - value: _62.MsgUpdateGroupPolicyDecisionPolicy; - }; - updateGroupPolicyMetadata(value: any): { - typeUrl: string; - value: _62.MsgUpdateGroupPolicyMetadata; - }; - submitProposal(value: any): { - typeUrl: string; - value: _62.MsgSubmitProposal; - }; - withdrawProposal(value: any): { - typeUrl: string; - value: _62.MsgWithdrawProposal; - }; - vote(value: any): { - typeUrl: string; - value: _62.MsgVote; - }; - exec(value: any): { - typeUrl: string; - value: _62.MsgExec; - }; - leaveGroup(value: any): { - typeUrl: string; - value: _62.MsgLeaveGroup; - }; - }; - fromPartial: { - createGroup(value: _62.MsgCreateGroup): { - typeUrl: string; - value: _62.MsgCreateGroup; - }; - updateGroupMembers(value: _62.MsgUpdateGroupMembers): { - typeUrl: string; - value: _62.MsgUpdateGroupMembers; - }; - updateGroupAdmin(value: _62.MsgUpdateGroupAdmin): { - typeUrl: string; - value: _62.MsgUpdateGroupAdmin; - }; - updateGroupMetadata(value: _62.MsgUpdateGroupMetadata): { - typeUrl: string; - value: _62.MsgUpdateGroupMetadata; - }; - createGroupPolicy(value: _62.MsgCreateGroupPolicy): { - typeUrl: string; - value: _62.MsgCreateGroupPolicy; - }; - createGroupWithPolicy(value: _62.MsgCreateGroupWithPolicy): { - typeUrl: string; - value: _62.MsgCreateGroupWithPolicy; - }; - updateGroupPolicyAdmin(value: _62.MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: _62.MsgUpdateGroupPolicyAdmin; - }; - updateGroupPolicyDecisionPolicy(value: _62.MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: _62.MsgUpdateGroupPolicyDecisionPolicy; - }; - updateGroupPolicyMetadata(value: _62.MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: _62.MsgUpdateGroupPolicyMetadata; - }; - submitProposal(value: _62.MsgSubmitProposal): { - typeUrl: string; - value: _62.MsgSubmitProposal; - }; - withdrawProposal(value: _62.MsgWithdrawProposal): { - typeUrl: string; - value: _62.MsgWithdrawProposal; - }; - vote(value: _62.MsgVote): { - typeUrl: string; - value: _62.MsgVote; - }; - exec(value: _62.MsgExec): { - typeUrl: string; - value: _62.MsgExec; - }; - leaveGroup(value: _62.MsgLeaveGroup): { - typeUrl: string; - value: _62.MsgLeaveGroup; - }; - }; - }; - AminoConverter: { - "/cosmos.group.v1.MsgCreateGroup": { - aminoType: string; - toAmino: (message: _62.MsgCreateGroup) => _62.MsgCreateGroupAmino; - fromAmino: (object: _62.MsgCreateGroupAmino) => _62.MsgCreateGroup; - }; - "/cosmos.group.v1.MsgUpdateGroupMembers": { - aminoType: string; - toAmino: (message: _62.MsgUpdateGroupMembers) => _62.MsgUpdateGroupMembersAmino; - fromAmino: (object: _62.MsgUpdateGroupMembersAmino) => _62.MsgUpdateGroupMembers; - }; - "/cosmos.group.v1.MsgUpdateGroupAdmin": { - aminoType: string; - toAmino: (message: _62.MsgUpdateGroupAdmin) => _62.MsgUpdateGroupAdminAmino; - fromAmino: (object: _62.MsgUpdateGroupAdminAmino) => _62.MsgUpdateGroupAdmin; - }; - "/cosmos.group.v1.MsgUpdateGroupMetadata": { - aminoType: string; - toAmino: (message: _62.MsgUpdateGroupMetadata) => _62.MsgUpdateGroupMetadataAmino; - fromAmino: (object: _62.MsgUpdateGroupMetadataAmino) => _62.MsgUpdateGroupMetadata; - }; - "/cosmos.group.v1.MsgCreateGroupPolicy": { - aminoType: string; - toAmino: (message: _62.MsgCreateGroupPolicy) => _62.MsgCreateGroupPolicyAmino; - fromAmino: (object: _62.MsgCreateGroupPolicyAmino) => _62.MsgCreateGroupPolicy; - }; - "/cosmos.group.v1.MsgCreateGroupWithPolicy": { - aminoType: string; - toAmino: (message: _62.MsgCreateGroupWithPolicy) => _62.MsgCreateGroupWithPolicyAmino; - fromAmino: (object: _62.MsgCreateGroupWithPolicyAmino) => _62.MsgCreateGroupWithPolicy; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin": { - aminoType: string; - toAmino: (message: _62.MsgUpdateGroupPolicyAdmin) => _62.MsgUpdateGroupPolicyAdminAmino; - fromAmino: (object: _62.MsgUpdateGroupPolicyAdminAmino) => _62.MsgUpdateGroupPolicyAdmin; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy": { - aminoType: string; - toAmino: (message: _62.MsgUpdateGroupPolicyDecisionPolicy) => _62.MsgUpdateGroupPolicyDecisionPolicyAmino; - fromAmino: (object: _62.MsgUpdateGroupPolicyDecisionPolicyAmino) => _62.MsgUpdateGroupPolicyDecisionPolicy; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata": { - aminoType: string; - toAmino: (message: _62.MsgUpdateGroupPolicyMetadata) => _62.MsgUpdateGroupPolicyMetadataAmino; - fromAmino: (object: _62.MsgUpdateGroupPolicyMetadataAmino) => _62.MsgUpdateGroupPolicyMetadata; - }; - "/cosmos.group.v1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: _62.MsgSubmitProposal) => _62.MsgSubmitProposalAmino; - fromAmino: (object: _62.MsgSubmitProposalAmino) => _62.MsgSubmitProposal; - }; - "/cosmos.group.v1.MsgWithdrawProposal": { - aminoType: string; - toAmino: (message: _62.MsgWithdrawProposal) => _62.MsgWithdrawProposalAmino; - fromAmino: (object: _62.MsgWithdrawProposalAmino) => _62.MsgWithdrawProposal; - }; - "/cosmos.group.v1.MsgVote": { - aminoType: string; - toAmino: (message: _62.MsgVote) => _62.MsgVoteAmino; - fromAmino: (object: _62.MsgVoteAmino) => _62.MsgVote; - }; - "/cosmos.group.v1.MsgExec": { - aminoType: string; - toAmino: (message: _62.MsgExec) => _62.MsgExecAmino; - fromAmino: (object: _62.MsgExecAmino) => _62.MsgExec; - }; - "/cosmos.group.v1.MsgLeaveGroup": { - aminoType: string; - toAmino: (message: _62.MsgLeaveGroup) => _62.MsgLeaveGroupAmino; - fromAmino: (object: _62.MsgLeaveGroupAmino) => _62.MsgLeaveGroup; - }; - }; - voteOptionFromJSON(object: any): _63.VoteOption; - voteOptionToJSON(object: _63.VoteOption): string; - proposalStatusFromJSON(object: any): _63.ProposalStatus; - proposalStatusToJSON(object: _63.ProposalStatus): string; - proposalResultFromJSON(object: any): _63.ProposalResult; - proposalResultToJSON(object: _63.ProposalResult): string; - proposalExecutorResultFromJSON(object: any): _63.ProposalExecutorResult; - proposalExecutorResultToJSON(object: _63.ProposalExecutorResult): string; - VoteOption: typeof _63.VoteOption; - VoteOptionSDKType: typeof _63.VoteOption; - VoteOptionAmino: typeof _63.VoteOption; - ProposalStatus: typeof _63.ProposalStatus; - ProposalStatusSDKType: typeof _63.ProposalStatus; - ProposalStatusAmino: typeof _63.ProposalStatus; - ProposalResult: typeof _63.ProposalResult; - ProposalResultSDKType: typeof _63.ProposalResult; - ProposalResultAmino: typeof _63.ProposalResult; - ProposalExecutorResult: typeof _63.ProposalExecutorResult; - ProposalExecutorResultSDKType: typeof _63.ProposalExecutorResult; - ProposalExecutorResultAmino: typeof _63.ProposalExecutorResult; - Member: { - typeUrl: string; - aminoType: string; - is(o: any): o is _63.Member; - isSDK(o: any): o is _63.MemberSDKType; - isAmino(o: any): o is _63.MemberAmino; - encode(message: _63.Member, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _63.Member; - fromJSON(object: any): _63.Member; - toJSON(message: _63.Member): unknown; - fromPartial(object: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }): _63.Member; - fromSDK(object: _63.MemberSDKType): _63.Member; - toSDK(message: _63.Member): _63.MemberSDKType; - fromAmino(object: _63.MemberAmino): _63.Member; - toAmino(message: _63.Member): _63.MemberAmino; - fromAminoMsg(object: _63.MemberAminoMsg): _63.Member; - toAminoMsg(message: _63.Member): _63.MemberAminoMsg; - fromProtoMsg(message: _63.MemberProtoMsg): _63.Member; - toProto(message: _63.Member): Uint8Array; - toProtoMsg(message: _63.Member): _63.MemberProtoMsg; - }; - Members: { - typeUrl: string; - aminoType: string; - is(o: any): o is _63.Members; - isSDK(o: any): o is _63.MembersSDKType; - isAmino(o: any): o is _63.MembersAmino; - encode(message: _63.Members, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _63.Members; - fromJSON(object: any): _63.Members; - toJSON(message: _63.Members): unknown; - fromPartial(object: { - members?: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }[]; - }): _63.Members; - fromSDK(object: _63.MembersSDKType): _63.Members; - toSDK(message: _63.Members): _63.MembersSDKType; - fromAmino(object: _63.MembersAmino): _63.Members; - toAmino(message: _63.Members): _63.MembersAmino; - fromAminoMsg(object: _63.MembersAminoMsg): _63.Members; - toAminoMsg(message: _63.Members): _63.MembersAminoMsg; - fromProtoMsg(message: _63.MembersProtoMsg): _63.Members; - toProto(message: _63.Members): Uint8Array; - toProtoMsg(message: _63.Members): _63.MembersProtoMsg; - }; - ThresholdDecisionPolicy: { - typeUrl: string; - aminoType: string; - is(o: any): o is _63.ThresholdDecisionPolicy; - isSDK(o: any): o is _63.ThresholdDecisionPolicySDKType; - isAmino(o: any): o is _63.ThresholdDecisionPolicyAmino; - encode(message: _63.ThresholdDecisionPolicy, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _63.ThresholdDecisionPolicy; - fromJSON(object: any): _63.ThresholdDecisionPolicy; - toJSON(message: _63.ThresholdDecisionPolicy): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.group.v1.ThresholdDecisionPolicy"; - threshold?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - }): _63.ThresholdDecisionPolicy; - fromSDK(object: _63.ThresholdDecisionPolicySDKType): _63.ThresholdDecisionPolicy; - toSDK(message: _63.ThresholdDecisionPolicy): _63.ThresholdDecisionPolicySDKType; - fromAmino(object: _63.ThresholdDecisionPolicyAmino): _63.ThresholdDecisionPolicy; - toAmino(message: _63.ThresholdDecisionPolicy): _63.ThresholdDecisionPolicyAmino; - fromAminoMsg(object: _63.ThresholdDecisionPolicyAminoMsg): _63.ThresholdDecisionPolicy; - toAminoMsg(message: _63.ThresholdDecisionPolicy): _63.ThresholdDecisionPolicyAminoMsg; - fromProtoMsg(message: _63.ThresholdDecisionPolicyProtoMsg): _63.ThresholdDecisionPolicy; - toProto(message: _63.ThresholdDecisionPolicy): Uint8Array; - toProtoMsg(message: _63.ThresholdDecisionPolicy): _63.ThresholdDecisionPolicyProtoMsg; - }; - PercentageDecisionPolicy: { - typeUrl: string; - aminoType: string; - is(o: any): o is _63.PercentageDecisionPolicy; - isSDK(o: any): o is _63.PercentageDecisionPolicySDKType; - isAmino(o: any): o is _63.PercentageDecisionPolicyAmino; - encode(message: _63.PercentageDecisionPolicy, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _63.PercentageDecisionPolicy; - fromJSON(object: any): _63.PercentageDecisionPolicy; - toJSON(message: _63.PercentageDecisionPolicy): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.group.v1.PercentageDecisionPolicy"; - percentage?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - }): _63.PercentageDecisionPolicy; - fromSDK(object: _63.PercentageDecisionPolicySDKType): _63.PercentageDecisionPolicy; - toSDK(message: _63.PercentageDecisionPolicy): _63.PercentageDecisionPolicySDKType; - fromAmino(object: _63.PercentageDecisionPolicyAmino): _63.PercentageDecisionPolicy; - toAmino(message: _63.PercentageDecisionPolicy): _63.PercentageDecisionPolicyAmino; - fromAminoMsg(object: _63.PercentageDecisionPolicyAminoMsg): _63.PercentageDecisionPolicy; - toAminoMsg(message: _63.PercentageDecisionPolicy): _63.PercentageDecisionPolicyAminoMsg; - fromProtoMsg(message: _63.PercentageDecisionPolicyProtoMsg): _63.PercentageDecisionPolicy; - toProto(message: _63.PercentageDecisionPolicy): Uint8Array; - toProtoMsg(message: _63.PercentageDecisionPolicy): _63.PercentageDecisionPolicyProtoMsg; - }; - DecisionPolicyWindows: { - typeUrl: string; - aminoType: string; - is(o: any): o is _63.DecisionPolicyWindows; - isSDK(o: any): o is _63.DecisionPolicyWindowsSDKType; - isAmino(o: any): o is _63.DecisionPolicyWindowsAmino; - encode(message: _63.DecisionPolicyWindows, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _63.DecisionPolicyWindows; - fromJSON(object: any): _63.DecisionPolicyWindows; - toJSON(message: _63.DecisionPolicyWindows): unknown; - fromPartial(object: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }): _63.DecisionPolicyWindows; - fromSDK(object: _63.DecisionPolicyWindowsSDKType): _63.DecisionPolicyWindows; - toSDK(message: _63.DecisionPolicyWindows): _63.DecisionPolicyWindowsSDKType; - fromAmino(object: _63.DecisionPolicyWindowsAmino): _63.DecisionPolicyWindows; - toAmino(message: _63.DecisionPolicyWindows): _63.DecisionPolicyWindowsAmino; - fromAminoMsg(object: _63.DecisionPolicyWindowsAminoMsg): _63.DecisionPolicyWindows; - toAminoMsg(message: _63.DecisionPolicyWindows): _63.DecisionPolicyWindowsAminoMsg; - fromProtoMsg(message: _63.DecisionPolicyWindowsProtoMsg): _63.DecisionPolicyWindows; - toProto(message: _63.DecisionPolicyWindows): Uint8Array; - toProtoMsg(message: _63.DecisionPolicyWindows): _63.DecisionPolicyWindowsProtoMsg; - }; - GroupInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _63.GroupInfo; - isSDK(o: any): o is _63.GroupInfoSDKType; - isAmino(o: any): o is _63.GroupInfoAmino; - encode(message: _63.GroupInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _63.GroupInfo; - fromJSON(object: any): _63.GroupInfo; - toJSON(message: _63.GroupInfo): unknown; - fromPartial(object: { - id?: bigint; - admin?: string; - metadata?: string; - version?: bigint; - totalWeight?: string; - createdAt?: Date; - }): _63.GroupInfo; - fromSDK(object: _63.GroupInfoSDKType): _63.GroupInfo; - toSDK(message: _63.GroupInfo): _63.GroupInfoSDKType; - fromAmino(object: _63.GroupInfoAmino): _63.GroupInfo; - toAmino(message: _63.GroupInfo): _63.GroupInfoAmino; - fromAminoMsg(object: _63.GroupInfoAminoMsg): _63.GroupInfo; - toAminoMsg(message: _63.GroupInfo): _63.GroupInfoAminoMsg; - fromProtoMsg(message: _63.GroupInfoProtoMsg): _63.GroupInfo; - toProto(message: _63.GroupInfo): Uint8Array; - toProtoMsg(message: _63.GroupInfo): _63.GroupInfoProtoMsg; - }; - GroupMember: { - typeUrl: string; - aminoType: string; - is(o: any): o is _63.GroupMember; - isSDK(o: any): o is _63.GroupMemberSDKType; - isAmino(o: any): o is _63.GroupMemberAmino; - encode(message: _63.GroupMember, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _63.GroupMember; - fromJSON(object: any): _63.GroupMember; - toJSON(message: _63.GroupMember): unknown; - fromPartial(object: { - groupId?: bigint; - member?: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }; - }): _63.GroupMember; - fromSDK(object: _63.GroupMemberSDKType): _63.GroupMember; - toSDK(message: _63.GroupMember): _63.GroupMemberSDKType; - fromAmino(object: _63.GroupMemberAmino): _63.GroupMember; - toAmino(message: _63.GroupMember): _63.GroupMemberAmino; - fromAminoMsg(object: _63.GroupMemberAminoMsg): _63.GroupMember; - toAminoMsg(message: _63.GroupMember): _63.GroupMemberAminoMsg; - fromProtoMsg(message: _63.GroupMemberProtoMsg): _63.GroupMember; - toProto(message: _63.GroupMember): Uint8Array; - toProtoMsg(message: _63.GroupMember): _63.GroupMemberProtoMsg; - }; - GroupPolicyInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _63.GroupPolicyInfo; - isSDK(o: any): o is _63.GroupPolicyInfoSDKType; - isAmino(o: any): o is _63.GroupPolicyInfoAmino; - encode(message: _63.GroupPolicyInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _63.GroupPolicyInfo; - fromJSON(object: any): _63.GroupPolicyInfo; - toJSON(message: _63.GroupPolicyInfo): unknown; - fromPartial(object: { - address?: string; - groupId?: bigint; - admin?: string; - metadata?: string; - version?: bigint; - decisionPolicy?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.group.v1.ThresholdDecisionPolicy"; - threshold?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - } | { - $typeUrl?: "/cosmos.group.v1.PercentageDecisionPolicy"; - percentage?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - }; - createdAt?: Date; - }): _63.GroupPolicyInfo; - fromSDK(object: _63.GroupPolicyInfoSDKType): _63.GroupPolicyInfo; - toSDK(message: _63.GroupPolicyInfo): _63.GroupPolicyInfoSDKType; - fromAmino(object: _63.GroupPolicyInfoAmino): _63.GroupPolicyInfo; - toAmino(message: _63.GroupPolicyInfo): _63.GroupPolicyInfoAmino; - fromAminoMsg(object: _63.GroupPolicyInfoAminoMsg): _63.GroupPolicyInfo; - toAminoMsg(message: _63.GroupPolicyInfo): _63.GroupPolicyInfoAminoMsg; - fromProtoMsg(message: _63.GroupPolicyInfoProtoMsg): _63.GroupPolicyInfo; - toProto(message: _63.GroupPolicyInfo): Uint8Array; - toProtoMsg(message: _63.GroupPolicyInfo): _63.GroupPolicyInfoProtoMsg; - }; - Proposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _63.Proposal; - isSDK(o: any): o is _63.ProposalSDKType; - isAmino(o: any): o is _63.ProposalAmino; - encode(message: _63.Proposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _63.Proposal; - fromJSON(object: any): _63.Proposal; - toJSON(message: _63.Proposal): unknown; - fromPartial(object: { - id?: bigint; - address?: string; - metadata?: string; - proposers?: string[]; - submitTime?: Date; - groupVersion?: bigint; - groupPolicyVersion?: bigint; - status?: _63.ProposalStatus; - result?: _63.ProposalResult; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - votingPeriodEnd?: Date; - executorResult?: _63.ProposalExecutorResult; - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _63.Proposal; - fromSDK(object: _63.ProposalSDKType): _63.Proposal; - toSDK(message: _63.Proposal): _63.ProposalSDKType; - fromAmino(object: _63.ProposalAmino): _63.Proposal; - toAmino(message: _63.Proposal): _63.ProposalAmino; - fromAminoMsg(object: _63.ProposalAminoMsg): _63.Proposal; - toAminoMsg(message: _63.Proposal): _63.ProposalAminoMsg; - fromProtoMsg(message: _63.ProposalProtoMsg): _63.Proposal; - toProto(message: _63.Proposal): Uint8Array; - toProtoMsg(message: _63.Proposal): _63.ProposalProtoMsg; - }; - TallyResult: { - typeUrl: string; - aminoType: string; - is(o: any): o is _63.TallyResult; - isSDK(o: any): o is _63.TallyResultSDKType; - isAmino(o: any): o is _63.TallyResultAmino; - encode(message: _63.TallyResult, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _63.TallyResult; - fromJSON(object: any): _63.TallyResult; - toJSON(message: _63.TallyResult): unknown; - fromPartial(object: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }): _63.TallyResult; - fromSDK(object: _63.TallyResultSDKType): _63.TallyResult; - toSDK(message: _63.TallyResult): _63.TallyResultSDKType; - fromAmino(object: _63.TallyResultAmino): _63.TallyResult; - toAmino(message: _63.TallyResult): _63.TallyResultAmino; - fromAminoMsg(object: _63.TallyResultAminoMsg): _63.TallyResult; - toAminoMsg(message: _63.TallyResult): _63.TallyResultAminoMsg; - fromProtoMsg(message: _63.TallyResultProtoMsg): _63.TallyResult; - toProto(message: _63.TallyResult): Uint8Array; - toProtoMsg(message: _63.TallyResult): _63.TallyResultProtoMsg; - }; - Vote: { - typeUrl: string; - aminoType: string; - is(o: any): o is _63.Vote; - isSDK(o: any): o is _63.VoteSDKType; - isAmino(o: any): o is _63.VoteAmino; - encode(message: _63.Vote, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _63.Vote; - fromJSON(object: any): _63.Vote; - toJSON(message: _63.Vote): unknown; - fromPartial(object: { - proposalId?: bigint; - voter?: string; - option?: _63.VoteOption; - metadata?: string; - submitTime?: Date; - }): _63.Vote; - fromSDK(object: _63.VoteSDKType): _63.Vote; - toSDK(message: _63.Vote): _63.VoteSDKType; - fromAmino(object: _63.VoteAmino): _63.Vote; - toAmino(message: _63.Vote): _63.VoteAmino; - fromAminoMsg(object: _63.VoteAminoMsg): _63.Vote; - toAminoMsg(message: _63.Vote): _63.VoteAminoMsg; - fromProtoMsg(message: _63.VoteProtoMsg): _63.Vote; - toProto(message: _63.Vote): Uint8Array; - toProtoMsg(message: _63.Vote): _63.VoteProtoMsg; - }; - execFromJSON(object: any): _62.Exec; - execToJSON(object: _62.Exec): string; - Exec: typeof _62.Exec; - ExecSDKType: typeof _62.Exec; - ExecAmino: typeof _62.Exec; - MsgCreateGroup: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgCreateGroup; - isSDK(o: any): o is _62.MsgCreateGroupSDKType; - isAmino(o: any): o is _62.MsgCreateGroupAmino; - encode(message: _62.MsgCreateGroup, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgCreateGroup; - fromJSON(object: any): _62.MsgCreateGroup; - toJSON(message: _62.MsgCreateGroup): unknown; - fromPartial(object: { - admin?: string; - members?: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }[]; - metadata?: string; - }): _62.MsgCreateGroup; - fromSDK(object: _62.MsgCreateGroupSDKType): _62.MsgCreateGroup; - toSDK(message: _62.MsgCreateGroup): _62.MsgCreateGroupSDKType; - fromAmino(object: _62.MsgCreateGroupAmino): _62.MsgCreateGroup; - toAmino(message: _62.MsgCreateGroup): _62.MsgCreateGroupAmino; - fromAminoMsg(object: _62.MsgCreateGroupAminoMsg): _62.MsgCreateGroup; - toAminoMsg(message: _62.MsgCreateGroup): _62.MsgCreateGroupAminoMsg; - fromProtoMsg(message: _62.MsgCreateGroupProtoMsg): _62.MsgCreateGroup; - toProto(message: _62.MsgCreateGroup): Uint8Array; - toProtoMsg(message: _62.MsgCreateGroup): _62.MsgCreateGroupProtoMsg; - }; - MsgCreateGroupResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgCreateGroupResponse; - isSDK(o: any): o is _62.MsgCreateGroupResponseSDKType; - isAmino(o: any): o is _62.MsgCreateGroupResponseAmino; - encode(message: _62.MsgCreateGroupResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgCreateGroupResponse; - fromJSON(object: any): _62.MsgCreateGroupResponse; - toJSON(message: _62.MsgCreateGroupResponse): unknown; - fromPartial(object: { - groupId?: bigint; - }): _62.MsgCreateGroupResponse; - fromSDK(object: _62.MsgCreateGroupResponseSDKType): _62.MsgCreateGroupResponse; - toSDK(message: _62.MsgCreateGroupResponse): _62.MsgCreateGroupResponseSDKType; - fromAmino(object: _62.MsgCreateGroupResponseAmino): _62.MsgCreateGroupResponse; - toAmino(message: _62.MsgCreateGroupResponse): _62.MsgCreateGroupResponseAmino; - fromAminoMsg(object: _62.MsgCreateGroupResponseAminoMsg): _62.MsgCreateGroupResponse; - toAminoMsg(message: _62.MsgCreateGroupResponse): _62.MsgCreateGroupResponseAminoMsg; - fromProtoMsg(message: _62.MsgCreateGroupResponseProtoMsg): _62.MsgCreateGroupResponse; - toProto(message: _62.MsgCreateGroupResponse): Uint8Array; - toProtoMsg(message: _62.MsgCreateGroupResponse): _62.MsgCreateGroupResponseProtoMsg; - }; - MsgUpdateGroupMembers: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgUpdateGroupMembers; - isSDK(o: any): o is _62.MsgUpdateGroupMembersSDKType; - isAmino(o: any): o is _62.MsgUpdateGroupMembersAmino; - encode(message: _62.MsgUpdateGroupMembers, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgUpdateGroupMembers; - fromJSON(object: any): _62.MsgUpdateGroupMembers; - toJSON(message: _62.MsgUpdateGroupMembers): unknown; - fromPartial(object: { - admin?: string; - groupId?: bigint; - memberUpdates?: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }[]; - }): _62.MsgUpdateGroupMembers; - fromSDK(object: _62.MsgUpdateGroupMembersSDKType): _62.MsgUpdateGroupMembers; - toSDK(message: _62.MsgUpdateGroupMembers): _62.MsgUpdateGroupMembersSDKType; - fromAmino(object: _62.MsgUpdateGroupMembersAmino): _62.MsgUpdateGroupMembers; - toAmino(message: _62.MsgUpdateGroupMembers): _62.MsgUpdateGroupMembersAmino; - fromAminoMsg(object: _62.MsgUpdateGroupMembersAminoMsg): _62.MsgUpdateGroupMembers; - toAminoMsg(message: _62.MsgUpdateGroupMembers): _62.MsgUpdateGroupMembersAminoMsg; - fromProtoMsg(message: _62.MsgUpdateGroupMembersProtoMsg): _62.MsgUpdateGroupMembers; - toProto(message: _62.MsgUpdateGroupMembers): Uint8Array; - toProtoMsg(message: _62.MsgUpdateGroupMembers): _62.MsgUpdateGroupMembersProtoMsg; - }; - MsgUpdateGroupMembersResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgUpdateGroupMembersResponse; - isSDK(o: any): o is _62.MsgUpdateGroupMembersResponseSDKType; - isAmino(o: any): o is _62.MsgUpdateGroupMembersResponseAmino; - encode(_: _62.MsgUpdateGroupMembersResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgUpdateGroupMembersResponse; - fromJSON(_: any): _62.MsgUpdateGroupMembersResponse; - toJSON(_: _62.MsgUpdateGroupMembersResponse): unknown; - fromPartial(_: {}): _62.MsgUpdateGroupMembersResponse; - fromSDK(_: _62.MsgUpdateGroupMembersResponseSDKType): _62.MsgUpdateGroupMembersResponse; - toSDK(_: _62.MsgUpdateGroupMembersResponse): _62.MsgUpdateGroupMembersResponseSDKType; - fromAmino(_: _62.MsgUpdateGroupMembersResponseAmino): _62.MsgUpdateGroupMembersResponse; - toAmino(_: _62.MsgUpdateGroupMembersResponse): _62.MsgUpdateGroupMembersResponseAmino; - fromAminoMsg(object: _62.MsgUpdateGroupMembersResponseAminoMsg): _62.MsgUpdateGroupMembersResponse; - toAminoMsg(message: _62.MsgUpdateGroupMembersResponse): _62.MsgUpdateGroupMembersResponseAminoMsg; - fromProtoMsg(message: _62.MsgUpdateGroupMembersResponseProtoMsg): _62.MsgUpdateGroupMembersResponse; - toProto(message: _62.MsgUpdateGroupMembersResponse): Uint8Array; - toProtoMsg(message: _62.MsgUpdateGroupMembersResponse): _62.MsgUpdateGroupMembersResponseProtoMsg; - }; - MsgUpdateGroupAdmin: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgUpdateGroupAdmin; - isSDK(o: any): o is _62.MsgUpdateGroupAdminSDKType; - isAmino(o: any): o is _62.MsgUpdateGroupAdminAmino; - encode(message: _62.MsgUpdateGroupAdmin, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgUpdateGroupAdmin; - fromJSON(object: any): _62.MsgUpdateGroupAdmin; - toJSON(message: _62.MsgUpdateGroupAdmin): unknown; - fromPartial(object: { - admin?: string; - groupId?: bigint; - newAdmin?: string; - }): _62.MsgUpdateGroupAdmin; - fromSDK(object: _62.MsgUpdateGroupAdminSDKType): _62.MsgUpdateGroupAdmin; - toSDK(message: _62.MsgUpdateGroupAdmin): _62.MsgUpdateGroupAdminSDKType; - fromAmino(object: _62.MsgUpdateGroupAdminAmino): _62.MsgUpdateGroupAdmin; - toAmino(message: _62.MsgUpdateGroupAdmin): _62.MsgUpdateGroupAdminAmino; - fromAminoMsg(object: _62.MsgUpdateGroupAdminAminoMsg): _62.MsgUpdateGroupAdmin; - toAminoMsg(message: _62.MsgUpdateGroupAdmin): _62.MsgUpdateGroupAdminAminoMsg; - fromProtoMsg(message: _62.MsgUpdateGroupAdminProtoMsg): _62.MsgUpdateGroupAdmin; - toProto(message: _62.MsgUpdateGroupAdmin): Uint8Array; - toProtoMsg(message: _62.MsgUpdateGroupAdmin): _62.MsgUpdateGroupAdminProtoMsg; - }; - MsgUpdateGroupAdminResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgUpdateGroupAdminResponse; - isSDK(o: any): o is _62.MsgUpdateGroupAdminResponseSDKType; - isAmino(o: any): o is _62.MsgUpdateGroupAdminResponseAmino; - encode(_: _62.MsgUpdateGroupAdminResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgUpdateGroupAdminResponse; - fromJSON(_: any): _62.MsgUpdateGroupAdminResponse; - toJSON(_: _62.MsgUpdateGroupAdminResponse): unknown; - fromPartial(_: {}): _62.MsgUpdateGroupAdminResponse; - fromSDK(_: _62.MsgUpdateGroupAdminResponseSDKType): _62.MsgUpdateGroupAdminResponse; - toSDK(_: _62.MsgUpdateGroupAdminResponse): _62.MsgUpdateGroupAdminResponseSDKType; - fromAmino(_: _62.MsgUpdateGroupAdminResponseAmino): _62.MsgUpdateGroupAdminResponse; - toAmino(_: _62.MsgUpdateGroupAdminResponse): _62.MsgUpdateGroupAdminResponseAmino; - fromAminoMsg(object: _62.MsgUpdateGroupAdminResponseAminoMsg): _62.MsgUpdateGroupAdminResponse; - toAminoMsg(message: _62.MsgUpdateGroupAdminResponse): _62.MsgUpdateGroupAdminResponseAminoMsg; - fromProtoMsg(message: _62.MsgUpdateGroupAdminResponseProtoMsg): _62.MsgUpdateGroupAdminResponse; - toProto(message: _62.MsgUpdateGroupAdminResponse): Uint8Array; - toProtoMsg(message: _62.MsgUpdateGroupAdminResponse): _62.MsgUpdateGroupAdminResponseProtoMsg; - }; - MsgUpdateGroupMetadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgUpdateGroupMetadata; - isSDK(o: any): o is _62.MsgUpdateGroupMetadataSDKType; - isAmino(o: any): o is _62.MsgUpdateGroupMetadataAmino; - encode(message: _62.MsgUpdateGroupMetadata, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgUpdateGroupMetadata; - fromJSON(object: any): _62.MsgUpdateGroupMetadata; - toJSON(message: _62.MsgUpdateGroupMetadata): unknown; - fromPartial(object: { - admin?: string; - groupId?: bigint; - metadata?: string; - }): _62.MsgUpdateGroupMetadata; - fromSDK(object: _62.MsgUpdateGroupMetadataSDKType): _62.MsgUpdateGroupMetadata; - toSDK(message: _62.MsgUpdateGroupMetadata): _62.MsgUpdateGroupMetadataSDKType; - fromAmino(object: _62.MsgUpdateGroupMetadataAmino): _62.MsgUpdateGroupMetadata; - toAmino(message: _62.MsgUpdateGroupMetadata): _62.MsgUpdateGroupMetadataAmino; - fromAminoMsg(object: _62.MsgUpdateGroupMetadataAminoMsg): _62.MsgUpdateGroupMetadata; - toAminoMsg(message: _62.MsgUpdateGroupMetadata): _62.MsgUpdateGroupMetadataAminoMsg; - fromProtoMsg(message: _62.MsgUpdateGroupMetadataProtoMsg): _62.MsgUpdateGroupMetadata; - toProto(message: _62.MsgUpdateGroupMetadata): Uint8Array; - toProtoMsg(message: _62.MsgUpdateGroupMetadata): _62.MsgUpdateGroupMetadataProtoMsg; - }; - MsgUpdateGroupMetadataResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgUpdateGroupMetadataResponse; - isSDK(o: any): o is _62.MsgUpdateGroupMetadataResponseSDKType; - isAmino(o: any): o is _62.MsgUpdateGroupMetadataResponseAmino; - encode(_: _62.MsgUpdateGroupMetadataResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgUpdateGroupMetadataResponse; - fromJSON(_: any): _62.MsgUpdateGroupMetadataResponse; - toJSON(_: _62.MsgUpdateGroupMetadataResponse): unknown; - fromPartial(_: {}): _62.MsgUpdateGroupMetadataResponse; - fromSDK(_: _62.MsgUpdateGroupMetadataResponseSDKType): _62.MsgUpdateGroupMetadataResponse; - toSDK(_: _62.MsgUpdateGroupMetadataResponse): _62.MsgUpdateGroupMetadataResponseSDKType; - fromAmino(_: _62.MsgUpdateGroupMetadataResponseAmino): _62.MsgUpdateGroupMetadataResponse; - toAmino(_: _62.MsgUpdateGroupMetadataResponse): _62.MsgUpdateGroupMetadataResponseAmino; - fromAminoMsg(object: _62.MsgUpdateGroupMetadataResponseAminoMsg): _62.MsgUpdateGroupMetadataResponse; - toAminoMsg(message: _62.MsgUpdateGroupMetadataResponse): _62.MsgUpdateGroupMetadataResponseAminoMsg; - fromProtoMsg(message: _62.MsgUpdateGroupMetadataResponseProtoMsg): _62.MsgUpdateGroupMetadataResponse; - toProto(message: _62.MsgUpdateGroupMetadataResponse): Uint8Array; - toProtoMsg(message: _62.MsgUpdateGroupMetadataResponse): _62.MsgUpdateGroupMetadataResponseProtoMsg; - }; - MsgCreateGroupPolicy: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgCreateGroupPolicy; - isSDK(o: any): o is _62.MsgCreateGroupPolicySDKType; - isAmino(o: any): o is _62.MsgCreateGroupPolicyAmino; - encode(message: _62.MsgCreateGroupPolicy, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgCreateGroupPolicy; - fromJSON(object: any): _62.MsgCreateGroupPolicy; - toJSON(message: _62.MsgCreateGroupPolicy): unknown; - fromPartial(object: { - admin?: string; - groupId?: bigint; - metadata?: string; - decisionPolicy?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.group.v1.ThresholdDecisionPolicy"; - threshold?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - } | { - $typeUrl?: "/cosmos.group.v1.PercentageDecisionPolicy"; - percentage?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - }; - }): _62.MsgCreateGroupPolicy; - fromSDK(object: _62.MsgCreateGroupPolicySDKType): _62.MsgCreateGroupPolicy; - toSDK(message: _62.MsgCreateGroupPolicy): _62.MsgCreateGroupPolicySDKType; - fromAmino(object: _62.MsgCreateGroupPolicyAmino): _62.MsgCreateGroupPolicy; - toAmino(message: _62.MsgCreateGroupPolicy): _62.MsgCreateGroupPolicyAmino; - fromAminoMsg(object: _62.MsgCreateGroupPolicyAminoMsg): _62.MsgCreateGroupPolicy; - toAminoMsg(message: _62.MsgCreateGroupPolicy): _62.MsgCreateGroupPolicyAminoMsg; - fromProtoMsg(message: _62.MsgCreateGroupPolicyProtoMsg): _62.MsgCreateGroupPolicy; - toProto(message: _62.MsgCreateGroupPolicy): Uint8Array; - toProtoMsg(message: _62.MsgCreateGroupPolicy): _62.MsgCreateGroupPolicyProtoMsg; - }; - MsgCreateGroupPolicyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgCreateGroupPolicyResponse; - isSDK(o: any): o is _62.MsgCreateGroupPolicyResponseSDKType; - isAmino(o: any): o is _62.MsgCreateGroupPolicyResponseAmino; - encode(message: _62.MsgCreateGroupPolicyResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgCreateGroupPolicyResponse; - fromJSON(object: any): _62.MsgCreateGroupPolicyResponse; - toJSON(message: _62.MsgCreateGroupPolicyResponse): unknown; - fromPartial(object: { - address?: string; - }): _62.MsgCreateGroupPolicyResponse; - fromSDK(object: _62.MsgCreateGroupPolicyResponseSDKType): _62.MsgCreateGroupPolicyResponse; - toSDK(message: _62.MsgCreateGroupPolicyResponse): _62.MsgCreateGroupPolicyResponseSDKType; - fromAmino(object: _62.MsgCreateGroupPolicyResponseAmino): _62.MsgCreateGroupPolicyResponse; - toAmino(message: _62.MsgCreateGroupPolicyResponse): _62.MsgCreateGroupPolicyResponseAmino; - fromAminoMsg(object: _62.MsgCreateGroupPolicyResponseAminoMsg): _62.MsgCreateGroupPolicyResponse; - toAminoMsg(message: _62.MsgCreateGroupPolicyResponse): _62.MsgCreateGroupPolicyResponseAminoMsg; - fromProtoMsg(message: _62.MsgCreateGroupPolicyResponseProtoMsg): _62.MsgCreateGroupPolicyResponse; - toProto(message: _62.MsgCreateGroupPolicyResponse): Uint8Array; - toProtoMsg(message: _62.MsgCreateGroupPolicyResponse): _62.MsgCreateGroupPolicyResponseProtoMsg; - }; - MsgUpdateGroupPolicyAdmin: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgUpdateGroupPolicyAdmin; - isSDK(o: any): o is _62.MsgUpdateGroupPolicyAdminSDKType; - isAmino(o: any): o is _62.MsgUpdateGroupPolicyAdminAmino; - encode(message: _62.MsgUpdateGroupPolicyAdmin, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgUpdateGroupPolicyAdmin; - fromJSON(object: any): _62.MsgUpdateGroupPolicyAdmin; - toJSON(message: _62.MsgUpdateGroupPolicyAdmin): unknown; - fromPartial(object: { - admin?: string; - address?: string; - newAdmin?: string; - }): _62.MsgUpdateGroupPolicyAdmin; - fromSDK(object: _62.MsgUpdateGroupPolicyAdminSDKType): _62.MsgUpdateGroupPolicyAdmin; - toSDK(message: _62.MsgUpdateGroupPolicyAdmin): _62.MsgUpdateGroupPolicyAdminSDKType; - fromAmino(object: _62.MsgUpdateGroupPolicyAdminAmino): _62.MsgUpdateGroupPolicyAdmin; - toAmino(message: _62.MsgUpdateGroupPolicyAdmin): _62.MsgUpdateGroupPolicyAdminAmino; - fromAminoMsg(object: _62.MsgUpdateGroupPolicyAdminAminoMsg): _62.MsgUpdateGroupPolicyAdmin; - toAminoMsg(message: _62.MsgUpdateGroupPolicyAdmin): _62.MsgUpdateGroupPolicyAdminAminoMsg; - fromProtoMsg(message: _62.MsgUpdateGroupPolicyAdminProtoMsg): _62.MsgUpdateGroupPolicyAdmin; - toProto(message: _62.MsgUpdateGroupPolicyAdmin): Uint8Array; - toProtoMsg(message: _62.MsgUpdateGroupPolicyAdmin): _62.MsgUpdateGroupPolicyAdminProtoMsg; - }; - MsgCreateGroupWithPolicy: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgCreateGroupWithPolicy; - isSDK(o: any): o is _62.MsgCreateGroupWithPolicySDKType; - isAmino(o: any): o is _62.MsgCreateGroupWithPolicyAmino; - encode(message: _62.MsgCreateGroupWithPolicy, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgCreateGroupWithPolicy; - fromJSON(object: any): _62.MsgCreateGroupWithPolicy; - toJSON(message: _62.MsgCreateGroupWithPolicy): unknown; - fromPartial(object: { - admin?: string; - members?: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }[]; - groupMetadata?: string; - groupPolicyMetadata?: string; - groupPolicyAsAdmin?: boolean; - decisionPolicy?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.group.v1.ThresholdDecisionPolicy"; - threshold?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - } | { - $typeUrl?: "/cosmos.group.v1.PercentageDecisionPolicy"; - percentage?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - }; - }): _62.MsgCreateGroupWithPolicy; - fromSDK(object: _62.MsgCreateGroupWithPolicySDKType): _62.MsgCreateGroupWithPolicy; - toSDK(message: _62.MsgCreateGroupWithPolicy): _62.MsgCreateGroupWithPolicySDKType; - fromAmino(object: _62.MsgCreateGroupWithPolicyAmino): _62.MsgCreateGroupWithPolicy; - toAmino(message: _62.MsgCreateGroupWithPolicy): _62.MsgCreateGroupWithPolicyAmino; - fromAminoMsg(object: _62.MsgCreateGroupWithPolicyAminoMsg): _62.MsgCreateGroupWithPolicy; - toAminoMsg(message: _62.MsgCreateGroupWithPolicy): _62.MsgCreateGroupWithPolicyAminoMsg; - fromProtoMsg(message: _62.MsgCreateGroupWithPolicyProtoMsg): _62.MsgCreateGroupWithPolicy; - toProto(message: _62.MsgCreateGroupWithPolicy): Uint8Array; - toProtoMsg(message: _62.MsgCreateGroupWithPolicy): _62.MsgCreateGroupWithPolicyProtoMsg; - }; - MsgCreateGroupWithPolicyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgCreateGroupWithPolicyResponse; - isSDK(o: any): o is _62.MsgCreateGroupWithPolicyResponseSDKType; - isAmino(o: any): o is _62.MsgCreateGroupWithPolicyResponseAmino; - encode(message: _62.MsgCreateGroupWithPolicyResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgCreateGroupWithPolicyResponse; - fromJSON(object: any): _62.MsgCreateGroupWithPolicyResponse; - toJSON(message: _62.MsgCreateGroupWithPolicyResponse): unknown; - fromPartial(object: { - groupId?: bigint; - groupPolicyAddress?: string; - }): _62.MsgCreateGroupWithPolicyResponse; - fromSDK(object: _62.MsgCreateGroupWithPolicyResponseSDKType): _62.MsgCreateGroupWithPolicyResponse; - toSDK(message: _62.MsgCreateGroupWithPolicyResponse): _62.MsgCreateGroupWithPolicyResponseSDKType; - fromAmino(object: _62.MsgCreateGroupWithPolicyResponseAmino): _62.MsgCreateGroupWithPolicyResponse; - toAmino(message: _62.MsgCreateGroupWithPolicyResponse): _62.MsgCreateGroupWithPolicyResponseAmino; - fromAminoMsg(object: _62.MsgCreateGroupWithPolicyResponseAminoMsg): _62.MsgCreateGroupWithPolicyResponse; - toAminoMsg(message: _62.MsgCreateGroupWithPolicyResponse): _62.MsgCreateGroupWithPolicyResponseAminoMsg; - fromProtoMsg(message: _62.MsgCreateGroupWithPolicyResponseProtoMsg): _62.MsgCreateGroupWithPolicyResponse; - toProto(message: _62.MsgCreateGroupWithPolicyResponse): Uint8Array; - toProtoMsg(message: _62.MsgCreateGroupWithPolicyResponse): _62.MsgCreateGroupWithPolicyResponseProtoMsg; - }; - MsgUpdateGroupPolicyAdminResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgUpdateGroupPolicyAdminResponse; - isSDK(o: any): o is _62.MsgUpdateGroupPolicyAdminResponseSDKType; - isAmino(o: any): o is _62.MsgUpdateGroupPolicyAdminResponseAmino; - encode(_: _62.MsgUpdateGroupPolicyAdminResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgUpdateGroupPolicyAdminResponse; - fromJSON(_: any): _62.MsgUpdateGroupPolicyAdminResponse; - toJSON(_: _62.MsgUpdateGroupPolicyAdminResponse): unknown; - fromPartial(_: {}): _62.MsgUpdateGroupPolicyAdminResponse; - fromSDK(_: _62.MsgUpdateGroupPolicyAdminResponseSDKType): _62.MsgUpdateGroupPolicyAdminResponse; - toSDK(_: _62.MsgUpdateGroupPolicyAdminResponse): _62.MsgUpdateGroupPolicyAdminResponseSDKType; - fromAmino(_: _62.MsgUpdateGroupPolicyAdminResponseAmino): _62.MsgUpdateGroupPolicyAdminResponse; - toAmino(_: _62.MsgUpdateGroupPolicyAdminResponse): _62.MsgUpdateGroupPolicyAdminResponseAmino; - fromAminoMsg(object: _62.MsgUpdateGroupPolicyAdminResponseAminoMsg): _62.MsgUpdateGroupPolicyAdminResponse; - toAminoMsg(message: _62.MsgUpdateGroupPolicyAdminResponse): _62.MsgUpdateGroupPolicyAdminResponseAminoMsg; - fromProtoMsg(message: _62.MsgUpdateGroupPolicyAdminResponseProtoMsg): _62.MsgUpdateGroupPolicyAdminResponse; - toProto(message: _62.MsgUpdateGroupPolicyAdminResponse): Uint8Array; - toProtoMsg(message: _62.MsgUpdateGroupPolicyAdminResponse): _62.MsgUpdateGroupPolicyAdminResponseProtoMsg; - }; - MsgUpdateGroupPolicyDecisionPolicy: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgUpdateGroupPolicyDecisionPolicy; - isSDK(o: any): o is _62.MsgUpdateGroupPolicyDecisionPolicySDKType; - isAmino(o: any): o is _62.MsgUpdateGroupPolicyDecisionPolicyAmino; - encode(message: _62.MsgUpdateGroupPolicyDecisionPolicy, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgUpdateGroupPolicyDecisionPolicy; - fromJSON(object: any): _62.MsgUpdateGroupPolicyDecisionPolicy; - toJSON(message: _62.MsgUpdateGroupPolicyDecisionPolicy): unknown; - fromPartial(object: { - admin?: string; - address?: string; - decisionPolicy?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.group.v1.ThresholdDecisionPolicy"; - threshold?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - } | { - $typeUrl?: "/cosmos.group.v1.PercentageDecisionPolicy"; - percentage?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - }; - }): _62.MsgUpdateGroupPolicyDecisionPolicy; - fromSDK(object: _62.MsgUpdateGroupPolicyDecisionPolicySDKType): _62.MsgUpdateGroupPolicyDecisionPolicy; - toSDK(message: _62.MsgUpdateGroupPolicyDecisionPolicy): _62.MsgUpdateGroupPolicyDecisionPolicySDKType; - fromAmino(object: _62.MsgUpdateGroupPolicyDecisionPolicyAmino): _62.MsgUpdateGroupPolicyDecisionPolicy; - toAmino(message: _62.MsgUpdateGroupPolicyDecisionPolicy): _62.MsgUpdateGroupPolicyDecisionPolicyAmino; - fromAminoMsg(object: _62.MsgUpdateGroupPolicyDecisionPolicyAminoMsg): _62.MsgUpdateGroupPolicyDecisionPolicy; - toAminoMsg(message: _62.MsgUpdateGroupPolicyDecisionPolicy): _62.MsgUpdateGroupPolicyDecisionPolicyAminoMsg; - fromProtoMsg(message: _62.MsgUpdateGroupPolicyDecisionPolicyProtoMsg): _62.MsgUpdateGroupPolicyDecisionPolicy; - toProto(message: _62.MsgUpdateGroupPolicyDecisionPolicy): Uint8Array; - toProtoMsg(message: _62.MsgUpdateGroupPolicyDecisionPolicy): _62.MsgUpdateGroupPolicyDecisionPolicyProtoMsg; - }; - MsgUpdateGroupPolicyDecisionPolicyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgUpdateGroupPolicyDecisionPolicyResponse; - isSDK(o: any): o is _62.MsgUpdateGroupPolicyDecisionPolicyResponseSDKType; - isAmino(o: any): o is _62.MsgUpdateGroupPolicyDecisionPolicyResponseAmino; - encode(_: _62.MsgUpdateGroupPolicyDecisionPolicyResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgUpdateGroupPolicyDecisionPolicyResponse; - fromJSON(_: any): _62.MsgUpdateGroupPolicyDecisionPolicyResponse; - toJSON(_: _62.MsgUpdateGroupPolicyDecisionPolicyResponse): unknown; - fromPartial(_: {}): _62.MsgUpdateGroupPolicyDecisionPolicyResponse; - fromSDK(_: _62.MsgUpdateGroupPolicyDecisionPolicyResponseSDKType): _62.MsgUpdateGroupPolicyDecisionPolicyResponse; - toSDK(_: _62.MsgUpdateGroupPolicyDecisionPolicyResponse): _62.MsgUpdateGroupPolicyDecisionPolicyResponseSDKType; - fromAmino(_: _62.MsgUpdateGroupPolicyDecisionPolicyResponseAmino): _62.MsgUpdateGroupPolicyDecisionPolicyResponse; - toAmino(_: _62.MsgUpdateGroupPolicyDecisionPolicyResponse): _62.MsgUpdateGroupPolicyDecisionPolicyResponseAmino; - fromAminoMsg(object: _62.MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg): _62.MsgUpdateGroupPolicyDecisionPolicyResponse; - toAminoMsg(message: _62.MsgUpdateGroupPolicyDecisionPolicyResponse): _62.MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg; - fromProtoMsg(message: _62.MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg): _62.MsgUpdateGroupPolicyDecisionPolicyResponse; - toProto(message: _62.MsgUpdateGroupPolicyDecisionPolicyResponse): Uint8Array; - toProtoMsg(message: _62.MsgUpdateGroupPolicyDecisionPolicyResponse): _62.MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg; - }; - MsgUpdateGroupPolicyMetadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgUpdateGroupPolicyMetadata; - isSDK(o: any): o is _62.MsgUpdateGroupPolicyMetadataSDKType; - isAmino(o: any): o is _62.MsgUpdateGroupPolicyMetadataAmino; - encode(message: _62.MsgUpdateGroupPolicyMetadata, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgUpdateGroupPolicyMetadata; - fromJSON(object: any): _62.MsgUpdateGroupPolicyMetadata; - toJSON(message: _62.MsgUpdateGroupPolicyMetadata): unknown; - fromPartial(object: { - admin?: string; - address?: string; - metadata?: string; - }): _62.MsgUpdateGroupPolicyMetadata; - fromSDK(object: _62.MsgUpdateGroupPolicyMetadataSDKType): _62.MsgUpdateGroupPolicyMetadata; - toSDK(message: _62.MsgUpdateGroupPolicyMetadata): _62.MsgUpdateGroupPolicyMetadataSDKType; - fromAmino(object: _62.MsgUpdateGroupPolicyMetadataAmino): _62.MsgUpdateGroupPolicyMetadata; - toAmino(message: _62.MsgUpdateGroupPolicyMetadata): _62.MsgUpdateGroupPolicyMetadataAmino; - fromAminoMsg(object: _62.MsgUpdateGroupPolicyMetadataAminoMsg): _62.MsgUpdateGroupPolicyMetadata; - toAminoMsg(message: _62.MsgUpdateGroupPolicyMetadata): _62.MsgUpdateGroupPolicyMetadataAminoMsg; - fromProtoMsg(message: _62.MsgUpdateGroupPolicyMetadataProtoMsg): _62.MsgUpdateGroupPolicyMetadata; - toProto(message: _62.MsgUpdateGroupPolicyMetadata): Uint8Array; - toProtoMsg(message: _62.MsgUpdateGroupPolicyMetadata): _62.MsgUpdateGroupPolicyMetadataProtoMsg; - }; - MsgUpdateGroupPolicyMetadataResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgUpdateGroupPolicyMetadataResponse; - isSDK(o: any): o is _62.MsgUpdateGroupPolicyMetadataResponseSDKType; - isAmino(o: any): o is _62.MsgUpdateGroupPolicyMetadataResponseAmino; - encode(_: _62.MsgUpdateGroupPolicyMetadataResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgUpdateGroupPolicyMetadataResponse; - fromJSON(_: any): _62.MsgUpdateGroupPolicyMetadataResponse; - toJSON(_: _62.MsgUpdateGroupPolicyMetadataResponse): unknown; - fromPartial(_: {}): _62.MsgUpdateGroupPolicyMetadataResponse; - fromSDK(_: _62.MsgUpdateGroupPolicyMetadataResponseSDKType): _62.MsgUpdateGroupPolicyMetadataResponse; - toSDK(_: _62.MsgUpdateGroupPolicyMetadataResponse): _62.MsgUpdateGroupPolicyMetadataResponseSDKType; - fromAmino(_: _62.MsgUpdateGroupPolicyMetadataResponseAmino): _62.MsgUpdateGroupPolicyMetadataResponse; - toAmino(_: _62.MsgUpdateGroupPolicyMetadataResponse): _62.MsgUpdateGroupPolicyMetadataResponseAmino; - fromAminoMsg(object: _62.MsgUpdateGroupPolicyMetadataResponseAminoMsg): _62.MsgUpdateGroupPolicyMetadataResponse; - toAminoMsg(message: _62.MsgUpdateGroupPolicyMetadataResponse): _62.MsgUpdateGroupPolicyMetadataResponseAminoMsg; - fromProtoMsg(message: _62.MsgUpdateGroupPolicyMetadataResponseProtoMsg): _62.MsgUpdateGroupPolicyMetadataResponse; - toProto(message: _62.MsgUpdateGroupPolicyMetadataResponse): Uint8Array; - toProtoMsg(message: _62.MsgUpdateGroupPolicyMetadataResponse): _62.MsgUpdateGroupPolicyMetadataResponseProtoMsg; - }; - MsgSubmitProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgSubmitProposal; - isSDK(o: any): o is _62.MsgSubmitProposalSDKType; - isAmino(o: any): o is _62.MsgSubmitProposalAmino; - encode(message: _62.MsgSubmitProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgSubmitProposal; - fromJSON(object: any): _62.MsgSubmitProposal; - toJSON(message: _62.MsgSubmitProposal): unknown; - fromPartial(object: { - address?: string; - proposers?: string[]; - metadata?: string; - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - exec?: _62.Exec; - }): _62.MsgSubmitProposal; - fromSDK(object: _62.MsgSubmitProposalSDKType): _62.MsgSubmitProposal; - toSDK(message: _62.MsgSubmitProposal): _62.MsgSubmitProposalSDKType; - fromAmino(object: _62.MsgSubmitProposalAmino): _62.MsgSubmitProposal; - toAmino(message: _62.MsgSubmitProposal): _62.MsgSubmitProposalAmino; - fromAminoMsg(object: _62.MsgSubmitProposalAminoMsg): _62.MsgSubmitProposal; - toAminoMsg(message: _62.MsgSubmitProposal): _62.MsgSubmitProposalAminoMsg; - fromProtoMsg(message: _62.MsgSubmitProposalProtoMsg): _62.MsgSubmitProposal; - toProto(message: _62.MsgSubmitProposal): Uint8Array; - toProtoMsg(message: _62.MsgSubmitProposal): _62.MsgSubmitProposalProtoMsg; - }; - MsgSubmitProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgSubmitProposalResponse; - isSDK(o: any): o is _62.MsgSubmitProposalResponseSDKType; - isAmino(o: any): o is _62.MsgSubmitProposalResponseAmino; - encode(message: _62.MsgSubmitProposalResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgSubmitProposalResponse; - fromJSON(object: any): _62.MsgSubmitProposalResponse; - toJSON(message: _62.MsgSubmitProposalResponse): unknown; - fromPartial(object: { - proposalId?: bigint; - }): _62.MsgSubmitProposalResponse; - fromSDK(object: _62.MsgSubmitProposalResponseSDKType): _62.MsgSubmitProposalResponse; - toSDK(message: _62.MsgSubmitProposalResponse): _62.MsgSubmitProposalResponseSDKType; - fromAmino(object: _62.MsgSubmitProposalResponseAmino): _62.MsgSubmitProposalResponse; - toAmino(message: _62.MsgSubmitProposalResponse): _62.MsgSubmitProposalResponseAmino; - fromAminoMsg(object: _62.MsgSubmitProposalResponseAminoMsg): _62.MsgSubmitProposalResponse; - toAminoMsg(message: _62.MsgSubmitProposalResponse): _62.MsgSubmitProposalResponseAminoMsg; - fromProtoMsg(message: _62.MsgSubmitProposalResponseProtoMsg): _62.MsgSubmitProposalResponse; - toProto(message: _62.MsgSubmitProposalResponse): Uint8Array; - toProtoMsg(message: _62.MsgSubmitProposalResponse): _62.MsgSubmitProposalResponseProtoMsg; - }; - MsgWithdrawProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgWithdrawProposal; - isSDK(o: any): o is _62.MsgWithdrawProposalSDKType; - isAmino(o: any): o is _62.MsgWithdrawProposalAmino; - encode(message: _62.MsgWithdrawProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgWithdrawProposal; - fromJSON(object: any): _62.MsgWithdrawProposal; - toJSON(message: _62.MsgWithdrawProposal): unknown; - fromPartial(object: { - proposalId?: bigint; - address?: string; - }): _62.MsgWithdrawProposal; - fromSDK(object: _62.MsgWithdrawProposalSDKType): _62.MsgWithdrawProposal; - toSDK(message: _62.MsgWithdrawProposal): _62.MsgWithdrawProposalSDKType; - fromAmino(object: _62.MsgWithdrawProposalAmino): _62.MsgWithdrawProposal; - toAmino(message: _62.MsgWithdrawProposal): _62.MsgWithdrawProposalAmino; - fromAminoMsg(object: _62.MsgWithdrawProposalAminoMsg): _62.MsgWithdrawProposal; - toAminoMsg(message: _62.MsgWithdrawProposal): _62.MsgWithdrawProposalAminoMsg; - fromProtoMsg(message: _62.MsgWithdrawProposalProtoMsg): _62.MsgWithdrawProposal; - toProto(message: _62.MsgWithdrawProposal): Uint8Array; - toProtoMsg(message: _62.MsgWithdrawProposal): _62.MsgWithdrawProposalProtoMsg; - }; - MsgWithdrawProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgWithdrawProposalResponse; - isSDK(o: any): o is _62.MsgWithdrawProposalResponseSDKType; - isAmino(o: any): o is _62.MsgWithdrawProposalResponseAmino; - encode(_: _62.MsgWithdrawProposalResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgWithdrawProposalResponse; - fromJSON(_: any): _62.MsgWithdrawProposalResponse; - toJSON(_: _62.MsgWithdrawProposalResponse): unknown; - fromPartial(_: {}): _62.MsgWithdrawProposalResponse; - fromSDK(_: _62.MsgWithdrawProposalResponseSDKType): _62.MsgWithdrawProposalResponse; - toSDK(_: _62.MsgWithdrawProposalResponse): _62.MsgWithdrawProposalResponseSDKType; - fromAmino(_: _62.MsgWithdrawProposalResponseAmino): _62.MsgWithdrawProposalResponse; - toAmino(_: _62.MsgWithdrawProposalResponse): _62.MsgWithdrawProposalResponseAmino; - fromAminoMsg(object: _62.MsgWithdrawProposalResponseAminoMsg): _62.MsgWithdrawProposalResponse; - toAminoMsg(message: _62.MsgWithdrawProposalResponse): _62.MsgWithdrawProposalResponseAminoMsg; - fromProtoMsg(message: _62.MsgWithdrawProposalResponseProtoMsg): _62.MsgWithdrawProposalResponse; - toProto(message: _62.MsgWithdrawProposalResponse): Uint8Array; - toProtoMsg(message: _62.MsgWithdrawProposalResponse): _62.MsgWithdrawProposalResponseProtoMsg; - }; - MsgVote: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgVote; - isSDK(o: any): o is _62.MsgVoteSDKType; - isAmino(o: any): o is _62.MsgVoteAmino; - encode(message: _62.MsgVote, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgVote; - fromJSON(object: any): _62.MsgVote; - toJSON(message: _62.MsgVote): unknown; - fromPartial(object: { - proposalId?: bigint; - voter?: string; - option?: _63.VoteOption; - metadata?: string; - exec?: _62.Exec; - }): _62.MsgVote; - fromSDK(object: _62.MsgVoteSDKType): _62.MsgVote; - toSDK(message: _62.MsgVote): _62.MsgVoteSDKType; - fromAmino(object: _62.MsgVoteAmino): _62.MsgVote; - toAmino(message: _62.MsgVote): _62.MsgVoteAmino; - fromAminoMsg(object: _62.MsgVoteAminoMsg): _62.MsgVote; - toAminoMsg(message: _62.MsgVote): _62.MsgVoteAminoMsg; - fromProtoMsg(message: _62.MsgVoteProtoMsg): _62.MsgVote; - toProto(message: _62.MsgVote): Uint8Array; - toProtoMsg(message: _62.MsgVote): _62.MsgVoteProtoMsg; - }; - MsgVoteResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgVoteResponse; - isSDK(o: any): o is _62.MsgVoteResponseSDKType; - isAmino(o: any): o is _62.MsgVoteResponseAmino; - encode(_: _62.MsgVoteResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgVoteResponse; - fromJSON(_: any): _62.MsgVoteResponse; - toJSON(_: _62.MsgVoteResponse): unknown; - fromPartial(_: {}): _62.MsgVoteResponse; - fromSDK(_: _62.MsgVoteResponseSDKType): _62.MsgVoteResponse; - toSDK(_: _62.MsgVoteResponse): _62.MsgVoteResponseSDKType; - fromAmino(_: _62.MsgVoteResponseAmino): _62.MsgVoteResponse; - toAmino(_: _62.MsgVoteResponse): _62.MsgVoteResponseAmino; - fromAminoMsg(object: _62.MsgVoteResponseAminoMsg): _62.MsgVoteResponse; - toAminoMsg(message: _62.MsgVoteResponse): _62.MsgVoteResponseAminoMsg; - fromProtoMsg(message: _62.MsgVoteResponseProtoMsg): _62.MsgVoteResponse; - toProto(message: _62.MsgVoteResponse): Uint8Array; - toProtoMsg(message: _62.MsgVoteResponse): _62.MsgVoteResponseProtoMsg; - }; - MsgExec: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgExec; - isSDK(o: any): o is _62.MsgExecSDKType; - isAmino(o: any): o is _62.MsgExecAmino; - encode(message: _62.MsgExec, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgExec; - fromJSON(object: any): _62.MsgExec; - toJSON(message: _62.MsgExec): unknown; - fromPartial(object: { - proposalId?: bigint; - signer?: string; - }): _62.MsgExec; - fromSDK(object: _62.MsgExecSDKType): _62.MsgExec; - toSDK(message: _62.MsgExec): _62.MsgExecSDKType; - fromAmino(object: _62.MsgExecAmino): _62.MsgExec; - toAmino(message: _62.MsgExec): _62.MsgExecAmino; - fromAminoMsg(object: _62.MsgExecAminoMsg): _62.MsgExec; - toAminoMsg(message: _62.MsgExec): _62.MsgExecAminoMsg; - fromProtoMsg(message: _62.MsgExecProtoMsg): _62.MsgExec; - toProto(message: _62.MsgExec): Uint8Array; - toProtoMsg(message: _62.MsgExec): _62.MsgExecProtoMsg; - }; - MsgExecResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgExecResponse; - isSDK(o: any): o is _62.MsgExecResponseSDKType; - isAmino(o: any): o is _62.MsgExecResponseAmino; - encode(_: _62.MsgExecResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgExecResponse; - fromJSON(_: any): _62.MsgExecResponse; - toJSON(_: _62.MsgExecResponse): unknown; - fromPartial(_: {}): _62.MsgExecResponse; - fromSDK(_: _62.MsgExecResponseSDKType): _62.MsgExecResponse; - toSDK(_: _62.MsgExecResponse): _62.MsgExecResponseSDKType; - fromAmino(_: _62.MsgExecResponseAmino): _62.MsgExecResponse; - toAmino(_: _62.MsgExecResponse): _62.MsgExecResponseAmino; - fromAminoMsg(object: _62.MsgExecResponseAminoMsg): _62.MsgExecResponse; - toAminoMsg(message: _62.MsgExecResponse): _62.MsgExecResponseAminoMsg; - fromProtoMsg(message: _62.MsgExecResponseProtoMsg): _62.MsgExecResponse; - toProto(message: _62.MsgExecResponse): Uint8Array; - toProtoMsg(message: _62.MsgExecResponse): _62.MsgExecResponseProtoMsg; - }; - MsgLeaveGroup: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgLeaveGroup; - isSDK(o: any): o is _62.MsgLeaveGroupSDKType; - isAmino(o: any): o is _62.MsgLeaveGroupAmino; - encode(message: _62.MsgLeaveGroup, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgLeaveGroup; - fromJSON(object: any): _62.MsgLeaveGroup; - toJSON(message: _62.MsgLeaveGroup): unknown; - fromPartial(object: { - address?: string; - groupId?: bigint; - }): _62.MsgLeaveGroup; - fromSDK(object: _62.MsgLeaveGroupSDKType): _62.MsgLeaveGroup; - toSDK(message: _62.MsgLeaveGroup): _62.MsgLeaveGroupSDKType; - fromAmino(object: _62.MsgLeaveGroupAmino): _62.MsgLeaveGroup; - toAmino(message: _62.MsgLeaveGroup): _62.MsgLeaveGroupAmino; - fromAminoMsg(object: _62.MsgLeaveGroupAminoMsg): _62.MsgLeaveGroup; - toAminoMsg(message: _62.MsgLeaveGroup): _62.MsgLeaveGroupAminoMsg; - fromProtoMsg(message: _62.MsgLeaveGroupProtoMsg): _62.MsgLeaveGroup; - toProto(message: _62.MsgLeaveGroup): Uint8Array; - toProtoMsg(message: _62.MsgLeaveGroup): _62.MsgLeaveGroupProtoMsg; - }; - MsgLeaveGroupResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _62.MsgLeaveGroupResponse; - isSDK(o: any): o is _62.MsgLeaveGroupResponseSDKType; - isAmino(o: any): o is _62.MsgLeaveGroupResponseAmino; - encode(_: _62.MsgLeaveGroupResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _62.MsgLeaveGroupResponse; - fromJSON(_: any): _62.MsgLeaveGroupResponse; - toJSON(_: _62.MsgLeaveGroupResponse): unknown; - fromPartial(_: {}): _62.MsgLeaveGroupResponse; - fromSDK(_: _62.MsgLeaveGroupResponseSDKType): _62.MsgLeaveGroupResponse; - toSDK(_: _62.MsgLeaveGroupResponse): _62.MsgLeaveGroupResponseSDKType; - fromAmino(_: _62.MsgLeaveGroupResponseAmino): _62.MsgLeaveGroupResponse; - toAmino(_: _62.MsgLeaveGroupResponse): _62.MsgLeaveGroupResponseAmino; - fromAminoMsg(object: _62.MsgLeaveGroupResponseAminoMsg): _62.MsgLeaveGroupResponse; - toAminoMsg(message: _62.MsgLeaveGroupResponse): _62.MsgLeaveGroupResponseAminoMsg; - fromProtoMsg(message: _62.MsgLeaveGroupResponseProtoMsg): _62.MsgLeaveGroupResponse; - toProto(message: _62.MsgLeaveGroupResponse): Uint8Array; - toProtoMsg(message: _62.MsgLeaveGroupResponse): _62.MsgLeaveGroupResponseProtoMsg; - }; - QueryGroupInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryGroupInfoRequest; - isSDK(o: any): o is _61.QueryGroupInfoRequestSDKType; - isAmino(o: any): o is _61.QueryGroupInfoRequestAmino; - encode(message: _61.QueryGroupInfoRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryGroupInfoRequest; - fromJSON(object: any): _61.QueryGroupInfoRequest; - toJSON(message: _61.QueryGroupInfoRequest): unknown; - fromPartial(object: { - groupId?: bigint; - }): _61.QueryGroupInfoRequest; - fromSDK(object: _61.QueryGroupInfoRequestSDKType): _61.QueryGroupInfoRequest; - toSDK(message: _61.QueryGroupInfoRequest): _61.QueryGroupInfoRequestSDKType; - fromAmino(object: _61.QueryGroupInfoRequestAmino): _61.QueryGroupInfoRequest; - toAmino(message: _61.QueryGroupInfoRequest): _61.QueryGroupInfoRequestAmino; - fromAminoMsg(object: _61.QueryGroupInfoRequestAminoMsg): _61.QueryGroupInfoRequest; - toAminoMsg(message: _61.QueryGroupInfoRequest): _61.QueryGroupInfoRequestAminoMsg; - fromProtoMsg(message: _61.QueryGroupInfoRequestProtoMsg): _61.QueryGroupInfoRequest; - toProto(message: _61.QueryGroupInfoRequest): Uint8Array; - toProtoMsg(message: _61.QueryGroupInfoRequest): _61.QueryGroupInfoRequestProtoMsg; - }; - QueryGroupInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryGroupInfoResponse; - isSDK(o: any): o is _61.QueryGroupInfoResponseSDKType; - isAmino(o: any): o is _61.QueryGroupInfoResponseAmino; - encode(message: _61.QueryGroupInfoResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryGroupInfoResponse; - fromJSON(object: any): _61.QueryGroupInfoResponse; - toJSON(message: _61.QueryGroupInfoResponse): unknown; - fromPartial(object: { - info?: { - id?: bigint; - admin?: string; - metadata?: string; - version?: bigint; - totalWeight?: string; - createdAt?: Date; - }; - }): _61.QueryGroupInfoResponse; - fromSDK(object: _61.QueryGroupInfoResponseSDKType): _61.QueryGroupInfoResponse; - toSDK(message: _61.QueryGroupInfoResponse): _61.QueryGroupInfoResponseSDKType; - fromAmino(object: _61.QueryGroupInfoResponseAmino): _61.QueryGroupInfoResponse; - toAmino(message: _61.QueryGroupInfoResponse): _61.QueryGroupInfoResponseAmino; - fromAminoMsg(object: _61.QueryGroupInfoResponseAminoMsg): _61.QueryGroupInfoResponse; - toAminoMsg(message: _61.QueryGroupInfoResponse): _61.QueryGroupInfoResponseAminoMsg; - fromProtoMsg(message: _61.QueryGroupInfoResponseProtoMsg): _61.QueryGroupInfoResponse; - toProto(message: _61.QueryGroupInfoResponse): Uint8Array; - toProtoMsg(message: _61.QueryGroupInfoResponse): _61.QueryGroupInfoResponseProtoMsg; - }; - QueryGroupPolicyInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryGroupPolicyInfoRequest; - isSDK(o: any): o is _61.QueryGroupPolicyInfoRequestSDKType; - isAmino(o: any): o is _61.QueryGroupPolicyInfoRequestAmino; - encode(message: _61.QueryGroupPolicyInfoRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryGroupPolicyInfoRequest; - fromJSON(object: any): _61.QueryGroupPolicyInfoRequest; - toJSON(message: _61.QueryGroupPolicyInfoRequest): unknown; - fromPartial(object: { - address?: string; - }): _61.QueryGroupPolicyInfoRequest; - fromSDK(object: _61.QueryGroupPolicyInfoRequestSDKType): _61.QueryGroupPolicyInfoRequest; - toSDK(message: _61.QueryGroupPolicyInfoRequest): _61.QueryGroupPolicyInfoRequestSDKType; - fromAmino(object: _61.QueryGroupPolicyInfoRequestAmino): _61.QueryGroupPolicyInfoRequest; - toAmino(message: _61.QueryGroupPolicyInfoRequest): _61.QueryGroupPolicyInfoRequestAmino; - fromAminoMsg(object: _61.QueryGroupPolicyInfoRequestAminoMsg): _61.QueryGroupPolicyInfoRequest; - toAminoMsg(message: _61.QueryGroupPolicyInfoRequest): _61.QueryGroupPolicyInfoRequestAminoMsg; - fromProtoMsg(message: _61.QueryGroupPolicyInfoRequestProtoMsg): _61.QueryGroupPolicyInfoRequest; - toProto(message: _61.QueryGroupPolicyInfoRequest): Uint8Array; - toProtoMsg(message: _61.QueryGroupPolicyInfoRequest): _61.QueryGroupPolicyInfoRequestProtoMsg; - }; - QueryGroupPolicyInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryGroupPolicyInfoResponse; - isSDK(o: any): o is _61.QueryGroupPolicyInfoResponseSDKType; - isAmino(o: any): o is _61.QueryGroupPolicyInfoResponseAmino; - encode(message: _61.QueryGroupPolicyInfoResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryGroupPolicyInfoResponse; - fromJSON(object: any): _61.QueryGroupPolicyInfoResponse; - toJSON(message: _61.QueryGroupPolicyInfoResponse): unknown; - fromPartial(object: { - info?: { - address?: string; - groupId?: bigint; - admin?: string; - metadata?: string; - version?: bigint; - decisionPolicy?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.group.v1.ThresholdDecisionPolicy"; - threshold?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - } | { - $typeUrl?: "/cosmos.group.v1.PercentageDecisionPolicy"; - percentage?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - }; - createdAt?: Date; - }; - }): _61.QueryGroupPolicyInfoResponse; - fromSDK(object: _61.QueryGroupPolicyInfoResponseSDKType): _61.QueryGroupPolicyInfoResponse; - toSDK(message: _61.QueryGroupPolicyInfoResponse): _61.QueryGroupPolicyInfoResponseSDKType; - fromAmino(object: _61.QueryGroupPolicyInfoResponseAmino): _61.QueryGroupPolicyInfoResponse; - toAmino(message: _61.QueryGroupPolicyInfoResponse): _61.QueryGroupPolicyInfoResponseAmino; - fromAminoMsg(object: _61.QueryGroupPolicyInfoResponseAminoMsg): _61.QueryGroupPolicyInfoResponse; - toAminoMsg(message: _61.QueryGroupPolicyInfoResponse): _61.QueryGroupPolicyInfoResponseAminoMsg; - fromProtoMsg(message: _61.QueryGroupPolicyInfoResponseProtoMsg): _61.QueryGroupPolicyInfoResponse; - toProto(message: _61.QueryGroupPolicyInfoResponse): Uint8Array; - toProtoMsg(message: _61.QueryGroupPolicyInfoResponse): _61.QueryGroupPolicyInfoResponseProtoMsg; - }; - QueryGroupMembersRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryGroupMembersRequest; - isSDK(o: any): o is _61.QueryGroupMembersRequestSDKType; - isAmino(o: any): o is _61.QueryGroupMembersRequestAmino; - encode(message: _61.QueryGroupMembersRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryGroupMembersRequest; - fromJSON(object: any): _61.QueryGroupMembersRequest; - toJSON(message: _61.QueryGroupMembersRequest): unknown; - fromPartial(object: { - groupId?: bigint; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _61.QueryGroupMembersRequest; - fromSDK(object: _61.QueryGroupMembersRequestSDKType): _61.QueryGroupMembersRequest; - toSDK(message: _61.QueryGroupMembersRequest): _61.QueryGroupMembersRequestSDKType; - fromAmino(object: _61.QueryGroupMembersRequestAmino): _61.QueryGroupMembersRequest; - toAmino(message: _61.QueryGroupMembersRequest): _61.QueryGroupMembersRequestAmino; - fromAminoMsg(object: _61.QueryGroupMembersRequestAminoMsg): _61.QueryGroupMembersRequest; - toAminoMsg(message: _61.QueryGroupMembersRequest): _61.QueryGroupMembersRequestAminoMsg; - fromProtoMsg(message: _61.QueryGroupMembersRequestProtoMsg): _61.QueryGroupMembersRequest; - toProto(message: _61.QueryGroupMembersRequest): Uint8Array; - toProtoMsg(message: _61.QueryGroupMembersRequest): _61.QueryGroupMembersRequestProtoMsg; - }; - QueryGroupMembersResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryGroupMembersResponse; - isSDK(o: any): o is _61.QueryGroupMembersResponseSDKType; - isAmino(o: any): o is _61.QueryGroupMembersResponseAmino; - encode(message: _61.QueryGroupMembersResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryGroupMembersResponse; - fromJSON(object: any): _61.QueryGroupMembersResponse; - toJSON(message: _61.QueryGroupMembersResponse): unknown; - fromPartial(object: { - members?: { - groupId?: bigint; - member?: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _61.QueryGroupMembersResponse; - fromSDK(object: _61.QueryGroupMembersResponseSDKType): _61.QueryGroupMembersResponse; - toSDK(message: _61.QueryGroupMembersResponse): _61.QueryGroupMembersResponseSDKType; - fromAmino(object: _61.QueryGroupMembersResponseAmino): _61.QueryGroupMembersResponse; - toAmino(message: _61.QueryGroupMembersResponse): _61.QueryGroupMembersResponseAmino; - fromAminoMsg(object: _61.QueryGroupMembersResponseAminoMsg): _61.QueryGroupMembersResponse; - toAminoMsg(message: _61.QueryGroupMembersResponse): _61.QueryGroupMembersResponseAminoMsg; - fromProtoMsg(message: _61.QueryGroupMembersResponseProtoMsg): _61.QueryGroupMembersResponse; - toProto(message: _61.QueryGroupMembersResponse): Uint8Array; - toProtoMsg(message: _61.QueryGroupMembersResponse): _61.QueryGroupMembersResponseProtoMsg; - }; - QueryGroupsByAdminRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryGroupsByAdminRequest; - isSDK(o: any): o is _61.QueryGroupsByAdminRequestSDKType; - isAmino(o: any): o is _61.QueryGroupsByAdminRequestAmino; - encode(message: _61.QueryGroupsByAdminRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryGroupsByAdminRequest; - fromJSON(object: any): _61.QueryGroupsByAdminRequest; - toJSON(message: _61.QueryGroupsByAdminRequest): unknown; - fromPartial(object: { - admin?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _61.QueryGroupsByAdminRequest; - fromSDK(object: _61.QueryGroupsByAdminRequestSDKType): _61.QueryGroupsByAdminRequest; - toSDK(message: _61.QueryGroupsByAdminRequest): _61.QueryGroupsByAdminRequestSDKType; - fromAmino(object: _61.QueryGroupsByAdminRequestAmino): _61.QueryGroupsByAdminRequest; - toAmino(message: _61.QueryGroupsByAdminRequest): _61.QueryGroupsByAdminRequestAmino; - fromAminoMsg(object: _61.QueryGroupsByAdminRequestAminoMsg): _61.QueryGroupsByAdminRequest; - toAminoMsg(message: _61.QueryGroupsByAdminRequest): _61.QueryGroupsByAdminRequestAminoMsg; - fromProtoMsg(message: _61.QueryGroupsByAdminRequestProtoMsg): _61.QueryGroupsByAdminRequest; - toProto(message: _61.QueryGroupsByAdminRequest): Uint8Array; - toProtoMsg(message: _61.QueryGroupsByAdminRequest): _61.QueryGroupsByAdminRequestProtoMsg; - }; - QueryGroupsByAdminResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryGroupsByAdminResponse; - isSDK(o: any): o is _61.QueryGroupsByAdminResponseSDKType; - isAmino(o: any): o is _61.QueryGroupsByAdminResponseAmino; - encode(message: _61.QueryGroupsByAdminResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryGroupsByAdminResponse; - fromJSON(object: any): _61.QueryGroupsByAdminResponse; - toJSON(message: _61.QueryGroupsByAdminResponse): unknown; - fromPartial(object: { - groups?: { - id?: bigint; - admin?: string; - metadata?: string; - version?: bigint; - totalWeight?: string; - createdAt?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _61.QueryGroupsByAdminResponse; - fromSDK(object: _61.QueryGroupsByAdminResponseSDKType): _61.QueryGroupsByAdminResponse; - toSDK(message: _61.QueryGroupsByAdminResponse): _61.QueryGroupsByAdminResponseSDKType; - fromAmino(object: _61.QueryGroupsByAdminResponseAmino): _61.QueryGroupsByAdminResponse; - toAmino(message: _61.QueryGroupsByAdminResponse): _61.QueryGroupsByAdminResponseAmino; - fromAminoMsg(object: _61.QueryGroupsByAdminResponseAminoMsg): _61.QueryGroupsByAdminResponse; - toAminoMsg(message: _61.QueryGroupsByAdminResponse): _61.QueryGroupsByAdminResponseAminoMsg; - fromProtoMsg(message: _61.QueryGroupsByAdminResponseProtoMsg): _61.QueryGroupsByAdminResponse; - toProto(message: _61.QueryGroupsByAdminResponse): Uint8Array; - toProtoMsg(message: _61.QueryGroupsByAdminResponse): _61.QueryGroupsByAdminResponseProtoMsg; - }; - QueryGroupPoliciesByGroupRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryGroupPoliciesByGroupRequest; - isSDK(o: any): o is _61.QueryGroupPoliciesByGroupRequestSDKType; - isAmino(o: any): o is _61.QueryGroupPoliciesByGroupRequestAmino; - encode(message: _61.QueryGroupPoliciesByGroupRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryGroupPoliciesByGroupRequest; - fromJSON(object: any): _61.QueryGroupPoliciesByGroupRequest; - toJSON(message: _61.QueryGroupPoliciesByGroupRequest): unknown; - fromPartial(object: { - groupId?: bigint; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _61.QueryGroupPoliciesByGroupRequest; - fromSDK(object: _61.QueryGroupPoliciesByGroupRequestSDKType): _61.QueryGroupPoliciesByGroupRequest; - toSDK(message: _61.QueryGroupPoliciesByGroupRequest): _61.QueryGroupPoliciesByGroupRequestSDKType; - fromAmino(object: _61.QueryGroupPoliciesByGroupRequestAmino): _61.QueryGroupPoliciesByGroupRequest; - toAmino(message: _61.QueryGroupPoliciesByGroupRequest): _61.QueryGroupPoliciesByGroupRequestAmino; - fromAminoMsg(object: _61.QueryGroupPoliciesByGroupRequestAminoMsg): _61.QueryGroupPoliciesByGroupRequest; - toAminoMsg(message: _61.QueryGroupPoliciesByGroupRequest): _61.QueryGroupPoliciesByGroupRequestAminoMsg; - fromProtoMsg(message: _61.QueryGroupPoliciesByGroupRequestProtoMsg): _61.QueryGroupPoliciesByGroupRequest; - toProto(message: _61.QueryGroupPoliciesByGroupRequest): Uint8Array; - toProtoMsg(message: _61.QueryGroupPoliciesByGroupRequest): _61.QueryGroupPoliciesByGroupRequestProtoMsg; - }; - QueryGroupPoliciesByGroupResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryGroupPoliciesByGroupResponse; - isSDK(o: any): o is _61.QueryGroupPoliciesByGroupResponseSDKType; - isAmino(o: any): o is _61.QueryGroupPoliciesByGroupResponseAmino; - encode(message: _61.QueryGroupPoliciesByGroupResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryGroupPoliciesByGroupResponse; - fromJSON(object: any): _61.QueryGroupPoliciesByGroupResponse; - toJSON(message: _61.QueryGroupPoliciesByGroupResponse): unknown; - fromPartial(object: { - groupPolicies?: { - address?: string; - groupId?: bigint; - admin?: string; - metadata?: string; - version?: bigint; - decisionPolicy?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.group.v1.ThresholdDecisionPolicy"; - threshold?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - } | { - $typeUrl?: "/cosmos.group.v1.PercentageDecisionPolicy"; - percentage?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - }; - createdAt?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _61.QueryGroupPoliciesByGroupResponse; - fromSDK(object: _61.QueryGroupPoliciesByGroupResponseSDKType): _61.QueryGroupPoliciesByGroupResponse; - toSDK(message: _61.QueryGroupPoliciesByGroupResponse): _61.QueryGroupPoliciesByGroupResponseSDKType; - fromAmino(object: _61.QueryGroupPoliciesByGroupResponseAmino): _61.QueryGroupPoliciesByGroupResponse; - toAmino(message: _61.QueryGroupPoliciesByGroupResponse): _61.QueryGroupPoliciesByGroupResponseAmino; - fromAminoMsg(object: _61.QueryGroupPoliciesByGroupResponseAminoMsg): _61.QueryGroupPoliciesByGroupResponse; - toAminoMsg(message: _61.QueryGroupPoliciesByGroupResponse): _61.QueryGroupPoliciesByGroupResponseAminoMsg; - fromProtoMsg(message: _61.QueryGroupPoliciesByGroupResponseProtoMsg): _61.QueryGroupPoliciesByGroupResponse; - toProto(message: _61.QueryGroupPoliciesByGroupResponse): Uint8Array; - toProtoMsg(message: _61.QueryGroupPoliciesByGroupResponse): _61.QueryGroupPoliciesByGroupResponseProtoMsg; - }; - QueryGroupPoliciesByAdminRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryGroupPoliciesByAdminRequest; - isSDK(o: any): o is _61.QueryGroupPoliciesByAdminRequestSDKType; - isAmino(o: any): o is _61.QueryGroupPoliciesByAdminRequestAmino; - encode(message: _61.QueryGroupPoliciesByAdminRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryGroupPoliciesByAdminRequest; - fromJSON(object: any): _61.QueryGroupPoliciesByAdminRequest; - toJSON(message: _61.QueryGroupPoliciesByAdminRequest): unknown; - fromPartial(object: { - admin?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _61.QueryGroupPoliciesByAdminRequest; - fromSDK(object: _61.QueryGroupPoliciesByAdminRequestSDKType): _61.QueryGroupPoliciesByAdminRequest; - toSDK(message: _61.QueryGroupPoliciesByAdminRequest): _61.QueryGroupPoliciesByAdminRequestSDKType; - fromAmino(object: _61.QueryGroupPoliciesByAdminRequestAmino): _61.QueryGroupPoliciesByAdminRequest; - toAmino(message: _61.QueryGroupPoliciesByAdminRequest): _61.QueryGroupPoliciesByAdminRequestAmino; - fromAminoMsg(object: _61.QueryGroupPoliciesByAdminRequestAminoMsg): _61.QueryGroupPoliciesByAdminRequest; - toAminoMsg(message: _61.QueryGroupPoliciesByAdminRequest): _61.QueryGroupPoliciesByAdminRequestAminoMsg; - fromProtoMsg(message: _61.QueryGroupPoliciesByAdminRequestProtoMsg): _61.QueryGroupPoliciesByAdminRequest; - toProto(message: _61.QueryGroupPoliciesByAdminRequest): Uint8Array; - toProtoMsg(message: _61.QueryGroupPoliciesByAdminRequest): _61.QueryGroupPoliciesByAdminRequestProtoMsg; - }; - QueryGroupPoliciesByAdminResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryGroupPoliciesByAdminResponse; - isSDK(o: any): o is _61.QueryGroupPoliciesByAdminResponseSDKType; - isAmino(o: any): o is _61.QueryGroupPoliciesByAdminResponseAmino; - encode(message: _61.QueryGroupPoliciesByAdminResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryGroupPoliciesByAdminResponse; - fromJSON(object: any): _61.QueryGroupPoliciesByAdminResponse; - toJSON(message: _61.QueryGroupPoliciesByAdminResponse): unknown; - fromPartial(object: { - groupPolicies?: { - address?: string; - groupId?: bigint; - admin?: string; - metadata?: string; - version?: bigint; - decisionPolicy?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.group.v1.ThresholdDecisionPolicy"; - threshold?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - } | { - $typeUrl?: "/cosmos.group.v1.PercentageDecisionPolicy"; - percentage?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - }; - createdAt?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _61.QueryGroupPoliciesByAdminResponse; - fromSDK(object: _61.QueryGroupPoliciesByAdminResponseSDKType): _61.QueryGroupPoliciesByAdminResponse; - toSDK(message: _61.QueryGroupPoliciesByAdminResponse): _61.QueryGroupPoliciesByAdminResponseSDKType; - fromAmino(object: _61.QueryGroupPoliciesByAdminResponseAmino): _61.QueryGroupPoliciesByAdminResponse; - toAmino(message: _61.QueryGroupPoliciesByAdminResponse): _61.QueryGroupPoliciesByAdminResponseAmino; - fromAminoMsg(object: _61.QueryGroupPoliciesByAdminResponseAminoMsg): _61.QueryGroupPoliciesByAdminResponse; - toAminoMsg(message: _61.QueryGroupPoliciesByAdminResponse): _61.QueryGroupPoliciesByAdminResponseAminoMsg; - fromProtoMsg(message: _61.QueryGroupPoliciesByAdminResponseProtoMsg): _61.QueryGroupPoliciesByAdminResponse; - toProto(message: _61.QueryGroupPoliciesByAdminResponse): Uint8Array; - toProtoMsg(message: _61.QueryGroupPoliciesByAdminResponse): _61.QueryGroupPoliciesByAdminResponseProtoMsg; - }; - QueryProposalRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryProposalRequest; - isSDK(o: any): o is _61.QueryProposalRequestSDKType; - isAmino(o: any): o is _61.QueryProposalRequestAmino; - encode(message: _61.QueryProposalRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryProposalRequest; - fromJSON(object: any): _61.QueryProposalRequest; - toJSON(message: _61.QueryProposalRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - }): _61.QueryProposalRequest; - fromSDK(object: _61.QueryProposalRequestSDKType): _61.QueryProposalRequest; - toSDK(message: _61.QueryProposalRequest): _61.QueryProposalRequestSDKType; - fromAmino(object: _61.QueryProposalRequestAmino): _61.QueryProposalRequest; - toAmino(message: _61.QueryProposalRequest): _61.QueryProposalRequestAmino; - fromAminoMsg(object: _61.QueryProposalRequestAminoMsg): _61.QueryProposalRequest; - toAminoMsg(message: _61.QueryProposalRequest): _61.QueryProposalRequestAminoMsg; - fromProtoMsg(message: _61.QueryProposalRequestProtoMsg): _61.QueryProposalRequest; - toProto(message: _61.QueryProposalRequest): Uint8Array; - toProtoMsg(message: _61.QueryProposalRequest): _61.QueryProposalRequestProtoMsg; - }; - QueryProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryProposalResponse; - isSDK(o: any): o is _61.QueryProposalResponseSDKType; - isAmino(o: any): o is _61.QueryProposalResponseAmino; - encode(message: _61.QueryProposalResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryProposalResponse; - fromJSON(object: any): _61.QueryProposalResponse; - toJSON(message: _61.QueryProposalResponse): unknown; - fromPartial(object: { - proposal?: { - id?: bigint; - address?: string; - metadata?: string; - proposers?: string[]; - submitTime?: Date; - groupVersion?: bigint; - groupPolicyVersion?: bigint; - status?: _63.ProposalStatus; - result?: _63.ProposalResult; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - votingPeriodEnd?: Date; - executorResult?: _63.ProposalExecutorResult; - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - }): _61.QueryProposalResponse; - fromSDK(object: _61.QueryProposalResponseSDKType): _61.QueryProposalResponse; - toSDK(message: _61.QueryProposalResponse): _61.QueryProposalResponseSDKType; - fromAmino(object: _61.QueryProposalResponseAmino): _61.QueryProposalResponse; - toAmino(message: _61.QueryProposalResponse): _61.QueryProposalResponseAmino; - fromAminoMsg(object: _61.QueryProposalResponseAminoMsg): _61.QueryProposalResponse; - toAminoMsg(message: _61.QueryProposalResponse): _61.QueryProposalResponseAminoMsg; - fromProtoMsg(message: _61.QueryProposalResponseProtoMsg): _61.QueryProposalResponse; - toProto(message: _61.QueryProposalResponse): Uint8Array; - toProtoMsg(message: _61.QueryProposalResponse): _61.QueryProposalResponseProtoMsg; - }; - QueryProposalsByGroupPolicyRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryProposalsByGroupPolicyRequest; - isSDK(o: any): o is _61.QueryProposalsByGroupPolicyRequestSDKType; - isAmino(o: any): o is _61.QueryProposalsByGroupPolicyRequestAmino; - encode(message: _61.QueryProposalsByGroupPolicyRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryProposalsByGroupPolicyRequest; - fromJSON(object: any): _61.QueryProposalsByGroupPolicyRequest; - toJSON(message: _61.QueryProposalsByGroupPolicyRequest): unknown; - fromPartial(object: { - address?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _61.QueryProposalsByGroupPolicyRequest; - fromSDK(object: _61.QueryProposalsByGroupPolicyRequestSDKType): _61.QueryProposalsByGroupPolicyRequest; - toSDK(message: _61.QueryProposalsByGroupPolicyRequest): _61.QueryProposalsByGroupPolicyRequestSDKType; - fromAmino(object: _61.QueryProposalsByGroupPolicyRequestAmino): _61.QueryProposalsByGroupPolicyRequest; - toAmino(message: _61.QueryProposalsByGroupPolicyRequest): _61.QueryProposalsByGroupPolicyRequestAmino; - fromAminoMsg(object: _61.QueryProposalsByGroupPolicyRequestAminoMsg): _61.QueryProposalsByGroupPolicyRequest; - toAminoMsg(message: _61.QueryProposalsByGroupPolicyRequest): _61.QueryProposalsByGroupPolicyRequestAminoMsg; - fromProtoMsg(message: _61.QueryProposalsByGroupPolicyRequestProtoMsg): _61.QueryProposalsByGroupPolicyRequest; - toProto(message: _61.QueryProposalsByGroupPolicyRequest): Uint8Array; - toProtoMsg(message: _61.QueryProposalsByGroupPolicyRequest): _61.QueryProposalsByGroupPolicyRequestProtoMsg; - }; - QueryProposalsByGroupPolicyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryProposalsByGroupPolicyResponse; - isSDK(o: any): o is _61.QueryProposalsByGroupPolicyResponseSDKType; - isAmino(o: any): o is _61.QueryProposalsByGroupPolicyResponseAmino; - encode(message: _61.QueryProposalsByGroupPolicyResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryProposalsByGroupPolicyResponse; - fromJSON(object: any): _61.QueryProposalsByGroupPolicyResponse; - toJSON(message: _61.QueryProposalsByGroupPolicyResponse): unknown; - fromPartial(object: { - proposals?: { - id?: bigint; - address?: string; - metadata?: string; - proposers?: string[]; - submitTime?: Date; - groupVersion?: bigint; - groupPolicyVersion?: bigint; - status?: _63.ProposalStatus; - result?: _63.ProposalResult; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - votingPeriodEnd?: Date; - executorResult?: _63.ProposalExecutorResult; - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _61.QueryProposalsByGroupPolicyResponse; - fromSDK(object: _61.QueryProposalsByGroupPolicyResponseSDKType): _61.QueryProposalsByGroupPolicyResponse; - toSDK(message: _61.QueryProposalsByGroupPolicyResponse): _61.QueryProposalsByGroupPolicyResponseSDKType; - fromAmino(object: _61.QueryProposalsByGroupPolicyResponseAmino): _61.QueryProposalsByGroupPolicyResponse; - toAmino(message: _61.QueryProposalsByGroupPolicyResponse): _61.QueryProposalsByGroupPolicyResponseAmino; - fromAminoMsg(object: _61.QueryProposalsByGroupPolicyResponseAminoMsg): _61.QueryProposalsByGroupPolicyResponse; - toAminoMsg(message: _61.QueryProposalsByGroupPolicyResponse): _61.QueryProposalsByGroupPolicyResponseAminoMsg; - fromProtoMsg(message: _61.QueryProposalsByGroupPolicyResponseProtoMsg): _61.QueryProposalsByGroupPolicyResponse; - toProto(message: _61.QueryProposalsByGroupPolicyResponse): Uint8Array; - toProtoMsg(message: _61.QueryProposalsByGroupPolicyResponse): _61.QueryProposalsByGroupPolicyResponseProtoMsg; - }; - QueryVoteByProposalVoterRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryVoteByProposalVoterRequest; - isSDK(o: any): o is _61.QueryVoteByProposalVoterRequestSDKType; - isAmino(o: any): o is _61.QueryVoteByProposalVoterRequestAmino; - encode(message: _61.QueryVoteByProposalVoterRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryVoteByProposalVoterRequest; - fromJSON(object: any): _61.QueryVoteByProposalVoterRequest; - toJSON(message: _61.QueryVoteByProposalVoterRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - voter?: string; - }): _61.QueryVoteByProposalVoterRequest; - fromSDK(object: _61.QueryVoteByProposalVoterRequestSDKType): _61.QueryVoteByProposalVoterRequest; - toSDK(message: _61.QueryVoteByProposalVoterRequest): _61.QueryVoteByProposalVoterRequestSDKType; - fromAmino(object: _61.QueryVoteByProposalVoterRequestAmino): _61.QueryVoteByProposalVoterRequest; - toAmino(message: _61.QueryVoteByProposalVoterRequest): _61.QueryVoteByProposalVoterRequestAmino; - fromAminoMsg(object: _61.QueryVoteByProposalVoterRequestAminoMsg): _61.QueryVoteByProposalVoterRequest; - toAminoMsg(message: _61.QueryVoteByProposalVoterRequest): _61.QueryVoteByProposalVoterRequestAminoMsg; - fromProtoMsg(message: _61.QueryVoteByProposalVoterRequestProtoMsg): _61.QueryVoteByProposalVoterRequest; - toProto(message: _61.QueryVoteByProposalVoterRequest): Uint8Array; - toProtoMsg(message: _61.QueryVoteByProposalVoterRequest): _61.QueryVoteByProposalVoterRequestProtoMsg; - }; - QueryVoteByProposalVoterResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryVoteByProposalVoterResponse; - isSDK(o: any): o is _61.QueryVoteByProposalVoterResponseSDKType; - isAmino(o: any): o is _61.QueryVoteByProposalVoterResponseAmino; - encode(message: _61.QueryVoteByProposalVoterResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryVoteByProposalVoterResponse; - fromJSON(object: any): _61.QueryVoteByProposalVoterResponse; - toJSON(message: _61.QueryVoteByProposalVoterResponse): unknown; - fromPartial(object: { - vote?: { - proposalId?: bigint; - voter?: string; - option?: _63.VoteOption; - metadata?: string; - submitTime?: Date; - }; - }): _61.QueryVoteByProposalVoterResponse; - fromSDK(object: _61.QueryVoteByProposalVoterResponseSDKType): _61.QueryVoteByProposalVoterResponse; - toSDK(message: _61.QueryVoteByProposalVoterResponse): _61.QueryVoteByProposalVoterResponseSDKType; - fromAmino(object: _61.QueryVoteByProposalVoterResponseAmino): _61.QueryVoteByProposalVoterResponse; - toAmino(message: _61.QueryVoteByProposalVoterResponse): _61.QueryVoteByProposalVoterResponseAmino; - fromAminoMsg(object: _61.QueryVoteByProposalVoterResponseAminoMsg): _61.QueryVoteByProposalVoterResponse; - toAminoMsg(message: _61.QueryVoteByProposalVoterResponse): _61.QueryVoteByProposalVoterResponseAminoMsg; - fromProtoMsg(message: _61.QueryVoteByProposalVoterResponseProtoMsg): _61.QueryVoteByProposalVoterResponse; - toProto(message: _61.QueryVoteByProposalVoterResponse): Uint8Array; - toProtoMsg(message: _61.QueryVoteByProposalVoterResponse): _61.QueryVoteByProposalVoterResponseProtoMsg; - }; - QueryVotesByProposalRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryVotesByProposalRequest; - isSDK(o: any): o is _61.QueryVotesByProposalRequestSDKType; - isAmino(o: any): o is _61.QueryVotesByProposalRequestAmino; - encode(message: _61.QueryVotesByProposalRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryVotesByProposalRequest; - fromJSON(object: any): _61.QueryVotesByProposalRequest; - toJSON(message: _61.QueryVotesByProposalRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _61.QueryVotesByProposalRequest; - fromSDK(object: _61.QueryVotesByProposalRequestSDKType): _61.QueryVotesByProposalRequest; - toSDK(message: _61.QueryVotesByProposalRequest): _61.QueryVotesByProposalRequestSDKType; - fromAmino(object: _61.QueryVotesByProposalRequestAmino): _61.QueryVotesByProposalRequest; - toAmino(message: _61.QueryVotesByProposalRequest): _61.QueryVotesByProposalRequestAmino; - fromAminoMsg(object: _61.QueryVotesByProposalRequestAminoMsg): _61.QueryVotesByProposalRequest; - toAminoMsg(message: _61.QueryVotesByProposalRequest): _61.QueryVotesByProposalRequestAminoMsg; - fromProtoMsg(message: _61.QueryVotesByProposalRequestProtoMsg): _61.QueryVotesByProposalRequest; - toProto(message: _61.QueryVotesByProposalRequest): Uint8Array; - toProtoMsg(message: _61.QueryVotesByProposalRequest): _61.QueryVotesByProposalRequestProtoMsg; - }; - QueryVotesByProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryVotesByProposalResponse; - isSDK(o: any): o is _61.QueryVotesByProposalResponseSDKType; - isAmino(o: any): o is _61.QueryVotesByProposalResponseAmino; - encode(message: _61.QueryVotesByProposalResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryVotesByProposalResponse; - fromJSON(object: any): _61.QueryVotesByProposalResponse; - toJSON(message: _61.QueryVotesByProposalResponse): unknown; - fromPartial(object: { - votes?: { - proposalId?: bigint; - voter?: string; - option?: _63.VoteOption; - metadata?: string; - submitTime?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _61.QueryVotesByProposalResponse; - fromSDK(object: _61.QueryVotesByProposalResponseSDKType): _61.QueryVotesByProposalResponse; - toSDK(message: _61.QueryVotesByProposalResponse): _61.QueryVotesByProposalResponseSDKType; - fromAmino(object: _61.QueryVotesByProposalResponseAmino): _61.QueryVotesByProposalResponse; - toAmino(message: _61.QueryVotesByProposalResponse): _61.QueryVotesByProposalResponseAmino; - fromAminoMsg(object: _61.QueryVotesByProposalResponseAminoMsg): _61.QueryVotesByProposalResponse; - toAminoMsg(message: _61.QueryVotesByProposalResponse): _61.QueryVotesByProposalResponseAminoMsg; - fromProtoMsg(message: _61.QueryVotesByProposalResponseProtoMsg): _61.QueryVotesByProposalResponse; - toProto(message: _61.QueryVotesByProposalResponse): Uint8Array; - toProtoMsg(message: _61.QueryVotesByProposalResponse): _61.QueryVotesByProposalResponseProtoMsg; - }; - QueryVotesByVoterRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryVotesByVoterRequest; - isSDK(o: any): o is _61.QueryVotesByVoterRequestSDKType; - isAmino(o: any): o is _61.QueryVotesByVoterRequestAmino; - encode(message: _61.QueryVotesByVoterRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryVotesByVoterRequest; - fromJSON(object: any): _61.QueryVotesByVoterRequest; - toJSON(message: _61.QueryVotesByVoterRequest): unknown; - fromPartial(object: { - voter?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _61.QueryVotesByVoterRequest; - fromSDK(object: _61.QueryVotesByVoterRequestSDKType): _61.QueryVotesByVoterRequest; - toSDK(message: _61.QueryVotesByVoterRequest): _61.QueryVotesByVoterRequestSDKType; - fromAmino(object: _61.QueryVotesByVoterRequestAmino): _61.QueryVotesByVoterRequest; - toAmino(message: _61.QueryVotesByVoterRequest): _61.QueryVotesByVoterRequestAmino; - fromAminoMsg(object: _61.QueryVotesByVoterRequestAminoMsg): _61.QueryVotesByVoterRequest; - toAminoMsg(message: _61.QueryVotesByVoterRequest): _61.QueryVotesByVoterRequestAminoMsg; - fromProtoMsg(message: _61.QueryVotesByVoterRequestProtoMsg): _61.QueryVotesByVoterRequest; - toProto(message: _61.QueryVotesByVoterRequest): Uint8Array; - toProtoMsg(message: _61.QueryVotesByVoterRequest): _61.QueryVotesByVoterRequestProtoMsg; - }; - QueryVotesByVoterResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryVotesByVoterResponse; - isSDK(o: any): o is _61.QueryVotesByVoterResponseSDKType; - isAmino(o: any): o is _61.QueryVotesByVoterResponseAmino; - encode(message: _61.QueryVotesByVoterResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryVotesByVoterResponse; - fromJSON(object: any): _61.QueryVotesByVoterResponse; - toJSON(message: _61.QueryVotesByVoterResponse): unknown; - fromPartial(object: { - votes?: { - proposalId?: bigint; - voter?: string; - option?: _63.VoteOption; - metadata?: string; - submitTime?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _61.QueryVotesByVoterResponse; - fromSDK(object: _61.QueryVotesByVoterResponseSDKType): _61.QueryVotesByVoterResponse; - toSDK(message: _61.QueryVotesByVoterResponse): _61.QueryVotesByVoterResponseSDKType; - fromAmino(object: _61.QueryVotesByVoterResponseAmino): _61.QueryVotesByVoterResponse; - toAmino(message: _61.QueryVotesByVoterResponse): _61.QueryVotesByVoterResponseAmino; - fromAminoMsg(object: _61.QueryVotesByVoterResponseAminoMsg): _61.QueryVotesByVoterResponse; - toAminoMsg(message: _61.QueryVotesByVoterResponse): _61.QueryVotesByVoterResponseAminoMsg; - fromProtoMsg(message: _61.QueryVotesByVoterResponseProtoMsg): _61.QueryVotesByVoterResponse; - toProto(message: _61.QueryVotesByVoterResponse): Uint8Array; - toProtoMsg(message: _61.QueryVotesByVoterResponse): _61.QueryVotesByVoterResponseProtoMsg; - }; - QueryGroupsByMemberRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryGroupsByMemberRequest; - isSDK(o: any): o is _61.QueryGroupsByMemberRequestSDKType; - isAmino(o: any): o is _61.QueryGroupsByMemberRequestAmino; - encode(message: _61.QueryGroupsByMemberRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryGroupsByMemberRequest; - fromJSON(object: any): _61.QueryGroupsByMemberRequest; - toJSON(message: _61.QueryGroupsByMemberRequest): unknown; - fromPartial(object: { - address?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _61.QueryGroupsByMemberRequest; - fromSDK(object: _61.QueryGroupsByMemberRequestSDKType): _61.QueryGroupsByMemberRequest; - toSDK(message: _61.QueryGroupsByMemberRequest): _61.QueryGroupsByMemberRequestSDKType; - fromAmino(object: _61.QueryGroupsByMemberRequestAmino): _61.QueryGroupsByMemberRequest; - toAmino(message: _61.QueryGroupsByMemberRequest): _61.QueryGroupsByMemberRequestAmino; - fromAminoMsg(object: _61.QueryGroupsByMemberRequestAminoMsg): _61.QueryGroupsByMemberRequest; - toAminoMsg(message: _61.QueryGroupsByMemberRequest): _61.QueryGroupsByMemberRequestAminoMsg; - fromProtoMsg(message: _61.QueryGroupsByMemberRequestProtoMsg): _61.QueryGroupsByMemberRequest; - toProto(message: _61.QueryGroupsByMemberRequest): Uint8Array; - toProtoMsg(message: _61.QueryGroupsByMemberRequest): _61.QueryGroupsByMemberRequestProtoMsg; - }; - QueryGroupsByMemberResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryGroupsByMemberResponse; - isSDK(o: any): o is _61.QueryGroupsByMemberResponseSDKType; - isAmino(o: any): o is _61.QueryGroupsByMemberResponseAmino; - encode(message: _61.QueryGroupsByMemberResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryGroupsByMemberResponse; - fromJSON(object: any): _61.QueryGroupsByMemberResponse; - toJSON(message: _61.QueryGroupsByMemberResponse): unknown; - fromPartial(object: { - groups?: { - id?: bigint; - admin?: string; - metadata?: string; - version?: bigint; - totalWeight?: string; - createdAt?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _61.QueryGroupsByMemberResponse; - fromSDK(object: _61.QueryGroupsByMemberResponseSDKType): _61.QueryGroupsByMemberResponse; - toSDK(message: _61.QueryGroupsByMemberResponse): _61.QueryGroupsByMemberResponseSDKType; - fromAmino(object: _61.QueryGroupsByMemberResponseAmino): _61.QueryGroupsByMemberResponse; - toAmino(message: _61.QueryGroupsByMemberResponse): _61.QueryGroupsByMemberResponseAmino; - fromAminoMsg(object: _61.QueryGroupsByMemberResponseAminoMsg): _61.QueryGroupsByMemberResponse; - toAminoMsg(message: _61.QueryGroupsByMemberResponse): _61.QueryGroupsByMemberResponseAminoMsg; - fromProtoMsg(message: _61.QueryGroupsByMemberResponseProtoMsg): _61.QueryGroupsByMemberResponse; - toProto(message: _61.QueryGroupsByMemberResponse): Uint8Array; - toProtoMsg(message: _61.QueryGroupsByMemberResponse): _61.QueryGroupsByMemberResponseProtoMsg; - }; - QueryTallyResultRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryTallyResultRequest; - isSDK(o: any): o is _61.QueryTallyResultRequestSDKType; - isAmino(o: any): o is _61.QueryTallyResultRequestAmino; - encode(message: _61.QueryTallyResultRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryTallyResultRequest; - fromJSON(object: any): _61.QueryTallyResultRequest; - toJSON(message: _61.QueryTallyResultRequest): unknown; - fromPartial(object: { - proposalId?: bigint; - }): _61.QueryTallyResultRequest; - fromSDK(object: _61.QueryTallyResultRequestSDKType): _61.QueryTallyResultRequest; - toSDK(message: _61.QueryTallyResultRequest): _61.QueryTallyResultRequestSDKType; - fromAmino(object: _61.QueryTallyResultRequestAmino): _61.QueryTallyResultRequest; - toAmino(message: _61.QueryTallyResultRequest): _61.QueryTallyResultRequestAmino; - fromAminoMsg(object: _61.QueryTallyResultRequestAminoMsg): _61.QueryTallyResultRequest; - toAminoMsg(message: _61.QueryTallyResultRequest): _61.QueryTallyResultRequestAminoMsg; - fromProtoMsg(message: _61.QueryTallyResultRequestProtoMsg): _61.QueryTallyResultRequest; - toProto(message: _61.QueryTallyResultRequest): Uint8Array; - toProtoMsg(message: _61.QueryTallyResultRequest): _61.QueryTallyResultRequestProtoMsg; - }; - QueryTallyResultResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _61.QueryTallyResultResponse; - isSDK(o: any): o is _61.QueryTallyResultResponseSDKType; - isAmino(o: any): o is _61.QueryTallyResultResponseAmino; - encode(message: _61.QueryTallyResultResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _61.QueryTallyResultResponse; - fromJSON(object: any): _61.QueryTallyResultResponse; - toJSON(message: _61.QueryTallyResultResponse): unknown; - fromPartial(object: { - tally?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - }): _61.QueryTallyResultResponse; - fromSDK(object: _61.QueryTallyResultResponseSDKType): _61.QueryTallyResultResponse; - toSDK(message: _61.QueryTallyResultResponse): _61.QueryTallyResultResponseSDKType; - fromAmino(object: _61.QueryTallyResultResponseAmino): _61.QueryTallyResultResponse; - toAmino(message: _61.QueryTallyResultResponse): _61.QueryTallyResultResponseAmino; - fromAminoMsg(object: _61.QueryTallyResultResponseAminoMsg): _61.QueryTallyResultResponse; - toAminoMsg(message: _61.QueryTallyResultResponse): _61.QueryTallyResultResponseAminoMsg; - fromProtoMsg(message: _61.QueryTallyResultResponseProtoMsg): _61.QueryTallyResultResponse; - toProto(message: _61.QueryTallyResultResponse): Uint8Array; - toProtoMsg(message: _61.QueryTallyResultResponse): _61.QueryTallyResultResponseProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _60.GenesisState; - isSDK(o: any): o is _60.GenesisStateSDKType; - isAmino(o: any): o is _60.GenesisStateAmino; - encode(message: _60.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _60.GenesisState; - fromJSON(object: any): _60.GenesisState; - toJSON(message: _60.GenesisState): unknown; - fromPartial(object: { - groupSeq?: bigint; - groups?: { - id?: bigint; - admin?: string; - metadata?: string; - version?: bigint; - totalWeight?: string; - createdAt?: Date; - }[]; - groupMembers?: { - groupId?: bigint; - member?: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }; - }[]; - groupPolicySeq?: bigint; - groupPolicies?: { - address?: string; - groupId?: bigint; - admin?: string; - metadata?: string; - version?: bigint; - decisionPolicy?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - } | { - $typeUrl?: "/cosmos.group.v1.ThresholdDecisionPolicy"; - threshold?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - } | { - $typeUrl?: "/cosmos.group.v1.PercentageDecisionPolicy"; - percentage?: string; - windows?: { - votingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - }; - createdAt?: Date; - }[]; - proposalSeq?: bigint; - proposals?: { - id?: bigint; - address?: string; - metadata?: string; - proposers?: string[]; - submitTime?: Date; - groupVersion?: bigint; - groupPolicyVersion?: bigint; - status?: _63.ProposalStatus; - result?: _63.ProposalResult; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - votingPeriodEnd?: Date; - executorResult?: _63.ProposalExecutorResult; - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }[]; - votes?: { - proposalId?: bigint; - voter?: string; - option?: _63.VoteOption; - metadata?: string; - submitTime?: Date; - }[]; - }): _60.GenesisState; - fromSDK(object: _60.GenesisStateSDKType): _60.GenesisState; - toSDK(message: _60.GenesisState): _60.GenesisStateSDKType; - fromAmino(object: _60.GenesisStateAmino): _60.GenesisState; - toAmino(message: _60.GenesisState): _60.GenesisStateAmino; - fromAminoMsg(object: _60.GenesisStateAminoMsg): _60.GenesisState; - toAminoMsg(message: _60.GenesisState): _60.GenesisStateAminoMsg; - fromProtoMsg(message: _60.GenesisStateProtoMsg): _60.GenesisState; - toProto(message: _60.GenesisState): Uint8Array; - toProtoMsg(message: _60.GenesisState): _60.GenesisStateProtoMsg; - }; - EventCreateGroup: { - typeUrl: string; - aminoType: string; - is(o: any): o is _59.EventCreateGroup; - isSDK(o: any): o is _59.EventCreateGroupSDKType; - isAmino(o: any): o is _59.EventCreateGroupAmino; - encode(message: _59.EventCreateGroup, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _59.EventCreateGroup; - fromJSON(object: any): _59.EventCreateGroup; - toJSON(message: _59.EventCreateGroup): unknown; - fromPartial(object: { - groupId?: bigint; - }): _59.EventCreateGroup; - fromSDK(object: _59.EventCreateGroupSDKType): _59.EventCreateGroup; - toSDK(message: _59.EventCreateGroup): _59.EventCreateGroupSDKType; - fromAmino(object: _59.EventCreateGroupAmino): _59.EventCreateGroup; - toAmino(message: _59.EventCreateGroup): _59.EventCreateGroupAmino; - fromAminoMsg(object: _59.EventCreateGroupAminoMsg): _59.EventCreateGroup; - toAminoMsg(message: _59.EventCreateGroup): _59.EventCreateGroupAminoMsg; - fromProtoMsg(message: _59.EventCreateGroupProtoMsg): _59.EventCreateGroup; - toProto(message: _59.EventCreateGroup): Uint8Array; - toProtoMsg(message: _59.EventCreateGroup): _59.EventCreateGroupProtoMsg; - }; - EventUpdateGroup: { - typeUrl: string; - aminoType: string; - is(o: any): o is _59.EventUpdateGroup; - isSDK(o: any): o is _59.EventUpdateGroupSDKType; - isAmino(o: any): o is _59.EventUpdateGroupAmino; - encode(message: _59.EventUpdateGroup, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _59.EventUpdateGroup; - fromJSON(object: any): _59.EventUpdateGroup; - toJSON(message: _59.EventUpdateGroup): unknown; - fromPartial(object: { - groupId?: bigint; - }): _59.EventUpdateGroup; - fromSDK(object: _59.EventUpdateGroupSDKType): _59.EventUpdateGroup; - toSDK(message: _59.EventUpdateGroup): _59.EventUpdateGroupSDKType; - fromAmino(object: _59.EventUpdateGroupAmino): _59.EventUpdateGroup; - toAmino(message: _59.EventUpdateGroup): _59.EventUpdateGroupAmino; - fromAminoMsg(object: _59.EventUpdateGroupAminoMsg): _59.EventUpdateGroup; - toAminoMsg(message: _59.EventUpdateGroup): _59.EventUpdateGroupAminoMsg; - fromProtoMsg(message: _59.EventUpdateGroupProtoMsg): _59.EventUpdateGroup; - toProto(message: _59.EventUpdateGroup): Uint8Array; - toProtoMsg(message: _59.EventUpdateGroup): _59.EventUpdateGroupProtoMsg; - }; - EventCreateGroupPolicy: { - typeUrl: string; - aminoType: string; - is(o: any): o is _59.EventCreateGroupPolicy; - isSDK(o: any): o is _59.EventCreateGroupPolicySDKType; - isAmino(o: any): o is _59.EventCreateGroupPolicyAmino; - encode(message: _59.EventCreateGroupPolicy, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _59.EventCreateGroupPolicy; - fromJSON(object: any): _59.EventCreateGroupPolicy; - toJSON(message: _59.EventCreateGroupPolicy): unknown; - fromPartial(object: { - address?: string; - }): _59.EventCreateGroupPolicy; - fromSDK(object: _59.EventCreateGroupPolicySDKType): _59.EventCreateGroupPolicy; - toSDK(message: _59.EventCreateGroupPolicy): _59.EventCreateGroupPolicySDKType; - fromAmino(object: _59.EventCreateGroupPolicyAmino): _59.EventCreateGroupPolicy; - toAmino(message: _59.EventCreateGroupPolicy): _59.EventCreateGroupPolicyAmino; - fromAminoMsg(object: _59.EventCreateGroupPolicyAminoMsg): _59.EventCreateGroupPolicy; - toAminoMsg(message: _59.EventCreateGroupPolicy): _59.EventCreateGroupPolicyAminoMsg; - fromProtoMsg(message: _59.EventCreateGroupPolicyProtoMsg): _59.EventCreateGroupPolicy; - toProto(message: _59.EventCreateGroupPolicy): Uint8Array; - toProtoMsg(message: _59.EventCreateGroupPolicy): _59.EventCreateGroupPolicyProtoMsg; - }; - EventUpdateGroupPolicy: { - typeUrl: string; - aminoType: string; - is(o: any): o is _59.EventUpdateGroupPolicy; - isSDK(o: any): o is _59.EventUpdateGroupPolicySDKType; - isAmino(o: any): o is _59.EventUpdateGroupPolicyAmino; - encode(message: _59.EventUpdateGroupPolicy, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _59.EventUpdateGroupPolicy; - fromJSON(object: any): _59.EventUpdateGroupPolicy; - toJSON(message: _59.EventUpdateGroupPolicy): unknown; - fromPartial(object: { - address?: string; - }): _59.EventUpdateGroupPolicy; - fromSDK(object: _59.EventUpdateGroupPolicySDKType): _59.EventUpdateGroupPolicy; - toSDK(message: _59.EventUpdateGroupPolicy): _59.EventUpdateGroupPolicySDKType; - fromAmino(object: _59.EventUpdateGroupPolicyAmino): _59.EventUpdateGroupPolicy; - toAmino(message: _59.EventUpdateGroupPolicy): _59.EventUpdateGroupPolicyAmino; - fromAminoMsg(object: _59.EventUpdateGroupPolicyAminoMsg): _59.EventUpdateGroupPolicy; - toAminoMsg(message: _59.EventUpdateGroupPolicy): _59.EventUpdateGroupPolicyAminoMsg; - fromProtoMsg(message: _59.EventUpdateGroupPolicyProtoMsg): _59.EventUpdateGroupPolicy; - toProto(message: _59.EventUpdateGroupPolicy): Uint8Array; - toProtoMsg(message: _59.EventUpdateGroupPolicy): _59.EventUpdateGroupPolicyProtoMsg; - }; - EventSubmitProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _59.EventSubmitProposal; - isSDK(o: any): o is _59.EventSubmitProposalSDKType; - isAmino(o: any): o is _59.EventSubmitProposalAmino; - encode(message: _59.EventSubmitProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _59.EventSubmitProposal; - fromJSON(object: any): _59.EventSubmitProposal; - toJSON(message: _59.EventSubmitProposal): unknown; - fromPartial(object: { - proposalId?: bigint; - }): _59.EventSubmitProposal; - fromSDK(object: _59.EventSubmitProposalSDKType): _59.EventSubmitProposal; - toSDK(message: _59.EventSubmitProposal): _59.EventSubmitProposalSDKType; - fromAmino(object: _59.EventSubmitProposalAmino): _59.EventSubmitProposal; - toAmino(message: _59.EventSubmitProposal): _59.EventSubmitProposalAmino; - fromAminoMsg(object: _59.EventSubmitProposalAminoMsg): _59.EventSubmitProposal; - toAminoMsg(message: _59.EventSubmitProposal): _59.EventSubmitProposalAminoMsg; - fromProtoMsg(message: _59.EventSubmitProposalProtoMsg): _59.EventSubmitProposal; - toProto(message: _59.EventSubmitProposal): Uint8Array; - toProtoMsg(message: _59.EventSubmitProposal): _59.EventSubmitProposalProtoMsg; - }; - EventWithdrawProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _59.EventWithdrawProposal; - isSDK(o: any): o is _59.EventWithdrawProposalSDKType; - isAmino(o: any): o is _59.EventWithdrawProposalAmino; - encode(message: _59.EventWithdrawProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _59.EventWithdrawProposal; - fromJSON(object: any): _59.EventWithdrawProposal; - toJSON(message: _59.EventWithdrawProposal): unknown; - fromPartial(object: { - proposalId?: bigint; - }): _59.EventWithdrawProposal; - fromSDK(object: _59.EventWithdrawProposalSDKType): _59.EventWithdrawProposal; - toSDK(message: _59.EventWithdrawProposal): _59.EventWithdrawProposalSDKType; - fromAmino(object: _59.EventWithdrawProposalAmino): _59.EventWithdrawProposal; - toAmino(message: _59.EventWithdrawProposal): _59.EventWithdrawProposalAmino; - fromAminoMsg(object: _59.EventWithdrawProposalAminoMsg): _59.EventWithdrawProposal; - toAminoMsg(message: _59.EventWithdrawProposal): _59.EventWithdrawProposalAminoMsg; - fromProtoMsg(message: _59.EventWithdrawProposalProtoMsg): _59.EventWithdrawProposal; - toProto(message: _59.EventWithdrawProposal): Uint8Array; - toProtoMsg(message: _59.EventWithdrawProposal): _59.EventWithdrawProposalProtoMsg; - }; - EventVote: { - typeUrl: string; - aminoType: string; - is(o: any): o is _59.EventVote; - isSDK(o: any): o is _59.EventVoteSDKType; - isAmino(o: any): o is _59.EventVoteAmino; - encode(message: _59.EventVote, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _59.EventVote; - fromJSON(object: any): _59.EventVote; - toJSON(message: _59.EventVote): unknown; - fromPartial(object: { - proposalId?: bigint; - }): _59.EventVote; - fromSDK(object: _59.EventVoteSDKType): _59.EventVote; - toSDK(message: _59.EventVote): _59.EventVoteSDKType; - fromAmino(object: _59.EventVoteAmino): _59.EventVote; - toAmino(message: _59.EventVote): _59.EventVoteAmino; - fromAminoMsg(object: _59.EventVoteAminoMsg): _59.EventVote; - toAminoMsg(message: _59.EventVote): _59.EventVoteAminoMsg; - fromProtoMsg(message: _59.EventVoteProtoMsg): _59.EventVote; - toProto(message: _59.EventVote): Uint8Array; - toProtoMsg(message: _59.EventVote): _59.EventVoteProtoMsg; - }; - EventExec: { - typeUrl: string; - aminoType: string; - is(o: any): o is _59.EventExec; - isSDK(o: any): o is _59.EventExecSDKType; - isAmino(o: any): o is _59.EventExecAmino; - encode(message: _59.EventExec, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _59.EventExec; - fromJSON(object: any): _59.EventExec; - toJSON(message: _59.EventExec): unknown; - fromPartial(object: { - proposalId?: bigint; - result?: _63.ProposalExecutorResult; - }): _59.EventExec; - fromSDK(object: _59.EventExecSDKType): _59.EventExec; - toSDK(message: _59.EventExec): _59.EventExecSDKType; - fromAmino(object: _59.EventExecAmino): _59.EventExec; - toAmino(message: _59.EventExec): _59.EventExecAmino; - fromAminoMsg(object: _59.EventExecAminoMsg): _59.EventExec; - toAminoMsg(message: _59.EventExec): _59.EventExecAminoMsg; - fromProtoMsg(message: _59.EventExecProtoMsg): _59.EventExec; - toProto(message: _59.EventExec): Uint8Array; - toProtoMsg(message: _59.EventExec): _59.EventExecProtoMsg; - }; - EventLeaveGroup: { - typeUrl: string; - aminoType: string; - is(o: any): o is _59.EventLeaveGroup; - isSDK(o: any): o is _59.EventLeaveGroupSDKType; - isAmino(o: any): o is _59.EventLeaveGroupAmino; - encode(message: _59.EventLeaveGroup, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _59.EventLeaveGroup; - fromJSON(object: any): _59.EventLeaveGroup; - toJSON(message: _59.EventLeaveGroup): unknown; - fromPartial(object: { - groupId?: bigint; - address?: string; - }): _59.EventLeaveGroup; - fromSDK(object: _59.EventLeaveGroupSDKType): _59.EventLeaveGroup; - toSDK(message: _59.EventLeaveGroup): _59.EventLeaveGroupSDKType; - fromAmino(object: _59.EventLeaveGroupAmino): _59.EventLeaveGroup; - toAmino(message: _59.EventLeaveGroup): _59.EventLeaveGroupAmino; - fromAminoMsg(object: _59.EventLeaveGroupAminoMsg): _59.EventLeaveGroup; - toAminoMsg(message: _59.EventLeaveGroup): _59.EventLeaveGroupAminoMsg; - fromProtoMsg(message: _59.EventLeaveGroupProtoMsg): _59.EventLeaveGroup; - toProto(message: _59.EventLeaveGroup): Uint8Array; - toProtoMsg(message: _59.EventLeaveGroup): _59.EventLeaveGroupProtoMsg; - }; - }; - } - namespace mint { - const v1beta1: { - QueryClientImpl: typeof _229.QueryClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _229.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useParams: ({ request, options }: _229.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useInflation: ({ request, options }: _229.UseInflationQuery) => import("@tanstack/react-query").UseQueryResult; - useAnnualProvisions: ({ request, options }: _229.UseAnnualProvisionsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_66.QueryParamsRequest, _66.QueryParamsResponse>; - params(request: _66.QueryParamsRequest): import("..").MobxResponse<_66.QueryParamsResponse>; - }; - }; - QueryInflationStore: { - new (): { - store: import("..").QueryStore<_66.QueryInflationRequest, _66.QueryInflationResponse>; - inflation(request: _66.QueryInflationRequest): import("..").MobxResponse<_66.QueryInflationResponse>; - }; - }; - QueryAnnualProvisionsStore: { - new (): { - store: import("..").QueryStore<_66.QueryAnnualProvisionsRequest, _66.QueryAnnualProvisionsResponse>; - annualProvisions(request: _66.QueryAnnualProvisionsRequest): import("..").MobxResponse<_66.QueryAnnualProvisionsResponse>; - }; - }; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _66.QueryParamsRequest; - isSDK(o: any): o is _66.QueryParamsRequestSDKType; - isAmino(o: any): o is _66.QueryParamsRequestAmino; - encode(_: _66.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _66.QueryParamsRequest; - fromJSON(_: any): _66.QueryParamsRequest; - toJSON(_: _66.QueryParamsRequest): unknown; - fromPartial(_: {}): _66.QueryParamsRequest; - fromSDK(_: _66.QueryParamsRequestSDKType): _66.QueryParamsRequest; - toSDK(_: _66.QueryParamsRequest): _66.QueryParamsRequestSDKType; - fromAmino(_: _66.QueryParamsRequestAmino): _66.QueryParamsRequest; - toAmino(_: _66.QueryParamsRequest): _66.QueryParamsRequestAmino; - fromAminoMsg(object: _66.QueryParamsRequestAminoMsg): _66.QueryParamsRequest; - toAminoMsg(message: _66.QueryParamsRequest): _66.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _66.QueryParamsRequestProtoMsg): _66.QueryParamsRequest; - toProto(message: _66.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _66.QueryParamsRequest): _66.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _66.QueryParamsResponse; - isSDK(o: any): o is _66.QueryParamsResponseSDKType; - isAmino(o: any): o is _66.QueryParamsResponseAmino; - encode(message: _66.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _66.QueryParamsResponse; - fromJSON(object: any): _66.QueryParamsResponse; - toJSON(message: _66.QueryParamsResponse): unknown; - fromPartial(object: { - params?: { - mintDenom?: string; - inflationRateChange?: string; - inflationMax?: string; - inflationMin?: string; - goalBonded?: string; - blocksPerYear?: bigint; - }; - }): _66.QueryParamsResponse; - fromSDK(object: _66.QueryParamsResponseSDKType): _66.QueryParamsResponse; - toSDK(message: _66.QueryParamsResponse): _66.QueryParamsResponseSDKType; - fromAmino(object: _66.QueryParamsResponseAmino): _66.QueryParamsResponse; - toAmino(message: _66.QueryParamsResponse): _66.QueryParamsResponseAmino; - fromAminoMsg(object: _66.QueryParamsResponseAminoMsg): _66.QueryParamsResponse; - toAminoMsg(message: _66.QueryParamsResponse): _66.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _66.QueryParamsResponseProtoMsg): _66.QueryParamsResponse; - toProto(message: _66.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _66.QueryParamsResponse): _66.QueryParamsResponseProtoMsg; - }; - QueryInflationRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _66.QueryInflationRequest; - isSDK(o: any): o is _66.QueryInflationRequestSDKType; - isAmino(o: any): o is _66.QueryInflationRequestAmino; - encode(_: _66.QueryInflationRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _66.QueryInflationRequest; - fromJSON(_: any): _66.QueryInflationRequest; - toJSON(_: _66.QueryInflationRequest): unknown; - fromPartial(_: {}): _66.QueryInflationRequest; - fromSDK(_: _66.QueryInflationRequestSDKType): _66.QueryInflationRequest; - toSDK(_: _66.QueryInflationRequest): _66.QueryInflationRequestSDKType; - fromAmino(_: _66.QueryInflationRequestAmino): _66.QueryInflationRequest; - toAmino(_: _66.QueryInflationRequest): _66.QueryInflationRequestAmino; - fromAminoMsg(object: _66.QueryInflationRequestAminoMsg): _66.QueryInflationRequest; - toAminoMsg(message: _66.QueryInflationRequest): _66.QueryInflationRequestAminoMsg; - fromProtoMsg(message: _66.QueryInflationRequestProtoMsg): _66.QueryInflationRequest; - toProto(message: _66.QueryInflationRequest): Uint8Array; - toProtoMsg(message: _66.QueryInflationRequest): _66.QueryInflationRequestProtoMsg; - }; - QueryInflationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _66.QueryInflationResponse; - isSDK(o: any): o is _66.QueryInflationResponseSDKType; - isAmino(o: any): o is _66.QueryInflationResponseAmino; - encode(message: _66.QueryInflationResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _66.QueryInflationResponse; - fromJSON(object: any): _66.QueryInflationResponse; - toJSON(message: _66.QueryInflationResponse): unknown; - fromPartial(object: { - inflation?: Uint8Array; - }): _66.QueryInflationResponse; - fromSDK(object: _66.QueryInflationResponseSDKType): _66.QueryInflationResponse; - toSDK(message: _66.QueryInflationResponse): _66.QueryInflationResponseSDKType; - fromAmino(object: _66.QueryInflationResponseAmino): _66.QueryInflationResponse; - toAmino(message: _66.QueryInflationResponse): _66.QueryInflationResponseAmino; - fromAminoMsg(object: _66.QueryInflationResponseAminoMsg): _66.QueryInflationResponse; - toAminoMsg(message: _66.QueryInflationResponse): _66.QueryInflationResponseAminoMsg; - fromProtoMsg(message: _66.QueryInflationResponseProtoMsg): _66.QueryInflationResponse; - toProto(message: _66.QueryInflationResponse): Uint8Array; - toProtoMsg(message: _66.QueryInflationResponse): _66.QueryInflationResponseProtoMsg; - }; - QueryAnnualProvisionsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _66.QueryAnnualProvisionsRequest; - isSDK(o: any): o is _66.QueryAnnualProvisionsRequestSDKType; - isAmino(o: any): o is _66.QueryAnnualProvisionsRequestAmino; - encode(_: _66.QueryAnnualProvisionsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _66.QueryAnnualProvisionsRequest; - fromJSON(_: any): _66.QueryAnnualProvisionsRequest; - toJSON(_: _66.QueryAnnualProvisionsRequest): unknown; - fromPartial(_: {}): _66.QueryAnnualProvisionsRequest; - fromSDK(_: _66.QueryAnnualProvisionsRequestSDKType): _66.QueryAnnualProvisionsRequest; - toSDK(_: _66.QueryAnnualProvisionsRequest): _66.QueryAnnualProvisionsRequestSDKType; - fromAmino(_: _66.QueryAnnualProvisionsRequestAmino): _66.QueryAnnualProvisionsRequest; - toAmino(_: _66.QueryAnnualProvisionsRequest): _66.QueryAnnualProvisionsRequestAmino; - fromAminoMsg(object: _66.QueryAnnualProvisionsRequestAminoMsg): _66.QueryAnnualProvisionsRequest; - toAminoMsg(message: _66.QueryAnnualProvisionsRequest): _66.QueryAnnualProvisionsRequestAminoMsg; - fromProtoMsg(message: _66.QueryAnnualProvisionsRequestProtoMsg): _66.QueryAnnualProvisionsRequest; - toProto(message: _66.QueryAnnualProvisionsRequest): Uint8Array; - toProtoMsg(message: _66.QueryAnnualProvisionsRequest): _66.QueryAnnualProvisionsRequestProtoMsg; - }; - QueryAnnualProvisionsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _66.QueryAnnualProvisionsResponse; - isSDK(o: any): o is _66.QueryAnnualProvisionsResponseSDKType; - isAmino(o: any): o is _66.QueryAnnualProvisionsResponseAmino; - encode(message: _66.QueryAnnualProvisionsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _66.QueryAnnualProvisionsResponse; - fromJSON(object: any): _66.QueryAnnualProvisionsResponse; - toJSON(message: _66.QueryAnnualProvisionsResponse): unknown; - fromPartial(object: { - annualProvisions?: Uint8Array; - }): _66.QueryAnnualProvisionsResponse; - fromSDK(object: _66.QueryAnnualProvisionsResponseSDKType): _66.QueryAnnualProvisionsResponse; - toSDK(message: _66.QueryAnnualProvisionsResponse): _66.QueryAnnualProvisionsResponseSDKType; - fromAmino(object: _66.QueryAnnualProvisionsResponseAmino): _66.QueryAnnualProvisionsResponse; - toAmino(message: _66.QueryAnnualProvisionsResponse): _66.QueryAnnualProvisionsResponseAmino; - fromAminoMsg(object: _66.QueryAnnualProvisionsResponseAminoMsg): _66.QueryAnnualProvisionsResponse; - toAminoMsg(message: _66.QueryAnnualProvisionsResponse): _66.QueryAnnualProvisionsResponseAminoMsg; - fromProtoMsg(message: _66.QueryAnnualProvisionsResponseProtoMsg): _66.QueryAnnualProvisionsResponse; - toProto(message: _66.QueryAnnualProvisionsResponse): Uint8Array; - toProtoMsg(message: _66.QueryAnnualProvisionsResponse): _66.QueryAnnualProvisionsResponseProtoMsg; - }; - Minter: { - typeUrl: string; - aminoType: string; - is(o: any): o is _65.Minter; - isSDK(o: any): o is _65.MinterSDKType; - isAmino(o: any): o is _65.MinterAmino; - encode(message: _65.Minter, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _65.Minter; - fromJSON(object: any): _65.Minter; - toJSON(message: _65.Minter): unknown; - fromPartial(object: { - inflation?: string; - annualProvisions?: string; - }): _65.Minter; - fromSDK(object: _65.MinterSDKType): _65.Minter; - toSDK(message: _65.Minter): _65.MinterSDKType; - fromAmino(object: _65.MinterAmino): _65.Minter; - toAmino(message: _65.Minter): _65.MinterAmino; - fromAminoMsg(object: _65.MinterAminoMsg): _65.Minter; - toAminoMsg(message: _65.Minter): _65.MinterAminoMsg; - fromProtoMsg(message: _65.MinterProtoMsg): _65.Minter; - toProto(message: _65.Minter): Uint8Array; - toProtoMsg(message: _65.Minter): _65.MinterProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _65.Params; - isSDK(o: any): o is _65.ParamsSDKType; - isAmino(o: any): o is _65.ParamsAmino; - encode(message: _65.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _65.Params; - fromJSON(object: any): _65.Params; - toJSON(message: _65.Params): unknown; - fromPartial(object: { - mintDenom?: string; - inflationRateChange?: string; - inflationMax?: string; - inflationMin?: string; - goalBonded?: string; - blocksPerYear?: bigint; - }): _65.Params; - fromSDK(object: _65.ParamsSDKType): _65.Params; - toSDK(message: _65.Params): _65.ParamsSDKType; - fromAmino(object: _65.ParamsAmino): _65.Params; - toAmino(message: _65.Params): _65.ParamsAmino; - fromAminoMsg(object: _65.ParamsAminoMsg): _65.Params; - toAminoMsg(message: _65.Params): _65.ParamsAminoMsg; - fromProtoMsg(message: _65.ParamsProtoMsg): _65.Params; - toProto(message: _65.Params): Uint8Array; - toProtoMsg(message: _65.Params): _65.ParamsProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _64.GenesisState; - isSDK(o: any): o is _64.GenesisStateSDKType; - isAmino(o: any): o is _64.GenesisStateAmino; - encode(message: _64.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _64.GenesisState; - fromJSON(object: any): _64.GenesisState; - toJSON(message: _64.GenesisState): unknown; - fromPartial(object: { - minter?: { - inflation?: string; - annualProvisions?: string; - }; - params?: { - mintDenom?: string; - inflationRateChange?: string; - inflationMax?: string; - inflationMin?: string; - goalBonded?: string; - blocksPerYear?: bigint; - }; - }): _64.GenesisState; - fromSDK(object: _64.GenesisStateSDKType): _64.GenesisState; - toSDK(message: _64.GenesisState): _64.GenesisStateSDKType; - fromAmino(object: _64.GenesisStateAmino): _64.GenesisState; - toAmino(message: _64.GenesisState): _64.GenesisStateAmino; - fromAminoMsg(object: _64.GenesisStateAminoMsg): _64.GenesisState; - toAminoMsg(message: _64.GenesisState): _64.GenesisStateAminoMsg; - fromProtoMsg(message: _64.GenesisStateProtoMsg): _64.GenesisState; - toProto(message: _64.GenesisState): Uint8Array; - toProtoMsg(message: _64.GenesisState): _64.GenesisStateProtoMsg; - }; - }; - } - namespace msg { - const v1: {}; - } - namespace nft { - const v1beta1: { - MsgClientImpl: typeof _245.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _245.MsgClientImpl; - QueryClientImpl: typeof _230.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useBalance: ({ request, options }: _230.UseBalanceQuery) => import("@tanstack/react-query").UseQueryResult; - useOwner: ({ request, options }: _230.UseOwnerQuery) => import("@tanstack/react-query").UseQueryResult; - useSupply: ({ request, options }: _230.UseSupplyQuery) => import("@tanstack/react-query").UseQueryResult; - useNFTs: ({ request, options }: _230.UseNFTsQuery) => import("@tanstack/react-query").UseQueryResult; - useNFT: ({ request, options }: _230.UseNFTQuery) => import("@tanstack/react-query").UseQueryResult; - useClass: ({ request, options }: _230.UseClassQuery) => import("@tanstack/react-query").UseQueryResult; - useClasses: ({ request, options }: _230.UseClassesQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryBalanceStore: { - new (): { - store: import("..").QueryStore<_71.QueryBalanceRequest, _71.QueryBalanceResponse>; - balance(request: _71.QueryBalanceRequest): import("..").MobxResponse<_71.QueryBalanceResponse>; - }; - }; - QueryOwnerStore: { - new (): { - store: import("..").QueryStore<_71.QueryOwnerRequest, _71.QueryOwnerResponse>; - owner(request: _71.QueryOwnerRequest): import("..").MobxResponse<_71.QueryOwnerResponse>; - }; - }; - QuerySupplyStore: { - new (): { - store: import("..").QueryStore<_71.QuerySupplyRequest, _71.QuerySupplyResponse>; - supply(request: _71.QuerySupplyRequest): import("..").MobxResponse<_71.QuerySupplyResponse>; - }; - }; - QueryNFTsStore: { - new (): { - store: import("..").QueryStore<_71.QueryNFTsRequest, _71.QueryNFTsResponse>; - nFTs(request: _71.QueryNFTsRequest): import("..").MobxResponse<_71.QueryNFTsResponse>; - }; - }; - QueryNFTStore: { - new (): { - store: import("..").QueryStore<_71.QueryNFTRequest, _71.QueryNFTResponse>; - nFT(request: _71.QueryNFTRequest): import("..").MobxResponse<_71.QueryNFTResponse>; - }; - }; - QueryClassStore: { - new (): { - store: import("..").QueryStore<_71.QueryClassRequest, _71.QueryClassResponse>; - class(request: _71.QueryClassRequest): import("..").MobxResponse<_71.QueryClassResponse>; - }; - }; - QueryClassesStore: { - new (): { - store: import("..").QueryStore<_71.QueryClassesRequest, _71.QueryClassesResponse>; - classes(request: _71.QueryClassesRequest): import("..").MobxResponse<_71.QueryClassesResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - send(value: _72.MsgSend): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - send(value: _72.MsgSend): { - typeUrl: string; - value: _72.MsgSend; - }; - }; - toJSON: { - send(value: _72.MsgSend): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - send(value: any): { - typeUrl: string; - value: _72.MsgSend; - }; - }; - fromPartial: { - send(value: _72.MsgSend): { - typeUrl: string; - value: _72.MsgSend; - }; - }; - }; - AminoConverter: { - "/cosmos.nft.v1beta1.MsgSend": { - aminoType: string; - toAmino: (message: _72.MsgSend) => _72.MsgSendAmino; - fromAmino: (object: _72.MsgSendAmino) => _72.MsgSend; - }; - }; - MsgSend: { - typeUrl: string; - aminoType: string; - is(o: any): o is _72.MsgSend; - isSDK(o: any): o is _72.MsgSendSDKType; - isAmino(o: any): o is _72.MsgSendAmino; - encode(message: _72.MsgSend, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _72.MsgSend; - fromJSON(object: any): _72.MsgSend; - toJSON(message: _72.MsgSend): unknown; - fromPartial(object: { - classId?: string; - id?: string; - sender?: string; - receiver?: string; - }): _72.MsgSend; - fromSDK(object: _72.MsgSendSDKType): _72.MsgSend; - toSDK(message: _72.MsgSend): _72.MsgSendSDKType; - fromAmino(object: _72.MsgSendAmino): _72.MsgSend; - toAmino(message: _72.MsgSend): _72.MsgSendAmino; - fromAminoMsg(object: _72.MsgSendAminoMsg): _72.MsgSend; - toAminoMsg(message: _72.MsgSend): _72.MsgSendAminoMsg; - fromProtoMsg(message: _72.MsgSendProtoMsg): _72.MsgSend; - toProto(message: _72.MsgSend): Uint8Array; - toProtoMsg(message: _72.MsgSend): _72.MsgSendProtoMsg; - }; - MsgSendResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _72.MsgSendResponse; - isSDK(o: any): o is _72.MsgSendResponseSDKType; - isAmino(o: any): o is _72.MsgSendResponseAmino; - encode(_: _72.MsgSendResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _72.MsgSendResponse; - fromJSON(_: any): _72.MsgSendResponse; - toJSON(_: _72.MsgSendResponse): unknown; - fromPartial(_: {}): _72.MsgSendResponse; - fromSDK(_: _72.MsgSendResponseSDKType): _72.MsgSendResponse; - toSDK(_: _72.MsgSendResponse): _72.MsgSendResponseSDKType; - fromAmino(_: _72.MsgSendResponseAmino): _72.MsgSendResponse; - toAmino(_: _72.MsgSendResponse): _72.MsgSendResponseAmino; - fromAminoMsg(object: _72.MsgSendResponseAminoMsg): _72.MsgSendResponse; - toAminoMsg(message: _72.MsgSendResponse): _72.MsgSendResponseAminoMsg; - fromProtoMsg(message: _72.MsgSendResponseProtoMsg): _72.MsgSendResponse; - toProto(message: _72.MsgSendResponse): Uint8Array; - toProtoMsg(message: _72.MsgSendResponse): _72.MsgSendResponseProtoMsg; - }; - QueryBalanceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _71.QueryBalanceRequest; - isSDK(o: any): o is _71.QueryBalanceRequestSDKType; - isAmino(o: any): o is _71.QueryBalanceRequestAmino; - encode(message: _71.QueryBalanceRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _71.QueryBalanceRequest; - fromJSON(object: any): _71.QueryBalanceRequest; - toJSON(message: _71.QueryBalanceRequest): unknown; - fromPartial(object: { - classId?: string; - owner?: string; - }): _71.QueryBalanceRequest; - fromSDK(object: _71.QueryBalanceRequestSDKType): _71.QueryBalanceRequest; - toSDK(message: _71.QueryBalanceRequest): _71.QueryBalanceRequestSDKType; - fromAmino(object: _71.QueryBalanceRequestAmino): _71.QueryBalanceRequest; - toAmino(message: _71.QueryBalanceRequest): _71.QueryBalanceRequestAmino; - fromAminoMsg(object: _71.QueryBalanceRequestAminoMsg): _71.QueryBalanceRequest; - toAminoMsg(message: _71.QueryBalanceRequest): _71.QueryBalanceRequestAminoMsg; - fromProtoMsg(message: _71.QueryBalanceRequestProtoMsg): _71.QueryBalanceRequest; - toProto(message: _71.QueryBalanceRequest): Uint8Array; - toProtoMsg(message: _71.QueryBalanceRequest): _71.QueryBalanceRequestProtoMsg; - }; - QueryBalanceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _71.QueryBalanceResponse; - isSDK(o: any): o is _71.QueryBalanceResponseSDKType; - isAmino(o: any): o is _71.QueryBalanceResponseAmino; - encode(message: _71.QueryBalanceResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _71.QueryBalanceResponse; - fromJSON(object: any): _71.QueryBalanceResponse; - toJSON(message: _71.QueryBalanceResponse): unknown; - fromPartial(object: { - amount?: bigint; - }): _71.QueryBalanceResponse; - fromSDK(object: _71.QueryBalanceResponseSDKType): _71.QueryBalanceResponse; - toSDK(message: _71.QueryBalanceResponse): _71.QueryBalanceResponseSDKType; - fromAmino(object: _71.QueryBalanceResponseAmino): _71.QueryBalanceResponse; - toAmino(message: _71.QueryBalanceResponse): _71.QueryBalanceResponseAmino; - fromAminoMsg(object: _71.QueryBalanceResponseAminoMsg): _71.QueryBalanceResponse; - toAminoMsg(message: _71.QueryBalanceResponse): _71.QueryBalanceResponseAminoMsg; - fromProtoMsg(message: _71.QueryBalanceResponseProtoMsg): _71.QueryBalanceResponse; - toProto(message: _71.QueryBalanceResponse): Uint8Array; - toProtoMsg(message: _71.QueryBalanceResponse): _71.QueryBalanceResponseProtoMsg; - }; - QueryOwnerRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _71.QueryOwnerRequest; - isSDK(o: any): o is _71.QueryOwnerRequestSDKType; - isAmino(o: any): o is _71.QueryOwnerRequestAmino; - encode(message: _71.QueryOwnerRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _71.QueryOwnerRequest; - fromJSON(object: any): _71.QueryOwnerRequest; - toJSON(message: _71.QueryOwnerRequest): unknown; - fromPartial(object: { - classId?: string; - id?: string; - }): _71.QueryOwnerRequest; - fromSDK(object: _71.QueryOwnerRequestSDKType): _71.QueryOwnerRequest; - toSDK(message: _71.QueryOwnerRequest): _71.QueryOwnerRequestSDKType; - fromAmino(object: _71.QueryOwnerRequestAmino): _71.QueryOwnerRequest; - toAmino(message: _71.QueryOwnerRequest): _71.QueryOwnerRequestAmino; - fromAminoMsg(object: _71.QueryOwnerRequestAminoMsg): _71.QueryOwnerRequest; - toAminoMsg(message: _71.QueryOwnerRequest): _71.QueryOwnerRequestAminoMsg; - fromProtoMsg(message: _71.QueryOwnerRequestProtoMsg): _71.QueryOwnerRequest; - toProto(message: _71.QueryOwnerRequest): Uint8Array; - toProtoMsg(message: _71.QueryOwnerRequest): _71.QueryOwnerRequestProtoMsg; - }; - QueryOwnerResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _71.QueryOwnerResponse; - isSDK(o: any): o is _71.QueryOwnerResponseSDKType; - isAmino(o: any): o is _71.QueryOwnerResponseAmino; - encode(message: _71.QueryOwnerResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _71.QueryOwnerResponse; - fromJSON(object: any): _71.QueryOwnerResponse; - toJSON(message: _71.QueryOwnerResponse): unknown; - fromPartial(object: { - owner?: string; - }): _71.QueryOwnerResponse; - fromSDK(object: _71.QueryOwnerResponseSDKType): _71.QueryOwnerResponse; - toSDK(message: _71.QueryOwnerResponse): _71.QueryOwnerResponseSDKType; - fromAmino(object: _71.QueryOwnerResponseAmino): _71.QueryOwnerResponse; - toAmino(message: _71.QueryOwnerResponse): _71.QueryOwnerResponseAmino; - fromAminoMsg(object: _71.QueryOwnerResponseAminoMsg): _71.QueryOwnerResponse; - toAminoMsg(message: _71.QueryOwnerResponse): _71.QueryOwnerResponseAminoMsg; - fromProtoMsg(message: _71.QueryOwnerResponseProtoMsg): _71.QueryOwnerResponse; - toProto(message: _71.QueryOwnerResponse): Uint8Array; - toProtoMsg(message: _71.QueryOwnerResponse): _71.QueryOwnerResponseProtoMsg; - }; - QuerySupplyRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _71.QuerySupplyRequest; - isSDK(o: any): o is _71.QuerySupplyRequestSDKType; - isAmino(o: any): o is _71.QuerySupplyRequestAmino; - encode(message: _71.QuerySupplyRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _71.QuerySupplyRequest; - fromJSON(object: any): _71.QuerySupplyRequest; - toJSON(message: _71.QuerySupplyRequest): unknown; - fromPartial(object: { - classId?: string; - }): _71.QuerySupplyRequest; - fromSDK(object: _71.QuerySupplyRequestSDKType): _71.QuerySupplyRequest; - toSDK(message: _71.QuerySupplyRequest): _71.QuerySupplyRequestSDKType; - fromAmino(object: _71.QuerySupplyRequestAmino): _71.QuerySupplyRequest; - toAmino(message: _71.QuerySupplyRequest): _71.QuerySupplyRequestAmino; - fromAminoMsg(object: _71.QuerySupplyRequestAminoMsg): _71.QuerySupplyRequest; - toAminoMsg(message: _71.QuerySupplyRequest): _71.QuerySupplyRequestAminoMsg; - fromProtoMsg(message: _71.QuerySupplyRequestProtoMsg): _71.QuerySupplyRequest; - toProto(message: _71.QuerySupplyRequest): Uint8Array; - toProtoMsg(message: _71.QuerySupplyRequest): _71.QuerySupplyRequestProtoMsg; - }; - QuerySupplyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _71.QuerySupplyResponse; - isSDK(o: any): o is _71.QuerySupplyResponseSDKType; - isAmino(o: any): o is _71.QuerySupplyResponseAmino; - encode(message: _71.QuerySupplyResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _71.QuerySupplyResponse; - fromJSON(object: any): _71.QuerySupplyResponse; - toJSON(message: _71.QuerySupplyResponse): unknown; - fromPartial(object: { - amount?: bigint; - }): _71.QuerySupplyResponse; - fromSDK(object: _71.QuerySupplyResponseSDKType): _71.QuerySupplyResponse; - toSDK(message: _71.QuerySupplyResponse): _71.QuerySupplyResponseSDKType; - fromAmino(object: _71.QuerySupplyResponseAmino): _71.QuerySupplyResponse; - toAmino(message: _71.QuerySupplyResponse): _71.QuerySupplyResponseAmino; - fromAminoMsg(object: _71.QuerySupplyResponseAminoMsg): _71.QuerySupplyResponse; - toAminoMsg(message: _71.QuerySupplyResponse): _71.QuerySupplyResponseAminoMsg; - fromProtoMsg(message: _71.QuerySupplyResponseProtoMsg): _71.QuerySupplyResponse; - toProto(message: _71.QuerySupplyResponse): Uint8Array; - toProtoMsg(message: _71.QuerySupplyResponse): _71.QuerySupplyResponseProtoMsg; - }; - QueryNFTsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _71.QueryNFTsRequest; - isSDK(o: any): o is _71.QueryNFTsRequestSDKType; - isAmino(o: any): o is _71.QueryNFTsRequestAmino; - encode(message: _71.QueryNFTsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _71.QueryNFTsRequest; - fromJSON(object: any): _71.QueryNFTsRequest; - toJSON(message: _71.QueryNFTsRequest): unknown; - fromPartial(object: { - classId?: string; - owner?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _71.QueryNFTsRequest; - fromSDK(object: _71.QueryNFTsRequestSDKType): _71.QueryNFTsRequest; - toSDK(message: _71.QueryNFTsRequest): _71.QueryNFTsRequestSDKType; - fromAmino(object: _71.QueryNFTsRequestAmino): _71.QueryNFTsRequest; - toAmino(message: _71.QueryNFTsRequest): _71.QueryNFTsRequestAmino; - fromAminoMsg(object: _71.QueryNFTsRequestAminoMsg): _71.QueryNFTsRequest; - toAminoMsg(message: _71.QueryNFTsRequest): _71.QueryNFTsRequestAminoMsg; - fromProtoMsg(message: _71.QueryNFTsRequestProtoMsg): _71.QueryNFTsRequest; - toProto(message: _71.QueryNFTsRequest): Uint8Array; - toProtoMsg(message: _71.QueryNFTsRequest): _71.QueryNFTsRequestProtoMsg; - }; - QueryNFTsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _71.QueryNFTsResponse; - isSDK(o: any): o is _71.QueryNFTsResponseSDKType; - isAmino(o: any): o is _71.QueryNFTsResponseAmino; - encode(message: _71.QueryNFTsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _71.QueryNFTsResponse; - fromJSON(object: any): _71.QueryNFTsResponse; - toJSON(message: _71.QueryNFTsResponse): unknown; - fromPartial(object: { - nfts?: { - classId?: string; - id?: string; - uri?: string; - uriHash?: string; - data?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _71.QueryNFTsResponse; - fromSDK(object: _71.QueryNFTsResponseSDKType): _71.QueryNFTsResponse; - toSDK(message: _71.QueryNFTsResponse): _71.QueryNFTsResponseSDKType; - fromAmino(object: _71.QueryNFTsResponseAmino): _71.QueryNFTsResponse; - toAmino(message: _71.QueryNFTsResponse): _71.QueryNFTsResponseAmino; - fromAminoMsg(object: _71.QueryNFTsResponseAminoMsg): _71.QueryNFTsResponse; - toAminoMsg(message: _71.QueryNFTsResponse): _71.QueryNFTsResponseAminoMsg; - fromProtoMsg(message: _71.QueryNFTsResponseProtoMsg): _71.QueryNFTsResponse; - toProto(message: _71.QueryNFTsResponse): Uint8Array; - toProtoMsg(message: _71.QueryNFTsResponse): _71.QueryNFTsResponseProtoMsg; - }; - QueryNFTRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _71.QueryNFTRequest; - isSDK(o: any): o is _71.QueryNFTRequestSDKType; - isAmino(o: any): o is _71.QueryNFTRequestAmino; - encode(message: _71.QueryNFTRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _71.QueryNFTRequest; - fromJSON(object: any): _71.QueryNFTRequest; - toJSON(message: _71.QueryNFTRequest): unknown; - fromPartial(object: { - classId?: string; - id?: string; - }): _71.QueryNFTRequest; - fromSDK(object: _71.QueryNFTRequestSDKType): _71.QueryNFTRequest; - toSDK(message: _71.QueryNFTRequest): _71.QueryNFTRequestSDKType; - fromAmino(object: _71.QueryNFTRequestAmino): _71.QueryNFTRequest; - toAmino(message: _71.QueryNFTRequest): _71.QueryNFTRequestAmino; - fromAminoMsg(object: _71.QueryNFTRequestAminoMsg): _71.QueryNFTRequest; - toAminoMsg(message: _71.QueryNFTRequest): _71.QueryNFTRequestAminoMsg; - fromProtoMsg(message: _71.QueryNFTRequestProtoMsg): _71.QueryNFTRequest; - toProto(message: _71.QueryNFTRequest): Uint8Array; - toProtoMsg(message: _71.QueryNFTRequest): _71.QueryNFTRequestProtoMsg; - }; - QueryNFTResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _71.QueryNFTResponse; - isSDK(o: any): o is _71.QueryNFTResponseSDKType; - isAmino(o: any): o is _71.QueryNFTResponseAmino; - encode(message: _71.QueryNFTResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _71.QueryNFTResponse; - fromJSON(object: any): _71.QueryNFTResponse; - toJSON(message: _71.QueryNFTResponse): unknown; - fromPartial(object: { - nft?: { - classId?: string; - id?: string; - uri?: string; - uriHash?: string; - data?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }; - }): _71.QueryNFTResponse; - fromSDK(object: _71.QueryNFTResponseSDKType): _71.QueryNFTResponse; - toSDK(message: _71.QueryNFTResponse): _71.QueryNFTResponseSDKType; - fromAmino(object: _71.QueryNFTResponseAmino): _71.QueryNFTResponse; - toAmino(message: _71.QueryNFTResponse): _71.QueryNFTResponseAmino; - fromAminoMsg(object: _71.QueryNFTResponseAminoMsg): _71.QueryNFTResponse; - toAminoMsg(message: _71.QueryNFTResponse): _71.QueryNFTResponseAminoMsg; - fromProtoMsg(message: _71.QueryNFTResponseProtoMsg): _71.QueryNFTResponse; - toProto(message: _71.QueryNFTResponse): Uint8Array; - toProtoMsg(message: _71.QueryNFTResponse): _71.QueryNFTResponseProtoMsg; - }; - QueryClassRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _71.QueryClassRequest; - isSDK(o: any): o is _71.QueryClassRequestSDKType; - isAmino(o: any): o is _71.QueryClassRequestAmino; - encode(message: _71.QueryClassRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _71.QueryClassRequest; - fromJSON(object: any): _71.QueryClassRequest; - toJSON(message: _71.QueryClassRequest): unknown; - fromPartial(object: { - classId?: string; - }): _71.QueryClassRequest; - fromSDK(object: _71.QueryClassRequestSDKType): _71.QueryClassRequest; - toSDK(message: _71.QueryClassRequest): _71.QueryClassRequestSDKType; - fromAmino(object: _71.QueryClassRequestAmino): _71.QueryClassRequest; - toAmino(message: _71.QueryClassRequest): _71.QueryClassRequestAmino; - fromAminoMsg(object: _71.QueryClassRequestAminoMsg): _71.QueryClassRequest; - toAminoMsg(message: _71.QueryClassRequest): _71.QueryClassRequestAminoMsg; - fromProtoMsg(message: _71.QueryClassRequestProtoMsg): _71.QueryClassRequest; - toProto(message: _71.QueryClassRequest): Uint8Array; - toProtoMsg(message: _71.QueryClassRequest): _71.QueryClassRequestProtoMsg; - }; - QueryClassResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _71.QueryClassResponse; - isSDK(o: any): o is _71.QueryClassResponseSDKType; - isAmino(o: any): o is _71.QueryClassResponseAmino; - encode(message: _71.QueryClassResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _71.QueryClassResponse; - fromJSON(object: any): _71.QueryClassResponse; - toJSON(message: _71.QueryClassResponse): unknown; - fromPartial(object: { - class?: { - id?: string; - name?: string; - symbol?: string; - description?: string; - uri?: string; - uriHash?: string; - data?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }; - }): _71.QueryClassResponse; - fromSDK(object: _71.QueryClassResponseSDKType): _71.QueryClassResponse; - toSDK(message: _71.QueryClassResponse): _71.QueryClassResponseSDKType; - fromAmino(object: _71.QueryClassResponseAmino): _71.QueryClassResponse; - toAmino(message: _71.QueryClassResponse): _71.QueryClassResponseAmino; - fromAminoMsg(object: _71.QueryClassResponseAminoMsg): _71.QueryClassResponse; - toAminoMsg(message: _71.QueryClassResponse): _71.QueryClassResponseAminoMsg; - fromProtoMsg(message: _71.QueryClassResponseProtoMsg): _71.QueryClassResponse; - toProto(message: _71.QueryClassResponse): Uint8Array; - toProtoMsg(message: _71.QueryClassResponse): _71.QueryClassResponseProtoMsg; - }; - QueryClassesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _71.QueryClassesRequest; - isSDK(o: any): o is _71.QueryClassesRequestSDKType; - isAmino(o: any): o is _71.QueryClassesRequestAmino; - encode(message: _71.QueryClassesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _71.QueryClassesRequest; - fromJSON(object: any): _71.QueryClassesRequest; - toJSON(message: _71.QueryClassesRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _71.QueryClassesRequest; - fromSDK(object: _71.QueryClassesRequestSDKType): _71.QueryClassesRequest; - toSDK(message: _71.QueryClassesRequest): _71.QueryClassesRequestSDKType; - fromAmino(object: _71.QueryClassesRequestAmino): _71.QueryClassesRequest; - toAmino(message: _71.QueryClassesRequest): _71.QueryClassesRequestAmino; - fromAminoMsg(object: _71.QueryClassesRequestAminoMsg): _71.QueryClassesRequest; - toAminoMsg(message: _71.QueryClassesRequest): _71.QueryClassesRequestAminoMsg; - fromProtoMsg(message: _71.QueryClassesRequestProtoMsg): _71.QueryClassesRequest; - toProto(message: _71.QueryClassesRequest): Uint8Array; - toProtoMsg(message: _71.QueryClassesRequest): _71.QueryClassesRequestProtoMsg; - }; - QueryClassesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _71.QueryClassesResponse; - isSDK(o: any): o is _71.QueryClassesResponseSDKType; - isAmino(o: any): o is _71.QueryClassesResponseAmino; - encode(message: _71.QueryClassesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _71.QueryClassesResponse; - fromJSON(object: any): _71.QueryClassesResponse; - toJSON(message: _71.QueryClassesResponse): unknown; - fromPartial(object: { - classes?: { - id?: string; - name?: string; - symbol?: string; - description?: string; - uri?: string; - uriHash?: string; - data?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _71.QueryClassesResponse; - fromSDK(object: _71.QueryClassesResponseSDKType): _71.QueryClassesResponse; - toSDK(message: _71.QueryClassesResponse): _71.QueryClassesResponseSDKType; - fromAmino(object: _71.QueryClassesResponseAmino): _71.QueryClassesResponse; - toAmino(message: _71.QueryClassesResponse): _71.QueryClassesResponseAmino; - fromAminoMsg(object: _71.QueryClassesResponseAminoMsg): _71.QueryClassesResponse; - toAminoMsg(message: _71.QueryClassesResponse): _71.QueryClassesResponseAminoMsg; - fromProtoMsg(message: _71.QueryClassesResponseProtoMsg): _71.QueryClassesResponse; - toProto(message: _71.QueryClassesResponse): Uint8Array; - toProtoMsg(message: _71.QueryClassesResponse): _71.QueryClassesResponseProtoMsg; - }; - Class: { - typeUrl: string; - aminoType: string; - is(o: any): o is _70.Class; - isSDK(o: any): o is _70.ClassSDKType; - isAmino(o: any): o is _70.ClassAmino; - encode(message: _70.Class, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _70.Class; - fromJSON(object: any): _70.Class; - toJSON(message: _70.Class): unknown; - fromPartial(object: { - id?: string; - name?: string; - symbol?: string; - description?: string; - uri?: string; - uriHash?: string; - data?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _70.Class; - fromSDK(object: _70.ClassSDKType): _70.Class; - toSDK(message: _70.Class): _70.ClassSDKType; - fromAmino(object: _70.ClassAmino): _70.Class; - toAmino(message: _70.Class): _70.ClassAmino; - fromAminoMsg(object: _70.ClassAminoMsg): _70.Class; - toAminoMsg(message: _70.Class): _70.ClassAminoMsg; - fromProtoMsg(message: _70.ClassProtoMsg): _70.Class; - toProto(message: _70.Class): Uint8Array; - toProtoMsg(message: _70.Class): _70.ClassProtoMsg; - }; - NFT: { - typeUrl: string; - aminoType: string; - is(o: any): o is _70.NFT; - isSDK(o: any): o is _70.NFTSDKType; - isAmino(o: any): o is _70.NFTAmino; - encode(message: _70.NFT, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _70.NFT; - fromJSON(object: any): _70.NFT; - toJSON(message: _70.NFT): unknown; - fromPartial(object: { - classId?: string; - id?: string; - uri?: string; - uriHash?: string; - data?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _70.NFT; - fromSDK(object: _70.NFTSDKType): _70.NFT; - toSDK(message: _70.NFT): _70.NFTSDKType; - fromAmino(object: _70.NFTAmino): _70.NFT; - toAmino(message: _70.NFT): _70.NFTAmino; - fromAminoMsg(object: _70.NFTAminoMsg): _70.NFT; - toAminoMsg(message: _70.NFT): _70.NFTAminoMsg; - fromProtoMsg(message: _70.NFTProtoMsg): _70.NFT; - toProto(message: _70.NFT): Uint8Array; - toProtoMsg(message: _70.NFT): _70.NFTProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _69.GenesisState; - isSDK(o: any): o is _69.GenesisStateSDKType; - isAmino(o: any): o is _69.GenesisStateAmino; - encode(message: _69.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _69.GenesisState; - fromJSON(object: any): _69.GenesisState; - toJSON(message: _69.GenesisState): unknown; - fromPartial(object: { - classes?: { - id?: string; - name?: string; - symbol?: string; - description?: string; - uri?: string; - uriHash?: string; - data?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - entries?: { - owner?: string; - nfts?: { - classId?: string; - id?: string; - uri?: string; - uriHash?: string; - data?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }[]; - }): _69.GenesisState; - fromSDK(object: _69.GenesisStateSDKType): _69.GenesisState; - toSDK(message: _69.GenesisState): _69.GenesisStateSDKType; - fromAmino(object: _69.GenesisStateAmino): _69.GenesisState; - toAmino(message: _69.GenesisState): _69.GenesisStateAmino; - fromAminoMsg(object: _69.GenesisStateAminoMsg): _69.GenesisState; - toAminoMsg(message: _69.GenesisState): _69.GenesisStateAminoMsg; - fromProtoMsg(message: _69.GenesisStateProtoMsg): _69.GenesisState; - toProto(message: _69.GenesisState): Uint8Array; - toProtoMsg(message: _69.GenesisState): _69.GenesisStateProtoMsg; - }; - Entry: { - typeUrl: string; - aminoType: string; - is(o: any): o is _69.Entry; - isSDK(o: any): o is _69.EntrySDKType; - isAmino(o: any): o is _69.EntryAmino; - encode(message: _69.Entry, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _69.Entry; - fromJSON(object: any): _69.Entry; - toJSON(message: _69.Entry): unknown; - fromPartial(object: { - owner?: string; - nfts?: { - classId?: string; - id?: string; - uri?: string; - uriHash?: string; - data?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }): _69.Entry; - fromSDK(object: _69.EntrySDKType): _69.Entry; - toSDK(message: _69.Entry): _69.EntrySDKType; - fromAmino(object: _69.EntryAmino): _69.Entry; - toAmino(message: _69.Entry): _69.EntryAmino; - fromAminoMsg(object: _69.EntryAminoMsg): _69.Entry; - toAminoMsg(message: _69.Entry): _69.EntryAminoMsg; - fromProtoMsg(message: _69.EntryProtoMsg): _69.Entry; - toProto(message: _69.Entry): Uint8Array; - toProtoMsg(message: _69.Entry): _69.EntryProtoMsg; - }; - EventSend: { - typeUrl: string; - aminoType: string; - is(o: any): o is _68.EventSend; - isSDK(o: any): o is _68.EventSendSDKType; - isAmino(o: any): o is _68.EventSendAmino; - encode(message: _68.EventSend, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _68.EventSend; - fromJSON(object: any): _68.EventSend; - toJSON(message: _68.EventSend): unknown; - fromPartial(object: { - classId?: string; - id?: string; - sender?: string; - receiver?: string; - }): _68.EventSend; - fromSDK(object: _68.EventSendSDKType): _68.EventSend; - toSDK(message: _68.EventSend): _68.EventSendSDKType; - fromAmino(object: _68.EventSendAmino): _68.EventSend; - toAmino(message: _68.EventSend): _68.EventSendAmino; - fromAminoMsg(object: _68.EventSendAminoMsg): _68.EventSend; - toAminoMsg(message: _68.EventSend): _68.EventSendAminoMsg; - fromProtoMsg(message: _68.EventSendProtoMsg): _68.EventSend; - toProto(message: _68.EventSend): Uint8Array; - toProtoMsg(message: _68.EventSend): _68.EventSendProtoMsg; - }; - EventMint: { - typeUrl: string; - aminoType: string; - is(o: any): o is _68.EventMint; - isSDK(o: any): o is _68.EventMintSDKType; - isAmino(o: any): o is _68.EventMintAmino; - encode(message: _68.EventMint, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _68.EventMint; - fromJSON(object: any): _68.EventMint; - toJSON(message: _68.EventMint): unknown; - fromPartial(object: { - classId?: string; - id?: string; - owner?: string; - }): _68.EventMint; - fromSDK(object: _68.EventMintSDKType): _68.EventMint; - toSDK(message: _68.EventMint): _68.EventMintSDKType; - fromAmino(object: _68.EventMintAmino): _68.EventMint; - toAmino(message: _68.EventMint): _68.EventMintAmino; - fromAminoMsg(object: _68.EventMintAminoMsg): _68.EventMint; - toAminoMsg(message: _68.EventMint): _68.EventMintAminoMsg; - fromProtoMsg(message: _68.EventMintProtoMsg): _68.EventMint; - toProto(message: _68.EventMint): Uint8Array; - toProtoMsg(message: _68.EventMint): _68.EventMintProtoMsg; - }; - EventBurn: { - typeUrl: string; - aminoType: string; - is(o: any): o is _68.EventBurn; - isSDK(o: any): o is _68.EventBurnSDKType; - isAmino(o: any): o is _68.EventBurnAmino; - encode(message: _68.EventBurn, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _68.EventBurn; - fromJSON(object: any): _68.EventBurn; - toJSON(message: _68.EventBurn): unknown; - fromPartial(object: { - classId?: string; - id?: string; - owner?: string; - }): _68.EventBurn; - fromSDK(object: _68.EventBurnSDKType): _68.EventBurn; - toSDK(message: _68.EventBurn): _68.EventBurnSDKType; - fromAmino(object: _68.EventBurnAmino): _68.EventBurn; - toAmino(message: _68.EventBurn): _68.EventBurnAmino; - fromAminoMsg(object: _68.EventBurnAminoMsg): _68.EventBurn; - toAminoMsg(message: _68.EventBurn): _68.EventBurnAminoMsg; - fromProtoMsg(message: _68.EventBurnProtoMsg): _68.EventBurn; - toProto(message: _68.EventBurn): Uint8Array; - toProtoMsg(message: _68.EventBurn): _68.EventBurnProtoMsg; - }; - }; - } - namespace orm { - const v1: { - TableDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _73.TableDescriptor; - isSDK(o: any): o is _73.TableDescriptorSDKType; - isAmino(o: any): o is _73.TableDescriptorAmino; - encode(message: _73.TableDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _73.TableDescriptor; - fromJSON(object: any): _73.TableDescriptor; - toJSON(message: _73.TableDescriptor): unknown; - fromPartial(object: { - primaryKey?: { - fields?: string; - autoIncrement?: boolean; - }; - index?: { - fields?: string; - id?: number; - unique?: boolean; - }[]; - id?: number; - }): _73.TableDescriptor; - fromSDK(object: _73.TableDescriptorSDKType): _73.TableDescriptor; - toSDK(message: _73.TableDescriptor): _73.TableDescriptorSDKType; - fromAmino(object: _73.TableDescriptorAmino): _73.TableDescriptor; - toAmino(message: _73.TableDescriptor): _73.TableDescriptorAmino; - fromAminoMsg(object: _73.TableDescriptorAminoMsg): _73.TableDescriptor; - toAminoMsg(message: _73.TableDescriptor): _73.TableDescriptorAminoMsg; - fromProtoMsg(message: _73.TableDescriptorProtoMsg): _73.TableDescriptor; - toProto(message: _73.TableDescriptor): Uint8Array; - toProtoMsg(message: _73.TableDescriptor): _73.TableDescriptorProtoMsg; - }; - PrimaryKeyDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _73.PrimaryKeyDescriptor; - isSDK(o: any): o is _73.PrimaryKeyDescriptorSDKType; - isAmino(o: any): o is _73.PrimaryKeyDescriptorAmino; - encode(message: _73.PrimaryKeyDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _73.PrimaryKeyDescriptor; - fromJSON(object: any): _73.PrimaryKeyDescriptor; - toJSON(message: _73.PrimaryKeyDescriptor): unknown; - fromPartial(object: { - fields?: string; - autoIncrement?: boolean; - }): _73.PrimaryKeyDescriptor; - fromSDK(object: _73.PrimaryKeyDescriptorSDKType): _73.PrimaryKeyDescriptor; - toSDK(message: _73.PrimaryKeyDescriptor): _73.PrimaryKeyDescriptorSDKType; - fromAmino(object: _73.PrimaryKeyDescriptorAmino): _73.PrimaryKeyDescriptor; - toAmino(message: _73.PrimaryKeyDescriptor): _73.PrimaryKeyDescriptorAmino; - fromAminoMsg(object: _73.PrimaryKeyDescriptorAminoMsg): _73.PrimaryKeyDescriptor; - toAminoMsg(message: _73.PrimaryKeyDescriptor): _73.PrimaryKeyDescriptorAminoMsg; - fromProtoMsg(message: _73.PrimaryKeyDescriptorProtoMsg): _73.PrimaryKeyDescriptor; - toProto(message: _73.PrimaryKeyDescriptor): Uint8Array; - toProtoMsg(message: _73.PrimaryKeyDescriptor): _73.PrimaryKeyDescriptorProtoMsg; - }; - SecondaryIndexDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _73.SecondaryIndexDescriptor; - isSDK(o: any): o is _73.SecondaryIndexDescriptorSDKType; - isAmino(o: any): o is _73.SecondaryIndexDescriptorAmino; - encode(message: _73.SecondaryIndexDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _73.SecondaryIndexDescriptor; - fromJSON(object: any): _73.SecondaryIndexDescriptor; - toJSON(message: _73.SecondaryIndexDescriptor): unknown; - fromPartial(object: { - fields?: string; - id?: number; - unique?: boolean; - }): _73.SecondaryIndexDescriptor; - fromSDK(object: _73.SecondaryIndexDescriptorSDKType): _73.SecondaryIndexDescriptor; - toSDK(message: _73.SecondaryIndexDescriptor): _73.SecondaryIndexDescriptorSDKType; - fromAmino(object: _73.SecondaryIndexDescriptorAmino): _73.SecondaryIndexDescriptor; - toAmino(message: _73.SecondaryIndexDescriptor): _73.SecondaryIndexDescriptorAmino; - fromAminoMsg(object: _73.SecondaryIndexDescriptorAminoMsg): _73.SecondaryIndexDescriptor; - toAminoMsg(message: _73.SecondaryIndexDescriptor): _73.SecondaryIndexDescriptorAminoMsg; - fromProtoMsg(message: _73.SecondaryIndexDescriptorProtoMsg): _73.SecondaryIndexDescriptor; - toProto(message: _73.SecondaryIndexDescriptor): Uint8Array; - toProtoMsg(message: _73.SecondaryIndexDescriptor): _73.SecondaryIndexDescriptorProtoMsg; - }; - SingletonDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _73.SingletonDescriptor; - isSDK(o: any): o is _73.SingletonDescriptorSDKType; - isAmino(o: any): o is _73.SingletonDescriptorAmino; - encode(message: _73.SingletonDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _73.SingletonDescriptor; - fromJSON(object: any): _73.SingletonDescriptor; - toJSON(message: _73.SingletonDescriptor): unknown; - fromPartial(object: { - id?: number; - }): _73.SingletonDescriptor; - fromSDK(object: _73.SingletonDescriptorSDKType): _73.SingletonDescriptor; - toSDK(message: _73.SingletonDescriptor): _73.SingletonDescriptorSDKType; - fromAmino(object: _73.SingletonDescriptorAmino): _73.SingletonDescriptor; - toAmino(message: _73.SingletonDescriptor): _73.SingletonDescriptorAmino; - fromAminoMsg(object: _73.SingletonDescriptorAminoMsg): _73.SingletonDescriptor; - toAminoMsg(message: _73.SingletonDescriptor): _73.SingletonDescriptorAminoMsg; - fromProtoMsg(message: _73.SingletonDescriptorProtoMsg): _73.SingletonDescriptor; - toProto(message: _73.SingletonDescriptor): Uint8Array; - toProtoMsg(message: _73.SingletonDescriptor): _73.SingletonDescriptorProtoMsg; - }; - }; - const v1alpha1: { - storageTypeFromJSON(object: any): _74.StorageType; - storageTypeToJSON(object: _74.StorageType): string; - StorageType: typeof _74.StorageType; - StorageTypeSDKType: typeof _74.StorageType; - StorageTypeAmino: typeof _74.StorageType; - ModuleSchemaDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _74.ModuleSchemaDescriptor; - isSDK(o: any): o is _74.ModuleSchemaDescriptorSDKType; - isAmino(o: any): o is _74.ModuleSchemaDescriptorAmino; - encode(message: _74.ModuleSchemaDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _74.ModuleSchemaDescriptor; - fromJSON(object: any): _74.ModuleSchemaDescriptor; - toJSON(message: _74.ModuleSchemaDescriptor): unknown; - fromPartial(object: { - schemaFile?: { - id?: number; - protoFileName?: string; - storageType?: _74.StorageType; - }[]; - prefix?: Uint8Array; - }): _74.ModuleSchemaDescriptor; - fromSDK(object: _74.ModuleSchemaDescriptorSDKType): _74.ModuleSchemaDescriptor; - toSDK(message: _74.ModuleSchemaDescriptor): _74.ModuleSchemaDescriptorSDKType; - fromAmino(object: _74.ModuleSchemaDescriptorAmino): _74.ModuleSchemaDescriptor; - toAmino(message: _74.ModuleSchemaDescriptor): _74.ModuleSchemaDescriptorAmino; - fromAminoMsg(object: _74.ModuleSchemaDescriptorAminoMsg): _74.ModuleSchemaDescriptor; - toAminoMsg(message: _74.ModuleSchemaDescriptor): _74.ModuleSchemaDescriptorAminoMsg; - fromProtoMsg(message: _74.ModuleSchemaDescriptorProtoMsg): _74.ModuleSchemaDescriptor; - toProto(message: _74.ModuleSchemaDescriptor): Uint8Array; - toProtoMsg(message: _74.ModuleSchemaDescriptor): _74.ModuleSchemaDescriptorProtoMsg; - }; - ModuleSchemaDescriptor_FileEntry: { - typeUrl: string; - aminoType: string; - is(o: any): o is _74.ModuleSchemaDescriptor_FileEntry; - isSDK(o: any): o is _74.ModuleSchemaDescriptor_FileEntrySDKType; - isAmino(o: any): o is _74.ModuleSchemaDescriptor_FileEntryAmino; - encode(message: _74.ModuleSchemaDescriptor_FileEntry, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _74.ModuleSchemaDescriptor_FileEntry; - fromJSON(object: any): _74.ModuleSchemaDescriptor_FileEntry; - toJSON(message: _74.ModuleSchemaDescriptor_FileEntry): unknown; - fromPartial(object: { - id?: number; - protoFileName?: string; - storageType?: _74.StorageType; - }): _74.ModuleSchemaDescriptor_FileEntry; - fromSDK(object: _74.ModuleSchemaDescriptor_FileEntrySDKType): _74.ModuleSchemaDescriptor_FileEntry; - toSDK(message: _74.ModuleSchemaDescriptor_FileEntry): _74.ModuleSchemaDescriptor_FileEntrySDKType; - fromAmino(object: _74.ModuleSchemaDescriptor_FileEntryAmino): _74.ModuleSchemaDescriptor_FileEntry; - toAmino(message: _74.ModuleSchemaDescriptor_FileEntry): _74.ModuleSchemaDescriptor_FileEntryAmino; - fromAminoMsg(object: _74.ModuleSchemaDescriptor_FileEntryAminoMsg): _74.ModuleSchemaDescriptor_FileEntry; - toAminoMsg(message: _74.ModuleSchemaDescriptor_FileEntry): _74.ModuleSchemaDescriptor_FileEntryAminoMsg; - fromProtoMsg(message: _74.ModuleSchemaDescriptor_FileEntryProtoMsg): _74.ModuleSchemaDescriptor_FileEntry; - toProto(message: _74.ModuleSchemaDescriptor_FileEntry): Uint8Array; - toProtoMsg(message: _74.ModuleSchemaDescriptor_FileEntry): _74.ModuleSchemaDescriptor_FileEntryProtoMsg; - }; - }; - } - namespace params { - const v1beta1: { - QueryClientImpl: typeof _231.QueryClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _231.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useParams: ({ request, options }: _231.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useSubspaces: ({ request, options }: _231.UseSubspacesQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_76.QueryParamsRequest, _76.QueryParamsResponse>; - params(request: _76.QueryParamsRequest): import("..").MobxResponse<_76.QueryParamsResponse>; - }; - }; - QuerySubspacesStore: { - new (): { - store: import("..").QueryStore<_76.QuerySubspacesRequest, _76.QuerySubspacesResponse>; - subspaces(request: _76.QuerySubspacesRequest): import("..").MobxResponse<_76.QuerySubspacesResponse>; - }; - }; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _76.QueryParamsRequest; - isSDK(o: any): o is _76.QueryParamsRequestSDKType; - isAmino(o: any): o is _76.QueryParamsRequestAmino; - encode(message: _76.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _76.QueryParamsRequest; - fromJSON(object: any): _76.QueryParamsRequest; - toJSON(message: _76.QueryParamsRequest): unknown; - fromPartial(object: { - subspace?: string; - key?: string; - }): _76.QueryParamsRequest; - fromSDK(object: _76.QueryParamsRequestSDKType): _76.QueryParamsRequest; - toSDK(message: _76.QueryParamsRequest): _76.QueryParamsRequestSDKType; - fromAmino(object: _76.QueryParamsRequestAmino): _76.QueryParamsRequest; - toAmino(message: _76.QueryParamsRequest): _76.QueryParamsRequestAmino; - fromAminoMsg(object: _76.QueryParamsRequestAminoMsg): _76.QueryParamsRequest; - toAminoMsg(message: _76.QueryParamsRequest): _76.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _76.QueryParamsRequestProtoMsg): _76.QueryParamsRequest; - toProto(message: _76.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _76.QueryParamsRequest): _76.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _76.QueryParamsResponse; - isSDK(o: any): o is _76.QueryParamsResponseSDKType; - isAmino(o: any): o is _76.QueryParamsResponseAmino; - encode(message: _76.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _76.QueryParamsResponse; - fromJSON(object: any): _76.QueryParamsResponse; - toJSON(message: _76.QueryParamsResponse): unknown; - fromPartial(object: { - param?: { - subspace?: string; - key?: string; - value?: string; - }; - }): _76.QueryParamsResponse; - fromSDK(object: _76.QueryParamsResponseSDKType): _76.QueryParamsResponse; - toSDK(message: _76.QueryParamsResponse): _76.QueryParamsResponseSDKType; - fromAmino(object: _76.QueryParamsResponseAmino): _76.QueryParamsResponse; - toAmino(message: _76.QueryParamsResponse): _76.QueryParamsResponseAmino; - fromAminoMsg(object: _76.QueryParamsResponseAminoMsg): _76.QueryParamsResponse; - toAminoMsg(message: _76.QueryParamsResponse): _76.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _76.QueryParamsResponseProtoMsg): _76.QueryParamsResponse; - toProto(message: _76.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _76.QueryParamsResponse): _76.QueryParamsResponseProtoMsg; - }; - QuerySubspacesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _76.QuerySubspacesRequest; - isSDK(o: any): o is _76.QuerySubspacesRequestSDKType; - isAmino(o: any): o is _76.QuerySubspacesRequestAmino; - encode(_: _76.QuerySubspacesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _76.QuerySubspacesRequest; - fromJSON(_: any): _76.QuerySubspacesRequest; - toJSON(_: _76.QuerySubspacesRequest): unknown; - fromPartial(_: {}): _76.QuerySubspacesRequest; - fromSDK(_: _76.QuerySubspacesRequestSDKType): _76.QuerySubspacesRequest; - toSDK(_: _76.QuerySubspacesRequest): _76.QuerySubspacesRequestSDKType; - fromAmino(_: _76.QuerySubspacesRequestAmino): _76.QuerySubspacesRequest; - toAmino(_: _76.QuerySubspacesRequest): _76.QuerySubspacesRequestAmino; - fromAminoMsg(object: _76.QuerySubspacesRequestAminoMsg): _76.QuerySubspacesRequest; - toAminoMsg(message: _76.QuerySubspacesRequest): _76.QuerySubspacesRequestAminoMsg; - fromProtoMsg(message: _76.QuerySubspacesRequestProtoMsg): _76.QuerySubspacesRequest; - toProto(message: _76.QuerySubspacesRequest): Uint8Array; - toProtoMsg(message: _76.QuerySubspacesRequest): _76.QuerySubspacesRequestProtoMsg; - }; - QuerySubspacesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _76.QuerySubspacesResponse; - isSDK(o: any): o is _76.QuerySubspacesResponseSDKType; - isAmino(o: any): o is _76.QuerySubspacesResponseAmino; - encode(message: _76.QuerySubspacesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _76.QuerySubspacesResponse; - fromJSON(object: any): _76.QuerySubspacesResponse; - toJSON(message: _76.QuerySubspacesResponse): unknown; - fromPartial(object: { - subspaces?: { - subspace?: string; - keys?: string[]; - }[]; - }): _76.QuerySubspacesResponse; - fromSDK(object: _76.QuerySubspacesResponseSDKType): _76.QuerySubspacesResponse; - toSDK(message: _76.QuerySubspacesResponse): _76.QuerySubspacesResponseSDKType; - fromAmino(object: _76.QuerySubspacesResponseAmino): _76.QuerySubspacesResponse; - toAmino(message: _76.QuerySubspacesResponse): _76.QuerySubspacesResponseAmino; - fromAminoMsg(object: _76.QuerySubspacesResponseAminoMsg): _76.QuerySubspacesResponse; - toAminoMsg(message: _76.QuerySubspacesResponse): _76.QuerySubspacesResponseAminoMsg; - fromProtoMsg(message: _76.QuerySubspacesResponseProtoMsg): _76.QuerySubspacesResponse; - toProto(message: _76.QuerySubspacesResponse): Uint8Array; - toProtoMsg(message: _76.QuerySubspacesResponse): _76.QuerySubspacesResponseProtoMsg; - }; - Subspace: { - typeUrl: string; - aminoType: string; - is(o: any): o is _76.Subspace; - isSDK(o: any): o is _76.SubspaceSDKType; - isAmino(o: any): o is _76.SubspaceAmino; - encode(message: _76.Subspace, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _76.Subspace; - fromJSON(object: any): _76.Subspace; - toJSON(message: _76.Subspace): unknown; - fromPartial(object: { - subspace?: string; - keys?: string[]; - }): _76.Subspace; - fromSDK(object: _76.SubspaceSDKType): _76.Subspace; - toSDK(message: _76.Subspace): _76.SubspaceSDKType; - fromAmino(object: _76.SubspaceAmino): _76.Subspace; - toAmino(message: _76.Subspace): _76.SubspaceAmino; - fromAminoMsg(object: _76.SubspaceAminoMsg): _76.Subspace; - toAminoMsg(message: _76.Subspace): _76.SubspaceAminoMsg; - fromProtoMsg(message: _76.SubspaceProtoMsg): _76.Subspace; - toProto(message: _76.Subspace): Uint8Array; - toProtoMsg(message: _76.Subspace): _76.SubspaceProtoMsg; - }; - ParameterChangeProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _75.ParameterChangeProposal; - isSDK(o: any): o is _75.ParameterChangeProposalSDKType; - isAmino(o: any): o is _75.ParameterChangeProposalAmino; - encode(message: _75.ParameterChangeProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _75.ParameterChangeProposal; - fromJSON(object: any): _75.ParameterChangeProposal; - toJSON(message: _75.ParameterChangeProposal): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.params.v1beta1.ParameterChangeProposal"; - title?: string; - description?: string; - changes?: { - subspace?: string; - key?: string; - value?: string; - }[]; - }): _75.ParameterChangeProposal; - fromSDK(object: _75.ParameterChangeProposalSDKType): _75.ParameterChangeProposal; - toSDK(message: _75.ParameterChangeProposal): _75.ParameterChangeProposalSDKType; - fromAmino(object: _75.ParameterChangeProposalAmino): _75.ParameterChangeProposal; - toAmino(message: _75.ParameterChangeProposal): _75.ParameterChangeProposalAmino; - fromAminoMsg(object: _75.ParameterChangeProposalAminoMsg): _75.ParameterChangeProposal; - toAminoMsg(message: _75.ParameterChangeProposal): _75.ParameterChangeProposalAminoMsg; - fromProtoMsg(message: _75.ParameterChangeProposalProtoMsg): _75.ParameterChangeProposal; - toProto(message: _75.ParameterChangeProposal): Uint8Array; - toProtoMsg(message: _75.ParameterChangeProposal): _75.ParameterChangeProposalProtoMsg; - }; - ParamChange: { - typeUrl: string; - aminoType: string; - is(o: any): o is _75.ParamChange; - isSDK(o: any): o is _75.ParamChangeSDKType; - isAmino(o: any): o is _75.ParamChangeAmino; - encode(message: _75.ParamChange, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _75.ParamChange; - fromJSON(object: any): _75.ParamChange; - toJSON(message: _75.ParamChange): unknown; - fromPartial(object: { - subspace?: string; - key?: string; - value?: string; - }): _75.ParamChange; - fromSDK(object: _75.ParamChangeSDKType): _75.ParamChange; - toSDK(message: _75.ParamChange): _75.ParamChangeSDKType; - fromAmino(object: _75.ParamChangeAmino): _75.ParamChange; - toAmino(message: _75.ParamChange): _75.ParamChangeAmino; - fromAminoMsg(object: _75.ParamChangeAminoMsg): _75.ParamChange; - toAminoMsg(message: _75.ParamChange): _75.ParamChangeAminoMsg; - fromProtoMsg(message: _75.ParamChangeProtoMsg): _75.ParamChange; - toProto(message: _75.ParamChange): Uint8Array; - toProtoMsg(message: _75.ParamChange): _75.ParamChangeProtoMsg; - }; - }; - } - namespace slashing { - const v1beta1: { - MsgClientImpl: typeof _246.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _246.MsgClientImpl; - QueryClientImpl: typeof _232.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useParams: ({ request, options }: _232.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useSigningInfo: ({ request, options }: _232.UseSigningInfoQuery) => import("@tanstack/react-query").UseQueryResult; - useSigningInfos: ({ request, options }: _232.UseSigningInfosQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_78.QueryParamsRequest, _78.QueryParamsResponse>; - params(request: _78.QueryParamsRequest): import("..").MobxResponse<_78.QueryParamsResponse>; - }; - }; - QuerySigningInfoStore: { - new (): { - store: import("..").QueryStore<_78.QuerySigningInfoRequest, _78.QuerySigningInfoResponse>; - signingInfo(request: _78.QuerySigningInfoRequest): import("..").MobxResponse<_78.QuerySigningInfoResponse>; - }; - }; - QuerySigningInfosStore: { - new (): { - store: import("..").QueryStore<_78.QuerySigningInfosRequest, _78.QuerySigningInfosResponse>; - signingInfos(request: _78.QuerySigningInfosRequest): import("..").MobxResponse<_78.QuerySigningInfosResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - unjail(value: _80.MsgUnjail): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - unjail(value: _80.MsgUnjail): { - typeUrl: string; - value: _80.MsgUnjail; - }; - }; - toJSON: { - unjail(value: _80.MsgUnjail): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - unjail(value: any): { - typeUrl: string; - value: _80.MsgUnjail; - }; - }; - fromPartial: { - unjail(value: _80.MsgUnjail): { - typeUrl: string; - value: _80.MsgUnjail; - }; - }; - }; - AminoConverter: { - "/cosmos.slashing.v1beta1.MsgUnjail": { - aminoType: string; - toAmino: (message: _80.MsgUnjail) => _80.MsgUnjailAmino; - fromAmino: (object: _80.MsgUnjailAmino) => _80.MsgUnjail; - }; - }; - MsgUnjail: { - typeUrl: string; - aminoType: string; - is(o: any): o is _80.MsgUnjail; - isSDK(o: any): o is _80.MsgUnjailSDKType; - isAmino(o: any): o is _80.MsgUnjailAmino; - encode(message: _80.MsgUnjail, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _80.MsgUnjail; - fromJSON(object: any): _80.MsgUnjail; - toJSON(message: _80.MsgUnjail): unknown; - fromPartial(object: { - validatorAddr?: string; - }): _80.MsgUnjail; - fromSDK(object: _80.MsgUnjailSDKType): _80.MsgUnjail; - toSDK(message: _80.MsgUnjail): _80.MsgUnjailSDKType; - fromAmino(object: _80.MsgUnjailAmino): _80.MsgUnjail; - toAmino(message: _80.MsgUnjail): _80.MsgUnjailAmino; - fromAminoMsg(object: _80.MsgUnjailAminoMsg): _80.MsgUnjail; - toAminoMsg(message: _80.MsgUnjail): _80.MsgUnjailAminoMsg; - fromProtoMsg(message: _80.MsgUnjailProtoMsg): _80.MsgUnjail; - toProto(message: _80.MsgUnjail): Uint8Array; - toProtoMsg(message: _80.MsgUnjail): _80.MsgUnjailProtoMsg; - }; - MsgUnjailResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _80.MsgUnjailResponse; - isSDK(o: any): o is _80.MsgUnjailResponseSDKType; - isAmino(o: any): o is _80.MsgUnjailResponseAmino; - encode(_: _80.MsgUnjailResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _80.MsgUnjailResponse; - fromJSON(_: any): _80.MsgUnjailResponse; - toJSON(_: _80.MsgUnjailResponse): unknown; - fromPartial(_: {}): _80.MsgUnjailResponse; - fromSDK(_: _80.MsgUnjailResponseSDKType): _80.MsgUnjailResponse; - toSDK(_: _80.MsgUnjailResponse): _80.MsgUnjailResponseSDKType; - fromAmino(_: _80.MsgUnjailResponseAmino): _80.MsgUnjailResponse; - toAmino(_: _80.MsgUnjailResponse): _80.MsgUnjailResponseAmino; - fromAminoMsg(object: _80.MsgUnjailResponseAminoMsg): _80.MsgUnjailResponse; - toAminoMsg(message: _80.MsgUnjailResponse): _80.MsgUnjailResponseAminoMsg; - fromProtoMsg(message: _80.MsgUnjailResponseProtoMsg): _80.MsgUnjailResponse; - toProto(message: _80.MsgUnjailResponse): Uint8Array; - toProtoMsg(message: _80.MsgUnjailResponse): _80.MsgUnjailResponseProtoMsg; - }; - ValidatorSigningInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _79.ValidatorSigningInfo; - isSDK(o: any): o is _79.ValidatorSigningInfoSDKType; - isAmino(o: any): o is _79.ValidatorSigningInfoAmino; - encode(message: _79.ValidatorSigningInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _79.ValidatorSigningInfo; - fromJSON(object: any): _79.ValidatorSigningInfo; - toJSON(message: _79.ValidatorSigningInfo): unknown; - fromPartial(object: { - address?: string; - startHeight?: bigint; - indexOffset?: bigint; - jailedUntil?: Date; - tombstoned?: boolean; - missedBlocksCounter?: bigint; - }): _79.ValidatorSigningInfo; - fromSDK(object: _79.ValidatorSigningInfoSDKType): _79.ValidatorSigningInfo; - toSDK(message: _79.ValidatorSigningInfo): _79.ValidatorSigningInfoSDKType; - fromAmino(object: _79.ValidatorSigningInfoAmino): _79.ValidatorSigningInfo; - toAmino(message: _79.ValidatorSigningInfo): _79.ValidatorSigningInfoAmino; - fromAminoMsg(object: _79.ValidatorSigningInfoAminoMsg): _79.ValidatorSigningInfo; - toAminoMsg(message: _79.ValidatorSigningInfo): _79.ValidatorSigningInfoAminoMsg; - fromProtoMsg(message: _79.ValidatorSigningInfoProtoMsg): _79.ValidatorSigningInfo; - toProto(message: _79.ValidatorSigningInfo): Uint8Array; - toProtoMsg(message: _79.ValidatorSigningInfo): _79.ValidatorSigningInfoProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _79.Params; - isSDK(o: any): o is _79.ParamsSDKType; - isAmino(o: any): o is _79.ParamsAmino; - encode(message: _79.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _79.Params; - fromJSON(object: any): _79.Params; - toJSON(message: _79.Params): unknown; - fromPartial(object: { - signedBlocksWindow?: bigint; - minSignedPerWindow?: Uint8Array; - downtimeJailDuration?: { - seconds?: bigint; - nanos?: number; - }; - slashFractionDoubleSign?: Uint8Array; - slashFractionDowntime?: Uint8Array; - }): _79.Params; - fromSDK(object: _79.ParamsSDKType): _79.Params; - toSDK(message: _79.Params): _79.ParamsSDKType; - fromAmino(object: _79.ParamsAmino): _79.Params; - toAmino(message: _79.Params): _79.ParamsAmino; - fromAminoMsg(object: _79.ParamsAminoMsg): _79.Params; - toAminoMsg(message: _79.Params): _79.ParamsAminoMsg; - fromProtoMsg(message: _79.ParamsProtoMsg): _79.Params; - toProto(message: _79.Params): Uint8Array; - toProtoMsg(message: _79.Params): _79.ParamsProtoMsg; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _78.QueryParamsRequest; - isSDK(o: any): o is _78.QueryParamsRequestSDKType; - isAmino(o: any): o is _78.QueryParamsRequestAmino; - encode(_: _78.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _78.QueryParamsRequest; - fromJSON(_: any): _78.QueryParamsRequest; - toJSON(_: _78.QueryParamsRequest): unknown; - fromPartial(_: {}): _78.QueryParamsRequest; - fromSDK(_: _78.QueryParamsRequestSDKType): _78.QueryParamsRequest; - toSDK(_: _78.QueryParamsRequest): _78.QueryParamsRequestSDKType; - fromAmino(_: _78.QueryParamsRequestAmino): _78.QueryParamsRequest; - toAmino(_: _78.QueryParamsRequest): _78.QueryParamsRequestAmino; - fromAminoMsg(object: _78.QueryParamsRequestAminoMsg): _78.QueryParamsRequest; - toAminoMsg(message: _78.QueryParamsRequest): _78.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _78.QueryParamsRequestProtoMsg): _78.QueryParamsRequest; - toProto(message: _78.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _78.QueryParamsRequest): _78.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _78.QueryParamsResponse; - isSDK(o: any): o is _78.QueryParamsResponseSDKType; - isAmino(o: any): o is _78.QueryParamsResponseAmino; - encode(message: _78.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _78.QueryParamsResponse; - fromJSON(object: any): _78.QueryParamsResponse; - toJSON(message: _78.QueryParamsResponse): unknown; - fromPartial(object: { - params?: { - signedBlocksWindow?: bigint; - minSignedPerWindow?: Uint8Array; - downtimeJailDuration?: { - seconds?: bigint; - nanos?: number; - }; - slashFractionDoubleSign?: Uint8Array; - slashFractionDowntime?: Uint8Array; - }; - }): _78.QueryParamsResponse; - fromSDK(object: _78.QueryParamsResponseSDKType): _78.QueryParamsResponse; - toSDK(message: _78.QueryParamsResponse): _78.QueryParamsResponseSDKType; - fromAmino(object: _78.QueryParamsResponseAmino): _78.QueryParamsResponse; - toAmino(message: _78.QueryParamsResponse): _78.QueryParamsResponseAmino; - fromAminoMsg(object: _78.QueryParamsResponseAminoMsg): _78.QueryParamsResponse; - toAminoMsg(message: _78.QueryParamsResponse): _78.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _78.QueryParamsResponseProtoMsg): _78.QueryParamsResponse; - toProto(message: _78.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _78.QueryParamsResponse): _78.QueryParamsResponseProtoMsg; - }; - QuerySigningInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _78.QuerySigningInfoRequest; - isSDK(o: any): o is _78.QuerySigningInfoRequestSDKType; - isAmino(o: any): o is _78.QuerySigningInfoRequestAmino; - encode(message: _78.QuerySigningInfoRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _78.QuerySigningInfoRequest; - fromJSON(object: any): _78.QuerySigningInfoRequest; - toJSON(message: _78.QuerySigningInfoRequest): unknown; - fromPartial(object: { - consAddress?: string; - }): _78.QuerySigningInfoRequest; - fromSDK(object: _78.QuerySigningInfoRequestSDKType): _78.QuerySigningInfoRequest; - toSDK(message: _78.QuerySigningInfoRequest): _78.QuerySigningInfoRequestSDKType; - fromAmino(object: _78.QuerySigningInfoRequestAmino): _78.QuerySigningInfoRequest; - toAmino(message: _78.QuerySigningInfoRequest): _78.QuerySigningInfoRequestAmino; - fromAminoMsg(object: _78.QuerySigningInfoRequestAminoMsg): _78.QuerySigningInfoRequest; - toAminoMsg(message: _78.QuerySigningInfoRequest): _78.QuerySigningInfoRequestAminoMsg; - fromProtoMsg(message: _78.QuerySigningInfoRequestProtoMsg): _78.QuerySigningInfoRequest; - toProto(message: _78.QuerySigningInfoRequest): Uint8Array; - toProtoMsg(message: _78.QuerySigningInfoRequest): _78.QuerySigningInfoRequestProtoMsg; - }; - QuerySigningInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _78.QuerySigningInfoResponse; - isSDK(o: any): o is _78.QuerySigningInfoResponseSDKType; - isAmino(o: any): o is _78.QuerySigningInfoResponseAmino; - encode(message: _78.QuerySigningInfoResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _78.QuerySigningInfoResponse; - fromJSON(object: any): _78.QuerySigningInfoResponse; - toJSON(message: _78.QuerySigningInfoResponse): unknown; - fromPartial(object: { - valSigningInfo?: { - address?: string; - startHeight?: bigint; - indexOffset?: bigint; - jailedUntil?: Date; - tombstoned?: boolean; - missedBlocksCounter?: bigint; - }; - }): _78.QuerySigningInfoResponse; - fromSDK(object: _78.QuerySigningInfoResponseSDKType): _78.QuerySigningInfoResponse; - toSDK(message: _78.QuerySigningInfoResponse): _78.QuerySigningInfoResponseSDKType; - fromAmino(object: _78.QuerySigningInfoResponseAmino): _78.QuerySigningInfoResponse; - toAmino(message: _78.QuerySigningInfoResponse): _78.QuerySigningInfoResponseAmino; - fromAminoMsg(object: _78.QuerySigningInfoResponseAminoMsg): _78.QuerySigningInfoResponse; - toAminoMsg(message: _78.QuerySigningInfoResponse): _78.QuerySigningInfoResponseAminoMsg; - fromProtoMsg(message: _78.QuerySigningInfoResponseProtoMsg): _78.QuerySigningInfoResponse; - toProto(message: _78.QuerySigningInfoResponse): Uint8Array; - toProtoMsg(message: _78.QuerySigningInfoResponse): _78.QuerySigningInfoResponseProtoMsg; - }; - QuerySigningInfosRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _78.QuerySigningInfosRequest; - isSDK(o: any): o is _78.QuerySigningInfosRequestSDKType; - isAmino(o: any): o is _78.QuerySigningInfosRequestAmino; - encode(message: _78.QuerySigningInfosRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _78.QuerySigningInfosRequest; - fromJSON(object: any): _78.QuerySigningInfosRequest; - toJSON(message: _78.QuerySigningInfosRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _78.QuerySigningInfosRequest; - fromSDK(object: _78.QuerySigningInfosRequestSDKType): _78.QuerySigningInfosRequest; - toSDK(message: _78.QuerySigningInfosRequest): _78.QuerySigningInfosRequestSDKType; - fromAmino(object: _78.QuerySigningInfosRequestAmino): _78.QuerySigningInfosRequest; - toAmino(message: _78.QuerySigningInfosRequest): _78.QuerySigningInfosRequestAmino; - fromAminoMsg(object: _78.QuerySigningInfosRequestAminoMsg): _78.QuerySigningInfosRequest; - toAminoMsg(message: _78.QuerySigningInfosRequest): _78.QuerySigningInfosRequestAminoMsg; - fromProtoMsg(message: _78.QuerySigningInfosRequestProtoMsg): _78.QuerySigningInfosRequest; - toProto(message: _78.QuerySigningInfosRequest): Uint8Array; - toProtoMsg(message: _78.QuerySigningInfosRequest): _78.QuerySigningInfosRequestProtoMsg; - }; - QuerySigningInfosResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _78.QuerySigningInfosResponse; - isSDK(o: any): o is _78.QuerySigningInfosResponseSDKType; - isAmino(o: any): o is _78.QuerySigningInfosResponseAmino; - encode(message: _78.QuerySigningInfosResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _78.QuerySigningInfosResponse; - fromJSON(object: any): _78.QuerySigningInfosResponse; - toJSON(message: _78.QuerySigningInfosResponse): unknown; - fromPartial(object: { - info?: { - address?: string; - startHeight?: bigint; - indexOffset?: bigint; - jailedUntil?: Date; - tombstoned?: boolean; - missedBlocksCounter?: bigint; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _78.QuerySigningInfosResponse; - fromSDK(object: _78.QuerySigningInfosResponseSDKType): _78.QuerySigningInfosResponse; - toSDK(message: _78.QuerySigningInfosResponse): _78.QuerySigningInfosResponseSDKType; - fromAmino(object: _78.QuerySigningInfosResponseAmino): _78.QuerySigningInfosResponse; - toAmino(message: _78.QuerySigningInfosResponse): _78.QuerySigningInfosResponseAmino; - fromAminoMsg(object: _78.QuerySigningInfosResponseAminoMsg): _78.QuerySigningInfosResponse; - toAminoMsg(message: _78.QuerySigningInfosResponse): _78.QuerySigningInfosResponseAminoMsg; - fromProtoMsg(message: _78.QuerySigningInfosResponseProtoMsg): _78.QuerySigningInfosResponse; - toProto(message: _78.QuerySigningInfosResponse): Uint8Array; - toProtoMsg(message: _78.QuerySigningInfosResponse): _78.QuerySigningInfosResponseProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _77.GenesisState; - isSDK(o: any): o is _77.GenesisStateSDKType; - isAmino(o: any): o is _77.GenesisStateAmino; - encode(message: _77.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _77.GenesisState; - fromJSON(object: any): _77.GenesisState; - toJSON(message: _77.GenesisState): unknown; - fromPartial(object: { - params?: { - signedBlocksWindow?: bigint; - minSignedPerWindow?: Uint8Array; - downtimeJailDuration?: { - seconds?: bigint; - nanos?: number; - }; - slashFractionDoubleSign?: Uint8Array; - slashFractionDowntime?: Uint8Array; - }; - signingInfos?: { - address?: string; - validatorSigningInfo?: { - address?: string; - startHeight?: bigint; - indexOffset?: bigint; - jailedUntil?: Date; - tombstoned?: boolean; - missedBlocksCounter?: bigint; - }; - }[]; - missedBlocks?: { - address?: string; - missedBlocks?: { - index?: bigint; - missed?: boolean; - }[]; - }[]; - }): _77.GenesisState; - fromSDK(object: _77.GenesisStateSDKType): _77.GenesisState; - toSDK(message: _77.GenesisState): _77.GenesisStateSDKType; - fromAmino(object: _77.GenesisStateAmino): _77.GenesisState; - toAmino(message: _77.GenesisState): _77.GenesisStateAmino; - fromAminoMsg(object: _77.GenesisStateAminoMsg): _77.GenesisState; - toAminoMsg(message: _77.GenesisState): _77.GenesisStateAminoMsg; - fromProtoMsg(message: _77.GenesisStateProtoMsg): _77.GenesisState; - toProto(message: _77.GenesisState): Uint8Array; - toProtoMsg(message: _77.GenesisState): _77.GenesisStateProtoMsg; - }; - SigningInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _77.SigningInfo; - isSDK(o: any): o is _77.SigningInfoSDKType; - isAmino(o: any): o is _77.SigningInfoAmino; - encode(message: _77.SigningInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _77.SigningInfo; - fromJSON(object: any): _77.SigningInfo; - toJSON(message: _77.SigningInfo): unknown; - fromPartial(object: { - address?: string; - validatorSigningInfo?: { - address?: string; - startHeight?: bigint; - indexOffset?: bigint; - jailedUntil?: Date; - tombstoned?: boolean; - missedBlocksCounter?: bigint; - }; - }): _77.SigningInfo; - fromSDK(object: _77.SigningInfoSDKType): _77.SigningInfo; - toSDK(message: _77.SigningInfo): _77.SigningInfoSDKType; - fromAmino(object: _77.SigningInfoAmino): _77.SigningInfo; - toAmino(message: _77.SigningInfo): _77.SigningInfoAmino; - fromAminoMsg(object: _77.SigningInfoAminoMsg): _77.SigningInfo; - toAminoMsg(message: _77.SigningInfo): _77.SigningInfoAminoMsg; - fromProtoMsg(message: _77.SigningInfoProtoMsg): _77.SigningInfo; - toProto(message: _77.SigningInfo): Uint8Array; - toProtoMsg(message: _77.SigningInfo): _77.SigningInfoProtoMsg; - }; - ValidatorMissedBlocks: { - typeUrl: string; - aminoType: string; - is(o: any): o is _77.ValidatorMissedBlocks; - isSDK(o: any): o is _77.ValidatorMissedBlocksSDKType; - isAmino(o: any): o is _77.ValidatorMissedBlocksAmino; - encode(message: _77.ValidatorMissedBlocks, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _77.ValidatorMissedBlocks; - fromJSON(object: any): _77.ValidatorMissedBlocks; - toJSON(message: _77.ValidatorMissedBlocks): unknown; - fromPartial(object: { - address?: string; - missedBlocks?: { - index?: bigint; - missed?: boolean; - }[]; - }): _77.ValidatorMissedBlocks; - fromSDK(object: _77.ValidatorMissedBlocksSDKType): _77.ValidatorMissedBlocks; - toSDK(message: _77.ValidatorMissedBlocks): _77.ValidatorMissedBlocksSDKType; - fromAmino(object: _77.ValidatorMissedBlocksAmino): _77.ValidatorMissedBlocks; - toAmino(message: _77.ValidatorMissedBlocks): _77.ValidatorMissedBlocksAmino; - fromAminoMsg(object: _77.ValidatorMissedBlocksAminoMsg): _77.ValidatorMissedBlocks; - toAminoMsg(message: _77.ValidatorMissedBlocks): _77.ValidatorMissedBlocksAminoMsg; - fromProtoMsg(message: _77.ValidatorMissedBlocksProtoMsg): _77.ValidatorMissedBlocks; - toProto(message: _77.ValidatorMissedBlocks): Uint8Array; - toProtoMsg(message: _77.ValidatorMissedBlocks): _77.ValidatorMissedBlocksProtoMsg; - }; - MissedBlock: { - typeUrl: string; - aminoType: string; - is(o: any): o is _77.MissedBlock; - isSDK(o: any): o is _77.MissedBlockSDKType; - isAmino(o: any): o is _77.MissedBlockAmino; - encode(message: _77.MissedBlock, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _77.MissedBlock; - fromJSON(object: any): _77.MissedBlock; - toJSON(message: _77.MissedBlock): unknown; - fromPartial(object: { - index?: bigint; - missed?: boolean; - }): _77.MissedBlock; - fromSDK(object: _77.MissedBlockSDKType): _77.MissedBlock; - toSDK(message: _77.MissedBlock): _77.MissedBlockSDKType; - fromAmino(object: _77.MissedBlockAmino): _77.MissedBlock; - toAmino(message: _77.MissedBlock): _77.MissedBlockAmino; - fromAminoMsg(object: _77.MissedBlockAminoMsg): _77.MissedBlock; - toAminoMsg(message: _77.MissedBlock): _77.MissedBlockAminoMsg; - fromProtoMsg(message: _77.MissedBlockProtoMsg): _77.MissedBlock; - toProto(message: _77.MissedBlock): Uint8Array; - toProtoMsg(message: _77.MissedBlock): _77.MissedBlockProtoMsg; - }; - }; - } - namespace staking { - const v1beta1: { - MsgClientImpl: typeof _247.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _247.MsgClientImpl; - QueryClientImpl: typeof _233.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useValidators: ({ request, options }: _233.UseValidatorsQuery) => import("@tanstack/react-query").UseQueryResult; - useValidator: ({ request, options }: _233.UseValidatorQuery) => import("@tanstack/react-query").UseQueryResult; - useValidatorDelegations: ({ request, options }: _233.UseValidatorDelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - useValidatorUnbondingDelegations: ({ request, options }: _233.UseValidatorUnbondingDelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegation: ({ request, options }: _233.UseDelegationQuery) => import("@tanstack/react-query").UseQueryResult; - useUnbondingDelegation: ({ request, options }: _233.UseUnbondingDelegationQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegatorDelegations: ({ request, options }: _233.UseDelegatorDelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegatorUnbondingDelegations: ({ request, options }: _233.UseDelegatorUnbondingDelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - useRedelegations: ({ request, options }: _233.UseRedelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegatorValidators: ({ request, options }: _233.UseDelegatorValidatorsQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegatorValidator: ({ request, options }: _233.UseDelegatorValidatorQuery) => import("@tanstack/react-query").UseQueryResult; - useHistoricalInfo: ({ request, options }: _233.UseHistoricalInfoQuery) => import("@tanstack/react-query").UseQueryResult; - usePool: ({ request, options }: _233.UsePoolQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _233.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryValidatorsStore: { - new (): { - store: import("..").QueryStore<_83.QueryValidatorsRequest, _83.QueryValidatorsResponse>; - validators(request: _83.QueryValidatorsRequest): import("..").MobxResponse<_83.QueryValidatorsResponse>; - }; - }; - QueryValidatorStore: { - new (): { - store: import("..").QueryStore<_83.QueryValidatorRequest, _83.QueryValidatorResponse>; - validator(request: _83.QueryValidatorRequest): import("..").MobxResponse<_83.QueryValidatorResponse>; - }; - }; - QueryValidatorDelegationsStore: { - new (): { - store: import("..").QueryStore<_83.QueryValidatorDelegationsRequest, _83.QueryValidatorDelegationsResponse>; - validatorDelegations(request: _83.QueryValidatorDelegationsRequest): import("..").MobxResponse<_83.QueryValidatorDelegationsResponse>; - }; - }; - QueryValidatorUnbondingDelegationsStore: { - new (): { - store: import("..").QueryStore<_83.QueryValidatorUnbondingDelegationsRequest, _83.QueryValidatorUnbondingDelegationsResponse>; - validatorUnbondingDelegations(request: _83.QueryValidatorUnbondingDelegationsRequest): import("..").MobxResponse<_83.QueryValidatorUnbondingDelegationsResponse>; - }; - }; - QueryDelegationStore: { - new (): { - store: import("..").QueryStore<_83.QueryDelegationRequest, _83.QueryDelegationResponse>; - delegation(request: _83.QueryDelegationRequest): import("..").MobxResponse<_83.QueryDelegationResponse>; - }; - }; - QueryUnbondingDelegationStore: { - new (): { - store: import("..").QueryStore<_83.QueryUnbondingDelegationRequest, _83.QueryUnbondingDelegationResponse>; - unbondingDelegation(request: _83.QueryUnbondingDelegationRequest): import("..").MobxResponse<_83.QueryUnbondingDelegationResponse>; - }; - }; - QueryDelegatorDelegationsStore: { - new (): { - store: import("..").QueryStore<_83.QueryDelegatorDelegationsRequest, _83.QueryDelegatorDelegationsResponse>; - delegatorDelegations(request: _83.QueryDelegatorDelegationsRequest): import("..").MobxResponse<_83.QueryDelegatorDelegationsResponse>; - }; - }; - QueryDelegatorUnbondingDelegationsStore: { - new (): { - store: import("..").QueryStore<_83.QueryDelegatorUnbondingDelegationsRequest, _83.QueryDelegatorUnbondingDelegationsResponse>; - delegatorUnbondingDelegations(request: _83.QueryDelegatorUnbondingDelegationsRequest): import("..").MobxResponse<_83.QueryDelegatorUnbondingDelegationsResponse>; - }; - }; - QueryRedelegationsStore: { - new (): { - store: import("..").QueryStore<_83.QueryRedelegationsRequest, _83.QueryRedelegationsResponse>; - redelegations(request: _83.QueryRedelegationsRequest): import("..").MobxResponse<_83.QueryRedelegationsResponse>; - }; - }; - QueryDelegatorValidatorsStore: { - new (): { - store: import("..").QueryStore<_83.QueryDelegatorValidatorsRequest, _83.QueryDelegatorValidatorsResponse>; - delegatorValidators(request: _83.QueryDelegatorValidatorsRequest): import("..").MobxResponse<_83.QueryDelegatorValidatorsResponse>; - }; - }; - QueryDelegatorValidatorStore: { - new (): { - store: import("..").QueryStore<_83.QueryDelegatorValidatorRequest, _83.QueryDelegatorValidatorResponse>; - delegatorValidator(request: _83.QueryDelegatorValidatorRequest): import("..").MobxResponse<_83.QueryDelegatorValidatorResponse>; - }; - }; - QueryHistoricalInfoStore: { - new (): { - store: import("..").QueryStore<_83.QueryHistoricalInfoRequest, _83.QueryHistoricalInfoResponse>; - historicalInfo(request: _83.QueryHistoricalInfoRequest): import("..").MobxResponse<_83.QueryHistoricalInfoResponse>; - }; - }; - QueryPoolStore: { - new (): { - store: import("..").QueryStore<_83.QueryPoolRequest, _83.QueryPoolResponse>; - pool(request: _83.QueryPoolRequest): import("..").MobxResponse<_83.QueryPoolResponse>; - }; - }; - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_83.QueryParamsRequest, _83.QueryParamsResponse>; - params(request: _83.QueryParamsRequest): import("..").MobxResponse<_83.QueryParamsResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - createValidator(value: _85.MsgCreateValidator): { - typeUrl: string; - value: Uint8Array; - }; - editValidator(value: _85.MsgEditValidator): { - typeUrl: string; - value: Uint8Array; - }; - delegate(value: _85.MsgDelegate): { - typeUrl: string; - value: Uint8Array; - }; - beginRedelegate(value: _85.MsgBeginRedelegate): { - typeUrl: string; - value: Uint8Array; - }; - undelegate(value: _85.MsgUndelegate): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createValidator(value: _85.MsgCreateValidator): { - typeUrl: string; - value: _85.MsgCreateValidator; - }; - editValidator(value: _85.MsgEditValidator): { - typeUrl: string; - value: _85.MsgEditValidator; - }; - delegate(value: _85.MsgDelegate): { - typeUrl: string; - value: _85.MsgDelegate; - }; - beginRedelegate(value: _85.MsgBeginRedelegate): { - typeUrl: string; - value: _85.MsgBeginRedelegate; - }; - undelegate(value: _85.MsgUndelegate): { - typeUrl: string; - value: _85.MsgUndelegate; - }; - }; - toJSON: { - createValidator(value: _85.MsgCreateValidator): { - typeUrl: string; - value: unknown; - }; - editValidator(value: _85.MsgEditValidator): { - typeUrl: string; - value: unknown; - }; - delegate(value: _85.MsgDelegate): { - typeUrl: string; - value: unknown; - }; - beginRedelegate(value: _85.MsgBeginRedelegate): { - typeUrl: string; - value: unknown; - }; - undelegate(value: _85.MsgUndelegate): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createValidator(value: any): { - typeUrl: string; - value: _85.MsgCreateValidator; - }; - editValidator(value: any): { - typeUrl: string; - value: _85.MsgEditValidator; - }; - delegate(value: any): { - typeUrl: string; - value: _85.MsgDelegate; - }; - beginRedelegate(value: any): { - typeUrl: string; - value: _85.MsgBeginRedelegate; - }; - undelegate(value: any): { - typeUrl: string; - value: _85.MsgUndelegate; - }; - }; - fromPartial: { - createValidator(value: _85.MsgCreateValidator): { - typeUrl: string; - value: _85.MsgCreateValidator; - }; - editValidator(value: _85.MsgEditValidator): { - typeUrl: string; - value: _85.MsgEditValidator; - }; - delegate(value: _85.MsgDelegate): { - typeUrl: string; - value: _85.MsgDelegate; - }; - beginRedelegate(value: _85.MsgBeginRedelegate): { - typeUrl: string; - value: _85.MsgBeginRedelegate; - }; - undelegate(value: _85.MsgUndelegate): { - typeUrl: string; - value: _85.MsgUndelegate; - }; - }; - }; - AminoConverter: { - "/cosmos.staking.v1beta1.MsgCreateValidator": { - aminoType: string; - toAmino: (message: _85.MsgCreateValidator) => _85.MsgCreateValidatorAmino; - fromAmino: (object: _85.MsgCreateValidatorAmino) => _85.MsgCreateValidator; - }; - "/cosmos.staking.v1beta1.MsgEditValidator": { - aminoType: string; - toAmino: (message: _85.MsgEditValidator) => _85.MsgEditValidatorAmino; - fromAmino: (object: _85.MsgEditValidatorAmino) => _85.MsgEditValidator; - }; - "/cosmos.staking.v1beta1.MsgDelegate": { - aminoType: string; - toAmino: (message: _85.MsgDelegate) => _85.MsgDelegateAmino; - fromAmino: (object: _85.MsgDelegateAmino) => _85.MsgDelegate; - }; - "/cosmos.staking.v1beta1.MsgBeginRedelegate": { - aminoType: string; - toAmino: (message: _85.MsgBeginRedelegate) => _85.MsgBeginRedelegateAmino; - fromAmino: (object: _85.MsgBeginRedelegateAmino) => _85.MsgBeginRedelegate; - }; - "/cosmos.staking.v1beta1.MsgUndelegate": { - aminoType: string; - toAmino: (message: _85.MsgUndelegate) => _85.MsgUndelegateAmino; - fromAmino: (object: _85.MsgUndelegateAmino) => _85.MsgUndelegate; - }; - }; - MsgCreateValidator: { - typeUrl: string; - aminoType: string; - is(o: any): o is _85.MsgCreateValidator; - isSDK(o: any): o is _85.MsgCreateValidatorSDKType; - isAmino(o: any): o is _85.MsgCreateValidatorAmino; - encode(message: _85.MsgCreateValidator, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _85.MsgCreateValidator; - fromJSON(object: any): _85.MsgCreateValidator; - toJSON(message: _85.MsgCreateValidator): unknown; - fromPartial(object: { - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - commission?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - minSelfDelegation?: string; - delegatorAddress?: string; - validatorAddress?: string; - pubkey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - value?: { - denom?: string; - amount?: string; - }; - }): _85.MsgCreateValidator; - fromSDK(object: _85.MsgCreateValidatorSDKType): _85.MsgCreateValidator; - toSDK(message: _85.MsgCreateValidator): _85.MsgCreateValidatorSDKType; - fromAmino(object: _85.MsgCreateValidatorAmino): _85.MsgCreateValidator; - toAmino(message: _85.MsgCreateValidator): _85.MsgCreateValidatorAmino; - fromAminoMsg(object: _85.MsgCreateValidatorAminoMsg): _85.MsgCreateValidator; - toAminoMsg(message: _85.MsgCreateValidator): _85.MsgCreateValidatorAminoMsg; - fromProtoMsg(message: _85.MsgCreateValidatorProtoMsg): _85.MsgCreateValidator; - toProto(message: _85.MsgCreateValidator): Uint8Array; - toProtoMsg(message: _85.MsgCreateValidator): _85.MsgCreateValidatorProtoMsg; - }; - MsgCreateValidatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _85.MsgCreateValidatorResponse; - isSDK(o: any): o is _85.MsgCreateValidatorResponseSDKType; - isAmino(o: any): o is _85.MsgCreateValidatorResponseAmino; - encode(_: _85.MsgCreateValidatorResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _85.MsgCreateValidatorResponse; - fromJSON(_: any): _85.MsgCreateValidatorResponse; - toJSON(_: _85.MsgCreateValidatorResponse): unknown; - fromPartial(_: {}): _85.MsgCreateValidatorResponse; - fromSDK(_: _85.MsgCreateValidatorResponseSDKType): _85.MsgCreateValidatorResponse; - toSDK(_: _85.MsgCreateValidatorResponse): _85.MsgCreateValidatorResponseSDKType; - fromAmino(_: _85.MsgCreateValidatorResponseAmino): _85.MsgCreateValidatorResponse; - toAmino(_: _85.MsgCreateValidatorResponse): _85.MsgCreateValidatorResponseAmino; - fromAminoMsg(object: _85.MsgCreateValidatorResponseAminoMsg): _85.MsgCreateValidatorResponse; - toAminoMsg(message: _85.MsgCreateValidatorResponse): _85.MsgCreateValidatorResponseAminoMsg; - fromProtoMsg(message: _85.MsgCreateValidatorResponseProtoMsg): _85.MsgCreateValidatorResponse; - toProto(message: _85.MsgCreateValidatorResponse): Uint8Array; - toProtoMsg(message: _85.MsgCreateValidatorResponse): _85.MsgCreateValidatorResponseProtoMsg; - }; - MsgEditValidator: { - typeUrl: string; - aminoType: string; - is(o: any): o is _85.MsgEditValidator; - isSDK(o: any): o is _85.MsgEditValidatorSDKType; - isAmino(o: any): o is _85.MsgEditValidatorAmino; - encode(message: _85.MsgEditValidator, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _85.MsgEditValidator; - fromJSON(object: any): _85.MsgEditValidator; - toJSON(message: _85.MsgEditValidator): unknown; - fromPartial(object: { - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - validatorAddress?: string; - commissionRate?: string; - minSelfDelegation?: string; - }): _85.MsgEditValidator; - fromSDK(object: _85.MsgEditValidatorSDKType): _85.MsgEditValidator; - toSDK(message: _85.MsgEditValidator): _85.MsgEditValidatorSDKType; - fromAmino(object: _85.MsgEditValidatorAmino): _85.MsgEditValidator; - toAmino(message: _85.MsgEditValidator): _85.MsgEditValidatorAmino; - fromAminoMsg(object: _85.MsgEditValidatorAminoMsg): _85.MsgEditValidator; - toAminoMsg(message: _85.MsgEditValidator): _85.MsgEditValidatorAminoMsg; - fromProtoMsg(message: _85.MsgEditValidatorProtoMsg): _85.MsgEditValidator; - toProto(message: _85.MsgEditValidator): Uint8Array; - toProtoMsg(message: _85.MsgEditValidator): _85.MsgEditValidatorProtoMsg; - }; - MsgEditValidatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _85.MsgEditValidatorResponse; - isSDK(o: any): o is _85.MsgEditValidatorResponseSDKType; - isAmino(o: any): o is _85.MsgEditValidatorResponseAmino; - encode(_: _85.MsgEditValidatorResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _85.MsgEditValidatorResponse; - fromJSON(_: any): _85.MsgEditValidatorResponse; - toJSON(_: _85.MsgEditValidatorResponse): unknown; - fromPartial(_: {}): _85.MsgEditValidatorResponse; - fromSDK(_: _85.MsgEditValidatorResponseSDKType): _85.MsgEditValidatorResponse; - toSDK(_: _85.MsgEditValidatorResponse): _85.MsgEditValidatorResponseSDKType; - fromAmino(_: _85.MsgEditValidatorResponseAmino): _85.MsgEditValidatorResponse; - toAmino(_: _85.MsgEditValidatorResponse): _85.MsgEditValidatorResponseAmino; - fromAminoMsg(object: _85.MsgEditValidatorResponseAminoMsg): _85.MsgEditValidatorResponse; - toAminoMsg(message: _85.MsgEditValidatorResponse): _85.MsgEditValidatorResponseAminoMsg; - fromProtoMsg(message: _85.MsgEditValidatorResponseProtoMsg): _85.MsgEditValidatorResponse; - toProto(message: _85.MsgEditValidatorResponse): Uint8Array; - toProtoMsg(message: _85.MsgEditValidatorResponse): _85.MsgEditValidatorResponseProtoMsg; - }; - MsgDelegate: { - typeUrl: string; - aminoType: string; - is(o: any): o is _85.MsgDelegate; - isSDK(o: any): o is _85.MsgDelegateSDKType; - isAmino(o: any): o is _85.MsgDelegateAmino; - encode(message: _85.MsgDelegate, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _85.MsgDelegate; - fromJSON(object: any): _85.MsgDelegate; - toJSON(message: _85.MsgDelegate): unknown; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - amount?: { - denom?: string; - amount?: string; - }; - }): _85.MsgDelegate; - fromSDK(object: _85.MsgDelegateSDKType): _85.MsgDelegate; - toSDK(message: _85.MsgDelegate): _85.MsgDelegateSDKType; - fromAmino(object: _85.MsgDelegateAmino): _85.MsgDelegate; - toAmino(message: _85.MsgDelegate): _85.MsgDelegateAmino; - fromAminoMsg(object: _85.MsgDelegateAminoMsg): _85.MsgDelegate; - toAminoMsg(message: _85.MsgDelegate): _85.MsgDelegateAminoMsg; - fromProtoMsg(message: _85.MsgDelegateProtoMsg): _85.MsgDelegate; - toProto(message: _85.MsgDelegate): Uint8Array; - toProtoMsg(message: _85.MsgDelegate): _85.MsgDelegateProtoMsg; - }; - MsgDelegateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _85.MsgDelegateResponse; - isSDK(o: any): o is _85.MsgDelegateResponseSDKType; - isAmino(o: any): o is _85.MsgDelegateResponseAmino; - encode(_: _85.MsgDelegateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _85.MsgDelegateResponse; - fromJSON(_: any): _85.MsgDelegateResponse; - toJSON(_: _85.MsgDelegateResponse): unknown; - fromPartial(_: {}): _85.MsgDelegateResponse; - fromSDK(_: _85.MsgDelegateResponseSDKType): _85.MsgDelegateResponse; - toSDK(_: _85.MsgDelegateResponse): _85.MsgDelegateResponseSDKType; - fromAmino(_: _85.MsgDelegateResponseAmino): _85.MsgDelegateResponse; - toAmino(_: _85.MsgDelegateResponse): _85.MsgDelegateResponseAmino; - fromAminoMsg(object: _85.MsgDelegateResponseAminoMsg): _85.MsgDelegateResponse; - toAminoMsg(message: _85.MsgDelegateResponse): _85.MsgDelegateResponseAminoMsg; - fromProtoMsg(message: _85.MsgDelegateResponseProtoMsg): _85.MsgDelegateResponse; - toProto(message: _85.MsgDelegateResponse): Uint8Array; - toProtoMsg(message: _85.MsgDelegateResponse): _85.MsgDelegateResponseProtoMsg; - }; - MsgBeginRedelegate: { - typeUrl: string; - aminoType: string; - is(o: any): o is _85.MsgBeginRedelegate; - isSDK(o: any): o is _85.MsgBeginRedelegateSDKType; - isAmino(o: any): o is _85.MsgBeginRedelegateAmino; - encode(message: _85.MsgBeginRedelegate, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _85.MsgBeginRedelegate; - fromJSON(object: any): _85.MsgBeginRedelegate; - toJSON(message: _85.MsgBeginRedelegate): unknown; - fromPartial(object: { - delegatorAddress?: string; - validatorSrcAddress?: string; - validatorDstAddress?: string; - amount?: { - denom?: string; - amount?: string; - }; - }): _85.MsgBeginRedelegate; - fromSDK(object: _85.MsgBeginRedelegateSDKType): _85.MsgBeginRedelegate; - toSDK(message: _85.MsgBeginRedelegate): _85.MsgBeginRedelegateSDKType; - fromAmino(object: _85.MsgBeginRedelegateAmino): _85.MsgBeginRedelegate; - toAmino(message: _85.MsgBeginRedelegate): _85.MsgBeginRedelegateAmino; - fromAminoMsg(object: _85.MsgBeginRedelegateAminoMsg): _85.MsgBeginRedelegate; - toAminoMsg(message: _85.MsgBeginRedelegate): _85.MsgBeginRedelegateAminoMsg; - fromProtoMsg(message: _85.MsgBeginRedelegateProtoMsg): _85.MsgBeginRedelegate; - toProto(message: _85.MsgBeginRedelegate): Uint8Array; - toProtoMsg(message: _85.MsgBeginRedelegate): _85.MsgBeginRedelegateProtoMsg; - }; - MsgBeginRedelegateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _85.MsgBeginRedelegateResponse; - isSDK(o: any): o is _85.MsgBeginRedelegateResponseSDKType; - isAmino(o: any): o is _85.MsgBeginRedelegateResponseAmino; - encode(message: _85.MsgBeginRedelegateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _85.MsgBeginRedelegateResponse; - fromJSON(object: any): _85.MsgBeginRedelegateResponse; - toJSON(message: _85.MsgBeginRedelegateResponse): unknown; - fromPartial(object: { - completionTime?: Date; - }): _85.MsgBeginRedelegateResponse; - fromSDK(object: _85.MsgBeginRedelegateResponseSDKType): _85.MsgBeginRedelegateResponse; - toSDK(message: _85.MsgBeginRedelegateResponse): _85.MsgBeginRedelegateResponseSDKType; - fromAmino(object: _85.MsgBeginRedelegateResponseAmino): _85.MsgBeginRedelegateResponse; - toAmino(message: _85.MsgBeginRedelegateResponse): _85.MsgBeginRedelegateResponseAmino; - fromAminoMsg(object: _85.MsgBeginRedelegateResponseAminoMsg): _85.MsgBeginRedelegateResponse; - toAminoMsg(message: _85.MsgBeginRedelegateResponse): _85.MsgBeginRedelegateResponseAminoMsg; - fromProtoMsg(message: _85.MsgBeginRedelegateResponseProtoMsg): _85.MsgBeginRedelegateResponse; - toProto(message: _85.MsgBeginRedelegateResponse): Uint8Array; - toProtoMsg(message: _85.MsgBeginRedelegateResponse): _85.MsgBeginRedelegateResponseProtoMsg; - }; - MsgUndelegate: { - typeUrl: string; - aminoType: string; - is(o: any): o is _85.MsgUndelegate; - isSDK(o: any): o is _85.MsgUndelegateSDKType; - isAmino(o: any): o is _85.MsgUndelegateAmino; - encode(message: _85.MsgUndelegate, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _85.MsgUndelegate; - fromJSON(object: any): _85.MsgUndelegate; - toJSON(message: _85.MsgUndelegate): unknown; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - amount?: { - denom?: string; - amount?: string; - }; - }): _85.MsgUndelegate; - fromSDK(object: _85.MsgUndelegateSDKType): _85.MsgUndelegate; - toSDK(message: _85.MsgUndelegate): _85.MsgUndelegateSDKType; - fromAmino(object: _85.MsgUndelegateAmino): _85.MsgUndelegate; - toAmino(message: _85.MsgUndelegate): _85.MsgUndelegateAmino; - fromAminoMsg(object: _85.MsgUndelegateAminoMsg): _85.MsgUndelegate; - toAminoMsg(message: _85.MsgUndelegate): _85.MsgUndelegateAminoMsg; - fromProtoMsg(message: _85.MsgUndelegateProtoMsg): _85.MsgUndelegate; - toProto(message: _85.MsgUndelegate): Uint8Array; - toProtoMsg(message: _85.MsgUndelegate): _85.MsgUndelegateProtoMsg; - }; - MsgUndelegateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _85.MsgUndelegateResponse; - isSDK(o: any): o is _85.MsgUndelegateResponseSDKType; - isAmino(o: any): o is _85.MsgUndelegateResponseAmino; - encode(message: _85.MsgUndelegateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _85.MsgUndelegateResponse; - fromJSON(object: any): _85.MsgUndelegateResponse; - toJSON(message: _85.MsgUndelegateResponse): unknown; - fromPartial(object: { - completionTime?: Date; - }): _85.MsgUndelegateResponse; - fromSDK(object: _85.MsgUndelegateResponseSDKType): _85.MsgUndelegateResponse; - toSDK(message: _85.MsgUndelegateResponse): _85.MsgUndelegateResponseSDKType; - fromAmino(object: _85.MsgUndelegateResponseAmino): _85.MsgUndelegateResponse; - toAmino(message: _85.MsgUndelegateResponse): _85.MsgUndelegateResponseAmino; - fromAminoMsg(object: _85.MsgUndelegateResponseAminoMsg): _85.MsgUndelegateResponse; - toAminoMsg(message: _85.MsgUndelegateResponse): _85.MsgUndelegateResponseAminoMsg; - fromProtoMsg(message: _85.MsgUndelegateResponseProtoMsg): _85.MsgUndelegateResponse; - toProto(message: _85.MsgUndelegateResponse): Uint8Array; - toProtoMsg(message: _85.MsgUndelegateResponse): _85.MsgUndelegateResponseProtoMsg; - }; - bondStatusFromJSON(object: any): _84.BondStatus; - bondStatusToJSON(object: _84.BondStatus): string; - BondStatus: typeof _84.BondStatus; - BondStatusSDKType: typeof _84.BondStatus; - BondStatusAmino: typeof _84.BondStatus; - HistoricalInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.HistoricalInfo; - isSDK(o: any): o is _84.HistoricalInfoSDKType; - isAmino(o: any): o is _84.HistoricalInfoAmino; - encode(message: _84.HistoricalInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.HistoricalInfo; - fromJSON(object: any): _84.HistoricalInfo; - toJSON(message: _84.HistoricalInfo): unknown; - fromPartial(object: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - valset?: { - operatorAddress?: string; - consensusPubkey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _84.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: bigint; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }[]; - }): _84.HistoricalInfo; - fromSDK(object: _84.HistoricalInfoSDKType): _84.HistoricalInfo; - toSDK(message: _84.HistoricalInfo): _84.HistoricalInfoSDKType; - fromAmino(object: _84.HistoricalInfoAmino): _84.HistoricalInfo; - toAmino(message: _84.HistoricalInfo): _84.HistoricalInfoAmino; - fromAminoMsg(object: _84.HistoricalInfoAminoMsg): _84.HistoricalInfo; - toAminoMsg(message: _84.HistoricalInfo): _84.HistoricalInfoAminoMsg; - fromProtoMsg(message: _84.HistoricalInfoProtoMsg): _84.HistoricalInfo; - toProto(message: _84.HistoricalInfo): Uint8Array; - toProtoMsg(message: _84.HistoricalInfo): _84.HistoricalInfoProtoMsg; - }; - CommissionRates: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.CommissionRates; - isSDK(o: any): o is _84.CommissionRatesSDKType; - isAmino(o: any): o is _84.CommissionRatesAmino; - encode(message: _84.CommissionRates, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.CommissionRates; - fromJSON(object: any): _84.CommissionRates; - toJSON(message: _84.CommissionRates): unknown; - fromPartial(object: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }): _84.CommissionRates; - fromSDK(object: _84.CommissionRatesSDKType): _84.CommissionRates; - toSDK(message: _84.CommissionRates): _84.CommissionRatesSDKType; - fromAmino(object: _84.CommissionRatesAmino): _84.CommissionRates; - toAmino(message: _84.CommissionRates): _84.CommissionRatesAmino; - fromAminoMsg(object: _84.CommissionRatesAminoMsg): _84.CommissionRates; - toAminoMsg(message: _84.CommissionRates): _84.CommissionRatesAminoMsg; - fromProtoMsg(message: _84.CommissionRatesProtoMsg): _84.CommissionRates; - toProto(message: _84.CommissionRates): Uint8Array; - toProtoMsg(message: _84.CommissionRates): _84.CommissionRatesProtoMsg; - }; - Commission: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.Commission; - isSDK(o: any): o is _84.CommissionSDKType; - isAmino(o: any): o is _84.CommissionAmino; - encode(message: _84.Commission, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.Commission; - fromJSON(object: any): _84.Commission; - toJSON(message: _84.Commission): unknown; - fromPartial(object: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }): _84.Commission; - fromSDK(object: _84.CommissionSDKType): _84.Commission; - toSDK(message: _84.Commission): _84.CommissionSDKType; - fromAmino(object: _84.CommissionAmino): _84.Commission; - toAmino(message: _84.Commission): _84.CommissionAmino; - fromAminoMsg(object: _84.CommissionAminoMsg): _84.Commission; - toAminoMsg(message: _84.Commission): _84.CommissionAminoMsg; - fromProtoMsg(message: _84.CommissionProtoMsg): _84.Commission; - toProto(message: _84.Commission): Uint8Array; - toProtoMsg(message: _84.Commission): _84.CommissionProtoMsg; - }; - Description: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.Description; - isSDK(o: any): o is _84.DescriptionSDKType; - isAmino(o: any): o is _84.DescriptionAmino; - encode(message: _84.Description, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.Description; - fromJSON(object: any): _84.Description; - toJSON(message: _84.Description): unknown; - fromPartial(object: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }): _84.Description; - fromSDK(object: _84.DescriptionSDKType): _84.Description; - toSDK(message: _84.Description): _84.DescriptionSDKType; - fromAmino(object: _84.DescriptionAmino): _84.Description; - toAmino(message: _84.Description): _84.DescriptionAmino; - fromAminoMsg(object: _84.DescriptionAminoMsg): _84.Description; - toAminoMsg(message: _84.Description): _84.DescriptionAminoMsg; - fromProtoMsg(message: _84.DescriptionProtoMsg): _84.Description; - toProto(message: _84.Description): Uint8Array; - toProtoMsg(message: _84.Description): _84.DescriptionProtoMsg; - }; - Validator: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.Validator; - isSDK(o: any): o is _84.ValidatorSDKType; - isAmino(o: any): o is _84.ValidatorAmino; - encode(message: _84.Validator, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.Validator; - fromJSON(object: any): _84.Validator; - toJSON(message: _84.Validator): unknown; - fromPartial(object: { - operatorAddress?: string; - consensusPubkey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _84.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: bigint; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }): _84.Validator; - fromSDK(object: _84.ValidatorSDKType): _84.Validator; - toSDK(message: _84.Validator): _84.ValidatorSDKType; - fromAmino(object: _84.ValidatorAmino): _84.Validator; - toAmino(message: _84.Validator): _84.ValidatorAmino; - fromAminoMsg(object: _84.ValidatorAminoMsg): _84.Validator; - toAminoMsg(message: _84.Validator): _84.ValidatorAminoMsg; - fromProtoMsg(message: _84.ValidatorProtoMsg): _84.Validator; - toProto(message: _84.Validator): Uint8Array; - toProtoMsg(message: _84.Validator): _84.ValidatorProtoMsg; - }; - ValAddresses: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.ValAddresses; - isSDK(o: any): o is _84.ValAddressesSDKType; - isAmino(o: any): o is _84.ValAddressesAmino; - encode(message: _84.ValAddresses, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.ValAddresses; - fromJSON(object: any): _84.ValAddresses; - toJSON(message: _84.ValAddresses): unknown; - fromPartial(object: { - addresses?: string[]; - }): _84.ValAddresses; - fromSDK(object: _84.ValAddressesSDKType): _84.ValAddresses; - toSDK(message: _84.ValAddresses): _84.ValAddressesSDKType; - fromAmino(object: _84.ValAddressesAmino): _84.ValAddresses; - toAmino(message: _84.ValAddresses): _84.ValAddressesAmino; - fromAminoMsg(object: _84.ValAddressesAminoMsg): _84.ValAddresses; - toAminoMsg(message: _84.ValAddresses): _84.ValAddressesAminoMsg; - fromProtoMsg(message: _84.ValAddressesProtoMsg): _84.ValAddresses; - toProto(message: _84.ValAddresses): Uint8Array; - toProtoMsg(message: _84.ValAddresses): _84.ValAddressesProtoMsg; - }; - DVPair: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.DVPair; - isSDK(o: any): o is _84.DVPairSDKType; - isAmino(o: any): o is _84.DVPairAmino; - encode(message: _84.DVPair, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.DVPair; - fromJSON(object: any): _84.DVPair; - toJSON(message: _84.DVPair): unknown; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - }): _84.DVPair; - fromSDK(object: _84.DVPairSDKType): _84.DVPair; - toSDK(message: _84.DVPair): _84.DVPairSDKType; - fromAmino(object: _84.DVPairAmino): _84.DVPair; - toAmino(message: _84.DVPair): _84.DVPairAmino; - fromAminoMsg(object: _84.DVPairAminoMsg): _84.DVPair; - toAminoMsg(message: _84.DVPair): _84.DVPairAminoMsg; - fromProtoMsg(message: _84.DVPairProtoMsg): _84.DVPair; - toProto(message: _84.DVPair): Uint8Array; - toProtoMsg(message: _84.DVPair): _84.DVPairProtoMsg; - }; - DVPairs: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.DVPairs; - isSDK(o: any): o is _84.DVPairsSDKType; - isAmino(o: any): o is _84.DVPairsAmino; - encode(message: _84.DVPairs, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.DVPairs; - fromJSON(object: any): _84.DVPairs; - toJSON(message: _84.DVPairs): unknown; - fromPartial(object: { - pairs?: { - delegatorAddress?: string; - validatorAddress?: string; - }[]; - }): _84.DVPairs; - fromSDK(object: _84.DVPairsSDKType): _84.DVPairs; - toSDK(message: _84.DVPairs): _84.DVPairsSDKType; - fromAmino(object: _84.DVPairsAmino): _84.DVPairs; - toAmino(message: _84.DVPairs): _84.DVPairsAmino; - fromAminoMsg(object: _84.DVPairsAminoMsg): _84.DVPairs; - toAminoMsg(message: _84.DVPairs): _84.DVPairsAminoMsg; - fromProtoMsg(message: _84.DVPairsProtoMsg): _84.DVPairs; - toProto(message: _84.DVPairs): Uint8Array; - toProtoMsg(message: _84.DVPairs): _84.DVPairsProtoMsg; - }; - DVVTriplet: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.DVVTriplet; - isSDK(o: any): o is _84.DVVTripletSDKType; - isAmino(o: any): o is _84.DVVTripletAmino; - encode(message: _84.DVVTriplet, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.DVVTriplet; - fromJSON(object: any): _84.DVVTriplet; - toJSON(message: _84.DVVTriplet): unknown; - fromPartial(object: { - delegatorAddress?: string; - validatorSrcAddress?: string; - validatorDstAddress?: string; - }): _84.DVVTriplet; - fromSDK(object: _84.DVVTripletSDKType): _84.DVVTriplet; - toSDK(message: _84.DVVTriplet): _84.DVVTripletSDKType; - fromAmino(object: _84.DVVTripletAmino): _84.DVVTriplet; - toAmino(message: _84.DVVTriplet): _84.DVVTripletAmino; - fromAminoMsg(object: _84.DVVTripletAminoMsg): _84.DVVTriplet; - toAminoMsg(message: _84.DVVTriplet): _84.DVVTripletAminoMsg; - fromProtoMsg(message: _84.DVVTripletProtoMsg): _84.DVVTriplet; - toProto(message: _84.DVVTriplet): Uint8Array; - toProtoMsg(message: _84.DVVTriplet): _84.DVVTripletProtoMsg; - }; - DVVTriplets: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.DVVTriplets; - isSDK(o: any): o is _84.DVVTripletsSDKType; - isAmino(o: any): o is _84.DVVTripletsAmino; - encode(message: _84.DVVTriplets, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.DVVTriplets; - fromJSON(object: any): _84.DVVTriplets; - toJSON(message: _84.DVVTriplets): unknown; - fromPartial(object: { - triplets?: { - delegatorAddress?: string; - validatorSrcAddress?: string; - validatorDstAddress?: string; - }[]; - }): _84.DVVTriplets; - fromSDK(object: _84.DVVTripletsSDKType): _84.DVVTriplets; - toSDK(message: _84.DVVTriplets): _84.DVVTripletsSDKType; - fromAmino(object: _84.DVVTripletsAmino): _84.DVVTriplets; - toAmino(message: _84.DVVTriplets): _84.DVVTripletsAmino; - fromAminoMsg(object: _84.DVVTripletsAminoMsg): _84.DVVTriplets; - toAminoMsg(message: _84.DVVTriplets): _84.DVVTripletsAminoMsg; - fromProtoMsg(message: _84.DVVTripletsProtoMsg): _84.DVVTriplets; - toProto(message: _84.DVVTriplets): Uint8Array; - toProtoMsg(message: _84.DVVTriplets): _84.DVVTripletsProtoMsg; - }; - Delegation: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.Delegation; - isSDK(o: any): o is _84.DelegationSDKType; - isAmino(o: any): o is _84.DelegationAmino; - encode(message: _84.Delegation, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.Delegation; - fromJSON(object: any): _84.Delegation; - toJSON(message: _84.Delegation): unknown; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - shares?: string; - }): _84.Delegation; - fromSDK(object: _84.DelegationSDKType): _84.Delegation; - toSDK(message: _84.Delegation): _84.DelegationSDKType; - fromAmino(object: _84.DelegationAmino): _84.Delegation; - toAmino(message: _84.Delegation): _84.DelegationAmino; - fromAminoMsg(object: _84.DelegationAminoMsg): _84.Delegation; - toAminoMsg(message: _84.Delegation): _84.DelegationAminoMsg; - fromProtoMsg(message: _84.DelegationProtoMsg): _84.Delegation; - toProto(message: _84.Delegation): Uint8Array; - toProtoMsg(message: _84.Delegation): _84.DelegationProtoMsg; - }; - UnbondingDelegation: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.UnbondingDelegation; - isSDK(o: any): o is _84.UnbondingDelegationSDKType; - isAmino(o: any): o is _84.UnbondingDelegationAmino; - encode(message: _84.UnbondingDelegation, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.UnbondingDelegation; - fromJSON(object: any): _84.UnbondingDelegation; - toJSON(message: _84.UnbondingDelegation): unknown; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - entries?: { - creationHeight?: bigint; - completionTime?: Date; - initialBalance?: string; - balance?: string; - }[]; - }): _84.UnbondingDelegation; - fromSDK(object: _84.UnbondingDelegationSDKType): _84.UnbondingDelegation; - toSDK(message: _84.UnbondingDelegation): _84.UnbondingDelegationSDKType; - fromAmino(object: _84.UnbondingDelegationAmino): _84.UnbondingDelegation; - toAmino(message: _84.UnbondingDelegation): _84.UnbondingDelegationAmino; - fromAminoMsg(object: _84.UnbondingDelegationAminoMsg): _84.UnbondingDelegation; - toAminoMsg(message: _84.UnbondingDelegation): _84.UnbondingDelegationAminoMsg; - fromProtoMsg(message: _84.UnbondingDelegationProtoMsg): _84.UnbondingDelegation; - toProto(message: _84.UnbondingDelegation): Uint8Array; - toProtoMsg(message: _84.UnbondingDelegation): _84.UnbondingDelegationProtoMsg; - }; - UnbondingDelegationEntry: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.UnbondingDelegationEntry; - isSDK(o: any): o is _84.UnbondingDelegationEntrySDKType; - isAmino(o: any): o is _84.UnbondingDelegationEntryAmino; - encode(message: _84.UnbondingDelegationEntry, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.UnbondingDelegationEntry; - fromJSON(object: any): _84.UnbondingDelegationEntry; - toJSON(message: _84.UnbondingDelegationEntry): unknown; - fromPartial(object: { - creationHeight?: bigint; - completionTime?: Date; - initialBalance?: string; - balance?: string; - }): _84.UnbondingDelegationEntry; - fromSDK(object: _84.UnbondingDelegationEntrySDKType): _84.UnbondingDelegationEntry; - toSDK(message: _84.UnbondingDelegationEntry): _84.UnbondingDelegationEntrySDKType; - fromAmino(object: _84.UnbondingDelegationEntryAmino): _84.UnbondingDelegationEntry; - toAmino(message: _84.UnbondingDelegationEntry): _84.UnbondingDelegationEntryAmino; - fromAminoMsg(object: _84.UnbondingDelegationEntryAminoMsg): _84.UnbondingDelegationEntry; - toAminoMsg(message: _84.UnbondingDelegationEntry): _84.UnbondingDelegationEntryAminoMsg; - fromProtoMsg(message: _84.UnbondingDelegationEntryProtoMsg): _84.UnbondingDelegationEntry; - toProto(message: _84.UnbondingDelegationEntry): Uint8Array; - toProtoMsg(message: _84.UnbondingDelegationEntry): _84.UnbondingDelegationEntryProtoMsg; - }; - RedelegationEntry: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.RedelegationEntry; - isSDK(o: any): o is _84.RedelegationEntrySDKType; - isAmino(o: any): o is _84.RedelegationEntryAmino; - encode(message: _84.RedelegationEntry, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.RedelegationEntry; - fromJSON(object: any): _84.RedelegationEntry; - toJSON(message: _84.RedelegationEntry): unknown; - fromPartial(object: { - creationHeight?: bigint; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }): _84.RedelegationEntry; - fromSDK(object: _84.RedelegationEntrySDKType): _84.RedelegationEntry; - toSDK(message: _84.RedelegationEntry): _84.RedelegationEntrySDKType; - fromAmino(object: _84.RedelegationEntryAmino): _84.RedelegationEntry; - toAmino(message: _84.RedelegationEntry): _84.RedelegationEntryAmino; - fromAminoMsg(object: _84.RedelegationEntryAminoMsg): _84.RedelegationEntry; - toAminoMsg(message: _84.RedelegationEntry): _84.RedelegationEntryAminoMsg; - fromProtoMsg(message: _84.RedelegationEntryProtoMsg): _84.RedelegationEntry; - toProto(message: _84.RedelegationEntry): Uint8Array; - toProtoMsg(message: _84.RedelegationEntry): _84.RedelegationEntryProtoMsg; - }; - Redelegation: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.Redelegation; - isSDK(o: any): o is _84.RedelegationSDKType; - isAmino(o: any): o is _84.RedelegationAmino; - encode(message: _84.Redelegation, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.Redelegation; - fromJSON(object: any): _84.Redelegation; - toJSON(message: _84.Redelegation): unknown; - fromPartial(object: { - delegatorAddress?: string; - validatorSrcAddress?: string; - validatorDstAddress?: string; - entries?: { - creationHeight?: bigint; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }[]; - }): _84.Redelegation; - fromSDK(object: _84.RedelegationSDKType): _84.Redelegation; - toSDK(message: _84.Redelegation): _84.RedelegationSDKType; - fromAmino(object: _84.RedelegationAmino): _84.Redelegation; - toAmino(message: _84.Redelegation): _84.RedelegationAmino; - fromAminoMsg(object: _84.RedelegationAminoMsg): _84.Redelegation; - toAminoMsg(message: _84.Redelegation): _84.RedelegationAminoMsg; - fromProtoMsg(message: _84.RedelegationProtoMsg): _84.Redelegation; - toProto(message: _84.Redelegation): Uint8Array; - toProtoMsg(message: _84.Redelegation): _84.RedelegationProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.Params; - isSDK(o: any): o is _84.ParamsSDKType; - isAmino(o: any): o is _84.ParamsAmino; - encode(message: _84.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.Params; - fromJSON(object: any): _84.Params; - toJSON(message: _84.Params): unknown; - fromPartial(object: { - unbondingTime?: { - seconds?: bigint; - nanos?: number; - }; - maxValidators?: number; - maxEntries?: number; - historicalEntries?: number; - bondDenom?: string; - minCommissionRate?: string; - }): _84.Params; - fromSDK(object: _84.ParamsSDKType): _84.Params; - toSDK(message: _84.Params): _84.ParamsSDKType; - fromAmino(object: _84.ParamsAmino): _84.Params; - toAmino(message: _84.Params): _84.ParamsAmino; - fromAminoMsg(object: _84.ParamsAminoMsg): _84.Params; - toAminoMsg(message: _84.Params): _84.ParamsAminoMsg; - fromProtoMsg(message: _84.ParamsProtoMsg): _84.Params; - toProto(message: _84.Params): Uint8Array; - toProtoMsg(message: _84.Params): _84.ParamsProtoMsg; - }; - DelegationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.DelegationResponse; - isSDK(o: any): o is _84.DelegationResponseSDKType; - isAmino(o: any): o is _84.DelegationResponseAmino; - encode(message: _84.DelegationResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.DelegationResponse; - fromJSON(object: any): _84.DelegationResponse; - toJSON(message: _84.DelegationResponse): unknown; - fromPartial(object: { - delegation?: { - delegatorAddress?: string; - validatorAddress?: string; - shares?: string; - }; - balance?: { - denom?: string; - amount?: string; - }; - }): _84.DelegationResponse; - fromSDK(object: _84.DelegationResponseSDKType): _84.DelegationResponse; - toSDK(message: _84.DelegationResponse): _84.DelegationResponseSDKType; - fromAmino(object: _84.DelegationResponseAmino): _84.DelegationResponse; - toAmino(message: _84.DelegationResponse): _84.DelegationResponseAmino; - fromAminoMsg(object: _84.DelegationResponseAminoMsg): _84.DelegationResponse; - toAminoMsg(message: _84.DelegationResponse): _84.DelegationResponseAminoMsg; - fromProtoMsg(message: _84.DelegationResponseProtoMsg): _84.DelegationResponse; - toProto(message: _84.DelegationResponse): Uint8Array; - toProtoMsg(message: _84.DelegationResponse): _84.DelegationResponseProtoMsg; - }; - RedelegationEntryResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.RedelegationEntryResponse; - isSDK(o: any): o is _84.RedelegationEntryResponseSDKType; - isAmino(o: any): o is _84.RedelegationEntryResponseAmino; - encode(message: _84.RedelegationEntryResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.RedelegationEntryResponse; - fromJSON(object: any): _84.RedelegationEntryResponse; - toJSON(message: _84.RedelegationEntryResponse): unknown; - fromPartial(object: { - redelegationEntry?: { - creationHeight?: bigint; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }; - balance?: string; - }): _84.RedelegationEntryResponse; - fromSDK(object: _84.RedelegationEntryResponseSDKType): _84.RedelegationEntryResponse; - toSDK(message: _84.RedelegationEntryResponse): _84.RedelegationEntryResponseSDKType; - fromAmino(object: _84.RedelegationEntryResponseAmino): _84.RedelegationEntryResponse; - toAmino(message: _84.RedelegationEntryResponse): _84.RedelegationEntryResponseAmino; - fromAminoMsg(object: _84.RedelegationEntryResponseAminoMsg): _84.RedelegationEntryResponse; - toAminoMsg(message: _84.RedelegationEntryResponse): _84.RedelegationEntryResponseAminoMsg; - fromProtoMsg(message: _84.RedelegationEntryResponseProtoMsg): _84.RedelegationEntryResponse; - toProto(message: _84.RedelegationEntryResponse): Uint8Array; - toProtoMsg(message: _84.RedelegationEntryResponse): _84.RedelegationEntryResponseProtoMsg; - }; - RedelegationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.RedelegationResponse; - isSDK(o: any): o is _84.RedelegationResponseSDKType; - isAmino(o: any): o is _84.RedelegationResponseAmino; - encode(message: _84.RedelegationResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.RedelegationResponse; - fromJSON(object: any): _84.RedelegationResponse; - toJSON(message: _84.RedelegationResponse): unknown; - fromPartial(object: { - redelegation?: { - delegatorAddress?: string; - validatorSrcAddress?: string; - validatorDstAddress?: string; - entries?: { - creationHeight?: bigint; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }[]; - }; - entries?: { - redelegationEntry?: { - creationHeight?: bigint; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }; - balance?: string; - }[]; - }): _84.RedelegationResponse; - fromSDK(object: _84.RedelegationResponseSDKType): _84.RedelegationResponse; - toSDK(message: _84.RedelegationResponse): _84.RedelegationResponseSDKType; - fromAmino(object: _84.RedelegationResponseAmino): _84.RedelegationResponse; - toAmino(message: _84.RedelegationResponse): _84.RedelegationResponseAmino; - fromAminoMsg(object: _84.RedelegationResponseAminoMsg): _84.RedelegationResponse; - toAminoMsg(message: _84.RedelegationResponse): _84.RedelegationResponseAminoMsg; - fromProtoMsg(message: _84.RedelegationResponseProtoMsg): _84.RedelegationResponse; - toProto(message: _84.RedelegationResponse): Uint8Array; - toProtoMsg(message: _84.RedelegationResponse): _84.RedelegationResponseProtoMsg; - }; - Pool: { - typeUrl: string; - aminoType: string; - is(o: any): o is _84.Pool; - isSDK(o: any): o is _84.PoolSDKType; - isAmino(o: any): o is _84.PoolAmino; - encode(message: _84.Pool, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _84.Pool; - fromJSON(object: any): _84.Pool; - toJSON(message: _84.Pool): unknown; - fromPartial(object: { - notBondedTokens?: string; - bondedTokens?: string; - }): _84.Pool; - fromSDK(object: _84.PoolSDKType): _84.Pool; - toSDK(message: _84.Pool): _84.PoolSDKType; - fromAmino(object: _84.PoolAmino): _84.Pool; - toAmino(message: _84.Pool): _84.PoolAmino; - fromAminoMsg(object: _84.PoolAminoMsg): _84.Pool; - toAminoMsg(message: _84.Pool): _84.PoolAminoMsg; - fromProtoMsg(message: _84.PoolProtoMsg): _84.Pool; - toProto(message: _84.Pool): Uint8Array; - toProtoMsg(message: _84.Pool): _84.PoolProtoMsg; - }; - QueryValidatorsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryValidatorsRequest; - isSDK(o: any): o is _83.QueryValidatorsRequestSDKType; - isAmino(o: any): o is _83.QueryValidatorsRequestAmino; - encode(message: _83.QueryValidatorsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryValidatorsRequest; - fromJSON(object: any): _83.QueryValidatorsRequest; - toJSON(message: _83.QueryValidatorsRequest): unknown; - fromPartial(object: { - status?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _83.QueryValidatorsRequest; - fromSDK(object: _83.QueryValidatorsRequestSDKType): _83.QueryValidatorsRequest; - toSDK(message: _83.QueryValidatorsRequest): _83.QueryValidatorsRequestSDKType; - fromAmino(object: _83.QueryValidatorsRequestAmino): _83.QueryValidatorsRequest; - toAmino(message: _83.QueryValidatorsRequest): _83.QueryValidatorsRequestAmino; - fromAminoMsg(object: _83.QueryValidatorsRequestAminoMsg): _83.QueryValidatorsRequest; - toAminoMsg(message: _83.QueryValidatorsRequest): _83.QueryValidatorsRequestAminoMsg; - fromProtoMsg(message: _83.QueryValidatorsRequestProtoMsg): _83.QueryValidatorsRequest; - toProto(message: _83.QueryValidatorsRequest): Uint8Array; - toProtoMsg(message: _83.QueryValidatorsRequest): _83.QueryValidatorsRequestProtoMsg; - }; - QueryValidatorsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryValidatorsResponse; - isSDK(o: any): o is _83.QueryValidatorsResponseSDKType; - isAmino(o: any): o is _83.QueryValidatorsResponseAmino; - encode(message: _83.QueryValidatorsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryValidatorsResponse; - fromJSON(object: any): _83.QueryValidatorsResponse; - toJSON(message: _83.QueryValidatorsResponse): unknown; - fromPartial(object: { - validators?: { - operatorAddress?: string; - consensusPubkey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _84.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: bigint; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _83.QueryValidatorsResponse; - fromSDK(object: _83.QueryValidatorsResponseSDKType): _83.QueryValidatorsResponse; - toSDK(message: _83.QueryValidatorsResponse): _83.QueryValidatorsResponseSDKType; - fromAmino(object: _83.QueryValidatorsResponseAmino): _83.QueryValidatorsResponse; - toAmino(message: _83.QueryValidatorsResponse): _83.QueryValidatorsResponseAmino; - fromAminoMsg(object: _83.QueryValidatorsResponseAminoMsg): _83.QueryValidatorsResponse; - toAminoMsg(message: _83.QueryValidatorsResponse): _83.QueryValidatorsResponseAminoMsg; - fromProtoMsg(message: _83.QueryValidatorsResponseProtoMsg): _83.QueryValidatorsResponse; - toProto(message: _83.QueryValidatorsResponse): Uint8Array; - toProtoMsg(message: _83.QueryValidatorsResponse): _83.QueryValidatorsResponseProtoMsg; - }; - QueryValidatorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryValidatorRequest; - isSDK(o: any): o is _83.QueryValidatorRequestSDKType; - isAmino(o: any): o is _83.QueryValidatorRequestAmino; - encode(message: _83.QueryValidatorRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryValidatorRequest; - fromJSON(object: any): _83.QueryValidatorRequest; - toJSON(message: _83.QueryValidatorRequest): unknown; - fromPartial(object: { - validatorAddr?: string; - }): _83.QueryValidatorRequest; - fromSDK(object: _83.QueryValidatorRequestSDKType): _83.QueryValidatorRequest; - toSDK(message: _83.QueryValidatorRequest): _83.QueryValidatorRequestSDKType; - fromAmino(object: _83.QueryValidatorRequestAmino): _83.QueryValidatorRequest; - toAmino(message: _83.QueryValidatorRequest): _83.QueryValidatorRequestAmino; - fromAminoMsg(object: _83.QueryValidatorRequestAminoMsg): _83.QueryValidatorRequest; - toAminoMsg(message: _83.QueryValidatorRequest): _83.QueryValidatorRequestAminoMsg; - fromProtoMsg(message: _83.QueryValidatorRequestProtoMsg): _83.QueryValidatorRequest; - toProto(message: _83.QueryValidatorRequest): Uint8Array; - toProtoMsg(message: _83.QueryValidatorRequest): _83.QueryValidatorRequestProtoMsg; - }; - QueryValidatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryValidatorResponse; - isSDK(o: any): o is _83.QueryValidatorResponseSDKType; - isAmino(o: any): o is _83.QueryValidatorResponseAmino; - encode(message: _83.QueryValidatorResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryValidatorResponse; - fromJSON(object: any): _83.QueryValidatorResponse; - toJSON(message: _83.QueryValidatorResponse): unknown; - fromPartial(object: { - validator?: { - operatorAddress?: string; - consensusPubkey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _84.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: bigint; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }; - }): _83.QueryValidatorResponse; - fromSDK(object: _83.QueryValidatorResponseSDKType): _83.QueryValidatorResponse; - toSDK(message: _83.QueryValidatorResponse): _83.QueryValidatorResponseSDKType; - fromAmino(object: _83.QueryValidatorResponseAmino): _83.QueryValidatorResponse; - toAmino(message: _83.QueryValidatorResponse): _83.QueryValidatorResponseAmino; - fromAminoMsg(object: _83.QueryValidatorResponseAminoMsg): _83.QueryValidatorResponse; - toAminoMsg(message: _83.QueryValidatorResponse): _83.QueryValidatorResponseAminoMsg; - fromProtoMsg(message: _83.QueryValidatorResponseProtoMsg): _83.QueryValidatorResponse; - toProto(message: _83.QueryValidatorResponse): Uint8Array; - toProtoMsg(message: _83.QueryValidatorResponse): _83.QueryValidatorResponseProtoMsg; - }; - QueryValidatorDelegationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryValidatorDelegationsRequest; - isSDK(o: any): o is _83.QueryValidatorDelegationsRequestSDKType; - isAmino(o: any): o is _83.QueryValidatorDelegationsRequestAmino; - encode(message: _83.QueryValidatorDelegationsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryValidatorDelegationsRequest; - fromJSON(object: any): _83.QueryValidatorDelegationsRequest; - toJSON(message: _83.QueryValidatorDelegationsRequest): unknown; - fromPartial(object: { - validatorAddr?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _83.QueryValidatorDelegationsRequest; - fromSDK(object: _83.QueryValidatorDelegationsRequestSDKType): _83.QueryValidatorDelegationsRequest; - toSDK(message: _83.QueryValidatorDelegationsRequest): _83.QueryValidatorDelegationsRequestSDKType; - fromAmino(object: _83.QueryValidatorDelegationsRequestAmino): _83.QueryValidatorDelegationsRequest; - toAmino(message: _83.QueryValidatorDelegationsRequest): _83.QueryValidatorDelegationsRequestAmino; - fromAminoMsg(object: _83.QueryValidatorDelegationsRequestAminoMsg): _83.QueryValidatorDelegationsRequest; - toAminoMsg(message: _83.QueryValidatorDelegationsRequest): _83.QueryValidatorDelegationsRequestAminoMsg; - fromProtoMsg(message: _83.QueryValidatorDelegationsRequestProtoMsg): _83.QueryValidatorDelegationsRequest; - toProto(message: _83.QueryValidatorDelegationsRequest): Uint8Array; - toProtoMsg(message: _83.QueryValidatorDelegationsRequest): _83.QueryValidatorDelegationsRequestProtoMsg; - }; - QueryValidatorDelegationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryValidatorDelegationsResponse; - isSDK(o: any): o is _83.QueryValidatorDelegationsResponseSDKType; - isAmino(o: any): o is _83.QueryValidatorDelegationsResponseAmino; - encode(message: _83.QueryValidatorDelegationsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryValidatorDelegationsResponse; - fromJSON(object: any): _83.QueryValidatorDelegationsResponse; - toJSON(message: _83.QueryValidatorDelegationsResponse): unknown; - fromPartial(object: { - delegationResponses?: { - delegation?: { - delegatorAddress?: string; - validatorAddress?: string; - shares?: string; - }; - balance?: { - denom?: string; - amount?: string; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _83.QueryValidatorDelegationsResponse; - fromSDK(object: _83.QueryValidatorDelegationsResponseSDKType): _83.QueryValidatorDelegationsResponse; - toSDK(message: _83.QueryValidatorDelegationsResponse): _83.QueryValidatorDelegationsResponseSDKType; - fromAmino(object: _83.QueryValidatorDelegationsResponseAmino): _83.QueryValidatorDelegationsResponse; - toAmino(message: _83.QueryValidatorDelegationsResponse): _83.QueryValidatorDelegationsResponseAmino; - fromAminoMsg(object: _83.QueryValidatorDelegationsResponseAminoMsg): _83.QueryValidatorDelegationsResponse; - toAminoMsg(message: _83.QueryValidatorDelegationsResponse): _83.QueryValidatorDelegationsResponseAminoMsg; - fromProtoMsg(message: _83.QueryValidatorDelegationsResponseProtoMsg): _83.QueryValidatorDelegationsResponse; - toProto(message: _83.QueryValidatorDelegationsResponse): Uint8Array; - toProtoMsg(message: _83.QueryValidatorDelegationsResponse): _83.QueryValidatorDelegationsResponseProtoMsg; - }; - QueryValidatorUnbondingDelegationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryValidatorUnbondingDelegationsRequest; - isSDK(o: any): o is _83.QueryValidatorUnbondingDelegationsRequestSDKType; - isAmino(o: any): o is _83.QueryValidatorUnbondingDelegationsRequestAmino; - encode(message: _83.QueryValidatorUnbondingDelegationsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryValidatorUnbondingDelegationsRequest; - fromJSON(object: any): _83.QueryValidatorUnbondingDelegationsRequest; - toJSON(message: _83.QueryValidatorUnbondingDelegationsRequest): unknown; - fromPartial(object: { - validatorAddr?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _83.QueryValidatorUnbondingDelegationsRequest; - fromSDK(object: _83.QueryValidatorUnbondingDelegationsRequestSDKType): _83.QueryValidatorUnbondingDelegationsRequest; - toSDK(message: _83.QueryValidatorUnbondingDelegationsRequest): _83.QueryValidatorUnbondingDelegationsRequestSDKType; - fromAmino(object: _83.QueryValidatorUnbondingDelegationsRequestAmino): _83.QueryValidatorUnbondingDelegationsRequest; - toAmino(message: _83.QueryValidatorUnbondingDelegationsRequest): _83.QueryValidatorUnbondingDelegationsRequestAmino; - fromAminoMsg(object: _83.QueryValidatorUnbondingDelegationsRequestAminoMsg): _83.QueryValidatorUnbondingDelegationsRequest; - toAminoMsg(message: _83.QueryValidatorUnbondingDelegationsRequest): _83.QueryValidatorUnbondingDelegationsRequestAminoMsg; - fromProtoMsg(message: _83.QueryValidatorUnbondingDelegationsRequestProtoMsg): _83.QueryValidatorUnbondingDelegationsRequest; - toProto(message: _83.QueryValidatorUnbondingDelegationsRequest): Uint8Array; - toProtoMsg(message: _83.QueryValidatorUnbondingDelegationsRequest): _83.QueryValidatorUnbondingDelegationsRequestProtoMsg; - }; - QueryValidatorUnbondingDelegationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryValidatorUnbondingDelegationsResponse; - isSDK(o: any): o is _83.QueryValidatorUnbondingDelegationsResponseSDKType; - isAmino(o: any): o is _83.QueryValidatorUnbondingDelegationsResponseAmino; - encode(message: _83.QueryValidatorUnbondingDelegationsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryValidatorUnbondingDelegationsResponse; - fromJSON(object: any): _83.QueryValidatorUnbondingDelegationsResponse; - toJSON(message: _83.QueryValidatorUnbondingDelegationsResponse): unknown; - fromPartial(object: { - unbondingResponses?: { - delegatorAddress?: string; - validatorAddress?: string; - entries?: { - creationHeight?: bigint; - completionTime?: Date; - initialBalance?: string; - balance?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _83.QueryValidatorUnbondingDelegationsResponse; - fromSDK(object: _83.QueryValidatorUnbondingDelegationsResponseSDKType): _83.QueryValidatorUnbondingDelegationsResponse; - toSDK(message: _83.QueryValidatorUnbondingDelegationsResponse): _83.QueryValidatorUnbondingDelegationsResponseSDKType; - fromAmino(object: _83.QueryValidatorUnbondingDelegationsResponseAmino): _83.QueryValidatorUnbondingDelegationsResponse; - toAmino(message: _83.QueryValidatorUnbondingDelegationsResponse): _83.QueryValidatorUnbondingDelegationsResponseAmino; - fromAminoMsg(object: _83.QueryValidatorUnbondingDelegationsResponseAminoMsg): _83.QueryValidatorUnbondingDelegationsResponse; - toAminoMsg(message: _83.QueryValidatorUnbondingDelegationsResponse): _83.QueryValidatorUnbondingDelegationsResponseAminoMsg; - fromProtoMsg(message: _83.QueryValidatorUnbondingDelegationsResponseProtoMsg): _83.QueryValidatorUnbondingDelegationsResponse; - toProto(message: _83.QueryValidatorUnbondingDelegationsResponse): Uint8Array; - toProtoMsg(message: _83.QueryValidatorUnbondingDelegationsResponse): _83.QueryValidatorUnbondingDelegationsResponseProtoMsg; - }; - QueryDelegationRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryDelegationRequest; - isSDK(o: any): o is _83.QueryDelegationRequestSDKType; - isAmino(o: any): o is _83.QueryDelegationRequestAmino; - encode(message: _83.QueryDelegationRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryDelegationRequest; - fromJSON(object: any): _83.QueryDelegationRequest; - toJSON(message: _83.QueryDelegationRequest): unknown; - fromPartial(object: { - delegatorAddr?: string; - validatorAddr?: string; - }): _83.QueryDelegationRequest; - fromSDK(object: _83.QueryDelegationRequestSDKType): _83.QueryDelegationRequest; - toSDK(message: _83.QueryDelegationRequest): _83.QueryDelegationRequestSDKType; - fromAmino(object: _83.QueryDelegationRequestAmino): _83.QueryDelegationRequest; - toAmino(message: _83.QueryDelegationRequest): _83.QueryDelegationRequestAmino; - fromAminoMsg(object: _83.QueryDelegationRequestAminoMsg): _83.QueryDelegationRequest; - toAminoMsg(message: _83.QueryDelegationRequest): _83.QueryDelegationRequestAminoMsg; - fromProtoMsg(message: _83.QueryDelegationRequestProtoMsg): _83.QueryDelegationRequest; - toProto(message: _83.QueryDelegationRequest): Uint8Array; - toProtoMsg(message: _83.QueryDelegationRequest): _83.QueryDelegationRequestProtoMsg; - }; - QueryDelegationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryDelegationResponse; - isSDK(o: any): o is _83.QueryDelegationResponseSDKType; - isAmino(o: any): o is _83.QueryDelegationResponseAmino; - encode(message: _83.QueryDelegationResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryDelegationResponse; - fromJSON(object: any): _83.QueryDelegationResponse; - toJSON(message: _83.QueryDelegationResponse): unknown; - fromPartial(object: { - delegationResponse?: { - delegation?: { - delegatorAddress?: string; - validatorAddress?: string; - shares?: string; - }; - balance?: { - denom?: string; - amount?: string; - }; - }; - }): _83.QueryDelegationResponse; - fromSDK(object: _83.QueryDelegationResponseSDKType): _83.QueryDelegationResponse; - toSDK(message: _83.QueryDelegationResponse): _83.QueryDelegationResponseSDKType; - fromAmino(object: _83.QueryDelegationResponseAmino): _83.QueryDelegationResponse; - toAmino(message: _83.QueryDelegationResponse): _83.QueryDelegationResponseAmino; - fromAminoMsg(object: _83.QueryDelegationResponseAminoMsg): _83.QueryDelegationResponse; - toAminoMsg(message: _83.QueryDelegationResponse): _83.QueryDelegationResponseAminoMsg; - fromProtoMsg(message: _83.QueryDelegationResponseProtoMsg): _83.QueryDelegationResponse; - toProto(message: _83.QueryDelegationResponse): Uint8Array; - toProtoMsg(message: _83.QueryDelegationResponse): _83.QueryDelegationResponseProtoMsg; - }; - QueryUnbondingDelegationRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryUnbondingDelegationRequest; - isSDK(o: any): o is _83.QueryUnbondingDelegationRequestSDKType; - isAmino(o: any): o is _83.QueryUnbondingDelegationRequestAmino; - encode(message: _83.QueryUnbondingDelegationRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryUnbondingDelegationRequest; - fromJSON(object: any): _83.QueryUnbondingDelegationRequest; - toJSON(message: _83.QueryUnbondingDelegationRequest): unknown; - fromPartial(object: { - delegatorAddr?: string; - validatorAddr?: string; - }): _83.QueryUnbondingDelegationRequest; - fromSDK(object: _83.QueryUnbondingDelegationRequestSDKType): _83.QueryUnbondingDelegationRequest; - toSDK(message: _83.QueryUnbondingDelegationRequest): _83.QueryUnbondingDelegationRequestSDKType; - fromAmino(object: _83.QueryUnbondingDelegationRequestAmino): _83.QueryUnbondingDelegationRequest; - toAmino(message: _83.QueryUnbondingDelegationRequest): _83.QueryUnbondingDelegationRequestAmino; - fromAminoMsg(object: _83.QueryUnbondingDelegationRequestAminoMsg): _83.QueryUnbondingDelegationRequest; - toAminoMsg(message: _83.QueryUnbondingDelegationRequest): _83.QueryUnbondingDelegationRequestAminoMsg; - fromProtoMsg(message: _83.QueryUnbondingDelegationRequestProtoMsg): _83.QueryUnbondingDelegationRequest; - toProto(message: _83.QueryUnbondingDelegationRequest): Uint8Array; - toProtoMsg(message: _83.QueryUnbondingDelegationRequest): _83.QueryUnbondingDelegationRequestProtoMsg; - }; - QueryUnbondingDelegationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryUnbondingDelegationResponse; - isSDK(o: any): o is _83.QueryUnbondingDelegationResponseSDKType; - isAmino(o: any): o is _83.QueryUnbondingDelegationResponseAmino; - encode(message: _83.QueryUnbondingDelegationResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryUnbondingDelegationResponse; - fromJSON(object: any): _83.QueryUnbondingDelegationResponse; - toJSON(message: _83.QueryUnbondingDelegationResponse): unknown; - fromPartial(object: { - unbond?: { - delegatorAddress?: string; - validatorAddress?: string; - entries?: { - creationHeight?: bigint; - completionTime?: Date; - initialBalance?: string; - balance?: string; - }[]; - }; - }): _83.QueryUnbondingDelegationResponse; - fromSDK(object: _83.QueryUnbondingDelegationResponseSDKType): _83.QueryUnbondingDelegationResponse; - toSDK(message: _83.QueryUnbondingDelegationResponse): _83.QueryUnbondingDelegationResponseSDKType; - fromAmino(object: _83.QueryUnbondingDelegationResponseAmino): _83.QueryUnbondingDelegationResponse; - toAmino(message: _83.QueryUnbondingDelegationResponse): _83.QueryUnbondingDelegationResponseAmino; - fromAminoMsg(object: _83.QueryUnbondingDelegationResponseAminoMsg): _83.QueryUnbondingDelegationResponse; - toAminoMsg(message: _83.QueryUnbondingDelegationResponse): _83.QueryUnbondingDelegationResponseAminoMsg; - fromProtoMsg(message: _83.QueryUnbondingDelegationResponseProtoMsg): _83.QueryUnbondingDelegationResponse; - toProto(message: _83.QueryUnbondingDelegationResponse): Uint8Array; - toProtoMsg(message: _83.QueryUnbondingDelegationResponse): _83.QueryUnbondingDelegationResponseProtoMsg; - }; - QueryDelegatorDelegationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryDelegatorDelegationsRequest; - isSDK(o: any): o is _83.QueryDelegatorDelegationsRequestSDKType; - isAmino(o: any): o is _83.QueryDelegatorDelegationsRequestAmino; - encode(message: _83.QueryDelegatorDelegationsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryDelegatorDelegationsRequest; - fromJSON(object: any): _83.QueryDelegatorDelegationsRequest; - toJSON(message: _83.QueryDelegatorDelegationsRequest): unknown; - fromPartial(object: { - delegatorAddr?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _83.QueryDelegatorDelegationsRequest; - fromSDK(object: _83.QueryDelegatorDelegationsRequestSDKType): _83.QueryDelegatorDelegationsRequest; - toSDK(message: _83.QueryDelegatorDelegationsRequest): _83.QueryDelegatorDelegationsRequestSDKType; - fromAmino(object: _83.QueryDelegatorDelegationsRequestAmino): _83.QueryDelegatorDelegationsRequest; - toAmino(message: _83.QueryDelegatorDelegationsRequest): _83.QueryDelegatorDelegationsRequestAmino; - fromAminoMsg(object: _83.QueryDelegatorDelegationsRequestAminoMsg): _83.QueryDelegatorDelegationsRequest; - toAminoMsg(message: _83.QueryDelegatorDelegationsRequest): _83.QueryDelegatorDelegationsRequestAminoMsg; - fromProtoMsg(message: _83.QueryDelegatorDelegationsRequestProtoMsg): _83.QueryDelegatorDelegationsRequest; - toProto(message: _83.QueryDelegatorDelegationsRequest): Uint8Array; - toProtoMsg(message: _83.QueryDelegatorDelegationsRequest): _83.QueryDelegatorDelegationsRequestProtoMsg; - }; - QueryDelegatorDelegationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryDelegatorDelegationsResponse; - isSDK(o: any): o is _83.QueryDelegatorDelegationsResponseSDKType; - isAmino(o: any): o is _83.QueryDelegatorDelegationsResponseAmino; - encode(message: _83.QueryDelegatorDelegationsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryDelegatorDelegationsResponse; - fromJSON(object: any): _83.QueryDelegatorDelegationsResponse; - toJSON(message: _83.QueryDelegatorDelegationsResponse): unknown; - fromPartial(object: { - delegationResponses?: { - delegation?: { - delegatorAddress?: string; - validatorAddress?: string; - shares?: string; - }; - balance?: { - denom?: string; - amount?: string; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _83.QueryDelegatorDelegationsResponse; - fromSDK(object: _83.QueryDelegatorDelegationsResponseSDKType): _83.QueryDelegatorDelegationsResponse; - toSDK(message: _83.QueryDelegatorDelegationsResponse): _83.QueryDelegatorDelegationsResponseSDKType; - fromAmino(object: _83.QueryDelegatorDelegationsResponseAmino): _83.QueryDelegatorDelegationsResponse; - toAmino(message: _83.QueryDelegatorDelegationsResponse): _83.QueryDelegatorDelegationsResponseAmino; - fromAminoMsg(object: _83.QueryDelegatorDelegationsResponseAminoMsg): _83.QueryDelegatorDelegationsResponse; - toAminoMsg(message: _83.QueryDelegatorDelegationsResponse): _83.QueryDelegatorDelegationsResponseAminoMsg; - fromProtoMsg(message: _83.QueryDelegatorDelegationsResponseProtoMsg): _83.QueryDelegatorDelegationsResponse; - toProto(message: _83.QueryDelegatorDelegationsResponse): Uint8Array; - toProtoMsg(message: _83.QueryDelegatorDelegationsResponse): _83.QueryDelegatorDelegationsResponseProtoMsg; - }; - QueryDelegatorUnbondingDelegationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryDelegatorUnbondingDelegationsRequest; - isSDK(o: any): o is _83.QueryDelegatorUnbondingDelegationsRequestSDKType; - isAmino(o: any): o is _83.QueryDelegatorUnbondingDelegationsRequestAmino; - encode(message: _83.QueryDelegatorUnbondingDelegationsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryDelegatorUnbondingDelegationsRequest; - fromJSON(object: any): _83.QueryDelegatorUnbondingDelegationsRequest; - toJSON(message: _83.QueryDelegatorUnbondingDelegationsRequest): unknown; - fromPartial(object: { - delegatorAddr?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _83.QueryDelegatorUnbondingDelegationsRequest; - fromSDK(object: _83.QueryDelegatorUnbondingDelegationsRequestSDKType): _83.QueryDelegatorUnbondingDelegationsRequest; - toSDK(message: _83.QueryDelegatorUnbondingDelegationsRequest): _83.QueryDelegatorUnbondingDelegationsRequestSDKType; - fromAmino(object: _83.QueryDelegatorUnbondingDelegationsRequestAmino): _83.QueryDelegatorUnbondingDelegationsRequest; - toAmino(message: _83.QueryDelegatorUnbondingDelegationsRequest): _83.QueryDelegatorUnbondingDelegationsRequestAmino; - fromAminoMsg(object: _83.QueryDelegatorUnbondingDelegationsRequestAminoMsg): _83.QueryDelegatorUnbondingDelegationsRequest; - toAminoMsg(message: _83.QueryDelegatorUnbondingDelegationsRequest): _83.QueryDelegatorUnbondingDelegationsRequestAminoMsg; - fromProtoMsg(message: _83.QueryDelegatorUnbondingDelegationsRequestProtoMsg): _83.QueryDelegatorUnbondingDelegationsRequest; - toProto(message: _83.QueryDelegatorUnbondingDelegationsRequest): Uint8Array; - toProtoMsg(message: _83.QueryDelegatorUnbondingDelegationsRequest): _83.QueryDelegatorUnbondingDelegationsRequestProtoMsg; - }; - QueryDelegatorUnbondingDelegationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryDelegatorUnbondingDelegationsResponse; - isSDK(o: any): o is _83.QueryDelegatorUnbondingDelegationsResponseSDKType; - isAmino(o: any): o is _83.QueryDelegatorUnbondingDelegationsResponseAmino; - encode(message: _83.QueryDelegatorUnbondingDelegationsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryDelegatorUnbondingDelegationsResponse; - fromJSON(object: any): _83.QueryDelegatorUnbondingDelegationsResponse; - toJSON(message: _83.QueryDelegatorUnbondingDelegationsResponse): unknown; - fromPartial(object: { - unbondingResponses?: { - delegatorAddress?: string; - validatorAddress?: string; - entries?: { - creationHeight?: bigint; - completionTime?: Date; - initialBalance?: string; - balance?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _83.QueryDelegatorUnbondingDelegationsResponse; - fromSDK(object: _83.QueryDelegatorUnbondingDelegationsResponseSDKType): _83.QueryDelegatorUnbondingDelegationsResponse; - toSDK(message: _83.QueryDelegatorUnbondingDelegationsResponse): _83.QueryDelegatorUnbondingDelegationsResponseSDKType; - fromAmino(object: _83.QueryDelegatorUnbondingDelegationsResponseAmino): _83.QueryDelegatorUnbondingDelegationsResponse; - toAmino(message: _83.QueryDelegatorUnbondingDelegationsResponse): _83.QueryDelegatorUnbondingDelegationsResponseAmino; - fromAminoMsg(object: _83.QueryDelegatorUnbondingDelegationsResponseAminoMsg): _83.QueryDelegatorUnbondingDelegationsResponse; - toAminoMsg(message: _83.QueryDelegatorUnbondingDelegationsResponse): _83.QueryDelegatorUnbondingDelegationsResponseAminoMsg; - fromProtoMsg(message: _83.QueryDelegatorUnbondingDelegationsResponseProtoMsg): _83.QueryDelegatorUnbondingDelegationsResponse; - toProto(message: _83.QueryDelegatorUnbondingDelegationsResponse): Uint8Array; - toProtoMsg(message: _83.QueryDelegatorUnbondingDelegationsResponse): _83.QueryDelegatorUnbondingDelegationsResponseProtoMsg; - }; - QueryRedelegationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryRedelegationsRequest; - isSDK(o: any): o is _83.QueryRedelegationsRequestSDKType; - isAmino(o: any): o is _83.QueryRedelegationsRequestAmino; - encode(message: _83.QueryRedelegationsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryRedelegationsRequest; - fromJSON(object: any): _83.QueryRedelegationsRequest; - toJSON(message: _83.QueryRedelegationsRequest): unknown; - fromPartial(object: { - delegatorAddr?: string; - srcValidatorAddr?: string; - dstValidatorAddr?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _83.QueryRedelegationsRequest; - fromSDK(object: _83.QueryRedelegationsRequestSDKType): _83.QueryRedelegationsRequest; - toSDK(message: _83.QueryRedelegationsRequest): _83.QueryRedelegationsRequestSDKType; - fromAmino(object: _83.QueryRedelegationsRequestAmino): _83.QueryRedelegationsRequest; - toAmino(message: _83.QueryRedelegationsRequest): _83.QueryRedelegationsRequestAmino; - fromAminoMsg(object: _83.QueryRedelegationsRequestAminoMsg): _83.QueryRedelegationsRequest; - toAminoMsg(message: _83.QueryRedelegationsRequest): _83.QueryRedelegationsRequestAminoMsg; - fromProtoMsg(message: _83.QueryRedelegationsRequestProtoMsg): _83.QueryRedelegationsRequest; - toProto(message: _83.QueryRedelegationsRequest): Uint8Array; - toProtoMsg(message: _83.QueryRedelegationsRequest): _83.QueryRedelegationsRequestProtoMsg; - }; - QueryRedelegationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryRedelegationsResponse; - isSDK(o: any): o is _83.QueryRedelegationsResponseSDKType; - isAmino(o: any): o is _83.QueryRedelegationsResponseAmino; - encode(message: _83.QueryRedelegationsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryRedelegationsResponse; - fromJSON(object: any): _83.QueryRedelegationsResponse; - toJSON(message: _83.QueryRedelegationsResponse): unknown; - fromPartial(object: { - redelegationResponses?: { - redelegation?: { - delegatorAddress?: string; - validatorSrcAddress?: string; - validatorDstAddress?: string; - entries?: { - creationHeight?: bigint; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }[]; - }; - entries?: { - redelegationEntry?: { - creationHeight?: bigint; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }; - balance?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _83.QueryRedelegationsResponse; - fromSDK(object: _83.QueryRedelegationsResponseSDKType): _83.QueryRedelegationsResponse; - toSDK(message: _83.QueryRedelegationsResponse): _83.QueryRedelegationsResponseSDKType; - fromAmino(object: _83.QueryRedelegationsResponseAmino): _83.QueryRedelegationsResponse; - toAmino(message: _83.QueryRedelegationsResponse): _83.QueryRedelegationsResponseAmino; - fromAminoMsg(object: _83.QueryRedelegationsResponseAminoMsg): _83.QueryRedelegationsResponse; - toAminoMsg(message: _83.QueryRedelegationsResponse): _83.QueryRedelegationsResponseAminoMsg; - fromProtoMsg(message: _83.QueryRedelegationsResponseProtoMsg): _83.QueryRedelegationsResponse; - toProto(message: _83.QueryRedelegationsResponse): Uint8Array; - toProtoMsg(message: _83.QueryRedelegationsResponse): _83.QueryRedelegationsResponseProtoMsg; - }; - QueryDelegatorValidatorsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryDelegatorValidatorsRequest; - isSDK(o: any): o is _83.QueryDelegatorValidatorsRequestSDKType; - isAmino(o: any): o is _83.QueryDelegatorValidatorsRequestAmino; - encode(message: _83.QueryDelegatorValidatorsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryDelegatorValidatorsRequest; - fromJSON(object: any): _83.QueryDelegatorValidatorsRequest; - toJSON(message: _83.QueryDelegatorValidatorsRequest): unknown; - fromPartial(object: { - delegatorAddr?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _83.QueryDelegatorValidatorsRequest; - fromSDK(object: _83.QueryDelegatorValidatorsRequestSDKType): _83.QueryDelegatorValidatorsRequest; - toSDK(message: _83.QueryDelegatorValidatorsRequest): _83.QueryDelegatorValidatorsRequestSDKType; - fromAmino(object: _83.QueryDelegatorValidatorsRequestAmino): _83.QueryDelegatorValidatorsRequest; - toAmino(message: _83.QueryDelegatorValidatorsRequest): _83.QueryDelegatorValidatorsRequestAmino; - fromAminoMsg(object: _83.QueryDelegatorValidatorsRequestAminoMsg): _83.QueryDelegatorValidatorsRequest; - toAminoMsg(message: _83.QueryDelegatorValidatorsRequest): _83.QueryDelegatorValidatorsRequestAminoMsg; - fromProtoMsg(message: _83.QueryDelegatorValidatorsRequestProtoMsg): _83.QueryDelegatorValidatorsRequest; - toProto(message: _83.QueryDelegatorValidatorsRequest): Uint8Array; - toProtoMsg(message: _83.QueryDelegatorValidatorsRequest): _83.QueryDelegatorValidatorsRequestProtoMsg; - }; - QueryDelegatorValidatorsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryDelegatorValidatorsResponse; - isSDK(o: any): o is _83.QueryDelegatorValidatorsResponseSDKType; - isAmino(o: any): o is _83.QueryDelegatorValidatorsResponseAmino; - encode(message: _83.QueryDelegatorValidatorsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryDelegatorValidatorsResponse; - fromJSON(object: any): _83.QueryDelegatorValidatorsResponse; - toJSON(message: _83.QueryDelegatorValidatorsResponse): unknown; - fromPartial(object: { - validators?: { - operatorAddress?: string; - consensusPubkey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _84.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: bigint; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _83.QueryDelegatorValidatorsResponse; - fromSDK(object: _83.QueryDelegatorValidatorsResponseSDKType): _83.QueryDelegatorValidatorsResponse; - toSDK(message: _83.QueryDelegatorValidatorsResponse): _83.QueryDelegatorValidatorsResponseSDKType; - fromAmino(object: _83.QueryDelegatorValidatorsResponseAmino): _83.QueryDelegatorValidatorsResponse; - toAmino(message: _83.QueryDelegatorValidatorsResponse): _83.QueryDelegatorValidatorsResponseAmino; - fromAminoMsg(object: _83.QueryDelegatorValidatorsResponseAminoMsg): _83.QueryDelegatorValidatorsResponse; - toAminoMsg(message: _83.QueryDelegatorValidatorsResponse): _83.QueryDelegatorValidatorsResponseAminoMsg; - fromProtoMsg(message: _83.QueryDelegatorValidatorsResponseProtoMsg): _83.QueryDelegatorValidatorsResponse; - toProto(message: _83.QueryDelegatorValidatorsResponse): Uint8Array; - toProtoMsg(message: _83.QueryDelegatorValidatorsResponse): _83.QueryDelegatorValidatorsResponseProtoMsg; - }; - QueryDelegatorValidatorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryDelegatorValidatorRequest; - isSDK(o: any): o is _83.QueryDelegatorValidatorRequestSDKType; - isAmino(o: any): o is _83.QueryDelegatorValidatorRequestAmino; - encode(message: _83.QueryDelegatorValidatorRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryDelegatorValidatorRequest; - fromJSON(object: any): _83.QueryDelegatorValidatorRequest; - toJSON(message: _83.QueryDelegatorValidatorRequest): unknown; - fromPartial(object: { - delegatorAddr?: string; - validatorAddr?: string; - }): _83.QueryDelegatorValidatorRequest; - fromSDK(object: _83.QueryDelegatorValidatorRequestSDKType): _83.QueryDelegatorValidatorRequest; - toSDK(message: _83.QueryDelegatorValidatorRequest): _83.QueryDelegatorValidatorRequestSDKType; - fromAmino(object: _83.QueryDelegatorValidatorRequestAmino): _83.QueryDelegatorValidatorRequest; - toAmino(message: _83.QueryDelegatorValidatorRequest): _83.QueryDelegatorValidatorRequestAmino; - fromAminoMsg(object: _83.QueryDelegatorValidatorRequestAminoMsg): _83.QueryDelegatorValidatorRequest; - toAminoMsg(message: _83.QueryDelegatorValidatorRequest): _83.QueryDelegatorValidatorRequestAminoMsg; - fromProtoMsg(message: _83.QueryDelegatorValidatorRequestProtoMsg): _83.QueryDelegatorValidatorRequest; - toProto(message: _83.QueryDelegatorValidatorRequest): Uint8Array; - toProtoMsg(message: _83.QueryDelegatorValidatorRequest): _83.QueryDelegatorValidatorRequestProtoMsg; - }; - QueryDelegatorValidatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryDelegatorValidatorResponse; - isSDK(o: any): o is _83.QueryDelegatorValidatorResponseSDKType; - isAmino(o: any): o is _83.QueryDelegatorValidatorResponseAmino; - encode(message: _83.QueryDelegatorValidatorResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryDelegatorValidatorResponse; - fromJSON(object: any): _83.QueryDelegatorValidatorResponse; - toJSON(message: _83.QueryDelegatorValidatorResponse): unknown; - fromPartial(object: { - validator?: { - operatorAddress?: string; - consensusPubkey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _84.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: bigint; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }; - }): _83.QueryDelegatorValidatorResponse; - fromSDK(object: _83.QueryDelegatorValidatorResponseSDKType): _83.QueryDelegatorValidatorResponse; - toSDK(message: _83.QueryDelegatorValidatorResponse): _83.QueryDelegatorValidatorResponseSDKType; - fromAmino(object: _83.QueryDelegatorValidatorResponseAmino): _83.QueryDelegatorValidatorResponse; - toAmino(message: _83.QueryDelegatorValidatorResponse): _83.QueryDelegatorValidatorResponseAmino; - fromAminoMsg(object: _83.QueryDelegatorValidatorResponseAminoMsg): _83.QueryDelegatorValidatorResponse; - toAminoMsg(message: _83.QueryDelegatorValidatorResponse): _83.QueryDelegatorValidatorResponseAminoMsg; - fromProtoMsg(message: _83.QueryDelegatorValidatorResponseProtoMsg): _83.QueryDelegatorValidatorResponse; - toProto(message: _83.QueryDelegatorValidatorResponse): Uint8Array; - toProtoMsg(message: _83.QueryDelegatorValidatorResponse): _83.QueryDelegatorValidatorResponseProtoMsg; - }; - QueryHistoricalInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryHistoricalInfoRequest; - isSDK(o: any): o is _83.QueryHistoricalInfoRequestSDKType; - isAmino(o: any): o is _83.QueryHistoricalInfoRequestAmino; - encode(message: _83.QueryHistoricalInfoRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryHistoricalInfoRequest; - fromJSON(object: any): _83.QueryHistoricalInfoRequest; - toJSON(message: _83.QueryHistoricalInfoRequest): unknown; - fromPartial(object: { - height?: bigint; - }): _83.QueryHistoricalInfoRequest; - fromSDK(object: _83.QueryHistoricalInfoRequestSDKType): _83.QueryHistoricalInfoRequest; - toSDK(message: _83.QueryHistoricalInfoRequest): _83.QueryHistoricalInfoRequestSDKType; - fromAmino(object: _83.QueryHistoricalInfoRequestAmino): _83.QueryHistoricalInfoRequest; - toAmino(message: _83.QueryHistoricalInfoRequest): _83.QueryHistoricalInfoRequestAmino; - fromAminoMsg(object: _83.QueryHistoricalInfoRequestAminoMsg): _83.QueryHistoricalInfoRequest; - toAminoMsg(message: _83.QueryHistoricalInfoRequest): _83.QueryHistoricalInfoRequestAminoMsg; - fromProtoMsg(message: _83.QueryHistoricalInfoRequestProtoMsg): _83.QueryHistoricalInfoRequest; - toProto(message: _83.QueryHistoricalInfoRequest): Uint8Array; - toProtoMsg(message: _83.QueryHistoricalInfoRequest): _83.QueryHistoricalInfoRequestProtoMsg; - }; - QueryHistoricalInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryHistoricalInfoResponse; - isSDK(o: any): o is _83.QueryHistoricalInfoResponseSDKType; - isAmino(o: any): o is _83.QueryHistoricalInfoResponseAmino; - encode(message: _83.QueryHistoricalInfoResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryHistoricalInfoResponse; - fromJSON(object: any): _83.QueryHistoricalInfoResponse; - toJSON(message: _83.QueryHistoricalInfoResponse): unknown; - fromPartial(object: { - hist?: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - valset?: { - operatorAddress?: string; - consensusPubkey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _84.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: bigint; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }[]; - }; - }): _83.QueryHistoricalInfoResponse; - fromSDK(object: _83.QueryHistoricalInfoResponseSDKType): _83.QueryHistoricalInfoResponse; - toSDK(message: _83.QueryHistoricalInfoResponse): _83.QueryHistoricalInfoResponseSDKType; - fromAmino(object: _83.QueryHistoricalInfoResponseAmino): _83.QueryHistoricalInfoResponse; - toAmino(message: _83.QueryHistoricalInfoResponse): _83.QueryHistoricalInfoResponseAmino; - fromAminoMsg(object: _83.QueryHistoricalInfoResponseAminoMsg): _83.QueryHistoricalInfoResponse; - toAminoMsg(message: _83.QueryHistoricalInfoResponse): _83.QueryHistoricalInfoResponseAminoMsg; - fromProtoMsg(message: _83.QueryHistoricalInfoResponseProtoMsg): _83.QueryHistoricalInfoResponse; - toProto(message: _83.QueryHistoricalInfoResponse): Uint8Array; - toProtoMsg(message: _83.QueryHistoricalInfoResponse): _83.QueryHistoricalInfoResponseProtoMsg; - }; - QueryPoolRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryPoolRequest; - isSDK(o: any): o is _83.QueryPoolRequestSDKType; - isAmino(o: any): o is _83.QueryPoolRequestAmino; - encode(_: _83.QueryPoolRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryPoolRequest; - fromJSON(_: any): _83.QueryPoolRequest; - toJSON(_: _83.QueryPoolRequest): unknown; - fromPartial(_: {}): _83.QueryPoolRequest; - fromSDK(_: _83.QueryPoolRequestSDKType): _83.QueryPoolRequest; - toSDK(_: _83.QueryPoolRequest): _83.QueryPoolRequestSDKType; - fromAmino(_: _83.QueryPoolRequestAmino): _83.QueryPoolRequest; - toAmino(_: _83.QueryPoolRequest): _83.QueryPoolRequestAmino; - fromAminoMsg(object: _83.QueryPoolRequestAminoMsg): _83.QueryPoolRequest; - toAminoMsg(message: _83.QueryPoolRequest): _83.QueryPoolRequestAminoMsg; - fromProtoMsg(message: _83.QueryPoolRequestProtoMsg): _83.QueryPoolRequest; - toProto(message: _83.QueryPoolRequest): Uint8Array; - toProtoMsg(message: _83.QueryPoolRequest): _83.QueryPoolRequestProtoMsg; - }; - QueryPoolResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryPoolResponse; - isSDK(o: any): o is _83.QueryPoolResponseSDKType; - isAmino(o: any): o is _83.QueryPoolResponseAmino; - encode(message: _83.QueryPoolResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryPoolResponse; - fromJSON(object: any): _83.QueryPoolResponse; - toJSON(message: _83.QueryPoolResponse): unknown; - fromPartial(object: { - pool?: { - notBondedTokens?: string; - bondedTokens?: string; - }; - }): _83.QueryPoolResponse; - fromSDK(object: _83.QueryPoolResponseSDKType): _83.QueryPoolResponse; - toSDK(message: _83.QueryPoolResponse): _83.QueryPoolResponseSDKType; - fromAmino(object: _83.QueryPoolResponseAmino): _83.QueryPoolResponse; - toAmino(message: _83.QueryPoolResponse): _83.QueryPoolResponseAmino; - fromAminoMsg(object: _83.QueryPoolResponseAminoMsg): _83.QueryPoolResponse; - toAminoMsg(message: _83.QueryPoolResponse): _83.QueryPoolResponseAminoMsg; - fromProtoMsg(message: _83.QueryPoolResponseProtoMsg): _83.QueryPoolResponse; - toProto(message: _83.QueryPoolResponse): Uint8Array; - toProtoMsg(message: _83.QueryPoolResponse): _83.QueryPoolResponseProtoMsg; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryParamsRequest; - isSDK(o: any): o is _83.QueryParamsRequestSDKType; - isAmino(o: any): o is _83.QueryParamsRequestAmino; - encode(_: _83.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryParamsRequest; - fromJSON(_: any): _83.QueryParamsRequest; - toJSON(_: _83.QueryParamsRequest): unknown; - fromPartial(_: {}): _83.QueryParamsRequest; - fromSDK(_: _83.QueryParamsRequestSDKType): _83.QueryParamsRequest; - toSDK(_: _83.QueryParamsRequest): _83.QueryParamsRequestSDKType; - fromAmino(_: _83.QueryParamsRequestAmino): _83.QueryParamsRequest; - toAmino(_: _83.QueryParamsRequest): _83.QueryParamsRequestAmino; - fromAminoMsg(object: _83.QueryParamsRequestAminoMsg): _83.QueryParamsRequest; - toAminoMsg(message: _83.QueryParamsRequest): _83.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _83.QueryParamsRequestProtoMsg): _83.QueryParamsRequest; - toProto(message: _83.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _83.QueryParamsRequest): _83.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _83.QueryParamsResponse; - isSDK(o: any): o is _83.QueryParamsResponseSDKType; - isAmino(o: any): o is _83.QueryParamsResponseAmino; - encode(message: _83.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _83.QueryParamsResponse; - fromJSON(object: any): _83.QueryParamsResponse; - toJSON(message: _83.QueryParamsResponse): unknown; - fromPartial(object: { - params?: { - unbondingTime?: { - seconds?: bigint; - nanos?: number; - }; - maxValidators?: number; - maxEntries?: number; - historicalEntries?: number; - bondDenom?: string; - minCommissionRate?: string; - }; - }): _83.QueryParamsResponse; - fromSDK(object: _83.QueryParamsResponseSDKType): _83.QueryParamsResponse; - toSDK(message: _83.QueryParamsResponse): _83.QueryParamsResponseSDKType; - fromAmino(object: _83.QueryParamsResponseAmino): _83.QueryParamsResponse; - toAmino(message: _83.QueryParamsResponse): _83.QueryParamsResponseAmino; - fromAminoMsg(object: _83.QueryParamsResponseAminoMsg): _83.QueryParamsResponse; - toAminoMsg(message: _83.QueryParamsResponse): _83.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _83.QueryParamsResponseProtoMsg): _83.QueryParamsResponse; - toProto(message: _83.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _83.QueryParamsResponse): _83.QueryParamsResponseProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _82.GenesisState; - isSDK(o: any): o is _82.GenesisStateSDKType; - isAmino(o: any): o is _82.GenesisStateAmino; - encode(message: _82.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _82.GenesisState; - fromJSON(object: any): _82.GenesisState; - toJSON(message: _82.GenesisState): unknown; - fromPartial(object: { - params?: { - unbondingTime?: { - seconds?: bigint; - nanos?: number; - }; - maxValidators?: number; - maxEntries?: number; - historicalEntries?: number; - bondDenom?: string; - minCommissionRate?: string; - }; - lastTotalPower?: Uint8Array; - lastValidatorPowers?: { - address?: string; - power?: bigint; - }[]; - validators?: { - operatorAddress?: string; - consensusPubkey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _84.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: bigint; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }[]; - delegations?: { - delegatorAddress?: string; - validatorAddress?: string; - shares?: string; - }[]; - unbondingDelegations?: { - delegatorAddress?: string; - validatorAddress?: string; - entries?: { - creationHeight?: bigint; - completionTime?: Date; - initialBalance?: string; - balance?: string; - }[]; - }[]; - redelegations?: { - delegatorAddress?: string; - validatorSrcAddress?: string; - validatorDstAddress?: string; - entries?: { - creationHeight?: bigint; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }[]; - }[]; - exported?: boolean; - }): _82.GenesisState; - fromSDK(object: _82.GenesisStateSDKType): _82.GenesisState; - toSDK(message: _82.GenesisState): _82.GenesisStateSDKType; - fromAmino(object: _82.GenesisStateAmino): _82.GenesisState; - toAmino(message: _82.GenesisState): _82.GenesisStateAmino; - fromAminoMsg(object: _82.GenesisStateAminoMsg): _82.GenesisState; - toAminoMsg(message: _82.GenesisState): _82.GenesisStateAminoMsg; - fromProtoMsg(message: _82.GenesisStateProtoMsg): _82.GenesisState; - toProto(message: _82.GenesisState): Uint8Array; - toProtoMsg(message: _82.GenesisState): _82.GenesisStateProtoMsg; - }; - LastValidatorPower: { - typeUrl: string; - aminoType: string; - is(o: any): o is _82.LastValidatorPower; - isSDK(o: any): o is _82.LastValidatorPowerSDKType; - isAmino(o: any): o is _82.LastValidatorPowerAmino; - encode(message: _82.LastValidatorPower, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _82.LastValidatorPower; - fromJSON(object: any): _82.LastValidatorPower; - toJSON(message: _82.LastValidatorPower): unknown; - fromPartial(object: { - address?: string; - power?: bigint; - }): _82.LastValidatorPower; - fromSDK(object: _82.LastValidatorPowerSDKType): _82.LastValidatorPower; - toSDK(message: _82.LastValidatorPower): _82.LastValidatorPowerSDKType; - fromAmino(object: _82.LastValidatorPowerAmino): _82.LastValidatorPower; - toAmino(message: _82.LastValidatorPower): _82.LastValidatorPowerAmino; - fromAminoMsg(object: _82.LastValidatorPowerAminoMsg): _82.LastValidatorPower; - toAminoMsg(message: _82.LastValidatorPower): _82.LastValidatorPowerAminoMsg; - fromProtoMsg(message: _82.LastValidatorPowerProtoMsg): _82.LastValidatorPower; - toProto(message: _82.LastValidatorPower): Uint8Array; - toProtoMsg(message: _82.LastValidatorPower): _82.LastValidatorPowerProtoMsg; - }; - authorizationTypeFromJSON(object: any): _81.AuthorizationType; - authorizationTypeToJSON(object: _81.AuthorizationType): string; - AuthorizationType: typeof _81.AuthorizationType; - AuthorizationTypeSDKType: typeof _81.AuthorizationType; - AuthorizationTypeAmino: typeof _81.AuthorizationType; - StakeAuthorization: { - typeUrl: string; - aminoType: string; - is(o: any): o is _81.StakeAuthorization; - isSDK(o: any): o is _81.StakeAuthorizationSDKType; - isAmino(o: any): o is _81.StakeAuthorizationAmino; - encode(message: _81.StakeAuthorization, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _81.StakeAuthorization; - fromJSON(object: any): _81.StakeAuthorization; - toJSON(message: _81.StakeAuthorization): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.staking.v1beta1.StakeAuthorization"; - maxTokens?: { - denom?: string; - amount?: string; - }; - allowList?: { - address?: string[]; - }; - denyList?: { - address?: string[]; - }; - authorizationType?: _81.AuthorizationType; - }): _81.StakeAuthorization; - fromSDK(object: _81.StakeAuthorizationSDKType): _81.StakeAuthorization; - toSDK(message: _81.StakeAuthorization): _81.StakeAuthorizationSDKType; - fromAmino(object: _81.StakeAuthorizationAmino): _81.StakeAuthorization; - toAmino(message: _81.StakeAuthorization): _81.StakeAuthorizationAmino; - fromAminoMsg(object: _81.StakeAuthorizationAminoMsg): _81.StakeAuthorization; - toAminoMsg(message: _81.StakeAuthorization): _81.StakeAuthorizationAminoMsg; - fromProtoMsg(message: _81.StakeAuthorizationProtoMsg): _81.StakeAuthorization; - toProto(message: _81.StakeAuthorization): Uint8Array; - toProtoMsg(message: _81.StakeAuthorization): _81.StakeAuthorizationProtoMsg; - }; - StakeAuthorization_Validators: { - typeUrl: string; - aminoType: string; - is(o: any): o is _81.StakeAuthorization_Validators; - isSDK(o: any): o is _81.StakeAuthorization_ValidatorsSDKType; - isAmino(o: any): o is _81.StakeAuthorization_ValidatorsAmino; - encode(message: _81.StakeAuthorization_Validators, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _81.StakeAuthorization_Validators; - fromJSON(object: any): _81.StakeAuthorization_Validators; - toJSON(message: _81.StakeAuthorization_Validators): unknown; - fromPartial(object: { - address?: string[]; - }): _81.StakeAuthorization_Validators; - fromSDK(object: _81.StakeAuthorization_ValidatorsSDKType): _81.StakeAuthorization_Validators; - toSDK(message: _81.StakeAuthorization_Validators): _81.StakeAuthorization_ValidatorsSDKType; - fromAmino(object: _81.StakeAuthorization_ValidatorsAmino): _81.StakeAuthorization_Validators; - toAmino(message: _81.StakeAuthorization_Validators): _81.StakeAuthorization_ValidatorsAmino; - fromAminoMsg(object: _81.StakeAuthorization_ValidatorsAminoMsg): _81.StakeAuthorization_Validators; - toAminoMsg(message: _81.StakeAuthorization_Validators): _81.StakeAuthorization_ValidatorsAminoMsg; - fromProtoMsg(message: _81.StakeAuthorization_ValidatorsProtoMsg): _81.StakeAuthorization_Validators; - toProto(message: _81.StakeAuthorization_Validators): Uint8Array; - toProtoMsg(message: _81.StakeAuthorization_Validators): _81.StakeAuthorization_ValidatorsProtoMsg; - }; - }; - } - namespace tx { - namespace signing { - const v1beta1: { - signModeFromJSON(object: any): _86.SignMode; - signModeToJSON(object: _86.SignMode): string; - SignMode: typeof _86.SignMode; - SignModeSDKType: typeof _86.SignMode; - SignModeAmino: typeof _86.SignMode; - SignatureDescriptors: { - typeUrl: string; - aminoType: string; - is(o: any): o is _86.SignatureDescriptors; - isSDK(o: any): o is _86.SignatureDescriptorsSDKType; - isAmino(o: any): o is _86.SignatureDescriptorsAmino; - encode(message: _86.SignatureDescriptors, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _86.SignatureDescriptors; - fromJSON(object: any): _86.SignatureDescriptors; - toJSON(message: _86.SignatureDescriptors): unknown; - fromPartial(object: { - signatures?: { - publicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - data?: { - single?: { - mode?: _86.SignMode; - signature?: Uint8Array; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - signatures?: any[]; - }; - }; - sequence?: bigint; - }[]; - }): _86.SignatureDescriptors; - fromSDK(object: _86.SignatureDescriptorsSDKType): _86.SignatureDescriptors; - toSDK(message: _86.SignatureDescriptors): _86.SignatureDescriptorsSDKType; - fromAmino(object: _86.SignatureDescriptorsAmino): _86.SignatureDescriptors; - toAmino(message: _86.SignatureDescriptors): _86.SignatureDescriptorsAmino; - fromAminoMsg(object: _86.SignatureDescriptorsAminoMsg): _86.SignatureDescriptors; - toAminoMsg(message: _86.SignatureDescriptors): _86.SignatureDescriptorsAminoMsg; - fromProtoMsg(message: _86.SignatureDescriptorsProtoMsg): _86.SignatureDescriptors; - toProto(message: _86.SignatureDescriptors): Uint8Array; - toProtoMsg(message: _86.SignatureDescriptors): _86.SignatureDescriptorsProtoMsg; - }; - SignatureDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is _86.SignatureDescriptor; - isSDK(o: any): o is _86.SignatureDescriptorSDKType; - isAmino(o: any): o is _86.SignatureDescriptorAmino; - encode(message: _86.SignatureDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _86.SignatureDescriptor; - fromJSON(object: any): _86.SignatureDescriptor; - toJSON(message: _86.SignatureDescriptor): unknown; - fromPartial(object: { - publicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - data?: { - single?: { - mode?: _86.SignMode; - signature?: Uint8Array; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - signatures?: any[]; - }; - }; - sequence?: bigint; - }): _86.SignatureDescriptor; - fromSDK(object: _86.SignatureDescriptorSDKType): _86.SignatureDescriptor; - toSDK(message: _86.SignatureDescriptor): _86.SignatureDescriptorSDKType; - fromAmino(object: _86.SignatureDescriptorAmino): _86.SignatureDescriptor; - toAmino(message: _86.SignatureDescriptor): _86.SignatureDescriptorAmino; - fromAminoMsg(object: _86.SignatureDescriptorAminoMsg): _86.SignatureDescriptor; - toAminoMsg(message: _86.SignatureDescriptor): _86.SignatureDescriptorAminoMsg; - fromProtoMsg(message: _86.SignatureDescriptorProtoMsg): _86.SignatureDescriptor; - toProto(message: _86.SignatureDescriptor): Uint8Array; - toProtoMsg(message: _86.SignatureDescriptor): _86.SignatureDescriptorProtoMsg; - }; - SignatureDescriptor_Data: { - typeUrl: string; - aminoType: string; - is(o: any): o is _86.SignatureDescriptor_Data; - isSDK(o: any): o is _86.SignatureDescriptor_DataSDKType; - isAmino(o: any): o is _86.SignatureDescriptor_DataAmino; - encode(message: _86.SignatureDescriptor_Data, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _86.SignatureDescriptor_Data; - fromJSON(object: any): _86.SignatureDescriptor_Data; - toJSON(message: _86.SignatureDescriptor_Data): unknown; - fromPartial(object: { - single?: { - mode?: _86.SignMode; - signature?: Uint8Array; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - signatures?: any[]; - }; - }): _86.SignatureDescriptor_Data; - fromSDK(object: _86.SignatureDescriptor_DataSDKType): _86.SignatureDescriptor_Data; - toSDK(message: _86.SignatureDescriptor_Data): _86.SignatureDescriptor_DataSDKType; - fromAmino(object: _86.SignatureDescriptor_DataAmino): _86.SignatureDescriptor_Data; - toAmino(message: _86.SignatureDescriptor_Data): _86.SignatureDescriptor_DataAmino; - fromAminoMsg(object: _86.SignatureDescriptor_DataAminoMsg): _86.SignatureDescriptor_Data; - toAminoMsg(message: _86.SignatureDescriptor_Data): _86.SignatureDescriptor_DataAminoMsg; - fromProtoMsg(message: _86.SignatureDescriptor_DataProtoMsg): _86.SignatureDescriptor_Data; - toProto(message: _86.SignatureDescriptor_Data): Uint8Array; - toProtoMsg(message: _86.SignatureDescriptor_Data): _86.SignatureDescriptor_DataProtoMsg; - }; - SignatureDescriptor_Data_Single: { - typeUrl: string; - aminoType: string; - is(o: any): o is _86.SignatureDescriptor_Data_Single; - isSDK(o: any): o is _86.SignatureDescriptor_Data_SingleSDKType; - isAmino(o: any): o is _86.SignatureDescriptor_Data_SingleAmino; - encode(message: _86.SignatureDescriptor_Data_Single, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _86.SignatureDescriptor_Data_Single; - fromJSON(object: any): _86.SignatureDescriptor_Data_Single; - toJSON(message: _86.SignatureDescriptor_Data_Single): unknown; - fromPartial(object: { - mode?: _86.SignMode; - signature?: Uint8Array; - }): _86.SignatureDescriptor_Data_Single; - fromSDK(object: _86.SignatureDescriptor_Data_SingleSDKType): _86.SignatureDescriptor_Data_Single; - toSDK(message: _86.SignatureDescriptor_Data_Single): _86.SignatureDescriptor_Data_SingleSDKType; - fromAmino(object: _86.SignatureDescriptor_Data_SingleAmino): _86.SignatureDescriptor_Data_Single; - toAmino(message: _86.SignatureDescriptor_Data_Single): _86.SignatureDescriptor_Data_SingleAmino; - fromAminoMsg(object: _86.SignatureDescriptor_Data_SingleAminoMsg): _86.SignatureDescriptor_Data_Single; - toAminoMsg(message: _86.SignatureDescriptor_Data_Single): _86.SignatureDescriptor_Data_SingleAminoMsg; - fromProtoMsg(message: _86.SignatureDescriptor_Data_SingleProtoMsg): _86.SignatureDescriptor_Data_Single; - toProto(message: _86.SignatureDescriptor_Data_Single): Uint8Array; - toProtoMsg(message: _86.SignatureDescriptor_Data_Single): _86.SignatureDescriptor_Data_SingleProtoMsg; - }; - SignatureDescriptor_Data_Multi: { - typeUrl: string; - aminoType: string; - is(o: any): o is _86.SignatureDescriptor_Data_Multi; - isSDK(o: any): o is _86.SignatureDescriptor_Data_MultiSDKType; - isAmino(o: any): o is _86.SignatureDescriptor_Data_MultiAmino; - encode(message: _86.SignatureDescriptor_Data_Multi, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _86.SignatureDescriptor_Data_Multi; - fromJSON(object: any): _86.SignatureDescriptor_Data_Multi; - toJSON(message: _86.SignatureDescriptor_Data_Multi): unknown; - fromPartial(object: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - signatures?: { - single?: { - mode?: _86.SignMode; - signature?: Uint8Array; - }; - multi?: any; - }[]; - }): _86.SignatureDescriptor_Data_Multi; - fromSDK(object: _86.SignatureDescriptor_Data_MultiSDKType): _86.SignatureDescriptor_Data_Multi; - toSDK(message: _86.SignatureDescriptor_Data_Multi): _86.SignatureDescriptor_Data_MultiSDKType; - fromAmino(object: _86.SignatureDescriptor_Data_MultiAmino): _86.SignatureDescriptor_Data_Multi; - toAmino(message: _86.SignatureDescriptor_Data_Multi): _86.SignatureDescriptor_Data_MultiAmino; - fromAminoMsg(object: _86.SignatureDescriptor_Data_MultiAminoMsg): _86.SignatureDescriptor_Data_Multi; - toAminoMsg(message: _86.SignatureDescriptor_Data_Multi): _86.SignatureDescriptor_Data_MultiAminoMsg; - fromProtoMsg(message: _86.SignatureDescriptor_Data_MultiProtoMsg): _86.SignatureDescriptor_Data_Multi; - toProto(message: _86.SignatureDescriptor_Data_Multi): Uint8Array; - toProtoMsg(message: _86.SignatureDescriptor_Data_Multi): _86.SignatureDescriptor_Data_MultiProtoMsg; - }; - }; - } - const v1beta1: { - ServiceClientImpl: typeof _234.ServiceClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _234.ServiceClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useSimulate: ({ request, options }: _234.UseSimulateQuery) => import("@tanstack/react-query").UseQueryResult; - useGetTx: ({ request, options }: _234.UseGetTxQuery) => import("@tanstack/react-query").UseQueryResult; - useBroadcastTx: ({ request, options }: _234.UseBroadcastTxQuery) => import("@tanstack/react-query").UseQueryResult; - useGetTxsEvent: ({ request, options }: _234.UseGetTxsEventQuery) => import("@tanstack/react-query").UseQueryResult; - useGetBlockWithTxs: ({ request, options }: _234.UseGetBlockWithTxsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QuerySimulateStore: { - new (): { - store: import("..").QueryStore<_87.SimulateRequest, _87.SimulateResponse>; - simulate(request: _87.SimulateRequest): import("..").MobxResponse<_87.SimulateResponse>; - }; - }; - QueryGetTxStore: { - new (): { - store: import("..").QueryStore<_87.GetTxRequest, _87.GetTxResponse>; - getTx(request: _87.GetTxRequest): import("..").MobxResponse<_87.GetTxResponse>; - }; - }; - QueryBroadcastTxStore: { - new (): { - store: import("..").QueryStore<_87.BroadcastTxRequest, _87.BroadcastTxResponse>; - broadcastTx(request: _87.BroadcastTxRequest): import("..").MobxResponse<_87.BroadcastTxResponse>; - }; - }; - QueryGetTxsEventStore: { - new (): { - store: import("..").QueryStore<_87.GetTxsEventRequest, _87.GetTxsEventResponse>; - getTxsEvent(request: _87.GetTxsEventRequest): import("..").MobxResponse<_87.GetTxsEventResponse>; - }; - }; - QueryGetBlockWithTxsStore: { - new (): { - store: import("..").QueryStore<_87.GetBlockWithTxsRequest, _87.GetBlockWithTxsResponse>; - getBlockWithTxs(request: _87.GetBlockWithTxsRequest): import("..").MobxResponse<_87.GetBlockWithTxsResponse>; - }; - }; - }; - Tx: { - typeUrl: string; - aminoType: string; - is(o: any): o is _88.Tx; - isSDK(o: any): o is _88.TxSDKType; - isAmino(o: any): o is _88.TxAmino; - encode(message: _88.Tx, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _88.Tx; - fromJSON(object: any): _88.Tx; - toJSON(message: _88.Tx): unknown; - fromPartial(object: { - body?: { - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - memo?: string; - timeoutHeight?: bigint; - extensionOptions?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - nonCriticalExtensionOptions?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - authInfo?: { - signerInfos?: { - publicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - modeInfo?: { - single?: { - mode?: _86.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }; - sequence?: bigint; - }[]; - fee?: { - amount?: { - denom?: string; - amount?: string; - }[]; - gasLimit?: bigint; - payer?: string; - granter?: string; - }; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }; - signatures?: Uint8Array[]; - }): _88.Tx; - fromSDK(object: _88.TxSDKType): _88.Tx; - toSDK(message: _88.Tx): _88.TxSDKType; - fromAmino(object: _88.TxAmino): _88.Tx; - toAmino(message: _88.Tx): _88.TxAmino; - fromAminoMsg(object: _88.TxAminoMsg): _88.Tx; - toAminoMsg(message: _88.Tx): _88.TxAminoMsg; - fromProtoMsg(message: _88.TxProtoMsg): _88.Tx; - toProto(message: _88.Tx): Uint8Array; - toProtoMsg(message: _88.Tx): _88.TxProtoMsg; - }; - TxRaw: { - typeUrl: string; - aminoType: string; - is(o: any): o is _88.TxRaw; - isSDK(o: any): o is _88.TxRawSDKType; - isAmino(o: any): o is _88.TxRawAmino; - encode(message: _88.TxRaw, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _88.TxRaw; - fromJSON(object: any): _88.TxRaw; - toJSON(message: _88.TxRaw): unknown; - fromPartial(object: { - bodyBytes?: Uint8Array; - authInfoBytes?: Uint8Array; - signatures?: Uint8Array[]; - }): _88.TxRaw; - fromSDK(object: _88.TxRawSDKType): _88.TxRaw; - toSDK(message: _88.TxRaw): _88.TxRawSDKType; - fromAmino(object: _88.TxRawAmino): _88.TxRaw; - toAmino(message: _88.TxRaw): _88.TxRawAmino; - fromAminoMsg(object: _88.TxRawAminoMsg): _88.TxRaw; - toAminoMsg(message: _88.TxRaw): _88.TxRawAminoMsg; - fromProtoMsg(message: _88.TxRawProtoMsg): _88.TxRaw; - toProto(message: _88.TxRaw): Uint8Array; - toProtoMsg(message: _88.TxRaw): _88.TxRawProtoMsg; - }; - SignDoc: { - typeUrl: string; - aminoType: string; - is(o: any): o is _88.SignDoc; - isSDK(o: any): o is _88.SignDocSDKType; - isAmino(o: any): o is _88.SignDocAmino; - encode(message: _88.SignDoc, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _88.SignDoc; - fromJSON(object: any): _88.SignDoc; - toJSON(message: _88.SignDoc): unknown; - fromPartial(object: { - bodyBytes?: Uint8Array; - authInfoBytes?: Uint8Array; - chainId?: string; - accountNumber?: bigint; - }): _88.SignDoc; - fromSDK(object: _88.SignDocSDKType): _88.SignDoc; - toSDK(message: _88.SignDoc): _88.SignDocSDKType; - fromAmino(object: _88.SignDocAmino): _88.SignDoc; - toAmino(message: _88.SignDoc): _88.SignDocAmino; - fromAminoMsg(object: _88.SignDocAminoMsg): _88.SignDoc; - toAminoMsg(message: _88.SignDoc): _88.SignDocAminoMsg; - fromProtoMsg(message: _88.SignDocProtoMsg): _88.SignDoc; - toProto(message: _88.SignDoc): Uint8Array; - toProtoMsg(message: _88.SignDoc): _88.SignDocProtoMsg; - }; - SignDocDirectAux: { - typeUrl: string; - aminoType: string; - is(o: any): o is _88.SignDocDirectAux; - isSDK(o: any): o is _88.SignDocDirectAuxSDKType; - isAmino(o: any): o is _88.SignDocDirectAuxAmino; - encode(message: _88.SignDocDirectAux, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _88.SignDocDirectAux; - fromJSON(object: any): _88.SignDocDirectAux; - toJSON(message: _88.SignDocDirectAux): unknown; - fromPartial(object: { - bodyBytes?: Uint8Array; - publicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - chainId?: string; - accountNumber?: bigint; - sequence?: bigint; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }): _88.SignDocDirectAux; - fromSDK(object: _88.SignDocDirectAuxSDKType): _88.SignDocDirectAux; - toSDK(message: _88.SignDocDirectAux): _88.SignDocDirectAuxSDKType; - fromAmino(object: _88.SignDocDirectAuxAmino): _88.SignDocDirectAux; - toAmino(message: _88.SignDocDirectAux): _88.SignDocDirectAuxAmino; - fromAminoMsg(object: _88.SignDocDirectAuxAminoMsg): _88.SignDocDirectAux; - toAminoMsg(message: _88.SignDocDirectAux): _88.SignDocDirectAuxAminoMsg; - fromProtoMsg(message: _88.SignDocDirectAuxProtoMsg): _88.SignDocDirectAux; - toProto(message: _88.SignDocDirectAux): Uint8Array; - toProtoMsg(message: _88.SignDocDirectAux): _88.SignDocDirectAuxProtoMsg; - }; - TxBody: { - typeUrl: string; - aminoType: string; - is(o: any): o is _88.TxBody; - isSDK(o: any): o is _88.TxBodySDKType; - isAmino(o: any): o is _88.TxBodyAmino; - encode(message: _88.TxBody, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _88.TxBody; - fromJSON(object: any): _88.TxBody; - toJSON(message: _88.TxBody): unknown; - fromPartial(object: { - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - memo?: string; - timeoutHeight?: bigint; - extensionOptions?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - nonCriticalExtensionOptions?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _88.TxBody; - fromSDK(object: _88.TxBodySDKType): _88.TxBody; - toSDK(message: _88.TxBody): _88.TxBodySDKType; - fromAmino(object: _88.TxBodyAmino): _88.TxBody; - toAmino(message: _88.TxBody): _88.TxBodyAmino; - fromAminoMsg(object: _88.TxBodyAminoMsg): _88.TxBody; - toAminoMsg(message: _88.TxBody): _88.TxBodyAminoMsg; - fromProtoMsg(message: _88.TxBodyProtoMsg): _88.TxBody; - toProto(message: _88.TxBody): Uint8Array; - toProtoMsg(message: _88.TxBody): _88.TxBodyProtoMsg; - }; - AuthInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _88.AuthInfo; - isSDK(o: any): o is _88.AuthInfoSDKType; - isAmino(o: any): o is _88.AuthInfoAmino; - encode(message: _88.AuthInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _88.AuthInfo; - fromJSON(object: any): _88.AuthInfo; - toJSON(message: _88.AuthInfo): unknown; - fromPartial(object: { - signerInfos?: { - publicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - modeInfo?: { - single?: { - mode?: _86.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }; - sequence?: bigint; - }[]; - fee?: { - amount?: { - denom?: string; - amount?: string; - }[]; - gasLimit?: bigint; - payer?: string; - granter?: string; - }; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }): _88.AuthInfo; - fromSDK(object: _88.AuthInfoSDKType): _88.AuthInfo; - toSDK(message: _88.AuthInfo): _88.AuthInfoSDKType; - fromAmino(object: _88.AuthInfoAmino): _88.AuthInfo; - toAmino(message: _88.AuthInfo): _88.AuthInfoAmino; - fromAminoMsg(object: _88.AuthInfoAminoMsg): _88.AuthInfo; - toAminoMsg(message: _88.AuthInfo): _88.AuthInfoAminoMsg; - fromProtoMsg(message: _88.AuthInfoProtoMsg): _88.AuthInfo; - toProto(message: _88.AuthInfo): Uint8Array; - toProtoMsg(message: _88.AuthInfo): _88.AuthInfoProtoMsg; - }; - SignerInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _88.SignerInfo; - isSDK(o: any): o is _88.SignerInfoSDKType; - isAmino(o: any): o is _88.SignerInfoAmino; - encode(message: _88.SignerInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _88.SignerInfo; - fromJSON(object: any): _88.SignerInfo; - toJSON(message: _88.SignerInfo): unknown; - fromPartial(object: { - publicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - modeInfo?: { - single?: { - mode?: _86.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }; - sequence?: bigint; - }): _88.SignerInfo; - fromSDK(object: _88.SignerInfoSDKType): _88.SignerInfo; - toSDK(message: _88.SignerInfo): _88.SignerInfoSDKType; - fromAmino(object: _88.SignerInfoAmino): _88.SignerInfo; - toAmino(message: _88.SignerInfo): _88.SignerInfoAmino; - fromAminoMsg(object: _88.SignerInfoAminoMsg): _88.SignerInfo; - toAminoMsg(message: _88.SignerInfo): _88.SignerInfoAminoMsg; - fromProtoMsg(message: _88.SignerInfoProtoMsg): _88.SignerInfo; - toProto(message: _88.SignerInfo): Uint8Array; - toProtoMsg(message: _88.SignerInfo): _88.SignerInfoProtoMsg; - }; - ModeInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _88.ModeInfo; - isSDK(o: any): o is _88.ModeInfoSDKType; - isAmino(o: any): o is _88.ModeInfoAmino; - encode(message: _88.ModeInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _88.ModeInfo; - fromJSON(object: any): _88.ModeInfo; - toJSON(message: _88.ModeInfo): unknown; - fromPartial(object: { - single?: { - mode?: _86.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }): _88.ModeInfo; - fromSDK(object: _88.ModeInfoSDKType): _88.ModeInfo; - toSDK(message: _88.ModeInfo): _88.ModeInfoSDKType; - fromAmino(object: _88.ModeInfoAmino): _88.ModeInfo; - toAmino(message: _88.ModeInfo): _88.ModeInfoAmino; - fromAminoMsg(object: _88.ModeInfoAminoMsg): _88.ModeInfo; - toAminoMsg(message: _88.ModeInfo): _88.ModeInfoAminoMsg; - fromProtoMsg(message: _88.ModeInfoProtoMsg): _88.ModeInfo; - toProto(message: _88.ModeInfo): Uint8Array; - toProtoMsg(message: _88.ModeInfo): _88.ModeInfoProtoMsg; - }; - ModeInfo_Single: { - typeUrl: string; - aminoType: string; - is(o: any): o is _88.ModeInfo_Single; - isSDK(o: any): o is _88.ModeInfo_SingleSDKType; - isAmino(o: any): o is _88.ModeInfo_SingleAmino; - encode(message: _88.ModeInfo_Single, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _88.ModeInfo_Single; - fromJSON(object: any): _88.ModeInfo_Single; - toJSON(message: _88.ModeInfo_Single): unknown; - fromPartial(object: { - mode?: _86.SignMode; - }): _88.ModeInfo_Single; - fromSDK(object: _88.ModeInfo_SingleSDKType): _88.ModeInfo_Single; - toSDK(message: _88.ModeInfo_Single): _88.ModeInfo_SingleSDKType; - fromAmino(object: _88.ModeInfo_SingleAmino): _88.ModeInfo_Single; - toAmino(message: _88.ModeInfo_Single): _88.ModeInfo_SingleAmino; - fromAminoMsg(object: _88.ModeInfo_SingleAminoMsg): _88.ModeInfo_Single; - toAminoMsg(message: _88.ModeInfo_Single): _88.ModeInfo_SingleAminoMsg; - fromProtoMsg(message: _88.ModeInfo_SingleProtoMsg): _88.ModeInfo_Single; - toProto(message: _88.ModeInfo_Single): Uint8Array; - toProtoMsg(message: _88.ModeInfo_Single): _88.ModeInfo_SingleProtoMsg; - }; - ModeInfo_Multi: { - typeUrl: string; - aminoType: string; - is(o: any): o is _88.ModeInfo_Multi; - isSDK(o: any): o is _88.ModeInfo_MultiSDKType; - isAmino(o: any): o is _88.ModeInfo_MultiAmino; - encode(message: _88.ModeInfo_Multi, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _88.ModeInfo_Multi; - fromJSON(object: any): _88.ModeInfo_Multi; - toJSON(message: _88.ModeInfo_Multi): unknown; - fromPartial(object: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: { - single?: { - mode?: _86.SignMode; - }; - multi?: any; - }[]; - }): _88.ModeInfo_Multi; - fromSDK(object: _88.ModeInfo_MultiSDKType): _88.ModeInfo_Multi; - toSDK(message: _88.ModeInfo_Multi): _88.ModeInfo_MultiSDKType; - fromAmino(object: _88.ModeInfo_MultiAmino): _88.ModeInfo_Multi; - toAmino(message: _88.ModeInfo_Multi): _88.ModeInfo_MultiAmino; - fromAminoMsg(object: _88.ModeInfo_MultiAminoMsg): _88.ModeInfo_Multi; - toAminoMsg(message: _88.ModeInfo_Multi): _88.ModeInfo_MultiAminoMsg; - fromProtoMsg(message: _88.ModeInfo_MultiProtoMsg): _88.ModeInfo_Multi; - toProto(message: _88.ModeInfo_Multi): Uint8Array; - toProtoMsg(message: _88.ModeInfo_Multi): _88.ModeInfo_MultiProtoMsg; - }; - Fee: { - typeUrl: string; - aminoType: string; - is(o: any): o is _88.Fee; - isSDK(o: any): o is _88.FeeSDKType; - isAmino(o: any): o is _88.FeeAmino; - encode(message: _88.Fee, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _88.Fee; - fromJSON(object: any): _88.Fee; - toJSON(message: _88.Fee): unknown; - fromPartial(object: { - amount?: { - denom?: string; - amount?: string; - }[]; - gasLimit?: bigint; - payer?: string; - granter?: string; - }): _88.Fee; - fromSDK(object: _88.FeeSDKType): _88.Fee; - toSDK(message: _88.Fee): _88.FeeSDKType; - fromAmino(object: _88.FeeAmino): _88.Fee; - toAmino(message: _88.Fee): _88.FeeAmino; - fromAminoMsg(object: _88.FeeAminoMsg): _88.Fee; - toAminoMsg(message: _88.Fee): _88.FeeAminoMsg; - fromProtoMsg(message: _88.FeeProtoMsg): _88.Fee; - toProto(message: _88.Fee): Uint8Array; - toProtoMsg(message: _88.Fee): _88.FeeProtoMsg; - }; - Tip: { - typeUrl: string; - aminoType: string; - is(o: any): o is _88.Tip; - isSDK(o: any): o is _88.TipSDKType; - isAmino(o: any): o is _88.TipAmino; - encode(message: _88.Tip, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _88.Tip; - fromJSON(object: any): _88.Tip; - toJSON(message: _88.Tip): unknown; - fromPartial(object: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }): _88.Tip; - fromSDK(object: _88.TipSDKType): _88.Tip; - toSDK(message: _88.Tip): _88.TipSDKType; - fromAmino(object: _88.TipAmino): _88.Tip; - toAmino(message: _88.Tip): _88.TipAmino; - fromAminoMsg(object: _88.TipAminoMsg): _88.Tip; - toAminoMsg(message: _88.Tip): _88.TipAminoMsg; - fromProtoMsg(message: _88.TipProtoMsg): _88.Tip; - toProto(message: _88.Tip): Uint8Array; - toProtoMsg(message: _88.Tip): _88.TipProtoMsg; - }; - AuxSignerData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _88.AuxSignerData; - isSDK(o: any): o is _88.AuxSignerDataSDKType; - isAmino(o: any): o is _88.AuxSignerDataAmino; - encode(message: _88.AuxSignerData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _88.AuxSignerData; - fromJSON(object: any): _88.AuxSignerData; - toJSON(message: _88.AuxSignerData): unknown; - fromPartial(object: { - address?: string; - signDoc?: { - bodyBytes?: Uint8Array; - publicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - chainId?: string; - accountNumber?: bigint; - sequence?: bigint; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }; - mode?: _86.SignMode; - sig?: Uint8Array; - }): _88.AuxSignerData; - fromSDK(object: _88.AuxSignerDataSDKType): _88.AuxSignerData; - toSDK(message: _88.AuxSignerData): _88.AuxSignerDataSDKType; - fromAmino(object: _88.AuxSignerDataAmino): _88.AuxSignerData; - toAmino(message: _88.AuxSignerData): _88.AuxSignerDataAmino; - fromAminoMsg(object: _88.AuxSignerDataAminoMsg): _88.AuxSignerData; - toAminoMsg(message: _88.AuxSignerData): _88.AuxSignerDataAminoMsg; - fromProtoMsg(message: _88.AuxSignerDataProtoMsg): _88.AuxSignerData; - toProto(message: _88.AuxSignerData): Uint8Array; - toProtoMsg(message: _88.AuxSignerData): _88.AuxSignerDataProtoMsg; - }; - orderByFromJSON(object: any): _87.OrderBy; - orderByToJSON(object: _87.OrderBy): string; - broadcastModeFromJSON(object: any): _87.BroadcastMode; - broadcastModeToJSON(object: _87.BroadcastMode): string; - OrderBy: typeof _87.OrderBy; - OrderBySDKType: typeof _87.OrderBy; - OrderByAmino: typeof _87.OrderBy; - BroadcastMode: typeof _87.BroadcastMode; - BroadcastModeSDKType: typeof _87.BroadcastMode; - BroadcastModeAmino: typeof _87.BroadcastMode; - GetTxsEventRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _87.GetTxsEventRequest; - isSDK(o: any): o is _87.GetTxsEventRequestSDKType; - isAmino(o: any): o is _87.GetTxsEventRequestAmino; - encode(message: _87.GetTxsEventRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _87.GetTxsEventRequest; - fromJSON(object: any): _87.GetTxsEventRequest; - toJSON(message: _87.GetTxsEventRequest): unknown; - fromPartial(object: { - events?: string[]; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - orderBy?: _87.OrderBy; - }): _87.GetTxsEventRequest; - fromSDK(object: _87.GetTxsEventRequestSDKType): _87.GetTxsEventRequest; - toSDK(message: _87.GetTxsEventRequest): _87.GetTxsEventRequestSDKType; - fromAmino(object: _87.GetTxsEventRequestAmino): _87.GetTxsEventRequest; - toAmino(message: _87.GetTxsEventRequest): _87.GetTxsEventRequestAmino; - fromAminoMsg(object: _87.GetTxsEventRequestAminoMsg): _87.GetTxsEventRequest; - toAminoMsg(message: _87.GetTxsEventRequest): _87.GetTxsEventRequestAminoMsg; - fromProtoMsg(message: _87.GetTxsEventRequestProtoMsg): _87.GetTxsEventRequest; - toProto(message: _87.GetTxsEventRequest): Uint8Array; - toProtoMsg(message: _87.GetTxsEventRequest): _87.GetTxsEventRequestProtoMsg; - }; - GetTxsEventResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _87.GetTxsEventResponse; - isSDK(o: any): o is _87.GetTxsEventResponseSDKType; - isAmino(o: any): o is _87.GetTxsEventResponseAmino; - encode(message: _87.GetTxsEventResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _87.GetTxsEventResponse; - fromJSON(object: any): _87.GetTxsEventResponse; - toJSON(message: _87.GetTxsEventResponse): unknown; - fromPartial(object: { - txs?: { - body?: { - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - memo?: string; - timeoutHeight?: bigint; - extensionOptions?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - nonCriticalExtensionOptions?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - authInfo?: { - signerInfos?: { - publicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - modeInfo?: { - single?: { - mode?: _86.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }; - sequence?: bigint; - }[]; - fee?: { - amount?: { - denom?: string; - amount?: string; - }[]; - gasLimit?: bigint; - payer?: string; - granter?: string; - }; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }; - signatures?: Uint8Array[]; - }[]; - txResponses?: { - height?: bigint; - txhash?: string; - codespace?: string; - code?: number; - data?: string; - rawLog?: string; - logs?: { - msgIndex?: number; - log?: string; - events?: { - type?: string; - attributes?: { - key?: string; - value?: string; - }[]; - }[]; - }[]; - info?: string; - gasWanted?: bigint; - gasUsed?: bigint; - tx?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - timestamp?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _87.GetTxsEventResponse; - fromSDK(object: _87.GetTxsEventResponseSDKType): _87.GetTxsEventResponse; - toSDK(message: _87.GetTxsEventResponse): _87.GetTxsEventResponseSDKType; - fromAmino(object: _87.GetTxsEventResponseAmino): _87.GetTxsEventResponse; - toAmino(message: _87.GetTxsEventResponse): _87.GetTxsEventResponseAmino; - fromAminoMsg(object: _87.GetTxsEventResponseAminoMsg): _87.GetTxsEventResponse; - toAminoMsg(message: _87.GetTxsEventResponse): _87.GetTxsEventResponseAminoMsg; - fromProtoMsg(message: _87.GetTxsEventResponseProtoMsg): _87.GetTxsEventResponse; - toProto(message: _87.GetTxsEventResponse): Uint8Array; - toProtoMsg(message: _87.GetTxsEventResponse): _87.GetTxsEventResponseProtoMsg; - }; - BroadcastTxRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _87.BroadcastTxRequest; - isSDK(o: any): o is _87.BroadcastTxRequestSDKType; - isAmino(o: any): o is _87.BroadcastTxRequestAmino; - encode(message: _87.BroadcastTxRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _87.BroadcastTxRequest; - fromJSON(object: any): _87.BroadcastTxRequest; - toJSON(message: _87.BroadcastTxRequest): unknown; - fromPartial(object: { - txBytes?: Uint8Array; - mode?: _87.BroadcastMode; - }): _87.BroadcastTxRequest; - fromSDK(object: _87.BroadcastTxRequestSDKType): _87.BroadcastTxRequest; - toSDK(message: _87.BroadcastTxRequest): _87.BroadcastTxRequestSDKType; - fromAmino(object: _87.BroadcastTxRequestAmino): _87.BroadcastTxRequest; - toAmino(message: _87.BroadcastTxRequest): _87.BroadcastTxRequestAmino; - fromAminoMsg(object: _87.BroadcastTxRequestAminoMsg): _87.BroadcastTxRequest; - toAminoMsg(message: _87.BroadcastTxRequest): _87.BroadcastTxRequestAminoMsg; - fromProtoMsg(message: _87.BroadcastTxRequestProtoMsg): _87.BroadcastTxRequest; - toProto(message: _87.BroadcastTxRequest): Uint8Array; - toProtoMsg(message: _87.BroadcastTxRequest): _87.BroadcastTxRequestProtoMsg; - }; - BroadcastTxResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _87.BroadcastTxResponse; - isSDK(o: any): o is _87.BroadcastTxResponseSDKType; - isAmino(o: any): o is _87.BroadcastTxResponseAmino; - encode(message: _87.BroadcastTxResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _87.BroadcastTxResponse; - fromJSON(object: any): _87.BroadcastTxResponse; - toJSON(message: _87.BroadcastTxResponse): unknown; - fromPartial(object: { - txResponse?: { - height?: bigint; - txhash?: string; - codespace?: string; - code?: number; - data?: string; - rawLog?: string; - logs?: { - msgIndex?: number; - log?: string; - events?: { - type?: string; - attributes?: { - key?: string; - value?: string; - }[]; - }[]; - }[]; - info?: string; - gasWanted?: bigint; - gasUsed?: bigint; - tx?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - timestamp?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }; - }): _87.BroadcastTxResponse; - fromSDK(object: _87.BroadcastTxResponseSDKType): _87.BroadcastTxResponse; - toSDK(message: _87.BroadcastTxResponse): _87.BroadcastTxResponseSDKType; - fromAmino(object: _87.BroadcastTxResponseAmino): _87.BroadcastTxResponse; - toAmino(message: _87.BroadcastTxResponse): _87.BroadcastTxResponseAmino; - fromAminoMsg(object: _87.BroadcastTxResponseAminoMsg): _87.BroadcastTxResponse; - toAminoMsg(message: _87.BroadcastTxResponse): _87.BroadcastTxResponseAminoMsg; - fromProtoMsg(message: _87.BroadcastTxResponseProtoMsg): _87.BroadcastTxResponse; - toProto(message: _87.BroadcastTxResponse): Uint8Array; - toProtoMsg(message: _87.BroadcastTxResponse): _87.BroadcastTxResponseProtoMsg; - }; - SimulateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _87.SimulateRequest; - isSDK(o: any): o is _87.SimulateRequestSDKType; - isAmino(o: any): o is _87.SimulateRequestAmino; - encode(message: _87.SimulateRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _87.SimulateRequest; - fromJSON(object: any): _87.SimulateRequest; - toJSON(message: _87.SimulateRequest): unknown; - fromPartial(object: { - tx?: { - body?: { - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - memo?: string; - timeoutHeight?: bigint; - extensionOptions?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - nonCriticalExtensionOptions?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - authInfo?: { - signerInfos?: { - publicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - modeInfo?: { - single?: { - mode?: _86.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }; - sequence?: bigint; - }[]; - fee?: { - amount?: { - denom?: string; - amount?: string; - }[]; - gasLimit?: bigint; - payer?: string; - granter?: string; - }; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }; - signatures?: Uint8Array[]; - }; - txBytes?: Uint8Array; - }): _87.SimulateRequest; - fromSDK(object: _87.SimulateRequestSDKType): _87.SimulateRequest; - toSDK(message: _87.SimulateRequest): _87.SimulateRequestSDKType; - fromAmino(object: _87.SimulateRequestAmino): _87.SimulateRequest; - toAmino(message: _87.SimulateRequest): _87.SimulateRequestAmino; - fromAminoMsg(object: _87.SimulateRequestAminoMsg): _87.SimulateRequest; - toAminoMsg(message: _87.SimulateRequest): _87.SimulateRequestAminoMsg; - fromProtoMsg(message: _87.SimulateRequestProtoMsg): _87.SimulateRequest; - toProto(message: _87.SimulateRequest): Uint8Array; - toProtoMsg(message: _87.SimulateRequest): _87.SimulateRequestProtoMsg; - }; - SimulateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _87.SimulateResponse; - isSDK(o: any): o is _87.SimulateResponseSDKType; - isAmino(o: any): o is _87.SimulateResponseAmino; - encode(message: _87.SimulateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _87.SimulateResponse; - fromJSON(object: any): _87.SimulateResponse; - toJSON(message: _87.SimulateResponse): unknown; - fromPartial(object: { - gasInfo?: { - gasWanted?: bigint; - gasUsed?: bigint; - }; - result?: { - data?: Uint8Array; - log?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - msgResponses?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - }): _87.SimulateResponse; - fromSDK(object: _87.SimulateResponseSDKType): _87.SimulateResponse; - toSDK(message: _87.SimulateResponse): _87.SimulateResponseSDKType; - fromAmino(object: _87.SimulateResponseAmino): _87.SimulateResponse; - toAmino(message: _87.SimulateResponse): _87.SimulateResponseAmino; - fromAminoMsg(object: _87.SimulateResponseAminoMsg): _87.SimulateResponse; - toAminoMsg(message: _87.SimulateResponse): _87.SimulateResponseAminoMsg; - fromProtoMsg(message: _87.SimulateResponseProtoMsg): _87.SimulateResponse; - toProto(message: _87.SimulateResponse): Uint8Array; - toProtoMsg(message: _87.SimulateResponse): _87.SimulateResponseProtoMsg; - }; - GetTxRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _87.GetTxRequest; - isSDK(o: any): o is _87.GetTxRequestSDKType; - isAmino(o: any): o is _87.GetTxRequestAmino; - encode(message: _87.GetTxRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _87.GetTxRequest; - fromJSON(object: any): _87.GetTxRequest; - toJSON(message: _87.GetTxRequest): unknown; - fromPartial(object: { - hash?: string; - }): _87.GetTxRequest; - fromSDK(object: _87.GetTxRequestSDKType): _87.GetTxRequest; - toSDK(message: _87.GetTxRequest): _87.GetTxRequestSDKType; - fromAmino(object: _87.GetTxRequestAmino): _87.GetTxRequest; - toAmino(message: _87.GetTxRequest): _87.GetTxRequestAmino; - fromAminoMsg(object: _87.GetTxRequestAminoMsg): _87.GetTxRequest; - toAminoMsg(message: _87.GetTxRequest): _87.GetTxRequestAminoMsg; - fromProtoMsg(message: _87.GetTxRequestProtoMsg): _87.GetTxRequest; - toProto(message: _87.GetTxRequest): Uint8Array; - toProtoMsg(message: _87.GetTxRequest): _87.GetTxRequestProtoMsg; - }; - GetTxResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _87.GetTxResponse; - isSDK(o: any): o is _87.GetTxResponseSDKType; - isAmino(o: any): o is _87.GetTxResponseAmino; - encode(message: _87.GetTxResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _87.GetTxResponse; - fromJSON(object: any): _87.GetTxResponse; - toJSON(message: _87.GetTxResponse): unknown; - fromPartial(object: { - tx?: { - body?: { - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - memo?: string; - timeoutHeight?: bigint; - extensionOptions?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - nonCriticalExtensionOptions?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - authInfo?: { - signerInfos?: { - publicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - modeInfo?: { - single?: { - mode?: _86.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }; - sequence?: bigint; - }[]; - fee?: { - amount?: { - denom?: string; - amount?: string; - }[]; - gasLimit?: bigint; - payer?: string; - granter?: string; - }; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }; - signatures?: Uint8Array[]; - }; - txResponse?: { - height?: bigint; - txhash?: string; - codespace?: string; - code?: number; - data?: string; - rawLog?: string; - logs?: { - msgIndex?: number; - log?: string; - events?: { - type?: string; - attributes?: { - key?: string; - value?: string; - }[]; - }[]; - }[]; - info?: string; - gasWanted?: bigint; - gasUsed?: bigint; - tx?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - timestamp?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }; - }): _87.GetTxResponse; - fromSDK(object: _87.GetTxResponseSDKType): _87.GetTxResponse; - toSDK(message: _87.GetTxResponse): _87.GetTxResponseSDKType; - fromAmino(object: _87.GetTxResponseAmino): _87.GetTxResponse; - toAmino(message: _87.GetTxResponse): _87.GetTxResponseAmino; - fromAminoMsg(object: _87.GetTxResponseAminoMsg): _87.GetTxResponse; - toAminoMsg(message: _87.GetTxResponse): _87.GetTxResponseAminoMsg; - fromProtoMsg(message: _87.GetTxResponseProtoMsg): _87.GetTxResponse; - toProto(message: _87.GetTxResponse): Uint8Array; - toProtoMsg(message: _87.GetTxResponse): _87.GetTxResponseProtoMsg; - }; - GetBlockWithTxsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _87.GetBlockWithTxsRequest; - isSDK(o: any): o is _87.GetBlockWithTxsRequestSDKType; - isAmino(o: any): o is _87.GetBlockWithTxsRequestAmino; - encode(message: _87.GetBlockWithTxsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _87.GetBlockWithTxsRequest; - fromJSON(object: any): _87.GetBlockWithTxsRequest; - toJSON(message: _87.GetBlockWithTxsRequest): unknown; - fromPartial(object: { - height?: bigint; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _87.GetBlockWithTxsRequest; - fromSDK(object: _87.GetBlockWithTxsRequestSDKType): _87.GetBlockWithTxsRequest; - toSDK(message: _87.GetBlockWithTxsRequest): _87.GetBlockWithTxsRequestSDKType; - fromAmino(object: _87.GetBlockWithTxsRequestAmino): _87.GetBlockWithTxsRequest; - toAmino(message: _87.GetBlockWithTxsRequest): _87.GetBlockWithTxsRequestAmino; - fromAminoMsg(object: _87.GetBlockWithTxsRequestAminoMsg): _87.GetBlockWithTxsRequest; - toAminoMsg(message: _87.GetBlockWithTxsRequest): _87.GetBlockWithTxsRequestAminoMsg; - fromProtoMsg(message: _87.GetBlockWithTxsRequestProtoMsg): _87.GetBlockWithTxsRequest; - toProto(message: _87.GetBlockWithTxsRequest): Uint8Array; - toProtoMsg(message: _87.GetBlockWithTxsRequest): _87.GetBlockWithTxsRequestProtoMsg; - }; - GetBlockWithTxsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _87.GetBlockWithTxsResponse; - isSDK(o: any): o is _87.GetBlockWithTxsResponseSDKType; - isAmino(o: any): o is _87.GetBlockWithTxsResponseAmino; - encode(message: _87.GetBlockWithTxsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _87.GetBlockWithTxsResponse; - fromJSON(object: any): _87.GetBlockWithTxsResponse; - toJSON(message: _87.GetBlockWithTxsResponse): unknown; - fromPartial(object: { - txs?: { - body?: { - messages?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - memo?: string; - timeoutHeight?: bigint; - extensionOptions?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - nonCriticalExtensionOptions?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - authInfo?: { - signerInfos?: { - publicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - modeInfo?: { - single?: { - mode?: _86.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }; - sequence?: bigint; - }[]; - fee?: { - amount?: { - denom?: string; - amount?: string; - }[]; - gasLimit?: bigint; - payer?: string; - granter?: string; - }; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }; - signatures?: Uint8Array[]; - }[]; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - block?: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - data?: { - txs?: Uint8Array[]; - }; - evidence?: { - evidence?: { - duplicateVoteEvidence?: { - voteA?: { - type?: import("../tendermint/types/types").SignedMsgType; - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - voteB?: { - type?: import("../tendermint/types/types").SignedMsgType; - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - totalVotingPower?: bigint; - validatorPower?: bigint; - timestamp?: Date; - }; - lightClientAttackEvidence?: { - conflictingBlock?: { - signedHeader?: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }; - totalVotingPower?: bigint; - }; - }; - commonHeight?: bigint; - byzantineValidators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - totalVotingPower?: bigint; - timestamp?: Date; - }; - }[]; - }; - lastCommit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _87.GetBlockWithTxsResponse; - fromSDK(object: _87.GetBlockWithTxsResponseSDKType): _87.GetBlockWithTxsResponse; - toSDK(message: _87.GetBlockWithTxsResponse): _87.GetBlockWithTxsResponseSDKType; - fromAmino(object: _87.GetBlockWithTxsResponseAmino): _87.GetBlockWithTxsResponse; - toAmino(message: _87.GetBlockWithTxsResponse): _87.GetBlockWithTxsResponseAmino; - fromAminoMsg(object: _87.GetBlockWithTxsResponseAminoMsg): _87.GetBlockWithTxsResponse; - toAminoMsg(message: _87.GetBlockWithTxsResponse): _87.GetBlockWithTxsResponseAminoMsg; - fromProtoMsg(message: _87.GetBlockWithTxsResponseProtoMsg): _87.GetBlockWithTxsResponse; - toProto(message: _87.GetBlockWithTxsResponse): Uint8Array; - toProtoMsg(message: _87.GetBlockWithTxsResponse): _87.GetBlockWithTxsResponseProtoMsg; - }; - }; - } - namespace upgrade { - const v1beta1: { - MsgClientImpl: typeof _248.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _248.MsgClientImpl; - QueryClientImpl: typeof _235.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useCurrentPlan: ({ request, options }: _235.UseCurrentPlanQuery) => import("@tanstack/react-query").UseQueryResult; - useAppliedPlan: ({ request, options }: _235.UseAppliedPlanQuery) => import("@tanstack/react-query").UseQueryResult; - useUpgradedConsensusState: ({ request, options }: _235.UseUpgradedConsensusStateQuery) => import("@tanstack/react-query").UseQueryResult; - useModuleVersions: ({ request, options }: _235.UseModuleVersionsQuery) => import("@tanstack/react-query").UseQueryResult; - useAuthority: ({ request, options }: _235.UseAuthorityQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryCurrentPlanStore: { - new (): { - store: import("..").QueryStore<_89.QueryCurrentPlanRequest, _89.QueryCurrentPlanResponse>; - currentPlan(request: _89.QueryCurrentPlanRequest): import("..").MobxResponse<_89.QueryCurrentPlanResponse>; - }; - }; - QueryAppliedPlanStore: { - new (): { - store: import("..").QueryStore<_89.QueryAppliedPlanRequest, _89.QueryAppliedPlanResponse>; - appliedPlan(request: _89.QueryAppliedPlanRequest): import("..").MobxResponse<_89.QueryAppliedPlanResponse>; - }; - }; - QueryUpgradedConsensusStateStore: { - new (): { - store: import("..").QueryStore<_89.QueryUpgradedConsensusStateRequest, _89.QueryUpgradedConsensusStateResponse>; - upgradedConsensusState(request: _89.QueryUpgradedConsensusStateRequest): import("..").MobxResponse<_89.QueryUpgradedConsensusStateResponse>; - }; - }; - QueryModuleVersionsStore: { - new (): { - store: import("..").QueryStore<_89.QueryModuleVersionsRequest, _89.QueryModuleVersionsResponse>; - moduleVersions(request: _89.QueryModuleVersionsRequest): import("..").MobxResponse<_89.QueryModuleVersionsResponse>; - }; - }; - QueryAuthorityStore: { - new (): { - store: import("..").QueryStore<_89.QueryAuthorityRequest, _89.QueryAuthorityResponse>; - authority(request: _89.QueryAuthorityRequest): import("..").MobxResponse<_89.QueryAuthorityResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - softwareUpgrade(value: _90.MsgSoftwareUpgrade): { - typeUrl: string; - value: Uint8Array; - }; - cancelUpgrade(value: _90.MsgCancelUpgrade): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - softwareUpgrade(value: _90.MsgSoftwareUpgrade): { - typeUrl: string; - value: _90.MsgSoftwareUpgrade; - }; - cancelUpgrade(value: _90.MsgCancelUpgrade): { - typeUrl: string; - value: _90.MsgCancelUpgrade; - }; - }; - toJSON: { - softwareUpgrade(value: _90.MsgSoftwareUpgrade): { - typeUrl: string; - value: unknown; - }; - cancelUpgrade(value: _90.MsgCancelUpgrade): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - softwareUpgrade(value: any): { - typeUrl: string; - value: _90.MsgSoftwareUpgrade; - }; - cancelUpgrade(value: any): { - typeUrl: string; - value: _90.MsgCancelUpgrade; - }; - }; - fromPartial: { - softwareUpgrade(value: _90.MsgSoftwareUpgrade): { - typeUrl: string; - value: _90.MsgSoftwareUpgrade; - }; - cancelUpgrade(value: _90.MsgCancelUpgrade): { - typeUrl: string; - value: _90.MsgCancelUpgrade; - }; - }; - }; - AminoConverter: { - "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": { - aminoType: string; - toAmino: (message: _90.MsgSoftwareUpgrade) => _90.MsgSoftwareUpgradeAmino; - fromAmino: (object: _90.MsgSoftwareUpgradeAmino) => _90.MsgSoftwareUpgrade; - }; - "/cosmos.upgrade.v1beta1.MsgCancelUpgrade": { - aminoType: string; - toAmino: (message: _90.MsgCancelUpgrade) => _90.MsgCancelUpgradeAmino; - fromAmino: (object: _90.MsgCancelUpgradeAmino) => _90.MsgCancelUpgrade; - }; - }; - Plan: { - typeUrl: string; - aminoType: string; - is(o: any): o is _91.Plan; - isSDK(o: any): o is _91.PlanSDKType; - isAmino(o: any): o is _91.PlanAmino; - encode(message: _91.Plan, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _91.Plan; - fromJSON(object: any): _91.Plan; - toJSON(message: _91.Plan): unknown; - fromPartial(object: { - name?: string; - time?: Date; - height?: bigint; - info?: string; - upgradedClientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _91.Plan; - fromSDK(object: _91.PlanSDKType): _91.Plan; - toSDK(message: _91.Plan): _91.PlanSDKType; - fromAmino(object: _91.PlanAmino): _91.Plan; - toAmino(message: _91.Plan): _91.PlanAmino; - fromAminoMsg(object: _91.PlanAminoMsg): _91.Plan; - toAminoMsg(message: _91.Plan): _91.PlanAminoMsg; - fromProtoMsg(message: _91.PlanProtoMsg): _91.Plan; - toProto(message: _91.Plan): Uint8Array; - toProtoMsg(message: _91.Plan): _91.PlanProtoMsg; - }; - SoftwareUpgradeProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _91.SoftwareUpgradeProposal; - isSDK(o: any): o is _91.SoftwareUpgradeProposalSDKType; - isAmino(o: any): o is _91.SoftwareUpgradeProposalAmino; - encode(message: _91.SoftwareUpgradeProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _91.SoftwareUpgradeProposal; - fromJSON(object: any): _91.SoftwareUpgradeProposal; - toJSON(message: _91.SoftwareUpgradeProposal): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal"; - title?: string; - description?: string; - plan?: { - name?: string; - time?: Date; - height?: bigint; - info?: string; - upgradedClientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }; - }): _91.SoftwareUpgradeProposal; - fromSDK(object: _91.SoftwareUpgradeProposalSDKType): _91.SoftwareUpgradeProposal; - toSDK(message: _91.SoftwareUpgradeProposal): _91.SoftwareUpgradeProposalSDKType; - fromAmino(object: _91.SoftwareUpgradeProposalAmino): _91.SoftwareUpgradeProposal; - toAmino(message: _91.SoftwareUpgradeProposal): _91.SoftwareUpgradeProposalAmino; - fromAminoMsg(object: _91.SoftwareUpgradeProposalAminoMsg): _91.SoftwareUpgradeProposal; - toAminoMsg(message: _91.SoftwareUpgradeProposal): _91.SoftwareUpgradeProposalAminoMsg; - fromProtoMsg(message: _91.SoftwareUpgradeProposalProtoMsg): _91.SoftwareUpgradeProposal; - toProto(message: _91.SoftwareUpgradeProposal): Uint8Array; - toProtoMsg(message: _91.SoftwareUpgradeProposal): _91.SoftwareUpgradeProposalProtoMsg; - }; - CancelSoftwareUpgradeProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _91.CancelSoftwareUpgradeProposal; - isSDK(o: any): o is _91.CancelSoftwareUpgradeProposalSDKType; - isAmino(o: any): o is _91.CancelSoftwareUpgradeProposalAmino; - encode(message: _91.CancelSoftwareUpgradeProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _91.CancelSoftwareUpgradeProposal; - fromJSON(object: any): _91.CancelSoftwareUpgradeProposal; - toJSON(message: _91.CancelSoftwareUpgradeProposal): unknown; - fromPartial(object: { - $typeUrl?: "/cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal"; - title?: string; - description?: string; - }): _91.CancelSoftwareUpgradeProposal; - fromSDK(object: _91.CancelSoftwareUpgradeProposalSDKType): _91.CancelSoftwareUpgradeProposal; - toSDK(message: _91.CancelSoftwareUpgradeProposal): _91.CancelSoftwareUpgradeProposalSDKType; - fromAmino(object: _91.CancelSoftwareUpgradeProposalAmino): _91.CancelSoftwareUpgradeProposal; - toAmino(message: _91.CancelSoftwareUpgradeProposal): _91.CancelSoftwareUpgradeProposalAmino; - fromAminoMsg(object: _91.CancelSoftwareUpgradeProposalAminoMsg): _91.CancelSoftwareUpgradeProposal; - toAminoMsg(message: _91.CancelSoftwareUpgradeProposal): _91.CancelSoftwareUpgradeProposalAminoMsg; - fromProtoMsg(message: _91.CancelSoftwareUpgradeProposalProtoMsg): _91.CancelSoftwareUpgradeProposal; - toProto(message: _91.CancelSoftwareUpgradeProposal): Uint8Array; - toProtoMsg(message: _91.CancelSoftwareUpgradeProposal): _91.CancelSoftwareUpgradeProposalProtoMsg; - }; - ModuleVersion: { - typeUrl: string; - aminoType: string; - is(o: any): o is _91.ModuleVersion; - isSDK(o: any): o is _91.ModuleVersionSDKType; - isAmino(o: any): o is _91.ModuleVersionAmino; - encode(message: _91.ModuleVersion, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _91.ModuleVersion; - fromJSON(object: any): _91.ModuleVersion; - toJSON(message: _91.ModuleVersion): unknown; - fromPartial(object: { - name?: string; - version?: bigint; - }): _91.ModuleVersion; - fromSDK(object: _91.ModuleVersionSDKType): _91.ModuleVersion; - toSDK(message: _91.ModuleVersion): _91.ModuleVersionSDKType; - fromAmino(object: _91.ModuleVersionAmino): _91.ModuleVersion; - toAmino(message: _91.ModuleVersion): _91.ModuleVersionAmino; - fromAminoMsg(object: _91.ModuleVersionAminoMsg): _91.ModuleVersion; - toAminoMsg(message: _91.ModuleVersion): _91.ModuleVersionAminoMsg; - fromProtoMsg(message: _91.ModuleVersionProtoMsg): _91.ModuleVersion; - toProto(message: _91.ModuleVersion): Uint8Array; - toProtoMsg(message: _91.ModuleVersion): _91.ModuleVersionProtoMsg; - }; - MsgSoftwareUpgrade: { - typeUrl: string; - aminoType: string; - is(o: any): o is _90.MsgSoftwareUpgrade; - isSDK(o: any): o is _90.MsgSoftwareUpgradeSDKType; - isAmino(o: any): o is _90.MsgSoftwareUpgradeAmino; - encode(message: _90.MsgSoftwareUpgrade, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _90.MsgSoftwareUpgrade; - fromJSON(object: any): _90.MsgSoftwareUpgrade; - toJSON(message: _90.MsgSoftwareUpgrade): unknown; - fromPartial(object: { - authority?: string; - plan?: { - name?: string; - time?: Date; - height?: bigint; - info?: string; - upgradedClientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }; - }): _90.MsgSoftwareUpgrade; - fromSDK(object: _90.MsgSoftwareUpgradeSDKType): _90.MsgSoftwareUpgrade; - toSDK(message: _90.MsgSoftwareUpgrade): _90.MsgSoftwareUpgradeSDKType; - fromAmino(object: _90.MsgSoftwareUpgradeAmino): _90.MsgSoftwareUpgrade; - toAmino(message: _90.MsgSoftwareUpgrade): _90.MsgSoftwareUpgradeAmino; - fromAminoMsg(object: _90.MsgSoftwareUpgradeAminoMsg): _90.MsgSoftwareUpgrade; - toAminoMsg(message: _90.MsgSoftwareUpgrade): _90.MsgSoftwareUpgradeAminoMsg; - fromProtoMsg(message: _90.MsgSoftwareUpgradeProtoMsg): _90.MsgSoftwareUpgrade; - toProto(message: _90.MsgSoftwareUpgrade): Uint8Array; - toProtoMsg(message: _90.MsgSoftwareUpgrade): _90.MsgSoftwareUpgradeProtoMsg; - }; - MsgSoftwareUpgradeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _90.MsgSoftwareUpgradeResponse; - isSDK(o: any): o is _90.MsgSoftwareUpgradeResponseSDKType; - isAmino(o: any): o is _90.MsgSoftwareUpgradeResponseAmino; - encode(_: _90.MsgSoftwareUpgradeResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _90.MsgSoftwareUpgradeResponse; - fromJSON(_: any): _90.MsgSoftwareUpgradeResponse; - toJSON(_: _90.MsgSoftwareUpgradeResponse): unknown; - fromPartial(_: {}): _90.MsgSoftwareUpgradeResponse; - fromSDK(_: _90.MsgSoftwareUpgradeResponseSDKType): _90.MsgSoftwareUpgradeResponse; - toSDK(_: _90.MsgSoftwareUpgradeResponse): _90.MsgSoftwareUpgradeResponseSDKType; - fromAmino(_: _90.MsgSoftwareUpgradeResponseAmino): _90.MsgSoftwareUpgradeResponse; - toAmino(_: _90.MsgSoftwareUpgradeResponse): _90.MsgSoftwareUpgradeResponseAmino; - fromAminoMsg(object: _90.MsgSoftwareUpgradeResponseAminoMsg): _90.MsgSoftwareUpgradeResponse; - toAminoMsg(message: _90.MsgSoftwareUpgradeResponse): _90.MsgSoftwareUpgradeResponseAminoMsg; - fromProtoMsg(message: _90.MsgSoftwareUpgradeResponseProtoMsg): _90.MsgSoftwareUpgradeResponse; - toProto(message: _90.MsgSoftwareUpgradeResponse): Uint8Array; - toProtoMsg(message: _90.MsgSoftwareUpgradeResponse): _90.MsgSoftwareUpgradeResponseProtoMsg; - }; - MsgCancelUpgrade: { - typeUrl: string; - aminoType: string; - is(o: any): o is _90.MsgCancelUpgrade; - isSDK(o: any): o is _90.MsgCancelUpgradeSDKType; - isAmino(o: any): o is _90.MsgCancelUpgradeAmino; - encode(message: _90.MsgCancelUpgrade, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _90.MsgCancelUpgrade; - fromJSON(object: any): _90.MsgCancelUpgrade; - toJSON(message: _90.MsgCancelUpgrade): unknown; - fromPartial(object: { - authority?: string; - }): _90.MsgCancelUpgrade; - fromSDK(object: _90.MsgCancelUpgradeSDKType): _90.MsgCancelUpgrade; - toSDK(message: _90.MsgCancelUpgrade): _90.MsgCancelUpgradeSDKType; - fromAmino(object: _90.MsgCancelUpgradeAmino): _90.MsgCancelUpgrade; - toAmino(message: _90.MsgCancelUpgrade): _90.MsgCancelUpgradeAmino; - fromAminoMsg(object: _90.MsgCancelUpgradeAminoMsg): _90.MsgCancelUpgrade; - toAminoMsg(message: _90.MsgCancelUpgrade): _90.MsgCancelUpgradeAminoMsg; - fromProtoMsg(message: _90.MsgCancelUpgradeProtoMsg): _90.MsgCancelUpgrade; - toProto(message: _90.MsgCancelUpgrade): Uint8Array; - toProtoMsg(message: _90.MsgCancelUpgrade): _90.MsgCancelUpgradeProtoMsg; - }; - MsgCancelUpgradeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _90.MsgCancelUpgradeResponse; - isSDK(o: any): o is _90.MsgCancelUpgradeResponseSDKType; - isAmino(o: any): o is _90.MsgCancelUpgradeResponseAmino; - encode(_: _90.MsgCancelUpgradeResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _90.MsgCancelUpgradeResponse; - fromJSON(_: any): _90.MsgCancelUpgradeResponse; - toJSON(_: _90.MsgCancelUpgradeResponse): unknown; - fromPartial(_: {}): _90.MsgCancelUpgradeResponse; - fromSDK(_: _90.MsgCancelUpgradeResponseSDKType): _90.MsgCancelUpgradeResponse; - toSDK(_: _90.MsgCancelUpgradeResponse): _90.MsgCancelUpgradeResponseSDKType; - fromAmino(_: _90.MsgCancelUpgradeResponseAmino): _90.MsgCancelUpgradeResponse; - toAmino(_: _90.MsgCancelUpgradeResponse): _90.MsgCancelUpgradeResponseAmino; - fromAminoMsg(object: _90.MsgCancelUpgradeResponseAminoMsg): _90.MsgCancelUpgradeResponse; - toAminoMsg(message: _90.MsgCancelUpgradeResponse): _90.MsgCancelUpgradeResponseAminoMsg; - fromProtoMsg(message: _90.MsgCancelUpgradeResponseProtoMsg): _90.MsgCancelUpgradeResponse; - toProto(message: _90.MsgCancelUpgradeResponse): Uint8Array; - toProtoMsg(message: _90.MsgCancelUpgradeResponse): _90.MsgCancelUpgradeResponseProtoMsg; - }; - QueryCurrentPlanRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _89.QueryCurrentPlanRequest; - isSDK(o: any): o is _89.QueryCurrentPlanRequestSDKType; - isAmino(o: any): o is _89.QueryCurrentPlanRequestAmino; - encode(_: _89.QueryCurrentPlanRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _89.QueryCurrentPlanRequest; - fromJSON(_: any): _89.QueryCurrentPlanRequest; - toJSON(_: _89.QueryCurrentPlanRequest): unknown; - fromPartial(_: {}): _89.QueryCurrentPlanRequest; - fromSDK(_: _89.QueryCurrentPlanRequestSDKType): _89.QueryCurrentPlanRequest; - toSDK(_: _89.QueryCurrentPlanRequest): _89.QueryCurrentPlanRequestSDKType; - fromAmino(_: _89.QueryCurrentPlanRequestAmino): _89.QueryCurrentPlanRequest; - toAmino(_: _89.QueryCurrentPlanRequest): _89.QueryCurrentPlanRequestAmino; - fromAminoMsg(object: _89.QueryCurrentPlanRequestAminoMsg): _89.QueryCurrentPlanRequest; - toAminoMsg(message: _89.QueryCurrentPlanRequest): _89.QueryCurrentPlanRequestAminoMsg; - fromProtoMsg(message: _89.QueryCurrentPlanRequestProtoMsg): _89.QueryCurrentPlanRequest; - toProto(message: _89.QueryCurrentPlanRequest): Uint8Array; - toProtoMsg(message: _89.QueryCurrentPlanRequest): _89.QueryCurrentPlanRequestProtoMsg; - }; - QueryCurrentPlanResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _89.QueryCurrentPlanResponse; - isSDK(o: any): o is _89.QueryCurrentPlanResponseSDKType; - isAmino(o: any): o is _89.QueryCurrentPlanResponseAmino; - encode(message: _89.QueryCurrentPlanResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _89.QueryCurrentPlanResponse; - fromJSON(object: any): _89.QueryCurrentPlanResponse; - toJSON(message: _89.QueryCurrentPlanResponse): unknown; - fromPartial(object: { - plan?: { - name?: string; - time?: Date; - height?: bigint; - info?: string; - upgradedClientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }; - }): _89.QueryCurrentPlanResponse; - fromSDK(object: _89.QueryCurrentPlanResponseSDKType): _89.QueryCurrentPlanResponse; - toSDK(message: _89.QueryCurrentPlanResponse): _89.QueryCurrentPlanResponseSDKType; - fromAmino(object: _89.QueryCurrentPlanResponseAmino): _89.QueryCurrentPlanResponse; - toAmino(message: _89.QueryCurrentPlanResponse): _89.QueryCurrentPlanResponseAmino; - fromAminoMsg(object: _89.QueryCurrentPlanResponseAminoMsg): _89.QueryCurrentPlanResponse; - toAminoMsg(message: _89.QueryCurrentPlanResponse): _89.QueryCurrentPlanResponseAminoMsg; - fromProtoMsg(message: _89.QueryCurrentPlanResponseProtoMsg): _89.QueryCurrentPlanResponse; - toProto(message: _89.QueryCurrentPlanResponse): Uint8Array; - toProtoMsg(message: _89.QueryCurrentPlanResponse): _89.QueryCurrentPlanResponseProtoMsg; - }; - QueryAppliedPlanRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _89.QueryAppliedPlanRequest; - isSDK(o: any): o is _89.QueryAppliedPlanRequestSDKType; - isAmino(o: any): o is _89.QueryAppliedPlanRequestAmino; - encode(message: _89.QueryAppliedPlanRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _89.QueryAppliedPlanRequest; - fromJSON(object: any): _89.QueryAppliedPlanRequest; - toJSON(message: _89.QueryAppliedPlanRequest): unknown; - fromPartial(object: { - name?: string; - }): _89.QueryAppliedPlanRequest; - fromSDK(object: _89.QueryAppliedPlanRequestSDKType): _89.QueryAppliedPlanRequest; - toSDK(message: _89.QueryAppliedPlanRequest): _89.QueryAppliedPlanRequestSDKType; - fromAmino(object: _89.QueryAppliedPlanRequestAmino): _89.QueryAppliedPlanRequest; - toAmino(message: _89.QueryAppliedPlanRequest): _89.QueryAppliedPlanRequestAmino; - fromAminoMsg(object: _89.QueryAppliedPlanRequestAminoMsg): _89.QueryAppliedPlanRequest; - toAminoMsg(message: _89.QueryAppliedPlanRequest): _89.QueryAppliedPlanRequestAminoMsg; - fromProtoMsg(message: _89.QueryAppliedPlanRequestProtoMsg): _89.QueryAppliedPlanRequest; - toProto(message: _89.QueryAppliedPlanRequest): Uint8Array; - toProtoMsg(message: _89.QueryAppliedPlanRequest): _89.QueryAppliedPlanRequestProtoMsg; - }; - QueryAppliedPlanResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _89.QueryAppliedPlanResponse; - isSDK(o: any): o is _89.QueryAppliedPlanResponseSDKType; - isAmino(o: any): o is _89.QueryAppliedPlanResponseAmino; - encode(message: _89.QueryAppliedPlanResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _89.QueryAppliedPlanResponse; - fromJSON(object: any): _89.QueryAppliedPlanResponse; - toJSON(message: _89.QueryAppliedPlanResponse): unknown; - fromPartial(object: { - height?: bigint; - }): _89.QueryAppliedPlanResponse; - fromSDK(object: _89.QueryAppliedPlanResponseSDKType): _89.QueryAppliedPlanResponse; - toSDK(message: _89.QueryAppliedPlanResponse): _89.QueryAppliedPlanResponseSDKType; - fromAmino(object: _89.QueryAppliedPlanResponseAmino): _89.QueryAppliedPlanResponse; - toAmino(message: _89.QueryAppliedPlanResponse): _89.QueryAppliedPlanResponseAmino; - fromAminoMsg(object: _89.QueryAppliedPlanResponseAminoMsg): _89.QueryAppliedPlanResponse; - toAminoMsg(message: _89.QueryAppliedPlanResponse): _89.QueryAppliedPlanResponseAminoMsg; - fromProtoMsg(message: _89.QueryAppliedPlanResponseProtoMsg): _89.QueryAppliedPlanResponse; - toProto(message: _89.QueryAppliedPlanResponse): Uint8Array; - toProtoMsg(message: _89.QueryAppliedPlanResponse): _89.QueryAppliedPlanResponseProtoMsg; - }; - QueryUpgradedConsensusStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _89.QueryUpgradedConsensusStateRequest; - isSDK(o: any): o is _89.QueryUpgradedConsensusStateRequestSDKType; - isAmino(o: any): o is _89.QueryUpgradedConsensusStateRequestAmino; - encode(message: _89.QueryUpgradedConsensusStateRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _89.QueryUpgradedConsensusStateRequest; - fromJSON(object: any): _89.QueryUpgradedConsensusStateRequest; - toJSON(message: _89.QueryUpgradedConsensusStateRequest): unknown; - fromPartial(object: { - lastHeight?: bigint; - }): _89.QueryUpgradedConsensusStateRequest; - fromSDK(object: _89.QueryUpgradedConsensusStateRequestSDKType): _89.QueryUpgradedConsensusStateRequest; - toSDK(message: _89.QueryUpgradedConsensusStateRequest): _89.QueryUpgradedConsensusStateRequestSDKType; - fromAmino(object: _89.QueryUpgradedConsensusStateRequestAmino): _89.QueryUpgradedConsensusStateRequest; - toAmino(message: _89.QueryUpgradedConsensusStateRequest): _89.QueryUpgradedConsensusStateRequestAmino; - fromAminoMsg(object: _89.QueryUpgradedConsensusStateRequestAminoMsg): _89.QueryUpgradedConsensusStateRequest; - toAminoMsg(message: _89.QueryUpgradedConsensusStateRequest): _89.QueryUpgradedConsensusStateRequestAminoMsg; - fromProtoMsg(message: _89.QueryUpgradedConsensusStateRequestProtoMsg): _89.QueryUpgradedConsensusStateRequest; - toProto(message: _89.QueryUpgradedConsensusStateRequest): Uint8Array; - toProtoMsg(message: _89.QueryUpgradedConsensusStateRequest): _89.QueryUpgradedConsensusStateRequestProtoMsg; - }; - QueryUpgradedConsensusStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _89.QueryUpgradedConsensusStateResponse; - isSDK(o: any): o is _89.QueryUpgradedConsensusStateResponseSDKType; - isAmino(o: any): o is _89.QueryUpgradedConsensusStateResponseAmino; - encode(message: _89.QueryUpgradedConsensusStateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _89.QueryUpgradedConsensusStateResponse; - fromJSON(object: any): _89.QueryUpgradedConsensusStateResponse; - toJSON(message: _89.QueryUpgradedConsensusStateResponse): unknown; - fromPartial(object: { - upgradedConsensusState?: Uint8Array; - }): _89.QueryUpgradedConsensusStateResponse; - fromSDK(object: _89.QueryUpgradedConsensusStateResponseSDKType): _89.QueryUpgradedConsensusStateResponse; - toSDK(message: _89.QueryUpgradedConsensusStateResponse): _89.QueryUpgradedConsensusStateResponseSDKType; - fromAmino(object: _89.QueryUpgradedConsensusStateResponseAmino): _89.QueryUpgradedConsensusStateResponse; - toAmino(message: _89.QueryUpgradedConsensusStateResponse): _89.QueryUpgradedConsensusStateResponseAmino; - fromAminoMsg(object: _89.QueryUpgradedConsensusStateResponseAminoMsg): _89.QueryUpgradedConsensusStateResponse; - toAminoMsg(message: _89.QueryUpgradedConsensusStateResponse): _89.QueryUpgradedConsensusStateResponseAminoMsg; - fromProtoMsg(message: _89.QueryUpgradedConsensusStateResponseProtoMsg): _89.QueryUpgradedConsensusStateResponse; - toProto(message: _89.QueryUpgradedConsensusStateResponse): Uint8Array; - toProtoMsg(message: _89.QueryUpgradedConsensusStateResponse): _89.QueryUpgradedConsensusStateResponseProtoMsg; - }; - QueryModuleVersionsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _89.QueryModuleVersionsRequest; - isSDK(o: any): o is _89.QueryModuleVersionsRequestSDKType; - isAmino(o: any): o is _89.QueryModuleVersionsRequestAmino; - encode(message: _89.QueryModuleVersionsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _89.QueryModuleVersionsRequest; - fromJSON(object: any): _89.QueryModuleVersionsRequest; - toJSON(message: _89.QueryModuleVersionsRequest): unknown; - fromPartial(object: { - moduleName?: string; - }): _89.QueryModuleVersionsRequest; - fromSDK(object: _89.QueryModuleVersionsRequestSDKType): _89.QueryModuleVersionsRequest; - toSDK(message: _89.QueryModuleVersionsRequest): _89.QueryModuleVersionsRequestSDKType; - fromAmino(object: _89.QueryModuleVersionsRequestAmino): _89.QueryModuleVersionsRequest; - toAmino(message: _89.QueryModuleVersionsRequest): _89.QueryModuleVersionsRequestAmino; - fromAminoMsg(object: _89.QueryModuleVersionsRequestAminoMsg): _89.QueryModuleVersionsRequest; - toAminoMsg(message: _89.QueryModuleVersionsRequest): _89.QueryModuleVersionsRequestAminoMsg; - fromProtoMsg(message: _89.QueryModuleVersionsRequestProtoMsg): _89.QueryModuleVersionsRequest; - toProto(message: _89.QueryModuleVersionsRequest): Uint8Array; - toProtoMsg(message: _89.QueryModuleVersionsRequest): _89.QueryModuleVersionsRequestProtoMsg; - }; - QueryModuleVersionsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _89.QueryModuleVersionsResponse; - isSDK(o: any): o is _89.QueryModuleVersionsResponseSDKType; - isAmino(o: any): o is _89.QueryModuleVersionsResponseAmino; - encode(message: _89.QueryModuleVersionsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _89.QueryModuleVersionsResponse; - fromJSON(object: any): _89.QueryModuleVersionsResponse; - toJSON(message: _89.QueryModuleVersionsResponse): unknown; - fromPartial(object: { - moduleVersions?: { - name?: string; - version?: bigint; - }[]; - }): _89.QueryModuleVersionsResponse; - fromSDK(object: _89.QueryModuleVersionsResponseSDKType): _89.QueryModuleVersionsResponse; - toSDK(message: _89.QueryModuleVersionsResponse): _89.QueryModuleVersionsResponseSDKType; - fromAmino(object: _89.QueryModuleVersionsResponseAmino): _89.QueryModuleVersionsResponse; - toAmino(message: _89.QueryModuleVersionsResponse): _89.QueryModuleVersionsResponseAmino; - fromAminoMsg(object: _89.QueryModuleVersionsResponseAminoMsg): _89.QueryModuleVersionsResponse; - toAminoMsg(message: _89.QueryModuleVersionsResponse): _89.QueryModuleVersionsResponseAminoMsg; - fromProtoMsg(message: _89.QueryModuleVersionsResponseProtoMsg): _89.QueryModuleVersionsResponse; - toProto(message: _89.QueryModuleVersionsResponse): Uint8Array; - toProtoMsg(message: _89.QueryModuleVersionsResponse): _89.QueryModuleVersionsResponseProtoMsg; - }; - QueryAuthorityRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _89.QueryAuthorityRequest; - isSDK(o: any): o is _89.QueryAuthorityRequestSDKType; - isAmino(o: any): o is _89.QueryAuthorityRequestAmino; - encode(_: _89.QueryAuthorityRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _89.QueryAuthorityRequest; - fromJSON(_: any): _89.QueryAuthorityRequest; - toJSON(_: _89.QueryAuthorityRequest): unknown; - fromPartial(_: {}): _89.QueryAuthorityRequest; - fromSDK(_: _89.QueryAuthorityRequestSDKType): _89.QueryAuthorityRequest; - toSDK(_: _89.QueryAuthorityRequest): _89.QueryAuthorityRequestSDKType; - fromAmino(_: _89.QueryAuthorityRequestAmino): _89.QueryAuthorityRequest; - toAmino(_: _89.QueryAuthorityRequest): _89.QueryAuthorityRequestAmino; - fromAminoMsg(object: _89.QueryAuthorityRequestAminoMsg): _89.QueryAuthorityRequest; - toAminoMsg(message: _89.QueryAuthorityRequest): _89.QueryAuthorityRequestAminoMsg; - fromProtoMsg(message: _89.QueryAuthorityRequestProtoMsg): _89.QueryAuthorityRequest; - toProto(message: _89.QueryAuthorityRequest): Uint8Array; - toProtoMsg(message: _89.QueryAuthorityRequest): _89.QueryAuthorityRequestProtoMsg; - }; - QueryAuthorityResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _89.QueryAuthorityResponse; - isSDK(o: any): o is _89.QueryAuthorityResponseSDKType; - isAmino(o: any): o is _89.QueryAuthorityResponseAmino; - encode(message: _89.QueryAuthorityResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _89.QueryAuthorityResponse; - fromJSON(object: any): _89.QueryAuthorityResponse; - toJSON(message: _89.QueryAuthorityResponse): unknown; - fromPartial(object: { - address?: string; - }): _89.QueryAuthorityResponse; - fromSDK(object: _89.QueryAuthorityResponseSDKType): _89.QueryAuthorityResponse; - toSDK(message: _89.QueryAuthorityResponse): _89.QueryAuthorityResponseSDKType; - fromAmino(object: _89.QueryAuthorityResponseAmino): _89.QueryAuthorityResponse; - toAmino(message: _89.QueryAuthorityResponse): _89.QueryAuthorityResponseAmino; - fromAminoMsg(object: _89.QueryAuthorityResponseAminoMsg): _89.QueryAuthorityResponse; - toAminoMsg(message: _89.QueryAuthorityResponse): _89.QueryAuthorityResponseAminoMsg; - fromProtoMsg(message: _89.QueryAuthorityResponseProtoMsg): _89.QueryAuthorityResponse; - toProto(message: _89.QueryAuthorityResponse): Uint8Array; - toProtoMsg(message: _89.QueryAuthorityResponse): _89.QueryAuthorityResponseProtoMsg; - }; - }; - } - namespace vesting { - const v1beta1: { - MsgClientImpl: typeof _249.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _249.MsgClientImpl; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - createVestingAccount(value: _92.MsgCreateVestingAccount): { - typeUrl: string; - value: Uint8Array; - }; - createPermanentLockedAccount(value: _92.MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: Uint8Array; - }; - createPeriodicVestingAccount(value: _92.MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createVestingAccount(value: _92.MsgCreateVestingAccount): { - typeUrl: string; - value: _92.MsgCreateVestingAccount; - }; - createPermanentLockedAccount(value: _92.MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: _92.MsgCreatePermanentLockedAccount; - }; - createPeriodicVestingAccount(value: _92.MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: _92.MsgCreatePeriodicVestingAccount; - }; - }; - toJSON: { - createVestingAccount(value: _92.MsgCreateVestingAccount): { - typeUrl: string; - value: unknown; - }; - createPermanentLockedAccount(value: _92.MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: unknown; - }; - createPeriodicVestingAccount(value: _92.MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createVestingAccount(value: any): { - typeUrl: string; - value: _92.MsgCreateVestingAccount; - }; - createPermanentLockedAccount(value: any): { - typeUrl: string; - value: _92.MsgCreatePermanentLockedAccount; - }; - createPeriodicVestingAccount(value: any): { - typeUrl: string; - value: _92.MsgCreatePeriodicVestingAccount; - }; - }; - fromPartial: { - createVestingAccount(value: _92.MsgCreateVestingAccount): { - typeUrl: string; - value: _92.MsgCreateVestingAccount; - }; - createPermanentLockedAccount(value: _92.MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: _92.MsgCreatePermanentLockedAccount; - }; - createPeriodicVestingAccount(value: _92.MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: _92.MsgCreatePeriodicVestingAccount; - }; - }; - }; - AminoConverter: { - "/cosmos.vesting.v1beta1.MsgCreateVestingAccount": { - aminoType: string; - toAmino: (message: _92.MsgCreateVestingAccount) => _92.MsgCreateVestingAccountAmino; - fromAmino: (object: _92.MsgCreateVestingAccountAmino) => _92.MsgCreateVestingAccount; - }; - "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount": { - aminoType: string; - toAmino: (message: _92.MsgCreatePermanentLockedAccount) => _92.MsgCreatePermanentLockedAccountAmino; - fromAmino: (object: _92.MsgCreatePermanentLockedAccountAmino) => _92.MsgCreatePermanentLockedAccount; - }; - "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount": { - aminoType: string; - toAmino: (message: _92.MsgCreatePeriodicVestingAccount) => _92.MsgCreatePeriodicVestingAccountAmino; - fromAmino: (object: _92.MsgCreatePeriodicVestingAccountAmino) => _92.MsgCreatePeriodicVestingAccount; - }; - }; - BaseVestingAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is _93.BaseVestingAccount; - isSDK(o: any): o is _93.BaseVestingAccountSDKType; - isAmino(o: any): o is _93.BaseVestingAccountAmino; - encode(message: _93.BaseVestingAccount, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _93.BaseVestingAccount; - fromJSON(object: any): _93.BaseVestingAccount; - toJSON(message: _93.BaseVestingAccount): unknown; - fromPartial(object: { - baseAccount?: { - $typeUrl?: "/cosmos.auth.v1beta1.BaseAccount"; - address?: string; - pubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: bigint; - sequence?: bigint; - }; - originalVesting?: { - denom?: string; - amount?: string; - }[]; - delegatedFree?: { - denom?: string; - amount?: string; - }[]; - delegatedVesting?: { - denom?: string; - amount?: string; - }[]; - endTime?: bigint; - }): _93.BaseVestingAccount; - fromSDK(object: _93.BaseVestingAccountSDKType): _93.BaseVestingAccount; - toSDK(message: _93.BaseVestingAccount): _93.BaseVestingAccountSDKType; - fromAmino(object: _93.BaseVestingAccountAmino): _93.BaseVestingAccount; - toAmino(message: _93.BaseVestingAccount): _93.BaseVestingAccountAmino; - fromAminoMsg(object: _93.BaseVestingAccountAminoMsg): _93.BaseVestingAccount; - toAminoMsg(message: _93.BaseVestingAccount): _93.BaseVestingAccountAminoMsg; - fromProtoMsg(message: _93.BaseVestingAccountProtoMsg): _93.BaseVestingAccount; - toProto(message: _93.BaseVestingAccount): Uint8Array; - toProtoMsg(message: _93.BaseVestingAccount): _93.BaseVestingAccountProtoMsg; - }; - ContinuousVestingAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is _93.ContinuousVestingAccount; - isSDK(o: any): o is _93.ContinuousVestingAccountSDKType; - isAmino(o: any): o is _93.ContinuousVestingAccountAmino; - encode(message: _93.ContinuousVestingAccount, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _93.ContinuousVestingAccount; - fromJSON(object: any): _93.ContinuousVestingAccount; - toJSON(message: _93.ContinuousVestingAccount): unknown; - fromPartial(object: { - baseVestingAccount?: { - baseAccount?: { - $typeUrl?: "/cosmos.auth.v1beta1.BaseAccount"; - address?: string; - pubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: bigint; - sequence?: bigint; - }; - originalVesting?: { - denom?: string; - amount?: string; - }[]; - delegatedFree?: { - denom?: string; - amount?: string; - }[]; - delegatedVesting?: { - denom?: string; - amount?: string; - }[]; - endTime?: bigint; - }; - startTime?: bigint; - }): _93.ContinuousVestingAccount; - fromSDK(object: _93.ContinuousVestingAccountSDKType): _93.ContinuousVestingAccount; - toSDK(message: _93.ContinuousVestingAccount): _93.ContinuousVestingAccountSDKType; - fromAmino(object: _93.ContinuousVestingAccountAmino): _93.ContinuousVestingAccount; - toAmino(message: _93.ContinuousVestingAccount): _93.ContinuousVestingAccountAmino; - fromAminoMsg(object: _93.ContinuousVestingAccountAminoMsg): _93.ContinuousVestingAccount; - toAminoMsg(message: _93.ContinuousVestingAccount): _93.ContinuousVestingAccountAminoMsg; - fromProtoMsg(message: _93.ContinuousVestingAccountProtoMsg): _93.ContinuousVestingAccount; - toProto(message: _93.ContinuousVestingAccount): Uint8Array; - toProtoMsg(message: _93.ContinuousVestingAccount): _93.ContinuousVestingAccountProtoMsg; - }; - DelayedVestingAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is _93.DelayedVestingAccount; - isSDK(o: any): o is _93.DelayedVestingAccountSDKType; - isAmino(o: any): o is _93.DelayedVestingAccountAmino; - encode(message: _93.DelayedVestingAccount, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _93.DelayedVestingAccount; - fromJSON(object: any): _93.DelayedVestingAccount; - toJSON(message: _93.DelayedVestingAccount): unknown; - fromPartial(object: { - baseVestingAccount?: { - baseAccount?: { - $typeUrl?: "/cosmos.auth.v1beta1.BaseAccount"; - address?: string; - pubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: bigint; - sequence?: bigint; - }; - originalVesting?: { - denom?: string; - amount?: string; - }[]; - delegatedFree?: { - denom?: string; - amount?: string; - }[]; - delegatedVesting?: { - denom?: string; - amount?: string; - }[]; - endTime?: bigint; - }; - }): _93.DelayedVestingAccount; - fromSDK(object: _93.DelayedVestingAccountSDKType): _93.DelayedVestingAccount; - toSDK(message: _93.DelayedVestingAccount): _93.DelayedVestingAccountSDKType; - fromAmino(object: _93.DelayedVestingAccountAmino): _93.DelayedVestingAccount; - toAmino(message: _93.DelayedVestingAccount): _93.DelayedVestingAccountAmino; - fromAminoMsg(object: _93.DelayedVestingAccountAminoMsg): _93.DelayedVestingAccount; - toAminoMsg(message: _93.DelayedVestingAccount): _93.DelayedVestingAccountAminoMsg; - fromProtoMsg(message: _93.DelayedVestingAccountProtoMsg): _93.DelayedVestingAccount; - toProto(message: _93.DelayedVestingAccount): Uint8Array; - toProtoMsg(message: _93.DelayedVestingAccount): _93.DelayedVestingAccountProtoMsg; - }; - Period: { - typeUrl: string; - aminoType: string; - is(o: any): o is _93.Period; - isSDK(o: any): o is _93.PeriodSDKType; - isAmino(o: any): o is _93.PeriodAmino; - encode(message: _93.Period, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _93.Period; - fromJSON(object: any): _93.Period; - toJSON(message: _93.Period): unknown; - fromPartial(object: { - length?: bigint; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _93.Period; - fromSDK(object: _93.PeriodSDKType): _93.Period; - toSDK(message: _93.Period): _93.PeriodSDKType; - fromAmino(object: _93.PeriodAmino): _93.Period; - toAmino(message: _93.Period): _93.PeriodAmino; - fromAminoMsg(object: _93.PeriodAminoMsg): _93.Period; - toAminoMsg(message: _93.Period): _93.PeriodAminoMsg; - fromProtoMsg(message: _93.PeriodProtoMsg): _93.Period; - toProto(message: _93.Period): Uint8Array; - toProtoMsg(message: _93.Period): _93.PeriodProtoMsg; - }; - PeriodicVestingAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is _93.PeriodicVestingAccount; - isSDK(o: any): o is _93.PeriodicVestingAccountSDKType; - isAmino(o: any): o is _93.PeriodicVestingAccountAmino; - encode(message: _93.PeriodicVestingAccount, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _93.PeriodicVestingAccount; - fromJSON(object: any): _93.PeriodicVestingAccount; - toJSON(message: _93.PeriodicVestingAccount): unknown; - fromPartial(object: { - baseVestingAccount?: { - baseAccount?: { - $typeUrl?: "/cosmos.auth.v1beta1.BaseAccount"; - address?: string; - pubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: bigint; - sequence?: bigint; - }; - originalVesting?: { - denom?: string; - amount?: string; - }[]; - delegatedFree?: { - denom?: string; - amount?: string; - }[]; - delegatedVesting?: { - denom?: string; - amount?: string; - }[]; - endTime?: bigint; - }; - startTime?: bigint; - vestingPeriods?: { - length?: bigint; - amount?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _93.PeriodicVestingAccount; - fromSDK(object: _93.PeriodicVestingAccountSDKType): _93.PeriodicVestingAccount; - toSDK(message: _93.PeriodicVestingAccount): _93.PeriodicVestingAccountSDKType; - fromAmino(object: _93.PeriodicVestingAccountAmino): _93.PeriodicVestingAccount; - toAmino(message: _93.PeriodicVestingAccount): _93.PeriodicVestingAccountAmino; - fromAminoMsg(object: _93.PeriodicVestingAccountAminoMsg): _93.PeriodicVestingAccount; - toAminoMsg(message: _93.PeriodicVestingAccount): _93.PeriodicVestingAccountAminoMsg; - fromProtoMsg(message: _93.PeriodicVestingAccountProtoMsg): _93.PeriodicVestingAccount; - toProto(message: _93.PeriodicVestingAccount): Uint8Array; - toProtoMsg(message: _93.PeriodicVestingAccount): _93.PeriodicVestingAccountProtoMsg; - }; - PermanentLockedAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is _93.PermanentLockedAccount; - isSDK(o: any): o is _93.PermanentLockedAccountSDKType; - isAmino(o: any): o is _93.PermanentLockedAccountAmino; - encode(message: _93.PermanentLockedAccount, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _93.PermanentLockedAccount; - fromJSON(object: any): _93.PermanentLockedAccount; - toJSON(message: _93.PermanentLockedAccount): unknown; - fromPartial(object: { - baseVestingAccount?: { - baseAccount?: { - $typeUrl?: "/cosmos.auth.v1beta1.BaseAccount"; - address?: string; - pubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: bigint; - sequence?: bigint; - }; - originalVesting?: { - denom?: string; - amount?: string; - }[]; - delegatedFree?: { - denom?: string; - amount?: string; - }[]; - delegatedVesting?: { - denom?: string; - amount?: string; - }[]; - endTime?: bigint; - }; - }): _93.PermanentLockedAccount; - fromSDK(object: _93.PermanentLockedAccountSDKType): _93.PermanentLockedAccount; - toSDK(message: _93.PermanentLockedAccount): _93.PermanentLockedAccountSDKType; - fromAmino(object: _93.PermanentLockedAccountAmino): _93.PermanentLockedAccount; - toAmino(message: _93.PermanentLockedAccount): _93.PermanentLockedAccountAmino; - fromAminoMsg(object: _93.PermanentLockedAccountAminoMsg): _93.PermanentLockedAccount; - toAminoMsg(message: _93.PermanentLockedAccount): _93.PermanentLockedAccountAminoMsg; - fromProtoMsg(message: _93.PermanentLockedAccountProtoMsg): _93.PermanentLockedAccount; - toProto(message: _93.PermanentLockedAccount): Uint8Array; - toProtoMsg(message: _93.PermanentLockedAccount): _93.PermanentLockedAccountProtoMsg; - }; - MsgCreateVestingAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is _92.MsgCreateVestingAccount; - isSDK(o: any): o is _92.MsgCreateVestingAccountSDKType; - isAmino(o: any): o is _92.MsgCreateVestingAccountAmino; - encode(message: _92.MsgCreateVestingAccount, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _92.MsgCreateVestingAccount; - fromJSON(object: any): _92.MsgCreateVestingAccount; - toJSON(message: _92.MsgCreateVestingAccount): unknown; - fromPartial(object: { - fromAddress?: string; - toAddress?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - endTime?: bigint; - delayed?: boolean; - }): _92.MsgCreateVestingAccount; - fromSDK(object: _92.MsgCreateVestingAccountSDKType): _92.MsgCreateVestingAccount; - toSDK(message: _92.MsgCreateVestingAccount): _92.MsgCreateVestingAccountSDKType; - fromAmino(object: _92.MsgCreateVestingAccountAmino): _92.MsgCreateVestingAccount; - toAmino(message: _92.MsgCreateVestingAccount): _92.MsgCreateVestingAccountAmino; - fromAminoMsg(object: _92.MsgCreateVestingAccountAminoMsg): _92.MsgCreateVestingAccount; - toAminoMsg(message: _92.MsgCreateVestingAccount): _92.MsgCreateVestingAccountAminoMsg; - fromProtoMsg(message: _92.MsgCreateVestingAccountProtoMsg): _92.MsgCreateVestingAccount; - toProto(message: _92.MsgCreateVestingAccount): Uint8Array; - toProtoMsg(message: _92.MsgCreateVestingAccount): _92.MsgCreateVestingAccountProtoMsg; - }; - MsgCreateVestingAccountResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _92.MsgCreateVestingAccountResponse; - isSDK(o: any): o is _92.MsgCreateVestingAccountResponseSDKType; - isAmino(o: any): o is _92.MsgCreateVestingAccountResponseAmino; - encode(_: _92.MsgCreateVestingAccountResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _92.MsgCreateVestingAccountResponse; - fromJSON(_: any): _92.MsgCreateVestingAccountResponse; - toJSON(_: _92.MsgCreateVestingAccountResponse): unknown; - fromPartial(_: {}): _92.MsgCreateVestingAccountResponse; - fromSDK(_: _92.MsgCreateVestingAccountResponseSDKType): _92.MsgCreateVestingAccountResponse; - toSDK(_: _92.MsgCreateVestingAccountResponse): _92.MsgCreateVestingAccountResponseSDKType; - fromAmino(_: _92.MsgCreateVestingAccountResponseAmino): _92.MsgCreateVestingAccountResponse; - toAmino(_: _92.MsgCreateVestingAccountResponse): _92.MsgCreateVestingAccountResponseAmino; - fromAminoMsg(object: _92.MsgCreateVestingAccountResponseAminoMsg): _92.MsgCreateVestingAccountResponse; - toAminoMsg(message: _92.MsgCreateVestingAccountResponse): _92.MsgCreateVestingAccountResponseAminoMsg; - fromProtoMsg(message: _92.MsgCreateVestingAccountResponseProtoMsg): _92.MsgCreateVestingAccountResponse; - toProto(message: _92.MsgCreateVestingAccountResponse): Uint8Array; - toProtoMsg(message: _92.MsgCreateVestingAccountResponse): _92.MsgCreateVestingAccountResponseProtoMsg; - }; - MsgCreatePermanentLockedAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is _92.MsgCreatePermanentLockedAccount; - isSDK(o: any): o is _92.MsgCreatePermanentLockedAccountSDKType; - isAmino(o: any): o is _92.MsgCreatePermanentLockedAccountAmino; - encode(message: _92.MsgCreatePermanentLockedAccount, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _92.MsgCreatePermanentLockedAccount; - fromJSON(object: any): _92.MsgCreatePermanentLockedAccount; - toJSON(message: _92.MsgCreatePermanentLockedAccount): unknown; - fromPartial(object: { - fromAddress?: string; - toAddress?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _92.MsgCreatePermanentLockedAccount; - fromSDK(object: _92.MsgCreatePermanentLockedAccountSDKType): _92.MsgCreatePermanentLockedAccount; - toSDK(message: _92.MsgCreatePermanentLockedAccount): _92.MsgCreatePermanentLockedAccountSDKType; - fromAmino(object: _92.MsgCreatePermanentLockedAccountAmino): _92.MsgCreatePermanentLockedAccount; - toAmino(message: _92.MsgCreatePermanentLockedAccount): _92.MsgCreatePermanentLockedAccountAmino; - fromAminoMsg(object: _92.MsgCreatePermanentLockedAccountAminoMsg): _92.MsgCreatePermanentLockedAccount; - toAminoMsg(message: _92.MsgCreatePermanentLockedAccount): _92.MsgCreatePermanentLockedAccountAminoMsg; - fromProtoMsg(message: _92.MsgCreatePermanentLockedAccountProtoMsg): _92.MsgCreatePermanentLockedAccount; - toProto(message: _92.MsgCreatePermanentLockedAccount): Uint8Array; - toProtoMsg(message: _92.MsgCreatePermanentLockedAccount): _92.MsgCreatePermanentLockedAccountProtoMsg; - }; - MsgCreatePermanentLockedAccountResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _92.MsgCreatePermanentLockedAccountResponse; - isSDK(o: any): o is _92.MsgCreatePermanentLockedAccountResponseSDKType; - isAmino(o: any): o is _92.MsgCreatePermanentLockedAccountResponseAmino; - encode(_: _92.MsgCreatePermanentLockedAccountResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _92.MsgCreatePermanentLockedAccountResponse; - fromJSON(_: any): _92.MsgCreatePermanentLockedAccountResponse; - toJSON(_: _92.MsgCreatePermanentLockedAccountResponse): unknown; - fromPartial(_: {}): _92.MsgCreatePermanentLockedAccountResponse; - fromSDK(_: _92.MsgCreatePermanentLockedAccountResponseSDKType): _92.MsgCreatePermanentLockedAccountResponse; - toSDK(_: _92.MsgCreatePermanentLockedAccountResponse): _92.MsgCreatePermanentLockedAccountResponseSDKType; - fromAmino(_: _92.MsgCreatePermanentLockedAccountResponseAmino): _92.MsgCreatePermanentLockedAccountResponse; - toAmino(_: _92.MsgCreatePermanentLockedAccountResponse): _92.MsgCreatePermanentLockedAccountResponseAmino; - fromAminoMsg(object: _92.MsgCreatePermanentLockedAccountResponseAminoMsg): _92.MsgCreatePermanentLockedAccountResponse; - toAminoMsg(message: _92.MsgCreatePermanentLockedAccountResponse): _92.MsgCreatePermanentLockedAccountResponseAminoMsg; - fromProtoMsg(message: _92.MsgCreatePermanentLockedAccountResponseProtoMsg): _92.MsgCreatePermanentLockedAccountResponse; - toProto(message: _92.MsgCreatePermanentLockedAccountResponse): Uint8Array; - toProtoMsg(message: _92.MsgCreatePermanentLockedAccountResponse): _92.MsgCreatePermanentLockedAccountResponseProtoMsg; - }; - MsgCreatePeriodicVestingAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is _92.MsgCreatePeriodicVestingAccount; - isSDK(o: any): o is _92.MsgCreatePeriodicVestingAccountSDKType; - isAmino(o: any): o is _92.MsgCreatePeriodicVestingAccountAmino; - encode(message: _92.MsgCreatePeriodicVestingAccount, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _92.MsgCreatePeriodicVestingAccount; - fromJSON(object: any): _92.MsgCreatePeriodicVestingAccount; - toJSON(message: _92.MsgCreatePeriodicVestingAccount): unknown; - fromPartial(object: { - fromAddress?: string; - toAddress?: string; - startTime?: bigint; - vestingPeriods?: { - length?: bigint; - amount?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _92.MsgCreatePeriodicVestingAccount; - fromSDK(object: _92.MsgCreatePeriodicVestingAccountSDKType): _92.MsgCreatePeriodicVestingAccount; - toSDK(message: _92.MsgCreatePeriodicVestingAccount): _92.MsgCreatePeriodicVestingAccountSDKType; - fromAmino(object: _92.MsgCreatePeriodicVestingAccountAmino): _92.MsgCreatePeriodicVestingAccount; - toAmino(message: _92.MsgCreatePeriodicVestingAccount): _92.MsgCreatePeriodicVestingAccountAmino; - fromAminoMsg(object: _92.MsgCreatePeriodicVestingAccountAminoMsg): _92.MsgCreatePeriodicVestingAccount; - toAminoMsg(message: _92.MsgCreatePeriodicVestingAccount): _92.MsgCreatePeriodicVestingAccountAminoMsg; - fromProtoMsg(message: _92.MsgCreatePeriodicVestingAccountProtoMsg): _92.MsgCreatePeriodicVestingAccount; - toProto(message: _92.MsgCreatePeriodicVestingAccount): Uint8Array; - toProtoMsg(message: _92.MsgCreatePeriodicVestingAccount): _92.MsgCreatePeriodicVestingAccountProtoMsg; - }; - MsgCreatePeriodicVestingAccountResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _92.MsgCreatePeriodicVestingAccountResponse; - isSDK(o: any): o is _92.MsgCreatePeriodicVestingAccountResponseSDKType; - isAmino(o: any): o is _92.MsgCreatePeriodicVestingAccountResponseAmino; - encode(_: _92.MsgCreatePeriodicVestingAccountResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _92.MsgCreatePeriodicVestingAccountResponse; - fromJSON(_: any): _92.MsgCreatePeriodicVestingAccountResponse; - toJSON(_: _92.MsgCreatePeriodicVestingAccountResponse): unknown; - fromPartial(_: {}): _92.MsgCreatePeriodicVestingAccountResponse; - fromSDK(_: _92.MsgCreatePeriodicVestingAccountResponseSDKType): _92.MsgCreatePeriodicVestingAccountResponse; - toSDK(_: _92.MsgCreatePeriodicVestingAccountResponse): _92.MsgCreatePeriodicVestingAccountResponseSDKType; - fromAmino(_: _92.MsgCreatePeriodicVestingAccountResponseAmino): _92.MsgCreatePeriodicVestingAccountResponse; - toAmino(_: _92.MsgCreatePeriodicVestingAccountResponse): _92.MsgCreatePeriodicVestingAccountResponseAmino; - fromAminoMsg(object: _92.MsgCreatePeriodicVestingAccountResponseAminoMsg): _92.MsgCreatePeriodicVestingAccountResponse; - toAminoMsg(message: _92.MsgCreatePeriodicVestingAccountResponse): _92.MsgCreatePeriodicVestingAccountResponseAminoMsg; - fromProtoMsg(message: _92.MsgCreatePeriodicVestingAccountResponseProtoMsg): _92.MsgCreatePeriodicVestingAccountResponse; - toProto(message: _92.MsgCreatePeriodicVestingAccountResponse): Uint8Array; - toProtoMsg(message: _92.MsgCreatePeriodicVestingAccountResponse): _92.MsgCreatePeriodicVestingAccountResponseProtoMsg; - }; - }; - } - const ClientFactory: { - createRPCMsgClient: ({ rpc }: { - rpc: import("../helpers").Rpc; - }) => Promise<{ - cosmos: { - authz: { - v1beta1: _236.MsgClientImpl; - }; - bank: { - v1beta1: _237.MsgClientImpl; - }; - crisis: { - v1beta1: _238.MsgClientImpl; - }; - distribution: { - v1beta1: _239.MsgClientImpl; - }; - evidence: { - v1beta1: _240.MsgClientImpl; - }; - feegrant: { - v1beta1: _241.MsgClientImpl; - }; - gov: { - v1: _242.MsgClientImpl; - v1beta1: _243.MsgClientImpl; - }; - group: { - v1: _244.MsgClientImpl; - }; - nft: { - v1beta1: _245.MsgClientImpl; - }; - slashing: { - v1beta1: _246.MsgClientImpl; - }; - staking: { - v1beta1: _247.MsgClientImpl; - }; - upgrade: { - v1beta1: _248.MsgClientImpl; - }; - vesting: { - v1beta1: _249.MsgClientImpl; - }; - }; - }>; - createRPCQueryClient: ({ rpc }: { - rpc: import("../helpers").Rpc; - }) => Promise<{ - cosmos: { - app: { - v1alpha1: _218.QueryClientImpl; - }; - auth: { - v1beta1: _219.QueryClientImpl; - }; - authz: { - v1beta1: _220.QueryClientImpl; - }; - bank: { - v1beta1: _221.QueryClientImpl; - }; - base: { - tendermint: { - v1beta1: _222.ServiceClientImpl; - }; - }; - distribution: { - v1beta1: _223.QueryClientImpl; - }; - evidence: { - v1beta1: _224.QueryClientImpl; - }; - feegrant: { - v1beta1: _225.QueryClientImpl; - }; - gov: { - v1: _226.QueryClientImpl; - v1beta1: _227.QueryClientImpl; - }; - group: { - v1: _228.QueryClientImpl; - }; - mint: { - v1beta1: _229.QueryClientImpl; - }; - nft: { - v1beta1: _230.QueryClientImpl; - }; - params: { - v1beta1: _231.QueryClientImpl; - }; - slashing: { - v1beta1: _232.QueryClientImpl; - }; - staking: { - v1beta1: _233.QueryClientImpl; - }; - tx: { - v1beta1: _234.ServiceClientImpl; - }; - upgrade: { - v1beta1: _235.QueryClientImpl; - }; - }; - }>; - }; -} diff --git a/examples/authz/types/codegen/cosmos/capability/v1beta1/capability.d.ts b/examples/authz/types/codegen/cosmos/capability/v1beta1/capability.d.ts deleted file mode 100644 index 70059bbc..00000000 --- a/examples/authz/types/codegen/cosmos/capability/v1beta1/capability.d.ts +++ /dev/null @@ -1,155 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * Capability defines an implementation of an object capability. The index - * provided to a Capability must be globally unique. - */ -export interface Capability { - index: bigint; -} -export interface CapabilityProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.Capability"; - value: Uint8Array; -} -/** - * Capability defines an implementation of an object capability. The index - * provided to a Capability must be globally unique. - */ -export interface CapabilityAmino { - index?: string; -} -export interface CapabilityAminoMsg { - type: "cosmos-sdk/Capability"; - value: CapabilityAmino; -} -/** - * Capability defines an implementation of an object capability. The index - * provided to a Capability must be globally unique. - */ -export interface CapabilitySDKType { - index: bigint; -} -/** - * Owner defines a single capability owner. An owner is defined by the name of - * capability and the module name. - */ -export interface Owner { - module: string; - name: string; -} -export interface OwnerProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.Owner"; - value: Uint8Array; -} -/** - * Owner defines a single capability owner. An owner is defined by the name of - * capability and the module name. - */ -export interface OwnerAmino { - module?: string; - name?: string; -} -export interface OwnerAminoMsg { - type: "cosmos-sdk/Owner"; - value: OwnerAmino; -} -/** - * Owner defines a single capability owner. An owner is defined by the name of - * capability and the module name. - */ -export interface OwnerSDKType { - module: string; - name: string; -} -/** - * CapabilityOwners defines a set of owners of a single Capability. The set of - * owners must be unique. - */ -export interface CapabilityOwners { - owners: Owner[]; -} -export interface CapabilityOwnersProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.CapabilityOwners"; - value: Uint8Array; -} -/** - * CapabilityOwners defines a set of owners of a single Capability. The set of - * owners must be unique. - */ -export interface CapabilityOwnersAmino { - owners?: OwnerAmino[]; -} -export interface CapabilityOwnersAminoMsg { - type: "cosmos-sdk/CapabilityOwners"; - value: CapabilityOwnersAmino; -} -/** - * CapabilityOwners defines a set of owners of a single Capability. The set of - * owners must be unique. - */ -export interface CapabilityOwnersSDKType { - owners: OwnerSDKType[]; -} -export declare const Capability: { - typeUrl: string; - aminoType: string; - is(o: any): o is Capability; - isSDK(o: any): o is CapabilitySDKType; - isAmino(o: any): o is CapabilityAmino; - encode(message: Capability, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Capability; - fromJSON(object: any): Capability; - toJSON(message: Capability): unknown; - fromPartial(object: DeepPartial): Capability; - fromSDK(object: CapabilitySDKType): Capability; - toSDK(message: Capability): CapabilitySDKType; - fromAmino(object: CapabilityAmino): Capability; - toAmino(message: Capability): CapabilityAmino; - fromAminoMsg(object: CapabilityAminoMsg): Capability; - toAminoMsg(message: Capability): CapabilityAminoMsg; - fromProtoMsg(message: CapabilityProtoMsg): Capability; - toProto(message: Capability): Uint8Array; - toProtoMsg(message: Capability): CapabilityProtoMsg; -}; -export declare const Owner: { - typeUrl: string; - aminoType: string; - is(o: any): o is Owner; - isSDK(o: any): o is OwnerSDKType; - isAmino(o: any): o is OwnerAmino; - encode(message: Owner, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Owner; - fromJSON(object: any): Owner; - toJSON(message: Owner): unknown; - fromPartial(object: DeepPartial): Owner; - fromSDK(object: OwnerSDKType): Owner; - toSDK(message: Owner): OwnerSDKType; - fromAmino(object: OwnerAmino): Owner; - toAmino(message: Owner): OwnerAmino; - fromAminoMsg(object: OwnerAminoMsg): Owner; - toAminoMsg(message: Owner): OwnerAminoMsg; - fromProtoMsg(message: OwnerProtoMsg): Owner; - toProto(message: Owner): Uint8Array; - toProtoMsg(message: Owner): OwnerProtoMsg; -}; -export declare const CapabilityOwners: { - typeUrl: string; - aminoType: string; - is(o: any): o is CapabilityOwners; - isSDK(o: any): o is CapabilityOwnersSDKType; - isAmino(o: any): o is CapabilityOwnersAmino; - encode(message: CapabilityOwners, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CapabilityOwners; - fromJSON(object: any): CapabilityOwners; - toJSON(message: CapabilityOwners): unknown; - fromPartial(object: DeepPartial): CapabilityOwners; - fromSDK(object: CapabilityOwnersSDKType): CapabilityOwners; - toSDK(message: CapabilityOwners): CapabilityOwnersSDKType; - fromAmino(object: CapabilityOwnersAmino): CapabilityOwners; - toAmino(message: CapabilityOwners): CapabilityOwnersAmino; - fromAminoMsg(object: CapabilityOwnersAminoMsg): CapabilityOwners; - toAminoMsg(message: CapabilityOwners): CapabilityOwnersAminoMsg; - fromProtoMsg(message: CapabilityOwnersProtoMsg): CapabilityOwners; - toProto(message: CapabilityOwners): Uint8Array; - toProtoMsg(message: CapabilityOwners): CapabilityOwnersProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/capability/v1beta1/genesis.d.ts b/examples/authz/types/codegen/cosmos/capability/v1beta1/genesis.d.ts deleted file mode 100644 index 0e264c16..00000000 --- a/examples/authz/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { CapabilityOwners, CapabilityOwnersAmino, CapabilityOwnersSDKType } from "./capability"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisOwners defines the capability owners with their corresponding index. */ -export interface GenesisOwners { - /** index is the index of the capability owner. */ - index: bigint; - /** index_owners are the owners at the given index. */ - indexOwners: CapabilityOwners | undefined; -} -export interface GenesisOwnersProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.GenesisOwners"; - value: Uint8Array; -} -/** GenesisOwners defines the capability owners with their corresponding index. */ -export interface GenesisOwnersAmino { - /** index is the index of the capability owner. */ - index?: string; - /** index_owners are the owners at the given index. */ - index_owners?: CapabilityOwnersAmino | undefined; -} -export interface GenesisOwnersAminoMsg { - type: "cosmos-sdk/GenesisOwners"; - value: GenesisOwnersAmino; -} -/** GenesisOwners defines the capability owners with their corresponding index. */ -export interface GenesisOwnersSDKType { - index: bigint; - index_owners: CapabilityOwnersSDKType | undefined; -} -/** GenesisState defines the capability module's genesis state. */ -export interface GenesisState { - /** index is the capability global index. */ - index: bigint; - /** - * owners represents a map from index to owners of the capability index - * index key is string to allow amino marshalling. - */ - owners: GenesisOwners[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the capability module's genesis state. */ -export interface GenesisStateAmino { - /** index is the capability global index. */ - index?: string; - /** - * owners represents a map from index to owners of the capability index - * index key is string to allow amino marshalling. - */ - owners?: GenesisOwnersAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the capability module's genesis state. */ -export interface GenesisStateSDKType { - index: bigint; - owners: GenesisOwnersSDKType[]; -} -export declare const GenesisOwners: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisOwners; - isSDK(o: any): o is GenesisOwnersSDKType; - isAmino(o: any): o is GenesisOwnersAmino; - encode(message: GenesisOwners, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisOwners; - fromJSON(object: any): GenesisOwners; - toJSON(message: GenesisOwners): unknown; - fromPartial(object: DeepPartial): GenesisOwners; - fromSDK(object: GenesisOwnersSDKType): GenesisOwners; - toSDK(message: GenesisOwners): GenesisOwnersSDKType; - fromAmino(object: GenesisOwnersAmino): GenesisOwners; - toAmino(message: GenesisOwners): GenesisOwnersAmino; - fromAminoMsg(object: GenesisOwnersAminoMsg): GenesisOwners; - toAminoMsg(message: GenesisOwners): GenesisOwnersAminoMsg; - fromProtoMsg(message: GenesisOwnersProtoMsg): GenesisOwners; - toProto(message: GenesisOwners): Uint8Array; - toProtoMsg(message: GenesisOwners): GenesisOwnersProtoMsg; -}; -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/client.d.ts b/examples/authz/types/codegen/cosmos/client.d.ts deleted file mode 100644 index 8ee4159d..00000000 --- a/examples/authz/types/codegen/cosmos/client.d.ts +++ /dev/null @@ -1,254 +0,0 @@ -import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing"; -import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -export declare const cosmosAminoConverters: { - "/cosmos.vesting.v1beta1.MsgCreateVestingAccount": { - aminoType: string; - toAmino: (message: import("./vesting/v1beta1/tx").MsgCreateVestingAccount) => import("./vesting/v1beta1/tx").MsgCreateVestingAccountAmino; - fromAmino: (object: import("./vesting/v1beta1/tx").MsgCreateVestingAccountAmino) => import("./vesting/v1beta1/tx").MsgCreateVestingAccount; - }; - "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount": { - aminoType: string; - toAmino: (message: import("./vesting/v1beta1/tx").MsgCreatePermanentLockedAccount) => import("./vesting/v1beta1/tx").MsgCreatePermanentLockedAccountAmino; - fromAmino: (object: import("./vesting/v1beta1/tx").MsgCreatePermanentLockedAccountAmino) => import("./vesting/v1beta1/tx").MsgCreatePermanentLockedAccount; - }; - "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount": { - aminoType: string; - toAmino: (message: import("./vesting/v1beta1/tx").MsgCreatePeriodicVestingAccount) => import("./vesting/v1beta1/tx").MsgCreatePeriodicVestingAccountAmino; - fromAmino: (object: import("./vesting/v1beta1/tx").MsgCreatePeriodicVestingAccountAmino) => import("./vesting/v1beta1/tx").MsgCreatePeriodicVestingAccount; - }; - "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": { - aminoType: string; - toAmino: (message: import("./upgrade/v1beta1/tx").MsgSoftwareUpgrade) => import("./upgrade/v1beta1/tx").MsgSoftwareUpgradeAmino; - fromAmino: (object: import("./upgrade/v1beta1/tx").MsgSoftwareUpgradeAmino) => import("./upgrade/v1beta1/tx").MsgSoftwareUpgrade; - }; - "/cosmos.upgrade.v1beta1.MsgCancelUpgrade": { - aminoType: string; - toAmino: (message: import("./upgrade/v1beta1/tx").MsgCancelUpgrade) => import("./upgrade/v1beta1/tx").MsgCancelUpgradeAmino; - fromAmino: (object: import("./upgrade/v1beta1/tx").MsgCancelUpgradeAmino) => import("./upgrade/v1beta1/tx").MsgCancelUpgrade; - }; - "/cosmos.staking.v1beta1.MsgCreateValidator": { - aminoType: string; - toAmino: (message: import("./staking/v1beta1/tx").MsgCreateValidator) => import("./staking/v1beta1/tx").MsgCreateValidatorAmino; - fromAmino: (object: import("./staking/v1beta1/tx").MsgCreateValidatorAmino) => import("./staking/v1beta1/tx").MsgCreateValidator; - }; - "/cosmos.staking.v1beta1.MsgEditValidator": { - aminoType: string; - toAmino: (message: import("./staking/v1beta1/tx").MsgEditValidator) => import("./staking/v1beta1/tx").MsgEditValidatorAmino; - fromAmino: (object: import("./staking/v1beta1/tx").MsgEditValidatorAmino) => import("./staking/v1beta1/tx").MsgEditValidator; - }; - "/cosmos.staking.v1beta1.MsgDelegate": { - aminoType: string; - toAmino: (message: import("./staking/v1beta1/tx").MsgDelegate) => import("./staking/v1beta1/tx").MsgDelegateAmino; - fromAmino: (object: import("./staking/v1beta1/tx").MsgDelegateAmino) => import("./staking/v1beta1/tx").MsgDelegate; - }; - "/cosmos.staking.v1beta1.MsgBeginRedelegate": { - aminoType: string; - toAmino: (message: import("./staking/v1beta1/tx").MsgBeginRedelegate) => import("./staking/v1beta1/tx").MsgBeginRedelegateAmino; - fromAmino: (object: import("./staking/v1beta1/tx").MsgBeginRedelegateAmino) => import("./staking/v1beta1/tx").MsgBeginRedelegate; - }; - "/cosmos.staking.v1beta1.MsgUndelegate": { - aminoType: string; - toAmino: (message: import("./staking/v1beta1/tx").MsgUndelegate) => import("./staking/v1beta1/tx").MsgUndelegateAmino; - fromAmino: (object: import("./staking/v1beta1/tx").MsgUndelegateAmino) => import("./staking/v1beta1/tx").MsgUndelegate; - }; - "/cosmos.slashing.v1beta1.MsgUnjail": { - aminoType: string; - toAmino: (message: import("./slashing/v1beta1/tx").MsgUnjail) => import("./slashing/v1beta1/tx").MsgUnjailAmino; - fromAmino: (object: import("./slashing/v1beta1/tx").MsgUnjailAmino) => import("./slashing/v1beta1/tx").MsgUnjail; - }; - "/cosmos.nft.v1beta1.MsgSend": { - aminoType: string; - toAmino: (message: import("./nft/v1beta1/tx").MsgSend) => import("./nft/v1beta1/tx").MsgSendAmino; - fromAmino: (object: import("./nft/v1beta1/tx").MsgSendAmino) => import("./nft/v1beta1/tx").MsgSend; - }; - "/cosmos.group.v1.MsgCreateGroup": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgCreateGroup) => import("./group/v1/tx").MsgCreateGroupAmino; - fromAmino: (object: import("./group/v1/tx").MsgCreateGroupAmino) => import("./group/v1/tx").MsgCreateGroup; - }; - "/cosmos.group.v1.MsgUpdateGroupMembers": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgUpdateGroupMembers) => import("./group/v1/tx").MsgUpdateGroupMembersAmino; - fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupMembersAmino) => import("./group/v1/tx").MsgUpdateGroupMembers; - }; - "/cosmos.group.v1.MsgUpdateGroupAdmin": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgUpdateGroupAdmin) => import("./group/v1/tx").MsgUpdateGroupAdminAmino; - fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupAdminAmino) => import("./group/v1/tx").MsgUpdateGroupAdmin; - }; - "/cosmos.group.v1.MsgUpdateGroupMetadata": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgUpdateGroupMetadata) => import("./group/v1/tx").MsgUpdateGroupMetadataAmino; - fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupMetadataAmino) => import("./group/v1/tx").MsgUpdateGroupMetadata; - }; - "/cosmos.group.v1.MsgCreateGroupPolicy": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgCreateGroupPolicy) => import("./group/v1/tx").MsgCreateGroupPolicyAmino; - fromAmino: (object: import("./group/v1/tx").MsgCreateGroupPolicyAmino) => import("./group/v1/tx").MsgCreateGroupPolicy; - }; - "/cosmos.group.v1.MsgCreateGroupWithPolicy": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgCreateGroupWithPolicy) => import("./group/v1/tx").MsgCreateGroupWithPolicyAmino; - fromAmino: (object: import("./group/v1/tx").MsgCreateGroupWithPolicyAmino) => import("./group/v1/tx").MsgCreateGroupWithPolicy; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgUpdateGroupPolicyAdmin) => import("./group/v1/tx").MsgUpdateGroupPolicyAdminAmino; - fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupPolicyAdminAmino) => import("./group/v1/tx").MsgUpdateGroupPolicyAdmin; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgUpdateGroupPolicyDecisionPolicy) => import("./group/v1/tx").MsgUpdateGroupPolicyDecisionPolicyAmino; - fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupPolicyDecisionPolicyAmino) => import("./group/v1/tx").MsgUpdateGroupPolicyDecisionPolicy; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgUpdateGroupPolicyMetadata) => import("./group/v1/tx").MsgUpdateGroupPolicyMetadataAmino; - fromAmino: (object: import("./group/v1/tx").MsgUpdateGroupPolicyMetadataAmino) => import("./group/v1/tx").MsgUpdateGroupPolicyMetadata; - }; - "/cosmos.group.v1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgSubmitProposal) => import("./group/v1/tx").MsgSubmitProposalAmino; - fromAmino: (object: import("./group/v1/tx").MsgSubmitProposalAmino) => import("./group/v1/tx").MsgSubmitProposal; - }; - "/cosmos.group.v1.MsgWithdrawProposal": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgWithdrawProposal) => import("./group/v1/tx").MsgWithdrawProposalAmino; - fromAmino: (object: import("./group/v1/tx").MsgWithdrawProposalAmino) => import("./group/v1/tx").MsgWithdrawProposal; - }; - "/cosmos.group.v1.MsgVote": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgVote) => import("./group/v1/tx").MsgVoteAmino; - fromAmino: (object: import("./group/v1/tx").MsgVoteAmino) => import("./group/v1/tx").MsgVote; - }; - "/cosmos.group.v1.MsgExec": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgExec) => import("./group/v1/tx").MsgExecAmino; - fromAmino: (object: import("./group/v1/tx").MsgExecAmino) => import("./group/v1/tx").MsgExec; - }; - "/cosmos.group.v1.MsgLeaveGroup": { - aminoType: string; - toAmino: (message: import("./group/v1/tx").MsgLeaveGroup) => import("./group/v1/tx").MsgLeaveGroupAmino; - fromAmino: (object: import("./group/v1/tx").MsgLeaveGroupAmino) => import("./group/v1/tx").MsgLeaveGroup; - }; - "/cosmos.gov.v1beta1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: import("./gov/v1beta1/tx").MsgSubmitProposal) => import("./gov/v1beta1/tx").MsgSubmitProposalAmino; - fromAmino: (object: import("./gov/v1beta1/tx").MsgSubmitProposalAmino) => import("./gov/v1beta1/tx").MsgSubmitProposal; - }; - "/cosmos.gov.v1beta1.MsgVote": { - aminoType: string; - toAmino: (message: import("./gov/v1beta1/tx").MsgVote) => import("./gov/v1beta1/tx").MsgVoteAmino; - fromAmino: (object: import("./gov/v1beta1/tx").MsgVoteAmino) => import("./gov/v1beta1/tx").MsgVote; - }; - "/cosmos.gov.v1beta1.MsgVoteWeighted": { - aminoType: string; - toAmino: (message: import("./gov/v1beta1/tx").MsgVoteWeighted) => import("./gov/v1beta1/tx").MsgVoteWeightedAmino; - fromAmino: (object: import("./gov/v1beta1/tx").MsgVoteWeightedAmino) => import("./gov/v1beta1/tx").MsgVoteWeighted; - }; - "/cosmos.gov.v1beta1.MsgDeposit": { - aminoType: string; - toAmino: (message: import("./gov/v1beta1/tx").MsgDeposit) => import("./gov/v1beta1/tx").MsgDepositAmino; - fromAmino: (object: import("./gov/v1beta1/tx").MsgDepositAmino) => import("./gov/v1beta1/tx").MsgDeposit; - }; - "/cosmos.gov.v1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: import("./gov/v1/tx").MsgSubmitProposal) => import("./gov/v1/tx").MsgSubmitProposalAmino; - fromAmino: (object: import("./gov/v1/tx").MsgSubmitProposalAmino) => import("./gov/v1/tx").MsgSubmitProposal; - }; - "/cosmos.gov.v1.MsgExecLegacyContent": { - aminoType: string; - toAmino: (message: import("./gov/v1/tx").MsgExecLegacyContent) => import("./gov/v1/tx").MsgExecLegacyContentAmino; - fromAmino: (object: import("./gov/v1/tx").MsgExecLegacyContentAmino) => import("./gov/v1/tx").MsgExecLegacyContent; - }; - "/cosmos.gov.v1.MsgVote": { - aminoType: string; - toAmino: (message: import("./gov/v1/tx").MsgVote) => import("./gov/v1/tx").MsgVoteAmino; - fromAmino: (object: import("./gov/v1/tx").MsgVoteAmino) => import("./gov/v1/tx").MsgVote; - }; - "/cosmos.gov.v1.MsgVoteWeighted": { - aminoType: string; - toAmino: (message: import("./gov/v1/tx").MsgVoteWeighted) => import("./gov/v1/tx").MsgVoteWeightedAmino; - fromAmino: (object: import("./gov/v1/tx").MsgVoteWeightedAmino) => import("./gov/v1/tx").MsgVoteWeighted; - }; - "/cosmos.gov.v1.MsgDeposit": { - aminoType: string; - toAmino: (message: import("./gov/v1/tx").MsgDeposit) => import("./gov/v1/tx").MsgDepositAmino; - fromAmino: (object: import("./gov/v1/tx").MsgDepositAmino) => import("./gov/v1/tx").MsgDeposit; - }; - "/cosmos.feegrant.v1beta1.MsgGrantAllowance": { - aminoType: string; - toAmino: (message: import("./feegrant/v1beta1/tx").MsgGrantAllowance) => import("./feegrant/v1beta1/tx").MsgGrantAllowanceAmino; - fromAmino: (object: import("./feegrant/v1beta1/tx").MsgGrantAllowanceAmino) => import("./feegrant/v1beta1/tx").MsgGrantAllowance; - }; - "/cosmos.feegrant.v1beta1.MsgRevokeAllowance": { - aminoType: string; - toAmino: (message: import("./feegrant/v1beta1/tx").MsgRevokeAllowance) => import("./feegrant/v1beta1/tx").MsgRevokeAllowanceAmino; - fromAmino: (object: import("./feegrant/v1beta1/tx").MsgRevokeAllowanceAmino) => import("./feegrant/v1beta1/tx").MsgRevokeAllowance; - }; - "/cosmos.evidence.v1beta1.MsgSubmitEvidence": { - aminoType: string; - toAmino: (message: import("./evidence/v1beta1/tx").MsgSubmitEvidence) => import("./evidence/v1beta1/tx").MsgSubmitEvidenceAmino; - fromAmino: (object: import("./evidence/v1beta1/tx").MsgSubmitEvidenceAmino) => import("./evidence/v1beta1/tx").MsgSubmitEvidence; - }; - "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": { - aminoType: string; - toAmino: (message: import("./distribution/v1beta1/tx").MsgSetWithdrawAddress) => import("./distribution/v1beta1/tx").MsgSetWithdrawAddressAmino; - fromAmino: (object: import("./distribution/v1beta1/tx").MsgSetWithdrawAddressAmino) => import("./distribution/v1beta1/tx").MsgSetWithdrawAddress; - }; - "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": { - aminoType: string; - toAmino: (message: import("./distribution/v1beta1/tx").MsgWithdrawDelegatorReward) => import("./distribution/v1beta1/tx").MsgWithdrawDelegatorRewardAmino; - fromAmino: (object: import("./distribution/v1beta1/tx").MsgWithdrawDelegatorRewardAmino) => import("./distribution/v1beta1/tx").MsgWithdrawDelegatorReward; - }; - "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": { - aminoType: string; - toAmino: (message: import("./distribution/v1beta1/tx").MsgWithdrawValidatorCommission) => import("./distribution/v1beta1/tx").MsgWithdrawValidatorCommissionAmino; - fromAmino: (object: import("./distribution/v1beta1/tx").MsgWithdrawValidatorCommissionAmino) => import("./distribution/v1beta1/tx").MsgWithdrawValidatorCommission; - }; - "/cosmos.distribution.v1beta1.MsgFundCommunityPool": { - aminoType: string; - toAmino: (message: import("./distribution/v1beta1/tx").MsgFundCommunityPool) => import("./distribution/v1beta1/tx").MsgFundCommunityPoolAmino; - fromAmino: (object: import("./distribution/v1beta1/tx").MsgFundCommunityPoolAmino) => import("./distribution/v1beta1/tx").MsgFundCommunityPool; - }; - "/cosmos.crisis.v1beta1.MsgVerifyInvariant": { - aminoType: string; - toAmino: (message: import("./crisis/v1beta1/tx").MsgVerifyInvariant) => import("./crisis/v1beta1/tx").MsgVerifyInvariantAmino; - fromAmino: (object: import("./crisis/v1beta1/tx").MsgVerifyInvariantAmino) => import("./crisis/v1beta1/tx").MsgVerifyInvariant; - }; - "/cosmos.bank.v1beta1.MsgSend": { - aminoType: string; - toAmino: (message: import("./bank/v1beta1/tx").MsgSend) => import("./bank/v1beta1/tx").MsgSendAmino; - fromAmino: (object: import("./bank/v1beta1/tx").MsgSendAmino) => import("./bank/v1beta1/tx").MsgSend; - }; - "/cosmos.bank.v1beta1.MsgMultiSend": { - aminoType: string; - toAmino: (message: import("./bank/v1beta1/tx").MsgMultiSend) => import("./bank/v1beta1/tx").MsgMultiSendAmino; - fromAmino: (object: import("./bank/v1beta1/tx").MsgMultiSendAmino) => import("./bank/v1beta1/tx").MsgMultiSend; - }; - "/cosmos.authz.v1beta1.MsgGrant": { - aminoType: string; - toAmino: (message: import("./authz/v1beta1/tx").MsgGrant) => import("./authz/v1beta1/tx").MsgGrantAmino; - fromAmino: (object: import("./authz/v1beta1/tx").MsgGrantAmino) => import("./authz/v1beta1/tx").MsgGrant; - }; - "/cosmos.authz.v1beta1.MsgExec": { - aminoType: string; - toAmino: (message: import("./authz/v1beta1/tx").MsgExec) => import("./authz/v1beta1/tx").MsgExecAmino; - fromAmino: (object: import("./authz/v1beta1/tx").MsgExecAmino) => import("./authz/v1beta1/tx").MsgExec; - }; - "/cosmos.authz.v1beta1.MsgRevoke": { - aminoType: string; - toAmino: (message: import("./authz/v1beta1/tx").MsgRevoke) => import("./authz/v1beta1/tx").MsgRevokeAmino; - fromAmino: (object: import("./authz/v1beta1/tx").MsgRevokeAmino) => import("./authz/v1beta1/tx").MsgRevoke; - }; -}; -export declare const cosmosProtoRegistry: ReadonlyArray<[string, GeneratedType]>; -export declare const getSigningCosmosClientOptions: () => { - registry: Registry; - aminoTypes: AminoTypes; -}; -export declare const getSigningCosmosClient: ({ rpcEndpoint, signer }: { - rpcEndpoint: string | HttpEndpoint; - signer: OfflineSigner; -}) => Promise; diff --git a/examples/authz/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts b/examples/authz/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts deleted file mode 100644 index d9d45d21..00000000 --- a/examples/authz/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the crisis module's genesis state. */ -export interface GenesisState { - /** - * constant_fee is the fee used to verify the invariant in the crisis - * module. - */ - constantFee: Coin | undefined; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.crisis.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the crisis module's genesis state. */ -export interface GenesisStateAmino { - /** - * constant_fee is the fee used to verify the invariant in the crisis - * module. - */ - constant_fee?: CoinAmino | undefined; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the crisis module's genesis state. */ -export interface GenesisStateSDKType { - constant_fee: CoinSDKType | undefined; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts b/examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts deleted file mode 100644 index 71962f69..00000000 --- a/examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgVerifyInvariant } from "./tx"; -export declare const AminoConverter: { - "/cosmos.crisis.v1beta1.MsgVerifyInvariant": { - aminoType: string; - toAmino: (message: MsgVerifyInvariant) => import("./tx").MsgVerifyInvariantAmino; - fromAmino: (object: import("./tx").MsgVerifyInvariantAmino) => MsgVerifyInvariant; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.d.ts b/examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.d.ts deleted file mode 100644 index 78e33292..00000000 --- a/examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.d.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** MsgVerifyInvariant represents a message to verify a particular invariance. */ -export interface MsgVerifyInvariant { - sender: string; - invariantModuleName: string; - invariantRoute: string; -} -export interface MsgVerifyInvariantProtoMsg { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant"; - value: Uint8Array; -} -/** MsgVerifyInvariant represents a message to verify a particular invariance. */ -export interface MsgVerifyInvariantAmino { - sender?: string; - invariant_module_name?: string; - invariant_route?: string; -} -export interface MsgVerifyInvariantAminoMsg { - type: "cosmos-sdk/MsgVerifyInvariant"; - value: MsgVerifyInvariantAmino; -} -/** MsgVerifyInvariant represents a message to verify a particular invariance. */ -export interface MsgVerifyInvariantSDKType { - sender: string; - invariant_module_name: string; - invariant_route: string; -} -/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ -export interface MsgVerifyInvariantResponse { -} -export interface MsgVerifyInvariantResponseProtoMsg { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariantResponse"; - value: Uint8Array; -} -/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ -export interface MsgVerifyInvariantResponseAmino { -} -export interface MsgVerifyInvariantResponseAminoMsg { - type: "cosmos-sdk/MsgVerifyInvariantResponse"; - value: MsgVerifyInvariantResponseAmino; -} -/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ -export interface MsgVerifyInvariantResponseSDKType { -} -export declare const MsgVerifyInvariant: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgVerifyInvariant; - isSDK(o: any): o is MsgVerifyInvariantSDKType; - isAmino(o: any): o is MsgVerifyInvariantAmino; - encode(message: MsgVerifyInvariant, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgVerifyInvariant; - fromJSON(object: any): MsgVerifyInvariant; - toJSON(message: MsgVerifyInvariant): unknown; - fromPartial(object: DeepPartial): MsgVerifyInvariant; - fromSDK(object: MsgVerifyInvariantSDKType): MsgVerifyInvariant; - toSDK(message: MsgVerifyInvariant): MsgVerifyInvariantSDKType; - fromAmino(object: MsgVerifyInvariantAmino): MsgVerifyInvariant; - toAmino(message: MsgVerifyInvariant): MsgVerifyInvariantAmino; - fromAminoMsg(object: MsgVerifyInvariantAminoMsg): MsgVerifyInvariant; - toAminoMsg(message: MsgVerifyInvariant): MsgVerifyInvariantAminoMsg; - fromProtoMsg(message: MsgVerifyInvariantProtoMsg): MsgVerifyInvariant; - toProto(message: MsgVerifyInvariant): Uint8Array; - toProtoMsg(message: MsgVerifyInvariant): MsgVerifyInvariantProtoMsg; -}; -export declare const MsgVerifyInvariantResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgVerifyInvariantResponse; - isSDK(o: any): o is MsgVerifyInvariantResponseSDKType; - isAmino(o: any): o is MsgVerifyInvariantResponseAmino; - encode(_: MsgVerifyInvariantResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgVerifyInvariantResponse; - fromJSON(_: any): MsgVerifyInvariantResponse; - toJSON(_: MsgVerifyInvariantResponse): unknown; - fromPartial(_: DeepPartial): MsgVerifyInvariantResponse; - fromSDK(_: MsgVerifyInvariantResponseSDKType): MsgVerifyInvariantResponse; - toSDK(_: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseSDKType; - fromAmino(_: MsgVerifyInvariantResponseAmino): MsgVerifyInvariantResponse; - toAmino(_: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseAmino; - fromAminoMsg(object: MsgVerifyInvariantResponseAminoMsg): MsgVerifyInvariantResponse; - toAminoMsg(message: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseAminoMsg; - fromProtoMsg(message: MsgVerifyInvariantResponseProtoMsg): MsgVerifyInvariantResponse; - toProto(message: MsgVerifyInvariantResponse): Uint8Array; - toProtoMsg(message: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts b/examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts deleted file mode 100644 index 91ab4e10..00000000 --- a/examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgVerifyInvariant } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - verifyInvariant(value: MsgVerifyInvariant): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - verifyInvariant(value: MsgVerifyInvariant): { - typeUrl: string; - value: MsgVerifyInvariant; - }; - }; - toJSON: { - verifyInvariant(value: MsgVerifyInvariant): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - verifyInvariant(value: any): { - typeUrl: string; - value: MsgVerifyInvariant; - }; - }; - fromPartial: { - verifyInvariant(value: MsgVerifyInvariant): { - typeUrl: string; - value: MsgVerifyInvariant; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 5cde960e..00000000 --- a/examples/authz/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgVerifyInvariant } from "./tx"; -/** Msg defines the bank Msg service. */ -export interface Msg { - /** VerifyInvariant defines a method to verify a particular invariance. */ - verifyInvariant(signerAddress: string, message: MsgVerifyInvariant, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - verifyInvariant: (signerAddress: string, message: MsgVerifyInvariant, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/cosmos/crypto/ed25519/keys.d.ts b/examples/authz/types/codegen/cosmos/crypto/ed25519/keys.d.ts deleted file mode 100644 index cb4b9126..00000000 --- a/examples/authz/types/codegen/cosmos/crypto/ed25519/keys.d.ts +++ /dev/null @@ -1,111 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * PubKey is an ed25519 public key for handling Tendermint keys in SDK. - * It's needed for Any serialization and SDK compatibility. - * It must not be used in a non Tendermint key context because it doesn't implement - * ADR-28. Nevertheless, you will like to use ed25519 in app user level - * then you must create a new proto message and follow ADR-28 for Address construction. - */ -export interface PubKey { - key: Uint8Array; -} -export interface PubKeyProtoMsg { - typeUrl: "/cosmos.crypto.ed25519.PubKey"; - value: Uint8Array; -} -/** - * PubKey is an ed25519 public key for handling Tendermint keys in SDK. - * It's needed for Any serialization and SDK compatibility. - * It must not be used in a non Tendermint key context because it doesn't implement - * ADR-28. Nevertheless, you will like to use ed25519 in app user level - * then you must create a new proto message and follow ADR-28 for Address construction. - */ -export interface PubKeyAmino { - key?: string; -} -export interface PubKeyAminoMsg { - type: "cosmos-sdk/PubKey"; - value: PubKeyAmino; -} -/** - * PubKey is an ed25519 public key for handling Tendermint keys in SDK. - * It's needed for Any serialization and SDK compatibility. - * It must not be used in a non Tendermint key context because it doesn't implement - * ADR-28. Nevertheless, you will like to use ed25519 in app user level - * then you must create a new proto message and follow ADR-28 for Address construction. - */ -export interface PubKeySDKType { - key: Uint8Array; -} -/** - * Deprecated: PrivKey defines a ed25519 private key. - * NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. - */ -export interface PrivKey { - key: Uint8Array; -} -export interface PrivKeyProtoMsg { - typeUrl: "/cosmos.crypto.ed25519.PrivKey"; - value: Uint8Array; -} -/** - * Deprecated: PrivKey defines a ed25519 private key. - * NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. - */ -export interface PrivKeyAmino { - key?: string; -} -export interface PrivKeyAminoMsg { - type: "cosmos-sdk/PrivKey"; - value: PrivKeyAmino; -} -/** - * Deprecated: PrivKey defines a ed25519 private key. - * NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. - */ -export interface PrivKeySDKType { - key: Uint8Array; -} -export declare const PubKey: { - typeUrl: string; - aminoType: string; - is(o: any): o is PubKey; - isSDK(o: any): o is PubKeySDKType; - isAmino(o: any): o is PubKeyAmino; - encode(message: PubKey, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PubKey; - fromJSON(object: any): PubKey; - toJSON(message: PubKey): unknown; - fromPartial(object: DeepPartial): PubKey; - fromSDK(object: PubKeySDKType): PubKey; - toSDK(message: PubKey): PubKeySDKType; - fromAmino(object: PubKeyAmino): PubKey; - toAmino(message: PubKey): PubKeyAmino; - fromAminoMsg(object: PubKeyAminoMsg): PubKey; - toAminoMsg(message: PubKey): PubKeyAminoMsg; - fromProtoMsg(message: PubKeyProtoMsg): PubKey; - toProto(message: PubKey): Uint8Array; - toProtoMsg(message: PubKey): PubKeyProtoMsg; -}; -export declare const PrivKey: { - typeUrl: string; - aminoType: string; - is(o: any): o is PrivKey; - isSDK(o: any): o is PrivKeySDKType; - isAmino(o: any): o is PrivKeyAmino; - encode(message: PrivKey, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PrivKey; - fromJSON(object: any): PrivKey; - toJSON(message: PrivKey): unknown; - fromPartial(object: DeepPartial): PrivKey; - fromSDK(object: PrivKeySDKType): PrivKey; - toSDK(message: PrivKey): PrivKeySDKType; - fromAmino(object: PrivKeyAmino): PrivKey; - toAmino(message: PrivKey): PrivKeyAmino; - fromAminoMsg(object: PrivKeyAminoMsg): PrivKey; - toAminoMsg(message: PrivKey): PrivKeyAminoMsg; - fromProtoMsg(message: PrivKeyProtoMsg): PrivKey; - toProto(message: PrivKey): Uint8Array; - toProtoMsg(message: PrivKey): PrivKeyProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/crypto/hd/v1/hd.d.ts b/examples/authz/types/codegen/cosmos/crypto/hd/v1/hd.d.ts deleted file mode 100644 index aaa27136..00000000 --- a/examples/authz/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +++ /dev/null @@ -1,71 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** BIP44Params is used as path field in ledger item in Record. */ -export interface BIP44Params { - /** purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation */ - purpose: number; - /** coin_type is a constant that improves privacy */ - coinType: number; - /** account splits the key space into independent user identities */ - account: number; - /** - * change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal - * chain. - */ - change: boolean; - /** address_index is used as child index in BIP32 derivation */ - addressIndex: number; -} -export interface BIP44ParamsProtoMsg { - typeUrl: "/cosmos.crypto.hd.v1.BIP44Params"; - value: Uint8Array; -} -/** BIP44Params is used as path field in ledger item in Record. */ -export interface BIP44ParamsAmino { - /** purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation */ - purpose?: number; - /** coin_type is a constant that improves privacy */ - coin_type?: number; - /** account splits the key space into independent user identities */ - account?: number; - /** - * change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal - * chain. - */ - change?: boolean; - /** address_index is used as child index in BIP32 derivation */ - address_index?: number; -} -export interface BIP44ParamsAminoMsg { - type: "cosmos-sdk/BIP44Params"; - value: BIP44ParamsAmino; -} -/** BIP44Params is used as path field in ledger item in Record. */ -export interface BIP44ParamsSDKType { - purpose: number; - coin_type: number; - account: number; - change: boolean; - address_index: number; -} -export declare const BIP44Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is BIP44Params; - isSDK(o: any): o is BIP44ParamsSDKType; - isAmino(o: any): o is BIP44ParamsAmino; - encode(message: BIP44Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): BIP44Params; - fromJSON(object: any): BIP44Params; - toJSON(message: BIP44Params): unknown; - fromPartial(object: DeepPartial): BIP44Params; - fromSDK(object: BIP44ParamsSDKType): BIP44Params; - toSDK(message: BIP44Params): BIP44ParamsSDKType; - fromAmino(object: BIP44ParamsAmino): BIP44Params; - toAmino(message: BIP44Params): BIP44ParamsAmino; - fromAminoMsg(object: BIP44ParamsAminoMsg): BIP44Params; - toAminoMsg(message: BIP44Params): BIP44ParamsAminoMsg; - fromProtoMsg(message: BIP44ParamsProtoMsg): BIP44Params; - toProto(message: BIP44Params): Uint8Array; - toProtoMsg(message: BIP44Params): BIP44ParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/crypto/keyring/v1/record.d.ts b/examples/authz/types/codegen/cosmos/crypto/keyring/v1/record.d.ts deleted file mode 100644 index ea825b6e..00000000 --- a/examples/authz/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +++ /dev/null @@ -1,242 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { BIP44Params, BIP44ParamsAmino, BIP44ParamsSDKType } from "../../hd/v1/hd"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** Record is used for representing a key in the keyring. */ -export interface Record { - /** name represents a name of Record */ - name: string; - /** pub_key represents a public key in any format */ - pubKey?: Any | undefined; - /** local stores the public information about a locally stored key */ - local?: Record_Local | undefined; - /** ledger stores the public information about a Ledger key */ - ledger?: Record_Ledger | undefined; - /** Multi does not store any information. */ - multi?: Record_Multi | undefined; - /** Offline does not store any information. */ - offline?: Record_Offline | undefined; -} -export interface RecordProtoMsg { - typeUrl: "/cosmos.crypto.keyring.v1.Record"; - value: Uint8Array; -} -/** Record is used for representing a key in the keyring. */ -export interface RecordAmino { - /** name represents a name of Record */ - name?: string; - /** pub_key represents a public key in any format */ - pub_key?: AnyAmino | undefined; - /** local stores the public information about a locally stored key */ - local?: Record_LocalAmino | undefined; - /** ledger stores the public information about a Ledger key */ - ledger?: Record_LedgerAmino | undefined; - /** Multi does not store any information. */ - multi?: Record_MultiAmino | undefined; - /** Offline does not store any information. */ - offline?: Record_OfflineAmino | undefined; -} -export interface RecordAminoMsg { - type: "cosmos-sdk/Record"; - value: RecordAmino; -} -/** Record is used for representing a key in the keyring. */ -export interface RecordSDKType { - name: string; - pub_key?: AnySDKType | undefined; - local?: Record_LocalSDKType | undefined; - ledger?: Record_LedgerSDKType | undefined; - multi?: Record_MultiSDKType | undefined; - offline?: Record_OfflineSDKType | undefined; -} -/** - * Item is a keyring item stored in a keyring backend. - * Local item - */ -export interface Record_Local { - privKey?: Any | undefined; - privKeyType: string; -} -export interface Record_LocalProtoMsg { - typeUrl: "/cosmos.crypto.keyring.v1.Local"; - value: Uint8Array; -} -/** - * Item is a keyring item stored in a keyring backend. - * Local item - */ -export interface Record_LocalAmino { - priv_key?: AnyAmino | undefined; - priv_key_type?: string; -} -export interface Record_LocalAminoMsg { - type: "cosmos-sdk/Local"; - value: Record_LocalAmino; -} -/** - * Item is a keyring item stored in a keyring backend. - * Local item - */ -export interface Record_LocalSDKType { - priv_key?: AnySDKType | undefined; - priv_key_type: string; -} -/** Ledger item */ -export interface Record_Ledger { - path?: BIP44Params | undefined; -} -export interface Record_LedgerProtoMsg { - typeUrl: "/cosmos.crypto.keyring.v1.Ledger"; - value: Uint8Array; -} -/** Ledger item */ -export interface Record_LedgerAmino { - path?: BIP44ParamsAmino | undefined; -} -export interface Record_LedgerAminoMsg { - type: "cosmos-sdk/Ledger"; - value: Record_LedgerAmino; -} -/** Ledger item */ -export interface Record_LedgerSDKType { - path?: BIP44ParamsSDKType | undefined; -} -/** Multi item */ -export interface Record_Multi { -} -export interface Record_MultiProtoMsg { - typeUrl: "/cosmos.crypto.keyring.v1.Multi"; - value: Uint8Array; -} -/** Multi item */ -export interface Record_MultiAmino { -} -export interface Record_MultiAminoMsg { - type: "cosmos-sdk/Multi"; - value: Record_MultiAmino; -} -/** Multi item */ -export interface Record_MultiSDKType { -} -/** Offline item */ -export interface Record_Offline { -} -export interface Record_OfflineProtoMsg { - typeUrl: "/cosmos.crypto.keyring.v1.Offline"; - value: Uint8Array; -} -/** Offline item */ -export interface Record_OfflineAmino { -} -export interface Record_OfflineAminoMsg { - type: "cosmos-sdk/Offline"; - value: Record_OfflineAmino; -} -/** Offline item */ -export interface Record_OfflineSDKType { -} -export declare const Record: { - typeUrl: string; - aminoType: string; - is(o: any): o is Record; - isSDK(o: any): o is RecordSDKType; - isAmino(o: any): o is RecordAmino; - encode(message: Record, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Record; - fromJSON(object: any): Record; - toJSON(message: Record): unknown; - fromPartial(object: DeepPartial): Record; - fromSDK(object: RecordSDKType): Record; - toSDK(message: Record): RecordSDKType; - fromAmino(object: RecordAmino): Record; - toAmino(message: Record): RecordAmino; - fromAminoMsg(object: RecordAminoMsg): Record; - toAminoMsg(message: Record): RecordAminoMsg; - fromProtoMsg(message: RecordProtoMsg): Record; - toProto(message: Record): Uint8Array; - toProtoMsg(message: Record): RecordProtoMsg; -}; -export declare const Record_Local: { - typeUrl: string; - aminoType: string; - is(o: any): o is Record_Local; - isSDK(o: any): o is Record_LocalSDKType; - isAmino(o: any): o is Record_LocalAmino; - encode(message: Record_Local, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Record_Local; - fromJSON(object: any): Record_Local; - toJSON(message: Record_Local): unknown; - fromPartial(object: DeepPartial): Record_Local; - fromSDK(object: Record_LocalSDKType): Record_Local; - toSDK(message: Record_Local): Record_LocalSDKType; - fromAmino(object: Record_LocalAmino): Record_Local; - toAmino(message: Record_Local): Record_LocalAmino; - fromAminoMsg(object: Record_LocalAminoMsg): Record_Local; - toAminoMsg(message: Record_Local): Record_LocalAminoMsg; - fromProtoMsg(message: Record_LocalProtoMsg): Record_Local; - toProto(message: Record_Local): Uint8Array; - toProtoMsg(message: Record_Local): Record_LocalProtoMsg; -}; -export declare const Record_Ledger: { - typeUrl: string; - aminoType: string; - is(o: any): o is Record_Ledger; - isSDK(o: any): o is Record_LedgerSDKType; - isAmino(o: any): o is Record_LedgerAmino; - encode(message: Record_Ledger, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Record_Ledger; - fromJSON(object: any): Record_Ledger; - toJSON(message: Record_Ledger): unknown; - fromPartial(object: DeepPartial): Record_Ledger; - fromSDK(object: Record_LedgerSDKType): Record_Ledger; - toSDK(message: Record_Ledger): Record_LedgerSDKType; - fromAmino(object: Record_LedgerAmino): Record_Ledger; - toAmino(message: Record_Ledger): Record_LedgerAmino; - fromAminoMsg(object: Record_LedgerAminoMsg): Record_Ledger; - toAminoMsg(message: Record_Ledger): Record_LedgerAminoMsg; - fromProtoMsg(message: Record_LedgerProtoMsg): Record_Ledger; - toProto(message: Record_Ledger): Uint8Array; - toProtoMsg(message: Record_Ledger): Record_LedgerProtoMsg; -}; -export declare const Record_Multi: { - typeUrl: string; - aminoType: string; - is(o: any): o is Record_Multi; - isSDK(o: any): o is Record_MultiSDKType; - isAmino(o: any): o is Record_MultiAmino; - encode(_: Record_Multi, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Record_Multi; - fromJSON(_: any): Record_Multi; - toJSON(_: Record_Multi): unknown; - fromPartial(_: DeepPartial): Record_Multi; - fromSDK(_: Record_MultiSDKType): Record_Multi; - toSDK(_: Record_Multi): Record_MultiSDKType; - fromAmino(_: Record_MultiAmino): Record_Multi; - toAmino(_: Record_Multi): Record_MultiAmino; - fromAminoMsg(object: Record_MultiAminoMsg): Record_Multi; - toAminoMsg(message: Record_Multi): Record_MultiAminoMsg; - fromProtoMsg(message: Record_MultiProtoMsg): Record_Multi; - toProto(message: Record_Multi): Uint8Array; - toProtoMsg(message: Record_Multi): Record_MultiProtoMsg; -}; -export declare const Record_Offline: { - typeUrl: string; - aminoType: string; - is(o: any): o is Record_Offline; - isSDK(o: any): o is Record_OfflineSDKType; - isAmino(o: any): o is Record_OfflineAmino; - encode(_: Record_Offline, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Record_Offline; - fromJSON(_: any): Record_Offline; - toJSON(_: Record_Offline): unknown; - fromPartial(_: DeepPartial): Record_Offline; - fromSDK(_: Record_OfflineSDKType): Record_Offline; - toSDK(_: Record_Offline): Record_OfflineSDKType; - fromAmino(_: Record_OfflineAmino): Record_Offline; - toAmino(_: Record_Offline): Record_OfflineAmino; - fromAminoMsg(object: Record_OfflineAminoMsg): Record_Offline; - toAminoMsg(message: Record_Offline): Record_OfflineAminoMsg; - fromProtoMsg(message: Record_OfflineProtoMsg): Record_Offline; - toProto(message: Record_Offline): Uint8Array; - toProtoMsg(message: Record_Offline): Record_OfflineProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/crypto/multisig/keys.d.ts b/examples/authz/types/codegen/cosmos/crypto/multisig/keys.d.ts deleted file mode 100644 index 379c58b9..00000000 --- a/examples/authz/types/codegen/cosmos/crypto/multisig/keys.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * LegacyAminoPubKey specifies a public key type - * which nests multiple public keys and a threshold, - * it uses legacy amino address rules. - */ -export interface LegacyAminoPubKey { - threshold: number; - publicKeys: Any[]; -} -export interface LegacyAminoPubKeyProtoMsg { - typeUrl: "/cosmos.crypto.multisig.LegacyAminoPubKey"; - value: Uint8Array; -} -/** - * LegacyAminoPubKey specifies a public key type - * which nests multiple public keys and a threshold, - * it uses legacy amino address rules. - */ -export interface LegacyAminoPubKeyAmino { - threshold?: number; - public_keys?: AnyAmino[]; -} -export interface LegacyAminoPubKeyAminoMsg { - type: "cosmos-sdk/LegacyAminoPubKey"; - value: LegacyAminoPubKeyAmino; -} -/** - * LegacyAminoPubKey specifies a public key type - * which nests multiple public keys and a threshold, - * it uses legacy amino address rules. - */ -export interface LegacyAminoPubKeySDKType { - threshold: number; - public_keys: AnySDKType[]; -} -export declare const LegacyAminoPubKey: { - typeUrl: string; - aminoType: string; - is(o: any): o is LegacyAminoPubKey; - isSDK(o: any): o is LegacyAminoPubKeySDKType; - isAmino(o: any): o is LegacyAminoPubKeyAmino; - encode(message: LegacyAminoPubKey, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): LegacyAminoPubKey; - fromJSON(object: any): LegacyAminoPubKey; - toJSON(message: LegacyAminoPubKey): unknown; - fromPartial(object: DeepPartial): LegacyAminoPubKey; - fromSDK(object: LegacyAminoPubKeySDKType): LegacyAminoPubKey; - toSDK(message: LegacyAminoPubKey): LegacyAminoPubKeySDKType; - fromAmino(object: LegacyAminoPubKeyAmino): LegacyAminoPubKey; - toAmino(message: LegacyAminoPubKey): LegacyAminoPubKeyAmino; - fromAminoMsg(object: LegacyAminoPubKeyAminoMsg): LegacyAminoPubKey; - toAminoMsg(message: LegacyAminoPubKey): LegacyAminoPubKeyAminoMsg; - fromProtoMsg(message: LegacyAminoPubKeyProtoMsg): LegacyAminoPubKey; - toProto(message: LegacyAminoPubKey): Uint8Array; - toProtoMsg(message: LegacyAminoPubKey): LegacyAminoPubKeyProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts b/examples/authz/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts deleted file mode 100644 index 29d68a32..00000000 --- a/examples/authz/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +++ /dev/null @@ -1,114 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey. - * See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers - * signed and with which modes. - */ -export interface MultiSignature { - signatures: Uint8Array[]; -} -export interface MultiSignatureProtoMsg { - typeUrl: "/cosmos.crypto.multisig.v1beta1.MultiSignature"; - value: Uint8Array; -} -/** - * MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey. - * See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers - * signed and with which modes. - */ -export interface MultiSignatureAmino { - signatures?: string[]; -} -export interface MultiSignatureAminoMsg { - type: "cosmos-sdk/MultiSignature"; - value: MultiSignatureAmino; -} -/** - * MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey. - * See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers - * signed and with which modes. - */ -export interface MultiSignatureSDKType { - signatures: Uint8Array[]; -} -/** - * CompactBitArray is an implementation of a space efficient bit array. - * This is used to ensure that the encoded data takes up a minimal amount of - * space after proto encoding. - * This is not thread safe, and is not intended for concurrent usage. - */ -export interface CompactBitArray { - extraBitsStored: number; - elems: Uint8Array; -} -export interface CompactBitArrayProtoMsg { - typeUrl: "/cosmos.crypto.multisig.v1beta1.CompactBitArray"; - value: Uint8Array; -} -/** - * CompactBitArray is an implementation of a space efficient bit array. - * This is used to ensure that the encoded data takes up a minimal amount of - * space after proto encoding. - * This is not thread safe, and is not intended for concurrent usage. - */ -export interface CompactBitArrayAmino { - extra_bits_stored?: number; - elems?: string; -} -export interface CompactBitArrayAminoMsg { - type: "cosmos-sdk/CompactBitArray"; - value: CompactBitArrayAmino; -} -/** - * CompactBitArray is an implementation of a space efficient bit array. - * This is used to ensure that the encoded data takes up a minimal amount of - * space after proto encoding. - * This is not thread safe, and is not intended for concurrent usage. - */ -export interface CompactBitArraySDKType { - extra_bits_stored: number; - elems: Uint8Array; -} -export declare const MultiSignature: { - typeUrl: string; - aminoType: string; - is(o: any): o is MultiSignature; - isSDK(o: any): o is MultiSignatureSDKType; - isAmino(o: any): o is MultiSignatureAmino; - encode(message: MultiSignature, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MultiSignature; - fromJSON(object: any): MultiSignature; - toJSON(message: MultiSignature): unknown; - fromPartial(object: DeepPartial): MultiSignature; - fromSDK(object: MultiSignatureSDKType): MultiSignature; - toSDK(message: MultiSignature): MultiSignatureSDKType; - fromAmino(object: MultiSignatureAmino): MultiSignature; - toAmino(message: MultiSignature): MultiSignatureAmino; - fromAminoMsg(object: MultiSignatureAminoMsg): MultiSignature; - toAminoMsg(message: MultiSignature): MultiSignatureAminoMsg; - fromProtoMsg(message: MultiSignatureProtoMsg): MultiSignature; - toProto(message: MultiSignature): Uint8Array; - toProtoMsg(message: MultiSignature): MultiSignatureProtoMsg; -}; -export declare const CompactBitArray: { - typeUrl: string; - aminoType: string; - is(o: any): o is CompactBitArray; - isSDK(o: any): o is CompactBitArraySDKType; - isAmino(o: any): o is CompactBitArrayAmino; - encode(message: CompactBitArray, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CompactBitArray; - fromJSON(object: any): CompactBitArray; - toJSON(message: CompactBitArray): unknown; - fromPartial(object: DeepPartial): CompactBitArray; - fromSDK(object: CompactBitArraySDKType): CompactBitArray; - toSDK(message: CompactBitArray): CompactBitArraySDKType; - fromAmino(object: CompactBitArrayAmino): CompactBitArray; - toAmino(message: CompactBitArray): CompactBitArrayAmino; - fromAminoMsg(object: CompactBitArrayAminoMsg): CompactBitArray; - toAminoMsg(message: CompactBitArray): CompactBitArrayAminoMsg; - fromProtoMsg(message: CompactBitArrayProtoMsg): CompactBitArray; - toProto(message: CompactBitArray): Uint8Array; - toProtoMsg(message: CompactBitArray): CompactBitArrayProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/crypto/secp256k1/keys.d.ts b/examples/authz/types/codegen/cosmos/crypto/secp256k1/keys.d.ts deleted file mode 100644 index 6232aa8d..00000000 --- a/examples/authz/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * PubKey defines a secp256k1 public key - * Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte - * if the y-coordinate is the lexicographically largest of the two associated with - * the x-coordinate. Otherwise the first byte is a 0x03. - * This prefix is followed with the x-coordinate. - */ -export interface PubKey { - key: Uint8Array; -} -export interface PubKeyProtoMsg { - typeUrl: "/cosmos.crypto.secp256k1.PubKey"; - value: Uint8Array; -} -/** - * PubKey defines a secp256k1 public key - * Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte - * if the y-coordinate is the lexicographically largest of the two associated with - * the x-coordinate. Otherwise the first byte is a 0x03. - * This prefix is followed with the x-coordinate. - */ -export interface PubKeyAmino { - key?: string; -} -export interface PubKeyAminoMsg { - type: "cosmos-sdk/PubKey"; - value: PubKeyAmino; -} -/** - * PubKey defines a secp256k1 public key - * Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte - * if the y-coordinate is the lexicographically largest of the two associated with - * the x-coordinate. Otherwise the first byte is a 0x03. - * This prefix is followed with the x-coordinate. - */ -export interface PubKeySDKType { - key: Uint8Array; -} -/** PrivKey defines a secp256k1 private key. */ -export interface PrivKey { - key: Uint8Array; -} -export interface PrivKeyProtoMsg { - typeUrl: "/cosmos.crypto.secp256k1.PrivKey"; - value: Uint8Array; -} -/** PrivKey defines a secp256k1 private key. */ -export interface PrivKeyAmino { - key?: string; -} -export interface PrivKeyAminoMsg { - type: "cosmos-sdk/PrivKey"; - value: PrivKeyAmino; -} -/** PrivKey defines a secp256k1 private key. */ -export interface PrivKeySDKType { - key: Uint8Array; -} -export declare const PubKey: { - typeUrl: string; - aminoType: string; - is(o: any): o is PubKey; - isSDK(o: any): o is PubKeySDKType; - isAmino(o: any): o is PubKeyAmino; - encode(message: PubKey, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PubKey; - fromJSON(object: any): PubKey; - toJSON(message: PubKey): unknown; - fromPartial(object: DeepPartial): PubKey; - fromSDK(object: PubKeySDKType): PubKey; - toSDK(message: PubKey): PubKeySDKType; - fromAmino(object: PubKeyAmino): PubKey; - toAmino(message: PubKey): PubKeyAmino; - fromAminoMsg(object: PubKeyAminoMsg): PubKey; - toAminoMsg(message: PubKey): PubKeyAminoMsg; - fromProtoMsg(message: PubKeyProtoMsg): PubKey; - toProto(message: PubKey): Uint8Array; - toProtoMsg(message: PubKey): PubKeyProtoMsg; -}; -export declare const PrivKey: { - typeUrl: string; - aminoType: string; - is(o: any): o is PrivKey; - isSDK(o: any): o is PrivKeySDKType; - isAmino(o: any): o is PrivKeyAmino; - encode(message: PrivKey, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PrivKey; - fromJSON(object: any): PrivKey; - toJSON(message: PrivKey): unknown; - fromPartial(object: DeepPartial): PrivKey; - fromSDK(object: PrivKeySDKType): PrivKey; - toSDK(message: PrivKey): PrivKeySDKType; - fromAmino(object: PrivKeyAmino): PrivKey; - toAmino(message: PrivKey): PrivKeyAmino; - fromAminoMsg(object: PrivKeyAminoMsg): PrivKey; - toAminoMsg(message: PrivKey): PrivKeyAminoMsg; - fromProtoMsg(message: PrivKeyProtoMsg): PrivKey; - toProto(message: PrivKey): Uint8Array; - toProtoMsg(message: PrivKey): PrivKeyProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/crypto/secp256r1/keys.d.ts b/examples/authz/types/codegen/cosmos/crypto/secp256r1/keys.d.ts deleted file mode 100644 index 09114dad..00000000 --- a/examples/authz/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** PubKey defines a secp256r1 ECDSA public key. */ -export interface PubKey { - /** - * Point on secp256r1 curve in a compressed representation as specified in section - * 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998 - */ - key: Uint8Array; -} -export interface PubKeyProtoMsg { - typeUrl: "/cosmos.crypto.secp256r1.PubKey"; - value: Uint8Array; -} -/** PubKey defines a secp256r1 ECDSA public key. */ -export interface PubKeyAmino { - /** - * Point on secp256r1 curve in a compressed representation as specified in section - * 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998 - */ - key?: string; -} -export interface PubKeyAminoMsg { - type: "cosmos-sdk/PubKey"; - value: PubKeyAmino; -} -/** PubKey defines a secp256r1 ECDSA public key. */ -export interface PubKeySDKType { - key: Uint8Array; -} -/** PrivKey defines a secp256r1 ECDSA private key. */ -export interface PrivKey { - /** secret number serialized using big-endian encoding */ - secret: Uint8Array; -} -export interface PrivKeyProtoMsg { - typeUrl: "/cosmos.crypto.secp256r1.PrivKey"; - value: Uint8Array; -} -/** PrivKey defines a secp256r1 ECDSA private key. */ -export interface PrivKeyAmino { - /** secret number serialized using big-endian encoding */ - secret?: string; -} -export interface PrivKeyAminoMsg { - type: "cosmos-sdk/PrivKey"; - value: PrivKeyAmino; -} -/** PrivKey defines a secp256r1 ECDSA private key. */ -export interface PrivKeySDKType { - secret: Uint8Array; -} -export declare const PubKey: { - typeUrl: string; - aminoType: string; - is(o: any): o is PubKey; - isSDK(o: any): o is PubKeySDKType; - isAmino(o: any): o is PubKeyAmino; - encode(message: PubKey, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PubKey; - fromJSON(object: any): PubKey; - toJSON(message: PubKey): unknown; - fromPartial(object: DeepPartial): PubKey; - fromSDK(object: PubKeySDKType): PubKey; - toSDK(message: PubKey): PubKeySDKType; - fromAmino(object: PubKeyAmino): PubKey; - toAmino(message: PubKey): PubKeyAmino; - fromAminoMsg(object: PubKeyAminoMsg): PubKey; - toAminoMsg(message: PubKey): PubKeyAminoMsg; - fromProtoMsg(message: PubKeyProtoMsg): PubKey; - toProto(message: PubKey): Uint8Array; - toProtoMsg(message: PubKey): PubKeyProtoMsg; -}; -export declare const PrivKey: { - typeUrl: string; - aminoType: string; - is(o: any): o is PrivKey; - isSDK(o: any): o is PrivKeySDKType; - isAmino(o: any): o is PrivKeyAmino; - encode(message: PrivKey, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PrivKey; - fromJSON(object: any): PrivKey; - toJSON(message: PrivKey): unknown; - fromPartial(object: DeepPartial): PrivKey; - fromSDK(object: PrivKeySDKType): PrivKey; - toSDK(message: PrivKey): PrivKeySDKType; - fromAmino(object: PrivKeyAmino): PrivKey; - toAmino(message: PrivKey): PrivKeyAmino; - fromAminoMsg(object: PrivKeyAminoMsg): PrivKey; - toAminoMsg(message: PrivKey): PrivKeyAminoMsg; - fromProtoMsg(message: PrivKeyProtoMsg): PrivKey; - toProto(message: PrivKey): Uint8Array; - toProtoMsg(message: PrivKey): PrivKeyProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts b/examples/authz/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts deleted file mode 100644 index 20e2b5f9..00000000 --- a/examples/authz/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +++ /dev/null @@ -1,682 +0,0 @@ -import { DecCoin, DecCoinAmino, DecCoinSDKType, Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** Params defines the set of params for the distribution module. */ -export interface Params { - communityTax: string; - baseProposerReward: string; - bonusProposerReward: string; - withdrawAddrEnabled: boolean; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.Params"; - value: Uint8Array; -} -/** Params defines the set of params for the distribution module. */ -export interface ParamsAmino { - community_tax?: string; - base_proposer_reward?: string; - bonus_proposer_reward?: string; - withdraw_addr_enabled?: boolean; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params defines the set of params for the distribution module. */ -export interface ParamsSDKType { - community_tax: string; - base_proposer_reward: string; - bonus_proposer_reward: string; - withdraw_addr_enabled: boolean; -} -/** - * ValidatorHistoricalRewards represents historical rewards for a validator. - * Height is implicit within the store key. - * Cumulative reward ratio is the sum from the zeroeth period - * until this period of rewards / tokens, per the spec. - * The reference count indicates the number of objects - * which might need to reference this historical entry at any point. - * ReferenceCount = - * number of outstanding delegations which ended the associated period (and - * might need to read that record) - * + number of slashes which ended the associated period (and might need to - * read that record) - * + one per validator for the zeroeth period, set on initialization - */ -export interface ValidatorHistoricalRewards { - cumulativeRewardRatio: DecCoin[]; - referenceCount: number; -} -export interface ValidatorHistoricalRewardsProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewards"; - value: Uint8Array; -} -/** - * ValidatorHistoricalRewards represents historical rewards for a validator. - * Height is implicit within the store key. - * Cumulative reward ratio is the sum from the zeroeth period - * until this period of rewards / tokens, per the spec. - * The reference count indicates the number of objects - * which might need to reference this historical entry at any point. - * ReferenceCount = - * number of outstanding delegations which ended the associated period (and - * might need to read that record) - * + number of slashes which ended the associated period (and might need to - * read that record) - * + one per validator for the zeroeth period, set on initialization - */ -export interface ValidatorHistoricalRewardsAmino { - cumulative_reward_ratio?: DecCoinAmino[]; - reference_count?: number; -} -export interface ValidatorHistoricalRewardsAminoMsg { - type: "cosmos-sdk/ValidatorHistoricalRewards"; - value: ValidatorHistoricalRewardsAmino; -} -/** - * ValidatorHistoricalRewards represents historical rewards for a validator. - * Height is implicit within the store key. - * Cumulative reward ratio is the sum from the zeroeth period - * until this period of rewards / tokens, per the spec. - * The reference count indicates the number of objects - * which might need to reference this historical entry at any point. - * ReferenceCount = - * number of outstanding delegations which ended the associated period (and - * might need to read that record) - * + number of slashes which ended the associated period (and might need to - * read that record) - * + one per validator for the zeroeth period, set on initialization - */ -export interface ValidatorHistoricalRewardsSDKType { - cumulative_reward_ratio: DecCoinSDKType[]; - reference_count: number; -} -/** - * ValidatorCurrentRewards represents current rewards and current - * period for a validator kept as a running counter and incremented - * each block as long as the validator's tokens remain constant. - */ -export interface ValidatorCurrentRewards { - rewards: DecCoin[]; - period: bigint; -} -export interface ValidatorCurrentRewardsProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewards"; - value: Uint8Array; -} -/** - * ValidatorCurrentRewards represents current rewards and current - * period for a validator kept as a running counter and incremented - * each block as long as the validator's tokens remain constant. - */ -export interface ValidatorCurrentRewardsAmino { - rewards?: DecCoinAmino[]; - period?: string; -} -export interface ValidatorCurrentRewardsAminoMsg { - type: "cosmos-sdk/ValidatorCurrentRewards"; - value: ValidatorCurrentRewardsAmino; -} -/** - * ValidatorCurrentRewards represents current rewards and current - * period for a validator kept as a running counter and incremented - * each block as long as the validator's tokens remain constant. - */ -export interface ValidatorCurrentRewardsSDKType { - rewards: DecCoinSDKType[]; - period: bigint; -} -/** - * ValidatorAccumulatedCommission represents accumulated commission - * for a validator kept as a running counter, can be withdrawn at any time. - */ -export interface ValidatorAccumulatedCommission { - commission: DecCoin[]; -} -export interface ValidatorAccumulatedCommissionProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission"; - value: Uint8Array; -} -/** - * ValidatorAccumulatedCommission represents accumulated commission - * for a validator kept as a running counter, can be withdrawn at any time. - */ -export interface ValidatorAccumulatedCommissionAmino { - commission?: DecCoinAmino[]; -} -export interface ValidatorAccumulatedCommissionAminoMsg { - type: "cosmos-sdk/ValidatorAccumulatedCommission"; - value: ValidatorAccumulatedCommissionAmino; -} -/** - * ValidatorAccumulatedCommission represents accumulated commission - * for a validator kept as a running counter, can be withdrawn at any time. - */ -export interface ValidatorAccumulatedCommissionSDKType { - commission: DecCoinSDKType[]; -} -/** - * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards - * for a validator inexpensive to track, allows simple sanity checks. - */ -export interface ValidatorOutstandingRewards { - rewards: DecCoin[]; -} -export interface ValidatorOutstandingRewardsProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewards"; - value: Uint8Array; -} -/** - * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards - * for a validator inexpensive to track, allows simple sanity checks. - */ -export interface ValidatorOutstandingRewardsAmino { - rewards?: DecCoinAmino[]; -} -export interface ValidatorOutstandingRewardsAminoMsg { - type: "cosmos-sdk/ValidatorOutstandingRewards"; - value: ValidatorOutstandingRewardsAmino; -} -/** - * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards - * for a validator inexpensive to track, allows simple sanity checks. - */ -export interface ValidatorOutstandingRewardsSDKType { - rewards: DecCoinSDKType[]; -} -/** - * ValidatorSlashEvent represents a validator slash event. - * Height is implicit within the store key. - * This is needed to calculate appropriate amount of staking tokens - * for delegations which are withdrawn after a slash has occurred. - */ -export interface ValidatorSlashEvent { - validatorPeriod: bigint; - fraction: string; -} -export interface ValidatorSlashEventProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvent"; - value: Uint8Array; -} -/** - * ValidatorSlashEvent represents a validator slash event. - * Height is implicit within the store key. - * This is needed to calculate appropriate amount of staking tokens - * for delegations which are withdrawn after a slash has occurred. - */ -export interface ValidatorSlashEventAmino { - validator_period?: string; - fraction?: string; -} -export interface ValidatorSlashEventAminoMsg { - type: "cosmos-sdk/ValidatorSlashEvent"; - value: ValidatorSlashEventAmino; -} -/** - * ValidatorSlashEvent represents a validator slash event. - * Height is implicit within the store key. - * This is needed to calculate appropriate amount of staking tokens - * for delegations which are withdrawn after a slash has occurred. - */ -export interface ValidatorSlashEventSDKType { - validator_period: bigint; - fraction: string; -} -/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */ -export interface ValidatorSlashEvents { - validatorSlashEvents: ValidatorSlashEvent[]; -} -export interface ValidatorSlashEventsProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvents"; - value: Uint8Array; -} -/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */ -export interface ValidatorSlashEventsAmino { - validator_slash_events?: ValidatorSlashEventAmino[]; -} -export interface ValidatorSlashEventsAminoMsg { - type: "cosmos-sdk/ValidatorSlashEvents"; - value: ValidatorSlashEventsAmino; -} -/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */ -export interface ValidatorSlashEventsSDKType { - validator_slash_events: ValidatorSlashEventSDKType[]; -} -/** FeePool is the global fee pool for distribution. */ -export interface FeePool { - communityPool: DecCoin[]; -} -export interface FeePoolProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.FeePool"; - value: Uint8Array; -} -/** FeePool is the global fee pool for distribution. */ -export interface FeePoolAmino { - community_pool?: DecCoinAmino[]; -} -export interface FeePoolAminoMsg { - type: "cosmos-sdk/FeePool"; - value: FeePoolAmino; -} -/** FeePool is the global fee pool for distribution. */ -export interface FeePoolSDKType { - community_pool: DecCoinSDKType[]; -} -/** - * CommunityPoolSpendProposal details a proposal for use of community funds, - * together with how many coins are proposed to be spent, and to which - * recipient account. - */ -export interface CommunityPoolSpendProposal { - $typeUrl?: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal"; - title: string; - description: string; - recipient: string; - amount: Coin[]; -} -export interface CommunityPoolSpendProposalProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal"; - value: Uint8Array; -} -/** - * CommunityPoolSpendProposal details a proposal for use of community funds, - * together with how many coins are proposed to be spent, and to which - * recipient account. - */ -export interface CommunityPoolSpendProposalAmino { - title?: string; - description?: string; - recipient?: string; - amount?: CoinAmino[]; -} -export interface CommunityPoolSpendProposalAminoMsg { - type: "cosmos-sdk/CommunityPoolSpendProposal"; - value: CommunityPoolSpendProposalAmino; -} -/** - * CommunityPoolSpendProposal details a proposal for use of community funds, - * together with how many coins are proposed to be spent, and to which - * recipient account. - */ -export interface CommunityPoolSpendProposalSDKType { - $typeUrl?: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal"; - title: string; - description: string; - recipient: string; - amount: CoinSDKType[]; -} -/** - * DelegatorStartingInfo represents the starting info for a delegator reward - * period. It tracks the previous validator period, the delegation's amount of - * staking token, and the creation height (to check later on if any slashes have - * occurred). NOTE: Even though validators are slashed to whole staking tokens, - * the delegators within the validator may be left with less than a full token, - * thus sdk.Dec is used. - */ -export interface DelegatorStartingInfo { - previousPeriod: bigint; - stake: string; - height: bigint; -} -export interface DelegatorStartingInfoProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfo"; - value: Uint8Array; -} -/** - * DelegatorStartingInfo represents the starting info for a delegator reward - * period. It tracks the previous validator period, the delegation's amount of - * staking token, and the creation height (to check later on if any slashes have - * occurred). NOTE: Even though validators are slashed to whole staking tokens, - * the delegators within the validator may be left with less than a full token, - * thus sdk.Dec is used. - */ -export interface DelegatorStartingInfoAmino { - previous_period?: string; - stake?: string; - height?: string; -} -export interface DelegatorStartingInfoAminoMsg { - type: "cosmos-sdk/DelegatorStartingInfo"; - value: DelegatorStartingInfoAmino; -} -/** - * DelegatorStartingInfo represents the starting info for a delegator reward - * period. It tracks the previous validator period, the delegation's amount of - * staking token, and the creation height (to check later on if any slashes have - * occurred). NOTE: Even though validators are slashed to whole staking tokens, - * the delegators within the validator may be left with less than a full token, - * thus sdk.Dec is used. - */ -export interface DelegatorStartingInfoSDKType { - previous_period: bigint; - stake: string; - height: bigint; -} -/** - * DelegationDelegatorReward represents the properties - * of a delegator's delegation reward. - */ -export interface DelegationDelegatorReward { - validatorAddress: string; - reward: DecCoin[]; -} -export interface DelegationDelegatorRewardProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.DelegationDelegatorReward"; - value: Uint8Array; -} -/** - * DelegationDelegatorReward represents the properties - * of a delegator's delegation reward. - */ -export interface DelegationDelegatorRewardAmino { - validator_address?: string; - reward?: DecCoinAmino[]; -} -export interface DelegationDelegatorRewardAminoMsg { - type: "cosmos-sdk/DelegationDelegatorReward"; - value: DelegationDelegatorRewardAmino; -} -/** - * DelegationDelegatorReward represents the properties - * of a delegator's delegation reward. - */ -export interface DelegationDelegatorRewardSDKType { - validator_address: string; - reward: DecCoinSDKType[]; -} -/** - * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal - * with a deposit - */ -export interface CommunityPoolSpendProposalWithDeposit { - $typeUrl?: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit"; - title: string; - description: string; - recipient: string; - amount: string; - deposit: string; -} -export interface CommunityPoolSpendProposalWithDepositProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit"; - value: Uint8Array; -} -/** - * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal - * with a deposit - */ -export interface CommunityPoolSpendProposalWithDepositAmino { - title?: string; - description?: string; - recipient?: string; - amount?: string; - deposit?: string; -} -export interface CommunityPoolSpendProposalWithDepositAminoMsg { - type: "cosmos-sdk/CommunityPoolSpendProposalWithDeposit"; - value: CommunityPoolSpendProposalWithDepositAmino; -} -/** - * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal - * with a deposit - */ -export interface CommunityPoolSpendProposalWithDepositSDKType { - $typeUrl?: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit"; - title: string; - description: string; - recipient: string; - amount: string; - deposit: string; -} -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; -export declare const ValidatorHistoricalRewards: { - typeUrl: string; - aminoType: string; - is(o: any): o is ValidatorHistoricalRewards; - isSDK(o: any): o is ValidatorHistoricalRewardsSDKType; - isAmino(o: any): o is ValidatorHistoricalRewardsAmino; - encode(message: ValidatorHistoricalRewards, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorHistoricalRewards; - fromJSON(object: any): ValidatorHistoricalRewards; - toJSON(message: ValidatorHistoricalRewards): unknown; - fromPartial(object: DeepPartial): ValidatorHistoricalRewards; - fromSDK(object: ValidatorHistoricalRewardsSDKType): ValidatorHistoricalRewards; - toSDK(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsSDKType; - fromAmino(object: ValidatorHistoricalRewardsAmino): ValidatorHistoricalRewards; - toAmino(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsAmino; - fromAminoMsg(object: ValidatorHistoricalRewardsAminoMsg): ValidatorHistoricalRewards; - toAminoMsg(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsAminoMsg; - fromProtoMsg(message: ValidatorHistoricalRewardsProtoMsg): ValidatorHistoricalRewards; - toProto(message: ValidatorHistoricalRewards): Uint8Array; - toProtoMsg(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsProtoMsg; -}; -export declare const ValidatorCurrentRewards: { - typeUrl: string; - aminoType: string; - is(o: any): o is ValidatorCurrentRewards; - isSDK(o: any): o is ValidatorCurrentRewardsSDKType; - isAmino(o: any): o is ValidatorCurrentRewardsAmino; - encode(message: ValidatorCurrentRewards, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorCurrentRewards; - fromJSON(object: any): ValidatorCurrentRewards; - toJSON(message: ValidatorCurrentRewards): unknown; - fromPartial(object: DeepPartial): ValidatorCurrentRewards; - fromSDK(object: ValidatorCurrentRewardsSDKType): ValidatorCurrentRewards; - toSDK(message: ValidatorCurrentRewards): ValidatorCurrentRewardsSDKType; - fromAmino(object: ValidatorCurrentRewardsAmino): ValidatorCurrentRewards; - toAmino(message: ValidatorCurrentRewards): ValidatorCurrentRewardsAmino; - fromAminoMsg(object: ValidatorCurrentRewardsAminoMsg): ValidatorCurrentRewards; - toAminoMsg(message: ValidatorCurrentRewards): ValidatorCurrentRewardsAminoMsg; - fromProtoMsg(message: ValidatorCurrentRewardsProtoMsg): ValidatorCurrentRewards; - toProto(message: ValidatorCurrentRewards): Uint8Array; - toProtoMsg(message: ValidatorCurrentRewards): ValidatorCurrentRewardsProtoMsg; -}; -export declare const ValidatorAccumulatedCommission: { - typeUrl: string; - aminoType: string; - is(o: any): o is ValidatorAccumulatedCommission; - isSDK(o: any): o is ValidatorAccumulatedCommissionSDKType; - isAmino(o: any): o is ValidatorAccumulatedCommissionAmino; - encode(message: ValidatorAccumulatedCommission, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorAccumulatedCommission; - fromJSON(object: any): ValidatorAccumulatedCommission; - toJSON(message: ValidatorAccumulatedCommission): unknown; - fromPartial(object: DeepPartial): ValidatorAccumulatedCommission; - fromSDK(object: ValidatorAccumulatedCommissionSDKType): ValidatorAccumulatedCommission; - toSDK(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionSDKType; - fromAmino(object: ValidatorAccumulatedCommissionAmino): ValidatorAccumulatedCommission; - toAmino(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionAmino; - fromAminoMsg(object: ValidatorAccumulatedCommissionAminoMsg): ValidatorAccumulatedCommission; - toAminoMsg(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionAminoMsg; - fromProtoMsg(message: ValidatorAccumulatedCommissionProtoMsg): ValidatorAccumulatedCommission; - toProto(message: ValidatorAccumulatedCommission): Uint8Array; - toProtoMsg(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionProtoMsg; -}; -export declare const ValidatorOutstandingRewards: { - typeUrl: string; - aminoType: string; - is(o: any): o is ValidatorOutstandingRewards; - isSDK(o: any): o is ValidatorOutstandingRewardsSDKType; - isAmino(o: any): o is ValidatorOutstandingRewardsAmino; - encode(message: ValidatorOutstandingRewards, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorOutstandingRewards; - fromJSON(object: any): ValidatorOutstandingRewards; - toJSON(message: ValidatorOutstandingRewards): unknown; - fromPartial(object: DeepPartial): ValidatorOutstandingRewards; - fromSDK(object: ValidatorOutstandingRewardsSDKType): ValidatorOutstandingRewards; - toSDK(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsSDKType; - fromAmino(object: ValidatorOutstandingRewardsAmino): ValidatorOutstandingRewards; - toAmino(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsAmino; - fromAminoMsg(object: ValidatorOutstandingRewardsAminoMsg): ValidatorOutstandingRewards; - toAminoMsg(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsAminoMsg; - fromProtoMsg(message: ValidatorOutstandingRewardsProtoMsg): ValidatorOutstandingRewards; - toProto(message: ValidatorOutstandingRewards): Uint8Array; - toProtoMsg(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsProtoMsg; -}; -export declare const ValidatorSlashEvent: { - typeUrl: string; - aminoType: string; - is(o: any): o is ValidatorSlashEvent; - isSDK(o: any): o is ValidatorSlashEventSDKType; - isAmino(o: any): o is ValidatorSlashEventAmino; - encode(message: ValidatorSlashEvent, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorSlashEvent; - fromJSON(object: any): ValidatorSlashEvent; - toJSON(message: ValidatorSlashEvent): unknown; - fromPartial(object: DeepPartial): ValidatorSlashEvent; - fromSDK(object: ValidatorSlashEventSDKType): ValidatorSlashEvent; - toSDK(message: ValidatorSlashEvent): ValidatorSlashEventSDKType; - fromAmino(object: ValidatorSlashEventAmino): ValidatorSlashEvent; - toAmino(message: ValidatorSlashEvent): ValidatorSlashEventAmino; - fromAminoMsg(object: ValidatorSlashEventAminoMsg): ValidatorSlashEvent; - toAminoMsg(message: ValidatorSlashEvent): ValidatorSlashEventAminoMsg; - fromProtoMsg(message: ValidatorSlashEventProtoMsg): ValidatorSlashEvent; - toProto(message: ValidatorSlashEvent): Uint8Array; - toProtoMsg(message: ValidatorSlashEvent): ValidatorSlashEventProtoMsg; -}; -export declare const ValidatorSlashEvents: { - typeUrl: string; - aminoType: string; - is(o: any): o is ValidatorSlashEvents; - isSDK(o: any): o is ValidatorSlashEventsSDKType; - isAmino(o: any): o is ValidatorSlashEventsAmino; - encode(message: ValidatorSlashEvents, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorSlashEvents; - fromJSON(object: any): ValidatorSlashEvents; - toJSON(message: ValidatorSlashEvents): unknown; - fromPartial(object: DeepPartial): ValidatorSlashEvents; - fromSDK(object: ValidatorSlashEventsSDKType): ValidatorSlashEvents; - toSDK(message: ValidatorSlashEvents): ValidatorSlashEventsSDKType; - fromAmino(object: ValidatorSlashEventsAmino): ValidatorSlashEvents; - toAmino(message: ValidatorSlashEvents): ValidatorSlashEventsAmino; - fromAminoMsg(object: ValidatorSlashEventsAminoMsg): ValidatorSlashEvents; - toAminoMsg(message: ValidatorSlashEvents): ValidatorSlashEventsAminoMsg; - fromProtoMsg(message: ValidatorSlashEventsProtoMsg): ValidatorSlashEvents; - toProto(message: ValidatorSlashEvents): Uint8Array; - toProtoMsg(message: ValidatorSlashEvents): ValidatorSlashEventsProtoMsg; -}; -export declare const FeePool: { - typeUrl: string; - aminoType: string; - is(o: any): o is FeePool; - isSDK(o: any): o is FeePoolSDKType; - isAmino(o: any): o is FeePoolAmino; - encode(message: FeePool, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): FeePool; - fromJSON(object: any): FeePool; - toJSON(message: FeePool): unknown; - fromPartial(object: DeepPartial): FeePool; - fromSDK(object: FeePoolSDKType): FeePool; - toSDK(message: FeePool): FeePoolSDKType; - fromAmino(object: FeePoolAmino): FeePool; - toAmino(message: FeePool): FeePoolAmino; - fromAminoMsg(object: FeePoolAminoMsg): FeePool; - toAminoMsg(message: FeePool): FeePoolAminoMsg; - fromProtoMsg(message: FeePoolProtoMsg): FeePool; - toProto(message: FeePool): Uint8Array; - toProtoMsg(message: FeePool): FeePoolProtoMsg; -}; -export declare const CommunityPoolSpendProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is CommunityPoolSpendProposal; - isSDK(o: any): o is CommunityPoolSpendProposalSDKType; - isAmino(o: any): o is CommunityPoolSpendProposalAmino; - encode(message: CommunityPoolSpendProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CommunityPoolSpendProposal; - fromJSON(object: any): CommunityPoolSpendProposal; - toJSON(message: CommunityPoolSpendProposal): unknown; - fromPartial(object: DeepPartial): CommunityPoolSpendProposal; - fromSDK(object: CommunityPoolSpendProposalSDKType): CommunityPoolSpendProposal; - toSDK(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalSDKType; - fromAmino(object: CommunityPoolSpendProposalAmino): CommunityPoolSpendProposal; - toAmino(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalAmino; - fromAminoMsg(object: CommunityPoolSpendProposalAminoMsg): CommunityPoolSpendProposal; - toAminoMsg(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalAminoMsg; - fromProtoMsg(message: CommunityPoolSpendProposalProtoMsg): CommunityPoolSpendProposal; - toProto(message: CommunityPoolSpendProposal): Uint8Array; - toProtoMsg(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalProtoMsg; -}; -export declare const DelegatorStartingInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is DelegatorStartingInfo; - isSDK(o: any): o is DelegatorStartingInfoSDKType; - isAmino(o: any): o is DelegatorStartingInfoAmino; - encode(message: DelegatorStartingInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DelegatorStartingInfo; - fromJSON(object: any): DelegatorStartingInfo; - toJSON(message: DelegatorStartingInfo): unknown; - fromPartial(object: DeepPartial): DelegatorStartingInfo; - fromSDK(object: DelegatorStartingInfoSDKType): DelegatorStartingInfo; - toSDK(message: DelegatorStartingInfo): DelegatorStartingInfoSDKType; - fromAmino(object: DelegatorStartingInfoAmino): DelegatorStartingInfo; - toAmino(message: DelegatorStartingInfo): DelegatorStartingInfoAmino; - fromAminoMsg(object: DelegatorStartingInfoAminoMsg): DelegatorStartingInfo; - toAminoMsg(message: DelegatorStartingInfo): DelegatorStartingInfoAminoMsg; - fromProtoMsg(message: DelegatorStartingInfoProtoMsg): DelegatorStartingInfo; - toProto(message: DelegatorStartingInfo): Uint8Array; - toProtoMsg(message: DelegatorStartingInfo): DelegatorStartingInfoProtoMsg; -}; -export declare const DelegationDelegatorReward: { - typeUrl: string; - aminoType: string; - is(o: any): o is DelegationDelegatorReward; - isSDK(o: any): o is DelegationDelegatorRewardSDKType; - isAmino(o: any): o is DelegationDelegatorRewardAmino; - encode(message: DelegationDelegatorReward, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DelegationDelegatorReward; - fromJSON(object: any): DelegationDelegatorReward; - toJSON(message: DelegationDelegatorReward): unknown; - fromPartial(object: DeepPartial): DelegationDelegatorReward; - fromSDK(object: DelegationDelegatorRewardSDKType): DelegationDelegatorReward; - toSDK(message: DelegationDelegatorReward): DelegationDelegatorRewardSDKType; - fromAmino(object: DelegationDelegatorRewardAmino): DelegationDelegatorReward; - toAmino(message: DelegationDelegatorReward): DelegationDelegatorRewardAmino; - fromAminoMsg(object: DelegationDelegatorRewardAminoMsg): DelegationDelegatorReward; - toAminoMsg(message: DelegationDelegatorReward): DelegationDelegatorRewardAminoMsg; - fromProtoMsg(message: DelegationDelegatorRewardProtoMsg): DelegationDelegatorReward; - toProto(message: DelegationDelegatorReward): Uint8Array; - toProtoMsg(message: DelegationDelegatorReward): DelegationDelegatorRewardProtoMsg; -}; -export declare const CommunityPoolSpendProposalWithDeposit: { - typeUrl: string; - aminoType: string; - is(o: any): o is CommunityPoolSpendProposalWithDeposit; - isSDK(o: any): o is CommunityPoolSpendProposalWithDepositSDKType; - isAmino(o: any): o is CommunityPoolSpendProposalWithDepositAmino; - encode(message: CommunityPoolSpendProposalWithDeposit, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit; - fromJSON(object: any): CommunityPoolSpendProposalWithDeposit; - toJSON(message: CommunityPoolSpendProposalWithDeposit): unknown; - fromPartial(object: DeepPartial): CommunityPoolSpendProposalWithDeposit; - fromSDK(object: CommunityPoolSpendProposalWithDepositSDKType): CommunityPoolSpendProposalWithDeposit; - toSDK(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositSDKType; - fromAmino(object: CommunityPoolSpendProposalWithDepositAmino): CommunityPoolSpendProposalWithDeposit; - toAmino(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositAmino; - fromAminoMsg(object: CommunityPoolSpendProposalWithDepositAminoMsg): CommunityPoolSpendProposalWithDeposit; - toAminoMsg(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositAminoMsg; - fromProtoMsg(message: CommunityPoolSpendProposalWithDepositProtoMsg): CommunityPoolSpendProposalWithDeposit; - toProto(message: CommunityPoolSpendProposalWithDeposit): Uint8Array; - toProtoMsg(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts b/examples/authz/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts deleted file mode 100644 index de9f6407..00000000 --- a/examples/authz/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +++ /dev/null @@ -1,478 +0,0 @@ -import { DecCoin, DecCoinAmino, DecCoinSDKType } from "../../base/v1beta1/coin"; -import { ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionAmino, ValidatorAccumulatedCommissionSDKType, ValidatorHistoricalRewards, ValidatorHistoricalRewardsAmino, ValidatorHistoricalRewardsSDKType, ValidatorCurrentRewards, ValidatorCurrentRewardsAmino, ValidatorCurrentRewardsSDKType, DelegatorStartingInfo, DelegatorStartingInfoAmino, DelegatorStartingInfoSDKType, ValidatorSlashEvent, ValidatorSlashEventAmino, ValidatorSlashEventSDKType, Params, ParamsAmino, ParamsSDKType, FeePool, FeePoolAmino, FeePoolSDKType } from "./distribution"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * DelegatorWithdrawInfo is the address for where distributions rewards are - * withdrawn to by default this struct is only used at genesis to feed in - * default withdraw addresses. - */ -export interface DelegatorWithdrawInfo { - /** delegator_address is the address of the delegator. */ - delegatorAddress: string; - /** withdraw_address is the address to withdraw the delegation rewards to. */ - withdrawAddress: string; -} -export interface DelegatorWithdrawInfoProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.DelegatorWithdrawInfo"; - value: Uint8Array; -} -/** - * DelegatorWithdrawInfo is the address for where distributions rewards are - * withdrawn to by default this struct is only used at genesis to feed in - * default withdraw addresses. - */ -export interface DelegatorWithdrawInfoAmino { - /** delegator_address is the address of the delegator. */ - delegator_address?: string; - /** withdraw_address is the address to withdraw the delegation rewards to. */ - withdraw_address?: string; -} -export interface DelegatorWithdrawInfoAminoMsg { - type: "cosmos-sdk/DelegatorWithdrawInfo"; - value: DelegatorWithdrawInfoAmino; -} -/** - * DelegatorWithdrawInfo is the address for where distributions rewards are - * withdrawn to by default this struct is only used at genesis to feed in - * default withdraw addresses. - */ -export interface DelegatorWithdrawInfoSDKType { - delegator_address: string; - withdraw_address: string; -} -/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ -export interface ValidatorOutstandingRewardsRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** outstanding_rewards represents the oustanding rewards of a validator. */ - outstandingRewards: DecCoin[]; -} -export interface ValidatorOutstandingRewardsRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord"; - value: Uint8Array; -} -/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ -export interface ValidatorOutstandingRewardsRecordAmino { - /** validator_address is the address of the validator. */ - validator_address?: string; - /** outstanding_rewards represents the oustanding rewards of a validator. */ - outstanding_rewards?: DecCoinAmino[]; -} -export interface ValidatorOutstandingRewardsRecordAminoMsg { - type: "cosmos-sdk/ValidatorOutstandingRewardsRecord"; - value: ValidatorOutstandingRewardsRecordAmino; -} -/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ -export interface ValidatorOutstandingRewardsRecordSDKType { - validator_address: string; - outstanding_rewards: DecCoinSDKType[]; -} -/** - * ValidatorAccumulatedCommissionRecord is used for import / export via genesis - * json. - */ -export interface ValidatorAccumulatedCommissionRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** accumulated is the accumulated commission of a validator. */ - accumulated: ValidatorAccumulatedCommission | undefined; -} -export interface ValidatorAccumulatedCommissionRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord"; - value: Uint8Array; -} -/** - * ValidatorAccumulatedCommissionRecord is used for import / export via genesis - * json. - */ -export interface ValidatorAccumulatedCommissionRecordAmino { - /** validator_address is the address of the validator. */ - validator_address?: string; - /** accumulated is the accumulated commission of a validator. */ - accumulated?: ValidatorAccumulatedCommissionAmino | undefined; -} -export interface ValidatorAccumulatedCommissionRecordAminoMsg { - type: "cosmos-sdk/ValidatorAccumulatedCommissionRecord"; - value: ValidatorAccumulatedCommissionRecordAmino; -} -/** - * ValidatorAccumulatedCommissionRecord is used for import / export via genesis - * json. - */ -export interface ValidatorAccumulatedCommissionRecordSDKType { - validator_address: string; - accumulated: ValidatorAccumulatedCommissionSDKType | undefined; -} -/** - * ValidatorHistoricalRewardsRecord is used for import / export via genesis - * json. - */ -export interface ValidatorHistoricalRewardsRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** period defines the period the historical rewards apply to. */ - period: bigint; - /** rewards defines the historical rewards of a validator. */ - rewards: ValidatorHistoricalRewards | undefined; -} -export interface ValidatorHistoricalRewardsRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord"; - value: Uint8Array; -} -/** - * ValidatorHistoricalRewardsRecord is used for import / export via genesis - * json. - */ -export interface ValidatorHistoricalRewardsRecordAmino { - /** validator_address is the address of the validator. */ - validator_address?: string; - /** period defines the period the historical rewards apply to. */ - period?: string; - /** rewards defines the historical rewards of a validator. */ - rewards?: ValidatorHistoricalRewardsAmino | undefined; -} -export interface ValidatorHistoricalRewardsRecordAminoMsg { - type: "cosmos-sdk/ValidatorHistoricalRewardsRecord"; - value: ValidatorHistoricalRewardsRecordAmino; -} -/** - * ValidatorHistoricalRewardsRecord is used for import / export via genesis - * json. - */ -export interface ValidatorHistoricalRewardsRecordSDKType { - validator_address: string; - period: bigint; - rewards: ValidatorHistoricalRewardsSDKType | undefined; -} -/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ -export interface ValidatorCurrentRewardsRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** rewards defines the current rewards of a validator. */ - rewards: ValidatorCurrentRewards | undefined; -} -export interface ValidatorCurrentRewardsRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord"; - value: Uint8Array; -} -/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ -export interface ValidatorCurrentRewardsRecordAmino { - /** validator_address is the address of the validator. */ - validator_address?: string; - /** rewards defines the current rewards of a validator. */ - rewards?: ValidatorCurrentRewardsAmino | undefined; -} -export interface ValidatorCurrentRewardsRecordAminoMsg { - type: "cosmos-sdk/ValidatorCurrentRewardsRecord"; - value: ValidatorCurrentRewardsRecordAmino; -} -/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ -export interface ValidatorCurrentRewardsRecordSDKType { - validator_address: string; - rewards: ValidatorCurrentRewardsSDKType | undefined; -} -/** DelegatorStartingInfoRecord used for import / export via genesis json. */ -export interface DelegatorStartingInfoRecord { - /** delegator_address is the address of the delegator. */ - delegatorAddress: string; - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** starting_info defines the starting info of a delegator. */ - startingInfo: DelegatorStartingInfo | undefined; -} -export interface DelegatorStartingInfoRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfoRecord"; - value: Uint8Array; -} -/** DelegatorStartingInfoRecord used for import / export via genesis json. */ -export interface DelegatorStartingInfoRecordAmino { - /** delegator_address is the address of the delegator. */ - delegator_address?: string; - /** validator_address is the address of the validator. */ - validator_address?: string; - /** starting_info defines the starting info of a delegator. */ - starting_info?: DelegatorStartingInfoAmino | undefined; -} -export interface DelegatorStartingInfoRecordAminoMsg { - type: "cosmos-sdk/DelegatorStartingInfoRecord"; - value: DelegatorStartingInfoRecordAmino; -} -/** DelegatorStartingInfoRecord used for import / export via genesis json. */ -export interface DelegatorStartingInfoRecordSDKType { - delegator_address: string; - validator_address: string; - starting_info: DelegatorStartingInfoSDKType | undefined; -} -/** ValidatorSlashEventRecord is used for import / export via genesis json. */ -export interface ValidatorSlashEventRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** height defines the block height at which the slash event occured. */ - height: bigint; - /** period is the period of the slash event. */ - period: bigint; - /** validator_slash_event describes the slash event. */ - validatorSlashEvent: ValidatorSlashEvent | undefined; -} -export interface ValidatorSlashEventRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEventRecord"; - value: Uint8Array; -} -/** ValidatorSlashEventRecord is used for import / export via genesis json. */ -export interface ValidatorSlashEventRecordAmino { - /** validator_address is the address of the validator. */ - validator_address?: string; - /** height defines the block height at which the slash event occured. */ - height?: string; - /** period is the period of the slash event. */ - period?: string; - /** validator_slash_event describes the slash event. */ - validator_slash_event?: ValidatorSlashEventAmino | undefined; -} -export interface ValidatorSlashEventRecordAminoMsg { - type: "cosmos-sdk/ValidatorSlashEventRecord"; - value: ValidatorSlashEventRecordAmino; -} -/** ValidatorSlashEventRecord is used for import / export via genesis json. */ -export interface ValidatorSlashEventRecordSDKType { - validator_address: string; - height: bigint; - period: bigint; - validator_slash_event: ValidatorSlashEventSDKType | undefined; -} -/** GenesisState defines the distribution module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params: Params | undefined; - /** fee_pool defines the fee pool at genesis. */ - feePool: FeePool | undefined; - /** fee_pool defines the delegator withdraw infos at genesis. */ - delegatorWithdrawInfos: DelegatorWithdrawInfo[]; - /** fee_pool defines the previous proposer at genesis. */ - previousProposer: string; - /** fee_pool defines the outstanding rewards of all validators at genesis. */ - outstandingRewards: ValidatorOutstandingRewardsRecord[]; - /** fee_pool defines the accumulated commisions of all validators at genesis. */ - validatorAccumulatedCommissions: ValidatorAccumulatedCommissionRecord[]; - /** fee_pool defines the historical rewards of all validators at genesis. */ - validatorHistoricalRewards: ValidatorHistoricalRewardsRecord[]; - /** fee_pool defines the current rewards of all validators at genesis. */ - validatorCurrentRewards: ValidatorCurrentRewardsRecord[]; - /** fee_pool defines the delegator starting infos at genesis. */ - delegatorStartingInfos: DelegatorStartingInfoRecord[]; - /** fee_pool defines the validator slash events at genesis. */ - validatorSlashEvents: ValidatorSlashEventRecord[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the distribution module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of the module. */ - params?: ParamsAmino | undefined; - /** fee_pool defines the fee pool at genesis. */ - fee_pool?: FeePoolAmino | undefined; - /** fee_pool defines the delegator withdraw infos at genesis. */ - delegator_withdraw_infos?: DelegatorWithdrawInfoAmino[]; - /** fee_pool defines the previous proposer at genesis. */ - previous_proposer?: string; - /** fee_pool defines the outstanding rewards of all validators at genesis. */ - outstanding_rewards?: ValidatorOutstandingRewardsRecordAmino[]; - /** fee_pool defines the accumulated commisions of all validators at genesis. */ - validator_accumulated_commissions?: ValidatorAccumulatedCommissionRecordAmino[]; - /** fee_pool defines the historical rewards of all validators at genesis. */ - validator_historical_rewards?: ValidatorHistoricalRewardsRecordAmino[]; - /** fee_pool defines the current rewards of all validators at genesis. */ - validator_current_rewards?: ValidatorCurrentRewardsRecordAmino[]; - /** fee_pool defines the delegator starting infos at genesis. */ - delegator_starting_infos?: DelegatorStartingInfoRecordAmino[]; - /** fee_pool defines the validator slash events at genesis. */ - validator_slash_events?: ValidatorSlashEventRecordAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the distribution module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType | undefined; - fee_pool: FeePoolSDKType | undefined; - delegator_withdraw_infos: DelegatorWithdrawInfoSDKType[]; - previous_proposer: string; - outstanding_rewards: ValidatorOutstandingRewardsRecordSDKType[]; - validator_accumulated_commissions: ValidatorAccumulatedCommissionRecordSDKType[]; - validator_historical_rewards: ValidatorHistoricalRewardsRecordSDKType[]; - validator_current_rewards: ValidatorCurrentRewardsRecordSDKType[]; - delegator_starting_infos: DelegatorStartingInfoRecordSDKType[]; - validator_slash_events: ValidatorSlashEventRecordSDKType[]; -} -export declare const DelegatorWithdrawInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is DelegatorWithdrawInfo; - isSDK(o: any): o is DelegatorWithdrawInfoSDKType; - isAmino(o: any): o is DelegatorWithdrawInfoAmino; - encode(message: DelegatorWithdrawInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DelegatorWithdrawInfo; - fromJSON(object: any): DelegatorWithdrawInfo; - toJSON(message: DelegatorWithdrawInfo): unknown; - fromPartial(object: DeepPartial): DelegatorWithdrawInfo; - fromSDK(object: DelegatorWithdrawInfoSDKType): DelegatorWithdrawInfo; - toSDK(message: DelegatorWithdrawInfo): DelegatorWithdrawInfoSDKType; - fromAmino(object: DelegatorWithdrawInfoAmino): DelegatorWithdrawInfo; - toAmino(message: DelegatorWithdrawInfo): DelegatorWithdrawInfoAmino; - fromAminoMsg(object: DelegatorWithdrawInfoAminoMsg): DelegatorWithdrawInfo; - toAminoMsg(message: DelegatorWithdrawInfo): DelegatorWithdrawInfoAminoMsg; - fromProtoMsg(message: DelegatorWithdrawInfoProtoMsg): DelegatorWithdrawInfo; - toProto(message: DelegatorWithdrawInfo): Uint8Array; - toProtoMsg(message: DelegatorWithdrawInfo): DelegatorWithdrawInfoProtoMsg; -}; -export declare const ValidatorOutstandingRewardsRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is ValidatorOutstandingRewardsRecord; - isSDK(o: any): o is ValidatorOutstandingRewardsRecordSDKType; - isAmino(o: any): o is ValidatorOutstandingRewardsRecordAmino; - encode(message: ValidatorOutstandingRewardsRecord, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorOutstandingRewardsRecord; - fromJSON(object: any): ValidatorOutstandingRewardsRecord; - toJSON(message: ValidatorOutstandingRewardsRecord): unknown; - fromPartial(object: DeepPartial): ValidatorOutstandingRewardsRecord; - fromSDK(object: ValidatorOutstandingRewardsRecordSDKType): ValidatorOutstandingRewardsRecord; - toSDK(message: ValidatorOutstandingRewardsRecord): ValidatorOutstandingRewardsRecordSDKType; - fromAmino(object: ValidatorOutstandingRewardsRecordAmino): ValidatorOutstandingRewardsRecord; - toAmino(message: ValidatorOutstandingRewardsRecord): ValidatorOutstandingRewardsRecordAmino; - fromAminoMsg(object: ValidatorOutstandingRewardsRecordAminoMsg): ValidatorOutstandingRewardsRecord; - toAminoMsg(message: ValidatorOutstandingRewardsRecord): ValidatorOutstandingRewardsRecordAminoMsg; - fromProtoMsg(message: ValidatorOutstandingRewardsRecordProtoMsg): ValidatorOutstandingRewardsRecord; - toProto(message: ValidatorOutstandingRewardsRecord): Uint8Array; - toProtoMsg(message: ValidatorOutstandingRewardsRecord): ValidatorOutstandingRewardsRecordProtoMsg; -}; -export declare const ValidatorAccumulatedCommissionRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is ValidatorAccumulatedCommissionRecord; - isSDK(o: any): o is ValidatorAccumulatedCommissionRecordSDKType; - isAmino(o: any): o is ValidatorAccumulatedCommissionRecordAmino; - encode(message: ValidatorAccumulatedCommissionRecord, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorAccumulatedCommissionRecord; - fromJSON(object: any): ValidatorAccumulatedCommissionRecord; - toJSON(message: ValidatorAccumulatedCommissionRecord): unknown; - fromPartial(object: DeepPartial): ValidatorAccumulatedCommissionRecord; - fromSDK(object: ValidatorAccumulatedCommissionRecordSDKType): ValidatorAccumulatedCommissionRecord; - toSDK(message: ValidatorAccumulatedCommissionRecord): ValidatorAccumulatedCommissionRecordSDKType; - fromAmino(object: ValidatorAccumulatedCommissionRecordAmino): ValidatorAccumulatedCommissionRecord; - toAmino(message: ValidatorAccumulatedCommissionRecord): ValidatorAccumulatedCommissionRecordAmino; - fromAminoMsg(object: ValidatorAccumulatedCommissionRecordAminoMsg): ValidatorAccumulatedCommissionRecord; - toAminoMsg(message: ValidatorAccumulatedCommissionRecord): ValidatorAccumulatedCommissionRecordAminoMsg; - fromProtoMsg(message: ValidatorAccumulatedCommissionRecordProtoMsg): ValidatorAccumulatedCommissionRecord; - toProto(message: ValidatorAccumulatedCommissionRecord): Uint8Array; - toProtoMsg(message: ValidatorAccumulatedCommissionRecord): ValidatorAccumulatedCommissionRecordProtoMsg; -}; -export declare const ValidatorHistoricalRewardsRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is ValidatorHistoricalRewardsRecord; - isSDK(o: any): o is ValidatorHistoricalRewardsRecordSDKType; - isAmino(o: any): o is ValidatorHistoricalRewardsRecordAmino; - encode(message: ValidatorHistoricalRewardsRecord, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorHistoricalRewardsRecord; - fromJSON(object: any): ValidatorHistoricalRewardsRecord; - toJSON(message: ValidatorHistoricalRewardsRecord): unknown; - fromPartial(object: DeepPartial): ValidatorHistoricalRewardsRecord; - fromSDK(object: ValidatorHistoricalRewardsRecordSDKType): ValidatorHistoricalRewardsRecord; - toSDK(message: ValidatorHistoricalRewardsRecord): ValidatorHistoricalRewardsRecordSDKType; - fromAmino(object: ValidatorHistoricalRewardsRecordAmino): ValidatorHistoricalRewardsRecord; - toAmino(message: ValidatorHistoricalRewardsRecord): ValidatorHistoricalRewardsRecordAmino; - fromAminoMsg(object: ValidatorHistoricalRewardsRecordAminoMsg): ValidatorHistoricalRewardsRecord; - toAminoMsg(message: ValidatorHistoricalRewardsRecord): ValidatorHistoricalRewardsRecordAminoMsg; - fromProtoMsg(message: ValidatorHistoricalRewardsRecordProtoMsg): ValidatorHistoricalRewardsRecord; - toProto(message: ValidatorHistoricalRewardsRecord): Uint8Array; - toProtoMsg(message: ValidatorHistoricalRewardsRecord): ValidatorHistoricalRewardsRecordProtoMsg; -}; -export declare const ValidatorCurrentRewardsRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is ValidatorCurrentRewardsRecord; - isSDK(o: any): o is ValidatorCurrentRewardsRecordSDKType; - isAmino(o: any): o is ValidatorCurrentRewardsRecordAmino; - encode(message: ValidatorCurrentRewardsRecord, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorCurrentRewardsRecord; - fromJSON(object: any): ValidatorCurrentRewardsRecord; - toJSON(message: ValidatorCurrentRewardsRecord): unknown; - fromPartial(object: DeepPartial): ValidatorCurrentRewardsRecord; - fromSDK(object: ValidatorCurrentRewardsRecordSDKType): ValidatorCurrentRewardsRecord; - toSDK(message: ValidatorCurrentRewardsRecord): ValidatorCurrentRewardsRecordSDKType; - fromAmino(object: ValidatorCurrentRewardsRecordAmino): ValidatorCurrentRewardsRecord; - toAmino(message: ValidatorCurrentRewardsRecord): ValidatorCurrentRewardsRecordAmino; - fromAminoMsg(object: ValidatorCurrentRewardsRecordAminoMsg): ValidatorCurrentRewardsRecord; - toAminoMsg(message: ValidatorCurrentRewardsRecord): ValidatorCurrentRewardsRecordAminoMsg; - fromProtoMsg(message: ValidatorCurrentRewardsRecordProtoMsg): ValidatorCurrentRewardsRecord; - toProto(message: ValidatorCurrentRewardsRecord): Uint8Array; - toProtoMsg(message: ValidatorCurrentRewardsRecord): ValidatorCurrentRewardsRecordProtoMsg; -}; -export declare const DelegatorStartingInfoRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is DelegatorStartingInfoRecord; - isSDK(o: any): o is DelegatorStartingInfoRecordSDKType; - isAmino(o: any): o is DelegatorStartingInfoRecordAmino; - encode(message: DelegatorStartingInfoRecord, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DelegatorStartingInfoRecord; - fromJSON(object: any): DelegatorStartingInfoRecord; - toJSON(message: DelegatorStartingInfoRecord): unknown; - fromPartial(object: DeepPartial): DelegatorStartingInfoRecord; - fromSDK(object: DelegatorStartingInfoRecordSDKType): DelegatorStartingInfoRecord; - toSDK(message: DelegatorStartingInfoRecord): DelegatorStartingInfoRecordSDKType; - fromAmino(object: DelegatorStartingInfoRecordAmino): DelegatorStartingInfoRecord; - toAmino(message: DelegatorStartingInfoRecord): DelegatorStartingInfoRecordAmino; - fromAminoMsg(object: DelegatorStartingInfoRecordAminoMsg): DelegatorStartingInfoRecord; - toAminoMsg(message: DelegatorStartingInfoRecord): DelegatorStartingInfoRecordAminoMsg; - fromProtoMsg(message: DelegatorStartingInfoRecordProtoMsg): DelegatorStartingInfoRecord; - toProto(message: DelegatorStartingInfoRecord): Uint8Array; - toProtoMsg(message: DelegatorStartingInfoRecord): DelegatorStartingInfoRecordProtoMsg; -}; -export declare const ValidatorSlashEventRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is ValidatorSlashEventRecord; - isSDK(o: any): o is ValidatorSlashEventRecordSDKType; - isAmino(o: any): o is ValidatorSlashEventRecordAmino; - encode(message: ValidatorSlashEventRecord, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorSlashEventRecord; - fromJSON(object: any): ValidatorSlashEventRecord; - toJSON(message: ValidatorSlashEventRecord): unknown; - fromPartial(object: DeepPartial): ValidatorSlashEventRecord; - fromSDK(object: ValidatorSlashEventRecordSDKType): ValidatorSlashEventRecord; - toSDK(message: ValidatorSlashEventRecord): ValidatorSlashEventRecordSDKType; - fromAmino(object: ValidatorSlashEventRecordAmino): ValidatorSlashEventRecord; - toAmino(message: ValidatorSlashEventRecord): ValidatorSlashEventRecordAmino; - fromAminoMsg(object: ValidatorSlashEventRecordAminoMsg): ValidatorSlashEventRecord; - toAminoMsg(message: ValidatorSlashEventRecord): ValidatorSlashEventRecordAminoMsg; - fromProtoMsg(message: ValidatorSlashEventRecordProtoMsg): ValidatorSlashEventRecord; - toProto(message: ValidatorSlashEventRecord): Uint8Array; - toProtoMsg(message: ValidatorSlashEventRecord): ValidatorSlashEventRecordProtoMsg; -}; -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/distribution/v1beta1/query.d.ts b/examples/authz/types/codegen/cosmos/distribution/v1beta1/query.d.ts deleted file mode 100644 index e4d335eb..00000000 --- a/examples/authz/types/codegen/cosmos/distribution/v1beta1/query.d.ts +++ /dev/null @@ -1,941 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Params, ParamsAmino, ParamsSDKType, ValidatorOutstandingRewards, ValidatorOutstandingRewardsAmino, ValidatorOutstandingRewardsSDKType, ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionAmino, ValidatorAccumulatedCommissionSDKType, ValidatorSlashEvent, ValidatorSlashEventAmino, ValidatorSlashEventSDKType, DelegationDelegatorReward, DelegationDelegatorRewardAmino, DelegationDelegatorRewardSDKType } from "./distribution"; -import { DecCoin, DecCoinAmino, DecCoinSDKType } from "../../base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params: Params | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; -} -/** - * QueryValidatorOutstandingRewardsRequest is the request type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsRequest { - /** validator_address defines the validator address to query for. */ - validatorAddress: string; -} -export interface QueryValidatorOutstandingRewardsRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest"; - value: Uint8Array; -} -/** - * QueryValidatorOutstandingRewardsRequest is the request type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsRequestAmino { - /** validator_address defines the validator address to query for. */ - validator_address?: string; -} -export interface QueryValidatorOutstandingRewardsRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorOutstandingRewardsRequest"; - value: QueryValidatorOutstandingRewardsRequestAmino; -} -/** - * QueryValidatorOutstandingRewardsRequest is the request type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsRequestSDKType { - validator_address: string; -} -/** - * QueryValidatorOutstandingRewardsResponse is the response type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsResponse { - rewards: ValidatorOutstandingRewards | undefined; -} -export interface QueryValidatorOutstandingRewardsResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse"; - value: Uint8Array; -} -/** - * QueryValidatorOutstandingRewardsResponse is the response type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsResponseAmino { - rewards?: ValidatorOutstandingRewardsAmino | undefined; -} -export interface QueryValidatorOutstandingRewardsResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorOutstandingRewardsResponse"; - value: QueryValidatorOutstandingRewardsResponseAmino; -} -/** - * QueryValidatorOutstandingRewardsResponse is the response type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsResponseSDKType { - rewards: ValidatorOutstandingRewardsSDKType | undefined; -} -/** - * QueryValidatorCommissionRequest is the request type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionRequest { - /** validator_address defines the validator address to query for. */ - validatorAddress: string; -} -export interface QueryValidatorCommissionRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionRequest"; - value: Uint8Array; -} -/** - * QueryValidatorCommissionRequest is the request type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionRequestAmino { - /** validator_address defines the validator address to query for. */ - validator_address?: string; -} -export interface QueryValidatorCommissionRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorCommissionRequest"; - value: QueryValidatorCommissionRequestAmino; -} -/** - * QueryValidatorCommissionRequest is the request type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionRequestSDKType { - validator_address: string; -} -/** - * QueryValidatorCommissionResponse is the response type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionResponse { - /** commission defines the commision the validator received. */ - commission: ValidatorAccumulatedCommission | undefined; -} -export interface QueryValidatorCommissionResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionResponse"; - value: Uint8Array; -} -/** - * QueryValidatorCommissionResponse is the response type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionResponseAmino { - /** commission defines the commision the validator received. */ - commission?: ValidatorAccumulatedCommissionAmino | undefined; -} -export interface QueryValidatorCommissionResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorCommissionResponse"; - value: QueryValidatorCommissionResponseAmino; -} -/** - * QueryValidatorCommissionResponse is the response type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionResponseSDKType { - commission: ValidatorAccumulatedCommissionSDKType | undefined; -} -/** - * QueryValidatorSlashesRequest is the request type for the - * Query/ValidatorSlashes RPC method - */ -export interface QueryValidatorSlashesRequest { - /** validator_address defines the validator address to query for. */ - validatorAddress: string; - /** starting_height defines the optional starting height to query the slashes. */ - startingHeight: bigint; - /** starting_height defines the optional ending height to query the slashes. */ - endingHeight: bigint; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryValidatorSlashesRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesRequest"; - value: Uint8Array; -} -/** - * QueryValidatorSlashesRequest is the request type for the - * Query/ValidatorSlashes RPC method - */ -export interface QueryValidatorSlashesRequestAmino { - /** validator_address defines the validator address to query for. */ - validator_address?: string; - /** starting_height defines the optional starting height to query the slashes. */ - starting_height?: string; - /** starting_height defines the optional ending height to query the slashes. */ - ending_height?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryValidatorSlashesRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorSlashesRequest"; - value: QueryValidatorSlashesRequestAmino; -} -/** - * QueryValidatorSlashesRequest is the request type for the - * Query/ValidatorSlashes RPC method - */ -export interface QueryValidatorSlashesRequestSDKType { - validator_address: string; - starting_height: bigint; - ending_height: bigint; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryValidatorSlashesResponse is the response type for the - * Query/ValidatorSlashes RPC method. - */ -export interface QueryValidatorSlashesResponse { - /** slashes defines the slashes the validator received. */ - slashes: ValidatorSlashEvent[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryValidatorSlashesResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesResponse"; - value: Uint8Array; -} -/** - * QueryValidatorSlashesResponse is the response type for the - * Query/ValidatorSlashes RPC method. - */ -export interface QueryValidatorSlashesResponseAmino { - /** slashes defines the slashes the validator received. */ - slashes?: ValidatorSlashEventAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryValidatorSlashesResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorSlashesResponse"; - value: QueryValidatorSlashesResponseAmino; -} -/** - * QueryValidatorSlashesResponse is the response type for the - * Query/ValidatorSlashes RPC method. - */ -export interface QueryValidatorSlashesResponseSDKType { - slashes: ValidatorSlashEventSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryDelegationRewardsRequest is the request type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; - /** validator_address defines the validator address to query for. */ - validatorAddress: string; -} -export interface QueryDelegationRewardsRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsRequest"; - value: Uint8Array; -} -/** - * QueryDelegationRewardsRequest is the request type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsRequestAmino { - /** delegator_address defines the delegator address to query for. */ - delegator_address?: string; - /** validator_address defines the validator address to query for. */ - validator_address?: string; -} -export interface QueryDelegationRewardsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegationRewardsRequest"; - value: QueryDelegationRewardsRequestAmino; -} -/** - * QueryDelegationRewardsRequest is the request type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsRequestSDKType { - delegator_address: string; - validator_address: string; -} -/** - * QueryDelegationRewardsResponse is the response type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsResponse { - /** rewards defines the rewards accrued by a delegation. */ - rewards: DecCoin[]; -} -export interface QueryDelegationRewardsResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsResponse"; - value: Uint8Array; -} -/** - * QueryDelegationRewardsResponse is the response type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsResponseAmino { - /** rewards defines the rewards accrued by a delegation. */ - rewards?: DecCoinAmino[]; -} -export interface QueryDelegationRewardsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegationRewardsResponse"; - value: QueryDelegationRewardsResponseAmino; -} -/** - * QueryDelegationRewardsResponse is the response type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsResponseSDKType { - rewards: DecCoinSDKType[]; -} -/** - * QueryDelegationTotalRewardsRequest is the request type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; -} -export interface QueryDelegationTotalRewardsRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest"; - value: Uint8Array; -} -/** - * QueryDelegationTotalRewardsRequest is the request type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsRequestAmino { - /** delegator_address defines the delegator address to query for. */ - delegator_address?: string; -} -export interface QueryDelegationTotalRewardsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegationTotalRewardsRequest"; - value: QueryDelegationTotalRewardsRequestAmino; -} -/** - * QueryDelegationTotalRewardsRequest is the request type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsRequestSDKType { - delegator_address: string; -} -/** - * QueryDelegationTotalRewardsResponse is the response type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsResponse { - /** rewards defines all the rewards accrued by a delegator. */ - rewards: DelegationDelegatorReward[]; - /** total defines the sum of all the rewards. */ - total: DecCoin[]; -} -export interface QueryDelegationTotalRewardsResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse"; - value: Uint8Array; -} -/** - * QueryDelegationTotalRewardsResponse is the response type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsResponseAmino { - /** rewards defines all the rewards accrued by a delegator. */ - rewards?: DelegationDelegatorRewardAmino[]; - /** total defines the sum of all the rewards. */ - total?: DecCoinAmino[]; -} -export interface QueryDelegationTotalRewardsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegationTotalRewardsResponse"; - value: QueryDelegationTotalRewardsResponseAmino; -} -/** - * QueryDelegationTotalRewardsResponse is the response type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsResponseSDKType { - rewards: DelegationDelegatorRewardSDKType[]; - total: DecCoinSDKType[]; -} -/** - * QueryDelegatorValidatorsRequest is the request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; -} -export interface QueryDelegatorValidatorsRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorsRequest is the request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequestAmino { - /** delegator_address defines the delegator address to query for. */ - delegator_address?: string; -} -export interface QueryDelegatorValidatorsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorsRequest"; - value: QueryDelegatorValidatorsRequestAmino; -} -/** - * QueryDelegatorValidatorsRequest is the request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequestSDKType { - delegator_address: string; -} -/** - * QueryDelegatorValidatorsResponse is the response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponse { - /** validators defines the validators a delegator is delegating for. */ - validators: string[]; -} -export interface QueryDelegatorValidatorsResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorsResponse is the response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponseAmino { - /** validators defines the validators a delegator is delegating for. */ - validators?: string[]; -} -export interface QueryDelegatorValidatorsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorsResponse"; - value: QueryDelegatorValidatorsResponseAmino; -} -/** - * QueryDelegatorValidatorsResponse is the response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponseSDKType { - validators: string[]; -} -/** - * QueryDelegatorWithdrawAddressRequest is the request type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; -} -export interface QueryDelegatorWithdrawAddressRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorWithdrawAddressRequest is the request type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressRequestAmino { - /** delegator_address defines the delegator address to query for. */ - delegator_address?: string; -} -export interface QueryDelegatorWithdrawAddressRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorWithdrawAddressRequest"; - value: QueryDelegatorWithdrawAddressRequestAmino; -} -/** - * QueryDelegatorWithdrawAddressRequest is the request type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressRequestSDKType { - delegator_address: string; -} -/** - * QueryDelegatorWithdrawAddressResponse is the response type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressResponse { - /** withdraw_address defines the delegator address to query for. */ - withdrawAddress: string; -} -export interface QueryDelegatorWithdrawAddressResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse"; - value: Uint8Array; -} -/** - * QueryDelegatorWithdrawAddressResponse is the response type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressResponseAmino { - /** withdraw_address defines the delegator address to query for. */ - withdraw_address?: string; -} -export interface QueryDelegatorWithdrawAddressResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorWithdrawAddressResponse"; - value: QueryDelegatorWithdrawAddressResponseAmino; -} -/** - * QueryDelegatorWithdrawAddressResponse is the response type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressResponseSDKType { - withdraw_address: string; -} -/** - * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC - * method. - */ -export interface QueryCommunityPoolRequest { -} -export interface QueryCommunityPoolRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolRequest"; - value: Uint8Array; -} -/** - * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC - * method. - */ -export interface QueryCommunityPoolRequestAmino { -} -export interface QueryCommunityPoolRequestAminoMsg { - type: "cosmos-sdk/QueryCommunityPoolRequest"; - value: QueryCommunityPoolRequestAmino; -} -/** - * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC - * method. - */ -export interface QueryCommunityPoolRequestSDKType { -} -/** - * QueryCommunityPoolResponse is the response type for the Query/CommunityPool - * RPC method. - */ -export interface QueryCommunityPoolResponse { - /** pool defines community pool's coins. */ - pool: DecCoin[]; -} -export interface QueryCommunityPoolResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolResponse"; - value: Uint8Array; -} -/** - * QueryCommunityPoolResponse is the response type for the Query/CommunityPool - * RPC method. - */ -export interface QueryCommunityPoolResponseAmino { - /** pool defines community pool's coins. */ - pool?: DecCoinAmino[]; -} -export interface QueryCommunityPoolResponseAminoMsg { - type: "cosmos-sdk/QueryCommunityPoolResponse"; - value: QueryCommunityPoolResponseAmino; -} -/** - * QueryCommunityPoolResponse is the response type for the Query/CommunityPool - * RPC method. - */ -export interface QueryCommunityPoolResponseSDKType { - pool: DecCoinSDKType[]; -} -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: DeepPartial): QueryParamsRequest; - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryValidatorOutstandingRewardsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryValidatorOutstandingRewardsRequest; - isSDK(o: any): o is QueryValidatorOutstandingRewardsRequestSDKType; - isAmino(o: any): o is QueryValidatorOutstandingRewardsRequestAmino; - encode(message: QueryValidatorOutstandingRewardsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsRequest; - fromJSON(object: any): QueryValidatorOutstandingRewardsRequest; - toJSON(message: QueryValidatorOutstandingRewardsRequest): unknown; - fromPartial(object: DeepPartial): QueryValidatorOutstandingRewardsRequest; - fromSDK(object: QueryValidatorOutstandingRewardsRequestSDKType): QueryValidatorOutstandingRewardsRequest; - toSDK(message: QueryValidatorOutstandingRewardsRequest): QueryValidatorOutstandingRewardsRequestSDKType; - fromAmino(object: QueryValidatorOutstandingRewardsRequestAmino): QueryValidatorOutstandingRewardsRequest; - toAmino(message: QueryValidatorOutstandingRewardsRequest): QueryValidatorOutstandingRewardsRequestAmino; - fromAminoMsg(object: QueryValidatorOutstandingRewardsRequestAminoMsg): QueryValidatorOutstandingRewardsRequest; - toAminoMsg(message: QueryValidatorOutstandingRewardsRequest): QueryValidatorOutstandingRewardsRequestAminoMsg; - fromProtoMsg(message: QueryValidatorOutstandingRewardsRequestProtoMsg): QueryValidatorOutstandingRewardsRequest; - toProto(message: QueryValidatorOutstandingRewardsRequest): Uint8Array; - toProtoMsg(message: QueryValidatorOutstandingRewardsRequest): QueryValidatorOutstandingRewardsRequestProtoMsg; -}; -export declare const QueryValidatorOutstandingRewardsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryValidatorOutstandingRewardsResponse; - isSDK(o: any): o is QueryValidatorOutstandingRewardsResponseSDKType; - isAmino(o: any): o is QueryValidatorOutstandingRewardsResponseAmino; - encode(message: QueryValidatorOutstandingRewardsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponse; - fromJSON(object: any): QueryValidatorOutstandingRewardsResponse; - toJSON(message: QueryValidatorOutstandingRewardsResponse): unknown; - fromPartial(object: DeepPartial): QueryValidatorOutstandingRewardsResponse; - fromSDK(object: QueryValidatorOutstandingRewardsResponseSDKType): QueryValidatorOutstandingRewardsResponse; - toSDK(message: QueryValidatorOutstandingRewardsResponse): QueryValidatorOutstandingRewardsResponseSDKType; - fromAmino(object: QueryValidatorOutstandingRewardsResponseAmino): QueryValidatorOutstandingRewardsResponse; - toAmino(message: QueryValidatorOutstandingRewardsResponse): QueryValidatorOutstandingRewardsResponseAmino; - fromAminoMsg(object: QueryValidatorOutstandingRewardsResponseAminoMsg): QueryValidatorOutstandingRewardsResponse; - toAminoMsg(message: QueryValidatorOutstandingRewardsResponse): QueryValidatorOutstandingRewardsResponseAminoMsg; - fromProtoMsg(message: QueryValidatorOutstandingRewardsResponseProtoMsg): QueryValidatorOutstandingRewardsResponse; - toProto(message: QueryValidatorOutstandingRewardsResponse): Uint8Array; - toProtoMsg(message: QueryValidatorOutstandingRewardsResponse): QueryValidatorOutstandingRewardsResponseProtoMsg; -}; -export declare const QueryValidatorCommissionRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryValidatorCommissionRequest; - isSDK(o: any): o is QueryValidatorCommissionRequestSDKType; - isAmino(o: any): o is QueryValidatorCommissionRequestAmino; - encode(message: QueryValidatorCommissionRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorCommissionRequest; - fromJSON(object: any): QueryValidatorCommissionRequest; - toJSON(message: QueryValidatorCommissionRequest): unknown; - fromPartial(object: DeepPartial): QueryValidatorCommissionRequest; - fromSDK(object: QueryValidatorCommissionRequestSDKType): QueryValidatorCommissionRequest; - toSDK(message: QueryValidatorCommissionRequest): QueryValidatorCommissionRequestSDKType; - fromAmino(object: QueryValidatorCommissionRequestAmino): QueryValidatorCommissionRequest; - toAmino(message: QueryValidatorCommissionRequest): QueryValidatorCommissionRequestAmino; - fromAminoMsg(object: QueryValidatorCommissionRequestAminoMsg): QueryValidatorCommissionRequest; - toAminoMsg(message: QueryValidatorCommissionRequest): QueryValidatorCommissionRequestAminoMsg; - fromProtoMsg(message: QueryValidatorCommissionRequestProtoMsg): QueryValidatorCommissionRequest; - toProto(message: QueryValidatorCommissionRequest): Uint8Array; - toProtoMsg(message: QueryValidatorCommissionRequest): QueryValidatorCommissionRequestProtoMsg; -}; -export declare const QueryValidatorCommissionResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryValidatorCommissionResponse; - isSDK(o: any): o is QueryValidatorCommissionResponseSDKType; - isAmino(o: any): o is QueryValidatorCommissionResponseAmino; - encode(message: QueryValidatorCommissionResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorCommissionResponse; - fromJSON(object: any): QueryValidatorCommissionResponse; - toJSON(message: QueryValidatorCommissionResponse): unknown; - fromPartial(object: DeepPartial): QueryValidatorCommissionResponse; - fromSDK(object: QueryValidatorCommissionResponseSDKType): QueryValidatorCommissionResponse; - toSDK(message: QueryValidatorCommissionResponse): QueryValidatorCommissionResponseSDKType; - fromAmino(object: QueryValidatorCommissionResponseAmino): QueryValidatorCommissionResponse; - toAmino(message: QueryValidatorCommissionResponse): QueryValidatorCommissionResponseAmino; - fromAminoMsg(object: QueryValidatorCommissionResponseAminoMsg): QueryValidatorCommissionResponse; - toAminoMsg(message: QueryValidatorCommissionResponse): QueryValidatorCommissionResponseAminoMsg; - fromProtoMsg(message: QueryValidatorCommissionResponseProtoMsg): QueryValidatorCommissionResponse; - toProto(message: QueryValidatorCommissionResponse): Uint8Array; - toProtoMsg(message: QueryValidatorCommissionResponse): QueryValidatorCommissionResponseProtoMsg; -}; -export declare const QueryValidatorSlashesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryValidatorSlashesRequest; - isSDK(o: any): o is QueryValidatorSlashesRequestSDKType; - isAmino(o: any): o is QueryValidatorSlashesRequestAmino; - encode(message: QueryValidatorSlashesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorSlashesRequest; - fromJSON(object: any): QueryValidatorSlashesRequest; - toJSON(message: QueryValidatorSlashesRequest): unknown; - fromPartial(object: DeepPartial): QueryValidatorSlashesRequest; - fromSDK(object: QueryValidatorSlashesRequestSDKType): QueryValidatorSlashesRequest; - toSDK(message: QueryValidatorSlashesRequest): QueryValidatorSlashesRequestSDKType; - fromAmino(object: QueryValidatorSlashesRequestAmino): QueryValidatorSlashesRequest; - toAmino(message: QueryValidatorSlashesRequest): QueryValidatorSlashesRequestAmino; - fromAminoMsg(object: QueryValidatorSlashesRequestAminoMsg): QueryValidatorSlashesRequest; - toAminoMsg(message: QueryValidatorSlashesRequest): QueryValidatorSlashesRequestAminoMsg; - fromProtoMsg(message: QueryValidatorSlashesRequestProtoMsg): QueryValidatorSlashesRequest; - toProto(message: QueryValidatorSlashesRequest): Uint8Array; - toProtoMsg(message: QueryValidatorSlashesRequest): QueryValidatorSlashesRequestProtoMsg; -}; -export declare const QueryValidatorSlashesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryValidatorSlashesResponse; - isSDK(o: any): o is QueryValidatorSlashesResponseSDKType; - isAmino(o: any): o is QueryValidatorSlashesResponseAmino; - encode(message: QueryValidatorSlashesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorSlashesResponse; - fromJSON(object: any): QueryValidatorSlashesResponse; - toJSON(message: QueryValidatorSlashesResponse): unknown; - fromPartial(object: DeepPartial): QueryValidatorSlashesResponse; - fromSDK(object: QueryValidatorSlashesResponseSDKType): QueryValidatorSlashesResponse; - toSDK(message: QueryValidatorSlashesResponse): QueryValidatorSlashesResponseSDKType; - fromAmino(object: QueryValidatorSlashesResponseAmino): QueryValidatorSlashesResponse; - toAmino(message: QueryValidatorSlashesResponse): QueryValidatorSlashesResponseAmino; - fromAminoMsg(object: QueryValidatorSlashesResponseAminoMsg): QueryValidatorSlashesResponse; - toAminoMsg(message: QueryValidatorSlashesResponse): QueryValidatorSlashesResponseAminoMsg; - fromProtoMsg(message: QueryValidatorSlashesResponseProtoMsg): QueryValidatorSlashesResponse; - toProto(message: QueryValidatorSlashesResponse): Uint8Array; - toProtoMsg(message: QueryValidatorSlashesResponse): QueryValidatorSlashesResponseProtoMsg; -}; -export declare const QueryDelegationRewardsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegationRewardsRequest; - isSDK(o: any): o is QueryDelegationRewardsRequestSDKType; - isAmino(o: any): o is QueryDelegationRewardsRequestAmino; - encode(message: QueryDelegationRewardsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegationRewardsRequest; - fromJSON(object: any): QueryDelegationRewardsRequest; - toJSON(message: QueryDelegationRewardsRequest): unknown; - fromPartial(object: DeepPartial): QueryDelegationRewardsRequest; - fromSDK(object: QueryDelegationRewardsRequestSDKType): QueryDelegationRewardsRequest; - toSDK(message: QueryDelegationRewardsRequest): QueryDelegationRewardsRequestSDKType; - fromAmino(object: QueryDelegationRewardsRequestAmino): QueryDelegationRewardsRequest; - toAmino(message: QueryDelegationRewardsRequest): QueryDelegationRewardsRequestAmino; - fromAminoMsg(object: QueryDelegationRewardsRequestAminoMsg): QueryDelegationRewardsRequest; - toAminoMsg(message: QueryDelegationRewardsRequest): QueryDelegationRewardsRequestAminoMsg; - fromProtoMsg(message: QueryDelegationRewardsRequestProtoMsg): QueryDelegationRewardsRequest; - toProto(message: QueryDelegationRewardsRequest): Uint8Array; - toProtoMsg(message: QueryDelegationRewardsRequest): QueryDelegationRewardsRequestProtoMsg; -}; -export declare const QueryDelegationRewardsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegationRewardsResponse; - isSDK(o: any): o is QueryDelegationRewardsResponseSDKType; - isAmino(o: any): o is QueryDelegationRewardsResponseAmino; - encode(message: QueryDelegationRewardsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegationRewardsResponse; - fromJSON(object: any): QueryDelegationRewardsResponse; - toJSON(message: QueryDelegationRewardsResponse): unknown; - fromPartial(object: DeepPartial): QueryDelegationRewardsResponse; - fromSDK(object: QueryDelegationRewardsResponseSDKType): QueryDelegationRewardsResponse; - toSDK(message: QueryDelegationRewardsResponse): QueryDelegationRewardsResponseSDKType; - fromAmino(object: QueryDelegationRewardsResponseAmino): QueryDelegationRewardsResponse; - toAmino(message: QueryDelegationRewardsResponse): QueryDelegationRewardsResponseAmino; - fromAminoMsg(object: QueryDelegationRewardsResponseAminoMsg): QueryDelegationRewardsResponse; - toAminoMsg(message: QueryDelegationRewardsResponse): QueryDelegationRewardsResponseAminoMsg; - fromProtoMsg(message: QueryDelegationRewardsResponseProtoMsg): QueryDelegationRewardsResponse; - toProto(message: QueryDelegationRewardsResponse): Uint8Array; - toProtoMsg(message: QueryDelegationRewardsResponse): QueryDelegationRewardsResponseProtoMsg; -}; -export declare const QueryDelegationTotalRewardsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegationTotalRewardsRequest; - isSDK(o: any): o is QueryDelegationTotalRewardsRequestSDKType; - isAmino(o: any): o is QueryDelegationTotalRewardsRequestAmino; - encode(message: QueryDelegationTotalRewardsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegationTotalRewardsRequest; - fromJSON(object: any): QueryDelegationTotalRewardsRequest; - toJSON(message: QueryDelegationTotalRewardsRequest): unknown; - fromPartial(object: DeepPartial): QueryDelegationTotalRewardsRequest; - fromSDK(object: QueryDelegationTotalRewardsRequestSDKType): QueryDelegationTotalRewardsRequest; - toSDK(message: QueryDelegationTotalRewardsRequest): QueryDelegationTotalRewardsRequestSDKType; - fromAmino(object: QueryDelegationTotalRewardsRequestAmino): QueryDelegationTotalRewardsRequest; - toAmino(message: QueryDelegationTotalRewardsRequest): QueryDelegationTotalRewardsRequestAmino; - fromAminoMsg(object: QueryDelegationTotalRewardsRequestAminoMsg): QueryDelegationTotalRewardsRequest; - toAminoMsg(message: QueryDelegationTotalRewardsRequest): QueryDelegationTotalRewardsRequestAminoMsg; - fromProtoMsg(message: QueryDelegationTotalRewardsRequestProtoMsg): QueryDelegationTotalRewardsRequest; - toProto(message: QueryDelegationTotalRewardsRequest): Uint8Array; - toProtoMsg(message: QueryDelegationTotalRewardsRequest): QueryDelegationTotalRewardsRequestProtoMsg; -}; -export declare const QueryDelegationTotalRewardsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegationTotalRewardsResponse; - isSDK(o: any): o is QueryDelegationTotalRewardsResponseSDKType; - isAmino(o: any): o is QueryDelegationTotalRewardsResponseAmino; - encode(message: QueryDelegationTotalRewardsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponse; - fromJSON(object: any): QueryDelegationTotalRewardsResponse; - toJSON(message: QueryDelegationTotalRewardsResponse): unknown; - fromPartial(object: DeepPartial): QueryDelegationTotalRewardsResponse; - fromSDK(object: QueryDelegationTotalRewardsResponseSDKType): QueryDelegationTotalRewardsResponse; - toSDK(message: QueryDelegationTotalRewardsResponse): QueryDelegationTotalRewardsResponseSDKType; - fromAmino(object: QueryDelegationTotalRewardsResponseAmino): QueryDelegationTotalRewardsResponse; - toAmino(message: QueryDelegationTotalRewardsResponse): QueryDelegationTotalRewardsResponseAmino; - fromAminoMsg(object: QueryDelegationTotalRewardsResponseAminoMsg): QueryDelegationTotalRewardsResponse; - toAminoMsg(message: QueryDelegationTotalRewardsResponse): QueryDelegationTotalRewardsResponseAminoMsg; - fromProtoMsg(message: QueryDelegationTotalRewardsResponseProtoMsg): QueryDelegationTotalRewardsResponse; - toProto(message: QueryDelegationTotalRewardsResponse): Uint8Array; - toProtoMsg(message: QueryDelegationTotalRewardsResponse): QueryDelegationTotalRewardsResponseProtoMsg; -}; -export declare const QueryDelegatorValidatorsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegatorValidatorsRequest; - isSDK(o: any): o is QueryDelegatorValidatorsRequestSDKType; - isAmino(o: any): o is QueryDelegatorValidatorsRequestAmino; - encode(message: QueryDelegatorValidatorsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest; - fromJSON(object: any): QueryDelegatorValidatorsRequest; - toJSON(message: QueryDelegatorValidatorsRequest): unknown; - fromPartial(object: DeepPartial): QueryDelegatorValidatorsRequest; - fromSDK(object: QueryDelegatorValidatorsRequestSDKType): QueryDelegatorValidatorsRequest; - toSDK(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestSDKType; - fromAmino(object: QueryDelegatorValidatorsRequestAmino): QueryDelegatorValidatorsRequest; - toAmino(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestAmino; - fromAminoMsg(object: QueryDelegatorValidatorsRequestAminoMsg): QueryDelegatorValidatorsRequest; - toAminoMsg(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestAminoMsg; - fromProtoMsg(message: QueryDelegatorValidatorsRequestProtoMsg): QueryDelegatorValidatorsRequest; - toProto(message: QueryDelegatorValidatorsRequest): Uint8Array; - toProtoMsg(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestProtoMsg; -}; -export declare const QueryDelegatorValidatorsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegatorValidatorsResponse; - isSDK(o: any): o is QueryDelegatorValidatorsResponseSDKType; - isAmino(o: any): o is QueryDelegatorValidatorsResponseAmino; - encode(message: QueryDelegatorValidatorsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse; - fromJSON(object: any): QueryDelegatorValidatorsResponse; - toJSON(message: QueryDelegatorValidatorsResponse): unknown; - fromPartial(object: DeepPartial): QueryDelegatorValidatorsResponse; - fromSDK(object: QueryDelegatorValidatorsResponseSDKType): QueryDelegatorValidatorsResponse; - toSDK(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseSDKType; - fromAmino(object: QueryDelegatorValidatorsResponseAmino): QueryDelegatorValidatorsResponse; - toAmino(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseAmino; - fromAminoMsg(object: QueryDelegatorValidatorsResponseAminoMsg): QueryDelegatorValidatorsResponse; - toAminoMsg(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseAminoMsg; - fromProtoMsg(message: QueryDelegatorValidatorsResponseProtoMsg): QueryDelegatorValidatorsResponse; - toProto(message: QueryDelegatorValidatorsResponse): Uint8Array; - toProtoMsg(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseProtoMsg; -}; -export declare const QueryDelegatorWithdrawAddressRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegatorWithdrawAddressRequest; - isSDK(o: any): o is QueryDelegatorWithdrawAddressRequestSDKType; - isAmino(o: any): o is QueryDelegatorWithdrawAddressRequestAmino; - encode(message: QueryDelegatorWithdrawAddressRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressRequest; - fromJSON(object: any): QueryDelegatorWithdrawAddressRequest; - toJSON(message: QueryDelegatorWithdrawAddressRequest): unknown; - fromPartial(object: DeepPartial): QueryDelegatorWithdrawAddressRequest; - fromSDK(object: QueryDelegatorWithdrawAddressRequestSDKType): QueryDelegatorWithdrawAddressRequest; - toSDK(message: QueryDelegatorWithdrawAddressRequest): QueryDelegatorWithdrawAddressRequestSDKType; - fromAmino(object: QueryDelegatorWithdrawAddressRequestAmino): QueryDelegatorWithdrawAddressRequest; - toAmino(message: QueryDelegatorWithdrawAddressRequest): QueryDelegatorWithdrawAddressRequestAmino; - fromAminoMsg(object: QueryDelegatorWithdrawAddressRequestAminoMsg): QueryDelegatorWithdrawAddressRequest; - toAminoMsg(message: QueryDelegatorWithdrawAddressRequest): QueryDelegatorWithdrawAddressRequestAminoMsg; - fromProtoMsg(message: QueryDelegatorWithdrawAddressRequestProtoMsg): QueryDelegatorWithdrawAddressRequest; - toProto(message: QueryDelegatorWithdrawAddressRequest): Uint8Array; - toProtoMsg(message: QueryDelegatorWithdrawAddressRequest): QueryDelegatorWithdrawAddressRequestProtoMsg; -}; -export declare const QueryDelegatorWithdrawAddressResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegatorWithdrawAddressResponse; - isSDK(o: any): o is QueryDelegatorWithdrawAddressResponseSDKType; - isAmino(o: any): o is QueryDelegatorWithdrawAddressResponseAmino; - encode(message: QueryDelegatorWithdrawAddressResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponse; - fromJSON(object: any): QueryDelegatorWithdrawAddressResponse; - toJSON(message: QueryDelegatorWithdrawAddressResponse): unknown; - fromPartial(object: DeepPartial): QueryDelegatorWithdrawAddressResponse; - fromSDK(object: QueryDelegatorWithdrawAddressResponseSDKType): QueryDelegatorWithdrawAddressResponse; - toSDK(message: QueryDelegatorWithdrawAddressResponse): QueryDelegatorWithdrawAddressResponseSDKType; - fromAmino(object: QueryDelegatorWithdrawAddressResponseAmino): QueryDelegatorWithdrawAddressResponse; - toAmino(message: QueryDelegatorWithdrawAddressResponse): QueryDelegatorWithdrawAddressResponseAmino; - fromAminoMsg(object: QueryDelegatorWithdrawAddressResponseAminoMsg): QueryDelegatorWithdrawAddressResponse; - toAminoMsg(message: QueryDelegatorWithdrawAddressResponse): QueryDelegatorWithdrawAddressResponseAminoMsg; - fromProtoMsg(message: QueryDelegatorWithdrawAddressResponseProtoMsg): QueryDelegatorWithdrawAddressResponse; - toProto(message: QueryDelegatorWithdrawAddressResponse): Uint8Array; - toProtoMsg(message: QueryDelegatorWithdrawAddressResponse): QueryDelegatorWithdrawAddressResponseProtoMsg; -}; -export declare const QueryCommunityPoolRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryCommunityPoolRequest; - isSDK(o: any): o is QueryCommunityPoolRequestSDKType; - isAmino(o: any): o is QueryCommunityPoolRequestAmino; - encode(_: QueryCommunityPoolRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryCommunityPoolRequest; - fromJSON(_: any): QueryCommunityPoolRequest; - toJSON(_: QueryCommunityPoolRequest): unknown; - fromPartial(_: DeepPartial): QueryCommunityPoolRequest; - fromSDK(_: QueryCommunityPoolRequestSDKType): QueryCommunityPoolRequest; - toSDK(_: QueryCommunityPoolRequest): QueryCommunityPoolRequestSDKType; - fromAmino(_: QueryCommunityPoolRequestAmino): QueryCommunityPoolRequest; - toAmino(_: QueryCommunityPoolRequest): QueryCommunityPoolRequestAmino; - fromAminoMsg(object: QueryCommunityPoolRequestAminoMsg): QueryCommunityPoolRequest; - toAminoMsg(message: QueryCommunityPoolRequest): QueryCommunityPoolRequestAminoMsg; - fromProtoMsg(message: QueryCommunityPoolRequestProtoMsg): QueryCommunityPoolRequest; - toProto(message: QueryCommunityPoolRequest): Uint8Array; - toProtoMsg(message: QueryCommunityPoolRequest): QueryCommunityPoolRequestProtoMsg; -}; -export declare const QueryCommunityPoolResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryCommunityPoolResponse; - isSDK(o: any): o is QueryCommunityPoolResponseSDKType; - isAmino(o: any): o is QueryCommunityPoolResponseAmino; - encode(message: QueryCommunityPoolResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryCommunityPoolResponse; - fromJSON(object: any): QueryCommunityPoolResponse; - toJSON(message: QueryCommunityPoolResponse): unknown; - fromPartial(object: DeepPartial): QueryCommunityPoolResponse; - fromSDK(object: QueryCommunityPoolResponseSDKType): QueryCommunityPoolResponse; - toSDK(message: QueryCommunityPoolResponse): QueryCommunityPoolResponseSDKType; - fromAmino(object: QueryCommunityPoolResponseAmino): QueryCommunityPoolResponse; - toAmino(message: QueryCommunityPoolResponse): QueryCommunityPoolResponseAmino; - fromAminoMsg(object: QueryCommunityPoolResponseAminoMsg): QueryCommunityPoolResponse; - toAminoMsg(message: QueryCommunityPoolResponse): QueryCommunityPoolResponseAminoMsg; - fromProtoMsg(message: QueryCommunityPoolResponseProtoMsg): QueryCommunityPoolResponse; - toProto(message: QueryCommunityPoolResponse): Uint8Array; - toProtoMsg(message: QueryCommunityPoolResponse): QueryCommunityPoolResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/distribution/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/distribution/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index df68c0bb..00000000 --- a/examples/authz/types/codegen/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,145 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryParamsRequest, QueryParamsResponse, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryCommunityPoolRequest, QueryCommunityPoolResponse } from "./query"; -/** Query defines the gRPC querier service for distribution module. */ -export interface Query { - /** Params queries params of the distribution module. */ - params(request?: QueryParamsRequest): Promise; - /** ValidatorOutstandingRewards queries rewards of a validator address. */ - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; - /** ValidatorCommission queries accumulated commission for a validator. */ - validatorCommission(request: QueryValidatorCommissionRequest): Promise; - /** ValidatorSlashes queries slash events of a validator. */ - validatorSlashes(request: QueryValidatorSlashesRequest): Promise; - /** DelegationRewards queries the total rewards accrued by a delegation. */ - delegationRewards(request: QueryDelegationRewardsRequest): Promise; - /** - * DelegationTotalRewards queries the total rewards accrued by a each - * validator. - */ - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise; - /** DelegatorValidators queries the validators of a delegator. */ - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; - /** DelegatorWithdrawAddress queries withdraw address of a delegator. */ - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; - /** CommunityPool queries the community pool coins. */ - communityPool(request?: QueryCommunityPoolRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - params: (request?: QueryParamsRequest) => Promise; - validatorOutstandingRewards: (request: QueryValidatorOutstandingRewardsRequest) => Promise; - validatorCommission: (request: QueryValidatorCommissionRequest) => Promise; - validatorSlashes: (request: QueryValidatorSlashesRequest) => Promise; - delegationRewards: (request: QueryDelegationRewardsRequest) => Promise; - delegationTotalRewards: (request: QueryDelegationTotalRewardsRequest) => Promise; - delegatorValidators: (request: QueryDelegatorValidatorsRequest) => Promise; - delegatorWithdrawAddress: (request: QueryDelegatorWithdrawAddressRequest) => Promise; - communityPool: (request?: QueryCommunityPoolRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseParamsQuery extends ReactQueryParams { - request?: QueryParamsRequest; -} -export interface UseValidatorOutstandingRewardsQuery extends ReactQueryParams { - request: QueryValidatorOutstandingRewardsRequest; -} -export interface UseValidatorCommissionQuery extends ReactQueryParams { - request: QueryValidatorCommissionRequest; -} -export interface UseValidatorSlashesQuery extends ReactQueryParams { - request: QueryValidatorSlashesRequest; -} -export interface UseDelegationRewardsQuery extends ReactQueryParams { - request: QueryDelegationRewardsRequest; -} -export interface UseDelegationTotalRewardsQuery extends ReactQueryParams { - request: QueryDelegationTotalRewardsRequest; -} -export interface UseDelegatorValidatorsQuery extends ReactQueryParams { - request: QueryDelegatorValidatorsRequest; -} -export interface UseDelegatorWithdrawAddressQuery extends ReactQueryParams { - request: QueryDelegatorWithdrawAddressRequest; -} -export interface UseCommunityPoolQuery extends ReactQueryParams { - request?: QueryCommunityPoolRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Params queries params of the distribution module. */ useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - /** ValidatorOutstandingRewards queries rewards of a validator address. */ useValidatorOutstandingRewards: ({ request, options }: UseValidatorOutstandingRewardsQuery) => import("@tanstack/react-query").UseQueryResult; - /** ValidatorCommission queries accumulated commission for a validator. */ useValidatorCommission: ({ request, options }: UseValidatorCommissionQuery) => import("@tanstack/react-query").UseQueryResult; - /** ValidatorSlashes queries slash events of a validator. */ useValidatorSlashes: ({ request, options }: UseValidatorSlashesQuery) => import("@tanstack/react-query").UseQueryResult; - /** DelegationRewards queries the total rewards accrued by a delegation. */ useDelegationRewards: ({ request, options }: UseDelegationRewardsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * DelegationTotalRewards queries the total rewards accrued by a each - * validator. - */ - useDelegationTotalRewards: ({ request, options }: UseDelegationTotalRewardsQuery) => import("@tanstack/react-query").UseQueryResult; - /** DelegatorValidators queries the validators of a delegator. */ useDelegatorValidators: ({ request, options }: UseDelegatorValidatorsQuery) => import("@tanstack/react-query").UseQueryResult; - /** DelegatorWithdrawAddress queries withdraw address of a delegator. */ useDelegatorWithdrawAddress: ({ request, options }: UseDelegatorWithdrawAddressQuery) => import("@tanstack/react-query").UseQueryResult; - /** CommunityPool queries the community pool coins. */ useCommunityPool: ({ request, options }: UseCommunityPoolQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Params queries params of the distribution module. */ QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** ValidatorOutstandingRewards queries rewards of a validator address. */ QueryValidatorOutstandingRewardsStore: { - new (): { - store: QueryStore; - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** ValidatorCommission queries accumulated commission for a validator. */ QueryValidatorCommissionStore: { - new (): { - store: QueryStore; - validatorCommission(request: QueryValidatorCommissionRequest): import("../../../mobx").MobxResponse; - }; - }; - /** ValidatorSlashes queries slash events of a validator. */ QueryValidatorSlashesStore: { - new (): { - store: QueryStore; - validatorSlashes(request: QueryValidatorSlashesRequest): import("../../../mobx").MobxResponse; - }; - }; - /** DelegationRewards queries the total rewards accrued by a delegation. */ QueryDelegationRewardsStore: { - new (): { - store: QueryStore; - delegationRewards(request: QueryDelegationRewardsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * DelegationTotalRewards queries the total rewards accrued by a each - * validator. - */ - QueryDelegationTotalRewardsStore: { - new (): { - store: QueryStore; - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** DelegatorValidators queries the validators of a delegator. */ QueryDelegatorValidatorsStore: { - new (): { - store: QueryStore; - delegatorValidators(request: QueryDelegatorValidatorsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** DelegatorWithdrawAddress queries withdraw address of a delegator. */ QueryDelegatorWithdrawAddressStore: { - new (): { - store: QueryStore; - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): import("../../../mobx").MobxResponse; - }; - }; - /** CommunityPool queries the community pool coins. */ QueryCommunityPoolStore: { - new (): { - store: QueryStore; - communityPool(request: QueryCommunityPoolRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts b/examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts deleted file mode 100644 index aa7ec544..00000000 --- a/examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx"; -export declare const AminoConverter: { - "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": { - aminoType: string; - toAmino: (message: MsgSetWithdrawAddress) => import("./tx").MsgSetWithdrawAddressAmino; - fromAmino: (object: import("./tx").MsgSetWithdrawAddressAmino) => MsgSetWithdrawAddress; - }; - "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": { - aminoType: string; - toAmino: (message: MsgWithdrawDelegatorReward) => import("./tx").MsgWithdrawDelegatorRewardAmino; - fromAmino: (object: import("./tx").MsgWithdrawDelegatorRewardAmino) => MsgWithdrawDelegatorReward; - }; - "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": { - aminoType: string; - toAmino: (message: MsgWithdrawValidatorCommission) => import("./tx").MsgWithdrawValidatorCommissionAmino; - fromAmino: (object: import("./tx").MsgWithdrawValidatorCommissionAmino) => MsgWithdrawValidatorCommission; - }; - "/cosmos.distribution.v1beta1.MsgFundCommunityPool": { - aminoType: string; - toAmino: (message: MsgFundCommunityPool) => import("./tx").MsgFundCommunityPoolAmino; - fromAmino: (object: import("./tx").MsgFundCommunityPoolAmino) => MsgFundCommunityPool; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.d.ts b/examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.d.ts deleted file mode 100644 index 9c81b138..00000000 --- a/examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +++ /dev/null @@ -1,370 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * MsgSetWithdrawAddress sets the withdraw address for - * a delegator (or validator self-delegation). - */ -export interface MsgSetWithdrawAddress { - delegatorAddress: string; - withdrawAddress: string; -} -export interface MsgSetWithdrawAddressProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress"; - value: Uint8Array; -} -/** - * MsgSetWithdrawAddress sets the withdraw address for - * a delegator (or validator self-delegation). - */ -export interface MsgSetWithdrawAddressAmino { - delegator_address?: string; - withdraw_address?: string; -} -export interface MsgSetWithdrawAddressAminoMsg { - type: "cosmos-sdk/MsgModifyWithdrawAddress"; - value: MsgSetWithdrawAddressAmino; -} -/** - * MsgSetWithdrawAddress sets the withdraw address for - * a delegator (or validator self-delegation). - */ -export interface MsgSetWithdrawAddressSDKType { - delegator_address: string; - withdraw_address: string; -} -/** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */ -export interface MsgSetWithdrawAddressResponse { -} -export interface MsgSetWithdrawAddressResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse"; - value: Uint8Array; -} -/** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */ -export interface MsgSetWithdrawAddressResponseAmino { -} -export interface MsgSetWithdrawAddressResponseAminoMsg { - type: "cosmos-sdk/MsgSetWithdrawAddressResponse"; - value: MsgSetWithdrawAddressResponseAmino; -} -/** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */ -export interface MsgSetWithdrawAddressResponseSDKType { -} -/** - * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator - * from a single validator. - */ -export interface MsgWithdrawDelegatorReward { - delegatorAddress: string; - validatorAddress: string; -} -export interface MsgWithdrawDelegatorRewardProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward"; - value: Uint8Array; -} -/** - * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator - * from a single validator. - */ -export interface MsgWithdrawDelegatorRewardAmino { - delegator_address?: string; - validator_address?: string; -} -export interface MsgWithdrawDelegatorRewardAminoMsg { - type: "cosmos-sdk/MsgWithdrawDelegationReward"; - value: MsgWithdrawDelegatorRewardAmino; -} -/** - * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator - * from a single validator. - */ -export interface MsgWithdrawDelegatorRewardSDKType { - delegator_address: string; - validator_address: string; -} -/** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ -export interface MsgWithdrawDelegatorRewardResponse { - amount: Coin[]; -} -export interface MsgWithdrawDelegatorRewardResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse"; - value: Uint8Array; -} -/** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ -export interface MsgWithdrawDelegatorRewardResponseAmino { - amount?: CoinAmino[]; -} -export interface MsgWithdrawDelegatorRewardResponseAminoMsg { - type: "cosmos-sdk/MsgWithdrawDelegatorRewardResponse"; - value: MsgWithdrawDelegatorRewardResponseAmino; -} -/** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ -export interface MsgWithdrawDelegatorRewardResponseSDKType { - amount: CoinSDKType[]; -} -/** - * MsgWithdrawValidatorCommission withdraws the full commission to the validator - * address. - */ -export interface MsgWithdrawValidatorCommission { - validatorAddress: string; -} -export interface MsgWithdrawValidatorCommissionProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission"; - value: Uint8Array; -} -/** - * MsgWithdrawValidatorCommission withdraws the full commission to the validator - * address. - */ -export interface MsgWithdrawValidatorCommissionAmino { - validator_address?: string; -} -export interface MsgWithdrawValidatorCommissionAminoMsg { - type: "cosmos-sdk/MsgWithdrawValidatorCommission"; - value: MsgWithdrawValidatorCommissionAmino; -} -/** - * MsgWithdrawValidatorCommission withdraws the full commission to the validator - * address. - */ -export interface MsgWithdrawValidatorCommissionSDKType { - validator_address: string; -} -/** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ -export interface MsgWithdrawValidatorCommissionResponse { - amount: Coin[]; -} -export interface MsgWithdrawValidatorCommissionResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse"; - value: Uint8Array; -} -/** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ -export interface MsgWithdrawValidatorCommissionResponseAmino { - amount?: CoinAmino[]; -} -export interface MsgWithdrawValidatorCommissionResponseAminoMsg { - type: "cosmos-sdk/MsgWithdrawValidatorCommissionResponse"; - value: MsgWithdrawValidatorCommissionResponseAmino; -} -/** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ -export interface MsgWithdrawValidatorCommissionResponseSDKType { - amount: CoinSDKType[]; -} -/** - * MsgFundCommunityPool allows an account to directly - * fund the community pool. - */ -export interface MsgFundCommunityPool { - amount: Coin[]; - depositor: string; -} -export interface MsgFundCommunityPoolProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool"; - value: Uint8Array; -} -/** - * MsgFundCommunityPool allows an account to directly - * fund the community pool. - */ -export interface MsgFundCommunityPoolAmino { - amount?: CoinAmino[]; - depositor?: string; -} -export interface MsgFundCommunityPoolAminoMsg { - type: "cosmos-sdk/MsgFundCommunityPool"; - value: MsgFundCommunityPoolAmino; -} -/** - * MsgFundCommunityPool allows an account to directly - * fund the community pool. - */ -export interface MsgFundCommunityPoolSDKType { - amount: CoinSDKType[]; - depositor: string; -} -/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ -export interface MsgFundCommunityPoolResponse { -} -export interface MsgFundCommunityPoolResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse"; - value: Uint8Array; -} -/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ -export interface MsgFundCommunityPoolResponseAmino { -} -export interface MsgFundCommunityPoolResponseAminoMsg { - type: "cosmos-sdk/MsgFundCommunityPoolResponse"; - value: MsgFundCommunityPoolResponseAmino; -} -/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ -export interface MsgFundCommunityPoolResponseSDKType { -} -export declare const MsgSetWithdrawAddress: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSetWithdrawAddress; - isSDK(o: any): o is MsgSetWithdrawAddressSDKType; - isAmino(o: any): o is MsgSetWithdrawAddressAmino; - encode(message: MsgSetWithdrawAddress, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSetWithdrawAddress; - fromJSON(object: any): MsgSetWithdrawAddress; - toJSON(message: MsgSetWithdrawAddress): unknown; - fromPartial(object: DeepPartial): MsgSetWithdrawAddress; - fromSDK(object: MsgSetWithdrawAddressSDKType): MsgSetWithdrawAddress; - toSDK(message: MsgSetWithdrawAddress): MsgSetWithdrawAddressSDKType; - fromAmino(object: MsgSetWithdrawAddressAmino): MsgSetWithdrawAddress; - toAmino(message: MsgSetWithdrawAddress): MsgSetWithdrawAddressAmino; - fromAminoMsg(object: MsgSetWithdrawAddressAminoMsg): MsgSetWithdrawAddress; - toAminoMsg(message: MsgSetWithdrawAddress): MsgSetWithdrawAddressAminoMsg; - fromProtoMsg(message: MsgSetWithdrawAddressProtoMsg): MsgSetWithdrawAddress; - toProto(message: MsgSetWithdrawAddress): Uint8Array; - toProtoMsg(message: MsgSetWithdrawAddress): MsgSetWithdrawAddressProtoMsg; -}; -export declare const MsgSetWithdrawAddressResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSetWithdrawAddressResponse; - isSDK(o: any): o is MsgSetWithdrawAddressResponseSDKType; - isAmino(o: any): o is MsgSetWithdrawAddressResponseAmino; - encode(_: MsgSetWithdrawAddressResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse; - fromJSON(_: any): MsgSetWithdrawAddressResponse; - toJSON(_: MsgSetWithdrawAddressResponse): unknown; - fromPartial(_: DeepPartial): MsgSetWithdrawAddressResponse; - fromSDK(_: MsgSetWithdrawAddressResponseSDKType): MsgSetWithdrawAddressResponse; - toSDK(_: MsgSetWithdrawAddressResponse): MsgSetWithdrawAddressResponseSDKType; - fromAmino(_: MsgSetWithdrawAddressResponseAmino): MsgSetWithdrawAddressResponse; - toAmino(_: MsgSetWithdrawAddressResponse): MsgSetWithdrawAddressResponseAmino; - fromAminoMsg(object: MsgSetWithdrawAddressResponseAminoMsg): MsgSetWithdrawAddressResponse; - toAminoMsg(message: MsgSetWithdrawAddressResponse): MsgSetWithdrawAddressResponseAminoMsg; - fromProtoMsg(message: MsgSetWithdrawAddressResponseProtoMsg): MsgSetWithdrawAddressResponse; - toProto(message: MsgSetWithdrawAddressResponse): Uint8Array; - toProtoMsg(message: MsgSetWithdrawAddressResponse): MsgSetWithdrawAddressResponseProtoMsg; -}; -export declare const MsgWithdrawDelegatorReward: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgWithdrawDelegatorReward; - isSDK(o: any): o is MsgWithdrawDelegatorRewardSDKType; - isAmino(o: any): o is MsgWithdrawDelegatorRewardAmino; - encode(message: MsgWithdrawDelegatorReward, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawDelegatorReward; - fromJSON(object: any): MsgWithdrawDelegatorReward; - toJSON(message: MsgWithdrawDelegatorReward): unknown; - fromPartial(object: DeepPartial): MsgWithdrawDelegatorReward; - fromSDK(object: MsgWithdrawDelegatorRewardSDKType): MsgWithdrawDelegatorReward; - toSDK(message: MsgWithdrawDelegatorReward): MsgWithdrawDelegatorRewardSDKType; - fromAmino(object: MsgWithdrawDelegatorRewardAmino): MsgWithdrawDelegatorReward; - toAmino(message: MsgWithdrawDelegatorReward): MsgWithdrawDelegatorRewardAmino; - fromAminoMsg(object: MsgWithdrawDelegatorRewardAminoMsg): MsgWithdrawDelegatorReward; - toAminoMsg(message: MsgWithdrawDelegatorReward): MsgWithdrawDelegatorRewardAminoMsg; - fromProtoMsg(message: MsgWithdrawDelegatorRewardProtoMsg): MsgWithdrawDelegatorReward; - toProto(message: MsgWithdrawDelegatorReward): Uint8Array; - toProtoMsg(message: MsgWithdrawDelegatorReward): MsgWithdrawDelegatorRewardProtoMsg; -}; -export declare const MsgWithdrawDelegatorRewardResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgWithdrawDelegatorRewardResponse; - isSDK(o: any): o is MsgWithdrawDelegatorRewardResponseSDKType; - isAmino(o: any): o is MsgWithdrawDelegatorRewardResponseAmino; - encode(message: MsgWithdrawDelegatorRewardResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse; - fromJSON(object: any): MsgWithdrawDelegatorRewardResponse; - toJSON(message: MsgWithdrawDelegatorRewardResponse): unknown; - fromPartial(object: DeepPartial): MsgWithdrawDelegatorRewardResponse; - fromSDK(object: MsgWithdrawDelegatorRewardResponseSDKType): MsgWithdrawDelegatorRewardResponse; - toSDK(message: MsgWithdrawDelegatorRewardResponse): MsgWithdrawDelegatorRewardResponseSDKType; - fromAmino(object: MsgWithdrawDelegatorRewardResponseAmino): MsgWithdrawDelegatorRewardResponse; - toAmino(message: MsgWithdrawDelegatorRewardResponse): MsgWithdrawDelegatorRewardResponseAmino; - fromAminoMsg(object: MsgWithdrawDelegatorRewardResponseAminoMsg): MsgWithdrawDelegatorRewardResponse; - toAminoMsg(message: MsgWithdrawDelegatorRewardResponse): MsgWithdrawDelegatorRewardResponseAminoMsg; - fromProtoMsg(message: MsgWithdrawDelegatorRewardResponseProtoMsg): MsgWithdrawDelegatorRewardResponse; - toProto(message: MsgWithdrawDelegatorRewardResponse): Uint8Array; - toProtoMsg(message: MsgWithdrawDelegatorRewardResponse): MsgWithdrawDelegatorRewardResponseProtoMsg; -}; -export declare const MsgWithdrawValidatorCommission: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgWithdrawValidatorCommission; - isSDK(o: any): o is MsgWithdrawValidatorCommissionSDKType; - isAmino(o: any): o is MsgWithdrawValidatorCommissionAmino; - encode(message: MsgWithdrawValidatorCommission, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawValidatorCommission; - fromJSON(object: any): MsgWithdrawValidatorCommission; - toJSON(message: MsgWithdrawValidatorCommission): unknown; - fromPartial(object: DeepPartial): MsgWithdrawValidatorCommission; - fromSDK(object: MsgWithdrawValidatorCommissionSDKType): MsgWithdrawValidatorCommission; - toSDK(message: MsgWithdrawValidatorCommission): MsgWithdrawValidatorCommissionSDKType; - fromAmino(object: MsgWithdrawValidatorCommissionAmino): MsgWithdrawValidatorCommission; - toAmino(message: MsgWithdrawValidatorCommission): MsgWithdrawValidatorCommissionAmino; - fromAminoMsg(object: MsgWithdrawValidatorCommissionAminoMsg): MsgWithdrawValidatorCommission; - toAminoMsg(message: MsgWithdrawValidatorCommission): MsgWithdrawValidatorCommissionAminoMsg; - fromProtoMsg(message: MsgWithdrawValidatorCommissionProtoMsg): MsgWithdrawValidatorCommission; - toProto(message: MsgWithdrawValidatorCommission): Uint8Array; - toProtoMsg(message: MsgWithdrawValidatorCommission): MsgWithdrawValidatorCommissionProtoMsg; -}; -export declare const MsgWithdrawValidatorCommissionResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgWithdrawValidatorCommissionResponse; - isSDK(o: any): o is MsgWithdrawValidatorCommissionResponseSDKType; - isAmino(o: any): o is MsgWithdrawValidatorCommissionResponseAmino; - encode(message: MsgWithdrawValidatorCommissionResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse; - fromJSON(object: any): MsgWithdrawValidatorCommissionResponse; - toJSON(message: MsgWithdrawValidatorCommissionResponse): unknown; - fromPartial(object: DeepPartial): MsgWithdrawValidatorCommissionResponse; - fromSDK(object: MsgWithdrawValidatorCommissionResponseSDKType): MsgWithdrawValidatorCommissionResponse; - toSDK(message: MsgWithdrawValidatorCommissionResponse): MsgWithdrawValidatorCommissionResponseSDKType; - fromAmino(object: MsgWithdrawValidatorCommissionResponseAmino): MsgWithdrawValidatorCommissionResponse; - toAmino(message: MsgWithdrawValidatorCommissionResponse): MsgWithdrawValidatorCommissionResponseAmino; - fromAminoMsg(object: MsgWithdrawValidatorCommissionResponseAminoMsg): MsgWithdrawValidatorCommissionResponse; - toAminoMsg(message: MsgWithdrawValidatorCommissionResponse): MsgWithdrawValidatorCommissionResponseAminoMsg; - fromProtoMsg(message: MsgWithdrawValidatorCommissionResponseProtoMsg): MsgWithdrawValidatorCommissionResponse; - toProto(message: MsgWithdrawValidatorCommissionResponse): Uint8Array; - toProtoMsg(message: MsgWithdrawValidatorCommissionResponse): MsgWithdrawValidatorCommissionResponseProtoMsg; -}; -export declare const MsgFundCommunityPool: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgFundCommunityPool; - isSDK(o: any): o is MsgFundCommunityPoolSDKType; - isAmino(o: any): o is MsgFundCommunityPoolAmino; - encode(message: MsgFundCommunityPool, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgFundCommunityPool; - fromJSON(object: any): MsgFundCommunityPool; - toJSON(message: MsgFundCommunityPool): unknown; - fromPartial(object: DeepPartial): MsgFundCommunityPool; - fromSDK(object: MsgFundCommunityPoolSDKType): MsgFundCommunityPool; - toSDK(message: MsgFundCommunityPool): MsgFundCommunityPoolSDKType; - fromAmino(object: MsgFundCommunityPoolAmino): MsgFundCommunityPool; - toAmino(message: MsgFundCommunityPool): MsgFundCommunityPoolAmino; - fromAminoMsg(object: MsgFundCommunityPoolAminoMsg): MsgFundCommunityPool; - toAminoMsg(message: MsgFundCommunityPool): MsgFundCommunityPoolAminoMsg; - fromProtoMsg(message: MsgFundCommunityPoolProtoMsg): MsgFundCommunityPool; - toProto(message: MsgFundCommunityPool): Uint8Array; - toProtoMsg(message: MsgFundCommunityPool): MsgFundCommunityPoolProtoMsg; -}; -export declare const MsgFundCommunityPoolResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgFundCommunityPoolResponse; - isSDK(o: any): o is MsgFundCommunityPoolResponseSDKType; - isAmino(o: any): o is MsgFundCommunityPoolResponseAmino; - encode(_: MsgFundCommunityPoolResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgFundCommunityPoolResponse; - fromJSON(_: any): MsgFundCommunityPoolResponse; - toJSON(_: MsgFundCommunityPoolResponse): unknown; - fromPartial(_: DeepPartial): MsgFundCommunityPoolResponse; - fromSDK(_: MsgFundCommunityPoolResponseSDKType): MsgFundCommunityPoolResponse; - toSDK(_: MsgFundCommunityPoolResponse): MsgFundCommunityPoolResponseSDKType; - fromAmino(_: MsgFundCommunityPoolResponseAmino): MsgFundCommunityPoolResponse; - toAmino(_: MsgFundCommunityPoolResponse): MsgFundCommunityPoolResponseAmino; - fromAminoMsg(object: MsgFundCommunityPoolResponseAminoMsg): MsgFundCommunityPoolResponse; - toAminoMsg(message: MsgFundCommunityPoolResponse): MsgFundCommunityPoolResponseAminoMsg; - fromProtoMsg(message: MsgFundCommunityPoolResponseProtoMsg): MsgFundCommunityPoolResponse; - toProto(message: MsgFundCommunityPoolResponse): Uint8Array; - toProtoMsg(message: MsgFundCommunityPoolResponse): MsgFundCommunityPoolResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts b/examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts deleted file mode 100644 index f0ab7610..00000000 --- a/examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - setWithdrawAddress(value: MsgSetWithdrawAddress): { - typeUrl: string; - value: Uint8Array; - }; - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): { - typeUrl: string; - value: Uint8Array; - }; - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): { - typeUrl: string; - value: Uint8Array; - }; - fundCommunityPool(value: MsgFundCommunityPool): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - setWithdrawAddress(value: MsgSetWithdrawAddress): { - typeUrl: string; - value: MsgSetWithdrawAddress; - }; - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): { - typeUrl: string; - value: MsgWithdrawDelegatorReward; - }; - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): { - typeUrl: string; - value: MsgWithdrawValidatorCommission; - }; - fundCommunityPool(value: MsgFundCommunityPool): { - typeUrl: string; - value: MsgFundCommunityPool; - }; - }; - toJSON: { - setWithdrawAddress(value: MsgSetWithdrawAddress): { - typeUrl: string; - value: unknown; - }; - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): { - typeUrl: string; - value: unknown; - }; - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): { - typeUrl: string; - value: unknown; - }; - fundCommunityPool(value: MsgFundCommunityPool): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - setWithdrawAddress(value: any): { - typeUrl: string; - value: MsgSetWithdrawAddress; - }; - withdrawDelegatorReward(value: any): { - typeUrl: string; - value: MsgWithdrawDelegatorReward; - }; - withdrawValidatorCommission(value: any): { - typeUrl: string; - value: MsgWithdrawValidatorCommission; - }; - fundCommunityPool(value: any): { - typeUrl: string; - value: MsgFundCommunityPool; - }; - }; - fromPartial: { - setWithdrawAddress(value: MsgSetWithdrawAddress): { - typeUrl: string; - value: MsgSetWithdrawAddress; - }; - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): { - typeUrl: string; - value: MsgWithdrawDelegatorReward; - }; - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): { - typeUrl: string; - value: MsgWithdrawValidatorCommission; - }; - fundCommunityPool(value: MsgFundCommunityPool): { - typeUrl: string; - value: MsgFundCommunityPool; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index d3352563..00000000 --- a/examples/authz/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool } from "./tx"; -/** Msg defines the distribution Msg service. */ -export interface Msg { - /** - * SetWithdrawAddress defines a method to change the withdraw address - * for a delegator (or validator self-delegation). - */ - setWithdrawAddress(signerAddress: string, message: MsgSetWithdrawAddress, fee: number | StdFee | "auto", memo: string): Promise; - /** - * WithdrawDelegatorReward defines a method to withdraw rewards of delegator - * from a single validator. - */ - withdrawDelegatorReward(signerAddress: string, message: MsgWithdrawDelegatorReward, fee: number | StdFee | "auto", memo: string): Promise; - /** - * WithdrawValidatorCommission defines a method to withdraw the - * full commission to the validator address. - */ - withdrawValidatorCommission(signerAddress: string, message: MsgWithdrawValidatorCommission, fee: number | StdFee | "auto", memo: string): Promise; - /** - * FundCommunityPool defines a method to allow an account to directly - * fund the community pool. - */ - fundCommunityPool(signerAddress: string, message: MsgFundCommunityPool, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - setWithdrawAddress: (signerAddress: string, message: MsgSetWithdrawAddress, fee?: number | StdFee | "auto", memo?: string) => Promise; - withdrawDelegatorReward: (signerAddress: string, message: MsgWithdrawDelegatorReward, fee?: number | StdFee | "auto", memo?: string) => Promise; - withdrawValidatorCommission: (signerAddress: string, message: MsgWithdrawValidatorCommission, fee?: number | StdFee | "auto", memo?: string) => Promise; - fundCommunityPool: (signerAddress: string, message: MsgFundCommunityPool, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts b/examples/authz/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts deleted file mode 100644 index bc90d441..00000000 --- a/examples/authz/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ -export interface Equivocation { - height: bigint; - time: Date | undefined; - power: bigint; - consensusAddress: string; -} -export interface EquivocationProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.Equivocation"; - value: Uint8Array; -} -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ -export interface EquivocationAmino { - height?: string; - time?: string | undefined; - power?: string; - consensus_address?: string; -} -export interface EquivocationAminoMsg { - type: "cosmos-sdk/Equivocation"; - value: EquivocationAmino; -} -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ -export interface EquivocationSDKType { - height: bigint; - time: Date | undefined; - power: bigint; - consensus_address: string; -} -export declare const Equivocation: { - typeUrl: string; - aminoType: string; - is(o: any): o is Equivocation; - isSDK(o: any): o is EquivocationSDKType; - isAmino(o: any): o is EquivocationAmino; - encode(message: Equivocation, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Equivocation; - fromJSON(object: any): Equivocation; - toJSON(message: Equivocation): unknown; - fromPartial(object: DeepPartial): Equivocation; - fromSDK(object: EquivocationSDKType): Equivocation; - toSDK(message: Equivocation): EquivocationSDKType; - fromAmino(object: EquivocationAmino): Equivocation; - toAmino(message: Equivocation): EquivocationAmino; - fromAminoMsg(object: EquivocationAminoMsg): Equivocation; - toAminoMsg(message: Equivocation): EquivocationAminoMsg; - fromProtoMsg(message: EquivocationProtoMsg): Equivocation; - toProto(message: Equivocation): Uint8Array; - toProtoMsg(message: Equivocation): EquivocationProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts b/examples/authz/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts deleted file mode 100644 index f799711b..00000000 --- a/examples/authz/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the evidence module's genesis state. */ -export interface GenesisState { - /** evidence defines all the evidence at genesis. */ - evidence: Any[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the evidence module's genesis state. */ -export interface GenesisStateAmino { - /** evidence defines all the evidence at genesis. */ - evidence?: AnyAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the evidence module's genesis state. */ -export interface GenesisStateSDKType { - evidence: AnySDKType[]; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/evidence/v1beta1/query.d.ts b/examples/authz/types/codegen/cosmos/evidence/v1beta1/query.d.ts deleted file mode 100644 index 689ba05c..00000000 --- a/examples/authz/types/codegen/cosmos/evidence/v1beta1/query.d.ts +++ /dev/null @@ -1,199 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ -export interface QueryEvidenceRequest { - /** evidence_hash defines the hash of the requested evidence. */ - evidenceHash: Uint8Array; -} -export interface QueryEvidenceRequestProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceRequest"; - value: Uint8Array; -} -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ -export interface QueryEvidenceRequestAmino { - /** evidence_hash defines the hash of the requested evidence. */ - evidence_hash?: string; -} -export interface QueryEvidenceRequestAminoMsg { - type: "cosmos-sdk/QueryEvidenceRequest"; - value: QueryEvidenceRequestAmino; -} -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ -export interface QueryEvidenceRequestSDKType { - evidence_hash: Uint8Array; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ -export interface QueryEvidenceResponse { - /** evidence returns the requested evidence. */ - evidence?: Any | undefined; -} -export interface QueryEvidenceResponseProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceResponse"; - value: Uint8Array; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ -export interface QueryEvidenceResponseAmino { - /** evidence returns the requested evidence. */ - evidence?: AnyAmino | undefined; -} -export interface QueryEvidenceResponseAminoMsg { - type: "cosmos-sdk/QueryEvidenceResponse"; - value: QueryEvidenceResponseAmino; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ -export interface QueryEvidenceResponseSDKType { - evidence?: AnySDKType | undefined; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryAllEvidenceRequestProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceRequest"; - value: Uint8Array; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryAllEvidenceRequestAminoMsg { - type: "cosmos-sdk/QueryAllEvidenceRequest"; - value: QueryAllEvidenceRequestAmino; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceResponse { - /** evidence returns all evidences. */ - evidence: Any[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryAllEvidenceResponseProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceResponse"; - value: Uint8Array; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceResponseAmino { - /** evidence returns all evidences. */ - evidence?: AnyAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryAllEvidenceResponseAminoMsg { - type: "cosmos-sdk/QueryAllEvidenceResponse"; - value: QueryAllEvidenceResponseAmino; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceResponseSDKType { - evidence: AnySDKType[]; - pagination?: PageResponseSDKType | undefined; -} -export declare const QueryEvidenceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryEvidenceRequest; - isSDK(o: any): o is QueryEvidenceRequestSDKType; - isAmino(o: any): o is QueryEvidenceRequestAmino; - encode(message: QueryEvidenceRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryEvidenceRequest; - fromJSON(object: any): QueryEvidenceRequest; - toJSON(message: QueryEvidenceRequest): unknown; - fromPartial(object: DeepPartial): QueryEvidenceRequest; - fromSDK(object: QueryEvidenceRequestSDKType): QueryEvidenceRequest; - toSDK(message: QueryEvidenceRequest): QueryEvidenceRequestSDKType; - fromAmino(object: QueryEvidenceRequestAmino): QueryEvidenceRequest; - toAmino(message: QueryEvidenceRequest): QueryEvidenceRequestAmino; - fromAminoMsg(object: QueryEvidenceRequestAminoMsg): QueryEvidenceRequest; - toAminoMsg(message: QueryEvidenceRequest): QueryEvidenceRequestAminoMsg; - fromProtoMsg(message: QueryEvidenceRequestProtoMsg): QueryEvidenceRequest; - toProto(message: QueryEvidenceRequest): Uint8Array; - toProtoMsg(message: QueryEvidenceRequest): QueryEvidenceRequestProtoMsg; -}; -export declare const QueryEvidenceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryEvidenceResponse; - isSDK(o: any): o is QueryEvidenceResponseSDKType; - isAmino(o: any): o is QueryEvidenceResponseAmino; - encode(message: QueryEvidenceResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryEvidenceResponse; - fromJSON(object: any): QueryEvidenceResponse; - toJSON(message: QueryEvidenceResponse): unknown; - fromPartial(object: DeepPartial): QueryEvidenceResponse; - fromSDK(object: QueryEvidenceResponseSDKType): QueryEvidenceResponse; - toSDK(message: QueryEvidenceResponse): QueryEvidenceResponseSDKType; - fromAmino(object: QueryEvidenceResponseAmino): QueryEvidenceResponse; - toAmino(message: QueryEvidenceResponse): QueryEvidenceResponseAmino; - fromAminoMsg(object: QueryEvidenceResponseAminoMsg): QueryEvidenceResponse; - toAminoMsg(message: QueryEvidenceResponse): QueryEvidenceResponseAminoMsg; - fromProtoMsg(message: QueryEvidenceResponseProtoMsg): QueryEvidenceResponse; - toProto(message: QueryEvidenceResponse): Uint8Array; - toProtoMsg(message: QueryEvidenceResponse): QueryEvidenceResponseProtoMsg; -}; -export declare const QueryAllEvidenceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAllEvidenceRequest; - isSDK(o: any): o is QueryAllEvidenceRequestSDKType; - isAmino(o: any): o is QueryAllEvidenceRequestAmino; - encode(message: QueryAllEvidenceRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAllEvidenceRequest; - fromJSON(object: any): QueryAllEvidenceRequest; - toJSON(message: QueryAllEvidenceRequest): unknown; - fromPartial(object: DeepPartial): QueryAllEvidenceRequest; - fromSDK(object: QueryAllEvidenceRequestSDKType): QueryAllEvidenceRequest; - toSDK(message: QueryAllEvidenceRequest): QueryAllEvidenceRequestSDKType; - fromAmino(object: QueryAllEvidenceRequestAmino): QueryAllEvidenceRequest; - toAmino(message: QueryAllEvidenceRequest): QueryAllEvidenceRequestAmino; - fromAminoMsg(object: QueryAllEvidenceRequestAminoMsg): QueryAllEvidenceRequest; - toAminoMsg(message: QueryAllEvidenceRequest): QueryAllEvidenceRequestAminoMsg; - fromProtoMsg(message: QueryAllEvidenceRequestProtoMsg): QueryAllEvidenceRequest; - toProto(message: QueryAllEvidenceRequest): Uint8Array; - toProtoMsg(message: QueryAllEvidenceRequest): QueryAllEvidenceRequestProtoMsg; -}; -export declare const QueryAllEvidenceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAllEvidenceResponse; - isSDK(o: any): o is QueryAllEvidenceResponseSDKType; - isAmino(o: any): o is QueryAllEvidenceResponseAmino; - encode(message: QueryAllEvidenceResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAllEvidenceResponse; - fromJSON(object: any): QueryAllEvidenceResponse; - toJSON(message: QueryAllEvidenceResponse): unknown; - fromPartial(object: DeepPartial): QueryAllEvidenceResponse; - fromSDK(object: QueryAllEvidenceResponseSDKType): QueryAllEvidenceResponse; - toSDK(message: QueryAllEvidenceResponse): QueryAllEvidenceResponseSDKType; - fromAmino(object: QueryAllEvidenceResponseAmino): QueryAllEvidenceResponse; - toAmino(message: QueryAllEvidenceResponse): QueryAllEvidenceResponseAmino; - fromAminoMsg(object: QueryAllEvidenceResponseAminoMsg): QueryAllEvidenceResponse; - toAminoMsg(message: QueryAllEvidenceResponse): QueryAllEvidenceResponseAminoMsg; - fromProtoMsg(message: QueryAllEvidenceResponseProtoMsg): QueryAllEvidenceResponse; - toProto(message: QueryAllEvidenceResponse): Uint8Array; - toProtoMsg(message: QueryAllEvidenceResponse): QueryAllEvidenceResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/evidence/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/evidence/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index d49c88a3..00000000 --- a/examples/authz/types/codegen/cosmos/evidence/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Evidence queries evidence based on evidence hash. */ - evidence(request: QueryEvidenceRequest): Promise; - /** AllEvidence queries all evidence. */ - allEvidence(request?: QueryAllEvidenceRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - evidence: (request: QueryEvidenceRequest) => Promise; - allEvidence: (request?: QueryAllEvidenceRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseEvidenceQuery extends ReactQueryParams { - request: QueryEvidenceRequest; -} -export interface UseAllEvidenceQuery extends ReactQueryParams { - request?: QueryAllEvidenceRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Evidence queries evidence based on evidence hash. */ useEvidence: ({ request, options }: UseEvidenceQuery) => import("@tanstack/react-query").UseQueryResult; - /** AllEvidence queries all evidence. */ useAllEvidence: ({ request, options }: UseAllEvidenceQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Evidence queries evidence based on evidence hash. */ QueryEvidenceStore: { - new (): { - store: QueryStore; - evidence(request: QueryEvidenceRequest): import("../../../mobx").MobxResponse; - }; - }; - /** AllEvidence queries all evidence. */ QueryAllEvidenceStore: { - new (): { - store: QueryStore; - allEvidence(request: QueryAllEvidenceRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts b/examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts deleted file mode 100644 index d1980815..00000000 --- a/examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgSubmitEvidence } from "./tx"; -export declare const AminoConverter: { - "/cosmos.evidence.v1beta1.MsgSubmitEvidence": { - aminoType: string; - toAmino: (message: MsgSubmitEvidence) => import("./tx").MsgSubmitEvidenceAmino; - fromAmino: (object: import("./tx").MsgSubmitEvidenceAmino) => MsgSubmitEvidence; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.d.ts b/examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.d.ts deleted file mode 100644 index abca73b8..00000000 --- a/examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ -export interface MsgSubmitEvidence { - submitter: string; - evidence?: Any | undefined; -} -export interface MsgSubmitEvidenceProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence"; - value: Uint8Array; -} -export type MsgSubmitEvidenceEncoded = Omit & { - evidence?: AnyProtoMsg | undefined; -}; -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ -export interface MsgSubmitEvidenceAmino { - submitter?: string; - evidence?: AnyAmino | undefined; -} -export interface MsgSubmitEvidenceAminoMsg { - type: "cosmos-sdk/MsgSubmitEvidence"; - value: MsgSubmitEvidenceAmino; -} -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ -export interface MsgSubmitEvidenceSDKType { - submitter: string; - evidence?: AnySDKType | undefined; -} -/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ -export interface MsgSubmitEvidenceResponse { - /** hash defines the hash of the evidence. */ - hash: Uint8Array; -} -export interface MsgSubmitEvidenceResponseProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse"; - value: Uint8Array; -} -/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ -export interface MsgSubmitEvidenceResponseAmino { - /** hash defines the hash of the evidence. */ - hash?: string; -} -export interface MsgSubmitEvidenceResponseAminoMsg { - type: "cosmos-sdk/MsgSubmitEvidenceResponse"; - value: MsgSubmitEvidenceResponseAmino; -} -/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ -export interface MsgSubmitEvidenceResponseSDKType { - hash: Uint8Array; -} -export declare const MsgSubmitEvidence: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSubmitEvidence; - isSDK(o: any): o is MsgSubmitEvidenceSDKType; - isAmino(o: any): o is MsgSubmitEvidenceAmino; - encode(message: MsgSubmitEvidence, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitEvidence; - fromJSON(object: any): MsgSubmitEvidence; - toJSON(message: MsgSubmitEvidence): unknown; - fromPartial(object: DeepPartial): MsgSubmitEvidence; - fromSDK(object: MsgSubmitEvidenceSDKType): MsgSubmitEvidence; - toSDK(message: MsgSubmitEvidence): MsgSubmitEvidenceSDKType; - fromAmino(object: MsgSubmitEvidenceAmino): MsgSubmitEvidence; - toAmino(message: MsgSubmitEvidence): MsgSubmitEvidenceAmino; - fromAminoMsg(object: MsgSubmitEvidenceAminoMsg): MsgSubmitEvidence; - toAminoMsg(message: MsgSubmitEvidence): MsgSubmitEvidenceAminoMsg; - fromProtoMsg(message: MsgSubmitEvidenceProtoMsg): MsgSubmitEvidence; - toProto(message: MsgSubmitEvidence): Uint8Array; - toProtoMsg(message: MsgSubmitEvidence): MsgSubmitEvidenceProtoMsg; -}; -export declare const MsgSubmitEvidenceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSubmitEvidenceResponse; - isSDK(o: any): o is MsgSubmitEvidenceResponseSDKType; - isAmino(o: any): o is MsgSubmitEvidenceResponseAmino; - encode(message: MsgSubmitEvidenceResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitEvidenceResponse; - fromJSON(object: any): MsgSubmitEvidenceResponse; - toJSON(message: MsgSubmitEvidenceResponse): unknown; - fromPartial(object: DeepPartial): MsgSubmitEvidenceResponse; - fromSDK(object: MsgSubmitEvidenceResponseSDKType): MsgSubmitEvidenceResponse; - toSDK(message: MsgSubmitEvidenceResponse): MsgSubmitEvidenceResponseSDKType; - fromAmino(object: MsgSubmitEvidenceResponseAmino): MsgSubmitEvidenceResponse; - toAmino(message: MsgSubmitEvidenceResponse): MsgSubmitEvidenceResponseAmino; - fromAminoMsg(object: MsgSubmitEvidenceResponseAminoMsg): MsgSubmitEvidenceResponse; - toAminoMsg(message: MsgSubmitEvidenceResponse): MsgSubmitEvidenceResponseAminoMsg; - fromProtoMsg(message: MsgSubmitEvidenceResponseProtoMsg): MsgSubmitEvidenceResponse; - toProto(message: MsgSubmitEvidenceResponse): Uint8Array; - toProtoMsg(message: MsgSubmitEvidenceResponse): MsgSubmitEvidenceResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts b/examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts deleted file mode 100644 index 6ccbb952..00000000 --- a/examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgSubmitEvidence } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - submitEvidence(value: MsgSubmitEvidence): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - submitEvidence(value: MsgSubmitEvidence): { - typeUrl: string; - value: MsgSubmitEvidence; - }; - }; - toJSON: { - submitEvidence(value: MsgSubmitEvidence): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - submitEvidence(value: any): { - typeUrl: string; - value: MsgSubmitEvidence; - }; - }; - fromPartial: { - submitEvidence(value: MsgSubmitEvidence): { - typeUrl: string; - value: MsgSubmitEvidence; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index ddeb1696..00000000 --- a/examples/authz/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgSubmitEvidence } from "./tx"; -/** Msg defines the evidence Msg service. */ -export interface Msg { - /** - * SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or - * counterfactual signing. - */ - submitEvidence(signerAddress: string, message: MsgSubmitEvidence, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - submitEvidence: (signerAddress: string, message: MsgSubmitEvidence, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts b/examples/authz/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts deleted file mode 100644 index 0fc22cf7..00000000 --- a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +++ /dev/null @@ -1,275 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * BasicAllowance implements Allowance with a one-time grant of tokens - * that optionally expires. The grantee can use up to SpendLimit to cover fees. - */ -export interface BasicAllowance { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - /** - * spend_limit specifies the maximum amount of tokens that can be spent - * by this allowance and will be updated as tokens are spent. If it is - * empty, there is no spend limit and any amount of coins can be spent. - */ - spendLimit: Coin[]; - /** expiration specifies an optional time when this allowance expires */ - expiration?: Date | undefined; -} -export interface BasicAllowanceProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.BasicAllowance"; - value: Uint8Array; -} -/** - * BasicAllowance implements Allowance with a one-time grant of tokens - * that optionally expires. The grantee can use up to SpendLimit to cover fees. - */ -export interface BasicAllowanceAmino { - /** - * spend_limit specifies the maximum amount of tokens that can be spent - * by this allowance and will be updated as tokens are spent. If it is - * empty, there is no spend limit and any amount of coins can be spent. - */ - spend_limit?: CoinAmino[]; - /** expiration specifies an optional time when this allowance expires */ - expiration?: string | undefined; -} -export interface BasicAllowanceAminoMsg { - type: "cosmos-sdk/BasicAllowance"; - value: BasicAllowanceAmino; -} -/** - * BasicAllowance implements Allowance with a one-time grant of tokens - * that optionally expires. The grantee can use up to SpendLimit to cover fees. - */ -export interface BasicAllowanceSDKType { - $typeUrl?: "/cosmos.feegrant.v1beta1.BasicAllowance"; - spend_limit: CoinSDKType[]; - expiration?: Date | undefined; -} -/** - * PeriodicAllowance extends Allowance to allow for both a maximum cap, - * as well as a limit per time period. - */ -export interface PeriodicAllowance { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - /** basic specifies a struct of `BasicAllowance` */ - basic: BasicAllowance | undefined; - /** - * period specifies the time duration in which period_spend_limit coins can - * be spent before that allowance is reset - */ - period: Duration | undefined; - /** - * period_spend_limit specifies the maximum number of coins that can be spent - * in the period - */ - periodSpendLimit: Coin[]; - /** period_can_spend is the number of coins left to be spent before the period_reset time */ - periodCanSpend: Coin[]; - /** - * period_reset is the time at which this period resets and a new one begins, - * it is calculated from the start time of the first transaction after the - * last period ended - */ - periodReset: Date | undefined; -} -export interface PeriodicAllowanceProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - value: Uint8Array; -} -/** - * PeriodicAllowance extends Allowance to allow for both a maximum cap, - * as well as a limit per time period. - */ -export interface PeriodicAllowanceAmino { - /** basic specifies a struct of `BasicAllowance` */ - basic?: BasicAllowanceAmino | undefined; - /** - * period specifies the time duration in which period_spend_limit coins can - * be spent before that allowance is reset - */ - period?: DurationAmino | undefined; - /** - * period_spend_limit specifies the maximum number of coins that can be spent - * in the period - */ - period_spend_limit?: CoinAmino[]; - /** period_can_spend is the number of coins left to be spent before the period_reset time */ - period_can_spend?: CoinAmino[]; - /** - * period_reset is the time at which this period resets and a new one begins, - * it is calculated from the start time of the first transaction after the - * last period ended - */ - period_reset?: string | undefined; -} -export interface PeriodicAllowanceAminoMsg { - type: "cosmos-sdk/PeriodicAllowance"; - value: PeriodicAllowanceAmino; -} -/** - * PeriodicAllowance extends Allowance to allow for both a maximum cap, - * as well as a limit per time period. - */ -export interface PeriodicAllowanceSDKType { - $typeUrl?: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - basic: BasicAllowanceSDKType | undefined; - period: DurationSDKType | undefined; - period_spend_limit: CoinSDKType[]; - period_can_spend: CoinSDKType[]; - period_reset: Date | undefined; -} -/** AllowedMsgAllowance creates allowance only for specified message types. */ -export interface AllowedMsgAllowance { - $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance"; - /** allowance can be any of basic and periodic fee allowance. */ - allowance?: BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any | undefined; - /** allowed_messages are the messages for which the grantee has the access. */ - allowedMessages: string[]; -} -export interface AllowedMsgAllowanceProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance"; - value: Uint8Array; -} -export type AllowedMsgAllowanceEncoded = Omit & { - /** allowance can be any of basic and periodic fee allowance. */ allowance?: BasicAllowanceProtoMsg | PeriodicAllowanceProtoMsg | AllowedMsgAllowanceProtoMsg | AnyProtoMsg | undefined; -}; -/** AllowedMsgAllowance creates allowance only for specified message types. */ -export interface AllowedMsgAllowanceAmino { - /** allowance can be any of basic and periodic fee allowance. */ - allowance?: AnyAmino | undefined; - /** allowed_messages are the messages for which the grantee has the access. */ - allowed_messages?: string[]; -} -export interface AllowedMsgAllowanceAminoMsg { - type: "cosmos-sdk/AllowedMsgAllowance"; - value: AllowedMsgAllowanceAmino; -} -/** AllowedMsgAllowance creates allowance only for specified message types. */ -export interface AllowedMsgAllowanceSDKType { - $typeUrl?: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance"; - allowance?: BasicAllowanceSDKType | PeriodicAllowanceSDKType | AllowedMsgAllowanceSDKType | AnySDKType | undefined; - allowed_messages: string[]; -} -/** Grant is stored in the KVStore to record a grant with full context */ -export interface Grant { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; - /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance?: BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any | undefined; -} -export interface GrantProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.Grant"; - value: Uint8Array; -} -export type GrantEncoded = Omit & { - /** allowance can be any of basic, periodic, allowed fee allowance. */ allowance?: BasicAllowanceProtoMsg | PeriodicAllowanceProtoMsg | AllowedMsgAllowanceProtoMsg | AnyProtoMsg | undefined; -}; -/** Grant is stored in the KVStore to record a grant with full context */ -export interface GrantAmino { - /** granter is the address of the user granting an allowance of their funds. */ - granter?: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee?: string; - /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance?: AnyAmino | undefined; -} -export interface GrantAminoMsg { - type: "cosmos-sdk/Grant"; - value: GrantAmino; -} -/** Grant is stored in the KVStore to record a grant with full context */ -export interface GrantSDKType { - granter: string; - grantee: string; - allowance?: BasicAllowanceSDKType | PeriodicAllowanceSDKType | AllowedMsgAllowanceSDKType | AnySDKType | undefined; -} -export declare const BasicAllowance: { - typeUrl: string; - aminoType: string; - is(o: any): o is BasicAllowance; - isSDK(o: any): o is BasicAllowanceSDKType; - isAmino(o: any): o is BasicAllowanceAmino; - encode(message: BasicAllowance, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): BasicAllowance; - fromJSON(object: any): BasicAllowance; - toJSON(message: BasicAllowance): unknown; - fromPartial(object: DeepPartial): BasicAllowance; - fromSDK(object: BasicAllowanceSDKType): BasicAllowance; - toSDK(message: BasicAllowance): BasicAllowanceSDKType; - fromAmino(object: BasicAllowanceAmino): BasicAllowance; - toAmino(message: BasicAllowance): BasicAllowanceAmino; - fromAminoMsg(object: BasicAllowanceAminoMsg): BasicAllowance; - toAminoMsg(message: BasicAllowance): BasicAllowanceAminoMsg; - fromProtoMsg(message: BasicAllowanceProtoMsg): BasicAllowance; - toProto(message: BasicAllowance): Uint8Array; - toProtoMsg(message: BasicAllowance): BasicAllowanceProtoMsg; -}; -export declare const PeriodicAllowance: { - typeUrl: string; - aminoType: string; - is(o: any): o is PeriodicAllowance; - isSDK(o: any): o is PeriodicAllowanceSDKType; - isAmino(o: any): o is PeriodicAllowanceAmino; - encode(message: PeriodicAllowance, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PeriodicAllowance; - fromJSON(object: any): PeriodicAllowance; - toJSON(message: PeriodicAllowance): unknown; - fromPartial(object: DeepPartial): PeriodicAllowance; - fromSDK(object: PeriodicAllowanceSDKType): PeriodicAllowance; - toSDK(message: PeriodicAllowance): PeriodicAllowanceSDKType; - fromAmino(object: PeriodicAllowanceAmino): PeriodicAllowance; - toAmino(message: PeriodicAllowance): PeriodicAllowanceAmino; - fromAminoMsg(object: PeriodicAllowanceAminoMsg): PeriodicAllowance; - toAminoMsg(message: PeriodicAllowance): PeriodicAllowanceAminoMsg; - fromProtoMsg(message: PeriodicAllowanceProtoMsg): PeriodicAllowance; - toProto(message: PeriodicAllowance): Uint8Array; - toProtoMsg(message: PeriodicAllowance): PeriodicAllowanceProtoMsg; -}; -export declare const AllowedMsgAllowance: { - typeUrl: string; - aminoType: string; - is(o: any): o is AllowedMsgAllowance; - isSDK(o: any): o is AllowedMsgAllowanceSDKType; - isAmino(o: any): o is AllowedMsgAllowanceAmino; - encode(message: AllowedMsgAllowance, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AllowedMsgAllowance; - fromJSON(object: any): AllowedMsgAllowance; - toJSON(message: AllowedMsgAllowance): unknown; - fromPartial(object: DeepPartial): AllowedMsgAllowance; - fromSDK(object: AllowedMsgAllowanceSDKType): AllowedMsgAllowance; - toSDK(message: AllowedMsgAllowance): AllowedMsgAllowanceSDKType; - fromAmino(object: AllowedMsgAllowanceAmino): AllowedMsgAllowance; - toAmino(message: AllowedMsgAllowance): AllowedMsgAllowanceAmino; - fromAminoMsg(object: AllowedMsgAllowanceAminoMsg): AllowedMsgAllowance; - toAminoMsg(message: AllowedMsgAllowance): AllowedMsgAllowanceAminoMsg; - fromProtoMsg(message: AllowedMsgAllowanceProtoMsg): AllowedMsgAllowance; - toProto(message: AllowedMsgAllowance): Uint8Array; - toProtoMsg(message: AllowedMsgAllowance): AllowedMsgAllowanceProtoMsg; -}; -export declare const Grant: { - typeUrl: string; - aminoType: string; - is(o: any): o is Grant; - isSDK(o: any): o is GrantSDKType; - isAmino(o: any): o is GrantAmino; - encode(message: Grant, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Grant; - fromJSON(object: any): Grant; - toJSON(message: Grant): unknown; - fromPartial(object: DeepPartial): Grant; - fromSDK(object: GrantSDKType): Grant; - toSDK(message: Grant): GrantSDKType; - fromAmino(object: GrantAmino): Grant; - toAmino(message: Grant): GrantAmino; - fromAminoMsg(object: GrantAminoMsg): Grant; - toAminoMsg(message: Grant): GrantAminoMsg; - fromProtoMsg(message: GrantProtoMsg): Grant; - toProto(message: Grant): Uint8Array; - toProtoMsg(message: Grant): GrantProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts b/examples/authz/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts deleted file mode 100644 index 3ddf8fc7..00000000 --- a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Grant, GrantAmino, GrantSDKType } from "./feegrant"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState contains a set of fee allowances, persisted from the store */ -export interface GenesisState { - allowances: Grant[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState contains a set of fee allowances, persisted from the store */ -export interface GenesisStateAmino { - allowances?: GrantAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState contains a set of fee allowances, persisted from the store */ -export interface GenesisStateSDKType { - allowances: GrantSDKType[]; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/query.d.ts b/examples/authz/types/codegen/cosmos/feegrant/v1beta1/query.d.ts deleted file mode 100644 index 56b2d447..00000000 --- a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +++ /dev/null @@ -1,283 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantAmino, GrantSDKType } from "./feegrant"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ -export interface QueryAllowanceRequest { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; -} -export interface QueryAllowanceRequestProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowanceRequest"; - value: Uint8Array; -} -/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ -export interface QueryAllowanceRequestAmino { - /** granter is the address of the user granting an allowance of their funds. */ - granter?: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee?: string; -} -export interface QueryAllowanceRequestAminoMsg { - type: "cosmos-sdk/QueryAllowanceRequest"; - value: QueryAllowanceRequestAmino; -} -/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ -export interface QueryAllowanceRequestSDKType { - granter: string; - grantee: string; -} -/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ -export interface QueryAllowanceResponse { - /** allowance is a allowance granted for grantee by granter. */ - allowance?: Grant | undefined; -} -export interface QueryAllowanceResponseProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowanceResponse"; - value: Uint8Array; -} -/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ -export interface QueryAllowanceResponseAmino { - /** allowance is a allowance granted for grantee by granter. */ - allowance?: GrantAmino | undefined; -} -export interface QueryAllowanceResponseAminoMsg { - type: "cosmos-sdk/QueryAllowanceResponse"; - value: QueryAllowanceResponseAmino; -} -/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ -export interface QueryAllowanceResponseSDKType { - allowance?: GrantSDKType | undefined; -} -/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ -export interface QueryAllowancesRequest { - grantee: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryAllowancesRequestProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesRequest"; - value: Uint8Array; -} -/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ -export interface QueryAllowancesRequestAmino { - grantee?: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryAllowancesRequestAminoMsg { - type: "cosmos-sdk/QueryAllowancesRequest"; - value: QueryAllowancesRequestAmino; -} -/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ -export interface QueryAllowancesRequestSDKType { - grantee: string; - pagination?: PageRequestSDKType | undefined; -} -/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ -export interface QueryAllowancesResponse { - /** allowances are allowance's granted for grantee by granter. */ - allowances: Grant[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryAllowancesResponseProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesResponse"; - value: Uint8Array; -} -/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ -export interface QueryAllowancesResponseAmino { - /** allowances are allowance's granted for grantee by granter. */ - allowances?: GrantAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryAllowancesResponseAminoMsg { - type: "cosmos-sdk/QueryAllowancesResponse"; - value: QueryAllowancesResponseAmino; -} -/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ -export interface QueryAllowancesResponseSDKType { - allowances: GrantSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ -export interface QueryAllowancesByGranterRequest { - granter: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryAllowancesByGranterRequestProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest"; - value: Uint8Array; -} -/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ -export interface QueryAllowancesByGranterRequestAmino { - granter?: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryAllowancesByGranterRequestAminoMsg { - type: "cosmos-sdk/QueryAllowancesByGranterRequest"; - value: QueryAllowancesByGranterRequestAmino; -} -/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ -export interface QueryAllowancesByGranterRequestSDKType { - granter: string; - pagination?: PageRequestSDKType | undefined; -} -/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ -export interface QueryAllowancesByGranterResponse { - /** allowances that have been issued by the granter. */ - allowances: Grant[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryAllowancesByGranterResponseProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse"; - value: Uint8Array; -} -/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ -export interface QueryAllowancesByGranterResponseAmino { - /** allowances that have been issued by the granter. */ - allowances?: GrantAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryAllowancesByGranterResponseAminoMsg { - type: "cosmos-sdk/QueryAllowancesByGranterResponse"; - value: QueryAllowancesByGranterResponseAmino; -} -/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ -export interface QueryAllowancesByGranterResponseSDKType { - allowances: GrantSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -export declare const QueryAllowanceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAllowanceRequest; - isSDK(o: any): o is QueryAllowanceRequestSDKType; - isAmino(o: any): o is QueryAllowanceRequestAmino; - encode(message: QueryAllowanceRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAllowanceRequest; - fromJSON(object: any): QueryAllowanceRequest; - toJSON(message: QueryAllowanceRequest): unknown; - fromPartial(object: DeepPartial): QueryAllowanceRequest; - fromSDK(object: QueryAllowanceRequestSDKType): QueryAllowanceRequest; - toSDK(message: QueryAllowanceRequest): QueryAllowanceRequestSDKType; - fromAmino(object: QueryAllowanceRequestAmino): QueryAllowanceRequest; - toAmino(message: QueryAllowanceRequest): QueryAllowanceRequestAmino; - fromAminoMsg(object: QueryAllowanceRequestAminoMsg): QueryAllowanceRequest; - toAminoMsg(message: QueryAllowanceRequest): QueryAllowanceRequestAminoMsg; - fromProtoMsg(message: QueryAllowanceRequestProtoMsg): QueryAllowanceRequest; - toProto(message: QueryAllowanceRequest): Uint8Array; - toProtoMsg(message: QueryAllowanceRequest): QueryAllowanceRequestProtoMsg; -}; -export declare const QueryAllowanceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAllowanceResponse; - isSDK(o: any): o is QueryAllowanceResponseSDKType; - isAmino(o: any): o is QueryAllowanceResponseAmino; - encode(message: QueryAllowanceResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAllowanceResponse; - fromJSON(object: any): QueryAllowanceResponse; - toJSON(message: QueryAllowanceResponse): unknown; - fromPartial(object: DeepPartial): QueryAllowanceResponse; - fromSDK(object: QueryAllowanceResponseSDKType): QueryAllowanceResponse; - toSDK(message: QueryAllowanceResponse): QueryAllowanceResponseSDKType; - fromAmino(object: QueryAllowanceResponseAmino): QueryAllowanceResponse; - toAmino(message: QueryAllowanceResponse): QueryAllowanceResponseAmino; - fromAminoMsg(object: QueryAllowanceResponseAminoMsg): QueryAllowanceResponse; - toAminoMsg(message: QueryAllowanceResponse): QueryAllowanceResponseAminoMsg; - fromProtoMsg(message: QueryAllowanceResponseProtoMsg): QueryAllowanceResponse; - toProto(message: QueryAllowanceResponse): Uint8Array; - toProtoMsg(message: QueryAllowanceResponse): QueryAllowanceResponseProtoMsg; -}; -export declare const QueryAllowancesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAllowancesRequest; - isSDK(o: any): o is QueryAllowancesRequestSDKType; - isAmino(o: any): o is QueryAllowancesRequestAmino; - encode(message: QueryAllowancesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAllowancesRequest; - fromJSON(object: any): QueryAllowancesRequest; - toJSON(message: QueryAllowancesRequest): unknown; - fromPartial(object: DeepPartial): QueryAllowancesRequest; - fromSDK(object: QueryAllowancesRequestSDKType): QueryAllowancesRequest; - toSDK(message: QueryAllowancesRequest): QueryAllowancesRequestSDKType; - fromAmino(object: QueryAllowancesRequestAmino): QueryAllowancesRequest; - toAmino(message: QueryAllowancesRequest): QueryAllowancesRequestAmino; - fromAminoMsg(object: QueryAllowancesRequestAminoMsg): QueryAllowancesRequest; - toAminoMsg(message: QueryAllowancesRequest): QueryAllowancesRequestAminoMsg; - fromProtoMsg(message: QueryAllowancesRequestProtoMsg): QueryAllowancesRequest; - toProto(message: QueryAllowancesRequest): Uint8Array; - toProtoMsg(message: QueryAllowancesRequest): QueryAllowancesRequestProtoMsg; -}; -export declare const QueryAllowancesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAllowancesResponse; - isSDK(o: any): o is QueryAllowancesResponseSDKType; - isAmino(o: any): o is QueryAllowancesResponseAmino; - encode(message: QueryAllowancesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAllowancesResponse; - fromJSON(object: any): QueryAllowancesResponse; - toJSON(message: QueryAllowancesResponse): unknown; - fromPartial(object: DeepPartial): QueryAllowancesResponse; - fromSDK(object: QueryAllowancesResponseSDKType): QueryAllowancesResponse; - toSDK(message: QueryAllowancesResponse): QueryAllowancesResponseSDKType; - fromAmino(object: QueryAllowancesResponseAmino): QueryAllowancesResponse; - toAmino(message: QueryAllowancesResponse): QueryAllowancesResponseAmino; - fromAminoMsg(object: QueryAllowancesResponseAminoMsg): QueryAllowancesResponse; - toAminoMsg(message: QueryAllowancesResponse): QueryAllowancesResponseAminoMsg; - fromProtoMsg(message: QueryAllowancesResponseProtoMsg): QueryAllowancesResponse; - toProto(message: QueryAllowancesResponse): Uint8Array; - toProtoMsg(message: QueryAllowancesResponse): QueryAllowancesResponseProtoMsg; -}; -export declare const QueryAllowancesByGranterRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAllowancesByGranterRequest; - isSDK(o: any): o is QueryAllowancesByGranterRequestSDKType; - isAmino(o: any): o is QueryAllowancesByGranterRequestAmino; - encode(message: QueryAllowancesByGranterRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAllowancesByGranterRequest; - fromJSON(object: any): QueryAllowancesByGranterRequest; - toJSON(message: QueryAllowancesByGranterRequest): unknown; - fromPartial(object: DeepPartial): QueryAllowancesByGranterRequest; - fromSDK(object: QueryAllowancesByGranterRequestSDKType): QueryAllowancesByGranterRequest; - toSDK(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestSDKType; - fromAmino(object: QueryAllowancesByGranterRequestAmino): QueryAllowancesByGranterRequest; - toAmino(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestAmino; - fromAminoMsg(object: QueryAllowancesByGranterRequestAminoMsg): QueryAllowancesByGranterRequest; - toAminoMsg(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestAminoMsg; - fromProtoMsg(message: QueryAllowancesByGranterRequestProtoMsg): QueryAllowancesByGranterRequest; - toProto(message: QueryAllowancesByGranterRequest): Uint8Array; - toProtoMsg(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestProtoMsg; -}; -export declare const QueryAllowancesByGranterResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAllowancesByGranterResponse; - isSDK(o: any): o is QueryAllowancesByGranterResponseSDKType; - isAmino(o: any): o is QueryAllowancesByGranterResponseAmino; - encode(message: QueryAllowancesByGranterResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAllowancesByGranterResponse; - fromJSON(object: any): QueryAllowancesByGranterResponse; - toJSON(message: QueryAllowancesByGranterResponse): unknown; - fromPartial(object: DeepPartial): QueryAllowancesByGranterResponse; - fromSDK(object: QueryAllowancesByGranterResponseSDKType): QueryAllowancesByGranterResponse; - toSDK(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseSDKType; - fromAmino(object: QueryAllowancesByGranterResponseAmino): QueryAllowancesByGranterResponse; - toAmino(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseAmino; - fromAminoMsg(object: QueryAllowancesByGranterResponseAminoMsg): QueryAllowancesByGranterResponse; - toAminoMsg(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseAminoMsg; - fromProtoMsg(message: QueryAllowancesByGranterResponseProtoMsg): QueryAllowancesByGranterResponse; - toProto(message: QueryAllowancesByGranterResponse): Uint8Array; - toProtoMsg(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 0d5b4dd2..00000000 --- a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,67 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Allowance returns fee granted to the grantee by the granter. */ - allowance(request: QueryAllowanceRequest): Promise; - /** Allowances returns all the grants for address. */ - allowances(request: QueryAllowancesRequest): Promise; - /** - * AllowancesByGranter returns all the grants given by an address - * Since v0.46 - */ - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - allowance: (request: QueryAllowanceRequest) => Promise; - allowances: (request: QueryAllowancesRequest) => Promise; - allowancesByGranter: (request: QueryAllowancesByGranterRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseAllowanceQuery extends ReactQueryParams { - request: QueryAllowanceRequest; -} -export interface UseAllowancesQuery extends ReactQueryParams { - request: QueryAllowancesRequest; -} -export interface UseAllowancesByGranterQuery extends ReactQueryParams { - request: QueryAllowancesByGranterRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Allowance returns fee granted to the grantee by the granter. */ useAllowance: ({ request, options }: UseAllowanceQuery) => import("@tanstack/react-query").UseQueryResult; - /** Allowances returns all the grants for address. */ useAllowances: ({ request, options }: UseAllowancesQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * AllowancesByGranter returns all the grants given by an address - * Since v0.46 - */ - useAllowancesByGranter: ({ request, options }: UseAllowancesByGranterQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Allowance returns fee granted to the grantee by the granter. */ QueryAllowanceStore: { - new (): { - store: QueryStore; - allowance(request: QueryAllowanceRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Allowances returns all the grants for address. */ QueryAllowancesStore: { - new (): { - store: QueryStore; - allowances(request: QueryAllowancesRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * AllowancesByGranter returns all the grants given by an address - * Since v0.46 - */ - QueryAllowancesByGranterStore: { - new (): { - store: QueryStore; - allowancesByGranter(request: QueryAllowancesByGranterRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts b/examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts deleted file mode 100644 index 8767b85a..00000000 --- a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx"; -export declare const AminoConverter: { - "/cosmos.feegrant.v1beta1.MsgGrantAllowance": { - aminoType: string; - toAmino: (message: MsgGrantAllowance) => import("./tx").MsgGrantAllowanceAmino; - fromAmino: (object: import("./tx").MsgGrantAllowanceAmino) => MsgGrantAllowance; - }; - "/cosmos.feegrant.v1beta1.MsgRevokeAllowance": { - aminoType: string; - toAmino: (message: MsgRevokeAllowance) => import("./tx").MsgRevokeAllowanceAmino; - fromAmino: (object: import("./tx").MsgRevokeAllowanceAmino) => MsgRevokeAllowance; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts b/examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts deleted file mode 100644 index ea92504d..00000000 --- a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +++ /dev/null @@ -1,193 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BasicAllowance, BasicAllowanceProtoMsg, BasicAllowanceSDKType, PeriodicAllowance, PeriodicAllowanceProtoMsg, PeriodicAllowanceSDKType, AllowedMsgAllowance, AllowedMsgAllowanceProtoMsg, AllowedMsgAllowanceSDKType } from "./feegrant"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * MsgGrantAllowance adds permission for Grantee to spend up to Allowance - * of fees from the account of Granter. - */ -export interface MsgGrantAllowance { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; - /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance?: BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any | undefined; -} -export interface MsgGrantAllowanceProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance"; - value: Uint8Array; -} -export type MsgGrantAllowanceEncoded = Omit & { - /** allowance can be any of basic, periodic, allowed fee allowance. */ allowance?: BasicAllowanceProtoMsg | PeriodicAllowanceProtoMsg | AllowedMsgAllowanceProtoMsg | AnyProtoMsg | undefined; -}; -/** - * MsgGrantAllowance adds permission for Grantee to spend up to Allowance - * of fees from the account of Granter. - */ -export interface MsgGrantAllowanceAmino { - /** granter is the address of the user granting an allowance of their funds. */ - granter?: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee?: string; - /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance?: AnyAmino | undefined; -} -export interface MsgGrantAllowanceAminoMsg { - type: "cosmos-sdk/MsgGrantAllowance"; - value: MsgGrantAllowanceAmino; -} -/** - * MsgGrantAllowance adds permission for Grantee to spend up to Allowance - * of fees from the account of Granter. - */ -export interface MsgGrantAllowanceSDKType { - granter: string; - grantee: string; - allowance?: BasicAllowanceSDKType | PeriodicAllowanceSDKType | AllowedMsgAllowanceSDKType | AnySDKType | undefined; -} -/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ -export interface MsgGrantAllowanceResponse { -} -export interface MsgGrantAllowanceResponseProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse"; - value: Uint8Array; -} -/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ -export interface MsgGrantAllowanceResponseAmino { -} -export interface MsgGrantAllowanceResponseAminoMsg { - type: "cosmos-sdk/MsgGrantAllowanceResponse"; - value: MsgGrantAllowanceResponseAmino; -} -/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ -export interface MsgGrantAllowanceResponseSDKType { -} -/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */ -export interface MsgRevokeAllowance { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; -} -export interface MsgRevokeAllowanceProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance"; - value: Uint8Array; -} -/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */ -export interface MsgRevokeAllowanceAmino { - /** granter is the address of the user granting an allowance of their funds. */ - granter?: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee?: string; -} -export interface MsgRevokeAllowanceAminoMsg { - type: "cosmos-sdk/MsgRevokeAllowance"; - value: MsgRevokeAllowanceAmino; -} -/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */ -export interface MsgRevokeAllowanceSDKType { - granter: string; - grantee: string; -} -/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ -export interface MsgRevokeAllowanceResponse { -} -export interface MsgRevokeAllowanceResponseProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse"; - value: Uint8Array; -} -/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ -export interface MsgRevokeAllowanceResponseAmino { -} -export interface MsgRevokeAllowanceResponseAminoMsg { - type: "cosmos-sdk/MsgRevokeAllowanceResponse"; - value: MsgRevokeAllowanceResponseAmino; -} -/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ -export interface MsgRevokeAllowanceResponseSDKType { -} -export declare const MsgGrantAllowance: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgGrantAllowance; - isSDK(o: any): o is MsgGrantAllowanceSDKType; - isAmino(o: any): o is MsgGrantAllowanceAmino; - encode(message: MsgGrantAllowance, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgGrantAllowance; - fromJSON(object: any): MsgGrantAllowance; - toJSON(message: MsgGrantAllowance): unknown; - fromPartial(object: DeepPartial): MsgGrantAllowance; - fromSDK(object: MsgGrantAllowanceSDKType): MsgGrantAllowance; - toSDK(message: MsgGrantAllowance): MsgGrantAllowanceSDKType; - fromAmino(object: MsgGrantAllowanceAmino): MsgGrantAllowance; - toAmino(message: MsgGrantAllowance): MsgGrantAllowanceAmino; - fromAminoMsg(object: MsgGrantAllowanceAminoMsg): MsgGrantAllowance; - toAminoMsg(message: MsgGrantAllowance): MsgGrantAllowanceAminoMsg; - fromProtoMsg(message: MsgGrantAllowanceProtoMsg): MsgGrantAllowance; - toProto(message: MsgGrantAllowance): Uint8Array; - toProtoMsg(message: MsgGrantAllowance): MsgGrantAllowanceProtoMsg; -}; -export declare const MsgGrantAllowanceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgGrantAllowanceResponse; - isSDK(o: any): o is MsgGrantAllowanceResponseSDKType; - isAmino(o: any): o is MsgGrantAllowanceResponseAmino; - encode(_: MsgGrantAllowanceResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgGrantAllowanceResponse; - fromJSON(_: any): MsgGrantAllowanceResponse; - toJSON(_: MsgGrantAllowanceResponse): unknown; - fromPartial(_: DeepPartial): MsgGrantAllowanceResponse; - fromSDK(_: MsgGrantAllowanceResponseSDKType): MsgGrantAllowanceResponse; - toSDK(_: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseSDKType; - fromAmino(_: MsgGrantAllowanceResponseAmino): MsgGrantAllowanceResponse; - toAmino(_: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseAmino; - fromAminoMsg(object: MsgGrantAllowanceResponseAminoMsg): MsgGrantAllowanceResponse; - toAminoMsg(message: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseAminoMsg; - fromProtoMsg(message: MsgGrantAllowanceResponseProtoMsg): MsgGrantAllowanceResponse; - toProto(message: MsgGrantAllowanceResponse): Uint8Array; - toProtoMsg(message: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseProtoMsg; -}; -export declare const MsgRevokeAllowance: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgRevokeAllowance; - isSDK(o: any): o is MsgRevokeAllowanceSDKType; - isAmino(o: any): o is MsgRevokeAllowanceAmino; - encode(message: MsgRevokeAllowance, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgRevokeAllowance; - fromJSON(object: any): MsgRevokeAllowance; - toJSON(message: MsgRevokeAllowance): unknown; - fromPartial(object: DeepPartial): MsgRevokeAllowance; - fromSDK(object: MsgRevokeAllowanceSDKType): MsgRevokeAllowance; - toSDK(message: MsgRevokeAllowance): MsgRevokeAllowanceSDKType; - fromAmino(object: MsgRevokeAllowanceAmino): MsgRevokeAllowance; - toAmino(message: MsgRevokeAllowance): MsgRevokeAllowanceAmino; - fromAminoMsg(object: MsgRevokeAllowanceAminoMsg): MsgRevokeAllowance; - toAminoMsg(message: MsgRevokeAllowance): MsgRevokeAllowanceAminoMsg; - fromProtoMsg(message: MsgRevokeAllowanceProtoMsg): MsgRevokeAllowance; - toProto(message: MsgRevokeAllowance): Uint8Array; - toProtoMsg(message: MsgRevokeAllowance): MsgRevokeAllowanceProtoMsg; -}; -export declare const MsgRevokeAllowanceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgRevokeAllowanceResponse; - isSDK(o: any): o is MsgRevokeAllowanceResponseSDKType; - isAmino(o: any): o is MsgRevokeAllowanceResponseAmino; - encode(_: MsgRevokeAllowanceResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgRevokeAllowanceResponse; - fromJSON(_: any): MsgRevokeAllowanceResponse; - toJSON(_: MsgRevokeAllowanceResponse): unknown; - fromPartial(_: DeepPartial): MsgRevokeAllowanceResponse; - fromSDK(_: MsgRevokeAllowanceResponseSDKType): MsgRevokeAllowanceResponse; - toSDK(_: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseSDKType; - fromAmino(_: MsgRevokeAllowanceResponseAmino): MsgRevokeAllowanceResponse; - toAmino(_: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseAmino; - fromAminoMsg(object: MsgRevokeAllowanceResponseAminoMsg): MsgRevokeAllowanceResponse; - toAminoMsg(message: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseAminoMsg; - fromProtoMsg(message: MsgRevokeAllowanceResponseProtoMsg): MsgRevokeAllowanceResponse; - toProto(message: MsgRevokeAllowanceResponse): Uint8Array; - toProtoMsg(message: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts b/examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts deleted file mode 100644 index c224fadf..00000000 --- a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - grantAllowance(value: MsgGrantAllowance): { - typeUrl: string; - value: Uint8Array; - }; - revokeAllowance(value: MsgRevokeAllowance): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - grantAllowance(value: MsgGrantAllowance): { - typeUrl: string; - value: MsgGrantAllowance; - }; - revokeAllowance(value: MsgRevokeAllowance): { - typeUrl: string; - value: MsgRevokeAllowance; - }; - }; - toJSON: { - grantAllowance(value: MsgGrantAllowance): { - typeUrl: string; - value: unknown; - }; - revokeAllowance(value: MsgRevokeAllowance): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - grantAllowance(value: any): { - typeUrl: string; - value: MsgGrantAllowance; - }; - revokeAllowance(value: any): { - typeUrl: string; - value: MsgRevokeAllowance; - }; - }; - fromPartial: { - grantAllowance(value: MsgGrantAllowance): { - typeUrl: string; - value: MsgGrantAllowance; - }; - revokeAllowance(value: MsgRevokeAllowance): { - typeUrl: string; - value: MsgRevokeAllowance; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index dd3a375d..00000000 --- a/examples/authz/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgGrantAllowance, MsgRevokeAllowance } from "./tx"; -/** Msg defines the feegrant msg service. */ -export interface Msg { - /** - * GrantAllowance grants fee allowance to the grantee on the granter's - * account with the provided expiration time. - */ - grantAllowance(signerAddress: string, message: MsgGrantAllowance, fee: number | StdFee | "auto", memo: string): Promise; - /** - * RevokeAllowance revokes any fee allowance of granter's account that - * has been granted to the grantee. - */ - revokeAllowance(signerAddress: string, message: MsgRevokeAllowance, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - grantAllowance: (signerAddress: string, message: MsgGrantAllowance, fee?: number | StdFee | "auto", memo?: string) => Promise; - revokeAllowance: (signerAddress: string, message: MsgRevokeAllowance, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts b/examples/authz/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts deleted file mode 100644 index ef1f6aa2..00000000 --- a/examples/authz/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the raw genesis transaction in JSON. */ -export interface GenesisState { - /** gen_txs defines the genesis transactions. */ - genTxs: Uint8Array[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.genutil.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the raw genesis transaction in JSON. */ -export interface GenesisStateAmino { - /** gen_txs defines the genesis transactions. */ - gen_txs?: string[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the raw genesis transaction in JSON. */ -export interface GenesisStateSDKType { - gen_txs: Uint8Array[]; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/gov/v1/genesis.d.ts b/examples/authz/types/codegen/cosmos/gov/v1/genesis.d.ts deleted file mode 100644 index 912814ea..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1/genesis.d.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { Deposit, DepositAmino, DepositSDKType, Vote, VoteAmino, VoteSDKType, Proposal, ProposalAmino, ProposalSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType } from "./gov"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisState { - /** starting_proposal_id is the ID of the starting proposal. */ - startingProposalId: bigint; - /** deposits defines all the deposits present at genesis. */ - deposits: Deposit[]; - /** votes defines all the votes present at genesis. */ - votes: Vote[]; - /** proposals defines all the proposals present at genesis. */ - proposals: Proposal[]; - /** params defines all the paramaters of related to deposit. */ - depositParams?: DepositParams | undefined; - /** params defines all the paramaters of related to voting. */ - votingParams?: VotingParams | undefined; - /** params defines all the paramaters of related to tally. */ - tallyParams?: TallyParams | undefined; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.gov.v1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisStateAmino { - /** starting_proposal_id is the ID of the starting proposal. */ - starting_proposal_id?: string; - /** deposits defines all the deposits present at genesis. */ - deposits?: DepositAmino[]; - /** votes defines all the votes present at genesis. */ - votes?: VoteAmino[]; - /** proposals defines all the proposals present at genesis. */ - proposals?: ProposalAmino[]; - /** params defines all the paramaters of related to deposit. */ - deposit_params?: DepositParamsAmino | undefined; - /** params defines all the paramaters of related to voting. */ - voting_params?: VotingParamsAmino | undefined; - /** params defines all the paramaters of related to tally. */ - tally_params?: TallyParamsAmino | undefined; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/v1/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisStateSDKType { - starting_proposal_id: bigint; - deposits: DepositSDKType[]; - votes: VoteSDKType[]; - proposals: ProposalSDKType[]; - deposit_params?: DepositParamsSDKType | undefined; - voting_params?: VotingParamsSDKType | undefined; - tally_params?: TallyParamsSDKType | undefined; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/gov/v1/gov.d.ts b/examples/authz/types/codegen/cosmos/gov/v1/gov.d.ts deleted file mode 100644 index 0543ae2f..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1/gov.d.ts +++ /dev/null @@ -1,511 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { DeepPartial } from "../../../helpers"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -/** VoteOption enumerates the valid vote options for a given governance proposal. */ -export declare enum VoteOption { - /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */ - VOTE_OPTION_UNSPECIFIED = 0, - /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */ - VOTE_OPTION_YES = 1, - /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */ - VOTE_OPTION_ABSTAIN = 2, - /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */ - VOTE_OPTION_NO = 3, - /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */ - VOTE_OPTION_NO_WITH_VETO = 4, - UNRECOGNIZED = -1 -} -export declare const VoteOptionSDKType: typeof VoteOption; -export declare const VoteOptionAmino: typeof VoteOption; -export declare function voteOptionFromJSON(object: any): VoteOption; -export declare function voteOptionToJSON(object: VoteOption): string; -/** ProposalStatus enumerates the valid statuses of a proposal. */ -export declare enum ProposalStatus { - /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. */ - PROPOSAL_STATUS_UNSPECIFIED = 0, - /** - * PROPOSAL_STATUS_DEPOSIT_PERIOD - PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - * period. - */ - PROPOSAL_STATUS_DEPOSIT_PERIOD = 1, - /** - * PROPOSAL_STATUS_VOTING_PERIOD - PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - * period. - */ - PROPOSAL_STATUS_VOTING_PERIOD = 2, - /** - * PROPOSAL_STATUS_PASSED - PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - * passed. - */ - PROPOSAL_STATUS_PASSED = 3, - /** - * PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - * been rejected. - */ - PROPOSAL_STATUS_REJECTED = 4, - /** - * PROPOSAL_STATUS_FAILED - PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - * failed. - */ - PROPOSAL_STATUS_FAILED = 5, - UNRECOGNIZED = -1 -} -export declare const ProposalStatusSDKType: typeof ProposalStatus; -export declare const ProposalStatusAmino: typeof ProposalStatus; -export declare function proposalStatusFromJSON(object: any): ProposalStatus; -export declare function proposalStatusToJSON(object: ProposalStatus): string; -/** WeightedVoteOption defines a unit of vote for vote split. */ -export interface WeightedVoteOption { - option: VoteOption; - weight: string; -} -export interface WeightedVoteOptionProtoMsg { - typeUrl: "/cosmos.gov.v1.WeightedVoteOption"; - value: Uint8Array; -} -/** WeightedVoteOption defines a unit of vote for vote split. */ -export interface WeightedVoteOptionAmino { - option?: VoteOption; - weight?: string; -} -export interface WeightedVoteOptionAminoMsg { - type: "cosmos-sdk/v1/WeightedVoteOption"; - value: WeightedVoteOptionAmino; -} -/** WeightedVoteOption defines a unit of vote for vote split. */ -export interface WeightedVoteOptionSDKType { - option: VoteOption; - weight: string; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface Deposit { - proposalId: bigint; - depositor: string; - amount: Coin[]; -} -export interface DepositProtoMsg { - typeUrl: "/cosmos.gov.v1.Deposit"; - value: Uint8Array; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface DepositAmino { - proposal_id?: string; - depositor?: string; - amount?: CoinAmino[]; -} -export interface DepositAminoMsg { - type: "cosmos-sdk/v1/Deposit"; - value: DepositAmino; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface DepositSDKType { - proposal_id: bigint; - depositor: string; - amount: CoinSDKType[]; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface Proposal { - id: bigint; - messages: Any[]; - status: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - finalTallyResult?: TallyResult | undefined; - submitTime?: Date | undefined; - depositEndTime?: Date | undefined; - totalDeposit: Coin[]; - votingStartTime?: Date | undefined; - votingEndTime?: Date | undefined; - /** metadata is any arbitrary metadata attached to the proposal. */ - metadata: string; -} -export interface ProposalProtoMsg { - typeUrl: "/cosmos.gov.v1.Proposal"; - value: Uint8Array; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface ProposalAmino { - id?: string; - messages?: AnyAmino[]; - status?: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - final_tally_result?: TallyResultAmino | undefined; - submit_time?: string | undefined; - deposit_end_time?: string | undefined; - total_deposit?: CoinAmino[]; - voting_start_time?: string | undefined; - voting_end_time?: string | undefined; - /** metadata is any arbitrary metadata attached to the proposal. */ - metadata?: string; -} -export interface ProposalAminoMsg { - type: "cosmos-sdk/v1/Proposal"; - value: ProposalAmino; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface ProposalSDKType { - id: bigint; - messages: AnySDKType[]; - status: ProposalStatus; - final_tally_result?: TallyResultSDKType | undefined; - submit_time?: Date | undefined; - deposit_end_time?: Date | undefined; - total_deposit: CoinSDKType[]; - voting_start_time?: Date | undefined; - voting_end_time?: Date | undefined; - metadata: string; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResult { - yesCount: string; - abstainCount: string; - noCount: string; - noWithVetoCount: string; -} -export interface TallyResultProtoMsg { - typeUrl: "/cosmos.gov.v1.TallyResult"; - value: Uint8Array; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResultAmino { - yes_count?: string; - abstain_count?: string; - no_count?: string; - no_with_veto_count?: string; -} -export interface TallyResultAminoMsg { - type: "cosmos-sdk/v1/TallyResult"; - value: TallyResultAmino; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResultSDKType { - yes_count: string; - abstain_count: string; - no_count: string; - no_with_veto_count: string; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface Vote { - proposalId: bigint; - voter: string; - options: WeightedVoteOption[]; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; -} -export interface VoteProtoMsg { - typeUrl: "/cosmos.gov.v1.Vote"; - value: Uint8Array; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface VoteAmino { - proposal_id?: string; - voter?: string; - options?: WeightedVoteOptionAmino[]; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata?: string; -} -export interface VoteAminoMsg { - type: "cosmos-sdk/v1/Vote"; - value: VoteAmino; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface VoteSDKType { - proposal_id: bigint; - voter: string; - options: WeightedVoteOptionSDKType[]; - metadata: string; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParams { - /** Minimum deposit for a proposal to enter voting period. */ - minDeposit: Coin[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - maxDepositPeriod?: Duration | undefined; -} -export interface DepositParamsProtoMsg { - typeUrl: "/cosmos.gov.v1.DepositParams"; - value: Uint8Array; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParamsAmino { - /** Minimum deposit for a proposal to enter voting period. */ - min_deposit?: CoinAmino[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - max_deposit_period?: DurationAmino | undefined; -} -export interface DepositParamsAminoMsg { - type: "cosmos-sdk/v1/DepositParams"; - value: DepositParamsAmino; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParamsSDKType { - min_deposit: CoinSDKType[]; - max_deposit_period?: DurationSDKType | undefined; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParams { - /** Length of the voting period. */ - votingPeriod?: Duration | undefined; -} -export interface VotingParamsProtoMsg { - typeUrl: "/cosmos.gov.v1.VotingParams"; - value: Uint8Array; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParamsAmino { - /** Length of the voting period. */ - voting_period?: DurationAmino | undefined; -} -export interface VotingParamsAminoMsg { - type: "cosmos-sdk/v1/VotingParams"; - value: VotingParamsAmino; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParamsSDKType { - voting_period?: DurationSDKType | undefined; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParams { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum: string; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - threshold: string; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - vetoThreshold: string; -} -export interface TallyParamsProtoMsg { - typeUrl: "/cosmos.gov.v1.TallyParams"; - value: Uint8Array; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParamsAmino { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum?: string; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - threshold?: string; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - veto_threshold?: string; -} -export interface TallyParamsAminoMsg { - type: "cosmos-sdk/v1/TallyParams"; - value: TallyParamsAmino; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParamsSDKType { - quorum: string; - threshold: string; - veto_threshold: string; -} -export declare const WeightedVoteOption: { - typeUrl: string; - aminoType: string; - is(o: any): o is WeightedVoteOption; - isSDK(o: any): o is WeightedVoteOptionSDKType; - isAmino(o: any): o is WeightedVoteOptionAmino; - encode(message: WeightedVoteOption, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): WeightedVoteOption; - fromJSON(object: any): WeightedVoteOption; - toJSON(message: WeightedVoteOption): unknown; - fromPartial(object: DeepPartial): WeightedVoteOption; - fromSDK(object: WeightedVoteOptionSDKType): WeightedVoteOption; - toSDK(message: WeightedVoteOption): WeightedVoteOptionSDKType; - fromAmino(object: WeightedVoteOptionAmino): WeightedVoteOption; - toAmino(message: WeightedVoteOption): WeightedVoteOptionAmino; - fromAminoMsg(object: WeightedVoteOptionAminoMsg): WeightedVoteOption; - toAminoMsg(message: WeightedVoteOption): WeightedVoteOptionAminoMsg; - fromProtoMsg(message: WeightedVoteOptionProtoMsg): WeightedVoteOption; - toProto(message: WeightedVoteOption): Uint8Array; - toProtoMsg(message: WeightedVoteOption): WeightedVoteOptionProtoMsg; -}; -export declare const Deposit: { - typeUrl: string; - aminoType: string; - is(o: any): o is Deposit; - isSDK(o: any): o is DepositSDKType; - isAmino(o: any): o is DepositAmino; - encode(message: Deposit, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Deposit; - fromJSON(object: any): Deposit; - toJSON(message: Deposit): unknown; - fromPartial(object: DeepPartial): Deposit; - fromSDK(object: DepositSDKType): Deposit; - toSDK(message: Deposit): DepositSDKType; - fromAmino(object: DepositAmino): Deposit; - toAmino(message: Deposit): DepositAmino; - fromAminoMsg(object: DepositAminoMsg): Deposit; - toAminoMsg(message: Deposit): DepositAminoMsg; - fromProtoMsg(message: DepositProtoMsg): Deposit; - toProto(message: Deposit): Uint8Array; - toProtoMsg(message: Deposit): DepositProtoMsg; -}; -export declare const Proposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is Proposal; - isSDK(o: any): o is ProposalSDKType; - isAmino(o: any): o is ProposalAmino; - encode(message: Proposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Proposal; - fromJSON(object: any): Proposal; - toJSON(message: Proposal): unknown; - fromPartial(object: DeepPartial): Proposal; - fromSDK(object: ProposalSDKType): Proposal; - toSDK(message: Proposal): ProposalSDKType; - fromAmino(object: ProposalAmino): Proposal; - toAmino(message: Proposal): ProposalAmino; - fromAminoMsg(object: ProposalAminoMsg): Proposal; - toAminoMsg(message: Proposal): ProposalAminoMsg; - fromProtoMsg(message: ProposalProtoMsg): Proposal; - toProto(message: Proposal): Uint8Array; - toProtoMsg(message: Proposal): ProposalProtoMsg; -}; -export declare const TallyResult: { - typeUrl: string; - aminoType: string; - is(o: any): o is TallyResult; - isSDK(o: any): o is TallyResultSDKType; - isAmino(o: any): o is TallyResultAmino; - encode(message: TallyResult, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TallyResult; - fromJSON(object: any): TallyResult; - toJSON(message: TallyResult): unknown; - fromPartial(object: DeepPartial): TallyResult; - fromSDK(object: TallyResultSDKType): TallyResult; - toSDK(message: TallyResult): TallyResultSDKType; - fromAmino(object: TallyResultAmino): TallyResult; - toAmino(message: TallyResult): TallyResultAmino; - fromAminoMsg(object: TallyResultAminoMsg): TallyResult; - toAminoMsg(message: TallyResult): TallyResultAminoMsg; - fromProtoMsg(message: TallyResultProtoMsg): TallyResult; - toProto(message: TallyResult): Uint8Array; - toProtoMsg(message: TallyResult): TallyResultProtoMsg; -}; -export declare const Vote: { - typeUrl: string; - aminoType: string; - is(o: any): o is Vote; - isSDK(o: any): o is VoteSDKType; - isAmino(o: any): o is VoteAmino; - encode(message: Vote, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Vote; - fromJSON(object: any): Vote; - toJSON(message: Vote): unknown; - fromPartial(object: DeepPartial): Vote; - fromSDK(object: VoteSDKType): Vote; - toSDK(message: Vote): VoteSDKType; - fromAmino(object: VoteAmino): Vote; - toAmino(message: Vote): VoteAmino; - fromAminoMsg(object: VoteAminoMsg): Vote; - toAminoMsg(message: Vote): VoteAminoMsg; - fromProtoMsg(message: VoteProtoMsg): Vote; - toProto(message: Vote): Uint8Array; - toProtoMsg(message: Vote): VoteProtoMsg; -}; -export declare const DepositParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is DepositParams; - isSDK(o: any): o is DepositParamsSDKType; - isAmino(o: any): o is DepositParamsAmino; - encode(message: DepositParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DepositParams; - fromJSON(object: any): DepositParams; - toJSON(message: DepositParams): unknown; - fromPartial(object: DeepPartial): DepositParams; - fromSDK(object: DepositParamsSDKType): DepositParams; - toSDK(message: DepositParams): DepositParamsSDKType; - fromAmino(object: DepositParamsAmino): DepositParams; - toAmino(message: DepositParams): DepositParamsAmino; - fromAminoMsg(object: DepositParamsAminoMsg): DepositParams; - toAminoMsg(message: DepositParams): DepositParamsAminoMsg; - fromProtoMsg(message: DepositParamsProtoMsg): DepositParams; - toProto(message: DepositParams): Uint8Array; - toProtoMsg(message: DepositParams): DepositParamsProtoMsg; -}; -export declare const VotingParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is VotingParams; - isSDK(o: any): o is VotingParamsSDKType; - isAmino(o: any): o is VotingParamsAmino; - encode(message: VotingParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): VotingParams; - fromJSON(object: any): VotingParams; - toJSON(message: VotingParams): unknown; - fromPartial(object: DeepPartial): VotingParams; - fromSDK(object: VotingParamsSDKType): VotingParams; - toSDK(message: VotingParams): VotingParamsSDKType; - fromAmino(object: VotingParamsAmino): VotingParams; - toAmino(message: VotingParams): VotingParamsAmino; - fromAminoMsg(object: VotingParamsAminoMsg): VotingParams; - toAminoMsg(message: VotingParams): VotingParamsAminoMsg; - fromProtoMsg(message: VotingParamsProtoMsg): VotingParams; - toProto(message: VotingParams): Uint8Array; - toProtoMsg(message: VotingParams): VotingParamsProtoMsg; -}; -export declare const TallyParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is TallyParams; - isSDK(o: any): o is TallyParamsSDKType; - isAmino(o: any): o is TallyParamsAmino; - encode(message: TallyParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TallyParams; - fromJSON(object: any): TallyParams; - toJSON(message: TallyParams): unknown; - fromPartial(object: DeepPartial): TallyParams; - fromSDK(object: TallyParamsSDKType): TallyParams; - toSDK(message: TallyParams): TallyParamsSDKType; - fromAmino(object: TallyParamsAmino): TallyParams; - toAmino(message: TallyParams): TallyParamsAmino; - fromAminoMsg(object: TallyParamsAminoMsg): TallyParams; - toAminoMsg(message: TallyParams): TallyParamsAminoMsg; - fromProtoMsg(message: TallyParamsProtoMsg): TallyParams; - toProto(message: TallyParams): Uint8Array; - toProtoMsg(message: TallyParams): TallyParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/gov/v1/query.d.ts b/examples/authz/types/codegen/cosmos/gov/v1/query.d.ts deleted file mode 100644 index a1f41adf..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1/query.d.ts +++ /dev/null @@ -1,761 +0,0 @@ -import { ProposalStatus, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType, Deposit, DepositAmino, DepositSDKType, TallyResult, TallyResultAmino, TallyResultSDKType } from "./gov"; -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: bigint; -} -export interface QueryProposalRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryProposalRequest"; - value: Uint8Array; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id?: string; -} -export interface QueryProposalRequestAminoMsg { - type: "cosmos-sdk/v1/QueryProposalRequest"; - value: QueryProposalRequestAmino; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequestSDKType { - proposal_id: bigint; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponse { - proposal?: Proposal | undefined; -} -export interface QueryProposalResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryProposalResponse"; - value: Uint8Array; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponseAmino { - proposal?: ProposalAmino | undefined; -} -export interface QueryProposalResponseAminoMsg { - type: "cosmos-sdk/v1/QueryProposalResponse"; - value: QueryProposalResponseAmino; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponseSDKType { - proposal?: ProposalSDKType | undefined; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequest { - /** proposal_status defines the status of the proposals. */ - proposalStatus: ProposalStatus; - /** voter defines the voter address for the proposals. */ - voter: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryProposalsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryProposalsRequest"; - value: Uint8Array; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequestAmino { - /** proposal_status defines the status of the proposals. */ - proposal_status?: ProposalStatus; - /** voter defines the voter address for the proposals. */ - voter?: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryProposalsRequestAminoMsg { - type: "cosmos-sdk/v1/QueryProposalsRequest"; - value: QueryProposalsRequestAmino; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequestSDKType { - proposal_status: ProposalStatus; - voter: string; - depositor: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponse { - proposals: Proposal[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryProposalsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryProposalsResponse"; - value: Uint8Array; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponseAmino { - proposals?: ProposalAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryProposalsResponseAminoMsg { - type: "cosmos-sdk/v1/QueryProposalsResponse"; - value: QueryProposalsResponseAmino; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponseSDKType { - proposals: ProposalSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: bigint; - /** voter defines the oter address for the proposals. */ - voter: string; -} -export interface QueryVoteRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryVoteRequest"; - value: Uint8Array; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id?: string; - /** voter defines the oter address for the proposals. */ - voter?: string; -} -export interface QueryVoteRequestAminoMsg { - type: "cosmos-sdk/v1/QueryVoteRequest"; - value: QueryVoteRequestAmino; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequestSDKType { - proposal_id: bigint; - voter: string; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponse { - /** vote defined the queried vote. */ - vote?: Vote | undefined; -} -export interface QueryVoteResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryVoteResponse"; - value: Uint8Array; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponseAmino { - /** vote defined the queried vote. */ - vote?: VoteAmino | undefined; -} -export interface QueryVoteResponseAminoMsg { - type: "cosmos-sdk/v1/QueryVoteResponse"; - value: QueryVoteResponseAmino; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponseSDKType { - vote?: VoteSDKType | undefined; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: bigint; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryVotesRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryVotesRequest"; - value: Uint8Array; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryVotesRequestAminoMsg { - type: "cosmos-sdk/v1/QueryVotesRequest"; - value: QueryVotesRequestAmino; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequestSDKType { - proposal_id: bigint; - pagination?: PageRequestSDKType | undefined; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponse { - /** votes defined the queried votes. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryVotesResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryVotesResponse"; - value: Uint8Array; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponseAmino { - /** votes defined the queried votes. */ - votes?: VoteAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryVotesResponseAminoMsg { - type: "cosmos-sdk/v1/QueryVotesResponse"; - value: QueryVotesResponseAmino; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponseSDKType { - votes: VoteSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - paramsType: string; -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - params_type?: string; -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/v1/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { - params_type: string; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** voting_params defines the parameters related to voting. */ - votingParams?: VotingParams | undefined; - /** deposit_params defines the parameters related to deposit. */ - depositParams?: DepositParams | undefined; - /** tally_params defines the parameters related to tally. */ - tallyParams?: TallyParams | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** voting_params defines the parameters related to voting. */ - voting_params?: VotingParamsAmino | undefined; - /** deposit_params defines the parameters related to deposit. */ - deposit_params?: DepositParamsAmino | undefined; - /** tally_params defines the parameters related to tally. */ - tally_params?: TallyParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/v1/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - voting_params?: VotingParamsSDKType | undefined; - deposit_params?: DepositParamsSDKType | undefined; - tally_params?: TallyParamsSDKType | undefined; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: bigint; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; -} -export interface QueryDepositRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryDepositRequest"; - value: Uint8Array; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id?: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor?: string; -} -export interface QueryDepositRequestAminoMsg { - type: "cosmos-sdk/v1/QueryDepositRequest"; - value: QueryDepositRequestAmino; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequestSDKType { - proposal_id: bigint; - depositor: string; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponse { - /** deposit defines the requested deposit. */ - deposit?: Deposit | undefined; -} -export interface QueryDepositResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryDepositResponse"; - value: Uint8Array; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponseAmino { - /** deposit defines the requested deposit. */ - deposit?: DepositAmino | undefined; -} -export interface QueryDepositResponseAminoMsg { - type: "cosmos-sdk/v1/QueryDepositResponse"; - value: QueryDepositResponseAmino; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponseSDKType { - deposit?: DepositSDKType | undefined; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: bigint; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryDepositsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryDepositsRequest"; - value: Uint8Array; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryDepositsRequestAminoMsg { - type: "cosmos-sdk/v1/QueryDepositsRequest"; - value: QueryDepositsRequestAmino; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequestSDKType { - proposal_id: bigint; - pagination?: PageRequestSDKType | undefined; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponse { - deposits: Deposit[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryDepositsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryDepositsResponse"; - value: Uint8Array; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponseAmino { - deposits?: DepositAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryDepositsResponseAminoMsg { - type: "cosmos-sdk/v1/QueryDepositsResponse"; - value: QueryDepositsResponseAmino; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponseSDKType { - deposits: DepositSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: bigint; -} -export interface QueryTallyResultRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryTallyResultRequest"; - value: Uint8Array; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id?: string; -} -export interface QueryTallyResultRequestAminoMsg { - type: "cosmos-sdk/v1/QueryTallyResultRequest"; - value: QueryTallyResultRequestAmino; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequestSDKType { - proposal_id: bigint; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally?: TallyResult | undefined; -} -export interface QueryTallyResultResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryTallyResultResponse"; - value: Uint8Array; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponseAmino { - /** tally defines the requested tally. */ - tally?: TallyResultAmino | undefined; -} -export interface QueryTallyResultResponseAminoMsg { - type: "cosmos-sdk/v1/QueryTallyResultResponse"; - value: QueryTallyResultResponseAmino; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponseSDKType { - tally?: TallyResultSDKType | undefined; -} -export declare const QueryProposalRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryProposalRequest; - isSDK(o: any): o is QueryProposalRequestSDKType; - isAmino(o: any): o is QueryProposalRequestAmino; - encode(message: QueryProposalRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalRequest; - fromJSON(object: any): QueryProposalRequest; - toJSON(message: QueryProposalRequest): unknown; - fromPartial(object: DeepPartial): QueryProposalRequest; - fromSDK(object: QueryProposalRequestSDKType): QueryProposalRequest; - toSDK(message: QueryProposalRequest): QueryProposalRequestSDKType; - fromAmino(object: QueryProposalRequestAmino): QueryProposalRequest; - toAmino(message: QueryProposalRequest): QueryProposalRequestAmino; - fromAminoMsg(object: QueryProposalRequestAminoMsg): QueryProposalRequest; - toAminoMsg(message: QueryProposalRequest): QueryProposalRequestAminoMsg; - fromProtoMsg(message: QueryProposalRequestProtoMsg): QueryProposalRequest; - toProto(message: QueryProposalRequest): Uint8Array; - toProtoMsg(message: QueryProposalRequest): QueryProposalRequestProtoMsg; -}; -export declare const QueryProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryProposalResponse; - isSDK(o: any): o is QueryProposalResponseSDKType; - isAmino(o: any): o is QueryProposalResponseAmino; - encode(message: QueryProposalResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalResponse; - fromJSON(object: any): QueryProposalResponse; - toJSON(message: QueryProposalResponse): unknown; - fromPartial(object: DeepPartial): QueryProposalResponse; - fromSDK(object: QueryProposalResponseSDKType): QueryProposalResponse; - toSDK(message: QueryProposalResponse): QueryProposalResponseSDKType; - fromAmino(object: QueryProposalResponseAmino): QueryProposalResponse; - toAmino(message: QueryProposalResponse): QueryProposalResponseAmino; - fromAminoMsg(object: QueryProposalResponseAminoMsg): QueryProposalResponse; - toAminoMsg(message: QueryProposalResponse): QueryProposalResponseAminoMsg; - fromProtoMsg(message: QueryProposalResponseProtoMsg): QueryProposalResponse; - toProto(message: QueryProposalResponse): Uint8Array; - toProtoMsg(message: QueryProposalResponse): QueryProposalResponseProtoMsg; -}; -export declare const QueryProposalsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryProposalsRequest; - isSDK(o: any): o is QueryProposalsRequestSDKType; - isAmino(o: any): o is QueryProposalsRequestAmino; - encode(message: QueryProposalsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalsRequest; - fromJSON(object: any): QueryProposalsRequest; - toJSON(message: QueryProposalsRequest): unknown; - fromPartial(object: DeepPartial): QueryProposalsRequest; - fromSDK(object: QueryProposalsRequestSDKType): QueryProposalsRequest; - toSDK(message: QueryProposalsRequest): QueryProposalsRequestSDKType; - fromAmino(object: QueryProposalsRequestAmino): QueryProposalsRequest; - toAmino(message: QueryProposalsRequest): QueryProposalsRequestAmino; - fromAminoMsg(object: QueryProposalsRequestAminoMsg): QueryProposalsRequest; - toAminoMsg(message: QueryProposalsRequest): QueryProposalsRequestAminoMsg; - fromProtoMsg(message: QueryProposalsRequestProtoMsg): QueryProposalsRequest; - toProto(message: QueryProposalsRequest): Uint8Array; - toProtoMsg(message: QueryProposalsRequest): QueryProposalsRequestProtoMsg; -}; -export declare const QueryProposalsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryProposalsResponse; - isSDK(o: any): o is QueryProposalsResponseSDKType; - isAmino(o: any): o is QueryProposalsResponseAmino; - encode(message: QueryProposalsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalsResponse; - fromJSON(object: any): QueryProposalsResponse; - toJSON(message: QueryProposalsResponse): unknown; - fromPartial(object: DeepPartial): QueryProposalsResponse; - fromSDK(object: QueryProposalsResponseSDKType): QueryProposalsResponse; - toSDK(message: QueryProposalsResponse): QueryProposalsResponseSDKType; - fromAmino(object: QueryProposalsResponseAmino): QueryProposalsResponse; - toAmino(message: QueryProposalsResponse): QueryProposalsResponseAmino; - fromAminoMsg(object: QueryProposalsResponseAminoMsg): QueryProposalsResponse; - toAminoMsg(message: QueryProposalsResponse): QueryProposalsResponseAminoMsg; - fromProtoMsg(message: QueryProposalsResponseProtoMsg): QueryProposalsResponse; - toProto(message: QueryProposalsResponse): Uint8Array; - toProtoMsg(message: QueryProposalsResponse): QueryProposalsResponseProtoMsg; -}; -export declare const QueryVoteRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryVoteRequest; - isSDK(o: any): o is QueryVoteRequestSDKType; - isAmino(o: any): o is QueryVoteRequestAmino; - encode(message: QueryVoteRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteRequest; - fromJSON(object: any): QueryVoteRequest; - toJSON(message: QueryVoteRequest): unknown; - fromPartial(object: DeepPartial): QueryVoteRequest; - fromSDK(object: QueryVoteRequestSDKType): QueryVoteRequest; - toSDK(message: QueryVoteRequest): QueryVoteRequestSDKType; - fromAmino(object: QueryVoteRequestAmino): QueryVoteRequest; - toAmino(message: QueryVoteRequest): QueryVoteRequestAmino; - fromAminoMsg(object: QueryVoteRequestAminoMsg): QueryVoteRequest; - toAminoMsg(message: QueryVoteRequest): QueryVoteRequestAminoMsg; - fromProtoMsg(message: QueryVoteRequestProtoMsg): QueryVoteRequest; - toProto(message: QueryVoteRequest): Uint8Array; - toProtoMsg(message: QueryVoteRequest): QueryVoteRequestProtoMsg; -}; -export declare const QueryVoteResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryVoteResponse; - isSDK(o: any): o is QueryVoteResponseSDKType; - isAmino(o: any): o is QueryVoteResponseAmino; - encode(message: QueryVoteResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteResponse; - fromJSON(object: any): QueryVoteResponse; - toJSON(message: QueryVoteResponse): unknown; - fromPartial(object: DeepPartial): QueryVoteResponse; - fromSDK(object: QueryVoteResponseSDKType): QueryVoteResponse; - toSDK(message: QueryVoteResponse): QueryVoteResponseSDKType; - fromAmino(object: QueryVoteResponseAmino): QueryVoteResponse; - toAmino(message: QueryVoteResponse): QueryVoteResponseAmino; - fromAminoMsg(object: QueryVoteResponseAminoMsg): QueryVoteResponse; - toAminoMsg(message: QueryVoteResponse): QueryVoteResponseAminoMsg; - fromProtoMsg(message: QueryVoteResponseProtoMsg): QueryVoteResponse; - toProto(message: QueryVoteResponse): Uint8Array; - toProtoMsg(message: QueryVoteResponse): QueryVoteResponseProtoMsg; -}; -export declare const QueryVotesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryVotesRequest; - isSDK(o: any): o is QueryVotesRequestSDKType; - isAmino(o: any): o is QueryVotesRequestAmino; - encode(message: QueryVotesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesRequest; - fromJSON(object: any): QueryVotesRequest; - toJSON(message: QueryVotesRequest): unknown; - fromPartial(object: DeepPartial): QueryVotesRequest; - fromSDK(object: QueryVotesRequestSDKType): QueryVotesRequest; - toSDK(message: QueryVotesRequest): QueryVotesRequestSDKType; - fromAmino(object: QueryVotesRequestAmino): QueryVotesRequest; - toAmino(message: QueryVotesRequest): QueryVotesRequestAmino; - fromAminoMsg(object: QueryVotesRequestAminoMsg): QueryVotesRequest; - toAminoMsg(message: QueryVotesRequest): QueryVotesRequestAminoMsg; - fromProtoMsg(message: QueryVotesRequestProtoMsg): QueryVotesRequest; - toProto(message: QueryVotesRequest): Uint8Array; - toProtoMsg(message: QueryVotesRequest): QueryVotesRequestProtoMsg; -}; -export declare const QueryVotesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryVotesResponse; - isSDK(o: any): o is QueryVotesResponseSDKType; - isAmino(o: any): o is QueryVotesResponseAmino; - encode(message: QueryVotesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesResponse; - fromJSON(object: any): QueryVotesResponse; - toJSON(message: QueryVotesResponse): unknown; - fromPartial(object: DeepPartial): QueryVotesResponse; - fromSDK(object: QueryVotesResponseSDKType): QueryVotesResponse; - toSDK(message: QueryVotesResponse): QueryVotesResponseSDKType; - fromAmino(object: QueryVotesResponseAmino): QueryVotesResponse; - toAmino(message: QueryVotesResponse): QueryVotesResponseAmino; - fromAminoMsg(object: QueryVotesResponseAminoMsg): QueryVotesResponse; - toAminoMsg(message: QueryVotesResponse): QueryVotesResponseAminoMsg; - fromProtoMsg(message: QueryVotesResponseProtoMsg): QueryVotesResponse; - toProto(message: QueryVotesResponse): Uint8Array; - toProtoMsg(message: QueryVotesResponse): QueryVotesResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(message: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(object: any): QueryParamsRequest; - toJSON(message: QueryParamsRequest): unknown; - fromPartial(object: DeepPartial): QueryParamsRequest; - fromSDK(object: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(message: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(object: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(message: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryDepositRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDepositRequest; - isSDK(o: any): o is QueryDepositRequestSDKType; - isAmino(o: any): o is QueryDepositRequestAmino; - encode(message: QueryDepositRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositRequest; - fromJSON(object: any): QueryDepositRequest; - toJSON(message: QueryDepositRequest): unknown; - fromPartial(object: DeepPartial): QueryDepositRequest; - fromSDK(object: QueryDepositRequestSDKType): QueryDepositRequest; - toSDK(message: QueryDepositRequest): QueryDepositRequestSDKType; - fromAmino(object: QueryDepositRequestAmino): QueryDepositRequest; - toAmino(message: QueryDepositRequest): QueryDepositRequestAmino; - fromAminoMsg(object: QueryDepositRequestAminoMsg): QueryDepositRequest; - toAminoMsg(message: QueryDepositRequest): QueryDepositRequestAminoMsg; - fromProtoMsg(message: QueryDepositRequestProtoMsg): QueryDepositRequest; - toProto(message: QueryDepositRequest): Uint8Array; - toProtoMsg(message: QueryDepositRequest): QueryDepositRequestProtoMsg; -}; -export declare const QueryDepositResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDepositResponse; - isSDK(o: any): o is QueryDepositResponseSDKType; - isAmino(o: any): o is QueryDepositResponseAmino; - encode(message: QueryDepositResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositResponse; - fromJSON(object: any): QueryDepositResponse; - toJSON(message: QueryDepositResponse): unknown; - fromPartial(object: DeepPartial): QueryDepositResponse; - fromSDK(object: QueryDepositResponseSDKType): QueryDepositResponse; - toSDK(message: QueryDepositResponse): QueryDepositResponseSDKType; - fromAmino(object: QueryDepositResponseAmino): QueryDepositResponse; - toAmino(message: QueryDepositResponse): QueryDepositResponseAmino; - fromAminoMsg(object: QueryDepositResponseAminoMsg): QueryDepositResponse; - toAminoMsg(message: QueryDepositResponse): QueryDepositResponseAminoMsg; - fromProtoMsg(message: QueryDepositResponseProtoMsg): QueryDepositResponse; - toProto(message: QueryDepositResponse): Uint8Array; - toProtoMsg(message: QueryDepositResponse): QueryDepositResponseProtoMsg; -}; -export declare const QueryDepositsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDepositsRequest; - isSDK(o: any): o is QueryDepositsRequestSDKType; - isAmino(o: any): o is QueryDepositsRequestAmino; - encode(message: QueryDepositsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositsRequest; - fromJSON(object: any): QueryDepositsRequest; - toJSON(message: QueryDepositsRequest): unknown; - fromPartial(object: DeepPartial): QueryDepositsRequest; - fromSDK(object: QueryDepositsRequestSDKType): QueryDepositsRequest; - toSDK(message: QueryDepositsRequest): QueryDepositsRequestSDKType; - fromAmino(object: QueryDepositsRequestAmino): QueryDepositsRequest; - toAmino(message: QueryDepositsRequest): QueryDepositsRequestAmino; - fromAminoMsg(object: QueryDepositsRequestAminoMsg): QueryDepositsRequest; - toAminoMsg(message: QueryDepositsRequest): QueryDepositsRequestAminoMsg; - fromProtoMsg(message: QueryDepositsRequestProtoMsg): QueryDepositsRequest; - toProto(message: QueryDepositsRequest): Uint8Array; - toProtoMsg(message: QueryDepositsRequest): QueryDepositsRequestProtoMsg; -}; -export declare const QueryDepositsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDepositsResponse; - isSDK(o: any): o is QueryDepositsResponseSDKType; - isAmino(o: any): o is QueryDepositsResponseAmino; - encode(message: QueryDepositsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositsResponse; - fromJSON(object: any): QueryDepositsResponse; - toJSON(message: QueryDepositsResponse): unknown; - fromPartial(object: DeepPartial): QueryDepositsResponse; - fromSDK(object: QueryDepositsResponseSDKType): QueryDepositsResponse; - toSDK(message: QueryDepositsResponse): QueryDepositsResponseSDKType; - fromAmino(object: QueryDepositsResponseAmino): QueryDepositsResponse; - toAmino(message: QueryDepositsResponse): QueryDepositsResponseAmino; - fromAminoMsg(object: QueryDepositsResponseAminoMsg): QueryDepositsResponse; - toAminoMsg(message: QueryDepositsResponse): QueryDepositsResponseAminoMsg; - fromProtoMsg(message: QueryDepositsResponseProtoMsg): QueryDepositsResponse; - toProto(message: QueryDepositsResponse): Uint8Array; - toProtoMsg(message: QueryDepositsResponse): QueryDepositsResponseProtoMsg; -}; -export declare const QueryTallyResultRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryTallyResultRequest; - isSDK(o: any): o is QueryTallyResultRequestSDKType; - isAmino(o: any): o is QueryTallyResultRequestAmino; - encode(message: QueryTallyResultRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryTallyResultRequest; - fromJSON(object: any): QueryTallyResultRequest; - toJSON(message: QueryTallyResultRequest): unknown; - fromPartial(object: DeepPartial): QueryTallyResultRequest; - fromSDK(object: QueryTallyResultRequestSDKType): QueryTallyResultRequest; - toSDK(message: QueryTallyResultRequest): QueryTallyResultRequestSDKType; - fromAmino(object: QueryTallyResultRequestAmino): QueryTallyResultRequest; - toAmino(message: QueryTallyResultRequest): QueryTallyResultRequestAmino; - fromAminoMsg(object: QueryTallyResultRequestAminoMsg): QueryTallyResultRequest; - toAminoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestAminoMsg; - fromProtoMsg(message: QueryTallyResultRequestProtoMsg): QueryTallyResultRequest; - toProto(message: QueryTallyResultRequest): Uint8Array; - toProtoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestProtoMsg; -}; -export declare const QueryTallyResultResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryTallyResultResponse; - isSDK(o: any): o is QueryTallyResultResponseSDKType; - isAmino(o: any): o is QueryTallyResultResponseAmino; - encode(message: QueryTallyResultResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryTallyResultResponse; - fromJSON(object: any): QueryTallyResultResponse; - toJSON(message: QueryTallyResultResponse): unknown; - fromPartial(object: DeepPartial): QueryTallyResultResponse; - fromSDK(object: QueryTallyResultResponseSDKType): QueryTallyResultResponse; - toSDK(message: QueryTallyResultResponse): QueryTallyResultResponseSDKType; - fromAmino(object: QueryTallyResultResponseAmino): QueryTallyResultResponse; - toAmino(message: QueryTallyResultResponse): QueryTallyResultResponseAmino; - fromAminoMsg(object: QueryTallyResultResponseAminoMsg): QueryTallyResultResponse; - toAminoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseAminoMsg; - fromProtoMsg(message: QueryTallyResultResponseProtoMsg): QueryTallyResultResponse; - toProto(message: QueryTallyResultResponse): Uint8Array; - toProtoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/gov/v1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/gov/v1/query.rpc.Query.d.ts deleted file mode 100644 index 56c4ae82..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,121 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; -/** Query defines the gRPC querier service for gov module */ -export interface Query { - /** Proposal queries proposal details based on ProposalID. */ - proposal(request: QueryProposalRequest): Promise; - /** Proposals queries all proposals based on given status. */ - proposals(request: QueryProposalsRequest): Promise; - /** Vote queries voted information based on proposalID, voterAddr. */ - vote(request: QueryVoteRequest): Promise; - /** Votes queries votes of a given proposal. */ - votes(request: QueryVotesRequest): Promise; - /** Params queries all parameters of the gov module. */ - params(request: QueryParamsRequest): Promise; - /** Deposit queries single deposit information based proposalID, depositAddr. */ - deposit(request: QueryDepositRequest): Promise; - /** Deposits queries all deposits of a single proposal. */ - deposits(request: QueryDepositsRequest): Promise; - /** TallyResult queries the tally of a proposal vote. */ - tallyResult(request: QueryTallyResultRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - proposal: (request: QueryProposalRequest) => Promise; - proposals: (request: QueryProposalsRequest) => Promise; - vote: (request: QueryVoteRequest) => Promise; - votes: (request: QueryVotesRequest) => Promise; - params: (request: QueryParamsRequest) => Promise; - deposit: (request: QueryDepositRequest) => Promise; - deposits: (request: QueryDepositsRequest) => Promise; - tallyResult: (request: QueryTallyResultRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseProposalQuery extends ReactQueryParams { - request: QueryProposalRequest; -} -export interface UseProposalsQuery extends ReactQueryParams { - request: QueryProposalsRequest; -} -export interface UseVoteQuery extends ReactQueryParams { - request: QueryVoteRequest; -} -export interface UseVotesQuery extends ReactQueryParams { - request: QueryVotesRequest; -} -export interface UseParamsQuery extends ReactQueryParams { - request: QueryParamsRequest; -} -export interface UseDepositQuery extends ReactQueryParams { - request: QueryDepositRequest; -} -export interface UseDepositsQuery extends ReactQueryParams { - request: QueryDepositsRequest; -} -export interface UseTallyResultQuery extends ReactQueryParams { - request: QueryTallyResultRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Proposal queries proposal details based on ProposalID. */ useProposal: ({ request, options }: UseProposalQuery) => import("@tanstack/react-query").UseQueryResult; - /** Proposals queries all proposals based on given status. */ useProposals: ({ request, options }: UseProposalsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Vote queries voted information based on proposalID, voterAddr. */ useVote: ({ request, options }: UseVoteQuery) => import("@tanstack/react-query").UseQueryResult; - /** Votes queries votes of a given proposal. */ useVotes: ({ request, options }: UseVotesQuery) => import("@tanstack/react-query").UseQueryResult; - /** Params queries all parameters of the gov module. */ useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Deposit queries single deposit information based proposalID, depositAddr. */ useDeposit: ({ request, options }: UseDepositQuery) => import("@tanstack/react-query").UseQueryResult; - /** Deposits queries all deposits of a single proposal. */ useDeposits: ({ request, options }: UseDepositsQuery) => import("@tanstack/react-query").UseQueryResult; - /** TallyResult queries the tally of a proposal vote. */ useTallyResult: ({ request, options }: UseTallyResultQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Proposal queries proposal details based on ProposalID. */ QueryProposalStore: { - new (): { - store: QueryStore; - proposal(request: QueryProposalRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Proposals queries all proposals based on given status. */ QueryProposalsStore: { - new (): { - store: QueryStore; - proposals(request: QueryProposalsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Vote queries voted information based on proposalID, voterAddr. */ QueryVoteStore: { - new (): { - store: QueryStore; - vote(request: QueryVoteRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Votes queries votes of a given proposal. */ QueryVotesStore: { - new (): { - store: QueryStore; - votes(request: QueryVotesRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Params queries all parameters of the gov module. */ QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Deposit queries single deposit information based proposalID, depositAddr. */ QueryDepositStore: { - new (): { - store: QueryStore; - deposit(request: QueryDepositRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Deposits queries all deposits of a single proposal. */ QueryDepositsStore: { - new (): { - store: QueryStore; - deposits(request: QueryDepositsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** TallyResult queries the tally of a proposal vote. */ QueryTallyResultStore: { - new (): { - store: QueryStore; - tallyResult(request: QueryTallyResultRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/gov/v1/tx.amino.d.ts b/examples/authz/types/codegen/cosmos/gov/v1/tx.amino.d.ts deleted file mode 100644 index 0e354dc4..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1/tx.amino.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; -export declare const AminoConverter: { - "/cosmos.gov.v1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: MsgSubmitProposal) => import("./tx").MsgSubmitProposalAmino; - fromAmino: (object: import("./tx").MsgSubmitProposalAmino) => MsgSubmitProposal; - }; - "/cosmos.gov.v1.MsgExecLegacyContent": { - aminoType: string; - toAmino: (message: MsgExecLegacyContent) => import("./tx").MsgExecLegacyContentAmino; - fromAmino: (object: import("./tx").MsgExecLegacyContentAmino) => MsgExecLegacyContent; - }; - "/cosmos.gov.v1.MsgVote": { - aminoType: string; - toAmino: (message: MsgVote) => import("./tx").MsgVoteAmino; - fromAmino: (object: import("./tx").MsgVoteAmino) => MsgVote; - }; - "/cosmos.gov.v1.MsgVoteWeighted": { - aminoType: string; - toAmino: (message: MsgVoteWeighted) => import("./tx").MsgVoteWeightedAmino; - fromAmino: (object: import("./tx").MsgVoteWeightedAmino) => MsgVoteWeighted; - }; - "/cosmos.gov.v1.MsgDeposit": { - aminoType: string; - toAmino: (message: MsgDeposit) => import("./tx").MsgDepositAmino; - fromAmino: (object: import("./tx").MsgDepositAmino) => MsgDeposit; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/gov/v1/tx.d.ts b/examples/authz/types/codegen/cosmos/gov/v1/tx.d.ts deleted file mode 100644 index 10d00011..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1/tx.d.ts +++ /dev/null @@ -1,467 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption, WeightedVoteOptionAmino, WeightedVoteOptionSDKType } from "./gov"; -import { TextProposal, TextProposalProtoMsg, TextProposalSDKType } from "../v1beta1/gov"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposal { - messages: Any[]; - initialDeposit: Coin[]; - proposer: string; - /** metadata is any arbitrary metadata attached to the proposal. */ - metadata: string; -} -export interface MsgSubmitProposalProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposal"; - value: Uint8Array; -} -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposalAmino { - messages?: AnyAmino[]; - initial_deposit?: CoinAmino[]; - proposer?: string; - /** metadata is any arbitrary metadata attached to the proposal. */ - metadata?: string; -} -export interface MsgSubmitProposalAminoMsg { - type: "cosmos-sdk/v1/MsgSubmitProposal"; - value: MsgSubmitProposalAmino; -} -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposalSDKType { - messages: AnySDKType[]; - initial_deposit: CoinSDKType[]; - proposer: string; - metadata: string; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponse { - proposalId: bigint; -} -export interface MsgSubmitProposalResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposalResponse"; - value: Uint8Array; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseAmino { - proposal_id?: string; -} -export interface MsgSubmitProposalResponseAminoMsg { - type: "cosmos-sdk/v1/MsgSubmitProposalResponse"; - value: MsgSubmitProposalResponseAmino; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseSDKType { - proposal_id: bigint; -} -/** - * MsgExecLegacyContent is used to wrap the legacy content field into a message. - * This ensures backwards compatibility with v1beta1.MsgSubmitProposal. - */ -export interface MsgExecLegacyContent { - /** content is the proposal's content. */ - content?: TextProposal | Any | undefined; - /** authority must be the gov module address. */ - authority: string; -} -export interface MsgExecLegacyContentProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent"; - value: Uint8Array; -} -export type MsgExecLegacyContentEncoded = Omit & { - /** content is the proposal's content. */ content?: TextProposalProtoMsg | AnyProtoMsg | undefined; -}; -/** - * MsgExecLegacyContent is used to wrap the legacy content field into a message. - * This ensures backwards compatibility with v1beta1.MsgSubmitProposal. - */ -export interface MsgExecLegacyContentAmino { - /** content is the proposal's content. */ - content?: AnyAmino | undefined; - /** authority must be the gov module address. */ - authority?: string; -} -export interface MsgExecLegacyContentAminoMsg { - type: "cosmos-sdk/v1/MsgExecLegacyContent"; - value: MsgExecLegacyContentAmino; -} -/** - * MsgExecLegacyContent is used to wrap the legacy content field into a message. - * This ensures backwards compatibility with v1beta1.MsgSubmitProposal. - */ -export interface MsgExecLegacyContentSDKType { - content?: TextProposalSDKType | AnySDKType | undefined; - authority: string; -} -/** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ -export interface MsgExecLegacyContentResponse { -} -export interface MsgExecLegacyContentResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContentResponse"; - value: Uint8Array; -} -/** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ -export interface MsgExecLegacyContentResponseAmino { -} -export interface MsgExecLegacyContentResponseAminoMsg { - type: "cosmos-sdk/v1/MsgExecLegacyContentResponse"; - value: MsgExecLegacyContentResponseAmino; -} -/** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ -export interface MsgExecLegacyContentResponseSDKType { -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVote { - proposalId: bigint; - voter: string; - option: VoteOption; - metadata: string; -} -export interface MsgVoteProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgVote"; - value: Uint8Array; -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVoteAmino { - proposal_id?: string; - voter?: string; - option?: VoteOption; - metadata?: string; -} -export interface MsgVoteAminoMsg { - type: "cosmos-sdk/v1/MsgVote"; - value: MsgVoteAmino; -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVoteSDKType { - proposal_id: bigint; - voter: string; - option: VoteOption; - metadata: string; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponse { -} -export interface MsgVoteResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgVoteResponse"; - value: Uint8Array; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponseAmino { -} -export interface MsgVoteResponseAminoMsg { - type: "cosmos-sdk/v1/MsgVoteResponse"; - value: MsgVoteResponseAmino; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponseSDKType { -} -/** MsgVoteWeighted defines a message to cast a vote. */ -export interface MsgVoteWeighted { - proposalId: bigint; - voter: string; - options: WeightedVoteOption[]; - metadata: string; -} -export interface MsgVoteWeightedProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgVoteWeighted"; - value: Uint8Array; -} -/** MsgVoteWeighted defines a message to cast a vote. */ -export interface MsgVoteWeightedAmino { - proposal_id?: string; - voter?: string; - options?: WeightedVoteOptionAmino[]; - metadata?: string; -} -export interface MsgVoteWeightedAminoMsg { - type: "cosmos-sdk/v1/MsgVoteWeighted"; - value: MsgVoteWeightedAmino; -} -/** MsgVoteWeighted defines a message to cast a vote. */ -export interface MsgVoteWeightedSDKType { - proposal_id: bigint; - voter: string; - options: WeightedVoteOptionSDKType[]; - metadata: string; -} -/** MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. */ -export interface MsgVoteWeightedResponse { -} -export interface MsgVoteWeightedResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgVoteWeightedResponse"; - value: Uint8Array; -} -/** MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. */ -export interface MsgVoteWeightedResponseAmino { -} -export interface MsgVoteWeightedResponseAminoMsg { - type: "cosmos-sdk/v1/MsgVoteWeightedResponse"; - value: MsgVoteWeightedResponseAmino; -} -/** MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. */ -export interface MsgVoteWeightedResponseSDKType { -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDeposit { - proposalId: bigint; - depositor: string; - amount: Coin[]; -} -export interface MsgDepositProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgDeposit"; - value: Uint8Array; -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDepositAmino { - proposal_id?: string; - depositor?: string; - amount?: CoinAmino[]; -} -export interface MsgDepositAminoMsg { - type: "cosmos-sdk/v1/MsgDeposit"; - value: MsgDepositAmino; -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDepositSDKType { - proposal_id: bigint; - depositor: string; - amount: CoinSDKType[]; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponse { -} -export interface MsgDepositResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgDepositResponse"; - value: Uint8Array; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponseAmino { -} -export interface MsgDepositResponseAminoMsg { - type: "cosmos-sdk/v1/MsgDepositResponse"; - value: MsgDepositResponseAmino; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponseSDKType { -} -export declare const MsgSubmitProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSubmitProposal; - isSDK(o: any): o is MsgSubmitProposalSDKType; - isAmino(o: any): o is MsgSubmitProposalAmino; - encode(message: MsgSubmitProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitProposal; - fromJSON(object: any): MsgSubmitProposal; - toJSON(message: MsgSubmitProposal): unknown; - fromPartial(object: DeepPartial): MsgSubmitProposal; - fromSDK(object: MsgSubmitProposalSDKType): MsgSubmitProposal; - toSDK(message: MsgSubmitProposal): MsgSubmitProposalSDKType; - fromAmino(object: MsgSubmitProposalAmino): MsgSubmitProposal; - toAmino(message: MsgSubmitProposal): MsgSubmitProposalAmino; - fromAminoMsg(object: MsgSubmitProposalAminoMsg): MsgSubmitProposal; - toAminoMsg(message: MsgSubmitProposal): MsgSubmitProposalAminoMsg; - fromProtoMsg(message: MsgSubmitProposalProtoMsg): MsgSubmitProposal; - toProto(message: MsgSubmitProposal): Uint8Array; - toProtoMsg(message: MsgSubmitProposal): MsgSubmitProposalProtoMsg; -}; -export declare const MsgSubmitProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSubmitProposalResponse; - isSDK(o: any): o is MsgSubmitProposalResponseSDKType; - isAmino(o: any): o is MsgSubmitProposalResponseAmino; - encode(message: MsgSubmitProposalResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitProposalResponse; - fromJSON(object: any): MsgSubmitProposalResponse; - toJSON(message: MsgSubmitProposalResponse): unknown; - fromPartial(object: DeepPartial): MsgSubmitProposalResponse; - fromSDK(object: MsgSubmitProposalResponseSDKType): MsgSubmitProposalResponse; - toSDK(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseSDKType; - fromAmino(object: MsgSubmitProposalResponseAmino): MsgSubmitProposalResponse; - toAmino(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAmino; - fromAminoMsg(object: MsgSubmitProposalResponseAminoMsg): MsgSubmitProposalResponse; - toAminoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAminoMsg; - fromProtoMsg(message: MsgSubmitProposalResponseProtoMsg): MsgSubmitProposalResponse; - toProto(message: MsgSubmitProposalResponse): Uint8Array; - toProtoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseProtoMsg; -}; -export declare const MsgExecLegacyContent: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExecLegacyContent; - isSDK(o: any): o is MsgExecLegacyContentSDKType; - isAmino(o: any): o is MsgExecLegacyContentAmino; - encode(message: MsgExecLegacyContent, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExecLegacyContent; - fromJSON(object: any): MsgExecLegacyContent; - toJSON(message: MsgExecLegacyContent): unknown; - fromPartial(object: DeepPartial): MsgExecLegacyContent; - fromSDK(object: MsgExecLegacyContentSDKType): MsgExecLegacyContent; - toSDK(message: MsgExecLegacyContent): MsgExecLegacyContentSDKType; - fromAmino(object: MsgExecLegacyContentAmino): MsgExecLegacyContent; - toAmino(message: MsgExecLegacyContent): MsgExecLegacyContentAmino; - fromAminoMsg(object: MsgExecLegacyContentAminoMsg): MsgExecLegacyContent; - toAminoMsg(message: MsgExecLegacyContent): MsgExecLegacyContentAminoMsg; - fromProtoMsg(message: MsgExecLegacyContentProtoMsg): MsgExecLegacyContent; - toProto(message: MsgExecLegacyContent): Uint8Array; - toProtoMsg(message: MsgExecLegacyContent): MsgExecLegacyContentProtoMsg; -}; -export declare const MsgExecLegacyContentResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExecLegacyContentResponse; - isSDK(o: any): o is MsgExecLegacyContentResponseSDKType; - isAmino(o: any): o is MsgExecLegacyContentResponseAmino; - encode(_: MsgExecLegacyContentResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExecLegacyContentResponse; - fromJSON(_: any): MsgExecLegacyContentResponse; - toJSON(_: MsgExecLegacyContentResponse): unknown; - fromPartial(_: DeepPartial): MsgExecLegacyContentResponse; - fromSDK(_: MsgExecLegacyContentResponseSDKType): MsgExecLegacyContentResponse; - toSDK(_: MsgExecLegacyContentResponse): MsgExecLegacyContentResponseSDKType; - fromAmino(_: MsgExecLegacyContentResponseAmino): MsgExecLegacyContentResponse; - toAmino(_: MsgExecLegacyContentResponse): MsgExecLegacyContentResponseAmino; - fromAminoMsg(object: MsgExecLegacyContentResponseAminoMsg): MsgExecLegacyContentResponse; - toAminoMsg(message: MsgExecLegacyContentResponse): MsgExecLegacyContentResponseAminoMsg; - fromProtoMsg(message: MsgExecLegacyContentResponseProtoMsg): MsgExecLegacyContentResponse; - toProto(message: MsgExecLegacyContentResponse): Uint8Array; - toProtoMsg(message: MsgExecLegacyContentResponse): MsgExecLegacyContentResponseProtoMsg; -}; -export declare const MsgVote: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgVote; - isSDK(o: any): o is MsgVoteSDKType; - isAmino(o: any): o is MsgVoteAmino; - encode(message: MsgVote, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgVote; - fromJSON(object: any): MsgVote; - toJSON(message: MsgVote): unknown; - fromPartial(object: DeepPartial): MsgVote; - fromSDK(object: MsgVoteSDKType): MsgVote; - toSDK(message: MsgVote): MsgVoteSDKType; - fromAmino(object: MsgVoteAmino): MsgVote; - toAmino(message: MsgVote): MsgVoteAmino; - fromAminoMsg(object: MsgVoteAminoMsg): MsgVote; - toAminoMsg(message: MsgVote): MsgVoteAminoMsg; - fromProtoMsg(message: MsgVoteProtoMsg): MsgVote; - toProto(message: MsgVote): Uint8Array; - toProtoMsg(message: MsgVote): MsgVoteProtoMsg; -}; -export declare const MsgVoteResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgVoteResponse; - isSDK(o: any): o is MsgVoteResponseSDKType; - isAmino(o: any): o is MsgVoteResponseAmino; - encode(_: MsgVoteResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgVoteResponse; - fromJSON(_: any): MsgVoteResponse; - toJSON(_: MsgVoteResponse): unknown; - fromPartial(_: DeepPartial): MsgVoteResponse; - fromSDK(_: MsgVoteResponseSDKType): MsgVoteResponse; - toSDK(_: MsgVoteResponse): MsgVoteResponseSDKType; - fromAmino(_: MsgVoteResponseAmino): MsgVoteResponse; - toAmino(_: MsgVoteResponse): MsgVoteResponseAmino; - fromAminoMsg(object: MsgVoteResponseAminoMsg): MsgVoteResponse; - toAminoMsg(message: MsgVoteResponse): MsgVoteResponseAminoMsg; - fromProtoMsg(message: MsgVoteResponseProtoMsg): MsgVoteResponse; - toProto(message: MsgVoteResponse): Uint8Array; - toProtoMsg(message: MsgVoteResponse): MsgVoteResponseProtoMsg; -}; -export declare const MsgVoteWeighted: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgVoteWeighted; - isSDK(o: any): o is MsgVoteWeightedSDKType; - isAmino(o: any): o is MsgVoteWeightedAmino; - encode(message: MsgVoteWeighted, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgVoteWeighted; - fromJSON(object: any): MsgVoteWeighted; - toJSON(message: MsgVoteWeighted): unknown; - fromPartial(object: DeepPartial): MsgVoteWeighted; - fromSDK(object: MsgVoteWeightedSDKType): MsgVoteWeighted; - toSDK(message: MsgVoteWeighted): MsgVoteWeightedSDKType; - fromAmino(object: MsgVoteWeightedAmino): MsgVoteWeighted; - toAmino(message: MsgVoteWeighted): MsgVoteWeightedAmino; - fromAminoMsg(object: MsgVoteWeightedAminoMsg): MsgVoteWeighted; - toAminoMsg(message: MsgVoteWeighted): MsgVoteWeightedAminoMsg; - fromProtoMsg(message: MsgVoteWeightedProtoMsg): MsgVoteWeighted; - toProto(message: MsgVoteWeighted): Uint8Array; - toProtoMsg(message: MsgVoteWeighted): MsgVoteWeightedProtoMsg; -}; -export declare const MsgVoteWeightedResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgVoteWeightedResponse; - isSDK(o: any): o is MsgVoteWeightedResponseSDKType; - isAmino(o: any): o is MsgVoteWeightedResponseAmino; - encode(_: MsgVoteWeightedResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgVoteWeightedResponse; - fromJSON(_: any): MsgVoteWeightedResponse; - toJSON(_: MsgVoteWeightedResponse): unknown; - fromPartial(_: DeepPartial): MsgVoteWeightedResponse; - fromSDK(_: MsgVoteWeightedResponseSDKType): MsgVoteWeightedResponse; - toSDK(_: MsgVoteWeightedResponse): MsgVoteWeightedResponseSDKType; - fromAmino(_: MsgVoteWeightedResponseAmino): MsgVoteWeightedResponse; - toAmino(_: MsgVoteWeightedResponse): MsgVoteWeightedResponseAmino; - fromAminoMsg(object: MsgVoteWeightedResponseAminoMsg): MsgVoteWeightedResponse; - toAminoMsg(message: MsgVoteWeightedResponse): MsgVoteWeightedResponseAminoMsg; - fromProtoMsg(message: MsgVoteWeightedResponseProtoMsg): MsgVoteWeightedResponse; - toProto(message: MsgVoteWeightedResponse): Uint8Array; - toProtoMsg(message: MsgVoteWeightedResponse): MsgVoteWeightedResponseProtoMsg; -}; -export declare const MsgDeposit: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgDeposit; - isSDK(o: any): o is MsgDepositSDKType; - isAmino(o: any): o is MsgDepositAmino; - encode(message: MsgDeposit, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgDeposit; - fromJSON(object: any): MsgDeposit; - toJSON(message: MsgDeposit): unknown; - fromPartial(object: DeepPartial): MsgDeposit; - fromSDK(object: MsgDepositSDKType): MsgDeposit; - toSDK(message: MsgDeposit): MsgDepositSDKType; - fromAmino(object: MsgDepositAmino): MsgDeposit; - toAmino(message: MsgDeposit): MsgDepositAmino; - fromAminoMsg(object: MsgDepositAminoMsg): MsgDeposit; - toAminoMsg(message: MsgDeposit): MsgDepositAminoMsg; - fromProtoMsg(message: MsgDepositProtoMsg): MsgDeposit; - toProto(message: MsgDeposit): Uint8Array; - toProtoMsg(message: MsgDeposit): MsgDepositProtoMsg; -}; -export declare const MsgDepositResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgDepositResponse; - isSDK(o: any): o is MsgDepositResponseSDKType; - isAmino(o: any): o is MsgDepositResponseAmino; - encode(_: MsgDepositResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgDepositResponse; - fromJSON(_: any): MsgDepositResponse; - toJSON(_: MsgDepositResponse): unknown; - fromPartial(_: DeepPartial): MsgDepositResponse; - fromSDK(_: MsgDepositResponseSDKType): MsgDepositResponse; - toSDK(_: MsgDepositResponse): MsgDepositResponseSDKType; - fromAmino(_: MsgDepositResponseAmino): MsgDepositResponse; - toAmino(_: MsgDepositResponse): MsgDepositResponseAmino; - fromAminoMsg(object: MsgDepositResponseAminoMsg): MsgDepositResponse; - toAminoMsg(message: MsgDepositResponse): MsgDepositResponseAminoMsg; - fromProtoMsg(message: MsgDepositResponseProtoMsg): MsgDepositResponse; - toProto(message: MsgDepositResponse): Uint8Array; - toProtoMsg(message: MsgDepositResponse): MsgDepositResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/gov/v1/tx.registry.d.ts b/examples/authz/types/codegen/cosmos/gov/v1/tx.registry.d.ts deleted file mode 100644 index c7e1a9b9..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1/tx.registry.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: Uint8Array; - }; - execLegacyContent(value: MsgExecLegacyContent): { - typeUrl: string; - value: Uint8Array; - }; - vote(value: MsgVote): { - typeUrl: string; - value: Uint8Array; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: Uint8Array; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: MsgSubmitProposal; - }; - execLegacyContent(value: MsgExecLegacyContent): { - typeUrl: string; - value: MsgExecLegacyContent; - }; - vote(value: MsgVote): { - typeUrl: string; - value: MsgVote; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: MsgVoteWeighted; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: MsgDeposit; - }; - }; - toJSON: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: unknown; - }; - execLegacyContent(value: MsgExecLegacyContent): { - typeUrl: string; - value: unknown; - }; - vote(value: MsgVote): { - typeUrl: string; - value: unknown; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: unknown; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - submitProposal(value: any): { - typeUrl: string; - value: MsgSubmitProposal; - }; - execLegacyContent(value: any): { - typeUrl: string; - value: MsgExecLegacyContent; - }; - vote(value: any): { - typeUrl: string; - value: MsgVote; - }; - voteWeighted(value: any): { - typeUrl: string; - value: MsgVoteWeighted; - }; - deposit(value: any): { - typeUrl: string; - value: MsgDeposit; - }; - }; - fromPartial: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: MsgSubmitProposal; - }; - execLegacyContent(value: MsgExecLegacyContent): { - typeUrl: string; - value: MsgExecLegacyContent; - }; - vote(value: MsgVote): { - typeUrl: string; - value: MsgVote; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: MsgVoteWeighted; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: MsgDeposit; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts deleted file mode 100644 index 80a69054..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; -/** Msg defines the gov Msg service. */ -export interface Msg { - /** SubmitProposal defines a method to create new proposal given a content. */ - submitProposal(signerAddress: string, message: MsgSubmitProposal, fee: number | StdFee | "auto", memo: string): Promise; - /** - * ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal - * to execute a legacy content-based proposal. - */ - execLegacyContent(signerAddress: string, message: MsgExecLegacyContent, fee: number | StdFee | "auto", memo: string): Promise; - /** Vote defines a method to add a vote on a specific proposal. */ - vote(signerAddress: string, message: MsgVote, fee: number | StdFee | "auto", memo: string): Promise; - /** VoteWeighted defines a method to add a weighted vote on a specific proposal. */ - voteWeighted(signerAddress: string, message: MsgVoteWeighted, fee: number | StdFee | "auto", memo: string): Promise; - /** Deposit defines a method to add deposit on a specific proposal. */ - deposit(signerAddress: string, message: MsgDeposit, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - submitProposal: (signerAddress: string, message: MsgSubmitProposal, fee?: number | StdFee | "auto", memo?: string) => Promise; - execLegacyContent: (signerAddress: string, message: MsgExecLegacyContent, fee?: number | StdFee | "auto", memo?: string) => Promise; - vote: (signerAddress: string, message: MsgVote, fee?: number | StdFee | "auto", memo?: string) => Promise; - voteWeighted: (signerAddress: string, message: MsgVoteWeighted, fee?: number | StdFee | "auto", memo?: string) => Promise; - deposit: (signerAddress: string, message: MsgDeposit, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/cosmos/gov/v1beta1/genesis.d.ts b/examples/authz/types/codegen/cosmos/gov/v1beta1/genesis.d.ts deleted file mode 100644 index f78fa3d4..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { Deposit, DepositAmino, DepositSDKType, Vote, VoteAmino, VoteSDKType, Proposal, ProposalAmino, ProposalSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType } from "./gov"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisState { - /** starting_proposal_id is the ID of the starting proposal. */ - startingProposalId: bigint; - /** deposits defines all the deposits present at genesis. */ - deposits: Deposit[]; - /** votes defines all the votes present at genesis. */ - votes: Vote[]; - /** proposals defines all the proposals present at genesis. */ - proposals: Proposal[]; - /** params defines all the paramaters of related to deposit. */ - depositParams: DepositParams | undefined; - /** params defines all the paramaters of related to voting. */ - votingParams: VotingParams | undefined; - /** params defines all the paramaters of related to tally. */ - tallyParams: TallyParams | undefined; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisStateAmino { - /** starting_proposal_id is the ID of the starting proposal. */ - starting_proposal_id?: string; - /** deposits defines all the deposits present at genesis. */ - deposits?: DepositAmino[]; - /** votes defines all the votes present at genesis. */ - votes?: VoteAmino[]; - /** proposals defines all the proposals present at genesis. */ - proposals?: ProposalAmino[]; - /** params defines all the paramaters of related to deposit. */ - deposit_params?: DepositParamsAmino | undefined; - /** params defines all the paramaters of related to voting. */ - voting_params?: VotingParamsAmino | undefined; - /** params defines all the paramaters of related to tally. */ - tally_params?: TallyParamsAmino | undefined; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisStateSDKType { - starting_proposal_id: bigint; - deposits: DepositSDKType[]; - votes: VoteSDKType[]; - proposals: ProposalSDKType[]; - deposit_params: DepositParamsSDKType | undefined; - voting_params: VotingParamsSDKType | undefined; - tally_params: TallyParamsSDKType | undefined; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/gov/v1beta1/gov.d.ts b/examples/authz/types/codegen/cosmos/gov/v1beta1/gov.d.ts deleted file mode 100644 index eae929e5..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1beta1/gov.d.ts +++ /dev/null @@ -1,589 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { DeepPartial } from "../../../helpers"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -/** VoteOption enumerates the valid vote options for a given governance proposal. */ -export declare enum VoteOption { - /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */ - VOTE_OPTION_UNSPECIFIED = 0, - /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */ - VOTE_OPTION_YES = 1, - /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */ - VOTE_OPTION_ABSTAIN = 2, - /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */ - VOTE_OPTION_NO = 3, - /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */ - VOTE_OPTION_NO_WITH_VETO = 4, - UNRECOGNIZED = -1 -} -export declare const VoteOptionSDKType: typeof VoteOption; -export declare const VoteOptionAmino: typeof VoteOption; -export declare function voteOptionFromJSON(object: any): VoteOption; -export declare function voteOptionToJSON(object: VoteOption): string; -/** ProposalStatus enumerates the valid statuses of a proposal. */ -export declare enum ProposalStatus { - /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. */ - PROPOSAL_STATUS_UNSPECIFIED = 0, - /** - * PROPOSAL_STATUS_DEPOSIT_PERIOD - PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - * period. - */ - PROPOSAL_STATUS_DEPOSIT_PERIOD = 1, - /** - * PROPOSAL_STATUS_VOTING_PERIOD - PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - * period. - */ - PROPOSAL_STATUS_VOTING_PERIOD = 2, - /** - * PROPOSAL_STATUS_PASSED - PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - * passed. - */ - PROPOSAL_STATUS_PASSED = 3, - /** - * PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - * been rejected. - */ - PROPOSAL_STATUS_REJECTED = 4, - /** - * PROPOSAL_STATUS_FAILED - PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - * failed. - */ - PROPOSAL_STATUS_FAILED = 5, - UNRECOGNIZED = -1 -} -export declare const ProposalStatusSDKType: typeof ProposalStatus; -export declare const ProposalStatusAmino: typeof ProposalStatus; -export declare function proposalStatusFromJSON(object: any): ProposalStatus; -export declare function proposalStatusToJSON(object: ProposalStatus): string; -/** - * WeightedVoteOption defines a unit of vote for vote split. - * - * Since: cosmos-sdk 0.43 - */ -export interface WeightedVoteOption { - option: VoteOption; - weight: string; -} -export interface WeightedVoteOptionProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.WeightedVoteOption"; - value: Uint8Array; -} -/** - * WeightedVoteOption defines a unit of vote for vote split. - * - * Since: cosmos-sdk 0.43 - */ -export interface WeightedVoteOptionAmino { - option?: VoteOption; - weight?: string; -} -export interface WeightedVoteOptionAminoMsg { - type: "cosmos-sdk/WeightedVoteOption"; - value: WeightedVoteOptionAmino; -} -/** - * WeightedVoteOption defines a unit of vote for vote split. - * - * Since: cosmos-sdk 0.43 - */ -export interface WeightedVoteOptionSDKType { - option: VoteOption; - weight: string; -} -/** - * TextProposal defines a standard text proposal whose changes need to be - * manually updated in case of approval. - */ -export interface TextProposal { - $typeUrl?: "/cosmos.gov.v1beta1.TextProposal"; - title: string; - description: string; -} -export interface TextProposalProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.TextProposal"; - value: Uint8Array; -} -/** - * TextProposal defines a standard text proposal whose changes need to be - * manually updated in case of approval. - */ -export interface TextProposalAmino { - title?: string; - description?: string; -} -export interface TextProposalAminoMsg { - type: "cosmos-sdk/TextProposal"; - value: TextProposalAmino; -} -/** - * TextProposal defines a standard text proposal whose changes need to be - * manually updated in case of approval. - */ -export interface TextProposalSDKType { - $typeUrl?: "/cosmos.gov.v1beta1.TextProposal"; - title: string; - description: string; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface Deposit { - proposalId: bigint; - depositor: string; - amount: Coin[]; -} -export interface DepositProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.Deposit"; - value: Uint8Array; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface DepositAmino { - proposal_id?: string; - depositor?: string; - amount?: CoinAmino[]; -} -export interface DepositAminoMsg { - type: "cosmos-sdk/Deposit"; - value: DepositAmino; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface DepositSDKType { - proposal_id: bigint; - depositor: string; - amount: CoinSDKType[]; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface Proposal { - proposalId: bigint; - content?: TextProposal | Any | undefined; - status: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - finalTallyResult: TallyResult | undefined; - submitTime: Date | undefined; - depositEndTime: Date | undefined; - totalDeposit: Coin[]; - votingStartTime: Date | undefined; - votingEndTime: Date | undefined; -} -export interface ProposalProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.Proposal"; - value: Uint8Array; -} -export type ProposalEncoded = Omit & { - content?: TextProposalProtoMsg | AnyProtoMsg | undefined; -}; -/** Proposal defines the core field members of a governance proposal. */ -export interface ProposalAmino { - proposal_id?: string; - content?: AnyAmino | undefined; - status?: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - final_tally_result?: TallyResultAmino | undefined; - submit_time?: string | undefined; - deposit_end_time?: string | undefined; - total_deposit?: CoinAmino[]; - voting_start_time?: string | undefined; - voting_end_time?: string | undefined; -} -export interface ProposalAminoMsg { - type: "cosmos-sdk/Proposal"; - value: ProposalAmino; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface ProposalSDKType { - proposal_id: bigint; - content?: TextProposalSDKType | AnySDKType | undefined; - status: ProposalStatus; - final_tally_result: TallyResultSDKType | undefined; - submit_time: Date | undefined; - deposit_end_time: Date | undefined; - total_deposit: CoinSDKType[]; - voting_start_time: Date | undefined; - voting_end_time: Date | undefined; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResult { - yes: string; - abstain: string; - no: string; - noWithVeto: string; -} -export interface TallyResultProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.TallyResult"; - value: Uint8Array; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResultAmino { - yes?: string; - abstain?: string; - no?: string; - no_with_veto?: string; -} -export interface TallyResultAminoMsg { - type: "cosmos-sdk/TallyResult"; - value: TallyResultAmino; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResultSDKType { - yes: string; - abstain: string; - no: string; - no_with_veto: string; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface Vote { - proposalId: bigint; - voter: string; - /** - * Deprecated: Prefer to use `options` instead. This field is set in queries - * if and only if `len(options) == 1` and that option has weight 1. In all - * other cases, this field will default to VOTE_OPTION_UNSPECIFIED. - */ - /** @deprecated */ - option: VoteOption; - /** Since: cosmos-sdk 0.43 */ - options: WeightedVoteOption[]; -} -export interface VoteProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.Vote"; - value: Uint8Array; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface VoteAmino { - proposal_id?: string; - voter?: string; - /** - * Deprecated: Prefer to use `options` instead. This field is set in queries - * if and only if `len(options) == 1` and that option has weight 1. In all - * other cases, this field will default to VOTE_OPTION_UNSPECIFIED. - */ - /** @deprecated */ - option?: VoteOption; - /** Since: cosmos-sdk 0.43 */ - options?: WeightedVoteOptionAmino[]; -} -export interface VoteAminoMsg { - type: "cosmos-sdk/Vote"; - value: VoteAmino; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface VoteSDKType { - proposal_id: bigint; - voter: string; - /** @deprecated */ - option: VoteOption; - options: WeightedVoteOptionSDKType[]; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParams { - /** Minimum deposit for a proposal to enter voting period. */ - minDeposit: Coin[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - maxDepositPeriod: Duration | undefined; -} -export interface DepositParamsProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.DepositParams"; - value: Uint8Array; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParamsAmino { - /** Minimum deposit for a proposal to enter voting period. */ - min_deposit?: CoinAmino[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - max_deposit_period?: DurationAmino | undefined; -} -export interface DepositParamsAminoMsg { - type: "cosmos-sdk/DepositParams"; - value: DepositParamsAmino; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParamsSDKType { - min_deposit: CoinSDKType[]; - max_deposit_period: DurationSDKType | undefined; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParams { - /** Length of the voting period. */ - votingPeriod: Duration | undefined; -} -export interface VotingParamsProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.VotingParams"; - value: Uint8Array; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParamsAmino { - /** Length of the voting period. */ - voting_period?: DurationAmino | undefined; -} -export interface VotingParamsAminoMsg { - type: "cosmos-sdk/VotingParams"; - value: VotingParamsAmino; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParamsSDKType { - voting_period: DurationSDKType | undefined; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParams { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum: Uint8Array; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - threshold: Uint8Array; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - vetoThreshold: Uint8Array; -} -export interface TallyParamsProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.TallyParams"; - value: Uint8Array; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParamsAmino { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum?: string; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - threshold?: string; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - veto_threshold?: string; -} -export interface TallyParamsAminoMsg { - type: "cosmos-sdk/TallyParams"; - value: TallyParamsAmino; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParamsSDKType { - quorum: Uint8Array; - threshold: Uint8Array; - veto_threshold: Uint8Array; -} -export declare const WeightedVoteOption: { - typeUrl: string; - aminoType: string; - is(o: any): o is WeightedVoteOption; - isSDK(o: any): o is WeightedVoteOptionSDKType; - isAmino(o: any): o is WeightedVoteOptionAmino; - encode(message: WeightedVoteOption, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): WeightedVoteOption; - fromJSON(object: any): WeightedVoteOption; - toJSON(message: WeightedVoteOption): unknown; - fromPartial(object: DeepPartial): WeightedVoteOption; - fromSDK(object: WeightedVoteOptionSDKType): WeightedVoteOption; - toSDK(message: WeightedVoteOption): WeightedVoteOptionSDKType; - fromAmino(object: WeightedVoteOptionAmino): WeightedVoteOption; - toAmino(message: WeightedVoteOption): WeightedVoteOptionAmino; - fromAminoMsg(object: WeightedVoteOptionAminoMsg): WeightedVoteOption; - toAminoMsg(message: WeightedVoteOption): WeightedVoteOptionAminoMsg; - fromProtoMsg(message: WeightedVoteOptionProtoMsg): WeightedVoteOption; - toProto(message: WeightedVoteOption): Uint8Array; - toProtoMsg(message: WeightedVoteOption): WeightedVoteOptionProtoMsg; -}; -export declare const TextProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is TextProposal; - isSDK(o: any): o is TextProposalSDKType; - isAmino(o: any): o is TextProposalAmino; - encode(message: TextProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TextProposal; - fromJSON(object: any): TextProposal; - toJSON(message: TextProposal): unknown; - fromPartial(object: DeepPartial): TextProposal; - fromSDK(object: TextProposalSDKType): TextProposal; - toSDK(message: TextProposal): TextProposalSDKType; - fromAmino(object: TextProposalAmino): TextProposal; - toAmino(message: TextProposal): TextProposalAmino; - fromAminoMsg(object: TextProposalAminoMsg): TextProposal; - toAminoMsg(message: TextProposal): TextProposalAminoMsg; - fromProtoMsg(message: TextProposalProtoMsg): TextProposal; - toProto(message: TextProposal): Uint8Array; - toProtoMsg(message: TextProposal): TextProposalProtoMsg; -}; -export declare const Deposit: { - typeUrl: string; - aminoType: string; - is(o: any): o is Deposit; - isSDK(o: any): o is DepositSDKType; - isAmino(o: any): o is DepositAmino; - encode(message: Deposit, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Deposit; - fromJSON(object: any): Deposit; - toJSON(message: Deposit): unknown; - fromPartial(object: DeepPartial): Deposit; - fromSDK(object: DepositSDKType): Deposit; - toSDK(message: Deposit): DepositSDKType; - fromAmino(object: DepositAmino): Deposit; - toAmino(message: Deposit): DepositAmino; - fromAminoMsg(object: DepositAminoMsg): Deposit; - toAminoMsg(message: Deposit): DepositAminoMsg; - fromProtoMsg(message: DepositProtoMsg): Deposit; - toProto(message: Deposit): Uint8Array; - toProtoMsg(message: Deposit): DepositProtoMsg; -}; -export declare const Proposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is Proposal; - isSDK(o: any): o is ProposalSDKType; - isAmino(o: any): o is ProposalAmino; - encode(message: Proposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Proposal; - fromJSON(object: any): Proposal; - toJSON(message: Proposal): unknown; - fromPartial(object: DeepPartial): Proposal; - fromSDK(object: ProposalSDKType): Proposal; - toSDK(message: Proposal): ProposalSDKType; - fromAmino(object: ProposalAmino): Proposal; - toAmino(message: Proposal): ProposalAmino; - fromAminoMsg(object: ProposalAminoMsg): Proposal; - toAminoMsg(message: Proposal): ProposalAminoMsg; - fromProtoMsg(message: ProposalProtoMsg): Proposal; - toProto(message: Proposal): Uint8Array; - toProtoMsg(message: Proposal): ProposalProtoMsg; -}; -export declare const TallyResult: { - typeUrl: string; - aminoType: string; - is(o: any): o is TallyResult; - isSDK(o: any): o is TallyResultSDKType; - isAmino(o: any): o is TallyResultAmino; - encode(message: TallyResult, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TallyResult; - fromJSON(object: any): TallyResult; - toJSON(message: TallyResult): unknown; - fromPartial(object: DeepPartial): TallyResult; - fromSDK(object: TallyResultSDKType): TallyResult; - toSDK(message: TallyResult): TallyResultSDKType; - fromAmino(object: TallyResultAmino): TallyResult; - toAmino(message: TallyResult): TallyResultAmino; - fromAminoMsg(object: TallyResultAminoMsg): TallyResult; - toAminoMsg(message: TallyResult): TallyResultAminoMsg; - fromProtoMsg(message: TallyResultProtoMsg): TallyResult; - toProto(message: TallyResult): Uint8Array; - toProtoMsg(message: TallyResult): TallyResultProtoMsg; -}; -export declare const Vote: { - typeUrl: string; - aminoType: string; - is(o: any): o is Vote; - isSDK(o: any): o is VoteSDKType; - isAmino(o: any): o is VoteAmino; - encode(message: Vote, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Vote; - fromJSON(object: any): Vote; - toJSON(message: Vote): unknown; - fromPartial(object: DeepPartial): Vote; - fromSDK(object: VoteSDKType): Vote; - toSDK(message: Vote): VoteSDKType; - fromAmino(object: VoteAmino): Vote; - toAmino(message: Vote): VoteAmino; - fromAminoMsg(object: VoteAminoMsg): Vote; - toAminoMsg(message: Vote): VoteAminoMsg; - fromProtoMsg(message: VoteProtoMsg): Vote; - toProto(message: Vote): Uint8Array; - toProtoMsg(message: Vote): VoteProtoMsg; -}; -export declare const DepositParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is DepositParams; - isSDK(o: any): o is DepositParamsSDKType; - isAmino(o: any): o is DepositParamsAmino; - encode(message: DepositParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DepositParams; - fromJSON(object: any): DepositParams; - toJSON(message: DepositParams): unknown; - fromPartial(object: DeepPartial): DepositParams; - fromSDK(object: DepositParamsSDKType): DepositParams; - toSDK(message: DepositParams): DepositParamsSDKType; - fromAmino(object: DepositParamsAmino): DepositParams; - toAmino(message: DepositParams): DepositParamsAmino; - fromAminoMsg(object: DepositParamsAminoMsg): DepositParams; - toAminoMsg(message: DepositParams): DepositParamsAminoMsg; - fromProtoMsg(message: DepositParamsProtoMsg): DepositParams; - toProto(message: DepositParams): Uint8Array; - toProtoMsg(message: DepositParams): DepositParamsProtoMsg; -}; -export declare const VotingParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is VotingParams; - isSDK(o: any): o is VotingParamsSDKType; - isAmino(o: any): o is VotingParamsAmino; - encode(message: VotingParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): VotingParams; - fromJSON(object: any): VotingParams; - toJSON(message: VotingParams): unknown; - fromPartial(object: DeepPartial): VotingParams; - fromSDK(object: VotingParamsSDKType): VotingParams; - toSDK(message: VotingParams): VotingParamsSDKType; - fromAmino(object: VotingParamsAmino): VotingParams; - toAmino(message: VotingParams): VotingParamsAmino; - fromAminoMsg(object: VotingParamsAminoMsg): VotingParams; - toAminoMsg(message: VotingParams): VotingParamsAminoMsg; - fromProtoMsg(message: VotingParamsProtoMsg): VotingParams; - toProto(message: VotingParams): Uint8Array; - toProtoMsg(message: VotingParams): VotingParamsProtoMsg; -}; -export declare const TallyParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is TallyParams; - isSDK(o: any): o is TallyParamsSDKType; - isAmino(o: any): o is TallyParamsAmino; - encode(message: TallyParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TallyParams; - fromJSON(object: any): TallyParams; - toJSON(message: TallyParams): unknown; - fromPartial(object: DeepPartial): TallyParams; - fromSDK(object: TallyParamsSDKType): TallyParams; - toSDK(message: TallyParams): TallyParamsSDKType; - fromAmino(object: TallyParamsAmino): TallyParams; - toAmino(message: TallyParams): TallyParamsAmino; - fromAminoMsg(object: TallyParamsAminoMsg): TallyParams; - toAminoMsg(message: TallyParams): TallyParamsAminoMsg; - fromProtoMsg(message: TallyParamsProtoMsg): TallyParams; - toProto(message: TallyParams): Uint8Array; - toProtoMsg(message: TallyParams): TallyParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/gov/v1beta1/query.d.ts b/examples/authz/types/codegen/cosmos/gov/v1beta1/query.d.ts deleted file mode 100644 index 98934849..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1beta1/query.d.ts +++ /dev/null @@ -1,761 +0,0 @@ -import { ProposalStatus, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType, Deposit, DepositAmino, DepositSDKType, TallyResult, TallyResultAmino, TallyResultSDKType } from "./gov"; -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: bigint; -} -export interface QueryProposalRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalRequest"; - value: Uint8Array; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id?: string; -} -export interface QueryProposalRequestAminoMsg { - type: "cosmos-sdk/QueryProposalRequest"; - value: QueryProposalRequestAmino; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequestSDKType { - proposal_id: bigint; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponse { - proposal: Proposal | undefined; -} -export interface QueryProposalResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalResponse"; - value: Uint8Array; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponseAmino { - proposal?: ProposalAmino | undefined; -} -export interface QueryProposalResponseAminoMsg { - type: "cosmos-sdk/QueryProposalResponse"; - value: QueryProposalResponseAmino; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponseSDKType { - proposal: ProposalSDKType | undefined; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequest { - /** proposal_status defines the status of the proposals. */ - proposalStatus: ProposalStatus; - /** voter defines the voter address for the proposals. */ - voter: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryProposalsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalsRequest"; - value: Uint8Array; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequestAmino { - /** proposal_status defines the status of the proposals. */ - proposal_status?: ProposalStatus; - /** voter defines the voter address for the proposals. */ - voter?: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryProposalsRequestAminoMsg { - type: "cosmos-sdk/QueryProposalsRequest"; - value: QueryProposalsRequestAmino; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequestSDKType { - proposal_status: ProposalStatus; - voter: string; - depositor: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponse { - proposals: Proposal[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryProposalsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalsResponse"; - value: Uint8Array; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponseAmino { - proposals?: ProposalAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryProposalsResponseAminoMsg { - type: "cosmos-sdk/QueryProposalsResponse"; - value: QueryProposalsResponseAmino; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponseSDKType { - proposals: ProposalSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: bigint; - /** voter defines the oter address for the proposals. */ - voter: string; -} -export interface QueryVoteRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryVoteRequest"; - value: Uint8Array; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id?: string; - /** voter defines the oter address for the proposals. */ - voter?: string; -} -export interface QueryVoteRequestAminoMsg { - type: "cosmos-sdk/QueryVoteRequest"; - value: QueryVoteRequestAmino; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequestSDKType { - proposal_id: bigint; - voter: string; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponse { - /** vote defined the queried vote. */ - vote: Vote | undefined; -} -export interface QueryVoteResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryVoteResponse"; - value: Uint8Array; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponseAmino { - /** vote defined the queried vote. */ - vote?: VoteAmino | undefined; -} -export interface QueryVoteResponseAminoMsg { - type: "cosmos-sdk/QueryVoteResponse"; - value: QueryVoteResponseAmino; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponseSDKType { - vote: VoteSDKType | undefined; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: bigint; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryVotesRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryVotesRequest"; - value: Uint8Array; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryVotesRequestAminoMsg { - type: "cosmos-sdk/QueryVotesRequest"; - value: QueryVotesRequestAmino; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequestSDKType { - proposal_id: bigint; - pagination?: PageRequestSDKType | undefined; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponse { - /** votes defined the queried votes. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryVotesResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryVotesResponse"; - value: Uint8Array; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponseAmino { - /** votes defined the queried votes. */ - votes?: VoteAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryVotesResponseAminoMsg { - type: "cosmos-sdk/QueryVotesResponse"; - value: QueryVotesResponseAmino; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponseSDKType { - votes: VoteSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - paramsType: string; -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - params_type?: string; -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { - params_type: string; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** voting_params defines the parameters related to voting. */ - votingParams: VotingParams | undefined; - /** deposit_params defines the parameters related to deposit. */ - depositParams: DepositParams | undefined; - /** tally_params defines the parameters related to tally. */ - tallyParams: TallyParams | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** voting_params defines the parameters related to voting. */ - voting_params?: VotingParamsAmino | undefined; - /** deposit_params defines the parameters related to deposit. */ - deposit_params?: DepositParamsAmino | undefined; - /** tally_params defines the parameters related to tally. */ - tally_params?: TallyParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - voting_params: VotingParamsSDKType | undefined; - deposit_params: DepositParamsSDKType | undefined; - tally_params: TallyParamsSDKType | undefined; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: bigint; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; -} -export interface QueryDepositRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositRequest"; - value: Uint8Array; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id?: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor?: string; -} -export interface QueryDepositRequestAminoMsg { - type: "cosmos-sdk/QueryDepositRequest"; - value: QueryDepositRequestAmino; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequestSDKType { - proposal_id: bigint; - depositor: string; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponse { - /** deposit defines the requested deposit. */ - deposit: Deposit | undefined; -} -export interface QueryDepositResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositResponse"; - value: Uint8Array; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponseAmino { - /** deposit defines the requested deposit. */ - deposit?: DepositAmino | undefined; -} -export interface QueryDepositResponseAminoMsg { - type: "cosmos-sdk/QueryDepositResponse"; - value: QueryDepositResponseAmino; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponseSDKType { - deposit: DepositSDKType | undefined; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: bigint; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryDepositsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositsRequest"; - value: Uint8Array; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryDepositsRequestAminoMsg { - type: "cosmos-sdk/QueryDepositsRequest"; - value: QueryDepositsRequestAmino; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequestSDKType { - proposal_id: bigint; - pagination?: PageRequestSDKType | undefined; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponse { - deposits: Deposit[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryDepositsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositsResponse"; - value: Uint8Array; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponseAmino { - deposits?: DepositAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryDepositsResponseAminoMsg { - type: "cosmos-sdk/QueryDepositsResponse"; - value: QueryDepositsResponseAmino; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponseSDKType { - deposits: DepositSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: bigint; -} -export interface QueryTallyResultRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryTallyResultRequest"; - value: Uint8Array; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id?: string; -} -export interface QueryTallyResultRequestAminoMsg { - type: "cosmos-sdk/QueryTallyResultRequest"; - value: QueryTallyResultRequestAmino; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequestSDKType { - proposal_id: bigint; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally: TallyResult | undefined; -} -export interface QueryTallyResultResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryTallyResultResponse"; - value: Uint8Array; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponseAmino { - /** tally defines the requested tally. */ - tally?: TallyResultAmino | undefined; -} -export interface QueryTallyResultResponseAminoMsg { - type: "cosmos-sdk/QueryTallyResultResponse"; - value: QueryTallyResultResponseAmino; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponseSDKType { - tally: TallyResultSDKType | undefined; -} -export declare const QueryProposalRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryProposalRequest; - isSDK(o: any): o is QueryProposalRequestSDKType; - isAmino(o: any): o is QueryProposalRequestAmino; - encode(message: QueryProposalRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalRequest; - fromJSON(object: any): QueryProposalRequest; - toJSON(message: QueryProposalRequest): unknown; - fromPartial(object: DeepPartial): QueryProposalRequest; - fromSDK(object: QueryProposalRequestSDKType): QueryProposalRequest; - toSDK(message: QueryProposalRequest): QueryProposalRequestSDKType; - fromAmino(object: QueryProposalRequestAmino): QueryProposalRequest; - toAmino(message: QueryProposalRequest): QueryProposalRequestAmino; - fromAminoMsg(object: QueryProposalRequestAminoMsg): QueryProposalRequest; - toAminoMsg(message: QueryProposalRequest): QueryProposalRequestAminoMsg; - fromProtoMsg(message: QueryProposalRequestProtoMsg): QueryProposalRequest; - toProto(message: QueryProposalRequest): Uint8Array; - toProtoMsg(message: QueryProposalRequest): QueryProposalRequestProtoMsg; -}; -export declare const QueryProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryProposalResponse; - isSDK(o: any): o is QueryProposalResponseSDKType; - isAmino(o: any): o is QueryProposalResponseAmino; - encode(message: QueryProposalResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalResponse; - fromJSON(object: any): QueryProposalResponse; - toJSON(message: QueryProposalResponse): unknown; - fromPartial(object: DeepPartial): QueryProposalResponse; - fromSDK(object: QueryProposalResponseSDKType): QueryProposalResponse; - toSDK(message: QueryProposalResponse): QueryProposalResponseSDKType; - fromAmino(object: QueryProposalResponseAmino): QueryProposalResponse; - toAmino(message: QueryProposalResponse): QueryProposalResponseAmino; - fromAminoMsg(object: QueryProposalResponseAminoMsg): QueryProposalResponse; - toAminoMsg(message: QueryProposalResponse): QueryProposalResponseAminoMsg; - fromProtoMsg(message: QueryProposalResponseProtoMsg): QueryProposalResponse; - toProto(message: QueryProposalResponse): Uint8Array; - toProtoMsg(message: QueryProposalResponse): QueryProposalResponseProtoMsg; -}; -export declare const QueryProposalsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryProposalsRequest; - isSDK(o: any): o is QueryProposalsRequestSDKType; - isAmino(o: any): o is QueryProposalsRequestAmino; - encode(message: QueryProposalsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalsRequest; - fromJSON(object: any): QueryProposalsRequest; - toJSON(message: QueryProposalsRequest): unknown; - fromPartial(object: DeepPartial): QueryProposalsRequest; - fromSDK(object: QueryProposalsRequestSDKType): QueryProposalsRequest; - toSDK(message: QueryProposalsRequest): QueryProposalsRequestSDKType; - fromAmino(object: QueryProposalsRequestAmino): QueryProposalsRequest; - toAmino(message: QueryProposalsRequest): QueryProposalsRequestAmino; - fromAminoMsg(object: QueryProposalsRequestAminoMsg): QueryProposalsRequest; - toAminoMsg(message: QueryProposalsRequest): QueryProposalsRequestAminoMsg; - fromProtoMsg(message: QueryProposalsRequestProtoMsg): QueryProposalsRequest; - toProto(message: QueryProposalsRequest): Uint8Array; - toProtoMsg(message: QueryProposalsRequest): QueryProposalsRequestProtoMsg; -}; -export declare const QueryProposalsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryProposalsResponse; - isSDK(o: any): o is QueryProposalsResponseSDKType; - isAmino(o: any): o is QueryProposalsResponseAmino; - encode(message: QueryProposalsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalsResponse; - fromJSON(object: any): QueryProposalsResponse; - toJSON(message: QueryProposalsResponse): unknown; - fromPartial(object: DeepPartial): QueryProposalsResponse; - fromSDK(object: QueryProposalsResponseSDKType): QueryProposalsResponse; - toSDK(message: QueryProposalsResponse): QueryProposalsResponseSDKType; - fromAmino(object: QueryProposalsResponseAmino): QueryProposalsResponse; - toAmino(message: QueryProposalsResponse): QueryProposalsResponseAmino; - fromAminoMsg(object: QueryProposalsResponseAminoMsg): QueryProposalsResponse; - toAminoMsg(message: QueryProposalsResponse): QueryProposalsResponseAminoMsg; - fromProtoMsg(message: QueryProposalsResponseProtoMsg): QueryProposalsResponse; - toProto(message: QueryProposalsResponse): Uint8Array; - toProtoMsg(message: QueryProposalsResponse): QueryProposalsResponseProtoMsg; -}; -export declare const QueryVoteRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryVoteRequest; - isSDK(o: any): o is QueryVoteRequestSDKType; - isAmino(o: any): o is QueryVoteRequestAmino; - encode(message: QueryVoteRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteRequest; - fromJSON(object: any): QueryVoteRequest; - toJSON(message: QueryVoteRequest): unknown; - fromPartial(object: DeepPartial): QueryVoteRequest; - fromSDK(object: QueryVoteRequestSDKType): QueryVoteRequest; - toSDK(message: QueryVoteRequest): QueryVoteRequestSDKType; - fromAmino(object: QueryVoteRequestAmino): QueryVoteRequest; - toAmino(message: QueryVoteRequest): QueryVoteRequestAmino; - fromAminoMsg(object: QueryVoteRequestAminoMsg): QueryVoteRequest; - toAminoMsg(message: QueryVoteRequest): QueryVoteRequestAminoMsg; - fromProtoMsg(message: QueryVoteRequestProtoMsg): QueryVoteRequest; - toProto(message: QueryVoteRequest): Uint8Array; - toProtoMsg(message: QueryVoteRequest): QueryVoteRequestProtoMsg; -}; -export declare const QueryVoteResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryVoteResponse; - isSDK(o: any): o is QueryVoteResponseSDKType; - isAmino(o: any): o is QueryVoteResponseAmino; - encode(message: QueryVoteResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteResponse; - fromJSON(object: any): QueryVoteResponse; - toJSON(message: QueryVoteResponse): unknown; - fromPartial(object: DeepPartial): QueryVoteResponse; - fromSDK(object: QueryVoteResponseSDKType): QueryVoteResponse; - toSDK(message: QueryVoteResponse): QueryVoteResponseSDKType; - fromAmino(object: QueryVoteResponseAmino): QueryVoteResponse; - toAmino(message: QueryVoteResponse): QueryVoteResponseAmino; - fromAminoMsg(object: QueryVoteResponseAminoMsg): QueryVoteResponse; - toAminoMsg(message: QueryVoteResponse): QueryVoteResponseAminoMsg; - fromProtoMsg(message: QueryVoteResponseProtoMsg): QueryVoteResponse; - toProto(message: QueryVoteResponse): Uint8Array; - toProtoMsg(message: QueryVoteResponse): QueryVoteResponseProtoMsg; -}; -export declare const QueryVotesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryVotesRequest; - isSDK(o: any): o is QueryVotesRequestSDKType; - isAmino(o: any): o is QueryVotesRequestAmino; - encode(message: QueryVotesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesRequest; - fromJSON(object: any): QueryVotesRequest; - toJSON(message: QueryVotesRequest): unknown; - fromPartial(object: DeepPartial): QueryVotesRequest; - fromSDK(object: QueryVotesRequestSDKType): QueryVotesRequest; - toSDK(message: QueryVotesRequest): QueryVotesRequestSDKType; - fromAmino(object: QueryVotesRequestAmino): QueryVotesRequest; - toAmino(message: QueryVotesRequest): QueryVotesRequestAmino; - fromAminoMsg(object: QueryVotesRequestAminoMsg): QueryVotesRequest; - toAminoMsg(message: QueryVotesRequest): QueryVotesRequestAminoMsg; - fromProtoMsg(message: QueryVotesRequestProtoMsg): QueryVotesRequest; - toProto(message: QueryVotesRequest): Uint8Array; - toProtoMsg(message: QueryVotesRequest): QueryVotesRequestProtoMsg; -}; -export declare const QueryVotesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryVotesResponse; - isSDK(o: any): o is QueryVotesResponseSDKType; - isAmino(o: any): o is QueryVotesResponseAmino; - encode(message: QueryVotesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesResponse; - fromJSON(object: any): QueryVotesResponse; - toJSON(message: QueryVotesResponse): unknown; - fromPartial(object: DeepPartial): QueryVotesResponse; - fromSDK(object: QueryVotesResponseSDKType): QueryVotesResponse; - toSDK(message: QueryVotesResponse): QueryVotesResponseSDKType; - fromAmino(object: QueryVotesResponseAmino): QueryVotesResponse; - toAmino(message: QueryVotesResponse): QueryVotesResponseAmino; - fromAminoMsg(object: QueryVotesResponseAminoMsg): QueryVotesResponse; - toAminoMsg(message: QueryVotesResponse): QueryVotesResponseAminoMsg; - fromProtoMsg(message: QueryVotesResponseProtoMsg): QueryVotesResponse; - toProto(message: QueryVotesResponse): Uint8Array; - toProtoMsg(message: QueryVotesResponse): QueryVotesResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(message: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(object: any): QueryParamsRequest; - toJSON(message: QueryParamsRequest): unknown; - fromPartial(object: DeepPartial): QueryParamsRequest; - fromSDK(object: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(message: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(object: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(message: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryDepositRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDepositRequest; - isSDK(o: any): o is QueryDepositRequestSDKType; - isAmino(o: any): o is QueryDepositRequestAmino; - encode(message: QueryDepositRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositRequest; - fromJSON(object: any): QueryDepositRequest; - toJSON(message: QueryDepositRequest): unknown; - fromPartial(object: DeepPartial): QueryDepositRequest; - fromSDK(object: QueryDepositRequestSDKType): QueryDepositRequest; - toSDK(message: QueryDepositRequest): QueryDepositRequestSDKType; - fromAmino(object: QueryDepositRequestAmino): QueryDepositRequest; - toAmino(message: QueryDepositRequest): QueryDepositRequestAmino; - fromAminoMsg(object: QueryDepositRequestAminoMsg): QueryDepositRequest; - toAminoMsg(message: QueryDepositRequest): QueryDepositRequestAminoMsg; - fromProtoMsg(message: QueryDepositRequestProtoMsg): QueryDepositRequest; - toProto(message: QueryDepositRequest): Uint8Array; - toProtoMsg(message: QueryDepositRequest): QueryDepositRequestProtoMsg; -}; -export declare const QueryDepositResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDepositResponse; - isSDK(o: any): o is QueryDepositResponseSDKType; - isAmino(o: any): o is QueryDepositResponseAmino; - encode(message: QueryDepositResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositResponse; - fromJSON(object: any): QueryDepositResponse; - toJSON(message: QueryDepositResponse): unknown; - fromPartial(object: DeepPartial): QueryDepositResponse; - fromSDK(object: QueryDepositResponseSDKType): QueryDepositResponse; - toSDK(message: QueryDepositResponse): QueryDepositResponseSDKType; - fromAmino(object: QueryDepositResponseAmino): QueryDepositResponse; - toAmino(message: QueryDepositResponse): QueryDepositResponseAmino; - fromAminoMsg(object: QueryDepositResponseAminoMsg): QueryDepositResponse; - toAminoMsg(message: QueryDepositResponse): QueryDepositResponseAminoMsg; - fromProtoMsg(message: QueryDepositResponseProtoMsg): QueryDepositResponse; - toProto(message: QueryDepositResponse): Uint8Array; - toProtoMsg(message: QueryDepositResponse): QueryDepositResponseProtoMsg; -}; -export declare const QueryDepositsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDepositsRequest; - isSDK(o: any): o is QueryDepositsRequestSDKType; - isAmino(o: any): o is QueryDepositsRequestAmino; - encode(message: QueryDepositsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositsRequest; - fromJSON(object: any): QueryDepositsRequest; - toJSON(message: QueryDepositsRequest): unknown; - fromPartial(object: DeepPartial): QueryDepositsRequest; - fromSDK(object: QueryDepositsRequestSDKType): QueryDepositsRequest; - toSDK(message: QueryDepositsRequest): QueryDepositsRequestSDKType; - fromAmino(object: QueryDepositsRequestAmino): QueryDepositsRequest; - toAmino(message: QueryDepositsRequest): QueryDepositsRequestAmino; - fromAminoMsg(object: QueryDepositsRequestAminoMsg): QueryDepositsRequest; - toAminoMsg(message: QueryDepositsRequest): QueryDepositsRequestAminoMsg; - fromProtoMsg(message: QueryDepositsRequestProtoMsg): QueryDepositsRequest; - toProto(message: QueryDepositsRequest): Uint8Array; - toProtoMsg(message: QueryDepositsRequest): QueryDepositsRequestProtoMsg; -}; -export declare const QueryDepositsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDepositsResponse; - isSDK(o: any): o is QueryDepositsResponseSDKType; - isAmino(o: any): o is QueryDepositsResponseAmino; - encode(message: QueryDepositsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDepositsResponse; - fromJSON(object: any): QueryDepositsResponse; - toJSON(message: QueryDepositsResponse): unknown; - fromPartial(object: DeepPartial): QueryDepositsResponse; - fromSDK(object: QueryDepositsResponseSDKType): QueryDepositsResponse; - toSDK(message: QueryDepositsResponse): QueryDepositsResponseSDKType; - fromAmino(object: QueryDepositsResponseAmino): QueryDepositsResponse; - toAmino(message: QueryDepositsResponse): QueryDepositsResponseAmino; - fromAminoMsg(object: QueryDepositsResponseAminoMsg): QueryDepositsResponse; - toAminoMsg(message: QueryDepositsResponse): QueryDepositsResponseAminoMsg; - fromProtoMsg(message: QueryDepositsResponseProtoMsg): QueryDepositsResponse; - toProto(message: QueryDepositsResponse): Uint8Array; - toProtoMsg(message: QueryDepositsResponse): QueryDepositsResponseProtoMsg; -}; -export declare const QueryTallyResultRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryTallyResultRequest; - isSDK(o: any): o is QueryTallyResultRequestSDKType; - isAmino(o: any): o is QueryTallyResultRequestAmino; - encode(message: QueryTallyResultRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryTallyResultRequest; - fromJSON(object: any): QueryTallyResultRequest; - toJSON(message: QueryTallyResultRequest): unknown; - fromPartial(object: DeepPartial): QueryTallyResultRequest; - fromSDK(object: QueryTallyResultRequestSDKType): QueryTallyResultRequest; - toSDK(message: QueryTallyResultRequest): QueryTallyResultRequestSDKType; - fromAmino(object: QueryTallyResultRequestAmino): QueryTallyResultRequest; - toAmino(message: QueryTallyResultRequest): QueryTallyResultRequestAmino; - fromAminoMsg(object: QueryTallyResultRequestAminoMsg): QueryTallyResultRequest; - toAminoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestAminoMsg; - fromProtoMsg(message: QueryTallyResultRequestProtoMsg): QueryTallyResultRequest; - toProto(message: QueryTallyResultRequest): Uint8Array; - toProtoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestProtoMsg; -}; -export declare const QueryTallyResultResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryTallyResultResponse; - isSDK(o: any): o is QueryTallyResultResponseSDKType; - isAmino(o: any): o is QueryTallyResultResponseAmino; - encode(message: QueryTallyResultResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryTallyResultResponse; - fromJSON(object: any): QueryTallyResultResponse; - toJSON(message: QueryTallyResultResponse): unknown; - fromPartial(object: DeepPartial): QueryTallyResultResponse; - fromSDK(object: QueryTallyResultResponseSDKType): QueryTallyResultResponse; - toSDK(message: QueryTallyResultResponse): QueryTallyResultResponseSDKType; - fromAmino(object: QueryTallyResultResponseAmino): QueryTallyResultResponse; - toAmino(message: QueryTallyResultResponse): QueryTallyResultResponseAmino; - fromAminoMsg(object: QueryTallyResultResponseAminoMsg): QueryTallyResultResponse; - toAminoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseAminoMsg; - fromProtoMsg(message: QueryTallyResultResponseProtoMsg): QueryTallyResultResponse; - toProto(message: QueryTallyResultResponse): Uint8Array; - toProtoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/gov/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/gov/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 56c4ae82..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,121 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; -/** Query defines the gRPC querier service for gov module */ -export interface Query { - /** Proposal queries proposal details based on ProposalID. */ - proposal(request: QueryProposalRequest): Promise; - /** Proposals queries all proposals based on given status. */ - proposals(request: QueryProposalsRequest): Promise; - /** Vote queries voted information based on proposalID, voterAddr. */ - vote(request: QueryVoteRequest): Promise; - /** Votes queries votes of a given proposal. */ - votes(request: QueryVotesRequest): Promise; - /** Params queries all parameters of the gov module. */ - params(request: QueryParamsRequest): Promise; - /** Deposit queries single deposit information based proposalID, depositAddr. */ - deposit(request: QueryDepositRequest): Promise; - /** Deposits queries all deposits of a single proposal. */ - deposits(request: QueryDepositsRequest): Promise; - /** TallyResult queries the tally of a proposal vote. */ - tallyResult(request: QueryTallyResultRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - proposal: (request: QueryProposalRequest) => Promise; - proposals: (request: QueryProposalsRequest) => Promise; - vote: (request: QueryVoteRequest) => Promise; - votes: (request: QueryVotesRequest) => Promise; - params: (request: QueryParamsRequest) => Promise; - deposit: (request: QueryDepositRequest) => Promise; - deposits: (request: QueryDepositsRequest) => Promise; - tallyResult: (request: QueryTallyResultRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseProposalQuery extends ReactQueryParams { - request: QueryProposalRequest; -} -export interface UseProposalsQuery extends ReactQueryParams { - request: QueryProposalsRequest; -} -export interface UseVoteQuery extends ReactQueryParams { - request: QueryVoteRequest; -} -export interface UseVotesQuery extends ReactQueryParams { - request: QueryVotesRequest; -} -export interface UseParamsQuery extends ReactQueryParams { - request: QueryParamsRequest; -} -export interface UseDepositQuery extends ReactQueryParams { - request: QueryDepositRequest; -} -export interface UseDepositsQuery extends ReactQueryParams { - request: QueryDepositsRequest; -} -export interface UseTallyResultQuery extends ReactQueryParams { - request: QueryTallyResultRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Proposal queries proposal details based on ProposalID. */ useProposal: ({ request, options }: UseProposalQuery) => import("@tanstack/react-query").UseQueryResult; - /** Proposals queries all proposals based on given status. */ useProposals: ({ request, options }: UseProposalsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Vote queries voted information based on proposalID, voterAddr. */ useVote: ({ request, options }: UseVoteQuery) => import("@tanstack/react-query").UseQueryResult; - /** Votes queries votes of a given proposal. */ useVotes: ({ request, options }: UseVotesQuery) => import("@tanstack/react-query").UseQueryResult; - /** Params queries all parameters of the gov module. */ useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Deposit queries single deposit information based proposalID, depositAddr. */ useDeposit: ({ request, options }: UseDepositQuery) => import("@tanstack/react-query").UseQueryResult; - /** Deposits queries all deposits of a single proposal. */ useDeposits: ({ request, options }: UseDepositsQuery) => import("@tanstack/react-query").UseQueryResult; - /** TallyResult queries the tally of a proposal vote. */ useTallyResult: ({ request, options }: UseTallyResultQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Proposal queries proposal details based on ProposalID. */ QueryProposalStore: { - new (): { - store: QueryStore; - proposal(request: QueryProposalRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Proposals queries all proposals based on given status. */ QueryProposalsStore: { - new (): { - store: QueryStore; - proposals(request: QueryProposalsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Vote queries voted information based on proposalID, voterAddr. */ QueryVoteStore: { - new (): { - store: QueryStore; - vote(request: QueryVoteRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Votes queries votes of a given proposal. */ QueryVotesStore: { - new (): { - store: QueryStore; - votes(request: QueryVotesRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Params queries all parameters of the gov module. */ QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Deposit queries single deposit information based proposalID, depositAddr. */ QueryDepositStore: { - new (): { - store: QueryStore; - deposit(request: QueryDepositRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Deposits queries all deposits of a single proposal. */ QueryDepositsStore: { - new (): { - store: QueryStore; - deposits(request: QueryDepositsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** TallyResult queries the tally of a proposal vote. */ QueryTallyResultStore: { - new (): { - store: QueryStore; - tallyResult(request: QueryTallyResultRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts b/examples/authz/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts deleted file mode 100644 index c27154bf..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; -export declare const AminoConverter: { - "/cosmos.gov.v1beta1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: MsgSubmitProposal) => import("./tx").MsgSubmitProposalAmino; - fromAmino: (object: import("./tx").MsgSubmitProposalAmino) => MsgSubmitProposal; - }; - "/cosmos.gov.v1beta1.MsgVote": { - aminoType: string; - toAmino: (message: MsgVote) => import("./tx").MsgVoteAmino; - fromAmino: (object: import("./tx").MsgVoteAmino) => MsgVote; - }; - "/cosmos.gov.v1beta1.MsgVoteWeighted": { - aminoType: string; - toAmino: (message: MsgVoteWeighted) => import("./tx").MsgVoteWeightedAmino; - fromAmino: (object: import("./tx").MsgVoteWeightedAmino) => MsgVoteWeighted; - }; - "/cosmos.gov.v1beta1.MsgDeposit": { - aminoType: string; - toAmino: (message: MsgDeposit) => import("./tx").MsgDepositAmino; - fromAmino: (object: import("./tx").MsgDepositAmino) => MsgDeposit; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/gov/v1beta1/tx.d.ts b/examples/authz/types/codegen/cosmos/gov/v1beta1/tx.d.ts deleted file mode 100644 index 6d913b05..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1beta1/tx.d.ts +++ /dev/null @@ -1,384 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption, WeightedVoteOptionAmino, WeightedVoteOptionSDKType, TextProposal, TextProposalProtoMsg, TextProposalSDKType } from "./gov"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposal { - content?: TextProposal | Any | undefined; - initialDeposit: Coin[]; - proposer: string; -} -export interface MsgSubmitProposalProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal"; - value: Uint8Array; -} -export type MsgSubmitProposalEncoded = Omit & { - content?: TextProposalProtoMsg | AnyProtoMsg | undefined; -}; -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposalAmino { - content?: AnyAmino | undefined; - initial_deposit?: CoinAmino[]; - proposer?: string; -} -export interface MsgSubmitProposalAminoMsg { - type: "cosmos-sdk/MsgSubmitProposal"; - value: MsgSubmitProposalAmino; -} -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposalSDKType { - content?: TextProposalSDKType | AnySDKType | undefined; - initial_deposit: CoinSDKType[]; - proposer: string; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponse { - proposalId: bigint; -} -export interface MsgSubmitProposalResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposalResponse"; - value: Uint8Array; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseAmino { - proposal_id?: string; -} -export interface MsgSubmitProposalResponseAminoMsg { - type: "cosmos-sdk/MsgSubmitProposalResponse"; - value: MsgSubmitProposalResponseAmino; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseSDKType { - proposal_id: bigint; -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVote { - proposalId: bigint; - voter: string; - option: VoteOption; -} -export interface MsgVoteProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgVote"; - value: Uint8Array; -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVoteAmino { - proposal_id?: string; - voter?: string; - option?: VoteOption; -} -export interface MsgVoteAminoMsg { - type: "cosmos-sdk/MsgVote"; - value: MsgVoteAmino; -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVoteSDKType { - proposal_id: bigint; - voter: string; - option: VoteOption; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponse { -} -export interface MsgVoteResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteResponse"; - value: Uint8Array; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponseAmino { -} -export interface MsgVoteResponseAminoMsg { - type: "cosmos-sdk/MsgVoteResponse"; - value: MsgVoteResponseAmino; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponseSDKType { -} -/** - * MsgVoteWeighted defines a message to cast a vote. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeighted { - proposalId: bigint; - voter: string; - options: WeightedVoteOption[]; -} -export interface MsgVoteWeightedProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted"; - value: Uint8Array; -} -/** - * MsgVoteWeighted defines a message to cast a vote. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeightedAmino { - proposal_id?: string; - voter?: string; - options?: WeightedVoteOptionAmino[]; -} -export interface MsgVoteWeightedAminoMsg { - type: "cosmos-sdk/MsgVoteWeighted"; - value: MsgVoteWeightedAmino; -} -/** - * MsgVoteWeighted defines a message to cast a vote. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeightedSDKType { - proposal_id: bigint; - voter: string; - options: WeightedVoteOptionSDKType[]; -} -/** - * MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeightedResponse { -} -export interface MsgVoteWeightedResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeightedResponse"; - value: Uint8Array; -} -/** - * MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeightedResponseAmino { -} -export interface MsgVoteWeightedResponseAminoMsg { - type: "cosmos-sdk/MsgVoteWeightedResponse"; - value: MsgVoteWeightedResponseAmino; -} -/** - * MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeightedResponseSDKType { -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDeposit { - proposalId: bigint; - depositor: string; - amount: Coin[]; -} -export interface MsgDepositProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgDeposit"; - value: Uint8Array; -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDepositAmino { - proposal_id?: string; - depositor?: string; - amount?: CoinAmino[]; -} -export interface MsgDepositAminoMsg { - type: "cosmos-sdk/MsgDeposit"; - value: MsgDepositAmino; -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDepositSDKType { - proposal_id: bigint; - depositor: string; - amount: CoinSDKType[]; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponse { -} -export interface MsgDepositResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgDepositResponse"; - value: Uint8Array; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponseAmino { -} -export interface MsgDepositResponseAminoMsg { - type: "cosmos-sdk/MsgDepositResponse"; - value: MsgDepositResponseAmino; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponseSDKType { -} -export declare const MsgSubmitProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSubmitProposal; - isSDK(o: any): o is MsgSubmitProposalSDKType; - isAmino(o: any): o is MsgSubmitProposalAmino; - encode(message: MsgSubmitProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitProposal; - fromJSON(object: any): MsgSubmitProposal; - toJSON(message: MsgSubmitProposal): unknown; - fromPartial(object: DeepPartial): MsgSubmitProposal; - fromSDK(object: MsgSubmitProposalSDKType): MsgSubmitProposal; - toSDK(message: MsgSubmitProposal): MsgSubmitProposalSDKType; - fromAmino(object: MsgSubmitProposalAmino): MsgSubmitProposal; - toAmino(message: MsgSubmitProposal): MsgSubmitProposalAmino; - fromAminoMsg(object: MsgSubmitProposalAminoMsg): MsgSubmitProposal; - toAminoMsg(message: MsgSubmitProposal): MsgSubmitProposalAminoMsg; - fromProtoMsg(message: MsgSubmitProposalProtoMsg): MsgSubmitProposal; - toProto(message: MsgSubmitProposal): Uint8Array; - toProtoMsg(message: MsgSubmitProposal): MsgSubmitProposalProtoMsg; -}; -export declare const MsgSubmitProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSubmitProposalResponse; - isSDK(o: any): o is MsgSubmitProposalResponseSDKType; - isAmino(o: any): o is MsgSubmitProposalResponseAmino; - encode(message: MsgSubmitProposalResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitProposalResponse; - fromJSON(object: any): MsgSubmitProposalResponse; - toJSON(message: MsgSubmitProposalResponse): unknown; - fromPartial(object: DeepPartial): MsgSubmitProposalResponse; - fromSDK(object: MsgSubmitProposalResponseSDKType): MsgSubmitProposalResponse; - toSDK(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseSDKType; - fromAmino(object: MsgSubmitProposalResponseAmino): MsgSubmitProposalResponse; - toAmino(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAmino; - fromAminoMsg(object: MsgSubmitProposalResponseAminoMsg): MsgSubmitProposalResponse; - toAminoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAminoMsg; - fromProtoMsg(message: MsgSubmitProposalResponseProtoMsg): MsgSubmitProposalResponse; - toProto(message: MsgSubmitProposalResponse): Uint8Array; - toProtoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseProtoMsg; -}; -export declare const MsgVote: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgVote; - isSDK(o: any): o is MsgVoteSDKType; - isAmino(o: any): o is MsgVoteAmino; - encode(message: MsgVote, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgVote; - fromJSON(object: any): MsgVote; - toJSON(message: MsgVote): unknown; - fromPartial(object: DeepPartial): MsgVote; - fromSDK(object: MsgVoteSDKType): MsgVote; - toSDK(message: MsgVote): MsgVoteSDKType; - fromAmino(object: MsgVoteAmino): MsgVote; - toAmino(message: MsgVote): MsgVoteAmino; - fromAminoMsg(object: MsgVoteAminoMsg): MsgVote; - toAminoMsg(message: MsgVote): MsgVoteAminoMsg; - fromProtoMsg(message: MsgVoteProtoMsg): MsgVote; - toProto(message: MsgVote): Uint8Array; - toProtoMsg(message: MsgVote): MsgVoteProtoMsg; -}; -export declare const MsgVoteResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgVoteResponse; - isSDK(o: any): o is MsgVoteResponseSDKType; - isAmino(o: any): o is MsgVoteResponseAmino; - encode(_: MsgVoteResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgVoteResponse; - fromJSON(_: any): MsgVoteResponse; - toJSON(_: MsgVoteResponse): unknown; - fromPartial(_: DeepPartial): MsgVoteResponse; - fromSDK(_: MsgVoteResponseSDKType): MsgVoteResponse; - toSDK(_: MsgVoteResponse): MsgVoteResponseSDKType; - fromAmino(_: MsgVoteResponseAmino): MsgVoteResponse; - toAmino(_: MsgVoteResponse): MsgVoteResponseAmino; - fromAminoMsg(object: MsgVoteResponseAminoMsg): MsgVoteResponse; - toAminoMsg(message: MsgVoteResponse): MsgVoteResponseAminoMsg; - fromProtoMsg(message: MsgVoteResponseProtoMsg): MsgVoteResponse; - toProto(message: MsgVoteResponse): Uint8Array; - toProtoMsg(message: MsgVoteResponse): MsgVoteResponseProtoMsg; -}; -export declare const MsgVoteWeighted: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgVoteWeighted; - isSDK(o: any): o is MsgVoteWeightedSDKType; - isAmino(o: any): o is MsgVoteWeightedAmino; - encode(message: MsgVoteWeighted, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgVoteWeighted; - fromJSON(object: any): MsgVoteWeighted; - toJSON(message: MsgVoteWeighted): unknown; - fromPartial(object: DeepPartial): MsgVoteWeighted; - fromSDK(object: MsgVoteWeightedSDKType): MsgVoteWeighted; - toSDK(message: MsgVoteWeighted): MsgVoteWeightedSDKType; - fromAmino(object: MsgVoteWeightedAmino): MsgVoteWeighted; - toAmino(message: MsgVoteWeighted): MsgVoteWeightedAmino; - fromAminoMsg(object: MsgVoteWeightedAminoMsg): MsgVoteWeighted; - toAminoMsg(message: MsgVoteWeighted): MsgVoteWeightedAminoMsg; - fromProtoMsg(message: MsgVoteWeightedProtoMsg): MsgVoteWeighted; - toProto(message: MsgVoteWeighted): Uint8Array; - toProtoMsg(message: MsgVoteWeighted): MsgVoteWeightedProtoMsg; -}; -export declare const MsgVoteWeightedResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgVoteWeightedResponse; - isSDK(o: any): o is MsgVoteWeightedResponseSDKType; - isAmino(o: any): o is MsgVoteWeightedResponseAmino; - encode(_: MsgVoteWeightedResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgVoteWeightedResponse; - fromJSON(_: any): MsgVoteWeightedResponse; - toJSON(_: MsgVoteWeightedResponse): unknown; - fromPartial(_: DeepPartial): MsgVoteWeightedResponse; - fromSDK(_: MsgVoteWeightedResponseSDKType): MsgVoteWeightedResponse; - toSDK(_: MsgVoteWeightedResponse): MsgVoteWeightedResponseSDKType; - fromAmino(_: MsgVoteWeightedResponseAmino): MsgVoteWeightedResponse; - toAmino(_: MsgVoteWeightedResponse): MsgVoteWeightedResponseAmino; - fromAminoMsg(object: MsgVoteWeightedResponseAminoMsg): MsgVoteWeightedResponse; - toAminoMsg(message: MsgVoteWeightedResponse): MsgVoteWeightedResponseAminoMsg; - fromProtoMsg(message: MsgVoteWeightedResponseProtoMsg): MsgVoteWeightedResponse; - toProto(message: MsgVoteWeightedResponse): Uint8Array; - toProtoMsg(message: MsgVoteWeightedResponse): MsgVoteWeightedResponseProtoMsg; -}; -export declare const MsgDeposit: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgDeposit; - isSDK(o: any): o is MsgDepositSDKType; - isAmino(o: any): o is MsgDepositAmino; - encode(message: MsgDeposit, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgDeposit; - fromJSON(object: any): MsgDeposit; - toJSON(message: MsgDeposit): unknown; - fromPartial(object: DeepPartial): MsgDeposit; - fromSDK(object: MsgDepositSDKType): MsgDeposit; - toSDK(message: MsgDeposit): MsgDepositSDKType; - fromAmino(object: MsgDepositAmino): MsgDeposit; - toAmino(message: MsgDeposit): MsgDepositAmino; - fromAminoMsg(object: MsgDepositAminoMsg): MsgDeposit; - toAminoMsg(message: MsgDeposit): MsgDepositAminoMsg; - fromProtoMsg(message: MsgDepositProtoMsg): MsgDeposit; - toProto(message: MsgDeposit): Uint8Array; - toProtoMsg(message: MsgDeposit): MsgDepositProtoMsg; -}; -export declare const MsgDepositResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgDepositResponse; - isSDK(o: any): o is MsgDepositResponseSDKType; - isAmino(o: any): o is MsgDepositResponseAmino; - encode(_: MsgDepositResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgDepositResponse; - fromJSON(_: any): MsgDepositResponse; - toJSON(_: MsgDepositResponse): unknown; - fromPartial(_: DeepPartial): MsgDepositResponse; - fromSDK(_: MsgDepositResponseSDKType): MsgDepositResponse; - toSDK(_: MsgDepositResponse): MsgDepositResponseSDKType; - fromAmino(_: MsgDepositResponseAmino): MsgDepositResponse; - toAmino(_: MsgDepositResponse): MsgDepositResponseAmino; - fromAminoMsg(object: MsgDepositResponseAminoMsg): MsgDepositResponse; - toAminoMsg(message: MsgDepositResponse): MsgDepositResponseAminoMsg; - fromProtoMsg(message: MsgDepositResponseProtoMsg): MsgDepositResponse; - toProto(message: MsgDepositResponse): Uint8Array; - toProtoMsg(message: MsgDepositResponse): MsgDepositResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts b/examples/authz/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts deleted file mode 100644 index 54eaddef..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: Uint8Array; - }; - vote(value: MsgVote): { - typeUrl: string; - value: Uint8Array; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: Uint8Array; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: MsgSubmitProposal; - }; - vote(value: MsgVote): { - typeUrl: string; - value: MsgVote; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: MsgVoteWeighted; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: MsgDeposit; - }; - }; - toJSON: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: unknown; - }; - vote(value: MsgVote): { - typeUrl: string; - value: unknown; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: unknown; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - submitProposal(value: any): { - typeUrl: string; - value: MsgSubmitProposal; - }; - vote(value: any): { - typeUrl: string; - value: MsgVote; - }; - voteWeighted(value: any): { - typeUrl: string; - value: MsgVoteWeighted; - }; - deposit(value: any): { - typeUrl: string; - value: MsgDeposit; - }; - }; - fromPartial: { - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: MsgSubmitProposal; - }; - vote(value: MsgVote): { - typeUrl: string; - value: MsgVote; - }; - voteWeighted(value: MsgVoteWeighted): { - typeUrl: string; - value: MsgVoteWeighted; - }; - deposit(value: MsgDeposit): { - typeUrl: string; - value: MsgDeposit; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 446b3b50..00000000 --- a/examples/authz/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx"; -/** Msg defines the bank Msg service. */ -export interface Msg { - /** SubmitProposal defines a method to create new proposal given a content. */ - submitProposal(signerAddress: string, message: MsgSubmitProposal, fee: number | StdFee | "auto", memo: string): Promise; - /** Vote defines a method to add a vote on a specific proposal. */ - vote(signerAddress: string, message: MsgVote, fee: number | StdFee | "auto", memo: string): Promise; - /** - * VoteWeighted defines a method to add a weighted vote on a specific proposal. - * - * Since: cosmos-sdk 0.43 - */ - voteWeighted(signerAddress: string, message: MsgVoteWeighted, fee: number | StdFee | "auto", memo: string): Promise; - /** Deposit defines a method to add deposit on a specific proposal. */ - deposit(signerAddress: string, message: MsgDeposit, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - submitProposal: (signerAddress: string, message: MsgSubmitProposal, fee?: number | StdFee | "auto", memo?: string) => Promise; - vote: (signerAddress: string, message: MsgVote, fee?: number | StdFee | "auto", memo?: string) => Promise; - voteWeighted: (signerAddress: string, message: MsgVoteWeighted, fee?: number | StdFee | "auto", memo?: string) => Promise; - deposit: (signerAddress: string, message: MsgDeposit, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/cosmos/group/v1/events.d.ts b/examples/authz/types/codegen/cosmos/group/v1/events.d.ts deleted file mode 100644 index 9c57def4..00000000 --- a/examples/authz/types/codegen/cosmos/group/v1/events.d.ts +++ /dev/null @@ -1,400 +0,0 @@ -import { ProposalExecutorResult } from "./types"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** EventCreateGroup is an event emitted when a group is created. */ -export interface EventCreateGroup { - /** group_id is the unique ID of the group. */ - groupId: bigint; -} -export interface EventCreateGroupProtoMsg { - typeUrl: "/cosmos.group.v1.EventCreateGroup"; - value: Uint8Array; -} -/** EventCreateGroup is an event emitted when a group is created. */ -export interface EventCreateGroupAmino { - /** group_id is the unique ID of the group. */ - group_id?: string; -} -export interface EventCreateGroupAminoMsg { - type: "cosmos-sdk/EventCreateGroup"; - value: EventCreateGroupAmino; -} -/** EventCreateGroup is an event emitted when a group is created. */ -export interface EventCreateGroupSDKType { - group_id: bigint; -} -/** EventUpdateGroup is an event emitted when a group is updated. */ -export interface EventUpdateGroup { - /** group_id is the unique ID of the group. */ - groupId: bigint; -} -export interface EventUpdateGroupProtoMsg { - typeUrl: "/cosmos.group.v1.EventUpdateGroup"; - value: Uint8Array; -} -/** EventUpdateGroup is an event emitted when a group is updated. */ -export interface EventUpdateGroupAmino { - /** group_id is the unique ID of the group. */ - group_id?: string; -} -export interface EventUpdateGroupAminoMsg { - type: "cosmos-sdk/EventUpdateGroup"; - value: EventUpdateGroupAmino; -} -/** EventUpdateGroup is an event emitted when a group is updated. */ -export interface EventUpdateGroupSDKType { - group_id: bigint; -} -/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ -export interface EventCreateGroupPolicy { - /** address is the account address of the group policy. */ - address: string; -} -export interface EventCreateGroupPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.EventCreateGroupPolicy"; - value: Uint8Array; -} -/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ -export interface EventCreateGroupPolicyAmino { - /** address is the account address of the group policy. */ - address?: string; -} -export interface EventCreateGroupPolicyAminoMsg { - type: "cosmos-sdk/EventCreateGroupPolicy"; - value: EventCreateGroupPolicyAmino; -} -/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ -export interface EventCreateGroupPolicySDKType { - address: string; -} -/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ -export interface EventUpdateGroupPolicy { - /** address is the account address of the group policy. */ - address: string; -} -export interface EventUpdateGroupPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.EventUpdateGroupPolicy"; - value: Uint8Array; -} -/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ -export interface EventUpdateGroupPolicyAmino { - /** address is the account address of the group policy. */ - address?: string; -} -export interface EventUpdateGroupPolicyAminoMsg { - type: "cosmos-sdk/EventUpdateGroupPolicy"; - value: EventUpdateGroupPolicyAmino; -} -/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ -export interface EventUpdateGroupPolicySDKType { - address: string; -} -/** EventSubmitProposal is an event emitted when a proposal is created. */ -export interface EventSubmitProposal { - /** proposal_id is the unique ID of the proposal. */ - proposalId: bigint; -} -export interface EventSubmitProposalProtoMsg { - typeUrl: "/cosmos.group.v1.EventSubmitProposal"; - value: Uint8Array; -} -/** EventSubmitProposal is an event emitted when a proposal is created. */ -export interface EventSubmitProposalAmino { - /** proposal_id is the unique ID of the proposal. */ - proposal_id?: string; -} -export interface EventSubmitProposalAminoMsg { - type: "cosmos-sdk/EventSubmitProposal"; - value: EventSubmitProposalAmino; -} -/** EventSubmitProposal is an event emitted when a proposal is created. */ -export interface EventSubmitProposalSDKType { - proposal_id: bigint; -} -/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ -export interface EventWithdrawProposal { - /** proposal_id is the unique ID of the proposal. */ - proposalId: bigint; -} -export interface EventWithdrawProposalProtoMsg { - typeUrl: "/cosmos.group.v1.EventWithdrawProposal"; - value: Uint8Array; -} -/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ -export interface EventWithdrawProposalAmino { - /** proposal_id is the unique ID of the proposal. */ - proposal_id?: string; -} -export interface EventWithdrawProposalAminoMsg { - type: "cosmos-sdk/EventWithdrawProposal"; - value: EventWithdrawProposalAmino; -} -/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ -export interface EventWithdrawProposalSDKType { - proposal_id: bigint; -} -/** EventVote is an event emitted when a voter votes on a proposal. */ -export interface EventVote { - /** proposal_id is the unique ID of the proposal. */ - proposalId: bigint; -} -export interface EventVoteProtoMsg { - typeUrl: "/cosmos.group.v1.EventVote"; - value: Uint8Array; -} -/** EventVote is an event emitted when a voter votes on a proposal. */ -export interface EventVoteAmino { - /** proposal_id is the unique ID of the proposal. */ - proposal_id?: string; -} -export interface EventVoteAminoMsg { - type: "cosmos-sdk/EventVote"; - value: EventVoteAmino; -} -/** EventVote is an event emitted when a voter votes on a proposal. */ -export interface EventVoteSDKType { - proposal_id: bigint; -} -/** EventExec is an event emitted when a proposal is executed. */ -export interface EventExec { - /** proposal_id is the unique ID of the proposal. */ - proposalId: bigint; - /** result is the proposal execution result. */ - result: ProposalExecutorResult; -} -export interface EventExecProtoMsg { - typeUrl: "/cosmos.group.v1.EventExec"; - value: Uint8Array; -} -/** EventExec is an event emitted when a proposal is executed. */ -export interface EventExecAmino { - /** proposal_id is the unique ID of the proposal. */ - proposal_id?: string; - /** result is the proposal execution result. */ - result?: ProposalExecutorResult; -} -export interface EventExecAminoMsg { - type: "cosmos-sdk/EventExec"; - value: EventExecAmino; -} -/** EventExec is an event emitted when a proposal is executed. */ -export interface EventExecSDKType { - proposal_id: bigint; - result: ProposalExecutorResult; -} -/** EventLeaveGroup is an event emitted when group member leaves the group. */ -export interface EventLeaveGroup { - /** group_id is the unique ID of the group. */ - groupId: bigint; - /** address is the account address of the group member. */ - address: string; -} -export interface EventLeaveGroupProtoMsg { - typeUrl: "/cosmos.group.v1.EventLeaveGroup"; - value: Uint8Array; -} -/** EventLeaveGroup is an event emitted when group member leaves the group. */ -export interface EventLeaveGroupAmino { - /** group_id is the unique ID of the group. */ - group_id?: string; - /** address is the account address of the group member. */ - address?: string; -} -export interface EventLeaveGroupAminoMsg { - type: "cosmos-sdk/EventLeaveGroup"; - value: EventLeaveGroupAmino; -} -/** EventLeaveGroup is an event emitted when group member leaves the group. */ -export interface EventLeaveGroupSDKType { - group_id: bigint; - address: string; -} -export declare const EventCreateGroup: { - typeUrl: string; - aminoType: string; - is(o: any): o is EventCreateGroup; - isSDK(o: any): o is EventCreateGroupSDKType; - isAmino(o: any): o is EventCreateGroupAmino; - encode(message: EventCreateGroup, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EventCreateGroup; - fromJSON(object: any): EventCreateGroup; - toJSON(message: EventCreateGroup): unknown; - fromPartial(object: DeepPartial): EventCreateGroup; - fromSDK(object: EventCreateGroupSDKType): EventCreateGroup; - toSDK(message: EventCreateGroup): EventCreateGroupSDKType; - fromAmino(object: EventCreateGroupAmino): EventCreateGroup; - toAmino(message: EventCreateGroup): EventCreateGroupAmino; - fromAminoMsg(object: EventCreateGroupAminoMsg): EventCreateGroup; - toAminoMsg(message: EventCreateGroup): EventCreateGroupAminoMsg; - fromProtoMsg(message: EventCreateGroupProtoMsg): EventCreateGroup; - toProto(message: EventCreateGroup): Uint8Array; - toProtoMsg(message: EventCreateGroup): EventCreateGroupProtoMsg; -}; -export declare const EventUpdateGroup: { - typeUrl: string; - aminoType: string; - is(o: any): o is EventUpdateGroup; - isSDK(o: any): o is EventUpdateGroupSDKType; - isAmino(o: any): o is EventUpdateGroupAmino; - encode(message: EventUpdateGroup, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EventUpdateGroup; - fromJSON(object: any): EventUpdateGroup; - toJSON(message: EventUpdateGroup): unknown; - fromPartial(object: DeepPartial): EventUpdateGroup; - fromSDK(object: EventUpdateGroupSDKType): EventUpdateGroup; - toSDK(message: EventUpdateGroup): EventUpdateGroupSDKType; - fromAmino(object: EventUpdateGroupAmino): EventUpdateGroup; - toAmino(message: EventUpdateGroup): EventUpdateGroupAmino; - fromAminoMsg(object: EventUpdateGroupAminoMsg): EventUpdateGroup; - toAminoMsg(message: EventUpdateGroup): EventUpdateGroupAminoMsg; - fromProtoMsg(message: EventUpdateGroupProtoMsg): EventUpdateGroup; - toProto(message: EventUpdateGroup): Uint8Array; - toProtoMsg(message: EventUpdateGroup): EventUpdateGroupProtoMsg; -}; -export declare const EventCreateGroupPolicy: { - typeUrl: string; - aminoType: string; - is(o: any): o is EventCreateGroupPolicy; - isSDK(o: any): o is EventCreateGroupPolicySDKType; - isAmino(o: any): o is EventCreateGroupPolicyAmino; - encode(message: EventCreateGroupPolicy, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EventCreateGroupPolicy; - fromJSON(object: any): EventCreateGroupPolicy; - toJSON(message: EventCreateGroupPolicy): unknown; - fromPartial(object: DeepPartial): EventCreateGroupPolicy; - fromSDK(object: EventCreateGroupPolicySDKType): EventCreateGroupPolicy; - toSDK(message: EventCreateGroupPolicy): EventCreateGroupPolicySDKType; - fromAmino(object: EventCreateGroupPolicyAmino): EventCreateGroupPolicy; - toAmino(message: EventCreateGroupPolicy): EventCreateGroupPolicyAmino; - fromAminoMsg(object: EventCreateGroupPolicyAminoMsg): EventCreateGroupPolicy; - toAminoMsg(message: EventCreateGroupPolicy): EventCreateGroupPolicyAminoMsg; - fromProtoMsg(message: EventCreateGroupPolicyProtoMsg): EventCreateGroupPolicy; - toProto(message: EventCreateGroupPolicy): Uint8Array; - toProtoMsg(message: EventCreateGroupPolicy): EventCreateGroupPolicyProtoMsg; -}; -export declare const EventUpdateGroupPolicy: { - typeUrl: string; - aminoType: string; - is(o: any): o is EventUpdateGroupPolicy; - isSDK(o: any): o is EventUpdateGroupPolicySDKType; - isAmino(o: any): o is EventUpdateGroupPolicyAmino; - encode(message: EventUpdateGroupPolicy, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EventUpdateGroupPolicy; - fromJSON(object: any): EventUpdateGroupPolicy; - toJSON(message: EventUpdateGroupPolicy): unknown; - fromPartial(object: DeepPartial): EventUpdateGroupPolicy; - fromSDK(object: EventUpdateGroupPolicySDKType): EventUpdateGroupPolicy; - toSDK(message: EventUpdateGroupPolicy): EventUpdateGroupPolicySDKType; - fromAmino(object: EventUpdateGroupPolicyAmino): EventUpdateGroupPolicy; - toAmino(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyAmino; - fromAminoMsg(object: EventUpdateGroupPolicyAminoMsg): EventUpdateGroupPolicy; - toAminoMsg(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyAminoMsg; - fromProtoMsg(message: EventUpdateGroupPolicyProtoMsg): EventUpdateGroupPolicy; - toProto(message: EventUpdateGroupPolicy): Uint8Array; - toProtoMsg(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyProtoMsg; -}; -export declare const EventSubmitProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is EventSubmitProposal; - isSDK(o: any): o is EventSubmitProposalSDKType; - isAmino(o: any): o is EventSubmitProposalAmino; - encode(message: EventSubmitProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EventSubmitProposal; - fromJSON(object: any): EventSubmitProposal; - toJSON(message: EventSubmitProposal): unknown; - fromPartial(object: DeepPartial): EventSubmitProposal; - fromSDK(object: EventSubmitProposalSDKType): EventSubmitProposal; - toSDK(message: EventSubmitProposal): EventSubmitProposalSDKType; - fromAmino(object: EventSubmitProposalAmino): EventSubmitProposal; - toAmino(message: EventSubmitProposal): EventSubmitProposalAmino; - fromAminoMsg(object: EventSubmitProposalAminoMsg): EventSubmitProposal; - toAminoMsg(message: EventSubmitProposal): EventSubmitProposalAminoMsg; - fromProtoMsg(message: EventSubmitProposalProtoMsg): EventSubmitProposal; - toProto(message: EventSubmitProposal): Uint8Array; - toProtoMsg(message: EventSubmitProposal): EventSubmitProposalProtoMsg; -}; -export declare const EventWithdrawProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is EventWithdrawProposal; - isSDK(o: any): o is EventWithdrawProposalSDKType; - isAmino(o: any): o is EventWithdrawProposalAmino; - encode(message: EventWithdrawProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EventWithdrawProposal; - fromJSON(object: any): EventWithdrawProposal; - toJSON(message: EventWithdrawProposal): unknown; - fromPartial(object: DeepPartial): EventWithdrawProposal; - fromSDK(object: EventWithdrawProposalSDKType): EventWithdrawProposal; - toSDK(message: EventWithdrawProposal): EventWithdrawProposalSDKType; - fromAmino(object: EventWithdrawProposalAmino): EventWithdrawProposal; - toAmino(message: EventWithdrawProposal): EventWithdrawProposalAmino; - fromAminoMsg(object: EventWithdrawProposalAminoMsg): EventWithdrawProposal; - toAminoMsg(message: EventWithdrawProposal): EventWithdrawProposalAminoMsg; - fromProtoMsg(message: EventWithdrawProposalProtoMsg): EventWithdrawProposal; - toProto(message: EventWithdrawProposal): Uint8Array; - toProtoMsg(message: EventWithdrawProposal): EventWithdrawProposalProtoMsg; -}; -export declare const EventVote: { - typeUrl: string; - aminoType: string; - is(o: any): o is EventVote; - isSDK(o: any): o is EventVoteSDKType; - isAmino(o: any): o is EventVoteAmino; - encode(message: EventVote, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EventVote; - fromJSON(object: any): EventVote; - toJSON(message: EventVote): unknown; - fromPartial(object: DeepPartial): EventVote; - fromSDK(object: EventVoteSDKType): EventVote; - toSDK(message: EventVote): EventVoteSDKType; - fromAmino(object: EventVoteAmino): EventVote; - toAmino(message: EventVote): EventVoteAmino; - fromAminoMsg(object: EventVoteAminoMsg): EventVote; - toAminoMsg(message: EventVote): EventVoteAminoMsg; - fromProtoMsg(message: EventVoteProtoMsg): EventVote; - toProto(message: EventVote): Uint8Array; - toProtoMsg(message: EventVote): EventVoteProtoMsg; -}; -export declare const EventExec: { - typeUrl: string; - aminoType: string; - is(o: any): o is EventExec; - isSDK(o: any): o is EventExecSDKType; - isAmino(o: any): o is EventExecAmino; - encode(message: EventExec, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EventExec; - fromJSON(object: any): EventExec; - toJSON(message: EventExec): unknown; - fromPartial(object: DeepPartial): EventExec; - fromSDK(object: EventExecSDKType): EventExec; - toSDK(message: EventExec): EventExecSDKType; - fromAmino(object: EventExecAmino): EventExec; - toAmino(message: EventExec): EventExecAmino; - fromAminoMsg(object: EventExecAminoMsg): EventExec; - toAminoMsg(message: EventExec): EventExecAminoMsg; - fromProtoMsg(message: EventExecProtoMsg): EventExec; - toProto(message: EventExec): Uint8Array; - toProtoMsg(message: EventExec): EventExecProtoMsg; -}; -export declare const EventLeaveGroup: { - typeUrl: string; - aminoType: string; - is(o: any): o is EventLeaveGroup; - isSDK(o: any): o is EventLeaveGroupSDKType; - isAmino(o: any): o is EventLeaveGroupAmino; - encode(message: EventLeaveGroup, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EventLeaveGroup; - fromJSON(object: any): EventLeaveGroup; - toJSON(message: EventLeaveGroup): unknown; - fromPartial(object: DeepPartial): EventLeaveGroup; - fromSDK(object: EventLeaveGroupSDKType): EventLeaveGroup; - toSDK(message: EventLeaveGroup): EventLeaveGroupSDKType; - fromAmino(object: EventLeaveGroupAmino): EventLeaveGroup; - toAmino(message: EventLeaveGroup): EventLeaveGroupAmino; - fromAminoMsg(object: EventLeaveGroupAminoMsg): EventLeaveGroup; - toAminoMsg(message: EventLeaveGroup): EventLeaveGroupAminoMsg; - fromProtoMsg(message: EventLeaveGroupProtoMsg): EventLeaveGroup; - toProto(message: EventLeaveGroup): Uint8Array; - toProtoMsg(message: EventLeaveGroup): EventLeaveGroupProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/group/v1/genesis.d.ts b/examples/authz/types/codegen/cosmos/group/v1/genesis.d.ts deleted file mode 100644 index 67d914ce..00000000 --- a/examples/authz/types/codegen/cosmos/group/v1/genesis.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { GroupInfo, GroupInfoAmino, GroupInfoSDKType, GroupMember, GroupMemberAmino, GroupMemberSDKType, GroupPolicyInfo, GroupPolicyInfoAmino, GroupPolicyInfoSDKType, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType } from "./types"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the group module's genesis state. */ -export interface GenesisState { - /** - * group_seq is the group table orm.Sequence, - * it is used to get the next group ID. - */ - groupSeq: bigint; - /** groups is the list of groups info. */ - groups: GroupInfo[]; - /** group_members is the list of groups members. */ - groupMembers: GroupMember[]; - /** - * group_policy_seq is the group policy table orm.Sequence, - * it is used to generate the next group policy account address. - */ - groupPolicySeq: bigint; - /** group_policies is the list of group policies info. */ - groupPolicies: GroupPolicyInfo[]; - /** - * proposal_seq is the proposal table orm.Sequence, - * it is used to get the next proposal ID. - */ - proposalSeq: bigint; - /** proposals is the list of proposals. */ - proposals: Proposal[]; - /** votes is the list of votes. */ - votes: Vote[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.group.v1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the group module's genesis state. */ -export interface GenesisStateAmino { - /** - * group_seq is the group table orm.Sequence, - * it is used to get the next group ID. - */ - group_seq?: string; - /** groups is the list of groups info. */ - groups?: GroupInfoAmino[]; - /** group_members is the list of groups members. */ - group_members?: GroupMemberAmino[]; - /** - * group_policy_seq is the group policy table orm.Sequence, - * it is used to generate the next group policy account address. - */ - group_policy_seq?: string; - /** group_policies is the list of group policies info. */ - group_policies?: GroupPolicyInfoAmino[]; - /** - * proposal_seq is the proposal table orm.Sequence, - * it is used to get the next proposal ID. - */ - proposal_seq?: string; - /** proposals is the list of proposals. */ - proposals?: ProposalAmino[]; - /** votes is the list of votes. */ - votes?: VoteAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the group module's genesis state. */ -export interface GenesisStateSDKType { - group_seq: bigint; - groups: GroupInfoSDKType[]; - group_members: GroupMemberSDKType[]; - group_policy_seq: bigint; - group_policies: GroupPolicyInfoSDKType[]; - proposal_seq: bigint; - proposals: ProposalSDKType[]; - votes: VoteSDKType[]; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/group/v1/query.d.ts b/examples/authz/types/codegen/cosmos/group/v1/query.d.ts deleted file mode 100644 index cc8126b9..00000000 --- a/examples/authz/types/codegen/cosmos/group/v1/query.d.ts +++ /dev/null @@ -1,1207 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { GroupInfo, GroupInfoAmino, GroupInfoSDKType, GroupPolicyInfo, GroupPolicyInfoAmino, GroupPolicyInfoSDKType, GroupMember, GroupMemberAmino, GroupMemberSDKType, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType, TallyResult, TallyResultAmino, TallyResultSDKType } from "./types"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ -export interface QueryGroupInfoRequest { - /** group_id is the unique ID of the group. */ - groupId: bigint; -} -export interface QueryGroupInfoRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupInfoRequest"; - value: Uint8Array; -} -/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ -export interface QueryGroupInfoRequestAmino { - /** group_id is the unique ID of the group. */ - group_id?: string; -} -export interface QueryGroupInfoRequestAminoMsg { - type: "cosmos-sdk/QueryGroupInfoRequest"; - value: QueryGroupInfoRequestAmino; -} -/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ -export interface QueryGroupInfoRequestSDKType { - group_id: bigint; -} -/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ -export interface QueryGroupInfoResponse { - /** info is the GroupInfo for the group. */ - info?: GroupInfo | undefined; -} -export interface QueryGroupInfoResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupInfoResponse"; - value: Uint8Array; -} -/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ -export interface QueryGroupInfoResponseAmino { - /** info is the GroupInfo for the group. */ - info?: GroupInfoAmino | undefined; -} -export interface QueryGroupInfoResponseAminoMsg { - type: "cosmos-sdk/QueryGroupInfoResponse"; - value: QueryGroupInfoResponseAmino; -} -/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ -export interface QueryGroupInfoResponseSDKType { - info?: GroupInfoSDKType | undefined; -} -/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ -export interface QueryGroupPolicyInfoRequest { - /** address is the account address of the group policy. */ - address: string; -} -export interface QueryGroupPolicyInfoRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoRequest"; - value: Uint8Array; -} -/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ -export interface QueryGroupPolicyInfoRequestAmino { - /** address is the account address of the group policy. */ - address?: string; -} -export interface QueryGroupPolicyInfoRequestAminoMsg { - type: "cosmos-sdk/QueryGroupPolicyInfoRequest"; - value: QueryGroupPolicyInfoRequestAmino; -} -/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ -export interface QueryGroupPolicyInfoRequestSDKType { - address: string; -} -/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ -export interface QueryGroupPolicyInfoResponse { - /** info is the GroupPolicyInfo for the group policy. */ - info?: GroupPolicyInfo | undefined; -} -export interface QueryGroupPolicyInfoResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoResponse"; - value: Uint8Array; -} -/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ -export interface QueryGroupPolicyInfoResponseAmino { - /** info is the GroupPolicyInfo for the group policy. */ - info?: GroupPolicyInfoAmino | undefined; -} -export interface QueryGroupPolicyInfoResponseAminoMsg { - type: "cosmos-sdk/QueryGroupPolicyInfoResponse"; - value: QueryGroupPolicyInfoResponseAmino; -} -/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ -export interface QueryGroupPolicyInfoResponseSDKType { - info?: GroupPolicyInfoSDKType | undefined; -} -/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ -export interface QueryGroupMembersRequest { - /** group_id is the unique ID of the group. */ - groupId: bigint; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryGroupMembersRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupMembersRequest"; - value: Uint8Array; -} -/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ -export interface QueryGroupMembersRequestAmino { - /** group_id is the unique ID of the group. */ - group_id?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryGroupMembersRequestAminoMsg { - type: "cosmos-sdk/QueryGroupMembersRequest"; - value: QueryGroupMembersRequestAmino; -} -/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ -export interface QueryGroupMembersRequestSDKType { - group_id: bigint; - pagination?: PageRequestSDKType | undefined; -} -/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ -export interface QueryGroupMembersResponse { - /** members are the members of the group with given group_id. */ - members: GroupMember[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryGroupMembersResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupMembersResponse"; - value: Uint8Array; -} -/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ -export interface QueryGroupMembersResponseAmino { - /** members are the members of the group with given group_id. */ - members?: GroupMemberAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryGroupMembersResponseAminoMsg { - type: "cosmos-sdk/QueryGroupMembersResponse"; - value: QueryGroupMembersResponseAmino; -} -/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ -export interface QueryGroupMembersResponseSDKType { - members: GroupMemberSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ -export interface QueryGroupsByAdminRequest { - /** admin is the account address of a group's admin. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryGroupsByAdminRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupsByAdminRequest"; - value: Uint8Array; -} -/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ -export interface QueryGroupsByAdminRequestAmino { - /** admin is the account address of a group's admin. */ - admin?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryGroupsByAdminRequestAminoMsg { - type: "cosmos-sdk/QueryGroupsByAdminRequest"; - value: QueryGroupsByAdminRequestAmino; -} -/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ -export interface QueryGroupsByAdminRequestSDKType { - admin: string; - pagination?: PageRequestSDKType | undefined; -} -/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ -export interface QueryGroupsByAdminResponse { - /** groups are the groups info with the provided admin. */ - groups: GroupInfo[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryGroupsByAdminResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupsByAdminResponse"; - value: Uint8Array; -} -/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ -export interface QueryGroupsByAdminResponseAmino { - /** groups are the groups info with the provided admin. */ - groups?: GroupInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryGroupsByAdminResponseAminoMsg { - type: "cosmos-sdk/QueryGroupsByAdminResponse"; - value: QueryGroupsByAdminResponseAmino; -} -/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ -export interface QueryGroupsByAdminResponseSDKType { - groups: GroupInfoSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ -export interface QueryGroupPoliciesByGroupRequest { - /** group_id is the unique ID of the group policy's group. */ - groupId: bigint; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryGroupPoliciesByGroupRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupRequest"; - value: Uint8Array; -} -/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ -export interface QueryGroupPoliciesByGroupRequestAmino { - /** group_id is the unique ID of the group policy's group. */ - group_id?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryGroupPoliciesByGroupRequestAminoMsg { - type: "cosmos-sdk/QueryGroupPoliciesByGroupRequest"; - value: QueryGroupPoliciesByGroupRequestAmino; -} -/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ -export interface QueryGroupPoliciesByGroupRequestSDKType { - group_id: bigint; - pagination?: PageRequestSDKType | undefined; -} -/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ -export interface QueryGroupPoliciesByGroupResponse { - /** group_policies are the group policies info associated with the provided group. */ - groupPolicies: GroupPolicyInfo[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryGroupPoliciesByGroupResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupResponse"; - value: Uint8Array; -} -/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ -export interface QueryGroupPoliciesByGroupResponseAmino { - /** group_policies are the group policies info associated with the provided group. */ - group_policies?: GroupPolicyInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryGroupPoliciesByGroupResponseAminoMsg { - type: "cosmos-sdk/QueryGroupPoliciesByGroupResponse"; - value: QueryGroupPoliciesByGroupResponseAmino; -} -/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ -export interface QueryGroupPoliciesByGroupResponseSDKType { - group_policies: GroupPolicyInfoSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ -export interface QueryGroupPoliciesByAdminRequest { - /** admin is the admin address of the group policy. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryGroupPoliciesByAdminRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminRequest"; - value: Uint8Array; -} -/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ -export interface QueryGroupPoliciesByAdminRequestAmino { - /** admin is the admin address of the group policy. */ - admin?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryGroupPoliciesByAdminRequestAminoMsg { - type: "cosmos-sdk/QueryGroupPoliciesByAdminRequest"; - value: QueryGroupPoliciesByAdminRequestAmino; -} -/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ -export interface QueryGroupPoliciesByAdminRequestSDKType { - admin: string; - pagination?: PageRequestSDKType | undefined; -} -/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ -export interface QueryGroupPoliciesByAdminResponse { - /** group_policies are the group policies info with provided admin. */ - groupPolicies: GroupPolicyInfo[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryGroupPoliciesByAdminResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminResponse"; - value: Uint8Array; -} -/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ -export interface QueryGroupPoliciesByAdminResponseAmino { - /** group_policies are the group policies info with provided admin. */ - group_policies?: GroupPolicyInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryGroupPoliciesByAdminResponseAminoMsg { - type: "cosmos-sdk/QueryGroupPoliciesByAdminResponse"; - value: QueryGroupPoliciesByAdminResponseAmino; -} -/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ -export interface QueryGroupPoliciesByAdminResponseSDKType { - group_policies: GroupPolicyInfoSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryProposalRequest is the Query/Proposal request type. */ -export interface QueryProposalRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: bigint; -} -export interface QueryProposalRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryProposalRequest"; - value: Uint8Array; -} -/** QueryProposalRequest is the Query/Proposal request type. */ -export interface QueryProposalRequestAmino { - /** proposal_id is the unique ID of a proposal. */ - proposal_id?: string; -} -export interface QueryProposalRequestAminoMsg { - type: "cosmos-sdk/QueryProposalRequest"; - value: QueryProposalRequestAmino; -} -/** QueryProposalRequest is the Query/Proposal request type. */ -export interface QueryProposalRequestSDKType { - proposal_id: bigint; -} -/** QueryProposalResponse is the Query/Proposal response type. */ -export interface QueryProposalResponse { - /** proposal is the proposal info. */ - proposal?: Proposal | undefined; -} -export interface QueryProposalResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryProposalResponse"; - value: Uint8Array; -} -/** QueryProposalResponse is the Query/Proposal response type. */ -export interface QueryProposalResponseAmino { - /** proposal is the proposal info. */ - proposal?: ProposalAmino | undefined; -} -export interface QueryProposalResponseAminoMsg { - type: "cosmos-sdk/QueryProposalResponse"; - value: QueryProposalResponseAmino; -} -/** QueryProposalResponse is the Query/Proposal response type. */ -export interface QueryProposalResponseSDKType { - proposal?: ProposalSDKType | undefined; -} -/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ -export interface QueryProposalsByGroupPolicyRequest { - /** address is the account address of the group policy related to proposals. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryProposalsByGroupPolicyRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyRequest"; - value: Uint8Array; -} -/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ -export interface QueryProposalsByGroupPolicyRequestAmino { - /** address is the account address of the group policy related to proposals. */ - address?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryProposalsByGroupPolicyRequestAminoMsg { - type: "cosmos-sdk/QueryProposalsByGroupPolicyRequest"; - value: QueryProposalsByGroupPolicyRequestAmino; -} -/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ -export interface QueryProposalsByGroupPolicyRequestSDKType { - address: string; - pagination?: PageRequestSDKType | undefined; -} -/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ -export interface QueryProposalsByGroupPolicyResponse { - /** proposals are the proposals with given group policy. */ - proposals: Proposal[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryProposalsByGroupPolicyResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyResponse"; - value: Uint8Array; -} -/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ -export interface QueryProposalsByGroupPolicyResponseAmino { - /** proposals are the proposals with given group policy. */ - proposals?: ProposalAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryProposalsByGroupPolicyResponseAminoMsg { - type: "cosmos-sdk/QueryProposalsByGroupPolicyResponse"; - value: QueryProposalsByGroupPolicyResponseAmino; -} -/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ -export interface QueryProposalsByGroupPolicyResponseSDKType { - proposals: ProposalSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ -export interface QueryVoteByProposalVoterRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: bigint; - /** voter is a proposal voter account address. */ - voter: string; -} -export interface QueryVoteByProposalVoterRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterRequest"; - value: Uint8Array; -} -/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ -export interface QueryVoteByProposalVoterRequestAmino { - /** proposal_id is the unique ID of a proposal. */ - proposal_id?: string; - /** voter is a proposal voter account address. */ - voter?: string; -} -export interface QueryVoteByProposalVoterRequestAminoMsg { - type: "cosmos-sdk/QueryVoteByProposalVoterRequest"; - value: QueryVoteByProposalVoterRequestAmino; -} -/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ -export interface QueryVoteByProposalVoterRequestSDKType { - proposal_id: bigint; - voter: string; -} -/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ -export interface QueryVoteByProposalVoterResponse { - /** vote is the vote with given proposal_id and voter. */ - vote?: Vote | undefined; -} -export interface QueryVoteByProposalVoterResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterResponse"; - value: Uint8Array; -} -/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ -export interface QueryVoteByProposalVoterResponseAmino { - /** vote is the vote with given proposal_id and voter. */ - vote?: VoteAmino | undefined; -} -export interface QueryVoteByProposalVoterResponseAminoMsg { - type: "cosmos-sdk/QueryVoteByProposalVoterResponse"; - value: QueryVoteByProposalVoterResponseAmino; -} -/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ -export interface QueryVoteByProposalVoterResponseSDKType { - vote?: VoteSDKType | undefined; -} -/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ -export interface QueryVotesByProposalRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: bigint; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryVotesByProposalRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVotesByProposalRequest"; - value: Uint8Array; -} -/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ -export interface QueryVotesByProposalRequestAmino { - /** proposal_id is the unique ID of a proposal. */ - proposal_id?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryVotesByProposalRequestAminoMsg { - type: "cosmos-sdk/QueryVotesByProposalRequest"; - value: QueryVotesByProposalRequestAmino; -} -/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ -export interface QueryVotesByProposalRequestSDKType { - proposal_id: bigint; - pagination?: PageRequestSDKType | undefined; -} -/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ -export interface QueryVotesByProposalResponse { - /** votes are the list of votes for given proposal_id. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryVotesByProposalResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVotesByProposalResponse"; - value: Uint8Array; -} -/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ -export interface QueryVotesByProposalResponseAmino { - /** votes are the list of votes for given proposal_id. */ - votes?: VoteAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryVotesByProposalResponseAminoMsg { - type: "cosmos-sdk/QueryVotesByProposalResponse"; - value: QueryVotesByProposalResponseAmino; -} -/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ -export interface QueryVotesByProposalResponseSDKType { - votes: VoteSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ -export interface QueryVotesByVoterRequest { - /** voter is a proposal voter account address. */ - voter: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryVotesByVoterRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVotesByVoterRequest"; - value: Uint8Array; -} -/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ -export interface QueryVotesByVoterRequestAmino { - /** voter is a proposal voter account address. */ - voter?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryVotesByVoterRequestAminoMsg { - type: "cosmos-sdk/QueryVotesByVoterRequest"; - value: QueryVotesByVoterRequestAmino; -} -/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ -export interface QueryVotesByVoterRequestSDKType { - voter: string; - pagination?: PageRequestSDKType | undefined; -} -/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ -export interface QueryVotesByVoterResponse { - /** votes are the list of votes by given voter. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryVotesByVoterResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVotesByVoterResponse"; - value: Uint8Array; -} -/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ -export interface QueryVotesByVoterResponseAmino { - /** votes are the list of votes by given voter. */ - votes?: VoteAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryVotesByVoterResponseAminoMsg { - type: "cosmos-sdk/QueryVotesByVoterResponse"; - value: QueryVotesByVoterResponseAmino; -} -/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ -export interface QueryVotesByVoterResponseSDKType { - votes: VoteSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ -export interface QueryGroupsByMemberRequest { - /** address is the group member address. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryGroupsByMemberRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupsByMemberRequest"; - value: Uint8Array; -} -/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ -export interface QueryGroupsByMemberRequestAmino { - /** address is the group member address. */ - address?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryGroupsByMemberRequestAminoMsg { - type: "cosmos-sdk/QueryGroupsByMemberRequest"; - value: QueryGroupsByMemberRequestAmino; -} -/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ -export interface QueryGroupsByMemberRequestSDKType { - address: string; - pagination?: PageRequestSDKType | undefined; -} -/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ -export interface QueryGroupsByMemberResponse { - /** groups are the groups info with the provided group member. */ - groups: GroupInfo[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryGroupsByMemberResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupsByMemberResponse"; - value: Uint8Array; -} -/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ -export interface QueryGroupsByMemberResponseAmino { - /** groups are the groups info with the provided group member. */ - groups?: GroupInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryGroupsByMemberResponseAminoMsg { - type: "cosmos-sdk/QueryGroupsByMemberResponse"; - value: QueryGroupsByMemberResponseAmino; -} -/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ -export interface QueryGroupsByMemberResponseSDKType { - groups: GroupInfoSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryTallyResultRequest is the Query/TallyResult request type. */ -export interface QueryTallyResultRequest { - /** proposal_id is the unique id of a proposal. */ - proposalId: bigint; -} -export interface QueryTallyResultRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryTallyResultRequest"; - value: Uint8Array; -} -/** QueryTallyResultRequest is the Query/TallyResult request type. */ -export interface QueryTallyResultRequestAmino { - /** proposal_id is the unique id of a proposal. */ - proposal_id?: string; -} -export interface QueryTallyResultRequestAminoMsg { - type: "cosmos-sdk/QueryTallyResultRequest"; - value: QueryTallyResultRequestAmino; -} -/** QueryTallyResultRequest is the Query/TallyResult request type. */ -export interface QueryTallyResultRequestSDKType { - proposal_id: bigint; -} -/** QueryTallyResultResponse is the Query/TallyResult response type. */ -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally: TallyResult | undefined; -} -export interface QueryTallyResultResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryTallyResultResponse"; - value: Uint8Array; -} -/** QueryTallyResultResponse is the Query/TallyResult response type. */ -export interface QueryTallyResultResponseAmino { - /** tally defines the requested tally. */ - tally?: TallyResultAmino | undefined; -} -export interface QueryTallyResultResponseAminoMsg { - type: "cosmos-sdk/QueryTallyResultResponse"; - value: QueryTallyResultResponseAmino; -} -/** QueryTallyResultResponse is the Query/TallyResult response type. */ -export interface QueryTallyResultResponseSDKType { - tally: TallyResultSDKType | undefined; -} -export declare const QueryGroupInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGroupInfoRequest; - isSDK(o: any): o is QueryGroupInfoRequestSDKType; - isAmino(o: any): o is QueryGroupInfoRequestAmino; - encode(message: QueryGroupInfoRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupInfoRequest; - fromJSON(object: any): QueryGroupInfoRequest; - toJSON(message: QueryGroupInfoRequest): unknown; - fromPartial(object: DeepPartial): QueryGroupInfoRequest; - fromSDK(object: QueryGroupInfoRequestSDKType): QueryGroupInfoRequest; - toSDK(message: QueryGroupInfoRequest): QueryGroupInfoRequestSDKType; - fromAmino(object: QueryGroupInfoRequestAmino): QueryGroupInfoRequest; - toAmino(message: QueryGroupInfoRequest): QueryGroupInfoRequestAmino; - fromAminoMsg(object: QueryGroupInfoRequestAminoMsg): QueryGroupInfoRequest; - toAminoMsg(message: QueryGroupInfoRequest): QueryGroupInfoRequestAminoMsg; - fromProtoMsg(message: QueryGroupInfoRequestProtoMsg): QueryGroupInfoRequest; - toProto(message: QueryGroupInfoRequest): Uint8Array; - toProtoMsg(message: QueryGroupInfoRequest): QueryGroupInfoRequestProtoMsg; -}; -export declare const QueryGroupInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGroupInfoResponse; - isSDK(o: any): o is QueryGroupInfoResponseSDKType; - isAmino(o: any): o is QueryGroupInfoResponseAmino; - encode(message: QueryGroupInfoResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupInfoResponse; - fromJSON(object: any): QueryGroupInfoResponse; - toJSON(message: QueryGroupInfoResponse): unknown; - fromPartial(object: DeepPartial): QueryGroupInfoResponse; - fromSDK(object: QueryGroupInfoResponseSDKType): QueryGroupInfoResponse; - toSDK(message: QueryGroupInfoResponse): QueryGroupInfoResponseSDKType; - fromAmino(object: QueryGroupInfoResponseAmino): QueryGroupInfoResponse; - toAmino(message: QueryGroupInfoResponse): QueryGroupInfoResponseAmino; - fromAminoMsg(object: QueryGroupInfoResponseAminoMsg): QueryGroupInfoResponse; - toAminoMsg(message: QueryGroupInfoResponse): QueryGroupInfoResponseAminoMsg; - fromProtoMsg(message: QueryGroupInfoResponseProtoMsg): QueryGroupInfoResponse; - toProto(message: QueryGroupInfoResponse): Uint8Array; - toProtoMsg(message: QueryGroupInfoResponse): QueryGroupInfoResponseProtoMsg; -}; -export declare const QueryGroupPolicyInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGroupPolicyInfoRequest; - isSDK(o: any): o is QueryGroupPolicyInfoRequestSDKType; - isAmino(o: any): o is QueryGroupPolicyInfoRequestAmino; - encode(message: QueryGroupPolicyInfoRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupPolicyInfoRequest; - fromJSON(object: any): QueryGroupPolicyInfoRequest; - toJSON(message: QueryGroupPolicyInfoRequest): unknown; - fromPartial(object: DeepPartial): QueryGroupPolicyInfoRequest; - fromSDK(object: QueryGroupPolicyInfoRequestSDKType): QueryGroupPolicyInfoRequest; - toSDK(message: QueryGroupPolicyInfoRequest): QueryGroupPolicyInfoRequestSDKType; - fromAmino(object: QueryGroupPolicyInfoRequestAmino): QueryGroupPolicyInfoRequest; - toAmino(message: QueryGroupPolicyInfoRequest): QueryGroupPolicyInfoRequestAmino; - fromAminoMsg(object: QueryGroupPolicyInfoRequestAminoMsg): QueryGroupPolicyInfoRequest; - toAminoMsg(message: QueryGroupPolicyInfoRequest): QueryGroupPolicyInfoRequestAminoMsg; - fromProtoMsg(message: QueryGroupPolicyInfoRequestProtoMsg): QueryGroupPolicyInfoRequest; - toProto(message: QueryGroupPolicyInfoRequest): Uint8Array; - toProtoMsg(message: QueryGroupPolicyInfoRequest): QueryGroupPolicyInfoRequestProtoMsg; -}; -export declare const QueryGroupPolicyInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGroupPolicyInfoResponse; - isSDK(o: any): o is QueryGroupPolicyInfoResponseSDKType; - isAmino(o: any): o is QueryGroupPolicyInfoResponseAmino; - encode(message: QueryGroupPolicyInfoResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupPolicyInfoResponse; - fromJSON(object: any): QueryGroupPolicyInfoResponse; - toJSON(message: QueryGroupPolicyInfoResponse): unknown; - fromPartial(object: DeepPartial): QueryGroupPolicyInfoResponse; - fromSDK(object: QueryGroupPolicyInfoResponseSDKType): QueryGroupPolicyInfoResponse; - toSDK(message: QueryGroupPolicyInfoResponse): QueryGroupPolicyInfoResponseSDKType; - fromAmino(object: QueryGroupPolicyInfoResponseAmino): QueryGroupPolicyInfoResponse; - toAmino(message: QueryGroupPolicyInfoResponse): QueryGroupPolicyInfoResponseAmino; - fromAminoMsg(object: QueryGroupPolicyInfoResponseAminoMsg): QueryGroupPolicyInfoResponse; - toAminoMsg(message: QueryGroupPolicyInfoResponse): QueryGroupPolicyInfoResponseAminoMsg; - fromProtoMsg(message: QueryGroupPolicyInfoResponseProtoMsg): QueryGroupPolicyInfoResponse; - toProto(message: QueryGroupPolicyInfoResponse): Uint8Array; - toProtoMsg(message: QueryGroupPolicyInfoResponse): QueryGroupPolicyInfoResponseProtoMsg; -}; -export declare const QueryGroupMembersRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGroupMembersRequest; - isSDK(o: any): o is QueryGroupMembersRequestSDKType; - isAmino(o: any): o is QueryGroupMembersRequestAmino; - encode(message: QueryGroupMembersRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupMembersRequest; - fromJSON(object: any): QueryGroupMembersRequest; - toJSON(message: QueryGroupMembersRequest): unknown; - fromPartial(object: DeepPartial): QueryGroupMembersRequest; - fromSDK(object: QueryGroupMembersRequestSDKType): QueryGroupMembersRequest; - toSDK(message: QueryGroupMembersRequest): QueryGroupMembersRequestSDKType; - fromAmino(object: QueryGroupMembersRequestAmino): QueryGroupMembersRequest; - toAmino(message: QueryGroupMembersRequest): QueryGroupMembersRequestAmino; - fromAminoMsg(object: QueryGroupMembersRequestAminoMsg): QueryGroupMembersRequest; - toAminoMsg(message: QueryGroupMembersRequest): QueryGroupMembersRequestAminoMsg; - fromProtoMsg(message: QueryGroupMembersRequestProtoMsg): QueryGroupMembersRequest; - toProto(message: QueryGroupMembersRequest): Uint8Array; - toProtoMsg(message: QueryGroupMembersRequest): QueryGroupMembersRequestProtoMsg; -}; -export declare const QueryGroupMembersResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGroupMembersResponse; - isSDK(o: any): o is QueryGroupMembersResponseSDKType; - isAmino(o: any): o is QueryGroupMembersResponseAmino; - encode(message: QueryGroupMembersResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupMembersResponse; - fromJSON(object: any): QueryGroupMembersResponse; - toJSON(message: QueryGroupMembersResponse): unknown; - fromPartial(object: DeepPartial): QueryGroupMembersResponse; - fromSDK(object: QueryGroupMembersResponseSDKType): QueryGroupMembersResponse; - toSDK(message: QueryGroupMembersResponse): QueryGroupMembersResponseSDKType; - fromAmino(object: QueryGroupMembersResponseAmino): QueryGroupMembersResponse; - toAmino(message: QueryGroupMembersResponse): QueryGroupMembersResponseAmino; - fromAminoMsg(object: QueryGroupMembersResponseAminoMsg): QueryGroupMembersResponse; - toAminoMsg(message: QueryGroupMembersResponse): QueryGroupMembersResponseAminoMsg; - fromProtoMsg(message: QueryGroupMembersResponseProtoMsg): QueryGroupMembersResponse; - toProto(message: QueryGroupMembersResponse): Uint8Array; - toProtoMsg(message: QueryGroupMembersResponse): QueryGroupMembersResponseProtoMsg; -}; -export declare const QueryGroupsByAdminRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGroupsByAdminRequest; - isSDK(o: any): o is QueryGroupsByAdminRequestSDKType; - isAmino(o: any): o is QueryGroupsByAdminRequestAmino; - encode(message: QueryGroupsByAdminRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupsByAdminRequest; - fromJSON(object: any): QueryGroupsByAdminRequest; - toJSON(message: QueryGroupsByAdminRequest): unknown; - fromPartial(object: DeepPartial): QueryGroupsByAdminRequest; - fromSDK(object: QueryGroupsByAdminRequestSDKType): QueryGroupsByAdminRequest; - toSDK(message: QueryGroupsByAdminRequest): QueryGroupsByAdminRequestSDKType; - fromAmino(object: QueryGroupsByAdminRequestAmino): QueryGroupsByAdminRequest; - toAmino(message: QueryGroupsByAdminRequest): QueryGroupsByAdminRequestAmino; - fromAminoMsg(object: QueryGroupsByAdminRequestAminoMsg): QueryGroupsByAdminRequest; - toAminoMsg(message: QueryGroupsByAdminRequest): QueryGroupsByAdminRequestAminoMsg; - fromProtoMsg(message: QueryGroupsByAdminRequestProtoMsg): QueryGroupsByAdminRequest; - toProto(message: QueryGroupsByAdminRequest): Uint8Array; - toProtoMsg(message: QueryGroupsByAdminRequest): QueryGroupsByAdminRequestProtoMsg; -}; -export declare const QueryGroupsByAdminResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGroupsByAdminResponse; - isSDK(o: any): o is QueryGroupsByAdminResponseSDKType; - isAmino(o: any): o is QueryGroupsByAdminResponseAmino; - encode(message: QueryGroupsByAdminResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupsByAdminResponse; - fromJSON(object: any): QueryGroupsByAdminResponse; - toJSON(message: QueryGroupsByAdminResponse): unknown; - fromPartial(object: DeepPartial): QueryGroupsByAdminResponse; - fromSDK(object: QueryGroupsByAdminResponseSDKType): QueryGroupsByAdminResponse; - toSDK(message: QueryGroupsByAdminResponse): QueryGroupsByAdminResponseSDKType; - fromAmino(object: QueryGroupsByAdminResponseAmino): QueryGroupsByAdminResponse; - toAmino(message: QueryGroupsByAdminResponse): QueryGroupsByAdminResponseAmino; - fromAminoMsg(object: QueryGroupsByAdminResponseAminoMsg): QueryGroupsByAdminResponse; - toAminoMsg(message: QueryGroupsByAdminResponse): QueryGroupsByAdminResponseAminoMsg; - fromProtoMsg(message: QueryGroupsByAdminResponseProtoMsg): QueryGroupsByAdminResponse; - toProto(message: QueryGroupsByAdminResponse): Uint8Array; - toProtoMsg(message: QueryGroupsByAdminResponse): QueryGroupsByAdminResponseProtoMsg; -}; -export declare const QueryGroupPoliciesByGroupRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGroupPoliciesByGroupRequest; - isSDK(o: any): o is QueryGroupPoliciesByGroupRequestSDKType; - isAmino(o: any): o is QueryGroupPoliciesByGroupRequestAmino; - encode(message: QueryGroupPoliciesByGroupRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupPoliciesByGroupRequest; - fromJSON(object: any): QueryGroupPoliciesByGroupRequest; - toJSON(message: QueryGroupPoliciesByGroupRequest): unknown; - fromPartial(object: DeepPartial): QueryGroupPoliciesByGroupRequest; - fromSDK(object: QueryGroupPoliciesByGroupRequestSDKType): QueryGroupPoliciesByGroupRequest; - toSDK(message: QueryGroupPoliciesByGroupRequest): QueryGroupPoliciesByGroupRequestSDKType; - fromAmino(object: QueryGroupPoliciesByGroupRequestAmino): QueryGroupPoliciesByGroupRequest; - toAmino(message: QueryGroupPoliciesByGroupRequest): QueryGroupPoliciesByGroupRequestAmino; - fromAminoMsg(object: QueryGroupPoliciesByGroupRequestAminoMsg): QueryGroupPoliciesByGroupRequest; - toAminoMsg(message: QueryGroupPoliciesByGroupRequest): QueryGroupPoliciesByGroupRequestAminoMsg; - fromProtoMsg(message: QueryGroupPoliciesByGroupRequestProtoMsg): QueryGroupPoliciesByGroupRequest; - toProto(message: QueryGroupPoliciesByGroupRequest): Uint8Array; - toProtoMsg(message: QueryGroupPoliciesByGroupRequest): QueryGroupPoliciesByGroupRequestProtoMsg; -}; -export declare const QueryGroupPoliciesByGroupResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGroupPoliciesByGroupResponse; - isSDK(o: any): o is QueryGroupPoliciesByGroupResponseSDKType; - isAmino(o: any): o is QueryGroupPoliciesByGroupResponseAmino; - encode(message: QueryGroupPoliciesByGroupResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponse; - fromJSON(object: any): QueryGroupPoliciesByGroupResponse; - toJSON(message: QueryGroupPoliciesByGroupResponse): unknown; - fromPartial(object: DeepPartial): QueryGroupPoliciesByGroupResponse; - fromSDK(object: QueryGroupPoliciesByGroupResponseSDKType): QueryGroupPoliciesByGroupResponse; - toSDK(message: QueryGroupPoliciesByGroupResponse): QueryGroupPoliciesByGroupResponseSDKType; - fromAmino(object: QueryGroupPoliciesByGroupResponseAmino): QueryGroupPoliciesByGroupResponse; - toAmino(message: QueryGroupPoliciesByGroupResponse): QueryGroupPoliciesByGroupResponseAmino; - fromAminoMsg(object: QueryGroupPoliciesByGroupResponseAminoMsg): QueryGroupPoliciesByGroupResponse; - toAminoMsg(message: QueryGroupPoliciesByGroupResponse): QueryGroupPoliciesByGroupResponseAminoMsg; - fromProtoMsg(message: QueryGroupPoliciesByGroupResponseProtoMsg): QueryGroupPoliciesByGroupResponse; - toProto(message: QueryGroupPoliciesByGroupResponse): Uint8Array; - toProtoMsg(message: QueryGroupPoliciesByGroupResponse): QueryGroupPoliciesByGroupResponseProtoMsg; -}; -export declare const QueryGroupPoliciesByAdminRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGroupPoliciesByAdminRequest; - isSDK(o: any): o is QueryGroupPoliciesByAdminRequestSDKType; - isAmino(o: any): o is QueryGroupPoliciesByAdminRequestAmino; - encode(message: QueryGroupPoliciesByAdminRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupPoliciesByAdminRequest; - fromJSON(object: any): QueryGroupPoliciesByAdminRequest; - toJSON(message: QueryGroupPoliciesByAdminRequest): unknown; - fromPartial(object: DeepPartial): QueryGroupPoliciesByAdminRequest; - fromSDK(object: QueryGroupPoliciesByAdminRequestSDKType): QueryGroupPoliciesByAdminRequest; - toSDK(message: QueryGroupPoliciesByAdminRequest): QueryGroupPoliciesByAdminRequestSDKType; - fromAmino(object: QueryGroupPoliciesByAdminRequestAmino): QueryGroupPoliciesByAdminRequest; - toAmino(message: QueryGroupPoliciesByAdminRequest): QueryGroupPoliciesByAdminRequestAmino; - fromAminoMsg(object: QueryGroupPoliciesByAdminRequestAminoMsg): QueryGroupPoliciesByAdminRequest; - toAminoMsg(message: QueryGroupPoliciesByAdminRequest): QueryGroupPoliciesByAdminRequestAminoMsg; - fromProtoMsg(message: QueryGroupPoliciesByAdminRequestProtoMsg): QueryGroupPoliciesByAdminRequest; - toProto(message: QueryGroupPoliciesByAdminRequest): Uint8Array; - toProtoMsg(message: QueryGroupPoliciesByAdminRequest): QueryGroupPoliciesByAdminRequestProtoMsg; -}; -export declare const QueryGroupPoliciesByAdminResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGroupPoliciesByAdminResponse; - isSDK(o: any): o is QueryGroupPoliciesByAdminResponseSDKType; - isAmino(o: any): o is QueryGroupPoliciesByAdminResponseAmino; - encode(message: QueryGroupPoliciesByAdminResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponse; - fromJSON(object: any): QueryGroupPoliciesByAdminResponse; - toJSON(message: QueryGroupPoliciesByAdminResponse): unknown; - fromPartial(object: DeepPartial): QueryGroupPoliciesByAdminResponse; - fromSDK(object: QueryGroupPoliciesByAdminResponseSDKType): QueryGroupPoliciesByAdminResponse; - toSDK(message: QueryGroupPoliciesByAdminResponse): QueryGroupPoliciesByAdminResponseSDKType; - fromAmino(object: QueryGroupPoliciesByAdminResponseAmino): QueryGroupPoliciesByAdminResponse; - toAmino(message: QueryGroupPoliciesByAdminResponse): QueryGroupPoliciesByAdminResponseAmino; - fromAminoMsg(object: QueryGroupPoliciesByAdminResponseAminoMsg): QueryGroupPoliciesByAdminResponse; - toAminoMsg(message: QueryGroupPoliciesByAdminResponse): QueryGroupPoliciesByAdminResponseAminoMsg; - fromProtoMsg(message: QueryGroupPoliciesByAdminResponseProtoMsg): QueryGroupPoliciesByAdminResponse; - toProto(message: QueryGroupPoliciesByAdminResponse): Uint8Array; - toProtoMsg(message: QueryGroupPoliciesByAdminResponse): QueryGroupPoliciesByAdminResponseProtoMsg; -}; -export declare const QueryProposalRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryProposalRequest; - isSDK(o: any): o is QueryProposalRequestSDKType; - isAmino(o: any): o is QueryProposalRequestAmino; - encode(message: QueryProposalRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalRequest; - fromJSON(object: any): QueryProposalRequest; - toJSON(message: QueryProposalRequest): unknown; - fromPartial(object: DeepPartial): QueryProposalRequest; - fromSDK(object: QueryProposalRequestSDKType): QueryProposalRequest; - toSDK(message: QueryProposalRequest): QueryProposalRequestSDKType; - fromAmino(object: QueryProposalRequestAmino): QueryProposalRequest; - toAmino(message: QueryProposalRequest): QueryProposalRequestAmino; - fromAminoMsg(object: QueryProposalRequestAminoMsg): QueryProposalRequest; - toAminoMsg(message: QueryProposalRequest): QueryProposalRequestAminoMsg; - fromProtoMsg(message: QueryProposalRequestProtoMsg): QueryProposalRequest; - toProto(message: QueryProposalRequest): Uint8Array; - toProtoMsg(message: QueryProposalRequest): QueryProposalRequestProtoMsg; -}; -export declare const QueryProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryProposalResponse; - isSDK(o: any): o is QueryProposalResponseSDKType; - isAmino(o: any): o is QueryProposalResponseAmino; - encode(message: QueryProposalResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalResponse; - fromJSON(object: any): QueryProposalResponse; - toJSON(message: QueryProposalResponse): unknown; - fromPartial(object: DeepPartial): QueryProposalResponse; - fromSDK(object: QueryProposalResponseSDKType): QueryProposalResponse; - toSDK(message: QueryProposalResponse): QueryProposalResponseSDKType; - fromAmino(object: QueryProposalResponseAmino): QueryProposalResponse; - toAmino(message: QueryProposalResponse): QueryProposalResponseAmino; - fromAminoMsg(object: QueryProposalResponseAminoMsg): QueryProposalResponse; - toAminoMsg(message: QueryProposalResponse): QueryProposalResponseAminoMsg; - fromProtoMsg(message: QueryProposalResponseProtoMsg): QueryProposalResponse; - toProto(message: QueryProposalResponse): Uint8Array; - toProtoMsg(message: QueryProposalResponse): QueryProposalResponseProtoMsg; -}; -export declare const QueryProposalsByGroupPolicyRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryProposalsByGroupPolicyRequest; - isSDK(o: any): o is QueryProposalsByGroupPolicyRequestSDKType; - isAmino(o: any): o is QueryProposalsByGroupPolicyRequestAmino; - encode(message: QueryProposalsByGroupPolicyRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalsByGroupPolicyRequest; - fromJSON(object: any): QueryProposalsByGroupPolicyRequest; - toJSON(message: QueryProposalsByGroupPolicyRequest): unknown; - fromPartial(object: DeepPartial): QueryProposalsByGroupPolicyRequest; - fromSDK(object: QueryProposalsByGroupPolicyRequestSDKType): QueryProposalsByGroupPolicyRequest; - toSDK(message: QueryProposalsByGroupPolicyRequest): QueryProposalsByGroupPolicyRequestSDKType; - fromAmino(object: QueryProposalsByGroupPolicyRequestAmino): QueryProposalsByGroupPolicyRequest; - toAmino(message: QueryProposalsByGroupPolicyRequest): QueryProposalsByGroupPolicyRequestAmino; - fromAminoMsg(object: QueryProposalsByGroupPolicyRequestAminoMsg): QueryProposalsByGroupPolicyRequest; - toAminoMsg(message: QueryProposalsByGroupPolicyRequest): QueryProposalsByGroupPolicyRequestAminoMsg; - fromProtoMsg(message: QueryProposalsByGroupPolicyRequestProtoMsg): QueryProposalsByGroupPolicyRequest; - toProto(message: QueryProposalsByGroupPolicyRequest): Uint8Array; - toProtoMsg(message: QueryProposalsByGroupPolicyRequest): QueryProposalsByGroupPolicyRequestProtoMsg; -}; -export declare const QueryProposalsByGroupPolicyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryProposalsByGroupPolicyResponse; - isSDK(o: any): o is QueryProposalsByGroupPolicyResponseSDKType; - isAmino(o: any): o is QueryProposalsByGroupPolicyResponseAmino; - encode(message: QueryProposalsByGroupPolicyResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponse; - fromJSON(object: any): QueryProposalsByGroupPolicyResponse; - toJSON(message: QueryProposalsByGroupPolicyResponse): unknown; - fromPartial(object: DeepPartial): QueryProposalsByGroupPolicyResponse; - fromSDK(object: QueryProposalsByGroupPolicyResponseSDKType): QueryProposalsByGroupPolicyResponse; - toSDK(message: QueryProposalsByGroupPolicyResponse): QueryProposalsByGroupPolicyResponseSDKType; - fromAmino(object: QueryProposalsByGroupPolicyResponseAmino): QueryProposalsByGroupPolicyResponse; - toAmino(message: QueryProposalsByGroupPolicyResponse): QueryProposalsByGroupPolicyResponseAmino; - fromAminoMsg(object: QueryProposalsByGroupPolicyResponseAminoMsg): QueryProposalsByGroupPolicyResponse; - toAminoMsg(message: QueryProposalsByGroupPolicyResponse): QueryProposalsByGroupPolicyResponseAminoMsg; - fromProtoMsg(message: QueryProposalsByGroupPolicyResponseProtoMsg): QueryProposalsByGroupPolicyResponse; - toProto(message: QueryProposalsByGroupPolicyResponse): Uint8Array; - toProtoMsg(message: QueryProposalsByGroupPolicyResponse): QueryProposalsByGroupPolicyResponseProtoMsg; -}; -export declare const QueryVoteByProposalVoterRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryVoteByProposalVoterRequest; - isSDK(o: any): o is QueryVoteByProposalVoterRequestSDKType; - isAmino(o: any): o is QueryVoteByProposalVoterRequestAmino; - encode(message: QueryVoteByProposalVoterRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteByProposalVoterRequest; - fromJSON(object: any): QueryVoteByProposalVoterRequest; - toJSON(message: QueryVoteByProposalVoterRequest): unknown; - fromPartial(object: DeepPartial): QueryVoteByProposalVoterRequest; - fromSDK(object: QueryVoteByProposalVoterRequestSDKType): QueryVoteByProposalVoterRequest; - toSDK(message: QueryVoteByProposalVoterRequest): QueryVoteByProposalVoterRequestSDKType; - fromAmino(object: QueryVoteByProposalVoterRequestAmino): QueryVoteByProposalVoterRequest; - toAmino(message: QueryVoteByProposalVoterRequest): QueryVoteByProposalVoterRequestAmino; - fromAminoMsg(object: QueryVoteByProposalVoterRequestAminoMsg): QueryVoteByProposalVoterRequest; - toAminoMsg(message: QueryVoteByProposalVoterRequest): QueryVoteByProposalVoterRequestAminoMsg; - fromProtoMsg(message: QueryVoteByProposalVoterRequestProtoMsg): QueryVoteByProposalVoterRequest; - toProto(message: QueryVoteByProposalVoterRequest): Uint8Array; - toProtoMsg(message: QueryVoteByProposalVoterRequest): QueryVoteByProposalVoterRequestProtoMsg; -}; -export declare const QueryVoteByProposalVoterResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryVoteByProposalVoterResponse; - isSDK(o: any): o is QueryVoteByProposalVoterResponseSDKType; - isAmino(o: any): o is QueryVoteByProposalVoterResponseAmino; - encode(message: QueryVoteByProposalVoterResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryVoteByProposalVoterResponse; - fromJSON(object: any): QueryVoteByProposalVoterResponse; - toJSON(message: QueryVoteByProposalVoterResponse): unknown; - fromPartial(object: DeepPartial): QueryVoteByProposalVoterResponse; - fromSDK(object: QueryVoteByProposalVoterResponseSDKType): QueryVoteByProposalVoterResponse; - toSDK(message: QueryVoteByProposalVoterResponse): QueryVoteByProposalVoterResponseSDKType; - fromAmino(object: QueryVoteByProposalVoterResponseAmino): QueryVoteByProposalVoterResponse; - toAmino(message: QueryVoteByProposalVoterResponse): QueryVoteByProposalVoterResponseAmino; - fromAminoMsg(object: QueryVoteByProposalVoterResponseAminoMsg): QueryVoteByProposalVoterResponse; - toAminoMsg(message: QueryVoteByProposalVoterResponse): QueryVoteByProposalVoterResponseAminoMsg; - fromProtoMsg(message: QueryVoteByProposalVoterResponseProtoMsg): QueryVoteByProposalVoterResponse; - toProto(message: QueryVoteByProposalVoterResponse): Uint8Array; - toProtoMsg(message: QueryVoteByProposalVoterResponse): QueryVoteByProposalVoterResponseProtoMsg; -}; -export declare const QueryVotesByProposalRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryVotesByProposalRequest; - isSDK(o: any): o is QueryVotesByProposalRequestSDKType; - isAmino(o: any): o is QueryVotesByProposalRequestAmino; - encode(message: QueryVotesByProposalRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesByProposalRequest; - fromJSON(object: any): QueryVotesByProposalRequest; - toJSON(message: QueryVotesByProposalRequest): unknown; - fromPartial(object: DeepPartial): QueryVotesByProposalRequest; - fromSDK(object: QueryVotesByProposalRequestSDKType): QueryVotesByProposalRequest; - toSDK(message: QueryVotesByProposalRequest): QueryVotesByProposalRequestSDKType; - fromAmino(object: QueryVotesByProposalRequestAmino): QueryVotesByProposalRequest; - toAmino(message: QueryVotesByProposalRequest): QueryVotesByProposalRequestAmino; - fromAminoMsg(object: QueryVotesByProposalRequestAminoMsg): QueryVotesByProposalRequest; - toAminoMsg(message: QueryVotesByProposalRequest): QueryVotesByProposalRequestAminoMsg; - fromProtoMsg(message: QueryVotesByProposalRequestProtoMsg): QueryVotesByProposalRequest; - toProto(message: QueryVotesByProposalRequest): Uint8Array; - toProtoMsg(message: QueryVotesByProposalRequest): QueryVotesByProposalRequestProtoMsg; -}; -export declare const QueryVotesByProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryVotesByProposalResponse; - isSDK(o: any): o is QueryVotesByProposalResponseSDKType; - isAmino(o: any): o is QueryVotesByProposalResponseAmino; - encode(message: QueryVotesByProposalResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesByProposalResponse; - fromJSON(object: any): QueryVotesByProposalResponse; - toJSON(message: QueryVotesByProposalResponse): unknown; - fromPartial(object: DeepPartial): QueryVotesByProposalResponse; - fromSDK(object: QueryVotesByProposalResponseSDKType): QueryVotesByProposalResponse; - toSDK(message: QueryVotesByProposalResponse): QueryVotesByProposalResponseSDKType; - fromAmino(object: QueryVotesByProposalResponseAmino): QueryVotesByProposalResponse; - toAmino(message: QueryVotesByProposalResponse): QueryVotesByProposalResponseAmino; - fromAminoMsg(object: QueryVotesByProposalResponseAminoMsg): QueryVotesByProposalResponse; - toAminoMsg(message: QueryVotesByProposalResponse): QueryVotesByProposalResponseAminoMsg; - fromProtoMsg(message: QueryVotesByProposalResponseProtoMsg): QueryVotesByProposalResponse; - toProto(message: QueryVotesByProposalResponse): Uint8Array; - toProtoMsg(message: QueryVotesByProposalResponse): QueryVotesByProposalResponseProtoMsg; -}; -export declare const QueryVotesByVoterRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryVotesByVoterRequest; - isSDK(o: any): o is QueryVotesByVoterRequestSDKType; - isAmino(o: any): o is QueryVotesByVoterRequestAmino; - encode(message: QueryVotesByVoterRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesByVoterRequest; - fromJSON(object: any): QueryVotesByVoterRequest; - toJSON(message: QueryVotesByVoterRequest): unknown; - fromPartial(object: DeepPartial): QueryVotesByVoterRequest; - fromSDK(object: QueryVotesByVoterRequestSDKType): QueryVotesByVoterRequest; - toSDK(message: QueryVotesByVoterRequest): QueryVotesByVoterRequestSDKType; - fromAmino(object: QueryVotesByVoterRequestAmino): QueryVotesByVoterRequest; - toAmino(message: QueryVotesByVoterRequest): QueryVotesByVoterRequestAmino; - fromAminoMsg(object: QueryVotesByVoterRequestAminoMsg): QueryVotesByVoterRequest; - toAminoMsg(message: QueryVotesByVoterRequest): QueryVotesByVoterRequestAminoMsg; - fromProtoMsg(message: QueryVotesByVoterRequestProtoMsg): QueryVotesByVoterRequest; - toProto(message: QueryVotesByVoterRequest): Uint8Array; - toProtoMsg(message: QueryVotesByVoterRequest): QueryVotesByVoterRequestProtoMsg; -}; -export declare const QueryVotesByVoterResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryVotesByVoterResponse; - isSDK(o: any): o is QueryVotesByVoterResponseSDKType; - isAmino(o: any): o is QueryVotesByVoterResponseAmino; - encode(message: QueryVotesByVoterResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryVotesByVoterResponse; - fromJSON(object: any): QueryVotesByVoterResponse; - toJSON(message: QueryVotesByVoterResponse): unknown; - fromPartial(object: DeepPartial): QueryVotesByVoterResponse; - fromSDK(object: QueryVotesByVoterResponseSDKType): QueryVotesByVoterResponse; - toSDK(message: QueryVotesByVoterResponse): QueryVotesByVoterResponseSDKType; - fromAmino(object: QueryVotesByVoterResponseAmino): QueryVotesByVoterResponse; - toAmino(message: QueryVotesByVoterResponse): QueryVotesByVoterResponseAmino; - fromAminoMsg(object: QueryVotesByVoterResponseAminoMsg): QueryVotesByVoterResponse; - toAminoMsg(message: QueryVotesByVoterResponse): QueryVotesByVoterResponseAminoMsg; - fromProtoMsg(message: QueryVotesByVoterResponseProtoMsg): QueryVotesByVoterResponse; - toProto(message: QueryVotesByVoterResponse): Uint8Array; - toProtoMsg(message: QueryVotesByVoterResponse): QueryVotesByVoterResponseProtoMsg; -}; -export declare const QueryGroupsByMemberRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGroupsByMemberRequest; - isSDK(o: any): o is QueryGroupsByMemberRequestSDKType; - isAmino(o: any): o is QueryGroupsByMemberRequestAmino; - encode(message: QueryGroupsByMemberRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupsByMemberRequest; - fromJSON(object: any): QueryGroupsByMemberRequest; - toJSON(message: QueryGroupsByMemberRequest): unknown; - fromPartial(object: DeepPartial): QueryGroupsByMemberRequest; - fromSDK(object: QueryGroupsByMemberRequestSDKType): QueryGroupsByMemberRequest; - toSDK(message: QueryGroupsByMemberRequest): QueryGroupsByMemberRequestSDKType; - fromAmino(object: QueryGroupsByMemberRequestAmino): QueryGroupsByMemberRequest; - toAmino(message: QueryGroupsByMemberRequest): QueryGroupsByMemberRequestAmino; - fromAminoMsg(object: QueryGroupsByMemberRequestAminoMsg): QueryGroupsByMemberRequest; - toAminoMsg(message: QueryGroupsByMemberRequest): QueryGroupsByMemberRequestAminoMsg; - fromProtoMsg(message: QueryGroupsByMemberRequestProtoMsg): QueryGroupsByMemberRequest; - toProto(message: QueryGroupsByMemberRequest): Uint8Array; - toProtoMsg(message: QueryGroupsByMemberRequest): QueryGroupsByMemberRequestProtoMsg; -}; -export declare const QueryGroupsByMemberResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGroupsByMemberResponse; - isSDK(o: any): o is QueryGroupsByMemberResponseSDKType; - isAmino(o: any): o is QueryGroupsByMemberResponseAmino; - encode(message: QueryGroupsByMemberResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGroupsByMemberResponse; - fromJSON(object: any): QueryGroupsByMemberResponse; - toJSON(message: QueryGroupsByMemberResponse): unknown; - fromPartial(object: DeepPartial): QueryGroupsByMemberResponse; - fromSDK(object: QueryGroupsByMemberResponseSDKType): QueryGroupsByMemberResponse; - toSDK(message: QueryGroupsByMemberResponse): QueryGroupsByMemberResponseSDKType; - fromAmino(object: QueryGroupsByMemberResponseAmino): QueryGroupsByMemberResponse; - toAmino(message: QueryGroupsByMemberResponse): QueryGroupsByMemberResponseAmino; - fromAminoMsg(object: QueryGroupsByMemberResponseAminoMsg): QueryGroupsByMemberResponse; - toAminoMsg(message: QueryGroupsByMemberResponse): QueryGroupsByMemberResponseAminoMsg; - fromProtoMsg(message: QueryGroupsByMemberResponseProtoMsg): QueryGroupsByMemberResponse; - toProto(message: QueryGroupsByMemberResponse): Uint8Array; - toProtoMsg(message: QueryGroupsByMemberResponse): QueryGroupsByMemberResponseProtoMsg; -}; -export declare const QueryTallyResultRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryTallyResultRequest; - isSDK(o: any): o is QueryTallyResultRequestSDKType; - isAmino(o: any): o is QueryTallyResultRequestAmino; - encode(message: QueryTallyResultRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryTallyResultRequest; - fromJSON(object: any): QueryTallyResultRequest; - toJSON(message: QueryTallyResultRequest): unknown; - fromPartial(object: DeepPartial): QueryTallyResultRequest; - fromSDK(object: QueryTallyResultRequestSDKType): QueryTallyResultRequest; - toSDK(message: QueryTallyResultRequest): QueryTallyResultRequestSDKType; - fromAmino(object: QueryTallyResultRequestAmino): QueryTallyResultRequest; - toAmino(message: QueryTallyResultRequest): QueryTallyResultRequestAmino; - fromAminoMsg(object: QueryTallyResultRequestAminoMsg): QueryTallyResultRequest; - toAminoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestAminoMsg; - fromProtoMsg(message: QueryTallyResultRequestProtoMsg): QueryTallyResultRequest; - toProto(message: QueryTallyResultRequest): Uint8Array; - toProtoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestProtoMsg; -}; -export declare const QueryTallyResultResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryTallyResultResponse; - isSDK(o: any): o is QueryTallyResultResponseSDKType; - isAmino(o: any): o is QueryTallyResultResponseAmino; - encode(message: QueryTallyResultResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryTallyResultResponse; - fromJSON(object: any): QueryTallyResultResponse; - toJSON(message: QueryTallyResultResponse): unknown; - fromPartial(object: DeepPartial): QueryTallyResultResponse; - fromSDK(object: QueryTallyResultResponseSDKType): QueryTallyResultResponse; - toSDK(message: QueryTallyResultResponse): QueryTallyResultResponseSDKType; - fromAmino(object: QueryTallyResultResponseAmino): QueryTallyResultResponse; - toAmino(message: QueryTallyResultResponse): QueryTallyResultResponseAmino; - fromAminoMsg(object: QueryTallyResultResponseAminoMsg): QueryTallyResultResponse; - toAminoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseAminoMsg; - fromProtoMsg(message: QueryTallyResultResponseProtoMsg): QueryTallyResultResponse; - toProto(message: QueryTallyResultResponse): Uint8Array; - toProtoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/group/v1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/group/v1/query.rpc.Query.d.ts deleted file mode 100644 index 4b2d13d0..00000000 --- a/examples/authz/types/codegen/cosmos/group/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,186 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryGroupInfoRequest, QueryGroupInfoResponse, QueryGroupPolicyInfoRequest, QueryGroupPolicyInfoResponse, QueryGroupMembersRequest, QueryGroupMembersResponse, QueryGroupsByAdminRequest, QueryGroupsByAdminResponse, QueryGroupPoliciesByGroupRequest, QueryGroupPoliciesByGroupResponse, QueryGroupPoliciesByAdminRequest, QueryGroupPoliciesByAdminResponse, QueryProposalRequest, QueryProposalResponse, QueryProposalsByGroupPolicyRequest, QueryProposalsByGroupPolicyResponse, QueryVoteByProposalVoterRequest, QueryVoteByProposalVoterResponse, QueryVotesByProposalRequest, QueryVotesByProposalResponse, QueryVotesByVoterRequest, QueryVotesByVoterResponse, QueryGroupsByMemberRequest, QueryGroupsByMemberResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; -/** Query is the cosmos.group.v1 Query service. */ -export interface Query { - /** GroupInfo queries group info based on group id. */ - groupInfo(request: QueryGroupInfoRequest): Promise; - /** GroupPolicyInfo queries group policy info based on account address of group policy. */ - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise; - /** GroupMembers queries members of a group */ - groupMembers(request: QueryGroupMembersRequest): Promise; - /** GroupsByAdmin queries groups by admin address. */ - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; - /** GroupPoliciesByGroup queries group policies by group id. */ - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; - /** GroupsByAdmin queries group policies by admin address. */ - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; - /** Proposal queries a proposal based on proposal id. */ - proposal(request: QueryProposalRequest): Promise; - /** ProposalsByGroupPolicy queries proposals based on account address of group policy. */ - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise; - /** VoteByProposalVoter queries a vote by proposal id and voter. */ - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise; - /** VotesByProposal queries a vote by proposal. */ - votesByProposal(request: QueryVotesByProposalRequest): Promise; - /** VotesByVoter queries a vote by voter. */ - votesByVoter(request: QueryVotesByVoterRequest): Promise; - /** GroupsByMember queries groups by member address. */ - groupsByMember(request: QueryGroupsByMemberRequest): Promise; - /** TallyResult queries the tally of a proposal votes. */ - tallyResult(request: QueryTallyResultRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - groupInfo: (request: QueryGroupInfoRequest) => Promise; - groupPolicyInfo: (request: QueryGroupPolicyInfoRequest) => Promise; - groupMembers: (request: QueryGroupMembersRequest) => Promise; - groupsByAdmin: (request: QueryGroupsByAdminRequest) => Promise; - groupPoliciesByGroup: (request: QueryGroupPoliciesByGroupRequest) => Promise; - groupPoliciesByAdmin: (request: QueryGroupPoliciesByAdminRequest) => Promise; - proposal: (request: QueryProposalRequest) => Promise; - proposalsByGroupPolicy: (request: QueryProposalsByGroupPolicyRequest) => Promise; - voteByProposalVoter: (request: QueryVoteByProposalVoterRequest) => Promise; - votesByProposal: (request: QueryVotesByProposalRequest) => Promise; - votesByVoter: (request: QueryVotesByVoterRequest) => Promise; - groupsByMember: (request: QueryGroupsByMemberRequest) => Promise; - tallyResult: (request: QueryTallyResultRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseGroupInfoQuery extends ReactQueryParams { - request: QueryGroupInfoRequest; -} -export interface UseGroupPolicyInfoQuery extends ReactQueryParams { - request: QueryGroupPolicyInfoRequest; -} -export interface UseGroupMembersQuery extends ReactQueryParams { - request: QueryGroupMembersRequest; -} -export interface UseGroupsByAdminQuery extends ReactQueryParams { - request: QueryGroupsByAdminRequest; -} -export interface UseGroupPoliciesByGroupQuery extends ReactQueryParams { - request: QueryGroupPoliciesByGroupRequest; -} -export interface UseGroupPoliciesByAdminQuery extends ReactQueryParams { - request: QueryGroupPoliciesByAdminRequest; -} -export interface UseProposalQuery extends ReactQueryParams { - request: QueryProposalRequest; -} -export interface UseProposalsByGroupPolicyQuery extends ReactQueryParams { - request: QueryProposalsByGroupPolicyRequest; -} -export interface UseVoteByProposalVoterQuery extends ReactQueryParams { - request: QueryVoteByProposalVoterRequest; -} -export interface UseVotesByProposalQuery extends ReactQueryParams { - request: QueryVotesByProposalRequest; -} -export interface UseVotesByVoterQuery extends ReactQueryParams { - request: QueryVotesByVoterRequest; -} -export interface UseGroupsByMemberQuery extends ReactQueryParams { - request: QueryGroupsByMemberRequest; -} -export interface UseTallyResultQuery extends ReactQueryParams { - request: QueryTallyResultRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** GroupInfo queries group info based on group id. */ useGroupInfo: ({ request, options }: UseGroupInfoQuery) => import("@tanstack/react-query").UseQueryResult; - /** GroupPolicyInfo queries group policy info based on account address of group policy. */ useGroupPolicyInfo: ({ request, options }: UseGroupPolicyInfoQuery) => import("@tanstack/react-query").UseQueryResult; - /** GroupMembers queries members of a group */ useGroupMembers: ({ request, options }: UseGroupMembersQuery) => import("@tanstack/react-query").UseQueryResult; - /** GroupsByAdmin queries groups by admin address. */ useGroupsByAdmin: ({ request, options }: UseGroupsByAdminQuery) => import("@tanstack/react-query").UseQueryResult; - /** GroupPoliciesByGroup queries group policies by group id. */ useGroupPoliciesByGroup: ({ request, options }: UseGroupPoliciesByGroupQuery) => import("@tanstack/react-query").UseQueryResult; - /** GroupsByAdmin queries group policies by admin address. */ useGroupPoliciesByAdmin: ({ request, options }: UseGroupPoliciesByAdminQuery) => import("@tanstack/react-query").UseQueryResult; - /** Proposal queries a proposal based on proposal id. */ useProposal: ({ request, options }: UseProposalQuery) => import("@tanstack/react-query").UseQueryResult; - /** ProposalsByGroupPolicy queries proposals based on account address of group policy. */ useProposalsByGroupPolicy: ({ request, options }: UseProposalsByGroupPolicyQuery) => import("@tanstack/react-query").UseQueryResult; - /** VoteByProposalVoter queries a vote by proposal id and voter. */ useVoteByProposalVoter: ({ request, options }: UseVoteByProposalVoterQuery) => import("@tanstack/react-query").UseQueryResult; - /** VotesByProposal queries a vote by proposal. */ useVotesByProposal: ({ request, options }: UseVotesByProposalQuery) => import("@tanstack/react-query").UseQueryResult; - /** VotesByVoter queries a vote by voter. */ useVotesByVoter: ({ request, options }: UseVotesByVoterQuery) => import("@tanstack/react-query").UseQueryResult; - /** GroupsByMember queries groups by member address. */ useGroupsByMember: ({ request, options }: UseGroupsByMemberQuery) => import("@tanstack/react-query").UseQueryResult; - /** TallyResult queries the tally of a proposal votes. */ useTallyResult: ({ request, options }: UseTallyResultQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** GroupInfo queries group info based on group id. */ QueryGroupInfoStore: { - new (): { - store: QueryStore; - groupInfo(request: QueryGroupInfoRequest): import("../../../mobx").MobxResponse; - }; - }; - /** GroupPolicyInfo queries group policy info based on account address of group policy. */ QueryGroupPolicyInfoStore: { - new (): { - store: QueryStore; - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): import("../../../mobx").MobxResponse; - }; - }; - /** GroupMembers queries members of a group */ QueryGroupMembersStore: { - new (): { - store: QueryStore; - groupMembers(request: QueryGroupMembersRequest): import("../../../mobx").MobxResponse; - }; - }; - /** GroupsByAdmin queries groups by admin address. */ QueryGroupsByAdminStore: { - new (): { - store: QueryStore; - groupsByAdmin(request: QueryGroupsByAdminRequest): import("../../../mobx").MobxResponse; - }; - }; - /** GroupPoliciesByGroup queries group policies by group id. */ QueryGroupPoliciesByGroupStore: { - new (): { - store: QueryStore; - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): import("../../../mobx").MobxResponse; - }; - }; - /** GroupsByAdmin queries group policies by admin address. */ QueryGroupPoliciesByAdminStore: { - new (): { - store: QueryStore; - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Proposal queries a proposal based on proposal id. */ QueryProposalStore: { - new (): { - store: QueryStore; - proposal(request: QueryProposalRequest): import("../../../mobx").MobxResponse; - }; - }; - /** ProposalsByGroupPolicy queries proposals based on account address of group policy. */ QueryProposalsByGroupPolicyStore: { - new (): { - store: QueryStore; - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): import("../../../mobx").MobxResponse; - }; - }; - /** VoteByProposalVoter queries a vote by proposal id and voter. */ QueryVoteByProposalVoterStore: { - new (): { - store: QueryStore; - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): import("../../../mobx").MobxResponse; - }; - }; - /** VotesByProposal queries a vote by proposal. */ QueryVotesByProposalStore: { - new (): { - store: QueryStore; - votesByProposal(request: QueryVotesByProposalRequest): import("../../../mobx").MobxResponse; - }; - }; - /** VotesByVoter queries a vote by voter. */ QueryVotesByVoterStore: { - new (): { - store: QueryStore; - votesByVoter(request: QueryVotesByVoterRequest): import("../../../mobx").MobxResponse; - }; - }; - /** GroupsByMember queries groups by member address. */ QueryGroupsByMemberStore: { - new (): { - store: QueryStore; - groupsByMember(request: QueryGroupsByMemberRequest): import("../../../mobx").MobxResponse; - }; - }; - /** TallyResult queries the tally of a proposal votes. */ QueryTallyResultStore: { - new (): { - store: QueryStore; - tallyResult(request: QueryTallyResultRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/group/v1/tx.amino.d.ts b/examples/authz/types/codegen/cosmos/group/v1/tx.amino.d.ts deleted file mode 100644 index 49116292..00000000 --- a/examples/authz/types/codegen/cosmos/group/v1/tx.amino.d.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; -export declare const AminoConverter: { - "/cosmos.group.v1.MsgCreateGroup": { - aminoType: string; - toAmino: (message: MsgCreateGroup) => import("./tx").MsgCreateGroupAmino; - fromAmino: (object: import("./tx").MsgCreateGroupAmino) => MsgCreateGroup; - }; - "/cosmos.group.v1.MsgUpdateGroupMembers": { - aminoType: string; - toAmino: (message: MsgUpdateGroupMembers) => import("./tx").MsgUpdateGroupMembersAmino; - fromAmino: (object: import("./tx").MsgUpdateGroupMembersAmino) => MsgUpdateGroupMembers; - }; - "/cosmos.group.v1.MsgUpdateGroupAdmin": { - aminoType: string; - toAmino: (message: MsgUpdateGroupAdmin) => import("./tx").MsgUpdateGroupAdminAmino; - fromAmino: (object: import("./tx").MsgUpdateGroupAdminAmino) => MsgUpdateGroupAdmin; - }; - "/cosmos.group.v1.MsgUpdateGroupMetadata": { - aminoType: string; - toAmino: (message: MsgUpdateGroupMetadata) => import("./tx").MsgUpdateGroupMetadataAmino; - fromAmino: (object: import("./tx").MsgUpdateGroupMetadataAmino) => MsgUpdateGroupMetadata; - }; - "/cosmos.group.v1.MsgCreateGroupPolicy": { - aminoType: string; - toAmino: (message: MsgCreateGroupPolicy) => import("./tx").MsgCreateGroupPolicyAmino; - fromAmino: (object: import("./tx").MsgCreateGroupPolicyAmino) => MsgCreateGroupPolicy; - }; - "/cosmos.group.v1.MsgCreateGroupWithPolicy": { - aminoType: string; - toAmino: (message: MsgCreateGroupWithPolicy) => import("./tx").MsgCreateGroupWithPolicyAmino; - fromAmino: (object: import("./tx").MsgCreateGroupWithPolicyAmino) => MsgCreateGroupWithPolicy; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin": { - aminoType: string; - toAmino: (message: MsgUpdateGroupPolicyAdmin) => import("./tx").MsgUpdateGroupPolicyAdminAmino; - fromAmino: (object: import("./tx").MsgUpdateGroupPolicyAdminAmino) => MsgUpdateGroupPolicyAdmin; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy": { - aminoType: string; - toAmino: (message: MsgUpdateGroupPolicyDecisionPolicy) => import("./tx").MsgUpdateGroupPolicyDecisionPolicyAmino; - fromAmino: (object: import("./tx").MsgUpdateGroupPolicyDecisionPolicyAmino) => MsgUpdateGroupPolicyDecisionPolicy; - }; - "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata": { - aminoType: string; - toAmino: (message: MsgUpdateGroupPolicyMetadata) => import("./tx").MsgUpdateGroupPolicyMetadataAmino; - fromAmino: (object: import("./tx").MsgUpdateGroupPolicyMetadataAmino) => MsgUpdateGroupPolicyMetadata; - }; - "/cosmos.group.v1.MsgSubmitProposal": { - aminoType: string; - toAmino: (message: MsgSubmitProposal) => import("./tx").MsgSubmitProposalAmino; - fromAmino: (object: import("./tx").MsgSubmitProposalAmino) => MsgSubmitProposal; - }; - "/cosmos.group.v1.MsgWithdrawProposal": { - aminoType: string; - toAmino: (message: MsgWithdrawProposal) => import("./tx").MsgWithdrawProposalAmino; - fromAmino: (object: import("./tx").MsgWithdrawProposalAmino) => MsgWithdrawProposal; - }; - "/cosmos.group.v1.MsgVote": { - aminoType: string; - toAmino: (message: MsgVote) => import("./tx").MsgVoteAmino; - fromAmino: (object: import("./tx").MsgVoteAmino) => MsgVote; - }; - "/cosmos.group.v1.MsgExec": { - aminoType: string; - toAmino: (message: MsgExec) => import("./tx").MsgExecAmino; - fromAmino: (object: import("./tx").MsgExecAmino) => MsgExec; - }; - "/cosmos.group.v1.MsgLeaveGroup": { - aminoType: string; - toAmino: (message: MsgLeaveGroup) => import("./tx").MsgLeaveGroupAmino; - fromAmino: (object: import("./tx").MsgLeaveGroupAmino) => MsgLeaveGroup; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/group/v1/tx.d.ts b/examples/authz/types/codegen/cosmos/group/v1/tx.d.ts deleted file mode 100644 index 3bb1f32d..00000000 --- a/examples/authz/types/codegen/cosmos/group/v1/tx.d.ts +++ /dev/null @@ -1,1383 +0,0 @@ -import { Member, MemberAmino, MemberSDKType, VoteOption, ThresholdDecisionPolicy, ThresholdDecisionPolicyProtoMsg, ThresholdDecisionPolicySDKType, PercentageDecisionPolicy, PercentageDecisionPolicyProtoMsg, PercentageDecisionPolicySDKType } from "./types"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** Exec defines modes of execution of a proposal on creation or on new vote. */ -export declare enum Exec { - /** - * EXEC_UNSPECIFIED - An empty value means that there should be a separate - * MsgExec request for the proposal to execute. - */ - EXEC_UNSPECIFIED = 0, - /** - * EXEC_TRY - Try to execute the proposal immediately. - * If the proposal is not allowed per the DecisionPolicy, - * the proposal will still be open and could - * be executed at a later point. - */ - EXEC_TRY = 1, - UNRECOGNIZED = -1 -} -export declare const ExecSDKType: typeof Exec; -export declare const ExecAmino: typeof Exec; -export declare function execFromJSON(object: any): Exec; -export declare function execToJSON(object: Exec): string; -/** MsgCreateGroup is the Msg/CreateGroup request type. */ -export interface MsgCreateGroup { - /** admin is the account address of the group admin. */ - admin: string; - /** members defines the group members. */ - members: Member[]; - /** metadata is any arbitrary metadata to attached to the group. */ - metadata: string; -} -export interface MsgCreateGroupProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroup"; - value: Uint8Array; -} -/** MsgCreateGroup is the Msg/CreateGroup request type. */ -export interface MsgCreateGroupAmino { - /** admin is the account address of the group admin. */ - admin?: string; - /** members defines the group members. */ - members?: MemberAmino[]; - /** metadata is any arbitrary metadata to attached to the group. */ - metadata?: string; -} -export interface MsgCreateGroupAminoMsg { - type: "cosmos-sdk/MsgCreateGroup"; - value: MsgCreateGroupAmino; -} -/** MsgCreateGroup is the Msg/CreateGroup request type. */ -export interface MsgCreateGroupSDKType { - admin: string; - members: MemberSDKType[]; - metadata: string; -} -/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */ -export interface MsgCreateGroupResponse { - /** group_id is the unique ID of the newly created group. */ - groupId: bigint; -} -export interface MsgCreateGroupResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroupResponse"; - value: Uint8Array; -} -/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */ -export interface MsgCreateGroupResponseAmino { - /** group_id is the unique ID of the newly created group. */ - group_id?: string; -} -export interface MsgCreateGroupResponseAminoMsg { - type: "cosmos-sdk/MsgCreateGroupResponse"; - value: MsgCreateGroupResponseAmino; -} -/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */ -export interface MsgCreateGroupResponseSDKType { - group_id: bigint; -} -/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */ -export interface MsgUpdateGroupMembers { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - groupId: bigint; - /** - * member_updates is the list of members to update, - * set weight to 0 to remove a member. - */ - memberUpdates: Member[]; -} -export interface MsgUpdateGroupMembersProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers"; - value: Uint8Array; -} -/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */ -export interface MsgUpdateGroupMembersAmino { - /** admin is the account address of the group admin. */ - admin?: string; - /** group_id is the unique ID of the group. */ - group_id?: string; - /** - * member_updates is the list of members to update, - * set weight to 0 to remove a member. - */ - member_updates?: MemberAmino[]; -} -export interface MsgUpdateGroupMembersAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupMembers"; - value: MsgUpdateGroupMembersAmino; -} -/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */ -export interface MsgUpdateGroupMembersSDKType { - admin: string; - group_id: bigint; - member_updates: MemberSDKType[]; -} -/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ -export interface MsgUpdateGroupMembersResponse { -} -export interface MsgUpdateGroupMembersResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembersResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ -export interface MsgUpdateGroupMembersResponseAmino { -} -export interface MsgUpdateGroupMembersResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupMembersResponse"; - value: MsgUpdateGroupMembersResponseAmino; -} -/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ -export interface MsgUpdateGroupMembersResponseSDKType { -} -/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */ -export interface MsgUpdateGroupAdmin { - /** admin is the current account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - groupId: bigint; - /** new_admin is the group new admin account address. */ - newAdmin: string; -} -export interface MsgUpdateGroupAdminProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin"; - value: Uint8Array; -} -/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */ -export interface MsgUpdateGroupAdminAmino { - /** admin is the current account address of the group admin. */ - admin?: string; - /** group_id is the unique ID of the group. */ - group_id?: string; - /** new_admin is the group new admin account address. */ - new_admin?: string; -} -export interface MsgUpdateGroupAdminAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupAdmin"; - value: MsgUpdateGroupAdminAmino; -} -/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */ -export interface MsgUpdateGroupAdminSDKType { - admin: string; - group_id: bigint; - new_admin: string; -} -/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ -export interface MsgUpdateGroupAdminResponse { -} -export interface MsgUpdateGroupAdminResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdminResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ -export interface MsgUpdateGroupAdminResponseAmino { -} -export interface MsgUpdateGroupAdminResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupAdminResponse"; - value: MsgUpdateGroupAdminResponseAmino; -} -/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ -export interface MsgUpdateGroupAdminResponseSDKType { -} -/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */ -export interface MsgUpdateGroupMetadata { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - groupId: bigint; - /** metadata is the updated group's metadata. */ - metadata: string; -} -export interface MsgUpdateGroupMetadataProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata"; - value: Uint8Array; -} -/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */ -export interface MsgUpdateGroupMetadataAmino { - /** admin is the account address of the group admin. */ - admin?: string; - /** group_id is the unique ID of the group. */ - group_id?: string; - /** metadata is the updated group's metadata. */ - metadata?: string; -} -export interface MsgUpdateGroupMetadataAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupMetadata"; - value: MsgUpdateGroupMetadataAmino; -} -/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */ -export interface MsgUpdateGroupMetadataSDKType { - admin: string; - group_id: bigint; - metadata: string; -} -/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ -export interface MsgUpdateGroupMetadataResponse { -} -export interface MsgUpdateGroupMetadataResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadataResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ -export interface MsgUpdateGroupMetadataResponseAmino { -} -export interface MsgUpdateGroupMetadataResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupMetadataResponse"; - value: MsgUpdateGroupMetadataResponseAmino; -} -/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ -export interface MsgUpdateGroupMetadataResponseSDKType { -} -/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ -export interface MsgCreateGroupPolicy { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - groupId: bigint; - /** metadata is any arbitrary metadata attached to the group policy. */ - metadata: string; - /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined; -} -export interface MsgCreateGroupPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy"; - value: Uint8Array; -} -export type MsgCreateGroupPolicyEncoded = Omit & { - /** decision_policy specifies the group policy's decision policy. */ decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined; -}; -/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ -export interface MsgCreateGroupPolicyAmino { - /** admin is the account address of the group admin. */ - admin?: string; - /** group_id is the unique ID of the group. */ - group_id?: string; - /** metadata is any arbitrary metadata attached to the group policy. */ - metadata?: string; - /** decision_policy specifies the group policy's decision policy. */ - decision_policy?: AnyAmino | undefined; -} -export interface MsgCreateGroupPolicyAminoMsg { - type: "cosmos-sdk/MsgCreateGroupPolicy"; - value: MsgCreateGroupPolicyAmino; -} -/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ -export interface MsgCreateGroupPolicySDKType { - admin: string; - group_id: bigint; - metadata: string; - decision_policy?: ThresholdDecisionPolicySDKType | PercentageDecisionPolicySDKType | AnySDKType | undefined; -} -/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ -export interface MsgCreateGroupPolicyResponse { - /** address is the account address of the newly created group policy. */ - address: string; -} -export interface MsgCreateGroupPolicyResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicyResponse"; - value: Uint8Array; -} -/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ -export interface MsgCreateGroupPolicyResponseAmino { - /** address is the account address of the newly created group policy. */ - address?: string; -} -export interface MsgCreateGroupPolicyResponseAminoMsg { - type: "cosmos-sdk/MsgCreateGroupPolicyResponse"; - value: MsgCreateGroupPolicyResponseAmino; -} -/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ -export interface MsgCreateGroupPolicyResponseSDKType { - address: string; -} -/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ -export interface MsgUpdateGroupPolicyAdmin { - /** admin is the account address of the group admin. */ - admin: string; - /** address is the account address of the group policy. */ - address: string; - /** new_admin is the new group policy admin. */ - newAdmin: string; -} -export interface MsgUpdateGroupPolicyAdminProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin"; - value: Uint8Array; -} -/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ -export interface MsgUpdateGroupPolicyAdminAmino { - /** admin is the account address of the group admin. */ - admin?: string; - /** address is the account address of the group policy. */ - address?: string; - /** new_admin is the new group policy admin. */ - new_admin?: string; -} -export interface MsgUpdateGroupPolicyAdminAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyAdmin"; - value: MsgUpdateGroupPolicyAdminAmino; -} -/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ -export interface MsgUpdateGroupPolicyAdminSDKType { - admin: string; - address: string; - new_admin: string; -} -/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ -export interface MsgCreateGroupWithPolicy { - /** admin is the account address of the group and group policy admin. */ - admin: string; - /** members defines the group members. */ - members: Member[]; - /** group_metadata is any arbitrary metadata attached to the group. */ - groupMetadata: string; - /** group_policy_metadata is any arbitrary metadata attached to the group policy. */ - groupPolicyMetadata: string; - /** group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group and group policy admin. */ - groupPolicyAsAdmin: boolean; - /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined; -} -export interface MsgCreateGroupWithPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy"; - value: Uint8Array; -} -export type MsgCreateGroupWithPolicyEncoded = Omit & { - /** decision_policy specifies the group policy's decision policy. */ decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined; -}; -/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ -export interface MsgCreateGroupWithPolicyAmino { - /** admin is the account address of the group and group policy admin. */ - admin?: string; - /** members defines the group members. */ - members?: MemberAmino[]; - /** group_metadata is any arbitrary metadata attached to the group. */ - group_metadata?: string; - /** group_policy_metadata is any arbitrary metadata attached to the group policy. */ - group_policy_metadata?: string; - /** group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group and group policy admin. */ - group_policy_as_admin?: boolean; - /** decision_policy specifies the group policy's decision policy. */ - decision_policy?: AnyAmino | undefined; -} -export interface MsgCreateGroupWithPolicyAminoMsg { - type: "cosmos-sdk/MsgCreateGroupWithPolicy"; - value: MsgCreateGroupWithPolicyAmino; -} -/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ -export interface MsgCreateGroupWithPolicySDKType { - admin: string; - members: MemberSDKType[]; - group_metadata: string; - group_policy_metadata: string; - group_policy_as_admin: boolean; - decision_policy?: ThresholdDecisionPolicySDKType | PercentageDecisionPolicySDKType | AnySDKType | undefined; -} -/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ -export interface MsgCreateGroupWithPolicyResponse { - /** group_id is the unique ID of the newly created group with policy. */ - groupId: bigint; - /** group_policy_address is the account address of the newly created group policy. */ - groupPolicyAddress: string; -} -export interface MsgCreateGroupWithPolicyResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicyResponse"; - value: Uint8Array; -} -/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ -export interface MsgCreateGroupWithPolicyResponseAmino { - /** group_id is the unique ID of the newly created group with policy. */ - group_id?: string; - /** group_policy_address is the account address of the newly created group policy. */ - group_policy_address?: string; -} -export interface MsgCreateGroupWithPolicyResponseAminoMsg { - type: "cosmos-sdk/MsgCreateGroupWithPolicyResponse"; - value: MsgCreateGroupWithPolicyResponseAmino; -} -/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ -export interface MsgCreateGroupWithPolicyResponseSDKType { - group_id: bigint; - group_policy_address: string; -} -/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ -export interface MsgUpdateGroupPolicyAdminResponse { -} -export interface MsgUpdateGroupPolicyAdminResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ -export interface MsgUpdateGroupPolicyAdminResponseAmino { -} -export interface MsgUpdateGroupPolicyAdminResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyAdminResponse"; - value: MsgUpdateGroupPolicyAdminResponseAmino; -} -/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ -export interface MsgUpdateGroupPolicyAdminResponseSDKType { -} -/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ -export interface MsgUpdateGroupPolicyDecisionPolicy { - /** admin is the account address of the group admin. */ - admin: string; - /** address is the account address of group policy. */ - address: string; - /** decision_policy is the updated group policy's decision policy. */ - decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined; -} -export interface MsgUpdateGroupPolicyDecisionPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy"; - value: Uint8Array; -} -export type MsgUpdateGroupPolicyDecisionPolicyEncoded = Omit & { - /** decision_policy is the updated group policy's decision policy. */ decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined; -}; -/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ -export interface MsgUpdateGroupPolicyDecisionPolicyAmino { - /** admin is the account address of the group admin. */ - admin?: string; - /** address is the account address of group policy. */ - address?: string; - /** decision_policy is the updated group policy's decision policy. */ - decision_policy?: AnyAmino | undefined; -} -export interface MsgUpdateGroupPolicyDecisionPolicyAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicy"; - value: MsgUpdateGroupPolicyDecisionPolicyAmino; -} -/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ -export interface MsgUpdateGroupPolicyDecisionPolicySDKType { - admin: string; - address: string; - decision_policy?: ThresholdDecisionPolicySDKType | PercentageDecisionPolicySDKType | AnySDKType | undefined; -} -/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ -export interface MsgUpdateGroupPolicyDecisionPolicyResponse { -} -export interface MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ -export interface MsgUpdateGroupPolicyDecisionPolicyResponseAmino { -} -export interface MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicyResponse"; - value: MsgUpdateGroupPolicyDecisionPolicyResponseAmino; -} -/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ -export interface MsgUpdateGroupPolicyDecisionPolicyResponseSDKType { -} -/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ -export interface MsgUpdateGroupPolicyMetadata { - /** admin is the account address of the group admin. */ - admin: string; - /** address is the account address of group policy. */ - address: string; - /** metadata is the updated group policy metadata. */ - metadata: string; -} -export interface MsgUpdateGroupPolicyMetadataProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata"; - value: Uint8Array; -} -/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ -export interface MsgUpdateGroupPolicyMetadataAmino { - /** admin is the account address of the group admin. */ - admin?: string; - /** address is the account address of group policy. */ - address?: string; - /** metadata is the updated group policy metadata. */ - metadata?: string; -} -export interface MsgUpdateGroupPolicyMetadataAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyMetadata"; - value: MsgUpdateGroupPolicyMetadataAmino; -} -/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ -export interface MsgUpdateGroupPolicyMetadataSDKType { - admin: string; - address: string; - metadata: string; -} -/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ -export interface MsgUpdateGroupPolicyMetadataResponse { -} -export interface MsgUpdateGroupPolicyMetadataResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ -export interface MsgUpdateGroupPolicyMetadataResponseAmino { -} -export interface MsgUpdateGroupPolicyMetadataResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyMetadataResponse"; - value: MsgUpdateGroupPolicyMetadataResponseAmino; -} -/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ -export interface MsgUpdateGroupPolicyMetadataResponseSDKType { -} -/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ -export interface MsgSubmitProposal { - /** address is the account address of group policy. */ - address: string; - /** - * proposers are the account addresses of the proposers. - * Proposers signatures will be counted as yes votes. - */ - proposers: string[]; - /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata: string; - /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */ - messages: Any[]; - /** - * exec defines the mode of execution of the proposal, - * whether it should be executed immediately on creation or not. - * If so, proposers signatures are considered as Yes votes. - */ - exec: Exec; -} -export interface MsgSubmitProposalProtoMsg { - typeUrl: "/cosmos.group.v1.MsgSubmitProposal"; - value: Uint8Array; -} -/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ -export interface MsgSubmitProposalAmino { - /** address is the account address of group policy. */ - address?: string; - /** - * proposers are the account addresses of the proposers. - * Proposers signatures will be counted as yes votes. - */ - proposers?: string[]; - /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata?: string; - /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */ - messages?: AnyAmino[]; - /** - * exec defines the mode of execution of the proposal, - * whether it should be executed immediately on creation or not. - * If so, proposers signatures are considered as Yes votes. - */ - exec?: Exec; -} -export interface MsgSubmitProposalAminoMsg { - type: "cosmos-sdk/group/MsgSubmitProposal"; - value: MsgSubmitProposalAmino; -} -/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ -export interface MsgSubmitProposalSDKType { - address: string; - proposers: string[]; - metadata: string; - messages: AnySDKType[]; - exec: Exec; -} -/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponse { - /** proposal is the unique ID of the proposal. */ - proposalId: bigint; -} -export interface MsgSubmitProposalResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgSubmitProposalResponse"; - value: Uint8Array; -} -/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseAmino { - /** proposal is the unique ID of the proposal. */ - proposal_id?: string; -} -export interface MsgSubmitProposalResponseAminoMsg { - type: "cosmos-sdk/MsgSubmitProposalResponse"; - value: MsgSubmitProposalResponseAmino; -} -/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseSDKType { - proposal_id: bigint; -} -/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ -export interface MsgWithdrawProposal { - /** proposal is the unique ID of the proposal. */ - proposalId: bigint; - /** address is the admin of the group policy or one of the proposer of the proposal. */ - address: string; -} -export interface MsgWithdrawProposalProtoMsg { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposal"; - value: Uint8Array; -} -/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ -export interface MsgWithdrawProposalAmino { - /** proposal is the unique ID of the proposal. */ - proposal_id?: string; - /** address is the admin of the group policy or one of the proposer of the proposal. */ - address?: string; -} -export interface MsgWithdrawProposalAminoMsg { - type: "cosmos-sdk/group/MsgWithdrawProposal"; - value: MsgWithdrawProposalAmino; -} -/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ -export interface MsgWithdrawProposalSDKType { - proposal_id: bigint; - address: string; -} -/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ -export interface MsgWithdrawProposalResponse { -} -export interface MsgWithdrawProposalResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposalResponse"; - value: Uint8Array; -} -/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ -export interface MsgWithdrawProposalResponseAmino { -} -export interface MsgWithdrawProposalResponseAminoMsg { - type: "cosmos-sdk/MsgWithdrawProposalResponse"; - value: MsgWithdrawProposalResponseAmino; -} -/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ -export interface MsgWithdrawProposalResponseSDKType { -} -/** MsgVote is the Msg/Vote request type. */ -export interface MsgVote { - /** proposal is the unique ID of the proposal. */ - proposalId: bigint; - /** voter is the voter account address. */ - voter: string; - /** option is the voter's choice on the proposal. */ - option: VoteOption; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; - /** - * exec defines whether the proposal should be executed - * immediately after voting or not. - */ - exec: Exec; -} -export interface MsgVoteProtoMsg { - typeUrl: "/cosmos.group.v1.MsgVote"; - value: Uint8Array; -} -/** MsgVote is the Msg/Vote request type. */ -export interface MsgVoteAmino { - /** proposal is the unique ID of the proposal. */ - proposal_id?: string; - /** voter is the voter account address. */ - voter?: string; - /** option is the voter's choice on the proposal. */ - option?: VoteOption; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata?: string; - /** - * exec defines whether the proposal should be executed - * immediately after voting or not. - */ - exec?: Exec; -} -export interface MsgVoteAminoMsg { - type: "cosmos-sdk/group/MsgVote"; - value: MsgVoteAmino; -} -/** MsgVote is the Msg/Vote request type. */ -export interface MsgVoteSDKType { - proposal_id: bigint; - voter: string; - option: VoteOption; - metadata: string; - exec: Exec; -} -/** MsgVoteResponse is the Msg/Vote response type. */ -export interface MsgVoteResponse { -} -export interface MsgVoteResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgVoteResponse"; - value: Uint8Array; -} -/** MsgVoteResponse is the Msg/Vote response type. */ -export interface MsgVoteResponseAmino { -} -export interface MsgVoteResponseAminoMsg { - type: "cosmos-sdk/MsgVoteResponse"; - value: MsgVoteResponseAmino; -} -/** MsgVoteResponse is the Msg/Vote response type. */ -export interface MsgVoteResponseSDKType { -} -/** MsgExec is the Msg/Exec request type. */ -export interface MsgExec { - /** proposal is the unique ID of the proposal. */ - proposalId: bigint; - /** signer is the account address used to execute the proposal. */ - signer: string; -} -export interface MsgExecProtoMsg { - typeUrl: "/cosmos.group.v1.MsgExec"; - value: Uint8Array; -} -/** MsgExec is the Msg/Exec request type. */ -export interface MsgExecAmino { - /** proposal is the unique ID of the proposal. */ - proposal_id?: string; - /** signer is the account address used to execute the proposal. */ - signer?: string; -} -export interface MsgExecAminoMsg { - type: "cosmos-sdk/group/MsgExec"; - value: MsgExecAmino; -} -/** MsgExec is the Msg/Exec request type. */ -export interface MsgExecSDKType { - proposal_id: bigint; - signer: string; -} -/** MsgExecResponse is the Msg/Exec request type. */ -export interface MsgExecResponse { -} -export interface MsgExecResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgExecResponse"; - value: Uint8Array; -} -/** MsgExecResponse is the Msg/Exec request type. */ -export interface MsgExecResponseAmino { -} -export interface MsgExecResponseAminoMsg { - type: "cosmos-sdk/MsgExecResponse"; - value: MsgExecResponseAmino; -} -/** MsgExecResponse is the Msg/Exec request type. */ -export interface MsgExecResponseSDKType { -} -/** MsgLeaveGroup is the Msg/LeaveGroup request type. */ -export interface MsgLeaveGroup { - /** address is the account address of the group member. */ - address: string; - /** group_id is the unique ID of the group. */ - groupId: bigint; -} -export interface MsgLeaveGroupProtoMsg { - typeUrl: "/cosmos.group.v1.MsgLeaveGroup"; - value: Uint8Array; -} -/** MsgLeaveGroup is the Msg/LeaveGroup request type. */ -export interface MsgLeaveGroupAmino { - /** address is the account address of the group member. */ - address?: string; - /** group_id is the unique ID of the group. */ - group_id?: string; -} -export interface MsgLeaveGroupAminoMsg { - type: "cosmos-sdk/group/MsgLeaveGroup"; - value: MsgLeaveGroupAmino; -} -/** MsgLeaveGroup is the Msg/LeaveGroup request type. */ -export interface MsgLeaveGroupSDKType { - address: string; - group_id: bigint; -} -/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ -export interface MsgLeaveGroupResponse { -} -export interface MsgLeaveGroupResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgLeaveGroupResponse"; - value: Uint8Array; -} -/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ -export interface MsgLeaveGroupResponseAmino { -} -export interface MsgLeaveGroupResponseAminoMsg { - type: "cosmos-sdk/MsgLeaveGroupResponse"; - value: MsgLeaveGroupResponseAmino; -} -/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ -export interface MsgLeaveGroupResponseSDKType { -} -export declare const MsgCreateGroup: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateGroup; - isSDK(o: any): o is MsgCreateGroupSDKType; - isAmino(o: any): o is MsgCreateGroupAmino; - encode(message: MsgCreateGroup, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroup; - fromJSON(object: any): MsgCreateGroup; - toJSON(message: MsgCreateGroup): unknown; - fromPartial(object: DeepPartial): MsgCreateGroup; - fromSDK(object: MsgCreateGroupSDKType): MsgCreateGroup; - toSDK(message: MsgCreateGroup): MsgCreateGroupSDKType; - fromAmino(object: MsgCreateGroupAmino): MsgCreateGroup; - toAmino(message: MsgCreateGroup): MsgCreateGroupAmino; - fromAminoMsg(object: MsgCreateGroupAminoMsg): MsgCreateGroup; - toAminoMsg(message: MsgCreateGroup): MsgCreateGroupAminoMsg; - fromProtoMsg(message: MsgCreateGroupProtoMsg): MsgCreateGroup; - toProto(message: MsgCreateGroup): Uint8Array; - toProtoMsg(message: MsgCreateGroup): MsgCreateGroupProtoMsg; -}; -export declare const MsgCreateGroupResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateGroupResponse; - isSDK(o: any): o is MsgCreateGroupResponseSDKType; - isAmino(o: any): o is MsgCreateGroupResponseAmino; - encode(message: MsgCreateGroupResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroupResponse; - fromJSON(object: any): MsgCreateGroupResponse; - toJSON(message: MsgCreateGroupResponse): unknown; - fromPartial(object: DeepPartial): MsgCreateGroupResponse; - fromSDK(object: MsgCreateGroupResponseSDKType): MsgCreateGroupResponse; - toSDK(message: MsgCreateGroupResponse): MsgCreateGroupResponseSDKType; - fromAmino(object: MsgCreateGroupResponseAmino): MsgCreateGroupResponse; - toAmino(message: MsgCreateGroupResponse): MsgCreateGroupResponseAmino; - fromAminoMsg(object: MsgCreateGroupResponseAminoMsg): MsgCreateGroupResponse; - toAminoMsg(message: MsgCreateGroupResponse): MsgCreateGroupResponseAminoMsg; - fromProtoMsg(message: MsgCreateGroupResponseProtoMsg): MsgCreateGroupResponse; - toProto(message: MsgCreateGroupResponse): Uint8Array; - toProtoMsg(message: MsgCreateGroupResponse): MsgCreateGroupResponseProtoMsg; -}; -export declare const MsgUpdateGroupMembers: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateGroupMembers; - isSDK(o: any): o is MsgUpdateGroupMembersSDKType; - isAmino(o: any): o is MsgUpdateGroupMembersAmino; - encode(message: MsgUpdateGroupMembers, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupMembers; - fromJSON(object: any): MsgUpdateGroupMembers; - toJSON(message: MsgUpdateGroupMembers): unknown; - fromPartial(object: DeepPartial): MsgUpdateGroupMembers; - fromSDK(object: MsgUpdateGroupMembersSDKType): MsgUpdateGroupMembers; - toSDK(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersSDKType; - fromAmino(object: MsgUpdateGroupMembersAmino): MsgUpdateGroupMembers; - toAmino(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersAmino; - fromAminoMsg(object: MsgUpdateGroupMembersAminoMsg): MsgUpdateGroupMembers; - toAminoMsg(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersAminoMsg; - fromProtoMsg(message: MsgUpdateGroupMembersProtoMsg): MsgUpdateGroupMembers; - toProto(message: MsgUpdateGroupMembers): Uint8Array; - toProtoMsg(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersProtoMsg; -}; -export declare const MsgUpdateGroupMembersResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateGroupMembersResponse; - isSDK(o: any): o is MsgUpdateGroupMembersResponseSDKType; - isAmino(o: any): o is MsgUpdateGroupMembersResponseAmino; - encode(_: MsgUpdateGroupMembersResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse; - fromJSON(_: any): MsgUpdateGroupMembersResponse; - toJSON(_: MsgUpdateGroupMembersResponse): unknown; - fromPartial(_: DeepPartial): MsgUpdateGroupMembersResponse; - fromSDK(_: MsgUpdateGroupMembersResponseSDKType): MsgUpdateGroupMembersResponse; - toSDK(_: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseSDKType; - fromAmino(_: MsgUpdateGroupMembersResponseAmino): MsgUpdateGroupMembersResponse; - toAmino(_: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseAmino; - fromAminoMsg(object: MsgUpdateGroupMembersResponseAminoMsg): MsgUpdateGroupMembersResponse; - toAminoMsg(message: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseAminoMsg; - fromProtoMsg(message: MsgUpdateGroupMembersResponseProtoMsg): MsgUpdateGroupMembersResponse; - toProto(message: MsgUpdateGroupMembersResponse): Uint8Array; - toProtoMsg(message: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseProtoMsg; -}; -export declare const MsgUpdateGroupAdmin: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateGroupAdmin; - isSDK(o: any): o is MsgUpdateGroupAdminSDKType; - isAmino(o: any): o is MsgUpdateGroupAdminAmino; - encode(message: MsgUpdateGroupAdmin, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupAdmin; - fromJSON(object: any): MsgUpdateGroupAdmin; - toJSON(message: MsgUpdateGroupAdmin): unknown; - fromPartial(object: DeepPartial): MsgUpdateGroupAdmin; - fromSDK(object: MsgUpdateGroupAdminSDKType): MsgUpdateGroupAdmin; - toSDK(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminSDKType; - fromAmino(object: MsgUpdateGroupAdminAmino): MsgUpdateGroupAdmin; - toAmino(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminAmino; - fromAminoMsg(object: MsgUpdateGroupAdminAminoMsg): MsgUpdateGroupAdmin; - toAminoMsg(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminAminoMsg; - fromProtoMsg(message: MsgUpdateGroupAdminProtoMsg): MsgUpdateGroupAdmin; - toProto(message: MsgUpdateGroupAdmin): Uint8Array; - toProtoMsg(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminProtoMsg; -}; -export declare const MsgUpdateGroupAdminResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateGroupAdminResponse; - isSDK(o: any): o is MsgUpdateGroupAdminResponseSDKType; - isAmino(o: any): o is MsgUpdateGroupAdminResponseAmino; - encode(_: MsgUpdateGroupAdminResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse; - fromJSON(_: any): MsgUpdateGroupAdminResponse; - toJSON(_: MsgUpdateGroupAdminResponse): unknown; - fromPartial(_: DeepPartial): MsgUpdateGroupAdminResponse; - fromSDK(_: MsgUpdateGroupAdminResponseSDKType): MsgUpdateGroupAdminResponse; - toSDK(_: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseSDKType; - fromAmino(_: MsgUpdateGroupAdminResponseAmino): MsgUpdateGroupAdminResponse; - toAmino(_: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseAmino; - fromAminoMsg(object: MsgUpdateGroupAdminResponseAminoMsg): MsgUpdateGroupAdminResponse; - toAminoMsg(message: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseAminoMsg; - fromProtoMsg(message: MsgUpdateGroupAdminResponseProtoMsg): MsgUpdateGroupAdminResponse; - toProto(message: MsgUpdateGroupAdminResponse): Uint8Array; - toProtoMsg(message: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseProtoMsg; -}; -export declare const MsgUpdateGroupMetadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateGroupMetadata; - isSDK(o: any): o is MsgUpdateGroupMetadataSDKType; - isAmino(o: any): o is MsgUpdateGroupMetadataAmino; - encode(message: MsgUpdateGroupMetadata, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupMetadata; - fromJSON(object: any): MsgUpdateGroupMetadata; - toJSON(message: MsgUpdateGroupMetadata): unknown; - fromPartial(object: DeepPartial): MsgUpdateGroupMetadata; - fromSDK(object: MsgUpdateGroupMetadataSDKType): MsgUpdateGroupMetadata; - toSDK(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataSDKType; - fromAmino(object: MsgUpdateGroupMetadataAmino): MsgUpdateGroupMetadata; - toAmino(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataAmino; - fromAminoMsg(object: MsgUpdateGroupMetadataAminoMsg): MsgUpdateGroupMetadata; - toAminoMsg(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataAminoMsg; - fromProtoMsg(message: MsgUpdateGroupMetadataProtoMsg): MsgUpdateGroupMetadata; - toProto(message: MsgUpdateGroupMetadata): Uint8Array; - toProtoMsg(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataProtoMsg; -}; -export declare const MsgUpdateGroupMetadataResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateGroupMetadataResponse; - isSDK(o: any): o is MsgUpdateGroupMetadataResponseSDKType; - isAmino(o: any): o is MsgUpdateGroupMetadataResponseAmino; - encode(_: MsgUpdateGroupMetadataResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse; - fromJSON(_: any): MsgUpdateGroupMetadataResponse; - toJSON(_: MsgUpdateGroupMetadataResponse): unknown; - fromPartial(_: DeepPartial): MsgUpdateGroupMetadataResponse; - fromSDK(_: MsgUpdateGroupMetadataResponseSDKType): MsgUpdateGroupMetadataResponse; - toSDK(_: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseSDKType; - fromAmino(_: MsgUpdateGroupMetadataResponseAmino): MsgUpdateGroupMetadataResponse; - toAmino(_: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseAmino; - fromAminoMsg(object: MsgUpdateGroupMetadataResponseAminoMsg): MsgUpdateGroupMetadataResponse; - toAminoMsg(message: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseAminoMsg; - fromProtoMsg(message: MsgUpdateGroupMetadataResponseProtoMsg): MsgUpdateGroupMetadataResponse; - toProto(message: MsgUpdateGroupMetadataResponse): Uint8Array; - toProtoMsg(message: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseProtoMsg; -}; -export declare const MsgCreateGroupPolicy: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateGroupPolicy; - isSDK(o: any): o is MsgCreateGroupPolicySDKType; - isAmino(o: any): o is MsgCreateGroupPolicyAmino; - encode(message: MsgCreateGroupPolicy, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroupPolicy; - fromJSON(object: any): MsgCreateGroupPolicy; - toJSON(message: MsgCreateGroupPolicy): unknown; - fromPartial(object: DeepPartial): MsgCreateGroupPolicy; - fromSDK(object: MsgCreateGroupPolicySDKType): MsgCreateGroupPolicy; - toSDK(message: MsgCreateGroupPolicy): MsgCreateGroupPolicySDKType; - fromAmino(object: MsgCreateGroupPolicyAmino): MsgCreateGroupPolicy; - toAmino(message: MsgCreateGroupPolicy): MsgCreateGroupPolicyAmino; - fromAminoMsg(object: MsgCreateGroupPolicyAminoMsg): MsgCreateGroupPolicy; - toAminoMsg(message: MsgCreateGroupPolicy): MsgCreateGroupPolicyAminoMsg; - fromProtoMsg(message: MsgCreateGroupPolicyProtoMsg): MsgCreateGroupPolicy; - toProto(message: MsgCreateGroupPolicy): Uint8Array; - toProtoMsg(message: MsgCreateGroupPolicy): MsgCreateGroupPolicyProtoMsg; -}; -export declare const MsgCreateGroupPolicyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateGroupPolicyResponse; - isSDK(o: any): o is MsgCreateGroupPolicyResponseSDKType; - isAmino(o: any): o is MsgCreateGroupPolicyResponseAmino; - encode(message: MsgCreateGroupPolicyResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse; - fromJSON(object: any): MsgCreateGroupPolicyResponse; - toJSON(message: MsgCreateGroupPolicyResponse): unknown; - fromPartial(object: DeepPartial): MsgCreateGroupPolicyResponse; - fromSDK(object: MsgCreateGroupPolicyResponseSDKType): MsgCreateGroupPolicyResponse; - toSDK(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseSDKType; - fromAmino(object: MsgCreateGroupPolicyResponseAmino): MsgCreateGroupPolicyResponse; - toAmino(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseAmino; - fromAminoMsg(object: MsgCreateGroupPolicyResponseAminoMsg): MsgCreateGroupPolicyResponse; - toAminoMsg(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseAminoMsg; - fromProtoMsg(message: MsgCreateGroupPolicyResponseProtoMsg): MsgCreateGroupPolicyResponse; - toProto(message: MsgCreateGroupPolicyResponse): Uint8Array; - toProtoMsg(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseProtoMsg; -}; -export declare const MsgUpdateGroupPolicyAdmin: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateGroupPolicyAdmin; - isSDK(o: any): o is MsgUpdateGroupPolicyAdminSDKType; - isAmino(o: any): o is MsgUpdateGroupPolicyAdminAmino; - encode(message: MsgUpdateGroupPolicyAdmin, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdmin; - fromJSON(object: any): MsgUpdateGroupPolicyAdmin; - toJSON(message: MsgUpdateGroupPolicyAdmin): unknown; - fromPartial(object: DeepPartial): MsgUpdateGroupPolicyAdmin; - fromSDK(object: MsgUpdateGroupPolicyAdminSDKType): MsgUpdateGroupPolicyAdmin; - toSDK(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminSDKType; - fromAmino(object: MsgUpdateGroupPolicyAdminAmino): MsgUpdateGroupPolicyAdmin; - toAmino(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminAmino; - fromAminoMsg(object: MsgUpdateGroupPolicyAdminAminoMsg): MsgUpdateGroupPolicyAdmin; - toAminoMsg(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminAminoMsg; - fromProtoMsg(message: MsgUpdateGroupPolicyAdminProtoMsg): MsgUpdateGroupPolicyAdmin; - toProto(message: MsgUpdateGroupPolicyAdmin): Uint8Array; - toProtoMsg(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminProtoMsg; -}; -export declare const MsgCreateGroupWithPolicy: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateGroupWithPolicy; - isSDK(o: any): o is MsgCreateGroupWithPolicySDKType; - isAmino(o: any): o is MsgCreateGroupWithPolicyAmino; - encode(message: MsgCreateGroupWithPolicy, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroupWithPolicy; - fromJSON(object: any): MsgCreateGroupWithPolicy; - toJSON(message: MsgCreateGroupWithPolicy): unknown; - fromPartial(object: DeepPartial): MsgCreateGroupWithPolicy; - fromSDK(object: MsgCreateGroupWithPolicySDKType): MsgCreateGroupWithPolicy; - toSDK(message: MsgCreateGroupWithPolicy): MsgCreateGroupWithPolicySDKType; - fromAmino(object: MsgCreateGroupWithPolicyAmino): MsgCreateGroupWithPolicy; - toAmino(message: MsgCreateGroupWithPolicy): MsgCreateGroupWithPolicyAmino; - fromAminoMsg(object: MsgCreateGroupWithPolicyAminoMsg): MsgCreateGroupWithPolicy; - toAminoMsg(message: MsgCreateGroupWithPolicy): MsgCreateGroupWithPolicyAminoMsg; - fromProtoMsg(message: MsgCreateGroupWithPolicyProtoMsg): MsgCreateGroupWithPolicy; - toProto(message: MsgCreateGroupWithPolicy): Uint8Array; - toProtoMsg(message: MsgCreateGroupWithPolicy): MsgCreateGroupWithPolicyProtoMsg; -}; -export declare const MsgCreateGroupWithPolicyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateGroupWithPolicyResponse; - isSDK(o: any): o is MsgCreateGroupWithPolicyResponseSDKType; - isAmino(o: any): o is MsgCreateGroupWithPolicyResponseAmino; - encode(message: MsgCreateGroupWithPolicyResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse; - fromJSON(object: any): MsgCreateGroupWithPolicyResponse; - toJSON(message: MsgCreateGroupWithPolicyResponse): unknown; - fromPartial(object: DeepPartial): MsgCreateGroupWithPolicyResponse; - fromSDK(object: MsgCreateGroupWithPolicyResponseSDKType): MsgCreateGroupWithPolicyResponse; - toSDK(message: MsgCreateGroupWithPolicyResponse): MsgCreateGroupWithPolicyResponseSDKType; - fromAmino(object: MsgCreateGroupWithPolicyResponseAmino): MsgCreateGroupWithPolicyResponse; - toAmino(message: MsgCreateGroupWithPolicyResponse): MsgCreateGroupWithPolicyResponseAmino; - fromAminoMsg(object: MsgCreateGroupWithPolicyResponseAminoMsg): MsgCreateGroupWithPolicyResponse; - toAminoMsg(message: MsgCreateGroupWithPolicyResponse): MsgCreateGroupWithPolicyResponseAminoMsg; - fromProtoMsg(message: MsgCreateGroupWithPolicyResponseProtoMsg): MsgCreateGroupWithPolicyResponse; - toProto(message: MsgCreateGroupWithPolicyResponse): Uint8Array; - toProtoMsg(message: MsgCreateGroupWithPolicyResponse): MsgCreateGroupWithPolicyResponseProtoMsg; -}; -export declare const MsgUpdateGroupPolicyAdminResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateGroupPolicyAdminResponse; - isSDK(o: any): o is MsgUpdateGroupPolicyAdminResponseSDKType; - isAmino(o: any): o is MsgUpdateGroupPolicyAdminResponseAmino; - encode(_: MsgUpdateGroupPolicyAdminResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse; - fromJSON(_: any): MsgUpdateGroupPolicyAdminResponse; - toJSON(_: MsgUpdateGroupPolicyAdminResponse): unknown; - fromPartial(_: DeepPartial): MsgUpdateGroupPolicyAdminResponse; - fromSDK(_: MsgUpdateGroupPolicyAdminResponseSDKType): MsgUpdateGroupPolicyAdminResponse; - toSDK(_: MsgUpdateGroupPolicyAdminResponse): MsgUpdateGroupPolicyAdminResponseSDKType; - fromAmino(_: MsgUpdateGroupPolicyAdminResponseAmino): MsgUpdateGroupPolicyAdminResponse; - toAmino(_: MsgUpdateGroupPolicyAdminResponse): MsgUpdateGroupPolicyAdminResponseAmino; - fromAminoMsg(object: MsgUpdateGroupPolicyAdminResponseAminoMsg): MsgUpdateGroupPolicyAdminResponse; - toAminoMsg(message: MsgUpdateGroupPolicyAdminResponse): MsgUpdateGroupPolicyAdminResponseAminoMsg; - fromProtoMsg(message: MsgUpdateGroupPolicyAdminResponseProtoMsg): MsgUpdateGroupPolicyAdminResponse; - toProto(message: MsgUpdateGroupPolicyAdminResponse): Uint8Array; - toProtoMsg(message: MsgUpdateGroupPolicyAdminResponse): MsgUpdateGroupPolicyAdminResponseProtoMsg; -}; -export declare const MsgUpdateGroupPolicyDecisionPolicy: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateGroupPolicyDecisionPolicy; - isSDK(o: any): o is MsgUpdateGroupPolicyDecisionPolicySDKType; - isAmino(o: any): o is MsgUpdateGroupPolicyDecisionPolicyAmino; - encode(message: MsgUpdateGroupPolicyDecisionPolicy, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicy; - fromJSON(object: any): MsgUpdateGroupPolicyDecisionPolicy; - toJSON(message: MsgUpdateGroupPolicyDecisionPolicy): unknown; - fromPartial(object: DeepPartial): MsgUpdateGroupPolicyDecisionPolicy; - fromSDK(object: MsgUpdateGroupPolicyDecisionPolicySDKType): MsgUpdateGroupPolicyDecisionPolicy; - toSDK(message: MsgUpdateGroupPolicyDecisionPolicy): MsgUpdateGroupPolicyDecisionPolicySDKType; - fromAmino(object: MsgUpdateGroupPolicyDecisionPolicyAmino): MsgUpdateGroupPolicyDecisionPolicy; - toAmino(message: MsgUpdateGroupPolicyDecisionPolicy): MsgUpdateGroupPolicyDecisionPolicyAmino; - fromAminoMsg(object: MsgUpdateGroupPolicyDecisionPolicyAminoMsg): MsgUpdateGroupPolicyDecisionPolicy; - toAminoMsg(message: MsgUpdateGroupPolicyDecisionPolicy): MsgUpdateGroupPolicyDecisionPolicyAminoMsg; - fromProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicyProtoMsg): MsgUpdateGroupPolicyDecisionPolicy; - toProto(message: MsgUpdateGroupPolicyDecisionPolicy): Uint8Array; - toProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicy): MsgUpdateGroupPolicyDecisionPolicyProtoMsg; -}; -export declare const MsgUpdateGroupPolicyDecisionPolicyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateGroupPolicyDecisionPolicyResponse; - isSDK(o: any): o is MsgUpdateGroupPolicyDecisionPolicyResponseSDKType; - isAmino(o: any): o is MsgUpdateGroupPolicyDecisionPolicyResponseAmino; - encode(_: MsgUpdateGroupPolicyDecisionPolicyResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse; - fromJSON(_: any): MsgUpdateGroupPolicyDecisionPolicyResponse; - toJSON(_: MsgUpdateGroupPolicyDecisionPolicyResponse): unknown; - fromPartial(_: DeepPartial): MsgUpdateGroupPolicyDecisionPolicyResponse; - fromSDK(_: MsgUpdateGroupPolicyDecisionPolicyResponseSDKType): MsgUpdateGroupPolicyDecisionPolicyResponse; - toSDK(_: MsgUpdateGroupPolicyDecisionPolicyResponse): MsgUpdateGroupPolicyDecisionPolicyResponseSDKType; - fromAmino(_: MsgUpdateGroupPolicyDecisionPolicyResponseAmino): MsgUpdateGroupPolicyDecisionPolicyResponse; - toAmino(_: MsgUpdateGroupPolicyDecisionPolicyResponse): MsgUpdateGroupPolicyDecisionPolicyResponseAmino; - fromAminoMsg(object: MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg): MsgUpdateGroupPolicyDecisionPolicyResponse; - toAminoMsg(message: MsgUpdateGroupPolicyDecisionPolicyResponse): MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg; - fromProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg): MsgUpdateGroupPolicyDecisionPolicyResponse; - toProto(message: MsgUpdateGroupPolicyDecisionPolicyResponse): Uint8Array; - toProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicyResponse): MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg; -}; -export declare const MsgUpdateGroupPolicyMetadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateGroupPolicyMetadata; - isSDK(o: any): o is MsgUpdateGroupPolicyMetadataSDKType; - isAmino(o: any): o is MsgUpdateGroupPolicyMetadataAmino; - encode(message: MsgUpdateGroupPolicyMetadata, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadata; - fromJSON(object: any): MsgUpdateGroupPolicyMetadata; - toJSON(message: MsgUpdateGroupPolicyMetadata): unknown; - fromPartial(object: DeepPartial): MsgUpdateGroupPolicyMetadata; - fromSDK(object: MsgUpdateGroupPolicyMetadataSDKType): MsgUpdateGroupPolicyMetadata; - toSDK(message: MsgUpdateGroupPolicyMetadata): MsgUpdateGroupPolicyMetadataSDKType; - fromAmino(object: MsgUpdateGroupPolicyMetadataAmino): MsgUpdateGroupPolicyMetadata; - toAmino(message: MsgUpdateGroupPolicyMetadata): MsgUpdateGroupPolicyMetadataAmino; - fromAminoMsg(object: MsgUpdateGroupPolicyMetadataAminoMsg): MsgUpdateGroupPolicyMetadata; - toAminoMsg(message: MsgUpdateGroupPolicyMetadata): MsgUpdateGroupPolicyMetadataAminoMsg; - fromProtoMsg(message: MsgUpdateGroupPolicyMetadataProtoMsg): MsgUpdateGroupPolicyMetadata; - toProto(message: MsgUpdateGroupPolicyMetadata): Uint8Array; - toProtoMsg(message: MsgUpdateGroupPolicyMetadata): MsgUpdateGroupPolicyMetadataProtoMsg; -}; -export declare const MsgUpdateGroupPolicyMetadataResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateGroupPolicyMetadataResponse; - isSDK(o: any): o is MsgUpdateGroupPolicyMetadataResponseSDKType; - isAmino(o: any): o is MsgUpdateGroupPolicyMetadataResponseAmino; - encode(_: MsgUpdateGroupPolicyMetadataResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse; - fromJSON(_: any): MsgUpdateGroupPolicyMetadataResponse; - toJSON(_: MsgUpdateGroupPolicyMetadataResponse): unknown; - fromPartial(_: DeepPartial): MsgUpdateGroupPolicyMetadataResponse; - fromSDK(_: MsgUpdateGroupPolicyMetadataResponseSDKType): MsgUpdateGroupPolicyMetadataResponse; - toSDK(_: MsgUpdateGroupPolicyMetadataResponse): MsgUpdateGroupPolicyMetadataResponseSDKType; - fromAmino(_: MsgUpdateGroupPolicyMetadataResponseAmino): MsgUpdateGroupPolicyMetadataResponse; - toAmino(_: MsgUpdateGroupPolicyMetadataResponse): MsgUpdateGroupPolicyMetadataResponseAmino; - fromAminoMsg(object: MsgUpdateGroupPolicyMetadataResponseAminoMsg): MsgUpdateGroupPolicyMetadataResponse; - toAminoMsg(message: MsgUpdateGroupPolicyMetadataResponse): MsgUpdateGroupPolicyMetadataResponseAminoMsg; - fromProtoMsg(message: MsgUpdateGroupPolicyMetadataResponseProtoMsg): MsgUpdateGroupPolicyMetadataResponse; - toProto(message: MsgUpdateGroupPolicyMetadataResponse): Uint8Array; - toProtoMsg(message: MsgUpdateGroupPolicyMetadataResponse): MsgUpdateGroupPolicyMetadataResponseProtoMsg; -}; -export declare const MsgSubmitProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSubmitProposal; - isSDK(o: any): o is MsgSubmitProposalSDKType; - isAmino(o: any): o is MsgSubmitProposalAmino; - encode(message: MsgSubmitProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitProposal; - fromJSON(object: any): MsgSubmitProposal; - toJSON(message: MsgSubmitProposal): unknown; - fromPartial(object: DeepPartial): MsgSubmitProposal; - fromSDK(object: MsgSubmitProposalSDKType): MsgSubmitProposal; - toSDK(message: MsgSubmitProposal): MsgSubmitProposalSDKType; - fromAmino(object: MsgSubmitProposalAmino): MsgSubmitProposal; - toAmino(message: MsgSubmitProposal): MsgSubmitProposalAmino; - fromAminoMsg(object: MsgSubmitProposalAminoMsg): MsgSubmitProposal; - toAminoMsg(message: MsgSubmitProposal): MsgSubmitProposalAminoMsg; - fromProtoMsg(message: MsgSubmitProposalProtoMsg): MsgSubmitProposal; - toProto(message: MsgSubmitProposal): Uint8Array; - toProtoMsg(message: MsgSubmitProposal): MsgSubmitProposalProtoMsg; -}; -export declare const MsgSubmitProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSubmitProposalResponse; - isSDK(o: any): o is MsgSubmitProposalResponseSDKType; - isAmino(o: any): o is MsgSubmitProposalResponseAmino; - encode(message: MsgSubmitProposalResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitProposalResponse; - fromJSON(object: any): MsgSubmitProposalResponse; - toJSON(message: MsgSubmitProposalResponse): unknown; - fromPartial(object: DeepPartial): MsgSubmitProposalResponse; - fromSDK(object: MsgSubmitProposalResponseSDKType): MsgSubmitProposalResponse; - toSDK(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseSDKType; - fromAmino(object: MsgSubmitProposalResponseAmino): MsgSubmitProposalResponse; - toAmino(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAmino; - fromAminoMsg(object: MsgSubmitProposalResponseAminoMsg): MsgSubmitProposalResponse; - toAminoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAminoMsg; - fromProtoMsg(message: MsgSubmitProposalResponseProtoMsg): MsgSubmitProposalResponse; - toProto(message: MsgSubmitProposalResponse): Uint8Array; - toProtoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseProtoMsg; -}; -export declare const MsgWithdrawProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgWithdrawProposal; - isSDK(o: any): o is MsgWithdrawProposalSDKType; - isAmino(o: any): o is MsgWithdrawProposalAmino; - encode(message: MsgWithdrawProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawProposal; - fromJSON(object: any): MsgWithdrawProposal; - toJSON(message: MsgWithdrawProposal): unknown; - fromPartial(object: DeepPartial): MsgWithdrawProposal; - fromSDK(object: MsgWithdrawProposalSDKType): MsgWithdrawProposal; - toSDK(message: MsgWithdrawProposal): MsgWithdrawProposalSDKType; - fromAmino(object: MsgWithdrawProposalAmino): MsgWithdrawProposal; - toAmino(message: MsgWithdrawProposal): MsgWithdrawProposalAmino; - fromAminoMsg(object: MsgWithdrawProposalAminoMsg): MsgWithdrawProposal; - toAminoMsg(message: MsgWithdrawProposal): MsgWithdrawProposalAminoMsg; - fromProtoMsg(message: MsgWithdrawProposalProtoMsg): MsgWithdrawProposal; - toProto(message: MsgWithdrawProposal): Uint8Array; - toProtoMsg(message: MsgWithdrawProposal): MsgWithdrawProposalProtoMsg; -}; -export declare const MsgWithdrawProposalResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgWithdrawProposalResponse; - isSDK(o: any): o is MsgWithdrawProposalResponseSDKType; - isAmino(o: any): o is MsgWithdrawProposalResponseAmino; - encode(_: MsgWithdrawProposalResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgWithdrawProposalResponse; - fromJSON(_: any): MsgWithdrawProposalResponse; - toJSON(_: MsgWithdrawProposalResponse): unknown; - fromPartial(_: DeepPartial): MsgWithdrawProposalResponse; - fromSDK(_: MsgWithdrawProposalResponseSDKType): MsgWithdrawProposalResponse; - toSDK(_: MsgWithdrawProposalResponse): MsgWithdrawProposalResponseSDKType; - fromAmino(_: MsgWithdrawProposalResponseAmino): MsgWithdrawProposalResponse; - toAmino(_: MsgWithdrawProposalResponse): MsgWithdrawProposalResponseAmino; - fromAminoMsg(object: MsgWithdrawProposalResponseAminoMsg): MsgWithdrawProposalResponse; - toAminoMsg(message: MsgWithdrawProposalResponse): MsgWithdrawProposalResponseAminoMsg; - fromProtoMsg(message: MsgWithdrawProposalResponseProtoMsg): MsgWithdrawProposalResponse; - toProto(message: MsgWithdrawProposalResponse): Uint8Array; - toProtoMsg(message: MsgWithdrawProposalResponse): MsgWithdrawProposalResponseProtoMsg; -}; -export declare const MsgVote: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgVote; - isSDK(o: any): o is MsgVoteSDKType; - isAmino(o: any): o is MsgVoteAmino; - encode(message: MsgVote, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgVote; - fromJSON(object: any): MsgVote; - toJSON(message: MsgVote): unknown; - fromPartial(object: DeepPartial): MsgVote; - fromSDK(object: MsgVoteSDKType): MsgVote; - toSDK(message: MsgVote): MsgVoteSDKType; - fromAmino(object: MsgVoteAmino): MsgVote; - toAmino(message: MsgVote): MsgVoteAmino; - fromAminoMsg(object: MsgVoteAminoMsg): MsgVote; - toAminoMsg(message: MsgVote): MsgVoteAminoMsg; - fromProtoMsg(message: MsgVoteProtoMsg): MsgVote; - toProto(message: MsgVote): Uint8Array; - toProtoMsg(message: MsgVote): MsgVoteProtoMsg; -}; -export declare const MsgVoteResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgVoteResponse; - isSDK(o: any): o is MsgVoteResponseSDKType; - isAmino(o: any): o is MsgVoteResponseAmino; - encode(_: MsgVoteResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgVoteResponse; - fromJSON(_: any): MsgVoteResponse; - toJSON(_: MsgVoteResponse): unknown; - fromPartial(_: DeepPartial): MsgVoteResponse; - fromSDK(_: MsgVoteResponseSDKType): MsgVoteResponse; - toSDK(_: MsgVoteResponse): MsgVoteResponseSDKType; - fromAmino(_: MsgVoteResponseAmino): MsgVoteResponse; - toAmino(_: MsgVoteResponse): MsgVoteResponseAmino; - fromAminoMsg(object: MsgVoteResponseAminoMsg): MsgVoteResponse; - toAminoMsg(message: MsgVoteResponse): MsgVoteResponseAminoMsg; - fromProtoMsg(message: MsgVoteResponseProtoMsg): MsgVoteResponse; - toProto(message: MsgVoteResponse): Uint8Array; - toProtoMsg(message: MsgVoteResponse): MsgVoteResponseProtoMsg; -}; -export declare const MsgExec: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExec; - isSDK(o: any): o is MsgExecSDKType; - isAmino(o: any): o is MsgExecAmino; - encode(message: MsgExec, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExec; - fromJSON(object: any): MsgExec; - toJSON(message: MsgExec): unknown; - fromPartial(object: DeepPartial): MsgExec; - fromSDK(object: MsgExecSDKType): MsgExec; - toSDK(message: MsgExec): MsgExecSDKType; - fromAmino(object: MsgExecAmino): MsgExec; - toAmino(message: MsgExec): MsgExecAmino; - fromAminoMsg(object: MsgExecAminoMsg): MsgExec; - toAminoMsg(message: MsgExec): MsgExecAminoMsg; - fromProtoMsg(message: MsgExecProtoMsg): MsgExec; - toProto(message: MsgExec): Uint8Array; - toProtoMsg(message: MsgExec): MsgExecProtoMsg; -}; -export declare const MsgExecResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExecResponse; - isSDK(o: any): o is MsgExecResponseSDKType; - isAmino(o: any): o is MsgExecResponseAmino; - encode(_: MsgExecResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExecResponse; - fromJSON(_: any): MsgExecResponse; - toJSON(_: MsgExecResponse): unknown; - fromPartial(_: DeepPartial): MsgExecResponse; - fromSDK(_: MsgExecResponseSDKType): MsgExecResponse; - toSDK(_: MsgExecResponse): MsgExecResponseSDKType; - fromAmino(_: MsgExecResponseAmino): MsgExecResponse; - toAmino(_: MsgExecResponse): MsgExecResponseAmino; - fromAminoMsg(object: MsgExecResponseAminoMsg): MsgExecResponse; - toAminoMsg(message: MsgExecResponse): MsgExecResponseAminoMsg; - fromProtoMsg(message: MsgExecResponseProtoMsg): MsgExecResponse; - toProto(message: MsgExecResponse): Uint8Array; - toProtoMsg(message: MsgExecResponse): MsgExecResponseProtoMsg; -}; -export declare const MsgLeaveGroup: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgLeaveGroup; - isSDK(o: any): o is MsgLeaveGroupSDKType; - isAmino(o: any): o is MsgLeaveGroupAmino; - encode(message: MsgLeaveGroup, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgLeaveGroup; - fromJSON(object: any): MsgLeaveGroup; - toJSON(message: MsgLeaveGroup): unknown; - fromPartial(object: DeepPartial): MsgLeaveGroup; - fromSDK(object: MsgLeaveGroupSDKType): MsgLeaveGroup; - toSDK(message: MsgLeaveGroup): MsgLeaveGroupSDKType; - fromAmino(object: MsgLeaveGroupAmino): MsgLeaveGroup; - toAmino(message: MsgLeaveGroup): MsgLeaveGroupAmino; - fromAminoMsg(object: MsgLeaveGroupAminoMsg): MsgLeaveGroup; - toAminoMsg(message: MsgLeaveGroup): MsgLeaveGroupAminoMsg; - fromProtoMsg(message: MsgLeaveGroupProtoMsg): MsgLeaveGroup; - toProto(message: MsgLeaveGroup): Uint8Array; - toProtoMsg(message: MsgLeaveGroup): MsgLeaveGroupProtoMsg; -}; -export declare const MsgLeaveGroupResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgLeaveGroupResponse; - isSDK(o: any): o is MsgLeaveGroupResponseSDKType; - isAmino(o: any): o is MsgLeaveGroupResponseAmino; - encode(_: MsgLeaveGroupResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgLeaveGroupResponse; - fromJSON(_: any): MsgLeaveGroupResponse; - toJSON(_: MsgLeaveGroupResponse): unknown; - fromPartial(_: DeepPartial): MsgLeaveGroupResponse; - fromSDK(_: MsgLeaveGroupResponseSDKType): MsgLeaveGroupResponse; - toSDK(_: MsgLeaveGroupResponse): MsgLeaveGroupResponseSDKType; - fromAmino(_: MsgLeaveGroupResponseAmino): MsgLeaveGroupResponse; - toAmino(_: MsgLeaveGroupResponse): MsgLeaveGroupResponseAmino; - fromAminoMsg(object: MsgLeaveGroupResponseAminoMsg): MsgLeaveGroupResponse; - toAminoMsg(message: MsgLeaveGroupResponse): MsgLeaveGroupResponseAminoMsg; - fromProtoMsg(message: MsgLeaveGroupResponseProtoMsg): MsgLeaveGroupResponse; - toProto(message: MsgLeaveGroupResponse): Uint8Array; - toProtoMsg(message: MsgLeaveGroupResponse): MsgLeaveGroupResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/group/v1/tx.registry.d.ts b/examples/authz/types/codegen/cosmos/group/v1/tx.registry.d.ts deleted file mode 100644 index 48e2629f..00000000 --- a/examples/authz/types/codegen/cosmos/group/v1/tx.registry.d.ts +++ /dev/null @@ -1,297 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - createGroup(value: MsgCreateGroup): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupMembers(value: MsgUpdateGroupMembers): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupAdmin(value: MsgUpdateGroupAdmin): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupMetadata(value: MsgUpdateGroupMetadata): { - typeUrl: string; - value: Uint8Array; - }; - createGroupPolicy(value: MsgCreateGroupPolicy): { - typeUrl: string; - value: Uint8Array; - }; - createGroupWithPolicy(value: MsgCreateGroupWithPolicy): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: Uint8Array; - }; - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: Uint8Array; - }; - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: Uint8Array; - }; - withdrawProposal(value: MsgWithdrawProposal): { - typeUrl: string; - value: Uint8Array; - }; - vote(value: MsgVote): { - typeUrl: string; - value: Uint8Array; - }; - exec(value: MsgExec): { - typeUrl: string; - value: Uint8Array; - }; - leaveGroup(value: MsgLeaveGroup): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createGroup(value: MsgCreateGroup): { - typeUrl: string; - value: MsgCreateGroup; - }; - updateGroupMembers(value: MsgUpdateGroupMembers): { - typeUrl: string; - value: MsgUpdateGroupMembers; - }; - updateGroupAdmin(value: MsgUpdateGroupAdmin): { - typeUrl: string; - value: MsgUpdateGroupAdmin; - }; - updateGroupMetadata(value: MsgUpdateGroupMetadata): { - typeUrl: string; - value: MsgUpdateGroupMetadata; - }; - createGroupPolicy(value: MsgCreateGroupPolicy): { - typeUrl: string; - value: MsgCreateGroupPolicy; - }; - createGroupWithPolicy(value: MsgCreateGroupWithPolicy): { - typeUrl: string; - value: MsgCreateGroupWithPolicy; - }; - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: MsgUpdateGroupPolicyAdmin; - }; - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: MsgUpdateGroupPolicyDecisionPolicy; - }; - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: MsgUpdateGroupPolicyMetadata; - }; - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: MsgSubmitProposal; - }; - withdrawProposal(value: MsgWithdrawProposal): { - typeUrl: string; - value: MsgWithdrawProposal; - }; - vote(value: MsgVote): { - typeUrl: string; - value: MsgVote; - }; - exec(value: MsgExec): { - typeUrl: string; - value: MsgExec; - }; - leaveGroup(value: MsgLeaveGroup): { - typeUrl: string; - value: MsgLeaveGroup; - }; - }; - toJSON: { - createGroup(value: MsgCreateGroup): { - typeUrl: string; - value: unknown; - }; - updateGroupMembers(value: MsgUpdateGroupMembers): { - typeUrl: string; - value: unknown; - }; - updateGroupAdmin(value: MsgUpdateGroupAdmin): { - typeUrl: string; - value: unknown; - }; - updateGroupMetadata(value: MsgUpdateGroupMetadata): { - typeUrl: string; - value: unknown; - }; - createGroupPolicy(value: MsgCreateGroupPolicy): { - typeUrl: string; - value: unknown; - }; - createGroupWithPolicy(value: MsgCreateGroupWithPolicy): { - typeUrl: string; - value: unknown; - }; - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: unknown; - }; - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: unknown; - }; - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: unknown; - }; - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: unknown; - }; - withdrawProposal(value: MsgWithdrawProposal): { - typeUrl: string; - value: unknown; - }; - vote(value: MsgVote): { - typeUrl: string; - value: unknown; - }; - exec(value: MsgExec): { - typeUrl: string; - value: unknown; - }; - leaveGroup(value: MsgLeaveGroup): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createGroup(value: any): { - typeUrl: string; - value: MsgCreateGroup; - }; - updateGroupMembers(value: any): { - typeUrl: string; - value: MsgUpdateGroupMembers; - }; - updateGroupAdmin(value: any): { - typeUrl: string; - value: MsgUpdateGroupAdmin; - }; - updateGroupMetadata(value: any): { - typeUrl: string; - value: MsgUpdateGroupMetadata; - }; - createGroupPolicy(value: any): { - typeUrl: string; - value: MsgCreateGroupPolicy; - }; - createGroupWithPolicy(value: any): { - typeUrl: string; - value: MsgCreateGroupWithPolicy; - }; - updateGroupPolicyAdmin(value: any): { - typeUrl: string; - value: MsgUpdateGroupPolicyAdmin; - }; - updateGroupPolicyDecisionPolicy(value: any): { - typeUrl: string; - value: MsgUpdateGroupPolicyDecisionPolicy; - }; - updateGroupPolicyMetadata(value: any): { - typeUrl: string; - value: MsgUpdateGroupPolicyMetadata; - }; - submitProposal(value: any): { - typeUrl: string; - value: MsgSubmitProposal; - }; - withdrawProposal(value: any): { - typeUrl: string; - value: MsgWithdrawProposal; - }; - vote(value: any): { - typeUrl: string; - value: MsgVote; - }; - exec(value: any): { - typeUrl: string; - value: MsgExec; - }; - leaveGroup(value: any): { - typeUrl: string; - value: MsgLeaveGroup; - }; - }; - fromPartial: { - createGroup(value: MsgCreateGroup): { - typeUrl: string; - value: MsgCreateGroup; - }; - updateGroupMembers(value: MsgUpdateGroupMembers): { - typeUrl: string; - value: MsgUpdateGroupMembers; - }; - updateGroupAdmin(value: MsgUpdateGroupAdmin): { - typeUrl: string; - value: MsgUpdateGroupAdmin; - }; - updateGroupMetadata(value: MsgUpdateGroupMetadata): { - typeUrl: string; - value: MsgUpdateGroupMetadata; - }; - createGroupPolicy(value: MsgCreateGroupPolicy): { - typeUrl: string; - value: MsgCreateGroupPolicy; - }; - createGroupWithPolicy(value: MsgCreateGroupWithPolicy): { - typeUrl: string; - value: MsgCreateGroupWithPolicy; - }; - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin): { - typeUrl: string; - value: MsgUpdateGroupPolicyAdmin; - }; - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy): { - typeUrl: string; - value: MsgUpdateGroupPolicyDecisionPolicy; - }; - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata): { - typeUrl: string; - value: MsgUpdateGroupPolicyMetadata; - }; - submitProposal(value: MsgSubmitProposal): { - typeUrl: string; - value: MsgSubmitProposal; - }; - withdrawProposal(value: MsgWithdrawProposal): { - typeUrl: string; - value: MsgWithdrawProposal; - }; - vote(value: MsgVote): { - typeUrl: string; - value: MsgVote; - }; - exec(value: MsgExec): { - typeUrl: string; - value: MsgExec; - }; - leaveGroup(value: MsgLeaveGroup): { - typeUrl: string; - value: MsgLeaveGroup; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts deleted file mode 100644 index 9a6fa3ac..00000000 --- a/examples/authz/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx"; -/** Msg is the cosmos.group.v1 Msg service. */ -export interface Msg { - /** CreateGroup creates a new group with an admin account address, a list of members and some optional metadata. */ - createGroup(signerAddress: string, message: MsgCreateGroup, fee: number | StdFee | "auto", memo: string): Promise; - /** UpdateGroupMembers updates the group members with given group id and admin address. */ - updateGroupMembers(signerAddress: string, message: MsgUpdateGroupMembers, fee: number | StdFee | "auto", memo: string): Promise; - /** UpdateGroupAdmin updates the group admin with given group id and previous admin address. */ - updateGroupAdmin(signerAddress: string, message: MsgUpdateGroupAdmin, fee: number | StdFee | "auto", memo: string): Promise; - /** UpdateGroupMetadata updates the group metadata with given group id and admin address. */ - updateGroupMetadata(signerAddress: string, message: MsgUpdateGroupMetadata, fee: number | StdFee | "auto", memo: string): Promise; - /** CreateGroupPolicy creates a new group policy using given DecisionPolicy. */ - createGroupPolicy(signerAddress: string, message: MsgCreateGroupPolicy, fee: number | StdFee | "auto", memo: string): Promise; - /** CreateGroupWithPolicy creates a new group with policy. */ - createGroupWithPolicy(signerAddress: string, message: MsgCreateGroupWithPolicy, fee: number | StdFee | "auto", memo: string): Promise; - /** UpdateGroupPolicyAdmin updates a group policy admin. */ - updateGroupPolicyAdmin(signerAddress: string, message: MsgUpdateGroupPolicyAdmin, fee: number | StdFee | "auto", memo: string): Promise; - /** UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. */ - updateGroupPolicyDecisionPolicy(signerAddress: string, message: MsgUpdateGroupPolicyDecisionPolicy, fee: number | StdFee | "auto", memo: string): Promise; - /** UpdateGroupPolicyMetadata updates a group policy metadata. */ - updateGroupPolicyMetadata(signerAddress: string, message: MsgUpdateGroupPolicyMetadata, fee: number | StdFee | "auto", memo: string): Promise; - /** SubmitProposal submits a new proposal. */ - submitProposal(signerAddress: string, message: MsgSubmitProposal, fee: number | StdFee | "auto", memo: string): Promise; - /** WithdrawProposal aborts a proposal. */ - withdrawProposal(signerAddress: string, message: MsgWithdrawProposal, fee: number | StdFee | "auto", memo: string): Promise; - /** Vote allows a voter to vote on a proposal. */ - vote(signerAddress: string, message: MsgVote, fee: number | StdFee | "auto", memo: string): Promise; - /** Exec executes a proposal. */ - exec(signerAddress: string, message: MsgExec, fee: number | StdFee | "auto", memo: string): Promise; - /** LeaveGroup allows a group member to leave the group. */ - leaveGroup(signerAddress: string, message: MsgLeaveGroup, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - createGroup: (signerAddress: string, message: MsgCreateGroup, fee?: number | StdFee | "auto", memo?: string) => Promise; - updateGroupMembers: (signerAddress: string, message: MsgUpdateGroupMembers, fee?: number | StdFee | "auto", memo?: string) => Promise; - updateGroupAdmin: (signerAddress: string, message: MsgUpdateGroupAdmin, fee?: number | StdFee | "auto", memo?: string) => Promise; - updateGroupMetadata: (signerAddress: string, message: MsgUpdateGroupMetadata, fee?: number | StdFee | "auto", memo?: string) => Promise; - createGroupPolicy: (signerAddress: string, message: MsgCreateGroupPolicy, fee?: number | StdFee | "auto", memo?: string) => Promise; - createGroupWithPolicy: (signerAddress: string, message: MsgCreateGroupWithPolicy, fee?: number | StdFee | "auto", memo?: string) => Promise; - updateGroupPolicyAdmin: (signerAddress: string, message: MsgUpdateGroupPolicyAdmin, fee?: number | StdFee | "auto", memo?: string) => Promise; - updateGroupPolicyDecisionPolicy: (signerAddress: string, message: MsgUpdateGroupPolicyDecisionPolicy, fee?: number | StdFee | "auto", memo?: string) => Promise; - updateGroupPolicyMetadata: (signerAddress: string, message: MsgUpdateGroupPolicyMetadata, fee?: number | StdFee | "auto", memo?: string) => Promise; - submitProposal: (signerAddress: string, message: MsgSubmitProposal, fee?: number | StdFee | "auto", memo?: string) => Promise; - withdrawProposal: (signerAddress: string, message: MsgWithdrawProposal, fee?: number | StdFee | "auto", memo?: string) => Promise; - vote: (signerAddress: string, message: MsgVote, fee?: number | StdFee | "auto", memo?: string) => Promise; - exec: (signerAddress: string, message: MsgExec, fee?: number | StdFee | "auto", memo?: string) => Promise; - leaveGroup: (signerAddress: string, message: MsgLeaveGroup, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/cosmos/group/v1/types.d.ts b/examples/authz/types/codegen/cosmos/group/v1/types.d.ts deleted file mode 100644 index 5576cbc2..00000000 --- a/examples/authz/types/codegen/cosmos/group/v1/types.d.ts +++ /dev/null @@ -1,850 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** VoteOption enumerates the valid vote options for a given proposal. */ -export declare enum VoteOption { - /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */ - VOTE_OPTION_UNSPECIFIED = 0, - /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */ - VOTE_OPTION_YES = 1, - /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */ - VOTE_OPTION_ABSTAIN = 2, - /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */ - VOTE_OPTION_NO = 3, - /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */ - VOTE_OPTION_NO_WITH_VETO = 4, - UNRECOGNIZED = -1 -} -export declare const VoteOptionSDKType: typeof VoteOption; -export declare const VoteOptionAmino: typeof VoteOption; -export declare function voteOptionFromJSON(object: any): VoteOption; -export declare function voteOptionToJSON(object: VoteOption): string; -/** ProposalStatus defines proposal statuses. */ -export declare enum ProposalStatus { - /** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */ - PROPOSAL_STATUS_UNSPECIFIED = 0, - /** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when persisted. */ - PROPOSAL_STATUS_SUBMITTED = 1, - /** PROPOSAL_STATUS_CLOSED - Final status of a proposal when the final tally was executed. */ - PROPOSAL_STATUS_CLOSED = 2, - /** PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group was modified before the final tally. */ - PROPOSAL_STATUS_ABORTED = 3, - /** - * PROPOSAL_STATUS_WITHDRAWN - A proposal can be deleted before the voting start time by the owner. When this happens the final status - * is Withdrawn. - */ - PROPOSAL_STATUS_WITHDRAWN = 4, - UNRECOGNIZED = -1 -} -export declare const ProposalStatusSDKType: typeof ProposalStatus; -export declare const ProposalStatusAmino: typeof ProposalStatus; -export declare function proposalStatusFromJSON(object: any): ProposalStatus; -export declare function proposalStatusToJSON(object: ProposalStatus): string; -/** ProposalResult defines types of proposal results. */ -export declare enum ProposalResult { - /** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */ - PROPOSAL_RESULT_UNSPECIFIED = 0, - /** PROPOSAL_RESULT_UNFINALIZED - Until a final tally has happened the status is unfinalized */ - PROPOSAL_RESULT_UNFINALIZED = 1, - /** PROPOSAL_RESULT_ACCEPTED - Final result of the tally */ - PROPOSAL_RESULT_ACCEPTED = 2, - /** PROPOSAL_RESULT_REJECTED - Final result of the tally */ - PROPOSAL_RESULT_REJECTED = 3, - UNRECOGNIZED = -1 -} -export declare const ProposalResultSDKType: typeof ProposalResult; -export declare const ProposalResultAmino: typeof ProposalResult; -export declare function proposalResultFromJSON(object: any): ProposalResult; -export declare function proposalResultToJSON(object: ProposalResult): string; -/** ProposalExecutorResult defines types of proposal executor results. */ -export declare enum ProposalExecutorResult { - /** PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED - An empty value is not allowed. */ - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0, - /** PROPOSAL_EXECUTOR_RESULT_NOT_RUN - We have not yet run the executor. */ - PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1, - /** PROPOSAL_EXECUTOR_RESULT_SUCCESS - The executor was successful and proposed action updated state. */ - PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2, - /** PROPOSAL_EXECUTOR_RESULT_FAILURE - The executor returned an error and proposed action didn't update state. */ - PROPOSAL_EXECUTOR_RESULT_FAILURE = 3, - UNRECOGNIZED = -1 -} -export declare const ProposalExecutorResultSDKType: typeof ProposalExecutorResult; -export declare const ProposalExecutorResultAmino: typeof ProposalExecutorResult; -export declare function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult; -export declare function proposalExecutorResultToJSON(object: ProposalExecutorResult): string; -/** - * Member represents a group member with an account address, - * non-zero weight and metadata. - */ -export interface Member { - /** address is the member's account address. */ - address: string; - /** weight is the member's voting weight that should be greater than 0. */ - weight: string; - /** metadata is any arbitrary metadata to attached to the member. */ - metadata: string; - /** added_at is a timestamp specifying when a member was added. */ - addedAt: Date | undefined; -} -export interface MemberProtoMsg { - typeUrl: "/cosmos.group.v1.Member"; - value: Uint8Array; -} -/** - * Member represents a group member with an account address, - * non-zero weight and metadata. - */ -export interface MemberAmino { - /** address is the member's account address. */ - address?: string; - /** weight is the member's voting weight that should be greater than 0. */ - weight?: string; - /** metadata is any arbitrary metadata to attached to the member. */ - metadata?: string; - /** added_at is a timestamp specifying when a member was added. */ - added_at?: string | undefined; -} -export interface MemberAminoMsg { - type: "cosmos-sdk/Member"; - value: MemberAmino; -} -/** - * Member represents a group member with an account address, - * non-zero weight and metadata. - */ -export interface MemberSDKType { - address: string; - weight: string; - metadata: string; - added_at: Date | undefined; -} -/** Members defines a repeated slice of Member objects. */ -export interface Members { - /** members is the list of members. */ - members: Member[]; -} -export interface MembersProtoMsg { - typeUrl: "/cosmos.group.v1.Members"; - value: Uint8Array; -} -/** Members defines a repeated slice of Member objects. */ -export interface MembersAmino { - /** members is the list of members. */ - members?: MemberAmino[]; -} -export interface MembersAminoMsg { - type: "cosmos-sdk/Members"; - value: MembersAmino; -} -/** Members defines a repeated slice of Member objects. */ -export interface MembersSDKType { - members: MemberSDKType[]; -} -/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ -export interface ThresholdDecisionPolicy { - $typeUrl?: "/cosmos.group.v1.ThresholdDecisionPolicy"; - /** threshold is the minimum weighted sum of yes votes that must be met or exceeded for a proposal to succeed. */ - threshold: string; - /** windows defines the different windows for voting and execution. */ - windows?: DecisionPolicyWindows | undefined; -} -export interface ThresholdDecisionPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.ThresholdDecisionPolicy"; - value: Uint8Array; -} -/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ -export interface ThresholdDecisionPolicyAmino { - /** threshold is the minimum weighted sum of yes votes that must be met or exceeded for a proposal to succeed. */ - threshold?: string; - /** windows defines the different windows for voting and execution. */ - windows?: DecisionPolicyWindowsAmino | undefined; -} -export interface ThresholdDecisionPolicyAminoMsg { - type: "cosmos-sdk/ThresholdDecisionPolicy"; - value: ThresholdDecisionPolicyAmino; -} -/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ -export interface ThresholdDecisionPolicySDKType { - $typeUrl?: "/cosmos.group.v1.ThresholdDecisionPolicy"; - threshold: string; - windows?: DecisionPolicyWindowsSDKType | undefined; -} -/** PercentageDecisionPolicy implements the DecisionPolicy interface */ -export interface PercentageDecisionPolicy { - $typeUrl?: "/cosmos.group.v1.PercentageDecisionPolicy"; - /** percentage is the minimum percentage the weighted sum of yes votes must meet for a proposal to succeed. */ - percentage: string; - /** windows defines the different windows for voting and execution. */ - windows?: DecisionPolicyWindows | undefined; -} -export interface PercentageDecisionPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.PercentageDecisionPolicy"; - value: Uint8Array; -} -/** PercentageDecisionPolicy implements the DecisionPolicy interface */ -export interface PercentageDecisionPolicyAmino { - /** percentage is the minimum percentage the weighted sum of yes votes must meet for a proposal to succeed. */ - percentage?: string; - /** windows defines the different windows for voting and execution. */ - windows?: DecisionPolicyWindowsAmino | undefined; -} -export interface PercentageDecisionPolicyAminoMsg { - type: "cosmos-sdk/PercentageDecisionPolicy"; - value: PercentageDecisionPolicyAmino; -} -/** PercentageDecisionPolicy implements the DecisionPolicy interface */ -export interface PercentageDecisionPolicySDKType { - $typeUrl?: "/cosmos.group.v1.PercentageDecisionPolicy"; - percentage: string; - windows?: DecisionPolicyWindowsSDKType | undefined; -} -/** DecisionPolicyWindows defines the different windows for voting and execution. */ -export interface DecisionPolicyWindows { - /** - * voting_period is the duration from submission of a proposal to the end of voting period - * Within this times votes can be submitted with MsgVote. - */ - votingPeriod: Duration | undefined; - /** - * min_execution_period is the minimum duration after the proposal submission - * where members can start sending MsgExec. This means that the window for - * sending a MsgExec transaction is: - * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]` - * where max_execution_period is a app-specific config, defined in the keeper. - * If not set, min_execution_period will default to 0. - * - * Please make sure to set a `min_execution_period` that is smaller than - * `voting_period + max_execution_period`, or else the above execution window - * is empty, meaning that all proposals created with this decision policy - * won't be able to be executed. - */ - minExecutionPeriod: Duration | undefined; -} -export interface DecisionPolicyWindowsProtoMsg { - typeUrl: "/cosmos.group.v1.DecisionPolicyWindows"; - value: Uint8Array; -} -/** DecisionPolicyWindows defines the different windows for voting and execution. */ -export interface DecisionPolicyWindowsAmino { - /** - * voting_period is the duration from submission of a proposal to the end of voting period - * Within this times votes can be submitted with MsgVote. - */ - voting_period?: DurationAmino | undefined; - /** - * min_execution_period is the minimum duration after the proposal submission - * where members can start sending MsgExec. This means that the window for - * sending a MsgExec transaction is: - * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]` - * where max_execution_period is a app-specific config, defined in the keeper. - * If not set, min_execution_period will default to 0. - * - * Please make sure to set a `min_execution_period` that is smaller than - * `voting_period + max_execution_period`, or else the above execution window - * is empty, meaning that all proposals created with this decision policy - * won't be able to be executed. - */ - min_execution_period?: DurationAmino | undefined; -} -export interface DecisionPolicyWindowsAminoMsg { - type: "cosmos-sdk/DecisionPolicyWindows"; - value: DecisionPolicyWindowsAmino; -} -/** DecisionPolicyWindows defines the different windows for voting and execution. */ -export interface DecisionPolicyWindowsSDKType { - voting_period: DurationSDKType | undefined; - min_execution_period: DurationSDKType | undefined; -} -/** GroupInfo represents the high-level on-chain information for a group. */ -export interface GroupInfo { - /** id is the unique ID of the group. */ - id: bigint; - /** admin is the account address of the group's admin. */ - admin: string; - /** metadata is any arbitrary metadata to attached to the group. */ - metadata: string; - /** - * version is used to track changes to a group's membership structure that - * would break existing proposals. Whenever any members weight is changed, - * or any member is added or removed this version is incremented and will - * cause proposals based on older versions of this group to fail - */ - version: bigint; - /** total_weight is the sum of the group members' weights. */ - totalWeight: string; - /** created_at is a timestamp specifying when a group was created. */ - createdAt: Date | undefined; -} -export interface GroupInfoProtoMsg { - typeUrl: "/cosmos.group.v1.GroupInfo"; - value: Uint8Array; -} -/** GroupInfo represents the high-level on-chain information for a group. */ -export interface GroupInfoAmino { - /** id is the unique ID of the group. */ - id?: string; - /** admin is the account address of the group's admin. */ - admin?: string; - /** metadata is any arbitrary metadata to attached to the group. */ - metadata?: string; - /** - * version is used to track changes to a group's membership structure that - * would break existing proposals. Whenever any members weight is changed, - * or any member is added or removed this version is incremented and will - * cause proposals based on older versions of this group to fail - */ - version?: string; - /** total_weight is the sum of the group members' weights. */ - total_weight?: string; - /** created_at is a timestamp specifying when a group was created. */ - created_at?: string | undefined; -} -export interface GroupInfoAminoMsg { - type: "cosmos-sdk/GroupInfo"; - value: GroupInfoAmino; -} -/** GroupInfo represents the high-level on-chain information for a group. */ -export interface GroupInfoSDKType { - id: bigint; - admin: string; - metadata: string; - version: bigint; - total_weight: string; - created_at: Date | undefined; -} -/** GroupMember represents the relationship between a group and a member. */ -export interface GroupMember { - /** group_id is the unique ID of the group. */ - groupId: bigint; - /** member is the member data. */ - member?: Member | undefined; -} -export interface GroupMemberProtoMsg { - typeUrl: "/cosmos.group.v1.GroupMember"; - value: Uint8Array; -} -/** GroupMember represents the relationship between a group and a member. */ -export interface GroupMemberAmino { - /** group_id is the unique ID of the group. */ - group_id?: string; - /** member is the member data. */ - member?: MemberAmino | undefined; -} -export interface GroupMemberAminoMsg { - type: "cosmos-sdk/GroupMember"; - value: GroupMemberAmino; -} -/** GroupMember represents the relationship between a group and a member. */ -export interface GroupMemberSDKType { - group_id: bigint; - member?: MemberSDKType | undefined; -} -/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ -export interface GroupPolicyInfo { - /** address is the account address of group policy. */ - address: string; - /** group_id is the unique ID of the group. */ - groupId: bigint; - /** admin is the account address of the group admin. */ - admin: string; - /** metadata is any arbitrary metadata to attached to the group policy. */ - metadata: string; - /** - * version is used to track changes to a group's GroupPolicyInfo structure that - * would create a different result on a running proposal. - */ - version: bigint; - /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy?: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined; - /** created_at is a timestamp specifying when a group policy was created. */ - createdAt: Date | undefined; -} -export interface GroupPolicyInfoProtoMsg { - typeUrl: "/cosmos.group.v1.GroupPolicyInfo"; - value: Uint8Array; -} -export type GroupPolicyInfoEncoded = Omit & { - /** decision_policy specifies the group policy's decision policy. */ decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined; -}; -/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ -export interface GroupPolicyInfoAmino { - /** address is the account address of group policy. */ - address?: string; - /** group_id is the unique ID of the group. */ - group_id?: string; - /** admin is the account address of the group admin. */ - admin?: string; - /** metadata is any arbitrary metadata to attached to the group policy. */ - metadata?: string; - /** - * version is used to track changes to a group's GroupPolicyInfo structure that - * would create a different result on a running proposal. - */ - version?: string; - /** decision_policy specifies the group policy's decision policy. */ - decision_policy?: AnyAmino | undefined; - /** created_at is a timestamp specifying when a group policy was created. */ - created_at?: string | undefined; -} -export interface GroupPolicyInfoAminoMsg { - type: "cosmos-sdk/GroupPolicyInfo"; - value: GroupPolicyInfoAmino; -} -/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ -export interface GroupPolicyInfoSDKType { - address: string; - group_id: bigint; - admin: string; - metadata: string; - version: bigint; - decision_policy?: ThresholdDecisionPolicySDKType | PercentageDecisionPolicySDKType | AnySDKType | undefined; - created_at: Date | undefined; -} -/** - * Proposal defines a group proposal. Any member of a group can submit a proposal - * for a group policy to decide upon. - * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal - * passes as well as some optional metadata associated with the proposal. - */ -export interface Proposal { - /** id is the unique id of the proposal. */ - id: bigint; - /** address is the account address of group policy. */ - address: string; - /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata: string; - /** proposers are the account addresses of the proposers. */ - proposers: string[]; - /** submit_time is a timestamp specifying when a proposal was submitted. */ - submitTime: Date | undefined; - /** - * group_version tracks the version of the group that this proposal corresponds to. - * When group membership is changed, existing proposals from previous group versions will become invalid. - */ - groupVersion: bigint; - /** - * group_policy_version tracks the version of the group policy that this proposal corresponds to. - * When a decision policy is changed, existing proposals from previous policy versions will become invalid. - */ - groupPolicyVersion: bigint; - /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ - status: ProposalStatus; - /** - * result is the final result based on the votes and election rule. Initial value is unfinalized. - * The result is persisted so that clients can always rely on this state and not have to replicate the logic. - */ - result: ProposalResult; - /** - * final_tally_result contains the sums of all weighted votes for this - * proposal for each vote option, after tallying. When querying a proposal - * via gRPC, this field is not populated until the proposal's voting period - * has ended. - */ - finalTallyResult: TallyResult | undefined; - /** - * voting_period_end is the timestamp before which voting must be done. - * Unless a successfull MsgExec is called before (to execute a proposal whose - * tally is successful before the voting period ends), tallying will be done - * at this point, and the `final_tally_result`, as well - * as `status` and `result` fields will be accordingly updated. - */ - votingPeriodEnd: Date | undefined; - /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ - executorResult: ProposalExecutorResult; - /** messages is a list of Msgs that will be executed if the proposal passes. */ - messages: Any[]; -} -export interface ProposalProtoMsg { - typeUrl: "/cosmos.group.v1.Proposal"; - value: Uint8Array; -} -/** - * Proposal defines a group proposal. Any member of a group can submit a proposal - * for a group policy to decide upon. - * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal - * passes as well as some optional metadata associated with the proposal. - */ -export interface ProposalAmino { - /** id is the unique id of the proposal. */ - id?: string; - /** address is the account address of group policy. */ - address?: string; - /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata?: string; - /** proposers are the account addresses of the proposers. */ - proposers?: string[]; - /** submit_time is a timestamp specifying when a proposal was submitted. */ - submit_time?: string | undefined; - /** - * group_version tracks the version of the group that this proposal corresponds to. - * When group membership is changed, existing proposals from previous group versions will become invalid. - */ - group_version?: string; - /** - * group_policy_version tracks the version of the group policy that this proposal corresponds to. - * When a decision policy is changed, existing proposals from previous policy versions will become invalid. - */ - group_policy_version?: string; - /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ - status?: ProposalStatus; - /** - * result is the final result based on the votes and election rule. Initial value is unfinalized. - * The result is persisted so that clients can always rely on this state and not have to replicate the logic. - */ - result?: ProposalResult; - /** - * final_tally_result contains the sums of all weighted votes for this - * proposal for each vote option, after tallying. When querying a proposal - * via gRPC, this field is not populated until the proposal's voting period - * has ended. - */ - final_tally_result?: TallyResultAmino | undefined; - /** - * voting_period_end is the timestamp before which voting must be done. - * Unless a successfull MsgExec is called before (to execute a proposal whose - * tally is successful before the voting period ends), tallying will be done - * at this point, and the `final_tally_result`, as well - * as `status` and `result` fields will be accordingly updated. - */ - voting_period_end?: string | undefined; - /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ - executor_result?: ProposalExecutorResult; - /** messages is a list of Msgs that will be executed if the proposal passes. */ - messages?: AnyAmino[]; -} -export interface ProposalAminoMsg { - type: "cosmos-sdk/Proposal"; - value: ProposalAmino; -} -/** - * Proposal defines a group proposal. Any member of a group can submit a proposal - * for a group policy to decide upon. - * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal - * passes as well as some optional metadata associated with the proposal. - */ -export interface ProposalSDKType { - id: bigint; - address: string; - metadata: string; - proposers: string[]; - submit_time: Date | undefined; - group_version: bigint; - group_policy_version: bigint; - status: ProposalStatus; - result: ProposalResult; - final_tally_result: TallyResultSDKType | undefined; - voting_period_end: Date | undefined; - executor_result: ProposalExecutorResult; - messages: AnySDKType[]; -} -/** TallyResult represents the sum of weighted votes for each vote option. */ -export interface TallyResult { - /** yes_count is the weighted sum of yes votes. */ - yesCount: string; - /** abstain_count is the weighted sum of abstainers. */ - abstainCount: string; - /** no is the weighted sum of no votes. */ - noCount: string; - /** no_with_veto_count is the weighted sum of veto. */ - noWithVetoCount: string; -} -export interface TallyResultProtoMsg { - typeUrl: "/cosmos.group.v1.TallyResult"; - value: Uint8Array; -} -/** TallyResult represents the sum of weighted votes for each vote option. */ -export interface TallyResultAmino { - /** yes_count is the weighted sum of yes votes. */ - yes_count?: string; - /** abstain_count is the weighted sum of abstainers. */ - abstain_count?: string; - /** no is the weighted sum of no votes. */ - no_count?: string; - /** no_with_veto_count is the weighted sum of veto. */ - no_with_veto_count?: string; -} -export interface TallyResultAminoMsg { - type: "cosmos-sdk/TallyResult"; - value: TallyResultAmino; -} -/** TallyResult represents the sum of weighted votes for each vote option. */ -export interface TallyResultSDKType { - yes_count: string; - abstain_count: string; - no_count: string; - no_with_veto_count: string; -} -/** Vote represents a vote for a proposal. */ -export interface Vote { - /** proposal is the unique ID of the proposal. */ - proposalId: bigint; - /** voter is the account address of the voter. */ - voter: string; - /** option is the voter's choice on the proposal. */ - option: VoteOption; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; - /** submit_time is the timestamp when the vote was submitted. */ - submitTime: Date | undefined; -} -export interface VoteProtoMsg { - typeUrl: "/cosmos.group.v1.Vote"; - value: Uint8Array; -} -/** Vote represents a vote for a proposal. */ -export interface VoteAmino { - /** proposal is the unique ID of the proposal. */ - proposal_id?: string; - /** voter is the account address of the voter. */ - voter?: string; - /** option is the voter's choice on the proposal. */ - option?: VoteOption; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata?: string; - /** submit_time is the timestamp when the vote was submitted. */ - submit_time?: string | undefined; -} -export interface VoteAminoMsg { - type: "cosmos-sdk/Vote"; - value: VoteAmino; -} -/** Vote represents a vote for a proposal. */ -export interface VoteSDKType { - proposal_id: bigint; - voter: string; - option: VoteOption; - metadata: string; - submit_time: Date | undefined; -} -export declare const Member: { - typeUrl: string; - aminoType: string; - is(o: any): o is Member; - isSDK(o: any): o is MemberSDKType; - isAmino(o: any): o is MemberAmino; - encode(message: Member, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Member; - fromJSON(object: any): Member; - toJSON(message: Member): unknown; - fromPartial(object: DeepPartial): Member; - fromSDK(object: MemberSDKType): Member; - toSDK(message: Member): MemberSDKType; - fromAmino(object: MemberAmino): Member; - toAmino(message: Member): MemberAmino; - fromAminoMsg(object: MemberAminoMsg): Member; - toAminoMsg(message: Member): MemberAminoMsg; - fromProtoMsg(message: MemberProtoMsg): Member; - toProto(message: Member): Uint8Array; - toProtoMsg(message: Member): MemberProtoMsg; -}; -export declare const Members: { - typeUrl: string; - aminoType: string; - is(o: any): o is Members; - isSDK(o: any): o is MembersSDKType; - isAmino(o: any): o is MembersAmino; - encode(message: Members, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Members; - fromJSON(object: any): Members; - toJSON(message: Members): unknown; - fromPartial(object: DeepPartial): Members; - fromSDK(object: MembersSDKType): Members; - toSDK(message: Members): MembersSDKType; - fromAmino(object: MembersAmino): Members; - toAmino(message: Members): MembersAmino; - fromAminoMsg(object: MembersAminoMsg): Members; - toAminoMsg(message: Members): MembersAminoMsg; - fromProtoMsg(message: MembersProtoMsg): Members; - toProto(message: Members): Uint8Array; - toProtoMsg(message: Members): MembersProtoMsg; -}; -export declare const ThresholdDecisionPolicy: { - typeUrl: string; - aminoType: string; - is(o: any): o is ThresholdDecisionPolicy; - isSDK(o: any): o is ThresholdDecisionPolicySDKType; - isAmino(o: any): o is ThresholdDecisionPolicyAmino; - encode(message: ThresholdDecisionPolicy, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ThresholdDecisionPolicy; - fromJSON(object: any): ThresholdDecisionPolicy; - toJSON(message: ThresholdDecisionPolicy): unknown; - fromPartial(object: DeepPartial): ThresholdDecisionPolicy; - fromSDK(object: ThresholdDecisionPolicySDKType): ThresholdDecisionPolicy; - toSDK(message: ThresholdDecisionPolicy): ThresholdDecisionPolicySDKType; - fromAmino(object: ThresholdDecisionPolicyAmino): ThresholdDecisionPolicy; - toAmino(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyAmino; - fromAminoMsg(object: ThresholdDecisionPolicyAminoMsg): ThresholdDecisionPolicy; - toAminoMsg(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyAminoMsg; - fromProtoMsg(message: ThresholdDecisionPolicyProtoMsg): ThresholdDecisionPolicy; - toProto(message: ThresholdDecisionPolicy): Uint8Array; - toProtoMsg(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyProtoMsg; -}; -export declare const PercentageDecisionPolicy: { - typeUrl: string; - aminoType: string; - is(o: any): o is PercentageDecisionPolicy; - isSDK(o: any): o is PercentageDecisionPolicySDKType; - isAmino(o: any): o is PercentageDecisionPolicyAmino; - encode(message: PercentageDecisionPolicy, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PercentageDecisionPolicy; - fromJSON(object: any): PercentageDecisionPolicy; - toJSON(message: PercentageDecisionPolicy): unknown; - fromPartial(object: DeepPartial): PercentageDecisionPolicy; - fromSDK(object: PercentageDecisionPolicySDKType): PercentageDecisionPolicy; - toSDK(message: PercentageDecisionPolicy): PercentageDecisionPolicySDKType; - fromAmino(object: PercentageDecisionPolicyAmino): PercentageDecisionPolicy; - toAmino(message: PercentageDecisionPolicy): PercentageDecisionPolicyAmino; - fromAminoMsg(object: PercentageDecisionPolicyAminoMsg): PercentageDecisionPolicy; - toAminoMsg(message: PercentageDecisionPolicy): PercentageDecisionPolicyAminoMsg; - fromProtoMsg(message: PercentageDecisionPolicyProtoMsg): PercentageDecisionPolicy; - toProto(message: PercentageDecisionPolicy): Uint8Array; - toProtoMsg(message: PercentageDecisionPolicy): PercentageDecisionPolicyProtoMsg; -}; -export declare const DecisionPolicyWindows: { - typeUrl: string; - aminoType: string; - is(o: any): o is DecisionPolicyWindows; - isSDK(o: any): o is DecisionPolicyWindowsSDKType; - isAmino(o: any): o is DecisionPolicyWindowsAmino; - encode(message: DecisionPolicyWindows, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DecisionPolicyWindows; - fromJSON(object: any): DecisionPolicyWindows; - toJSON(message: DecisionPolicyWindows): unknown; - fromPartial(object: DeepPartial): DecisionPolicyWindows; - fromSDK(object: DecisionPolicyWindowsSDKType): DecisionPolicyWindows; - toSDK(message: DecisionPolicyWindows): DecisionPolicyWindowsSDKType; - fromAmino(object: DecisionPolicyWindowsAmino): DecisionPolicyWindows; - toAmino(message: DecisionPolicyWindows): DecisionPolicyWindowsAmino; - fromAminoMsg(object: DecisionPolicyWindowsAminoMsg): DecisionPolicyWindows; - toAminoMsg(message: DecisionPolicyWindows): DecisionPolicyWindowsAminoMsg; - fromProtoMsg(message: DecisionPolicyWindowsProtoMsg): DecisionPolicyWindows; - toProto(message: DecisionPolicyWindows): Uint8Array; - toProtoMsg(message: DecisionPolicyWindows): DecisionPolicyWindowsProtoMsg; -}; -export declare const GroupInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is GroupInfo; - isSDK(o: any): o is GroupInfoSDKType; - isAmino(o: any): o is GroupInfoAmino; - encode(message: GroupInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GroupInfo; - fromJSON(object: any): GroupInfo; - toJSON(message: GroupInfo): unknown; - fromPartial(object: DeepPartial): GroupInfo; - fromSDK(object: GroupInfoSDKType): GroupInfo; - toSDK(message: GroupInfo): GroupInfoSDKType; - fromAmino(object: GroupInfoAmino): GroupInfo; - toAmino(message: GroupInfo): GroupInfoAmino; - fromAminoMsg(object: GroupInfoAminoMsg): GroupInfo; - toAminoMsg(message: GroupInfo): GroupInfoAminoMsg; - fromProtoMsg(message: GroupInfoProtoMsg): GroupInfo; - toProto(message: GroupInfo): Uint8Array; - toProtoMsg(message: GroupInfo): GroupInfoProtoMsg; -}; -export declare const GroupMember: { - typeUrl: string; - aminoType: string; - is(o: any): o is GroupMember; - isSDK(o: any): o is GroupMemberSDKType; - isAmino(o: any): o is GroupMemberAmino; - encode(message: GroupMember, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GroupMember; - fromJSON(object: any): GroupMember; - toJSON(message: GroupMember): unknown; - fromPartial(object: DeepPartial): GroupMember; - fromSDK(object: GroupMemberSDKType): GroupMember; - toSDK(message: GroupMember): GroupMemberSDKType; - fromAmino(object: GroupMemberAmino): GroupMember; - toAmino(message: GroupMember): GroupMemberAmino; - fromAminoMsg(object: GroupMemberAminoMsg): GroupMember; - toAminoMsg(message: GroupMember): GroupMemberAminoMsg; - fromProtoMsg(message: GroupMemberProtoMsg): GroupMember; - toProto(message: GroupMember): Uint8Array; - toProtoMsg(message: GroupMember): GroupMemberProtoMsg; -}; -export declare const GroupPolicyInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is GroupPolicyInfo; - isSDK(o: any): o is GroupPolicyInfoSDKType; - isAmino(o: any): o is GroupPolicyInfoAmino; - encode(message: GroupPolicyInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GroupPolicyInfo; - fromJSON(object: any): GroupPolicyInfo; - toJSON(message: GroupPolicyInfo): unknown; - fromPartial(object: DeepPartial): GroupPolicyInfo; - fromSDK(object: GroupPolicyInfoSDKType): GroupPolicyInfo; - toSDK(message: GroupPolicyInfo): GroupPolicyInfoSDKType; - fromAmino(object: GroupPolicyInfoAmino): GroupPolicyInfo; - toAmino(message: GroupPolicyInfo): GroupPolicyInfoAmino; - fromAminoMsg(object: GroupPolicyInfoAminoMsg): GroupPolicyInfo; - toAminoMsg(message: GroupPolicyInfo): GroupPolicyInfoAminoMsg; - fromProtoMsg(message: GroupPolicyInfoProtoMsg): GroupPolicyInfo; - toProto(message: GroupPolicyInfo): Uint8Array; - toProtoMsg(message: GroupPolicyInfo): GroupPolicyInfoProtoMsg; -}; -export declare const Proposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is Proposal; - isSDK(o: any): o is ProposalSDKType; - isAmino(o: any): o is ProposalAmino; - encode(message: Proposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Proposal; - fromJSON(object: any): Proposal; - toJSON(message: Proposal): unknown; - fromPartial(object: DeepPartial): Proposal; - fromSDK(object: ProposalSDKType): Proposal; - toSDK(message: Proposal): ProposalSDKType; - fromAmino(object: ProposalAmino): Proposal; - toAmino(message: Proposal): ProposalAmino; - fromAminoMsg(object: ProposalAminoMsg): Proposal; - toAminoMsg(message: Proposal): ProposalAminoMsg; - fromProtoMsg(message: ProposalProtoMsg): Proposal; - toProto(message: Proposal): Uint8Array; - toProtoMsg(message: Proposal): ProposalProtoMsg; -}; -export declare const TallyResult: { - typeUrl: string; - aminoType: string; - is(o: any): o is TallyResult; - isSDK(o: any): o is TallyResultSDKType; - isAmino(o: any): o is TallyResultAmino; - encode(message: TallyResult, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TallyResult; - fromJSON(object: any): TallyResult; - toJSON(message: TallyResult): unknown; - fromPartial(object: DeepPartial): TallyResult; - fromSDK(object: TallyResultSDKType): TallyResult; - toSDK(message: TallyResult): TallyResultSDKType; - fromAmino(object: TallyResultAmino): TallyResult; - toAmino(message: TallyResult): TallyResultAmino; - fromAminoMsg(object: TallyResultAminoMsg): TallyResult; - toAminoMsg(message: TallyResult): TallyResultAminoMsg; - fromProtoMsg(message: TallyResultProtoMsg): TallyResult; - toProto(message: TallyResult): Uint8Array; - toProtoMsg(message: TallyResult): TallyResultProtoMsg; -}; -export declare const Vote: { - typeUrl: string; - aminoType: string; - is(o: any): o is Vote; - isSDK(o: any): o is VoteSDKType; - isAmino(o: any): o is VoteAmino; - encode(message: Vote, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Vote; - fromJSON(object: any): Vote; - toJSON(message: Vote): unknown; - fromPartial(object: DeepPartial): Vote; - fromSDK(object: VoteSDKType): Vote; - toSDK(message: Vote): VoteSDKType; - fromAmino(object: VoteAmino): Vote; - toAmino(message: Vote): VoteAmino; - fromAminoMsg(object: VoteAminoMsg): Vote; - toAminoMsg(message: Vote): VoteAminoMsg; - fromProtoMsg(message: VoteProtoMsg): Vote; - toProto(message: Vote): Uint8Array; - toProtoMsg(message: Vote): VoteProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/mint/v1beta1/genesis.d.ts b/examples/authz/types/codegen/cosmos/mint/v1beta1/genesis.d.ts deleted file mode 100644 index 5daa2dd7..00000000 --- a/examples/authz/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Minter, MinterAmino, MinterSDKType, Params, ParamsAmino, ParamsSDKType } from "./mint"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the mint module's genesis state. */ -export interface GenesisState { - /** minter is a space for holding current inflation information. */ - minter: Minter | undefined; - /** params defines all the paramaters of the module. */ - params: Params | undefined; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the mint module's genesis state. */ -export interface GenesisStateAmino { - /** minter is a space for holding current inflation information. */ - minter?: MinterAmino | undefined; - /** params defines all the paramaters of the module. */ - params?: ParamsAmino | undefined; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the mint module's genesis state. */ -export interface GenesisStateSDKType { - minter: MinterSDKType | undefined; - params: ParamsSDKType | undefined; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/mint/v1beta1/mint.d.ts b/examples/authz/types/codegen/cosmos/mint/v1beta1/mint.d.ts deleted file mode 100644 index e3105a26..00000000 --- a/examples/authz/types/codegen/cosmos/mint/v1beta1/mint.d.ts +++ /dev/null @@ -1,118 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** Minter represents the minting state. */ -export interface Minter { - /** current annual inflation rate */ - inflation: string; - /** current annual expected provisions */ - annualProvisions: string; -} -export interface MinterProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.Minter"; - value: Uint8Array; -} -/** Minter represents the minting state. */ -export interface MinterAmino { - /** current annual inflation rate */ - inflation?: string; - /** current annual expected provisions */ - annual_provisions?: string; -} -export interface MinterAminoMsg { - type: "cosmos-sdk/Minter"; - value: MinterAmino; -} -/** Minter represents the minting state. */ -export interface MinterSDKType { - inflation: string; - annual_provisions: string; -} -/** Params holds parameters for the mint module. */ -export interface Params { - /** type of coin to mint */ - mintDenom: string; - /** maximum annual change in inflation rate */ - inflationRateChange: string; - /** maximum inflation rate */ - inflationMax: string; - /** minimum inflation rate */ - inflationMin: string; - /** goal of percent bonded atoms */ - goalBonded: string; - /** expected blocks per year */ - blocksPerYear: bigint; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.Params"; - value: Uint8Array; -} -/** Params holds parameters for the mint module. */ -export interface ParamsAmino { - /** type of coin to mint */ - mint_denom?: string; - /** maximum annual change in inflation rate */ - inflation_rate_change?: string; - /** maximum inflation rate */ - inflation_max?: string; - /** minimum inflation rate */ - inflation_min?: string; - /** goal of percent bonded atoms */ - goal_bonded?: string; - /** expected blocks per year */ - blocks_per_year?: string; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params holds parameters for the mint module. */ -export interface ParamsSDKType { - mint_denom: string; - inflation_rate_change: string; - inflation_max: string; - inflation_min: string; - goal_bonded: string; - blocks_per_year: bigint; -} -export declare const Minter: { - typeUrl: string; - aminoType: string; - is(o: any): o is Minter; - isSDK(o: any): o is MinterSDKType; - isAmino(o: any): o is MinterAmino; - encode(message: Minter, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Minter; - fromJSON(object: any): Minter; - toJSON(message: Minter): unknown; - fromPartial(object: DeepPartial): Minter; - fromSDK(object: MinterSDKType): Minter; - toSDK(message: Minter): MinterSDKType; - fromAmino(object: MinterAmino): Minter; - toAmino(message: Minter): MinterAmino; - fromAminoMsg(object: MinterAminoMsg): Minter; - toAminoMsg(message: Minter): MinterAminoMsg; - fromProtoMsg(message: MinterProtoMsg): Minter; - toProto(message: Minter): Uint8Array; - toProtoMsg(message: Minter): MinterProtoMsg; -}; -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/mint/v1beta1/query.d.ts b/examples/authz/types/codegen/cosmos/mint/v1beta1/query.d.ts deleted file mode 100644 index 5fbb521c..00000000 --- a/examples/authz/types/codegen/cosmos/mint/v1beta1/query.d.ts +++ /dev/null @@ -1,273 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType } from "./mint"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params: Params | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; -} -/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ -export interface QueryInflationRequest { -} -export interface QueryInflationRequestProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryInflationRequest"; - value: Uint8Array; -} -/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ -export interface QueryInflationRequestAmino { -} -export interface QueryInflationRequestAminoMsg { - type: "cosmos-sdk/QueryInflationRequest"; - value: QueryInflationRequestAmino; -} -/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ -export interface QueryInflationRequestSDKType { -} -/** - * QueryInflationResponse is the response type for the Query/Inflation RPC - * method. - */ -export interface QueryInflationResponse { - /** inflation is the current minting inflation value. */ - inflation: Uint8Array; -} -export interface QueryInflationResponseProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryInflationResponse"; - value: Uint8Array; -} -/** - * QueryInflationResponse is the response type for the Query/Inflation RPC - * method. - */ -export interface QueryInflationResponseAmino { - /** inflation is the current minting inflation value. */ - inflation?: string; -} -export interface QueryInflationResponseAminoMsg { - type: "cosmos-sdk/QueryInflationResponse"; - value: QueryInflationResponseAmino; -} -/** - * QueryInflationResponse is the response type for the Query/Inflation RPC - * method. - */ -export interface QueryInflationResponseSDKType { - inflation: Uint8Array; -} -/** - * QueryAnnualProvisionsRequest is the request type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsRequest { -} -export interface QueryAnnualProvisionsRequestProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryAnnualProvisionsRequest"; - value: Uint8Array; -} -/** - * QueryAnnualProvisionsRequest is the request type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsRequestAmino { -} -export interface QueryAnnualProvisionsRequestAminoMsg { - type: "cosmos-sdk/QueryAnnualProvisionsRequest"; - value: QueryAnnualProvisionsRequestAmino; -} -/** - * QueryAnnualProvisionsRequest is the request type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsRequestSDKType { -} -/** - * QueryAnnualProvisionsResponse is the response type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsResponse { - /** annual_provisions is the current minting annual provisions value. */ - annualProvisions: Uint8Array; -} -export interface QueryAnnualProvisionsResponseProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryAnnualProvisionsResponse"; - value: Uint8Array; -} -/** - * QueryAnnualProvisionsResponse is the response type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsResponseAmino { - /** annual_provisions is the current minting annual provisions value. */ - annual_provisions?: string; -} -export interface QueryAnnualProvisionsResponseAminoMsg { - type: "cosmos-sdk/QueryAnnualProvisionsResponse"; - value: QueryAnnualProvisionsResponseAmino; -} -/** - * QueryAnnualProvisionsResponse is the response type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsResponseSDKType { - annual_provisions: Uint8Array; -} -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: DeepPartial): QueryParamsRequest; - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryInflationRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryInflationRequest; - isSDK(o: any): o is QueryInflationRequestSDKType; - isAmino(o: any): o is QueryInflationRequestAmino; - encode(_: QueryInflationRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryInflationRequest; - fromJSON(_: any): QueryInflationRequest; - toJSON(_: QueryInflationRequest): unknown; - fromPartial(_: DeepPartial): QueryInflationRequest; - fromSDK(_: QueryInflationRequestSDKType): QueryInflationRequest; - toSDK(_: QueryInflationRequest): QueryInflationRequestSDKType; - fromAmino(_: QueryInflationRequestAmino): QueryInflationRequest; - toAmino(_: QueryInflationRequest): QueryInflationRequestAmino; - fromAminoMsg(object: QueryInflationRequestAminoMsg): QueryInflationRequest; - toAminoMsg(message: QueryInflationRequest): QueryInflationRequestAminoMsg; - fromProtoMsg(message: QueryInflationRequestProtoMsg): QueryInflationRequest; - toProto(message: QueryInflationRequest): Uint8Array; - toProtoMsg(message: QueryInflationRequest): QueryInflationRequestProtoMsg; -}; -export declare const QueryInflationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryInflationResponse; - isSDK(o: any): o is QueryInflationResponseSDKType; - isAmino(o: any): o is QueryInflationResponseAmino; - encode(message: QueryInflationResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryInflationResponse; - fromJSON(object: any): QueryInflationResponse; - toJSON(message: QueryInflationResponse): unknown; - fromPartial(object: DeepPartial): QueryInflationResponse; - fromSDK(object: QueryInflationResponseSDKType): QueryInflationResponse; - toSDK(message: QueryInflationResponse): QueryInflationResponseSDKType; - fromAmino(object: QueryInflationResponseAmino): QueryInflationResponse; - toAmino(message: QueryInflationResponse): QueryInflationResponseAmino; - fromAminoMsg(object: QueryInflationResponseAminoMsg): QueryInflationResponse; - toAminoMsg(message: QueryInflationResponse): QueryInflationResponseAminoMsg; - fromProtoMsg(message: QueryInflationResponseProtoMsg): QueryInflationResponse; - toProto(message: QueryInflationResponse): Uint8Array; - toProtoMsg(message: QueryInflationResponse): QueryInflationResponseProtoMsg; -}; -export declare const QueryAnnualProvisionsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAnnualProvisionsRequest; - isSDK(o: any): o is QueryAnnualProvisionsRequestSDKType; - isAmino(o: any): o is QueryAnnualProvisionsRequestAmino; - encode(_: QueryAnnualProvisionsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAnnualProvisionsRequest; - fromJSON(_: any): QueryAnnualProvisionsRequest; - toJSON(_: QueryAnnualProvisionsRequest): unknown; - fromPartial(_: DeepPartial): QueryAnnualProvisionsRequest; - fromSDK(_: QueryAnnualProvisionsRequestSDKType): QueryAnnualProvisionsRequest; - toSDK(_: QueryAnnualProvisionsRequest): QueryAnnualProvisionsRequestSDKType; - fromAmino(_: QueryAnnualProvisionsRequestAmino): QueryAnnualProvisionsRequest; - toAmino(_: QueryAnnualProvisionsRequest): QueryAnnualProvisionsRequestAmino; - fromAminoMsg(object: QueryAnnualProvisionsRequestAminoMsg): QueryAnnualProvisionsRequest; - toAminoMsg(message: QueryAnnualProvisionsRequest): QueryAnnualProvisionsRequestAminoMsg; - fromProtoMsg(message: QueryAnnualProvisionsRequestProtoMsg): QueryAnnualProvisionsRequest; - toProto(message: QueryAnnualProvisionsRequest): Uint8Array; - toProtoMsg(message: QueryAnnualProvisionsRequest): QueryAnnualProvisionsRequestProtoMsg; -}; -export declare const QueryAnnualProvisionsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAnnualProvisionsResponse; - isSDK(o: any): o is QueryAnnualProvisionsResponseSDKType; - isAmino(o: any): o is QueryAnnualProvisionsResponseAmino; - encode(message: QueryAnnualProvisionsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAnnualProvisionsResponse; - fromJSON(object: any): QueryAnnualProvisionsResponse; - toJSON(message: QueryAnnualProvisionsResponse): unknown; - fromPartial(object: DeepPartial): QueryAnnualProvisionsResponse; - fromSDK(object: QueryAnnualProvisionsResponseSDKType): QueryAnnualProvisionsResponse; - toSDK(message: QueryAnnualProvisionsResponse): QueryAnnualProvisionsResponseSDKType; - fromAmino(object: QueryAnnualProvisionsResponseAmino): QueryAnnualProvisionsResponse; - toAmino(message: QueryAnnualProvisionsResponse): QueryAnnualProvisionsResponseAmino; - fromAminoMsg(object: QueryAnnualProvisionsResponseAminoMsg): QueryAnnualProvisionsResponse; - toAminoMsg(message: QueryAnnualProvisionsResponse): QueryAnnualProvisionsResponseAminoMsg; - fromProtoMsg(message: QueryAnnualProvisionsResponseProtoMsg): QueryAnnualProvisionsResponse; - toProto(message: QueryAnnualProvisionsResponse): Uint8Array; - toProtoMsg(message: QueryAnnualProvisionsResponse): QueryAnnualProvisionsResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/mint/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/mint/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index f409ded0..00000000 --- a/examples/authz/types/codegen/cosmos/mint/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; -/** Query provides defines the gRPC querier service. */ -export interface Query { - /** Params returns the total set of minting parameters. */ - params(request?: QueryParamsRequest): Promise; - /** Inflation returns the current minting inflation value. */ - inflation(request?: QueryInflationRequest): Promise; - /** AnnualProvisions current minting annual provisions value. */ - annualProvisions(request?: QueryAnnualProvisionsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - params: (request?: QueryParamsRequest) => Promise; - inflation: (request?: QueryInflationRequest) => Promise; - annualProvisions: (request?: QueryAnnualProvisionsRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseParamsQuery extends ReactQueryParams { - request?: QueryParamsRequest; -} -export interface UseInflationQuery extends ReactQueryParams { - request?: QueryInflationRequest; -} -export interface UseAnnualProvisionsQuery extends ReactQueryParams { - request?: QueryAnnualProvisionsRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Params returns the total set of minting parameters. */ useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Inflation returns the current minting inflation value. */ useInflation: ({ request, options }: UseInflationQuery) => import("@tanstack/react-query").UseQueryResult; - /** AnnualProvisions current minting annual provisions value. */ useAnnualProvisions: ({ request, options }: UseAnnualProvisionsQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Params returns the total set of minting parameters. */ QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Inflation returns the current minting inflation value. */ QueryInflationStore: { - new (): { - store: QueryStore; - inflation(request: QueryInflationRequest): import("../../../mobx").MobxResponse; - }; - }; - /** AnnualProvisions current minting annual provisions value. */ QueryAnnualProvisionsStore: { - new (): { - store: QueryStore; - annualProvisions(request: QueryAnnualProvisionsRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/msg/v1/msg.d.ts b/examples/authz/types/codegen/cosmos/msg/v1/msg.d.ts deleted file mode 100644 index cb0ff5c3..00000000 --- a/examples/authz/types/codegen/cosmos/msg/v1/msg.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/examples/authz/types/codegen/cosmos/nft/v1beta1/event.d.ts b/examples/authz/types/codegen/cosmos/nft/v1beta1/event.d.ts deleted file mode 100644 index cb46ad5f..00000000 --- a/examples/authz/types/codegen/cosmos/nft/v1beta1/event.d.ts +++ /dev/null @@ -1,146 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** EventSend is emitted on Msg/Send */ -export interface EventSend { - classId: string; - id: string; - sender: string; - receiver: string; -} -export interface EventSendProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.EventSend"; - value: Uint8Array; -} -/** EventSend is emitted on Msg/Send */ -export interface EventSendAmino { - class_id?: string; - id?: string; - sender?: string; - receiver?: string; -} -export interface EventSendAminoMsg { - type: "cosmos-sdk/EventSend"; - value: EventSendAmino; -} -/** EventSend is emitted on Msg/Send */ -export interface EventSendSDKType { - class_id: string; - id: string; - sender: string; - receiver: string; -} -/** EventMint is emitted on Mint */ -export interface EventMint { - classId: string; - id: string; - owner: string; -} -export interface EventMintProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.EventMint"; - value: Uint8Array; -} -/** EventMint is emitted on Mint */ -export interface EventMintAmino { - class_id?: string; - id?: string; - owner?: string; -} -export interface EventMintAminoMsg { - type: "cosmos-sdk/EventMint"; - value: EventMintAmino; -} -/** EventMint is emitted on Mint */ -export interface EventMintSDKType { - class_id: string; - id: string; - owner: string; -} -/** EventBurn is emitted on Burn */ -export interface EventBurn { - classId: string; - id: string; - owner: string; -} -export interface EventBurnProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.EventBurn"; - value: Uint8Array; -} -/** EventBurn is emitted on Burn */ -export interface EventBurnAmino { - class_id?: string; - id?: string; - owner?: string; -} -export interface EventBurnAminoMsg { - type: "cosmos-sdk/EventBurn"; - value: EventBurnAmino; -} -/** EventBurn is emitted on Burn */ -export interface EventBurnSDKType { - class_id: string; - id: string; - owner: string; -} -export declare const EventSend: { - typeUrl: string; - aminoType: string; - is(o: any): o is EventSend; - isSDK(o: any): o is EventSendSDKType; - isAmino(o: any): o is EventSendAmino; - encode(message: EventSend, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EventSend; - fromJSON(object: any): EventSend; - toJSON(message: EventSend): unknown; - fromPartial(object: DeepPartial): EventSend; - fromSDK(object: EventSendSDKType): EventSend; - toSDK(message: EventSend): EventSendSDKType; - fromAmino(object: EventSendAmino): EventSend; - toAmino(message: EventSend): EventSendAmino; - fromAminoMsg(object: EventSendAminoMsg): EventSend; - toAminoMsg(message: EventSend): EventSendAminoMsg; - fromProtoMsg(message: EventSendProtoMsg): EventSend; - toProto(message: EventSend): Uint8Array; - toProtoMsg(message: EventSend): EventSendProtoMsg; -}; -export declare const EventMint: { - typeUrl: string; - aminoType: string; - is(o: any): o is EventMint; - isSDK(o: any): o is EventMintSDKType; - isAmino(o: any): o is EventMintAmino; - encode(message: EventMint, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EventMint; - fromJSON(object: any): EventMint; - toJSON(message: EventMint): unknown; - fromPartial(object: DeepPartial): EventMint; - fromSDK(object: EventMintSDKType): EventMint; - toSDK(message: EventMint): EventMintSDKType; - fromAmino(object: EventMintAmino): EventMint; - toAmino(message: EventMint): EventMintAmino; - fromAminoMsg(object: EventMintAminoMsg): EventMint; - toAminoMsg(message: EventMint): EventMintAminoMsg; - fromProtoMsg(message: EventMintProtoMsg): EventMint; - toProto(message: EventMint): Uint8Array; - toProtoMsg(message: EventMint): EventMintProtoMsg; -}; -export declare const EventBurn: { - typeUrl: string; - aminoType: string; - is(o: any): o is EventBurn; - isSDK(o: any): o is EventBurnSDKType; - isAmino(o: any): o is EventBurnAmino; - encode(message: EventBurn, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EventBurn; - fromJSON(object: any): EventBurn; - toJSON(message: EventBurn): unknown; - fromPartial(object: DeepPartial): EventBurn; - fromSDK(object: EventBurnSDKType): EventBurn; - toSDK(message: EventBurn): EventBurnSDKType; - fromAmino(object: EventBurnAmino): EventBurn; - toAmino(message: EventBurn): EventBurnAmino; - fromAminoMsg(object: EventBurnAminoMsg): EventBurn; - toAminoMsg(message: EventBurn): EventBurnAminoMsg; - fromProtoMsg(message: EventBurnProtoMsg): EventBurn; - toProto(message: EventBurn): Uint8Array; - toProtoMsg(message: EventBurn): EventBurnProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/nft/v1beta1/genesis.d.ts b/examples/authz/types/codegen/cosmos/nft/v1beta1/genesis.d.ts deleted file mode 100644 index 5a4e3055..00000000 --- a/examples/authz/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { Class, ClassAmino, ClassSDKType, NFT, NFTAmino, NFTSDKType } from "./nft"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the nft module's genesis state. */ -export interface GenesisState { - /** class defines the class of the nft type. */ - classes: Class[]; - entries: Entry[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the nft module's genesis state. */ -export interface GenesisStateAmino { - /** class defines the class of the nft type. */ - classes?: ClassAmino[]; - entries?: EntryAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the nft module's genesis state. */ -export interface GenesisStateSDKType { - classes: ClassSDKType[]; - entries: EntrySDKType[]; -} -/** Entry Defines all nft owned by a person */ -export interface Entry { - /** owner is the owner address of the following nft */ - owner: string; - /** nfts is a group of nfts of the same owner */ - nfts: NFT[]; -} -export interface EntryProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.Entry"; - value: Uint8Array; -} -/** Entry Defines all nft owned by a person */ -export interface EntryAmino { - /** owner is the owner address of the following nft */ - owner?: string; - /** nfts is a group of nfts of the same owner */ - nfts?: NFTAmino[]; -} -export interface EntryAminoMsg { - type: "cosmos-sdk/Entry"; - value: EntryAmino; -} -/** Entry Defines all nft owned by a person */ -export interface EntrySDKType { - owner: string; - nfts: NFTSDKType[]; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; -export declare const Entry: { - typeUrl: string; - aminoType: string; - is(o: any): o is Entry; - isSDK(o: any): o is EntrySDKType; - isAmino(o: any): o is EntryAmino; - encode(message: Entry, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Entry; - fromJSON(object: any): Entry; - toJSON(message: Entry): unknown; - fromPartial(object: DeepPartial): Entry; - fromSDK(object: EntrySDKType): Entry; - toSDK(message: Entry): EntrySDKType; - fromAmino(object: EntryAmino): Entry; - toAmino(message: Entry): EntryAmino; - fromAminoMsg(object: EntryAminoMsg): Entry; - toAminoMsg(message: Entry): EntryAminoMsg; - fromProtoMsg(message: EntryProtoMsg): Entry; - toProto(message: Entry): Uint8Array; - toProtoMsg(message: Entry): EntryProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/nft/v1beta1/nft.d.ts b/examples/authz/types/codegen/cosmos/nft/v1beta1/nft.d.ts deleted file mode 100644 index fb0281a3..00000000 --- a/examples/authz/types/codegen/cosmos/nft/v1beta1/nft.d.ts +++ /dev/null @@ -1,139 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** Class defines the class of the nft type. */ -export interface Class { - /** id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 */ - id: string; - /** name defines the human-readable name of the NFT classification. Optional */ - name: string; - /** symbol is an abbreviated name for nft classification. Optional */ - symbol: string; - /** description is a brief description of nft classification. Optional */ - description: string; - /** uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional */ - uri: string; - /** uri_hash is a hash of the document pointed by uri. Optional */ - uriHash: string; - /** data is the app specific metadata of the NFT class. Optional */ - data?: Any | undefined; -} -export interface ClassProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.Class"; - value: Uint8Array; -} -/** Class defines the class of the nft type. */ -export interface ClassAmino { - /** id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 */ - id?: string; - /** name defines the human-readable name of the NFT classification. Optional */ - name?: string; - /** symbol is an abbreviated name for nft classification. Optional */ - symbol?: string; - /** description is a brief description of nft classification. Optional */ - description?: string; - /** uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional */ - uri?: string; - /** uri_hash is a hash of the document pointed by uri. Optional */ - uri_hash?: string; - /** data is the app specific metadata of the NFT class. Optional */ - data?: AnyAmino | undefined; -} -export interface ClassAminoMsg { - type: "cosmos-sdk/Class"; - value: ClassAmino; -} -/** Class defines the class of the nft type. */ -export interface ClassSDKType { - id: string; - name: string; - symbol: string; - description: string; - uri: string; - uri_hash: string; - data?: AnySDKType | undefined; -} -/** NFT defines the NFT. */ -export interface NFT { - /** class_id associated with the NFT, similar to the contract address of ERC721 */ - classId: string; - /** id is a unique identifier of the NFT */ - id: string; - /** uri for the NFT metadata stored off chain */ - uri: string; - /** uri_hash is a hash of the document pointed by uri */ - uriHash: string; - /** data is an app specific data of the NFT. Optional */ - data?: Any | undefined; -} -export interface NFTProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.NFT"; - value: Uint8Array; -} -/** NFT defines the NFT. */ -export interface NFTAmino { - /** class_id associated with the NFT, similar to the contract address of ERC721 */ - class_id?: string; - /** id is a unique identifier of the NFT */ - id?: string; - /** uri for the NFT metadata stored off chain */ - uri?: string; - /** uri_hash is a hash of the document pointed by uri */ - uri_hash?: string; - /** data is an app specific data of the NFT. Optional */ - data?: AnyAmino | undefined; -} -export interface NFTAminoMsg { - type: "cosmos-sdk/NFT"; - value: NFTAmino; -} -/** NFT defines the NFT. */ -export interface NFTSDKType { - class_id: string; - id: string; - uri: string; - uri_hash: string; - data?: AnySDKType | undefined; -} -export declare const Class: { - typeUrl: string; - aminoType: string; - is(o: any): o is Class; - isSDK(o: any): o is ClassSDKType; - isAmino(o: any): o is ClassAmino; - encode(message: Class, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Class; - fromJSON(object: any): Class; - toJSON(message: Class): unknown; - fromPartial(object: DeepPartial): Class; - fromSDK(object: ClassSDKType): Class; - toSDK(message: Class): ClassSDKType; - fromAmino(object: ClassAmino): Class; - toAmino(message: Class): ClassAmino; - fromAminoMsg(object: ClassAminoMsg): Class; - toAminoMsg(message: Class): ClassAminoMsg; - fromProtoMsg(message: ClassProtoMsg): Class; - toProto(message: Class): Uint8Array; - toProtoMsg(message: Class): ClassProtoMsg; -}; -export declare const NFT: { - typeUrl: string; - aminoType: string; - is(o: any): o is NFT; - isSDK(o: any): o is NFTSDKType; - isAmino(o: any): o is NFTAmino; - encode(message: NFT, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): NFT; - fromJSON(object: any): NFT; - toJSON(message: NFT): unknown; - fromPartial(object: DeepPartial): NFT; - fromSDK(object: NFTSDKType): NFT; - toSDK(message: NFT): NFTSDKType; - fromAmino(object: NFTAmino): NFT; - toAmino(message: NFT): NFTAmino; - fromAminoMsg(object: NFTAminoMsg): NFT; - toAminoMsg(message: NFT): NFTAminoMsg; - fromProtoMsg(message: NFTProtoMsg): NFT; - toProto(message: NFT): Uint8Array; - toProtoMsg(message: NFT): NFTProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/nft/v1beta1/query.d.ts b/examples/authz/types/codegen/cosmos/nft/v1beta1/query.d.ts deleted file mode 100644 index c0482478..00000000 --- a/examples/authz/types/codegen/cosmos/nft/v1beta1/query.d.ts +++ /dev/null @@ -1,601 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { NFT, NFTAmino, NFTSDKType, Class, ClassAmino, ClassSDKType } from "./nft"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ -export interface QueryBalanceRequest { - classId: string; - owner: string; -} -export interface QueryBalanceRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceRequest"; - value: Uint8Array; -} -/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ -export interface QueryBalanceRequestAmino { - class_id?: string; - owner?: string; -} -export interface QueryBalanceRequestAminoMsg { - type: "cosmos-sdk/QueryBalanceRequest"; - value: QueryBalanceRequestAmino; -} -/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ -export interface QueryBalanceRequestSDKType { - class_id: string; - owner: string; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method */ -export interface QueryBalanceResponse { - amount: bigint; -} -export interface QueryBalanceResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceResponse"; - value: Uint8Array; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method */ -export interface QueryBalanceResponseAmino { - amount?: string; -} -export interface QueryBalanceResponseAminoMsg { - type: "cosmos-sdk/QueryBalanceResponse"; - value: QueryBalanceResponseAmino; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method */ -export interface QueryBalanceResponseSDKType { - amount: bigint; -} -/** QueryOwnerRequest is the request type for the Query/Owner RPC method */ -export interface QueryOwnerRequest { - classId: string; - id: string; -} -export interface QueryOwnerRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerRequest"; - value: Uint8Array; -} -/** QueryOwnerRequest is the request type for the Query/Owner RPC method */ -export interface QueryOwnerRequestAmino { - class_id?: string; - id?: string; -} -export interface QueryOwnerRequestAminoMsg { - type: "cosmos-sdk/QueryOwnerRequest"; - value: QueryOwnerRequestAmino; -} -/** QueryOwnerRequest is the request type for the Query/Owner RPC method */ -export interface QueryOwnerRequestSDKType { - class_id: string; - id: string; -} -/** QueryOwnerResponse is the response type for the Query/Owner RPC method */ -export interface QueryOwnerResponse { - owner: string; -} -export interface QueryOwnerResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerResponse"; - value: Uint8Array; -} -/** QueryOwnerResponse is the response type for the Query/Owner RPC method */ -export interface QueryOwnerResponseAmino { - owner?: string; -} -export interface QueryOwnerResponseAminoMsg { - type: "cosmos-sdk/QueryOwnerResponse"; - value: QueryOwnerResponseAmino; -} -/** QueryOwnerResponse is the response type for the Query/Owner RPC method */ -export interface QueryOwnerResponseSDKType { - owner: string; -} -/** QuerySupplyRequest is the request type for the Query/Supply RPC method */ -export interface QuerySupplyRequest { - classId: string; -} -export interface QuerySupplyRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyRequest"; - value: Uint8Array; -} -/** QuerySupplyRequest is the request type for the Query/Supply RPC method */ -export interface QuerySupplyRequestAmino { - class_id?: string; -} -export interface QuerySupplyRequestAminoMsg { - type: "cosmos-sdk/QuerySupplyRequest"; - value: QuerySupplyRequestAmino; -} -/** QuerySupplyRequest is the request type for the Query/Supply RPC method */ -export interface QuerySupplyRequestSDKType { - class_id: string; -} -/** QuerySupplyResponse is the response type for the Query/Supply RPC method */ -export interface QuerySupplyResponse { - amount: bigint; -} -export interface QuerySupplyResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyResponse"; - value: Uint8Array; -} -/** QuerySupplyResponse is the response type for the Query/Supply RPC method */ -export interface QuerySupplyResponseAmino { - amount?: string; -} -export interface QuerySupplyResponseAminoMsg { - type: "cosmos-sdk/QuerySupplyResponse"; - value: QuerySupplyResponseAmino; -} -/** QuerySupplyResponse is the response type for the Query/Supply RPC method */ -export interface QuerySupplyResponseSDKType { - amount: bigint; -} -/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ -export interface QueryNFTsRequest { - classId: string; - owner: string; - pagination?: PageRequest | undefined; -} -export interface QueryNFTsRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsRequest"; - value: Uint8Array; -} -/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ -export interface QueryNFTsRequestAmino { - class_id?: string; - owner?: string; - pagination?: PageRequestAmino | undefined; -} -export interface QueryNFTsRequestAminoMsg { - type: "cosmos-sdk/QueryNFTsRequest"; - value: QueryNFTsRequestAmino; -} -/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ -export interface QueryNFTsRequestSDKType { - class_id: string; - owner: string; - pagination?: PageRequestSDKType | undefined; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ -export interface QueryNFTsResponse { - nfts: NFT[]; - pagination?: PageResponse | undefined; -} -export interface QueryNFTsResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsResponse"; - value: Uint8Array; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ -export interface QueryNFTsResponseAmino { - nfts?: NFTAmino[]; - pagination?: PageResponseAmino | undefined; -} -export interface QueryNFTsResponseAminoMsg { - type: "cosmos-sdk/QueryNFTsResponse"; - value: QueryNFTsResponseAmino; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ -export interface QueryNFTsResponseSDKType { - nfts: NFTSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryNFTRequest is the request type for the Query/NFT RPC method */ -export interface QueryNFTRequest { - classId: string; - id: string; -} -export interface QueryNFTRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTRequest"; - value: Uint8Array; -} -/** QueryNFTRequest is the request type for the Query/NFT RPC method */ -export interface QueryNFTRequestAmino { - class_id?: string; - id?: string; -} -export interface QueryNFTRequestAminoMsg { - type: "cosmos-sdk/QueryNFTRequest"; - value: QueryNFTRequestAmino; -} -/** QueryNFTRequest is the request type for the Query/NFT RPC method */ -export interface QueryNFTRequestSDKType { - class_id: string; - id: string; -} -/** QueryNFTResponse is the response type for the Query/NFT RPC method */ -export interface QueryNFTResponse { - nft?: NFT | undefined; -} -export interface QueryNFTResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTResponse"; - value: Uint8Array; -} -/** QueryNFTResponse is the response type for the Query/NFT RPC method */ -export interface QueryNFTResponseAmino { - nft?: NFTAmino | undefined; -} -export interface QueryNFTResponseAminoMsg { - type: "cosmos-sdk/QueryNFTResponse"; - value: QueryNFTResponseAmino; -} -/** QueryNFTResponse is the response type for the Query/NFT RPC method */ -export interface QueryNFTResponseSDKType { - nft?: NFTSDKType | undefined; -} -/** QueryClassRequest is the request type for the Query/Class RPC method */ -export interface QueryClassRequest { - classId: string; -} -export interface QueryClassRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassRequest"; - value: Uint8Array; -} -/** QueryClassRequest is the request type for the Query/Class RPC method */ -export interface QueryClassRequestAmino { - class_id?: string; -} -export interface QueryClassRequestAminoMsg { - type: "cosmos-sdk/QueryClassRequest"; - value: QueryClassRequestAmino; -} -/** QueryClassRequest is the request type for the Query/Class RPC method */ -export interface QueryClassRequestSDKType { - class_id: string; -} -/** QueryClassResponse is the response type for the Query/Class RPC method */ -export interface QueryClassResponse { - class?: Class | undefined; -} -export interface QueryClassResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassResponse"; - value: Uint8Array; -} -/** QueryClassResponse is the response type for the Query/Class RPC method */ -export interface QueryClassResponseAmino { - class?: ClassAmino | undefined; -} -export interface QueryClassResponseAminoMsg { - type: "cosmos-sdk/QueryClassResponse"; - value: QueryClassResponseAmino; -} -/** QueryClassResponse is the response type for the Query/Class RPC method */ -export interface QueryClassResponseSDKType { - class?: ClassSDKType | undefined; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ -export interface QueryClassesRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryClassesRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesRequest"; - value: Uint8Array; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ -export interface QueryClassesRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryClassesRequestAminoMsg { - type: "cosmos-sdk/QueryClassesRequest"; - value: QueryClassesRequestAmino; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ -export interface QueryClassesRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ -export interface QueryClassesResponse { - classes: Class[]; - pagination?: PageResponse | undefined; -} -export interface QueryClassesResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesResponse"; - value: Uint8Array; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ -export interface QueryClassesResponseAmino { - classes?: ClassAmino[]; - pagination?: PageResponseAmino | undefined; -} -export interface QueryClassesResponseAminoMsg { - type: "cosmos-sdk/QueryClassesResponse"; - value: QueryClassesResponseAmino; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ -export interface QueryClassesResponseSDKType { - classes: ClassSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -export declare const QueryBalanceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryBalanceRequest; - isSDK(o: any): o is QueryBalanceRequestSDKType; - isAmino(o: any): o is QueryBalanceRequestAmino; - encode(message: QueryBalanceRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryBalanceRequest; - fromJSON(object: any): QueryBalanceRequest; - toJSON(message: QueryBalanceRequest): unknown; - fromPartial(object: DeepPartial): QueryBalanceRequest; - fromSDK(object: QueryBalanceRequestSDKType): QueryBalanceRequest; - toSDK(message: QueryBalanceRequest): QueryBalanceRequestSDKType; - fromAmino(object: QueryBalanceRequestAmino): QueryBalanceRequest; - toAmino(message: QueryBalanceRequest): QueryBalanceRequestAmino; - fromAminoMsg(object: QueryBalanceRequestAminoMsg): QueryBalanceRequest; - toAminoMsg(message: QueryBalanceRequest): QueryBalanceRequestAminoMsg; - fromProtoMsg(message: QueryBalanceRequestProtoMsg): QueryBalanceRequest; - toProto(message: QueryBalanceRequest): Uint8Array; - toProtoMsg(message: QueryBalanceRequest): QueryBalanceRequestProtoMsg; -}; -export declare const QueryBalanceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryBalanceResponse; - isSDK(o: any): o is QueryBalanceResponseSDKType; - isAmino(o: any): o is QueryBalanceResponseAmino; - encode(message: QueryBalanceResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryBalanceResponse; - fromJSON(object: any): QueryBalanceResponse; - toJSON(message: QueryBalanceResponse): unknown; - fromPartial(object: DeepPartial): QueryBalanceResponse; - fromSDK(object: QueryBalanceResponseSDKType): QueryBalanceResponse; - toSDK(message: QueryBalanceResponse): QueryBalanceResponseSDKType; - fromAmino(object: QueryBalanceResponseAmino): QueryBalanceResponse; - toAmino(message: QueryBalanceResponse): QueryBalanceResponseAmino; - fromAminoMsg(object: QueryBalanceResponseAminoMsg): QueryBalanceResponse; - toAminoMsg(message: QueryBalanceResponse): QueryBalanceResponseAminoMsg; - fromProtoMsg(message: QueryBalanceResponseProtoMsg): QueryBalanceResponse; - toProto(message: QueryBalanceResponse): Uint8Array; - toProtoMsg(message: QueryBalanceResponse): QueryBalanceResponseProtoMsg; -}; -export declare const QueryOwnerRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryOwnerRequest; - isSDK(o: any): o is QueryOwnerRequestSDKType; - isAmino(o: any): o is QueryOwnerRequestAmino; - encode(message: QueryOwnerRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryOwnerRequest; - fromJSON(object: any): QueryOwnerRequest; - toJSON(message: QueryOwnerRequest): unknown; - fromPartial(object: DeepPartial): QueryOwnerRequest; - fromSDK(object: QueryOwnerRequestSDKType): QueryOwnerRequest; - toSDK(message: QueryOwnerRequest): QueryOwnerRequestSDKType; - fromAmino(object: QueryOwnerRequestAmino): QueryOwnerRequest; - toAmino(message: QueryOwnerRequest): QueryOwnerRequestAmino; - fromAminoMsg(object: QueryOwnerRequestAminoMsg): QueryOwnerRequest; - toAminoMsg(message: QueryOwnerRequest): QueryOwnerRequestAminoMsg; - fromProtoMsg(message: QueryOwnerRequestProtoMsg): QueryOwnerRequest; - toProto(message: QueryOwnerRequest): Uint8Array; - toProtoMsg(message: QueryOwnerRequest): QueryOwnerRequestProtoMsg; -}; -export declare const QueryOwnerResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryOwnerResponse; - isSDK(o: any): o is QueryOwnerResponseSDKType; - isAmino(o: any): o is QueryOwnerResponseAmino; - encode(message: QueryOwnerResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryOwnerResponse; - fromJSON(object: any): QueryOwnerResponse; - toJSON(message: QueryOwnerResponse): unknown; - fromPartial(object: DeepPartial): QueryOwnerResponse; - fromSDK(object: QueryOwnerResponseSDKType): QueryOwnerResponse; - toSDK(message: QueryOwnerResponse): QueryOwnerResponseSDKType; - fromAmino(object: QueryOwnerResponseAmino): QueryOwnerResponse; - toAmino(message: QueryOwnerResponse): QueryOwnerResponseAmino; - fromAminoMsg(object: QueryOwnerResponseAminoMsg): QueryOwnerResponse; - toAminoMsg(message: QueryOwnerResponse): QueryOwnerResponseAminoMsg; - fromProtoMsg(message: QueryOwnerResponseProtoMsg): QueryOwnerResponse; - toProto(message: QueryOwnerResponse): Uint8Array; - toProtoMsg(message: QueryOwnerResponse): QueryOwnerResponseProtoMsg; -}; -export declare const QuerySupplyRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySupplyRequest; - isSDK(o: any): o is QuerySupplyRequestSDKType; - isAmino(o: any): o is QuerySupplyRequestAmino; - encode(message: QuerySupplyRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySupplyRequest; - fromJSON(object: any): QuerySupplyRequest; - toJSON(message: QuerySupplyRequest): unknown; - fromPartial(object: DeepPartial): QuerySupplyRequest; - fromSDK(object: QuerySupplyRequestSDKType): QuerySupplyRequest; - toSDK(message: QuerySupplyRequest): QuerySupplyRequestSDKType; - fromAmino(object: QuerySupplyRequestAmino): QuerySupplyRequest; - toAmino(message: QuerySupplyRequest): QuerySupplyRequestAmino; - fromAminoMsg(object: QuerySupplyRequestAminoMsg): QuerySupplyRequest; - toAminoMsg(message: QuerySupplyRequest): QuerySupplyRequestAminoMsg; - fromProtoMsg(message: QuerySupplyRequestProtoMsg): QuerySupplyRequest; - toProto(message: QuerySupplyRequest): Uint8Array; - toProtoMsg(message: QuerySupplyRequest): QuerySupplyRequestProtoMsg; -}; -export declare const QuerySupplyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySupplyResponse; - isSDK(o: any): o is QuerySupplyResponseSDKType; - isAmino(o: any): o is QuerySupplyResponseAmino; - encode(message: QuerySupplyResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySupplyResponse; - fromJSON(object: any): QuerySupplyResponse; - toJSON(message: QuerySupplyResponse): unknown; - fromPartial(object: DeepPartial): QuerySupplyResponse; - fromSDK(object: QuerySupplyResponseSDKType): QuerySupplyResponse; - toSDK(message: QuerySupplyResponse): QuerySupplyResponseSDKType; - fromAmino(object: QuerySupplyResponseAmino): QuerySupplyResponse; - toAmino(message: QuerySupplyResponse): QuerySupplyResponseAmino; - fromAminoMsg(object: QuerySupplyResponseAminoMsg): QuerySupplyResponse; - toAminoMsg(message: QuerySupplyResponse): QuerySupplyResponseAminoMsg; - fromProtoMsg(message: QuerySupplyResponseProtoMsg): QuerySupplyResponse; - toProto(message: QuerySupplyResponse): Uint8Array; - toProtoMsg(message: QuerySupplyResponse): QuerySupplyResponseProtoMsg; -}; -export declare const QueryNFTsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryNFTsRequest; - isSDK(o: any): o is QueryNFTsRequestSDKType; - isAmino(o: any): o is QueryNFTsRequestAmino; - encode(message: QueryNFTsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryNFTsRequest; - fromJSON(object: any): QueryNFTsRequest; - toJSON(message: QueryNFTsRequest): unknown; - fromPartial(object: DeepPartial): QueryNFTsRequest; - fromSDK(object: QueryNFTsRequestSDKType): QueryNFTsRequest; - toSDK(message: QueryNFTsRequest): QueryNFTsRequestSDKType; - fromAmino(object: QueryNFTsRequestAmino): QueryNFTsRequest; - toAmino(message: QueryNFTsRequest): QueryNFTsRequestAmino; - fromAminoMsg(object: QueryNFTsRequestAminoMsg): QueryNFTsRequest; - toAminoMsg(message: QueryNFTsRequest): QueryNFTsRequestAminoMsg; - fromProtoMsg(message: QueryNFTsRequestProtoMsg): QueryNFTsRequest; - toProto(message: QueryNFTsRequest): Uint8Array; - toProtoMsg(message: QueryNFTsRequest): QueryNFTsRequestProtoMsg; -}; -export declare const QueryNFTsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryNFTsResponse; - isSDK(o: any): o is QueryNFTsResponseSDKType; - isAmino(o: any): o is QueryNFTsResponseAmino; - encode(message: QueryNFTsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryNFTsResponse; - fromJSON(object: any): QueryNFTsResponse; - toJSON(message: QueryNFTsResponse): unknown; - fromPartial(object: DeepPartial): QueryNFTsResponse; - fromSDK(object: QueryNFTsResponseSDKType): QueryNFTsResponse; - toSDK(message: QueryNFTsResponse): QueryNFTsResponseSDKType; - fromAmino(object: QueryNFTsResponseAmino): QueryNFTsResponse; - toAmino(message: QueryNFTsResponse): QueryNFTsResponseAmino; - fromAminoMsg(object: QueryNFTsResponseAminoMsg): QueryNFTsResponse; - toAminoMsg(message: QueryNFTsResponse): QueryNFTsResponseAminoMsg; - fromProtoMsg(message: QueryNFTsResponseProtoMsg): QueryNFTsResponse; - toProto(message: QueryNFTsResponse): Uint8Array; - toProtoMsg(message: QueryNFTsResponse): QueryNFTsResponseProtoMsg; -}; -export declare const QueryNFTRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryNFTRequest; - isSDK(o: any): o is QueryNFTRequestSDKType; - isAmino(o: any): o is QueryNFTRequestAmino; - encode(message: QueryNFTRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryNFTRequest; - fromJSON(object: any): QueryNFTRequest; - toJSON(message: QueryNFTRequest): unknown; - fromPartial(object: DeepPartial): QueryNFTRequest; - fromSDK(object: QueryNFTRequestSDKType): QueryNFTRequest; - toSDK(message: QueryNFTRequest): QueryNFTRequestSDKType; - fromAmino(object: QueryNFTRequestAmino): QueryNFTRequest; - toAmino(message: QueryNFTRequest): QueryNFTRequestAmino; - fromAminoMsg(object: QueryNFTRequestAminoMsg): QueryNFTRequest; - toAminoMsg(message: QueryNFTRequest): QueryNFTRequestAminoMsg; - fromProtoMsg(message: QueryNFTRequestProtoMsg): QueryNFTRequest; - toProto(message: QueryNFTRequest): Uint8Array; - toProtoMsg(message: QueryNFTRequest): QueryNFTRequestProtoMsg; -}; -export declare const QueryNFTResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryNFTResponse; - isSDK(o: any): o is QueryNFTResponseSDKType; - isAmino(o: any): o is QueryNFTResponseAmino; - encode(message: QueryNFTResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryNFTResponse; - fromJSON(object: any): QueryNFTResponse; - toJSON(message: QueryNFTResponse): unknown; - fromPartial(object: DeepPartial): QueryNFTResponse; - fromSDK(object: QueryNFTResponseSDKType): QueryNFTResponse; - toSDK(message: QueryNFTResponse): QueryNFTResponseSDKType; - fromAmino(object: QueryNFTResponseAmino): QueryNFTResponse; - toAmino(message: QueryNFTResponse): QueryNFTResponseAmino; - fromAminoMsg(object: QueryNFTResponseAminoMsg): QueryNFTResponse; - toAminoMsg(message: QueryNFTResponse): QueryNFTResponseAminoMsg; - fromProtoMsg(message: QueryNFTResponseProtoMsg): QueryNFTResponse; - toProto(message: QueryNFTResponse): Uint8Array; - toProtoMsg(message: QueryNFTResponse): QueryNFTResponseProtoMsg; -}; -export declare const QueryClassRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClassRequest; - isSDK(o: any): o is QueryClassRequestSDKType; - isAmino(o: any): o is QueryClassRequestAmino; - encode(message: QueryClassRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClassRequest; - fromJSON(object: any): QueryClassRequest; - toJSON(message: QueryClassRequest): unknown; - fromPartial(object: DeepPartial): QueryClassRequest; - fromSDK(object: QueryClassRequestSDKType): QueryClassRequest; - toSDK(message: QueryClassRequest): QueryClassRequestSDKType; - fromAmino(object: QueryClassRequestAmino): QueryClassRequest; - toAmino(message: QueryClassRequest): QueryClassRequestAmino; - fromAminoMsg(object: QueryClassRequestAminoMsg): QueryClassRequest; - toAminoMsg(message: QueryClassRequest): QueryClassRequestAminoMsg; - fromProtoMsg(message: QueryClassRequestProtoMsg): QueryClassRequest; - toProto(message: QueryClassRequest): Uint8Array; - toProtoMsg(message: QueryClassRequest): QueryClassRequestProtoMsg; -}; -export declare const QueryClassResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClassResponse; - isSDK(o: any): o is QueryClassResponseSDKType; - isAmino(o: any): o is QueryClassResponseAmino; - encode(message: QueryClassResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClassResponse; - fromJSON(object: any): QueryClassResponse; - toJSON(message: QueryClassResponse): unknown; - fromPartial(object: DeepPartial): QueryClassResponse; - fromSDK(object: QueryClassResponseSDKType): QueryClassResponse; - toSDK(message: QueryClassResponse): QueryClassResponseSDKType; - fromAmino(object: QueryClassResponseAmino): QueryClassResponse; - toAmino(message: QueryClassResponse): QueryClassResponseAmino; - fromAminoMsg(object: QueryClassResponseAminoMsg): QueryClassResponse; - toAminoMsg(message: QueryClassResponse): QueryClassResponseAminoMsg; - fromProtoMsg(message: QueryClassResponseProtoMsg): QueryClassResponse; - toProto(message: QueryClassResponse): Uint8Array; - toProtoMsg(message: QueryClassResponse): QueryClassResponseProtoMsg; -}; -export declare const QueryClassesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClassesRequest; - isSDK(o: any): o is QueryClassesRequestSDKType; - isAmino(o: any): o is QueryClassesRequestAmino; - encode(message: QueryClassesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClassesRequest; - fromJSON(object: any): QueryClassesRequest; - toJSON(message: QueryClassesRequest): unknown; - fromPartial(object: DeepPartial): QueryClassesRequest; - fromSDK(object: QueryClassesRequestSDKType): QueryClassesRequest; - toSDK(message: QueryClassesRequest): QueryClassesRequestSDKType; - fromAmino(object: QueryClassesRequestAmino): QueryClassesRequest; - toAmino(message: QueryClassesRequest): QueryClassesRequestAmino; - fromAminoMsg(object: QueryClassesRequestAminoMsg): QueryClassesRequest; - toAminoMsg(message: QueryClassesRequest): QueryClassesRequestAminoMsg; - fromProtoMsg(message: QueryClassesRequestProtoMsg): QueryClassesRequest; - toProto(message: QueryClassesRequest): Uint8Array; - toProtoMsg(message: QueryClassesRequest): QueryClassesRequestProtoMsg; -}; -export declare const QueryClassesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClassesResponse; - isSDK(o: any): o is QueryClassesResponseSDKType; - isAmino(o: any): o is QueryClassesResponseAmino; - encode(message: QueryClassesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClassesResponse; - fromJSON(object: any): QueryClassesResponse; - toJSON(message: QueryClassesResponse): unknown; - fromPartial(object: DeepPartial): QueryClassesResponse; - fromSDK(object: QueryClassesResponseSDKType): QueryClassesResponse; - toSDK(message: QueryClassesResponse): QueryClassesResponseSDKType; - fromAmino(object: QueryClassesResponseAmino): QueryClassesResponse; - toAmino(message: QueryClassesResponse): QueryClassesResponseAmino; - fromAminoMsg(object: QueryClassesResponseAminoMsg): QueryClassesResponse; - toAminoMsg(message: QueryClassesResponse): QueryClassesResponseAminoMsg; - fromProtoMsg(message: QueryClassesResponseProtoMsg): QueryClassesResponse; - toProto(message: QueryClassesResponse): Uint8Array; - toProtoMsg(message: QueryClassesResponse): QueryClassesResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/nft/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/nft/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index f02d1bec..00000000 --- a/examples/authz/types/codegen/cosmos/nft/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,119 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryNFTsRequest, QueryNFTsResponse, QueryNFTRequest, QueryNFTResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 */ - balance(request: QueryBalanceRequest): Promise; - /** Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 */ - owner(request: QueryOwnerRequest): Promise; - /** Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. */ - supply(request: QuerySupplyRequest): Promise; - /** - * NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in - * ERC721Enumerable - */ - nFTs(request: QueryNFTsRequest): Promise; - /** NFT queries an NFT based on its class and id. */ - nFT(request: QueryNFTRequest): Promise; - /** Class queries an NFT class based on its id */ - class(request: QueryClassRequest): Promise; - /** Classes queries all NFT classes */ - classes(request?: QueryClassesRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - balance: (request: QueryBalanceRequest) => Promise; - owner: (request: QueryOwnerRequest) => Promise; - supply: (request: QuerySupplyRequest) => Promise; - nFTs: (request: QueryNFTsRequest) => Promise; - nFT: (request: QueryNFTRequest) => Promise; - class: (request: QueryClassRequest) => Promise; - classes: (request?: QueryClassesRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseBalanceQuery extends ReactQueryParams { - request: QueryBalanceRequest; -} -export interface UseOwnerQuery extends ReactQueryParams { - request: QueryOwnerRequest; -} -export interface UseSupplyQuery extends ReactQueryParams { - request: QuerySupplyRequest; -} -export interface UseNFTsQuery extends ReactQueryParams { - request: QueryNFTsRequest; -} -export interface UseNFTQuery extends ReactQueryParams { - request: QueryNFTRequest; -} -export interface UseClassQuery extends ReactQueryParams { - request: QueryClassRequest; -} -export interface UseClassesQuery extends ReactQueryParams { - request?: QueryClassesRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 */ useBalance: ({ request, options }: UseBalanceQuery) => import("@tanstack/react-query").UseQueryResult; - /** Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 */ useOwner: ({ request, options }: UseOwnerQuery) => import("@tanstack/react-query").UseQueryResult; - /** Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. */ useSupply: ({ request, options }: UseSupplyQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in - * ERC721Enumerable - */ - useNFTs: ({ request, options }: UseNFTsQuery) => import("@tanstack/react-query").UseQueryResult; - /** NFT queries an NFT based on its class and id. */ useNFT: ({ request, options }: UseNFTQuery) => import("@tanstack/react-query").UseQueryResult; - /** Class queries an NFT class based on its id */ useClass: ({ request, options }: UseClassQuery) => import("@tanstack/react-query").UseQueryResult; - /** Classes queries all NFT classes */ useClasses: ({ request, options }: UseClassesQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 */ QueryBalanceStore: { - new (): { - store: QueryStore; - balance(request: QueryBalanceRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 */ QueryOwnerStore: { - new (): { - store: QueryStore; - owner(request: QueryOwnerRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. */ QuerySupplyStore: { - new (): { - store: QueryStore; - supply(request: QuerySupplyRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in - * ERC721Enumerable - */ - QueryNFTsStore: { - new (): { - store: QueryStore; - nFTs(request: QueryNFTsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** NFT queries an NFT based on its class and id. */ QueryNFTStore: { - new (): { - store: QueryStore; - nFT(request: QueryNFTRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Class queries an NFT class based on its id */ QueryClassStore: { - new (): { - store: QueryStore; - class(request: QueryClassRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Classes queries all NFT classes */ QueryClassesStore: { - new (): { - store: QueryStore; - classes(request: QueryClassesRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts b/examples/authz/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts deleted file mode 100644 index a7a8328d..00000000 --- a/examples/authz/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgSend } from "./tx"; -export declare const AminoConverter: { - "/cosmos.nft.v1beta1.MsgSend": { - aminoType: string; - toAmino: (message: MsgSend) => import("./tx").MsgSendAmino; - fromAmino: (object: import("./tx").MsgSendAmino) => MsgSend; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/nft/v1beta1/tx.d.ts b/examples/authz/types/codegen/cosmos/nft/v1beta1/tx.d.ts deleted file mode 100644 index 24c10054..00000000 --- a/examples/authz/types/codegen/cosmos/nft/v1beta1/tx.d.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** MsgSend represents a message to send a nft from one account to another account. */ -export interface MsgSend { - /** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */ - classId: string; - /** id defines the unique identification of nft */ - id: string; - /** sender is the address of the owner of nft */ - sender: string; - /** receiver is the receiver address of nft */ - receiver: string; -} -export interface MsgSendProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.MsgSend"; - value: Uint8Array; -} -/** MsgSend represents a message to send a nft from one account to another account. */ -export interface MsgSendAmino { - /** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */ - class_id?: string; - /** id defines the unique identification of nft */ - id?: string; - /** sender is the address of the owner of nft */ - sender?: string; - /** receiver is the receiver address of nft */ - receiver?: string; -} -export interface MsgSendAminoMsg { - type: "cosmos-sdk/MsgNFTSend"; - value: MsgSendAmino; -} -/** MsgSend represents a message to send a nft from one account to another account. */ -export interface MsgSendSDKType { - class_id: string; - id: string; - sender: string; - receiver: string; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponse { -} -export interface MsgSendResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.MsgSendResponse"; - value: Uint8Array; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponseAmino { -} -export interface MsgSendResponseAminoMsg { - type: "cosmos-sdk/MsgSendResponse"; - value: MsgSendResponseAmino; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponseSDKType { -} -export declare const MsgSend: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSend; - isSDK(o: any): o is MsgSendSDKType; - isAmino(o: any): o is MsgSendAmino; - encode(message: MsgSend, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSend; - fromJSON(object: any): MsgSend; - toJSON(message: MsgSend): unknown; - fromPartial(object: DeepPartial): MsgSend; - fromSDK(object: MsgSendSDKType): MsgSend; - toSDK(message: MsgSend): MsgSendSDKType; - fromAmino(object: MsgSendAmino): MsgSend; - toAmino(message: MsgSend): MsgSendAmino; - fromAminoMsg(object: MsgSendAminoMsg): MsgSend; - toAminoMsg(message: MsgSend): MsgSendAminoMsg; - fromProtoMsg(message: MsgSendProtoMsg): MsgSend; - toProto(message: MsgSend): Uint8Array; - toProtoMsg(message: MsgSend): MsgSendProtoMsg; -}; -export declare const MsgSendResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSendResponse; - isSDK(o: any): o is MsgSendResponseSDKType; - isAmino(o: any): o is MsgSendResponseAmino; - encode(_: MsgSendResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSendResponse; - fromJSON(_: any): MsgSendResponse; - toJSON(_: MsgSendResponse): unknown; - fromPartial(_: DeepPartial): MsgSendResponse; - fromSDK(_: MsgSendResponseSDKType): MsgSendResponse; - toSDK(_: MsgSendResponse): MsgSendResponseSDKType; - fromAmino(_: MsgSendResponseAmino): MsgSendResponse; - toAmino(_: MsgSendResponse): MsgSendResponseAmino; - fromAminoMsg(object: MsgSendResponseAminoMsg): MsgSendResponse; - toAminoMsg(message: MsgSendResponse): MsgSendResponseAminoMsg; - fromProtoMsg(message: MsgSendResponseProtoMsg): MsgSendResponse; - toProto(message: MsgSendResponse): Uint8Array; - toProtoMsg(message: MsgSendResponse): MsgSendResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts b/examples/authz/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts deleted file mode 100644 index 2637da74..00000000 --- a/examples/authz/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgSend } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - send(value: MsgSend): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - send(value: MsgSend): { - typeUrl: string; - value: MsgSend; - }; - }; - toJSON: { - send(value: MsgSend): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - send(value: any): { - typeUrl: string; - value: MsgSend; - }; - }; - fromPartial: { - send(value: MsgSend): { - typeUrl: string; - value: MsgSend; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index d576de72..00000000 --- a/examples/authz/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgSend } from "./tx"; -/** Msg defines the nft Msg service. */ -export interface Msg { - /** Send defines a method to send a nft from one account to another account. */ - send(signerAddress: string, message: MsgSend, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - send: (signerAddress: string, message: MsgSend, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/cosmos/orm/v1/orm.d.ts b/examples/authz/types/codegen/cosmos/orm/v1/orm.d.ts deleted file mode 100644 index 93ebe2de..00000000 --- a/examples/authz/types/codegen/cosmos/orm/v1/orm.d.ts +++ /dev/null @@ -1,313 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** TableDescriptor describes an ORM table. */ -export interface TableDescriptor { - /** primary_key defines the primary key for the table. */ - primaryKey?: PrimaryKeyDescriptor | undefined; - /** index defines one or more secondary indexes. */ - index: SecondaryIndexDescriptor[]; - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - id: number; -} -export interface TableDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1.TableDescriptor"; - value: Uint8Array; -} -/** TableDescriptor describes an ORM table. */ -export interface TableDescriptorAmino { - /** primary_key defines the primary key for the table. */ - primary_key?: PrimaryKeyDescriptorAmino | undefined; - /** index defines one or more secondary indexes. */ - index?: SecondaryIndexDescriptorAmino[]; - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - id?: number; -} -export interface TableDescriptorAminoMsg { - type: "cosmos-sdk/TableDescriptor"; - value: TableDescriptorAmino; -} -/** TableDescriptor describes an ORM table. */ -export interface TableDescriptorSDKType { - primary_key?: PrimaryKeyDescriptorSDKType | undefined; - index: SecondaryIndexDescriptorSDKType[]; - id: number; -} -/** PrimaryKeyDescriptor describes a table primary key. */ -export interface PrimaryKeyDescriptor { - /** - * fields is a comma-separated list of fields in the primary key. Spaces are - * not allowed. Supported field types, their encodings, and any applicable constraints - * are described below. - * - uint32 are encoded as 2,3,4 or 5 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers. - * - uint64 are encoded as 2,4,6 or 9 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers such as auto-incrementing sequences. - * - fixed32, fixed64 are encoded as big-endian fixed width bytes and support - * sorted iteration. These types are well-suited for encoding fixed with - * decimals as integers. - * - string's are encoded as raw bytes in terminal key segments and null-terminated - * in non-terminal segments. Null characters are thus forbidden in strings. - * string fields support sorted iteration. - * - bytes are encoded as raw bytes in terminal segments and length-prefixed - * with a 32-bit unsigned varint in non-terminal segments. - * - int32, sint32, int64, sint64, sfixed32, sfixed64 are encoded as fixed width bytes with - * an encoding that enables sorted iteration. - * - google.protobuf.Timestamp and google.protobuf.Duration are encoded - * as 12 bytes using an encoding that enables sorted iteration. - * - enum fields are encoded using varint encoding and do not support sorted - * iteration. - * - bool fields are encoded as a single byte 0 or 1. - * - * All other fields types are unsupported in keys including repeated and - * oneof fields. - * - * Primary keys are prefixed by the varint encoded table id and the byte 0x0 - * plus any additional prefix specified by the schema. - */ - fields: string; - /** - * auto_increment specifies that the primary key is generated by an - * auto-incrementing integer. If this is set to true fields must only - * contain one field of that is of type uint64. - */ - autoIncrement: boolean; -} -export interface PrimaryKeyDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1.PrimaryKeyDescriptor"; - value: Uint8Array; -} -/** PrimaryKeyDescriptor describes a table primary key. */ -export interface PrimaryKeyDescriptorAmino { - /** - * fields is a comma-separated list of fields in the primary key. Spaces are - * not allowed. Supported field types, their encodings, and any applicable constraints - * are described below. - * - uint32 are encoded as 2,3,4 or 5 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers. - * - uint64 are encoded as 2,4,6 or 9 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers such as auto-incrementing sequences. - * - fixed32, fixed64 are encoded as big-endian fixed width bytes and support - * sorted iteration. These types are well-suited for encoding fixed with - * decimals as integers. - * - string's are encoded as raw bytes in terminal key segments and null-terminated - * in non-terminal segments. Null characters are thus forbidden in strings. - * string fields support sorted iteration. - * - bytes are encoded as raw bytes in terminal segments and length-prefixed - * with a 32-bit unsigned varint in non-terminal segments. - * - int32, sint32, int64, sint64, sfixed32, sfixed64 are encoded as fixed width bytes with - * an encoding that enables sorted iteration. - * - google.protobuf.Timestamp and google.protobuf.Duration are encoded - * as 12 bytes using an encoding that enables sorted iteration. - * - enum fields are encoded using varint encoding and do not support sorted - * iteration. - * - bool fields are encoded as a single byte 0 or 1. - * - * All other fields types are unsupported in keys including repeated and - * oneof fields. - * - * Primary keys are prefixed by the varint encoded table id and the byte 0x0 - * plus any additional prefix specified by the schema. - */ - fields?: string; - /** - * auto_increment specifies that the primary key is generated by an - * auto-incrementing integer. If this is set to true fields must only - * contain one field of that is of type uint64. - */ - auto_increment?: boolean; -} -export interface PrimaryKeyDescriptorAminoMsg { - type: "cosmos-sdk/PrimaryKeyDescriptor"; - value: PrimaryKeyDescriptorAmino; -} -/** PrimaryKeyDescriptor describes a table primary key. */ -export interface PrimaryKeyDescriptorSDKType { - fields: string; - auto_increment: boolean; -} -/** PrimaryKeyDescriptor describes a table secondary index. */ -export interface SecondaryIndexDescriptor { - /** - * fields is a comma-separated list of fields in the index. The supported - * field types are the same as those for PrimaryKeyDescriptor.fields. - * Index keys are prefixed by the varint encoded table id and the varint - * encoded index id plus any additional prefix specified by the schema. - * - * In addition the the field segments, non-unique index keys are suffixed with - * any additional primary key fields not present in the index fields so that the - * primary key can be reconstructed. Unique indexes instead of being suffixed - * store the remaining primary key fields in the value.. - */ - fields: string; - /** - * id is a non-zero integer ID that must be unique within the indexes for this - * table and less than 32768. It may be deprecated in the future when this can - * be auto-generated. - */ - id: number; - /** unique specifies that this an unique index. */ - unique: boolean; -} -export interface SecondaryIndexDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1.SecondaryIndexDescriptor"; - value: Uint8Array; -} -/** PrimaryKeyDescriptor describes a table secondary index. */ -export interface SecondaryIndexDescriptorAmino { - /** - * fields is a comma-separated list of fields in the index. The supported - * field types are the same as those for PrimaryKeyDescriptor.fields. - * Index keys are prefixed by the varint encoded table id and the varint - * encoded index id plus any additional prefix specified by the schema. - * - * In addition the the field segments, non-unique index keys are suffixed with - * any additional primary key fields not present in the index fields so that the - * primary key can be reconstructed. Unique indexes instead of being suffixed - * store the remaining primary key fields in the value.. - */ - fields?: string; - /** - * id is a non-zero integer ID that must be unique within the indexes for this - * table and less than 32768. It may be deprecated in the future when this can - * be auto-generated. - */ - id?: number; - /** unique specifies that this an unique index. */ - unique?: boolean; -} -export interface SecondaryIndexDescriptorAminoMsg { - type: "cosmos-sdk/SecondaryIndexDescriptor"; - value: SecondaryIndexDescriptorAmino; -} -/** PrimaryKeyDescriptor describes a table secondary index. */ -export interface SecondaryIndexDescriptorSDKType { - fields: string; - id: number; - unique: boolean; -} -/** TableDescriptor describes an ORM singleton table which has at most one instance. */ -export interface SingletonDescriptor { - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - id: number; -} -export interface SingletonDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1.SingletonDescriptor"; - value: Uint8Array; -} -/** TableDescriptor describes an ORM singleton table which has at most one instance. */ -export interface SingletonDescriptorAmino { - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - id?: number; -} -export interface SingletonDescriptorAminoMsg { - type: "cosmos-sdk/SingletonDescriptor"; - value: SingletonDescriptorAmino; -} -/** TableDescriptor describes an ORM singleton table which has at most one instance. */ -export interface SingletonDescriptorSDKType { - id: number; -} -export declare const TableDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is TableDescriptor; - isSDK(o: any): o is TableDescriptorSDKType; - isAmino(o: any): o is TableDescriptorAmino; - encode(message: TableDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TableDescriptor; - fromJSON(object: any): TableDescriptor; - toJSON(message: TableDescriptor): unknown; - fromPartial(object: DeepPartial): TableDescriptor; - fromSDK(object: TableDescriptorSDKType): TableDescriptor; - toSDK(message: TableDescriptor): TableDescriptorSDKType; - fromAmino(object: TableDescriptorAmino): TableDescriptor; - toAmino(message: TableDescriptor): TableDescriptorAmino; - fromAminoMsg(object: TableDescriptorAminoMsg): TableDescriptor; - toAminoMsg(message: TableDescriptor): TableDescriptorAminoMsg; - fromProtoMsg(message: TableDescriptorProtoMsg): TableDescriptor; - toProto(message: TableDescriptor): Uint8Array; - toProtoMsg(message: TableDescriptor): TableDescriptorProtoMsg; -}; -export declare const PrimaryKeyDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is PrimaryKeyDescriptor; - isSDK(o: any): o is PrimaryKeyDescriptorSDKType; - isAmino(o: any): o is PrimaryKeyDescriptorAmino; - encode(message: PrimaryKeyDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PrimaryKeyDescriptor; - fromJSON(object: any): PrimaryKeyDescriptor; - toJSON(message: PrimaryKeyDescriptor): unknown; - fromPartial(object: DeepPartial): PrimaryKeyDescriptor; - fromSDK(object: PrimaryKeyDescriptorSDKType): PrimaryKeyDescriptor; - toSDK(message: PrimaryKeyDescriptor): PrimaryKeyDescriptorSDKType; - fromAmino(object: PrimaryKeyDescriptorAmino): PrimaryKeyDescriptor; - toAmino(message: PrimaryKeyDescriptor): PrimaryKeyDescriptorAmino; - fromAminoMsg(object: PrimaryKeyDescriptorAminoMsg): PrimaryKeyDescriptor; - toAminoMsg(message: PrimaryKeyDescriptor): PrimaryKeyDescriptorAminoMsg; - fromProtoMsg(message: PrimaryKeyDescriptorProtoMsg): PrimaryKeyDescriptor; - toProto(message: PrimaryKeyDescriptor): Uint8Array; - toProtoMsg(message: PrimaryKeyDescriptor): PrimaryKeyDescriptorProtoMsg; -}; -export declare const SecondaryIndexDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is SecondaryIndexDescriptor; - isSDK(o: any): o is SecondaryIndexDescriptorSDKType; - isAmino(o: any): o is SecondaryIndexDescriptorAmino; - encode(message: SecondaryIndexDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SecondaryIndexDescriptor; - fromJSON(object: any): SecondaryIndexDescriptor; - toJSON(message: SecondaryIndexDescriptor): unknown; - fromPartial(object: DeepPartial): SecondaryIndexDescriptor; - fromSDK(object: SecondaryIndexDescriptorSDKType): SecondaryIndexDescriptor; - toSDK(message: SecondaryIndexDescriptor): SecondaryIndexDescriptorSDKType; - fromAmino(object: SecondaryIndexDescriptorAmino): SecondaryIndexDescriptor; - toAmino(message: SecondaryIndexDescriptor): SecondaryIndexDescriptorAmino; - fromAminoMsg(object: SecondaryIndexDescriptorAminoMsg): SecondaryIndexDescriptor; - toAminoMsg(message: SecondaryIndexDescriptor): SecondaryIndexDescriptorAminoMsg; - fromProtoMsg(message: SecondaryIndexDescriptorProtoMsg): SecondaryIndexDescriptor; - toProto(message: SecondaryIndexDescriptor): Uint8Array; - toProtoMsg(message: SecondaryIndexDescriptor): SecondaryIndexDescriptorProtoMsg; -}; -export declare const SingletonDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is SingletonDescriptor; - isSDK(o: any): o is SingletonDescriptorSDKType; - isAmino(o: any): o is SingletonDescriptorAmino; - encode(message: SingletonDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SingletonDescriptor; - fromJSON(object: any): SingletonDescriptor; - toJSON(message: SingletonDescriptor): unknown; - fromPartial(object: DeepPartial): SingletonDescriptor; - fromSDK(object: SingletonDescriptorSDKType): SingletonDescriptor; - toSDK(message: SingletonDescriptor): SingletonDescriptorSDKType; - fromAmino(object: SingletonDescriptorAmino): SingletonDescriptor; - toAmino(message: SingletonDescriptor): SingletonDescriptorAmino; - fromAminoMsg(object: SingletonDescriptorAminoMsg): SingletonDescriptor; - toAminoMsg(message: SingletonDescriptor): SingletonDescriptorAminoMsg; - fromProtoMsg(message: SingletonDescriptorProtoMsg): SingletonDescriptor; - toProto(message: SingletonDescriptor): Uint8Array; - toProtoMsg(message: SingletonDescriptor): SingletonDescriptorProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/orm/v1alpha1/schema.d.ts b/examples/authz/types/codegen/cosmos/orm/v1alpha1/schema.d.ts deleted file mode 100644 index bdc86d99..00000000 --- a/examples/authz/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +++ /dev/null @@ -1,176 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** StorageType */ -export declare enum StorageType { - /** - * STORAGE_TYPE_DEFAULT_UNSPECIFIED - STORAGE_TYPE_DEFAULT_UNSPECIFIED indicates the persistent - * KV-storage where primary key entries are stored in merkle-tree - * backed commitment storage and indexes and seqs are stored in - * fast index storage. Note that the Cosmos SDK before store/v2alpha1 - * does not support this. - */ - STORAGE_TYPE_DEFAULT_UNSPECIFIED = 0, - /** - * STORAGE_TYPE_MEMORY - STORAGE_TYPE_MEMORY indicates in-memory storage that will be - * reloaded every time an app restarts. Tables with this type of storage - * will by default be ignored when importing and exporting a module's - * state from JSON. - */ - STORAGE_TYPE_MEMORY = 1, - /** - * STORAGE_TYPE_TRANSIENT - STORAGE_TYPE_TRANSIENT indicates transient storage that is reset - * at the end of every block. Tables with this type of storage - * will by default be ignored when importing and exporting a module's - * state from JSON. - */ - STORAGE_TYPE_TRANSIENT = 2, - /** - * STORAGE_TYPE_INDEX - STORAGE_TYPE_INDEX indicates persistent storage which is not backed - * by a merkle-tree and won't affect the app hash. Note that the Cosmos SDK - * before store/v2alpha1 does not support this. - */ - STORAGE_TYPE_INDEX = 3, - /** - * STORAGE_TYPE_COMMITMENT - STORAGE_TYPE_INDEX indicates persistent storage which is backed by - * a merkle-tree. With this type of storage, both primary and index keys - * will affect the app hash and this is generally less efficient - * than using STORAGE_TYPE_DEFAULT_UNSPECIFIED which separates index - * keys into index storage. Note that modules built with the - * Cosmos SDK before store/v2alpha1 must specify STORAGE_TYPE_COMMITMENT - * instead of STORAGE_TYPE_DEFAULT_UNSPECIFIED or STORAGE_TYPE_INDEX - * because this is the only type of persistent storage available. - */ - STORAGE_TYPE_COMMITMENT = 4, - UNRECOGNIZED = -1 -} -export declare const StorageTypeSDKType: typeof StorageType; -export declare const StorageTypeAmino: typeof StorageType; -export declare function storageTypeFromJSON(object: any): StorageType; -export declare function storageTypeToJSON(object: StorageType): string; -/** ModuleSchemaDescriptor describe's a module's ORM schema. */ -export interface ModuleSchemaDescriptor { - schemaFile: ModuleSchemaDescriptor_FileEntry[]; - /** - * prefix is an optional prefix that precedes all keys in this module's - * store. - */ - prefix: Uint8Array; -} -export interface ModuleSchemaDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1alpha1.ModuleSchemaDescriptor"; - value: Uint8Array; -} -/** ModuleSchemaDescriptor describe's a module's ORM schema. */ -export interface ModuleSchemaDescriptorAmino { - schema_file?: ModuleSchemaDescriptor_FileEntryAmino[]; - /** - * prefix is an optional prefix that precedes all keys in this module's - * store. - */ - prefix?: string; -} -export interface ModuleSchemaDescriptorAminoMsg { - type: "cosmos-sdk/ModuleSchemaDescriptor"; - value: ModuleSchemaDescriptorAmino; -} -/** ModuleSchemaDescriptor describe's a module's ORM schema. */ -export interface ModuleSchemaDescriptorSDKType { - schema_file: ModuleSchemaDescriptor_FileEntrySDKType[]; - prefix: Uint8Array; -} -/** FileEntry describes an ORM file used in a module. */ -export interface ModuleSchemaDescriptor_FileEntry { - /** - * id is a prefix that will be varint encoded and prepended to all the - * table keys specified in the file's tables. - */ - id: number; - /** - * proto_file_name is the name of a file .proto in that contains - * table definitions. The .proto file must be in a package that the - * module has referenced using cosmos.app.v1.ModuleDescriptor.use_package. - */ - protoFileName: string; - /** - * storage_type optionally indicates the type of storage this file's - * tables should used. If it is left unspecified, the default KV-storage - * of the app will be used. - */ - storageType: StorageType; -} -export interface ModuleSchemaDescriptor_FileEntryProtoMsg { - typeUrl: "/cosmos.orm.v1alpha1.FileEntry"; - value: Uint8Array; -} -/** FileEntry describes an ORM file used in a module. */ -export interface ModuleSchemaDescriptor_FileEntryAmino { - /** - * id is a prefix that will be varint encoded and prepended to all the - * table keys specified in the file's tables. - */ - id?: number; - /** - * proto_file_name is the name of a file .proto in that contains - * table definitions. The .proto file must be in a package that the - * module has referenced using cosmos.app.v1.ModuleDescriptor.use_package. - */ - proto_file_name?: string; - /** - * storage_type optionally indicates the type of storage this file's - * tables should used. If it is left unspecified, the default KV-storage - * of the app will be used. - */ - storage_type?: StorageType; -} -export interface ModuleSchemaDescriptor_FileEntryAminoMsg { - type: "cosmos-sdk/FileEntry"; - value: ModuleSchemaDescriptor_FileEntryAmino; -} -/** FileEntry describes an ORM file used in a module. */ -export interface ModuleSchemaDescriptor_FileEntrySDKType { - id: number; - proto_file_name: string; - storage_type: StorageType; -} -export declare const ModuleSchemaDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is ModuleSchemaDescriptor; - isSDK(o: any): o is ModuleSchemaDescriptorSDKType; - isAmino(o: any): o is ModuleSchemaDescriptorAmino; - encode(message: ModuleSchemaDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ModuleSchemaDescriptor; - fromJSON(object: any): ModuleSchemaDescriptor; - toJSON(message: ModuleSchemaDescriptor): unknown; - fromPartial(object: DeepPartial): ModuleSchemaDescriptor; - fromSDK(object: ModuleSchemaDescriptorSDKType): ModuleSchemaDescriptor; - toSDK(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorSDKType; - fromAmino(object: ModuleSchemaDescriptorAmino): ModuleSchemaDescriptor; - toAmino(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorAmino; - fromAminoMsg(object: ModuleSchemaDescriptorAminoMsg): ModuleSchemaDescriptor; - toAminoMsg(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorAminoMsg; - fromProtoMsg(message: ModuleSchemaDescriptorProtoMsg): ModuleSchemaDescriptor; - toProto(message: ModuleSchemaDescriptor): Uint8Array; - toProtoMsg(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorProtoMsg; -}; -export declare const ModuleSchemaDescriptor_FileEntry: { - typeUrl: string; - aminoType: string; - is(o: any): o is ModuleSchemaDescriptor_FileEntry; - isSDK(o: any): o is ModuleSchemaDescriptor_FileEntrySDKType; - isAmino(o: any): o is ModuleSchemaDescriptor_FileEntryAmino; - encode(message: ModuleSchemaDescriptor_FileEntry, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ModuleSchemaDescriptor_FileEntry; - fromJSON(object: any): ModuleSchemaDescriptor_FileEntry; - toJSON(message: ModuleSchemaDescriptor_FileEntry): unknown; - fromPartial(object: DeepPartial): ModuleSchemaDescriptor_FileEntry; - fromSDK(object: ModuleSchemaDescriptor_FileEntrySDKType): ModuleSchemaDescriptor_FileEntry; - toSDK(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntrySDKType; - fromAmino(object: ModuleSchemaDescriptor_FileEntryAmino): ModuleSchemaDescriptor_FileEntry; - toAmino(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntryAmino; - fromAminoMsg(object: ModuleSchemaDescriptor_FileEntryAminoMsg): ModuleSchemaDescriptor_FileEntry; - toAminoMsg(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntryAminoMsg; - fromProtoMsg(message: ModuleSchemaDescriptor_FileEntryProtoMsg): ModuleSchemaDescriptor_FileEntry; - toProto(message: ModuleSchemaDescriptor_FileEntry): Uint8Array; - toProtoMsg(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntryProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/params/v1beta1/params.d.ts b/examples/authz/types/codegen/cosmos/params/v1beta1/params.d.ts deleted file mode 100644 index e21eb6ff..00000000 --- a/examples/authz/types/codegen/cosmos/params/v1beta1/params.d.ts +++ /dev/null @@ -1,107 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** ParameterChangeProposal defines a proposal to change one or more parameters. */ -export interface ParameterChangeProposal { - $typeUrl?: "/cosmos.params.v1beta1.ParameterChangeProposal"; - title: string; - description: string; - changes: ParamChange[]; -} -export interface ParameterChangeProposalProtoMsg { - typeUrl: "/cosmos.params.v1beta1.ParameterChangeProposal"; - value: Uint8Array; -} -/** ParameterChangeProposal defines a proposal to change one or more parameters. */ -export interface ParameterChangeProposalAmino { - title?: string; - description?: string; - changes?: ParamChangeAmino[]; -} -export interface ParameterChangeProposalAminoMsg { - type: "cosmos-sdk/ParameterChangeProposal"; - value: ParameterChangeProposalAmino; -} -/** ParameterChangeProposal defines a proposal to change one or more parameters. */ -export interface ParameterChangeProposalSDKType { - $typeUrl?: "/cosmos.params.v1beta1.ParameterChangeProposal"; - title: string; - description: string; - changes: ParamChangeSDKType[]; -} -/** - * ParamChange defines an individual parameter change, for use in - * ParameterChangeProposal. - */ -export interface ParamChange { - subspace: string; - key: string; - value: string; -} -export interface ParamChangeProtoMsg { - typeUrl: "/cosmos.params.v1beta1.ParamChange"; - value: Uint8Array; -} -/** - * ParamChange defines an individual parameter change, for use in - * ParameterChangeProposal. - */ -export interface ParamChangeAmino { - subspace?: string; - key?: string; - value?: string; -} -export interface ParamChangeAminoMsg { - type: "cosmos-sdk/ParamChange"; - value: ParamChangeAmino; -} -/** - * ParamChange defines an individual parameter change, for use in - * ParameterChangeProposal. - */ -export interface ParamChangeSDKType { - subspace: string; - key: string; - value: string; -} -export declare const ParameterChangeProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is ParameterChangeProposal; - isSDK(o: any): o is ParameterChangeProposalSDKType; - isAmino(o: any): o is ParameterChangeProposalAmino; - encode(message: ParameterChangeProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ParameterChangeProposal; - fromJSON(object: any): ParameterChangeProposal; - toJSON(message: ParameterChangeProposal): unknown; - fromPartial(object: DeepPartial): ParameterChangeProposal; - fromSDK(object: ParameterChangeProposalSDKType): ParameterChangeProposal; - toSDK(message: ParameterChangeProposal): ParameterChangeProposalSDKType; - fromAmino(object: ParameterChangeProposalAmino): ParameterChangeProposal; - toAmino(message: ParameterChangeProposal): ParameterChangeProposalAmino; - fromAminoMsg(object: ParameterChangeProposalAminoMsg): ParameterChangeProposal; - toAminoMsg(message: ParameterChangeProposal): ParameterChangeProposalAminoMsg; - fromProtoMsg(message: ParameterChangeProposalProtoMsg): ParameterChangeProposal; - toProto(message: ParameterChangeProposal): Uint8Array; - toProtoMsg(message: ParameterChangeProposal): ParameterChangeProposalProtoMsg; -}; -export declare const ParamChange: { - typeUrl: string; - aminoType: string; - is(o: any): o is ParamChange; - isSDK(o: any): o is ParamChangeSDKType; - isAmino(o: any): o is ParamChangeAmino; - encode(message: ParamChange, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ParamChange; - fromJSON(object: any): ParamChange; - toJSON(message: ParamChange): unknown; - fromPartial(object: DeepPartial): ParamChange; - fromSDK(object: ParamChangeSDKType): ParamChange; - toSDK(message: ParamChange): ParamChangeSDKType; - fromAmino(object: ParamChangeAmino): ParamChange; - toAmino(message: ParamChange): ParamChangeAmino; - fromAminoMsg(object: ParamChangeAminoMsg): ParamChange; - toAminoMsg(message: ParamChange): ParamChangeAminoMsg; - fromProtoMsg(message: ParamChangeProtoMsg): ParamChange; - toProto(message: ParamChange): Uint8Array; - toProtoMsg(message: ParamChange): ParamChangeProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/params/v1beta1/query.d.ts b/examples/authz/types/codegen/cosmos/params/v1beta1/query.d.ts deleted file mode 100644 index 9807246f..00000000 --- a/examples/authz/types/codegen/cosmos/params/v1beta1/query.d.ts +++ /dev/null @@ -1,244 +0,0 @@ -import { ParamChange, ParamChangeAmino, ParamChangeSDKType } from "./params"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { - /** subspace defines the module to query the parameter for. */ - subspace: string; - /** key defines the key of the parameter in the subspace. */ - key: string; -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.params.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { - /** subspace defines the module to query the parameter for. */ - subspace?: string; - /** key defines the key of the parameter in the subspace. */ - key?: string; -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { - subspace: string; - key: string; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** param defines the queried parameter. */ - param: ParamChange | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.params.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** param defines the queried parameter. */ - param?: ParamChangeAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - param: ParamChangeSDKType | undefined; -} -/** - * QuerySubspacesRequest defines a request type for querying for all registered - * subspaces and all keys for a subspace. - */ -export interface QuerySubspacesRequest { -} -export interface QuerySubspacesRequestProtoMsg { - typeUrl: "/cosmos.params.v1beta1.QuerySubspacesRequest"; - value: Uint8Array; -} -/** - * QuerySubspacesRequest defines a request type for querying for all registered - * subspaces and all keys for a subspace. - */ -export interface QuerySubspacesRequestAmino { -} -export interface QuerySubspacesRequestAminoMsg { - type: "cosmos-sdk/QuerySubspacesRequest"; - value: QuerySubspacesRequestAmino; -} -/** - * QuerySubspacesRequest defines a request type for querying for all registered - * subspaces and all keys for a subspace. - */ -export interface QuerySubspacesRequestSDKType { -} -/** - * QuerySubspacesResponse defines the response types for querying for all - * registered subspaces and all keys for a subspace. - */ -export interface QuerySubspacesResponse { - subspaces: Subspace[]; -} -export interface QuerySubspacesResponseProtoMsg { - typeUrl: "/cosmos.params.v1beta1.QuerySubspacesResponse"; - value: Uint8Array; -} -/** - * QuerySubspacesResponse defines the response types for querying for all - * registered subspaces and all keys for a subspace. - */ -export interface QuerySubspacesResponseAmino { - subspaces?: SubspaceAmino[]; -} -export interface QuerySubspacesResponseAminoMsg { - type: "cosmos-sdk/QuerySubspacesResponse"; - value: QuerySubspacesResponseAmino; -} -/** - * QuerySubspacesResponse defines the response types for querying for all - * registered subspaces and all keys for a subspace. - */ -export interface QuerySubspacesResponseSDKType { - subspaces: SubspaceSDKType[]; -} -/** - * Subspace defines a parameter subspace name and all the keys that exist for - * the subspace. - */ -export interface Subspace { - subspace: string; - keys: string[]; -} -export interface SubspaceProtoMsg { - typeUrl: "/cosmos.params.v1beta1.Subspace"; - value: Uint8Array; -} -/** - * Subspace defines a parameter subspace name and all the keys that exist for - * the subspace. - */ -export interface SubspaceAmino { - subspace?: string; - keys?: string[]; -} -export interface SubspaceAminoMsg { - type: "cosmos-sdk/Subspace"; - value: SubspaceAmino; -} -/** - * Subspace defines a parameter subspace name and all the keys that exist for - * the subspace. - */ -export interface SubspaceSDKType { - subspace: string; - keys: string[]; -} -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(message: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(object: any): QueryParamsRequest; - toJSON(message: QueryParamsRequest): unknown; - fromPartial(object: DeepPartial): QueryParamsRequest; - fromSDK(object: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(message: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(object: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(message: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QuerySubspacesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySubspacesRequest; - isSDK(o: any): o is QuerySubspacesRequestSDKType; - isAmino(o: any): o is QuerySubspacesRequestAmino; - encode(_: QuerySubspacesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySubspacesRequest; - fromJSON(_: any): QuerySubspacesRequest; - toJSON(_: QuerySubspacesRequest): unknown; - fromPartial(_: DeepPartial): QuerySubspacesRequest; - fromSDK(_: QuerySubspacesRequestSDKType): QuerySubspacesRequest; - toSDK(_: QuerySubspacesRequest): QuerySubspacesRequestSDKType; - fromAmino(_: QuerySubspacesRequestAmino): QuerySubspacesRequest; - toAmino(_: QuerySubspacesRequest): QuerySubspacesRequestAmino; - fromAminoMsg(object: QuerySubspacesRequestAminoMsg): QuerySubspacesRequest; - toAminoMsg(message: QuerySubspacesRequest): QuerySubspacesRequestAminoMsg; - fromProtoMsg(message: QuerySubspacesRequestProtoMsg): QuerySubspacesRequest; - toProto(message: QuerySubspacesRequest): Uint8Array; - toProtoMsg(message: QuerySubspacesRequest): QuerySubspacesRequestProtoMsg; -}; -export declare const QuerySubspacesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySubspacesResponse; - isSDK(o: any): o is QuerySubspacesResponseSDKType; - isAmino(o: any): o is QuerySubspacesResponseAmino; - encode(message: QuerySubspacesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySubspacesResponse; - fromJSON(object: any): QuerySubspacesResponse; - toJSON(message: QuerySubspacesResponse): unknown; - fromPartial(object: DeepPartial): QuerySubspacesResponse; - fromSDK(object: QuerySubspacesResponseSDKType): QuerySubspacesResponse; - toSDK(message: QuerySubspacesResponse): QuerySubspacesResponseSDKType; - fromAmino(object: QuerySubspacesResponseAmino): QuerySubspacesResponse; - toAmino(message: QuerySubspacesResponse): QuerySubspacesResponseAmino; - fromAminoMsg(object: QuerySubspacesResponseAminoMsg): QuerySubspacesResponse; - toAminoMsg(message: QuerySubspacesResponse): QuerySubspacesResponseAminoMsg; - fromProtoMsg(message: QuerySubspacesResponseProtoMsg): QuerySubspacesResponse; - toProto(message: QuerySubspacesResponse): Uint8Array; - toProtoMsg(message: QuerySubspacesResponse): QuerySubspacesResponseProtoMsg; -}; -export declare const Subspace: { - typeUrl: string; - aminoType: string; - is(o: any): o is Subspace; - isSDK(o: any): o is SubspaceSDKType; - isAmino(o: any): o is SubspaceAmino; - encode(message: Subspace, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Subspace; - fromJSON(object: any): Subspace; - toJSON(message: Subspace): unknown; - fromPartial(object: DeepPartial): Subspace; - fromSDK(object: SubspaceSDKType): Subspace; - toSDK(message: Subspace): SubspaceSDKType; - fromAmino(object: SubspaceAmino): Subspace; - toAmino(message: Subspace): SubspaceAmino; - fromAminoMsg(object: SubspaceAminoMsg): Subspace; - toAminoMsg(message: Subspace): SubspaceAminoMsg; - fromProtoMsg(message: SubspaceProtoMsg): Subspace; - toProto(message: Subspace): Uint8Array; - toProtoMsg(message: Subspace): SubspaceProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/params/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/params/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 99b40152..00000000 --- a/examples/authz/types/codegen/cosmos/params/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** - * Params queries a specific parameter of a module, given its subspace and - * key. - */ - params(request: QueryParamsRequest): Promise; - /** Subspaces queries for all registered subspaces and all keys for a subspace. */ - subspaces(request?: QuerySubspacesRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - params: (request: QueryParamsRequest) => Promise; - subspaces: (request?: QuerySubspacesRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseParamsQuery extends ReactQueryParams { - request: QueryParamsRequest; -} -export interface UseSubspacesQuery extends ReactQueryParams { - request?: QuerySubspacesRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** - * Params queries a specific parameter of a module, given its subspace and - * key. - */ - useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Subspaces queries for all registered subspaces and all keys for a subspace. */ useSubspaces: ({ request, options }: UseSubspacesQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** - * Params queries a specific parameter of a module, given its subspace and - * key. - */ - QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Subspaces queries for all registered subspaces and all keys for a subspace. */ QuerySubspacesStore: { - new (): { - store: QueryStore; - subspaces(request: QuerySubspacesRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/rpc.query.d.ts b/examples/authz/types/codegen/cosmos/rpc.query.d.ts deleted file mode 100644 index 48d1e6ce..00000000 --- a/examples/authz/types/codegen/cosmos/rpc.query.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { Rpc } from "../helpers"; -export declare const createRPCQueryClient: ({ rpc }: { - rpc: Rpc; -}) => Promise<{ - cosmos: { - app: { - v1alpha1: import("./app/v1alpha1/query.rpc.Query").QueryClientImpl; - }; - auth: { - v1beta1: import("./auth/v1beta1/query.rpc.Query").QueryClientImpl; - }; - authz: { - v1beta1: import("./authz/v1beta1/query.rpc.Query").QueryClientImpl; - }; - bank: { - v1beta1: import("./bank/v1beta1/query.rpc.Query").QueryClientImpl; - }; - base: { - tendermint: { - v1beta1: import("./base/tendermint/v1beta1/query.rpc.Service").ServiceClientImpl; - }; - }; - distribution: { - v1beta1: import("./distribution/v1beta1/query.rpc.Query").QueryClientImpl; - }; - evidence: { - v1beta1: import("./evidence/v1beta1/query.rpc.Query").QueryClientImpl; - }; - feegrant: { - v1beta1: import("./feegrant/v1beta1/query.rpc.Query").QueryClientImpl; - }; - gov: { - v1: import("./gov/v1/query.rpc.Query").QueryClientImpl; - v1beta1: import("./gov/v1beta1/query.rpc.Query").QueryClientImpl; - }; - group: { - v1: import("./group/v1/query.rpc.Query").QueryClientImpl; - }; - mint: { - v1beta1: import("./mint/v1beta1/query.rpc.Query").QueryClientImpl; - }; - nft: { - v1beta1: import("./nft/v1beta1/query.rpc.Query").QueryClientImpl; - }; - params: { - v1beta1: import("./params/v1beta1/query.rpc.Query").QueryClientImpl; - }; - slashing: { - v1beta1: import("./slashing/v1beta1/query.rpc.Query").QueryClientImpl; - }; - staking: { - v1beta1: import("./staking/v1beta1/query.rpc.Query").QueryClientImpl; - }; - tx: { - v1beta1: import("./tx/v1beta1/service.rpc.Service").ServiceClientImpl; - }; - upgrade: { - v1beta1: import("./upgrade/v1beta1/query.rpc.Query").QueryClientImpl; - }; - }; -}>; diff --git a/examples/authz/types/codegen/cosmos/rpc.tx.d.ts b/examples/authz/types/codegen/cosmos/rpc.tx.d.ts deleted file mode 100644 index 4e07ea0a..00000000 --- a/examples/authz/types/codegen/cosmos/rpc.tx.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Rpc } from "../helpers"; -export declare const createRPCMsgClient: ({ rpc }: { - rpc: Rpc; -}) => Promise<{ - cosmos: { - authz: { - v1beta1: import("./authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("./bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("./crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("./distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("./evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("./feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("./gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("./gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("./group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("./nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("./slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("./staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("./upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("./vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; -}>; diff --git a/examples/authz/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts b/examples/authz/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts deleted file mode 100644 index 39a0b343..00000000 --- a/examples/authz/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +++ /dev/null @@ -1,221 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoAmino, ValidatorSigningInfoSDKType } from "./slashing"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the slashing module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of related to deposit. */ - params: Params | undefined; - /** - * signing_infos represents a map between validator addresses and their - * signing infos. - */ - signingInfos: SigningInfo[]; - /** - * missed_blocks represents a map between validator addresses and their - * missed blocks. - */ - missedBlocks: ValidatorMissedBlocks[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the slashing module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of related to deposit. */ - params?: ParamsAmino | undefined; - /** - * signing_infos represents a map between validator addresses and their - * signing infos. - */ - signing_infos?: SigningInfoAmino[]; - /** - * missed_blocks represents a map between validator addresses and their - * missed blocks. - */ - missed_blocks?: ValidatorMissedBlocksAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the slashing module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType | undefined; - signing_infos: SigningInfoSDKType[]; - missed_blocks: ValidatorMissedBlocksSDKType[]; -} -/** SigningInfo stores validator signing info of corresponding address. */ -export interface SigningInfo { - /** address is the validator address. */ - address: string; - /** validator_signing_info represents the signing info of this validator. */ - validatorSigningInfo: ValidatorSigningInfo | undefined; -} -export interface SigningInfoProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.SigningInfo"; - value: Uint8Array; -} -/** SigningInfo stores validator signing info of corresponding address. */ -export interface SigningInfoAmino { - /** address is the validator address. */ - address?: string; - /** validator_signing_info represents the signing info of this validator. */ - validator_signing_info?: ValidatorSigningInfoAmino | undefined; -} -export interface SigningInfoAminoMsg { - type: "cosmos-sdk/SigningInfo"; - value: SigningInfoAmino; -} -/** SigningInfo stores validator signing info of corresponding address. */ -export interface SigningInfoSDKType { - address: string; - validator_signing_info: ValidatorSigningInfoSDKType | undefined; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ -export interface ValidatorMissedBlocks { - /** address is the validator address. */ - address: string; - /** missed_blocks is an array of missed blocks by the validator. */ - missedBlocks: MissedBlock[]; -} -export interface ValidatorMissedBlocksProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorMissedBlocks"; - value: Uint8Array; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ -export interface ValidatorMissedBlocksAmino { - /** address is the validator address. */ - address?: string; - /** missed_blocks is an array of missed blocks by the validator. */ - missed_blocks?: MissedBlockAmino[]; -} -export interface ValidatorMissedBlocksAminoMsg { - type: "cosmos-sdk/ValidatorMissedBlocks"; - value: ValidatorMissedBlocksAmino; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ -export interface ValidatorMissedBlocksSDKType { - address: string; - missed_blocks: MissedBlockSDKType[]; -} -/** MissedBlock contains height and missed status as boolean. */ -export interface MissedBlock { - /** index is the height at which the block was missed. */ - index: bigint; - /** missed is the missed status. */ - missed: boolean; -} -export interface MissedBlockProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.MissedBlock"; - value: Uint8Array; -} -/** MissedBlock contains height and missed status as boolean. */ -export interface MissedBlockAmino { - /** index is the height at which the block was missed. */ - index?: string; - /** missed is the missed status. */ - missed?: boolean; -} -export interface MissedBlockAminoMsg { - type: "cosmos-sdk/MissedBlock"; - value: MissedBlockAmino; -} -/** MissedBlock contains height and missed status as boolean. */ -export interface MissedBlockSDKType { - index: bigint; - missed: boolean; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; -export declare const SigningInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is SigningInfo; - isSDK(o: any): o is SigningInfoSDKType; - isAmino(o: any): o is SigningInfoAmino; - encode(message: SigningInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SigningInfo; - fromJSON(object: any): SigningInfo; - toJSON(message: SigningInfo): unknown; - fromPartial(object: DeepPartial): SigningInfo; - fromSDK(object: SigningInfoSDKType): SigningInfo; - toSDK(message: SigningInfo): SigningInfoSDKType; - fromAmino(object: SigningInfoAmino): SigningInfo; - toAmino(message: SigningInfo): SigningInfoAmino; - fromAminoMsg(object: SigningInfoAminoMsg): SigningInfo; - toAminoMsg(message: SigningInfo): SigningInfoAminoMsg; - fromProtoMsg(message: SigningInfoProtoMsg): SigningInfo; - toProto(message: SigningInfo): Uint8Array; - toProtoMsg(message: SigningInfo): SigningInfoProtoMsg; -}; -export declare const ValidatorMissedBlocks: { - typeUrl: string; - aminoType: string; - is(o: any): o is ValidatorMissedBlocks; - isSDK(o: any): o is ValidatorMissedBlocksSDKType; - isAmino(o: any): o is ValidatorMissedBlocksAmino; - encode(message: ValidatorMissedBlocks, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorMissedBlocks; - fromJSON(object: any): ValidatorMissedBlocks; - toJSON(message: ValidatorMissedBlocks): unknown; - fromPartial(object: DeepPartial): ValidatorMissedBlocks; - fromSDK(object: ValidatorMissedBlocksSDKType): ValidatorMissedBlocks; - toSDK(message: ValidatorMissedBlocks): ValidatorMissedBlocksSDKType; - fromAmino(object: ValidatorMissedBlocksAmino): ValidatorMissedBlocks; - toAmino(message: ValidatorMissedBlocks): ValidatorMissedBlocksAmino; - fromAminoMsg(object: ValidatorMissedBlocksAminoMsg): ValidatorMissedBlocks; - toAminoMsg(message: ValidatorMissedBlocks): ValidatorMissedBlocksAminoMsg; - fromProtoMsg(message: ValidatorMissedBlocksProtoMsg): ValidatorMissedBlocks; - toProto(message: ValidatorMissedBlocks): Uint8Array; - toProtoMsg(message: ValidatorMissedBlocks): ValidatorMissedBlocksProtoMsg; -}; -export declare const MissedBlock: { - typeUrl: string; - aminoType: string; - is(o: any): o is MissedBlock; - isSDK(o: any): o is MissedBlockSDKType; - isAmino(o: any): o is MissedBlockAmino; - encode(message: MissedBlock, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MissedBlock; - fromJSON(object: any): MissedBlock; - toJSON(message: MissedBlock): unknown; - fromPartial(object: DeepPartial): MissedBlock; - fromSDK(object: MissedBlockSDKType): MissedBlock; - toSDK(message: MissedBlock): MissedBlockSDKType; - fromAmino(object: MissedBlockAmino): MissedBlock; - toAmino(message: MissedBlock): MissedBlockAmino; - fromAminoMsg(object: MissedBlockAminoMsg): MissedBlock; - toAminoMsg(message: MissedBlock): MissedBlockAminoMsg; - fromProtoMsg(message: MissedBlockProtoMsg): MissedBlock; - toProto(message: MissedBlock): Uint8Array; - toProtoMsg(message: MissedBlock): MissedBlockProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/slashing/v1beta1/query.d.ts b/examples/authz/types/codegen/cosmos/slashing/v1beta1/query.d.ts deleted file mode 100644 index 489dfa5e..00000000 --- a/examples/authz/types/codegen/cosmos/slashing/v1beta1/query.d.ts +++ /dev/null @@ -1,292 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Params, ParamsAmino, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoAmino, ValidatorSigningInfoSDKType } from "./slashing"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryParamsRequest is the request type for the Query/Params RPC method */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is the response type for the Query/Params RPC method */ -export interface QueryParamsResponse { - params: Params | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method */ -export interface QueryParamsResponseAmino { - params?: ParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoRequest { - /** cons_address is the address to query signing info of */ - consAddress: string; -} -export interface QuerySigningInfoRequestProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoRequest"; - value: Uint8Array; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoRequestAmino { - /** cons_address is the address to query signing info of */ - cons_address?: string; -} -export interface QuerySigningInfoRequestAminoMsg { - type: "cosmos-sdk/QuerySigningInfoRequest"; - value: QuerySigningInfoRequestAmino; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoRequestSDKType { - cons_address: string; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoResponse { - /** val_signing_info is the signing info of requested val cons address */ - valSigningInfo: ValidatorSigningInfo | undefined; -} -export interface QuerySigningInfoResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoResponse"; - value: Uint8Array; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoResponseAmino { - /** val_signing_info is the signing info of requested val cons address */ - val_signing_info?: ValidatorSigningInfoAmino | undefined; -} -export interface QuerySigningInfoResponseAminoMsg { - type: "cosmos-sdk/QuerySigningInfoResponse"; - value: QuerySigningInfoResponseAmino; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoResponseSDKType { - val_signing_info: ValidatorSigningInfoSDKType | undefined; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosRequest { - pagination?: PageRequest | undefined; -} -export interface QuerySigningInfosRequestProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosRequest"; - value: Uint8Array; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosRequestAmino { - pagination?: PageRequestAmino | undefined; -} -export interface QuerySigningInfosRequestAminoMsg { - type: "cosmos-sdk/QuerySigningInfosRequest"; - value: QuerySigningInfosRequestAmino; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosResponse { - /** info is the signing info of all validators */ - info: ValidatorSigningInfo[]; - pagination?: PageResponse | undefined; -} -export interface QuerySigningInfosResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosResponse"; - value: Uint8Array; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosResponseAmino { - /** info is the signing info of all validators */ - info?: ValidatorSigningInfoAmino[]; - pagination?: PageResponseAmino | undefined; -} -export interface QuerySigningInfosResponseAminoMsg { - type: "cosmos-sdk/QuerySigningInfosResponse"; - value: QuerySigningInfosResponseAmino; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosResponseSDKType { - info: ValidatorSigningInfoSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: DeepPartial): QueryParamsRequest; - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QuerySigningInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySigningInfoRequest; - isSDK(o: any): o is QuerySigningInfoRequestSDKType; - isAmino(o: any): o is QuerySigningInfoRequestAmino; - encode(message: QuerySigningInfoRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySigningInfoRequest; - fromJSON(object: any): QuerySigningInfoRequest; - toJSON(message: QuerySigningInfoRequest): unknown; - fromPartial(object: DeepPartial): QuerySigningInfoRequest; - fromSDK(object: QuerySigningInfoRequestSDKType): QuerySigningInfoRequest; - toSDK(message: QuerySigningInfoRequest): QuerySigningInfoRequestSDKType; - fromAmino(object: QuerySigningInfoRequestAmino): QuerySigningInfoRequest; - toAmino(message: QuerySigningInfoRequest): QuerySigningInfoRequestAmino; - fromAminoMsg(object: QuerySigningInfoRequestAminoMsg): QuerySigningInfoRequest; - toAminoMsg(message: QuerySigningInfoRequest): QuerySigningInfoRequestAminoMsg; - fromProtoMsg(message: QuerySigningInfoRequestProtoMsg): QuerySigningInfoRequest; - toProto(message: QuerySigningInfoRequest): Uint8Array; - toProtoMsg(message: QuerySigningInfoRequest): QuerySigningInfoRequestProtoMsg; -}; -export declare const QuerySigningInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySigningInfoResponse; - isSDK(o: any): o is QuerySigningInfoResponseSDKType; - isAmino(o: any): o is QuerySigningInfoResponseAmino; - encode(message: QuerySigningInfoResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySigningInfoResponse; - fromJSON(object: any): QuerySigningInfoResponse; - toJSON(message: QuerySigningInfoResponse): unknown; - fromPartial(object: DeepPartial): QuerySigningInfoResponse; - fromSDK(object: QuerySigningInfoResponseSDKType): QuerySigningInfoResponse; - toSDK(message: QuerySigningInfoResponse): QuerySigningInfoResponseSDKType; - fromAmino(object: QuerySigningInfoResponseAmino): QuerySigningInfoResponse; - toAmino(message: QuerySigningInfoResponse): QuerySigningInfoResponseAmino; - fromAminoMsg(object: QuerySigningInfoResponseAminoMsg): QuerySigningInfoResponse; - toAminoMsg(message: QuerySigningInfoResponse): QuerySigningInfoResponseAminoMsg; - fromProtoMsg(message: QuerySigningInfoResponseProtoMsg): QuerySigningInfoResponse; - toProto(message: QuerySigningInfoResponse): Uint8Array; - toProtoMsg(message: QuerySigningInfoResponse): QuerySigningInfoResponseProtoMsg; -}; -export declare const QuerySigningInfosRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySigningInfosRequest; - isSDK(o: any): o is QuerySigningInfosRequestSDKType; - isAmino(o: any): o is QuerySigningInfosRequestAmino; - encode(message: QuerySigningInfosRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySigningInfosRequest; - fromJSON(object: any): QuerySigningInfosRequest; - toJSON(message: QuerySigningInfosRequest): unknown; - fromPartial(object: DeepPartial): QuerySigningInfosRequest; - fromSDK(object: QuerySigningInfosRequestSDKType): QuerySigningInfosRequest; - toSDK(message: QuerySigningInfosRequest): QuerySigningInfosRequestSDKType; - fromAmino(object: QuerySigningInfosRequestAmino): QuerySigningInfosRequest; - toAmino(message: QuerySigningInfosRequest): QuerySigningInfosRequestAmino; - fromAminoMsg(object: QuerySigningInfosRequestAminoMsg): QuerySigningInfosRequest; - toAminoMsg(message: QuerySigningInfosRequest): QuerySigningInfosRequestAminoMsg; - fromProtoMsg(message: QuerySigningInfosRequestProtoMsg): QuerySigningInfosRequest; - toProto(message: QuerySigningInfosRequest): Uint8Array; - toProtoMsg(message: QuerySigningInfosRequest): QuerySigningInfosRequestProtoMsg; -}; -export declare const QuerySigningInfosResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySigningInfosResponse; - isSDK(o: any): o is QuerySigningInfosResponseSDKType; - isAmino(o: any): o is QuerySigningInfosResponseAmino; - encode(message: QuerySigningInfosResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySigningInfosResponse; - fromJSON(object: any): QuerySigningInfosResponse; - toJSON(message: QuerySigningInfosResponse): unknown; - fromPartial(object: DeepPartial): QuerySigningInfosResponse; - fromSDK(object: QuerySigningInfosResponseSDKType): QuerySigningInfosResponse; - toSDK(message: QuerySigningInfosResponse): QuerySigningInfosResponseSDKType; - fromAmino(object: QuerySigningInfosResponseAmino): QuerySigningInfosResponse; - toAmino(message: QuerySigningInfosResponse): QuerySigningInfosResponseAmino; - fromAminoMsg(object: QuerySigningInfosResponseAminoMsg): QuerySigningInfosResponse; - toAminoMsg(message: QuerySigningInfosResponse): QuerySigningInfosResponseAminoMsg; - fromProtoMsg(message: QuerySigningInfosResponseProtoMsg): QuerySigningInfosResponse; - toProto(message: QuerySigningInfosResponse): Uint8Array; - toProtoMsg(message: QuerySigningInfosResponse): QuerySigningInfosResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/slashing/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/slashing/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 52edb524..00000000 --- a/examples/authz/types/codegen/cosmos/slashing/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; -/** Query provides defines the gRPC querier service */ -export interface Query { - /** Params queries the parameters of slashing module */ - params(request?: QueryParamsRequest): Promise; - /** SigningInfo queries the signing info of given cons address */ - signingInfo(request: QuerySigningInfoRequest): Promise; - /** SigningInfos queries signing info of all validators */ - signingInfos(request?: QuerySigningInfosRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - params: (request?: QueryParamsRequest) => Promise; - signingInfo: (request: QuerySigningInfoRequest) => Promise; - signingInfos: (request?: QuerySigningInfosRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseParamsQuery extends ReactQueryParams { - request?: QueryParamsRequest; -} -export interface UseSigningInfoQuery extends ReactQueryParams { - request: QuerySigningInfoRequest; -} -export interface UseSigningInfosQuery extends ReactQueryParams { - request?: QuerySigningInfosRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Params queries the parameters of slashing module */ useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - /** SigningInfo queries the signing info of given cons address */ useSigningInfo: ({ request, options }: UseSigningInfoQuery) => import("@tanstack/react-query").UseQueryResult; - /** SigningInfos queries signing info of all validators */ useSigningInfos: ({ request, options }: UseSigningInfosQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Params queries the parameters of slashing module */ QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** SigningInfo queries the signing info of given cons address */ QuerySigningInfoStore: { - new (): { - store: QueryStore; - signingInfo(request: QuerySigningInfoRequest): import("../../../mobx").MobxResponse; - }; - }; - /** SigningInfos queries signing info of all validators */ QuerySigningInfosStore: { - new (): { - store: QueryStore; - signingInfos(request: QuerySigningInfosRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts b/examples/authz/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts deleted file mode 100644 index 63051e40..00000000 --- a/examples/authz/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +++ /dev/null @@ -1,151 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * ValidatorSigningInfo defines a validator's signing info for monitoring their - * liveness activity. - */ -export interface ValidatorSigningInfo { - address: string; - /** Height at which validator was first a candidate OR was unjailed */ - startHeight: bigint; - /** - * Index which is incremented each time the validator was a bonded - * in a block and may have signed a precommit or not. This in conjunction with the - * `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. - */ - indexOffset: bigint; - /** Timestamp until which the validator is jailed due to liveness downtime. */ - jailedUntil: Date | undefined; - /** - * Whether or not a validator has been tombstoned (killed out of validator set). It is set - * once the validator commits an equivocation or for any other configured misbehiavor. - */ - tombstoned: boolean; - /** - * A counter kept to avoid unnecessary array reads. - * Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. - */ - missedBlocksCounter: bigint; -} -export interface ValidatorSigningInfoProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorSigningInfo"; - value: Uint8Array; -} -/** - * ValidatorSigningInfo defines a validator's signing info for monitoring their - * liveness activity. - */ -export interface ValidatorSigningInfoAmino { - address?: string; - /** Height at which validator was first a candidate OR was unjailed */ - start_height?: string; - /** - * Index which is incremented each time the validator was a bonded - * in a block and may have signed a precommit or not. This in conjunction with the - * `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. - */ - index_offset?: string; - /** Timestamp until which the validator is jailed due to liveness downtime. */ - jailed_until?: string | undefined; - /** - * Whether or not a validator has been tombstoned (killed out of validator set). It is set - * once the validator commits an equivocation or for any other configured misbehiavor. - */ - tombstoned?: boolean; - /** - * A counter kept to avoid unnecessary array reads. - * Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. - */ - missed_blocks_counter?: string; -} -export interface ValidatorSigningInfoAminoMsg { - type: "cosmos-sdk/ValidatorSigningInfo"; - value: ValidatorSigningInfoAmino; -} -/** - * ValidatorSigningInfo defines a validator's signing info for monitoring their - * liveness activity. - */ -export interface ValidatorSigningInfoSDKType { - address: string; - start_height: bigint; - index_offset: bigint; - jailed_until: Date | undefined; - tombstoned: boolean; - missed_blocks_counter: bigint; -} -/** Params represents the parameters used for by the slashing module. */ -export interface Params { - signedBlocksWindow: bigint; - minSignedPerWindow: Uint8Array; - downtimeJailDuration: Duration | undefined; - slashFractionDoubleSign: Uint8Array; - slashFractionDowntime: Uint8Array; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.Params"; - value: Uint8Array; -} -/** Params represents the parameters used for by the slashing module. */ -export interface ParamsAmino { - signed_blocks_window?: string; - min_signed_per_window?: string; - downtime_jail_duration?: DurationAmino | undefined; - slash_fraction_double_sign?: string; - slash_fraction_downtime?: string; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params represents the parameters used for by the slashing module. */ -export interface ParamsSDKType { - signed_blocks_window: bigint; - min_signed_per_window: Uint8Array; - downtime_jail_duration: DurationSDKType | undefined; - slash_fraction_double_sign: Uint8Array; - slash_fraction_downtime: Uint8Array; -} -export declare const ValidatorSigningInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is ValidatorSigningInfo; - isSDK(o: any): o is ValidatorSigningInfoSDKType; - isAmino(o: any): o is ValidatorSigningInfoAmino; - encode(message: ValidatorSigningInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorSigningInfo; - fromJSON(object: any): ValidatorSigningInfo; - toJSON(message: ValidatorSigningInfo): unknown; - fromPartial(object: DeepPartial): ValidatorSigningInfo; - fromSDK(object: ValidatorSigningInfoSDKType): ValidatorSigningInfo; - toSDK(message: ValidatorSigningInfo): ValidatorSigningInfoSDKType; - fromAmino(object: ValidatorSigningInfoAmino): ValidatorSigningInfo; - toAmino(message: ValidatorSigningInfo): ValidatorSigningInfoAmino; - fromAminoMsg(object: ValidatorSigningInfoAminoMsg): ValidatorSigningInfo; - toAminoMsg(message: ValidatorSigningInfo): ValidatorSigningInfoAminoMsg; - fromProtoMsg(message: ValidatorSigningInfoProtoMsg): ValidatorSigningInfo; - toProto(message: ValidatorSigningInfo): Uint8Array; - toProtoMsg(message: ValidatorSigningInfo): ValidatorSigningInfoProtoMsg; -}; -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts b/examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts deleted file mode 100644 index 691bfe90..00000000 --- a/examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgUnjail } from "./tx"; -export declare const AminoConverter: { - "/cosmos.slashing.v1beta1.MsgUnjail": { - aminoType: string; - toAmino: (message: MsgUnjail) => import("./tx").MsgUnjailAmino; - fromAmino: (object: import("./tx").MsgUnjailAmino) => MsgUnjail; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.d.ts b/examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.d.ts deleted file mode 100644 index 9a99b76d..00000000 --- a/examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.d.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** MsgUnjail defines the Msg/Unjail request type */ -export interface MsgUnjail { - validatorAddr: string; -} -export interface MsgUnjailProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail"; - value: Uint8Array; -} -/** MsgUnjail defines the Msg/Unjail request type */ -export interface MsgUnjailAmino { - validator_addr?: string; -} -export interface MsgUnjailAminoMsg { - type: "cosmos-sdk/MsgUnjail"; - value: MsgUnjailAmino; -} -/** MsgUnjail defines the Msg/Unjail request type */ -export interface MsgUnjailSDKType { - validator_addr: string; -} -/** MsgUnjailResponse defines the Msg/Unjail response type */ -export interface MsgUnjailResponse { -} -export interface MsgUnjailResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjailResponse"; - value: Uint8Array; -} -/** MsgUnjailResponse defines the Msg/Unjail response type */ -export interface MsgUnjailResponseAmino { -} -export interface MsgUnjailResponseAminoMsg { - type: "cosmos-sdk/MsgUnjailResponse"; - value: MsgUnjailResponseAmino; -} -/** MsgUnjailResponse defines the Msg/Unjail response type */ -export interface MsgUnjailResponseSDKType { -} -export declare const MsgUnjail: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUnjail; - isSDK(o: any): o is MsgUnjailSDKType; - isAmino(o: any): o is MsgUnjailAmino; - encode(message: MsgUnjail, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUnjail; - fromJSON(object: any): MsgUnjail; - toJSON(message: MsgUnjail): unknown; - fromPartial(object: DeepPartial): MsgUnjail; - fromSDK(object: MsgUnjailSDKType): MsgUnjail; - toSDK(message: MsgUnjail): MsgUnjailSDKType; - fromAmino(object: MsgUnjailAmino): MsgUnjail; - toAmino(message: MsgUnjail): MsgUnjailAmino; - fromAminoMsg(object: MsgUnjailAminoMsg): MsgUnjail; - toAminoMsg(message: MsgUnjail): MsgUnjailAminoMsg; - fromProtoMsg(message: MsgUnjailProtoMsg): MsgUnjail; - toProto(message: MsgUnjail): Uint8Array; - toProtoMsg(message: MsgUnjail): MsgUnjailProtoMsg; -}; -export declare const MsgUnjailResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUnjailResponse; - isSDK(o: any): o is MsgUnjailResponseSDKType; - isAmino(o: any): o is MsgUnjailResponseAmino; - encode(_: MsgUnjailResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUnjailResponse; - fromJSON(_: any): MsgUnjailResponse; - toJSON(_: MsgUnjailResponse): unknown; - fromPartial(_: DeepPartial): MsgUnjailResponse; - fromSDK(_: MsgUnjailResponseSDKType): MsgUnjailResponse; - toSDK(_: MsgUnjailResponse): MsgUnjailResponseSDKType; - fromAmino(_: MsgUnjailResponseAmino): MsgUnjailResponse; - toAmino(_: MsgUnjailResponse): MsgUnjailResponseAmino; - fromAminoMsg(object: MsgUnjailResponseAminoMsg): MsgUnjailResponse; - toAminoMsg(message: MsgUnjailResponse): MsgUnjailResponseAminoMsg; - fromProtoMsg(message: MsgUnjailResponseProtoMsg): MsgUnjailResponse; - toProto(message: MsgUnjailResponse): Uint8Array; - toProtoMsg(message: MsgUnjailResponse): MsgUnjailResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts b/examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts deleted file mode 100644 index 92a6c8e1..00000000 --- a/examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgUnjail } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - unjail(value: MsgUnjail): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - unjail(value: MsgUnjail): { - typeUrl: string; - value: MsgUnjail; - }; - }; - toJSON: { - unjail(value: MsgUnjail): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - unjail(value: any): { - typeUrl: string; - value: MsgUnjail; - }; - }; - fromPartial: { - unjail(value: MsgUnjail): { - typeUrl: string; - value: MsgUnjail; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index d65e2558..00000000 --- a/examples/authz/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgUnjail } from "./tx"; -/** Msg defines the slashing Msg service. */ -export interface Msg { - /** - * Unjail defines a method for unjailing a jailed validator, thus returning - * them into the bonded validator set, so they can begin receiving provisions - * and rewards again. - */ - unjail(signerAddress: string, message: MsgUnjail, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - unjail: (signerAddress: string, message: MsgUnjail, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/cosmos/staking/v1beta1/authz.d.ts b/examples/authz/types/codegen/cosmos/staking/v1beta1/authz.d.ts deleted file mode 100644 index 4b341cdb..00000000 --- a/examples/authz/types/codegen/cosmos/staking/v1beta1/authz.d.ts +++ /dev/null @@ -1,148 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { DeepPartial } from "../../../helpers"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -/** - * AuthorizationType defines the type of staking module authorization type - * - * Since: cosmos-sdk 0.43 - */ -export declare enum AuthorizationType { - /** AUTHORIZATION_TYPE_UNSPECIFIED - AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type */ - AUTHORIZATION_TYPE_UNSPECIFIED = 0, - /** AUTHORIZATION_TYPE_DELEGATE - AUTHORIZATION_TYPE_DELEGATE defines an authorization type for Msg/Delegate */ - AUTHORIZATION_TYPE_DELEGATE = 1, - /** AUTHORIZATION_TYPE_UNDELEGATE - AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for Msg/Undelegate */ - AUTHORIZATION_TYPE_UNDELEGATE = 2, - /** AUTHORIZATION_TYPE_REDELEGATE - AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for Msg/BeginRedelegate */ - AUTHORIZATION_TYPE_REDELEGATE = 3, - UNRECOGNIZED = -1 -} -export declare const AuthorizationTypeSDKType: typeof AuthorizationType; -export declare const AuthorizationTypeAmino: typeof AuthorizationType; -export declare function authorizationTypeFromJSON(object: any): AuthorizationType; -export declare function authorizationTypeToJSON(object: AuthorizationType): string; -/** - * StakeAuthorization defines authorization for delegate/undelegate/redelegate. - * - * Since: cosmos-sdk 0.43 - */ -export interface StakeAuthorization { - $typeUrl?: "/cosmos.staking.v1beta1.StakeAuthorization"; - /** - * max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is - * empty, there is no spend limit and any amount of coins can be delegated. - */ - maxTokens?: Coin | undefined; - /** - * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's - * account. - */ - allowList?: StakeAuthorization_Validators | undefined; - /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ - denyList?: StakeAuthorization_Validators | undefined; - /** authorization_type defines one of AuthorizationType. */ - authorizationType: AuthorizationType; -} -export interface StakeAuthorizationProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.StakeAuthorization"; - value: Uint8Array; -} -/** - * StakeAuthorization defines authorization for delegate/undelegate/redelegate. - * - * Since: cosmos-sdk 0.43 - */ -export interface StakeAuthorizationAmino { - /** - * max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is - * empty, there is no spend limit and any amount of coins can be delegated. - */ - max_tokens?: CoinAmino | undefined; - /** - * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's - * account. - */ - allow_list?: StakeAuthorization_ValidatorsAmino | undefined; - /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ - deny_list?: StakeAuthorization_ValidatorsAmino | undefined; - /** authorization_type defines one of AuthorizationType. */ - authorization_type?: AuthorizationType; -} -export interface StakeAuthorizationAminoMsg { - type: "cosmos-sdk/StakeAuthorization"; - value: StakeAuthorizationAmino; -} -/** - * StakeAuthorization defines authorization for delegate/undelegate/redelegate. - * - * Since: cosmos-sdk 0.43 - */ -export interface StakeAuthorizationSDKType { - $typeUrl?: "/cosmos.staking.v1beta1.StakeAuthorization"; - max_tokens?: CoinSDKType | undefined; - allow_list?: StakeAuthorization_ValidatorsSDKType | undefined; - deny_list?: StakeAuthorization_ValidatorsSDKType | undefined; - authorization_type: AuthorizationType; -} -/** Validators defines list of validator addresses. */ -export interface StakeAuthorization_Validators { - address: string[]; -} -export interface StakeAuthorization_ValidatorsProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Validators"; - value: Uint8Array; -} -/** Validators defines list of validator addresses. */ -export interface StakeAuthorization_ValidatorsAmino { - address?: string[]; -} -export interface StakeAuthorization_ValidatorsAminoMsg { - type: "cosmos-sdk/Validators"; - value: StakeAuthorization_ValidatorsAmino; -} -/** Validators defines list of validator addresses. */ -export interface StakeAuthorization_ValidatorsSDKType { - address: string[]; -} -export declare const StakeAuthorization: { - typeUrl: string; - aminoType: string; - is(o: any): o is StakeAuthorization; - isSDK(o: any): o is StakeAuthorizationSDKType; - isAmino(o: any): o is StakeAuthorizationAmino; - encode(message: StakeAuthorization, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): StakeAuthorization; - fromJSON(object: any): StakeAuthorization; - toJSON(message: StakeAuthorization): unknown; - fromPartial(object: DeepPartial): StakeAuthorization; - fromSDK(object: StakeAuthorizationSDKType): StakeAuthorization; - toSDK(message: StakeAuthorization): StakeAuthorizationSDKType; - fromAmino(object: StakeAuthorizationAmino): StakeAuthorization; - toAmino(message: StakeAuthorization): StakeAuthorizationAmino; - fromAminoMsg(object: StakeAuthorizationAminoMsg): StakeAuthorization; - toAminoMsg(message: StakeAuthorization): StakeAuthorizationAminoMsg; - fromProtoMsg(message: StakeAuthorizationProtoMsg): StakeAuthorization; - toProto(message: StakeAuthorization): Uint8Array; - toProtoMsg(message: StakeAuthorization): StakeAuthorizationProtoMsg; -}; -export declare const StakeAuthorization_Validators: { - typeUrl: string; - aminoType: string; - is(o: any): o is StakeAuthorization_Validators; - isSDK(o: any): o is StakeAuthorization_ValidatorsSDKType; - isAmino(o: any): o is StakeAuthorization_ValidatorsAmino; - encode(message: StakeAuthorization_Validators, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): StakeAuthorization_Validators; - fromJSON(object: any): StakeAuthorization_Validators; - toJSON(message: StakeAuthorization_Validators): unknown; - fromPartial(object: DeepPartial): StakeAuthorization_Validators; - fromSDK(object: StakeAuthorization_ValidatorsSDKType): StakeAuthorization_Validators; - toSDK(message: StakeAuthorization_Validators): StakeAuthorization_ValidatorsSDKType; - fromAmino(object: StakeAuthorization_ValidatorsAmino): StakeAuthorization_Validators; - toAmino(message: StakeAuthorization_Validators): StakeAuthorization_ValidatorsAmino; - fromAminoMsg(object: StakeAuthorization_ValidatorsAminoMsg): StakeAuthorization_Validators; - toAminoMsg(message: StakeAuthorization_Validators): StakeAuthorization_ValidatorsAminoMsg; - fromProtoMsg(message: StakeAuthorization_ValidatorsProtoMsg): StakeAuthorization_Validators; - toProto(message: StakeAuthorization_Validators): Uint8Array; - toProtoMsg(message: StakeAuthorization_Validators): StakeAuthorization_ValidatorsProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/staking/v1beta1/genesis.d.ts b/examples/authz/types/codegen/cosmos/staking/v1beta1/genesis.d.ts deleted file mode 100644 index 93a1c942..00000000 --- a/examples/authz/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +++ /dev/null @@ -1,139 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType, Validator, ValidatorAmino, ValidatorSDKType, Delegation, DelegationAmino, DelegationSDKType, UnbondingDelegation, UnbondingDelegationAmino, UnbondingDelegationSDKType, Redelegation, RedelegationAmino, RedelegationSDKType } from "./staking"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the staking module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of related to deposit. */ - params: Params | undefined; - /** - * last_total_power tracks the total amounts of bonded tokens recorded during - * the previous end block. - */ - lastTotalPower: Uint8Array; - /** - * last_validator_powers is a special index that provides a historical list - * of the last-block's bonded validators. - */ - lastValidatorPowers: LastValidatorPower[]; - /** delegations defines the validator set at genesis. */ - validators: Validator[]; - /** delegations defines the delegations active at genesis. */ - delegations: Delegation[]; - /** unbonding_delegations defines the unbonding delegations active at genesis. */ - unbondingDelegations: UnbondingDelegation[]; - /** redelegations defines the redelegations active at genesis. */ - redelegations: Redelegation[]; - exported: boolean; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the staking module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of related to deposit. */ - params?: ParamsAmino | undefined; - /** - * last_total_power tracks the total amounts of bonded tokens recorded during - * the previous end block. - */ - last_total_power?: string; - /** - * last_validator_powers is a special index that provides a historical list - * of the last-block's bonded validators. - */ - last_validator_powers?: LastValidatorPowerAmino[]; - /** delegations defines the validator set at genesis. */ - validators?: ValidatorAmino[]; - /** delegations defines the delegations active at genesis. */ - delegations?: DelegationAmino[]; - /** unbonding_delegations defines the unbonding delegations active at genesis. */ - unbonding_delegations?: UnbondingDelegationAmino[]; - /** redelegations defines the redelegations active at genesis. */ - redelegations?: RedelegationAmino[]; - exported?: boolean; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the staking module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType | undefined; - last_total_power: Uint8Array; - last_validator_powers: LastValidatorPowerSDKType[]; - validators: ValidatorSDKType[]; - delegations: DelegationSDKType[]; - unbonding_delegations: UnbondingDelegationSDKType[]; - redelegations: RedelegationSDKType[]; - exported: boolean; -} -/** LastValidatorPower required for validator set update logic. */ -export interface LastValidatorPower { - /** address is the address of the validator. */ - address: string; - /** power defines the power of the validator. */ - power: bigint; -} -export interface LastValidatorPowerProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.LastValidatorPower"; - value: Uint8Array; -} -/** LastValidatorPower required for validator set update logic. */ -export interface LastValidatorPowerAmino { - /** address is the address of the validator. */ - address?: string; - /** power defines the power of the validator. */ - power?: string; -} -export interface LastValidatorPowerAminoMsg { - type: "cosmos-sdk/LastValidatorPower"; - value: LastValidatorPowerAmino; -} -/** LastValidatorPower required for validator set update logic. */ -export interface LastValidatorPowerSDKType { - address: string; - power: bigint; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; -export declare const LastValidatorPower: { - typeUrl: string; - aminoType: string; - is(o: any): o is LastValidatorPower; - isSDK(o: any): o is LastValidatorPowerSDKType; - isAmino(o: any): o is LastValidatorPowerAmino; - encode(message: LastValidatorPower, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): LastValidatorPower; - fromJSON(object: any): LastValidatorPower; - toJSON(message: LastValidatorPower): unknown; - fromPartial(object: DeepPartial): LastValidatorPower; - fromSDK(object: LastValidatorPowerSDKType): LastValidatorPower; - toSDK(message: LastValidatorPower): LastValidatorPowerSDKType; - fromAmino(object: LastValidatorPowerAmino): LastValidatorPower; - toAmino(message: LastValidatorPower): LastValidatorPowerAmino; - fromAminoMsg(object: LastValidatorPowerAminoMsg): LastValidatorPower; - toAminoMsg(message: LastValidatorPower): LastValidatorPowerAminoMsg; - fromProtoMsg(message: LastValidatorPowerProtoMsg): LastValidatorPower; - toProto(message: LastValidatorPower): Uint8Array; - toProtoMsg(message: LastValidatorPower): LastValidatorPowerProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/staking/v1beta1/query.d.ts b/examples/authz/types/codegen/cosmos/staking/v1beta1/query.d.ts deleted file mode 100644 index 0869a539..00000000 --- a/examples/authz/types/codegen/cosmos/staking/v1beta1/query.d.ts +++ /dev/null @@ -1,1447 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Validator, ValidatorAmino, ValidatorSDKType, DelegationResponse, DelegationResponseAmino, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationAmino, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseAmino, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoAmino, HistoricalInfoSDKType, Pool, PoolAmino, PoolSDKType, Params, ParamsAmino, ParamsSDKType } from "./staking"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryValidatorsRequest is request type for Query/Validators RPC method. */ -export interface QueryValidatorsRequest { - /** status enables to query for validators matching a given status. */ - status: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryValidatorsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorsRequest"; - value: Uint8Array; -} -/** QueryValidatorsRequest is request type for Query/Validators RPC method. */ -export interface QueryValidatorsRequestAmino { - /** status enables to query for validators matching a given status. */ - status?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryValidatorsRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorsRequest"; - value: QueryValidatorsRequestAmino; -} -/** QueryValidatorsRequest is request type for Query/Validators RPC method. */ -export interface QueryValidatorsRequestSDKType { - status: string; - pagination?: PageRequestSDKType | undefined; -} -/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ -export interface QueryValidatorsResponse { - /** validators contains all the queried validators. */ - validators: Validator[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryValidatorsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorsResponse"; - value: Uint8Array; -} -/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ -export interface QueryValidatorsResponseAmino { - /** validators contains all the queried validators. */ - validators?: ValidatorAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryValidatorsResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorsResponse"; - value: QueryValidatorsResponseAmino; -} -/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ -export interface QueryValidatorsResponseSDKType { - validators: ValidatorSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryValidatorRequest is response type for the Query/Validator RPC method */ -export interface QueryValidatorRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -export interface QueryValidatorRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorRequest"; - value: Uint8Array; -} -/** QueryValidatorRequest is response type for the Query/Validator RPC method */ -export interface QueryValidatorRequestAmino { - /** validator_addr defines the validator address to query for. */ - validator_addr?: string; -} -export interface QueryValidatorRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorRequest"; - value: QueryValidatorRequestAmino; -} -/** QueryValidatorRequest is response type for the Query/Validator RPC method */ -export interface QueryValidatorRequestSDKType { - validator_addr: string; -} -/** QueryValidatorResponse is response type for the Query/Validator RPC method */ -export interface QueryValidatorResponse { - /** validator defines the the validator info. */ - validator: Validator | undefined; -} -export interface QueryValidatorResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorResponse"; - value: Uint8Array; -} -/** QueryValidatorResponse is response type for the Query/Validator RPC method */ -export interface QueryValidatorResponseAmino { - /** validator defines the the validator info. */ - validator?: ValidatorAmino | undefined; -} -export interface QueryValidatorResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorResponse"; - value: QueryValidatorResponseAmino; -} -/** QueryValidatorResponse is response type for the Query/Validator RPC method */ -export interface QueryValidatorResponseSDKType { - validator: ValidatorSDKType | undefined; -} -/** - * QueryValidatorDelegationsRequest is request type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryValidatorDelegationsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorDelegationsRequest"; - value: Uint8Array; -} -/** - * QueryValidatorDelegationsRequest is request type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsRequestAmino { - /** validator_addr defines the validator address to query for. */ - validator_addr?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryValidatorDelegationsRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorDelegationsRequest"; - value: QueryValidatorDelegationsRequestAmino; -} -/** - * QueryValidatorDelegationsRequest is request type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsRequestSDKType { - validator_addr: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryValidatorDelegationsResponse is response type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsResponse { - delegationResponses: DelegationResponse[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryValidatorDelegationsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorDelegationsResponse"; - value: Uint8Array; -} -/** - * QueryValidatorDelegationsResponse is response type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsResponseAmino { - delegation_responses?: DelegationResponseAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryValidatorDelegationsResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorDelegationsResponse"; - value: QueryValidatorDelegationsResponseAmino; -} -/** - * QueryValidatorDelegationsResponse is response type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsResponseSDKType { - delegation_responses: DelegationResponseSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryValidatorUnbondingDelegationsRequest is required type for the - * Query/ValidatorUnbondingDelegations RPC method - */ -export interface QueryValidatorUnbondingDelegationsRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryValidatorUnbondingDelegationsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest"; - value: Uint8Array; -} -/** - * QueryValidatorUnbondingDelegationsRequest is required type for the - * Query/ValidatorUnbondingDelegations RPC method - */ -export interface QueryValidatorUnbondingDelegationsRequestAmino { - /** validator_addr defines the validator address to query for. */ - validator_addr?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryValidatorUnbondingDelegationsRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorUnbondingDelegationsRequest"; - value: QueryValidatorUnbondingDelegationsRequestAmino; -} -/** - * QueryValidatorUnbondingDelegationsRequest is required type for the - * Query/ValidatorUnbondingDelegations RPC method - */ -export interface QueryValidatorUnbondingDelegationsRequestSDKType { - validator_addr: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryValidatorUnbondingDelegationsResponse is response type for the - * Query/ValidatorUnbondingDelegations RPC method. - */ -export interface QueryValidatorUnbondingDelegationsResponse { - unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryValidatorUnbondingDelegationsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse"; - value: Uint8Array; -} -/** - * QueryValidatorUnbondingDelegationsResponse is response type for the - * Query/ValidatorUnbondingDelegations RPC method. - */ -export interface QueryValidatorUnbondingDelegationsResponseAmino { - unbonding_responses?: UnbondingDelegationAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryValidatorUnbondingDelegationsResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorUnbondingDelegationsResponse"; - value: QueryValidatorUnbondingDelegationsResponseAmino; -} -/** - * QueryValidatorUnbondingDelegationsResponse is response type for the - * Query/ValidatorUnbondingDelegations RPC method. - */ -export interface QueryValidatorUnbondingDelegationsResponseSDKType { - unbonding_responses: UnbondingDelegationSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ -export interface QueryDelegationRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -export interface QueryDelegationRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegationRequest"; - value: Uint8Array; -} -/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ -export interface QueryDelegationRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr?: string; - /** validator_addr defines the validator address to query for. */ - validator_addr?: string; -} -export interface QueryDelegationRequestAminoMsg { - type: "cosmos-sdk/QueryDelegationRequest"; - value: QueryDelegationRequestAmino; -} -/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ -export interface QueryDelegationRequestSDKType { - delegator_addr: string; - validator_addr: string; -} -/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ -export interface QueryDelegationResponse { - /** delegation_responses defines the delegation info of a delegation. */ - delegationResponse?: DelegationResponse | undefined; -} -export interface QueryDelegationResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegationResponse"; - value: Uint8Array; -} -/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ -export interface QueryDelegationResponseAmino { - /** delegation_responses defines the delegation info of a delegation. */ - delegation_response?: DelegationResponseAmino | undefined; -} -export interface QueryDelegationResponseAminoMsg { - type: "cosmos-sdk/QueryDelegationResponse"; - value: QueryDelegationResponseAmino; -} -/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ -export interface QueryDelegationResponseSDKType { - delegation_response?: DelegationResponseSDKType | undefined; -} -/** - * QueryUnbondingDelegationRequest is request type for the - * Query/UnbondingDelegation RPC method. - */ -export interface QueryUnbondingDelegationRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -export interface QueryUnbondingDelegationRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryUnbondingDelegationRequest"; - value: Uint8Array; -} -/** - * QueryUnbondingDelegationRequest is request type for the - * Query/UnbondingDelegation RPC method. - */ -export interface QueryUnbondingDelegationRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr?: string; - /** validator_addr defines the validator address to query for. */ - validator_addr?: string; -} -export interface QueryUnbondingDelegationRequestAminoMsg { - type: "cosmos-sdk/QueryUnbondingDelegationRequest"; - value: QueryUnbondingDelegationRequestAmino; -} -/** - * QueryUnbondingDelegationRequest is request type for the - * Query/UnbondingDelegation RPC method. - */ -export interface QueryUnbondingDelegationRequestSDKType { - delegator_addr: string; - validator_addr: string; -} -/** - * QueryDelegationResponse is response type for the Query/UnbondingDelegation - * RPC method. - */ -export interface QueryUnbondingDelegationResponse { - /** unbond defines the unbonding information of a delegation. */ - unbond: UnbondingDelegation | undefined; -} -export interface QueryUnbondingDelegationResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryUnbondingDelegationResponse"; - value: Uint8Array; -} -/** - * QueryDelegationResponse is response type for the Query/UnbondingDelegation - * RPC method. - */ -export interface QueryUnbondingDelegationResponseAmino { - /** unbond defines the unbonding information of a delegation. */ - unbond?: UnbondingDelegationAmino | undefined; -} -export interface QueryUnbondingDelegationResponseAminoMsg { - type: "cosmos-sdk/QueryUnbondingDelegationResponse"; - value: QueryUnbondingDelegationResponseAmino; -} -/** - * QueryDelegationResponse is response type for the Query/UnbondingDelegation - * RPC method. - */ -export interface QueryUnbondingDelegationResponseSDKType { - unbond: UnbondingDelegationSDKType | undefined; -} -/** - * QueryDelegatorDelegationsRequest is request type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryDelegatorDelegationsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorDelegationsRequest is request type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryDelegatorDelegationsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorDelegationsRequest"; - value: QueryDelegatorDelegationsRequestAmino; -} -/** - * QueryDelegatorDelegationsRequest is request type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsRequestSDKType { - delegator_addr: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryDelegatorDelegationsResponse is response type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsResponse { - /** delegation_responses defines all the delegations' info of a delegator. */ - delegationResponses: DelegationResponse[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryDelegatorDelegationsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse"; - value: Uint8Array; -} -/** - * QueryDelegatorDelegationsResponse is response type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsResponseAmino { - /** delegation_responses defines all the delegations' info of a delegator. */ - delegation_responses?: DelegationResponseAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryDelegatorDelegationsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorDelegationsResponse"; - value: QueryDelegatorDelegationsResponseAmino; -} -/** - * QueryDelegatorDelegationsResponse is response type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsResponseSDKType { - delegation_responses: DelegationResponseSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryDelegatorUnbondingDelegationsRequest is request type for the - * Query/DelegatorUnbondingDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryDelegatorUnbondingDelegationsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorUnbondingDelegationsRequest is request type for the - * Query/DelegatorUnbondingDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryDelegatorUnbondingDelegationsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorUnbondingDelegationsRequest"; - value: QueryDelegatorUnbondingDelegationsRequestAmino; -} -/** - * QueryDelegatorUnbondingDelegationsRequest is request type for the - * Query/DelegatorUnbondingDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsRequestSDKType { - delegator_addr: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryUnbondingDelegatorDelegationsResponse is response type for the - * Query/UnbondingDelegatorDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsResponse { - unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryDelegatorUnbondingDelegationsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse"; - value: Uint8Array; -} -/** - * QueryUnbondingDelegatorDelegationsResponse is response type for the - * Query/UnbondingDelegatorDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsResponseAmino { - unbonding_responses?: UnbondingDelegationAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryDelegatorUnbondingDelegationsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorUnbondingDelegationsResponse"; - value: QueryDelegatorUnbondingDelegationsResponseAmino; -} -/** - * QueryUnbondingDelegatorDelegationsResponse is response type for the - * Query/UnbondingDelegatorDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsResponseSDKType { - unbonding_responses: UnbondingDelegationSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryRedelegationsRequest is request type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** src_validator_addr defines the validator address to redelegate from. */ - srcValidatorAddr: string; - /** dst_validator_addr defines the validator address to redelegate to. */ - dstValidatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryRedelegationsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryRedelegationsRequest"; - value: Uint8Array; -} -/** - * QueryRedelegationsRequest is request type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr?: string; - /** src_validator_addr defines the validator address to redelegate from. */ - src_validator_addr?: string; - /** dst_validator_addr defines the validator address to redelegate to. */ - dst_validator_addr?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryRedelegationsRequestAminoMsg { - type: "cosmos-sdk/QueryRedelegationsRequest"; - value: QueryRedelegationsRequestAmino; -} -/** - * QueryRedelegationsRequest is request type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsRequestSDKType { - delegator_addr: string; - src_validator_addr: string; - dst_validator_addr: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryRedelegationsResponse is response type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsResponse { - redelegationResponses: RedelegationResponse[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryRedelegationsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryRedelegationsResponse"; - value: Uint8Array; -} -/** - * QueryRedelegationsResponse is response type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsResponseAmino { - redelegation_responses?: RedelegationResponseAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryRedelegationsResponseAminoMsg { - type: "cosmos-sdk/QueryRedelegationsResponse"; - value: QueryRedelegationsResponseAmino; -} -/** - * QueryRedelegationsResponse is response type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsResponseSDKType { - redelegation_responses: RedelegationResponseSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryDelegatorValidatorsRequest is request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryDelegatorValidatorsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorsRequest is request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryDelegatorValidatorsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorsRequest"; - value: QueryDelegatorValidatorsRequestAmino; -} -/** - * QueryDelegatorValidatorsRequest is request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequestSDKType { - delegator_addr: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryDelegatorValidatorsResponse is response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponse { - /** validators defines the the validators' info of a delegator. */ - validators: Validator[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryDelegatorValidatorsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorsResponse is response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponseAmino { - /** validators defines the the validators' info of a delegator. */ - validators?: ValidatorAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryDelegatorValidatorsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorsResponse"; - value: QueryDelegatorValidatorsResponseAmino; -} -/** - * QueryDelegatorValidatorsResponse is response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponseSDKType { - validators: ValidatorSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryDelegatorValidatorRequest is request type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -export interface QueryDelegatorValidatorRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorRequest is request type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr?: string; - /** validator_addr defines the validator address to query for. */ - validator_addr?: string; -} -export interface QueryDelegatorValidatorRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorRequest"; - value: QueryDelegatorValidatorRequestAmino; -} -/** - * QueryDelegatorValidatorRequest is request type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorRequestSDKType { - delegator_addr: string; - validator_addr: string; -} -/** - * QueryDelegatorValidatorResponse response type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorResponse { - /** validator defines the the validator info. */ - validator: Validator | undefined; -} -export interface QueryDelegatorValidatorResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorResponse"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorResponse response type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorResponseAmino { - /** validator defines the the validator info. */ - validator?: ValidatorAmino | undefined; -} -export interface QueryDelegatorValidatorResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorResponse"; - value: QueryDelegatorValidatorResponseAmino; -} -/** - * QueryDelegatorValidatorResponse response type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorResponseSDKType { - validator: ValidatorSDKType | undefined; -} -/** - * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoRequest { - /** height defines at which height to query the historical info. */ - height: bigint; -} -export interface QueryHistoricalInfoRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryHistoricalInfoRequest"; - value: Uint8Array; -} -/** - * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoRequestAmino { - /** height defines at which height to query the historical info. */ - height?: string; -} -export interface QueryHistoricalInfoRequestAminoMsg { - type: "cosmos-sdk/QueryHistoricalInfoRequest"; - value: QueryHistoricalInfoRequestAmino; -} -/** - * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoRequestSDKType { - height: bigint; -} -/** - * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoResponse { - /** hist defines the historical info at the given height. */ - hist?: HistoricalInfo | undefined; -} -export interface QueryHistoricalInfoResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryHistoricalInfoResponse"; - value: Uint8Array; -} -/** - * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoResponseAmino { - /** hist defines the historical info at the given height. */ - hist?: HistoricalInfoAmino | undefined; -} -export interface QueryHistoricalInfoResponseAminoMsg { - type: "cosmos-sdk/QueryHistoricalInfoResponse"; - value: QueryHistoricalInfoResponseAmino; -} -/** - * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoResponseSDKType { - hist?: HistoricalInfoSDKType | undefined; -} -/** QueryPoolRequest is request type for the Query/Pool RPC method. */ -export interface QueryPoolRequest { -} -export interface QueryPoolRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryPoolRequest"; - value: Uint8Array; -} -/** QueryPoolRequest is request type for the Query/Pool RPC method. */ -export interface QueryPoolRequestAmino { -} -export interface QueryPoolRequestAminoMsg { - type: "cosmos-sdk/QueryPoolRequest"; - value: QueryPoolRequestAmino; -} -/** QueryPoolRequest is request type for the Query/Pool RPC method. */ -export interface QueryPoolRequestSDKType { -} -/** QueryPoolResponse is response type for the Query/Pool RPC method. */ -export interface QueryPoolResponse { - /** pool defines the pool info. */ - pool: Pool | undefined; -} -export interface QueryPoolResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryPoolResponse"; - value: Uint8Array; -} -/** QueryPoolResponse is response type for the Query/Pool RPC method. */ -export interface QueryPoolResponseAmino { - /** pool defines the pool info. */ - pool?: PoolAmino | undefined; -} -export interface QueryPoolResponseAminoMsg { - type: "cosmos-sdk/QueryPoolResponse"; - value: QueryPoolResponseAmino; -} -/** QueryPoolResponse is response type for the Query/Pool RPC method. */ -export interface QueryPoolResponseSDKType { - pool: PoolSDKType | undefined; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params holds all the parameters of this module. */ - params: Params | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params holds all the parameters of this module. */ - params?: ParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; -} -export declare const QueryValidatorsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryValidatorsRequest; - isSDK(o: any): o is QueryValidatorsRequestSDKType; - isAmino(o: any): o is QueryValidatorsRequestAmino; - encode(message: QueryValidatorsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorsRequest; - fromJSON(object: any): QueryValidatorsRequest; - toJSON(message: QueryValidatorsRequest): unknown; - fromPartial(object: DeepPartial): QueryValidatorsRequest; - fromSDK(object: QueryValidatorsRequestSDKType): QueryValidatorsRequest; - toSDK(message: QueryValidatorsRequest): QueryValidatorsRequestSDKType; - fromAmino(object: QueryValidatorsRequestAmino): QueryValidatorsRequest; - toAmino(message: QueryValidatorsRequest): QueryValidatorsRequestAmino; - fromAminoMsg(object: QueryValidatorsRequestAminoMsg): QueryValidatorsRequest; - toAminoMsg(message: QueryValidatorsRequest): QueryValidatorsRequestAminoMsg; - fromProtoMsg(message: QueryValidatorsRequestProtoMsg): QueryValidatorsRequest; - toProto(message: QueryValidatorsRequest): Uint8Array; - toProtoMsg(message: QueryValidatorsRequest): QueryValidatorsRequestProtoMsg; -}; -export declare const QueryValidatorsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryValidatorsResponse; - isSDK(o: any): o is QueryValidatorsResponseSDKType; - isAmino(o: any): o is QueryValidatorsResponseAmino; - encode(message: QueryValidatorsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorsResponse; - fromJSON(object: any): QueryValidatorsResponse; - toJSON(message: QueryValidatorsResponse): unknown; - fromPartial(object: DeepPartial): QueryValidatorsResponse; - fromSDK(object: QueryValidatorsResponseSDKType): QueryValidatorsResponse; - toSDK(message: QueryValidatorsResponse): QueryValidatorsResponseSDKType; - fromAmino(object: QueryValidatorsResponseAmino): QueryValidatorsResponse; - toAmino(message: QueryValidatorsResponse): QueryValidatorsResponseAmino; - fromAminoMsg(object: QueryValidatorsResponseAminoMsg): QueryValidatorsResponse; - toAminoMsg(message: QueryValidatorsResponse): QueryValidatorsResponseAminoMsg; - fromProtoMsg(message: QueryValidatorsResponseProtoMsg): QueryValidatorsResponse; - toProto(message: QueryValidatorsResponse): Uint8Array; - toProtoMsg(message: QueryValidatorsResponse): QueryValidatorsResponseProtoMsg; -}; -export declare const QueryValidatorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryValidatorRequest; - isSDK(o: any): o is QueryValidatorRequestSDKType; - isAmino(o: any): o is QueryValidatorRequestAmino; - encode(message: QueryValidatorRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorRequest; - fromJSON(object: any): QueryValidatorRequest; - toJSON(message: QueryValidatorRequest): unknown; - fromPartial(object: DeepPartial): QueryValidatorRequest; - fromSDK(object: QueryValidatorRequestSDKType): QueryValidatorRequest; - toSDK(message: QueryValidatorRequest): QueryValidatorRequestSDKType; - fromAmino(object: QueryValidatorRequestAmino): QueryValidatorRequest; - toAmino(message: QueryValidatorRequest): QueryValidatorRequestAmino; - fromAminoMsg(object: QueryValidatorRequestAminoMsg): QueryValidatorRequest; - toAminoMsg(message: QueryValidatorRequest): QueryValidatorRequestAminoMsg; - fromProtoMsg(message: QueryValidatorRequestProtoMsg): QueryValidatorRequest; - toProto(message: QueryValidatorRequest): Uint8Array; - toProtoMsg(message: QueryValidatorRequest): QueryValidatorRequestProtoMsg; -}; -export declare const QueryValidatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryValidatorResponse; - isSDK(o: any): o is QueryValidatorResponseSDKType; - isAmino(o: any): o is QueryValidatorResponseAmino; - encode(message: QueryValidatorResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorResponse; - fromJSON(object: any): QueryValidatorResponse; - toJSON(message: QueryValidatorResponse): unknown; - fromPartial(object: DeepPartial): QueryValidatorResponse; - fromSDK(object: QueryValidatorResponseSDKType): QueryValidatorResponse; - toSDK(message: QueryValidatorResponse): QueryValidatorResponseSDKType; - fromAmino(object: QueryValidatorResponseAmino): QueryValidatorResponse; - toAmino(message: QueryValidatorResponse): QueryValidatorResponseAmino; - fromAminoMsg(object: QueryValidatorResponseAminoMsg): QueryValidatorResponse; - toAminoMsg(message: QueryValidatorResponse): QueryValidatorResponseAminoMsg; - fromProtoMsg(message: QueryValidatorResponseProtoMsg): QueryValidatorResponse; - toProto(message: QueryValidatorResponse): Uint8Array; - toProtoMsg(message: QueryValidatorResponse): QueryValidatorResponseProtoMsg; -}; -export declare const QueryValidatorDelegationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryValidatorDelegationsRequest; - isSDK(o: any): o is QueryValidatorDelegationsRequestSDKType; - isAmino(o: any): o is QueryValidatorDelegationsRequestAmino; - encode(message: QueryValidatorDelegationsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorDelegationsRequest; - fromJSON(object: any): QueryValidatorDelegationsRequest; - toJSON(message: QueryValidatorDelegationsRequest): unknown; - fromPartial(object: DeepPartial): QueryValidatorDelegationsRequest; - fromSDK(object: QueryValidatorDelegationsRequestSDKType): QueryValidatorDelegationsRequest; - toSDK(message: QueryValidatorDelegationsRequest): QueryValidatorDelegationsRequestSDKType; - fromAmino(object: QueryValidatorDelegationsRequestAmino): QueryValidatorDelegationsRequest; - toAmino(message: QueryValidatorDelegationsRequest): QueryValidatorDelegationsRequestAmino; - fromAminoMsg(object: QueryValidatorDelegationsRequestAminoMsg): QueryValidatorDelegationsRequest; - toAminoMsg(message: QueryValidatorDelegationsRequest): QueryValidatorDelegationsRequestAminoMsg; - fromProtoMsg(message: QueryValidatorDelegationsRequestProtoMsg): QueryValidatorDelegationsRequest; - toProto(message: QueryValidatorDelegationsRequest): Uint8Array; - toProtoMsg(message: QueryValidatorDelegationsRequest): QueryValidatorDelegationsRequestProtoMsg; -}; -export declare const QueryValidatorDelegationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryValidatorDelegationsResponse; - isSDK(o: any): o is QueryValidatorDelegationsResponseSDKType; - isAmino(o: any): o is QueryValidatorDelegationsResponseAmino; - encode(message: QueryValidatorDelegationsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorDelegationsResponse; - fromJSON(object: any): QueryValidatorDelegationsResponse; - toJSON(message: QueryValidatorDelegationsResponse): unknown; - fromPartial(object: DeepPartial): QueryValidatorDelegationsResponse; - fromSDK(object: QueryValidatorDelegationsResponseSDKType): QueryValidatorDelegationsResponse; - toSDK(message: QueryValidatorDelegationsResponse): QueryValidatorDelegationsResponseSDKType; - fromAmino(object: QueryValidatorDelegationsResponseAmino): QueryValidatorDelegationsResponse; - toAmino(message: QueryValidatorDelegationsResponse): QueryValidatorDelegationsResponseAmino; - fromAminoMsg(object: QueryValidatorDelegationsResponseAminoMsg): QueryValidatorDelegationsResponse; - toAminoMsg(message: QueryValidatorDelegationsResponse): QueryValidatorDelegationsResponseAminoMsg; - fromProtoMsg(message: QueryValidatorDelegationsResponseProtoMsg): QueryValidatorDelegationsResponse; - toProto(message: QueryValidatorDelegationsResponse): Uint8Array; - toProtoMsg(message: QueryValidatorDelegationsResponse): QueryValidatorDelegationsResponseProtoMsg; -}; -export declare const QueryValidatorUnbondingDelegationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryValidatorUnbondingDelegationsRequest; - isSDK(o: any): o is QueryValidatorUnbondingDelegationsRequestSDKType; - isAmino(o: any): o is QueryValidatorUnbondingDelegationsRequestAmino; - encode(message: QueryValidatorUnbondingDelegationsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsRequest; - fromJSON(object: any): QueryValidatorUnbondingDelegationsRequest; - toJSON(message: QueryValidatorUnbondingDelegationsRequest): unknown; - fromPartial(object: DeepPartial): QueryValidatorUnbondingDelegationsRequest; - fromSDK(object: QueryValidatorUnbondingDelegationsRequestSDKType): QueryValidatorUnbondingDelegationsRequest; - toSDK(message: QueryValidatorUnbondingDelegationsRequest): QueryValidatorUnbondingDelegationsRequestSDKType; - fromAmino(object: QueryValidatorUnbondingDelegationsRequestAmino): QueryValidatorUnbondingDelegationsRequest; - toAmino(message: QueryValidatorUnbondingDelegationsRequest): QueryValidatorUnbondingDelegationsRequestAmino; - fromAminoMsg(object: QueryValidatorUnbondingDelegationsRequestAminoMsg): QueryValidatorUnbondingDelegationsRequest; - toAminoMsg(message: QueryValidatorUnbondingDelegationsRequest): QueryValidatorUnbondingDelegationsRequestAminoMsg; - fromProtoMsg(message: QueryValidatorUnbondingDelegationsRequestProtoMsg): QueryValidatorUnbondingDelegationsRequest; - toProto(message: QueryValidatorUnbondingDelegationsRequest): Uint8Array; - toProtoMsg(message: QueryValidatorUnbondingDelegationsRequest): QueryValidatorUnbondingDelegationsRequestProtoMsg; -}; -export declare const QueryValidatorUnbondingDelegationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryValidatorUnbondingDelegationsResponse; - isSDK(o: any): o is QueryValidatorUnbondingDelegationsResponseSDKType; - isAmino(o: any): o is QueryValidatorUnbondingDelegationsResponseAmino; - encode(message: QueryValidatorUnbondingDelegationsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponse; - fromJSON(object: any): QueryValidatorUnbondingDelegationsResponse; - toJSON(message: QueryValidatorUnbondingDelegationsResponse): unknown; - fromPartial(object: DeepPartial): QueryValidatorUnbondingDelegationsResponse; - fromSDK(object: QueryValidatorUnbondingDelegationsResponseSDKType): QueryValidatorUnbondingDelegationsResponse; - toSDK(message: QueryValidatorUnbondingDelegationsResponse): QueryValidatorUnbondingDelegationsResponseSDKType; - fromAmino(object: QueryValidatorUnbondingDelegationsResponseAmino): QueryValidatorUnbondingDelegationsResponse; - toAmino(message: QueryValidatorUnbondingDelegationsResponse): QueryValidatorUnbondingDelegationsResponseAmino; - fromAminoMsg(object: QueryValidatorUnbondingDelegationsResponseAminoMsg): QueryValidatorUnbondingDelegationsResponse; - toAminoMsg(message: QueryValidatorUnbondingDelegationsResponse): QueryValidatorUnbondingDelegationsResponseAminoMsg; - fromProtoMsg(message: QueryValidatorUnbondingDelegationsResponseProtoMsg): QueryValidatorUnbondingDelegationsResponse; - toProto(message: QueryValidatorUnbondingDelegationsResponse): Uint8Array; - toProtoMsg(message: QueryValidatorUnbondingDelegationsResponse): QueryValidatorUnbondingDelegationsResponseProtoMsg; -}; -export declare const QueryDelegationRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegationRequest; - isSDK(o: any): o is QueryDelegationRequestSDKType; - isAmino(o: any): o is QueryDelegationRequestAmino; - encode(message: QueryDelegationRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegationRequest; - fromJSON(object: any): QueryDelegationRequest; - toJSON(message: QueryDelegationRequest): unknown; - fromPartial(object: DeepPartial): QueryDelegationRequest; - fromSDK(object: QueryDelegationRequestSDKType): QueryDelegationRequest; - toSDK(message: QueryDelegationRequest): QueryDelegationRequestSDKType; - fromAmino(object: QueryDelegationRequestAmino): QueryDelegationRequest; - toAmino(message: QueryDelegationRequest): QueryDelegationRequestAmino; - fromAminoMsg(object: QueryDelegationRequestAminoMsg): QueryDelegationRequest; - toAminoMsg(message: QueryDelegationRequest): QueryDelegationRequestAminoMsg; - fromProtoMsg(message: QueryDelegationRequestProtoMsg): QueryDelegationRequest; - toProto(message: QueryDelegationRequest): Uint8Array; - toProtoMsg(message: QueryDelegationRequest): QueryDelegationRequestProtoMsg; -}; -export declare const QueryDelegationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegationResponse; - isSDK(o: any): o is QueryDelegationResponseSDKType; - isAmino(o: any): o is QueryDelegationResponseAmino; - encode(message: QueryDelegationResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegationResponse; - fromJSON(object: any): QueryDelegationResponse; - toJSON(message: QueryDelegationResponse): unknown; - fromPartial(object: DeepPartial): QueryDelegationResponse; - fromSDK(object: QueryDelegationResponseSDKType): QueryDelegationResponse; - toSDK(message: QueryDelegationResponse): QueryDelegationResponseSDKType; - fromAmino(object: QueryDelegationResponseAmino): QueryDelegationResponse; - toAmino(message: QueryDelegationResponse): QueryDelegationResponseAmino; - fromAminoMsg(object: QueryDelegationResponseAminoMsg): QueryDelegationResponse; - toAminoMsg(message: QueryDelegationResponse): QueryDelegationResponseAminoMsg; - fromProtoMsg(message: QueryDelegationResponseProtoMsg): QueryDelegationResponse; - toProto(message: QueryDelegationResponse): Uint8Array; - toProtoMsg(message: QueryDelegationResponse): QueryDelegationResponseProtoMsg; -}; -export declare const QueryUnbondingDelegationRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryUnbondingDelegationRequest; - isSDK(o: any): o is QueryUnbondingDelegationRequestSDKType; - isAmino(o: any): o is QueryUnbondingDelegationRequestAmino; - encode(message: QueryUnbondingDelegationRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryUnbondingDelegationRequest; - fromJSON(object: any): QueryUnbondingDelegationRequest; - toJSON(message: QueryUnbondingDelegationRequest): unknown; - fromPartial(object: DeepPartial): QueryUnbondingDelegationRequest; - fromSDK(object: QueryUnbondingDelegationRequestSDKType): QueryUnbondingDelegationRequest; - toSDK(message: QueryUnbondingDelegationRequest): QueryUnbondingDelegationRequestSDKType; - fromAmino(object: QueryUnbondingDelegationRequestAmino): QueryUnbondingDelegationRequest; - toAmino(message: QueryUnbondingDelegationRequest): QueryUnbondingDelegationRequestAmino; - fromAminoMsg(object: QueryUnbondingDelegationRequestAminoMsg): QueryUnbondingDelegationRequest; - toAminoMsg(message: QueryUnbondingDelegationRequest): QueryUnbondingDelegationRequestAminoMsg; - fromProtoMsg(message: QueryUnbondingDelegationRequestProtoMsg): QueryUnbondingDelegationRequest; - toProto(message: QueryUnbondingDelegationRequest): Uint8Array; - toProtoMsg(message: QueryUnbondingDelegationRequest): QueryUnbondingDelegationRequestProtoMsg; -}; -export declare const QueryUnbondingDelegationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryUnbondingDelegationResponse; - isSDK(o: any): o is QueryUnbondingDelegationResponseSDKType; - isAmino(o: any): o is QueryUnbondingDelegationResponseAmino; - encode(message: QueryUnbondingDelegationResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryUnbondingDelegationResponse; - fromJSON(object: any): QueryUnbondingDelegationResponse; - toJSON(message: QueryUnbondingDelegationResponse): unknown; - fromPartial(object: DeepPartial): QueryUnbondingDelegationResponse; - fromSDK(object: QueryUnbondingDelegationResponseSDKType): QueryUnbondingDelegationResponse; - toSDK(message: QueryUnbondingDelegationResponse): QueryUnbondingDelegationResponseSDKType; - fromAmino(object: QueryUnbondingDelegationResponseAmino): QueryUnbondingDelegationResponse; - toAmino(message: QueryUnbondingDelegationResponse): QueryUnbondingDelegationResponseAmino; - fromAminoMsg(object: QueryUnbondingDelegationResponseAminoMsg): QueryUnbondingDelegationResponse; - toAminoMsg(message: QueryUnbondingDelegationResponse): QueryUnbondingDelegationResponseAminoMsg; - fromProtoMsg(message: QueryUnbondingDelegationResponseProtoMsg): QueryUnbondingDelegationResponse; - toProto(message: QueryUnbondingDelegationResponse): Uint8Array; - toProtoMsg(message: QueryUnbondingDelegationResponse): QueryUnbondingDelegationResponseProtoMsg; -}; -export declare const QueryDelegatorDelegationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegatorDelegationsRequest; - isSDK(o: any): o is QueryDelegatorDelegationsRequestSDKType; - isAmino(o: any): o is QueryDelegatorDelegationsRequestAmino; - encode(message: QueryDelegatorDelegationsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorDelegationsRequest; - fromJSON(object: any): QueryDelegatorDelegationsRequest; - toJSON(message: QueryDelegatorDelegationsRequest): unknown; - fromPartial(object: DeepPartial): QueryDelegatorDelegationsRequest; - fromSDK(object: QueryDelegatorDelegationsRequestSDKType): QueryDelegatorDelegationsRequest; - toSDK(message: QueryDelegatorDelegationsRequest): QueryDelegatorDelegationsRequestSDKType; - fromAmino(object: QueryDelegatorDelegationsRequestAmino): QueryDelegatorDelegationsRequest; - toAmino(message: QueryDelegatorDelegationsRequest): QueryDelegatorDelegationsRequestAmino; - fromAminoMsg(object: QueryDelegatorDelegationsRequestAminoMsg): QueryDelegatorDelegationsRequest; - toAminoMsg(message: QueryDelegatorDelegationsRequest): QueryDelegatorDelegationsRequestAminoMsg; - fromProtoMsg(message: QueryDelegatorDelegationsRequestProtoMsg): QueryDelegatorDelegationsRequest; - toProto(message: QueryDelegatorDelegationsRequest): Uint8Array; - toProtoMsg(message: QueryDelegatorDelegationsRequest): QueryDelegatorDelegationsRequestProtoMsg; -}; -export declare const QueryDelegatorDelegationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegatorDelegationsResponse; - isSDK(o: any): o is QueryDelegatorDelegationsResponseSDKType; - isAmino(o: any): o is QueryDelegatorDelegationsResponseAmino; - encode(message: QueryDelegatorDelegationsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorDelegationsResponse; - fromJSON(object: any): QueryDelegatorDelegationsResponse; - toJSON(message: QueryDelegatorDelegationsResponse): unknown; - fromPartial(object: DeepPartial): QueryDelegatorDelegationsResponse; - fromSDK(object: QueryDelegatorDelegationsResponseSDKType): QueryDelegatorDelegationsResponse; - toSDK(message: QueryDelegatorDelegationsResponse): QueryDelegatorDelegationsResponseSDKType; - fromAmino(object: QueryDelegatorDelegationsResponseAmino): QueryDelegatorDelegationsResponse; - toAmino(message: QueryDelegatorDelegationsResponse): QueryDelegatorDelegationsResponseAmino; - fromAminoMsg(object: QueryDelegatorDelegationsResponseAminoMsg): QueryDelegatorDelegationsResponse; - toAminoMsg(message: QueryDelegatorDelegationsResponse): QueryDelegatorDelegationsResponseAminoMsg; - fromProtoMsg(message: QueryDelegatorDelegationsResponseProtoMsg): QueryDelegatorDelegationsResponse; - toProto(message: QueryDelegatorDelegationsResponse): Uint8Array; - toProtoMsg(message: QueryDelegatorDelegationsResponse): QueryDelegatorDelegationsResponseProtoMsg; -}; -export declare const QueryDelegatorUnbondingDelegationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegatorUnbondingDelegationsRequest; - isSDK(o: any): o is QueryDelegatorUnbondingDelegationsRequestSDKType; - isAmino(o: any): o is QueryDelegatorUnbondingDelegationsRequestAmino; - encode(message: QueryDelegatorUnbondingDelegationsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsRequest; - fromJSON(object: any): QueryDelegatorUnbondingDelegationsRequest; - toJSON(message: QueryDelegatorUnbondingDelegationsRequest): unknown; - fromPartial(object: DeepPartial): QueryDelegatorUnbondingDelegationsRequest; - fromSDK(object: QueryDelegatorUnbondingDelegationsRequestSDKType): QueryDelegatorUnbondingDelegationsRequest; - toSDK(message: QueryDelegatorUnbondingDelegationsRequest): QueryDelegatorUnbondingDelegationsRequestSDKType; - fromAmino(object: QueryDelegatorUnbondingDelegationsRequestAmino): QueryDelegatorUnbondingDelegationsRequest; - toAmino(message: QueryDelegatorUnbondingDelegationsRequest): QueryDelegatorUnbondingDelegationsRequestAmino; - fromAminoMsg(object: QueryDelegatorUnbondingDelegationsRequestAminoMsg): QueryDelegatorUnbondingDelegationsRequest; - toAminoMsg(message: QueryDelegatorUnbondingDelegationsRequest): QueryDelegatorUnbondingDelegationsRequestAminoMsg; - fromProtoMsg(message: QueryDelegatorUnbondingDelegationsRequestProtoMsg): QueryDelegatorUnbondingDelegationsRequest; - toProto(message: QueryDelegatorUnbondingDelegationsRequest): Uint8Array; - toProtoMsg(message: QueryDelegatorUnbondingDelegationsRequest): QueryDelegatorUnbondingDelegationsRequestProtoMsg; -}; -export declare const QueryDelegatorUnbondingDelegationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegatorUnbondingDelegationsResponse; - isSDK(o: any): o is QueryDelegatorUnbondingDelegationsResponseSDKType; - isAmino(o: any): o is QueryDelegatorUnbondingDelegationsResponseAmino; - encode(message: QueryDelegatorUnbondingDelegationsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponse; - fromJSON(object: any): QueryDelegatorUnbondingDelegationsResponse; - toJSON(message: QueryDelegatorUnbondingDelegationsResponse): unknown; - fromPartial(object: DeepPartial): QueryDelegatorUnbondingDelegationsResponse; - fromSDK(object: QueryDelegatorUnbondingDelegationsResponseSDKType): QueryDelegatorUnbondingDelegationsResponse; - toSDK(message: QueryDelegatorUnbondingDelegationsResponse): QueryDelegatorUnbondingDelegationsResponseSDKType; - fromAmino(object: QueryDelegatorUnbondingDelegationsResponseAmino): QueryDelegatorUnbondingDelegationsResponse; - toAmino(message: QueryDelegatorUnbondingDelegationsResponse): QueryDelegatorUnbondingDelegationsResponseAmino; - fromAminoMsg(object: QueryDelegatorUnbondingDelegationsResponseAminoMsg): QueryDelegatorUnbondingDelegationsResponse; - toAminoMsg(message: QueryDelegatorUnbondingDelegationsResponse): QueryDelegatorUnbondingDelegationsResponseAminoMsg; - fromProtoMsg(message: QueryDelegatorUnbondingDelegationsResponseProtoMsg): QueryDelegatorUnbondingDelegationsResponse; - toProto(message: QueryDelegatorUnbondingDelegationsResponse): Uint8Array; - toProtoMsg(message: QueryDelegatorUnbondingDelegationsResponse): QueryDelegatorUnbondingDelegationsResponseProtoMsg; -}; -export declare const QueryRedelegationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryRedelegationsRequest; - isSDK(o: any): o is QueryRedelegationsRequestSDKType; - isAmino(o: any): o is QueryRedelegationsRequestAmino; - encode(message: QueryRedelegationsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryRedelegationsRequest; - fromJSON(object: any): QueryRedelegationsRequest; - toJSON(message: QueryRedelegationsRequest): unknown; - fromPartial(object: DeepPartial): QueryRedelegationsRequest; - fromSDK(object: QueryRedelegationsRequestSDKType): QueryRedelegationsRequest; - toSDK(message: QueryRedelegationsRequest): QueryRedelegationsRequestSDKType; - fromAmino(object: QueryRedelegationsRequestAmino): QueryRedelegationsRequest; - toAmino(message: QueryRedelegationsRequest): QueryRedelegationsRequestAmino; - fromAminoMsg(object: QueryRedelegationsRequestAminoMsg): QueryRedelegationsRequest; - toAminoMsg(message: QueryRedelegationsRequest): QueryRedelegationsRequestAminoMsg; - fromProtoMsg(message: QueryRedelegationsRequestProtoMsg): QueryRedelegationsRequest; - toProto(message: QueryRedelegationsRequest): Uint8Array; - toProtoMsg(message: QueryRedelegationsRequest): QueryRedelegationsRequestProtoMsg; -}; -export declare const QueryRedelegationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryRedelegationsResponse; - isSDK(o: any): o is QueryRedelegationsResponseSDKType; - isAmino(o: any): o is QueryRedelegationsResponseAmino; - encode(message: QueryRedelegationsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryRedelegationsResponse; - fromJSON(object: any): QueryRedelegationsResponse; - toJSON(message: QueryRedelegationsResponse): unknown; - fromPartial(object: DeepPartial): QueryRedelegationsResponse; - fromSDK(object: QueryRedelegationsResponseSDKType): QueryRedelegationsResponse; - toSDK(message: QueryRedelegationsResponse): QueryRedelegationsResponseSDKType; - fromAmino(object: QueryRedelegationsResponseAmino): QueryRedelegationsResponse; - toAmino(message: QueryRedelegationsResponse): QueryRedelegationsResponseAmino; - fromAminoMsg(object: QueryRedelegationsResponseAminoMsg): QueryRedelegationsResponse; - toAminoMsg(message: QueryRedelegationsResponse): QueryRedelegationsResponseAminoMsg; - fromProtoMsg(message: QueryRedelegationsResponseProtoMsg): QueryRedelegationsResponse; - toProto(message: QueryRedelegationsResponse): Uint8Array; - toProtoMsg(message: QueryRedelegationsResponse): QueryRedelegationsResponseProtoMsg; -}; -export declare const QueryDelegatorValidatorsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegatorValidatorsRequest; - isSDK(o: any): o is QueryDelegatorValidatorsRequestSDKType; - isAmino(o: any): o is QueryDelegatorValidatorsRequestAmino; - encode(message: QueryDelegatorValidatorsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest; - fromJSON(object: any): QueryDelegatorValidatorsRequest; - toJSON(message: QueryDelegatorValidatorsRequest): unknown; - fromPartial(object: DeepPartial): QueryDelegatorValidatorsRequest; - fromSDK(object: QueryDelegatorValidatorsRequestSDKType): QueryDelegatorValidatorsRequest; - toSDK(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestSDKType; - fromAmino(object: QueryDelegatorValidatorsRequestAmino): QueryDelegatorValidatorsRequest; - toAmino(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestAmino; - fromAminoMsg(object: QueryDelegatorValidatorsRequestAminoMsg): QueryDelegatorValidatorsRequest; - toAminoMsg(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestAminoMsg; - fromProtoMsg(message: QueryDelegatorValidatorsRequestProtoMsg): QueryDelegatorValidatorsRequest; - toProto(message: QueryDelegatorValidatorsRequest): Uint8Array; - toProtoMsg(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestProtoMsg; -}; -export declare const QueryDelegatorValidatorsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegatorValidatorsResponse; - isSDK(o: any): o is QueryDelegatorValidatorsResponseSDKType; - isAmino(o: any): o is QueryDelegatorValidatorsResponseAmino; - encode(message: QueryDelegatorValidatorsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse; - fromJSON(object: any): QueryDelegatorValidatorsResponse; - toJSON(message: QueryDelegatorValidatorsResponse): unknown; - fromPartial(object: DeepPartial): QueryDelegatorValidatorsResponse; - fromSDK(object: QueryDelegatorValidatorsResponseSDKType): QueryDelegatorValidatorsResponse; - toSDK(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseSDKType; - fromAmino(object: QueryDelegatorValidatorsResponseAmino): QueryDelegatorValidatorsResponse; - toAmino(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseAmino; - fromAminoMsg(object: QueryDelegatorValidatorsResponseAminoMsg): QueryDelegatorValidatorsResponse; - toAminoMsg(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseAminoMsg; - fromProtoMsg(message: QueryDelegatorValidatorsResponseProtoMsg): QueryDelegatorValidatorsResponse; - toProto(message: QueryDelegatorValidatorsResponse): Uint8Array; - toProtoMsg(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseProtoMsg; -}; -export declare const QueryDelegatorValidatorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegatorValidatorRequest; - isSDK(o: any): o is QueryDelegatorValidatorRequestSDKType; - isAmino(o: any): o is QueryDelegatorValidatorRequestAmino; - encode(message: QueryDelegatorValidatorRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorValidatorRequest; - fromJSON(object: any): QueryDelegatorValidatorRequest; - toJSON(message: QueryDelegatorValidatorRequest): unknown; - fromPartial(object: DeepPartial): QueryDelegatorValidatorRequest; - fromSDK(object: QueryDelegatorValidatorRequestSDKType): QueryDelegatorValidatorRequest; - toSDK(message: QueryDelegatorValidatorRequest): QueryDelegatorValidatorRequestSDKType; - fromAmino(object: QueryDelegatorValidatorRequestAmino): QueryDelegatorValidatorRequest; - toAmino(message: QueryDelegatorValidatorRequest): QueryDelegatorValidatorRequestAmino; - fromAminoMsg(object: QueryDelegatorValidatorRequestAminoMsg): QueryDelegatorValidatorRequest; - toAminoMsg(message: QueryDelegatorValidatorRequest): QueryDelegatorValidatorRequestAminoMsg; - fromProtoMsg(message: QueryDelegatorValidatorRequestProtoMsg): QueryDelegatorValidatorRequest; - toProto(message: QueryDelegatorValidatorRequest): Uint8Array; - toProtoMsg(message: QueryDelegatorValidatorRequest): QueryDelegatorValidatorRequestProtoMsg; -}; -export declare const QueryDelegatorValidatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDelegatorValidatorResponse; - isSDK(o: any): o is QueryDelegatorValidatorResponseSDKType; - isAmino(o: any): o is QueryDelegatorValidatorResponseAmino; - encode(message: QueryDelegatorValidatorResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegatorValidatorResponse; - fromJSON(object: any): QueryDelegatorValidatorResponse; - toJSON(message: QueryDelegatorValidatorResponse): unknown; - fromPartial(object: DeepPartial): QueryDelegatorValidatorResponse; - fromSDK(object: QueryDelegatorValidatorResponseSDKType): QueryDelegatorValidatorResponse; - toSDK(message: QueryDelegatorValidatorResponse): QueryDelegatorValidatorResponseSDKType; - fromAmino(object: QueryDelegatorValidatorResponseAmino): QueryDelegatorValidatorResponse; - toAmino(message: QueryDelegatorValidatorResponse): QueryDelegatorValidatorResponseAmino; - fromAminoMsg(object: QueryDelegatorValidatorResponseAminoMsg): QueryDelegatorValidatorResponse; - toAminoMsg(message: QueryDelegatorValidatorResponse): QueryDelegatorValidatorResponseAminoMsg; - fromProtoMsg(message: QueryDelegatorValidatorResponseProtoMsg): QueryDelegatorValidatorResponse; - toProto(message: QueryDelegatorValidatorResponse): Uint8Array; - toProtoMsg(message: QueryDelegatorValidatorResponse): QueryDelegatorValidatorResponseProtoMsg; -}; -export declare const QueryHistoricalInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryHistoricalInfoRequest; - isSDK(o: any): o is QueryHistoricalInfoRequestSDKType; - isAmino(o: any): o is QueryHistoricalInfoRequestAmino; - encode(message: QueryHistoricalInfoRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryHistoricalInfoRequest; - fromJSON(object: any): QueryHistoricalInfoRequest; - toJSON(message: QueryHistoricalInfoRequest): unknown; - fromPartial(object: DeepPartial): QueryHistoricalInfoRequest; - fromSDK(object: QueryHistoricalInfoRequestSDKType): QueryHistoricalInfoRequest; - toSDK(message: QueryHistoricalInfoRequest): QueryHistoricalInfoRequestSDKType; - fromAmino(object: QueryHistoricalInfoRequestAmino): QueryHistoricalInfoRequest; - toAmino(message: QueryHistoricalInfoRequest): QueryHistoricalInfoRequestAmino; - fromAminoMsg(object: QueryHistoricalInfoRequestAminoMsg): QueryHistoricalInfoRequest; - toAminoMsg(message: QueryHistoricalInfoRequest): QueryHistoricalInfoRequestAminoMsg; - fromProtoMsg(message: QueryHistoricalInfoRequestProtoMsg): QueryHistoricalInfoRequest; - toProto(message: QueryHistoricalInfoRequest): Uint8Array; - toProtoMsg(message: QueryHistoricalInfoRequest): QueryHistoricalInfoRequestProtoMsg; -}; -export declare const QueryHistoricalInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryHistoricalInfoResponse; - isSDK(o: any): o is QueryHistoricalInfoResponseSDKType; - isAmino(o: any): o is QueryHistoricalInfoResponseAmino; - encode(message: QueryHistoricalInfoResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryHistoricalInfoResponse; - fromJSON(object: any): QueryHistoricalInfoResponse; - toJSON(message: QueryHistoricalInfoResponse): unknown; - fromPartial(object: DeepPartial): QueryHistoricalInfoResponse; - fromSDK(object: QueryHistoricalInfoResponseSDKType): QueryHistoricalInfoResponse; - toSDK(message: QueryHistoricalInfoResponse): QueryHistoricalInfoResponseSDKType; - fromAmino(object: QueryHistoricalInfoResponseAmino): QueryHistoricalInfoResponse; - toAmino(message: QueryHistoricalInfoResponse): QueryHistoricalInfoResponseAmino; - fromAminoMsg(object: QueryHistoricalInfoResponseAminoMsg): QueryHistoricalInfoResponse; - toAminoMsg(message: QueryHistoricalInfoResponse): QueryHistoricalInfoResponseAminoMsg; - fromProtoMsg(message: QueryHistoricalInfoResponseProtoMsg): QueryHistoricalInfoResponse; - toProto(message: QueryHistoricalInfoResponse): Uint8Array; - toProtoMsg(message: QueryHistoricalInfoResponse): QueryHistoricalInfoResponseProtoMsg; -}; -export declare const QueryPoolRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryPoolRequest; - isSDK(o: any): o is QueryPoolRequestSDKType; - isAmino(o: any): o is QueryPoolRequestAmino; - encode(_: QueryPoolRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryPoolRequest; - fromJSON(_: any): QueryPoolRequest; - toJSON(_: QueryPoolRequest): unknown; - fromPartial(_: DeepPartial): QueryPoolRequest; - fromSDK(_: QueryPoolRequestSDKType): QueryPoolRequest; - toSDK(_: QueryPoolRequest): QueryPoolRequestSDKType; - fromAmino(_: QueryPoolRequestAmino): QueryPoolRequest; - toAmino(_: QueryPoolRequest): QueryPoolRequestAmino; - fromAminoMsg(object: QueryPoolRequestAminoMsg): QueryPoolRequest; - toAminoMsg(message: QueryPoolRequest): QueryPoolRequestAminoMsg; - fromProtoMsg(message: QueryPoolRequestProtoMsg): QueryPoolRequest; - toProto(message: QueryPoolRequest): Uint8Array; - toProtoMsg(message: QueryPoolRequest): QueryPoolRequestProtoMsg; -}; -export declare const QueryPoolResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryPoolResponse; - isSDK(o: any): o is QueryPoolResponseSDKType; - isAmino(o: any): o is QueryPoolResponseAmino; - encode(message: QueryPoolResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryPoolResponse; - fromJSON(object: any): QueryPoolResponse; - toJSON(message: QueryPoolResponse): unknown; - fromPartial(object: DeepPartial): QueryPoolResponse; - fromSDK(object: QueryPoolResponseSDKType): QueryPoolResponse; - toSDK(message: QueryPoolResponse): QueryPoolResponseSDKType; - fromAmino(object: QueryPoolResponseAmino): QueryPoolResponse; - toAmino(message: QueryPoolResponse): QueryPoolResponseAmino; - fromAminoMsg(object: QueryPoolResponseAminoMsg): QueryPoolResponse; - toAminoMsg(message: QueryPoolResponse): QueryPoolResponseAminoMsg; - fromProtoMsg(message: QueryPoolResponseProtoMsg): QueryPoolResponse; - toProto(message: QueryPoolResponse): Uint8Array; - toProtoMsg(message: QueryPoolResponse): QueryPoolResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: DeepPartial): QueryParamsRequest; - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/staking/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/staking/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 7ac7656f..00000000 --- a/examples/authz/types/codegen/cosmos/staking/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,243 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryValidatorsRequest, QueryValidatorsResponse, QueryValidatorRequest, QueryValidatorResponse, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse, QueryDelegationRequest, QueryDelegationResponse, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse, QueryRedelegationsRequest, QueryRedelegationsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse, QueryHistoricalInfoRequest, QueryHistoricalInfoResponse, QueryPoolRequest, QueryPoolResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Validators queries all validators that match the given status. */ - validators(request: QueryValidatorsRequest): Promise; - /** Validator queries validator info for given validator address. */ - validator(request: QueryValidatorRequest): Promise; - /** ValidatorDelegations queries delegate info for given validator. */ - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; - /** ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise; - /** Delegation queries delegate info for given validator delegator pair. */ - delegation(request: QueryDelegationRequest): Promise; - /** - * UnbondingDelegation queries unbonding info for given validator delegator - * pair. - */ - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise; - /** DelegatorDelegations queries all delegations of a given delegator address. */ - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise; - /** - * DelegatorUnbondingDelegations queries all unbonding delegations of a given - * delegator address. - */ - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise; - /** Redelegations queries redelegations of given address. */ - redelegations(request: QueryRedelegationsRequest): Promise; - /** - * DelegatorValidators queries all validators info for given delegator - * address. - */ - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; - /** - * DelegatorValidator queries validator info for given delegator validator - * pair. - */ - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise; - /** HistoricalInfo queries the historical info for given height. */ - historicalInfo(request: QueryHistoricalInfoRequest): Promise; - /** Pool queries the pool info. */ - pool(request?: QueryPoolRequest): Promise; - /** Parameters queries the staking parameters. */ - params(request?: QueryParamsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - validators: (request: QueryValidatorsRequest) => Promise; - validator: (request: QueryValidatorRequest) => Promise; - validatorDelegations: (request: QueryValidatorDelegationsRequest) => Promise; - validatorUnbondingDelegations: (request: QueryValidatorUnbondingDelegationsRequest) => Promise; - delegation: (request: QueryDelegationRequest) => Promise; - unbondingDelegation: (request: QueryUnbondingDelegationRequest) => Promise; - delegatorDelegations: (request: QueryDelegatorDelegationsRequest) => Promise; - delegatorUnbondingDelegations: (request: QueryDelegatorUnbondingDelegationsRequest) => Promise; - redelegations: (request: QueryRedelegationsRequest) => Promise; - delegatorValidators: (request: QueryDelegatorValidatorsRequest) => Promise; - delegatorValidator: (request: QueryDelegatorValidatorRequest) => Promise; - historicalInfo: (request: QueryHistoricalInfoRequest) => Promise; - pool: (request?: QueryPoolRequest) => Promise; - params: (request?: QueryParamsRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseValidatorsQuery extends ReactQueryParams { - request: QueryValidatorsRequest; -} -export interface UseValidatorQuery extends ReactQueryParams { - request: QueryValidatorRequest; -} -export interface UseValidatorDelegationsQuery extends ReactQueryParams { - request: QueryValidatorDelegationsRequest; -} -export interface UseValidatorUnbondingDelegationsQuery extends ReactQueryParams { - request: QueryValidatorUnbondingDelegationsRequest; -} -export interface UseDelegationQuery extends ReactQueryParams { - request: QueryDelegationRequest; -} -export interface UseUnbondingDelegationQuery extends ReactQueryParams { - request: QueryUnbondingDelegationRequest; -} -export interface UseDelegatorDelegationsQuery extends ReactQueryParams { - request: QueryDelegatorDelegationsRequest; -} -export interface UseDelegatorUnbondingDelegationsQuery extends ReactQueryParams { - request: QueryDelegatorUnbondingDelegationsRequest; -} -export interface UseRedelegationsQuery extends ReactQueryParams { - request: QueryRedelegationsRequest; -} -export interface UseDelegatorValidatorsQuery extends ReactQueryParams { - request: QueryDelegatorValidatorsRequest; -} -export interface UseDelegatorValidatorQuery extends ReactQueryParams { - request: QueryDelegatorValidatorRequest; -} -export interface UseHistoricalInfoQuery extends ReactQueryParams { - request: QueryHistoricalInfoRequest; -} -export interface UsePoolQuery extends ReactQueryParams { - request?: QueryPoolRequest; -} -export interface UseParamsQuery extends ReactQueryParams { - request?: QueryParamsRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Validators queries all validators that match the given status. */ useValidators: ({ request, options }: UseValidatorsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Validator queries validator info for given validator address. */ useValidator: ({ request, options }: UseValidatorQuery) => import("@tanstack/react-query").UseQueryResult; - /** ValidatorDelegations queries delegate info for given validator. */ useValidatorDelegations: ({ request, options }: UseValidatorDelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - /** ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ useValidatorUnbondingDelegations: ({ request, options }: UseValidatorUnbondingDelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Delegation queries delegate info for given validator delegator pair. */ useDelegation: ({ request, options }: UseDelegationQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * UnbondingDelegation queries unbonding info for given validator delegator - * pair. - */ - useUnbondingDelegation: ({ request, options }: UseUnbondingDelegationQuery) => import("@tanstack/react-query").UseQueryResult; - /** DelegatorDelegations queries all delegations of a given delegator address. */ useDelegatorDelegations: ({ request, options }: UseDelegatorDelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * DelegatorUnbondingDelegations queries all unbonding delegations of a given - * delegator address. - */ - useDelegatorUnbondingDelegations: ({ request, options }: UseDelegatorUnbondingDelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Redelegations queries redelegations of given address. */ useRedelegations: ({ request, options }: UseRedelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * DelegatorValidators queries all validators info for given delegator - * address. - */ - useDelegatorValidators: ({ request, options }: UseDelegatorValidatorsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * DelegatorValidator queries validator info for given delegator validator - * pair. - */ - useDelegatorValidator: ({ request, options }: UseDelegatorValidatorQuery) => import("@tanstack/react-query").UseQueryResult; - /** HistoricalInfo queries the historical info for given height. */ useHistoricalInfo: ({ request, options }: UseHistoricalInfoQuery) => import("@tanstack/react-query").UseQueryResult; - /** Pool queries the pool info. */ usePool: ({ request, options }: UsePoolQuery) => import("@tanstack/react-query").UseQueryResult; - /** Parameters queries the staking parameters. */ useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Validators queries all validators that match the given status. */ QueryValidatorsStore: { - new (): { - store: QueryStore; - validators(request: QueryValidatorsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Validator queries validator info for given validator address. */ QueryValidatorStore: { - new (): { - store: QueryStore; - validator(request: QueryValidatorRequest): import("../../../mobx").MobxResponse; - }; - }; - /** ValidatorDelegations queries delegate info for given validator. */ QueryValidatorDelegationsStore: { - new (): { - store: QueryStore; - validatorDelegations(request: QueryValidatorDelegationsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ QueryValidatorUnbondingDelegationsStore: { - new (): { - store: QueryStore; - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Delegation queries delegate info for given validator delegator pair. */ QueryDelegationStore: { - new (): { - store: QueryStore; - delegation(request: QueryDelegationRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * UnbondingDelegation queries unbonding info for given validator delegator - * pair. - */ - QueryUnbondingDelegationStore: { - new (): { - store: QueryStore; - unbondingDelegation(request: QueryUnbondingDelegationRequest): import("../../../mobx").MobxResponse; - }; - }; - /** DelegatorDelegations queries all delegations of a given delegator address. */ QueryDelegatorDelegationsStore: { - new (): { - store: QueryStore; - delegatorDelegations(request: QueryDelegatorDelegationsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * DelegatorUnbondingDelegations queries all unbonding delegations of a given - * delegator address. - */ - QueryDelegatorUnbondingDelegationsStore: { - new (): { - store: QueryStore; - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Redelegations queries redelegations of given address. */ QueryRedelegationsStore: { - new (): { - store: QueryStore; - redelegations(request: QueryRedelegationsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * DelegatorValidators queries all validators info for given delegator - * address. - */ - QueryDelegatorValidatorsStore: { - new (): { - store: QueryStore; - delegatorValidators(request: QueryDelegatorValidatorsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * DelegatorValidator queries validator info for given delegator validator - * pair. - */ - QueryDelegatorValidatorStore: { - new (): { - store: QueryStore; - delegatorValidator(request: QueryDelegatorValidatorRequest): import("../../../mobx").MobxResponse; - }; - }; - /** HistoricalInfo queries the historical info for given height. */ QueryHistoricalInfoStore: { - new (): { - store: QueryStore; - historicalInfo(request: QueryHistoricalInfoRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Pool queries the pool info. */ QueryPoolStore: { - new (): { - store: QueryStore; - pool(request: QueryPoolRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Parameters queries the staking parameters. */ QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/staking/v1beta1/staking.d.ts b/examples/authz/types/codegen/cosmos/staking/v1beta1/staking.d.ts deleted file mode 100644 index 85834246..00000000 --- a/examples/authz/types/codegen/cosmos/staking/v1beta1/staking.d.ts +++ /dev/null @@ -1,1214 +0,0 @@ -import { Header, HeaderAmino, HeaderSDKType } from "../../../tendermint/types/types"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** BondStatus is the status of a validator. */ -export declare enum BondStatus { - /** BOND_STATUS_UNSPECIFIED - UNSPECIFIED defines an invalid validator status. */ - BOND_STATUS_UNSPECIFIED = 0, - /** BOND_STATUS_UNBONDED - UNBONDED defines a validator that is not bonded. */ - BOND_STATUS_UNBONDED = 1, - /** BOND_STATUS_UNBONDING - UNBONDING defines a validator that is unbonding. */ - BOND_STATUS_UNBONDING = 2, - /** BOND_STATUS_BONDED - BONDED defines a validator that is bonded. */ - BOND_STATUS_BONDED = 3, - UNRECOGNIZED = -1 -} -export declare const BondStatusSDKType: typeof BondStatus; -export declare const BondStatusAmino: typeof BondStatus; -export declare function bondStatusFromJSON(object: any): BondStatus; -export declare function bondStatusToJSON(object: BondStatus): string; -/** - * HistoricalInfo contains header and validator information for a given block. - * It is stored as part of staking module's state, which persists the `n` most - * recent HistoricalInfo - * (`n` is set by the staking module's `historical_entries` parameter). - */ -export interface HistoricalInfo { - header: Header | undefined; - valset: Validator[]; -} -export interface HistoricalInfoProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.HistoricalInfo"; - value: Uint8Array; -} -/** - * HistoricalInfo contains header and validator information for a given block. - * It is stored as part of staking module's state, which persists the `n` most - * recent HistoricalInfo - * (`n` is set by the staking module's `historical_entries` parameter). - */ -export interface HistoricalInfoAmino { - header?: HeaderAmino | undefined; - valset?: ValidatorAmino[]; -} -export interface HistoricalInfoAminoMsg { - type: "cosmos-sdk/HistoricalInfo"; - value: HistoricalInfoAmino; -} -/** - * HistoricalInfo contains header and validator information for a given block. - * It is stored as part of staking module's state, which persists the `n` most - * recent HistoricalInfo - * (`n` is set by the staking module's `historical_entries` parameter). - */ -export interface HistoricalInfoSDKType { - header: HeaderSDKType | undefined; - valset: ValidatorSDKType[]; -} -/** - * CommissionRates defines the initial commission rates to be used for creating - * a validator. - */ -export interface CommissionRates { - /** rate is the commission rate charged to delegators, as a fraction. */ - rate: string; - /** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */ - maxRate: string; - /** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */ - maxChangeRate: string; -} -export interface CommissionRatesProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.CommissionRates"; - value: Uint8Array; -} -/** - * CommissionRates defines the initial commission rates to be used for creating - * a validator. - */ -export interface CommissionRatesAmino { - /** rate is the commission rate charged to delegators, as a fraction. */ - rate?: string; - /** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */ - max_rate?: string; - /** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */ - max_change_rate?: string; -} -export interface CommissionRatesAminoMsg { - type: "cosmos-sdk/CommissionRates"; - value: CommissionRatesAmino; -} -/** - * CommissionRates defines the initial commission rates to be used for creating - * a validator. - */ -export interface CommissionRatesSDKType { - rate: string; - max_rate: string; - max_change_rate: string; -} -/** Commission defines commission parameters for a given validator. */ -export interface Commission { - /** commission_rates defines the initial commission rates to be used for creating a validator. */ - commissionRates: CommissionRates | undefined; - /** update_time is the last time the commission rate was changed. */ - updateTime: Date | undefined; -} -export interface CommissionProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Commission"; - value: Uint8Array; -} -/** Commission defines commission parameters for a given validator. */ -export interface CommissionAmino { - /** commission_rates defines the initial commission rates to be used for creating a validator. */ - commission_rates?: CommissionRatesAmino | undefined; - /** update_time is the last time the commission rate was changed. */ - update_time?: string | undefined; -} -export interface CommissionAminoMsg { - type: "cosmos-sdk/Commission"; - value: CommissionAmino; -} -/** Commission defines commission parameters for a given validator. */ -export interface CommissionSDKType { - commission_rates: CommissionRatesSDKType | undefined; - update_time: Date | undefined; -} -/** Description defines a validator description. */ -export interface Description { - /** moniker defines a human-readable name for the validator. */ - moniker: string; - /** identity defines an optional identity signature (ex. UPort or Keybase). */ - identity: string; - /** website defines an optional website link. */ - website: string; - /** security_contact defines an optional email for security contact. */ - securityContact: string; - /** details define other optional details. */ - details: string; -} -export interface DescriptionProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Description"; - value: Uint8Array; -} -/** Description defines a validator description. */ -export interface DescriptionAmino { - /** moniker defines a human-readable name for the validator. */ - moniker?: string; - /** identity defines an optional identity signature (ex. UPort or Keybase). */ - identity?: string; - /** website defines an optional website link. */ - website?: string; - /** security_contact defines an optional email for security contact. */ - security_contact?: string; - /** details define other optional details. */ - details?: string; -} -export interface DescriptionAminoMsg { - type: "cosmos-sdk/Description"; - value: DescriptionAmino; -} -/** Description defines a validator description. */ -export interface DescriptionSDKType { - moniker: string; - identity: string; - website: string; - security_contact: string; - details: string; -} -/** - * Validator defines a validator, together with the total amount of the - * Validator's bond shares and their exchange rate to coins. Slashing results in - * a decrease in the exchange rate, allowing correct calculation of future - * undelegations without iterating over delegators. When coins are delegated to - * this validator, the validator is credited with a delegation whose number of - * bond shares is based on the amount of coins delegated divided by the current - * exchange rate. Voting power can be calculated as total bonded shares - * multiplied by exchange rate. - */ -export interface Validator { - /** operator_address defines the address of the validator's operator; bech encoded in JSON. */ - operatorAddress: string; - /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */ - consensusPubkey?: Any | undefined; - /** jailed defined whether the validator has been jailed from bonded status or not. */ - jailed: boolean; - /** status is the validator status (bonded/unbonding/unbonded). */ - status: BondStatus; - /** tokens define the delegated tokens (incl. self-delegation). */ - tokens: string; - /** delegator_shares defines total shares issued to a validator's delegators. */ - delegatorShares: string; - /** description defines the description terms for the validator. */ - description: Description | undefined; - /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ - unbondingHeight: bigint; - /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ - unbondingTime: Date | undefined; - /** commission defines the commission parameters. */ - commission: Commission | undefined; - /** min_self_delegation is the validator's self declared minimum self delegation. */ - minSelfDelegation: string; -} -export interface ValidatorProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Validator"; - value: Uint8Array; -} -export type ValidatorEncoded = Omit & { - /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */ consensusPubkey?: AnyProtoMsg | undefined; -}; -/** - * Validator defines a validator, together with the total amount of the - * Validator's bond shares and their exchange rate to coins. Slashing results in - * a decrease in the exchange rate, allowing correct calculation of future - * undelegations without iterating over delegators. When coins are delegated to - * this validator, the validator is credited with a delegation whose number of - * bond shares is based on the amount of coins delegated divided by the current - * exchange rate. Voting power can be calculated as total bonded shares - * multiplied by exchange rate. - */ -export interface ValidatorAmino { - /** operator_address defines the address of the validator's operator; bech encoded in JSON. */ - operator_address?: string; - /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */ - consensus_pubkey?: AnyAmino | undefined; - /** jailed defined whether the validator has been jailed from bonded status or not. */ - jailed?: boolean; - /** status is the validator status (bonded/unbonding/unbonded). */ - status?: BondStatus; - /** tokens define the delegated tokens (incl. self-delegation). */ - tokens?: string; - /** delegator_shares defines total shares issued to a validator's delegators. */ - delegator_shares?: string; - /** description defines the description terms for the validator. */ - description?: DescriptionAmino | undefined; - /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ - unbonding_height?: string; - /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ - unbonding_time?: string | undefined; - /** commission defines the commission parameters. */ - commission?: CommissionAmino | undefined; - /** min_self_delegation is the validator's self declared minimum self delegation. */ - min_self_delegation?: string; -} -export interface ValidatorAminoMsg { - type: "cosmos-sdk/Validator"; - value: ValidatorAmino; -} -/** - * Validator defines a validator, together with the total amount of the - * Validator's bond shares and their exchange rate to coins. Slashing results in - * a decrease in the exchange rate, allowing correct calculation of future - * undelegations without iterating over delegators. When coins are delegated to - * this validator, the validator is credited with a delegation whose number of - * bond shares is based on the amount of coins delegated divided by the current - * exchange rate. Voting power can be calculated as total bonded shares - * multiplied by exchange rate. - */ -export interface ValidatorSDKType { - operator_address: string; - consensus_pubkey?: AnySDKType | undefined; - jailed: boolean; - status: BondStatus; - tokens: string; - delegator_shares: string; - description: DescriptionSDKType | undefined; - unbonding_height: bigint; - unbonding_time: Date | undefined; - commission: CommissionSDKType | undefined; - min_self_delegation: string; -} -/** ValAddresses defines a repeated set of validator addresses. */ -export interface ValAddresses { - addresses: string[]; -} -export interface ValAddressesProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.ValAddresses"; - value: Uint8Array; -} -/** ValAddresses defines a repeated set of validator addresses. */ -export interface ValAddressesAmino { - addresses?: string[]; -} -export interface ValAddressesAminoMsg { - type: "cosmos-sdk/ValAddresses"; - value: ValAddressesAmino; -} -/** ValAddresses defines a repeated set of validator addresses. */ -export interface ValAddressesSDKType { - addresses: string[]; -} -/** - * DVPair is struct that just has a delegator-validator pair with no other data. - * It is intended to be used as a marshalable pointer. For example, a DVPair can - * be used to construct the key to getting an UnbondingDelegation from state. - */ -export interface DVPair { - delegatorAddress: string; - validatorAddress: string; -} -export interface DVPairProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.DVPair"; - value: Uint8Array; -} -/** - * DVPair is struct that just has a delegator-validator pair with no other data. - * It is intended to be used as a marshalable pointer. For example, a DVPair can - * be used to construct the key to getting an UnbondingDelegation from state. - */ -export interface DVPairAmino { - delegator_address?: string; - validator_address?: string; -} -export interface DVPairAminoMsg { - type: "cosmos-sdk/DVPair"; - value: DVPairAmino; -} -/** - * DVPair is struct that just has a delegator-validator pair with no other data. - * It is intended to be used as a marshalable pointer. For example, a DVPair can - * be used to construct the key to getting an UnbondingDelegation from state. - */ -export interface DVPairSDKType { - delegator_address: string; - validator_address: string; -} -/** DVPairs defines an array of DVPair objects. */ -export interface DVPairs { - pairs: DVPair[]; -} -export interface DVPairsProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.DVPairs"; - value: Uint8Array; -} -/** DVPairs defines an array of DVPair objects. */ -export interface DVPairsAmino { - pairs?: DVPairAmino[]; -} -export interface DVPairsAminoMsg { - type: "cosmos-sdk/DVPairs"; - value: DVPairsAmino; -} -/** DVPairs defines an array of DVPair objects. */ -export interface DVPairsSDKType { - pairs: DVPairSDKType[]; -} -/** - * DVVTriplet is struct that just has a delegator-validator-validator triplet - * with no other data. It is intended to be used as a marshalable pointer. For - * example, a DVVTriplet can be used to construct the key to getting a - * Redelegation from state. - */ -export interface DVVTriplet { - delegatorAddress: string; - validatorSrcAddress: string; - validatorDstAddress: string; -} -export interface DVVTripletProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.DVVTriplet"; - value: Uint8Array; -} -/** - * DVVTriplet is struct that just has a delegator-validator-validator triplet - * with no other data. It is intended to be used as a marshalable pointer. For - * example, a DVVTriplet can be used to construct the key to getting a - * Redelegation from state. - */ -export interface DVVTripletAmino { - delegator_address?: string; - validator_src_address?: string; - validator_dst_address?: string; -} -export interface DVVTripletAminoMsg { - type: "cosmos-sdk/DVVTriplet"; - value: DVVTripletAmino; -} -/** - * DVVTriplet is struct that just has a delegator-validator-validator triplet - * with no other data. It is intended to be used as a marshalable pointer. For - * example, a DVVTriplet can be used to construct the key to getting a - * Redelegation from state. - */ -export interface DVVTripletSDKType { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; -} -/** DVVTriplets defines an array of DVVTriplet objects. */ -export interface DVVTriplets { - triplets: DVVTriplet[]; -} -export interface DVVTripletsProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.DVVTriplets"; - value: Uint8Array; -} -/** DVVTriplets defines an array of DVVTriplet objects. */ -export interface DVVTripletsAmino { - triplets?: DVVTripletAmino[]; -} -export interface DVVTripletsAminoMsg { - type: "cosmos-sdk/DVVTriplets"; - value: DVVTripletsAmino; -} -/** DVVTriplets defines an array of DVVTriplet objects. */ -export interface DVVTripletsSDKType { - triplets: DVVTripletSDKType[]; -} -/** - * Delegation represents the bond with tokens held by an account. It is - * owned by one delegator, and is associated with the voting power of one - * validator. - */ -export interface Delegation { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegatorAddress: string; - /** validator_address is the bech32-encoded address of the validator. */ - validatorAddress: string; - /** shares define the delegation shares received. */ - shares: string; -} -export interface DelegationProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Delegation"; - value: Uint8Array; -} -/** - * Delegation represents the bond with tokens held by an account. It is - * owned by one delegator, and is associated with the voting power of one - * validator. - */ -export interface DelegationAmino { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegator_address?: string; - /** validator_address is the bech32-encoded address of the validator. */ - validator_address?: string; - /** shares define the delegation shares received. */ - shares?: string; -} -export interface DelegationAminoMsg { - type: "cosmos-sdk/Delegation"; - value: DelegationAmino; -} -/** - * Delegation represents the bond with tokens held by an account. It is - * owned by one delegator, and is associated with the voting power of one - * validator. - */ -export interface DelegationSDKType { - delegator_address: string; - validator_address: string; - shares: string; -} -/** - * UnbondingDelegation stores all of a single delegator's unbonding bonds - * for a single validator in an time-ordered list. - */ -export interface UnbondingDelegation { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegatorAddress: string; - /** validator_address is the bech32-encoded address of the validator. */ - validatorAddress: string; - /** entries are the unbonding delegation entries. */ - entries: UnbondingDelegationEntry[]; -} -export interface UnbondingDelegationProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegation"; - value: Uint8Array; -} -/** - * UnbondingDelegation stores all of a single delegator's unbonding bonds - * for a single validator in an time-ordered list. - */ -export interface UnbondingDelegationAmino { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegator_address?: string; - /** validator_address is the bech32-encoded address of the validator. */ - validator_address?: string; - /** entries are the unbonding delegation entries. */ - entries?: UnbondingDelegationEntryAmino[]; -} -export interface UnbondingDelegationAminoMsg { - type: "cosmos-sdk/UnbondingDelegation"; - value: UnbondingDelegationAmino; -} -/** - * UnbondingDelegation stores all of a single delegator's unbonding bonds - * for a single validator in an time-ordered list. - */ -export interface UnbondingDelegationSDKType { - delegator_address: string; - validator_address: string; - entries: UnbondingDelegationEntrySDKType[]; -} -/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ -export interface UnbondingDelegationEntry { - /** creation_height is the height which the unbonding took place. */ - creationHeight: bigint; - /** completion_time is the unix time for unbonding completion. */ - completionTime: Date | undefined; - /** initial_balance defines the tokens initially scheduled to receive at completion. */ - initialBalance: string; - /** balance defines the tokens to receive at completion. */ - balance: string; -} -export interface UnbondingDelegationEntryProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegationEntry"; - value: Uint8Array; -} -/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ -export interface UnbondingDelegationEntryAmino { - /** creation_height is the height which the unbonding took place. */ - creation_height?: string; - /** completion_time is the unix time for unbonding completion. */ - completion_time?: string | undefined; - /** initial_balance defines the tokens initially scheduled to receive at completion. */ - initial_balance?: string; - /** balance defines the tokens to receive at completion. */ - balance?: string; -} -export interface UnbondingDelegationEntryAminoMsg { - type: "cosmos-sdk/UnbondingDelegationEntry"; - value: UnbondingDelegationEntryAmino; -} -/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ -export interface UnbondingDelegationEntrySDKType { - creation_height: bigint; - completion_time: Date | undefined; - initial_balance: string; - balance: string; -} -/** RedelegationEntry defines a redelegation object with relevant metadata. */ -export interface RedelegationEntry { - /** creation_height defines the height which the redelegation took place. */ - creationHeight: bigint; - /** completion_time defines the unix time for redelegation completion. */ - completionTime: Date | undefined; - /** initial_balance defines the initial balance when redelegation started. */ - initialBalance: string; - /** shares_dst is the amount of destination-validator shares created by redelegation. */ - sharesDst: string; -} -export interface RedelegationEntryProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.RedelegationEntry"; - value: Uint8Array; -} -/** RedelegationEntry defines a redelegation object with relevant metadata. */ -export interface RedelegationEntryAmino { - /** creation_height defines the height which the redelegation took place. */ - creation_height?: string; - /** completion_time defines the unix time for redelegation completion. */ - completion_time?: string | undefined; - /** initial_balance defines the initial balance when redelegation started. */ - initial_balance?: string; - /** shares_dst is the amount of destination-validator shares created by redelegation. */ - shares_dst?: string; -} -export interface RedelegationEntryAminoMsg { - type: "cosmos-sdk/RedelegationEntry"; - value: RedelegationEntryAmino; -} -/** RedelegationEntry defines a redelegation object with relevant metadata. */ -export interface RedelegationEntrySDKType { - creation_height: bigint; - completion_time: Date | undefined; - initial_balance: string; - shares_dst: string; -} -/** - * Redelegation contains the list of a particular delegator's redelegating bonds - * from a particular source validator to a particular destination validator. - */ -export interface Redelegation { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegatorAddress: string; - /** validator_src_address is the validator redelegation source operator address. */ - validatorSrcAddress: string; - /** validator_dst_address is the validator redelegation destination operator address. */ - validatorDstAddress: string; - /** entries are the redelegation entries. */ - entries: RedelegationEntry[]; -} -export interface RedelegationProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Redelegation"; - value: Uint8Array; -} -/** - * Redelegation contains the list of a particular delegator's redelegating bonds - * from a particular source validator to a particular destination validator. - */ -export interface RedelegationAmino { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegator_address?: string; - /** validator_src_address is the validator redelegation source operator address. */ - validator_src_address?: string; - /** validator_dst_address is the validator redelegation destination operator address. */ - validator_dst_address?: string; - /** entries are the redelegation entries. */ - entries?: RedelegationEntryAmino[]; -} -export interface RedelegationAminoMsg { - type: "cosmos-sdk/Redelegation"; - value: RedelegationAmino; -} -/** - * Redelegation contains the list of a particular delegator's redelegating bonds - * from a particular source validator to a particular destination validator. - */ -export interface RedelegationSDKType { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; - entries: RedelegationEntrySDKType[]; -} -/** Params defines the parameters for the staking module. */ -export interface Params { - /** unbonding_time is the time duration of unbonding. */ - unbondingTime: Duration | undefined; - /** max_validators is the maximum number of validators. */ - maxValidators: number; - /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */ - maxEntries: number; - /** historical_entries is the number of historical entries to persist. */ - historicalEntries: number; - /** bond_denom defines the bondable coin denomination. */ - bondDenom: string; - /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */ - minCommissionRate: string; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Params"; - value: Uint8Array; -} -/** Params defines the parameters for the staking module. */ -export interface ParamsAmino { - /** unbonding_time is the time duration of unbonding. */ - unbonding_time?: DurationAmino | undefined; - /** max_validators is the maximum number of validators. */ - max_validators?: number; - /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */ - max_entries?: number; - /** historical_entries is the number of historical entries to persist. */ - historical_entries?: number; - /** bond_denom defines the bondable coin denomination. */ - bond_denom?: string; - /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */ - min_commission_rate?: string; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params defines the parameters for the staking module. */ -export interface ParamsSDKType { - unbonding_time: DurationSDKType | undefined; - max_validators: number; - max_entries: number; - historical_entries: number; - bond_denom: string; - min_commission_rate: string; -} -/** - * DelegationResponse is equivalent to Delegation except that it contains a - * balance in addition to shares which is more suitable for client responses. - */ -export interface DelegationResponse { - delegation: Delegation | undefined; - balance: Coin | undefined; -} -export interface DelegationResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.DelegationResponse"; - value: Uint8Array; -} -/** - * DelegationResponse is equivalent to Delegation except that it contains a - * balance in addition to shares which is more suitable for client responses. - */ -export interface DelegationResponseAmino { - delegation?: DelegationAmino | undefined; - balance?: CoinAmino | undefined; -} -export interface DelegationResponseAminoMsg { - type: "cosmos-sdk/DelegationResponse"; - value: DelegationResponseAmino; -} -/** - * DelegationResponse is equivalent to Delegation except that it contains a - * balance in addition to shares which is more suitable for client responses. - */ -export interface DelegationResponseSDKType { - delegation: DelegationSDKType | undefined; - balance: CoinSDKType | undefined; -} -/** - * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it - * contains a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationEntryResponse { - redelegationEntry: RedelegationEntry | undefined; - balance: string; -} -export interface RedelegationEntryResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.RedelegationEntryResponse"; - value: Uint8Array; -} -/** - * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it - * contains a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationEntryResponseAmino { - redelegation_entry?: RedelegationEntryAmino | undefined; - balance?: string; -} -export interface RedelegationEntryResponseAminoMsg { - type: "cosmos-sdk/RedelegationEntryResponse"; - value: RedelegationEntryResponseAmino; -} -/** - * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it - * contains a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationEntryResponseSDKType { - redelegation_entry: RedelegationEntrySDKType | undefined; - balance: string; -} -/** - * RedelegationResponse is equivalent to a Redelegation except that its entries - * contain a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationResponse { - redelegation: Redelegation | undefined; - entries: RedelegationEntryResponse[]; -} -export interface RedelegationResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.RedelegationResponse"; - value: Uint8Array; -} -/** - * RedelegationResponse is equivalent to a Redelegation except that its entries - * contain a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationResponseAmino { - redelegation?: RedelegationAmino | undefined; - entries?: RedelegationEntryResponseAmino[]; -} -export interface RedelegationResponseAminoMsg { - type: "cosmos-sdk/RedelegationResponse"; - value: RedelegationResponseAmino; -} -/** - * RedelegationResponse is equivalent to a Redelegation except that its entries - * contain a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationResponseSDKType { - redelegation: RedelegationSDKType | undefined; - entries: RedelegationEntryResponseSDKType[]; -} -/** - * Pool is used for tracking bonded and not-bonded token supply of the bond - * denomination. - */ -export interface Pool { - notBondedTokens: string; - bondedTokens: string; -} -export interface PoolProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Pool"; - value: Uint8Array; -} -/** - * Pool is used for tracking bonded and not-bonded token supply of the bond - * denomination. - */ -export interface PoolAmino { - not_bonded_tokens?: string; - bonded_tokens?: string; -} -export interface PoolAminoMsg { - type: "cosmos-sdk/Pool"; - value: PoolAmino; -} -/** - * Pool is used for tracking bonded and not-bonded token supply of the bond - * denomination. - */ -export interface PoolSDKType { - not_bonded_tokens: string; - bonded_tokens: string; -} -export declare const HistoricalInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is HistoricalInfo; - isSDK(o: any): o is HistoricalInfoSDKType; - isAmino(o: any): o is HistoricalInfoAmino; - encode(message: HistoricalInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): HistoricalInfo; - fromJSON(object: any): HistoricalInfo; - toJSON(message: HistoricalInfo): unknown; - fromPartial(object: DeepPartial): HistoricalInfo; - fromSDK(object: HistoricalInfoSDKType): HistoricalInfo; - toSDK(message: HistoricalInfo): HistoricalInfoSDKType; - fromAmino(object: HistoricalInfoAmino): HistoricalInfo; - toAmino(message: HistoricalInfo): HistoricalInfoAmino; - fromAminoMsg(object: HistoricalInfoAminoMsg): HistoricalInfo; - toAminoMsg(message: HistoricalInfo): HistoricalInfoAminoMsg; - fromProtoMsg(message: HistoricalInfoProtoMsg): HistoricalInfo; - toProto(message: HistoricalInfo): Uint8Array; - toProtoMsg(message: HistoricalInfo): HistoricalInfoProtoMsg; -}; -export declare const CommissionRates: { - typeUrl: string; - aminoType: string; - is(o: any): o is CommissionRates; - isSDK(o: any): o is CommissionRatesSDKType; - isAmino(o: any): o is CommissionRatesAmino; - encode(message: CommissionRates, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CommissionRates; - fromJSON(object: any): CommissionRates; - toJSON(message: CommissionRates): unknown; - fromPartial(object: DeepPartial): CommissionRates; - fromSDK(object: CommissionRatesSDKType): CommissionRates; - toSDK(message: CommissionRates): CommissionRatesSDKType; - fromAmino(object: CommissionRatesAmino): CommissionRates; - toAmino(message: CommissionRates): CommissionRatesAmino; - fromAminoMsg(object: CommissionRatesAminoMsg): CommissionRates; - toAminoMsg(message: CommissionRates): CommissionRatesAminoMsg; - fromProtoMsg(message: CommissionRatesProtoMsg): CommissionRates; - toProto(message: CommissionRates): Uint8Array; - toProtoMsg(message: CommissionRates): CommissionRatesProtoMsg; -}; -export declare const Commission: { - typeUrl: string; - aminoType: string; - is(o: any): o is Commission; - isSDK(o: any): o is CommissionSDKType; - isAmino(o: any): o is CommissionAmino; - encode(message: Commission, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Commission; - fromJSON(object: any): Commission; - toJSON(message: Commission): unknown; - fromPartial(object: DeepPartial): Commission; - fromSDK(object: CommissionSDKType): Commission; - toSDK(message: Commission): CommissionSDKType; - fromAmino(object: CommissionAmino): Commission; - toAmino(message: Commission): CommissionAmino; - fromAminoMsg(object: CommissionAminoMsg): Commission; - toAminoMsg(message: Commission): CommissionAminoMsg; - fromProtoMsg(message: CommissionProtoMsg): Commission; - toProto(message: Commission): Uint8Array; - toProtoMsg(message: Commission): CommissionProtoMsg; -}; -export declare const Description: { - typeUrl: string; - aminoType: string; - is(o: any): o is Description; - isSDK(o: any): o is DescriptionSDKType; - isAmino(o: any): o is DescriptionAmino; - encode(message: Description, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Description; - fromJSON(object: any): Description; - toJSON(message: Description): unknown; - fromPartial(object: DeepPartial): Description; - fromSDK(object: DescriptionSDKType): Description; - toSDK(message: Description): DescriptionSDKType; - fromAmino(object: DescriptionAmino): Description; - toAmino(message: Description): DescriptionAmino; - fromAminoMsg(object: DescriptionAminoMsg): Description; - toAminoMsg(message: Description): DescriptionAminoMsg; - fromProtoMsg(message: DescriptionProtoMsg): Description; - toProto(message: Description): Uint8Array; - toProtoMsg(message: Description): DescriptionProtoMsg; -}; -export declare const Validator: { - typeUrl: string; - aminoType: string; - is(o: any): o is Validator; - isSDK(o: any): o is ValidatorSDKType; - isAmino(o: any): o is ValidatorAmino; - encode(message: Validator, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Validator; - fromJSON(object: any): Validator; - toJSON(message: Validator): unknown; - fromPartial(object: DeepPartial): Validator; - fromSDK(object: ValidatorSDKType): Validator; - toSDK(message: Validator): ValidatorSDKType; - fromAmino(object: ValidatorAmino): Validator; - toAmino(message: Validator): ValidatorAmino; - fromAminoMsg(object: ValidatorAminoMsg): Validator; - toAminoMsg(message: Validator): ValidatorAminoMsg; - fromProtoMsg(message: ValidatorProtoMsg): Validator; - toProto(message: Validator): Uint8Array; - toProtoMsg(message: Validator): ValidatorProtoMsg; -}; -export declare const ValAddresses: { - typeUrl: string; - aminoType: string; - is(o: any): o is ValAddresses; - isSDK(o: any): o is ValAddressesSDKType; - isAmino(o: any): o is ValAddressesAmino; - encode(message: ValAddresses, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValAddresses; - fromJSON(object: any): ValAddresses; - toJSON(message: ValAddresses): unknown; - fromPartial(object: DeepPartial): ValAddresses; - fromSDK(object: ValAddressesSDKType): ValAddresses; - toSDK(message: ValAddresses): ValAddressesSDKType; - fromAmino(object: ValAddressesAmino): ValAddresses; - toAmino(message: ValAddresses): ValAddressesAmino; - fromAminoMsg(object: ValAddressesAminoMsg): ValAddresses; - toAminoMsg(message: ValAddresses): ValAddressesAminoMsg; - fromProtoMsg(message: ValAddressesProtoMsg): ValAddresses; - toProto(message: ValAddresses): Uint8Array; - toProtoMsg(message: ValAddresses): ValAddressesProtoMsg; -}; -export declare const DVPair: { - typeUrl: string; - aminoType: string; - is(o: any): o is DVPair; - isSDK(o: any): o is DVPairSDKType; - isAmino(o: any): o is DVPairAmino; - encode(message: DVPair, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DVPair; - fromJSON(object: any): DVPair; - toJSON(message: DVPair): unknown; - fromPartial(object: DeepPartial): DVPair; - fromSDK(object: DVPairSDKType): DVPair; - toSDK(message: DVPair): DVPairSDKType; - fromAmino(object: DVPairAmino): DVPair; - toAmino(message: DVPair): DVPairAmino; - fromAminoMsg(object: DVPairAminoMsg): DVPair; - toAminoMsg(message: DVPair): DVPairAminoMsg; - fromProtoMsg(message: DVPairProtoMsg): DVPair; - toProto(message: DVPair): Uint8Array; - toProtoMsg(message: DVPair): DVPairProtoMsg; -}; -export declare const DVPairs: { - typeUrl: string; - aminoType: string; - is(o: any): o is DVPairs; - isSDK(o: any): o is DVPairsSDKType; - isAmino(o: any): o is DVPairsAmino; - encode(message: DVPairs, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DVPairs; - fromJSON(object: any): DVPairs; - toJSON(message: DVPairs): unknown; - fromPartial(object: DeepPartial): DVPairs; - fromSDK(object: DVPairsSDKType): DVPairs; - toSDK(message: DVPairs): DVPairsSDKType; - fromAmino(object: DVPairsAmino): DVPairs; - toAmino(message: DVPairs): DVPairsAmino; - fromAminoMsg(object: DVPairsAminoMsg): DVPairs; - toAminoMsg(message: DVPairs): DVPairsAminoMsg; - fromProtoMsg(message: DVPairsProtoMsg): DVPairs; - toProto(message: DVPairs): Uint8Array; - toProtoMsg(message: DVPairs): DVPairsProtoMsg; -}; -export declare const DVVTriplet: { - typeUrl: string; - aminoType: string; - is(o: any): o is DVVTriplet; - isSDK(o: any): o is DVVTripletSDKType; - isAmino(o: any): o is DVVTripletAmino; - encode(message: DVVTriplet, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DVVTriplet; - fromJSON(object: any): DVVTriplet; - toJSON(message: DVVTriplet): unknown; - fromPartial(object: DeepPartial): DVVTriplet; - fromSDK(object: DVVTripletSDKType): DVVTriplet; - toSDK(message: DVVTriplet): DVVTripletSDKType; - fromAmino(object: DVVTripletAmino): DVVTriplet; - toAmino(message: DVVTriplet): DVVTripletAmino; - fromAminoMsg(object: DVVTripletAminoMsg): DVVTriplet; - toAminoMsg(message: DVVTriplet): DVVTripletAminoMsg; - fromProtoMsg(message: DVVTripletProtoMsg): DVVTriplet; - toProto(message: DVVTriplet): Uint8Array; - toProtoMsg(message: DVVTriplet): DVVTripletProtoMsg; -}; -export declare const DVVTriplets: { - typeUrl: string; - aminoType: string; - is(o: any): o is DVVTriplets; - isSDK(o: any): o is DVVTripletsSDKType; - isAmino(o: any): o is DVVTripletsAmino; - encode(message: DVVTriplets, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DVVTriplets; - fromJSON(object: any): DVVTriplets; - toJSON(message: DVVTriplets): unknown; - fromPartial(object: DeepPartial): DVVTriplets; - fromSDK(object: DVVTripletsSDKType): DVVTriplets; - toSDK(message: DVVTriplets): DVVTripletsSDKType; - fromAmino(object: DVVTripletsAmino): DVVTriplets; - toAmino(message: DVVTriplets): DVVTripletsAmino; - fromAminoMsg(object: DVVTripletsAminoMsg): DVVTriplets; - toAminoMsg(message: DVVTriplets): DVVTripletsAminoMsg; - fromProtoMsg(message: DVVTripletsProtoMsg): DVVTriplets; - toProto(message: DVVTriplets): Uint8Array; - toProtoMsg(message: DVVTriplets): DVVTripletsProtoMsg; -}; -export declare const Delegation: { - typeUrl: string; - aminoType: string; - is(o: any): o is Delegation; - isSDK(o: any): o is DelegationSDKType; - isAmino(o: any): o is DelegationAmino; - encode(message: Delegation, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Delegation; - fromJSON(object: any): Delegation; - toJSON(message: Delegation): unknown; - fromPartial(object: DeepPartial): Delegation; - fromSDK(object: DelegationSDKType): Delegation; - toSDK(message: Delegation): DelegationSDKType; - fromAmino(object: DelegationAmino): Delegation; - toAmino(message: Delegation): DelegationAmino; - fromAminoMsg(object: DelegationAminoMsg): Delegation; - toAminoMsg(message: Delegation): DelegationAminoMsg; - fromProtoMsg(message: DelegationProtoMsg): Delegation; - toProto(message: Delegation): Uint8Array; - toProtoMsg(message: Delegation): DelegationProtoMsg; -}; -export declare const UnbondingDelegation: { - typeUrl: string; - aminoType: string; - is(o: any): o is UnbondingDelegation; - isSDK(o: any): o is UnbondingDelegationSDKType; - isAmino(o: any): o is UnbondingDelegationAmino; - encode(message: UnbondingDelegation, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): UnbondingDelegation; - fromJSON(object: any): UnbondingDelegation; - toJSON(message: UnbondingDelegation): unknown; - fromPartial(object: DeepPartial): UnbondingDelegation; - fromSDK(object: UnbondingDelegationSDKType): UnbondingDelegation; - toSDK(message: UnbondingDelegation): UnbondingDelegationSDKType; - fromAmino(object: UnbondingDelegationAmino): UnbondingDelegation; - toAmino(message: UnbondingDelegation): UnbondingDelegationAmino; - fromAminoMsg(object: UnbondingDelegationAminoMsg): UnbondingDelegation; - toAminoMsg(message: UnbondingDelegation): UnbondingDelegationAminoMsg; - fromProtoMsg(message: UnbondingDelegationProtoMsg): UnbondingDelegation; - toProto(message: UnbondingDelegation): Uint8Array; - toProtoMsg(message: UnbondingDelegation): UnbondingDelegationProtoMsg; -}; -export declare const UnbondingDelegationEntry: { - typeUrl: string; - aminoType: string; - is(o: any): o is UnbondingDelegationEntry; - isSDK(o: any): o is UnbondingDelegationEntrySDKType; - isAmino(o: any): o is UnbondingDelegationEntryAmino; - encode(message: UnbondingDelegationEntry, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): UnbondingDelegationEntry; - fromJSON(object: any): UnbondingDelegationEntry; - toJSON(message: UnbondingDelegationEntry): unknown; - fromPartial(object: DeepPartial): UnbondingDelegationEntry; - fromSDK(object: UnbondingDelegationEntrySDKType): UnbondingDelegationEntry; - toSDK(message: UnbondingDelegationEntry): UnbondingDelegationEntrySDKType; - fromAmino(object: UnbondingDelegationEntryAmino): UnbondingDelegationEntry; - toAmino(message: UnbondingDelegationEntry): UnbondingDelegationEntryAmino; - fromAminoMsg(object: UnbondingDelegationEntryAminoMsg): UnbondingDelegationEntry; - toAminoMsg(message: UnbondingDelegationEntry): UnbondingDelegationEntryAminoMsg; - fromProtoMsg(message: UnbondingDelegationEntryProtoMsg): UnbondingDelegationEntry; - toProto(message: UnbondingDelegationEntry): Uint8Array; - toProtoMsg(message: UnbondingDelegationEntry): UnbondingDelegationEntryProtoMsg; -}; -export declare const RedelegationEntry: { - typeUrl: string; - aminoType: string; - is(o: any): o is RedelegationEntry; - isSDK(o: any): o is RedelegationEntrySDKType; - isAmino(o: any): o is RedelegationEntryAmino; - encode(message: RedelegationEntry, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RedelegationEntry; - fromJSON(object: any): RedelegationEntry; - toJSON(message: RedelegationEntry): unknown; - fromPartial(object: DeepPartial): RedelegationEntry; - fromSDK(object: RedelegationEntrySDKType): RedelegationEntry; - toSDK(message: RedelegationEntry): RedelegationEntrySDKType; - fromAmino(object: RedelegationEntryAmino): RedelegationEntry; - toAmino(message: RedelegationEntry): RedelegationEntryAmino; - fromAminoMsg(object: RedelegationEntryAminoMsg): RedelegationEntry; - toAminoMsg(message: RedelegationEntry): RedelegationEntryAminoMsg; - fromProtoMsg(message: RedelegationEntryProtoMsg): RedelegationEntry; - toProto(message: RedelegationEntry): Uint8Array; - toProtoMsg(message: RedelegationEntry): RedelegationEntryProtoMsg; -}; -export declare const Redelegation: { - typeUrl: string; - aminoType: string; - is(o: any): o is Redelegation; - isSDK(o: any): o is RedelegationSDKType; - isAmino(o: any): o is RedelegationAmino; - encode(message: Redelegation, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Redelegation; - fromJSON(object: any): Redelegation; - toJSON(message: Redelegation): unknown; - fromPartial(object: DeepPartial): Redelegation; - fromSDK(object: RedelegationSDKType): Redelegation; - toSDK(message: Redelegation): RedelegationSDKType; - fromAmino(object: RedelegationAmino): Redelegation; - toAmino(message: Redelegation): RedelegationAmino; - fromAminoMsg(object: RedelegationAminoMsg): Redelegation; - toAminoMsg(message: Redelegation): RedelegationAminoMsg; - fromProtoMsg(message: RedelegationProtoMsg): Redelegation; - toProto(message: Redelegation): Uint8Array; - toProtoMsg(message: Redelegation): RedelegationProtoMsg; -}; -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; -export declare const DelegationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is DelegationResponse; - isSDK(o: any): o is DelegationResponseSDKType; - isAmino(o: any): o is DelegationResponseAmino; - encode(message: DelegationResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DelegationResponse; - fromJSON(object: any): DelegationResponse; - toJSON(message: DelegationResponse): unknown; - fromPartial(object: DeepPartial): DelegationResponse; - fromSDK(object: DelegationResponseSDKType): DelegationResponse; - toSDK(message: DelegationResponse): DelegationResponseSDKType; - fromAmino(object: DelegationResponseAmino): DelegationResponse; - toAmino(message: DelegationResponse): DelegationResponseAmino; - fromAminoMsg(object: DelegationResponseAminoMsg): DelegationResponse; - toAminoMsg(message: DelegationResponse): DelegationResponseAminoMsg; - fromProtoMsg(message: DelegationResponseProtoMsg): DelegationResponse; - toProto(message: DelegationResponse): Uint8Array; - toProtoMsg(message: DelegationResponse): DelegationResponseProtoMsg; -}; -export declare const RedelegationEntryResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is RedelegationEntryResponse; - isSDK(o: any): o is RedelegationEntryResponseSDKType; - isAmino(o: any): o is RedelegationEntryResponseAmino; - encode(message: RedelegationEntryResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RedelegationEntryResponse; - fromJSON(object: any): RedelegationEntryResponse; - toJSON(message: RedelegationEntryResponse): unknown; - fromPartial(object: DeepPartial): RedelegationEntryResponse; - fromSDK(object: RedelegationEntryResponseSDKType): RedelegationEntryResponse; - toSDK(message: RedelegationEntryResponse): RedelegationEntryResponseSDKType; - fromAmino(object: RedelegationEntryResponseAmino): RedelegationEntryResponse; - toAmino(message: RedelegationEntryResponse): RedelegationEntryResponseAmino; - fromAminoMsg(object: RedelegationEntryResponseAminoMsg): RedelegationEntryResponse; - toAminoMsg(message: RedelegationEntryResponse): RedelegationEntryResponseAminoMsg; - fromProtoMsg(message: RedelegationEntryResponseProtoMsg): RedelegationEntryResponse; - toProto(message: RedelegationEntryResponse): Uint8Array; - toProtoMsg(message: RedelegationEntryResponse): RedelegationEntryResponseProtoMsg; -}; -export declare const RedelegationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is RedelegationResponse; - isSDK(o: any): o is RedelegationResponseSDKType; - isAmino(o: any): o is RedelegationResponseAmino; - encode(message: RedelegationResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RedelegationResponse; - fromJSON(object: any): RedelegationResponse; - toJSON(message: RedelegationResponse): unknown; - fromPartial(object: DeepPartial): RedelegationResponse; - fromSDK(object: RedelegationResponseSDKType): RedelegationResponse; - toSDK(message: RedelegationResponse): RedelegationResponseSDKType; - fromAmino(object: RedelegationResponseAmino): RedelegationResponse; - toAmino(message: RedelegationResponse): RedelegationResponseAmino; - fromAminoMsg(object: RedelegationResponseAminoMsg): RedelegationResponse; - toAminoMsg(message: RedelegationResponse): RedelegationResponseAminoMsg; - fromProtoMsg(message: RedelegationResponseProtoMsg): RedelegationResponse; - toProto(message: RedelegationResponse): Uint8Array; - toProtoMsg(message: RedelegationResponse): RedelegationResponseProtoMsg; -}; -export declare const Pool: { - typeUrl: string; - aminoType: string; - is(o: any): o is Pool; - isSDK(o: any): o is PoolSDKType; - isAmino(o: any): o is PoolAmino; - encode(message: Pool, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Pool; - fromJSON(object: any): Pool; - toJSON(message: Pool): unknown; - fromPartial(object: DeepPartial): Pool; - fromSDK(object: PoolSDKType): Pool; - toSDK(message: Pool): PoolSDKType; - fromAmino(object: PoolAmino): Pool; - toAmino(message: Pool): PoolAmino; - fromAminoMsg(object: PoolAminoMsg): Pool; - toAminoMsg(message: Pool): PoolAminoMsg; - fromProtoMsg(message: PoolProtoMsg): Pool; - toProto(message: Pool): Uint8Array; - toProtoMsg(message: Pool): PoolProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts b/examples/authz/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts deleted file mode 100644 index bf68e87a..00000000 --- a/examples/authz/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } from "./tx"; -export declare const AminoConverter: { - "/cosmos.staking.v1beta1.MsgCreateValidator": { - aminoType: string; - toAmino: (message: MsgCreateValidator) => import("./tx").MsgCreateValidatorAmino; - fromAmino: (object: import("./tx").MsgCreateValidatorAmino) => MsgCreateValidator; - }; - "/cosmos.staking.v1beta1.MsgEditValidator": { - aminoType: string; - toAmino: (message: MsgEditValidator) => import("./tx").MsgEditValidatorAmino; - fromAmino: (object: import("./tx").MsgEditValidatorAmino) => MsgEditValidator; - }; - "/cosmos.staking.v1beta1.MsgDelegate": { - aminoType: string; - toAmino: (message: MsgDelegate) => import("./tx").MsgDelegateAmino; - fromAmino: (object: import("./tx").MsgDelegateAmino) => MsgDelegate; - }; - "/cosmos.staking.v1beta1.MsgBeginRedelegate": { - aminoType: string; - toAmino: (message: MsgBeginRedelegate) => import("./tx").MsgBeginRedelegateAmino; - fromAmino: (object: import("./tx").MsgBeginRedelegateAmino) => MsgBeginRedelegate; - }; - "/cosmos.staking.v1beta1.MsgUndelegate": { - aminoType: string; - toAmino: (message: MsgUndelegate) => import("./tx").MsgUndelegateAmino; - fromAmino: (object: import("./tx").MsgUndelegateAmino) => MsgUndelegate; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/staking/v1beta1/tx.d.ts b/examples/authz/types/codegen/cosmos/staking/v1beta1/tx.d.ts deleted file mode 100644 index ebc9e8dd..00000000 --- a/examples/authz/types/codegen/cosmos/staking/v1beta1/tx.d.ts +++ /dev/null @@ -1,496 +0,0 @@ -import { Description, DescriptionAmino, DescriptionSDKType, CommissionRates, CommissionRatesAmino, CommissionRatesSDKType } from "./staking"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** MsgCreateValidator defines a SDK message for creating a new validator. */ -export interface MsgCreateValidator { - description: Description | undefined; - commission: CommissionRates | undefined; - minSelfDelegation: string; - delegatorAddress: string; - validatorAddress: string; - pubkey?: Any | undefined; - value: Coin | undefined; -} -export interface MsgCreateValidatorProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator"; - value: Uint8Array; -} -export type MsgCreateValidatorEncoded = Omit & { - pubkey?: AnyProtoMsg | undefined; -}; -/** MsgCreateValidator defines a SDK message for creating a new validator. */ -export interface MsgCreateValidatorAmino { - description?: DescriptionAmino | undefined; - commission?: CommissionRatesAmino | undefined; - min_self_delegation?: string; - delegator_address?: string; - validator_address?: string; - pubkey?: AnyAmino | undefined; - value?: CoinAmino | undefined; -} -export interface MsgCreateValidatorAminoMsg { - type: "cosmos-sdk/MsgCreateValidator"; - value: MsgCreateValidatorAmino; -} -/** MsgCreateValidator defines a SDK message for creating a new validator. */ -export interface MsgCreateValidatorSDKType { - description: DescriptionSDKType | undefined; - commission: CommissionRatesSDKType | undefined; - min_self_delegation: string; - delegator_address: string; - validator_address: string; - pubkey?: AnySDKType | undefined; - value: CoinSDKType | undefined; -} -/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ -export interface MsgCreateValidatorResponse { -} -export interface MsgCreateValidatorResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidatorResponse"; - value: Uint8Array; -} -/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ -export interface MsgCreateValidatorResponseAmino { -} -export interface MsgCreateValidatorResponseAminoMsg { - type: "cosmos-sdk/MsgCreateValidatorResponse"; - value: MsgCreateValidatorResponseAmino; -} -/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ -export interface MsgCreateValidatorResponseSDKType { -} -/** MsgEditValidator defines a SDK message for editing an existing validator. */ -export interface MsgEditValidator { - description: Description | undefined; - validatorAddress: string; - /** - * We pass a reference to the new commission rate and min self delegation as - * it's not mandatory to update. If not updated, the deserialized rate will be - * zero with no way to distinguish if an update was intended. - * REF: #2373 - */ - commissionRate: string; - minSelfDelegation: string; -} -export interface MsgEditValidatorProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator"; - value: Uint8Array; -} -/** MsgEditValidator defines a SDK message for editing an existing validator. */ -export interface MsgEditValidatorAmino { - description?: DescriptionAmino | undefined; - validator_address?: string; - /** - * We pass a reference to the new commission rate and min self delegation as - * it's not mandatory to update. If not updated, the deserialized rate will be - * zero with no way to distinguish if an update was intended. - * REF: #2373 - */ - commission_rate?: string; - min_self_delegation?: string; -} -export interface MsgEditValidatorAminoMsg { - type: "cosmos-sdk/MsgEditValidator"; - value: MsgEditValidatorAmino; -} -/** MsgEditValidator defines a SDK message for editing an existing validator. */ -export interface MsgEditValidatorSDKType { - description: DescriptionSDKType | undefined; - validator_address: string; - commission_rate: string; - min_self_delegation: string; -} -/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ -export interface MsgEditValidatorResponse { -} -export interface MsgEditValidatorResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidatorResponse"; - value: Uint8Array; -} -/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ -export interface MsgEditValidatorResponseAmino { -} -export interface MsgEditValidatorResponseAminoMsg { - type: "cosmos-sdk/MsgEditValidatorResponse"; - value: MsgEditValidatorResponseAmino; -} -/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ -export interface MsgEditValidatorResponseSDKType { -} -/** - * MsgDelegate defines a SDK message for performing a delegation of coins - * from a delegator to a validator. - */ -export interface MsgDelegate { - delegatorAddress: string; - validatorAddress: string; - amount: Coin | undefined; -} -export interface MsgDelegateProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegate"; - value: Uint8Array; -} -/** - * MsgDelegate defines a SDK message for performing a delegation of coins - * from a delegator to a validator. - */ -export interface MsgDelegateAmino { - delegator_address?: string; - validator_address?: string; - amount?: CoinAmino | undefined; -} -export interface MsgDelegateAminoMsg { - type: "cosmos-sdk/MsgDelegate"; - value: MsgDelegateAmino; -} -/** - * MsgDelegate defines a SDK message for performing a delegation of coins - * from a delegator to a validator. - */ -export interface MsgDelegateSDKType { - delegator_address: string; - validator_address: string; - amount: CoinSDKType | undefined; -} -/** MsgDelegateResponse defines the Msg/Delegate response type. */ -export interface MsgDelegateResponse { -} -export interface MsgDelegateResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegateResponse"; - value: Uint8Array; -} -/** MsgDelegateResponse defines the Msg/Delegate response type. */ -export interface MsgDelegateResponseAmino { -} -export interface MsgDelegateResponseAminoMsg { - type: "cosmos-sdk/MsgDelegateResponse"; - value: MsgDelegateResponseAmino; -} -/** MsgDelegateResponse defines the Msg/Delegate response type. */ -export interface MsgDelegateResponseSDKType { -} -/** - * MsgBeginRedelegate defines a SDK message for performing a redelegation - * of coins from a delegator and source validator to a destination validator. - */ -export interface MsgBeginRedelegate { - delegatorAddress: string; - validatorSrcAddress: string; - validatorDstAddress: string; - amount: Coin | undefined; -} -export interface MsgBeginRedelegateProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate"; - value: Uint8Array; -} -/** - * MsgBeginRedelegate defines a SDK message for performing a redelegation - * of coins from a delegator and source validator to a destination validator. - */ -export interface MsgBeginRedelegateAmino { - delegator_address?: string; - validator_src_address?: string; - validator_dst_address?: string; - amount?: CoinAmino | undefined; -} -export interface MsgBeginRedelegateAminoMsg { - type: "cosmos-sdk/MsgBeginRedelegate"; - value: MsgBeginRedelegateAmino; -} -/** - * MsgBeginRedelegate defines a SDK message for performing a redelegation - * of coins from a delegator and source validator to a destination validator. - */ -export interface MsgBeginRedelegateSDKType { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; - amount: CoinSDKType | undefined; -} -/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ -export interface MsgBeginRedelegateResponse { - completionTime: Date | undefined; -} -export interface MsgBeginRedelegateResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegateResponse"; - value: Uint8Array; -} -/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ -export interface MsgBeginRedelegateResponseAmino { - completion_time?: string | undefined; -} -export interface MsgBeginRedelegateResponseAminoMsg { - type: "cosmos-sdk/MsgBeginRedelegateResponse"; - value: MsgBeginRedelegateResponseAmino; -} -/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ -export interface MsgBeginRedelegateResponseSDKType { - completion_time: Date | undefined; -} -/** - * MsgUndelegate defines a SDK message for performing an undelegation from a - * delegate and a validator. - */ -export interface MsgUndelegate { - delegatorAddress: string; - validatorAddress: string; - amount: Coin | undefined; -} -export interface MsgUndelegateProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate"; - value: Uint8Array; -} -/** - * MsgUndelegate defines a SDK message for performing an undelegation from a - * delegate and a validator. - */ -export interface MsgUndelegateAmino { - delegator_address?: string; - validator_address?: string; - amount?: CoinAmino | undefined; -} -export interface MsgUndelegateAminoMsg { - type: "cosmos-sdk/MsgUndelegate"; - value: MsgUndelegateAmino; -} -/** - * MsgUndelegate defines a SDK message for performing an undelegation from a - * delegate and a validator. - */ -export interface MsgUndelegateSDKType { - delegator_address: string; - validator_address: string; - amount: CoinSDKType | undefined; -} -/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ -export interface MsgUndelegateResponse { - completionTime: Date | undefined; -} -export interface MsgUndelegateResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegateResponse"; - value: Uint8Array; -} -/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ -export interface MsgUndelegateResponseAmino { - completion_time?: string | undefined; -} -export interface MsgUndelegateResponseAminoMsg { - type: "cosmos-sdk/MsgUndelegateResponse"; - value: MsgUndelegateResponseAmino; -} -/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ -export interface MsgUndelegateResponseSDKType { - completion_time: Date | undefined; -} -export declare const MsgCreateValidator: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateValidator; - isSDK(o: any): o is MsgCreateValidatorSDKType; - isAmino(o: any): o is MsgCreateValidatorAmino; - encode(message: MsgCreateValidator, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateValidator; - fromJSON(object: any): MsgCreateValidator; - toJSON(message: MsgCreateValidator): unknown; - fromPartial(object: DeepPartial): MsgCreateValidator; - fromSDK(object: MsgCreateValidatorSDKType): MsgCreateValidator; - toSDK(message: MsgCreateValidator): MsgCreateValidatorSDKType; - fromAmino(object: MsgCreateValidatorAmino): MsgCreateValidator; - toAmino(message: MsgCreateValidator): MsgCreateValidatorAmino; - fromAminoMsg(object: MsgCreateValidatorAminoMsg): MsgCreateValidator; - toAminoMsg(message: MsgCreateValidator): MsgCreateValidatorAminoMsg; - fromProtoMsg(message: MsgCreateValidatorProtoMsg): MsgCreateValidator; - toProto(message: MsgCreateValidator): Uint8Array; - toProtoMsg(message: MsgCreateValidator): MsgCreateValidatorProtoMsg; -}; -export declare const MsgCreateValidatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateValidatorResponse; - isSDK(o: any): o is MsgCreateValidatorResponseSDKType; - isAmino(o: any): o is MsgCreateValidatorResponseAmino; - encode(_: MsgCreateValidatorResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateValidatorResponse; - fromJSON(_: any): MsgCreateValidatorResponse; - toJSON(_: MsgCreateValidatorResponse): unknown; - fromPartial(_: DeepPartial): MsgCreateValidatorResponse; - fromSDK(_: MsgCreateValidatorResponseSDKType): MsgCreateValidatorResponse; - toSDK(_: MsgCreateValidatorResponse): MsgCreateValidatorResponseSDKType; - fromAmino(_: MsgCreateValidatorResponseAmino): MsgCreateValidatorResponse; - toAmino(_: MsgCreateValidatorResponse): MsgCreateValidatorResponseAmino; - fromAminoMsg(object: MsgCreateValidatorResponseAminoMsg): MsgCreateValidatorResponse; - toAminoMsg(message: MsgCreateValidatorResponse): MsgCreateValidatorResponseAminoMsg; - fromProtoMsg(message: MsgCreateValidatorResponseProtoMsg): MsgCreateValidatorResponse; - toProto(message: MsgCreateValidatorResponse): Uint8Array; - toProtoMsg(message: MsgCreateValidatorResponse): MsgCreateValidatorResponseProtoMsg; -}; -export declare const MsgEditValidator: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgEditValidator; - isSDK(o: any): o is MsgEditValidatorSDKType; - isAmino(o: any): o is MsgEditValidatorAmino; - encode(message: MsgEditValidator, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgEditValidator; - fromJSON(object: any): MsgEditValidator; - toJSON(message: MsgEditValidator): unknown; - fromPartial(object: DeepPartial): MsgEditValidator; - fromSDK(object: MsgEditValidatorSDKType): MsgEditValidator; - toSDK(message: MsgEditValidator): MsgEditValidatorSDKType; - fromAmino(object: MsgEditValidatorAmino): MsgEditValidator; - toAmino(message: MsgEditValidator): MsgEditValidatorAmino; - fromAminoMsg(object: MsgEditValidatorAminoMsg): MsgEditValidator; - toAminoMsg(message: MsgEditValidator): MsgEditValidatorAminoMsg; - fromProtoMsg(message: MsgEditValidatorProtoMsg): MsgEditValidator; - toProto(message: MsgEditValidator): Uint8Array; - toProtoMsg(message: MsgEditValidator): MsgEditValidatorProtoMsg; -}; -export declare const MsgEditValidatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgEditValidatorResponse; - isSDK(o: any): o is MsgEditValidatorResponseSDKType; - isAmino(o: any): o is MsgEditValidatorResponseAmino; - encode(_: MsgEditValidatorResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgEditValidatorResponse; - fromJSON(_: any): MsgEditValidatorResponse; - toJSON(_: MsgEditValidatorResponse): unknown; - fromPartial(_: DeepPartial): MsgEditValidatorResponse; - fromSDK(_: MsgEditValidatorResponseSDKType): MsgEditValidatorResponse; - toSDK(_: MsgEditValidatorResponse): MsgEditValidatorResponseSDKType; - fromAmino(_: MsgEditValidatorResponseAmino): MsgEditValidatorResponse; - toAmino(_: MsgEditValidatorResponse): MsgEditValidatorResponseAmino; - fromAminoMsg(object: MsgEditValidatorResponseAminoMsg): MsgEditValidatorResponse; - toAminoMsg(message: MsgEditValidatorResponse): MsgEditValidatorResponseAminoMsg; - fromProtoMsg(message: MsgEditValidatorResponseProtoMsg): MsgEditValidatorResponse; - toProto(message: MsgEditValidatorResponse): Uint8Array; - toProtoMsg(message: MsgEditValidatorResponse): MsgEditValidatorResponseProtoMsg; -}; -export declare const MsgDelegate: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgDelegate; - isSDK(o: any): o is MsgDelegateSDKType; - isAmino(o: any): o is MsgDelegateAmino; - encode(message: MsgDelegate, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgDelegate; - fromJSON(object: any): MsgDelegate; - toJSON(message: MsgDelegate): unknown; - fromPartial(object: DeepPartial): MsgDelegate; - fromSDK(object: MsgDelegateSDKType): MsgDelegate; - toSDK(message: MsgDelegate): MsgDelegateSDKType; - fromAmino(object: MsgDelegateAmino): MsgDelegate; - toAmino(message: MsgDelegate): MsgDelegateAmino; - fromAminoMsg(object: MsgDelegateAminoMsg): MsgDelegate; - toAminoMsg(message: MsgDelegate): MsgDelegateAminoMsg; - fromProtoMsg(message: MsgDelegateProtoMsg): MsgDelegate; - toProto(message: MsgDelegate): Uint8Array; - toProtoMsg(message: MsgDelegate): MsgDelegateProtoMsg; -}; -export declare const MsgDelegateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgDelegateResponse; - isSDK(o: any): o is MsgDelegateResponseSDKType; - isAmino(o: any): o is MsgDelegateResponseAmino; - encode(_: MsgDelegateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgDelegateResponse; - fromJSON(_: any): MsgDelegateResponse; - toJSON(_: MsgDelegateResponse): unknown; - fromPartial(_: DeepPartial): MsgDelegateResponse; - fromSDK(_: MsgDelegateResponseSDKType): MsgDelegateResponse; - toSDK(_: MsgDelegateResponse): MsgDelegateResponseSDKType; - fromAmino(_: MsgDelegateResponseAmino): MsgDelegateResponse; - toAmino(_: MsgDelegateResponse): MsgDelegateResponseAmino; - fromAminoMsg(object: MsgDelegateResponseAminoMsg): MsgDelegateResponse; - toAminoMsg(message: MsgDelegateResponse): MsgDelegateResponseAminoMsg; - fromProtoMsg(message: MsgDelegateResponseProtoMsg): MsgDelegateResponse; - toProto(message: MsgDelegateResponse): Uint8Array; - toProtoMsg(message: MsgDelegateResponse): MsgDelegateResponseProtoMsg; -}; -export declare const MsgBeginRedelegate: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgBeginRedelegate; - isSDK(o: any): o is MsgBeginRedelegateSDKType; - isAmino(o: any): o is MsgBeginRedelegateAmino; - encode(message: MsgBeginRedelegate, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgBeginRedelegate; - fromJSON(object: any): MsgBeginRedelegate; - toJSON(message: MsgBeginRedelegate): unknown; - fromPartial(object: DeepPartial): MsgBeginRedelegate; - fromSDK(object: MsgBeginRedelegateSDKType): MsgBeginRedelegate; - toSDK(message: MsgBeginRedelegate): MsgBeginRedelegateSDKType; - fromAmino(object: MsgBeginRedelegateAmino): MsgBeginRedelegate; - toAmino(message: MsgBeginRedelegate): MsgBeginRedelegateAmino; - fromAminoMsg(object: MsgBeginRedelegateAminoMsg): MsgBeginRedelegate; - toAminoMsg(message: MsgBeginRedelegate): MsgBeginRedelegateAminoMsg; - fromProtoMsg(message: MsgBeginRedelegateProtoMsg): MsgBeginRedelegate; - toProto(message: MsgBeginRedelegate): Uint8Array; - toProtoMsg(message: MsgBeginRedelegate): MsgBeginRedelegateProtoMsg; -}; -export declare const MsgBeginRedelegateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgBeginRedelegateResponse; - isSDK(o: any): o is MsgBeginRedelegateResponseSDKType; - isAmino(o: any): o is MsgBeginRedelegateResponseAmino; - encode(message: MsgBeginRedelegateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgBeginRedelegateResponse; - fromJSON(object: any): MsgBeginRedelegateResponse; - toJSON(message: MsgBeginRedelegateResponse): unknown; - fromPartial(object: DeepPartial): MsgBeginRedelegateResponse; - fromSDK(object: MsgBeginRedelegateResponseSDKType): MsgBeginRedelegateResponse; - toSDK(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseSDKType; - fromAmino(object: MsgBeginRedelegateResponseAmino): MsgBeginRedelegateResponse; - toAmino(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseAmino; - fromAminoMsg(object: MsgBeginRedelegateResponseAminoMsg): MsgBeginRedelegateResponse; - toAminoMsg(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseAminoMsg; - fromProtoMsg(message: MsgBeginRedelegateResponseProtoMsg): MsgBeginRedelegateResponse; - toProto(message: MsgBeginRedelegateResponse): Uint8Array; - toProtoMsg(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseProtoMsg; -}; -export declare const MsgUndelegate: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUndelegate; - isSDK(o: any): o is MsgUndelegateSDKType; - isAmino(o: any): o is MsgUndelegateAmino; - encode(message: MsgUndelegate, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUndelegate; - fromJSON(object: any): MsgUndelegate; - toJSON(message: MsgUndelegate): unknown; - fromPartial(object: DeepPartial): MsgUndelegate; - fromSDK(object: MsgUndelegateSDKType): MsgUndelegate; - toSDK(message: MsgUndelegate): MsgUndelegateSDKType; - fromAmino(object: MsgUndelegateAmino): MsgUndelegate; - toAmino(message: MsgUndelegate): MsgUndelegateAmino; - fromAminoMsg(object: MsgUndelegateAminoMsg): MsgUndelegate; - toAminoMsg(message: MsgUndelegate): MsgUndelegateAminoMsg; - fromProtoMsg(message: MsgUndelegateProtoMsg): MsgUndelegate; - toProto(message: MsgUndelegate): Uint8Array; - toProtoMsg(message: MsgUndelegate): MsgUndelegateProtoMsg; -}; -export declare const MsgUndelegateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUndelegateResponse; - isSDK(o: any): o is MsgUndelegateResponseSDKType; - isAmino(o: any): o is MsgUndelegateResponseAmino; - encode(message: MsgUndelegateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUndelegateResponse; - fromJSON(object: any): MsgUndelegateResponse; - toJSON(message: MsgUndelegateResponse): unknown; - fromPartial(object: DeepPartial): MsgUndelegateResponse; - fromSDK(object: MsgUndelegateResponseSDKType): MsgUndelegateResponse; - toSDK(message: MsgUndelegateResponse): MsgUndelegateResponseSDKType; - fromAmino(object: MsgUndelegateResponseAmino): MsgUndelegateResponse; - toAmino(message: MsgUndelegateResponse): MsgUndelegateResponseAmino; - fromAminoMsg(object: MsgUndelegateResponseAminoMsg): MsgUndelegateResponse; - toAminoMsg(message: MsgUndelegateResponse): MsgUndelegateResponseAminoMsg; - fromProtoMsg(message: MsgUndelegateResponseProtoMsg): MsgUndelegateResponse; - toProto(message: MsgUndelegateResponse): Uint8Array; - toProtoMsg(message: MsgUndelegateResponse): MsgUndelegateResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts b/examples/authz/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts deleted file mode 100644 index 2861f613..00000000 --- a/examples/authz/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - createValidator(value: MsgCreateValidator): { - typeUrl: string; - value: Uint8Array; - }; - editValidator(value: MsgEditValidator): { - typeUrl: string; - value: Uint8Array; - }; - delegate(value: MsgDelegate): { - typeUrl: string; - value: Uint8Array; - }; - beginRedelegate(value: MsgBeginRedelegate): { - typeUrl: string; - value: Uint8Array; - }; - undelegate(value: MsgUndelegate): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createValidator(value: MsgCreateValidator): { - typeUrl: string; - value: MsgCreateValidator; - }; - editValidator(value: MsgEditValidator): { - typeUrl: string; - value: MsgEditValidator; - }; - delegate(value: MsgDelegate): { - typeUrl: string; - value: MsgDelegate; - }; - beginRedelegate(value: MsgBeginRedelegate): { - typeUrl: string; - value: MsgBeginRedelegate; - }; - undelegate(value: MsgUndelegate): { - typeUrl: string; - value: MsgUndelegate; - }; - }; - toJSON: { - createValidator(value: MsgCreateValidator): { - typeUrl: string; - value: unknown; - }; - editValidator(value: MsgEditValidator): { - typeUrl: string; - value: unknown; - }; - delegate(value: MsgDelegate): { - typeUrl: string; - value: unknown; - }; - beginRedelegate(value: MsgBeginRedelegate): { - typeUrl: string; - value: unknown; - }; - undelegate(value: MsgUndelegate): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createValidator(value: any): { - typeUrl: string; - value: MsgCreateValidator; - }; - editValidator(value: any): { - typeUrl: string; - value: MsgEditValidator; - }; - delegate(value: any): { - typeUrl: string; - value: MsgDelegate; - }; - beginRedelegate(value: any): { - typeUrl: string; - value: MsgBeginRedelegate; - }; - undelegate(value: any): { - typeUrl: string; - value: MsgUndelegate; - }; - }; - fromPartial: { - createValidator(value: MsgCreateValidator): { - typeUrl: string; - value: MsgCreateValidator; - }; - editValidator(value: MsgEditValidator): { - typeUrl: string; - value: MsgEditValidator; - }; - delegate(value: MsgDelegate): { - typeUrl: string; - value: MsgDelegate; - }; - beginRedelegate(value: MsgBeginRedelegate): { - typeUrl: string; - value: MsgBeginRedelegate; - }; - undelegate(value: MsgUndelegate): { - typeUrl: string; - value: MsgUndelegate; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index de9697c3..00000000 --- a/examples/authz/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgCreateValidator, MsgEditValidator, MsgDelegate, MsgBeginRedelegate, MsgUndelegate } from "./tx"; -/** Msg defines the staking Msg service. */ -export interface Msg { - /** CreateValidator defines a method for creating a new validator. */ - createValidator(signerAddress: string, message: MsgCreateValidator, fee: number | StdFee | "auto", memo: string): Promise; - /** EditValidator defines a method for editing an existing validator. */ - editValidator(signerAddress: string, message: MsgEditValidator, fee: number | StdFee | "auto", memo: string): Promise; - /** - * Delegate defines a method for performing a delegation of coins - * from a delegator to a validator. - */ - delegate(signerAddress: string, message: MsgDelegate, fee: number | StdFee | "auto", memo: string): Promise; - /** - * BeginRedelegate defines a method for performing a redelegation - * of coins from a delegator and source validator to a destination validator. - */ - beginRedelegate(signerAddress: string, message: MsgBeginRedelegate, fee: number | StdFee | "auto", memo: string): Promise; - /** - * Undelegate defines a method for performing an undelegation from a - * delegate and a validator. - */ - undelegate(signerAddress: string, message: MsgUndelegate, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - createValidator: (signerAddress: string, message: MsgCreateValidator, fee?: number | StdFee | "auto", memo?: string) => Promise; - editValidator: (signerAddress: string, message: MsgEditValidator, fee?: number | StdFee | "auto", memo?: string) => Promise; - delegate: (signerAddress: string, message: MsgDelegate, fee?: number | StdFee | "auto", memo?: string) => Promise; - beginRedelegate: (signerAddress: string, message: MsgBeginRedelegate, fee?: number | StdFee | "auto", memo?: string) => Promise; - undelegate: (signerAddress: string, message: MsgUndelegate, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts b/examples/authz/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts deleted file mode 100644 index 15b9834b..00000000 --- a/examples/authz/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +++ /dev/null @@ -1,312 +0,0 @@ -import { CompactBitArray, CompactBitArrayAmino, CompactBitArraySDKType } from "../../../crypto/multisig/v1beta1/multisig"; -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * SignMode represents a signing mode with its own security guarantees. - * - * This enum should be considered a registry of all known sign modes - * in the Cosmos ecosystem. Apps are not expected to support all known - * sign modes. Apps that would like to support custom sign modes are - * encouraged to open a small PR against this file to add a new case - * to this SignMode enum describing their sign mode so that different - * apps have a consistent version of this enum. - */ -export declare enum SignMode { - /** - * SIGN_MODE_UNSPECIFIED - SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be - * rejected. - */ - SIGN_MODE_UNSPECIFIED = 0, - /** - * SIGN_MODE_DIRECT - SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is - * verified with raw bytes from Tx. - */ - SIGN_MODE_DIRECT = 1, - /** - * SIGN_MODE_TEXTUAL - SIGN_MODE_TEXTUAL is a future signing mode that will verify some - * human-readable textual representation on top of the binary representation - * from SIGN_MODE_DIRECT. It is currently not supported. - */ - SIGN_MODE_TEXTUAL = 2, - /** - * SIGN_MODE_DIRECT_AUX - SIGN_MODE_DIRECT_AUX specifies a signing mode which uses - * SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not - * require signers signing over other signers' `signer_info`. It also allows - * for adding Tips in transactions. - * - * Since: cosmos-sdk 0.46 - */ - SIGN_MODE_DIRECT_AUX = 3, - /** - * SIGN_MODE_LEGACY_AMINO_JSON - SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses - * Amino JSON and will be removed in the future. - */ - SIGN_MODE_LEGACY_AMINO_JSON = 127, - UNRECOGNIZED = -1 -} -export declare const SignModeSDKType: typeof SignMode; -export declare const SignModeAmino: typeof SignMode; -export declare function signModeFromJSON(object: any): SignMode; -export declare function signModeToJSON(object: SignMode): string; -/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ -export interface SignatureDescriptors { - /** signatures are the signature descriptors */ - signatures: SignatureDescriptor[]; -} -export interface SignatureDescriptorsProtoMsg { - typeUrl: "/cosmos.tx.signing.v1beta1.SignatureDescriptors"; - value: Uint8Array; -} -/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ -export interface SignatureDescriptorsAmino { - /** signatures are the signature descriptors */ - signatures?: SignatureDescriptorAmino[]; -} -export interface SignatureDescriptorsAminoMsg { - type: "cosmos-sdk/SignatureDescriptors"; - value: SignatureDescriptorsAmino; -} -/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ -export interface SignatureDescriptorsSDKType { - signatures: SignatureDescriptorSDKType[]; -} -/** - * SignatureDescriptor is a convenience type which represents the full data for - * a signature including the public key of the signer, signing modes and the - * signature itself. It is primarily used for coordinating signatures between - * clients. - */ -export interface SignatureDescriptor { - /** public_key is the public key of the signer */ - publicKey?: Any | undefined; - data?: SignatureDescriptor_Data | undefined; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to prevent - * replay attacks. - */ - sequence: bigint; -} -export interface SignatureDescriptorProtoMsg { - typeUrl: "/cosmos.tx.signing.v1beta1.SignatureDescriptor"; - value: Uint8Array; -} -/** - * SignatureDescriptor is a convenience type which represents the full data for - * a signature including the public key of the signer, signing modes and the - * signature itself. It is primarily used for coordinating signatures between - * clients. - */ -export interface SignatureDescriptorAmino { - /** public_key is the public key of the signer */ - public_key?: AnyAmino | undefined; - data?: SignatureDescriptor_DataAmino | undefined; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to prevent - * replay attacks. - */ - sequence?: string; -} -export interface SignatureDescriptorAminoMsg { - type: "cosmos-sdk/SignatureDescriptor"; - value: SignatureDescriptorAmino; -} -/** - * SignatureDescriptor is a convenience type which represents the full data for - * a signature including the public key of the signer, signing modes and the - * signature itself. It is primarily used for coordinating signatures between - * clients. - */ -export interface SignatureDescriptorSDKType { - public_key?: AnySDKType | undefined; - data?: SignatureDescriptor_DataSDKType | undefined; - sequence: bigint; -} -/** Data represents signature data */ -export interface SignatureDescriptor_Data { - /** single represents a single signer */ - single?: SignatureDescriptor_Data_Single | undefined; - /** multi represents a multisig signer */ - multi?: SignatureDescriptor_Data_Multi | undefined; -} -export interface SignatureDescriptor_DataProtoMsg { - typeUrl: "/cosmos.tx.signing.v1beta1.Data"; - value: Uint8Array; -} -/** Data represents signature data */ -export interface SignatureDescriptor_DataAmino { - /** single represents a single signer */ - single?: SignatureDescriptor_Data_SingleAmino | undefined; - /** multi represents a multisig signer */ - multi?: SignatureDescriptor_Data_MultiAmino | undefined; -} -export interface SignatureDescriptor_DataAminoMsg { - type: "cosmos-sdk/Data"; - value: SignatureDescriptor_DataAmino; -} -/** Data represents signature data */ -export interface SignatureDescriptor_DataSDKType { - single?: SignatureDescriptor_Data_SingleSDKType | undefined; - multi?: SignatureDescriptor_Data_MultiSDKType | undefined; -} -/** Single is the signature data for a single signer */ -export interface SignatureDescriptor_Data_Single { - /** mode is the signing mode of the single signer */ - mode: SignMode; - /** signature is the raw signature bytes */ - signature: Uint8Array; -} -export interface SignatureDescriptor_Data_SingleProtoMsg { - typeUrl: "/cosmos.tx.signing.v1beta1.Single"; - value: Uint8Array; -} -/** Single is the signature data for a single signer */ -export interface SignatureDescriptor_Data_SingleAmino { - /** mode is the signing mode of the single signer */ - mode?: SignMode; - /** signature is the raw signature bytes */ - signature?: string; -} -export interface SignatureDescriptor_Data_SingleAminoMsg { - type: "cosmos-sdk/Single"; - value: SignatureDescriptor_Data_SingleAmino; -} -/** Single is the signature data for a single signer */ -export interface SignatureDescriptor_Data_SingleSDKType { - mode: SignMode; - signature: Uint8Array; -} -/** Multi is the signature data for a multisig public key */ -export interface SignatureDescriptor_Data_Multi { - /** bitarray specifies which keys within the multisig are signing */ - bitarray?: CompactBitArray | undefined; - /** signatures is the signatures of the multi-signature */ - signatures: SignatureDescriptor_Data[]; -} -export interface SignatureDescriptor_Data_MultiProtoMsg { - typeUrl: "/cosmos.tx.signing.v1beta1.Multi"; - value: Uint8Array; -} -/** Multi is the signature data for a multisig public key */ -export interface SignatureDescriptor_Data_MultiAmino { - /** bitarray specifies which keys within the multisig are signing */ - bitarray?: CompactBitArrayAmino | undefined; - /** signatures is the signatures of the multi-signature */ - signatures?: SignatureDescriptor_DataAmino[]; -} -export interface SignatureDescriptor_Data_MultiAminoMsg { - type: "cosmos-sdk/Multi"; - value: SignatureDescriptor_Data_MultiAmino; -} -/** Multi is the signature data for a multisig public key */ -export interface SignatureDescriptor_Data_MultiSDKType { - bitarray?: CompactBitArraySDKType | undefined; - signatures: SignatureDescriptor_DataSDKType[]; -} -export declare const SignatureDescriptors: { - typeUrl: string; - aminoType: string; - is(o: any): o is SignatureDescriptors; - isSDK(o: any): o is SignatureDescriptorsSDKType; - isAmino(o: any): o is SignatureDescriptorsAmino; - encode(message: SignatureDescriptors, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SignatureDescriptors; - fromJSON(object: any): SignatureDescriptors; - toJSON(message: SignatureDescriptors): unknown; - fromPartial(object: DeepPartial): SignatureDescriptors; - fromSDK(object: SignatureDescriptorsSDKType): SignatureDescriptors; - toSDK(message: SignatureDescriptors): SignatureDescriptorsSDKType; - fromAmino(object: SignatureDescriptorsAmino): SignatureDescriptors; - toAmino(message: SignatureDescriptors): SignatureDescriptorsAmino; - fromAminoMsg(object: SignatureDescriptorsAminoMsg): SignatureDescriptors; - toAminoMsg(message: SignatureDescriptors): SignatureDescriptorsAminoMsg; - fromProtoMsg(message: SignatureDescriptorsProtoMsg): SignatureDescriptors; - toProto(message: SignatureDescriptors): Uint8Array; - toProtoMsg(message: SignatureDescriptors): SignatureDescriptorsProtoMsg; -}; -export declare const SignatureDescriptor: { - typeUrl: string; - aminoType: string; - is(o: any): o is SignatureDescriptor; - isSDK(o: any): o is SignatureDescriptorSDKType; - isAmino(o: any): o is SignatureDescriptorAmino; - encode(message: SignatureDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SignatureDescriptor; - fromJSON(object: any): SignatureDescriptor; - toJSON(message: SignatureDescriptor): unknown; - fromPartial(object: DeepPartial): SignatureDescriptor; - fromSDK(object: SignatureDescriptorSDKType): SignatureDescriptor; - toSDK(message: SignatureDescriptor): SignatureDescriptorSDKType; - fromAmino(object: SignatureDescriptorAmino): SignatureDescriptor; - toAmino(message: SignatureDescriptor): SignatureDescriptorAmino; - fromAminoMsg(object: SignatureDescriptorAminoMsg): SignatureDescriptor; - toAminoMsg(message: SignatureDescriptor): SignatureDescriptorAminoMsg; - fromProtoMsg(message: SignatureDescriptorProtoMsg): SignatureDescriptor; - toProto(message: SignatureDescriptor): Uint8Array; - toProtoMsg(message: SignatureDescriptor): SignatureDescriptorProtoMsg; -}; -export declare const SignatureDescriptor_Data: { - typeUrl: string; - aminoType: string; - is(o: any): o is SignatureDescriptor_Data; - isSDK(o: any): o is SignatureDescriptor_DataSDKType; - isAmino(o: any): o is SignatureDescriptor_DataAmino; - encode(message: SignatureDescriptor_Data, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SignatureDescriptor_Data; - fromJSON(object: any): SignatureDescriptor_Data; - toJSON(message: SignatureDescriptor_Data): unknown; - fromPartial(object: DeepPartial): SignatureDescriptor_Data; - fromSDK(object: SignatureDescriptor_DataSDKType): SignatureDescriptor_Data; - toSDK(message: SignatureDescriptor_Data): SignatureDescriptor_DataSDKType; - fromAmino(object: SignatureDescriptor_DataAmino): SignatureDescriptor_Data; - toAmino(message: SignatureDescriptor_Data): SignatureDescriptor_DataAmino; - fromAminoMsg(object: SignatureDescriptor_DataAminoMsg): SignatureDescriptor_Data; - toAminoMsg(message: SignatureDescriptor_Data): SignatureDescriptor_DataAminoMsg; - fromProtoMsg(message: SignatureDescriptor_DataProtoMsg): SignatureDescriptor_Data; - toProto(message: SignatureDescriptor_Data): Uint8Array; - toProtoMsg(message: SignatureDescriptor_Data): SignatureDescriptor_DataProtoMsg; -}; -export declare const SignatureDescriptor_Data_Single: { - typeUrl: string; - aminoType: string; - is(o: any): o is SignatureDescriptor_Data_Single; - isSDK(o: any): o is SignatureDescriptor_Data_SingleSDKType; - isAmino(o: any): o is SignatureDescriptor_Data_SingleAmino; - encode(message: SignatureDescriptor_Data_Single, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SignatureDescriptor_Data_Single; - fromJSON(object: any): SignatureDescriptor_Data_Single; - toJSON(message: SignatureDescriptor_Data_Single): unknown; - fromPartial(object: DeepPartial): SignatureDescriptor_Data_Single; - fromSDK(object: SignatureDescriptor_Data_SingleSDKType): SignatureDescriptor_Data_Single; - toSDK(message: SignatureDescriptor_Data_Single): SignatureDescriptor_Data_SingleSDKType; - fromAmino(object: SignatureDescriptor_Data_SingleAmino): SignatureDescriptor_Data_Single; - toAmino(message: SignatureDescriptor_Data_Single): SignatureDescriptor_Data_SingleAmino; - fromAminoMsg(object: SignatureDescriptor_Data_SingleAminoMsg): SignatureDescriptor_Data_Single; - toAminoMsg(message: SignatureDescriptor_Data_Single): SignatureDescriptor_Data_SingleAminoMsg; - fromProtoMsg(message: SignatureDescriptor_Data_SingleProtoMsg): SignatureDescriptor_Data_Single; - toProto(message: SignatureDescriptor_Data_Single): Uint8Array; - toProtoMsg(message: SignatureDescriptor_Data_Single): SignatureDescriptor_Data_SingleProtoMsg; -}; -export declare const SignatureDescriptor_Data_Multi: { - typeUrl: string; - aminoType: string; - is(o: any): o is SignatureDescriptor_Data_Multi; - isSDK(o: any): o is SignatureDescriptor_Data_MultiSDKType; - isAmino(o: any): o is SignatureDescriptor_Data_MultiAmino; - encode(message: SignatureDescriptor_Data_Multi, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SignatureDescriptor_Data_Multi; - fromJSON(object: any): SignatureDescriptor_Data_Multi; - toJSON(message: SignatureDescriptor_Data_Multi): unknown; - fromPartial(object: DeepPartial): SignatureDescriptor_Data_Multi; - fromSDK(object: SignatureDescriptor_Data_MultiSDKType): SignatureDescriptor_Data_Multi; - toSDK(message: SignatureDescriptor_Data_Multi): SignatureDescriptor_Data_MultiSDKType; - fromAmino(object: SignatureDescriptor_Data_MultiAmino): SignatureDescriptor_Data_Multi; - toAmino(message: SignatureDescriptor_Data_Multi): SignatureDescriptor_Data_MultiAmino; - fromAminoMsg(object: SignatureDescriptor_Data_MultiAminoMsg): SignatureDescriptor_Data_Multi; - toAminoMsg(message: SignatureDescriptor_Data_Multi): SignatureDescriptor_Data_MultiAminoMsg; - fromProtoMsg(message: SignatureDescriptor_Data_MultiProtoMsg): SignatureDescriptor_Data_Multi; - toProto(message: SignatureDescriptor_Data_Multi): Uint8Array; - toProtoMsg(message: SignatureDescriptor_Data_Multi): SignatureDescriptor_Data_MultiProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/tx/v1beta1/service.d.ts b/examples/authz/types/codegen/cosmos/tx/v1beta1/service.d.ts deleted file mode 100644 index e7a3b81b..00000000 --- a/examples/authz/types/codegen/cosmos/tx/v1beta1/service.d.ts +++ /dev/null @@ -1,635 +0,0 @@ -import { Tx, TxAmino, TxSDKType } from "./tx"; -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { TxResponse, TxResponseAmino, TxResponseSDKType, GasInfo, GasInfoAmino, GasInfoSDKType, Result, ResultAmino, ResultSDKType } from "../../base/abci/v1beta1/abci"; -import { BlockID, BlockIDAmino, BlockIDSDKType } from "../../../tendermint/types/types"; -import { Block, BlockAmino, BlockSDKType } from "../../../tendermint/types/block"; -import { DeepPartial } from "../../../helpers"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -/** OrderBy defines the sorting order */ -export declare enum OrderBy { - /** ORDER_BY_UNSPECIFIED - ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. */ - ORDER_BY_UNSPECIFIED = 0, - /** ORDER_BY_ASC - ORDER_BY_ASC defines ascending order */ - ORDER_BY_ASC = 1, - /** ORDER_BY_DESC - ORDER_BY_DESC defines descending order */ - ORDER_BY_DESC = 2, - UNRECOGNIZED = -1 -} -export declare const OrderBySDKType: typeof OrderBy; -export declare const OrderByAmino: typeof OrderBy; -export declare function orderByFromJSON(object: any): OrderBy; -export declare function orderByToJSON(object: OrderBy): string; -/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ -export declare enum BroadcastMode { - /** BROADCAST_MODE_UNSPECIFIED - zero-value for mode ordering */ - BROADCAST_MODE_UNSPECIFIED = 0, - /** - * BROADCAST_MODE_BLOCK - BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for - * the tx to be committed in a block. - */ - BROADCAST_MODE_BLOCK = 1, - /** - * BROADCAST_MODE_SYNC - BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for - * a CheckTx execution response only. - */ - BROADCAST_MODE_SYNC = 2, - /** - * BROADCAST_MODE_ASYNC - BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns - * immediately. - */ - BROADCAST_MODE_ASYNC = 3, - UNRECOGNIZED = -1 -} -export declare const BroadcastModeSDKType: typeof BroadcastMode; -export declare const BroadcastModeAmino: typeof BroadcastMode; -export declare function broadcastModeFromJSON(object: any): BroadcastMode; -export declare function broadcastModeToJSON(object: BroadcastMode): string; -/** - * GetTxsEventRequest is the request type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventRequest { - /** events is the list of transaction event type. */ - events: string[]; - /** pagination defines a pagination for the request. */ - pagination?: PageRequest | undefined; - orderBy: OrderBy; -} -export interface GetTxsEventRequestProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetTxsEventRequest"; - value: Uint8Array; -} -/** - * GetTxsEventRequest is the request type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventRequestAmino { - /** events is the list of transaction event type. */ - events?: string[]; - /** pagination defines a pagination for the request. */ - pagination?: PageRequestAmino | undefined; - order_by?: OrderBy; -} -export interface GetTxsEventRequestAminoMsg { - type: "cosmos-sdk/GetTxsEventRequest"; - value: GetTxsEventRequestAmino; -} -/** - * GetTxsEventRequest is the request type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventRequestSDKType { - events: string[]; - pagination?: PageRequestSDKType | undefined; - order_by: OrderBy; -} -/** - * GetTxsEventResponse is the response type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventResponse { - /** txs is the list of queried transactions. */ - txs: Tx[]; - /** tx_responses is the list of queried TxResponses. */ - txResponses: TxResponse[]; - /** pagination defines a pagination for the response. */ - pagination?: PageResponse | undefined; -} -export interface GetTxsEventResponseProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetTxsEventResponse"; - value: Uint8Array; -} -/** - * GetTxsEventResponse is the response type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventResponseAmino { - /** txs is the list of queried transactions. */ - txs?: TxAmino[]; - /** tx_responses is the list of queried TxResponses. */ - tx_responses?: TxResponseAmino[]; - /** pagination defines a pagination for the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface GetTxsEventResponseAminoMsg { - type: "cosmos-sdk/GetTxsEventResponse"; - value: GetTxsEventResponseAmino; -} -/** - * GetTxsEventResponse is the response type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventResponseSDKType { - txs: TxSDKType[]; - tx_responses: TxResponseSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** - * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest - * RPC method. - */ -export interface BroadcastTxRequest { - /** tx_bytes is the raw transaction. */ - txBytes: Uint8Array; - mode: BroadcastMode; -} -export interface BroadcastTxRequestProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.BroadcastTxRequest"; - value: Uint8Array; -} -/** - * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest - * RPC method. - */ -export interface BroadcastTxRequestAmino { - /** tx_bytes is the raw transaction. */ - tx_bytes?: string; - mode?: BroadcastMode; -} -export interface BroadcastTxRequestAminoMsg { - type: "cosmos-sdk/BroadcastTxRequest"; - value: BroadcastTxRequestAmino; -} -/** - * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest - * RPC method. - */ -export interface BroadcastTxRequestSDKType { - tx_bytes: Uint8Array; - mode: BroadcastMode; -} -/** - * BroadcastTxResponse is the response type for the - * Service.BroadcastTx method. - */ -export interface BroadcastTxResponse { - /** tx_response is the queried TxResponses. */ - txResponse?: TxResponse | undefined; -} -export interface BroadcastTxResponseProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.BroadcastTxResponse"; - value: Uint8Array; -} -/** - * BroadcastTxResponse is the response type for the - * Service.BroadcastTx method. - */ -export interface BroadcastTxResponseAmino { - /** tx_response is the queried TxResponses. */ - tx_response?: TxResponseAmino | undefined; -} -export interface BroadcastTxResponseAminoMsg { - type: "cosmos-sdk/BroadcastTxResponse"; - value: BroadcastTxResponseAmino; -} -/** - * BroadcastTxResponse is the response type for the - * Service.BroadcastTx method. - */ -export interface BroadcastTxResponseSDKType { - tx_response?: TxResponseSDKType | undefined; -} -/** - * SimulateRequest is the request type for the Service.Simulate - * RPC method. - */ -export interface SimulateRequest { - /** - * tx is the transaction to simulate. - * Deprecated. Send raw tx bytes instead. - */ - /** @deprecated */ - tx?: Tx | undefined; - /** - * tx_bytes is the raw transaction. - * - * Since: cosmos-sdk 0.43 - */ - txBytes: Uint8Array; -} -export interface SimulateRequestProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.SimulateRequest"; - value: Uint8Array; -} -/** - * SimulateRequest is the request type for the Service.Simulate - * RPC method. - */ -export interface SimulateRequestAmino { - /** - * tx is the transaction to simulate. - * Deprecated. Send raw tx bytes instead. - */ - /** @deprecated */ - tx?: TxAmino | undefined; - /** - * tx_bytes is the raw transaction. - * - * Since: cosmos-sdk 0.43 - */ - tx_bytes?: string; -} -export interface SimulateRequestAminoMsg { - type: "cosmos-sdk/SimulateRequest"; - value: SimulateRequestAmino; -} -/** - * SimulateRequest is the request type for the Service.Simulate - * RPC method. - */ -export interface SimulateRequestSDKType { - /** @deprecated */ - tx?: TxSDKType | undefined; - tx_bytes: Uint8Array; -} -/** - * SimulateResponse is the response type for the - * Service.SimulateRPC method. - */ -export interface SimulateResponse { - /** gas_info is the information about gas used in the simulation. */ - gasInfo?: GasInfo | undefined; - /** result is the result of the simulation. */ - result?: Result | undefined; -} -export interface SimulateResponseProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.SimulateResponse"; - value: Uint8Array; -} -/** - * SimulateResponse is the response type for the - * Service.SimulateRPC method. - */ -export interface SimulateResponseAmino { - /** gas_info is the information about gas used in the simulation. */ - gas_info?: GasInfoAmino | undefined; - /** result is the result of the simulation. */ - result?: ResultAmino | undefined; -} -export interface SimulateResponseAminoMsg { - type: "cosmos-sdk/SimulateResponse"; - value: SimulateResponseAmino; -} -/** - * SimulateResponse is the response type for the - * Service.SimulateRPC method. - */ -export interface SimulateResponseSDKType { - gas_info?: GasInfoSDKType | undefined; - result?: ResultSDKType | undefined; -} -/** - * GetTxRequest is the request type for the Service.GetTx - * RPC method. - */ -export interface GetTxRequest { - /** hash is the tx hash to query, encoded as a hex string. */ - hash: string; -} -export interface GetTxRequestProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetTxRequest"; - value: Uint8Array; -} -/** - * GetTxRequest is the request type for the Service.GetTx - * RPC method. - */ -export interface GetTxRequestAmino { - /** hash is the tx hash to query, encoded as a hex string. */ - hash?: string; -} -export interface GetTxRequestAminoMsg { - type: "cosmos-sdk/GetTxRequest"; - value: GetTxRequestAmino; -} -/** - * GetTxRequest is the request type for the Service.GetTx - * RPC method. - */ -export interface GetTxRequestSDKType { - hash: string; -} -/** GetTxResponse is the response type for the Service.GetTx method. */ -export interface GetTxResponse { - /** tx is the queried transaction. */ - tx?: Tx | undefined; - /** tx_response is the queried TxResponses. */ - txResponse?: TxResponse | undefined; -} -export interface GetTxResponseProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetTxResponse"; - value: Uint8Array; -} -/** GetTxResponse is the response type for the Service.GetTx method. */ -export interface GetTxResponseAmino { - /** tx is the queried transaction. */ - tx?: TxAmino | undefined; - /** tx_response is the queried TxResponses. */ - tx_response?: TxResponseAmino | undefined; -} -export interface GetTxResponseAminoMsg { - type: "cosmos-sdk/GetTxResponse"; - value: GetTxResponseAmino; -} -/** GetTxResponse is the response type for the Service.GetTx method. */ -export interface GetTxResponseSDKType { - tx?: TxSDKType | undefined; - tx_response?: TxResponseSDKType | undefined; -} -/** - * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs - * RPC method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsRequest { - /** height is the height of the block to query. */ - height: bigint; - /** pagination defines a pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface GetBlockWithTxsRequestProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsRequest"; - value: Uint8Array; -} -/** - * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs - * RPC method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsRequestAmino { - /** height is the height of the block to query. */ - height?: string; - /** pagination defines a pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface GetBlockWithTxsRequestAminoMsg { - type: "cosmos-sdk/GetBlockWithTxsRequest"; - value: GetBlockWithTxsRequestAmino; -} -/** - * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs - * RPC method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsRequestSDKType { - height: bigint; - pagination?: PageRequestSDKType | undefined; -} -/** - * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsResponse { - /** txs are the transactions in the block. */ - txs: Tx[]; - blockId?: BlockID | undefined; - block?: Block | undefined; - /** pagination defines a pagination for the response. */ - pagination?: PageResponse | undefined; -} -export interface GetBlockWithTxsResponseProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsResponse"; - value: Uint8Array; -} -/** - * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsResponseAmino { - /** txs are the transactions in the block. */ - txs?: TxAmino[]; - block_id?: BlockIDAmino | undefined; - block?: BlockAmino | undefined; - /** pagination defines a pagination for the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface GetBlockWithTxsResponseAminoMsg { - type: "cosmos-sdk/GetBlockWithTxsResponse"; - value: GetBlockWithTxsResponseAmino; -} -/** - * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsResponseSDKType { - txs: TxSDKType[]; - block_id?: BlockIDSDKType | undefined; - block?: BlockSDKType | undefined; - pagination?: PageResponseSDKType | undefined; -} -export declare const GetTxsEventRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetTxsEventRequest; - isSDK(o: any): o is GetTxsEventRequestSDKType; - isAmino(o: any): o is GetTxsEventRequestAmino; - encode(message: GetTxsEventRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetTxsEventRequest; - fromJSON(object: any): GetTxsEventRequest; - toJSON(message: GetTxsEventRequest): unknown; - fromPartial(object: DeepPartial): GetTxsEventRequest; - fromSDK(object: GetTxsEventRequestSDKType): GetTxsEventRequest; - toSDK(message: GetTxsEventRequest): GetTxsEventRequestSDKType; - fromAmino(object: GetTxsEventRequestAmino): GetTxsEventRequest; - toAmino(message: GetTxsEventRequest): GetTxsEventRequestAmino; - fromAminoMsg(object: GetTxsEventRequestAminoMsg): GetTxsEventRequest; - toAminoMsg(message: GetTxsEventRequest): GetTxsEventRequestAminoMsg; - fromProtoMsg(message: GetTxsEventRequestProtoMsg): GetTxsEventRequest; - toProto(message: GetTxsEventRequest): Uint8Array; - toProtoMsg(message: GetTxsEventRequest): GetTxsEventRequestProtoMsg; -}; -export declare const GetTxsEventResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetTxsEventResponse; - isSDK(o: any): o is GetTxsEventResponseSDKType; - isAmino(o: any): o is GetTxsEventResponseAmino; - encode(message: GetTxsEventResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetTxsEventResponse; - fromJSON(object: any): GetTxsEventResponse; - toJSON(message: GetTxsEventResponse): unknown; - fromPartial(object: DeepPartial): GetTxsEventResponse; - fromSDK(object: GetTxsEventResponseSDKType): GetTxsEventResponse; - toSDK(message: GetTxsEventResponse): GetTxsEventResponseSDKType; - fromAmino(object: GetTxsEventResponseAmino): GetTxsEventResponse; - toAmino(message: GetTxsEventResponse): GetTxsEventResponseAmino; - fromAminoMsg(object: GetTxsEventResponseAminoMsg): GetTxsEventResponse; - toAminoMsg(message: GetTxsEventResponse): GetTxsEventResponseAminoMsg; - fromProtoMsg(message: GetTxsEventResponseProtoMsg): GetTxsEventResponse; - toProto(message: GetTxsEventResponse): Uint8Array; - toProtoMsg(message: GetTxsEventResponse): GetTxsEventResponseProtoMsg; -}; -export declare const BroadcastTxRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is BroadcastTxRequest; - isSDK(o: any): o is BroadcastTxRequestSDKType; - isAmino(o: any): o is BroadcastTxRequestAmino; - encode(message: BroadcastTxRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): BroadcastTxRequest; - fromJSON(object: any): BroadcastTxRequest; - toJSON(message: BroadcastTxRequest): unknown; - fromPartial(object: DeepPartial): BroadcastTxRequest; - fromSDK(object: BroadcastTxRequestSDKType): BroadcastTxRequest; - toSDK(message: BroadcastTxRequest): BroadcastTxRequestSDKType; - fromAmino(object: BroadcastTxRequestAmino): BroadcastTxRequest; - toAmino(message: BroadcastTxRequest): BroadcastTxRequestAmino; - fromAminoMsg(object: BroadcastTxRequestAminoMsg): BroadcastTxRequest; - toAminoMsg(message: BroadcastTxRequest): BroadcastTxRequestAminoMsg; - fromProtoMsg(message: BroadcastTxRequestProtoMsg): BroadcastTxRequest; - toProto(message: BroadcastTxRequest): Uint8Array; - toProtoMsg(message: BroadcastTxRequest): BroadcastTxRequestProtoMsg; -}; -export declare const BroadcastTxResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is BroadcastTxResponse; - isSDK(o: any): o is BroadcastTxResponseSDKType; - isAmino(o: any): o is BroadcastTxResponseAmino; - encode(message: BroadcastTxResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): BroadcastTxResponse; - fromJSON(object: any): BroadcastTxResponse; - toJSON(message: BroadcastTxResponse): unknown; - fromPartial(object: DeepPartial): BroadcastTxResponse; - fromSDK(object: BroadcastTxResponseSDKType): BroadcastTxResponse; - toSDK(message: BroadcastTxResponse): BroadcastTxResponseSDKType; - fromAmino(object: BroadcastTxResponseAmino): BroadcastTxResponse; - toAmino(message: BroadcastTxResponse): BroadcastTxResponseAmino; - fromAminoMsg(object: BroadcastTxResponseAminoMsg): BroadcastTxResponse; - toAminoMsg(message: BroadcastTxResponse): BroadcastTxResponseAminoMsg; - fromProtoMsg(message: BroadcastTxResponseProtoMsg): BroadcastTxResponse; - toProto(message: BroadcastTxResponse): Uint8Array; - toProtoMsg(message: BroadcastTxResponse): BroadcastTxResponseProtoMsg; -}; -export declare const SimulateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is SimulateRequest; - isSDK(o: any): o is SimulateRequestSDKType; - isAmino(o: any): o is SimulateRequestAmino; - encode(message: SimulateRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SimulateRequest; - fromJSON(object: any): SimulateRequest; - toJSON(message: SimulateRequest): unknown; - fromPartial(object: DeepPartial): SimulateRequest; - fromSDK(object: SimulateRequestSDKType): SimulateRequest; - toSDK(message: SimulateRequest): SimulateRequestSDKType; - fromAmino(object: SimulateRequestAmino): SimulateRequest; - toAmino(message: SimulateRequest): SimulateRequestAmino; - fromAminoMsg(object: SimulateRequestAminoMsg): SimulateRequest; - toAminoMsg(message: SimulateRequest): SimulateRequestAminoMsg; - fromProtoMsg(message: SimulateRequestProtoMsg): SimulateRequest; - toProto(message: SimulateRequest): Uint8Array; - toProtoMsg(message: SimulateRequest): SimulateRequestProtoMsg; -}; -export declare const SimulateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is SimulateResponse; - isSDK(o: any): o is SimulateResponseSDKType; - isAmino(o: any): o is SimulateResponseAmino; - encode(message: SimulateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SimulateResponse; - fromJSON(object: any): SimulateResponse; - toJSON(message: SimulateResponse): unknown; - fromPartial(object: DeepPartial): SimulateResponse; - fromSDK(object: SimulateResponseSDKType): SimulateResponse; - toSDK(message: SimulateResponse): SimulateResponseSDKType; - fromAmino(object: SimulateResponseAmino): SimulateResponse; - toAmino(message: SimulateResponse): SimulateResponseAmino; - fromAminoMsg(object: SimulateResponseAminoMsg): SimulateResponse; - toAminoMsg(message: SimulateResponse): SimulateResponseAminoMsg; - fromProtoMsg(message: SimulateResponseProtoMsg): SimulateResponse; - toProto(message: SimulateResponse): Uint8Array; - toProtoMsg(message: SimulateResponse): SimulateResponseProtoMsg; -}; -export declare const GetTxRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetTxRequest; - isSDK(o: any): o is GetTxRequestSDKType; - isAmino(o: any): o is GetTxRequestAmino; - encode(message: GetTxRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetTxRequest; - fromJSON(object: any): GetTxRequest; - toJSON(message: GetTxRequest): unknown; - fromPartial(object: DeepPartial): GetTxRequest; - fromSDK(object: GetTxRequestSDKType): GetTxRequest; - toSDK(message: GetTxRequest): GetTxRequestSDKType; - fromAmino(object: GetTxRequestAmino): GetTxRequest; - toAmino(message: GetTxRequest): GetTxRequestAmino; - fromAminoMsg(object: GetTxRequestAminoMsg): GetTxRequest; - toAminoMsg(message: GetTxRequest): GetTxRequestAminoMsg; - fromProtoMsg(message: GetTxRequestProtoMsg): GetTxRequest; - toProto(message: GetTxRequest): Uint8Array; - toProtoMsg(message: GetTxRequest): GetTxRequestProtoMsg; -}; -export declare const GetTxResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetTxResponse; - isSDK(o: any): o is GetTxResponseSDKType; - isAmino(o: any): o is GetTxResponseAmino; - encode(message: GetTxResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetTxResponse; - fromJSON(object: any): GetTxResponse; - toJSON(message: GetTxResponse): unknown; - fromPartial(object: DeepPartial): GetTxResponse; - fromSDK(object: GetTxResponseSDKType): GetTxResponse; - toSDK(message: GetTxResponse): GetTxResponseSDKType; - fromAmino(object: GetTxResponseAmino): GetTxResponse; - toAmino(message: GetTxResponse): GetTxResponseAmino; - fromAminoMsg(object: GetTxResponseAminoMsg): GetTxResponse; - toAminoMsg(message: GetTxResponse): GetTxResponseAminoMsg; - fromProtoMsg(message: GetTxResponseProtoMsg): GetTxResponse; - toProto(message: GetTxResponse): Uint8Array; - toProtoMsg(message: GetTxResponse): GetTxResponseProtoMsg; -}; -export declare const GetBlockWithTxsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetBlockWithTxsRequest; - isSDK(o: any): o is GetBlockWithTxsRequestSDKType; - isAmino(o: any): o is GetBlockWithTxsRequestAmino; - encode(message: GetBlockWithTxsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetBlockWithTxsRequest; - fromJSON(object: any): GetBlockWithTxsRequest; - toJSON(message: GetBlockWithTxsRequest): unknown; - fromPartial(object: DeepPartial): GetBlockWithTxsRequest; - fromSDK(object: GetBlockWithTxsRequestSDKType): GetBlockWithTxsRequest; - toSDK(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestSDKType; - fromAmino(object: GetBlockWithTxsRequestAmino): GetBlockWithTxsRequest; - toAmino(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestAmino; - fromAminoMsg(object: GetBlockWithTxsRequestAminoMsg): GetBlockWithTxsRequest; - toAminoMsg(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestAminoMsg; - fromProtoMsg(message: GetBlockWithTxsRequestProtoMsg): GetBlockWithTxsRequest; - toProto(message: GetBlockWithTxsRequest): Uint8Array; - toProtoMsg(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestProtoMsg; -}; -export declare const GetBlockWithTxsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GetBlockWithTxsResponse; - isSDK(o: any): o is GetBlockWithTxsResponseSDKType; - isAmino(o: any): o is GetBlockWithTxsResponseAmino; - encode(message: GetBlockWithTxsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GetBlockWithTxsResponse; - fromJSON(object: any): GetBlockWithTxsResponse; - toJSON(message: GetBlockWithTxsResponse): unknown; - fromPartial(object: DeepPartial): GetBlockWithTxsResponse; - fromSDK(object: GetBlockWithTxsResponseSDKType): GetBlockWithTxsResponse; - toSDK(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseSDKType; - fromAmino(object: GetBlockWithTxsResponseAmino): GetBlockWithTxsResponse; - toAmino(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseAmino; - fromAminoMsg(object: GetBlockWithTxsResponseAminoMsg): GetBlockWithTxsResponse; - toAminoMsg(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseAminoMsg; - fromProtoMsg(message: GetBlockWithTxsResponseProtoMsg): GetBlockWithTxsResponse; - toProto(message: GetBlockWithTxsResponse): Uint8Array; - toProtoMsg(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/tx/v1beta1/service.rpc.Service.d.ts b/examples/authz/types/codegen/cosmos/tx/v1beta1/service.rpc.Service.d.ts deleted file mode 100644 index 266b15de..00000000 --- a/examples/authz/types/codegen/cosmos/tx/v1beta1/service.rpc.Service.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse } from "./service"; -/** Service defines a gRPC service for interacting with transactions. */ -export interface Service { - /** Simulate simulates executing a transaction for estimating gas usage. */ - simulate(request: SimulateRequest): Promise; - /** GetTx fetches a tx by hash. */ - getTx(request: GetTxRequest): Promise; - /** BroadcastTx broadcast transaction. */ - broadcastTx(request: BroadcastTxRequest): Promise; - /** GetTxsEvent fetches txs by event. */ - getTxsEvent(request: GetTxsEventRequest): Promise; - /** - * GetBlockWithTxs fetches a block with decoded txs. - * - * Since: cosmos-sdk 0.45.2 - */ - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; -} -export declare class ServiceClientImpl implements Service { - private readonly rpc; - constructor(rpc: TxRpc); - simulate: (request: SimulateRequest) => Promise; - getTx: (request: GetTxRequest) => Promise; - broadcastTx: (request: BroadcastTxRequest) => Promise; - getTxsEvent: (request: GetTxsEventRequest) => Promise; - getBlockWithTxs: (request: GetBlockWithTxsRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => ServiceClientImpl; -export interface UseSimulateQuery extends ReactQueryParams { - request: SimulateRequest; -} -export interface UseGetTxQuery extends ReactQueryParams { - request: GetTxRequest; -} -export interface UseBroadcastTxQuery extends ReactQueryParams { - request: BroadcastTxRequest; -} -export interface UseGetTxsEventQuery extends ReactQueryParams { - request: GetTxsEventRequest; -} -export interface UseGetBlockWithTxsQuery extends ReactQueryParams { - request: GetBlockWithTxsRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Simulate simulates executing a transaction for estimating gas usage. */ useSimulate: ({ request, options }: UseSimulateQuery) => import("@tanstack/react-query").UseQueryResult; - /** GetTx fetches a tx by hash. */ useGetTx: ({ request, options }: UseGetTxQuery) => import("@tanstack/react-query").UseQueryResult; - /** BroadcastTx broadcast transaction. */ useBroadcastTx: ({ request, options }: UseBroadcastTxQuery) => import("@tanstack/react-query").UseQueryResult; - /** GetTxsEvent fetches txs by event. */ useGetTxsEvent: ({ request, options }: UseGetTxsEventQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * GetBlockWithTxs fetches a block with decoded txs. - * - * Since: cosmos-sdk 0.45.2 - */ - useGetBlockWithTxs: ({ request, options }: UseGetBlockWithTxsQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Simulate simulates executing a transaction for estimating gas usage. */ QuerySimulateStore: { - new (): { - store: QueryStore; - simulate(request: SimulateRequest): import("../../../mobx").MobxResponse; - }; - }; - /** GetTx fetches a tx by hash. */ QueryGetTxStore: { - new (): { - store: QueryStore; - getTx(request: GetTxRequest): import("../../../mobx").MobxResponse; - }; - }; - /** BroadcastTx broadcast transaction. */ QueryBroadcastTxStore: { - new (): { - store: QueryStore; - broadcastTx(request: BroadcastTxRequest): import("../../../mobx").MobxResponse; - }; - }; - /** GetTxsEvent fetches txs by event. */ QueryGetTxsEventStore: { - new (): { - store: QueryStore; - getTxsEvent(request: GetTxsEventRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * GetBlockWithTxs fetches a block with decoded txs. - * - * Since: cosmos-sdk 0.45.2 - */ - QueryGetBlockWithTxsStore: { - new (): { - store: QueryStore; - getBlockWithTxs(request: GetBlockWithTxsRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/tx/v1beta1/tx.d.ts b/examples/authz/types/codegen/cosmos/tx/v1beta1/tx.d.ts deleted file mode 100644 index c0d3f5e0..00000000 --- a/examples/authz/types/codegen/cosmos/tx/v1beta1/tx.d.ts +++ /dev/null @@ -1,1032 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { SignMode } from "../signing/v1beta1/signing"; -import { CompactBitArray, CompactBitArrayAmino, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** Tx is the standard type used for broadcasting transactions. */ -export interface Tx { - /** body is the processable content of the transaction */ - body?: TxBody | undefined; - /** - * auth_info is the authorization related content of the transaction, - * specifically signers, signer modes and fee - */ - authInfo?: AuthInfo | undefined; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - signatures: Uint8Array[]; -} -export interface TxProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.Tx"; - value: Uint8Array; -} -/** Tx is the standard type used for broadcasting transactions. */ -export interface TxAmino { - /** body is the processable content of the transaction */ - body?: TxBodyAmino | undefined; - /** - * auth_info is the authorization related content of the transaction, - * specifically signers, signer modes and fee - */ - auth_info?: AuthInfoAmino | undefined; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - signatures?: string[]; -} -export interface TxAminoMsg { - type: "cosmos-sdk/Tx"; - value: TxAmino; -} -/** Tx is the standard type used for broadcasting transactions. */ -export interface TxSDKType { - body?: TxBodySDKType | undefined; - auth_info?: AuthInfoSDKType | undefined; - signatures: Uint8Array[]; -} -/** - * TxRaw is a variant of Tx that pins the signer's exact binary representation - * of body and auth_info. This is used for signing, broadcasting and - * verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and - * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used - * as the transaction ID. - */ -export interface TxRaw { - /** - * body_bytes is a protobuf serialization of a TxBody that matches the - * representation in SignDoc. - */ - bodyBytes: Uint8Array; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in SignDoc. - */ - authInfoBytes: Uint8Array; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - signatures: Uint8Array[]; -} -export interface TxRawProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.TxRaw"; - value: Uint8Array; -} -/** - * TxRaw is a variant of Tx that pins the signer's exact binary representation - * of body and auth_info. This is used for signing, broadcasting and - * verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and - * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used - * as the transaction ID. - */ -export interface TxRawAmino { - /** - * body_bytes is a protobuf serialization of a TxBody that matches the - * representation in SignDoc. - */ - body_bytes?: string; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in SignDoc. - */ - auth_info_bytes?: string; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - signatures?: string[]; -} -export interface TxRawAminoMsg { - type: "cosmos-sdk/TxRaw"; - value: TxRawAmino; -} -/** - * TxRaw is a variant of Tx that pins the signer's exact binary representation - * of body and auth_info. This is used for signing, broadcasting and - * verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and - * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used - * as the transaction ID. - */ -export interface TxRawSDKType { - body_bytes: Uint8Array; - auth_info_bytes: Uint8Array; - signatures: Uint8Array[]; -} -/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ -export interface SignDoc { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - bodyBytes: Uint8Array; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in TxRaw. - */ - authInfoBytes: Uint8Array; - /** - * chain_id is the unique identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker - */ - chainId: string; - /** account_number is the account number of the account in state */ - accountNumber: bigint; -} -export interface SignDocProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.SignDoc"; - value: Uint8Array; -} -/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ -export interface SignDocAmino { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - body_bytes?: string; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in TxRaw. - */ - auth_info_bytes?: string; - /** - * chain_id is the unique identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker - */ - chain_id?: string; - /** account_number is the account number of the account in state */ - account_number?: string; -} -export interface SignDocAminoMsg { - type: "cosmos-sdk/SignDoc"; - value: SignDocAmino; -} -/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ -export interface SignDocSDKType { - body_bytes: Uint8Array; - auth_info_bytes: Uint8Array; - chain_id: string; - account_number: bigint; -} -/** - * SignDocDirectAux is the type used for generating sign bytes for - * SIGN_MODE_DIRECT_AUX. - * - * Since: cosmos-sdk 0.46 - */ -export interface SignDocDirectAux { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - bodyBytes: Uint8Array; - /** public_key is the public key of the signing account. */ - publicKey?: Any | undefined; - /** - * chain_id is the identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker. - */ - chainId: string; - /** account_number is the account number of the account in state. */ - accountNumber: bigint; - /** sequence is the sequence number of the signing account. */ - sequence: bigint; - /** - * Tip is the optional tip used for meta-transactions. It should be left - * empty if the signer is not the tipper for this transaction. - */ - tip?: Tip | undefined; -} -export interface SignDocDirectAuxProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.SignDocDirectAux"; - value: Uint8Array; -} -/** - * SignDocDirectAux is the type used for generating sign bytes for - * SIGN_MODE_DIRECT_AUX. - * - * Since: cosmos-sdk 0.46 - */ -export interface SignDocDirectAuxAmino { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - body_bytes?: string; - /** public_key is the public key of the signing account. */ - public_key?: AnyAmino | undefined; - /** - * chain_id is the identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker. - */ - chain_id?: string; - /** account_number is the account number of the account in state. */ - account_number?: string; - /** sequence is the sequence number of the signing account. */ - sequence?: string; - /** - * Tip is the optional tip used for meta-transactions. It should be left - * empty if the signer is not the tipper for this transaction. - */ - tip?: TipAmino | undefined; -} -export interface SignDocDirectAuxAminoMsg { - type: "cosmos-sdk/SignDocDirectAux"; - value: SignDocDirectAuxAmino; -} -/** - * SignDocDirectAux is the type used for generating sign bytes for - * SIGN_MODE_DIRECT_AUX. - * - * Since: cosmos-sdk 0.46 - */ -export interface SignDocDirectAuxSDKType { - body_bytes: Uint8Array; - public_key?: AnySDKType | undefined; - chain_id: string; - account_number: bigint; - sequence: bigint; - tip?: TipSDKType | undefined; -} -/** TxBody is the body of a transaction that all signers sign over. */ -export interface TxBody { - /** - * messages is a list of messages to be executed. The required signers of - * those messages define the number and order of elements in AuthInfo's - * signer_infos and Tx's signatures. Each required signer address is added to - * the list only the first time it occurs. - * By convention, the first required signer (usually from the first message) - * is referred to as the primary signer and pays the fee for the whole - * transaction. - */ - messages: Any[]; - /** - * memo is any arbitrary note/comment to be added to the transaction. - * WARNING: in clients, any publicly exposed text should not be called memo, - * but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). - */ - memo: string; - /** - * timeout is the block height after which this transaction will not - * be processed by the chain - */ - timeoutHeight: bigint; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, the transaction will be rejected - */ - extensionOptions: Any[]; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, they will be ignored - */ - nonCriticalExtensionOptions: Any[]; -} -export interface TxBodyProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.TxBody"; - value: Uint8Array; -} -/** TxBody is the body of a transaction that all signers sign over. */ -export interface TxBodyAmino { - /** - * messages is a list of messages to be executed. The required signers of - * those messages define the number and order of elements in AuthInfo's - * signer_infos and Tx's signatures. Each required signer address is added to - * the list only the first time it occurs. - * By convention, the first required signer (usually from the first message) - * is referred to as the primary signer and pays the fee for the whole - * transaction. - */ - messages?: AnyAmino[]; - /** - * memo is any arbitrary note/comment to be added to the transaction. - * WARNING: in clients, any publicly exposed text should not be called memo, - * but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). - */ - memo?: string; - /** - * timeout is the block height after which this transaction will not - * be processed by the chain - */ - timeout_height?: string; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, the transaction will be rejected - */ - extension_options?: AnyAmino[]; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, they will be ignored - */ - non_critical_extension_options?: AnyAmino[]; -} -export interface TxBodyAminoMsg { - type: "cosmos-sdk/TxBody"; - value: TxBodyAmino; -} -/** TxBody is the body of a transaction that all signers sign over. */ -export interface TxBodySDKType { - messages: AnySDKType[]; - memo: string; - timeout_height: bigint; - extension_options: AnySDKType[]; - non_critical_extension_options: AnySDKType[]; -} -/** - * AuthInfo describes the fee and signer modes that are used to sign a - * transaction. - */ -export interface AuthInfo { - /** - * signer_infos defines the signing modes for the required signers. The number - * and order of elements must match the required signers from TxBody's - * messages. The first element is the primary signer and the one which pays - * the fee. - */ - signerInfos: SignerInfo[]; - /** - * Fee is the fee and gas limit for the transaction. The first signer is the - * primary signer and the one which pays the fee. The fee can be calculated - * based on the cost of evaluating the body and doing signature verification - * of the signers. This can be estimated via simulation. - */ - fee?: Fee | undefined; - /** - * Tip is the optional tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ - tip?: Tip | undefined; -} -export interface AuthInfoProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.AuthInfo"; - value: Uint8Array; -} -/** - * AuthInfo describes the fee and signer modes that are used to sign a - * transaction. - */ -export interface AuthInfoAmino { - /** - * signer_infos defines the signing modes for the required signers. The number - * and order of elements must match the required signers from TxBody's - * messages. The first element is the primary signer and the one which pays - * the fee. - */ - signer_infos?: SignerInfoAmino[]; - /** - * Fee is the fee and gas limit for the transaction. The first signer is the - * primary signer and the one which pays the fee. The fee can be calculated - * based on the cost of evaluating the body and doing signature verification - * of the signers. This can be estimated via simulation. - */ - fee?: FeeAmino | undefined; - /** - * Tip is the optional tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ - tip?: TipAmino | undefined; -} -export interface AuthInfoAminoMsg { - type: "cosmos-sdk/AuthInfo"; - value: AuthInfoAmino; -} -/** - * AuthInfo describes the fee and signer modes that are used to sign a - * transaction. - */ -export interface AuthInfoSDKType { - signer_infos: SignerInfoSDKType[]; - fee?: FeeSDKType | undefined; - tip?: TipSDKType | undefined; -} -/** - * SignerInfo describes the public key and signing mode of a single top-level - * signer. - */ -export interface SignerInfo { - /** - * public_key is the public key of the signer. It is optional for accounts - * that already exist in state. If unset, the verifier can use the required \ - * signer address for this position and lookup the public key. - */ - publicKey?: Any | undefined; - /** - * mode_info describes the signing mode of the signer and is a nested - * structure to support nested multisig pubkey's - */ - modeInfo?: ModeInfo | undefined; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to - * prevent replay attacks. - */ - sequence: bigint; -} -export interface SignerInfoProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.SignerInfo"; - value: Uint8Array; -} -/** - * SignerInfo describes the public key and signing mode of a single top-level - * signer. - */ -export interface SignerInfoAmino { - /** - * public_key is the public key of the signer. It is optional for accounts - * that already exist in state. If unset, the verifier can use the required \ - * signer address for this position and lookup the public key. - */ - public_key?: AnyAmino | undefined; - /** - * mode_info describes the signing mode of the signer and is a nested - * structure to support nested multisig pubkey's - */ - mode_info?: ModeInfoAmino | undefined; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to - * prevent replay attacks. - */ - sequence?: string; -} -export interface SignerInfoAminoMsg { - type: "cosmos-sdk/SignerInfo"; - value: SignerInfoAmino; -} -/** - * SignerInfo describes the public key and signing mode of a single top-level - * signer. - */ -export interface SignerInfoSDKType { - public_key?: AnySDKType | undefined; - mode_info?: ModeInfoSDKType | undefined; - sequence: bigint; -} -/** ModeInfo describes the signing mode of a single or nested multisig signer. */ -export interface ModeInfo { - /** single represents a single signer */ - single?: ModeInfo_Single | undefined; - /** multi represents a nested multisig signer */ - multi?: ModeInfo_Multi | undefined; -} -export interface ModeInfoProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.ModeInfo"; - value: Uint8Array; -} -/** ModeInfo describes the signing mode of a single or nested multisig signer. */ -export interface ModeInfoAmino { - /** single represents a single signer */ - single?: ModeInfo_SingleAmino | undefined; - /** multi represents a nested multisig signer */ - multi?: ModeInfo_MultiAmino | undefined; -} -export interface ModeInfoAminoMsg { - type: "cosmos-sdk/ModeInfo"; - value: ModeInfoAmino; -} -/** ModeInfo describes the signing mode of a single or nested multisig signer. */ -export interface ModeInfoSDKType { - single?: ModeInfo_SingleSDKType | undefined; - multi?: ModeInfo_MultiSDKType | undefined; -} -/** - * Single is the mode info for a single signer. It is structured as a message - * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the - * future - */ -export interface ModeInfo_Single { - /** mode is the signing mode of the single signer */ - mode: SignMode; -} -export interface ModeInfo_SingleProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.Single"; - value: Uint8Array; -} -/** - * Single is the mode info for a single signer. It is structured as a message - * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the - * future - */ -export interface ModeInfo_SingleAmino { - /** mode is the signing mode of the single signer */ - mode?: SignMode; -} -export interface ModeInfo_SingleAminoMsg { - type: "cosmos-sdk/Single"; - value: ModeInfo_SingleAmino; -} -/** - * Single is the mode info for a single signer. It is structured as a message - * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the - * future - */ -export interface ModeInfo_SingleSDKType { - mode: SignMode; -} -/** Multi is the mode info for a multisig public key */ -export interface ModeInfo_Multi { - /** bitarray specifies which keys within the multisig are signing */ - bitarray?: CompactBitArray | undefined; - /** - * mode_infos is the corresponding modes of the signers of the multisig - * which could include nested multisig public keys - */ - modeInfos: ModeInfo[]; -} -export interface ModeInfo_MultiProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.Multi"; - value: Uint8Array; -} -/** Multi is the mode info for a multisig public key */ -export interface ModeInfo_MultiAmino { - /** bitarray specifies which keys within the multisig are signing */ - bitarray?: CompactBitArrayAmino | undefined; - /** - * mode_infos is the corresponding modes of the signers of the multisig - * which could include nested multisig public keys - */ - mode_infos?: ModeInfoAmino[]; -} -export interface ModeInfo_MultiAminoMsg { - type: "cosmos-sdk/Multi"; - value: ModeInfo_MultiAmino; -} -/** Multi is the mode info for a multisig public key */ -export interface ModeInfo_MultiSDKType { - bitarray?: CompactBitArraySDKType | undefined; - mode_infos: ModeInfoSDKType[]; -} -/** - * Fee includes the amount of coins paid in fees and the maximum - * gas to be used by the transaction. The ratio yields an effective "gasprice", - * which must be above some miminum to be accepted into the mempool. - */ -export interface Fee { - /** amount is the amount of coins to be paid as a fee */ - amount: Coin[]; - /** - * gas_limit is the maximum gas that can be used in transaction processing - * before an out of gas error occurs - */ - gasLimit: bigint; - /** - * if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. - * the payer must be a tx signer (and thus have signed this field in AuthInfo). - * setting this field does *not* change the ordering of required signers for the transaction. - */ - payer: string; - /** - * if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used - * to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does - * not support fee grants, this will fail - */ - granter: string; -} -export interface FeeProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.Fee"; - value: Uint8Array; -} -/** - * Fee includes the amount of coins paid in fees and the maximum - * gas to be used by the transaction. The ratio yields an effective "gasprice", - * which must be above some miminum to be accepted into the mempool. - */ -export interface FeeAmino { - /** amount is the amount of coins to be paid as a fee */ - amount?: CoinAmino[]; - /** - * gas_limit is the maximum gas that can be used in transaction processing - * before an out of gas error occurs - */ - gas_limit?: string; - /** - * if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. - * the payer must be a tx signer (and thus have signed this field in AuthInfo). - * setting this field does *not* change the ordering of required signers for the transaction. - */ - payer?: string; - /** - * if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used - * to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does - * not support fee grants, this will fail - */ - granter?: string; -} -export interface FeeAminoMsg { - type: "cosmos-sdk/Fee"; - value: FeeAmino; -} -/** - * Fee includes the amount of coins paid in fees and the maximum - * gas to be used by the transaction. The ratio yields an effective "gasprice", - * which must be above some miminum to be accepted into the mempool. - */ -export interface FeeSDKType { - amount: CoinSDKType[]; - gas_limit: bigint; - payer: string; - granter: string; -} -/** - * Tip is the tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ -export interface Tip { - /** amount is the amount of the tip */ - amount: Coin[]; - /** tipper is the address of the account paying for the tip */ - tipper: string; -} -export interface TipProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.Tip"; - value: Uint8Array; -} -/** - * Tip is the tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ -export interface TipAmino { - /** amount is the amount of the tip */ - amount?: CoinAmino[]; - /** tipper is the address of the account paying for the tip */ - tipper?: string; -} -export interface TipAminoMsg { - type: "cosmos-sdk/Tip"; - value: TipAmino; -} -/** - * Tip is the tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ -export interface TipSDKType { - amount: CoinSDKType[]; - tipper: string; -} -/** - * AuxSignerData is the intermediary format that an auxiliary signer (e.g. a - * tipper) builds and sends to the fee payer (who will build and broadcast the - * actual tx). AuxSignerData is not a valid tx in itself, and will be rejected - * by the node if sent directly as-is. - * - * Since: cosmos-sdk 0.46 - */ -export interface AuxSignerData { - /** - * address is the bech32-encoded address of the auxiliary signer. If using - * AuxSignerData across different chains, the bech32 prefix of the target - * chain (where the final transaction is broadcasted) should be used. - */ - address: string; - /** - * sign_doc is the SIGN_MOD_DIRECT_AUX sign doc that the auxiliary signer - * signs. Note: we use the same sign doc even if we're signing with - * LEGACY_AMINO_JSON. - */ - signDoc?: SignDocDirectAux | undefined; - /** mode is the signing mode of the single signer */ - mode: SignMode; - /** sig is the signature of the sign doc. */ - sig: Uint8Array; -} -export interface AuxSignerDataProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.AuxSignerData"; - value: Uint8Array; -} -/** - * AuxSignerData is the intermediary format that an auxiliary signer (e.g. a - * tipper) builds and sends to the fee payer (who will build and broadcast the - * actual tx). AuxSignerData is not a valid tx in itself, and will be rejected - * by the node if sent directly as-is. - * - * Since: cosmos-sdk 0.46 - */ -export interface AuxSignerDataAmino { - /** - * address is the bech32-encoded address of the auxiliary signer. If using - * AuxSignerData across different chains, the bech32 prefix of the target - * chain (where the final transaction is broadcasted) should be used. - */ - address?: string; - /** - * sign_doc is the SIGN_MOD_DIRECT_AUX sign doc that the auxiliary signer - * signs. Note: we use the same sign doc even if we're signing with - * LEGACY_AMINO_JSON. - */ - sign_doc?: SignDocDirectAuxAmino | undefined; - /** mode is the signing mode of the single signer */ - mode?: SignMode; - /** sig is the signature of the sign doc. */ - sig?: string; -} -export interface AuxSignerDataAminoMsg { - type: "cosmos-sdk/AuxSignerData"; - value: AuxSignerDataAmino; -} -/** - * AuxSignerData is the intermediary format that an auxiliary signer (e.g. a - * tipper) builds and sends to the fee payer (who will build and broadcast the - * actual tx). AuxSignerData is not a valid tx in itself, and will be rejected - * by the node if sent directly as-is. - * - * Since: cosmos-sdk 0.46 - */ -export interface AuxSignerDataSDKType { - address: string; - sign_doc?: SignDocDirectAuxSDKType | undefined; - mode: SignMode; - sig: Uint8Array; -} -export declare const Tx: { - typeUrl: string; - aminoType: string; - is(o: any): o is Tx; - isSDK(o: any): o is TxSDKType; - isAmino(o: any): o is TxAmino; - encode(message: Tx, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Tx; - fromJSON(object: any): Tx; - toJSON(message: Tx): unknown; - fromPartial(object: DeepPartial): Tx; - fromSDK(object: TxSDKType): Tx; - toSDK(message: Tx): TxSDKType; - fromAmino(object: TxAmino): Tx; - toAmino(message: Tx): TxAmino; - fromAminoMsg(object: TxAminoMsg): Tx; - toAminoMsg(message: Tx): TxAminoMsg; - fromProtoMsg(message: TxProtoMsg): Tx; - toProto(message: Tx): Uint8Array; - toProtoMsg(message: Tx): TxProtoMsg; -}; -export declare const TxRaw: { - typeUrl: string; - aminoType: string; - is(o: any): o is TxRaw; - isSDK(o: any): o is TxRawSDKType; - isAmino(o: any): o is TxRawAmino; - encode(message: TxRaw, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TxRaw; - fromJSON(object: any): TxRaw; - toJSON(message: TxRaw): unknown; - fromPartial(object: DeepPartial): TxRaw; - fromSDK(object: TxRawSDKType): TxRaw; - toSDK(message: TxRaw): TxRawSDKType; - fromAmino(object: TxRawAmino): TxRaw; - toAmino(message: TxRaw): TxRawAmino; - fromAminoMsg(object: TxRawAminoMsg): TxRaw; - toAminoMsg(message: TxRaw): TxRawAminoMsg; - fromProtoMsg(message: TxRawProtoMsg): TxRaw; - toProto(message: TxRaw): Uint8Array; - toProtoMsg(message: TxRaw): TxRawProtoMsg; -}; -export declare const SignDoc: { - typeUrl: string; - aminoType: string; - is(o: any): o is SignDoc; - isSDK(o: any): o is SignDocSDKType; - isAmino(o: any): o is SignDocAmino; - encode(message: SignDoc, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SignDoc; - fromJSON(object: any): SignDoc; - toJSON(message: SignDoc): unknown; - fromPartial(object: DeepPartial): SignDoc; - fromSDK(object: SignDocSDKType): SignDoc; - toSDK(message: SignDoc): SignDocSDKType; - fromAmino(object: SignDocAmino): SignDoc; - toAmino(message: SignDoc): SignDocAmino; - fromAminoMsg(object: SignDocAminoMsg): SignDoc; - toAminoMsg(message: SignDoc): SignDocAminoMsg; - fromProtoMsg(message: SignDocProtoMsg): SignDoc; - toProto(message: SignDoc): Uint8Array; - toProtoMsg(message: SignDoc): SignDocProtoMsg; -}; -export declare const SignDocDirectAux: { - typeUrl: string; - aminoType: string; - is(o: any): o is SignDocDirectAux; - isSDK(o: any): o is SignDocDirectAuxSDKType; - isAmino(o: any): o is SignDocDirectAuxAmino; - encode(message: SignDocDirectAux, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SignDocDirectAux; - fromJSON(object: any): SignDocDirectAux; - toJSON(message: SignDocDirectAux): unknown; - fromPartial(object: DeepPartial): SignDocDirectAux; - fromSDK(object: SignDocDirectAuxSDKType): SignDocDirectAux; - toSDK(message: SignDocDirectAux): SignDocDirectAuxSDKType; - fromAmino(object: SignDocDirectAuxAmino): SignDocDirectAux; - toAmino(message: SignDocDirectAux): SignDocDirectAuxAmino; - fromAminoMsg(object: SignDocDirectAuxAminoMsg): SignDocDirectAux; - toAminoMsg(message: SignDocDirectAux): SignDocDirectAuxAminoMsg; - fromProtoMsg(message: SignDocDirectAuxProtoMsg): SignDocDirectAux; - toProto(message: SignDocDirectAux): Uint8Array; - toProtoMsg(message: SignDocDirectAux): SignDocDirectAuxProtoMsg; -}; -export declare const TxBody: { - typeUrl: string; - aminoType: string; - is(o: any): o is TxBody; - isSDK(o: any): o is TxBodySDKType; - isAmino(o: any): o is TxBodyAmino; - encode(message: TxBody, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TxBody; - fromJSON(object: any): TxBody; - toJSON(message: TxBody): unknown; - fromPartial(object: DeepPartial): TxBody; - fromSDK(object: TxBodySDKType): TxBody; - toSDK(message: TxBody): TxBodySDKType; - fromAmino(object: TxBodyAmino): TxBody; - toAmino(message: TxBody): TxBodyAmino; - fromAminoMsg(object: TxBodyAminoMsg): TxBody; - toAminoMsg(message: TxBody): TxBodyAminoMsg; - fromProtoMsg(message: TxBodyProtoMsg): TxBody; - toProto(message: TxBody): Uint8Array; - toProtoMsg(message: TxBody): TxBodyProtoMsg; -}; -export declare const AuthInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is AuthInfo; - isSDK(o: any): o is AuthInfoSDKType; - isAmino(o: any): o is AuthInfoAmino; - encode(message: AuthInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AuthInfo; - fromJSON(object: any): AuthInfo; - toJSON(message: AuthInfo): unknown; - fromPartial(object: DeepPartial): AuthInfo; - fromSDK(object: AuthInfoSDKType): AuthInfo; - toSDK(message: AuthInfo): AuthInfoSDKType; - fromAmino(object: AuthInfoAmino): AuthInfo; - toAmino(message: AuthInfo): AuthInfoAmino; - fromAminoMsg(object: AuthInfoAminoMsg): AuthInfo; - toAminoMsg(message: AuthInfo): AuthInfoAminoMsg; - fromProtoMsg(message: AuthInfoProtoMsg): AuthInfo; - toProto(message: AuthInfo): Uint8Array; - toProtoMsg(message: AuthInfo): AuthInfoProtoMsg; -}; -export declare const SignerInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is SignerInfo; - isSDK(o: any): o is SignerInfoSDKType; - isAmino(o: any): o is SignerInfoAmino; - encode(message: SignerInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SignerInfo; - fromJSON(object: any): SignerInfo; - toJSON(message: SignerInfo): unknown; - fromPartial(object: DeepPartial): SignerInfo; - fromSDK(object: SignerInfoSDKType): SignerInfo; - toSDK(message: SignerInfo): SignerInfoSDKType; - fromAmino(object: SignerInfoAmino): SignerInfo; - toAmino(message: SignerInfo): SignerInfoAmino; - fromAminoMsg(object: SignerInfoAminoMsg): SignerInfo; - toAminoMsg(message: SignerInfo): SignerInfoAminoMsg; - fromProtoMsg(message: SignerInfoProtoMsg): SignerInfo; - toProto(message: SignerInfo): Uint8Array; - toProtoMsg(message: SignerInfo): SignerInfoProtoMsg; -}; -export declare const ModeInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is ModeInfo; - isSDK(o: any): o is ModeInfoSDKType; - isAmino(o: any): o is ModeInfoAmino; - encode(message: ModeInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ModeInfo; - fromJSON(object: any): ModeInfo; - toJSON(message: ModeInfo): unknown; - fromPartial(object: DeepPartial): ModeInfo; - fromSDK(object: ModeInfoSDKType): ModeInfo; - toSDK(message: ModeInfo): ModeInfoSDKType; - fromAmino(object: ModeInfoAmino): ModeInfo; - toAmino(message: ModeInfo): ModeInfoAmino; - fromAminoMsg(object: ModeInfoAminoMsg): ModeInfo; - toAminoMsg(message: ModeInfo): ModeInfoAminoMsg; - fromProtoMsg(message: ModeInfoProtoMsg): ModeInfo; - toProto(message: ModeInfo): Uint8Array; - toProtoMsg(message: ModeInfo): ModeInfoProtoMsg; -}; -export declare const ModeInfo_Single: { - typeUrl: string; - aminoType: string; - is(o: any): o is ModeInfo_Single; - isSDK(o: any): o is ModeInfo_SingleSDKType; - isAmino(o: any): o is ModeInfo_SingleAmino; - encode(message: ModeInfo_Single, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ModeInfo_Single; - fromJSON(object: any): ModeInfo_Single; - toJSON(message: ModeInfo_Single): unknown; - fromPartial(object: DeepPartial): ModeInfo_Single; - fromSDK(object: ModeInfo_SingleSDKType): ModeInfo_Single; - toSDK(message: ModeInfo_Single): ModeInfo_SingleSDKType; - fromAmino(object: ModeInfo_SingleAmino): ModeInfo_Single; - toAmino(message: ModeInfo_Single): ModeInfo_SingleAmino; - fromAminoMsg(object: ModeInfo_SingleAminoMsg): ModeInfo_Single; - toAminoMsg(message: ModeInfo_Single): ModeInfo_SingleAminoMsg; - fromProtoMsg(message: ModeInfo_SingleProtoMsg): ModeInfo_Single; - toProto(message: ModeInfo_Single): Uint8Array; - toProtoMsg(message: ModeInfo_Single): ModeInfo_SingleProtoMsg; -}; -export declare const ModeInfo_Multi: { - typeUrl: string; - aminoType: string; - is(o: any): o is ModeInfo_Multi; - isSDK(o: any): o is ModeInfo_MultiSDKType; - isAmino(o: any): o is ModeInfo_MultiAmino; - encode(message: ModeInfo_Multi, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ModeInfo_Multi; - fromJSON(object: any): ModeInfo_Multi; - toJSON(message: ModeInfo_Multi): unknown; - fromPartial(object: DeepPartial): ModeInfo_Multi; - fromSDK(object: ModeInfo_MultiSDKType): ModeInfo_Multi; - toSDK(message: ModeInfo_Multi): ModeInfo_MultiSDKType; - fromAmino(object: ModeInfo_MultiAmino): ModeInfo_Multi; - toAmino(message: ModeInfo_Multi): ModeInfo_MultiAmino; - fromAminoMsg(object: ModeInfo_MultiAminoMsg): ModeInfo_Multi; - toAminoMsg(message: ModeInfo_Multi): ModeInfo_MultiAminoMsg; - fromProtoMsg(message: ModeInfo_MultiProtoMsg): ModeInfo_Multi; - toProto(message: ModeInfo_Multi): Uint8Array; - toProtoMsg(message: ModeInfo_Multi): ModeInfo_MultiProtoMsg; -}; -export declare const Fee: { - typeUrl: string; - aminoType: string; - is(o: any): o is Fee; - isSDK(o: any): o is FeeSDKType; - isAmino(o: any): o is FeeAmino; - encode(message: Fee, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Fee; - fromJSON(object: any): Fee; - toJSON(message: Fee): unknown; - fromPartial(object: DeepPartial): Fee; - fromSDK(object: FeeSDKType): Fee; - toSDK(message: Fee): FeeSDKType; - fromAmino(object: FeeAmino): Fee; - toAmino(message: Fee): FeeAmino; - fromAminoMsg(object: FeeAminoMsg): Fee; - toAminoMsg(message: Fee): FeeAminoMsg; - fromProtoMsg(message: FeeProtoMsg): Fee; - toProto(message: Fee): Uint8Array; - toProtoMsg(message: Fee): FeeProtoMsg; -}; -export declare const Tip: { - typeUrl: string; - aminoType: string; - is(o: any): o is Tip; - isSDK(o: any): o is TipSDKType; - isAmino(o: any): o is TipAmino; - encode(message: Tip, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Tip; - fromJSON(object: any): Tip; - toJSON(message: Tip): unknown; - fromPartial(object: DeepPartial): Tip; - fromSDK(object: TipSDKType): Tip; - toSDK(message: Tip): TipSDKType; - fromAmino(object: TipAmino): Tip; - toAmino(message: Tip): TipAmino; - fromAminoMsg(object: TipAminoMsg): Tip; - toAminoMsg(message: Tip): TipAminoMsg; - fromProtoMsg(message: TipProtoMsg): Tip; - toProto(message: Tip): Uint8Array; - toProtoMsg(message: Tip): TipProtoMsg; -}; -export declare const AuxSignerData: { - typeUrl: string; - aminoType: string; - is(o: any): o is AuxSignerData; - isSDK(o: any): o is AuxSignerDataSDKType; - isAmino(o: any): o is AuxSignerDataAmino; - encode(message: AuxSignerData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AuxSignerData; - fromJSON(object: any): AuxSignerData; - toJSON(message: AuxSignerData): unknown; - fromPartial(object: DeepPartial): AuxSignerData; - fromSDK(object: AuxSignerDataSDKType): AuxSignerData; - toSDK(message: AuxSignerData): AuxSignerDataSDKType; - fromAmino(object: AuxSignerDataAmino): AuxSignerData; - toAmino(message: AuxSignerData): AuxSignerDataAmino; - fromAminoMsg(object: AuxSignerDataAminoMsg): AuxSignerData; - toAminoMsg(message: AuxSignerData): AuxSignerDataAminoMsg; - fromProtoMsg(message: AuxSignerDataProtoMsg): AuxSignerData; - toProto(message: AuxSignerData): Uint8Array; - toProtoMsg(message: AuxSignerData): AuxSignerDataProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/upgrade/v1beta1/query.d.ts b/examples/authz/types/codegen/cosmos/upgrade/v1beta1/query.d.ts deleted file mode 100644 index 679654de..00000000 --- a/examples/authz/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +++ /dev/null @@ -1,549 +0,0 @@ -import { Plan, PlanAmino, PlanSDKType, ModuleVersion, ModuleVersionAmino, ModuleVersionSDKType } from "./upgrade"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanRequest { -} -export interface QueryCurrentPlanRequestProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryCurrentPlanRequest"; - value: Uint8Array; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanRequestAmino { -} -export interface QueryCurrentPlanRequestAminoMsg { - type: "cosmos-sdk/QueryCurrentPlanRequest"; - value: QueryCurrentPlanRequestAmino; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanRequestSDKType { -} -/** - * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanResponse { - /** plan is the current upgrade plan. */ - plan?: Plan | undefined; -} -export interface QueryCurrentPlanResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryCurrentPlanResponse"; - value: Uint8Array; -} -/** - * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanResponseAmino { - /** plan is the current upgrade plan. */ - plan?: PlanAmino | undefined; -} -export interface QueryCurrentPlanResponseAminoMsg { - type: "cosmos-sdk/QueryCurrentPlanResponse"; - value: QueryCurrentPlanResponseAmino; -} -/** - * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanResponseSDKType { - plan?: PlanSDKType | undefined; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanRequest { - /** name is the name of the applied plan to query for. */ - name: string; -} -export interface QueryAppliedPlanRequestProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAppliedPlanRequest"; - value: Uint8Array; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanRequestAmino { - /** name is the name of the applied plan to query for. */ - name?: string; -} -export interface QueryAppliedPlanRequestAminoMsg { - type: "cosmos-sdk/QueryAppliedPlanRequest"; - value: QueryAppliedPlanRequestAmino; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanRequestSDKType { - name: string; -} -/** - * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanResponse { - /** height is the block height at which the plan was applied. */ - height: bigint; -} -export interface QueryAppliedPlanResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAppliedPlanResponse"; - value: Uint8Array; -} -/** - * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanResponseAmino { - /** height is the block height at which the plan was applied. */ - height?: string; -} -export interface QueryAppliedPlanResponseAminoMsg { - type: "cosmos-sdk/QueryAppliedPlanResponse"; - value: QueryAppliedPlanResponseAmino; -} -/** - * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanResponseSDKType { - height: bigint; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateRequest { - /** - * last height of the current chain must be sent in request - * as this is the height under which next consensus state is stored - */ - lastHeight: bigint; -} -export interface QueryUpgradedConsensusStateRequestProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest"; - value: Uint8Array; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateRequestAmino { - /** - * last height of the current chain must be sent in request - * as this is the height under which next consensus state is stored - */ - last_height?: string; -} -export interface QueryUpgradedConsensusStateRequestAminoMsg { - type: "cosmos-sdk/QueryUpgradedConsensusStateRequest"; - value: QueryUpgradedConsensusStateRequestAmino; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateRequestSDKType { - last_height: bigint; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateResponse { - /** Since: cosmos-sdk 0.43 */ - upgradedConsensusState: Uint8Array; -} -export interface QueryUpgradedConsensusStateResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse"; - value: Uint8Array; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateResponseAmino { - /** Since: cosmos-sdk 0.43 */ - upgraded_consensus_state?: string; -} -export interface QueryUpgradedConsensusStateResponseAminoMsg { - type: "cosmos-sdk/QueryUpgradedConsensusStateResponse"; - value: QueryUpgradedConsensusStateResponseAmino; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateResponseSDKType { - upgraded_consensus_state: Uint8Array; -} -/** - * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsRequest { - /** - * module_name is a field to query a specific module - * consensus version from state. Leaving this empty will - * fetch the full list of module versions from state - */ - moduleName: string; -} -export interface QueryModuleVersionsRequestProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryModuleVersionsRequest"; - value: Uint8Array; -} -/** - * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsRequestAmino { - /** - * module_name is a field to query a specific module - * consensus version from state. Leaving this empty will - * fetch the full list of module versions from state - */ - module_name?: string; -} -export interface QueryModuleVersionsRequestAminoMsg { - type: "cosmos-sdk/QueryModuleVersionsRequest"; - value: QueryModuleVersionsRequestAmino; -} -/** - * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsRequestSDKType { - module_name: string; -} -/** - * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsResponse { - /** module_versions is a list of module names with their consensus versions. */ - moduleVersions: ModuleVersion[]; -} -export interface QueryModuleVersionsResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryModuleVersionsResponse"; - value: Uint8Array; -} -/** - * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsResponseAmino { - /** module_versions is a list of module names with their consensus versions. */ - module_versions?: ModuleVersionAmino[]; -} -export interface QueryModuleVersionsResponseAminoMsg { - type: "cosmos-sdk/QueryModuleVersionsResponse"; - value: QueryModuleVersionsResponseAmino; -} -/** - * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsResponseSDKType { - module_versions: ModuleVersionSDKType[]; -} -/** - * QueryAuthorityRequest is the request type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityRequest { -} -export interface QueryAuthorityRequestProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAuthorityRequest"; - value: Uint8Array; -} -/** - * QueryAuthorityRequest is the request type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityRequestAmino { -} -export interface QueryAuthorityRequestAminoMsg { - type: "cosmos-sdk/QueryAuthorityRequest"; - value: QueryAuthorityRequestAmino; -} -/** - * QueryAuthorityRequest is the request type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityRequestSDKType { -} -/** - * QueryAuthorityResponse is the response type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityResponse { - address: string; -} -export interface QueryAuthorityResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAuthorityResponse"; - value: Uint8Array; -} -/** - * QueryAuthorityResponse is the response type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityResponseAmino { - address?: string; -} -export interface QueryAuthorityResponseAminoMsg { - type: "cosmos-sdk/QueryAuthorityResponse"; - value: QueryAuthorityResponseAmino; -} -/** - * QueryAuthorityResponse is the response type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityResponseSDKType { - address: string; -} -export declare const QueryCurrentPlanRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryCurrentPlanRequest; - isSDK(o: any): o is QueryCurrentPlanRequestSDKType; - isAmino(o: any): o is QueryCurrentPlanRequestAmino; - encode(_: QueryCurrentPlanRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryCurrentPlanRequest; - fromJSON(_: any): QueryCurrentPlanRequest; - toJSON(_: QueryCurrentPlanRequest): unknown; - fromPartial(_: DeepPartial): QueryCurrentPlanRequest; - fromSDK(_: QueryCurrentPlanRequestSDKType): QueryCurrentPlanRequest; - toSDK(_: QueryCurrentPlanRequest): QueryCurrentPlanRequestSDKType; - fromAmino(_: QueryCurrentPlanRequestAmino): QueryCurrentPlanRequest; - toAmino(_: QueryCurrentPlanRequest): QueryCurrentPlanRequestAmino; - fromAminoMsg(object: QueryCurrentPlanRequestAminoMsg): QueryCurrentPlanRequest; - toAminoMsg(message: QueryCurrentPlanRequest): QueryCurrentPlanRequestAminoMsg; - fromProtoMsg(message: QueryCurrentPlanRequestProtoMsg): QueryCurrentPlanRequest; - toProto(message: QueryCurrentPlanRequest): Uint8Array; - toProtoMsg(message: QueryCurrentPlanRequest): QueryCurrentPlanRequestProtoMsg; -}; -export declare const QueryCurrentPlanResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryCurrentPlanResponse; - isSDK(o: any): o is QueryCurrentPlanResponseSDKType; - isAmino(o: any): o is QueryCurrentPlanResponseAmino; - encode(message: QueryCurrentPlanResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryCurrentPlanResponse; - fromJSON(object: any): QueryCurrentPlanResponse; - toJSON(message: QueryCurrentPlanResponse): unknown; - fromPartial(object: DeepPartial): QueryCurrentPlanResponse; - fromSDK(object: QueryCurrentPlanResponseSDKType): QueryCurrentPlanResponse; - toSDK(message: QueryCurrentPlanResponse): QueryCurrentPlanResponseSDKType; - fromAmino(object: QueryCurrentPlanResponseAmino): QueryCurrentPlanResponse; - toAmino(message: QueryCurrentPlanResponse): QueryCurrentPlanResponseAmino; - fromAminoMsg(object: QueryCurrentPlanResponseAminoMsg): QueryCurrentPlanResponse; - toAminoMsg(message: QueryCurrentPlanResponse): QueryCurrentPlanResponseAminoMsg; - fromProtoMsg(message: QueryCurrentPlanResponseProtoMsg): QueryCurrentPlanResponse; - toProto(message: QueryCurrentPlanResponse): Uint8Array; - toProtoMsg(message: QueryCurrentPlanResponse): QueryCurrentPlanResponseProtoMsg; -}; -export declare const QueryAppliedPlanRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAppliedPlanRequest; - isSDK(o: any): o is QueryAppliedPlanRequestSDKType; - isAmino(o: any): o is QueryAppliedPlanRequestAmino; - encode(message: QueryAppliedPlanRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAppliedPlanRequest; - fromJSON(object: any): QueryAppliedPlanRequest; - toJSON(message: QueryAppliedPlanRequest): unknown; - fromPartial(object: DeepPartial): QueryAppliedPlanRequest; - fromSDK(object: QueryAppliedPlanRequestSDKType): QueryAppliedPlanRequest; - toSDK(message: QueryAppliedPlanRequest): QueryAppliedPlanRequestSDKType; - fromAmino(object: QueryAppliedPlanRequestAmino): QueryAppliedPlanRequest; - toAmino(message: QueryAppliedPlanRequest): QueryAppliedPlanRequestAmino; - fromAminoMsg(object: QueryAppliedPlanRequestAminoMsg): QueryAppliedPlanRequest; - toAminoMsg(message: QueryAppliedPlanRequest): QueryAppliedPlanRequestAminoMsg; - fromProtoMsg(message: QueryAppliedPlanRequestProtoMsg): QueryAppliedPlanRequest; - toProto(message: QueryAppliedPlanRequest): Uint8Array; - toProtoMsg(message: QueryAppliedPlanRequest): QueryAppliedPlanRequestProtoMsg; -}; -export declare const QueryAppliedPlanResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAppliedPlanResponse; - isSDK(o: any): o is QueryAppliedPlanResponseSDKType; - isAmino(o: any): o is QueryAppliedPlanResponseAmino; - encode(message: QueryAppliedPlanResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAppliedPlanResponse; - fromJSON(object: any): QueryAppliedPlanResponse; - toJSON(message: QueryAppliedPlanResponse): unknown; - fromPartial(object: DeepPartial): QueryAppliedPlanResponse; - fromSDK(object: QueryAppliedPlanResponseSDKType): QueryAppliedPlanResponse; - toSDK(message: QueryAppliedPlanResponse): QueryAppliedPlanResponseSDKType; - fromAmino(object: QueryAppliedPlanResponseAmino): QueryAppliedPlanResponse; - toAmino(message: QueryAppliedPlanResponse): QueryAppliedPlanResponseAmino; - fromAminoMsg(object: QueryAppliedPlanResponseAminoMsg): QueryAppliedPlanResponse; - toAminoMsg(message: QueryAppliedPlanResponse): QueryAppliedPlanResponseAminoMsg; - fromProtoMsg(message: QueryAppliedPlanResponseProtoMsg): QueryAppliedPlanResponse; - toProto(message: QueryAppliedPlanResponse): Uint8Array; - toProtoMsg(message: QueryAppliedPlanResponse): QueryAppliedPlanResponseProtoMsg; -}; -export declare const QueryUpgradedConsensusStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryUpgradedConsensusStateRequest; - isSDK(o: any): o is QueryUpgradedConsensusStateRequestSDKType; - isAmino(o: any): o is QueryUpgradedConsensusStateRequestAmino; - encode(message: QueryUpgradedConsensusStateRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest; - fromJSON(object: any): QueryUpgradedConsensusStateRequest; - toJSON(message: QueryUpgradedConsensusStateRequest): unknown; - fromPartial(object: DeepPartial): QueryUpgradedConsensusStateRequest; - fromSDK(object: QueryUpgradedConsensusStateRequestSDKType): QueryUpgradedConsensusStateRequest; - toSDK(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestSDKType; - fromAmino(object: QueryUpgradedConsensusStateRequestAmino): QueryUpgradedConsensusStateRequest; - toAmino(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAmino; - fromAminoMsg(object: QueryUpgradedConsensusStateRequestAminoMsg): QueryUpgradedConsensusStateRequest; - toAminoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAminoMsg; - fromProtoMsg(message: QueryUpgradedConsensusStateRequestProtoMsg): QueryUpgradedConsensusStateRequest; - toProto(message: QueryUpgradedConsensusStateRequest): Uint8Array; - toProtoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestProtoMsg; -}; -export declare const QueryUpgradedConsensusStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryUpgradedConsensusStateResponse; - isSDK(o: any): o is QueryUpgradedConsensusStateResponseSDKType; - isAmino(o: any): o is QueryUpgradedConsensusStateResponseAmino; - encode(message: QueryUpgradedConsensusStateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse; - fromJSON(object: any): QueryUpgradedConsensusStateResponse; - toJSON(message: QueryUpgradedConsensusStateResponse): unknown; - fromPartial(object: DeepPartial): QueryUpgradedConsensusStateResponse; - fromSDK(object: QueryUpgradedConsensusStateResponseSDKType): QueryUpgradedConsensusStateResponse; - toSDK(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseSDKType; - fromAmino(object: QueryUpgradedConsensusStateResponseAmino): QueryUpgradedConsensusStateResponse; - toAmino(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAmino; - fromAminoMsg(object: QueryUpgradedConsensusStateResponseAminoMsg): QueryUpgradedConsensusStateResponse; - toAminoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAminoMsg; - fromProtoMsg(message: QueryUpgradedConsensusStateResponseProtoMsg): QueryUpgradedConsensusStateResponse; - toProto(message: QueryUpgradedConsensusStateResponse): Uint8Array; - toProtoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseProtoMsg; -}; -export declare const QueryModuleVersionsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryModuleVersionsRequest; - isSDK(o: any): o is QueryModuleVersionsRequestSDKType; - isAmino(o: any): o is QueryModuleVersionsRequestAmino; - encode(message: QueryModuleVersionsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryModuleVersionsRequest; - fromJSON(object: any): QueryModuleVersionsRequest; - toJSON(message: QueryModuleVersionsRequest): unknown; - fromPartial(object: DeepPartial): QueryModuleVersionsRequest; - fromSDK(object: QueryModuleVersionsRequestSDKType): QueryModuleVersionsRequest; - toSDK(message: QueryModuleVersionsRequest): QueryModuleVersionsRequestSDKType; - fromAmino(object: QueryModuleVersionsRequestAmino): QueryModuleVersionsRequest; - toAmino(message: QueryModuleVersionsRequest): QueryModuleVersionsRequestAmino; - fromAminoMsg(object: QueryModuleVersionsRequestAminoMsg): QueryModuleVersionsRequest; - toAminoMsg(message: QueryModuleVersionsRequest): QueryModuleVersionsRequestAminoMsg; - fromProtoMsg(message: QueryModuleVersionsRequestProtoMsg): QueryModuleVersionsRequest; - toProto(message: QueryModuleVersionsRequest): Uint8Array; - toProtoMsg(message: QueryModuleVersionsRequest): QueryModuleVersionsRequestProtoMsg; -}; -export declare const QueryModuleVersionsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryModuleVersionsResponse; - isSDK(o: any): o is QueryModuleVersionsResponseSDKType; - isAmino(o: any): o is QueryModuleVersionsResponseAmino; - encode(message: QueryModuleVersionsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryModuleVersionsResponse; - fromJSON(object: any): QueryModuleVersionsResponse; - toJSON(message: QueryModuleVersionsResponse): unknown; - fromPartial(object: DeepPartial): QueryModuleVersionsResponse; - fromSDK(object: QueryModuleVersionsResponseSDKType): QueryModuleVersionsResponse; - toSDK(message: QueryModuleVersionsResponse): QueryModuleVersionsResponseSDKType; - fromAmino(object: QueryModuleVersionsResponseAmino): QueryModuleVersionsResponse; - toAmino(message: QueryModuleVersionsResponse): QueryModuleVersionsResponseAmino; - fromAminoMsg(object: QueryModuleVersionsResponseAminoMsg): QueryModuleVersionsResponse; - toAminoMsg(message: QueryModuleVersionsResponse): QueryModuleVersionsResponseAminoMsg; - fromProtoMsg(message: QueryModuleVersionsResponseProtoMsg): QueryModuleVersionsResponse; - toProto(message: QueryModuleVersionsResponse): Uint8Array; - toProtoMsg(message: QueryModuleVersionsResponse): QueryModuleVersionsResponseProtoMsg; -}; -export declare const QueryAuthorityRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAuthorityRequest; - isSDK(o: any): o is QueryAuthorityRequestSDKType; - isAmino(o: any): o is QueryAuthorityRequestAmino; - encode(_: QueryAuthorityRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAuthorityRequest; - fromJSON(_: any): QueryAuthorityRequest; - toJSON(_: QueryAuthorityRequest): unknown; - fromPartial(_: DeepPartial): QueryAuthorityRequest; - fromSDK(_: QueryAuthorityRequestSDKType): QueryAuthorityRequest; - toSDK(_: QueryAuthorityRequest): QueryAuthorityRequestSDKType; - fromAmino(_: QueryAuthorityRequestAmino): QueryAuthorityRequest; - toAmino(_: QueryAuthorityRequest): QueryAuthorityRequestAmino; - fromAminoMsg(object: QueryAuthorityRequestAminoMsg): QueryAuthorityRequest; - toAminoMsg(message: QueryAuthorityRequest): QueryAuthorityRequestAminoMsg; - fromProtoMsg(message: QueryAuthorityRequestProtoMsg): QueryAuthorityRequest; - toProto(message: QueryAuthorityRequest): Uint8Array; - toProtoMsg(message: QueryAuthorityRequest): QueryAuthorityRequestProtoMsg; -}; -export declare const QueryAuthorityResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAuthorityResponse; - isSDK(o: any): o is QueryAuthorityResponseSDKType; - isAmino(o: any): o is QueryAuthorityResponseAmino; - encode(message: QueryAuthorityResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAuthorityResponse; - fromJSON(object: any): QueryAuthorityResponse; - toJSON(message: QueryAuthorityResponse): unknown; - fromPartial(object: DeepPartial): QueryAuthorityResponse; - fromSDK(object: QueryAuthorityResponseSDKType): QueryAuthorityResponse; - toSDK(message: QueryAuthorityResponse): QueryAuthorityResponseSDKType; - fromAmino(object: QueryAuthorityResponseAmino): QueryAuthorityResponse; - toAmino(message: QueryAuthorityResponse): QueryAuthorityResponseAmino; - fromAminoMsg(object: QueryAuthorityResponseAminoMsg): QueryAuthorityResponse; - toAminoMsg(message: QueryAuthorityResponse): QueryAuthorityResponseAminoMsg; - fromProtoMsg(message: QueryAuthorityResponseProtoMsg): QueryAuthorityResponse; - toProto(message: QueryAuthorityResponse): Uint8Array; - toProtoMsg(message: QueryAuthorityResponse): QueryAuthorityResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 6eb1c5ff..00000000 --- a/examples/authz/types/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,119 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; -/** Query defines the gRPC upgrade querier service. */ -export interface Query { - /** CurrentPlan queries the current upgrade plan. */ - currentPlan(request?: QueryCurrentPlanRequest): Promise; - /** AppliedPlan queries a previously applied upgrade plan by its name. */ - appliedPlan(request: QueryAppliedPlanRequest): Promise; - /** - * UpgradedConsensusState queries the consensus state that will serve - * as a trusted kernel for the next version of this chain. It will only be - * stored at the last height of this chain. - * UpgradedConsensusState RPC not supported with legacy querier - * This rpc is deprecated now that IBC has its own replacement - * (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) - */ - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise; - /** - * ModuleVersions queries the list of module versions from state. - * - * Since: cosmos-sdk 0.43 - */ - moduleVersions(request: QueryModuleVersionsRequest): Promise; - /** Returns the account with authority to conduct upgrades */ - authority(request?: QueryAuthorityRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - currentPlan: (request?: QueryCurrentPlanRequest) => Promise; - appliedPlan: (request: QueryAppliedPlanRequest) => Promise; - upgradedConsensusState: (request: QueryUpgradedConsensusStateRequest) => Promise; - moduleVersions: (request: QueryModuleVersionsRequest) => Promise; - authority: (request?: QueryAuthorityRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseCurrentPlanQuery extends ReactQueryParams { - request?: QueryCurrentPlanRequest; -} -export interface UseAppliedPlanQuery extends ReactQueryParams { - request: QueryAppliedPlanRequest; -} -export interface UseUpgradedConsensusStateQuery extends ReactQueryParams { - request: QueryUpgradedConsensusStateRequest; -} -export interface UseModuleVersionsQuery extends ReactQueryParams { - request: QueryModuleVersionsRequest; -} -export interface UseAuthorityQuery extends ReactQueryParams { - request?: QueryAuthorityRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** CurrentPlan queries the current upgrade plan. */ useCurrentPlan: ({ request, options }: UseCurrentPlanQuery) => import("@tanstack/react-query").UseQueryResult; - /** AppliedPlan queries a previously applied upgrade plan by its name. */ useAppliedPlan: ({ request, options }: UseAppliedPlanQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * UpgradedConsensusState queries the consensus state that will serve - * as a trusted kernel for the next version of this chain. It will only be - * stored at the last height of this chain. - * UpgradedConsensusState RPC not supported with legacy querier - * This rpc is deprecated now that IBC has its own replacement - * (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) - */ - useUpgradedConsensusState: ({ request, options }: UseUpgradedConsensusStateQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * ModuleVersions queries the list of module versions from state. - * - * Since: cosmos-sdk 0.43 - */ - useModuleVersions: ({ request, options }: UseModuleVersionsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns the account with authority to conduct upgrades */ useAuthority: ({ request, options }: UseAuthorityQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** CurrentPlan queries the current upgrade plan. */ QueryCurrentPlanStore: { - new (): { - store: QueryStore; - currentPlan(request: QueryCurrentPlanRequest): import("../../../mobx").MobxResponse; - }; - }; - /** AppliedPlan queries a previously applied upgrade plan by its name. */ QueryAppliedPlanStore: { - new (): { - store: QueryStore; - appliedPlan(request: QueryAppliedPlanRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * UpgradedConsensusState queries the consensus state that will serve - * as a trusted kernel for the next version of this chain. It will only be - * stored at the last height of this chain. - * UpgradedConsensusState RPC not supported with legacy querier - * This rpc is deprecated now that IBC has its own replacement - * (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) - */ - QueryUpgradedConsensusStateStore: { - new (): { - store: QueryStore; - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * ModuleVersions queries the list of module versions from state. - * - * Since: cosmos-sdk 0.43 - */ - QueryModuleVersionsStore: { - new (): { - store: QueryStore; - moduleVersions(request: QueryModuleVersionsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Returns the account with authority to conduct upgrades */ QueryAuthorityStore: { - new (): { - store: QueryStore; - authority(request: QueryAuthorityRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts b/examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts deleted file mode 100644 index a4777694..00000000 --- a/examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; -export declare const AminoConverter: { - "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": { - aminoType: string; - toAmino: (message: MsgSoftwareUpgrade) => import("./tx").MsgSoftwareUpgradeAmino; - fromAmino: (object: import("./tx").MsgSoftwareUpgradeAmino) => MsgSoftwareUpgrade; - }; - "/cosmos.upgrade.v1beta1.MsgCancelUpgrade": { - aminoType: string; - toAmino: (message: MsgCancelUpgrade) => import("./tx").MsgCancelUpgradeAmino; - fromAmino: (object: import("./tx").MsgCancelUpgradeAmino) => MsgCancelUpgrade; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts b/examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts deleted file mode 100644 index 3764589a..00000000 --- a/examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +++ /dev/null @@ -1,218 +0,0 @@ -import { Plan, PlanAmino, PlanSDKType } from "./upgrade"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgrade { - /** authority is the address of the governance account. */ - authority: string; - /** plan is the upgrade plan. */ - plan: Plan | undefined; -} -export interface MsgSoftwareUpgradeProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade"; - value: Uint8Array; -} -/** - * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeAmino { - /** authority is the address of the governance account. */ - authority?: string; - /** plan is the upgrade plan. */ - plan?: PlanAmino | undefined; -} -export interface MsgSoftwareUpgradeAminoMsg { - type: "cosmos-sdk/MsgSoftwareUpgrade"; - value: MsgSoftwareUpgradeAmino; -} -/** - * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeSDKType { - authority: string; - plan: PlanSDKType | undefined; -} -/** - * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeResponse { -} -export interface MsgSoftwareUpgradeResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse"; - value: Uint8Array; -} -/** - * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeResponseAmino { -} -export interface MsgSoftwareUpgradeResponseAminoMsg { - type: "cosmos-sdk/MsgSoftwareUpgradeResponse"; - value: MsgSoftwareUpgradeResponseAmino; -} -/** - * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeResponseSDKType { -} -/** - * MsgCancelUpgrade is the Msg/CancelUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgrade { - /** authority is the address of the governance account. */ - authority: string; -} -export interface MsgCancelUpgradeProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade"; - value: Uint8Array; -} -/** - * MsgCancelUpgrade is the Msg/CancelUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgradeAmino { - /** authority is the address of the governance account. */ - authority?: string; -} -export interface MsgCancelUpgradeAminoMsg { - type: "cosmos-sdk/MsgCancelUpgrade"; - value: MsgCancelUpgradeAmino; -} -/** - * MsgCancelUpgrade is the Msg/CancelUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgradeSDKType { - authority: string; -} -/** - * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgradeResponse { -} -export interface MsgCancelUpgradeResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse"; - value: Uint8Array; -} -/** - * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgradeResponseAmino { -} -export interface MsgCancelUpgradeResponseAminoMsg { - type: "cosmos-sdk/MsgCancelUpgradeResponse"; - value: MsgCancelUpgradeResponseAmino; -} -/** - * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgradeResponseSDKType { -} -export declare const MsgSoftwareUpgrade: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSoftwareUpgrade; - isSDK(o: any): o is MsgSoftwareUpgradeSDKType; - isAmino(o: any): o is MsgSoftwareUpgradeAmino; - encode(message: MsgSoftwareUpgrade, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSoftwareUpgrade; - fromJSON(object: any): MsgSoftwareUpgrade; - toJSON(message: MsgSoftwareUpgrade): unknown; - fromPartial(object: DeepPartial): MsgSoftwareUpgrade; - fromSDK(object: MsgSoftwareUpgradeSDKType): MsgSoftwareUpgrade; - toSDK(message: MsgSoftwareUpgrade): MsgSoftwareUpgradeSDKType; - fromAmino(object: MsgSoftwareUpgradeAmino): MsgSoftwareUpgrade; - toAmino(message: MsgSoftwareUpgrade): MsgSoftwareUpgradeAmino; - fromAminoMsg(object: MsgSoftwareUpgradeAminoMsg): MsgSoftwareUpgrade; - toAminoMsg(message: MsgSoftwareUpgrade): MsgSoftwareUpgradeAminoMsg; - fromProtoMsg(message: MsgSoftwareUpgradeProtoMsg): MsgSoftwareUpgrade; - toProto(message: MsgSoftwareUpgrade): Uint8Array; - toProtoMsg(message: MsgSoftwareUpgrade): MsgSoftwareUpgradeProtoMsg; -}; -export declare const MsgSoftwareUpgradeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSoftwareUpgradeResponse; - isSDK(o: any): o is MsgSoftwareUpgradeResponseSDKType; - isAmino(o: any): o is MsgSoftwareUpgradeResponseAmino; - encode(_: MsgSoftwareUpgradeResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSoftwareUpgradeResponse; - fromJSON(_: any): MsgSoftwareUpgradeResponse; - toJSON(_: MsgSoftwareUpgradeResponse): unknown; - fromPartial(_: DeepPartial): MsgSoftwareUpgradeResponse; - fromSDK(_: MsgSoftwareUpgradeResponseSDKType): MsgSoftwareUpgradeResponse; - toSDK(_: MsgSoftwareUpgradeResponse): MsgSoftwareUpgradeResponseSDKType; - fromAmino(_: MsgSoftwareUpgradeResponseAmino): MsgSoftwareUpgradeResponse; - toAmino(_: MsgSoftwareUpgradeResponse): MsgSoftwareUpgradeResponseAmino; - fromAminoMsg(object: MsgSoftwareUpgradeResponseAminoMsg): MsgSoftwareUpgradeResponse; - toAminoMsg(message: MsgSoftwareUpgradeResponse): MsgSoftwareUpgradeResponseAminoMsg; - fromProtoMsg(message: MsgSoftwareUpgradeResponseProtoMsg): MsgSoftwareUpgradeResponse; - toProto(message: MsgSoftwareUpgradeResponse): Uint8Array; - toProtoMsg(message: MsgSoftwareUpgradeResponse): MsgSoftwareUpgradeResponseProtoMsg; -}; -export declare const MsgCancelUpgrade: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCancelUpgrade; - isSDK(o: any): o is MsgCancelUpgradeSDKType; - isAmino(o: any): o is MsgCancelUpgradeAmino; - encode(message: MsgCancelUpgrade, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCancelUpgrade; - fromJSON(object: any): MsgCancelUpgrade; - toJSON(message: MsgCancelUpgrade): unknown; - fromPartial(object: DeepPartial): MsgCancelUpgrade; - fromSDK(object: MsgCancelUpgradeSDKType): MsgCancelUpgrade; - toSDK(message: MsgCancelUpgrade): MsgCancelUpgradeSDKType; - fromAmino(object: MsgCancelUpgradeAmino): MsgCancelUpgrade; - toAmino(message: MsgCancelUpgrade): MsgCancelUpgradeAmino; - fromAminoMsg(object: MsgCancelUpgradeAminoMsg): MsgCancelUpgrade; - toAminoMsg(message: MsgCancelUpgrade): MsgCancelUpgradeAminoMsg; - fromProtoMsg(message: MsgCancelUpgradeProtoMsg): MsgCancelUpgrade; - toProto(message: MsgCancelUpgrade): Uint8Array; - toProtoMsg(message: MsgCancelUpgrade): MsgCancelUpgradeProtoMsg; -}; -export declare const MsgCancelUpgradeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCancelUpgradeResponse; - isSDK(o: any): o is MsgCancelUpgradeResponseSDKType; - isAmino(o: any): o is MsgCancelUpgradeResponseAmino; - encode(_: MsgCancelUpgradeResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCancelUpgradeResponse; - fromJSON(_: any): MsgCancelUpgradeResponse; - toJSON(_: MsgCancelUpgradeResponse): unknown; - fromPartial(_: DeepPartial): MsgCancelUpgradeResponse; - fromSDK(_: MsgCancelUpgradeResponseSDKType): MsgCancelUpgradeResponse; - toSDK(_: MsgCancelUpgradeResponse): MsgCancelUpgradeResponseSDKType; - fromAmino(_: MsgCancelUpgradeResponseAmino): MsgCancelUpgradeResponse; - toAmino(_: MsgCancelUpgradeResponse): MsgCancelUpgradeResponseAmino; - fromAminoMsg(object: MsgCancelUpgradeResponseAminoMsg): MsgCancelUpgradeResponse; - toAminoMsg(message: MsgCancelUpgradeResponse): MsgCancelUpgradeResponseAminoMsg; - fromProtoMsg(message: MsgCancelUpgradeResponseProtoMsg): MsgCancelUpgradeResponse; - toProto(message: MsgCancelUpgradeResponse): Uint8Array; - toProtoMsg(message: MsgCancelUpgradeResponse): MsgCancelUpgradeResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts b/examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts deleted file mode 100644 index 812ac2bd..00000000 --- a/examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - softwareUpgrade(value: MsgSoftwareUpgrade): { - typeUrl: string; - value: Uint8Array; - }; - cancelUpgrade(value: MsgCancelUpgrade): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - softwareUpgrade(value: MsgSoftwareUpgrade): { - typeUrl: string; - value: MsgSoftwareUpgrade; - }; - cancelUpgrade(value: MsgCancelUpgrade): { - typeUrl: string; - value: MsgCancelUpgrade; - }; - }; - toJSON: { - softwareUpgrade(value: MsgSoftwareUpgrade): { - typeUrl: string; - value: unknown; - }; - cancelUpgrade(value: MsgCancelUpgrade): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - softwareUpgrade(value: any): { - typeUrl: string; - value: MsgSoftwareUpgrade; - }; - cancelUpgrade(value: any): { - typeUrl: string; - value: MsgCancelUpgrade; - }; - }; - fromPartial: { - softwareUpgrade(value: MsgSoftwareUpgrade): { - typeUrl: string; - value: MsgSoftwareUpgrade; - }; - cancelUpgrade(value: MsgCancelUpgrade): { - typeUrl: string; - value: MsgCancelUpgrade; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index ccd4bb72..00000000 --- a/examples/authz/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgSoftwareUpgrade, MsgCancelUpgrade } from "./tx"; -/** Msg defines the upgrade Msg service. */ -export interface Msg { - /** - * SoftwareUpgrade is a governance operation for initiating a software upgrade. - * - * Since: cosmos-sdk 0.46 - */ - softwareUpgrade(signerAddress: string, message: MsgSoftwareUpgrade, fee: number | StdFee | "auto", memo: string): Promise; - /** - * CancelUpgrade is a governance operation for cancelling a previously - * approvid software upgrade. - * - * Since: cosmos-sdk 0.46 - */ - cancelUpgrade(signerAddress: string, message: MsgCancelUpgrade, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - softwareUpgrade: (signerAddress: string, message: MsgSoftwareUpgrade, fee?: number | StdFee | "auto", memo?: string) => Promise; - cancelUpgrade: (signerAddress: string, message: MsgCancelUpgrade, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts b/examples/authz/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts deleted file mode 100644 index 7da2a0ed..00000000 --- a/examples/authz/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +++ /dev/null @@ -1,307 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** Plan specifies information about a planned upgrade and when it should occur. */ -export interface Plan { - /** - * Sets the name for the upgrade. This name will be used by the upgraded - * version of the software to apply any special "on-upgrade" commands during - * the first BeginBlock method after the upgrade is applied. It is also used - * to detect whether a software version can handle a given upgrade. If no - * upgrade handler with this name has been set in the software, it will be - * assumed that the software is out-of-date when the upgrade Time or Height is - * reached and the software will exit. - */ - name: string; - /** - * Deprecated: Time based upgrades have been deprecated. Time based upgrade logic - * has been removed from the SDK. - * If this field is not empty, an error will be thrown. - */ - /** @deprecated */ - time: Date | undefined; - /** - * The height at which the upgrade must be performed. - * Only used if Time is not set. - */ - height: bigint; - /** - * Any application specific upgrade info to be included on-chain - * such as a git commit that validators could automatically upgrade to - */ - info: string; - /** - * Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been - * moved to the IBC module in the sub module 02-client. - * If this field is not empty, an error will be thrown. - */ - /** @deprecated */ - upgradedClientState?: Any | undefined; -} -export interface PlanProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.Plan"; - value: Uint8Array; -} -/** Plan specifies information about a planned upgrade and when it should occur. */ -export interface PlanAmino { - /** - * Sets the name for the upgrade. This name will be used by the upgraded - * version of the software to apply any special "on-upgrade" commands during - * the first BeginBlock method after the upgrade is applied. It is also used - * to detect whether a software version can handle a given upgrade. If no - * upgrade handler with this name has been set in the software, it will be - * assumed that the software is out-of-date when the upgrade Time or Height is - * reached and the software will exit. - */ - name?: string; - /** - * Deprecated: Time based upgrades have been deprecated. Time based upgrade logic - * has been removed from the SDK. - * If this field is not empty, an error will be thrown. - */ - /** @deprecated */ - time?: string | undefined; - /** - * The height at which the upgrade must be performed. - * Only used if Time is not set. - */ - height?: string; - /** - * Any application specific upgrade info to be included on-chain - * such as a git commit that validators could automatically upgrade to - */ - info?: string; - /** - * Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been - * moved to the IBC module in the sub module 02-client. - * If this field is not empty, an error will be thrown. - */ - /** @deprecated */ - upgraded_client_state?: AnyAmino | undefined; -} -export interface PlanAminoMsg { - type: "cosmos-sdk/Plan"; - value: PlanAmino; -} -/** Plan specifies information about a planned upgrade and when it should occur. */ -export interface PlanSDKType { - name: string; - /** @deprecated */ - time: Date | undefined; - height: bigint; - info: string; - /** @deprecated */ - upgraded_client_state?: AnySDKType | undefined; -} -/** - * SoftwareUpgradeProposal is a gov Content type for initiating a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgSoftwareUpgrade. - */ -/** @deprecated */ -export interface SoftwareUpgradeProposal { - $typeUrl?: "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal"; - title: string; - description: string; - plan: Plan | undefined; -} -export interface SoftwareUpgradeProposalProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal"; - value: Uint8Array; -} -/** - * SoftwareUpgradeProposal is a gov Content type for initiating a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgSoftwareUpgrade. - */ -/** @deprecated */ -export interface SoftwareUpgradeProposalAmino { - title?: string; - description?: string; - plan?: PlanAmino | undefined; -} -export interface SoftwareUpgradeProposalAminoMsg { - type: "cosmos-sdk/SoftwareUpgradeProposal"; - value: SoftwareUpgradeProposalAmino; -} -/** - * SoftwareUpgradeProposal is a gov Content type for initiating a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgSoftwareUpgrade. - */ -/** @deprecated */ -export interface SoftwareUpgradeProposalSDKType { - $typeUrl?: "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal"; - title: string; - description: string; - plan: PlanSDKType | undefined; -} -/** - * CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgCancelUpgrade. - */ -/** @deprecated */ -export interface CancelSoftwareUpgradeProposal { - $typeUrl?: "/cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal"; - title: string; - description: string; -} -export interface CancelSoftwareUpgradeProposalProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal"; - value: Uint8Array; -} -/** - * CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgCancelUpgrade. - */ -/** @deprecated */ -export interface CancelSoftwareUpgradeProposalAmino { - title?: string; - description?: string; -} -export interface CancelSoftwareUpgradeProposalAminoMsg { - type: "cosmos-sdk/CancelSoftwareUpgradeProposal"; - value: CancelSoftwareUpgradeProposalAmino; -} -/** - * CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgCancelUpgrade. - */ -/** @deprecated */ -export interface CancelSoftwareUpgradeProposalSDKType { - $typeUrl?: "/cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal"; - title: string; - description: string; -} -/** - * ModuleVersion specifies a module and its consensus version. - * - * Since: cosmos-sdk 0.43 - */ -export interface ModuleVersion { - /** name of the app module */ - name: string; - /** consensus version of the app module */ - version: bigint; -} -export interface ModuleVersionProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.ModuleVersion"; - value: Uint8Array; -} -/** - * ModuleVersion specifies a module and its consensus version. - * - * Since: cosmos-sdk 0.43 - */ -export interface ModuleVersionAmino { - /** name of the app module */ - name?: string; - /** consensus version of the app module */ - version?: string; -} -export interface ModuleVersionAminoMsg { - type: "cosmos-sdk/ModuleVersion"; - value: ModuleVersionAmino; -} -/** - * ModuleVersion specifies a module and its consensus version. - * - * Since: cosmos-sdk 0.43 - */ -export interface ModuleVersionSDKType { - name: string; - version: bigint; -} -export declare const Plan: { - typeUrl: string; - aminoType: string; - is(o: any): o is Plan; - isSDK(o: any): o is PlanSDKType; - isAmino(o: any): o is PlanAmino; - encode(message: Plan, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Plan; - fromJSON(object: any): Plan; - toJSON(message: Plan): unknown; - fromPartial(object: DeepPartial): Plan; - fromSDK(object: PlanSDKType): Plan; - toSDK(message: Plan): PlanSDKType; - fromAmino(object: PlanAmino): Plan; - toAmino(message: Plan): PlanAmino; - fromAminoMsg(object: PlanAminoMsg): Plan; - toAminoMsg(message: Plan): PlanAminoMsg; - fromProtoMsg(message: PlanProtoMsg): Plan; - toProto(message: Plan): Uint8Array; - toProtoMsg(message: Plan): PlanProtoMsg; -}; -export declare const SoftwareUpgradeProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is SoftwareUpgradeProposal; - isSDK(o: any): o is SoftwareUpgradeProposalSDKType; - isAmino(o: any): o is SoftwareUpgradeProposalAmino; - encode(message: SoftwareUpgradeProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SoftwareUpgradeProposal; - fromJSON(object: any): SoftwareUpgradeProposal; - toJSON(message: SoftwareUpgradeProposal): unknown; - fromPartial(object: DeepPartial): SoftwareUpgradeProposal; - fromSDK(object: SoftwareUpgradeProposalSDKType): SoftwareUpgradeProposal; - toSDK(message: SoftwareUpgradeProposal): SoftwareUpgradeProposalSDKType; - fromAmino(object: SoftwareUpgradeProposalAmino): SoftwareUpgradeProposal; - toAmino(message: SoftwareUpgradeProposal): SoftwareUpgradeProposalAmino; - fromAminoMsg(object: SoftwareUpgradeProposalAminoMsg): SoftwareUpgradeProposal; - toAminoMsg(message: SoftwareUpgradeProposal): SoftwareUpgradeProposalAminoMsg; - fromProtoMsg(message: SoftwareUpgradeProposalProtoMsg): SoftwareUpgradeProposal; - toProto(message: SoftwareUpgradeProposal): Uint8Array; - toProtoMsg(message: SoftwareUpgradeProposal): SoftwareUpgradeProposalProtoMsg; -}; -export declare const CancelSoftwareUpgradeProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is CancelSoftwareUpgradeProposal; - isSDK(o: any): o is CancelSoftwareUpgradeProposalSDKType; - isAmino(o: any): o is CancelSoftwareUpgradeProposalAmino; - encode(message: CancelSoftwareUpgradeProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CancelSoftwareUpgradeProposal; - fromJSON(object: any): CancelSoftwareUpgradeProposal; - toJSON(message: CancelSoftwareUpgradeProposal): unknown; - fromPartial(object: DeepPartial): CancelSoftwareUpgradeProposal; - fromSDK(object: CancelSoftwareUpgradeProposalSDKType): CancelSoftwareUpgradeProposal; - toSDK(message: CancelSoftwareUpgradeProposal): CancelSoftwareUpgradeProposalSDKType; - fromAmino(object: CancelSoftwareUpgradeProposalAmino): CancelSoftwareUpgradeProposal; - toAmino(message: CancelSoftwareUpgradeProposal): CancelSoftwareUpgradeProposalAmino; - fromAminoMsg(object: CancelSoftwareUpgradeProposalAminoMsg): CancelSoftwareUpgradeProposal; - toAminoMsg(message: CancelSoftwareUpgradeProposal): CancelSoftwareUpgradeProposalAminoMsg; - fromProtoMsg(message: CancelSoftwareUpgradeProposalProtoMsg): CancelSoftwareUpgradeProposal; - toProto(message: CancelSoftwareUpgradeProposal): Uint8Array; - toProtoMsg(message: CancelSoftwareUpgradeProposal): CancelSoftwareUpgradeProposalProtoMsg; -}; -export declare const ModuleVersion: { - typeUrl: string; - aminoType: string; - is(o: any): o is ModuleVersion; - isSDK(o: any): o is ModuleVersionSDKType; - isAmino(o: any): o is ModuleVersionAmino; - encode(message: ModuleVersion, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ModuleVersion; - fromJSON(object: any): ModuleVersion; - toJSON(message: ModuleVersion): unknown; - fromPartial(object: DeepPartial): ModuleVersion; - fromSDK(object: ModuleVersionSDKType): ModuleVersion; - toSDK(message: ModuleVersion): ModuleVersionSDKType; - fromAmino(object: ModuleVersionAmino): ModuleVersion; - toAmino(message: ModuleVersion): ModuleVersionAmino; - fromAminoMsg(object: ModuleVersionAminoMsg): ModuleVersion; - toAminoMsg(message: ModuleVersion): ModuleVersionAminoMsg; - fromProtoMsg(message: ModuleVersionProtoMsg): ModuleVersion; - toProto(message: ModuleVersion): Uint8Array; - toProtoMsg(message: ModuleVersion): ModuleVersionProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts b/examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts deleted file mode 100644 index 136d9688..00000000 --- a/examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; -export declare const AminoConverter: { - "/cosmos.vesting.v1beta1.MsgCreateVestingAccount": { - aminoType: string; - toAmino: (message: MsgCreateVestingAccount) => import("./tx").MsgCreateVestingAccountAmino; - fromAmino: (object: import("./tx").MsgCreateVestingAccountAmino) => MsgCreateVestingAccount; - }; - "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount": { - aminoType: string; - toAmino: (message: MsgCreatePermanentLockedAccount) => import("./tx").MsgCreatePermanentLockedAccountAmino; - fromAmino: (object: import("./tx").MsgCreatePermanentLockedAccountAmino) => MsgCreatePermanentLockedAccount; - }; - "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount": { - aminoType: string; - toAmino: (message: MsgCreatePeriodicVestingAccount) => import("./tx").MsgCreatePeriodicVestingAccountAmino; - fromAmino: (object: import("./tx").MsgCreatePeriodicVestingAccountAmino) => MsgCreatePeriodicVestingAccount; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.d.ts b/examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.d.ts deleted file mode 100644 index 21cf6684..00000000 --- a/examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +++ /dev/null @@ -1,304 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Period, PeriodAmino, PeriodSDKType } from "./vesting"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreateVestingAccount { - fromAddress: string; - toAddress: string; - amount: Coin[]; - endTime: bigint; - delayed: boolean; -} -export interface MsgCreateVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount"; - value: Uint8Array; -} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreateVestingAccountAmino { - from_address?: string; - to_address?: string; - amount?: CoinAmino[]; - end_time?: string; - delayed?: boolean; -} -export interface MsgCreateVestingAccountAminoMsg { - type: "cosmos-sdk/MsgCreateVestingAccount"; - value: MsgCreateVestingAccountAmino; -} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreateVestingAccountSDKType { - from_address: string; - to_address: string; - amount: CoinSDKType[]; - end_time: bigint; - delayed: boolean; -} -/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ -export interface MsgCreateVestingAccountResponse { -} -export interface MsgCreateVestingAccountResponseProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse"; - value: Uint8Array; -} -/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ -export interface MsgCreateVestingAccountResponseAmino { -} -export interface MsgCreateVestingAccountResponseAminoMsg { - type: "cosmos-sdk/MsgCreateVestingAccountResponse"; - value: MsgCreateVestingAccountResponseAmino; -} -/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ -export interface MsgCreateVestingAccountResponseSDKType { -} -/** - * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent - * locked account. - */ -export interface MsgCreatePermanentLockedAccount { - fromAddress: string; - toAddress: string; - amount: Coin[]; -} -export interface MsgCreatePermanentLockedAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount"; - value: Uint8Array; -} -/** - * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent - * locked account. - */ -export interface MsgCreatePermanentLockedAccountAmino { - from_address?: string; - to_address?: string; - amount?: CoinAmino[]; -} -export interface MsgCreatePermanentLockedAccountAminoMsg { - type: "cosmos-sdk/MsgCreatePermanentLockedAccount"; - value: MsgCreatePermanentLockedAccountAmino; -} -/** - * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent - * locked account. - */ -export interface MsgCreatePermanentLockedAccountSDKType { - from_address: string; - to_address: string; - amount: CoinSDKType[]; -} -/** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ -export interface MsgCreatePermanentLockedAccountResponse { -} -export interface MsgCreatePermanentLockedAccountResponseProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse"; - value: Uint8Array; -} -/** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ -export interface MsgCreatePermanentLockedAccountResponseAmino { -} -export interface MsgCreatePermanentLockedAccountResponseAminoMsg { - type: "cosmos-sdk/MsgCreatePermanentLockedAccountResponse"; - value: MsgCreatePermanentLockedAccountResponseAmino; -} -/** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ -export interface MsgCreatePermanentLockedAccountResponseSDKType { -} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreatePeriodicVestingAccount { - fromAddress: string; - toAddress: string; - startTime: bigint; - vestingPeriods: Period[]; -} -export interface MsgCreatePeriodicVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount"; - value: Uint8Array; -} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreatePeriodicVestingAccountAmino { - from_address?: string; - to_address?: string; - start_time?: string; - vesting_periods?: PeriodAmino[]; -} -export interface MsgCreatePeriodicVestingAccountAminoMsg { - type: "cosmos-sdk/MsgCreatePeriodicVestingAccount"; - value: MsgCreatePeriodicVestingAccountAmino; -} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreatePeriodicVestingAccountSDKType { - from_address: string; - to_address: string; - start_time: bigint; - vesting_periods: PeriodSDKType[]; -} -/** - * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount - * response type. - */ -export interface MsgCreatePeriodicVestingAccountResponse { -} -export interface MsgCreatePeriodicVestingAccountResponseProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse"; - value: Uint8Array; -} -/** - * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount - * response type. - */ -export interface MsgCreatePeriodicVestingAccountResponseAmino { -} -export interface MsgCreatePeriodicVestingAccountResponseAminoMsg { - type: "cosmos-sdk/MsgCreatePeriodicVestingAccountResponse"; - value: MsgCreatePeriodicVestingAccountResponseAmino; -} -/** - * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount - * response type. - */ -export interface MsgCreatePeriodicVestingAccountResponseSDKType { -} -export declare const MsgCreateVestingAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateVestingAccount; - isSDK(o: any): o is MsgCreateVestingAccountSDKType; - isAmino(o: any): o is MsgCreateVestingAccountAmino; - encode(message: MsgCreateVestingAccount, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateVestingAccount; - fromJSON(object: any): MsgCreateVestingAccount; - toJSON(message: MsgCreateVestingAccount): unknown; - fromPartial(object: DeepPartial): MsgCreateVestingAccount; - fromSDK(object: MsgCreateVestingAccountSDKType): MsgCreateVestingAccount; - toSDK(message: MsgCreateVestingAccount): MsgCreateVestingAccountSDKType; - fromAmino(object: MsgCreateVestingAccountAmino): MsgCreateVestingAccount; - toAmino(message: MsgCreateVestingAccount): MsgCreateVestingAccountAmino; - fromAminoMsg(object: MsgCreateVestingAccountAminoMsg): MsgCreateVestingAccount; - toAminoMsg(message: MsgCreateVestingAccount): MsgCreateVestingAccountAminoMsg; - fromProtoMsg(message: MsgCreateVestingAccountProtoMsg): MsgCreateVestingAccount; - toProto(message: MsgCreateVestingAccount): Uint8Array; - toProtoMsg(message: MsgCreateVestingAccount): MsgCreateVestingAccountProtoMsg; -}; -export declare const MsgCreateVestingAccountResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateVestingAccountResponse; - isSDK(o: any): o is MsgCreateVestingAccountResponseSDKType; - isAmino(o: any): o is MsgCreateVestingAccountResponseAmino; - encode(_: MsgCreateVestingAccountResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateVestingAccountResponse; - fromJSON(_: any): MsgCreateVestingAccountResponse; - toJSON(_: MsgCreateVestingAccountResponse): unknown; - fromPartial(_: DeepPartial): MsgCreateVestingAccountResponse; - fromSDK(_: MsgCreateVestingAccountResponseSDKType): MsgCreateVestingAccountResponse; - toSDK(_: MsgCreateVestingAccountResponse): MsgCreateVestingAccountResponseSDKType; - fromAmino(_: MsgCreateVestingAccountResponseAmino): MsgCreateVestingAccountResponse; - toAmino(_: MsgCreateVestingAccountResponse): MsgCreateVestingAccountResponseAmino; - fromAminoMsg(object: MsgCreateVestingAccountResponseAminoMsg): MsgCreateVestingAccountResponse; - toAminoMsg(message: MsgCreateVestingAccountResponse): MsgCreateVestingAccountResponseAminoMsg; - fromProtoMsg(message: MsgCreateVestingAccountResponseProtoMsg): MsgCreateVestingAccountResponse; - toProto(message: MsgCreateVestingAccountResponse): Uint8Array; - toProtoMsg(message: MsgCreateVestingAccountResponse): MsgCreateVestingAccountResponseProtoMsg; -}; -export declare const MsgCreatePermanentLockedAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreatePermanentLockedAccount; - isSDK(o: any): o is MsgCreatePermanentLockedAccountSDKType; - isAmino(o: any): o is MsgCreatePermanentLockedAccountAmino; - encode(message: MsgCreatePermanentLockedAccount, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreatePermanentLockedAccount; - fromJSON(object: any): MsgCreatePermanentLockedAccount; - toJSON(message: MsgCreatePermanentLockedAccount): unknown; - fromPartial(object: DeepPartial): MsgCreatePermanentLockedAccount; - fromSDK(object: MsgCreatePermanentLockedAccountSDKType): MsgCreatePermanentLockedAccount; - toSDK(message: MsgCreatePermanentLockedAccount): MsgCreatePermanentLockedAccountSDKType; - fromAmino(object: MsgCreatePermanentLockedAccountAmino): MsgCreatePermanentLockedAccount; - toAmino(message: MsgCreatePermanentLockedAccount): MsgCreatePermanentLockedAccountAmino; - fromAminoMsg(object: MsgCreatePermanentLockedAccountAminoMsg): MsgCreatePermanentLockedAccount; - toAminoMsg(message: MsgCreatePermanentLockedAccount): MsgCreatePermanentLockedAccountAminoMsg; - fromProtoMsg(message: MsgCreatePermanentLockedAccountProtoMsg): MsgCreatePermanentLockedAccount; - toProto(message: MsgCreatePermanentLockedAccount): Uint8Array; - toProtoMsg(message: MsgCreatePermanentLockedAccount): MsgCreatePermanentLockedAccountProtoMsg; -}; -export declare const MsgCreatePermanentLockedAccountResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreatePermanentLockedAccountResponse; - isSDK(o: any): o is MsgCreatePermanentLockedAccountResponseSDKType; - isAmino(o: any): o is MsgCreatePermanentLockedAccountResponseAmino; - encode(_: MsgCreatePermanentLockedAccountResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponse; - fromJSON(_: any): MsgCreatePermanentLockedAccountResponse; - toJSON(_: MsgCreatePermanentLockedAccountResponse): unknown; - fromPartial(_: DeepPartial): MsgCreatePermanentLockedAccountResponse; - fromSDK(_: MsgCreatePermanentLockedAccountResponseSDKType): MsgCreatePermanentLockedAccountResponse; - toSDK(_: MsgCreatePermanentLockedAccountResponse): MsgCreatePermanentLockedAccountResponseSDKType; - fromAmino(_: MsgCreatePermanentLockedAccountResponseAmino): MsgCreatePermanentLockedAccountResponse; - toAmino(_: MsgCreatePermanentLockedAccountResponse): MsgCreatePermanentLockedAccountResponseAmino; - fromAminoMsg(object: MsgCreatePermanentLockedAccountResponseAminoMsg): MsgCreatePermanentLockedAccountResponse; - toAminoMsg(message: MsgCreatePermanentLockedAccountResponse): MsgCreatePermanentLockedAccountResponseAminoMsg; - fromProtoMsg(message: MsgCreatePermanentLockedAccountResponseProtoMsg): MsgCreatePermanentLockedAccountResponse; - toProto(message: MsgCreatePermanentLockedAccountResponse): Uint8Array; - toProtoMsg(message: MsgCreatePermanentLockedAccountResponse): MsgCreatePermanentLockedAccountResponseProtoMsg; -}; -export declare const MsgCreatePeriodicVestingAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreatePeriodicVestingAccount; - isSDK(o: any): o is MsgCreatePeriodicVestingAccountSDKType; - isAmino(o: any): o is MsgCreatePeriodicVestingAccountAmino; - encode(message: MsgCreatePeriodicVestingAccount, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccount; - fromJSON(object: any): MsgCreatePeriodicVestingAccount; - toJSON(message: MsgCreatePeriodicVestingAccount): unknown; - fromPartial(object: DeepPartial): MsgCreatePeriodicVestingAccount; - fromSDK(object: MsgCreatePeriodicVestingAccountSDKType): MsgCreatePeriodicVestingAccount; - toSDK(message: MsgCreatePeriodicVestingAccount): MsgCreatePeriodicVestingAccountSDKType; - fromAmino(object: MsgCreatePeriodicVestingAccountAmino): MsgCreatePeriodicVestingAccount; - toAmino(message: MsgCreatePeriodicVestingAccount): MsgCreatePeriodicVestingAccountAmino; - fromAminoMsg(object: MsgCreatePeriodicVestingAccountAminoMsg): MsgCreatePeriodicVestingAccount; - toAminoMsg(message: MsgCreatePeriodicVestingAccount): MsgCreatePeriodicVestingAccountAminoMsg; - fromProtoMsg(message: MsgCreatePeriodicVestingAccountProtoMsg): MsgCreatePeriodicVestingAccount; - toProto(message: MsgCreatePeriodicVestingAccount): Uint8Array; - toProtoMsg(message: MsgCreatePeriodicVestingAccount): MsgCreatePeriodicVestingAccountProtoMsg; -}; -export declare const MsgCreatePeriodicVestingAccountResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreatePeriodicVestingAccountResponse; - isSDK(o: any): o is MsgCreatePeriodicVestingAccountResponseSDKType; - isAmino(o: any): o is MsgCreatePeriodicVestingAccountResponseAmino; - encode(_: MsgCreatePeriodicVestingAccountResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponse; - fromJSON(_: any): MsgCreatePeriodicVestingAccountResponse; - toJSON(_: MsgCreatePeriodicVestingAccountResponse): unknown; - fromPartial(_: DeepPartial): MsgCreatePeriodicVestingAccountResponse; - fromSDK(_: MsgCreatePeriodicVestingAccountResponseSDKType): MsgCreatePeriodicVestingAccountResponse; - toSDK(_: MsgCreatePeriodicVestingAccountResponse): MsgCreatePeriodicVestingAccountResponseSDKType; - fromAmino(_: MsgCreatePeriodicVestingAccountResponseAmino): MsgCreatePeriodicVestingAccountResponse; - toAmino(_: MsgCreatePeriodicVestingAccountResponse): MsgCreatePeriodicVestingAccountResponseAmino; - fromAminoMsg(object: MsgCreatePeriodicVestingAccountResponseAminoMsg): MsgCreatePeriodicVestingAccountResponse; - toAminoMsg(message: MsgCreatePeriodicVestingAccountResponse): MsgCreatePeriodicVestingAccountResponseAminoMsg; - fromProtoMsg(message: MsgCreatePeriodicVestingAccountResponseProtoMsg): MsgCreatePeriodicVestingAccountResponse; - toProto(message: MsgCreatePeriodicVestingAccountResponse): Uint8Array; - toProtoMsg(message: MsgCreatePeriodicVestingAccountResponse): MsgCreatePeriodicVestingAccountResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts b/examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts deleted file mode 100644 index 73d15c59..00000000 --- a/examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - createVestingAccount(value: MsgCreateVestingAccount): { - typeUrl: string; - value: Uint8Array; - }; - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: Uint8Array; - }; - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createVestingAccount(value: MsgCreateVestingAccount): { - typeUrl: string; - value: MsgCreateVestingAccount; - }; - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: MsgCreatePermanentLockedAccount; - }; - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: MsgCreatePeriodicVestingAccount; - }; - }; - toJSON: { - createVestingAccount(value: MsgCreateVestingAccount): { - typeUrl: string; - value: unknown; - }; - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: unknown; - }; - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createVestingAccount(value: any): { - typeUrl: string; - value: MsgCreateVestingAccount; - }; - createPermanentLockedAccount(value: any): { - typeUrl: string; - value: MsgCreatePermanentLockedAccount; - }; - createPeriodicVestingAccount(value: any): { - typeUrl: string; - value: MsgCreatePeriodicVestingAccount; - }; - }; - fromPartial: { - createVestingAccount(value: MsgCreateVestingAccount): { - typeUrl: string; - value: MsgCreateVestingAccount; - }; - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount): { - typeUrl: string; - value: MsgCreatePermanentLockedAccount; - }; - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount): { - typeUrl: string; - value: MsgCreatePeriodicVestingAccount; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index a48c7466..00000000 --- a/examples/authz/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount } from "./tx"; -/** Msg defines the bank Msg service. */ -export interface Msg { - /** - * CreateVestingAccount defines a method that enables creating a vesting - * account. - */ - createVestingAccount(signerAddress: string, message: MsgCreateVestingAccount, fee: number | StdFee | "auto", memo: string): Promise; - /** - * CreatePermanentLockedAccount defines a method that enables creating a permanent - * locked account. - */ - createPermanentLockedAccount(signerAddress: string, message: MsgCreatePermanentLockedAccount, fee: number | StdFee | "auto", memo: string): Promise; - /** - * CreatePeriodicVestingAccount defines a method that enables creating a - * periodic vesting account. - */ - createPeriodicVestingAccount(signerAddress: string, message: MsgCreatePeriodicVestingAccount, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - createVestingAccount: (signerAddress: string, message: MsgCreateVestingAccount, fee?: number | StdFee | "auto", memo?: string) => Promise; - createPermanentLockedAccount: (signerAddress: string, message: MsgCreatePermanentLockedAccount, fee?: number | StdFee | "auto", memo?: string) => Promise; - createPeriodicVestingAccount: (signerAddress: string, message: MsgCreatePeriodicVestingAccount, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts b/examples/authz/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts deleted file mode 100644 index 3b0bed10..00000000 --- a/examples/authz/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +++ /dev/null @@ -1,331 +0,0 @@ -import { BaseAccount, BaseAccountAmino, BaseAccountSDKType } from "../../auth/v1beta1/auth"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * BaseVestingAccount implements the VestingAccount interface. It contains all - * the necessary fields needed for any vesting account implementation. - */ -export interface BaseVestingAccount { - baseAccount?: BaseAccount | undefined; - originalVesting: Coin[]; - delegatedFree: Coin[]; - delegatedVesting: Coin[]; - endTime: bigint; -} -export interface BaseVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.BaseVestingAccount"; - value: Uint8Array; -} -/** - * BaseVestingAccount implements the VestingAccount interface. It contains all - * the necessary fields needed for any vesting account implementation. - */ -export interface BaseVestingAccountAmino { - base_account?: BaseAccountAmino | undefined; - original_vesting?: CoinAmino[]; - delegated_free?: CoinAmino[]; - delegated_vesting?: CoinAmino[]; - end_time?: string; -} -export interface BaseVestingAccountAminoMsg { - type: "cosmos-sdk/BaseVestingAccount"; - value: BaseVestingAccountAmino; -} -/** - * BaseVestingAccount implements the VestingAccount interface. It contains all - * the necessary fields needed for any vesting account implementation. - */ -export interface BaseVestingAccountSDKType { - base_account?: BaseAccountSDKType | undefined; - original_vesting: CoinSDKType[]; - delegated_free: CoinSDKType[]; - delegated_vesting: CoinSDKType[]; - end_time: bigint; -} -/** - * ContinuousVestingAccount implements the VestingAccount interface. It - * continuously vests by unlocking coins linearly with respect to time. - */ -export interface ContinuousVestingAccount { - baseVestingAccount?: BaseVestingAccount | undefined; - startTime: bigint; -} -export interface ContinuousVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.ContinuousVestingAccount"; - value: Uint8Array; -} -/** - * ContinuousVestingAccount implements the VestingAccount interface. It - * continuously vests by unlocking coins linearly with respect to time. - */ -export interface ContinuousVestingAccountAmino { - base_vesting_account?: BaseVestingAccountAmino | undefined; - start_time?: string; -} -export interface ContinuousVestingAccountAminoMsg { - type: "cosmos-sdk/ContinuousVestingAccount"; - value: ContinuousVestingAccountAmino; -} -/** - * ContinuousVestingAccount implements the VestingAccount interface. It - * continuously vests by unlocking coins linearly with respect to time. - */ -export interface ContinuousVestingAccountSDKType { - base_vesting_account?: BaseVestingAccountSDKType | undefined; - start_time: bigint; -} -/** - * DelayedVestingAccount implements the VestingAccount interface. It vests all - * coins after a specific time, but non prior. In other words, it keeps them - * locked until a specified time. - */ -export interface DelayedVestingAccount { - baseVestingAccount?: BaseVestingAccount | undefined; -} -export interface DelayedVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.DelayedVestingAccount"; - value: Uint8Array; -} -/** - * DelayedVestingAccount implements the VestingAccount interface. It vests all - * coins after a specific time, but non prior. In other words, it keeps them - * locked until a specified time. - */ -export interface DelayedVestingAccountAmino { - base_vesting_account?: BaseVestingAccountAmino | undefined; -} -export interface DelayedVestingAccountAminoMsg { - type: "cosmos-sdk/DelayedVestingAccount"; - value: DelayedVestingAccountAmino; -} -/** - * DelayedVestingAccount implements the VestingAccount interface. It vests all - * coins after a specific time, but non prior. In other words, it keeps them - * locked until a specified time. - */ -export interface DelayedVestingAccountSDKType { - base_vesting_account?: BaseVestingAccountSDKType | undefined; -} -/** Period defines a length of time and amount of coins that will vest. */ -export interface Period { - length: bigint; - amount: Coin[]; -} -export interface PeriodProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.Period"; - value: Uint8Array; -} -/** Period defines a length of time and amount of coins that will vest. */ -export interface PeriodAmino { - length?: string; - amount?: CoinAmino[]; -} -export interface PeriodAminoMsg { - type: "cosmos-sdk/Period"; - value: PeriodAmino; -} -/** Period defines a length of time and amount of coins that will vest. */ -export interface PeriodSDKType { - length: bigint; - amount: CoinSDKType[]; -} -/** - * PeriodicVestingAccount implements the VestingAccount interface. It - * periodically vests by unlocking coins during each specified period. - */ -export interface PeriodicVestingAccount { - baseVestingAccount?: BaseVestingAccount | undefined; - startTime: bigint; - vestingPeriods: Period[]; -} -export interface PeriodicVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.PeriodicVestingAccount"; - value: Uint8Array; -} -/** - * PeriodicVestingAccount implements the VestingAccount interface. It - * periodically vests by unlocking coins during each specified period. - */ -export interface PeriodicVestingAccountAmino { - base_vesting_account?: BaseVestingAccountAmino | undefined; - start_time?: string; - vesting_periods?: PeriodAmino[]; -} -export interface PeriodicVestingAccountAminoMsg { - type: "cosmos-sdk/PeriodicVestingAccount"; - value: PeriodicVestingAccountAmino; -} -/** - * PeriodicVestingAccount implements the VestingAccount interface. It - * periodically vests by unlocking coins during each specified period. - */ -export interface PeriodicVestingAccountSDKType { - base_vesting_account?: BaseVestingAccountSDKType | undefined; - start_time: bigint; - vesting_periods: PeriodSDKType[]; -} -/** - * PermanentLockedAccount implements the VestingAccount interface. It does - * not ever release coins, locking them indefinitely. Coins in this account can - * still be used for delegating and for governance votes even while locked. - * - * Since: cosmos-sdk 0.43 - */ -export interface PermanentLockedAccount { - baseVestingAccount?: BaseVestingAccount | undefined; -} -export interface PermanentLockedAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.PermanentLockedAccount"; - value: Uint8Array; -} -/** - * PermanentLockedAccount implements the VestingAccount interface. It does - * not ever release coins, locking them indefinitely. Coins in this account can - * still be used for delegating and for governance votes even while locked. - * - * Since: cosmos-sdk 0.43 - */ -export interface PermanentLockedAccountAmino { - base_vesting_account?: BaseVestingAccountAmino | undefined; -} -export interface PermanentLockedAccountAminoMsg { - type: "cosmos-sdk/PermanentLockedAccount"; - value: PermanentLockedAccountAmino; -} -/** - * PermanentLockedAccount implements the VestingAccount interface. It does - * not ever release coins, locking them indefinitely. Coins in this account can - * still be used for delegating and for governance votes even while locked. - * - * Since: cosmos-sdk 0.43 - */ -export interface PermanentLockedAccountSDKType { - base_vesting_account?: BaseVestingAccountSDKType | undefined; -} -export declare const BaseVestingAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is BaseVestingAccount; - isSDK(o: any): o is BaseVestingAccountSDKType; - isAmino(o: any): o is BaseVestingAccountAmino; - encode(message: BaseVestingAccount, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): BaseVestingAccount; - fromJSON(object: any): BaseVestingAccount; - toJSON(message: BaseVestingAccount): unknown; - fromPartial(object: DeepPartial): BaseVestingAccount; - fromSDK(object: BaseVestingAccountSDKType): BaseVestingAccount; - toSDK(message: BaseVestingAccount): BaseVestingAccountSDKType; - fromAmino(object: BaseVestingAccountAmino): BaseVestingAccount; - toAmino(message: BaseVestingAccount): BaseVestingAccountAmino; - fromAminoMsg(object: BaseVestingAccountAminoMsg): BaseVestingAccount; - toAminoMsg(message: BaseVestingAccount): BaseVestingAccountAminoMsg; - fromProtoMsg(message: BaseVestingAccountProtoMsg): BaseVestingAccount; - toProto(message: BaseVestingAccount): Uint8Array; - toProtoMsg(message: BaseVestingAccount): BaseVestingAccountProtoMsg; -}; -export declare const ContinuousVestingAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is ContinuousVestingAccount; - isSDK(o: any): o is ContinuousVestingAccountSDKType; - isAmino(o: any): o is ContinuousVestingAccountAmino; - encode(message: ContinuousVestingAccount, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ContinuousVestingAccount; - fromJSON(object: any): ContinuousVestingAccount; - toJSON(message: ContinuousVestingAccount): unknown; - fromPartial(object: DeepPartial): ContinuousVestingAccount; - fromSDK(object: ContinuousVestingAccountSDKType): ContinuousVestingAccount; - toSDK(message: ContinuousVestingAccount): ContinuousVestingAccountSDKType; - fromAmino(object: ContinuousVestingAccountAmino): ContinuousVestingAccount; - toAmino(message: ContinuousVestingAccount): ContinuousVestingAccountAmino; - fromAminoMsg(object: ContinuousVestingAccountAminoMsg): ContinuousVestingAccount; - toAminoMsg(message: ContinuousVestingAccount): ContinuousVestingAccountAminoMsg; - fromProtoMsg(message: ContinuousVestingAccountProtoMsg): ContinuousVestingAccount; - toProto(message: ContinuousVestingAccount): Uint8Array; - toProtoMsg(message: ContinuousVestingAccount): ContinuousVestingAccountProtoMsg; -}; -export declare const DelayedVestingAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is DelayedVestingAccount; - isSDK(o: any): o is DelayedVestingAccountSDKType; - isAmino(o: any): o is DelayedVestingAccountAmino; - encode(message: DelayedVestingAccount, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DelayedVestingAccount; - fromJSON(object: any): DelayedVestingAccount; - toJSON(message: DelayedVestingAccount): unknown; - fromPartial(object: DeepPartial): DelayedVestingAccount; - fromSDK(object: DelayedVestingAccountSDKType): DelayedVestingAccount; - toSDK(message: DelayedVestingAccount): DelayedVestingAccountSDKType; - fromAmino(object: DelayedVestingAccountAmino): DelayedVestingAccount; - toAmino(message: DelayedVestingAccount): DelayedVestingAccountAmino; - fromAminoMsg(object: DelayedVestingAccountAminoMsg): DelayedVestingAccount; - toAminoMsg(message: DelayedVestingAccount): DelayedVestingAccountAminoMsg; - fromProtoMsg(message: DelayedVestingAccountProtoMsg): DelayedVestingAccount; - toProto(message: DelayedVestingAccount): Uint8Array; - toProtoMsg(message: DelayedVestingAccount): DelayedVestingAccountProtoMsg; -}; -export declare const Period: { - typeUrl: string; - aminoType: string; - is(o: any): o is Period; - isSDK(o: any): o is PeriodSDKType; - isAmino(o: any): o is PeriodAmino; - encode(message: Period, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Period; - fromJSON(object: any): Period; - toJSON(message: Period): unknown; - fromPartial(object: DeepPartial): Period; - fromSDK(object: PeriodSDKType): Period; - toSDK(message: Period): PeriodSDKType; - fromAmino(object: PeriodAmino): Period; - toAmino(message: Period): PeriodAmino; - fromAminoMsg(object: PeriodAminoMsg): Period; - toAminoMsg(message: Period): PeriodAminoMsg; - fromProtoMsg(message: PeriodProtoMsg): Period; - toProto(message: Period): Uint8Array; - toProtoMsg(message: Period): PeriodProtoMsg; -}; -export declare const PeriodicVestingAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is PeriodicVestingAccount; - isSDK(o: any): o is PeriodicVestingAccountSDKType; - isAmino(o: any): o is PeriodicVestingAccountAmino; - encode(message: PeriodicVestingAccount, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PeriodicVestingAccount; - fromJSON(object: any): PeriodicVestingAccount; - toJSON(message: PeriodicVestingAccount): unknown; - fromPartial(object: DeepPartial): PeriodicVestingAccount; - fromSDK(object: PeriodicVestingAccountSDKType): PeriodicVestingAccount; - toSDK(message: PeriodicVestingAccount): PeriodicVestingAccountSDKType; - fromAmino(object: PeriodicVestingAccountAmino): PeriodicVestingAccount; - toAmino(message: PeriodicVestingAccount): PeriodicVestingAccountAmino; - fromAminoMsg(object: PeriodicVestingAccountAminoMsg): PeriodicVestingAccount; - toAminoMsg(message: PeriodicVestingAccount): PeriodicVestingAccountAminoMsg; - fromProtoMsg(message: PeriodicVestingAccountProtoMsg): PeriodicVestingAccount; - toProto(message: PeriodicVestingAccount): Uint8Array; - toProtoMsg(message: PeriodicVestingAccount): PeriodicVestingAccountProtoMsg; -}; -export declare const PermanentLockedAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is PermanentLockedAccount; - isSDK(o: any): o is PermanentLockedAccountSDKType; - isAmino(o: any): o is PermanentLockedAccountAmino; - encode(message: PermanentLockedAccount, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PermanentLockedAccount; - fromJSON(object: any): PermanentLockedAccount; - toJSON(message: PermanentLockedAccount): unknown; - fromPartial(object: DeepPartial): PermanentLockedAccount; - fromSDK(object: PermanentLockedAccountSDKType): PermanentLockedAccount; - toSDK(message: PermanentLockedAccount): PermanentLockedAccountSDKType; - fromAmino(object: PermanentLockedAccountAmino): PermanentLockedAccount; - toAmino(message: PermanentLockedAccount): PermanentLockedAccountAmino; - fromAminoMsg(object: PermanentLockedAccountAminoMsg): PermanentLockedAccount; - toAminoMsg(message: PermanentLockedAccount): PermanentLockedAccountAminoMsg; - fromProtoMsg(message: PermanentLockedAccountProtoMsg): PermanentLockedAccount; - toProto(message: PermanentLockedAccount): Uint8Array; - toProtoMsg(message: PermanentLockedAccount): PermanentLockedAccountProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmos_proto/bundle.d.ts b/examples/authz/types/codegen/cosmos_proto/bundle.d.ts deleted file mode 100644 index 483f1dca..00000000 --- a/examples/authz/types/codegen/cosmos_proto/bundle.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -import * as _1 from "./cosmos"; -export declare const cosmos_proto: { - scalarTypeFromJSON(object: any): _1.ScalarType; - scalarTypeToJSON(object: _1.ScalarType): string; - ScalarType: typeof _1.ScalarType; - ScalarTypeSDKType: typeof _1.ScalarType; - ScalarTypeAmino: typeof _1.ScalarType; - InterfaceDescriptor: { - typeUrl: string; - is(o: any): o is _1.InterfaceDescriptor; - isSDK(o: any): o is _1.InterfaceDescriptorSDKType; - isAmino(o: any): o is _1.InterfaceDescriptorAmino; - encode(message: _1.InterfaceDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _1.InterfaceDescriptor; - fromJSON(object: any): _1.InterfaceDescriptor; - toJSON(message: _1.InterfaceDescriptor): unknown; - fromPartial(object: { - name?: string; - description?: string; - }): _1.InterfaceDescriptor; - fromSDK(object: _1.InterfaceDescriptorSDKType): _1.InterfaceDescriptor; - toSDK(message: _1.InterfaceDescriptor): _1.InterfaceDescriptorSDKType; - fromAmino(object: _1.InterfaceDescriptorAmino): _1.InterfaceDescriptor; - toAmino(message: _1.InterfaceDescriptor): _1.InterfaceDescriptorAmino; - fromAminoMsg(object: _1.InterfaceDescriptorAminoMsg): _1.InterfaceDescriptor; - fromProtoMsg(message: _1.InterfaceDescriptorProtoMsg): _1.InterfaceDescriptor; - toProto(message: _1.InterfaceDescriptor): Uint8Array; - toProtoMsg(message: _1.InterfaceDescriptor): _1.InterfaceDescriptorProtoMsg; - }; - ScalarDescriptor: { - typeUrl: string; - is(o: any): o is _1.ScalarDescriptor; - isSDK(o: any): o is _1.ScalarDescriptorSDKType; - isAmino(o: any): o is _1.ScalarDescriptorAmino; - encode(message: _1.ScalarDescriptor, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _1.ScalarDescriptor; - fromJSON(object: any): _1.ScalarDescriptor; - toJSON(message: _1.ScalarDescriptor): unknown; - fromPartial(object: { - name?: string; - description?: string; - fieldType?: _1.ScalarType[]; - }): _1.ScalarDescriptor; - fromSDK(object: _1.ScalarDescriptorSDKType): _1.ScalarDescriptor; - toSDK(message: _1.ScalarDescriptor): _1.ScalarDescriptorSDKType; - fromAmino(object: _1.ScalarDescriptorAmino): _1.ScalarDescriptor; - toAmino(message: _1.ScalarDescriptor): _1.ScalarDescriptorAmino; - fromAminoMsg(object: _1.ScalarDescriptorAminoMsg): _1.ScalarDescriptor; - fromProtoMsg(message: _1.ScalarDescriptorProtoMsg): _1.ScalarDescriptor; - toProto(message: _1.ScalarDescriptor): Uint8Array; - toProtoMsg(message: _1.ScalarDescriptor): _1.ScalarDescriptorProtoMsg; - }; -}; diff --git a/examples/authz/types/codegen/cosmos_proto/cosmos.d.ts b/examples/authz/types/codegen/cosmos_proto/cosmos.d.ts deleted file mode 100644 index 673c7141..00000000 --- a/examples/authz/types/codegen/cosmos_proto/cosmos.d.ts +++ /dev/null @@ -1,186 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../binary"; -import { DeepPartial } from "../helpers"; -export declare enum ScalarType { - SCALAR_TYPE_UNSPECIFIED = 0, - SCALAR_TYPE_STRING = 1, - SCALAR_TYPE_BYTES = 2, - UNRECOGNIZED = -1 -} -export declare const ScalarTypeSDKType: typeof ScalarType; -export declare const ScalarTypeAmino: typeof ScalarType; -export declare function scalarTypeFromJSON(object: any): ScalarType; -export declare function scalarTypeToJSON(object: ScalarType): string; -/** - * InterfaceDescriptor describes an interface type to be used with - * accepts_interface and implements_interface and declared by declare_interface. - */ -export interface InterfaceDescriptor { - /** - * name is the name of the interface. It should be a short-name (without - * a period) such that the fully qualified name of the interface will be - * package.name, ex. for the package a.b and interface named C, the - * fully-qualified name will be a.b.C. - */ - name: string; - /** - * description is a human-readable description of the interface and its - * purpose. - */ - description: string; -} -export interface InterfaceDescriptorProtoMsg { - typeUrl: "/cosmos_proto.InterfaceDescriptor"; - value: Uint8Array; -} -/** - * InterfaceDescriptor describes an interface type to be used with - * accepts_interface and implements_interface and declared by declare_interface. - */ -export interface InterfaceDescriptorAmino { - /** - * name is the name of the interface. It should be a short-name (without - * a period) such that the fully qualified name of the interface will be - * package.name, ex. for the package a.b and interface named C, the - * fully-qualified name will be a.b.C. - */ - name?: string; - /** - * description is a human-readable description of the interface and its - * purpose. - */ - description?: string; -} -export interface InterfaceDescriptorAminoMsg { - type: "/cosmos_proto.InterfaceDescriptor"; - value: InterfaceDescriptorAmino; -} -/** - * InterfaceDescriptor describes an interface type to be used with - * accepts_interface and implements_interface and declared by declare_interface. - */ -export interface InterfaceDescriptorSDKType { - name: string; - description: string; -} -/** - * ScalarDescriptor describes an scalar type to be used with - * the scalar field option and declared by declare_scalar. - * Scalars extend simple protobuf built-in types with additional - * syntax and semantics, for instance to represent big integers. - * Scalars should ideally define an encoding such that there is only one - * valid syntactical representation for a given semantic meaning, - * i.e. the encoding should be deterministic. - */ -export interface ScalarDescriptor { - /** - * name is the name of the scalar. It should be a short-name (without - * a period) such that the fully qualified name of the scalar will be - * package.name, ex. for the package a.b and scalar named C, the - * fully-qualified name will be a.b.C. - */ - name: string; - /** - * description is a human-readable description of the scalar and its - * encoding format. For instance a big integer or decimal scalar should - * specify precisely the expected encoding format. - */ - description: string; - /** - * field_type is the type of field with which this scalar can be used. - * Scalars can be used with one and only one type of field so that - * encoding standards and simple and clear. Currently only string and - * bytes fields are supported for scalars. - */ - fieldType: ScalarType[]; -} -export interface ScalarDescriptorProtoMsg { - typeUrl: "/cosmos_proto.ScalarDescriptor"; - value: Uint8Array; -} -/** - * ScalarDescriptor describes an scalar type to be used with - * the scalar field option and declared by declare_scalar. - * Scalars extend simple protobuf built-in types with additional - * syntax and semantics, for instance to represent big integers. - * Scalars should ideally define an encoding such that there is only one - * valid syntactical representation for a given semantic meaning, - * i.e. the encoding should be deterministic. - */ -export interface ScalarDescriptorAmino { - /** - * name is the name of the scalar. It should be a short-name (without - * a period) such that the fully qualified name of the scalar will be - * package.name, ex. for the package a.b and scalar named C, the - * fully-qualified name will be a.b.C. - */ - name?: string; - /** - * description is a human-readable description of the scalar and its - * encoding format. For instance a big integer or decimal scalar should - * specify precisely the expected encoding format. - */ - description?: string; - /** - * field_type is the type of field with which this scalar can be used. - * Scalars can be used with one and only one type of field so that - * encoding standards and simple and clear. Currently only string and - * bytes fields are supported for scalars. - */ - field_type?: ScalarType[]; -} -export interface ScalarDescriptorAminoMsg { - type: "/cosmos_proto.ScalarDescriptor"; - value: ScalarDescriptorAmino; -} -/** - * ScalarDescriptor describes an scalar type to be used with - * the scalar field option and declared by declare_scalar. - * Scalars extend simple protobuf built-in types with additional - * syntax and semantics, for instance to represent big integers. - * Scalars should ideally define an encoding such that there is only one - * valid syntactical representation for a given semantic meaning, - * i.e. the encoding should be deterministic. - */ -export interface ScalarDescriptorSDKType { - name: string; - description: string; - field_type: ScalarType[]; -} -export declare const InterfaceDescriptor: { - typeUrl: string; - is(o: any): o is InterfaceDescriptor; - isSDK(o: any): o is InterfaceDescriptorSDKType; - isAmino(o: any): o is InterfaceDescriptorAmino; - encode(message: InterfaceDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): InterfaceDescriptor; - fromJSON(object: any): InterfaceDescriptor; - toJSON(message: InterfaceDescriptor): unknown; - fromPartial(object: DeepPartial): InterfaceDescriptor; - fromSDK(object: InterfaceDescriptorSDKType): InterfaceDescriptor; - toSDK(message: InterfaceDescriptor): InterfaceDescriptorSDKType; - fromAmino(object: InterfaceDescriptorAmino): InterfaceDescriptor; - toAmino(message: InterfaceDescriptor): InterfaceDescriptorAmino; - fromAminoMsg(object: InterfaceDescriptorAminoMsg): InterfaceDescriptor; - fromProtoMsg(message: InterfaceDescriptorProtoMsg): InterfaceDescriptor; - toProto(message: InterfaceDescriptor): Uint8Array; - toProtoMsg(message: InterfaceDescriptor): InterfaceDescriptorProtoMsg; -}; -export declare const ScalarDescriptor: { - typeUrl: string; - is(o: any): o is ScalarDescriptor; - isSDK(o: any): o is ScalarDescriptorSDKType; - isAmino(o: any): o is ScalarDescriptorAmino; - encode(message: ScalarDescriptor, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ScalarDescriptor; - fromJSON(object: any): ScalarDescriptor; - toJSON(message: ScalarDescriptor): unknown; - fromPartial(object: DeepPartial): ScalarDescriptor; - fromSDK(object: ScalarDescriptorSDKType): ScalarDescriptor; - toSDK(message: ScalarDescriptor): ScalarDescriptorSDKType; - fromAmino(object: ScalarDescriptorAmino): ScalarDescriptor; - toAmino(message: ScalarDescriptor): ScalarDescriptorAmino; - fromAminoMsg(object: ScalarDescriptorAminoMsg): ScalarDescriptor; - fromProtoMsg(message: ScalarDescriptorProtoMsg): ScalarDescriptor; - toProto(message: ScalarDescriptor): Uint8Array; - toProtoMsg(message: ScalarDescriptor): ScalarDescriptorProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmwasm/bundle.d.ts b/examples/authz/types/codegen/cosmwasm/bundle.d.ts deleted file mode 100644 index 9d40e3af..00000000 --- a/examples/authz/types/codegen/cosmwasm/bundle.d.ts +++ /dev/null @@ -1,1969 +0,0 @@ -import * as _94 from "./wasm/v1/genesis"; -import * as _95 from "./wasm/v1/ibc"; -import * as _96 from "./wasm/v1/proposal"; -import * as _97 from "./wasm/v1/query"; -import * as _98 from "./wasm/v1/tx"; -import * as _99 from "./wasm/v1/types"; -import * as _252 from "./wasm/v1/query.rpc.Query"; -import * as _253 from "./wasm/v1/tx.rpc.msg"; -export declare namespace cosmwasm { - namespace wasm { - const v1: { - MsgClientImpl: typeof _253.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _253.MsgClientImpl; - QueryClientImpl: typeof _252.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useContractInfo: ({ request, options }: _252.UseContractInfoQuery) => import("@tanstack/react-query").UseQueryResult; - useContractHistory: ({ request, options }: _252.UseContractHistoryQuery) => import("@tanstack/react-query").UseQueryResult; - useContractsByCode: ({ request, options }: _252.UseContractsByCodeQuery) => import("@tanstack/react-query").UseQueryResult; - useAllContractState: ({ request, options }: _252.UseAllContractStateQuery) => import("@tanstack/react-query").UseQueryResult; - useRawContractState: ({ request, options }: _252.UseRawContractStateQuery) => import("@tanstack/react-query").UseQueryResult; - useSmartContractState: ({ request, options }: _252.UseSmartContractStateQuery) => import("@tanstack/react-query").UseQueryResult; - useCode: ({ request, options }: _252.UseCodeQuery) => import("@tanstack/react-query").UseQueryResult; - useCodes: ({ request, options }: _252.UseCodesQuery) => import("@tanstack/react-query").UseQueryResult; - usePinnedCodes: ({ request, options }: _252.UsePinnedCodesQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryContractInfoStore: { - new (): { - store: import("..").QueryStore<_97.QueryContractInfoRequest, _97.QueryContractInfoResponse>; - contractInfo(request: _97.QueryContractInfoRequest): import("..").MobxResponse<_97.QueryContractInfoResponse>; - }; - }; - QueryContractHistoryStore: { - new (): { - store: import("..").QueryStore<_97.QueryContractHistoryRequest, _97.QueryContractHistoryResponse>; - contractHistory(request: _97.QueryContractHistoryRequest): import("..").MobxResponse<_97.QueryContractHistoryResponse>; - }; - }; - QueryContractsByCodeStore: { - new (): { - store: import("..").QueryStore<_97.QueryContractsByCodeRequest, _97.QueryContractsByCodeResponse>; - contractsByCode(request: _97.QueryContractsByCodeRequest): import("..").MobxResponse<_97.QueryContractsByCodeResponse>; - }; - }; - QueryAllContractStateStore: { - new (): { - store: import("..").QueryStore<_97.QueryAllContractStateRequest, _97.QueryAllContractStateResponse>; - allContractState(request: _97.QueryAllContractStateRequest): import("..").MobxResponse<_97.QueryAllContractStateResponse>; - }; - }; - QueryRawContractStateStore: { - new (): { - store: import("..").QueryStore<_97.QueryRawContractStateRequest, _97.QueryRawContractStateResponse>; - rawContractState(request: _97.QueryRawContractStateRequest): import("..").MobxResponse<_97.QueryRawContractStateResponse>; - }; - }; - QuerySmartContractStateStore: { - new (): { - store: import("..").QueryStore<_97.QuerySmartContractStateRequest, _97.QuerySmartContractStateResponse>; - smartContractState(request: _97.QuerySmartContractStateRequest): import("..").MobxResponse<_97.QuerySmartContractStateResponse>; - }; - }; - QueryCodeStore: { - new (): { - store: import("..").QueryStore<_97.QueryCodeRequest, _97.QueryCodeResponse>; - code(request: _97.QueryCodeRequest): import("..").MobxResponse<_97.QueryCodeResponse>; - }; - }; - QueryCodesStore: { - new (): { - store: import("..").QueryStore<_97.QueryCodesRequest, _97.QueryCodesResponse>; - codes(request: _97.QueryCodesRequest): import("..").MobxResponse<_97.QueryCodesResponse>; - }; - }; - QueryPinnedCodesStore: { - new (): { - store: import("..").QueryStore<_97.QueryPinnedCodesRequest, _97.QueryPinnedCodesResponse>; - pinnedCodes(request: _97.QueryPinnedCodesRequest): import("..").MobxResponse<_97.QueryPinnedCodesResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - storeCode(value: _98.MsgStoreCode): { - typeUrl: string; - value: Uint8Array; - }; - instantiateContract(value: _98.MsgInstantiateContract): { - typeUrl: string; - value: Uint8Array; - }; - executeContract(value: _98.MsgExecuteContract): { - typeUrl: string; - value: Uint8Array; - }; - migrateContract(value: _98.MsgMigrateContract): { - typeUrl: string; - value: Uint8Array; - }; - updateAdmin(value: _98.MsgUpdateAdmin): { - typeUrl: string; - value: Uint8Array; - }; - clearAdmin(value: _98.MsgClearAdmin): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - storeCode(value: _98.MsgStoreCode): { - typeUrl: string; - value: _98.MsgStoreCode; - }; - instantiateContract(value: _98.MsgInstantiateContract): { - typeUrl: string; - value: _98.MsgInstantiateContract; - }; - executeContract(value: _98.MsgExecuteContract): { - typeUrl: string; - value: _98.MsgExecuteContract; - }; - migrateContract(value: _98.MsgMigrateContract): { - typeUrl: string; - value: _98.MsgMigrateContract; - }; - updateAdmin(value: _98.MsgUpdateAdmin): { - typeUrl: string; - value: _98.MsgUpdateAdmin; - }; - clearAdmin(value: _98.MsgClearAdmin): { - typeUrl: string; - value: _98.MsgClearAdmin; - }; - }; - toJSON: { - storeCode(value: _98.MsgStoreCode): { - typeUrl: string; - value: unknown; - }; - instantiateContract(value: _98.MsgInstantiateContract): { - typeUrl: string; - value: unknown; - }; - executeContract(value: _98.MsgExecuteContract): { - typeUrl: string; - value: unknown; - }; - migrateContract(value: _98.MsgMigrateContract): { - typeUrl: string; - value: unknown; - }; - updateAdmin(value: _98.MsgUpdateAdmin): { - typeUrl: string; - value: unknown; - }; - clearAdmin(value: _98.MsgClearAdmin): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - storeCode(value: any): { - typeUrl: string; - value: _98.MsgStoreCode; - }; - instantiateContract(value: any): { - typeUrl: string; - value: _98.MsgInstantiateContract; - }; - executeContract(value: any): { - typeUrl: string; - value: _98.MsgExecuteContract; - }; - migrateContract(value: any): { - typeUrl: string; - value: _98.MsgMigrateContract; - }; - updateAdmin(value: any): { - typeUrl: string; - value: _98.MsgUpdateAdmin; - }; - clearAdmin(value: any): { - typeUrl: string; - value: _98.MsgClearAdmin; - }; - }; - fromPartial: { - storeCode(value: _98.MsgStoreCode): { - typeUrl: string; - value: _98.MsgStoreCode; - }; - instantiateContract(value: _98.MsgInstantiateContract): { - typeUrl: string; - value: _98.MsgInstantiateContract; - }; - executeContract(value: _98.MsgExecuteContract): { - typeUrl: string; - value: _98.MsgExecuteContract; - }; - migrateContract(value: _98.MsgMigrateContract): { - typeUrl: string; - value: _98.MsgMigrateContract; - }; - updateAdmin(value: _98.MsgUpdateAdmin): { - typeUrl: string; - value: _98.MsgUpdateAdmin; - }; - clearAdmin(value: _98.MsgClearAdmin): { - typeUrl: string; - value: _98.MsgClearAdmin; - }; - }; - }; - AminoConverter: { - "/cosmwasm.wasm.v1.MsgStoreCode": { - aminoType: string; - toAmino: (message: _98.MsgStoreCode) => _98.MsgStoreCodeAmino; - fromAmino: (object: _98.MsgStoreCodeAmino) => _98.MsgStoreCode; - }; - "/cosmwasm.wasm.v1.MsgInstantiateContract": { - aminoType: string; - toAmino: (message: _98.MsgInstantiateContract) => _98.MsgInstantiateContractAmino; - fromAmino: (object: _98.MsgInstantiateContractAmino) => _98.MsgInstantiateContract; - }; - "/cosmwasm.wasm.v1.MsgExecuteContract": { - aminoType: string; - toAmino: (message: _98.MsgExecuteContract) => _98.MsgExecuteContractAmino; - fromAmino: (object: _98.MsgExecuteContractAmino) => _98.MsgExecuteContract; - }; - "/cosmwasm.wasm.v1.MsgMigrateContract": { - aminoType: string; - toAmino: (message: _98.MsgMigrateContract) => _98.MsgMigrateContractAmino; - fromAmino: (object: _98.MsgMigrateContractAmino) => _98.MsgMigrateContract; - }; - "/cosmwasm.wasm.v1.MsgUpdateAdmin": { - aminoType: string; - toAmino: (message: _98.MsgUpdateAdmin) => _98.MsgUpdateAdminAmino; - fromAmino: (object: _98.MsgUpdateAdminAmino) => _98.MsgUpdateAdmin; - }; - "/cosmwasm.wasm.v1.MsgClearAdmin": { - aminoType: string; - toAmino: (message: _98.MsgClearAdmin) => _98.MsgClearAdminAmino; - fromAmino: (object: _98.MsgClearAdminAmino) => _98.MsgClearAdmin; - }; - }; - accessTypeFromJSON(object: any): _99.AccessType; - accessTypeToJSON(object: _99.AccessType): string; - contractCodeHistoryOperationTypeFromJSON(object: any): _99.ContractCodeHistoryOperationType; - contractCodeHistoryOperationTypeToJSON(object: _99.ContractCodeHistoryOperationType): string; - AccessType: typeof _99.AccessType; - AccessTypeSDKType: typeof _99.AccessType; - AccessTypeAmino: typeof _99.AccessType; - ContractCodeHistoryOperationType: typeof _99.ContractCodeHistoryOperationType; - ContractCodeHistoryOperationTypeSDKType: typeof _99.ContractCodeHistoryOperationType; - ContractCodeHistoryOperationTypeAmino: typeof _99.ContractCodeHistoryOperationType; - AccessTypeParam: { - typeUrl: string; - aminoType: string; - is(o: any): o is _99.AccessTypeParam; - isSDK(o: any): o is _99.AccessTypeParamSDKType; - isAmino(o: any): o is _99.AccessTypeParamAmino; - encode(message: _99.AccessTypeParam, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _99.AccessTypeParam; - fromJSON(object: any): _99.AccessTypeParam; - toJSON(message: _99.AccessTypeParam): unknown; - fromPartial(object: { - value?: _99.AccessType; - }): _99.AccessTypeParam; - fromSDK(object: _99.AccessTypeParamSDKType): _99.AccessTypeParam; - toSDK(message: _99.AccessTypeParam): _99.AccessTypeParamSDKType; - fromAmino(object: _99.AccessTypeParamAmino): _99.AccessTypeParam; - toAmino(message: _99.AccessTypeParam): _99.AccessTypeParamAmino; - fromAminoMsg(object: _99.AccessTypeParamAminoMsg): _99.AccessTypeParam; - toAminoMsg(message: _99.AccessTypeParam): _99.AccessTypeParamAminoMsg; - fromProtoMsg(message: _99.AccessTypeParamProtoMsg): _99.AccessTypeParam; - toProto(message: _99.AccessTypeParam): Uint8Array; - toProtoMsg(message: _99.AccessTypeParam): _99.AccessTypeParamProtoMsg; - }; - AccessConfig: { - typeUrl: string; - aminoType: string; - is(o: any): o is _99.AccessConfig; - isSDK(o: any): o is _99.AccessConfigSDKType; - isAmino(o: any): o is _99.AccessConfigAmino; - encode(message: _99.AccessConfig, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _99.AccessConfig; - fromJSON(object: any): _99.AccessConfig; - toJSON(message: _99.AccessConfig): unknown; - fromPartial(object: { - permission?: _99.AccessType; - address?: string; - }): _99.AccessConfig; - fromSDK(object: _99.AccessConfigSDKType): _99.AccessConfig; - toSDK(message: _99.AccessConfig): _99.AccessConfigSDKType; - fromAmino(object: _99.AccessConfigAmino): _99.AccessConfig; - toAmino(message: _99.AccessConfig): _99.AccessConfigAmino; - fromAminoMsg(object: _99.AccessConfigAminoMsg): _99.AccessConfig; - toAminoMsg(message: _99.AccessConfig): _99.AccessConfigAminoMsg; - fromProtoMsg(message: _99.AccessConfigProtoMsg): _99.AccessConfig; - toProto(message: _99.AccessConfig): Uint8Array; - toProtoMsg(message: _99.AccessConfig): _99.AccessConfigProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _99.Params; - isSDK(o: any): o is _99.ParamsSDKType; - isAmino(o: any): o is _99.ParamsAmino; - encode(message: _99.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _99.Params; - fromJSON(object: any): _99.Params; - toJSON(message: _99.Params): unknown; - fromPartial(object: { - codeUploadAccess?: { - permission?: _99.AccessType; - address?: string; - }; - instantiateDefaultPermission?: _99.AccessType; - maxWasmCodeSize?: bigint; - }): _99.Params; - fromSDK(object: _99.ParamsSDKType): _99.Params; - toSDK(message: _99.Params): _99.ParamsSDKType; - fromAmino(object: _99.ParamsAmino): _99.Params; - toAmino(message: _99.Params): _99.ParamsAmino; - fromAminoMsg(object: _99.ParamsAminoMsg): _99.Params; - toAminoMsg(message: _99.Params): _99.ParamsAminoMsg; - fromProtoMsg(message: _99.ParamsProtoMsg): _99.Params; - toProto(message: _99.Params): Uint8Array; - toProtoMsg(message: _99.Params): _99.ParamsProtoMsg; - }; - CodeInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _99.CodeInfo; - isSDK(o: any): o is _99.CodeInfoSDKType; - isAmino(o: any): o is _99.CodeInfoAmino; - encode(message: _99.CodeInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _99.CodeInfo; - fromJSON(object: any): _99.CodeInfo; - toJSON(message: _99.CodeInfo): unknown; - fromPartial(object: { - codeHash?: Uint8Array; - creator?: string; - instantiateConfig?: { - permission?: _99.AccessType; - address?: string; - }; - }): _99.CodeInfo; - fromSDK(object: _99.CodeInfoSDKType): _99.CodeInfo; - toSDK(message: _99.CodeInfo): _99.CodeInfoSDKType; - fromAmino(object: _99.CodeInfoAmino): _99.CodeInfo; - toAmino(message: _99.CodeInfo): _99.CodeInfoAmino; - fromAminoMsg(object: _99.CodeInfoAminoMsg): _99.CodeInfo; - toAminoMsg(message: _99.CodeInfo): _99.CodeInfoAminoMsg; - fromProtoMsg(message: _99.CodeInfoProtoMsg): _99.CodeInfo; - toProto(message: _99.CodeInfo): Uint8Array; - toProtoMsg(message: _99.CodeInfo): _99.CodeInfoProtoMsg; - }; - ContractInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _99.ContractInfo; - isSDK(o: any): o is _99.ContractInfoSDKType; - isAmino(o: any): o is _99.ContractInfoAmino; - encode(message: _99.ContractInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _99.ContractInfo; - fromJSON(object: any): _99.ContractInfo; - toJSON(message: _99.ContractInfo): unknown; - fromPartial(object: { - codeId?: bigint; - creator?: string; - admin?: string; - label?: string; - created?: { - blockHeight?: bigint; - txIndex?: bigint; - }; - ibcPortId?: string; - extension?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _99.ContractInfo; - fromSDK(object: _99.ContractInfoSDKType): _99.ContractInfo; - toSDK(message: _99.ContractInfo): _99.ContractInfoSDKType; - fromAmino(object: _99.ContractInfoAmino): _99.ContractInfo; - toAmino(message: _99.ContractInfo): _99.ContractInfoAmino; - fromAminoMsg(object: _99.ContractInfoAminoMsg): _99.ContractInfo; - toAminoMsg(message: _99.ContractInfo): _99.ContractInfoAminoMsg; - fromProtoMsg(message: _99.ContractInfoProtoMsg): _99.ContractInfo; - toProto(message: _99.ContractInfo): Uint8Array; - toProtoMsg(message: _99.ContractInfo): _99.ContractInfoProtoMsg; - }; - ContractCodeHistoryEntry: { - typeUrl: string; - aminoType: string; - is(o: any): o is _99.ContractCodeHistoryEntry; - isSDK(o: any): o is _99.ContractCodeHistoryEntrySDKType; - isAmino(o: any): o is _99.ContractCodeHistoryEntryAmino; - encode(message: _99.ContractCodeHistoryEntry, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _99.ContractCodeHistoryEntry; - fromJSON(object: any): _99.ContractCodeHistoryEntry; - toJSON(message: _99.ContractCodeHistoryEntry): unknown; - fromPartial(object: { - operation?: _99.ContractCodeHistoryOperationType; - codeId?: bigint; - updated?: { - blockHeight?: bigint; - txIndex?: bigint; - }; - msg?: Uint8Array; - }): _99.ContractCodeHistoryEntry; - fromSDK(object: _99.ContractCodeHistoryEntrySDKType): _99.ContractCodeHistoryEntry; - toSDK(message: _99.ContractCodeHistoryEntry): _99.ContractCodeHistoryEntrySDKType; - fromAmino(object: _99.ContractCodeHistoryEntryAmino): _99.ContractCodeHistoryEntry; - toAmino(message: _99.ContractCodeHistoryEntry): _99.ContractCodeHistoryEntryAmino; - fromAminoMsg(object: _99.ContractCodeHistoryEntryAminoMsg): _99.ContractCodeHistoryEntry; - toAminoMsg(message: _99.ContractCodeHistoryEntry): _99.ContractCodeHistoryEntryAminoMsg; - fromProtoMsg(message: _99.ContractCodeHistoryEntryProtoMsg): _99.ContractCodeHistoryEntry; - toProto(message: _99.ContractCodeHistoryEntry): Uint8Array; - toProtoMsg(message: _99.ContractCodeHistoryEntry): _99.ContractCodeHistoryEntryProtoMsg; - }; - AbsoluteTxPosition: { - typeUrl: string; - aminoType: string; - is(o: any): o is _99.AbsoluteTxPosition; - isSDK(o: any): o is _99.AbsoluteTxPositionSDKType; - isAmino(o: any): o is _99.AbsoluteTxPositionAmino; - encode(message: _99.AbsoluteTxPosition, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _99.AbsoluteTxPosition; - fromJSON(object: any): _99.AbsoluteTxPosition; - toJSON(message: _99.AbsoluteTxPosition): unknown; - fromPartial(object: { - blockHeight?: bigint; - txIndex?: bigint; - }): _99.AbsoluteTxPosition; - fromSDK(object: _99.AbsoluteTxPositionSDKType): _99.AbsoluteTxPosition; - toSDK(message: _99.AbsoluteTxPosition): _99.AbsoluteTxPositionSDKType; - fromAmino(object: _99.AbsoluteTxPositionAmino): _99.AbsoluteTxPosition; - toAmino(message: _99.AbsoluteTxPosition): _99.AbsoluteTxPositionAmino; - fromAminoMsg(object: _99.AbsoluteTxPositionAminoMsg): _99.AbsoluteTxPosition; - toAminoMsg(message: _99.AbsoluteTxPosition): _99.AbsoluteTxPositionAminoMsg; - fromProtoMsg(message: _99.AbsoluteTxPositionProtoMsg): _99.AbsoluteTxPosition; - toProto(message: _99.AbsoluteTxPosition): Uint8Array; - toProtoMsg(message: _99.AbsoluteTxPosition): _99.AbsoluteTxPositionProtoMsg; - }; - Model: { - typeUrl: string; - aminoType: string; - is(o: any): o is _99.Model; - isSDK(o: any): o is _99.ModelSDKType; - isAmino(o: any): o is _99.ModelAmino; - encode(message: _99.Model, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _99.Model; - fromJSON(object: any): _99.Model; - toJSON(message: _99.Model): unknown; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - }): _99.Model; - fromSDK(object: _99.ModelSDKType): _99.Model; - toSDK(message: _99.Model): _99.ModelSDKType; - fromAmino(object: _99.ModelAmino): _99.Model; - toAmino(message: _99.Model): _99.ModelAmino; - fromAminoMsg(object: _99.ModelAminoMsg): _99.Model; - toAminoMsg(message: _99.Model): _99.ModelAminoMsg; - fromProtoMsg(message: _99.ModelProtoMsg): _99.Model; - toProto(message: _99.Model): Uint8Array; - toProtoMsg(message: _99.Model): _99.ModelProtoMsg; - }; - MsgStoreCode: { - typeUrl: string; - aminoType: string; - is(o: any): o is _98.MsgStoreCode; - isSDK(o: any): o is _98.MsgStoreCodeSDKType; - isAmino(o: any): o is _98.MsgStoreCodeAmino; - encode(message: _98.MsgStoreCode, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _98.MsgStoreCode; - fromJSON(object: any): _98.MsgStoreCode; - toJSON(message: _98.MsgStoreCode): unknown; - fromPartial(object: { - sender?: string; - wasmByteCode?: Uint8Array; - instantiatePermission?: { - permission?: _99.AccessType; - address?: string; - }; - }): _98.MsgStoreCode; - fromSDK(object: _98.MsgStoreCodeSDKType): _98.MsgStoreCode; - toSDK(message: _98.MsgStoreCode): _98.MsgStoreCodeSDKType; - fromAmino(object: _98.MsgStoreCodeAmino): _98.MsgStoreCode; - toAmino(message: _98.MsgStoreCode): _98.MsgStoreCodeAmino; - fromAminoMsg(object: _98.MsgStoreCodeAminoMsg): _98.MsgStoreCode; - toAminoMsg(message: _98.MsgStoreCode): _98.MsgStoreCodeAminoMsg; - fromProtoMsg(message: _98.MsgStoreCodeProtoMsg): _98.MsgStoreCode; - toProto(message: _98.MsgStoreCode): Uint8Array; - toProtoMsg(message: _98.MsgStoreCode): _98.MsgStoreCodeProtoMsg; - }; - MsgStoreCodeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _98.MsgStoreCodeResponse; - isSDK(o: any): o is _98.MsgStoreCodeResponseSDKType; - isAmino(o: any): o is _98.MsgStoreCodeResponseAmino; - encode(message: _98.MsgStoreCodeResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _98.MsgStoreCodeResponse; - fromJSON(object: any): _98.MsgStoreCodeResponse; - toJSON(message: _98.MsgStoreCodeResponse): unknown; - fromPartial(object: { - codeId?: bigint; - }): _98.MsgStoreCodeResponse; - fromSDK(object: _98.MsgStoreCodeResponseSDKType): _98.MsgStoreCodeResponse; - toSDK(message: _98.MsgStoreCodeResponse): _98.MsgStoreCodeResponseSDKType; - fromAmino(object: _98.MsgStoreCodeResponseAmino): _98.MsgStoreCodeResponse; - toAmino(message: _98.MsgStoreCodeResponse): _98.MsgStoreCodeResponseAmino; - fromAminoMsg(object: _98.MsgStoreCodeResponseAminoMsg): _98.MsgStoreCodeResponse; - toAminoMsg(message: _98.MsgStoreCodeResponse): _98.MsgStoreCodeResponseAminoMsg; - fromProtoMsg(message: _98.MsgStoreCodeResponseProtoMsg): _98.MsgStoreCodeResponse; - toProto(message: _98.MsgStoreCodeResponse): Uint8Array; - toProtoMsg(message: _98.MsgStoreCodeResponse): _98.MsgStoreCodeResponseProtoMsg; - }; - MsgInstantiateContract: { - typeUrl: string; - aminoType: string; - is(o: any): o is _98.MsgInstantiateContract; - isSDK(o: any): o is _98.MsgInstantiateContractSDKType; - isAmino(o: any): o is _98.MsgInstantiateContractAmino; - encode(message: _98.MsgInstantiateContract, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _98.MsgInstantiateContract; - fromJSON(object: any): _98.MsgInstantiateContract; - toJSON(message: _98.MsgInstantiateContract): unknown; - fromPartial(object: { - sender?: string; - admin?: string; - codeId?: bigint; - label?: string; - msg?: Uint8Array; - funds?: { - denom?: string; - amount?: string; - }[]; - }): _98.MsgInstantiateContract; - fromSDK(object: _98.MsgInstantiateContractSDKType): _98.MsgInstantiateContract; - toSDK(message: _98.MsgInstantiateContract): _98.MsgInstantiateContractSDKType; - fromAmino(object: _98.MsgInstantiateContractAmino): _98.MsgInstantiateContract; - toAmino(message: _98.MsgInstantiateContract): _98.MsgInstantiateContractAmino; - fromAminoMsg(object: _98.MsgInstantiateContractAminoMsg): _98.MsgInstantiateContract; - toAminoMsg(message: _98.MsgInstantiateContract): _98.MsgInstantiateContractAminoMsg; - fromProtoMsg(message: _98.MsgInstantiateContractProtoMsg): _98.MsgInstantiateContract; - toProto(message: _98.MsgInstantiateContract): Uint8Array; - toProtoMsg(message: _98.MsgInstantiateContract): _98.MsgInstantiateContractProtoMsg; - }; - MsgInstantiateContractResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _98.MsgInstantiateContractResponse; - isSDK(o: any): o is _98.MsgInstantiateContractResponseSDKType; - isAmino(o: any): o is _98.MsgInstantiateContractResponseAmino; - encode(message: _98.MsgInstantiateContractResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _98.MsgInstantiateContractResponse; - fromJSON(object: any): _98.MsgInstantiateContractResponse; - toJSON(message: _98.MsgInstantiateContractResponse): unknown; - fromPartial(object: { - address?: string; - data?: Uint8Array; - }): _98.MsgInstantiateContractResponse; - fromSDK(object: _98.MsgInstantiateContractResponseSDKType): _98.MsgInstantiateContractResponse; - toSDK(message: _98.MsgInstantiateContractResponse): _98.MsgInstantiateContractResponseSDKType; - fromAmino(object: _98.MsgInstantiateContractResponseAmino): _98.MsgInstantiateContractResponse; - toAmino(message: _98.MsgInstantiateContractResponse): _98.MsgInstantiateContractResponseAmino; - fromAminoMsg(object: _98.MsgInstantiateContractResponseAminoMsg): _98.MsgInstantiateContractResponse; - toAminoMsg(message: _98.MsgInstantiateContractResponse): _98.MsgInstantiateContractResponseAminoMsg; - fromProtoMsg(message: _98.MsgInstantiateContractResponseProtoMsg): _98.MsgInstantiateContractResponse; - toProto(message: _98.MsgInstantiateContractResponse): Uint8Array; - toProtoMsg(message: _98.MsgInstantiateContractResponse): _98.MsgInstantiateContractResponseProtoMsg; - }; - MsgExecuteContract: { - typeUrl: string; - aminoType: string; - is(o: any): o is _98.MsgExecuteContract; - isSDK(o: any): o is _98.MsgExecuteContractSDKType; - isAmino(o: any): o is _98.MsgExecuteContractAmino; - encode(message: _98.MsgExecuteContract, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _98.MsgExecuteContract; - fromJSON(object: any): _98.MsgExecuteContract; - toJSON(message: _98.MsgExecuteContract): unknown; - fromPartial(object: { - sender?: string; - contract?: string; - msg?: Uint8Array; - funds?: { - denom?: string; - amount?: string; - }[]; - }): _98.MsgExecuteContract; - fromSDK(object: _98.MsgExecuteContractSDKType): _98.MsgExecuteContract; - toSDK(message: _98.MsgExecuteContract): _98.MsgExecuteContractSDKType; - fromAmino(object: _98.MsgExecuteContractAmino): _98.MsgExecuteContract; - toAmino(message: _98.MsgExecuteContract): _98.MsgExecuteContractAmino; - fromAminoMsg(object: _98.MsgExecuteContractAminoMsg): _98.MsgExecuteContract; - toAminoMsg(message: _98.MsgExecuteContract): _98.MsgExecuteContractAminoMsg; - fromProtoMsg(message: _98.MsgExecuteContractProtoMsg): _98.MsgExecuteContract; - toProto(message: _98.MsgExecuteContract): Uint8Array; - toProtoMsg(message: _98.MsgExecuteContract): _98.MsgExecuteContractProtoMsg; - }; - MsgExecuteContractResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _98.MsgExecuteContractResponse; - isSDK(o: any): o is _98.MsgExecuteContractResponseSDKType; - isAmino(o: any): o is _98.MsgExecuteContractResponseAmino; - encode(message: _98.MsgExecuteContractResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _98.MsgExecuteContractResponse; - fromJSON(object: any): _98.MsgExecuteContractResponse; - toJSON(message: _98.MsgExecuteContractResponse): unknown; - fromPartial(object: { - data?: Uint8Array; - }): _98.MsgExecuteContractResponse; - fromSDK(object: _98.MsgExecuteContractResponseSDKType): _98.MsgExecuteContractResponse; - toSDK(message: _98.MsgExecuteContractResponse): _98.MsgExecuteContractResponseSDKType; - fromAmino(object: _98.MsgExecuteContractResponseAmino): _98.MsgExecuteContractResponse; - toAmino(message: _98.MsgExecuteContractResponse): _98.MsgExecuteContractResponseAmino; - fromAminoMsg(object: _98.MsgExecuteContractResponseAminoMsg): _98.MsgExecuteContractResponse; - toAminoMsg(message: _98.MsgExecuteContractResponse): _98.MsgExecuteContractResponseAminoMsg; - fromProtoMsg(message: _98.MsgExecuteContractResponseProtoMsg): _98.MsgExecuteContractResponse; - toProto(message: _98.MsgExecuteContractResponse): Uint8Array; - toProtoMsg(message: _98.MsgExecuteContractResponse): _98.MsgExecuteContractResponseProtoMsg; - }; - MsgMigrateContract: { - typeUrl: string; - aminoType: string; - is(o: any): o is _98.MsgMigrateContract; - isSDK(o: any): o is _98.MsgMigrateContractSDKType; - isAmino(o: any): o is _98.MsgMigrateContractAmino; - encode(message: _98.MsgMigrateContract, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _98.MsgMigrateContract; - fromJSON(object: any): _98.MsgMigrateContract; - toJSON(message: _98.MsgMigrateContract): unknown; - fromPartial(object: { - sender?: string; - contract?: string; - codeId?: bigint; - msg?: Uint8Array; - }): _98.MsgMigrateContract; - fromSDK(object: _98.MsgMigrateContractSDKType): _98.MsgMigrateContract; - toSDK(message: _98.MsgMigrateContract): _98.MsgMigrateContractSDKType; - fromAmino(object: _98.MsgMigrateContractAmino): _98.MsgMigrateContract; - toAmino(message: _98.MsgMigrateContract): _98.MsgMigrateContractAmino; - fromAminoMsg(object: _98.MsgMigrateContractAminoMsg): _98.MsgMigrateContract; - toAminoMsg(message: _98.MsgMigrateContract): _98.MsgMigrateContractAminoMsg; - fromProtoMsg(message: _98.MsgMigrateContractProtoMsg): _98.MsgMigrateContract; - toProto(message: _98.MsgMigrateContract): Uint8Array; - toProtoMsg(message: _98.MsgMigrateContract): _98.MsgMigrateContractProtoMsg; - }; - MsgMigrateContractResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _98.MsgMigrateContractResponse; - isSDK(o: any): o is _98.MsgMigrateContractResponseSDKType; - isAmino(o: any): o is _98.MsgMigrateContractResponseAmino; - encode(message: _98.MsgMigrateContractResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _98.MsgMigrateContractResponse; - fromJSON(object: any): _98.MsgMigrateContractResponse; - toJSON(message: _98.MsgMigrateContractResponse): unknown; - fromPartial(object: { - data?: Uint8Array; - }): _98.MsgMigrateContractResponse; - fromSDK(object: _98.MsgMigrateContractResponseSDKType): _98.MsgMigrateContractResponse; - toSDK(message: _98.MsgMigrateContractResponse): _98.MsgMigrateContractResponseSDKType; - fromAmino(object: _98.MsgMigrateContractResponseAmino): _98.MsgMigrateContractResponse; - toAmino(message: _98.MsgMigrateContractResponse): _98.MsgMigrateContractResponseAmino; - fromAminoMsg(object: _98.MsgMigrateContractResponseAminoMsg): _98.MsgMigrateContractResponse; - toAminoMsg(message: _98.MsgMigrateContractResponse): _98.MsgMigrateContractResponseAminoMsg; - fromProtoMsg(message: _98.MsgMigrateContractResponseProtoMsg): _98.MsgMigrateContractResponse; - toProto(message: _98.MsgMigrateContractResponse): Uint8Array; - toProtoMsg(message: _98.MsgMigrateContractResponse): _98.MsgMigrateContractResponseProtoMsg; - }; - MsgUpdateAdmin: { - typeUrl: string; - aminoType: string; - is(o: any): o is _98.MsgUpdateAdmin; - isSDK(o: any): o is _98.MsgUpdateAdminSDKType; - isAmino(o: any): o is _98.MsgUpdateAdminAmino; - encode(message: _98.MsgUpdateAdmin, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _98.MsgUpdateAdmin; - fromJSON(object: any): _98.MsgUpdateAdmin; - toJSON(message: _98.MsgUpdateAdmin): unknown; - fromPartial(object: { - sender?: string; - newAdmin?: string; - contract?: string; - }): _98.MsgUpdateAdmin; - fromSDK(object: _98.MsgUpdateAdminSDKType): _98.MsgUpdateAdmin; - toSDK(message: _98.MsgUpdateAdmin): _98.MsgUpdateAdminSDKType; - fromAmino(object: _98.MsgUpdateAdminAmino): _98.MsgUpdateAdmin; - toAmino(message: _98.MsgUpdateAdmin): _98.MsgUpdateAdminAmino; - fromAminoMsg(object: _98.MsgUpdateAdminAminoMsg): _98.MsgUpdateAdmin; - toAminoMsg(message: _98.MsgUpdateAdmin): _98.MsgUpdateAdminAminoMsg; - fromProtoMsg(message: _98.MsgUpdateAdminProtoMsg): _98.MsgUpdateAdmin; - toProto(message: _98.MsgUpdateAdmin): Uint8Array; - toProtoMsg(message: _98.MsgUpdateAdmin): _98.MsgUpdateAdminProtoMsg; - }; - MsgUpdateAdminResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _98.MsgUpdateAdminResponse; - isSDK(o: any): o is _98.MsgUpdateAdminResponseSDKType; - isAmino(o: any): o is _98.MsgUpdateAdminResponseAmino; - encode(_: _98.MsgUpdateAdminResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _98.MsgUpdateAdminResponse; - fromJSON(_: any): _98.MsgUpdateAdminResponse; - toJSON(_: _98.MsgUpdateAdminResponse): unknown; - fromPartial(_: {}): _98.MsgUpdateAdminResponse; - fromSDK(_: _98.MsgUpdateAdminResponseSDKType): _98.MsgUpdateAdminResponse; - toSDK(_: _98.MsgUpdateAdminResponse): _98.MsgUpdateAdminResponseSDKType; - fromAmino(_: _98.MsgUpdateAdminResponseAmino): _98.MsgUpdateAdminResponse; - toAmino(_: _98.MsgUpdateAdminResponse): _98.MsgUpdateAdminResponseAmino; - fromAminoMsg(object: _98.MsgUpdateAdminResponseAminoMsg): _98.MsgUpdateAdminResponse; - toAminoMsg(message: _98.MsgUpdateAdminResponse): _98.MsgUpdateAdminResponseAminoMsg; - fromProtoMsg(message: _98.MsgUpdateAdminResponseProtoMsg): _98.MsgUpdateAdminResponse; - toProto(message: _98.MsgUpdateAdminResponse): Uint8Array; - toProtoMsg(message: _98.MsgUpdateAdminResponse): _98.MsgUpdateAdminResponseProtoMsg; - }; - MsgClearAdmin: { - typeUrl: string; - aminoType: string; - is(o: any): o is _98.MsgClearAdmin; - isSDK(o: any): o is _98.MsgClearAdminSDKType; - isAmino(o: any): o is _98.MsgClearAdminAmino; - encode(message: _98.MsgClearAdmin, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _98.MsgClearAdmin; - fromJSON(object: any): _98.MsgClearAdmin; - toJSON(message: _98.MsgClearAdmin): unknown; - fromPartial(object: { - sender?: string; - contract?: string; - }): _98.MsgClearAdmin; - fromSDK(object: _98.MsgClearAdminSDKType): _98.MsgClearAdmin; - toSDK(message: _98.MsgClearAdmin): _98.MsgClearAdminSDKType; - fromAmino(object: _98.MsgClearAdminAmino): _98.MsgClearAdmin; - toAmino(message: _98.MsgClearAdmin): _98.MsgClearAdminAmino; - fromAminoMsg(object: _98.MsgClearAdminAminoMsg): _98.MsgClearAdmin; - toAminoMsg(message: _98.MsgClearAdmin): _98.MsgClearAdminAminoMsg; - fromProtoMsg(message: _98.MsgClearAdminProtoMsg): _98.MsgClearAdmin; - toProto(message: _98.MsgClearAdmin): Uint8Array; - toProtoMsg(message: _98.MsgClearAdmin): _98.MsgClearAdminProtoMsg; - }; - MsgClearAdminResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _98.MsgClearAdminResponse; - isSDK(o: any): o is _98.MsgClearAdminResponseSDKType; - isAmino(o: any): o is _98.MsgClearAdminResponseAmino; - encode(_: _98.MsgClearAdminResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _98.MsgClearAdminResponse; - fromJSON(_: any): _98.MsgClearAdminResponse; - toJSON(_: _98.MsgClearAdminResponse): unknown; - fromPartial(_: {}): _98.MsgClearAdminResponse; - fromSDK(_: _98.MsgClearAdminResponseSDKType): _98.MsgClearAdminResponse; - toSDK(_: _98.MsgClearAdminResponse): _98.MsgClearAdminResponseSDKType; - fromAmino(_: _98.MsgClearAdminResponseAmino): _98.MsgClearAdminResponse; - toAmino(_: _98.MsgClearAdminResponse): _98.MsgClearAdminResponseAmino; - fromAminoMsg(object: _98.MsgClearAdminResponseAminoMsg): _98.MsgClearAdminResponse; - toAminoMsg(message: _98.MsgClearAdminResponse): _98.MsgClearAdminResponseAminoMsg; - fromProtoMsg(message: _98.MsgClearAdminResponseProtoMsg): _98.MsgClearAdminResponse; - toProto(message: _98.MsgClearAdminResponse): Uint8Array; - toProtoMsg(message: _98.MsgClearAdminResponse): _98.MsgClearAdminResponseProtoMsg; - }; - QueryContractInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryContractInfoRequest; - isSDK(o: any): o is _97.QueryContractInfoRequestSDKType; - isAmino(o: any): o is _97.QueryContractInfoRequestAmino; - encode(message: _97.QueryContractInfoRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryContractInfoRequest; - fromJSON(object: any): _97.QueryContractInfoRequest; - toJSON(message: _97.QueryContractInfoRequest): unknown; - fromPartial(object: { - address?: string; - }): _97.QueryContractInfoRequest; - fromSDK(object: _97.QueryContractInfoRequestSDKType): _97.QueryContractInfoRequest; - toSDK(message: _97.QueryContractInfoRequest): _97.QueryContractInfoRequestSDKType; - fromAmino(object: _97.QueryContractInfoRequestAmino): _97.QueryContractInfoRequest; - toAmino(message: _97.QueryContractInfoRequest): _97.QueryContractInfoRequestAmino; - fromAminoMsg(object: _97.QueryContractInfoRequestAminoMsg): _97.QueryContractInfoRequest; - toAminoMsg(message: _97.QueryContractInfoRequest): _97.QueryContractInfoRequestAminoMsg; - fromProtoMsg(message: _97.QueryContractInfoRequestProtoMsg): _97.QueryContractInfoRequest; - toProto(message: _97.QueryContractInfoRequest): Uint8Array; - toProtoMsg(message: _97.QueryContractInfoRequest): _97.QueryContractInfoRequestProtoMsg; - }; - QueryContractInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryContractInfoResponse; - isSDK(o: any): o is _97.QueryContractInfoResponseSDKType; - isAmino(o: any): o is _97.QueryContractInfoResponseAmino; - encode(message: _97.QueryContractInfoResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryContractInfoResponse; - fromJSON(object: any): _97.QueryContractInfoResponse; - toJSON(message: _97.QueryContractInfoResponse): unknown; - fromPartial(object: { - address?: string; - contractInfo?: { - codeId?: bigint; - creator?: string; - admin?: string; - label?: string; - created?: { - blockHeight?: bigint; - txIndex?: bigint; - }; - ibcPortId?: string; - extension?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }; - }): _97.QueryContractInfoResponse; - fromSDK(object: _97.QueryContractInfoResponseSDKType): _97.QueryContractInfoResponse; - toSDK(message: _97.QueryContractInfoResponse): _97.QueryContractInfoResponseSDKType; - fromAmino(object: _97.QueryContractInfoResponseAmino): _97.QueryContractInfoResponse; - toAmino(message: _97.QueryContractInfoResponse): _97.QueryContractInfoResponseAmino; - fromAminoMsg(object: _97.QueryContractInfoResponseAminoMsg): _97.QueryContractInfoResponse; - toAminoMsg(message: _97.QueryContractInfoResponse): _97.QueryContractInfoResponseAminoMsg; - fromProtoMsg(message: _97.QueryContractInfoResponseProtoMsg): _97.QueryContractInfoResponse; - toProto(message: _97.QueryContractInfoResponse): Uint8Array; - toProtoMsg(message: _97.QueryContractInfoResponse): _97.QueryContractInfoResponseProtoMsg; - }; - QueryContractHistoryRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryContractHistoryRequest; - isSDK(o: any): o is _97.QueryContractHistoryRequestSDKType; - isAmino(o: any): o is _97.QueryContractHistoryRequestAmino; - encode(message: _97.QueryContractHistoryRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryContractHistoryRequest; - fromJSON(object: any): _97.QueryContractHistoryRequest; - toJSON(message: _97.QueryContractHistoryRequest): unknown; - fromPartial(object: { - address?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _97.QueryContractHistoryRequest; - fromSDK(object: _97.QueryContractHistoryRequestSDKType): _97.QueryContractHistoryRequest; - toSDK(message: _97.QueryContractHistoryRequest): _97.QueryContractHistoryRequestSDKType; - fromAmino(object: _97.QueryContractHistoryRequestAmino): _97.QueryContractHistoryRequest; - toAmino(message: _97.QueryContractHistoryRequest): _97.QueryContractHistoryRequestAmino; - fromAminoMsg(object: _97.QueryContractHistoryRequestAminoMsg): _97.QueryContractHistoryRequest; - toAminoMsg(message: _97.QueryContractHistoryRequest): _97.QueryContractHistoryRequestAminoMsg; - fromProtoMsg(message: _97.QueryContractHistoryRequestProtoMsg): _97.QueryContractHistoryRequest; - toProto(message: _97.QueryContractHistoryRequest): Uint8Array; - toProtoMsg(message: _97.QueryContractHistoryRequest): _97.QueryContractHistoryRequestProtoMsg; - }; - QueryContractHistoryResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryContractHistoryResponse; - isSDK(o: any): o is _97.QueryContractHistoryResponseSDKType; - isAmino(o: any): o is _97.QueryContractHistoryResponseAmino; - encode(message: _97.QueryContractHistoryResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryContractHistoryResponse; - fromJSON(object: any): _97.QueryContractHistoryResponse; - toJSON(message: _97.QueryContractHistoryResponse): unknown; - fromPartial(object: { - entries?: { - operation?: _99.ContractCodeHistoryOperationType; - codeId?: bigint; - updated?: { - blockHeight?: bigint; - txIndex?: bigint; - }; - msg?: Uint8Array; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _97.QueryContractHistoryResponse; - fromSDK(object: _97.QueryContractHistoryResponseSDKType): _97.QueryContractHistoryResponse; - toSDK(message: _97.QueryContractHistoryResponse): _97.QueryContractHistoryResponseSDKType; - fromAmino(object: _97.QueryContractHistoryResponseAmino): _97.QueryContractHistoryResponse; - toAmino(message: _97.QueryContractHistoryResponse): _97.QueryContractHistoryResponseAmino; - fromAminoMsg(object: _97.QueryContractHistoryResponseAminoMsg): _97.QueryContractHistoryResponse; - toAminoMsg(message: _97.QueryContractHistoryResponse): _97.QueryContractHistoryResponseAminoMsg; - fromProtoMsg(message: _97.QueryContractHistoryResponseProtoMsg): _97.QueryContractHistoryResponse; - toProto(message: _97.QueryContractHistoryResponse): Uint8Array; - toProtoMsg(message: _97.QueryContractHistoryResponse): _97.QueryContractHistoryResponseProtoMsg; - }; - QueryContractsByCodeRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryContractsByCodeRequest; - isSDK(o: any): o is _97.QueryContractsByCodeRequestSDKType; - isAmino(o: any): o is _97.QueryContractsByCodeRequestAmino; - encode(message: _97.QueryContractsByCodeRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryContractsByCodeRequest; - fromJSON(object: any): _97.QueryContractsByCodeRequest; - toJSON(message: _97.QueryContractsByCodeRequest): unknown; - fromPartial(object: { - codeId?: bigint; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _97.QueryContractsByCodeRequest; - fromSDK(object: _97.QueryContractsByCodeRequestSDKType): _97.QueryContractsByCodeRequest; - toSDK(message: _97.QueryContractsByCodeRequest): _97.QueryContractsByCodeRequestSDKType; - fromAmino(object: _97.QueryContractsByCodeRequestAmino): _97.QueryContractsByCodeRequest; - toAmino(message: _97.QueryContractsByCodeRequest): _97.QueryContractsByCodeRequestAmino; - fromAminoMsg(object: _97.QueryContractsByCodeRequestAminoMsg): _97.QueryContractsByCodeRequest; - toAminoMsg(message: _97.QueryContractsByCodeRequest): _97.QueryContractsByCodeRequestAminoMsg; - fromProtoMsg(message: _97.QueryContractsByCodeRequestProtoMsg): _97.QueryContractsByCodeRequest; - toProto(message: _97.QueryContractsByCodeRequest): Uint8Array; - toProtoMsg(message: _97.QueryContractsByCodeRequest): _97.QueryContractsByCodeRequestProtoMsg; - }; - QueryContractsByCodeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryContractsByCodeResponse; - isSDK(o: any): o is _97.QueryContractsByCodeResponseSDKType; - isAmino(o: any): o is _97.QueryContractsByCodeResponseAmino; - encode(message: _97.QueryContractsByCodeResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryContractsByCodeResponse; - fromJSON(object: any): _97.QueryContractsByCodeResponse; - toJSON(message: _97.QueryContractsByCodeResponse): unknown; - fromPartial(object: { - contracts?: string[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _97.QueryContractsByCodeResponse; - fromSDK(object: _97.QueryContractsByCodeResponseSDKType): _97.QueryContractsByCodeResponse; - toSDK(message: _97.QueryContractsByCodeResponse): _97.QueryContractsByCodeResponseSDKType; - fromAmino(object: _97.QueryContractsByCodeResponseAmino): _97.QueryContractsByCodeResponse; - toAmino(message: _97.QueryContractsByCodeResponse): _97.QueryContractsByCodeResponseAmino; - fromAminoMsg(object: _97.QueryContractsByCodeResponseAminoMsg): _97.QueryContractsByCodeResponse; - toAminoMsg(message: _97.QueryContractsByCodeResponse): _97.QueryContractsByCodeResponseAminoMsg; - fromProtoMsg(message: _97.QueryContractsByCodeResponseProtoMsg): _97.QueryContractsByCodeResponse; - toProto(message: _97.QueryContractsByCodeResponse): Uint8Array; - toProtoMsg(message: _97.QueryContractsByCodeResponse): _97.QueryContractsByCodeResponseProtoMsg; - }; - QueryAllContractStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryAllContractStateRequest; - isSDK(o: any): o is _97.QueryAllContractStateRequestSDKType; - isAmino(o: any): o is _97.QueryAllContractStateRequestAmino; - encode(message: _97.QueryAllContractStateRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryAllContractStateRequest; - fromJSON(object: any): _97.QueryAllContractStateRequest; - toJSON(message: _97.QueryAllContractStateRequest): unknown; - fromPartial(object: { - address?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _97.QueryAllContractStateRequest; - fromSDK(object: _97.QueryAllContractStateRequestSDKType): _97.QueryAllContractStateRequest; - toSDK(message: _97.QueryAllContractStateRequest): _97.QueryAllContractStateRequestSDKType; - fromAmino(object: _97.QueryAllContractStateRequestAmino): _97.QueryAllContractStateRequest; - toAmino(message: _97.QueryAllContractStateRequest): _97.QueryAllContractStateRequestAmino; - fromAminoMsg(object: _97.QueryAllContractStateRequestAminoMsg): _97.QueryAllContractStateRequest; - toAminoMsg(message: _97.QueryAllContractStateRequest): _97.QueryAllContractStateRequestAminoMsg; - fromProtoMsg(message: _97.QueryAllContractStateRequestProtoMsg): _97.QueryAllContractStateRequest; - toProto(message: _97.QueryAllContractStateRequest): Uint8Array; - toProtoMsg(message: _97.QueryAllContractStateRequest): _97.QueryAllContractStateRequestProtoMsg; - }; - QueryAllContractStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryAllContractStateResponse; - isSDK(o: any): o is _97.QueryAllContractStateResponseSDKType; - isAmino(o: any): o is _97.QueryAllContractStateResponseAmino; - encode(message: _97.QueryAllContractStateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryAllContractStateResponse; - fromJSON(object: any): _97.QueryAllContractStateResponse; - toJSON(message: _97.QueryAllContractStateResponse): unknown; - fromPartial(object: { - models?: { - key?: Uint8Array; - value?: Uint8Array; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _97.QueryAllContractStateResponse; - fromSDK(object: _97.QueryAllContractStateResponseSDKType): _97.QueryAllContractStateResponse; - toSDK(message: _97.QueryAllContractStateResponse): _97.QueryAllContractStateResponseSDKType; - fromAmino(object: _97.QueryAllContractStateResponseAmino): _97.QueryAllContractStateResponse; - toAmino(message: _97.QueryAllContractStateResponse): _97.QueryAllContractStateResponseAmino; - fromAminoMsg(object: _97.QueryAllContractStateResponseAminoMsg): _97.QueryAllContractStateResponse; - toAminoMsg(message: _97.QueryAllContractStateResponse): _97.QueryAllContractStateResponseAminoMsg; - fromProtoMsg(message: _97.QueryAllContractStateResponseProtoMsg): _97.QueryAllContractStateResponse; - toProto(message: _97.QueryAllContractStateResponse): Uint8Array; - toProtoMsg(message: _97.QueryAllContractStateResponse): _97.QueryAllContractStateResponseProtoMsg; - }; - QueryRawContractStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryRawContractStateRequest; - isSDK(o: any): o is _97.QueryRawContractStateRequestSDKType; - isAmino(o: any): o is _97.QueryRawContractStateRequestAmino; - encode(message: _97.QueryRawContractStateRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryRawContractStateRequest; - fromJSON(object: any): _97.QueryRawContractStateRequest; - toJSON(message: _97.QueryRawContractStateRequest): unknown; - fromPartial(object: { - address?: string; - queryData?: Uint8Array; - }): _97.QueryRawContractStateRequest; - fromSDK(object: _97.QueryRawContractStateRequestSDKType): _97.QueryRawContractStateRequest; - toSDK(message: _97.QueryRawContractStateRequest): _97.QueryRawContractStateRequestSDKType; - fromAmino(object: _97.QueryRawContractStateRequestAmino): _97.QueryRawContractStateRequest; - toAmino(message: _97.QueryRawContractStateRequest): _97.QueryRawContractStateRequestAmino; - fromAminoMsg(object: _97.QueryRawContractStateRequestAminoMsg): _97.QueryRawContractStateRequest; - toAminoMsg(message: _97.QueryRawContractStateRequest): _97.QueryRawContractStateRequestAminoMsg; - fromProtoMsg(message: _97.QueryRawContractStateRequestProtoMsg): _97.QueryRawContractStateRequest; - toProto(message: _97.QueryRawContractStateRequest): Uint8Array; - toProtoMsg(message: _97.QueryRawContractStateRequest): _97.QueryRawContractStateRequestProtoMsg; - }; - QueryRawContractStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryRawContractStateResponse; - isSDK(o: any): o is _97.QueryRawContractStateResponseSDKType; - isAmino(o: any): o is _97.QueryRawContractStateResponseAmino; - encode(message: _97.QueryRawContractStateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryRawContractStateResponse; - fromJSON(object: any): _97.QueryRawContractStateResponse; - toJSON(message: _97.QueryRawContractStateResponse): unknown; - fromPartial(object: { - data?: Uint8Array; - }): _97.QueryRawContractStateResponse; - fromSDK(object: _97.QueryRawContractStateResponseSDKType): _97.QueryRawContractStateResponse; - toSDK(message: _97.QueryRawContractStateResponse): _97.QueryRawContractStateResponseSDKType; - fromAmino(object: _97.QueryRawContractStateResponseAmino): _97.QueryRawContractStateResponse; - toAmino(message: _97.QueryRawContractStateResponse): _97.QueryRawContractStateResponseAmino; - fromAminoMsg(object: _97.QueryRawContractStateResponseAminoMsg): _97.QueryRawContractStateResponse; - toAminoMsg(message: _97.QueryRawContractStateResponse): _97.QueryRawContractStateResponseAminoMsg; - fromProtoMsg(message: _97.QueryRawContractStateResponseProtoMsg): _97.QueryRawContractStateResponse; - toProto(message: _97.QueryRawContractStateResponse): Uint8Array; - toProtoMsg(message: _97.QueryRawContractStateResponse): _97.QueryRawContractStateResponseProtoMsg; - }; - QuerySmartContractStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QuerySmartContractStateRequest; - isSDK(o: any): o is _97.QuerySmartContractStateRequestSDKType; - isAmino(o: any): o is _97.QuerySmartContractStateRequestAmino; - encode(message: _97.QuerySmartContractStateRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QuerySmartContractStateRequest; - fromJSON(object: any): _97.QuerySmartContractStateRequest; - toJSON(message: _97.QuerySmartContractStateRequest): unknown; - fromPartial(object: { - address?: string; - queryData?: Uint8Array; - }): _97.QuerySmartContractStateRequest; - fromSDK(object: _97.QuerySmartContractStateRequestSDKType): _97.QuerySmartContractStateRequest; - toSDK(message: _97.QuerySmartContractStateRequest): _97.QuerySmartContractStateRequestSDKType; - fromAmino(object: _97.QuerySmartContractStateRequestAmino): _97.QuerySmartContractStateRequest; - toAmino(message: _97.QuerySmartContractStateRequest): _97.QuerySmartContractStateRequestAmino; - fromAminoMsg(object: _97.QuerySmartContractStateRequestAminoMsg): _97.QuerySmartContractStateRequest; - toAminoMsg(message: _97.QuerySmartContractStateRequest): _97.QuerySmartContractStateRequestAminoMsg; - fromProtoMsg(message: _97.QuerySmartContractStateRequestProtoMsg): _97.QuerySmartContractStateRequest; - toProto(message: _97.QuerySmartContractStateRequest): Uint8Array; - toProtoMsg(message: _97.QuerySmartContractStateRequest): _97.QuerySmartContractStateRequestProtoMsg; - }; - QuerySmartContractStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QuerySmartContractStateResponse; - isSDK(o: any): o is _97.QuerySmartContractStateResponseSDKType; - isAmino(o: any): o is _97.QuerySmartContractStateResponseAmino; - encode(message: _97.QuerySmartContractStateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QuerySmartContractStateResponse; - fromJSON(object: any): _97.QuerySmartContractStateResponse; - toJSON(message: _97.QuerySmartContractStateResponse): unknown; - fromPartial(object: { - data?: Uint8Array; - }): _97.QuerySmartContractStateResponse; - fromSDK(object: _97.QuerySmartContractStateResponseSDKType): _97.QuerySmartContractStateResponse; - toSDK(message: _97.QuerySmartContractStateResponse): _97.QuerySmartContractStateResponseSDKType; - fromAmino(object: _97.QuerySmartContractStateResponseAmino): _97.QuerySmartContractStateResponse; - toAmino(message: _97.QuerySmartContractStateResponse): _97.QuerySmartContractStateResponseAmino; - fromAminoMsg(object: _97.QuerySmartContractStateResponseAminoMsg): _97.QuerySmartContractStateResponse; - toAminoMsg(message: _97.QuerySmartContractStateResponse): _97.QuerySmartContractStateResponseAminoMsg; - fromProtoMsg(message: _97.QuerySmartContractStateResponseProtoMsg): _97.QuerySmartContractStateResponse; - toProto(message: _97.QuerySmartContractStateResponse): Uint8Array; - toProtoMsg(message: _97.QuerySmartContractStateResponse): _97.QuerySmartContractStateResponseProtoMsg; - }; - QueryCodeRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryCodeRequest; - isSDK(o: any): o is _97.QueryCodeRequestSDKType; - isAmino(o: any): o is _97.QueryCodeRequestAmino; - encode(message: _97.QueryCodeRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryCodeRequest; - fromJSON(object: any): _97.QueryCodeRequest; - toJSON(message: _97.QueryCodeRequest): unknown; - fromPartial(object: { - codeId?: bigint; - }): _97.QueryCodeRequest; - fromSDK(object: _97.QueryCodeRequestSDKType): _97.QueryCodeRequest; - toSDK(message: _97.QueryCodeRequest): _97.QueryCodeRequestSDKType; - fromAmino(object: _97.QueryCodeRequestAmino): _97.QueryCodeRequest; - toAmino(message: _97.QueryCodeRequest): _97.QueryCodeRequestAmino; - fromAminoMsg(object: _97.QueryCodeRequestAminoMsg): _97.QueryCodeRequest; - toAminoMsg(message: _97.QueryCodeRequest): _97.QueryCodeRequestAminoMsg; - fromProtoMsg(message: _97.QueryCodeRequestProtoMsg): _97.QueryCodeRequest; - toProto(message: _97.QueryCodeRequest): Uint8Array; - toProtoMsg(message: _97.QueryCodeRequest): _97.QueryCodeRequestProtoMsg; - }; - CodeInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.CodeInfoResponse; - isSDK(o: any): o is _97.CodeInfoResponseSDKType; - isAmino(o: any): o is _97.CodeInfoResponseAmino; - encode(message: _97.CodeInfoResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.CodeInfoResponse; - fromJSON(object: any): _97.CodeInfoResponse; - toJSON(message: _97.CodeInfoResponse): unknown; - fromPartial(object: { - codeId?: bigint; - creator?: string; - dataHash?: Uint8Array; - }): _97.CodeInfoResponse; - fromSDK(object: _97.CodeInfoResponseSDKType): _97.CodeInfoResponse; - toSDK(message: _97.CodeInfoResponse): _97.CodeInfoResponseSDKType; - fromAmino(object: _97.CodeInfoResponseAmino): _97.CodeInfoResponse; - toAmino(message: _97.CodeInfoResponse): _97.CodeInfoResponseAmino; - fromAminoMsg(object: _97.CodeInfoResponseAminoMsg): _97.CodeInfoResponse; - toAminoMsg(message: _97.CodeInfoResponse): _97.CodeInfoResponseAminoMsg; - fromProtoMsg(message: _97.CodeInfoResponseProtoMsg): _97.CodeInfoResponse; - toProto(message: _97.CodeInfoResponse): Uint8Array; - toProtoMsg(message: _97.CodeInfoResponse): _97.CodeInfoResponseProtoMsg; - }; - QueryCodeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryCodeResponse; - isSDK(o: any): o is _97.QueryCodeResponseSDKType; - isAmino(o: any): o is _97.QueryCodeResponseAmino; - encode(message: _97.QueryCodeResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryCodeResponse; - fromJSON(object: any): _97.QueryCodeResponse; - toJSON(message: _97.QueryCodeResponse): unknown; - fromPartial(object: { - codeInfo?: { - codeId?: bigint; - creator?: string; - dataHash?: Uint8Array; - }; - data?: Uint8Array; - }): _97.QueryCodeResponse; - fromSDK(object: _97.QueryCodeResponseSDKType): _97.QueryCodeResponse; - toSDK(message: _97.QueryCodeResponse): _97.QueryCodeResponseSDKType; - fromAmino(object: _97.QueryCodeResponseAmino): _97.QueryCodeResponse; - toAmino(message: _97.QueryCodeResponse): _97.QueryCodeResponseAmino; - fromAminoMsg(object: _97.QueryCodeResponseAminoMsg): _97.QueryCodeResponse; - toAminoMsg(message: _97.QueryCodeResponse): _97.QueryCodeResponseAminoMsg; - fromProtoMsg(message: _97.QueryCodeResponseProtoMsg): _97.QueryCodeResponse; - toProto(message: _97.QueryCodeResponse): Uint8Array; - toProtoMsg(message: _97.QueryCodeResponse): _97.QueryCodeResponseProtoMsg; - }; - QueryCodesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryCodesRequest; - isSDK(o: any): o is _97.QueryCodesRequestSDKType; - isAmino(o: any): o is _97.QueryCodesRequestAmino; - encode(message: _97.QueryCodesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryCodesRequest; - fromJSON(object: any): _97.QueryCodesRequest; - toJSON(message: _97.QueryCodesRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _97.QueryCodesRequest; - fromSDK(object: _97.QueryCodesRequestSDKType): _97.QueryCodesRequest; - toSDK(message: _97.QueryCodesRequest): _97.QueryCodesRequestSDKType; - fromAmino(object: _97.QueryCodesRequestAmino): _97.QueryCodesRequest; - toAmino(message: _97.QueryCodesRequest): _97.QueryCodesRequestAmino; - fromAminoMsg(object: _97.QueryCodesRequestAminoMsg): _97.QueryCodesRequest; - toAminoMsg(message: _97.QueryCodesRequest): _97.QueryCodesRequestAminoMsg; - fromProtoMsg(message: _97.QueryCodesRequestProtoMsg): _97.QueryCodesRequest; - toProto(message: _97.QueryCodesRequest): Uint8Array; - toProtoMsg(message: _97.QueryCodesRequest): _97.QueryCodesRequestProtoMsg; - }; - QueryCodesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryCodesResponse; - isSDK(o: any): o is _97.QueryCodesResponseSDKType; - isAmino(o: any): o is _97.QueryCodesResponseAmino; - encode(message: _97.QueryCodesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryCodesResponse; - fromJSON(object: any): _97.QueryCodesResponse; - toJSON(message: _97.QueryCodesResponse): unknown; - fromPartial(object: { - codeInfos?: { - codeId?: bigint; - creator?: string; - dataHash?: Uint8Array; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _97.QueryCodesResponse; - fromSDK(object: _97.QueryCodesResponseSDKType): _97.QueryCodesResponse; - toSDK(message: _97.QueryCodesResponse): _97.QueryCodesResponseSDKType; - fromAmino(object: _97.QueryCodesResponseAmino): _97.QueryCodesResponse; - toAmino(message: _97.QueryCodesResponse): _97.QueryCodesResponseAmino; - fromAminoMsg(object: _97.QueryCodesResponseAminoMsg): _97.QueryCodesResponse; - toAminoMsg(message: _97.QueryCodesResponse): _97.QueryCodesResponseAminoMsg; - fromProtoMsg(message: _97.QueryCodesResponseProtoMsg): _97.QueryCodesResponse; - toProto(message: _97.QueryCodesResponse): Uint8Array; - toProtoMsg(message: _97.QueryCodesResponse): _97.QueryCodesResponseProtoMsg; - }; - QueryPinnedCodesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryPinnedCodesRequest; - isSDK(o: any): o is _97.QueryPinnedCodesRequestSDKType; - isAmino(o: any): o is _97.QueryPinnedCodesRequestAmino; - encode(message: _97.QueryPinnedCodesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryPinnedCodesRequest; - fromJSON(object: any): _97.QueryPinnedCodesRequest; - toJSON(message: _97.QueryPinnedCodesRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _97.QueryPinnedCodesRequest; - fromSDK(object: _97.QueryPinnedCodesRequestSDKType): _97.QueryPinnedCodesRequest; - toSDK(message: _97.QueryPinnedCodesRequest): _97.QueryPinnedCodesRequestSDKType; - fromAmino(object: _97.QueryPinnedCodesRequestAmino): _97.QueryPinnedCodesRequest; - toAmino(message: _97.QueryPinnedCodesRequest): _97.QueryPinnedCodesRequestAmino; - fromAminoMsg(object: _97.QueryPinnedCodesRequestAminoMsg): _97.QueryPinnedCodesRequest; - toAminoMsg(message: _97.QueryPinnedCodesRequest): _97.QueryPinnedCodesRequestAminoMsg; - fromProtoMsg(message: _97.QueryPinnedCodesRequestProtoMsg): _97.QueryPinnedCodesRequest; - toProto(message: _97.QueryPinnedCodesRequest): Uint8Array; - toProtoMsg(message: _97.QueryPinnedCodesRequest): _97.QueryPinnedCodesRequestProtoMsg; - }; - QueryPinnedCodesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _97.QueryPinnedCodesResponse; - isSDK(o: any): o is _97.QueryPinnedCodesResponseSDKType; - isAmino(o: any): o is _97.QueryPinnedCodesResponseAmino; - encode(message: _97.QueryPinnedCodesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _97.QueryPinnedCodesResponse; - fromJSON(object: any): _97.QueryPinnedCodesResponse; - toJSON(message: _97.QueryPinnedCodesResponse): unknown; - fromPartial(object: { - codeIds?: bigint[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _97.QueryPinnedCodesResponse; - fromSDK(object: _97.QueryPinnedCodesResponseSDKType): _97.QueryPinnedCodesResponse; - toSDK(message: _97.QueryPinnedCodesResponse): _97.QueryPinnedCodesResponseSDKType; - fromAmino(object: _97.QueryPinnedCodesResponseAmino): _97.QueryPinnedCodesResponse; - toAmino(message: _97.QueryPinnedCodesResponse): _97.QueryPinnedCodesResponseAmino; - fromAminoMsg(object: _97.QueryPinnedCodesResponseAminoMsg): _97.QueryPinnedCodesResponse; - toAminoMsg(message: _97.QueryPinnedCodesResponse): _97.QueryPinnedCodesResponseAminoMsg; - fromProtoMsg(message: _97.QueryPinnedCodesResponseProtoMsg): _97.QueryPinnedCodesResponse; - toProto(message: _97.QueryPinnedCodesResponse): Uint8Array; - toProtoMsg(message: _97.QueryPinnedCodesResponse): _97.QueryPinnedCodesResponseProtoMsg; - }; - StoreCodeProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _96.StoreCodeProposal; - isSDK(o: any): o is _96.StoreCodeProposalSDKType; - isAmino(o: any): o is _96.StoreCodeProposalAmino; - encode(message: _96.StoreCodeProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _96.StoreCodeProposal; - fromJSON(object: any): _96.StoreCodeProposal; - toJSON(message: _96.StoreCodeProposal): unknown; - fromPartial(object: { - title?: string; - description?: string; - runAs?: string; - wasmByteCode?: Uint8Array; - instantiatePermission?: { - permission?: _99.AccessType; - address?: string; - }; - }): _96.StoreCodeProposal; - fromSDK(object: _96.StoreCodeProposalSDKType): _96.StoreCodeProposal; - toSDK(message: _96.StoreCodeProposal): _96.StoreCodeProposalSDKType; - fromAmino(object: _96.StoreCodeProposalAmino): _96.StoreCodeProposal; - toAmino(message: _96.StoreCodeProposal): _96.StoreCodeProposalAmino; - fromAminoMsg(object: _96.StoreCodeProposalAminoMsg): _96.StoreCodeProposal; - toAminoMsg(message: _96.StoreCodeProposal): _96.StoreCodeProposalAminoMsg; - fromProtoMsg(message: _96.StoreCodeProposalProtoMsg): _96.StoreCodeProposal; - toProto(message: _96.StoreCodeProposal): Uint8Array; - toProtoMsg(message: _96.StoreCodeProposal): _96.StoreCodeProposalProtoMsg; - }; - InstantiateContractProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _96.InstantiateContractProposal; - isSDK(o: any): o is _96.InstantiateContractProposalSDKType; - isAmino(o: any): o is _96.InstantiateContractProposalAmino; - encode(message: _96.InstantiateContractProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _96.InstantiateContractProposal; - fromJSON(object: any): _96.InstantiateContractProposal; - toJSON(message: _96.InstantiateContractProposal): unknown; - fromPartial(object: { - title?: string; - description?: string; - runAs?: string; - admin?: string; - codeId?: bigint; - label?: string; - msg?: Uint8Array; - funds?: { - denom?: string; - amount?: string; - }[]; - }): _96.InstantiateContractProposal; - fromSDK(object: _96.InstantiateContractProposalSDKType): _96.InstantiateContractProposal; - toSDK(message: _96.InstantiateContractProposal): _96.InstantiateContractProposalSDKType; - fromAmino(object: _96.InstantiateContractProposalAmino): _96.InstantiateContractProposal; - toAmino(message: _96.InstantiateContractProposal): _96.InstantiateContractProposalAmino; - fromAminoMsg(object: _96.InstantiateContractProposalAminoMsg): _96.InstantiateContractProposal; - toAminoMsg(message: _96.InstantiateContractProposal): _96.InstantiateContractProposalAminoMsg; - fromProtoMsg(message: _96.InstantiateContractProposalProtoMsg): _96.InstantiateContractProposal; - toProto(message: _96.InstantiateContractProposal): Uint8Array; - toProtoMsg(message: _96.InstantiateContractProposal): _96.InstantiateContractProposalProtoMsg; - }; - MigrateContractProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _96.MigrateContractProposal; - isSDK(o: any): o is _96.MigrateContractProposalSDKType; - isAmino(o: any): o is _96.MigrateContractProposalAmino; - encode(message: _96.MigrateContractProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _96.MigrateContractProposal; - fromJSON(object: any): _96.MigrateContractProposal; - toJSON(message: _96.MigrateContractProposal): unknown; - fromPartial(object: { - title?: string; - description?: string; - contract?: string; - codeId?: bigint; - msg?: Uint8Array; - }): _96.MigrateContractProposal; - fromSDK(object: _96.MigrateContractProposalSDKType): _96.MigrateContractProposal; - toSDK(message: _96.MigrateContractProposal): _96.MigrateContractProposalSDKType; - fromAmino(object: _96.MigrateContractProposalAmino): _96.MigrateContractProposal; - toAmino(message: _96.MigrateContractProposal): _96.MigrateContractProposalAmino; - fromAminoMsg(object: _96.MigrateContractProposalAminoMsg): _96.MigrateContractProposal; - toAminoMsg(message: _96.MigrateContractProposal): _96.MigrateContractProposalAminoMsg; - fromProtoMsg(message: _96.MigrateContractProposalProtoMsg): _96.MigrateContractProposal; - toProto(message: _96.MigrateContractProposal): Uint8Array; - toProtoMsg(message: _96.MigrateContractProposal): _96.MigrateContractProposalProtoMsg; - }; - SudoContractProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _96.SudoContractProposal; - isSDK(o: any): o is _96.SudoContractProposalSDKType; - isAmino(o: any): o is _96.SudoContractProposalAmino; - encode(message: _96.SudoContractProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _96.SudoContractProposal; - fromJSON(object: any): _96.SudoContractProposal; - toJSON(message: _96.SudoContractProposal): unknown; - fromPartial(object: { - title?: string; - description?: string; - contract?: string; - msg?: Uint8Array; - }): _96.SudoContractProposal; - fromSDK(object: _96.SudoContractProposalSDKType): _96.SudoContractProposal; - toSDK(message: _96.SudoContractProposal): _96.SudoContractProposalSDKType; - fromAmino(object: _96.SudoContractProposalAmino): _96.SudoContractProposal; - toAmino(message: _96.SudoContractProposal): _96.SudoContractProposalAmino; - fromAminoMsg(object: _96.SudoContractProposalAminoMsg): _96.SudoContractProposal; - toAminoMsg(message: _96.SudoContractProposal): _96.SudoContractProposalAminoMsg; - fromProtoMsg(message: _96.SudoContractProposalProtoMsg): _96.SudoContractProposal; - toProto(message: _96.SudoContractProposal): Uint8Array; - toProtoMsg(message: _96.SudoContractProposal): _96.SudoContractProposalProtoMsg; - }; - ExecuteContractProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _96.ExecuteContractProposal; - isSDK(o: any): o is _96.ExecuteContractProposalSDKType; - isAmino(o: any): o is _96.ExecuteContractProposalAmino; - encode(message: _96.ExecuteContractProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _96.ExecuteContractProposal; - fromJSON(object: any): _96.ExecuteContractProposal; - toJSON(message: _96.ExecuteContractProposal): unknown; - fromPartial(object: { - title?: string; - description?: string; - runAs?: string; - contract?: string; - msg?: Uint8Array; - funds?: { - denom?: string; - amount?: string; - }[]; - }): _96.ExecuteContractProposal; - fromSDK(object: _96.ExecuteContractProposalSDKType): _96.ExecuteContractProposal; - toSDK(message: _96.ExecuteContractProposal): _96.ExecuteContractProposalSDKType; - fromAmino(object: _96.ExecuteContractProposalAmino): _96.ExecuteContractProposal; - toAmino(message: _96.ExecuteContractProposal): _96.ExecuteContractProposalAmino; - fromAminoMsg(object: _96.ExecuteContractProposalAminoMsg): _96.ExecuteContractProposal; - toAminoMsg(message: _96.ExecuteContractProposal): _96.ExecuteContractProposalAminoMsg; - fromProtoMsg(message: _96.ExecuteContractProposalProtoMsg): _96.ExecuteContractProposal; - toProto(message: _96.ExecuteContractProposal): Uint8Array; - toProtoMsg(message: _96.ExecuteContractProposal): _96.ExecuteContractProposalProtoMsg; - }; - UpdateAdminProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _96.UpdateAdminProposal; - isSDK(o: any): o is _96.UpdateAdminProposalSDKType; - isAmino(o: any): o is _96.UpdateAdminProposalAmino; - encode(message: _96.UpdateAdminProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _96.UpdateAdminProposal; - fromJSON(object: any): _96.UpdateAdminProposal; - toJSON(message: _96.UpdateAdminProposal): unknown; - fromPartial(object: { - title?: string; - description?: string; - newAdmin?: string; - contract?: string; - }): _96.UpdateAdminProposal; - fromSDK(object: _96.UpdateAdminProposalSDKType): _96.UpdateAdminProposal; - toSDK(message: _96.UpdateAdminProposal): _96.UpdateAdminProposalSDKType; - fromAmino(object: _96.UpdateAdminProposalAmino): _96.UpdateAdminProposal; - toAmino(message: _96.UpdateAdminProposal): _96.UpdateAdminProposalAmino; - fromAminoMsg(object: _96.UpdateAdminProposalAminoMsg): _96.UpdateAdminProposal; - toAminoMsg(message: _96.UpdateAdminProposal): _96.UpdateAdminProposalAminoMsg; - fromProtoMsg(message: _96.UpdateAdminProposalProtoMsg): _96.UpdateAdminProposal; - toProto(message: _96.UpdateAdminProposal): Uint8Array; - toProtoMsg(message: _96.UpdateAdminProposal): _96.UpdateAdminProposalProtoMsg; - }; - ClearAdminProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _96.ClearAdminProposal; - isSDK(o: any): o is _96.ClearAdminProposalSDKType; - isAmino(o: any): o is _96.ClearAdminProposalAmino; - encode(message: _96.ClearAdminProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _96.ClearAdminProposal; - fromJSON(object: any): _96.ClearAdminProposal; - toJSON(message: _96.ClearAdminProposal): unknown; - fromPartial(object: { - title?: string; - description?: string; - contract?: string; - }): _96.ClearAdminProposal; - fromSDK(object: _96.ClearAdminProposalSDKType): _96.ClearAdminProposal; - toSDK(message: _96.ClearAdminProposal): _96.ClearAdminProposalSDKType; - fromAmino(object: _96.ClearAdminProposalAmino): _96.ClearAdminProposal; - toAmino(message: _96.ClearAdminProposal): _96.ClearAdminProposalAmino; - fromAminoMsg(object: _96.ClearAdminProposalAminoMsg): _96.ClearAdminProposal; - toAminoMsg(message: _96.ClearAdminProposal): _96.ClearAdminProposalAminoMsg; - fromProtoMsg(message: _96.ClearAdminProposalProtoMsg): _96.ClearAdminProposal; - toProto(message: _96.ClearAdminProposal): Uint8Array; - toProtoMsg(message: _96.ClearAdminProposal): _96.ClearAdminProposalProtoMsg; - }; - PinCodesProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _96.PinCodesProposal; - isSDK(o: any): o is _96.PinCodesProposalSDKType; - isAmino(o: any): o is _96.PinCodesProposalAmino; - encode(message: _96.PinCodesProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _96.PinCodesProposal; - fromJSON(object: any): _96.PinCodesProposal; - toJSON(message: _96.PinCodesProposal): unknown; - fromPartial(object: { - title?: string; - description?: string; - codeIds?: bigint[]; - }): _96.PinCodesProposal; - fromSDK(object: _96.PinCodesProposalSDKType): _96.PinCodesProposal; - toSDK(message: _96.PinCodesProposal): _96.PinCodesProposalSDKType; - fromAmino(object: _96.PinCodesProposalAmino): _96.PinCodesProposal; - toAmino(message: _96.PinCodesProposal): _96.PinCodesProposalAmino; - fromAminoMsg(object: _96.PinCodesProposalAminoMsg): _96.PinCodesProposal; - toAminoMsg(message: _96.PinCodesProposal): _96.PinCodesProposalAminoMsg; - fromProtoMsg(message: _96.PinCodesProposalProtoMsg): _96.PinCodesProposal; - toProto(message: _96.PinCodesProposal): Uint8Array; - toProtoMsg(message: _96.PinCodesProposal): _96.PinCodesProposalProtoMsg; - }; - UnpinCodesProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _96.UnpinCodesProposal; - isSDK(o: any): o is _96.UnpinCodesProposalSDKType; - isAmino(o: any): o is _96.UnpinCodesProposalAmino; - encode(message: _96.UnpinCodesProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _96.UnpinCodesProposal; - fromJSON(object: any): _96.UnpinCodesProposal; - toJSON(message: _96.UnpinCodesProposal): unknown; - fromPartial(object: { - title?: string; - description?: string; - codeIds?: bigint[]; - }): _96.UnpinCodesProposal; - fromSDK(object: _96.UnpinCodesProposalSDKType): _96.UnpinCodesProposal; - toSDK(message: _96.UnpinCodesProposal): _96.UnpinCodesProposalSDKType; - fromAmino(object: _96.UnpinCodesProposalAmino): _96.UnpinCodesProposal; - toAmino(message: _96.UnpinCodesProposal): _96.UnpinCodesProposalAmino; - fromAminoMsg(object: _96.UnpinCodesProposalAminoMsg): _96.UnpinCodesProposal; - toAminoMsg(message: _96.UnpinCodesProposal): _96.UnpinCodesProposalAminoMsg; - fromProtoMsg(message: _96.UnpinCodesProposalProtoMsg): _96.UnpinCodesProposal; - toProto(message: _96.UnpinCodesProposal): Uint8Array; - toProtoMsg(message: _96.UnpinCodesProposal): _96.UnpinCodesProposalProtoMsg; - }; - MsgIBCSend: { - typeUrl: string; - aminoType: string; - is(o: any): o is _95.MsgIBCSend; - isSDK(o: any): o is _95.MsgIBCSendSDKType; - isAmino(o: any): o is _95.MsgIBCSendAmino; - encode(message: _95.MsgIBCSend, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _95.MsgIBCSend; - fromJSON(object: any): _95.MsgIBCSend; - toJSON(message: _95.MsgIBCSend): unknown; - fromPartial(object: { - channel?: string; - timeoutHeight?: bigint; - timeoutTimestamp?: bigint; - data?: Uint8Array; - }): _95.MsgIBCSend; - fromSDK(object: _95.MsgIBCSendSDKType): _95.MsgIBCSend; - toSDK(message: _95.MsgIBCSend): _95.MsgIBCSendSDKType; - fromAmino(object: _95.MsgIBCSendAmino): _95.MsgIBCSend; - toAmino(message: _95.MsgIBCSend): _95.MsgIBCSendAmino; - fromAminoMsg(object: _95.MsgIBCSendAminoMsg): _95.MsgIBCSend; - toAminoMsg(message: _95.MsgIBCSend): _95.MsgIBCSendAminoMsg; - fromProtoMsg(message: _95.MsgIBCSendProtoMsg): _95.MsgIBCSend; - toProto(message: _95.MsgIBCSend): Uint8Array; - toProtoMsg(message: _95.MsgIBCSend): _95.MsgIBCSendProtoMsg; - }; - MsgIBCCloseChannel: { - typeUrl: string; - aminoType: string; - is(o: any): o is _95.MsgIBCCloseChannel; - isSDK(o: any): o is _95.MsgIBCCloseChannelSDKType; - isAmino(o: any): o is _95.MsgIBCCloseChannelAmino; - encode(message: _95.MsgIBCCloseChannel, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _95.MsgIBCCloseChannel; - fromJSON(object: any): _95.MsgIBCCloseChannel; - toJSON(message: _95.MsgIBCCloseChannel): unknown; - fromPartial(object: { - channel?: string; - }): _95.MsgIBCCloseChannel; - fromSDK(object: _95.MsgIBCCloseChannelSDKType): _95.MsgIBCCloseChannel; - toSDK(message: _95.MsgIBCCloseChannel): _95.MsgIBCCloseChannelSDKType; - fromAmino(object: _95.MsgIBCCloseChannelAmino): _95.MsgIBCCloseChannel; - toAmino(message: _95.MsgIBCCloseChannel): _95.MsgIBCCloseChannelAmino; - fromAminoMsg(object: _95.MsgIBCCloseChannelAminoMsg): _95.MsgIBCCloseChannel; - toAminoMsg(message: _95.MsgIBCCloseChannel): _95.MsgIBCCloseChannelAminoMsg; - fromProtoMsg(message: _95.MsgIBCCloseChannelProtoMsg): _95.MsgIBCCloseChannel; - toProto(message: _95.MsgIBCCloseChannel): Uint8Array; - toProtoMsg(message: _95.MsgIBCCloseChannel): _95.MsgIBCCloseChannelProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _94.GenesisState; - isSDK(o: any): o is _94.GenesisStateSDKType; - isAmino(o: any): o is _94.GenesisStateAmino; - encode(message: _94.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _94.GenesisState; - fromJSON(object: any): _94.GenesisState; - toJSON(message: _94.GenesisState): unknown; - fromPartial(object: { - params?: { - codeUploadAccess?: { - permission?: _99.AccessType; - address?: string; - }; - instantiateDefaultPermission?: _99.AccessType; - maxWasmCodeSize?: bigint; - }; - codes?: { - codeId?: bigint; - codeInfo?: { - codeHash?: Uint8Array; - creator?: string; - instantiateConfig?: { - permission?: _99.AccessType; - address?: string; - }; - }; - codeBytes?: Uint8Array; - pinned?: boolean; - }[]; - contracts?: { - contractAddress?: string; - contractInfo?: { - codeId?: bigint; - creator?: string; - admin?: string; - label?: string; - created?: { - blockHeight?: bigint; - txIndex?: bigint; - }; - ibcPortId?: string; - extension?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }; - contractState?: { - key?: Uint8Array; - value?: Uint8Array; - }[]; - }[]; - sequences?: { - idKey?: Uint8Array; - value?: bigint; - }[]; - genMsgs?: { - storeCode?: { - sender?: string; - wasmByteCode?: Uint8Array; - instantiatePermission?: { - permission?: _99.AccessType; - address?: string; - }; - }; - instantiateContract?: { - sender?: string; - admin?: string; - codeId?: bigint; - label?: string; - msg?: Uint8Array; - funds?: { - denom?: string; - amount?: string; - }[]; - }; - executeContract?: { - sender?: string; - contract?: string; - msg?: Uint8Array; - funds?: { - denom?: string; - amount?: string; - }[]; - }; - }[]; - }): _94.GenesisState; - fromSDK(object: _94.GenesisStateSDKType): _94.GenesisState; - toSDK(message: _94.GenesisState): _94.GenesisStateSDKType; - fromAmino(object: _94.GenesisStateAmino): _94.GenesisState; - toAmino(message: _94.GenesisState): _94.GenesisStateAmino; - fromAminoMsg(object: _94.GenesisStateAminoMsg): _94.GenesisState; - toAminoMsg(message: _94.GenesisState): _94.GenesisStateAminoMsg; - fromProtoMsg(message: _94.GenesisStateProtoMsg): _94.GenesisState; - toProto(message: _94.GenesisState): Uint8Array; - toProtoMsg(message: _94.GenesisState): _94.GenesisStateProtoMsg; - }; - GenesisState_GenMsgs: { - typeUrl: string; - aminoType: string; - is(o: any): o is _94.GenesisState_GenMsgs; - isSDK(o: any): o is _94.GenesisState_GenMsgsSDKType; - isAmino(o: any): o is _94.GenesisState_GenMsgsAmino; - encode(message: _94.GenesisState_GenMsgs, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _94.GenesisState_GenMsgs; - fromJSON(object: any): _94.GenesisState_GenMsgs; - toJSON(message: _94.GenesisState_GenMsgs): unknown; - fromPartial(object: { - storeCode?: { - sender?: string; - wasmByteCode?: Uint8Array; - instantiatePermission?: { - permission?: _99.AccessType; - address?: string; - }; - }; - instantiateContract?: { - sender?: string; - admin?: string; - codeId?: bigint; - label?: string; - msg?: Uint8Array; - funds?: { - denom?: string; - amount?: string; - }[]; - }; - executeContract?: { - sender?: string; - contract?: string; - msg?: Uint8Array; - funds?: { - denom?: string; - amount?: string; - }[]; - }; - }): _94.GenesisState_GenMsgs; - fromSDK(object: _94.GenesisState_GenMsgsSDKType): _94.GenesisState_GenMsgs; - toSDK(message: _94.GenesisState_GenMsgs): _94.GenesisState_GenMsgsSDKType; - fromAmino(object: _94.GenesisState_GenMsgsAmino): _94.GenesisState_GenMsgs; - toAmino(message: _94.GenesisState_GenMsgs): _94.GenesisState_GenMsgsAmino; - fromAminoMsg(object: _94.GenesisState_GenMsgsAminoMsg): _94.GenesisState_GenMsgs; - toAminoMsg(message: _94.GenesisState_GenMsgs): _94.GenesisState_GenMsgsAminoMsg; - fromProtoMsg(message: _94.GenesisState_GenMsgsProtoMsg): _94.GenesisState_GenMsgs; - toProto(message: _94.GenesisState_GenMsgs): Uint8Array; - toProtoMsg(message: _94.GenesisState_GenMsgs): _94.GenesisState_GenMsgsProtoMsg; - }; - Code: { - typeUrl: string; - aminoType: string; - is(o: any): o is _94.Code; - isSDK(o: any): o is _94.CodeSDKType; - isAmino(o: any): o is _94.CodeAmino; - encode(message: _94.Code, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _94.Code; - fromJSON(object: any): _94.Code; - toJSON(message: _94.Code): unknown; - fromPartial(object: { - codeId?: bigint; - codeInfo?: { - codeHash?: Uint8Array; - creator?: string; - instantiateConfig?: { - permission?: _99.AccessType; - address?: string; - }; - }; - codeBytes?: Uint8Array; - pinned?: boolean; - }): _94.Code; - fromSDK(object: _94.CodeSDKType): _94.Code; - toSDK(message: _94.Code): _94.CodeSDKType; - fromAmino(object: _94.CodeAmino): _94.Code; - toAmino(message: _94.Code): _94.CodeAmino; - fromAminoMsg(object: _94.CodeAminoMsg): _94.Code; - toAminoMsg(message: _94.Code): _94.CodeAminoMsg; - fromProtoMsg(message: _94.CodeProtoMsg): _94.Code; - toProto(message: _94.Code): Uint8Array; - toProtoMsg(message: _94.Code): _94.CodeProtoMsg; - }; - Contract: { - typeUrl: string; - aminoType: string; - is(o: any): o is _94.Contract; - isSDK(o: any): o is _94.ContractSDKType; - isAmino(o: any): o is _94.ContractAmino; - encode(message: _94.Contract, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _94.Contract; - fromJSON(object: any): _94.Contract; - toJSON(message: _94.Contract): unknown; - fromPartial(object: { - contractAddress?: string; - contractInfo?: { - codeId?: bigint; - creator?: string; - admin?: string; - label?: string; - created?: { - blockHeight?: bigint; - txIndex?: bigint; - }; - ibcPortId?: string; - extension?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }; - contractState?: { - key?: Uint8Array; - value?: Uint8Array; - }[]; - }): _94.Contract; - fromSDK(object: _94.ContractSDKType): _94.Contract; - toSDK(message: _94.Contract): _94.ContractSDKType; - fromAmino(object: _94.ContractAmino): _94.Contract; - toAmino(message: _94.Contract): _94.ContractAmino; - fromAminoMsg(object: _94.ContractAminoMsg): _94.Contract; - toAminoMsg(message: _94.Contract): _94.ContractAminoMsg; - fromProtoMsg(message: _94.ContractProtoMsg): _94.Contract; - toProto(message: _94.Contract): Uint8Array; - toProtoMsg(message: _94.Contract): _94.ContractProtoMsg; - }; - Sequence: { - typeUrl: string; - aminoType: string; - is(o: any): o is _94.Sequence; - isSDK(o: any): o is _94.SequenceSDKType; - isAmino(o: any): o is _94.SequenceAmino; - encode(message: _94.Sequence, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _94.Sequence; - fromJSON(object: any): _94.Sequence; - toJSON(message: _94.Sequence): unknown; - fromPartial(object: { - idKey?: Uint8Array; - value?: bigint; - }): _94.Sequence; - fromSDK(object: _94.SequenceSDKType): _94.Sequence; - toSDK(message: _94.Sequence): _94.SequenceSDKType; - fromAmino(object: _94.SequenceAmino): _94.Sequence; - toAmino(message: _94.Sequence): _94.SequenceAmino; - fromAminoMsg(object: _94.SequenceAminoMsg): _94.Sequence; - toAminoMsg(message: _94.Sequence): _94.SequenceAminoMsg; - fromProtoMsg(message: _94.SequenceProtoMsg): _94.Sequence; - toProto(message: _94.Sequence): Uint8Array; - toProtoMsg(message: _94.Sequence): _94.SequenceProtoMsg; - }; - }; - } - const ClientFactory: { - createRPCMsgClient: ({ rpc }: { - rpc: import("../helpers").Rpc; - }) => Promise<{ - cosmos: { - authz: { - v1beta1: import("../cosmos/authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("../cosmos/crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("../cosmos/vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; - cosmwasm: { - wasm: { - v1: _253.MsgClientImpl; - }; - }; - }>; - createRPCQueryClient: ({ rpc }: { - rpc: import("../helpers").Rpc; - }) => Promise<{ - cosmos: { - app: { - v1alpha1: import("../cosmos/app/v1alpha1/query.rpc.Query").QueryClientImpl; - }; - auth: { - v1beta1: import("../cosmos/auth/v1beta1/query.rpc.Query").QueryClientImpl; - }; - authz: { - v1beta1: import("../cosmos/authz/v1beta1/query.rpc.Query").QueryClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/query.rpc.Query").QueryClientImpl; - }; - base: { - tendermint: { - v1beta1: import("../cosmos/base/tendermint/v1beta1/query.rpc.Service").ServiceClientImpl; - }; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/query.rpc.Query").QueryClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/query.rpc.Query").QueryClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/query.rpc.Query").QueryClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/query.rpc.Query").QueryClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/query.rpc.Query").QueryClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/query.rpc.Query").QueryClientImpl; - }; - mint: { - v1beta1: import("../cosmos/mint/v1beta1/query.rpc.Query").QueryClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/query.rpc.Query").QueryClientImpl; - }; - params: { - v1beta1: import("../cosmos/params/v1beta1/query.rpc.Query").QueryClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/query.rpc.Query").QueryClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/query.rpc.Query").QueryClientImpl; - }; - tx: { - v1beta1: import("../cosmos/tx/v1beta1/service.rpc.Service").ServiceClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/query.rpc.Query").QueryClientImpl; - }; - }; - cosmwasm: { - wasm: { - v1: _252.QueryClientImpl; - }; - }; - }>; - }; -} diff --git a/examples/authz/types/codegen/cosmwasm/client.d.ts b/examples/authz/types/codegen/cosmwasm/client.d.ts deleted file mode 100644 index 0816f5e6..00000000 --- a/examples/authz/types/codegen/cosmwasm/client.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing"; -import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -export declare const cosmwasmAminoConverters: { - "/cosmwasm.wasm.v1.MsgStoreCode": { - aminoType: string; - toAmino: (message: import("./wasm/v1/tx").MsgStoreCode) => import("./wasm/v1/tx").MsgStoreCodeAmino; - fromAmino: (object: import("./wasm/v1/tx").MsgStoreCodeAmino) => import("./wasm/v1/tx").MsgStoreCode; - }; - "/cosmwasm.wasm.v1.MsgInstantiateContract": { - aminoType: string; - toAmino: (message: import("./wasm/v1/tx").MsgInstantiateContract) => import("./wasm/v1/tx").MsgInstantiateContractAmino; - fromAmino: (object: import("./wasm/v1/tx").MsgInstantiateContractAmino) => import("./wasm/v1/tx").MsgInstantiateContract; - }; - "/cosmwasm.wasm.v1.MsgExecuteContract": { - aminoType: string; - toAmino: (message: import("./wasm/v1/tx").MsgExecuteContract) => import("./wasm/v1/tx").MsgExecuteContractAmino; - fromAmino: (object: import("./wasm/v1/tx").MsgExecuteContractAmino) => import("./wasm/v1/tx").MsgExecuteContract; - }; - "/cosmwasm.wasm.v1.MsgMigrateContract": { - aminoType: string; - toAmino: (message: import("./wasm/v1/tx").MsgMigrateContract) => import("./wasm/v1/tx").MsgMigrateContractAmino; - fromAmino: (object: import("./wasm/v1/tx").MsgMigrateContractAmino) => import("./wasm/v1/tx").MsgMigrateContract; - }; - "/cosmwasm.wasm.v1.MsgUpdateAdmin": { - aminoType: string; - toAmino: (message: import("./wasm/v1/tx").MsgUpdateAdmin) => import("./wasm/v1/tx").MsgUpdateAdminAmino; - fromAmino: (object: import("./wasm/v1/tx").MsgUpdateAdminAmino) => import("./wasm/v1/tx").MsgUpdateAdmin; - }; - "/cosmwasm.wasm.v1.MsgClearAdmin": { - aminoType: string; - toAmino: (message: import("./wasm/v1/tx").MsgClearAdmin) => import("./wasm/v1/tx").MsgClearAdminAmino; - fromAmino: (object: import("./wasm/v1/tx").MsgClearAdminAmino) => import("./wasm/v1/tx").MsgClearAdmin; - }; -}; -export declare const cosmwasmProtoRegistry: ReadonlyArray<[string, GeneratedType]>; -export declare const getSigningCosmwasmClientOptions: ({ defaultTypes }?: { - defaultTypes?: ReadonlyArray<[string, GeneratedType]>; -}) => { - registry: Registry; - aminoTypes: AminoTypes; -}; -export declare const getSigningCosmwasmClient: ({ rpcEndpoint, signer, defaultTypes }: { - rpcEndpoint: string | HttpEndpoint; - signer: OfflineSigner; - defaultTypes?: ReadonlyArray<[string, GeneratedType]>; -}) => Promise; diff --git a/examples/authz/types/codegen/cosmwasm/rpc.query.d.ts b/examples/authz/types/codegen/cosmwasm/rpc.query.d.ts deleted file mode 100644 index 7a4ff8fc..00000000 --- a/examples/authz/types/codegen/cosmwasm/rpc.query.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { Rpc } from "../helpers"; -export declare const createRPCQueryClient: ({ rpc }: { - rpc: Rpc; -}) => Promise<{ - cosmos: { - app: { - v1alpha1: import("../cosmos/app/v1alpha1/query.rpc.Query").QueryClientImpl; - }; - auth: { - v1beta1: import("../cosmos/auth/v1beta1/query.rpc.Query").QueryClientImpl; - }; - authz: { - v1beta1: import("../cosmos/authz/v1beta1/query.rpc.Query").QueryClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/query.rpc.Query").QueryClientImpl; - }; - base: { - tendermint: { - v1beta1: import("../cosmos/base/tendermint/v1beta1/query.rpc.Service").ServiceClientImpl; - }; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/query.rpc.Query").QueryClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/query.rpc.Query").QueryClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/query.rpc.Query").QueryClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/query.rpc.Query").QueryClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/query.rpc.Query").QueryClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/query.rpc.Query").QueryClientImpl; - }; - mint: { - v1beta1: import("../cosmos/mint/v1beta1/query.rpc.Query").QueryClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/query.rpc.Query").QueryClientImpl; - }; - params: { - v1beta1: import("../cosmos/params/v1beta1/query.rpc.Query").QueryClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/query.rpc.Query").QueryClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/query.rpc.Query").QueryClientImpl; - }; - tx: { - v1beta1: import("../cosmos/tx/v1beta1/service.rpc.Service").ServiceClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/query.rpc.Query").QueryClientImpl; - }; - }; - cosmwasm: { - wasm: { - v1: import("./wasm/v1/query.rpc.Query").QueryClientImpl; - }; - }; -}>; diff --git a/examples/authz/types/codegen/cosmwasm/rpc.tx.d.ts b/examples/authz/types/codegen/cosmwasm/rpc.tx.d.ts deleted file mode 100644 index 5c33c61a..00000000 --- a/examples/authz/types/codegen/cosmwasm/rpc.tx.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { Rpc } from "../helpers"; -export declare const createRPCMsgClient: ({ rpc }: { - rpc: Rpc; -}) => Promise<{ - cosmos: { - authz: { - v1beta1: import("../cosmos/authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("../cosmos/crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("../cosmos/vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; - cosmwasm: { - wasm: { - v1: import("./wasm/v1/tx.rpc.msg").MsgClientImpl; - }; - }; -}>; diff --git a/examples/authz/types/codegen/cosmwasm/wasm/v1/genesis.d.ts b/examples/authz/types/codegen/cosmwasm/wasm/v1/genesis.d.ts deleted file mode 100644 index 903757c3..00000000 --- a/examples/authz/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +++ /dev/null @@ -1,256 +0,0 @@ -import { MsgStoreCode, MsgStoreCodeAmino, MsgStoreCodeSDKType, MsgInstantiateContract, MsgInstantiateContractAmino, MsgInstantiateContractSDKType, MsgExecuteContract, MsgExecuteContractAmino, MsgExecuteContractSDKType } from "./tx"; -import { Params, ParamsAmino, ParamsSDKType, CodeInfo, CodeInfoAmino, CodeInfoSDKType, ContractInfo, ContractInfoAmino, ContractInfoSDKType, Model, ModelAmino, ModelSDKType } from "./types"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState - genesis state of x/wasm */ -export interface GenesisState { - params: Params | undefined; - codes: Code[]; - contracts: Contract[]; - sequences: Sequence[]; - genMsgs: GenesisState_GenMsgs[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.GenesisState"; - value: Uint8Array; -} -/** GenesisState - genesis state of x/wasm */ -export interface GenesisStateAmino { - params?: ParamsAmino | undefined; - codes?: CodeAmino[]; - contracts?: ContractAmino[]; - sequences?: SequenceAmino[]; - gen_msgs?: GenesisState_GenMsgsAmino[]; -} -export interface GenesisStateAminoMsg { - type: "wasm/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState - genesis state of x/wasm */ -export interface GenesisStateSDKType { - params: ParamsSDKType | undefined; - codes: CodeSDKType[]; - contracts: ContractSDKType[]; - sequences: SequenceSDKType[]; - gen_msgs: GenesisState_GenMsgsSDKType[]; -} -/** - * GenMsgs define the messages that can be executed during genesis phase in - * order. The intention is to have more human readable data that is auditable. - */ -export interface GenesisState_GenMsgs { - storeCode?: MsgStoreCode | undefined; - instantiateContract?: MsgInstantiateContract | undefined; - executeContract?: MsgExecuteContract | undefined; -} -export interface GenesisState_GenMsgsProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.GenMsgs"; - value: Uint8Array; -} -/** - * GenMsgs define the messages that can be executed during genesis phase in - * order. The intention is to have more human readable data that is auditable. - */ -export interface GenesisState_GenMsgsAmino { - store_code?: MsgStoreCodeAmino | undefined; - instantiate_contract?: MsgInstantiateContractAmino | undefined; - execute_contract?: MsgExecuteContractAmino | undefined; -} -export interface GenesisState_GenMsgsAminoMsg { - type: "wasm/GenMsgs"; - value: GenesisState_GenMsgsAmino; -} -/** - * GenMsgs define the messages that can be executed during genesis phase in - * order. The intention is to have more human readable data that is auditable. - */ -export interface GenesisState_GenMsgsSDKType { - store_code?: MsgStoreCodeSDKType | undefined; - instantiate_contract?: MsgInstantiateContractSDKType | undefined; - execute_contract?: MsgExecuteContractSDKType | undefined; -} -/** Code struct encompasses CodeInfo and CodeBytes */ -export interface Code { - codeId: bigint; - codeInfo: CodeInfo | undefined; - codeBytes: Uint8Array; - /** Pinned to wasmvm cache */ - pinned: boolean; -} -export interface CodeProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.Code"; - value: Uint8Array; -} -/** Code struct encompasses CodeInfo and CodeBytes */ -export interface CodeAmino { - code_id?: string; - code_info?: CodeInfoAmino | undefined; - code_bytes?: string; - /** Pinned to wasmvm cache */ - pinned?: boolean; -} -export interface CodeAminoMsg { - type: "wasm/Code"; - value: CodeAmino; -} -/** Code struct encompasses CodeInfo and CodeBytes */ -export interface CodeSDKType { - code_id: bigint; - code_info: CodeInfoSDKType | undefined; - code_bytes: Uint8Array; - pinned: boolean; -} -/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ -export interface Contract { - contractAddress: string; - contractInfo: ContractInfo | undefined; - contractState: Model[]; -} -export interface ContractProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.Contract"; - value: Uint8Array; -} -/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ -export interface ContractAmino { - contract_address?: string; - contract_info?: ContractInfoAmino | undefined; - contract_state?: ModelAmino[]; -} -export interface ContractAminoMsg { - type: "wasm/Contract"; - value: ContractAmino; -} -/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ -export interface ContractSDKType { - contract_address: string; - contract_info: ContractInfoSDKType | undefined; - contract_state: ModelSDKType[]; -} -/** Sequence key and value of an id generation counter */ -export interface Sequence { - idKey: Uint8Array; - value: bigint; -} -export interface SequenceProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.Sequence"; - value: Uint8Array; -} -/** Sequence key and value of an id generation counter */ -export interface SequenceAmino { - id_key?: string; - value?: string; -} -export interface SequenceAminoMsg { - type: "wasm/Sequence"; - value: SequenceAmino; -} -/** Sequence key and value of an id generation counter */ -export interface SequenceSDKType { - id_key: Uint8Array; - value: bigint; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; -export declare const GenesisState_GenMsgs: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState_GenMsgs; - isSDK(o: any): o is GenesisState_GenMsgsSDKType; - isAmino(o: any): o is GenesisState_GenMsgsAmino; - encode(message: GenesisState_GenMsgs, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState_GenMsgs; - fromJSON(object: any): GenesisState_GenMsgs; - toJSON(message: GenesisState_GenMsgs): unknown; - fromPartial(object: DeepPartial): GenesisState_GenMsgs; - fromSDK(object: GenesisState_GenMsgsSDKType): GenesisState_GenMsgs; - toSDK(message: GenesisState_GenMsgs): GenesisState_GenMsgsSDKType; - fromAmino(object: GenesisState_GenMsgsAmino): GenesisState_GenMsgs; - toAmino(message: GenesisState_GenMsgs): GenesisState_GenMsgsAmino; - fromAminoMsg(object: GenesisState_GenMsgsAminoMsg): GenesisState_GenMsgs; - toAminoMsg(message: GenesisState_GenMsgs): GenesisState_GenMsgsAminoMsg; - fromProtoMsg(message: GenesisState_GenMsgsProtoMsg): GenesisState_GenMsgs; - toProto(message: GenesisState_GenMsgs): Uint8Array; - toProtoMsg(message: GenesisState_GenMsgs): GenesisState_GenMsgsProtoMsg; -}; -export declare const Code: { - typeUrl: string; - aminoType: string; - is(o: any): o is Code; - isSDK(o: any): o is CodeSDKType; - isAmino(o: any): o is CodeAmino; - encode(message: Code, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Code; - fromJSON(object: any): Code; - toJSON(message: Code): unknown; - fromPartial(object: DeepPartial): Code; - fromSDK(object: CodeSDKType): Code; - toSDK(message: Code): CodeSDKType; - fromAmino(object: CodeAmino): Code; - toAmino(message: Code): CodeAmino; - fromAminoMsg(object: CodeAminoMsg): Code; - toAminoMsg(message: Code): CodeAminoMsg; - fromProtoMsg(message: CodeProtoMsg): Code; - toProto(message: Code): Uint8Array; - toProtoMsg(message: Code): CodeProtoMsg; -}; -export declare const Contract: { - typeUrl: string; - aminoType: string; - is(o: any): o is Contract; - isSDK(o: any): o is ContractSDKType; - isAmino(o: any): o is ContractAmino; - encode(message: Contract, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Contract; - fromJSON(object: any): Contract; - toJSON(message: Contract): unknown; - fromPartial(object: DeepPartial): Contract; - fromSDK(object: ContractSDKType): Contract; - toSDK(message: Contract): ContractSDKType; - fromAmino(object: ContractAmino): Contract; - toAmino(message: Contract): ContractAmino; - fromAminoMsg(object: ContractAminoMsg): Contract; - toAminoMsg(message: Contract): ContractAminoMsg; - fromProtoMsg(message: ContractProtoMsg): Contract; - toProto(message: Contract): Uint8Array; - toProtoMsg(message: Contract): ContractProtoMsg; -}; -export declare const Sequence: { - typeUrl: string; - aminoType: string; - is(o: any): o is Sequence; - isSDK(o: any): o is SequenceSDKType; - isAmino(o: any): o is SequenceAmino; - encode(message: Sequence, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Sequence; - fromJSON(object: any): Sequence; - toJSON(message: Sequence): unknown; - fromPartial(object: DeepPartial): Sequence; - fromSDK(object: SequenceSDKType): Sequence; - toSDK(message: Sequence): SequenceSDKType; - fromAmino(object: SequenceAmino): Sequence; - toAmino(message: Sequence): SequenceAmino; - fromAminoMsg(object: SequenceAminoMsg): Sequence; - toAminoMsg(message: Sequence): SequenceAminoMsg; - fromProtoMsg(message: SequenceProtoMsg): Sequence; - toProto(message: Sequence): Uint8Array; - toProtoMsg(message: Sequence): SequenceProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmwasm/wasm/v1/ibc.d.ts b/examples/authz/types/codegen/cosmwasm/wasm/v1/ibc.d.ts deleted file mode 100644 index 60d21cae..00000000 --- a/examples/authz/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +++ /dev/null @@ -1,119 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** MsgIBCSend */ -export interface MsgIBCSend { - /** the channel by which the packet will be sent */ - channel: string; - /** - * Timeout height relative to the current block height. - * The timeout is disabled when set to 0. - */ - timeoutHeight: bigint; - /** - * Timeout timestamp (in nanoseconds) relative to the current block timestamp. - * The timeout is disabled when set to 0. - */ - timeoutTimestamp: bigint; - /** - * Data is the payload to transfer. We must not make assumption what format or - * content is in here. - */ - data: Uint8Array; -} -export interface MsgIBCSendProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgIBCSend"; - value: Uint8Array; -} -/** MsgIBCSend */ -export interface MsgIBCSendAmino { - /** the channel by which the packet will be sent */ - channel?: string; - /** - * Timeout height relative to the current block height. - * The timeout is disabled when set to 0. - */ - timeout_height?: string; - /** - * Timeout timestamp (in nanoseconds) relative to the current block timestamp. - * The timeout is disabled when set to 0. - */ - timeout_timestamp?: string; - /** - * Data is the payload to transfer. We must not make assumption what format or - * content is in here. - */ - data?: string; -} -export interface MsgIBCSendAminoMsg { - type: "wasm/MsgIBCSend"; - value: MsgIBCSendAmino; -} -/** MsgIBCSend */ -export interface MsgIBCSendSDKType { - channel: string; - timeout_height: bigint; - timeout_timestamp: bigint; - data: Uint8Array; -} -/** MsgIBCCloseChannel port and channel need to be owned by the contract */ -export interface MsgIBCCloseChannel { - channel: string; -} -export interface MsgIBCCloseChannelProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgIBCCloseChannel"; - value: Uint8Array; -} -/** MsgIBCCloseChannel port and channel need to be owned by the contract */ -export interface MsgIBCCloseChannelAmino { - channel?: string; -} -export interface MsgIBCCloseChannelAminoMsg { - type: "wasm/MsgIBCCloseChannel"; - value: MsgIBCCloseChannelAmino; -} -/** MsgIBCCloseChannel port and channel need to be owned by the contract */ -export interface MsgIBCCloseChannelSDKType { - channel: string; -} -export declare const MsgIBCSend: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgIBCSend; - isSDK(o: any): o is MsgIBCSendSDKType; - isAmino(o: any): o is MsgIBCSendAmino; - encode(message: MsgIBCSend, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgIBCSend; - fromJSON(object: any): MsgIBCSend; - toJSON(message: MsgIBCSend): unknown; - fromPartial(object: DeepPartial): MsgIBCSend; - fromSDK(object: MsgIBCSendSDKType): MsgIBCSend; - toSDK(message: MsgIBCSend): MsgIBCSendSDKType; - fromAmino(object: MsgIBCSendAmino): MsgIBCSend; - toAmino(message: MsgIBCSend): MsgIBCSendAmino; - fromAminoMsg(object: MsgIBCSendAminoMsg): MsgIBCSend; - toAminoMsg(message: MsgIBCSend): MsgIBCSendAminoMsg; - fromProtoMsg(message: MsgIBCSendProtoMsg): MsgIBCSend; - toProto(message: MsgIBCSend): Uint8Array; - toProtoMsg(message: MsgIBCSend): MsgIBCSendProtoMsg; -}; -export declare const MsgIBCCloseChannel: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgIBCCloseChannel; - isSDK(o: any): o is MsgIBCCloseChannelSDKType; - isAmino(o: any): o is MsgIBCCloseChannelAmino; - encode(message: MsgIBCCloseChannel, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgIBCCloseChannel; - fromJSON(object: any): MsgIBCCloseChannel; - toJSON(message: MsgIBCCloseChannel): unknown; - fromPartial(object: DeepPartial): MsgIBCCloseChannel; - fromSDK(object: MsgIBCCloseChannelSDKType): MsgIBCCloseChannel; - toSDK(message: MsgIBCCloseChannel): MsgIBCCloseChannelSDKType; - fromAmino(object: MsgIBCCloseChannelAmino): MsgIBCCloseChannel; - toAmino(message: MsgIBCCloseChannel): MsgIBCCloseChannelAmino; - fromAminoMsg(object: MsgIBCCloseChannelAminoMsg): MsgIBCCloseChannel; - toAminoMsg(message: MsgIBCCloseChannel): MsgIBCCloseChannelAminoMsg; - fromProtoMsg(message: MsgIBCCloseChannelProtoMsg): MsgIBCCloseChannel; - toProto(message: MsgIBCCloseChannel): Uint8Array; - toProtoMsg(message: MsgIBCCloseChannel): MsgIBCCloseChannelProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmwasm/wasm/v1/proposal.d.ts b/examples/authz/types/codegen/cosmwasm/wasm/v1/proposal.d.ts deleted file mode 100644 index 77f03f62..00000000 --- a/examples/authz/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +++ /dev/null @@ -1,596 +0,0 @@ -import { AccessConfig, AccessConfigAmino, AccessConfigSDKType } from "./types"; -import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ -export interface StoreCodeProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - runAs: string; - /** WASMByteCode can be raw or gzip compressed */ - wasmByteCode: Uint8Array; - /** InstantiatePermission to apply on contract creation, optional */ - instantiatePermission?: AccessConfig | undefined; -} -export interface StoreCodeProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.StoreCodeProposal"; - value: Uint8Array; -} -/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ -export interface StoreCodeProposalAmino { - /** Title is a short summary */ - title?: string; - /** Description is a human readable text */ - description?: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - run_as?: string; - /** WASMByteCode can be raw or gzip compressed */ - wasm_byte_code?: string; - /** InstantiatePermission to apply on contract creation, optional */ - instantiate_permission?: AccessConfigAmino | undefined; -} -export interface StoreCodeProposalAminoMsg { - type: "wasm/StoreCodeProposal"; - value: StoreCodeProposalAmino; -} -/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ -export interface StoreCodeProposalSDKType { - title: string; - description: string; - run_as: string; - wasm_byte_code: Uint8Array; - instantiate_permission?: AccessConfigSDKType | undefined; -} -/** - * InstantiateContractProposal gov proposal content type to instantiate a - * contract. - */ -export interface InstantiateContractProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - runAs: string; - /** Admin is an optional address that can execute migrations */ - admin: string; - /** CodeID is the reference to the stored WASM code */ - codeId: bigint; - /** Label is optional metadata to be stored with a constract instance. */ - label: string; - /** Msg json encoded message to be passed to the contract on instantiation */ - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - funds: Coin[]; -} -export interface InstantiateContractProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.InstantiateContractProposal"; - value: Uint8Array; -} -/** - * InstantiateContractProposal gov proposal content type to instantiate a - * contract. - */ -export interface InstantiateContractProposalAmino { - /** Title is a short summary */ - title?: string; - /** Description is a human readable text */ - description?: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - run_as?: string; - /** Admin is an optional address that can execute migrations */ - admin?: string; - /** CodeID is the reference to the stored WASM code */ - code_id?: string; - /** Label is optional metadata to be stored with a constract instance. */ - label?: string; - /** Msg json encoded message to be passed to the contract on instantiation */ - msg?: any; - /** Funds coins that are transferred to the contract on instantiation */ - funds?: CoinAmino[]; -} -export interface InstantiateContractProposalAminoMsg { - type: "wasm/InstantiateContractProposal"; - value: InstantiateContractProposalAmino; -} -/** - * InstantiateContractProposal gov proposal content type to instantiate a - * contract. - */ -export interface InstantiateContractProposalSDKType { - title: string; - description: string; - run_as: string; - admin: string; - code_id: bigint; - label: string; - msg: Uint8Array; - funds: CoinSDKType[]; -} -/** MigrateContractProposal gov proposal content type to migrate a contract. */ -export interface MigrateContractProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** Contract is the address of the smart contract */ - contract: string; - /** CodeID references the new WASM codesudo */ - codeId: bigint; - /** Msg json encoded message to be passed to the contract on migration */ - msg: Uint8Array; -} -export interface MigrateContractProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MigrateContractProposal"; - value: Uint8Array; -} -/** MigrateContractProposal gov proposal content type to migrate a contract. */ -export interface MigrateContractProposalAmino { - /** Title is a short summary */ - title?: string; - /** Description is a human readable text */ - description?: string; - /** Contract is the address of the smart contract */ - contract?: string; - /** CodeID references the new WASM codesudo */ - code_id?: string; - /** Msg json encoded message to be passed to the contract on migration */ - msg?: any; -} -export interface MigrateContractProposalAminoMsg { - type: "wasm/MigrateContractProposal"; - value: MigrateContractProposalAmino; -} -/** MigrateContractProposal gov proposal content type to migrate a contract. */ -export interface MigrateContractProposalSDKType { - title: string; - description: string; - contract: string; - code_id: bigint; - msg: Uint8Array; -} -/** SudoContractProposal gov proposal content type to call sudo on a contract. */ -export interface SudoContractProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** Contract is the address of the smart contract */ - contract: string; - /** Msg json encoded message to be passed to the contract as sudo */ - msg: Uint8Array; -} -export interface SudoContractProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.SudoContractProposal"; - value: Uint8Array; -} -/** SudoContractProposal gov proposal content type to call sudo on a contract. */ -export interface SudoContractProposalAmino { - /** Title is a short summary */ - title?: string; - /** Description is a human readable text */ - description?: string; - /** Contract is the address of the smart contract */ - contract?: string; - /** Msg json encoded message to be passed to the contract as sudo */ - msg?: any; -} -export interface SudoContractProposalAminoMsg { - type: "wasm/SudoContractProposal"; - value: SudoContractProposalAmino; -} -/** SudoContractProposal gov proposal content type to call sudo on a contract. */ -export interface SudoContractProposalSDKType { - title: string; - description: string; - contract: string; - msg: Uint8Array; -} -/** - * ExecuteContractProposal gov proposal content type to call execute on a - * contract. - */ -export interface ExecuteContractProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - runAs: string; - /** Contract is the address of the smart contract */ - contract: string; - /** Msg json encoded message to be passed to the contract as execute */ - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - funds: Coin[]; -} -export interface ExecuteContractProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.ExecuteContractProposal"; - value: Uint8Array; -} -/** - * ExecuteContractProposal gov proposal content type to call execute on a - * contract. - */ -export interface ExecuteContractProposalAmino { - /** Title is a short summary */ - title?: string; - /** Description is a human readable text */ - description?: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - run_as?: string; - /** Contract is the address of the smart contract */ - contract?: string; - /** Msg json encoded message to be passed to the contract as execute */ - msg?: any; - /** Funds coins that are transferred to the contract on instantiation */ - funds?: CoinAmino[]; -} -export interface ExecuteContractProposalAminoMsg { - type: "wasm/ExecuteContractProposal"; - value: ExecuteContractProposalAmino; -} -/** - * ExecuteContractProposal gov proposal content type to call execute on a - * contract. - */ -export interface ExecuteContractProposalSDKType { - title: string; - description: string; - run_as: string; - contract: string; - msg: Uint8Array; - funds: CoinSDKType[]; -} -/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ -export interface UpdateAdminProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** NewAdmin address to be set */ - newAdmin: string; - /** Contract is the address of the smart contract */ - contract: string; -} -export interface UpdateAdminProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.UpdateAdminProposal"; - value: Uint8Array; -} -/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ -export interface UpdateAdminProposalAmino { - /** Title is a short summary */ - title?: string; - /** Description is a human readable text */ - description?: string; - /** NewAdmin address to be set */ - new_admin?: string; - /** Contract is the address of the smart contract */ - contract?: string; -} -export interface UpdateAdminProposalAminoMsg { - type: "wasm/UpdateAdminProposal"; - value: UpdateAdminProposalAmino; -} -/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ -export interface UpdateAdminProposalSDKType { - title: string; - description: string; - new_admin: string; - contract: string; -} -/** - * ClearAdminProposal gov proposal content type to clear the admin of a - * contract. - */ -export interface ClearAdminProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** Contract is the address of the smart contract */ - contract: string; -} -export interface ClearAdminProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.ClearAdminProposal"; - value: Uint8Array; -} -/** - * ClearAdminProposal gov proposal content type to clear the admin of a - * contract. - */ -export interface ClearAdminProposalAmino { - /** Title is a short summary */ - title?: string; - /** Description is a human readable text */ - description?: string; - /** Contract is the address of the smart contract */ - contract?: string; -} -export interface ClearAdminProposalAminoMsg { - type: "wasm/ClearAdminProposal"; - value: ClearAdminProposalAmino; -} -/** - * ClearAdminProposal gov proposal content type to clear the admin of a - * contract. - */ -export interface ClearAdminProposalSDKType { - title: string; - description: string; - contract: string; -} -/** - * PinCodesProposal gov proposal content type to pin a set of code ids in the - * wasmvm cache. - */ -export interface PinCodesProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** CodeIDs references the new WASM codes */ - codeIds: bigint[]; -} -export interface PinCodesProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.PinCodesProposal"; - value: Uint8Array; -} -/** - * PinCodesProposal gov proposal content type to pin a set of code ids in the - * wasmvm cache. - */ -export interface PinCodesProposalAmino { - /** Title is a short summary */ - title?: string; - /** Description is a human readable text */ - description?: string; - /** CodeIDs references the new WASM codes */ - code_ids?: string[]; -} -export interface PinCodesProposalAminoMsg { - type: "wasm/PinCodesProposal"; - value: PinCodesProposalAmino; -} -/** - * PinCodesProposal gov proposal content type to pin a set of code ids in the - * wasmvm cache. - */ -export interface PinCodesProposalSDKType { - title: string; - description: string; - code_ids: bigint[]; -} -/** - * UnpinCodesProposal gov proposal content type to unpin a set of code ids in - * the wasmvm cache. - */ -export interface UnpinCodesProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** CodeIDs references the WASM codes */ - codeIds: bigint[]; -} -export interface UnpinCodesProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.UnpinCodesProposal"; - value: Uint8Array; -} -/** - * UnpinCodesProposal gov proposal content type to unpin a set of code ids in - * the wasmvm cache. - */ -export interface UnpinCodesProposalAmino { - /** Title is a short summary */ - title?: string; - /** Description is a human readable text */ - description?: string; - /** CodeIDs references the WASM codes */ - code_ids?: string[]; -} -export interface UnpinCodesProposalAminoMsg { - type: "wasm/UnpinCodesProposal"; - value: UnpinCodesProposalAmino; -} -/** - * UnpinCodesProposal gov proposal content type to unpin a set of code ids in - * the wasmvm cache. - */ -export interface UnpinCodesProposalSDKType { - title: string; - description: string; - code_ids: bigint[]; -} -export declare const StoreCodeProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is StoreCodeProposal; - isSDK(o: any): o is StoreCodeProposalSDKType; - isAmino(o: any): o is StoreCodeProposalAmino; - encode(message: StoreCodeProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): StoreCodeProposal; - fromJSON(object: any): StoreCodeProposal; - toJSON(message: StoreCodeProposal): unknown; - fromPartial(object: DeepPartial): StoreCodeProposal; - fromSDK(object: StoreCodeProposalSDKType): StoreCodeProposal; - toSDK(message: StoreCodeProposal): StoreCodeProposalSDKType; - fromAmino(object: StoreCodeProposalAmino): StoreCodeProposal; - toAmino(message: StoreCodeProposal): StoreCodeProposalAmino; - fromAminoMsg(object: StoreCodeProposalAminoMsg): StoreCodeProposal; - toAminoMsg(message: StoreCodeProposal): StoreCodeProposalAminoMsg; - fromProtoMsg(message: StoreCodeProposalProtoMsg): StoreCodeProposal; - toProto(message: StoreCodeProposal): Uint8Array; - toProtoMsg(message: StoreCodeProposal): StoreCodeProposalProtoMsg; -}; -export declare const InstantiateContractProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is InstantiateContractProposal; - isSDK(o: any): o is InstantiateContractProposalSDKType; - isAmino(o: any): o is InstantiateContractProposalAmino; - encode(message: InstantiateContractProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): InstantiateContractProposal; - fromJSON(object: any): InstantiateContractProposal; - toJSON(message: InstantiateContractProposal): unknown; - fromPartial(object: DeepPartial): InstantiateContractProposal; - fromSDK(object: InstantiateContractProposalSDKType): InstantiateContractProposal; - toSDK(message: InstantiateContractProposal): InstantiateContractProposalSDKType; - fromAmino(object: InstantiateContractProposalAmino): InstantiateContractProposal; - toAmino(message: InstantiateContractProposal): InstantiateContractProposalAmino; - fromAminoMsg(object: InstantiateContractProposalAminoMsg): InstantiateContractProposal; - toAminoMsg(message: InstantiateContractProposal): InstantiateContractProposalAminoMsg; - fromProtoMsg(message: InstantiateContractProposalProtoMsg): InstantiateContractProposal; - toProto(message: InstantiateContractProposal): Uint8Array; - toProtoMsg(message: InstantiateContractProposal): InstantiateContractProposalProtoMsg; -}; -export declare const MigrateContractProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is MigrateContractProposal; - isSDK(o: any): o is MigrateContractProposalSDKType; - isAmino(o: any): o is MigrateContractProposalAmino; - encode(message: MigrateContractProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MigrateContractProposal; - fromJSON(object: any): MigrateContractProposal; - toJSON(message: MigrateContractProposal): unknown; - fromPartial(object: DeepPartial): MigrateContractProposal; - fromSDK(object: MigrateContractProposalSDKType): MigrateContractProposal; - toSDK(message: MigrateContractProposal): MigrateContractProposalSDKType; - fromAmino(object: MigrateContractProposalAmino): MigrateContractProposal; - toAmino(message: MigrateContractProposal): MigrateContractProposalAmino; - fromAminoMsg(object: MigrateContractProposalAminoMsg): MigrateContractProposal; - toAminoMsg(message: MigrateContractProposal): MigrateContractProposalAminoMsg; - fromProtoMsg(message: MigrateContractProposalProtoMsg): MigrateContractProposal; - toProto(message: MigrateContractProposal): Uint8Array; - toProtoMsg(message: MigrateContractProposal): MigrateContractProposalProtoMsg; -}; -export declare const SudoContractProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is SudoContractProposal; - isSDK(o: any): o is SudoContractProposalSDKType; - isAmino(o: any): o is SudoContractProposalAmino; - encode(message: SudoContractProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SudoContractProposal; - fromJSON(object: any): SudoContractProposal; - toJSON(message: SudoContractProposal): unknown; - fromPartial(object: DeepPartial): SudoContractProposal; - fromSDK(object: SudoContractProposalSDKType): SudoContractProposal; - toSDK(message: SudoContractProposal): SudoContractProposalSDKType; - fromAmino(object: SudoContractProposalAmino): SudoContractProposal; - toAmino(message: SudoContractProposal): SudoContractProposalAmino; - fromAminoMsg(object: SudoContractProposalAminoMsg): SudoContractProposal; - toAminoMsg(message: SudoContractProposal): SudoContractProposalAminoMsg; - fromProtoMsg(message: SudoContractProposalProtoMsg): SudoContractProposal; - toProto(message: SudoContractProposal): Uint8Array; - toProtoMsg(message: SudoContractProposal): SudoContractProposalProtoMsg; -}; -export declare const ExecuteContractProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is ExecuteContractProposal; - isSDK(o: any): o is ExecuteContractProposalSDKType; - isAmino(o: any): o is ExecuteContractProposalAmino; - encode(message: ExecuteContractProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ExecuteContractProposal; - fromJSON(object: any): ExecuteContractProposal; - toJSON(message: ExecuteContractProposal): unknown; - fromPartial(object: DeepPartial): ExecuteContractProposal; - fromSDK(object: ExecuteContractProposalSDKType): ExecuteContractProposal; - toSDK(message: ExecuteContractProposal): ExecuteContractProposalSDKType; - fromAmino(object: ExecuteContractProposalAmino): ExecuteContractProposal; - toAmino(message: ExecuteContractProposal): ExecuteContractProposalAmino; - fromAminoMsg(object: ExecuteContractProposalAminoMsg): ExecuteContractProposal; - toAminoMsg(message: ExecuteContractProposal): ExecuteContractProposalAminoMsg; - fromProtoMsg(message: ExecuteContractProposalProtoMsg): ExecuteContractProposal; - toProto(message: ExecuteContractProposal): Uint8Array; - toProtoMsg(message: ExecuteContractProposal): ExecuteContractProposalProtoMsg; -}; -export declare const UpdateAdminProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is UpdateAdminProposal; - isSDK(o: any): o is UpdateAdminProposalSDKType; - isAmino(o: any): o is UpdateAdminProposalAmino; - encode(message: UpdateAdminProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): UpdateAdminProposal; - fromJSON(object: any): UpdateAdminProposal; - toJSON(message: UpdateAdminProposal): unknown; - fromPartial(object: DeepPartial): UpdateAdminProposal; - fromSDK(object: UpdateAdminProposalSDKType): UpdateAdminProposal; - toSDK(message: UpdateAdminProposal): UpdateAdminProposalSDKType; - fromAmino(object: UpdateAdminProposalAmino): UpdateAdminProposal; - toAmino(message: UpdateAdminProposal): UpdateAdminProposalAmino; - fromAminoMsg(object: UpdateAdminProposalAminoMsg): UpdateAdminProposal; - toAminoMsg(message: UpdateAdminProposal): UpdateAdminProposalAminoMsg; - fromProtoMsg(message: UpdateAdminProposalProtoMsg): UpdateAdminProposal; - toProto(message: UpdateAdminProposal): Uint8Array; - toProtoMsg(message: UpdateAdminProposal): UpdateAdminProposalProtoMsg; -}; -export declare const ClearAdminProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is ClearAdminProposal; - isSDK(o: any): o is ClearAdminProposalSDKType; - isAmino(o: any): o is ClearAdminProposalAmino; - encode(message: ClearAdminProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ClearAdminProposal; - fromJSON(object: any): ClearAdminProposal; - toJSON(message: ClearAdminProposal): unknown; - fromPartial(object: DeepPartial): ClearAdminProposal; - fromSDK(object: ClearAdminProposalSDKType): ClearAdminProposal; - toSDK(message: ClearAdminProposal): ClearAdminProposalSDKType; - fromAmino(object: ClearAdminProposalAmino): ClearAdminProposal; - toAmino(message: ClearAdminProposal): ClearAdminProposalAmino; - fromAminoMsg(object: ClearAdminProposalAminoMsg): ClearAdminProposal; - toAminoMsg(message: ClearAdminProposal): ClearAdminProposalAminoMsg; - fromProtoMsg(message: ClearAdminProposalProtoMsg): ClearAdminProposal; - toProto(message: ClearAdminProposal): Uint8Array; - toProtoMsg(message: ClearAdminProposal): ClearAdminProposalProtoMsg; -}; -export declare const PinCodesProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is PinCodesProposal; - isSDK(o: any): o is PinCodesProposalSDKType; - isAmino(o: any): o is PinCodesProposalAmino; - encode(message: PinCodesProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PinCodesProposal; - fromJSON(object: any): PinCodesProposal; - toJSON(message: PinCodesProposal): unknown; - fromPartial(object: DeepPartial): PinCodesProposal; - fromSDK(object: PinCodesProposalSDKType): PinCodesProposal; - toSDK(message: PinCodesProposal): PinCodesProposalSDKType; - fromAmino(object: PinCodesProposalAmino): PinCodesProposal; - toAmino(message: PinCodesProposal): PinCodesProposalAmino; - fromAminoMsg(object: PinCodesProposalAminoMsg): PinCodesProposal; - toAminoMsg(message: PinCodesProposal): PinCodesProposalAminoMsg; - fromProtoMsg(message: PinCodesProposalProtoMsg): PinCodesProposal; - toProto(message: PinCodesProposal): Uint8Array; - toProtoMsg(message: PinCodesProposal): PinCodesProposalProtoMsg; -}; -export declare const UnpinCodesProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is UnpinCodesProposal; - isSDK(o: any): o is UnpinCodesProposalSDKType; - isAmino(o: any): o is UnpinCodesProposalAmino; - encode(message: UnpinCodesProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): UnpinCodesProposal; - fromJSON(object: any): UnpinCodesProposal; - toJSON(message: UnpinCodesProposal): unknown; - fromPartial(object: DeepPartial): UnpinCodesProposal; - fromSDK(object: UnpinCodesProposalSDKType): UnpinCodesProposal; - toSDK(message: UnpinCodesProposal): UnpinCodesProposalSDKType; - fromAmino(object: UnpinCodesProposalAmino): UnpinCodesProposal; - toAmino(message: UnpinCodesProposal): UnpinCodesProposalAmino; - fromAminoMsg(object: UnpinCodesProposalAminoMsg): UnpinCodesProposal; - toAminoMsg(message: UnpinCodesProposal): UnpinCodesProposalAminoMsg; - fromProtoMsg(message: UnpinCodesProposalProtoMsg): UnpinCodesProposal; - toProto(message: UnpinCodesProposal): Uint8Array; - toProtoMsg(message: UnpinCodesProposal): UnpinCodesProposalProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmwasm/wasm/v1/query.d.ts b/examples/authz/types/codegen/cosmwasm/wasm/v1/query.d.ts deleted file mode 100644 index 251385a0..00000000 --- a/examples/authz/types/codegen/cosmwasm/wasm/v1/query.d.ts +++ /dev/null @@ -1,999 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; -import { ContractInfo, ContractInfoAmino, ContractInfoSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntryAmino, ContractCodeHistoryEntrySDKType, Model, ModelAmino, ModelSDKType } from "./types"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC - * method - */ -export interface QueryContractInfoRequest { - /** address is the address of the contract to query */ - address: string; -} -export interface QueryContractInfoRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryContractInfoRequest"; - value: Uint8Array; -} -/** - * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC - * method - */ -export interface QueryContractInfoRequestAmino { - /** address is the address of the contract to query */ - address?: string; -} -export interface QueryContractInfoRequestAminoMsg { - type: "wasm/QueryContractInfoRequest"; - value: QueryContractInfoRequestAmino; -} -/** - * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC - * method - */ -export interface QueryContractInfoRequestSDKType { - address: string; -} -/** - * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC - * method - */ -export interface QueryContractInfoResponse { - /** address is the address of the contract */ - address: string; - contractInfo: ContractInfo | undefined; -} -export interface QueryContractInfoResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryContractInfoResponse"; - value: Uint8Array; -} -/** - * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC - * method - */ -export interface QueryContractInfoResponseAmino { - /** address is the address of the contract */ - address?: string; - contract_info?: ContractInfoAmino | undefined; -} -export interface QueryContractInfoResponseAminoMsg { - type: "wasm/QueryContractInfoResponse"; - value: QueryContractInfoResponseAmino; -} -/** - * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC - * method - */ -export interface QueryContractInfoResponseSDKType { - address: string; - contract_info: ContractInfoSDKType | undefined; -} -/** - * QueryContractHistoryRequest is the request type for the Query/ContractHistory - * RPC method - */ -export interface QueryContractHistoryRequest { - /** address is the address of the contract to query */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryContractHistoryRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryContractHistoryRequest"; - value: Uint8Array; -} -/** - * QueryContractHistoryRequest is the request type for the Query/ContractHistory - * RPC method - */ -export interface QueryContractHistoryRequestAmino { - /** address is the address of the contract to query */ - address?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryContractHistoryRequestAminoMsg { - type: "wasm/QueryContractHistoryRequest"; - value: QueryContractHistoryRequestAmino; -} -/** - * QueryContractHistoryRequest is the request type for the Query/ContractHistory - * RPC method - */ -export interface QueryContractHistoryRequestSDKType { - address: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryContractHistoryResponse is the response type for the - * Query/ContractHistory RPC method - */ -export interface QueryContractHistoryResponse { - entries: ContractCodeHistoryEntry[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryContractHistoryResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryContractHistoryResponse"; - value: Uint8Array; -} -/** - * QueryContractHistoryResponse is the response type for the - * Query/ContractHistory RPC method - */ -export interface QueryContractHistoryResponseAmino { - entries?: ContractCodeHistoryEntryAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryContractHistoryResponseAminoMsg { - type: "wasm/QueryContractHistoryResponse"; - value: QueryContractHistoryResponseAmino; -} -/** - * QueryContractHistoryResponse is the response type for the - * Query/ContractHistory RPC method - */ -export interface QueryContractHistoryResponseSDKType { - entries: ContractCodeHistoryEntrySDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode - * RPC method - */ -export interface QueryContractsByCodeRequest { - /** - * grpc-gateway_out does not support Go style CodID - * pagination defines an optional pagination for the request. - */ - codeId: bigint; - pagination?: PageRequest | undefined; -} -export interface QueryContractsByCodeRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCodeRequest"; - value: Uint8Array; -} -/** - * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode - * RPC method - */ -export interface QueryContractsByCodeRequestAmino { - /** - * grpc-gateway_out does not support Go style CodID - * pagination defines an optional pagination for the request. - */ - code_id?: string; - pagination?: PageRequestAmino | undefined; -} -export interface QueryContractsByCodeRequestAminoMsg { - type: "wasm/QueryContractsByCodeRequest"; - value: QueryContractsByCodeRequestAmino; -} -/** - * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode - * RPC method - */ -export interface QueryContractsByCodeRequestSDKType { - code_id: bigint; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryContractsByCodeResponse is the response type for the - * Query/ContractsByCode RPC method - */ -export interface QueryContractsByCodeResponse { - /** contracts are a set of contract addresses */ - contracts: string[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryContractsByCodeResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCodeResponse"; - value: Uint8Array; -} -/** - * QueryContractsByCodeResponse is the response type for the - * Query/ContractsByCode RPC method - */ -export interface QueryContractsByCodeResponseAmino { - /** contracts are a set of contract addresses */ - contracts?: string[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryContractsByCodeResponseAminoMsg { - type: "wasm/QueryContractsByCodeResponse"; - value: QueryContractsByCodeResponseAmino; -} -/** - * QueryContractsByCodeResponse is the response type for the - * Query/ContractsByCode RPC method - */ -export interface QueryContractsByCodeResponseSDKType { - contracts: string[]; - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryAllContractStateRequest is the request type for the - * Query/AllContractState RPC method - */ -export interface QueryAllContractStateRequest { - /** address is the address of the contract */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryAllContractStateRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryAllContractStateRequest"; - value: Uint8Array; -} -/** - * QueryAllContractStateRequest is the request type for the - * Query/AllContractState RPC method - */ -export interface QueryAllContractStateRequestAmino { - /** address is the address of the contract */ - address?: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryAllContractStateRequestAminoMsg { - type: "wasm/QueryAllContractStateRequest"; - value: QueryAllContractStateRequestAmino; -} -/** - * QueryAllContractStateRequest is the request type for the - * Query/AllContractState RPC method - */ -export interface QueryAllContractStateRequestSDKType { - address: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryAllContractStateResponse is the response type for the - * Query/AllContractState RPC method - */ -export interface QueryAllContractStateResponse { - models: Model[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryAllContractStateResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryAllContractStateResponse"; - value: Uint8Array; -} -/** - * QueryAllContractStateResponse is the response type for the - * Query/AllContractState RPC method - */ -export interface QueryAllContractStateResponseAmino { - models?: ModelAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryAllContractStateResponseAminoMsg { - type: "wasm/QueryAllContractStateResponse"; - value: QueryAllContractStateResponseAmino; -} -/** - * QueryAllContractStateResponse is the response type for the - * Query/AllContractState RPC method - */ -export interface QueryAllContractStateResponseSDKType { - models: ModelSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryRawContractStateRequest is the request type for the - * Query/RawContractState RPC method - */ -export interface QueryRawContractStateRequest { - /** address is the address of the contract */ - address: string; - queryData: Uint8Array; -} -export interface QueryRawContractStateRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryRawContractStateRequest"; - value: Uint8Array; -} -/** - * QueryRawContractStateRequest is the request type for the - * Query/RawContractState RPC method - */ -export interface QueryRawContractStateRequestAmino { - /** address is the address of the contract */ - address?: string; - query_data?: string; -} -export interface QueryRawContractStateRequestAminoMsg { - type: "wasm/QueryRawContractStateRequest"; - value: QueryRawContractStateRequestAmino; -} -/** - * QueryRawContractStateRequest is the request type for the - * Query/RawContractState RPC method - */ -export interface QueryRawContractStateRequestSDKType { - address: string; - query_data: Uint8Array; -} -/** - * QueryRawContractStateResponse is the response type for the - * Query/RawContractState RPC method - */ -export interface QueryRawContractStateResponse { - /** Data contains the raw store data */ - data: Uint8Array; -} -export interface QueryRawContractStateResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryRawContractStateResponse"; - value: Uint8Array; -} -/** - * QueryRawContractStateResponse is the response type for the - * Query/RawContractState RPC method - */ -export interface QueryRawContractStateResponseAmino { - /** Data contains the raw store data */ - data?: string; -} -export interface QueryRawContractStateResponseAminoMsg { - type: "wasm/QueryRawContractStateResponse"; - value: QueryRawContractStateResponseAmino; -} -/** - * QueryRawContractStateResponse is the response type for the - * Query/RawContractState RPC method - */ -export interface QueryRawContractStateResponseSDKType { - data: Uint8Array; -} -/** - * QuerySmartContractStateRequest is the request type for the - * Query/SmartContractState RPC method - */ -export interface QuerySmartContractStateRequest { - /** address is the address of the contract */ - address: string; - /** QueryData contains the query data passed to the contract */ - queryData: Uint8Array; -} -export interface QuerySmartContractStateRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QuerySmartContractStateRequest"; - value: Uint8Array; -} -/** - * QuerySmartContractStateRequest is the request type for the - * Query/SmartContractState RPC method - */ -export interface QuerySmartContractStateRequestAmino { - /** address is the address of the contract */ - address?: string; - /** QueryData contains the query data passed to the contract */ - query_data?: any; -} -export interface QuerySmartContractStateRequestAminoMsg { - type: "wasm/QuerySmartContractStateRequest"; - value: QuerySmartContractStateRequestAmino; -} -/** - * QuerySmartContractStateRequest is the request type for the - * Query/SmartContractState RPC method - */ -export interface QuerySmartContractStateRequestSDKType { - address: string; - query_data: Uint8Array; -} -/** - * QuerySmartContractStateResponse is the response type for the - * Query/SmartContractState RPC method - */ -export interface QuerySmartContractStateResponse { - /** Data contains the json data returned from the smart contract */ - data: Uint8Array; -} -export interface QuerySmartContractStateResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QuerySmartContractStateResponse"; - value: Uint8Array; -} -/** - * QuerySmartContractStateResponse is the response type for the - * Query/SmartContractState RPC method - */ -export interface QuerySmartContractStateResponseAmino { - /** Data contains the json data returned from the smart contract */ - data?: any; -} -export interface QuerySmartContractStateResponseAminoMsg { - type: "wasm/QuerySmartContractStateResponse"; - value: QuerySmartContractStateResponseAmino; -} -/** - * QuerySmartContractStateResponse is the response type for the - * Query/SmartContractState RPC method - */ -export interface QuerySmartContractStateResponseSDKType { - data: Uint8Array; -} -/** QueryCodeRequest is the request type for the Query/Code RPC method */ -export interface QueryCodeRequest { - /** grpc-gateway_out does not support Go style CodID */ - codeId: bigint; -} -export interface QueryCodeRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryCodeRequest"; - value: Uint8Array; -} -/** QueryCodeRequest is the request type for the Query/Code RPC method */ -export interface QueryCodeRequestAmino { - /** grpc-gateway_out does not support Go style CodID */ - code_id?: string; -} -export interface QueryCodeRequestAminoMsg { - type: "wasm/QueryCodeRequest"; - value: QueryCodeRequestAmino; -} -/** QueryCodeRequest is the request type for the Query/Code RPC method */ -export interface QueryCodeRequestSDKType { - code_id: bigint; -} -/** CodeInfoResponse contains code meta data from CodeInfo */ -export interface CodeInfoResponse { - codeId: bigint; - creator: string; - dataHash: Uint8Array; -} -export interface CodeInfoResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.CodeInfoResponse"; - value: Uint8Array; -} -/** CodeInfoResponse contains code meta data from CodeInfo */ -export interface CodeInfoResponseAmino { - code_id?: string; - creator?: string; - data_hash?: string; -} -export interface CodeInfoResponseAminoMsg { - type: "wasm/CodeInfoResponse"; - value: CodeInfoResponseAmino; -} -/** CodeInfoResponse contains code meta data from CodeInfo */ -export interface CodeInfoResponseSDKType { - code_id: bigint; - creator: string; - data_hash: Uint8Array; -} -/** QueryCodeResponse is the response type for the Query/Code RPC method */ -export interface QueryCodeResponse { - codeInfo?: CodeInfoResponse | undefined; - data: Uint8Array; -} -export interface QueryCodeResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryCodeResponse"; - value: Uint8Array; -} -/** QueryCodeResponse is the response type for the Query/Code RPC method */ -export interface QueryCodeResponseAmino { - code_info?: CodeInfoResponseAmino | undefined; - data?: string; -} -export interface QueryCodeResponseAminoMsg { - type: "wasm/QueryCodeResponse"; - value: QueryCodeResponseAmino; -} -/** QueryCodeResponse is the response type for the Query/Code RPC method */ -export interface QueryCodeResponseSDKType { - code_info?: CodeInfoResponseSDKType | undefined; - data: Uint8Array; -} -/** QueryCodesRequest is the request type for the Query/Codes RPC method */ -export interface QueryCodesRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryCodesRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryCodesRequest"; - value: Uint8Array; -} -/** QueryCodesRequest is the request type for the Query/Codes RPC method */ -export interface QueryCodesRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryCodesRequestAminoMsg { - type: "wasm/QueryCodesRequest"; - value: QueryCodesRequestAmino; -} -/** QueryCodesRequest is the request type for the Query/Codes RPC method */ -export interface QueryCodesRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -/** QueryCodesResponse is the response type for the Query/Codes RPC method */ -export interface QueryCodesResponse { - codeInfos: CodeInfoResponse[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryCodesResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryCodesResponse"; - value: Uint8Array; -} -/** QueryCodesResponse is the response type for the Query/Codes RPC method */ -export interface QueryCodesResponseAmino { - code_infos?: CodeInfoResponseAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryCodesResponseAminoMsg { - type: "wasm/QueryCodesResponse"; - value: QueryCodesResponseAmino; -} -/** QueryCodesResponse is the response type for the Query/Codes RPC method */ -export interface QueryCodesResponseSDKType { - code_infos: CodeInfoResponseSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes - * RPC method - */ -export interface QueryPinnedCodesRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryPinnedCodesRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryPinnedCodesRequest"; - value: Uint8Array; -} -/** - * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes - * RPC method - */ -export interface QueryPinnedCodesRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryPinnedCodesRequestAminoMsg { - type: "wasm/QueryPinnedCodesRequest"; - value: QueryPinnedCodesRequestAmino; -} -/** - * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes - * RPC method - */ -export interface QueryPinnedCodesRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryPinnedCodesResponse is the response type for the - * Query/PinnedCodes RPC method - */ -export interface QueryPinnedCodesResponse { - codeIds: bigint[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryPinnedCodesResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryPinnedCodesResponse"; - value: Uint8Array; -} -/** - * QueryPinnedCodesResponse is the response type for the - * Query/PinnedCodes RPC method - */ -export interface QueryPinnedCodesResponseAmino { - code_ids?: string[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryPinnedCodesResponseAminoMsg { - type: "wasm/QueryPinnedCodesResponse"; - value: QueryPinnedCodesResponseAmino; -} -/** - * QueryPinnedCodesResponse is the response type for the - * Query/PinnedCodes RPC method - */ -export interface QueryPinnedCodesResponseSDKType { - code_ids: bigint[]; - pagination?: PageResponseSDKType | undefined; -} -export declare const QueryContractInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryContractInfoRequest; - isSDK(o: any): o is QueryContractInfoRequestSDKType; - isAmino(o: any): o is QueryContractInfoRequestAmino; - encode(message: QueryContractInfoRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryContractInfoRequest; - fromJSON(object: any): QueryContractInfoRequest; - toJSON(message: QueryContractInfoRequest): unknown; - fromPartial(object: DeepPartial): QueryContractInfoRequest; - fromSDK(object: QueryContractInfoRequestSDKType): QueryContractInfoRequest; - toSDK(message: QueryContractInfoRequest): QueryContractInfoRequestSDKType; - fromAmino(object: QueryContractInfoRequestAmino): QueryContractInfoRequest; - toAmino(message: QueryContractInfoRequest): QueryContractInfoRequestAmino; - fromAminoMsg(object: QueryContractInfoRequestAminoMsg): QueryContractInfoRequest; - toAminoMsg(message: QueryContractInfoRequest): QueryContractInfoRequestAminoMsg; - fromProtoMsg(message: QueryContractInfoRequestProtoMsg): QueryContractInfoRequest; - toProto(message: QueryContractInfoRequest): Uint8Array; - toProtoMsg(message: QueryContractInfoRequest): QueryContractInfoRequestProtoMsg; -}; -export declare const QueryContractInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryContractInfoResponse; - isSDK(o: any): o is QueryContractInfoResponseSDKType; - isAmino(o: any): o is QueryContractInfoResponseAmino; - encode(message: QueryContractInfoResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryContractInfoResponse; - fromJSON(object: any): QueryContractInfoResponse; - toJSON(message: QueryContractInfoResponse): unknown; - fromPartial(object: DeepPartial): QueryContractInfoResponse; - fromSDK(object: QueryContractInfoResponseSDKType): QueryContractInfoResponse; - toSDK(message: QueryContractInfoResponse): QueryContractInfoResponseSDKType; - fromAmino(object: QueryContractInfoResponseAmino): QueryContractInfoResponse; - toAmino(message: QueryContractInfoResponse): QueryContractInfoResponseAmino; - fromAminoMsg(object: QueryContractInfoResponseAminoMsg): QueryContractInfoResponse; - toAminoMsg(message: QueryContractInfoResponse): QueryContractInfoResponseAminoMsg; - fromProtoMsg(message: QueryContractInfoResponseProtoMsg): QueryContractInfoResponse; - toProto(message: QueryContractInfoResponse): Uint8Array; - toProtoMsg(message: QueryContractInfoResponse): QueryContractInfoResponseProtoMsg; -}; -export declare const QueryContractHistoryRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryContractHistoryRequest; - isSDK(o: any): o is QueryContractHistoryRequestSDKType; - isAmino(o: any): o is QueryContractHistoryRequestAmino; - encode(message: QueryContractHistoryRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryContractHistoryRequest; - fromJSON(object: any): QueryContractHistoryRequest; - toJSON(message: QueryContractHistoryRequest): unknown; - fromPartial(object: DeepPartial): QueryContractHistoryRequest; - fromSDK(object: QueryContractHistoryRequestSDKType): QueryContractHistoryRequest; - toSDK(message: QueryContractHistoryRequest): QueryContractHistoryRequestSDKType; - fromAmino(object: QueryContractHistoryRequestAmino): QueryContractHistoryRequest; - toAmino(message: QueryContractHistoryRequest): QueryContractHistoryRequestAmino; - fromAminoMsg(object: QueryContractHistoryRequestAminoMsg): QueryContractHistoryRequest; - toAminoMsg(message: QueryContractHistoryRequest): QueryContractHistoryRequestAminoMsg; - fromProtoMsg(message: QueryContractHistoryRequestProtoMsg): QueryContractHistoryRequest; - toProto(message: QueryContractHistoryRequest): Uint8Array; - toProtoMsg(message: QueryContractHistoryRequest): QueryContractHistoryRequestProtoMsg; -}; -export declare const QueryContractHistoryResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryContractHistoryResponse; - isSDK(o: any): o is QueryContractHistoryResponseSDKType; - isAmino(o: any): o is QueryContractHistoryResponseAmino; - encode(message: QueryContractHistoryResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryContractHistoryResponse; - fromJSON(object: any): QueryContractHistoryResponse; - toJSON(message: QueryContractHistoryResponse): unknown; - fromPartial(object: DeepPartial): QueryContractHistoryResponse; - fromSDK(object: QueryContractHistoryResponseSDKType): QueryContractHistoryResponse; - toSDK(message: QueryContractHistoryResponse): QueryContractHistoryResponseSDKType; - fromAmino(object: QueryContractHistoryResponseAmino): QueryContractHistoryResponse; - toAmino(message: QueryContractHistoryResponse): QueryContractHistoryResponseAmino; - fromAminoMsg(object: QueryContractHistoryResponseAminoMsg): QueryContractHistoryResponse; - toAminoMsg(message: QueryContractHistoryResponse): QueryContractHistoryResponseAminoMsg; - fromProtoMsg(message: QueryContractHistoryResponseProtoMsg): QueryContractHistoryResponse; - toProto(message: QueryContractHistoryResponse): Uint8Array; - toProtoMsg(message: QueryContractHistoryResponse): QueryContractHistoryResponseProtoMsg; -}; -export declare const QueryContractsByCodeRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryContractsByCodeRequest; - isSDK(o: any): o is QueryContractsByCodeRequestSDKType; - isAmino(o: any): o is QueryContractsByCodeRequestAmino; - encode(message: QueryContractsByCodeRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryContractsByCodeRequest; - fromJSON(object: any): QueryContractsByCodeRequest; - toJSON(message: QueryContractsByCodeRequest): unknown; - fromPartial(object: DeepPartial): QueryContractsByCodeRequest; - fromSDK(object: QueryContractsByCodeRequestSDKType): QueryContractsByCodeRequest; - toSDK(message: QueryContractsByCodeRequest): QueryContractsByCodeRequestSDKType; - fromAmino(object: QueryContractsByCodeRequestAmino): QueryContractsByCodeRequest; - toAmino(message: QueryContractsByCodeRequest): QueryContractsByCodeRequestAmino; - fromAminoMsg(object: QueryContractsByCodeRequestAminoMsg): QueryContractsByCodeRequest; - toAminoMsg(message: QueryContractsByCodeRequest): QueryContractsByCodeRequestAminoMsg; - fromProtoMsg(message: QueryContractsByCodeRequestProtoMsg): QueryContractsByCodeRequest; - toProto(message: QueryContractsByCodeRequest): Uint8Array; - toProtoMsg(message: QueryContractsByCodeRequest): QueryContractsByCodeRequestProtoMsg; -}; -export declare const QueryContractsByCodeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryContractsByCodeResponse; - isSDK(o: any): o is QueryContractsByCodeResponseSDKType; - isAmino(o: any): o is QueryContractsByCodeResponseAmino; - encode(message: QueryContractsByCodeResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryContractsByCodeResponse; - fromJSON(object: any): QueryContractsByCodeResponse; - toJSON(message: QueryContractsByCodeResponse): unknown; - fromPartial(object: DeepPartial): QueryContractsByCodeResponse; - fromSDK(object: QueryContractsByCodeResponseSDKType): QueryContractsByCodeResponse; - toSDK(message: QueryContractsByCodeResponse): QueryContractsByCodeResponseSDKType; - fromAmino(object: QueryContractsByCodeResponseAmino): QueryContractsByCodeResponse; - toAmino(message: QueryContractsByCodeResponse): QueryContractsByCodeResponseAmino; - fromAminoMsg(object: QueryContractsByCodeResponseAminoMsg): QueryContractsByCodeResponse; - toAminoMsg(message: QueryContractsByCodeResponse): QueryContractsByCodeResponseAminoMsg; - fromProtoMsg(message: QueryContractsByCodeResponseProtoMsg): QueryContractsByCodeResponse; - toProto(message: QueryContractsByCodeResponse): Uint8Array; - toProtoMsg(message: QueryContractsByCodeResponse): QueryContractsByCodeResponseProtoMsg; -}; -export declare const QueryAllContractStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAllContractStateRequest; - isSDK(o: any): o is QueryAllContractStateRequestSDKType; - isAmino(o: any): o is QueryAllContractStateRequestAmino; - encode(message: QueryAllContractStateRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAllContractStateRequest; - fromJSON(object: any): QueryAllContractStateRequest; - toJSON(message: QueryAllContractStateRequest): unknown; - fromPartial(object: DeepPartial): QueryAllContractStateRequest; - fromSDK(object: QueryAllContractStateRequestSDKType): QueryAllContractStateRequest; - toSDK(message: QueryAllContractStateRequest): QueryAllContractStateRequestSDKType; - fromAmino(object: QueryAllContractStateRequestAmino): QueryAllContractStateRequest; - toAmino(message: QueryAllContractStateRequest): QueryAllContractStateRequestAmino; - fromAminoMsg(object: QueryAllContractStateRequestAminoMsg): QueryAllContractStateRequest; - toAminoMsg(message: QueryAllContractStateRequest): QueryAllContractStateRequestAminoMsg; - fromProtoMsg(message: QueryAllContractStateRequestProtoMsg): QueryAllContractStateRequest; - toProto(message: QueryAllContractStateRequest): Uint8Array; - toProtoMsg(message: QueryAllContractStateRequest): QueryAllContractStateRequestProtoMsg; -}; -export declare const QueryAllContractStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAllContractStateResponse; - isSDK(o: any): o is QueryAllContractStateResponseSDKType; - isAmino(o: any): o is QueryAllContractStateResponseAmino; - encode(message: QueryAllContractStateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAllContractStateResponse; - fromJSON(object: any): QueryAllContractStateResponse; - toJSON(message: QueryAllContractStateResponse): unknown; - fromPartial(object: DeepPartial): QueryAllContractStateResponse; - fromSDK(object: QueryAllContractStateResponseSDKType): QueryAllContractStateResponse; - toSDK(message: QueryAllContractStateResponse): QueryAllContractStateResponseSDKType; - fromAmino(object: QueryAllContractStateResponseAmino): QueryAllContractStateResponse; - toAmino(message: QueryAllContractStateResponse): QueryAllContractStateResponseAmino; - fromAminoMsg(object: QueryAllContractStateResponseAminoMsg): QueryAllContractStateResponse; - toAminoMsg(message: QueryAllContractStateResponse): QueryAllContractStateResponseAminoMsg; - fromProtoMsg(message: QueryAllContractStateResponseProtoMsg): QueryAllContractStateResponse; - toProto(message: QueryAllContractStateResponse): Uint8Array; - toProtoMsg(message: QueryAllContractStateResponse): QueryAllContractStateResponseProtoMsg; -}; -export declare const QueryRawContractStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryRawContractStateRequest; - isSDK(o: any): o is QueryRawContractStateRequestSDKType; - isAmino(o: any): o is QueryRawContractStateRequestAmino; - encode(message: QueryRawContractStateRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryRawContractStateRequest; - fromJSON(object: any): QueryRawContractStateRequest; - toJSON(message: QueryRawContractStateRequest): unknown; - fromPartial(object: DeepPartial): QueryRawContractStateRequest; - fromSDK(object: QueryRawContractStateRequestSDKType): QueryRawContractStateRequest; - toSDK(message: QueryRawContractStateRequest): QueryRawContractStateRequestSDKType; - fromAmino(object: QueryRawContractStateRequestAmino): QueryRawContractStateRequest; - toAmino(message: QueryRawContractStateRequest): QueryRawContractStateRequestAmino; - fromAminoMsg(object: QueryRawContractStateRequestAminoMsg): QueryRawContractStateRequest; - toAminoMsg(message: QueryRawContractStateRequest): QueryRawContractStateRequestAminoMsg; - fromProtoMsg(message: QueryRawContractStateRequestProtoMsg): QueryRawContractStateRequest; - toProto(message: QueryRawContractStateRequest): Uint8Array; - toProtoMsg(message: QueryRawContractStateRequest): QueryRawContractStateRequestProtoMsg; -}; -export declare const QueryRawContractStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryRawContractStateResponse; - isSDK(o: any): o is QueryRawContractStateResponseSDKType; - isAmino(o: any): o is QueryRawContractStateResponseAmino; - encode(message: QueryRawContractStateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryRawContractStateResponse; - fromJSON(object: any): QueryRawContractStateResponse; - toJSON(message: QueryRawContractStateResponse): unknown; - fromPartial(object: DeepPartial): QueryRawContractStateResponse; - fromSDK(object: QueryRawContractStateResponseSDKType): QueryRawContractStateResponse; - toSDK(message: QueryRawContractStateResponse): QueryRawContractStateResponseSDKType; - fromAmino(object: QueryRawContractStateResponseAmino): QueryRawContractStateResponse; - toAmino(message: QueryRawContractStateResponse): QueryRawContractStateResponseAmino; - fromAminoMsg(object: QueryRawContractStateResponseAminoMsg): QueryRawContractStateResponse; - toAminoMsg(message: QueryRawContractStateResponse): QueryRawContractStateResponseAminoMsg; - fromProtoMsg(message: QueryRawContractStateResponseProtoMsg): QueryRawContractStateResponse; - toProto(message: QueryRawContractStateResponse): Uint8Array; - toProtoMsg(message: QueryRawContractStateResponse): QueryRawContractStateResponseProtoMsg; -}; -export declare const QuerySmartContractStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySmartContractStateRequest; - isSDK(o: any): o is QuerySmartContractStateRequestSDKType; - isAmino(o: any): o is QuerySmartContractStateRequestAmino; - encode(message: QuerySmartContractStateRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySmartContractStateRequest; - fromJSON(object: any): QuerySmartContractStateRequest; - toJSON(message: QuerySmartContractStateRequest): unknown; - fromPartial(object: DeepPartial): QuerySmartContractStateRequest; - fromSDK(object: QuerySmartContractStateRequestSDKType): QuerySmartContractStateRequest; - toSDK(message: QuerySmartContractStateRequest): QuerySmartContractStateRequestSDKType; - fromAmino(object: QuerySmartContractStateRequestAmino): QuerySmartContractStateRequest; - toAmino(message: QuerySmartContractStateRequest): QuerySmartContractStateRequestAmino; - fromAminoMsg(object: QuerySmartContractStateRequestAminoMsg): QuerySmartContractStateRequest; - toAminoMsg(message: QuerySmartContractStateRequest): QuerySmartContractStateRequestAminoMsg; - fromProtoMsg(message: QuerySmartContractStateRequestProtoMsg): QuerySmartContractStateRequest; - toProto(message: QuerySmartContractStateRequest): Uint8Array; - toProtoMsg(message: QuerySmartContractStateRequest): QuerySmartContractStateRequestProtoMsg; -}; -export declare const QuerySmartContractStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySmartContractStateResponse; - isSDK(o: any): o is QuerySmartContractStateResponseSDKType; - isAmino(o: any): o is QuerySmartContractStateResponseAmino; - encode(message: QuerySmartContractStateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySmartContractStateResponse; - fromJSON(object: any): QuerySmartContractStateResponse; - toJSON(message: QuerySmartContractStateResponse): unknown; - fromPartial(object: DeepPartial): QuerySmartContractStateResponse; - fromSDK(object: QuerySmartContractStateResponseSDKType): QuerySmartContractStateResponse; - toSDK(message: QuerySmartContractStateResponse): QuerySmartContractStateResponseSDKType; - fromAmino(object: QuerySmartContractStateResponseAmino): QuerySmartContractStateResponse; - toAmino(message: QuerySmartContractStateResponse): QuerySmartContractStateResponseAmino; - fromAminoMsg(object: QuerySmartContractStateResponseAminoMsg): QuerySmartContractStateResponse; - toAminoMsg(message: QuerySmartContractStateResponse): QuerySmartContractStateResponseAminoMsg; - fromProtoMsg(message: QuerySmartContractStateResponseProtoMsg): QuerySmartContractStateResponse; - toProto(message: QuerySmartContractStateResponse): Uint8Array; - toProtoMsg(message: QuerySmartContractStateResponse): QuerySmartContractStateResponseProtoMsg; -}; -export declare const QueryCodeRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryCodeRequest; - isSDK(o: any): o is QueryCodeRequestSDKType; - isAmino(o: any): o is QueryCodeRequestAmino; - encode(message: QueryCodeRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryCodeRequest; - fromJSON(object: any): QueryCodeRequest; - toJSON(message: QueryCodeRequest): unknown; - fromPartial(object: DeepPartial): QueryCodeRequest; - fromSDK(object: QueryCodeRequestSDKType): QueryCodeRequest; - toSDK(message: QueryCodeRequest): QueryCodeRequestSDKType; - fromAmino(object: QueryCodeRequestAmino): QueryCodeRequest; - toAmino(message: QueryCodeRequest): QueryCodeRequestAmino; - fromAminoMsg(object: QueryCodeRequestAminoMsg): QueryCodeRequest; - toAminoMsg(message: QueryCodeRequest): QueryCodeRequestAminoMsg; - fromProtoMsg(message: QueryCodeRequestProtoMsg): QueryCodeRequest; - toProto(message: QueryCodeRequest): Uint8Array; - toProtoMsg(message: QueryCodeRequest): QueryCodeRequestProtoMsg; -}; -export declare const CodeInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is CodeInfoResponse; - isSDK(o: any): o is CodeInfoResponseSDKType; - isAmino(o: any): o is CodeInfoResponseAmino; - encode(message: CodeInfoResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CodeInfoResponse; - fromJSON(object: any): CodeInfoResponse; - toJSON(message: CodeInfoResponse): unknown; - fromPartial(object: DeepPartial): CodeInfoResponse; - fromSDK(object: CodeInfoResponseSDKType): CodeInfoResponse; - toSDK(message: CodeInfoResponse): CodeInfoResponseSDKType; - fromAmino(object: CodeInfoResponseAmino): CodeInfoResponse; - toAmino(message: CodeInfoResponse): CodeInfoResponseAmino; - fromAminoMsg(object: CodeInfoResponseAminoMsg): CodeInfoResponse; - toAminoMsg(message: CodeInfoResponse): CodeInfoResponseAminoMsg; - fromProtoMsg(message: CodeInfoResponseProtoMsg): CodeInfoResponse; - toProto(message: CodeInfoResponse): Uint8Array; - toProtoMsg(message: CodeInfoResponse): CodeInfoResponseProtoMsg; -}; -export declare const QueryCodeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryCodeResponse; - isSDK(o: any): o is QueryCodeResponseSDKType; - isAmino(o: any): o is QueryCodeResponseAmino; - encode(message: QueryCodeResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryCodeResponse; - fromJSON(object: any): QueryCodeResponse; - toJSON(message: QueryCodeResponse): unknown; - fromPartial(object: DeepPartial): QueryCodeResponse; - fromSDK(object: QueryCodeResponseSDKType): QueryCodeResponse; - toSDK(message: QueryCodeResponse): QueryCodeResponseSDKType; - fromAmino(object: QueryCodeResponseAmino): QueryCodeResponse; - toAmino(message: QueryCodeResponse): QueryCodeResponseAmino; - fromAminoMsg(object: QueryCodeResponseAminoMsg): QueryCodeResponse; - toAminoMsg(message: QueryCodeResponse): QueryCodeResponseAminoMsg; - fromProtoMsg(message: QueryCodeResponseProtoMsg): QueryCodeResponse; - toProto(message: QueryCodeResponse): Uint8Array; - toProtoMsg(message: QueryCodeResponse): QueryCodeResponseProtoMsg; -}; -export declare const QueryCodesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryCodesRequest; - isSDK(o: any): o is QueryCodesRequestSDKType; - isAmino(o: any): o is QueryCodesRequestAmino; - encode(message: QueryCodesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryCodesRequest; - fromJSON(object: any): QueryCodesRequest; - toJSON(message: QueryCodesRequest): unknown; - fromPartial(object: DeepPartial): QueryCodesRequest; - fromSDK(object: QueryCodesRequestSDKType): QueryCodesRequest; - toSDK(message: QueryCodesRequest): QueryCodesRequestSDKType; - fromAmino(object: QueryCodesRequestAmino): QueryCodesRequest; - toAmino(message: QueryCodesRequest): QueryCodesRequestAmino; - fromAminoMsg(object: QueryCodesRequestAminoMsg): QueryCodesRequest; - toAminoMsg(message: QueryCodesRequest): QueryCodesRequestAminoMsg; - fromProtoMsg(message: QueryCodesRequestProtoMsg): QueryCodesRequest; - toProto(message: QueryCodesRequest): Uint8Array; - toProtoMsg(message: QueryCodesRequest): QueryCodesRequestProtoMsg; -}; -export declare const QueryCodesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryCodesResponse; - isSDK(o: any): o is QueryCodesResponseSDKType; - isAmino(o: any): o is QueryCodesResponseAmino; - encode(message: QueryCodesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryCodesResponse; - fromJSON(object: any): QueryCodesResponse; - toJSON(message: QueryCodesResponse): unknown; - fromPartial(object: DeepPartial): QueryCodesResponse; - fromSDK(object: QueryCodesResponseSDKType): QueryCodesResponse; - toSDK(message: QueryCodesResponse): QueryCodesResponseSDKType; - fromAmino(object: QueryCodesResponseAmino): QueryCodesResponse; - toAmino(message: QueryCodesResponse): QueryCodesResponseAmino; - fromAminoMsg(object: QueryCodesResponseAminoMsg): QueryCodesResponse; - toAminoMsg(message: QueryCodesResponse): QueryCodesResponseAminoMsg; - fromProtoMsg(message: QueryCodesResponseProtoMsg): QueryCodesResponse; - toProto(message: QueryCodesResponse): Uint8Array; - toProtoMsg(message: QueryCodesResponse): QueryCodesResponseProtoMsg; -}; -export declare const QueryPinnedCodesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryPinnedCodesRequest; - isSDK(o: any): o is QueryPinnedCodesRequestSDKType; - isAmino(o: any): o is QueryPinnedCodesRequestAmino; - encode(message: QueryPinnedCodesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryPinnedCodesRequest; - fromJSON(object: any): QueryPinnedCodesRequest; - toJSON(message: QueryPinnedCodesRequest): unknown; - fromPartial(object: DeepPartial): QueryPinnedCodesRequest; - fromSDK(object: QueryPinnedCodesRequestSDKType): QueryPinnedCodesRequest; - toSDK(message: QueryPinnedCodesRequest): QueryPinnedCodesRequestSDKType; - fromAmino(object: QueryPinnedCodesRequestAmino): QueryPinnedCodesRequest; - toAmino(message: QueryPinnedCodesRequest): QueryPinnedCodesRequestAmino; - fromAminoMsg(object: QueryPinnedCodesRequestAminoMsg): QueryPinnedCodesRequest; - toAminoMsg(message: QueryPinnedCodesRequest): QueryPinnedCodesRequestAminoMsg; - fromProtoMsg(message: QueryPinnedCodesRequestProtoMsg): QueryPinnedCodesRequest; - toProto(message: QueryPinnedCodesRequest): Uint8Array; - toProtoMsg(message: QueryPinnedCodesRequest): QueryPinnedCodesRequestProtoMsg; -}; -export declare const QueryPinnedCodesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryPinnedCodesResponse; - isSDK(o: any): o is QueryPinnedCodesResponseSDKType; - isAmino(o: any): o is QueryPinnedCodesResponseAmino; - encode(message: QueryPinnedCodesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryPinnedCodesResponse; - fromJSON(object: any): QueryPinnedCodesResponse; - toJSON(message: QueryPinnedCodesResponse): unknown; - fromPartial(object: DeepPartial): QueryPinnedCodesResponse; - fromSDK(object: QueryPinnedCodesResponseSDKType): QueryPinnedCodesResponse; - toSDK(message: QueryPinnedCodesResponse): QueryPinnedCodesResponseSDKType; - fromAmino(object: QueryPinnedCodesResponseAmino): QueryPinnedCodesResponse; - toAmino(message: QueryPinnedCodesResponse): QueryPinnedCodesResponseAmino; - fromAminoMsg(object: QueryPinnedCodesResponseAminoMsg): QueryPinnedCodesResponse; - toAminoMsg(message: QueryPinnedCodesResponse): QueryPinnedCodesResponseAminoMsg; - fromProtoMsg(message: QueryPinnedCodesResponseProtoMsg): QueryPinnedCodesResponse; - toProto(message: QueryPinnedCodesResponse): Uint8Array; - toProtoMsg(message: QueryPinnedCodesResponse): QueryPinnedCodesResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmwasm/wasm/v1/query.rpc.Query.d.ts b/examples/authz/types/codegen/cosmwasm/wasm/v1/query.rpc.Query.d.ts deleted file mode 100644 index 99e8f07b..00000000 --- a/examples/authz/types/codegen/cosmwasm/wasm/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,134 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse } from "./query"; -/** Query provides defines the gRPC querier service */ -export interface Query { - /** ContractInfo gets the contract meta data */ - contractInfo(request: QueryContractInfoRequest): Promise; - /** ContractHistory gets the contract code history */ - contractHistory(request: QueryContractHistoryRequest): Promise; - /** ContractsByCode lists all smart contracts for a code id */ - contractsByCode(request: QueryContractsByCodeRequest): Promise; - /** AllContractState gets all raw store data for a single contract */ - allContractState(request: QueryAllContractStateRequest): Promise; - /** RawContractState gets single key from the raw store data of a contract */ - rawContractState(request: QueryRawContractStateRequest): Promise; - /** SmartContractState get smart query result from the contract */ - smartContractState(request: QuerySmartContractStateRequest): Promise; - /** Code gets the binary code and metadata for a singe wasm code */ - code(request: QueryCodeRequest): Promise; - /** Codes gets the metadata for all stored wasm codes */ - codes(request?: QueryCodesRequest): Promise; - /** PinnedCodes gets the pinned code ids */ - pinnedCodes(request?: QueryPinnedCodesRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - contractInfo: (request: QueryContractInfoRequest) => Promise; - contractHistory: (request: QueryContractHistoryRequest) => Promise; - contractsByCode: (request: QueryContractsByCodeRequest) => Promise; - allContractState: (request: QueryAllContractStateRequest) => Promise; - rawContractState: (request: QueryRawContractStateRequest) => Promise; - smartContractState: (request: QuerySmartContractStateRequest) => Promise; - code: (request: QueryCodeRequest) => Promise; - codes: (request?: QueryCodesRequest) => Promise; - pinnedCodes: (request?: QueryPinnedCodesRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseContractInfoQuery extends ReactQueryParams { - request: QueryContractInfoRequest; -} -export interface UseContractHistoryQuery extends ReactQueryParams { - request: QueryContractHistoryRequest; -} -export interface UseContractsByCodeQuery extends ReactQueryParams { - request: QueryContractsByCodeRequest; -} -export interface UseAllContractStateQuery extends ReactQueryParams { - request: QueryAllContractStateRequest; -} -export interface UseRawContractStateQuery extends ReactQueryParams { - request: QueryRawContractStateRequest; -} -export interface UseSmartContractStateQuery extends ReactQueryParams { - request: QuerySmartContractStateRequest; -} -export interface UseCodeQuery extends ReactQueryParams { - request: QueryCodeRequest; -} -export interface UseCodesQuery extends ReactQueryParams { - request?: QueryCodesRequest; -} -export interface UsePinnedCodesQuery extends ReactQueryParams { - request?: QueryPinnedCodesRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** ContractInfo gets the contract meta data */ useContractInfo: ({ request, options }: UseContractInfoQuery) => import("@tanstack/react-query").UseQueryResult; - /** ContractHistory gets the contract code history */ useContractHistory: ({ request, options }: UseContractHistoryQuery) => import("@tanstack/react-query").UseQueryResult; - /** ContractsByCode lists all smart contracts for a code id */ useContractsByCode: ({ request, options }: UseContractsByCodeQuery) => import("@tanstack/react-query").UseQueryResult; - /** AllContractState gets all raw store data for a single contract */ useAllContractState: ({ request, options }: UseAllContractStateQuery) => import("@tanstack/react-query").UseQueryResult; - /** RawContractState gets single key from the raw store data of a contract */ useRawContractState: ({ request, options }: UseRawContractStateQuery) => import("@tanstack/react-query").UseQueryResult; - /** SmartContractState get smart query result from the contract */ useSmartContractState: ({ request, options }: UseSmartContractStateQuery) => import("@tanstack/react-query").UseQueryResult; - /** Code gets the binary code and metadata for a singe wasm code */ useCode: ({ request, options }: UseCodeQuery) => import("@tanstack/react-query").UseQueryResult; - /** Codes gets the metadata for all stored wasm codes */ useCodes: ({ request, options }: UseCodesQuery) => import("@tanstack/react-query").UseQueryResult; - /** PinnedCodes gets the pinned code ids */ usePinnedCodes: ({ request, options }: UsePinnedCodesQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** ContractInfo gets the contract meta data */ QueryContractInfoStore: { - new (): { - store: QueryStore; - contractInfo(request: QueryContractInfoRequest): import("../../../mobx").MobxResponse; - }; - }; - /** ContractHistory gets the contract code history */ QueryContractHistoryStore: { - new (): { - store: QueryStore; - contractHistory(request: QueryContractHistoryRequest): import("../../../mobx").MobxResponse; - }; - }; - /** ContractsByCode lists all smart contracts for a code id */ QueryContractsByCodeStore: { - new (): { - store: QueryStore; - contractsByCode(request: QueryContractsByCodeRequest): import("../../../mobx").MobxResponse; - }; - }; - /** AllContractState gets all raw store data for a single contract */ QueryAllContractStateStore: { - new (): { - store: QueryStore; - allContractState(request: QueryAllContractStateRequest): import("../../../mobx").MobxResponse; - }; - }; - /** RawContractState gets single key from the raw store data of a contract */ QueryRawContractStateStore: { - new (): { - store: QueryStore; - rawContractState(request: QueryRawContractStateRequest): import("../../../mobx").MobxResponse; - }; - }; - /** SmartContractState get smart query result from the contract */ QuerySmartContractStateStore: { - new (): { - store: QueryStore; - smartContractState(request: QuerySmartContractStateRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Code gets the binary code and metadata for a singe wasm code */ QueryCodeStore: { - new (): { - store: QueryStore; - code(request: QueryCodeRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Codes gets the metadata for all stored wasm codes */ QueryCodesStore: { - new (): { - store: QueryStore; - codes(request: QueryCodesRequest): import("../../../mobx").MobxResponse; - }; - }; - /** PinnedCodes gets the pinned code ids */ QueryPinnedCodesStore: { - new (): { - store: QueryStore; - pinnedCodes(request: QueryPinnedCodesRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts b/examples/authz/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts deleted file mode 100644 index 97497edd..00000000 --- a/examples/authz/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; -export declare const AminoConverter: { - "/cosmwasm.wasm.v1.MsgStoreCode": { - aminoType: string; - toAmino: (message: MsgStoreCode) => import("./tx").MsgStoreCodeAmino; - fromAmino: (object: import("./tx").MsgStoreCodeAmino) => MsgStoreCode; - }; - "/cosmwasm.wasm.v1.MsgInstantiateContract": { - aminoType: string; - toAmino: (message: MsgInstantiateContract) => import("./tx").MsgInstantiateContractAmino; - fromAmino: (object: import("./tx").MsgInstantiateContractAmino) => MsgInstantiateContract; - }; - "/cosmwasm.wasm.v1.MsgExecuteContract": { - aminoType: string; - toAmino: (message: MsgExecuteContract) => import("./tx").MsgExecuteContractAmino; - fromAmino: (object: import("./tx").MsgExecuteContractAmino) => MsgExecuteContract; - }; - "/cosmwasm.wasm.v1.MsgMigrateContract": { - aminoType: string; - toAmino: (message: MsgMigrateContract) => import("./tx").MsgMigrateContractAmino; - fromAmino: (object: import("./tx").MsgMigrateContractAmino) => MsgMigrateContract; - }; - "/cosmwasm.wasm.v1.MsgUpdateAdmin": { - aminoType: string; - toAmino: (message: MsgUpdateAdmin) => import("./tx").MsgUpdateAdminAmino; - fromAmino: (object: import("./tx").MsgUpdateAdminAmino) => MsgUpdateAdmin; - }; - "/cosmwasm.wasm.v1.MsgClearAdmin": { - aminoType: string; - toAmino: (message: MsgClearAdmin) => import("./tx").MsgClearAdminAmino; - fromAmino: (object: import("./tx").MsgClearAdminAmino) => MsgClearAdmin; - }; -}; diff --git a/examples/authz/types/codegen/cosmwasm/wasm/v1/tx.d.ts b/examples/authz/types/codegen/cosmwasm/wasm/v1/tx.d.ts deleted file mode 100644 index 50a7df9e..00000000 --- a/examples/authz/types/codegen/cosmwasm/wasm/v1/tx.d.ts +++ /dev/null @@ -1,616 +0,0 @@ -import { AccessConfig, AccessConfigAmino, AccessConfigSDKType } from "./types"; -import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** MsgStoreCode submit Wasm code to the system */ -export interface MsgStoreCode { - /** Sender is the that actor that signed the messages */ - sender: string; - /** WASMByteCode can be raw or gzip compressed */ - wasmByteCode: Uint8Array; - /** - * InstantiatePermission access control to apply on contract creation, - * optional - */ - instantiatePermission?: AccessConfig | undefined; -} -export interface MsgStoreCodeProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode"; - value: Uint8Array; -} -/** MsgStoreCode submit Wasm code to the system */ -export interface MsgStoreCodeAmino { - /** Sender is the that actor that signed the messages */ - sender?: string; - /** WASMByteCode can be raw or gzip compressed */ - wasm_byte_code?: string; - /** - * InstantiatePermission access control to apply on contract creation, - * optional - */ - instantiate_permission?: AccessConfigAmino | undefined; -} -export interface MsgStoreCodeAminoMsg { - type: "wasm/MsgStoreCode"; - value: MsgStoreCodeAmino; -} -/** MsgStoreCode submit Wasm code to the system */ -export interface MsgStoreCodeSDKType { - sender: string; - wasm_byte_code: Uint8Array; - instantiate_permission?: AccessConfigSDKType | undefined; -} -/** MsgStoreCodeResponse returns store result data. */ -export interface MsgStoreCodeResponse { - /** CodeID is the reference to the stored WASM code */ - codeId: bigint; -} -export interface MsgStoreCodeResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCodeResponse"; - value: Uint8Array; -} -/** MsgStoreCodeResponse returns store result data. */ -export interface MsgStoreCodeResponseAmino { - /** CodeID is the reference to the stored WASM code */ - code_id?: string; -} -export interface MsgStoreCodeResponseAminoMsg { - type: "wasm/MsgStoreCodeResponse"; - value: MsgStoreCodeResponseAmino; -} -/** MsgStoreCodeResponse returns store result data. */ -export interface MsgStoreCodeResponseSDKType { - code_id: bigint; -} -/** - * MsgInstantiateContract create a new smart contract instance for the given - * code id. - */ -export interface MsgInstantiateContract { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Admin is an optional address that can execute migrations */ - admin: string; - /** CodeID is the reference to the stored WASM code */ - codeId: bigint; - /** Label is optional metadata to be stored with a contract instance. */ - label: string; - /** Msg json encoded message to be passed to the contract on instantiation */ - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - funds: Coin[]; -} -export interface MsgInstantiateContractProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract"; - value: Uint8Array; -} -/** - * MsgInstantiateContract create a new smart contract instance for the given - * code id. - */ -export interface MsgInstantiateContractAmino { - /** Sender is the that actor that signed the messages */ - sender?: string; - /** Admin is an optional address that can execute migrations */ - admin?: string; - /** CodeID is the reference to the stored WASM code */ - code_id?: string; - /** Label is optional metadata to be stored with a contract instance. */ - label?: string; - /** Msg json encoded message to be passed to the contract on instantiation */ - msg?: any; - /** Funds coins that are transferred to the contract on instantiation */ - funds?: CoinAmino[]; -} -export interface MsgInstantiateContractAminoMsg { - type: "wasm/MsgInstantiateContract"; - value: MsgInstantiateContractAmino; -} -/** - * MsgInstantiateContract create a new smart contract instance for the given - * code id. - */ -export interface MsgInstantiateContractSDKType { - sender: string; - admin: string; - code_id: bigint; - label: string; - msg: Uint8Array; - funds: CoinSDKType[]; -} -/** MsgInstantiateContractResponse return instantiation result data */ -export interface MsgInstantiateContractResponse { - /** Address is the bech32 address of the new contract instance. */ - address: string; - /** Data contains base64-encoded bytes to returned from the contract */ - data: Uint8Array; -} -export interface MsgInstantiateContractResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContractResponse"; - value: Uint8Array; -} -/** MsgInstantiateContractResponse return instantiation result data */ -export interface MsgInstantiateContractResponseAmino { - /** Address is the bech32 address of the new contract instance. */ - address?: string; - /** Data contains base64-encoded bytes to returned from the contract */ - data?: string; -} -export interface MsgInstantiateContractResponseAminoMsg { - type: "wasm/MsgInstantiateContractResponse"; - value: MsgInstantiateContractResponseAmino; -} -/** MsgInstantiateContractResponse return instantiation result data */ -export interface MsgInstantiateContractResponseSDKType { - address: string; - data: Uint8Array; -} -/** MsgExecuteContract submits the given message data to a smart contract */ -export interface MsgExecuteContract { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Contract is the address of the smart contract */ - contract: string; - /** Msg json encoded message to be passed to the contract */ - msg: Uint8Array; - /** Funds coins that are transferred to the contract on execution */ - funds: Coin[]; -} -export interface MsgExecuteContractProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract"; - value: Uint8Array; -} -/** MsgExecuteContract submits the given message data to a smart contract */ -export interface MsgExecuteContractAmino { - /** Sender is the that actor that signed the messages */ - sender?: string; - /** Contract is the address of the smart contract */ - contract?: string; - /** Msg json encoded message to be passed to the contract */ - msg?: any; - /** Funds coins that are transferred to the contract on execution */ - funds?: CoinAmino[]; -} -export interface MsgExecuteContractAminoMsg { - type: "wasm/MsgExecuteContract"; - value: MsgExecuteContractAmino; -} -/** MsgExecuteContract submits the given message data to a smart contract */ -export interface MsgExecuteContractSDKType { - sender: string; - contract: string; - msg: Uint8Array; - funds: CoinSDKType[]; -} -/** MsgExecuteContractResponse returns execution result data. */ -export interface MsgExecuteContractResponse { - /** Data contains base64-encoded bytes to returned from the contract */ - data: Uint8Array; -} -export interface MsgExecuteContractResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContractResponse"; - value: Uint8Array; -} -/** MsgExecuteContractResponse returns execution result data. */ -export interface MsgExecuteContractResponseAmino { - /** Data contains base64-encoded bytes to returned from the contract */ - data?: string; -} -export interface MsgExecuteContractResponseAminoMsg { - type: "wasm/MsgExecuteContractResponse"; - value: MsgExecuteContractResponseAmino; -} -/** MsgExecuteContractResponse returns execution result data. */ -export interface MsgExecuteContractResponseSDKType { - data: Uint8Array; -} -/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ -export interface MsgMigrateContract { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Contract is the address of the smart contract */ - contract: string; - /** CodeID references the new WASM code */ - codeId: bigint; - /** Msg json encoded message to be passed to the contract on migration */ - msg: Uint8Array; -} -export interface MsgMigrateContractProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract"; - value: Uint8Array; -} -/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ -export interface MsgMigrateContractAmino { - /** Sender is the that actor that signed the messages */ - sender?: string; - /** Contract is the address of the smart contract */ - contract?: string; - /** CodeID references the new WASM code */ - code_id?: string; - /** Msg json encoded message to be passed to the contract on migration */ - msg?: any; -} -export interface MsgMigrateContractAminoMsg { - type: "wasm/MsgMigrateContract"; - value: MsgMigrateContractAmino; -} -/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ -export interface MsgMigrateContractSDKType { - sender: string; - contract: string; - code_id: bigint; - msg: Uint8Array; -} -/** MsgMigrateContractResponse returns contract migration result data. */ -export interface MsgMigrateContractResponse { - /** - * Data contains same raw bytes returned as data from the wasm contract. - * (May be empty) - */ - data: Uint8Array; -} -export interface MsgMigrateContractResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContractResponse"; - value: Uint8Array; -} -/** MsgMigrateContractResponse returns contract migration result data. */ -export interface MsgMigrateContractResponseAmino { - /** - * Data contains same raw bytes returned as data from the wasm contract. - * (May be empty) - */ - data?: string; -} -export interface MsgMigrateContractResponseAminoMsg { - type: "wasm/MsgMigrateContractResponse"; - value: MsgMigrateContractResponseAmino; -} -/** MsgMigrateContractResponse returns contract migration result data. */ -export interface MsgMigrateContractResponseSDKType { - data: Uint8Array; -} -/** MsgUpdateAdmin sets a new admin for a smart contract */ -export interface MsgUpdateAdmin { - /** Sender is the that actor that signed the messages */ - sender: string; - /** NewAdmin address to be set */ - newAdmin: string; - /** Contract is the address of the smart contract */ - contract: string; -} -export interface MsgUpdateAdminProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin"; - value: Uint8Array; -} -/** MsgUpdateAdmin sets a new admin for a smart contract */ -export interface MsgUpdateAdminAmino { - /** Sender is the that actor that signed the messages */ - sender?: string; - /** NewAdmin address to be set */ - new_admin?: string; - /** Contract is the address of the smart contract */ - contract?: string; -} -export interface MsgUpdateAdminAminoMsg { - type: "wasm/MsgUpdateAdmin"; - value: MsgUpdateAdminAmino; -} -/** MsgUpdateAdmin sets a new admin for a smart contract */ -export interface MsgUpdateAdminSDKType { - sender: string; - new_admin: string; - contract: string; -} -/** MsgUpdateAdminResponse returns empty data */ -export interface MsgUpdateAdminResponse { -} -export interface MsgUpdateAdminResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdminResponse"; - value: Uint8Array; -} -/** MsgUpdateAdminResponse returns empty data */ -export interface MsgUpdateAdminResponseAmino { -} -export interface MsgUpdateAdminResponseAminoMsg { - type: "wasm/MsgUpdateAdminResponse"; - value: MsgUpdateAdminResponseAmino; -} -/** MsgUpdateAdminResponse returns empty data */ -export interface MsgUpdateAdminResponseSDKType { -} -/** MsgClearAdmin removes any admin stored for a smart contract */ -export interface MsgClearAdmin { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Contract is the address of the smart contract */ - contract: string; -} -export interface MsgClearAdminProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin"; - value: Uint8Array; -} -/** MsgClearAdmin removes any admin stored for a smart contract */ -export interface MsgClearAdminAmino { - /** Sender is the that actor that signed the messages */ - sender?: string; - /** Contract is the address of the smart contract */ - contract?: string; -} -export interface MsgClearAdminAminoMsg { - type: "wasm/MsgClearAdmin"; - value: MsgClearAdminAmino; -} -/** MsgClearAdmin removes any admin stored for a smart contract */ -export interface MsgClearAdminSDKType { - sender: string; - contract: string; -} -/** MsgClearAdminResponse returns empty data */ -export interface MsgClearAdminResponse { -} -export interface MsgClearAdminResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdminResponse"; - value: Uint8Array; -} -/** MsgClearAdminResponse returns empty data */ -export interface MsgClearAdminResponseAmino { -} -export interface MsgClearAdminResponseAminoMsg { - type: "wasm/MsgClearAdminResponse"; - value: MsgClearAdminResponseAmino; -} -/** MsgClearAdminResponse returns empty data */ -export interface MsgClearAdminResponseSDKType { -} -export declare const MsgStoreCode: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgStoreCode; - isSDK(o: any): o is MsgStoreCodeSDKType; - isAmino(o: any): o is MsgStoreCodeAmino; - encode(message: MsgStoreCode, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgStoreCode; - fromJSON(object: any): MsgStoreCode; - toJSON(message: MsgStoreCode): unknown; - fromPartial(object: DeepPartial): MsgStoreCode; - fromSDK(object: MsgStoreCodeSDKType): MsgStoreCode; - toSDK(message: MsgStoreCode): MsgStoreCodeSDKType; - fromAmino(object: MsgStoreCodeAmino): MsgStoreCode; - toAmino(message: MsgStoreCode): MsgStoreCodeAmino; - fromAminoMsg(object: MsgStoreCodeAminoMsg): MsgStoreCode; - toAminoMsg(message: MsgStoreCode): MsgStoreCodeAminoMsg; - fromProtoMsg(message: MsgStoreCodeProtoMsg): MsgStoreCode; - toProto(message: MsgStoreCode): Uint8Array; - toProtoMsg(message: MsgStoreCode): MsgStoreCodeProtoMsg; -}; -export declare const MsgStoreCodeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgStoreCodeResponse; - isSDK(o: any): o is MsgStoreCodeResponseSDKType; - isAmino(o: any): o is MsgStoreCodeResponseAmino; - encode(message: MsgStoreCodeResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgStoreCodeResponse; - fromJSON(object: any): MsgStoreCodeResponse; - toJSON(message: MsgStoreCodeResponse): unknown; - fromPartial(object: DeepPartial): MsgStoreCodeResponse; - fromSDK(object: MsgStoreCodeResponseSDKType): MsgStoreCodeResponse; - toSDK(message: MsgStoreCodeResponse): MsgStoreCodeResponseSDKType; - fromAmino(object: MsgStoreCodeResponseAmino): MsgStoreCodeResponse; - toAmino(message: MsgStoreCodeResponse): MsgStoreCodeResponseAmino; - fromAminoMsg(object: MsgStoreCodeResponseAminoMsg): MsgStoreCodeResponse; - toAminoMsg(message: MsgStoreCodeResponse): MsgStoreCodeResponseAminoMsg; - fromProtoMsg(message: MsgStoreCodeResponseProtoMsg): MsgStoreCodeResponse; - toProto(message: MsgStoreCodeResponse): Uint8Array; - toProtoMsg(message: MsgStoreCodeResponse): MsgStoreCodeResponseProtoMsg; -}; -export declare const MsgInstantiateContract: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgInstantiateContract; - isSDK(o: any): o is MsgInstantiateContractSDKType; - isAmino(o: any): o is MsgInstantiateContractAmino; - encode(message: MsgInstantiateContract, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgInstantiateContract; - fromJSON(object: any): MsgInstantiateContract; - toJSON(message: MsgInstantiateContract): unknown; - fromPartial(object: DeepPartial): MsgInstantiateContract; - fromSDK(object: MsgInstantiateContractSDKType): MsgInstantiateContract; - toSDK(message: MsgInstantiateContract): MsgInstantiateContractSDKType; - fromAmino(object: MsgInstantiateContractAmino): MsgInstantiateContract; - toAmino(message: MsgInstantiateContract): MsgInstantiateContractAmino; - fromAminoMsg(object: MsgInstantiateContractAminoMsg): MsgInstantiateContract; - toAminoMsg(message: MsgInstantiateContract): MsgInstantiateContractAminoMsg; - fromProtoMsg(message: MsgInstantiateContractProtoMsg): MsgInstantiateContract; - toProto(message: MsgInstantiateContract): Uint8Array; - toProtoMsg(message: MsgInstantiateContract): MsgInstantiateContractProtoMsg; -}; -export declare const MsgInstantiateContractResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgInstantiateContractResponse; - isSDK(o: any): o is MsgInstantiateContractResponseSDKType; - isAmino(o: any): o is MsgInstantiateContractResponseAmino; - encode(message: MsgInstantiateContractResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgInstantiateContractResponse; - fromJSON(object: any): MsgInstantiateContractResponse; - toJSON(message: MsgInstantiateContractResponse): unknown; - fromPartial(object: DeepPartial): MsgInstantiateContractResponse; - fromSDK(object: MsgInstantiateContractResponseSDKType): MsgInstantiateContractResponse; - toSDK(message: MsgInstantiateContractResponse): MsgInstantiateContractResponseSDKType; - fromAmino(object: MsgInstantiateContractResponseAmino): MsgInstantiateContractResponse; - toAmino(message: MsgInstantiateContractResponse): MsgInstantiateContractResponseAmino; - fromAminoMsg(object: MsgInstantiateContractResponseAminoMsg): MsgInstantiateContractResponse; - toAminoMsg(message: MsgInstantiateContractResponse): MsgInstantiateContractResponseAminoMsg; - fromProtoMsg(message: MsgInstantiateContractResponseProtoMsg): MsgInstantiateContractResponse; - toProto(message: MsgInstantiateContractResponse): Uint8Array; - toProtoMsg(message: MsgInstantiateContractResponse): MsgInstantiateContractResponseProtoMsg; -}; -export declare const MsgExecuteContract: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExecuteContract; - isSDK(o: any): o is MsgExecuteContractSDKType; - isAmino(o: any): o is MsgExecuteContractAmino; - encode(message: MsgExecuteContract, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExecuteContract; - fromJSON(object: any): MsgExecuteContract; - toJSON(message: MsgExecuteContract): unknown; - fromPartial(object: DeepPartial): MsgExecuteContract; - fromSDK(object: MsgExecuteContractSDKType): MsgExecuteContract; - toSDK(message: MsgExecuteContract): MsgExecuteContractSDKType; - fromAmino(object: MsgExecuteContractAmino): MsgExecuteContract; - toAmino(message: MsgExecuteContract): MsgExecuteContractAmino; - fromAminoMsg(object: MsgExecuteContractAminoMsg): MsgExecuteContract; - toAminoMsg(message: MsgExecuteContract): MsgExecuteContractAminoMsg; - fromProtoMsg(message: MsgExecuteContractProtoMsg): MsgExecuteContract; - toProto(message: MsgExecuteContract): Uint8Array; - toProtoMsg(message: MsgExecuteContract): MsgExecuteContractProtoMsg; -}; -export declare const MsgExecuteContractResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExecuteContractResponse; - isSDK(o: any): o is MsgExecuteContractResponseSDKType; - isAmino(o: any): o is MsgExecuteContractResponseAmino; - encode(message: MsgExecuteContractResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExecuteContractResponse; - fromJSON(object: any): MsgExecuteContractResponse; - toJSON(message: MsgExecuteContractResponse): unknown; - fromPartial(object: DeepPartial): MsgExecuteContractResponse; - fromSDK(object: MsgExecuteContractResponseSDKType): MsgExecuteContractResponse; - toSDK(message: MsgExecuteContractResponse): MsgExecuteContractResponseSDKType; - fromAmino(object: MsgExecuteContractResponseAmino): MsgExecuteContractResponse; - toAmino(message: MsgExecuteContractResponse): MsgExecuteContractResponseAmino; - fromAminoMsg(object: MsgExecuteContractResponseAminoMsg): MsgExecuteContractResponse; - toAminoMsg(message: MsgExecuteContractResponse): MsgExecuteContractResponseAminoMsg; - fromProtoMsg(message: MsgExecuteContractResponseProtoMsg): MsgExecuteContractResponse; - toProto(message: MsgExecuteContractResponse): Uint8Array; - toProtoMsg(message: MsgExecuteContractResponse): MsgExecuteContractResponseProtoMsg; -}; -export declare const MsgMigrateContract: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgMigrateContract; - isSDK(o: any): o is MsgMigrateContractSDKType; - isAmino(o: any): o is MsgMigrateContractAmino; - encode(message: MsgMigrateContract, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgMigrateContract; - fromJSON(object: any): MsgMigrateContract; - toJSON(message: MsgMigrateContract): unknown; - fromPartial(object: DeepPartial): MsgMigrateContract; - fromSDK(object: MsgMigrateContractSDKType): MsgMigrateContract; - toSDK(message: MsgMigrateContract): MsgMigrateContractSDKType; - fromAmino(object: MsgMigrateContractAmino): MsgMigrateContract; - toAmino(message: MsgMigrateContract): MsgMigrateContractAmino; - fromAminoMsg(object: MsgMigrateContractAminoMsg): MsgMigrateContract; - toAminoMsg(message: MsgMigrateContract): MsgMigrateContractAminoMsg; - fromProtoMsg(message: MsgMigrateContractProtoMsg): MsgMigrateContract; - toProto(message: MsgMigrateContract): Uint8Array; - toProtoMsg(message: MsgMigrateContract): MsgMigrateContractProtoMsg; -}; -export declare const MsgMigrateContractResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgMigrateContractResponse; - isSDK(o: any): o is MsgMigrateContractResponseSDKType; - isAmino(o: any): o is MsgMigrateContractResponseAmino; - encode(message: MsgMigrateContractResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgMigrateContractResponse; - fromJSON(object: any): MsgMigrateContractResponse; - toJSON(message: MsgMigrateContractResponse): unknown; - fromPartial(object: DeepPartial): MsgMigrateContractResponse; - fromSDK(object: MsgMigrateContractResponseSDKType): MsgMigrateContractResponse; - toSDK(message: MsgMigrateContractResponse): MsgMigrateContractResponseSDKType; - fromAmino(object: MsgMigrateContractResponseAmino): MsgMigrateContractResponse; - toAmino(message: MsgMigrateContractResponse): MsgMigrateContractResponseAmino; - fromAminoMsg(object: MsgMigrateContractResponseAminoMsg): MsgMigrateContractResponse; - toAminoMsg(message: MsgMigrateContractResponse): MsgMigrateContractResponseAminoMsg; - fromProtoMsg(message: MsgMigrateContractResponseProtoMsg): MsgMigrateContractResponse; - toProto(message: MsgMigrateContractResponse): Uint8Array; - toProtoMsg(message: MsgMigrateContractResponse): MsgMigrateContractResponseProtoMsg; -}; -export declare const MsgUpdateAdmin: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateAdmin; - isSDK(o: any): o is MsgUpdateAdminSDKType; - isAmino(o: any): o is MsgUpdateAdminAmino; - encode(message: MsgUpdateAdmin, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateAdmin; - fromJSON(object: any): MsgUpdateAdmin; - toJSON(message: MsgUpdateAdmin): unknown; - fromPartial(object: DeepPartial): MsgUpdateAdmin; - fromSDK(object: MsgUpdateAdminSDKType): MsgUpdateAdmin; - toSDK(message: MsgUpdateAdmin): MsgUpdateAdminSDKType; - fromAmino(object: MsgUpdateAdminAmino): MsgUpdateAdmin; - toAmino(message: MsgUpdateAdmin): MsgUpdateAdminAmino; - fromAminoMsg(object: MsgUpdateAdminAminoMsg): MsgUpdateAdmin; - toAminoMsg(message: MsgUpdateAdmin): MsgUpdateAdminAminoMsg; - fromProtoMsg(message: MsgUpdateAdminProtoMsg): MsgUpdateAdmin; - toProto(message: MsgUpdateAdmin): Uint8Array; - toProtoMsg(message: MsgUpdateAdmin): MsgUpdateAdminProtoMsg; -}; -export declare const MsgUpdateAdminResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateAdminResponse; - isSDK(o: any): o is MsgUpdateAdminResponseSDKType; - isAmino(o: any): o is MsgUpdateAdminResponseAmino; - encode(_: MsgUpdateAdminResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateAdminResponse; - fromJSON(_: any): MsgUpdateAdminResponse; - toJSON(_: MsgUpdateAdminResponse): unknown; - fromPartial(_: DeepPartial): MsgUpdateAdminResponse; - fromSDK(_: MsgUpdateAdminResponseSDKType): MsgUpdateAdminResponse; - toSDK(_: MsgUpdateAdminResponse): MsgUpdateAdminResponseSDKType; - fromAmino(_: MsgUpdateAdminResponseAmino): MsgUpdateAdminResponse; - toAmino(_: MsgUpdateAdminResponse): MsgUpdateAdminResponseAmino; - fromAminoMsg(object: MsgUpdateAdminResponseAminoMsg): MsgUpdateAdminResponse; - toAminoMsg(message: MsgUpdateAdminResponse): MsgUpdateAdminResponseAminoMsg; - fromProtoMsg(message: MsgUpdateAdminResponseProtoMsg): MsgUpdateAdminResponse; - toProto(message: MsgUpdateAdminResponse): Uint8Array; - toProtoMsg(message: MsgUpdateAdminResponse): MsgUpdateAdminResponseProtoMsg; -}; -export declare const MsgClearAdmin: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgClearAdmin; - isSDK(o: any): o is MsgClearAdminSDKType; - isAmino(o: any): o is MsgClearAdminAmino; - encode(message: MsgClearAdmin, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgClearAdmin; - fromJSON(object: any): MsgClearAdmin; - toJSON(message: MsgClearAdmin): unknown; - fromPartial(object: DeepPartial): MsgClearAdmin; - fromSDK(object: MsgClearAdminSDKType): MsgClearAdmin; - toSDK(message: MsgClearAdmin): MsgClearAdminSDKType; - fromAmino(object: MsgClearAdminAmino): MsgClearAdmin; - toAmino(message: MsgClearAdmin): MsgClearAdminAmino; - fromAminoMsg(object: MsgClearAdminAminoMsg): MsgClearAdmin; - toAminoMsg(message: MsgClearAdmin): MsgClearAdminAminoMsg; - fromProtoMsg(message: MsgClearAdminProtoMsg): MsgClearAdmin; - toProto(message: MsgClearAdmin): Uint8Array; - toProtoMsg(message: MsgClearAdmin): MsgClearAdminProtoMsg; -}; -export declare const MsgClearAdminResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgClearAdminResponse; - isSDK(o: any): o is MsgClearAdminResponseSDKType; - isAmino(o: any): o is MsgClearAdminResponseAmino; - encode(_: MsgClearAdminResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgClearAdminResponse; - fromJSON(_: any): MsgClearAdminResponse; - toJSON(_: MsgClearAdminResponse): unknown; - fromPartial(_: DeepPartial): MsgClearAdminResponse; - fromSDK(_: MsgClearAdminResponseSDKType): MsgClearAdminResponse; - toSDK(_: MsgClearAdminResponse): MsgClearAdminResponseSDKType; - fromAmino(_: MsgClearAdminResponseAmino): MsgClearAdminResponse; - toAmino(_: MsgClearAdminResponse): MsgClearAdminResponseAmino; - fromAminoMsg(object: MsgClearAdminResponseAminoMsg): MsgClearAdminResponse; - toAminoMsg(message: MsgClearAdminResponse): MsgClearAdminResponseAminoMsg; - fromProtoMsg(message: MsgClearAdminResponseProtoMsg): MsgClearAdminResponse; - toProto(message: MsgClearAdminResponse): Uint8Array; - toProtoMsg(message: MsgClearAdminResponse): MsgClearAdminResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts b/examples/authz/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts deleted file mode 100644 index e3404965..00000000 --- a/examples/authz/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +++ /dev/null @@ -1,137 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - storeCode(value: MsgStoreCode): { - typeUrl: string; - value: Uint8Array; - }; - instantiateContract(value: MsgInstantiateContract): { - typeUrl: string; - value: Uint8Array; - }; - executeContract(value: MsgExecuteContract): { - typeUrl: string; - value: Uint8Array; - }; - migrateContract(value: MsgMigrateContract): { - typeUrl: string; - value: Uint8Array; - }; - updateAdmin(value: MsgUpdateAdmin): { - typeUrl: string; - value: Uint8Array; - }; - clearAdmin(value: MsgClearAdmin): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - storeCode(value: MsgStoreCode): { - typeUrl: string; - value: MsgStoreCode; - }; - instantiateContract(value: MsgInstantiateContract): { - typeUrl: string; - value: MsgInstantiateContract; - }; - executeContract(value: MsgExecuteContract): { - typeUrl: string; - value: MsgExecuteContract; - }; - migrateContract(value: MsgMigrateContract): { - typeUrl: string; - value: MsgMigrateContract; - }; - updateAdmin(value: MsgUpdateAdmin): { - typeUrl: string; - value: MsgUpdateAdmin; - }; - clearAdmin(value: MsgClearAdmin): { - typeUrl: string; - value: MsgClearAdmin; - }; - }; - toJSON: { - storeCode(value: MsgStoreCode): { - typeUrl: string; - value: unknown; - }; - instantiateContract(value: MsgInstantiateContract): { - typeUrl: string; - value: unknown; - }; - executeContract(value: MsgExecuteContract): { - typeUrl: string; - value: unknown; - }; - migrateContract(value: MsgMigrateContract): { - typeUrl: string; - value: unknown; - }; - updateAdmin(value: MsgUpdateAdmin): { - typeUrl: string; - value: unknown; - }; - clearAdmin(value: MsgClearAdmin): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - storeCode(value: any): { - typeUrl: string; - value: MsgStoreCode; - }; - instantiateContract(value: any): { - typeUrl: string; - value: MsgInstantiateContract; - }; - executeContract(value: any): { - typeUrl: string; - value: MsgExecuteContract; - }; - migrateContract(value: any): { - typeUrl: string; - value: MsgMigrateContract; - }; - updateAdmin(value: any): { - typeUrl: string; - value: MsgUpdateAdmin; - }; - clearAdmin(value: any): { - typeUrl: string; - value: MsgClearAdmin; - }; - }; - fromPartial: { - storeCode(value: MsgStoreCode): { - typeUrl: string; - value: MsgStoreCode; - }; - instantiateContract(value: MsgInstantiateContract): { - typeUrl: string; - value: MsgInstantiateContract; - }; - executeContract(value: MsgExecuteContract): { - typeUrl: string; - value: MsgExecuteContract; - }; - migrateContract(value: MsgMigrateContract): { - typeUrl: string; - value: MsgMigrateContract; - }; - updateAdmin(value: MsgUpdateAdmin): { - typeUrl: string; - value: MsgUpdateAdmin; - }; - clearAdmin(value: MsgClearAdmin): { - typeUrl: string; - value: MsgClearAdmin; - }; - }; -}; diff --git a/examples/authz/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts deleted file mode 100644 index 2729df16..00000000 --- a/examples/authz/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx"; -/** Msg defines the wasm Msg service. */ -export interface Msg { - /** StoreCode to submit Wasm code to the system */ - storeCode(signerAddress: string, message: MsgStoreCode, fee: number | StdFee | "auto", memo: string): Promise; - /** Instantiate creates a new smart contract instance for the given code id. */ - instantiateContract(signerAddress: string, message: MsgInstantiateContract, fee: number | StdFee | "auto", memo: string): Promise; - /** Execute submits the given message data to a smart contract */ - executeContract(signerAddress: string, message: MsgExecuteContract, fee: number | StdFee | "auto", memo: string): Promise; - /** Migrate runs a code upgrade/ downgrade for a smart contract */ - migrateContract(signerAddress: string, message: MsgMigrateContract, fee: number | StdFee | "auto", memo: string): Promise; - /** UpdateAdmin sets a new admin for a smart contract */ - updateAdmin(signerAddress: string, message: MsgUpdateAdmin, fee: number | StdFee | "auto", memo: string): Promise; - /** ClearAdmin removes any admin stored for a smart contract */ - clearAdmin(signerAddress: string, message: MsgClearAdmin, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - storeCode: (signerAddress: string, message: MsgStoreCode, fee?: number | StdFee | "auto", memo?: string) => Promise; - instantiateContract: (signerAddress: string, message: MsgInstantiateContract, fee?: number | StdFee | "auto", memo?: string) => Promise; - executeContract: (signerAddress: string, message: MsgExecuteContract, fee?: number | StdFee | "auto", memo?: string) => Promise; - migrateContract: (signerAddress: string, message: MsgMigrateContract, fee?: number | StdFee | "auto", memo?: string) => Promise; - updateAdmin: (signerAddress: string, message: MsgUpdateAdmin, fee?: number | StdFee | "auto", memo?: string) => Promise; - clearAdmin: (signerAddress: string, message: MsgClearAdmin, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/cosmwasm/wasm/v1/types.d.ts b/examples/authz/types/codegen/cosmwasm/wasm/v1/types.d.ts deleted file mode 100644 index 086a529f..00000000 --- a/examples/authz/types/codegen/cosmwasm/wasm/v1/types.d.ts +++ /dev/null @@ -1,477 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { DeepPartial } from "../../../helpers"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -/** AccessType permission types */ -export declare enum AccessType { - /** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */ - ACCESS_TYPE_UNSPECIFIED = 0, - /** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */ - ACCESS_TYPE_NOBODY = 1, - /** ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to an address */ - ACCESS_TYPE_ONLY_ADDRESS = 2, - /** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */ - ACCESS_TYPE_EVERYBODY = 3, - UNRECOGNIZED = -1 -} -export declare const AccessTypeSDKType: typeof AccessType; -export declare const AccessTypeAmino: typeof AccessType; -export declare function accessTypeFromJSON(object: any): AccessType; -export declare function accessTypeToJSON(object: AccessType): string; -/** ContractCodeHistoryOperationType actions that caused a code change */ -export declare enum ContractCodeHistoryOperationType { - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0, - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1, - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2, - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3, - UNRECOGNIZED = -1 -} -export declare const ContractCodeHistoryOperationTypeSDKType: typeof ContractCodeHistoryOperationType; -export declare const ContractCodeHistoryOperationTypeAmino: typeof ContractCodeHistoryOperationType; -export declare function contractCodeHistoryOperationTypeFromJSON(object: any): ContractCodeHistoryOperationType; -export declare function contractCodeHistoryOperationTypeToJSON(object: ContractCodeHistoryOperationType): string; -/** AccessTypeParam */ -export interface AccessTypeParam { - value: AccessType; -} -export interface AccessTypeParamProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.AccessTypeParam"; - value: Uint8Array; -} -/** AccessTypeParam */ -export interface AccessTypeParamAmino { - value?: AccessType; -} -export interface AccessTypeParamAminoMsg { - type: "wasm/AccessTypeParam"; - value: AccessTypeParamAmino; -} -/** AccessTypeParam */ -export interface AccessTypeParamSDKType { - value: AccessType; -} -/** AccessConfig access control type. */ -export interface AccessConfig { - permission: AccessType; - address: string; -} -export interface AccessConfigProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.AccessConfig"; - value: Uint8Array; -} -/** AccessConfig access control type. */ -export interface AccessConfigAmino { - permission?: AccessType; - address?: string; -} -export interface AccessConfigAminoMsg { - type: "wasm/AccessConfig"; - value: AccessConfigAmino; -} -/** AccessConfig access control type. */ -export interface AccessConfigSDKType { - permission: AccessType; - address: string; -} -/** Params defines the set of wasm parameters. */ -export interface Params { - codeUploadAccess: AccessConfig | undefined; - instantiateDefaultPermission: AccessType; - maxWasmCodeSize: bigint; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.Params"; - value: Uint8Array; -} -/** Params defines the set of wasm parameters. */ -export interface ParamsAmino { - code_upload_access?: AccessConfigAmino | undefined; - instantiate_default_permission?: AccessType; - max_wasm_code_size?: string; -} -export interface ParamsAminoMsg { - type: "wasm/Params"; - value: ParamsAmino; -} -/** Params defines the set of wasm parameters. */ -export interface ParamsSDKType { - code_upload_access: AccessConfigSDKType | undefined; - instantiate_default_permission: AccessType; - max_wasm_code_size: bigint; -} -/** CodeInfo is data for the uploaded contract WASM code */ -export interface CodeInfo { - /** CodeHash is the unique identifier created by wasmvm */ - codeHash: Uint8Array; - /** Creator address who initially stored the code */ - creator: string; - /** InstantiateConfig access control to apply on contract creation, optional */ - instantiateConfig: AccessConfig | undefined; -} -export interface CodeInfoProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.CodeInfo"; - value: Uint8Array; -} -/** CodeInfo is data for the uploaded contract WASM code */ -export interface CodeInfoAmino { - /** CodeHash is the unique identifier created by wasmvm */ - code_hash?: string; - /** Creator address who initially stored the code */ - creator?: string; - /** InstantiateConfig access control to apply on contract creation, optional */ - instantiate_config?: AccessConfigAmino | undefined; -} -export interface CodeInfoAminoMsg { - type: "wasm/CodeInfo"; - value: CodeInfoAmino; -} -/** CodeInfo is data for the uploaded contract WASM code */ -export interface CodeInfoSDKType { - code_hash: Uint8Array; - creator: string; - instantiate_config: AccessConfigSDKType | undefined; -} -/** ContractInfo stores a WASM contract instance */ -export interface ContractInfo { - /** CodeID is the reference to the stored Wasm code */ - codeId: bigint; - /** Creator address who initially instantiated the contract */ - creator: string; - /** Admin is an optional address that can execute migrations */ - admin: string; - /** Label is optional metadata to be stored with a contract instance. */ - label: string; - /** - * Created Tx position when the contract was instantiated. - * This data should kept internal and not be exposed via query results. Just - * use for sorting - */ - created?: AbsoluteTxPosition | undefined; - ibcPortId: string; - /** - * Extension is an extension point to store custom metadata within the - * persistence model. - */ - extension?: Any | undefined; -} -export interface ContractInfoProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.ContractInfo"; - value: Uint8Array; -} -export type ContractInfoEncoded = Omit & { - /** - * Extension is an extension point to store custom metadata within the - * persistence model. - */ - extension?: AnyProtoMsg | undefined; -}; -/** ContractInfo stores a WASM contract instance */ -export interface ContractInfoAmino { - /** CodeID is the reference to the stored Wasm code */ - code_id?: string; - /** Creator address who initially instantiated the contract */ - creator?: string; - /** Admin is an optional address that can execute migrations */ - admin?: string; - /** Label is optional metadata to be stored with a contract instance. */ - label?: string; - /** - * Created Tx position when the contract was instantiated. - * This data should kept internal and not be exposed via query results. Just - * use for sorting - */ - created?: AbsoluteTxPositionAmino | undefined; - ibc_port_id?: string; - /** - * Extension is an extension point to store custom metadata within the - * persistence model. - */ - extension?: AnyAmino | undefined; -} -export interface ContractInfoAminoMsg { - type: "wasm/ContractInfo"; - value: ContractInfoAmino; -} -/** ContractInfo stores a WASM contract instance */ -export interface ContractInfoSDKType { - code_id: bigint; - creator: string; - admin: string; - label: string; - created?: AbsoluteTxPositionSDKType | undefined; - ibc_port_id: string; - extension?: AnySDKType | undefined; -} -/** ContractCodeHistoryEntry metadata to a contract. */ -export interface ContractCodeHistoryEntry { - operation: ContractCodeHistoryOperationType; - /** CodeID is the reference to the stored WASM code */ - codeId: bigint; - /** Updated Tx position when the operation was executed. */ - updated?: AbsoluteTxPosition | undefined; - msg: Uint8Array; -} -export interface ContractCodeHistoryEntryProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.ContractCodeHistoryEntry"; - value: Uint8Array; -} -/** ContractCodeHistoryEntry metadata to a contract. */ -export interface ContractCodeHistoryEntryAmino { - operation?: ContractCodeHistoryOperationType; - /** CodeID is the reference to the stored WASM code */ - code_id?: string; - /** Updated Tx position when the operation was executed. */ - updated?: AbsoluteTxPositionAmino | undefined; - msg?: any; -} -export interface ContractCodeHistoryEntryAminoMsg { - type: "wasm/ContractCodeHistoryEntry"; - value: ContractCodeHistoryEntryAmino; -} -/** ContractCodeHistoryEntry metadata to a contract. */ -export interface ContractCodeHistoryEntrySDKType { - operation: ContractCodeHistoryOperationType; - code_id: bigint; - updated?: AbsoluteTxPositionSDKType | undefined; - msg: Uint8Array; -} -/** - * AbsoluteTxPosition is a unique transaction position that allows for global - * ordering of transactions. - */ -export interface AbsoluteTxPosition { - /** BlockHeight is the block the contract was created at */ - blockHeight: bigint; - /** - * TxIndex is a monotonic counter within the block (actual transaction index, - * or gas consumed) - */ - txIndex: bigint; -} -export interface AbsoluteTxPositionProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.AbsoluteTxPosition"; - value: Uint8Array; -} -/** - * AbsoluteTxPosition is a unique transaction position that allows for global - * ordering of transactions. - */ -export interface AbsoluteTxPositionAmino { - /** BlockHeight is the block the contract was created at */ - block_height?: string; - /** - * TxIndex is a monotonic counter within the block (actual transaction index, - * or gas consumed) - */ - tx_index?: string; -} -export interface AbsoluteTxPositionAminoMsg { - type: "wasm/AbsoluteTxPosition"; - value: AbsoluteTxPositionAmino; -} -/** - * AbsoluteTxPosition is a unique transaction position that allows for global - * ordering of transactions. - */ -export interface AbsoluteTxPositionSDKType { - block_height: bigint; - tx_index: bigint; -} -/** Model is a struct that holds a KV pair */ -export interface Model { - /** hex-encode key to read it better (this is often ascii) */ - key: Uint8Array; - /** base64-encode raw value */ - value: Uint8Array; -} -export interface ModelProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.Model"; - value: Uint8Array; -} -/** Model is a struct that holds a KV pair */ -export interface ModelAmino { - /** hex-encode key to read it better (this is often ascii) */ - key?: string; - /** base64-encode raw value */ - value?: string; -} -export interface ModelAminoMsg { - type: "wasm/Model"; - value: ModelAmino; -} -/** Model is a struct that holds a KV pair */ -export interface ModelSDKType { - key: Uint8Array; - value: Uint8Array; -} -export declare const AccessTypeParam: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccessTypeParam; - isSDK(o: any): o is AccessTypeParamSDKType; - isAmino(o: any): o is AccessTypeParamAmino; - encode(message: AccessTypeParam, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccessTypeParam; - fromJSON(object: any): AccessTypeParam; - toJSON(message: AccessTypeParam): unknown; - fromPartial(object: DeepPartial): AccessTypeParam; - fromSDK(object: AccessTypeParamSDKType): AccessTypeParam; - toSDK(message: AccessTypeParam): AccessTypeParamSDKType; - fromAmino(object: AccessTypeParamAmino): AccessTypeParam; - toAmino(message: AccessTypeParam): AccessTypeParamAmino; - fromAminoMsg(object: AccessTypeParamAminoMsg): AccessTypeParam; - toAminoMsg(message: AccessTypeParam): AccessTypeParamAminoMsg; - fromProtoMsg(message: AccessTypeParamProtoMsg): AccessTypeParam; - toProto(message: AccessTypeParam): Uint8Array; - toProtoMsg(message: AccessTypeParam): AccessTypeParamProtoMsg; -}; -export declare const AccessConfig: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccessConfig; - isSDK(o: any): o is AccessConfigSDKType; - isAmino(o: any): o is AccessConfigAmino; - encode(message: AccessConfig, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccessConfig; - fromJSON(object: any): AccessConfig; - toJSON(message: AccessConfig): unknown; - fromPartial(object: DeepPartial): AccessConfig; - fromSDK(object: AccessConfigSDKType): AccessConfig; - toSDK(message: AccessConfig): AccessConfigSDKType; - fromAmino(object: AccessConfigAmino): AccessConfig; - toAmino(message: AccessConfig): AccessConfigAmino; - fromAminoMsg(object: AccessConfigAminoMsg): AccessConfig; - toAminoMsg(message: AccessConfig): AccessConfigAminoMsg; - fromProtoMsg(message: AccessConfigProtoMsg): AccessConfig; - toProto(message: AccessConfig): Uint8Array; - toProtoMsg(message: AccessConfig): AccessConfigProtoMsg; -}; -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; -export declare const CodeInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is CodeInfo; - isSDK(o: any): o is CodeInfoSDKType; - isAmino(o: any): o is CodeInfoAmino; - encode(message: CodeInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CodeInfo; - fromJSON(object: any): CodeInfo; - toJSON(message: CodeInfo): unknown; - fromPartial(object: DeepPartial): CodeInfo; - fromSDK(object: CodeInfoSDKType): CodeInfo; - toSDK(message: CodeInfo): CodeInfoSDKType; - fromAmino(object: CodeInfoAmino): CodeInfo; - toAmino(message: CodeInfo): CodeInfoAmino; - fromAminoMsg(object: CodeInfoAminoMsg): CodeInfo; - toAminoMsg(message: CodeInfo): CodeInfoAminoMsg; - fromProtoMsg(message: CodeInfoProtoMsg): CodeInfo; - toProto(message: CodeInfo): Uint8Array; - toProtoMsg(message: CodeInfo): CodeInfoProtoMsg; -}; -export declare const ContractInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is ContractInfo; - isSDK(o: any): o is ContractInfoSDKType; - isAmino(o: any): o is ContractInfoAmino; - encode(message: ContractInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ContractInfo; - fromJSON(object: any): ContractInfo; - toJSON(message: ContractInfo): unknown; - fromPartial(object: DeepPartial): ContractInfo; - fromSDK(object: ContractInfoSDKType): ContractInfo; - toSDK(message: ContractInfo): ContractInfoSDKType; - fromAmino(object: ContractInfoAmino): ContractInfo; - toAmino(message: ContractInfo): ContractInfoAmino; - fromAminoMsg(object: ContractInfoAminoMsg): ContractInfo; - toAminoMsg(message: ContractInfo): ContractInfoAminoMsg; - fromProtoMsg(message: ContractInfoProtoMsg): ContractInfo; - toProto(message: ContractInfo): Uint8Array; - toProtoMsg(message: ContractInfo): ContractInfoProtoMsg; -}; -export declare const ContractCodeHistoryEntry: { - typeUrl: string; - aminoType: string; - is(o: any): o is ContractCodeHistoryEntry; - isSDK(o: any): o is ContractCodeHistoryEntrySDKType; - isAmino(o: any): o is ContractCodeHistoryEntryAmino; - encode(message: ContractCodeHistoryEntry, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ContractCodeHistoryEntry; - fromJSON(object: any): ContractCodeHistoryEntry; - toJSON(message: ContractCodeHistoryEntry): unknown; - fromPartial(object: DeepPartial): ContractCodeHistoryEntry; - fromSDK(object: ContractCodeHistoryEntrySDKType): ContractCodeHistoryEntry; - toSDK(message: ContractCodeHistoryEntry): ContractCodeHistoryEntrySDKType; - fromAmino(object: ContractCodeHistoryEntryAmino): ContractCodeHistoryEntry; - toAmino(message: ContractCodeHistoryEntry): ContractCodeHistoryEntryAmino; - fromAminoMsg(object: ContractCodeHistoryEntryAminoMsg): ContractCodeHistoryEntry; - toAminoMsg(message: ContractCodeHistoryEntry): ContractCodeHistoryEntryAminoMsg; - fromProtoMsg(message: ContractCodeHistoryEntryProtoMsg): ContractCodeHistoryEntry; - toProto(message: ContractCodeHistoryEntry): Uint8Array; - toProtoMsg(message: ContractCodeHistoryEntry): ContractCodeHistoryEntryProtoMsg; -}; -export declare const AbsoluteTxPosition: { - typeUrl: string; - aminoType: string; - is(o: any): o is AbsoluteTxPosition; - isSDK(o: any): o is AbsoluteTxPositionSDKType; - isAmino(o: any): o is AbsoluteTxPositionAmino; - encode(message: AbsoluteTxPosition, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AbsoluteTxPosition; - fromJSON(object: any): AbsoluteTxPosition; - toJSON(message: AbsoluteTxPosition): unknown; - fromPartial(object: DeepPartial): AbsoluteTxPosition; - fromSDK(object: AbsoluteTxPositionSDKType): AbsoluteTxPosition; - toSDK(message: AbsoluteTxPosition): AbsoluteTxPositionSDKType; - fromAmino(object: AbsoluteTxPositionAmino): AbsoluteTxPosition; - toAmino(message: AbsoluteTxPosition): AbsoluteTxPositionAmino; - fromAminoMsg(object: AbsoluteTxPositionAminoMsg): AbsoluteTxPosition; - toAminoMsg(message: AbsoluteTxPosition): AbsoluteTxPositionAminoMsg; - fromProtoMsg(message: AbsoluteTxPositionProtoMsg): AbsoluteTxPosition; - toProto(message: AbsoluteTxPosition): Uint8Array; - toProtoMsg(message: AbsoluteTxPosition): AbsoluteTxPositionProtoMsg; -}; -export declare const Model: { - typeUrl: string; - aminoType: string; - is(o: any): o is Model; - isSDK(o: any): o is ModelSDKType; - isAmino(o: any): o is ModelAmino; - encode(message: Model, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Model; - fromJSON(object: any): Model; - toJSON(message: Model): unknown; - fromPartial(object: DeepPartial): Model; - fromSDK(object: ModelSDKType): Model; - toSDK(message: Model): ModelSDKType; - fromAmino(object: ModelAmino): Model; - toAmino(message: Model): ModelAmino; - fromAminoMsg(object: ModelAminoMsg): Model; - toAminoMsg(message: Model): ModelAminoMsg; - fromProtoMsg(message: ModelProtoMsg): Model; - toProto(message: Model): Uint8Array; - toProtoMsg(message: Model): ModelProtoMsg; -}; diff --git a/examples/authz/types/codegen/extern.d.ts b/examples/authz/types/codegen/extern.d.ts deleted file mode 100644 index 5a3e4afc..00000000 --- a/examples/authz/types/codegen/extern.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.3.2 -* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain -* and run the transpile command or yarn proto command to regenerate this bundle. -*/ -import { ProtobufRpcClient } from '@cosmjs/stargate'; -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -export declare const getRpcEndpointKey: (rpcEndpoint: string | HttpEndpoint) => string; -export declare const getRpcClient: (rpcEndpoint: string | HttpEndpoint) => Promise; diff --git a/examples/authz/types/codegen/gogoproto/bundle.d.ts b/examples/authz/types/codegen/gogoproto/bundle.d.ts deleted file mode 100644 index 55791e68..00000000 --- a/examples/authz/types/codegen/gogoproto/bundle.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const gogoproto: {}; diff --git a/examples/authz/types/codegen/gogoproto/gogo.d.ts b/examples/authz/types/codegen/gogoproto/gogo.d.ts deleted file mode 100644 index cb0ff5c3..00000000 --- a/examples/authz/types/codegen/gogoproto/gogo.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/examples/authz/types/codegen/google/api/annotations.d.ts b/examples/authz/types/codegen/google/api/annotations.d.ts deleted file mode 100644 index cb0ff5c3..00000000 --- a/examples/authz/types/codegen/google/api/annotations.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/examples/authz/types/codegen/google/api/http.d.ts b/examples/authz/types/codegen/google/api/http.d.ts deleted file mode 100644 index 28c4f3bb..00000000 --- a/examples/authz/types/codegen/google/api/http.d.ts +++ /dev/null @@ -1,1084 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** - * Defines the HTTP configuration for an API service. It contains a list of - * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method - * to one or more HTTP REST API methods. - */ -export interface Http { - /** - * A list of HTTP configuration rules that apply to individual API methods. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: HttpRule[]; - /** - * When set to true, URL path parameters will be fully URI-decoded except in - * cases of single segment matches in reserved expansion, where "%2F" will be - * left encoded. - * - * The default behavior is to not decode RFC 6570 reserved characters in multi - * segment matches. - */ - fullyDecodeReservedExpansion: boolean; -} -export interface HttpProtoMsg { - typeUrl: "/google.api.Http"; - value: Uint8Array; -} -/** - * Defines the HTTP configuration for an API service. It contains a list of - * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method - * to one or more HTTP REST API methods. - */ -export interface HttpAmino { - /** - * A list of HTTP configuration rules that apply to individual API methods. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules?: HttpRuleAmino[]; - /** - * When set to true, URL path parameters will be fully URI-decoded except in - * cases of single segment matches in reserved expansion, where "%2F" will be - * left encoded. - * - * The default behavior is to not decode RFC 6570 reserved characters in multi - * segment matches. - */ - fully_decode_reserved_expansion?: boolean; -} -export interface HttpAminoMsg { - type: "/google.api.Http"; - value: HttpAmino; -} -/** - * Defines the HTTP configuration for an API service. It contains a list of - * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method - * to one or more HTTP REST API methods. - */ -export interface HttpSDKType { - rules: HttpRuleSDKType[]; - fully_decode_reserved_expansion: boolean; -} -/** - * # gRPC Transcoding - * - * gRPC Transcoding is a feature for mapping between a gRPC method and one or - * more HTTP REST endpoints. It allows developers to build a single API service - * that supports both gRPC APIs and REST APIs. Many systems, including [Google - * APIs](https://github.com/googleapis/googleapis), - * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC - * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), - * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature - * and use it for large scale production services. - * - * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies - * how different portions of the gRPC request message are mapped to the URL - * path, URL query parameters, and HTTP request body. It also controls how the - * gRPC response message is mapped to the HTTP response body. `HttpRule` is - * typically specified as an `google.api.http` annotation on the gRPC method. - * - * Each mapping specifies a URL path template and an HTTP method. The path - * template may refer to one or more fields in the gRPC request message, as long - * as each field is a non-repeated field with a primitive (non-message) type. - * The path template controls how fields of the request message are mapped to - * the URL path. - * - * Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } - * - * This enables an HTTP REST to gRPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` - * - * Any fields in the request message which are not bound by the path template - * automatically become HTTP query parameters if there is no HTTP request body. - * For example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } - * - * This enables a HTTP JSON to RPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | - * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: - * "foo"))` - * - * Note that fields which are mapped to URL query parameters must have a - * primitive type or a repeated primitive type or a non-repeated message type. - * In the case of a repeated type, the parameter can be repeated in the URL - * as `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as - * `...?foo.a=A&foo.b=B&foo.c=C`. - * - * For HTTP methods that allow a request body, the `body` field - * specifies the mapping. Consider a REST update method on the - * message resource collection: - * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } - * - * The following HTTP JSON to RPC mapping is enabled, where the - * representation of the JSON in the request body is determined by - * protos JSON encoding: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" message { text: "Hi!" })` - * - * The special name `*` can be used in the body mapping to define that - * every field not bound by the path template should be mapped to the - * request body. This enables the following alternative definition of - * the update method: - * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } - * - * - * The following HTTP JSON to RPC mapping is enabled: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" text: "Hi!")` - * - * Note that when using `*` in the body mapping, it is not possible to - * have HTTP parameters, as all fields not bound by the path end in - * the body. This makes this option more rarely used in practice when - * defining REST APIs. The common usage of `*` is in custom methods - * which don't use the URL at all for transferring data. - * - * It is possible to define multiple HTTP methods for one RPC by using - * the `additional_bindings` option. Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } - * - * This enables the following two alternative HTTP JSON to RPC mappings: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` - * - * ## Rules for HTTP mapping - * - * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. - * - * ### Path template syntax - * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; - * - * The syntax `*` matches a single URL path segment. The syntax `**` matches - * zero or more URL path segments, which must be the last part of the URL path - * except the `Verb`. - * - * The syntax `Variable` matches part of the URL path as specified by its - * template. A variable template must not contain other variables. If a variable - * matches a single path segment, its template may be omitted, e.g. `{var}` - * is equivalent to `{var=*}`. - * - * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` - * contains any reserved character, such characters should be percent-encoded - * before the matching. - * - * If a variable contains exactly one path segment, such as `"{var}"` or - * `"{var=*}"`, when such a variable is expanded into a URL path on the client - * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The - * server side does the reverse decoding. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{var}`. - * - * If a variable contains multiple path segments, such as `"{var=foo/*}"` - * or `"{var=**}"`, when such a variable is expanded into a URL path on the - * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. - * The server side does the reverse decoding, except "%2F" and "%2f" are left - * unchanged. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. - * - * ## Using gRPC API Service Configuration - * - * gRPC API Service Configuration (service config) is a configuration language - * for configuring a gRPC service to become a user-facing product. The - * service config is simply the YAML representation of the `google.api.Service` - * proto message. - * - * As an alternative to annotating your proto file, you can configure gRPC - * transcoding in your service config YAML files. You do this by specifying a - * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same - * effect as the proto annotation. This can be particularly useful if you - * have a proto that is reused in multiple services. Note that any transcoding - * specified in the service config will override any matching transcoding - * configuration in the proto. - * - * Example: - * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} - * - * ## Special notes - * - * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the - * proto to JSON conversion must follow the [proto3 - * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). - * - * While the single segment variable follows the semantics of - * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String - * Expansion, the multi segment variable **does not** follow RFC 6570 Section - * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion - * does not expand special characters like `?` and `#`, which would lead - * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding - * for multi segment variables. - * - * The path variables **must not** refer to any repeated or mapped field, - * because client libraries are not capable of handling such variable expansion. - * - * The path variables **must not** capture the leading "/" character. The reason - * is that the most common use case "{var}" does not capture the leading "/" - * character. For consistency, all path variables must share the same behavior. - * - * Repeated message fields must not be mapped to URL query parameters, because - * no client library can support such complicated mapping. - * - * If an API needs to use a JSON array for request or response body, it can map - * the request or response body to a repeated field. However, some gRPC - * Transcoding implementations may not support this feature. - */ -export interface HttpRule { - /** - * Selects a method to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** - * Maps to HTTP GET. Used for listing and getting information about - * resources. - */ - get?: string; - /** Maps to HTTP PUT. Used for replacing a resource. */ - put?: string; - /** Maps to HTTP POST. Used for creating a resource or performing an action. */ - post?: string; - /** Maps to HTTP DELETE. Used for deleting a resource. */ - delete?: string; - /** Maps to HTTP PATCH. Used for updating a resource. */ - patch?: string; - /** - * The custom pattern is used for specifying an HTTP method that is not - * included in the `pattern` field, such as HEAD, or "*" to leave the - * HTTP method unspecified for this rule. The wild-card rule is useful - * for services that provide content to Web (HTML) clients. - */ - custom?: CustomHttpPattern | undefined; - /** - * The name of the request field whose value is mapped to the HTTP request - * body, or `*` for mapping all request fields not captured by the path - * pattern to the HTTP body, or omitted for not having any HTTP request body. - * - * NOTE: the referred field must be present at the top-level of the request - * message type. - */ - body: string; - /** - * Optional. The name of the response field whose value is mapped to the HTTP - * response body. When omitted, the entire response message will be used - * as the HTTP response body. - * - * NOTE: The referred field must be present at the top-level of the response - * message type. - */ - responseBody: string; - /** - * Additional HTTP bindings for the selector. Nested bindings must - * not contain an `additional_bindings` field themselves (that is, - * the nesting may only be one level deep). - */ - additionalBindings: HttpRule[]; -} -export interface HttpRuleProtoMsg { - typeUrl: "/google.api.HttpRule"; - value: Uint8Array; -} -/** - * # gRPC Transcoding - * - * gRPC Transcoding is a feature for mapping between a gRPC method and one or - * more HTTP REST endpoints. It allows developers to build a single API service - * that supports both gRPC APIs and REST APIs. Many systems, including [Google - * APIs](https://github.com/googleapis/googleapis), - * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC - * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), - * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature - * and use it for large scale production services. - * - * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies - * how different portions of the gRPC request message are mapped to the URL - * path, URL query parameters, and HTTP request body. It also controls how the - * gRPC response message is mapped to the HTTP response body. `HttpRule` is - * typically specified as an `google.api.http` annotation on the gRPC method. - * - * Each mapping specifies a URL path template and an HTTP method. The path - * template may refer to one or more fields in the gRPC request message, as long - * as each field is a non-repeated field with a primitive (non-message) type. - * The path template controls how fields of the request message are mapped to - * the URL path. - * - * Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } - * - * This enables an HTTP REST to gRPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` - * - * Any fields in the request message which are not bound by the path template - * automatically become HTTP query parameters if there is no HTTP request body. - * For example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } - * - * This enables a HTTP JSON to RPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | - * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: - * "foo"))` - * - * Note that fields which are mapped to URL query parameters must have a - * primitive type or a repeated primitive type or a non-repeated message type. - * In the case of a repeated type, the parameter can be repeated in the URL - * as `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as - * `...?foo.a=A&foo.b=B&foo.c=C`. - * - * For HTTP methods that allow a request body, the `body` field - * specifies the mapping. Consider a REST update method on the - * message resource collection: - * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } - * - * The following HTTP JSON to RPC mapping is enabled, where the - * representation of the JSON in the request body is determined by - * protos JSON encoding: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" message { text: "Hi!" })` - * - * The special name `*` can be used in the body mapping to define that - * every field not bound by the path template should be mapped to the - * request body. This enables the following alternative definition of - * the update method: - * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } - * - * - * The following HTTP JSON to RPC mapping is enabled: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" text: "Hi!")` - * - * Note that when using `*` in the body mapping, it is not possible to - * have HTTP parameters, as all fields not bound by the path end in - * the body. This makes this option more rarely used in practice when - * defining REST APIs. The common usage of `*` is in custom methods - * which don't use the URL at all for transferring data. - * - * It is possible to define multiple HTTP methods for one RPC by using - * the `additional_bindings` option. Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } - * - * This enables the following two alternative HTTP JSON to RPC mappings: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` - * - * ## Rules for HTTP mapping - * - * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. - * - * ### Path template syntax - * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; - * - * The syntax `*` matches a single URL path segment. The syntax `**` matches - * zero or more URL path segments, which must be the last part of the URL path - * except the `Verb`. - * - * The syntax `Variable` matches part of the URL path as specified by its - * template. A variable template must not contain other variables. If a variable - * matches a single path segment, its template may be omitted, e.g. `{var}` - * is equivalent to `{var=*}`. - * - * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` - * contains any reserved character, such characters should be percent-encoded - * before the matching. - * - * If a variable contains exactly one path segment, such as `"{var}"` or - * `"{var=*}"`, when such a variable is expanded into a URL path on the client - * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The - * server side does the reverse decoding. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{var}`. - * - * If a variable contains multiple path segments, such as `"{var=foo/*}"` - * or `"{var=**}"`, when such a variable is expanded into a URL path on the - * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. - * The server side does the reverse decoding, except "%2F" and "%2f" are left - * unchanged. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. - * - * ## Using gRPC API Service Configuration - * - * gRPC API Service Configuration (service config) is a configuration language - * for configuring a gRPC service to become a user-facing product. The - * service config is simply the YAML representation of the `google.api.Service` - * proto message. - * - * As an alternative to annotating your proto file, you can configure gRPC - * transcoding in your service config YAML files. You do this by specifying a - * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same - * effect as the proto annotation. This can be particularly useful if you - * have a proto that is reused in multiple services. Note that any transcoding - * specified in the service config will override any matching transcoding - * configuration in the proto. - * - * Example: - * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} - * - * ## Special notes - * - * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the - * proto to JSON conversion must follow the [proto3 - * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). - * - * While the single segment variable follows the semantics of - * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String - * Expansion, the multi segment variable **does not** follow RFC 6570 Section - * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion - * does not expand special characters like `?` and `#`, which would lead - * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding - * for multi segment variables. - * - * The path variables **must not** refer to any repeated or mapped field, - * because client libraries are not capable of handling such variable expansion. - * - * The path variables **must not** capture the leading "/" character. The reason - * is that the most common use case "{var}" does not capture the leading "/" - * character. For consistency, all path variables must share the same behavior. - * - * Repeated message fields must not be mapped to URL query parameters, because - * no client library can support such complicated mapping. - * - * If an API needs to use a JSON array for request or response body, it can map - * the request or response body to a repeated field. However, some gRPC - * Transcoding implementations may not support this feature. - */ -export interface HttpRuleAmino { - /** - * Selects a method to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector?: string; - /** - * Maps to HTTP GET. Used for listing and getting information about - * resources. - */ - get?: string; - /** Maps to HTTP PUT. Used for replacing a resource. */ - put?: string; - /** Maps to HTTP POST. Used for creating a resource or performing an action. */ - post?: string; - /** Maps to HTTP DELETE. Used for deleting a resource. */ - delete?: string; - /** Maps to HTTP PATCH. Used for updating a resource. */ - patch?: string; - /** - * The custom pattern is used for specifying an HTTP method that is not - * included in the `pattern` field, such as HEAD, or "*" to leave the - * HTTP method unspecified for this rule. The wild-card rule is useful - * for services that provide content to Web (HTML) clients. - */ - custom?: CustomHttpPatternAmino | undefined; - /** - * The name of the request field whose value is mapped to the HTTP request - * body, or `*` for mapping all request fields not captured by the path - * pattern to the HTTP body, or omitted for not having any HTTP request body. - * - * NOTE: the referred field must be present at the top-level of the request - * message type. - */ - body?: string; - /** - * Optional. The name of the response field whose value is mapped to the HTTP - * response body. When omitted, the entire response message will be used - * as the HTTP response body. - * - * NOTE: The referred field must be present at the top-level of the response - * message type. - */ - response_body?: string; - /** - * Additional HTTP bindings for the selector. Nested bindings must - * not contain an `additional_bindings` field themselves (that is, - * the nesting may only be one level deep). - */ - additional_bindings?: HttpRuleAmino[]; -} -export interface HttpRuleAminoMsg { - type: "/google.api.HttpRule"; - value: HttpRuleAmino; -} -/** - * # gRPC Transcoding - * - * gRPC Transcoding is a feature for mapping between a gRPC method and one or - * more HTTP REST endpoints. It allows developers to build a single API service - * that supports both gRPC APIs and REST APIs. Many systems, including [Google - * APIs](https://github.com/googleapis/googleapis), - * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC - * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), - * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature - * and use it for large scale production services. - * - * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies - * how different portions of the gRPC request message are mapped to the URL - * path, URL query parameters, and HTTP request body. It also controls how the - * gRPC response message is mapped to the HTTP response body. `HttpRule` is - * typically specified as an `google.api.http` annotation on the gRPC method. - * - * Each mapping specifies a URL path template and an HTTP method. The path - * template may refer to one or more fields in the gRPC request message, as long - * as each field is a non-repeated field with a primitive (non-message) type. - * The path template controls how fields of the request message are mapped to - * the URL path. - * - * Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } - * - * This enables an HTTP REST to gRPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` - * - * Any fields in the request message which are not bound by the path template - * automatically become HTTP query parameters if there is no HTTP request body. - * For example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } - * - * This enables a HTTP JSON to RPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | - * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: - * "foo"))` - * - * Note that fields which are mapped to URL query parameters must have a - * primitive type or a repeated primitive type or a non-repeated message type. - * In the case of a repeated type, the parameter can be repeated in the URL - * as `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as - * `...?foo.a=A&foo.b=B&foo.c=C`. - * - * For HTTP methods that allow a request body, the `body` field - * specifies the mapping. Consider a REST update method on the - * message resource collection: - * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } - * - * The following HTTP JSON to RPC mapping is enabled, where the - * representation of the JSON in the request body is determined by - * protos JSON encoding: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" message { text: "Hi!" })` - * - * The special name `*` can be used in the body mapping to define that - * every field not bound by the path template should be mapped to the - * request body. This enables the following alternative definition of - * the update method: - * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } - * - * - * The following HTTP JSON to RPC mapping is enabled: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" text: "Hi!")` - * - * Note that when using `*` in the body mapping, it is not possible to - * have HTTP parameters, as all fields not bound by the path end in - * the body. This makes this option more rarely used in practice when - * defining REST APIs. The common usage of `*` is in custom methods - * which don't use the URL at all for transferring data. - * - * It is possible to define multiple HTTP methods for one RPC by using - * the `additional_bindings` option. Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } - * - * This enables the following two alternative HTTP JSON to RPC mappings: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` - * - * ## Rules for HTTP mapping - * - * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. - * - * ### Path template syntax - * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; - * - * The syntax `*` matches a single URL path segment. The syntax `**` matches - * zero or more URL path segments, which must be the last part of the URL path - * except the `Verb`. - * - * The syntax `Variable` matches part of the URL path as specified by its - * template. A variable template must not contain other variables. If a variable - * matches a single path segment, its template may be omitted, e.g. `{var}` - * is equivalent to `{var=*}`. - * - * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` - * contains any reserved character, such characters should be percent-encoded - * before the matching. - * - * If a variable contains exactly one path segment, such as `"{var}"` or - * `"{var=*}"`, when such a variable is expanded into a URL path on the client - * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The - * server side does the reverse decoding. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{var}`. - * - * If a variable contains multiple path segments, such as `"{var=foo/*}"` - * or `"{var=**}"`, when such a variable is expanded into a URL path on the - * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. - * The server side does the reverse decoding, except "%2F" and "%2f" are left - * unchanged. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. - * - * ## Using gRPC API Service Configuration - * - * gRPC API Service Configuration (service config) is a configuration language - * for configuring a gRPC service to become a user-facing product. The - * service config is simply the YAML representation of the `google.api.Service` - * proto message. - * - * As an alternative to annotating your proto file, you can configure gRPC - * transcoding in your service config YAML files. You do this by specifying a - * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same - * effect as the proto annotation. This can be particularly useful if you - * have a proto that is reused in multiple services. Note that any transcoding - * specified in the service config will override any matching transcoding - * configuration in the proto. - * - * Example: - * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} - * - * ## Special notes - * - * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the - * proto to JSON conversion must follow the [proto3 - * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). - * - * While the single segment variable follows the semantics of - * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String - * Expansion, the multi segment variable **does not** follow RFC 6570 Section - * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion - * does not expand special characters like `?` and `#`, which would lead - * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding - * for multi segment variables. - * - * The path variables **must not** refer to any repeated or mapped field, - * because client libraries are not capable of handling such variable expansion. - * - * The path variables **must not** capture the leading "/" character. The reason - * is that the most common use case "{var}" does not capture the leading "/" - * character. For consistency, all path variables must share the same behavior. - * - * Repeated message fields must not be mapped to URL query parameters, because - * no client library can support such complicated mapping. - * - * If an API needs to use a JSON array for request or response body, it can map - * the request or response body to a repeated field. However, some gRPC - * Transcoding implementations may not support this feature. - */ -export interface HttpRuleSDKType { - selector: string; - get?: string; - put?: string; - post?: string; - delete?: string; - patch?: string; - custom?: CustomHttpPatternSDKType | undefined; - body: string; - response_body: string; - additional_bindings: HttpRuleSDKType[]; -} -/** A custom pattern is used for defining custom HTTP verb. */ -export interface CustomHttpPattern { - /** The name of this custom HTTP verb. */ - kind: string; - /** The path matched by this custom verb. */ - path: string; -} -export interface CustomHttpPatternProtoMsg { - typeUrl: "/google.api.CustomHttpPattern"; - value: Uint8Array; -} -/** A custom pattern is used for defining custom HTTP verb. */ -export interface CustomHttpPatternAmino { - /** The name of this custom HTTP verb. */ - kind?: string; - /** The path matched by this custom verb. */ - path?: string; -} -export interface CustomHttpPatternAminoMsg { - type: "/google.api.CustomHttpPattern"; - value: CustomHttpPatternAmino; -} -/** A custom pattern is used for defining custom HTTP verb. */ -export interface CustomHttpPatternSDKType { - kind: string; - path: string; -} -export declare const Http: { - typeUrl: string; - is(o: any): o is Http; - isSDK(o: any): o is HttpSDKType; - isAmino(o: any): o is HttpAmino; - encode(message: Http, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Http; - fromJSON(object: any): Http; - toJSON(message: Http): unknown; - fromPartial(object: DeepPartial): Http; - fromSDK(object: HttpSDKType): Http; - toSDK(message: Http): HttpSDKType; - fromAmino(object: HttpAmino): Http; - toAmino(message: Http): HttpAmino; - fromAminoMsg(object: HttpAminoMsg): Http; - fromProtoMsg(message: HttpProtoMsg): Http; - toProto(message: Http): Uint8Array; - toProtoMsg(message: Http): HttpProtoMsg; -}; -export declare const HttpRule: { - typeUrl: string; - is(o: any): o is HttpRule; - isSDK(o: any): o is HttpRuleSDKType; - isAmino(o: any): o is HttpRuleAmino; - encode(message: HttpRule, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): HttpRule; - fromJSON(object: any): HttpRule; - toJSON(message: HttpRule): unknown; - fromPartial(object: DeepPartial): HttpRule; - fromSDK(object: HttpRuleSDKType): HttpRule; - toSDK(message: HttpRule): HttpRuleSDKType; - fromAmino(object: HttpRuleAmino): HttpRule; - toAmino(message: HttpRule): HttpRuleAmino; - fromAminoMsg(object: HttpRuleAminoMsg): HttpRule; - fromProtoMsg(message: HttpRuleProtoMsg): HttpRule; - toProto(message: HttpRule): Uint8Array; - toProtoMsg(message: HttpRule): HttpRuleProtoMsg; -}; -export declare const CustomHttpPattern: { - typeUrl: string; - is(o: any): o is CustomHttpPattern; - isSDK(o: any): o is CustomHttpPatternSDKType; - isAmino(o: any): o is CustomHttpPatternAmino; - encode(message: CustomHttpPattern, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CustomHttpPattern; - fromJSON(object: any): CustomHttpPattern; - toJSON(message: CustomHttpPattern): unknown; - fromPartial(object: DeepPartial): CustomHttpPattern; - fromSDK(object: CustomHttpPatternSDKType): CustomHttpPattern; - toSDK(message: CustomHttpPattern): CustomHttpPatternSDKType; - fromAmino(object: CustomHttpPatternAmino): CustomHttpPattern; - toAmino(message: CustomHttpPattern): CustomHttpPatternAmino; - fromAminoMsg(object: CustomHttpPatternAminoMsg): CustomHttpPattern; - fromProtoMsg(message: CustomHttpPatternProtoMsg): CustomHttpPattern; - toProto(message: CustomHttpPattern): Uint8Array; - toProtoMsg(message: CustomHttpPattern): CustomHttpPatternProtoMsg; -}; diff --git a/examples/authz/types/codegen/google/bundle.d.ts b/examples/authz/types/codegen/google/bundle.d.ts deleted file mode 100644 index 1d5838bd..00000000 --- a/examples/authz/types/codegen/google/bundle.d.ts +++ /dev/null @@ -1,1948 +0,0 @@ -import * as _102 from "./api/http"; -import * as _103 from "./protobuf/any"; -import * as _104 from "./protobuf/descriptor"; -import * as _105 from "./protobuf/duration"; -import * as _106 from "./protobuf/empty"; -import * as _107 from "./protobuf/timestamp"; -export declare namespace google { - const api: { - Http: { - typeUrl: string; - is(o: any): o is _102.Http; - isSDK(o: any): o is _102.HttpSDKType; - isAmino(o: any): o is _102.HttpAmino; - encode(message: _102.Http, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _102.Http; - fromJSON(object: any): _102.Http; - toJSON(message: _102.Http): unknown; - fromPartial(object: { - rules?: { - selector?: string; - get?: string; - put?: string; - post?: string; - delete?: string; - patch?: string; - custom?: { - kind?: string; - path?: string; - }; - body?: string; - responseBody?: string; - additionalBindings?: any[]; - }[]; - fullyDecodeReservedExpansion?: boolean; - }): _102.Http; - fromSDK(object: _102.HttpSDKType): _102.Http; - toSDK(message: _102.Http): _102.HttpSDKType; - fromAmino(object: _102.HttpAmino): _102.Http; - toAmino(message: _102.Http): _102.HttpAmino; - fromAminoMsg(object: _102.HttpAminoMsg): _102.Http; - fromProtoMsg(message: _102.HttpProtoMsg): _102.Http; - toProto(message: _102.Http): Uint8Array; - toProtoMsg(message: _102.Http): _102.HttpProtoMsg; - }; - HttpRule: { - typeUrl: string; - is(o: any): o is _102.HttpRule; - isSDK(o: any): o is _102.HttpRuleSDKType; - isAmino(o: any): o is _102.HttpRuleAmino; - encode(message: _102.HttpRule, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _102.HttpRule; - fromJSON(object: any): _102.HttpRule; - toJSON(message: _102.HttpRule): unknown; - fromPartial(object: { - selector?: string; - get?: string; - put?: string; - post?: string; - delete?: string; - patch?: string; - custom?: { - kind?: string; - path?: string; - }; - body?: string; - responseBody?: string; - additionalBindings?: any[]; - }): _102.HttpRule; - fromSDK(object: _102.HttpRuleSDKType): _102.HttpRule; - toSDK(message: _102.HttpRule): _102.HttpRuleSDKType; - fromAmino(object: _102.HttpRuleAmino): _102.HttpRule; - toAmino(message: _102.HttpRule): _102.HttpRuleAmino; - fromAminoMsg(object: _102.HttpRuleAminoMsg): _102.HttpRule; - fromProtoMsg(message: _102.HttpRuleProtoMsg): _102.HttpRule; - toProto(message: _102.HttpRule): Uint8Array; - toProtoMsg(message: _102.HttpRule): _102.HttpRuleProtoMsg; - }; - CustomHttpPattern: { - typeUrl: string; - is(o: any): o is _102.CustomHttpPattern; - isSDK(o: any): o is _102.CustomHttpPatternSDKType; - isAmino(o: any): o is _102.CustomHttpPatternAmino; - encode(message: _102.CustomHttpPattern, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _102.CustomHttpPattern; - fromJSON(object: any): _102.CustomHttpPattern; - toJSON(message: _102.CustomHttpPattern): unknown; - fromPartial(object: { - kind?: string; - path?: string; - }): _102.CustomHttpPattern; - fromSDK(object: _102.CustomHttpPatternSDKType): _102.CustomHttpPattern; - toSDK(message: _102.CustomHttpPattern): _102.CustomHttpPatternSDKType; - fromAmino(object: _102.CustomHttpPatternAmino): _102.CustomHttpPattern; - toAmino(message: _102.CustomHttpPattern): _102.CustomHttpPatternAmino; - fromAminoMsg(object: _102.CustomHttpPatternAminoMsg): _102.CustomHttpPattern; - fromProtoMsg(message: _102.CustomHttpPatternProtoMsg): _102.CustomHttpPattern; - toProto(message: _102.CustomHttpPattern): Uint8Array; - toProtoMsg(message: _102.CustomHttpPattern): _102.CustomHttpPatternProtoMsg; - }; - }; - const protobuf: { - Timestamp: { - typeUrl: string; - is(o: any): o is _107.Timestamp; - isSDK(o: any): o is _107.TimestampSDKType; - isAmino(o: any): o is string; - encode(message: _107.Timestamp, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _107.Timestamp; - fromJSON(object: any): _107.Timestamp; - toJSON(message: _107.Timestamp): unknown; - fromPartial(object: { - seconds?: bigint; - nanos?: number; - }): _107.Timestamp; - fromSDK(object: _107.TimestampSDKType): _107.Timestamp; - toSDK(message: _107.Timestamp): _107.TimestampSDKType; - fromAmino(object: string): _107.Timestamp; - toAmino(message: _107.Timestamp): string; - fromAminoMsg(object: _107.TimestampAminoMsg): _107.Timestamp; - fromProtoMsg(message: _107.TimestampProtoMsg): _107.Timestamp; - toProto(message: _107.Timestamp): Uint8Array; - toProtoMsg(message: _107.Timestamp): _107.TimestampProtoMsg; - }; - Empty: { - typeUrl: string; - is(o: any): o is _106.Empty; - isSDK(o: any): o is _106.EmptySDKType; - isAmino(o: any): o is _106.EmptyAmino; - encode(_: _106.Empty, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _106.Empty; - fromJSON(_: any): _106.Empty; - toJSON(_: _106.Empty): unknown; - fromPartial(_: {}): _106.Empty; - fromSDK(_: _106.EmptySDKType): _106.Empty; - toSDK(_: _106.Empty): _106.EmptySDKType; - fromAmino(_: _106.EmptyAmino): _106.Empty; - toAmino(_: _106.Empty): _106.EmptyAmino; - fromAminoMsg(object: _106.EmptyAminoMsg): _106.Empty; - fromProtoMsg(message: _106.EmptyProtoMsg): _106.Empty; - toProto(message: _106.Empty): Uint8Array; - toProtoMsg(message: _106.Empty): _106.EmptyProtoMsg; - }; - Duration: { - typeUrl: string; - is(o: any): o is _105.Duration; - isSDK(o: any): o is _105.DurationSDKType; - isAmino(o: any): o is string; - encode(message: _105.Duration, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _105.Duration; - fromJSON(object: any): _105.Duration; - toJSON(message: _105.Duration): unknown; - fromPartial(object: { - seconds?: bigint; - nanos?: number; - }): _105.Duration; - fromSDK(object: _105.DurationSDKType): _105.Duration; - toSDK(message: _105.Duration): _105.DurationSDKType; - fromAmino(object: string): _105.Duration; - toAmino(message: _105.Duration): string; - fromAminoMsg(object: _105.DurationAminoMsg): _105.Duration; - fromProtoMsg(message: _105.DurationProtoMsg): _105.Duration; - toProto(message: _105.Duration): Uint8Array; - toProtoMsg(message: _105.Duration): _105.DurationProtoMsg; - }; - fieldDescriptorProto_TypeFromJSON(object: any): _104.FieldDescriptorProto_Type; - fieldDescriptorProto_TypeToJSON(object: _104.FieldDescriptorProto_Type): string; - fieldDescriptorProto_LabelFromJSON(object: any): _104.FieldDescriptorProto_Label; - fieldDescriptorProto_LabelToJSON(object: _104.FieldDescriptorProto_Label): string; - fileOptions_OptimizeModeFromJSON(object: any): _104.FileOptions_OptimizeMode; - fileOptions_OptimizeModeToJSON(object: _104.FileOptions_OptimizeMode): string; - fieldOptions_CTypeFromJSON(object: any): _104.FieldOptions_CType; - fieldOptions_CTypeToJSON(object: _104.FieldOptions_CType): string; - fieldOptions_JSTypeFromJSON(object: any): _104.FieldOptions_JSType; - fieldOptions_JSTypeToJSON(object: _104.FieldOptions_JSType): string; - methodOptions_IdempotencyLevelFromJSON(object: any): _104.MethodOptions_IdempotencyLevel; - methodOptions_IdempotencyLevelToJSON(object: _104.MethodOptions_IdempotencyLevel): string; - FieldDescriptorProto_Type: typeof _104.FieldDescriptorProto_Type; - FieldDescriptorProto_TypeSDKType: typeof _104.FieldDescriptorProto_Type; - FieldDescriptorProto_TypeAmino: typeof _104.FieldDescriptorProto_Type; - FieldDescriptorProto_Label: typeof _104.FieldDescriptorProto_Label; - FieldDescriptorProto_LabelSDKType: typeof _104.FieldDescriptorProto_Label; - FieldDescriptorProto_LabelAmino: typeof _104.FieldDescriptorProto_Label; - FileOptions_OptimizeMode: typeof _104.FileOptions_OptimizeMode; - FileOptions_OptimizeModeSDKType: typeof _104.FileOptions_OptimizeMode; - FileOptions_OptimizeModeAmino: typeof _104.FileOptions_OptimizeMode; - FieldOptions_CType: typeof _104.FieldOptions_CType; - FieldOptions_CTypeSDKType: typeof _104.FieldOptions_CType; - FieldOptions_CTypeAmino: typeof _104.FieldOptions_CType; - FieldOptions_JSType: typeof _104.FieldOptions_JSType; - FieldOptions_JSTypeSDKType: typeof _104.FieldOptions_JSType; - FieldOptions_JSTypeAmino: typeof _104.FieldOptions_JSType; - MethodOptions_IdempotencyLevel: typeof _104.MethodOptions_IdempotencyLevel; - MethodOptions_IdempotencyLevelSDKType: typeof _104.MethodOptions_IdempotencyLevel; - MethodOptions_IdempotencyLevelAmino: typeof _104.MethodOptions_IdempotencyLevel; - FileDescriptorSet: { - typeUrl: string; - is(o: any): o is _104.FileDescriptorSet; - isSDK(o: any): o is _104.FileDescriptorSetSDKType; - isAmino(o: any): o is _104.FileDescriptorSetAmino; - encode(message: _104.FileDescriptorSet, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.FileDescriptorSet; - fromJSON(object: any): _104.FileDescriptorSet; - toJSON(message: _104.FileDescriptorSet): unknown; - fromPartial(object: { - file?: { - name?: string; - package?: string; - dependency?: string[]; - publicDependency?: number[]; - weakDependency?: number[]; - messageType?: { - name?: string; - field?: { - name?: string; - number?: number; - label?: _104.FieldDescriptorProto_Label; - type?: _104.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _104.FieldOptions_CType; - packed?: boolean; - jstype?: _104.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - extension?: { - name?: string; - number?: number; - label?: _104.FieldDescriptorProto_Label; - type?: _104.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _104.FieldOptions_CType; - packed?: boolean; - jstype?: _104.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - nestedType?: any[]; - enumType?: { - name?: string; - value?: { - name?: string; - number?: number; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - allowAlias?: boolean; - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }[]; - extensionRange?: { - start?: number; - end?: number; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - oneofDecl?: { - name?: string; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - messageSetWireFormat?: boolean; - noStandardDescriptorAccessor?: boolean; - deprecated?: boolean; - mapEntry?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }[]; - enumType?: { - name?: string; - value?: { - name?: string; - number?: number; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - allowAlias?: boolean; - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }[]; - service?: { - name?: string; - method?: { - name?: string; - inputType?: string; - outputType?: string; - options?: { - deprecated?: boolean; - idempotencyLevel?: _104.MethodOptions_IdempotencyLevel; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - clientStreaming?: boolean; - serverStreaming?: boolean; - }[]; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - extension?: { - name?: string; - number?: number; - label?: _104.FieldDescriptorProto_Label; - type?: _104.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _104.FieldOptions_CType; - packed?: boolean; - jstype?: _104.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - javaPackage?: string; - javaOuterClassname?: string; - javaMultipleFiles?: boolean; - javaGenerateEqualsAndHash?: boolean; - javaStringCheckUtf8?: boolean; - optimizeFor?: _104.FileOptions_OptimizeMode; - goPackage?: string; - ccGenericServices?: boolean; - javaGenericServices?: boolean; - pyGenericServices?: boolean; - phpGenericServices?: boolean; - deprecated?: boolean; - ccEnableArenas?: boolean; - objcClassPrefix?: string; - csharpNamespace?: string; - swiftPrefix?: string; - phpClassPrefix?: string; - phpNamespace?: string; - phpMetadataNamespace?: string; - rubyPackage?: string; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - sourceCodeInfo?: { - location?: { - path?: number[]; - span?: number[]; - leadingComments?: string; - trailingComments?: string; - leadingDetachedComments?: string[]; - }[]; - }; - syntax?: string; - }[]; - }): _104.FileDescriptorSet; - fromSDK(object: _104.FileDescriptorSetSDKType): _104.FileDescriptorSet; - toSDK(message: _104.FileDescriptorSet): _104.FileDescriptorSetSDKType; - fromAmino(object: _104.FileDescriptorSetAmino): _104.FileDescriptorSet; - toAmino(message: _104.FileDescriptorSet): _104.FileDescriptorSetAmino; - fromAminoMsg(object: _104.FileDescriptorSetAminoMsg): _104.FileDescriptorSet; - fromProtoMsg(message: _104.FileDescriptorSetProtoMsg): _104.FileDescriptorSet; - toProto(message: _104.FileDescriptorSet): Uint8Array; - toProtoMsg(message: _104.FileDescriptorSet): _104.FileDescriptorSetProtoMsg; - }; - FileDescriptorProto: { - typeUrl: string; - is(o: any): o is _104.FileDescriptorProto; - isSDK(o: any): o is _104.FileDescriptorProtoSDKType; - isAmino(o: any): o is _104.FileDescriptorProtoAmino; - encode(message: _104.FileDescriptorProto, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.FileDescriptorProto; - fromJSON(object: any): _104.FileDescriptorProto; - toJSON(message: _104.FileDescriptorProto): unknown; - fromPartial(object: { - name?: string; - package?: string; - dependency?: string[]; - publicDependency?: number[]; - weakDependency?: number[]; - messageType?: { - name?: string; - field?: { - name?: string; - number?: number; - label?: _104.FieldDescriptorProto_Label; - type?: _104.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _104.FieldOptions_CType; - packed?: boolean; - jstype?: _104.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - extension?: { - name?: string; - number?: number; - label?: _104.FieldDescriptorProto_Label; - type?: _104.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _104.FieldOptions_CType; - packed?: boolean; - jstype?: _104.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - nestedType?: any[]; - enumType?: { - name?: string; - value?: { - name?: string; - number?: number; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - allowAlias?: boolean; - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }[]; - extensionRange?: { - start?: number; - end?: number; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - oneofDecl?: { - name?: string; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - messageSetWireFormat?: boolean; - noStandardDescriptorAccessor?: boolean; - deprecated?: boolean; - mapEntry?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }[]; - enumType?: { - name?: string; - value?: { - name?: string; - number?: number; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - allowAlias?: boolean; - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }[]; - service?: { - name?: string; - method?: { - name?: string; - inputType?: string; - outputType?: string; - options?: { - deprecated?: boolean; - idempotencyLevel?: _104.MethodOptions_IdempotencyLevel; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - clientStreaming?: boolean; - serverStreaming?: boolean; - }[]; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - extension?: { - name?: string; - number?: number; - label?: _104.FieldDescriptorProto_Label; - type?: _104.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _104.FieldOptions_CType; - packed?: boolean; - jstype?: _104.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - javaPackage?: string; - javaOuterClassname?: string; - javaMultipleFiles?: boolean; - javaGenerateEqualsAndHash?: boolean; - javaStringCheckUtf8?: boolean; - optimizeFor?: _104.FileOptions_OptimizeMode; - goPackage?: string; - ccGenericServices?: boolean; - javaGenericServices?: boolean; - pyGenericServices?: boolean; - phpGenericServices?: boolean; - deprecated?: boolean; - ccEnableArenas?: boolean; - objcClassPrefix?: string; - csharpNamespace?: string; - swiftPrefix?: string; - phpClassPrefix?: string; - phpNamespace?: string; - phpMetadataNamespace?: string; - rubyPackage?: string; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - sourceCodeInfo?: { - location?: { - path?: number[]; - span?: number[]; - leadingComments?: string; - trailingComments?: string; - leadingDetachedComments?: string[]; - }[]; - }; - syntax?: string; - }): _104.FileDescriptorProto; - fromSDK(object: _104.FileDescriptorProtoSDKType): _104.FileDescriptorProto; - toSDK(message: _104.FileDescriptorProto): _104.FileDescriptorProtoSDKType; - fromAmino(object: _104.FileDescriptorProtoAmino): _104.FileDescriptorProto; - toAmino(message: _104.FileDescriptorProto): _104.FileDescriptorProtoAmino; - fromAminoMsg(object: _104.FileDescriptorProtoAminoMsg): _104.FileDescriptorProto; - fromProtoMsg(message: _104.FileDescriptorProtoProtoMsg): _104.FileDescriptorProto; - toProto(message: _104.FileDescriptorProto): Uint8Array; - toProtoMsg(message: _104.FileDescriptorProto): _104.FileDescriptorProtoProtoMsg; - }; - DescriptorProto: { - typeUrl: string; - is(o: any): o is _104.DescriptorProto; - isSDK(o: any): o is _104.DescriptorProtoSDKType; - isAmino(o: any): o is _104.DescriptorProtoAmino; - encode(message: _104.DescriptorProto, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.DescriptorProto; - fromJSON(object: any): _104.DescriptorProto; - toJSON(message: _104.DescriptorProto): unknown; - fromPartial(object: { - name?: string; - field?: { - name?: string; - number?: number; - label?: _104.FieldDescriptorProto_Label; - type?: _104.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _104.FieldOptions_CType; - packed?: boolean; - jstype?: _104.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - extension?: { - name?: string; - number?: number; - label?: _104.FieldDescriptorProto_Label; - type?: _104.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _104.FieldOptions_CType; - packed?: boolean; - jstype?: _104.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - nestedType?: any[]; - enumType?: { - name?: string; - value?: { - name?: string; - number?: number; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - allowAlias?: boolean; - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }[]; - extensionRange?: { - start?: number; - end?: number; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - oneofDecl?: { - name?: string; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - messageSetWireFormat?: boolean; - noStandardDescriptorAccessor?: boolean; - deprecated?: boolean; - mapEntry?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }): _104.DescriptorProto; - fromSDK(object: _104.DescriptorProtoSDKType): _104.DescriptorProto; - toSDK(message: _104.DescriptorProto): _104.DescriptorProtoSDKType; - fromAmino(object: _104.DescriptorProtoAmino): _104.DescriptorProto; - toAmino(message: _104.DescriptorProto): _104.DescriptorProtoAmino; - fromAminoMsg(object: _104.DescriptorProtoAminoMsg): _104.DescriptorProto; - fromProtoMsg(message: _104.DescriptorProtoProtoMsg): _104.DescriptorProto; - toProto(message: _104.DescriptorProto): Uint8Array; - toProtoMsg(message: _104.DescriptorProto): _104.DescriptorProtoProtoMsg; - }; - DescriptorProto_ExtensionRange: { - typeUrl: string; - is(o: any): o is _104.DescriptorProto_ExtensionRange; - isSDK(o: any): o is _104.DescriptorProto_ExtensionRangeSDKType; - isAmino(o: any): o is _104.DescriptorProto_ExtensionRangeAmino; - encode(message: _104.DescriptorProto_ExtensionRange, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.DescriptorProto_ExtensionRange; - fromJSON(object: any): _104.DescriptorProto_ExtensionRange; - toJSON(message: _104.DescriptorProto_ExtensionRange): unknown; - fromPartial(object: { - start?: number; - end?: number; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }): _104.DescriptorProto_ExtensionRange; - fromSDK(object: _104.DescriptorProto_ExtensionRangeSDKType): _104.DescriptorProto_ExtensionRange; - toSDK(message: _104.DescriptorProto_ExtensionRange): _104.DescriptorProto_ExtensionRangeSDKType; - fromAmino(object: _104.DescriptorProto_ExtensionRangeAmino): _104.DescriptorProto_ExtensionRange; - toAmino(message: _104.DescriptorProto_ExtensionRange): _104.DescriptorProto_ExtensionRangeAmino; - fromAminoMsg(object: _104.DescriptorProto_ExtensionRangeAminoMsg): _104.DescriptorProto_ExtensionRange; - fromProtoMsg(message: _104.DescriptorProto_ExtensionRangeProtoMsg): _104.DescriptorProto_ExtensionRange; - toProto(message: _104.DescriptorProto_ExtensionRange): Uint8Array; - toProtoMsg(message: _104.DescriptorProto_ExtensionRange): _104.DescriptorProto_ExtensionRangeProtoMsg; - }; - DescriptorProto_ReservedRange: { - typeUrl: string; - is(o: any): o is _104.DescriptorProto_ReservedRange; - isSDK(o: any): o is _104.DescriptorProto_ReservedRangeSDKType; - isAmino(o: any): o is _104.DescriptorProto_ReservedRangeAmino; - encode(message: _104.DescriptorProto_ReservedRange, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.DescriptorProto_ReservedRange; - fromJSON(object: any): _104.DescriptorProto_ReservedRange; - toJSON(message: _104.DescriptorProto_ReservedRange): unknown; - fromPartial(object: { - start?: number; - end?: number; - }): _104.DescriptorProto_ReservedRange; - fromSDK(object: _104.DescriptorProto_ReservedRangeSDKType): _104.DescriptorProto_ReservedRange; - toSDK(message: _104.DescriptorProto_ReservedRange): _104.DescriptorProto_ReservedRangeSDKType; - fromAmino(object: _104.DescriptorProto_ReservedRangeAmino): _104.DescriptorProto_ReservedRange; - toAmino(message: _104.DescriptorProto_ReservedRange): _104.DescriptorProto_ReservedRangeAmino; - fromAminoMsg(object: _104.DescriptorProto_ReservedRangeAminoMsg): _104.DescriptorProto_ReservedRange; - fromProtoMsg(message: _104.DescriptorProto_ReservedRangeProtoMsg): _104.DescriptorProto_ReservedRange; - toProto(message: _104.DescriptorProto_ReservedRange): Uint8Array; - toProtoMsg(message: _104.DescriptorProto_ReservedRange): _104.DescriptorProto_ReservedRangeProtoMsg; - }; - ExtensionRangeOptions: { - typeUrl: string; - is(o: any): o is _104.ExtensionRangeOptions; - isSDK(o: any): o is _104.ExtensionRangeOptionsSDKType; - isAmino(o: any): o is _104.ExtensionRangeOptionsAmino; - encode(message: _104.ExtensionRangeOptions, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.ExtensionRangeOptions; - fromJSON(object: any): _104.ExtensionRangeOptions; - toJSON(message: _104.ExtensionRangeOptions): unknown; - fromPartial(object: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _104.ExtensionRangeOptions; - fromSDK(object: _104.ExtensionRangeOptionsSDKType): _104.ExtensionRangeOptions; - toSDK(message: _104.ExtensionRangeOptions): _104.ExtensionRangeOptionsSDKType; - fromAmino(object: _104.ExtensionRangeOptionsAmino): _104.ExtensionRangeOptions; - toAmino(message: _104.ExtensionRangeOptions): _104.ExtensionRangeOptionsAmino; - fromAminoMsg(object: _104.ExtensionRangeOptionsAminoMsg): _104.ExtensionRangeOptions; - fromProtoMsg(message: _104.ExtensionRangeOptionsProtoMsg): _104.ExtensionRangeOptions; - toProto(message: _104.ExtensionRangeOptions): Uint8Array; - toProtoMsg(message: _104.ExtensionRangeOptions): _104.ExtensionRangeOptionsProtoMsg; - }; - FieldDescriptorProto: { - typeUrl: string; - is(o: any): o is _104.FieldDescriptorProto; - isSDK(o: any): o is _104.FieldDescriptorProtoSDKType; - isAmino(o: any): o is _104.FieldDescriptorProtoAmino; - encode(message: _104.FieldDescriptorProto, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.FieldDescriptorProto; - fromJSON(object: any): _104.FieldDescriptorProto; - toJSON(message: _104.FieldDescriptorProto): unknown; - fromPartial(object: { - name?: string; - number?: number; - label?: _104.FieldDescriptorProto_Label; - type?: _104.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _104.FieldOptions_CType; - packed?: boolean; - jstype?: _104.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }): _104.FieldDescriptorProto; - fromSDK(object: _104.FieldDescriptorProtoSDKType): _104.FieldDescriptorProto; - toSDK(message: _104.FieldDescriptorProto): _104.FieldDescriptorProtoSDKType; - fromAmino(object: _104.FieldDescriptorProtoAmino): _104.FieldDescriptorProto; - toAmino(message: _104.FieldDescriptorProto): _104.FieldDescriptorProtoAmino; - fromAminoMsg(object: _104.FieldDescriptorProtoAminoMsg): _104.FieldDescriptorProto; - fromProtoMsg(message: _104.FieldDescriptorProtoProtoMsg): _104.FieldDescriptorProto; - toProto(message: _104.FieldDescriptorProto): Uint8Array; - toProtoMsg(message: _104.FieldDescriptorProto): _104.FieldDescriptorProtoProtoMsg; - }; - OneofDescriptorProto: { - typeUrl: string; - is(o: any): o is _104.OneofDescriptorProto; - isSDK(o: any): o is _104.OneofDescriptorProtoSDKType; - isAmino(o: any): o is _104.OneofDescriptorProtoAmino; - encode(message: _104.OneofDescriptorProto, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.OneofDescriptorProto; - fromJSON(object: any): _104.OneofDescriptorProto; - toJSON(message: _104.OneofDescriptorProto): unknown; - fromPartial(object: { - name?: string; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }): _104.OneofDescriptorProto; - fromSDK(object: _104.OneofDescriptorProtoSDKType): _104.OneofDescriptorProto; - toSDK(message: _104.OneofDescriptorProto): _104.OneofDescriptorProtoSDKType; - fromAmino(object: _104.OneofDescriptorProtoAmino): _104.OneofDescriptorProto; - toAmino(message: _104.OneofDescriptorProto): _104.OneofDescriptorProtoAmino; - fromAminoMsg(object: _104.OneofDescriptorProtoAminoMsg): _104.OneofDescriptorProto; - fromProtoMsg(message: _104.OneofDescriptorProtoProtoMsg): _104.OneofDescriptorProto; - toProto(message: _104.OneofDescriptorProto): Uint8Array; - toProtoMsg(message: _104.OneofDescriptorProto): _104.OneofDescriptorProtoProtoMsg; - }; - EnumDescriptorProto: { - typeUrl: string; - is(o: any): o is _104.EnumDescriptorProto; - isSDK(o: any): o is _104.EnumDescriptorProtoSDKType; - isAmino(o: any): o is _104.EnumDescriptorProtoAmino; - encode(message: _104.EnumDescriptorProto, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.EnumDescriptorProto; - fromJSON(object: any): _104.EnumDescriptorProto; - toJSON(message: _104.EnumDescriptorProto): unknown; - fromPartial(object: { - name?: string; - value?: { - name?: string; - number?: number; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - allowAlias?: boolean; - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }): _104.EnumDescriptorProto; - fromSDK(object: _104.EnumDescriptorProtoSDKType): _104.EnumDescriptorProto; - toSDK(message: _104.EnumDescriptorProto): _104.EnumDescriptorProtoSDKType; - fromAmino(object: _104.EnumDescriptorProtoAmino): _104.EnumDescriptorProto; - toAmino(message: _104.EnumDescriptorProto): _104.EnumDescriptorProtoAmino; - fromAminoMsg(object: _104.EnumDescriptorProtoAminoMsg): _104.EnumDescriptorProto; - fromProtoMsg(message: _104.EnumDescriptorProtoProtoMsg): _104.EnumDescriptorProto; - toProto(message: _104.EnumDescriptorProto): Uint8Array; - toProtoMsg(message: _104.EnumDescriptorProto): _104.EnumDescriptorProtoProtoMsg; - }; - EnumDescriptorProto_EnumReservedRange: { - typeUrl: string; - is(o: any): o is _104.EnumDescriptorProto_EnumReservedRange; - isSDK(o: any): o is _104.EnumDescriptorProto_EnumReservedRangeSDKType; - isAmino(o: any): o is _104.EnumDescriptorProto_EnumReservedRangeAmino; - encode(message: _104.EnumDescriptorProto_EnumReservedRange, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.EnumDescriptorProto_EnumReservedRange; - fromJSON(object: any): _104.EnumDescriptorProto_EnumReservedRange; - toJSON(message: _104.EnumDescriptorProto_EnumReservedRange): unknown; - fromPartial(object: { - start?: number; - end?: number; - }): _104.EnumDescriptorProto_EnumReservedRange; - fromSDK(object: _104.EnumDescriptorProto_EnumReservedRangeSDKType): _104.EnumDescriptorProto_EnumReservedRange; - toSDK(message: _104.EnumDescriptorProto_EnumReservedRange): _104.EnumDescriptorProto_EnumReservedRangeSDKType; - fromAmino(object: _104.EnumDescriptorProto_EnumReservedRangeAmino): _104.EnumDescriptorProto_EnumReservedRange; - toAmino(message: _104.EnumDescriptorProto_EnumReservedRange): _104.EnumDescriptorProto_EnumReservedRangeAmino; - fromAminoMsg(object: _104.EnumDescriptorProto_EnumReservedRangeAminoMsg): _104.EnumDescriptorProto_EnumReservedRange; - fromProtoMsg(message: _104.EnumDescriptorProto_EnumReservedRangeProtoMsg): _104.EnumDescriptorProto_EnumReservedRange; - toProto(message: _104.EnumDescriptorProto_EnumReservedRange): Uint8Array; - toProtoMsg(message: _104.EnumDescriptorProto_EnumReservedRange): _104.EnumDescriptorProto_EnumReservedRangeProtoMsg; - }; - EnumValueDescriptorProto: { - typeUrl: string; - is(o: any): o is _104.EnumValueDescriptorProto; - isSDK(o: any): o is _104.EnumValueDescriptorProtoSDKType; - isAmino(o: any): o is _104.EnumValueDescriptorProtoAmino; - encode(message: _104.EnumValueDescriptorProto, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.EnumValueDescriptorProto; - fromJSON(object: any): _104.EnumValueDescriptorProto; - toJSON(message: _104.EnumValueDescriptorProto): unknown; - fromPartial(object: { - name?: string; - number?: number; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }): _104.EnumValueDescriptorProto; - fromSDK(object: _104.EnumValueDescriptorProtoSDKType): _104.EnumValueDescriptorProto; - toSDK(message: _104.EnumValueDescriptorProto): _104.EnumValueDescriptorProtoSDKType; - fromAmino(object: _104.EnumValueDescriptorProtoAmino): _104.EnumValueDescriptorProto; - toAmino(message: _104.EnumValueDescriptorProto): _104.EnumValueDescriptorProtoAmino; - fromAminoMsg(object: _104.EnumValueDescriptorProtoAminoMsg): _104.EnumValueDescriptorProto; - fromProtoMsg(message: _104.EnumValueDescriptorProtoProtoMsg): _104.EnumValueDescriptorProto; - toProto(message: _104.EnumValueDescriptorProto): Uint8Array; - toProtoMsg(message: _104.EnumValueDescriptorProto): _104.EnumValueDescriptorProtoProtoMsg; - }; - ServiceDescriptorProto: { - typeUrl: string; - is(o: any): o is _104.ServiceDescriptorProto; - isSDK(o: any): o is _104.ServiceDescriptorProtoSDKType; - isAmino(o: any): o is _104.ServiceDescriptorProtoAmino; - encode(message: _104.ServiceDescriptorProto, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.ServiceDescriptorProto; - fromJSON(object: any): _104.ServiceDescriptorProto; - toJSON(message: _104.ServiceDescriptorProto): unknown; - fromPartial(object: { - name?: string; - method?: { - name?: string; - inputType?: string; - outputType?: string; - options?: { - deprecated?: boolean; - idempotencyLevel?: _104.MethodOptions_IdempotencyLevel; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - clientStreaming?: boolean; - serverStreaming?: boolean; - }[]; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }): _104.ServiceDescriptorProto; - fromSDK(object: _104.ServiceDescriptorProtoSDKType): _104.ServiceDescriptorProto; - toSDK(message: _104.ServiceDescriptorProto): _104.ServiceDescriptorProtoSDKType; - fromAmino(object: _104.ServiceDescriptorProtoAmino): _104.ServiceDescriptorProto; - toAmino(message: _104.ServiceDescriptorProto): _104.ServiceDescriptorProtoAmino; - fromAminoMsg(object: _104.ServiceDescriptorProtoAminoMsg): _104.ServiceDescriptorProto; - fromProtoMsg(message: _104.ServiceDescriptorProtoProtoMsg): _104.ServiceDescriptorProto; - toProto(message: _104.ServiceDescriptorProto): Uint8Array; - toProtoMsg(message: _104.ServiceDescriptorProto): _104.ServiceDescriptorProtoProtoMsg; - }; - MethodDescriptorProto: { - typeUrl: string; - is(o: any): o is _104.MethodDescriptorProto; - isSDK(o: any): o is _104.MethodDescriptorProtoSDKType; - isAmino(o: any): o is _104.MethodDescriptorProtoAmino; - encode(message: _104.MethodDescriptorProto, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.MethodDescriptorProto; - fromJSON(object: any): _104.MethodDescriptorProto; - toJSON(message: _104.MethodDescriptorProto): unknown; - fromPartial(object: { - name?: string; - inputType?: string; - outputType?: string; - options?: { - deprecated?: boolean; - idempotencyLevel?: _104.MethodOptions_IdempotencyLevel; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - clientStreaming?: boolean; - serverStreaming?: boolean; - }): _104.MethodDescriptorProto; - fromSDK(object: _104.MethodDescriptorProtoSDKType): _104.MethodDescriptorProto; - toSDK(message: _104.MethodDescriptorProto): _104.MethodDescriptorProtoSDKType; - fromAmino(object: _104.MethodDescriptorProtoAmino): _104.MethodDescriptorProto; - toAmino(message: _104.MethodDescriptorProto): _104.MethodDescriptorProtoAmino; - fromAminoMsg(object: _104.MethodDescriptorProtoAminoMsg): _104.MethodDescriptorProto; - fromProtoMsg(message: _104.MethodDescriptorProtoProtoMsg): _104.MethodDescriptorProto; - toProto(message: _104.MethodDescriptorProto): Uint8Array; - toProtoMsg(message: _104.MethodDescriptorProto): _104.MethodDescriptorProtoProtoMsg; - }; - FileOptions: { - typeUrl: string; - is(o: any): o is _104.FileOptions; - isSDK(o: any): o is _104.FileOptionsSDKType; - isAmino(o: any): o is _104.FileOptionsAmino; - encode(message: _104.FileOptions, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.FileOptions; - fromJSON(object: any): _104.FileOptions; - toJSON(message: _104.FileOptions): unknown; - fromPartial(object: { - javaPackage?: string; - javaOuterClassname?: string; - javaMultipleFiles?: boolean; - javaGenerateEqualsAndHash?: boolean; - javaStringCheckUtf8?: boolean; - optimizeFor?: _104.FileOptions_OptimizeMode; - goPackage?: string; - ccGenericServices?: boolean; - javaGenericServices?: boolean; - pyGenericServices?: boolean; - phpGenericServices?: boolean; - deprecated?: boolean; - ccEnableArenas?: boolean; - objcClassPrefix?: string; - csharpNamespace?: string; - swiftPrefix?: string; - phpClassPrefix?: string; - phpNamespace?: string; - phpMetadataNamespace?: string; - rubyPackage?: string; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _104.FileOptions; - fromSDK(object: _104.FileOptionsSDKType): _104.FileOptions; - toSDK(message: _104.FileOptions): _104.FileOptionsSDKType; - fromAmino(object: _104.FileOptionsAmino): _104.FileOptions; - toAmino(message: _104.FileOptions): _104.FileOptionsAmino; - fromAminoMsg(object: _104.FileOptionsAminoMsg): _104.FileOptions; - fromProtoMsg(message: _104.FileOptionsProtoMsg): _104.FileOptions; - toProto(message: _104.FileOptions): Uint8Array; - toProtoMsg(message: _104.FileOptions): _104.FileOptionsProtoMsg; - }; - MessageOptions: { - typeUrl: string; - is(o: any): o is _104.MessageOptions; - isSDK(o: any): o is _104.MessageOptionsSDKType; - isAmino(o: any): o is _104.MessageOptionsAmino; - encode(message: _104.MessageOptions, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.MessageOptions; - fromJSON(object: any): _104.MessageOptions; - toJSON(message: _104.MessageOptions): unknown; - fromPartial(object: { - messageSetWireFormat?: boolean; - noStandardDescriptorAccessor?: boolean; - deprecated?: boolean; - mapEntry?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _104.MessageOptions; - fromSDK(object: _104.MessageOptionsSDKType): _104.MessageOptions; - toSDK(message: _104.MessageOptions): _104.MessageOptionsSDKType; - fromAmino(object: _104.MessageOptionsAmino): _104.MessageOptions; - toAmino(message: _104.MessageOptions): _104.MessageOptionsAmino; - fromAminoMsg(object: _104.MessageOptionsAminoMsg): _104.MessageOptions; - fromProtoMsg(message: _104.MessageOptionsProtoMsg): _104.MessageOptions; - toProto(message: _104.MessageOptions): Uint8Array; - toProtoMsg(message: _104.MessageOptions): _104.MessageOptionsProtoMsg; - }; - FieldOptions: { - typeUrl: string; - is(o: any): o is _104.FieldOptions; - isSDK(o: any): o is _104.FieldOptionsSDKType; - isAmino(o: any): o is _104.FieldOptionsAmino; - encode(message: _104.FieldOptions, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.FieldOptions; - fromJSON(object: any): _104.FieldOptions; - toJSON(message: _104.FieldOptions): unknown; - fromPartial(object: { - ctype?: _104.FieldOptions_CType; - packed?: boolean; - jstype?: _104.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _104.FieldOptions; - fromSDK(object: _104.FieldOptionsSDKType): _104.FieldOptions; - toSDK(message: _104.FieldOptions): _104.FieldOptionsSDKType; - fromAmino(object: _104.FieldOptionsAmino): _104.FieldOptions; - toAmino(message: _104.FieldOptions): _104.FieldOptionsAmino; - fromAminoMsg(object: _104.FieldOptionsAminoMsg): _104.FieldOptions; - fromProtoMsg(message: _104.FieldOptionsProtoMsg): _104.FieldOptions; - toProto(message: _104.FieldOptions): Uint8Array; - toProtoMsg(message: _104.FieldOptions): _104.FieldOptionsProtoMsg; - }; - OneofOptions: { - typeUrl: string; - is(o: any): o is _104.OneofOptions; - isSDK(o: any): o is _104.OneofOptionsSDKType; - isAmino(o: any): o is _104.OneofOptionsAmino; - encode(message: _104.OneofOptions, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.OneofOptions; - fromJSON(object: any): _104.OneofOptions; - toJSON(message: _104.OneofOptions): unknown; - fromPartial(object: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _104.OneofOptions; - fromSDK(object: _104.OneofOptionsSDKType): _104.OneofOptions; - toSDK(message: _104.OneofOptions): _104.OneofOptionsSDKType; - fromAmino(object: _104.OneofOptionsAmino): _104.OneofOptions; - toAmino(message: _104.OneofOptions): _104.OneofOptionsAmino; - fromAminoMsg(object: _104.OneofOptionsAminoMsg): _104.OneofOptions; - fromProtoMsg(message: _104.OneofOptionsProtoMsg): _104.OneofOptions; - toProto(message: _104.OneofOptions): Uint8Array; - toProtoMsg(message: _104.OneofOptions): _104.OneofOptionsProtoMsg; - }; - EnumOptions: { - typeUrl: string; - is(o: any): o is _104.EnumOptions; - isSDK(o: any): o is _104.EnumOptionsSDKType; - isAmino(o: any): o is _104.EnumOptionsAmino; - encode(message: _104.EnumOptions, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.EnumOptions; - fromJSON(object: any): _104.EnumOptions; - toJSON(message: _104.EnumOptions): unknown; - fromPartial(object: { - allowAlias?: boolean; - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _104.EnumOptions; - fromSDK(object: _104.EnumOptionsSDKType): _104.EnumOptions; - toSDK(message: _104.EnumOptions): _104.EnumOptionsSDKType; - fromAmino(object: _104.EnumOptionsAmino): _104.EnumOptions; - toAmino(message: _104.EnumOptions): _104.EnumOptionsAmino; - fromAminoMsg(object: _104.EnumOptionsAminoMsg): _104.EnumOptions; - fromProtoMsg(message: _104.EnumOptionsProtoMsg): _104.EnumOptions; - toProto(message: _104.EnumOptions): Uint8Array; - toProtoMsg(message: _104.EnumOptions): _104.EnumOptionsProtoMsg; - }; - EnumValueOptions: { - typeUrl: string; - is(o: any): o is _104.EnumValueOptions; - isSDK(o: any): o is _104.EnumValueOptionsSDKType; - isAmino(o: any): o is _104.EnumValueOptionsAmino; - encode(message: _104.EnumValueOptions, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.EnumValueOptions; - fromJSON(object: any): _104.EnumValueOptions; - toJSON(message: _104.EnumValueOptions): unknown; - fromPartial(object: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _104.EnumValueOptions; - fromSDK(object: _104.EnumValueOptionsSDKType): _104.EnumValueOptions; - toSDK(message: _104.EnumValueOptions): _104.EnumValueOptionsSDKType; - fromAmino(object: _104.EnumValueOptionsAmino): _104.EnumValueOptions; - toAmino(message: _104.EnumValueOptions): _104.EnumValueOptionsAmino; - fromAminoMsg(object: _104.EnumValueOptionsAminoMsg): _104.EnumValueOptions; - fromProtoMsg(message: _104.EnumValueOptionsProtoMsg): _104.EnumValueOptions; - toProto(message: _104.EnumValueOptions): Uint8Array; - toProtoMsg(message: _104.EnumValueOptions): _104.EnumValueOptionsProtoMsg; - }; - ServiceOptions: { - typeUrl: string; - is(o: any): o is _104.ServiceOptions; - isSDK(o: any): o is _104.ServiceOptionsSDKType; - isAmino(o: any): o is _104.ServiceOptionsAmino; - encode(message: _104.ServiceOptions, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.ServiceOptions; - fromJSON(object: any): _104.ServiceOptions; - toJSON(message: _104.ServiceOptions): unknown; - fromPartial(object: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _104.ServiceOptions; - fromSDK(object: _104.ServiceOptionsSDKType): _104.ServiceOptions; - toSDK(message: _104.ServiceOptions): _104.ServiceOptionsSDKType; - fromAmino(object: _104.ServiceOptionsAmino): _104.ServiceOptions; - toAmino(message: _104.ServiceOptions): _104.ServiceOptionsAmino; - fromAminoMsg(object: _104.ServiceOptionsAminoMsg): _104.ServiceOptions; - fromProtoMsg(message: _104.ServiceOptionsProtoMsg): _104.ServiceOptions; - toProto(message: _104.ServiceOptions): Uint8Array; - toProtoMsg(message: _104.ServiceOptions): _104.ServiceOptionsProtoMsg; - }; - MethodOptions: { - typeUrl: string; - is(o: any): o is _104.MethodOptions; - isSDK(o: any): o is _104.MethodOptionsSDKType; - isAmino(o: any): o is _104.MethodOptionsAmino; - encode(message: _104.MethodOptions, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.MethodOptions; - fromJSON(object: any): _104.MethodOptions; - toJSON(message: _104.MethodOptions): unknown; - fromPartial(object: { - deprecated?: boolean; - idempotencyLevel?: _104.MethodOptions_IdempotencyLevel; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _104.MethodOptions; - fromSDK(object: _104.MethodOptionsSDKType): _104.MethodOptions; - toSDK(message: _104.MethodOptions): _104.MethodOptionsSDKType; - fromAmino(object: _104.MethodOptionsAmino): _104.MethodOptions; - toAmino(message: _104.MethodOptions): _104.MethodOptionsAmino; - fromAminoMsg(object: _104.MethodOptionsAminoMsg): _104.MethodOptions; - fromProtoMsg(message: _104.MethodOptionsProtoMsg): _104.MethodOptions; - toProto(message: _104.MethodOptions): Uint8Array; - toProtoMsg(message: _104.MethodOptions): _104.MethodOptionsProtoMsg; - }; - UninterpretedOption: { - typeUrl: string; - is(o: any): o is _104.UninterpretedOption; - isSDK(o: any): o is _104.UninterpretedOptionSDKType; - isAmino(o: any): o is _104.UninterpretedOptionAmino; - encode(message: _104.UninterpretedOption, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.UninterpretedOption; - fromJSON(object: any): _104.UninterpretedOption; - toJSON(message: _104.UninterpretedOption): unknown; - fromPartial(object: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: bigint; - negativeIntValue?: bigint; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }): _104.UninterpretedOption; - fromSDK(object: _104.UninterpretedOptionSDKType): _104.UninterpretedOption; - toSDK(message: _104.UninterpretedOption): _104.UninterpretedOptionSDKType; - fromAmino(object: _104.UninterpretedOptionAmino): _104.UninterpretedOption; - toAmino(message: _104.UninterpretedOption): _104.UninterpretedOptionAmino; - fromAminoMsg(object: _104.UninterpretedOptionAminoMsg): _104.UninterpretedOption; - fromProtoMsg(message: _104.UninterpretedOptionProtoMsg): _104.UninterpretedOption; - toProto(message: _104.UninterpretedOption): Uint8Array; - toProtoMsg(message: _104.UninterpretedOption): _104.UninterpretedOptionProtoMsg; - }; - UninterpretedOption_NamePart: { - typeUrl: string; - is(o: any): o is _104.UninterpretedOption_NamePart; - isSDK(o: any): o is _104.UninterpretedOption_NamePartSDKType; - isAmino(o: any): o is _104.UninterpretedOption_NamePartAmino; - encode(message: _104.UninterpretedOption_NamePart, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.UninterpretedOption_NamePart; - fromJSON(object: any): _104.UninterpretedOption_NamePart; - toJSON(message: _104.UninterpretedOption_NamePart): unknown; - fromPartial(object: { - namePart?: string; - isExtension?: boolean; - }): _104.UninterpretedOption_NamePart; - fromSDK(object: _104.UninterpretedOption_NamePartSDKType): _104.UninterpretedOption_NamePart; - toSDK(message: _104.UninterpretedOption_NamePart): _104.UninterpretedOption_NamePartSDKType; - fromAmino(object: _104.UninterpretedOption_NamePartAmino): _104.UninterpretedOption_NamePart; - toAmino(message: _104.UninterpretedOption_NamePart): _104.UninterpretedOption_NamePartAmino; - fromAminoMsg(object: _104.UninterpretedOption_NamePartAminoMsg): _104.UninterpretedOption_NamePart; - fromProtoMsg(message: _104.UninterpretedOption_NamePartProtoMsg): _104.UninterpretedOption_NamePart; - toProto(message: _104.UninterpretedOption_NamePart): Uint8Array; - toProtoMsg(message: _104.UninterpretedOption_NamePart): _104.UninterpretedOption_NamePartProtoMsg; - }; - SourceCodeInfo: { - typeUrl: string; - is(o: any): o is _104.SourceCodeInfo; - isSDK(o: any): o is _104.SourceCodeInfoSDKType; - isAmino(o: any): o is _104.SourceCodeInfoAmino; - encode(message: _104.SourceCodeInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.SourceCodeInfo; - fromJSON(object: any): _104.SourceCodeInfo; - toJSON(message: _104.SourceCodeInfo): unknown; - fromPartial(object: { - location?: { - path?: number[]; - span?: number[]; - leadingComments?: string; - trailingComments?: string; - leadingDetachedComments?: string[]; - }[]; - }): _104.SourceCodeInfo; - fromSDK(object: _104.SourceCodeInfoSDKType): _104.SourceCodeInfo; - toSDK(message: _104.SourceCodeInfo): _104.SourceCodeInfoSDKType; - fromAmino(object: _104.SourceCodeInfoAmino): _104.SourceCodeInfo; - toAmino(message: _104.SourceCodeInfo): _104.SourceCodeInfoAmino; - fromAminoMsg(object: _104.SourceCodeInfoAminoMsg): _104.SourceCodeInfo; - fromProtoMsg(message: _104.SourceCodeInfoProtoMsg): _104.SourceCodeInfo; - toProto(message: _104.SourceCodeInfo): Uint8Array; - toProtoMsg(message: _104.SourceCodeInfo): _104.SourceCodeInfoProtoMsg; - }; - SourceCodeInfo_Location: { - typeUrl: string; - is(o: any): o is _104.SourceCodeInfo_Location; - isSDK(o: any): o is _104.SourceCodeInfo_LocationSDKType; - isAmino(o: any): o is _104.SourceCodeInfo_LocationAmino; - encode(message: _104.SourceCodeInfo_Location, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.SourceCodeInfo_Location; - fromJSON(object: any): _104.SourceCodeInfo_Location; - toJSON(message: _104.SourceCodeInfo_Location): unknown; - fromPartial(object: { - path?: number[]; - span?: number[]; - leadingComments?: string; - trailingComments?: string; - leadingDetachedComments?: string[]; - }): _104.SourceCodeInfo_Location; - fromSDK(object: _104.SourceCodeInfo_LocationSDKType): _104.SourceCodeInfo_Location; - toSDK(message: _104.SourceCodeInfo_Location): _104.SourceCodeInfo_LocationSDKType; - fromAmino(object: _104.SourceCodeInfo_LocationAmino): _104.SourceCodeInfo_Location; - toAmino(message: _104.SourceCodeInfo_Location): _104.SourceCodeInfo_LocationAmino; - fromAminoMsg(object: _104.SourceCodeInfo_LocationAminoMsg): _104.SourceCodeInfo_Location; - fromProtoMsg(message: _104.SourceCodeInfo_LocationProtoMsg): _104.SourceCodeInfo_Location; - toProto(message: _104.SourceCodeInfo_Location): Uint8Array; - toProtoMsg(message: _104.SourceCodeInfo_Location): _104.SourceCodeInfo_LocationProtoMsg; - }; - GeneratedCodeInfo: { - typeUrl: string; - is(o: any): o is _104.GeneratedCodeInfo; - isSDK(o: any): o is _104.GeneratedCodeInfoSDKType; - isAmino(o: any): o is _104.GeneratedCodeInfoAmino; - encode(message: _104.GeneratedCodeInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.GeneratedCodeInfo; - fromJSON(object: any): _104.GeneratedCodeInfo; - toJSON(message: _104.GeneratedCodeInfo): unknown; - fromPartial(object: { - annotation?: { - path?: number[]; - sourceFile?: string; - begin?: number; - end?: number; - }[]; - }): _104.GeneratedCodeInfo; - fromSDK(object: _104.GeneratedCodeInfoSDKType): _104.GeneratedCodeInfo; - toSDK(message: _104.GeneratedCodeInfo): _104.GeneratedCodeInfoSDKType; - fromAmino(object: _104.GeneratedCodeInfoAmino): _104.GeneratedCodeInfo; - toAmino(message: _104.GeneratedCodeInfo): _104.GeneratedCodeInfoAmino; - fromAminoMsg(object: _104.GeneratedCodeInfoAminoMsg): _104.GeneratedCodeInfo; - fromProtoMsg(message: _104.GeneratedCodeInfoProtoMsg): _104.GeneratedCodeInfo; - toProto(message: _104.GeneratedCodeInfo): Uint8Array; - toProtoMsg(message: _104.GeneratedCodeInfo): _104.GeneratedCodeInfoProtoMsg; - }; - GeneratedCodeInfo_Annotation: { - typeUrl: string; - is(o: any): o is _104.GeneratedCodeInfo_Annotation; - isSDK(o: any): o is _104.GeneratedCodeInfo_AnnotationSDKType; - isAmino(o: any): o is _104.GeneratedCodeInfo_AnnotationAmino; - encode(message: _104.GeneratedCodeInfo_Annotation, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _104.GeneratedCodeInfo_Annotation; - fromJSON(object: any): _104.GeneratedCodeInfo_Annotation; - toJSON(message: _104.GeneratedCodeInfo_Annotation): unknown; - fromPartial(object: { - path?: number[]; - sourceFile?: string; - begin?: number; - end?: number; - }): _104.GeneratedCodeInfo_Annotation; - fromSDK(object: _104.GeneratedCodeInfo_AnnotationSDKType): _104.GeneratedCodeInfo_Annotation; - toSDK(message: _104.GeneratedCodeInfo_Annotation): _104.GeneratedCodeInfo_AnnotationSDKType; - fromAmino(object: _104.GeneratedCodeInfo_AnnotationAmino): _104.GeneratedCodeInfo_Annotation; - toAmino(message: _104.GeneratedCodeInfo_Annotation): _104.GeneratedCodeInfo_AnnotationAmino; - fromAminoMsg(object: _104.GeneratedCodeInfo_AnnotationAminoMsg): _104.GeneratedCodeInfo_Annotation; - fromProtoMsg(message: _104.GeneratedCodeInfo_AnnotationProtoMsg): _104.GeneratedCodeInfo_Annotation; - toProto(message: _104.GeneratedCodeInfo_Annotation): Uint8Array; - toProtoMsg(message: _104.GeneratedCodeInfo_Annotation): _104.GeneratedCodeInfo_AnnotationProtoMsg; - }; - Any: { - typeUrl: string; - is(o: any): o is _103.Any; - isSDK(o: any): o is _103.AnySDKType; - isAmino(o: any): o is _103.AnyAmino; - encode(message: _103.Any, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _103.Any; - fromJSON(object: any): _103.Any; - toJSON(message: _103.Any): unknown; - fromPartial(object: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }): _103.Any; - fromSDK(object: _103.AnySDKType): _103.Any; - toSDK(message: _103.Any): _103.AnySDKType; - fromAmino(object: _103.AnyAmino): _103.Any; - toAmino(message: _103.Any): _103.AnyAmino; - fromAminoMsg(object: _103.AnyAminoMsg): _103.Any; - fromProtoMsg(message: _103.AnyProtoMsg): _103.Any; - toProto(message: _103.Any): Uint8Array; - toProtoMsg(message: _103.Any): _103.AnyProtoMsg; - }; - }; -} diff --git a/examples/authz/types/codegen/google/protobuf/any.d.ts b/examples/authz/types/codegen/google/protobuf/any.d.ts deleted file mode 100644 index c90632fc..00000000 --- a/examples/authz/types/codegen/google/protobuf/any.d.ts +++ /dev/null @@ -1,346 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** - * `Any` contains an arbitrary serialized protocol buffer message along with a - * URL that describes the type of the serialized message. - * - * Protobuf library provides support to pack/unpack Any values in the form - * of utility functions or additional generated methods of the Any type. - * - * Example 1: Pack and unpack a message in C++. - * - * Foo foo = ...; - * Any any; - * any.PackFrom(foo); - * ... - * if (any.UnpackTo(&foo)) { - * ... - * } - * - * Example 2: Pack and unpack a message in Java. - * - * Foo foo = ...; - * Any any = Any.pack(foo); - * ... - * if (any.is(Foo.class)) { - * foo = any.unpack(Foo.class); - * } - * - * Example 3: Pack and unpack a message in Python. - * - * foo = Foo(...) - * any = Any() - * any.Pack(foo) - * ... - * if any.Is(Foo.DESCRIPTOR): - * any.Unpack(foo) - * ... - * - * Example 4: Pack and unpack a message in Go - * - * foo := &pb.Foo{...} - * any, err := ptypes.MarshalAny(foo) - * ... - * foo := &pb.Foo{} - * if err := ptypes.UnmarshalAny(any, foo); err != nil { - * ... - * } - * - * The pack methods provided by protobuf library will by default use - * 'type.googleapis.com/full.type.name' as the type URL and the unpack - * methods only use the fully qualified type name after the last '/' - * in the type URL, for example "foo.bar.com/x/y.z" will yield type - * name "y.z". - * - * - * JSON - * ==== - * The JSON representation of an `Any` value uses the regular - * representation of the deserialized, embedded message, with an - * additional field `@type` which contains the type URL. Example: - * - * package google.profile; - * message Person { - * string first_name = 1; - * string last_name = 2; - * } - * - * { - * "@type": "type.googleapis.com/google.profile.Person", - * "firstName": , - * "lastName": - * } - * - * If the embedded message type is well-known and has a custom JSON - * representation, that representation will be embedded adding a field - * `value` which holds the custom JSON in addition to the `@type` - * field. Example (for message [google.protobuf.Duration][]): - * - * { - * "@type": "type.googleapis.com/google.protobuf.Duration", - * "value": "1.212s" - * } - */ -export interface Any { - $typeUrl?: "/google.protobuf.Any"; - /** - * A URL/resource name that uniquely identifies the type of the serialized - * protocol buffer message. This string must contain at least - * one "/" character. The last segment of the URL's path must represent - * the fully qualified name of the type (as in - * `path/google.protobuf.Duration`). The name should be in a canonical form - * (e.g., leading "." is not accepted). - * - * In practice, teams usually precompile into the binary all types that they - * expect it to use in the context of Any. However, for URLs which use the - * scheme `http`, `https`, or no scheme, one can optionally set up a type - * server that maps type URLs to message definitions as follows: - * - * * If no scheme is provided, `https` is assumed. - * * An HTTP GET on the URL must yield a [google.protobuf.Type][] - * value in binary format, or produce an error. - * * Applications are allowed to cache lookup results based on the - * URL, or have them precompiled into a binary to avoid any - * lookup. Therefore, binary compatibility needs to be preserved - * on changes to types. (Use versioned type names to manage - * breaking changes.) - * - * Note: this functionality is not currently available in the official - * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. - * - * Schemes other than `http`, `https` (or the empty scheme) might be - * used with implementation specific semantics. - */ - typeUrl: string; - /** Must be a valid serialized protocol buffer of the above specified type. */ - value: Uint8Array; -} -export interface AnyProtoMsg { - typeUrl: "/google.protobuf.Any"; - value: Uint8Array; -} -/** - * `Any` contains an arbitrary serialized protocol buffer message along with a - * URL that describes the type of the serialized message. - * - * Protobuf library provides support to pack/unpack Any values in the form - * of utility functions or additional generated methods of the Any type. - * - * Example 1: Pack and unpack a message in C++. - * - * Foo foo = ...; - * Any any; - * any.PackFrom(foo); - * ... - * if (any.UnpackTo(&foo)) { - * ... - * } - * - * Example 2: Pack and unpack a message in Java. - * - * Foo foo = ...; - * Any any = Any.pack(foo); - * ... - * if (any.is(Foo.class)) { - * foo = any.unpack(Foo.class); - * } - * - * Example 3: Pack and unpack a message in Python. - * - * foo = Foo(...) - * any = Any() - * any.Pack(foo) - * ... - * if any.Is(Foo.DESCRIPTOR): - * any.Unpack(foo) - * ... - * - * Example 4: Pack and unpack a message in Go - * - * foo := &pb.Foo{...} - * any, err := ptypes.MarshalAny(foo) - * ... - * foo := &pb.Foo{} - * if err := ptypes.UnmarshalAny(any, foo); err != nil { - * ... - * } - * - * The pack methods provided by protobuf library will by default use - * 'type.googleapis.com/full.type.name' as the type URL and the unpack - * methods only use the fully qualified type name after the last '/' - * in the type URL, for example "foo.bar.com/x/y.z" will yield type - * name "y.z". - * - * - * JSON - * ==== - * The JSON representation of an `Any` value uses the regular - * representation of the deserialized, embedded message, with an - * additional field `@type` which contains the type URL. Example: - * - * package google.profile; - * message Person { - * string first_name = 1; - * string last_name = 2; - * } - * - * { - * "@type": "type.googleapis.com/google.profile.Person", - * "firstName": , - * "lastName": - * } - * - * If the embedded message type is well-known and has a custom JSON - * representation, that representation will be embedded adding a field - * `value` which holds the custom JSON in addition to the `@type` - * field. Example (for message [google.protobuf.Duration][]): - * - * { - * "@type": "type.googleapis.com/google.protobuf.Duration", - * "value": "1.212s" - * } - */ -export interface AnyAmino { - /** - * A URL/resource name that uniquely identifies the type of the serialized - * protocol buffer message. This string must contain at least - * one "/" character. The last segment of the URL's path must represent - * the fully qualified name of the type (as in - * `path/google.protobuf.Duration`). The name should be in a canonical form - * (e.g., leading "." is not accepted). - * - * In practice, teams usually precompile into the binary all types that they - * expect it to use in the context of Any. However, for URLs which use the - * scheme `http`, `https`, or no scheme, one can optionally set up a type - * server that maps type URLs to message definitions as follows: - * - * * If no scheme is provided, `https` is assumed. - * * An HTTP GET on the URL must yield a [google.protobuf.Type][] - * value in binary format, or produce an error. - * * Applications are allowed to cache lookup results based on the - * URL, or have them precompiled into a binary to avoid any - * lookup. Therefore, binary compatibility needs to be preserved - * on changes to types. (Use versioned type names to manage - * breaking changes.) - * - * Note: this functionality is not currently available in the official - * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. - * - * Schemes other than `http`, `https` (or the empty scheme) might be - * used with implementation specific semantics. - */ - type: string; - /** Must be a valid serialized protocol buffer of the above specified type. */ - value: any; -} -export interface AnyAminoMsg { - type: string; - value: AnyAmino; -} -/** - * `Any` contains an arbitrary serialized protocol buffer message along with a - * URL that describes the type of the serialized message. - * - * Protobuf library provides support to pack/unpack Any values in the form - * of utility functions or additional generated methods of the Any type. - * - * Example 1: Pack and unpack a message in C++. - * - * Foo foo = ...; - * Any any; - * any.PackFrom(foo); - * ... - * if (any.UnpackTo(&foo)) { - * ... - * } - * - * Example 2: Pack and unpack a message in Java. - * - * Foo foo = ...; - * Any any = Any.pack(foo); - * ... - * if (any.is(Foo.class)) { - * foo = any.unpack(Foo.class); - * } - * - * Example 3: Pack and unpack a message in Python. - * - * foo = Foo(...) - * any = Any() - * any.Pack(foo) - * ... - * if any.Is(Foo.DESCRIPTOR): - * any.Unpack(foo) - * ... - * - * Example 4: Pack and unpack a message in Go - * - * foo := &pb.Foo{...} - * any, err := ptypes.MarshalAny(foo) - * ... - * foo := &pb.Foo{} - * if err := ptypes.UnmarshalAny(any, foo); err != nil { - * ... - * } - * - * The pack methods provided by protobuf library will by default use - * 'type.googleapis.com/full.type.name' as the type URL and the unpack - * methods only use the fully qualified type name after the last '/' - * in the type URL, for example "foo.bar.com/x/y.z" will yield type - * name "y.z". - * - * - * JSON - * ==== - * The JSON representation of an `Any` value uses the regular - * representation of the deserialized, embedded message, with an - * additional field `@type` which contains the type URL. Example: - * - * package google.profile; - * message Person { - * string first_name = 1; - * string last_name = 2; - * } - * - * { - * "@type": "type.googleapis.com/google.profile.Person", - * "firstName": , - * "lastName": - * } - * - * If the embedded message type is well-known and has a custom JSON - * representation, that representation will be embedded adding a field - * `value` which holds the custom JSON in addition to the `@type` - * field. Example (for message [google.protobuf.Duration][]): - * - * { - * "@type": "type.googleapis.com/google.protobuf.Duration", - * "value": "1.212s" - * } - */ -export interface AnySDKType { - $typeUrl?: "/google.protobuf.Any"; - type_url: string; - value: Uint8Array; -} -export declare const Any: { - typeUrl: string; - is(o: any): o is Any; - isSDK(o: any): o is AnySDKType; - isAmino(o: any): o is AnyAmino; - encode(message: Any, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Any; - fromJSON(object: any): Any; - toJSON(message: Any): unknown; - fromPartial(object: DeepPartial): Any; - fromSDK(object: AnySDKType): Any; - toSDK(message: Any): AnySDKType; - fromAmino(object: AnyAmino): Any; - toAmino(message: Any): AnyAmino; - fromAminoMsg(object: AnyAminoMsg): Any; - fromProtoMsg(message: AnyProtoMsg): Any; - toProto(message: Any): Uint8Array; - toProtoMsg(message: Any): AnyProtoMsg; -}; diff --git a/examples/authz/types/codegen/google/protobuf/descriptor.d.ts b/examples/authz/types/codegen/google/protobuf/descriptor.d.ts deleted file mode 100644 index da753c1b..00000000 --- a/examples/authz/types/codegen/google/protobuf/descriptor.d.ts +++ /dev/null @@ -1,2468 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -export declare enum FieldDescriptorProto_Type { - /** - * TYPE_DOUBLE - 0 is reserved for errors. - * Order is weird for historical reasons. - */ - TYPE_DOUBLE = 1, - TYPE_FLOAT = 2, - /** - * TYPE_INT64 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - * negative values are likely. - */ - TYPE_INT64 = 3, - TYPE_UINT64 = 4, - /** - * TYPE_INT32 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - * negative values are likely. - */ - TYPE_INT32 = 5, - TYPE_FIXED64 = 6, - TYPE_FIXED32 = 7, - TYPE_BOOL = 8, - TYPE_STRING = 9, - /** - * TYPE_GROUP - Tag-delimited aggregate. - * Group type is deprecated and not supported in proto3. However, Proto3 - * implementations should still be able to parse the group wire format and - * treat group fields as unknown fields. - */ - TYPE_GROUP = 10, - TYPE_MESSAGE = 11, - /** TYPE_BYTES - New in version 2. */ - TYPE_BYTES = 12, - TYPE_UINT32 = 13, - TYPE_ENUM = 14, - TYPE_SFIXED32 = 15, - TYPE_SFIXED64 = 16, - /** TYPE_SINT32 - Uses ZigZag encoding. */ - TYPE_SINT32 = 17, - /** TYPE_SINT64 - Uses ZigZag encoding. */ - TYPE_SINT64 = 18, - UNRECOGNIZED = -1 -} -export declare const FieldDescriptorProto_TypeSDKType: typeof FieldDescriptorProto_Type; -export declare const FieldDescriptorProto_TypeAmino: typeof FieldDescriptorProto_Type; -export declare function fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type; -export declare function fieldDescriptorProto_TypeToJSON(object: FieldDescriptorProto_Type): string; -export declare enum FieldDescriptorProto_Label { - /** LABEL_OPTIONAL - 0 is reserved for errors */ - LABEL_OPTIONAL = 1, - LABEL_REQUIRED = 2, - LABEL_REPEATED = 3, - UNRECOGNIZED = -1 -} -export declare const FieldDescriptorProto_LabelSDKType: typeof FieldDescriptorProto_Label; -export declare const FieldDescriptorProto_LabelAmino: typeof FieldDescriptorProto_Label; -export declare function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label; -export declare function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_Label): string; -/** Generated classes can be optimized for speed or code size. */ -export declare enum FileOptions_OptimizeMode { - /** - * SPEED - Generate complete code for parsing, serialization, - * etc. - */ - SPEED = 1, - /** CODE_SIZE - Use ReflectionOps to implement these methods. */ - CODE_SIZE = 2, - /** LITE_RUNTIME - Generate code using MessageLite and the lite runtime. */ - LITE_RUNTIME = 3, - UNRECOGNIZED = -1 -} -export declare const FileOptions_OptimizeModeSDKType: typeof FileOptions_OptimizeMode; -export declare const FileOptions_OptimizeModeAmino: typeof FileOptions_OptimizeMode; -export declare function fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode; -export declare function fileOptions_OptimizeModeToJSON(object: FileOptions_OptimizeMode): string; -export declare enum FieldOptions_CType { - /** STRING - Default mode. */ - STRING = 0, - CORD = 1, - STRING_PIECE = 2, - UNRECOGNIZED = -1 -} -export declare const FieldOptions_CTypeSDKType: typeof FieldOptions_CType; -export declare const FieldOptions_CTypeAmino: typeof FieldOptions_CType; -export declare function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType; -export declare function fieldOptions_CTypeToJSON(object: FieldOptions_CType): string; -export declare enum FieldOptions_JSType { - /** JS_NORMAL - Use the default type. */ - JS_NORMAL = 0, - /** JS_STRING - Use JavaScript strings. */ - JS_STRING = 1, - /** JS_NUMBER - Use JavaScript numbers. */ - JS_NUMBER = 2, - UNRECOGNIZED = -1 -} -export declare const FieldOptions_JSTypeSDKType: typeof FieldOptions_JSType; -export declare const FieldOptions_JSTypeAmino: typeof FieldOptions_JSType; -export declare function fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType; -export declare function fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string; -/** - * Is this method side-effect-free (or safe in HTTP parlance), or idempotent, - * or neither? HTTP based RPC implementation may choose GET verb for safe - * methods, and PUT verb for idempotent methods instead of the default POST. - */ -export declare enum MethodOptions_IdempotencyLevel { - IDEMPOTENCY_UNKNOWN = 0, - /** NO_SIDE_EFFECTS - implies idempotent */ - NO_SIDE_EFFECTS = 1, - /** IDEMPOTENT - idempotent, but may have side effects */ - IDEMPOTENT = 2, - UNRECOGNIZED = -1 -} -export declare const MethodOptions_IdempotencyLevelSDKType: typeof MethodOptions_IdempotencyLevel; -export declare const MethodOptions_IdempotencyLevelAmino: typeof MethodOptions_IdempotencyLevel; -export declare function methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel; -export declare function methodOptions_IdempotencyLevelToJSON(object: MethodOptions_IdempotencyLevel): string; -/** - * The protocol compiler can output a FileDescriptorSet containing the .proto - * files it parses. - */ -export interface FileDescriptorSet { - file: FileDescriptorProto[]; -} -export interface FileDescriptorSetProtoMsg { - typeUrl: "/google.protobuf.FileDescriptorSet"; - value: Uint8Array; -} -/** - * The protocol compiler can output a FileDescriptorSet containing the .proto - * files it parses. - */ -export interface FileDescriptorSetAmino { - file?: FileDescriptorProtoAmino[]; -} -export interface FileDescriptorSetAminoMsg { - type: "/google.protobuf.FileDescriptorSet"; - value: FileDescriptorSetAmino; -} -/** - * The protocol compiler can output a FileDescriptorSet containing the .proto - * files it parses. - */ -export interface FileDescriptorSetSDKType { - file: FileDescriptorProtoSDKType[]; -} -/** Describes a complete .proto file. */ -export interface FileDescriptorProto { - /** file name, relative to root of source tree */ - name: string; - package: string; - /** Names of files imported by this file. */ - dependency: string[]; - /** Indexes of the public imported files in the dependency list above. */ - publicDependency: number[]; - /** - * Indexes of the weak imported files in the dependency list. - * For Google-internal migration only. Do not use. - */ - weakDependency: number[]; - /** All top-level definitions in this file. */ - messageType: DescriptorProto[]; - enumType: EnumDescriptorProto[]; - service: ServiceDescriptorProto[]; - extension: FieldDescriptorProto[]; - options?: FileOptions | undefined; - /** - * This field contains optional information about the original source code. - * You may safely remove this entire field without harming runtime - * functionality of the descriptors -- the information is needed only by - * development tools. - */ - sourceCodeInfo?: SourceCodeInfo | undefined; - /** - * The syntax of the proto file. - * The supported values are "proto2" and "proto3". - */ - syntax: string; -} -export interface FileDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.FileDescriptorProto"; - value: Uint8Array; -} -/** Describes a complete .proto file. */ -export interface FileDescriptorProtoAmino { - /** file name, relative to root of source tree */ - name?: string; - package?: string; - /** Names of files imported by this file. */ - dependency?: string[]; - /** Indexes of the public imported files in the dependency list above. */ - public_dependency?: number[]; - /** - * Indexes of the weak imported files in the dependency list. - * For Google-internal migration only. Do not use. - */ - weak_dependency?: number[]; - /** All top-level definitions in this file. */ - message_type?: DescriptorProtoAmino[]; - enum_type?: EnumDescriptorProtoAmino[]; - service?: ServiceDescriptorProtoAmino[]; - extension?: FieldDescriptorProtoAmino[]; - options?: FileOptionsAmino | undefined; - /** - * This field contains optional information about the original source code. - * You may safely remove this entire field without harming runtime - * functionality of the descriptors -- the information is needed only by - * development tools. - */ - source_code_info?: SourceCodeInfoAmino | undefined; - /** - * The syntax of the proto file. - * The supported values are "proto2" and "proto3". - */ - syntax?: string; -} -export interface FileDescriptorProtoAminoMsg { - type: "/google.protobuf.FileDescriptorProto"; - value: FileDescriptorProtoAmino; -} -/** Describes a complete .proto file. */ -export interface FileDescriptorProtoSDKType { - name: string; - package: string; - dependency: string[]; - public_dependency: number[]; - weak_dependency: number[]; - message_type: DescriptorProtoSDKType[]; - enum_type: EnumDescriptorProtoSDKType[]; - service: ServiceDescriptorProtoSDKType[]; - extension: FieldDescriptorProtoSDKType[]; - options?: FileOptionsSDKType | undefined; - source_code_info?: SourceCodeInfoSDKType | undefined; - syntax: string; -} -/** Describes a message type. */ -export interface DescriptorProto { - name: string; - field: FieldDescriptorProto[]; - extension: FieldDescriptorProto[]; - nestedType: DescriptorProto[]; - enumType: EnumDescriptorProto[]; - extensionRange: DescriptorProto_ExtensionRange[]; - oneofDecl: OneofDescriptorProto[]; - options?: MessageOptions | undefined; - reservedRange: DescriptorProto_ReservedRange[]; - /** - * Reserved field names, which may not be used by fields in the same message. - * A given name may only be reserved once. - */ - reservedName: string[]; -} -export interface DescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.DescriptorProto"; - value: Uint8Array; -} -/** Describes a message type. */ -export interface DescriptorProtoAmino { - name?: string; - field?: FieldDescriptorProtoAmino[]; - extension?: FieldDescriptorProtoAmino[]; - nested_type?: DescriptorProtoAmino[]; - enum_type?: EnumDescriptorProtoAmino[]; - extension_range?: DescriptorProto_ExtensionRangeAmino[]; - oneof_decl?: OneofDescriptorProtoAmino[]; - options?: MessageOptionsAmino | undefined; - reserved_range?: DescriptorProto_ReservedRangeAmino[]; - /** - * Reserved field names, which may not be used by fields in the same message. - * A given name may only be reserved once. - */ - reserved_name?: string[]; -} -export interface DescriptorProtoAminoMsg { - type: "/google.protobuf.DescriptorProto"; - value: DescriptorProtoAmino; -} -/** Describes a message type. */ -export interface DescriptorProtoSDKType { - name: string; - field: FieldDescriptorProtoSDKType[]; - extension: FieldDescriptorProtoSDKType[]; - nested_type: DescriptorProtoSDKType[]; - enum_type: EnumDescriptorProtoSDKType[]; - extension_range: DescriptorProto_ExtensionRangeSDKType[]; - oneof_decl: OneofDescriptorProtoSDKType[]; - options?: MessageOptionsSDKType | undefined; - reserved_range: DescriptorProto_ReservedRangeSDKType[]; - reserved_name: string[]; -} -export interface DescriptorProto_ExtensionRange { - /** Inclusive. */ - start: number; - /** Exclusive. */ - end: number; - options?: ExtensionRangeOptions | undefined; -} -export interface DescriptorProto_ExtensionRangeProtoMsg { - typeUrl: "/google.protobuf.ExtensionRange"; - value: Uint8Array; -} -export interface DescriptorProto_ExtensionRangeAmino { - /** Inclusive. */ - start?: number; - /** Exclusive. */ - end?: number; - options?: ExtensionRangeOptionsAmino | undefined; -} -export interface DescriptorProto_ExtensionRangeAminoMsg { - type: "/google.protobuf.ExtensionRange"; - value: DescriptorProto_ExtensionRangeAmino; -} -export interface DescriptorProto_ExtensionRangeSDKType { - start: number; - end: number; - options?: ExtensionRangeOptionsSDKType | undefined; -} -/** - * Range of reserved tag numbers. Reserved tag numbers may not be used by - * fields or extension ranges in the same message. Reserved ranges may - * not overlap. - */ -export interface DescriptorProto_ReservedRange { - /** Inclusive. */ - start: number; - /** Exclusive. */ - end: number; -} -export interface DescriptorProto_ReservedRangeProtoMsg { - typeUrl: "/google.protobuf.ReservedRange"; - value: Uint8Array; -} -/** - * Range of reserved tag numbers. Reserved tag numbers may not be used by - * fields or extension ranges in the same message. Reserved ranges may - * not overlap. - */ -export interface DescriptorProto_ReservedRangeAmino { - /** Inclusive. */ - start?: number; - /** Exclusive. */ - end?: number; -} -export interface DescriptorProto_ReservedRangeAminoMsg { - type: "/google.protobuf.ReservedRange"; - value: DescriptorProto_ReservedRangeAmino; -} -/** - * Range of reserved tag numbers. Reserved tag numbers may not be used by - * fields or extension ranges in the same message. Reserved ranges may - * not overlap. - */ -export interface DescriptorProto_ReservedRangeSDKType { - start: number; - end: number; -} -export interface ExtensionRangeOptions { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface ExtensionRangeOptionsProtoMsg { - typeUrl: "/google.protobuf.ExtensionRangeOptions"; - value: Uint8Array; -} -export interface ExtensionRangeOptionsAmino { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option?: UninterpretedOptionAmino[]; -} -export interface ExtensionRangeOptionsAminoMsg { - type: "/google.protobuf.ExtensionRangeOptions"; - value: ExtensionRangeOptionsAmino; -} -export interface ExtensionRangeOptionsSDKType { - uninterpreted_option: UninterpretedOptionSDKType[]; -} -/** Describes a field within a message. */ -export interface FieldDescriptorProto { - name: string; - number: number; - label: FieldDescriptorProto_Label; - /** - * If type_name is set, this need not be set. If both this and type_name - * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - */ - type: FieldDescriptorProto_Type; - /** - * For message and enum types, this is the name of the type. If the name - * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - * rules are used to find the type (i.e. first the nested types within this - * message are searched, then within the parent, on up to the root - * namespace). - */ - typeName: string; - /** - * For extensions, this is the name of the type being extended. It is - * resolved in the same manner as type_name. - */ - extendee: string; - /** - * For numeric types, contains the original text representation of the value. - * For booleans, "true" or "false". - * For strings, contains the default text contents (not escaped in any way). - * For bytes, contains the C escaped value. All bytes >= 128 are escaped. - * TODO(kenton): Base-64 encode? - */ - defaultValue: string; - /** - * If set, gives the index of a oneof in the containing type's oneof_decl - * list. This field is a member of that oneof. - */ - oneofIndex: number; - /** - * JSON name of this field. The value is set by protocol compiler. If the - * user has set a "json_name" option on this field, that option's value - * will be used. Otherwise, it's deduced from the field's name by converting - * it to camelCase. - */ - jsonName: string; - options?: FieldOptions | undefined; -} -export interface FieldDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.FieldDescriptorProto"; - value: Uint8Array; -} -/** Describes a field within a message. */ -export interface FieldDescriptorProtoAmino { - name?: string; - number?: number; - label?: FieldDescriptorProto_Label; - /** - * If type_name is set, this need not be set. If both this and type_name - * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - */ - type?: FieldDescriptorProto_Type; - /** - * For message and enum types, this is the name of the type. If the name - * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - * rules are used to find the type (i.e. first the nested types within this - * message are searched, then within the parent, on up to the root - * namespace). - */ - type_name?: string; - /** - * For extensions, this is the name of the type being extended. It is - * resolved in the same manner as type_name. - */ - extendee?: string; - /** - * For numeric types, contains the original text representation of the value. - * For booleans, "true" or "false". - * For strings, contains the default text contents (not escaped in any way). - * For bytes, contains the C escaped value. All bytes >= 128 are escaped. - * TODO(kenton): Base-64 encode? - */ - default_value?: string; - /** - * If set, gives the index of a oneof in the containing type's oneof_decl - * list. This field is a member of that oneof. - */ - oneof_index?: number; - /** - * JSON name of this field. The value is set by protocol compiler. If the - * user has set a "json_name" option on this field, that option's value - * will be used. Otherwise, it's deduced from the field's name by converting - * it to camelCase. - */ - json_name?: string; - options?: FieldOptionsAmino | undefined; -} -export interface FieldDescriptorProtoAminoMsg { - type: "/google.protobuf.FieldDescriptorProto"; - value: FieldDescriptorProtoAmino; -} -/** Describes a field within a message. */ -export interface FieldDescriptorProtoSDKType { - name: string; - number: number; - label: FieldDescriptorProto_Label; - type: FieldDescriptorProto_Type; - type_name: string; - extendee: string; - default_value: string; - oneof_index: number; - json_name: string; - options?: FieldOptionsSDKType | undefined; -} -/** Describes a oneof. */ -export interface OneofDescriptorProto { - name: string; - options?: OneofOptions | undefined; -} -export interface OneofDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.OneofDescriptorProto"; - value: Uint8Array; -} -/** Describes a oneof. */ -export interface OneofDescriptorProtoAmino { - name?: string; - options?: OneofOptionsAmino | undefined; -} -export interface OneofDescriptorProtoAminoMsg { - type: "/google.protobuf.OneofDescriptorProto"; - value: OneofDescriptorProtoAmino; -} -/** Describes a oneof. */ -export interface OneofDescriptorProtoSDKType { - name: string; - options?: OneofOptionsSDKType | undefined; -} -/** Describes an enum type. */ -export interface EnumDescriptorProto { - name: string; - value: EnumValueDescriptorProto[]; - options?: EnumOptions | undefined; - /** - * Range of reserved numeric values. Reserved numeric values may not be used - * by enum values in the same enum declaration. Reserved ranges may not - * overlap. - */ - reservedRange: EnumDescriptorProto_EnumReservedRange[]; - /** - * Reserved enum value names, which may not be reused. A given name may only - * be reserved once. - */ - reservedName: string[]; -} -export interface EnumDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.EnumDescriptorProto"; - value: Uint8Array; -} -/** Describes an enum type. */ -export interface EnumDescriptorProtoAmino { - name?: string; - value?: EnumValueDescriptorProtoAmino[]; - options?: EnumOptionsAmino | undefined; - /** - * Range of reserved numeric values. Reserved numeric values may not be used - * by enum values in the same enum declaration. Reserved ranges may not - * overlap. - */ - reserved_range?: EnumDescriptorProto_EnumReservedRangeAmino[]; - /** - * Reserved enum value names, which may not be reused. A given name may only - * be reserved once. - */ - reserved_name?: string[]; -} -export interface EnumDescriptorProtoAminoMsg { - type: "/google.protobuf.EnumDescriptorProto"; - value: EnumDescriptorProtoAmino; -} -/** Describes an enum type. */ -export interface EnumDescriptorProtoSDKType { - name: string; - value: EnumValueDescriptorProtoSDKType[]; - options?: EnumOptionsSDKType | undefined; - reserved_range: EnumDescriptorProto_EnumReservedRangeSDKType[]; - reserved_name: string[]; -} -/** - * Range of reserved numeric values. Reserved values may not be used by - * entries in the same enum. Reserved ranges may not overlap. - * - * Note that this is distinct from DescriptorProto.ReservedRange in that it - * is inclusive such that it can appropriately represent the entire int32 - * domain. - */ -export interface EnumDescriptorProto_EnumReservedRange { - /** Inclusive. */ - start: number; - /** Inclusive. */ - end: number; -} -export interface EnumDescriptorProto_EnumReservedRangeProtoMsg { - typeUrl: "/google.protobuf.EnumReservedRange"; - value: Uint8Array; -} -/** - * Range of reserved numeric values. Reserved values may not be used by - * entries in the same enum. Reserved ranges may not overlap. - * - * Note that this is distinct from DescriptorProto.ReservedRange in that it - * is inclusive such that it can appropriately represent the entire int32 - * domain. - */ -export interface EnumDescriptorProto_EnumReservedRangeAmino { - /** Inclusive. */ - start?: number; - /** Inclusive. */ - end?: number; -} -export interface EnumDescriptorProto_EnumReservedRangeAminoMsg { - type: "/google.protobuf.EnumReservedRange"; - value: EnumDescriptorProto_EnumReservedRangeAmino; -} -/** - * Range of reserved numeric values. Reserved values may not be used by - * entries in the same enum. Reserved ranges may not overlap. - * - * Note that this is distinct from DescriptorProto.ReservedRange in that it - * is inclusive such that it can appropriately represent the entire int32 - * domain. - */ -export interface EnumDescriptorProto_EnumReservedRangeSDKType { - start: number; - end: number; -} -/** Describes a value within an enum. */ -export interface EnumValueDescriptorProto { - name: string; - number: number; - options?: EnumValueOptions | undefined; -} -export interface EnumValueDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.EnumValueDescriptorProto"; - value: Uint8Array; -} -/** Describes a value within an enum. */ -export interface EnumValueDescriptorProtoAmino { - name?: string; - number?: number; - options?: EnumValueOptionsAmino | undefined; -} -export interface EnumValueDescriptorProtoAminoMsg { - type: "/google.protobuf.EnumValueDescriptorProto"; - value: EnumValueDescriptorProtoAmino; -} -/** Describes a value within an enum. */ -export interface EnumValueDescriptorProtoSDKType { - name: string; - number: number; - options?: EnumValueOptionsSDKType | undefined; -} -/** Describes a service. */ -export interface ServiceDescriptorProto { - name: string; - method: MethodDescriptorProto[]; - options?: ServiceOptions | undefined; -} -export interface ServiceDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.ServiceDescriptorProto"; - value: Uint8Array; -} -/** Describes a service. */ -export interface ServiceDescriptorProtoAmino { - name?: string; - method?: MethodDescriptorProtoAmino[]; - options?: ServiceOptionsAmino | undefined; -} -export interface ServiceDescriptorProtoAminoMsg { - type: "/google.protobuf.ServiceDescriptorProto"; - value: ServiceDescriptorProtoAmino; -} -/** Describes a service. */ -export interface ServiceDescriptorProtoSDKType { - name: string; - method: MethodDescriptorProtoSDKType[]; - options?: ServiceOptionsSDKType | undefined; -} -/** Describes a method of a service. */ -export interface MethodDescriptorProto { - name: string; - /** - * Input and output type names. These are resolved in the same way as - * FieldDescriptorProto.type_name, but must refer to a message type. - */ - inputType: string; - outputType: string; - options?: MethodOptions | undefined; - /** Identifies if client streams multiple client messages */ - clientStreaming: boolean; - /** Identifies if server streams multiple server messages */ - serverStreaming: boolean; -} -export interface MethodDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.MethodDescriptorProto"; - value: Uint8Array; -} -/** Describes a method of a service. */ -export interface MethodDescriptorProtoAmino { - name?: string; - /** - * Input and output type names. These are resolved in the same way as - * FieldDescriptorProto.type_name, but must refer to a message type. - */ - input_type?: string; - output_type?: string; - options?: MethodOptionsAmino | undefined; - /** Identifies if client streams multiple client messages */ - client_streaming?: boolean; - /** Identifies if server streams multiple server messages */ - server_streaming?: boolean; -} -export interface MethodDescriptorProtoAminoMsg { - type: "/google.protobuf.MethodDescriptorProto"; - value: MethodDescriptorProtoAmino; -} -/** Describes a method of a service. */ -export interface MethodDescriptorProtoSDKType { - name: string; - input_type: string; - output_type: string; - options?: MethodOptionsSDKType | undefined; - client_streaming: boolean; - server_streaming: boolean; -} -export interface FileOptions { - /** - * Sets the Java package where classes generated from this .proto will be - * placed. By default, the proto package is used, but this is often - * inappropriate because proto packages do not normally start with backwards - * domain names. - */ - javaPackage: string; - /** - * If set, all the classes from the .proto file are wrapped in a single - * outer class with the given name. This applies to both Proto1 - * (equivalent to the old "--one_java_file" option) and Proto2 (where - * a .proto always translates to a single class, but you may want to - * explicitly choose the class name). - */ - javaOuterClassname: string; - /** - * If set true, then the Java code generator will generate a separate .java - * file for each top-level message, enum, and service defined in the .proto - * file. Thus, these types will *not* be nested inside the outer class - * named by java_outer_classname. However, the outer class will still be - * generated to contain the file's getDescriptor() method as well as any - * top-level extensions defined in the file. - */ - javaMultipleFiles: boolean; - /** This option does nothing. */ - /** @deprecated */ - javaGenerateEqualsAndHash: boolean; - /** - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. - */ - javaStringCheckUtf8: boolean; - optimizeFor: FileOptions_OptimizeMode; - /** - * Sets the Go package where structs generated from this .proto will be - * placed. If omitted, the Go package will be derived from the following: - * - The basename of the package import path, if provided. - * - Otherwise, the package statement in the .proto file, if present. - * - Otherwise, the basename of the .proto file, without extension. - */ - goPackage: string; - /** - * Should generic services be generated in each language? "Generic" services - * are not specific to any particular RPC system. They are generated by the - * main code generators in each language (without additional plugins). - * Generic services were the only kind of service generation supported by - * early versions of google.protobuf. - * - * Generic services are now considered deprecated in favor of using plugins - * that generate code specific to your particular RPC system. Therefore, - * these default to false. Old code which depends on generic services should - * explicitly set them to true. - */ - ccGenericServices: boolean; - javaGenericServices: boolean; - pyGenericServices: boolean; - phpGenericServices: boolean; - /** - * Is this file deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for everything in the file, or it will be completely ignored; in the very - * least, this is a formalization for deprecating files. - */ - deprecated: boolean; - /** - * Enables the use of arenas for the proto messages in this file. This applies - * only to generated classes for C++. - */ - ccEnableArenas: boolean; - /** - * Sets the objective c class prefix which is prepended to all objective c - * generated classes from this .proto. There is no default. - */ - objcClassPrefix: string; - /** Namespace for generated classes; defaults to the package. */ - csharpNamespace: string; - /** - * By default Swift generators will take the proto package and CamelCase it - * replacing '.' with underscore and use that to prefix the types/symbols - * defined. When this options is provided, they will use this value instead - * to prefix the types/symbols defined. - */ - swiftPrefix: string; - /** - * Sets the php class prefix which is prepended to all php generated classes - * from this .proto. Default is empty. - */ - phpClassPrefix: string; - /** - * Use this option to change the namespace of php generated classes. Default - * is empty. When this option is empty, the package name will be used for - * determining the namespace. - */ - phpNamespace: string; - /** - * Use this option to change the namespace of php generated metadata classes. - * Default is empty. When this option is empty, the proto file name will be - * used for determining the namespace. - */ - phpMetadataNamespace: string; - /** - * Use this option to change the package of ruby generated classes. Default - * is empty. When this option is not set, the package name will be used for - * determining the ruby package. - */ - rubyPackage: string; - /** - * The parser stores options it doesn't recognize here. - * See the documentation for the "Options" section above. - */ - uninterpretedOption: UninterpretedOption[]; -} -export interface FileOptionsProtoMsg { - typeUrl: "/google.protobuf.FileOptions"; - value: Uint8Array; -} -export interface FileOptionsAmino { - /** - * Sets the Java package where classes generated from this .proto will be - * placed. By default, the proto package is used, but this is often - * inappropriate because proto packages do not normally start with backwards - * domain names. - */ - java_package?: string; - /** - * If set, all the classes from the .proto file are wrapped in a single - * outer class with the given name. This applies to both Proto1 - * (equivalent to the old "--one_java_file" option) and Proto2 (where - * a .proto always translates to a single class, but you may want to - * explicitly choose the class name). - */ - java_outer_classname?: string; - /** - * If set true, then the Java code generator will generate a separate .java - * file for each top-level message, enum, and service defined in the .proto - * file. Thus, these types will *not* be nested inside the outer class - * named by java_outer_classname. However, the outer class will still be - * generated to contain the file's getDescriptor() method as well as any - * top-level extensions defined in the file. - */ - java_multiple_files?: boolean; - /** This option does nothing. */ - /** @deprecated */ - java_generate_equals_and_hash?: boolean; - /** - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. - */ - java_string_check_utf8?: boolean; - optimize_for?: FileOptions_OptimizeMode; - /** - * Sets the Go package where structs generated from this .proto will be - * placed. If omitted, the Go package will be derived from the following: - * - The basename of the package import path, if provided. - * - Otherwise, the package statement in the .proto file, if present. - * - Otherwise, the basename of the .proto file, without extension. - */ - go_package?: string; - /** - * Should generic services be generated in each language? "Generic" services - * are not specific to any particular RPC system. They are generated by the - * main code generators in each language (without additional plugins). - * Generic services were the only kind of service generation supported by - * early versions of google.protobuf. - * - * Generic services are now considered deprecated in favor of using plugins - * that generate code specific to your particular RPC system. Therefore, - * these default to false. Old code which depends on generic services should - * explicitly set them to true. - */ - cc_generic_services?: boolean; - java_generic_services?: boolean; - py_generic_services?: boolean; - php_generic_services?: boolean; - /** - * Is this file deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for everything in the file, or it will be completely ignored; in the very - * least, this is a formalization for deprecating files. - */ - deprecated?: boolean; - /** - * Enables the use of arenas for the proto messages in this file. This applies - * only to generated classes for C++. - */ - cc_enable_arenas?: boolean; - /** - * Sets the objective c class prefix which is prepended to all objective c - * generated classes from this .proto. There is no default. - */ - objc_class_prefix?: string; - /** Namespace for generated classes; defaults to the package. */ - csharp_namespace?: string; - /** - * By default Swift generators will take the proto package and CamelCase it - * replacing '.' with underscore and use that to prefix the types/symbols - * defined. When this options is provided, they will use this value instead - * to prefix the types/symbols defined. - */ - swift_prefix?: string; - /** - * Sets the php class prefix which is prepended to all php generated classes - * from this .proto. Default is empty. - */ - php_class_prefix?: string; - /** - * Use this option to change the namespace of php generated classes. Default - * is empty. When this option is empty, the package name will be used for - * determining the namespace. - */ - php_namespace?: string; - /** - * Use this option to change the namespace of php generated metadata classes. - * Default is empty. When this option is empty, the proto file name will be - * used for determining the namespace. - */ - php_metadata_namespace?: string; - /** - * Use this option to change the package of ruby generated classes. Default - * is empty. When this option is not set, the package name will be used for - * determining the ruby package. - */ - ruby_package?: string; - /** - * The parser stores options it doesn't recognize here. - * See the documentation for the "Options" section above. - */ - uninterpreted_option?: UninterpretedOptionAmino[]; -} -export interface FileOptionsAminoMsg { - type: "/google.protobuf.FileOptions"; - value: FileOptionsAmino; -} -export interface FileOptionsSDKType { - java_package: string; - java_outer_classname: string; - java_multiple_files: boolean; - /** @deprecated */ - java_generate_equals_and_hash: boolean; - java_string_check_utf8: boolean; - optimize_for: FileOptions_OptimizeMode; - go_package: string; - cc_generic_services: boolean; - java_generic_services: boolean; - py_generic_services: boolean; - php_generic_services: boolean; - deprecated: boolean; - cc_enable_arenas: boolean; - objc_class_prefix: string; - csharp_namespace: string; - swift_prefix: string; - php_class_prefix: string; - php_namespace: string; - php_metadata_namespace: string; - ruby_package: string; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface MessageOptions { - /** - * Set true to use the old proto1 MessageSet wire format for extensions. - * This is provided for backwards-compatibility with the MessageSet wire - * format. You should not use this for any other reason: It's less - * efficient, has fewer features, and is more complicated. - * - * The message must be defined exactly as follows: - * message Foo { - * option message_set_wire_format = true; - * extensions 4 to max; - * } - * Note that the message cannot have any defined fields; MessageSets only - * have extensions. - * - * All extensions of your type must be singular messages; e.g. they cannot - * be int32s, enums, or repeated messages. - * - * Because this is an option, the above two restrictions are not enforced by - * the protocol compiler. - */ - messageSetWireFormat: boolean; - /** - * Disables the generation of the standard "descriptor()" accessor, which can - * conflict with a field of the same name. This is meant to make migration - * from proto1 easier; new code should avoid fields named "descriptor". - */ - noStandardDescriptorAccessor: boolean; - /** - * Is this message deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the message, or it will be completely ignored; in the very least, - * this is a formalization for deprecating messages. - */ - deprecated: boolean; - /** - * Whether the message is an automatically generated map entry type for the - * maps field. - * - * For maps fields: - * map map_field = 1; - * The parsed descriptor looks like: - * message MapFieldEntry { - * option map_entry = true; - * optional KeyType key = 1; - * optional ValueType value = 2; - * } - * repeated MapFieldEntry map_field = 1; - * - * Implementations may choose not to generate the map_entry=true message, but - * use a native map in the target language to hold the keys and values. - * The reflection APIs in such implementations still need to work as - * if the field is a repeated message field. - * - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. - */ - mapEntry: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface MessageOptionsProtoMsg { - typeUrl: "/google.protobuf.MessageOptions"; - value: Uint8Array; -} -export interface MessageOptionsAmino { - /** - * Set true to use the old proto1 MessageSet wire format for extensions. - * This is provided for backwards-compatibility with the MessageSet wire - * format. You should not use this for any other reason: It's less - * efficient, has fewer features, and is more complicated. - * - * The message must be defined exactly as follows: - * message Foo { - * option message_set_wire_format = true; - * extensions 4 to max; - * } - * Note that the message cannot have any defined fields; MessageSets only - * have extensions. - * - * All extensions of your type must be singular messages; e.g. they cannot - * be int32s, enums, or repeated messages. - * - * Because this is an option, the above two restrictions are not enforced by - * the protocol compiler. - */ - message_set_wire_format?: boolean; - /** - * Disables the generation of the standard "descriptor()" accessor, which can - * conflict with a field of the same name. This is meant to make migration - * from proto1 easier; new code should avoid fields named "descriptor". - */ - no_standard_descriptor_accessor?: boolean; - /** - * Is this message deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the message, or it will be completely ignored; in the very least, - * this is a formalization for deprecating messages. - */ - deprecated?: boolean; - /** - * Whether the message is an automatically generated map entry type for the - * maps field. - * - * For maps fields: - * map map_field = 1; - * The parsed descriptor looks like: - * message MapFieldEntry { - * option map_entry = true; - * optional KeyType key = 1; - * optional ValueType value = 2; - * } - * repeated MapFieldEntry map_field = 1; - * - * Implementations may choose not to generate the map_entry=true message, but - * use a native map in the target language to hold the keys and values. - * The reflection APIs in such implementations still need to work as - * if the field is a repeated message field. - * - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. - */ - map_entry?: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option?: UninterpretedOptionAmino[]; -} -export interface MessageOptionsAminoMsg { - type: "/google.protobuf.MessageOptions"; - value: MessageOptionsAmino; -} -export interface MessageOptionsSDKType { - message_set_wire_format: boolean; - no_standard_descriptor_accessor: boolean; - deprecated: boolean; - map_entry: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface FieldOptions { - /** - * The ctype option instructs the C++ code generator to use a different - * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! - */ - ctype: FieldOptions_CType; - /** - * The packed option can be enabled for repeated primitive fields to enable - * a more efficient representation on the wire. Rather than repeatedly - * writing the tag and type for each element, the entire array is encoded as - * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. - */ - packed: boolean; - /** - * The jstype option determines the JavaScript type used for values of the - * field. The option is permitted only for 64 bit integral and fixed types - * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - * is represented as JavaScript string, which avoids loss of precision that - * can happen when a large value is converted to a floating point JavaScript. - * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - * use the JavaScript "number" type. The behavior of the default option - * JS_NORMAL is implementation dependent. - * - * This option is an enum to permit additional types to be added, e.g. - * goog.math.Integer. - */ - jstype: FieldOptions_JSType; - /** - * Should this field be parsed lazily? Lazy applies only to message-type - * fields. It means that when the outer message is initially parsed, the - * inner message's contents will not be parsed but instead stored in encoded - * form. The inner message will actually be parsed when it is first accessed. - * - * This is only a hint. Implementations are free to choose whether to use - * eager or lazy parsing regardless of the value of this option. However, - * setting this option true suggests that the protocol author believes that - * using lazy parsing on this field is worth the additional bookkeeping - * overhead typically needed to implement it. - * - * This option does not affect the public interface of any generated code; - * all method signatures remain the same. Furthermore, thread-safety of the - * interface is not affected by this option; const methods remain safe to - * call from multiple threads concurrently, while non-const methods continue - * to require exclusive access. - * - * - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - */ - lazy: boolean; - /** - * Is this field deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for accessors, or it will be completely ignored; in the very least, this - * is a formalization for deprecating fields. - */ - deprecated: boolean; - /** For Google-internal migration only. Do not use. */ - weak: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface FieldOptionsProtoMsg { - typeUrl: "/google.protobuf.FieldOptions"; - value: Uint8Array; -} -export interface FieldOptionsAmino { - /** - * The ctype option instructs the C++ code generator to use a different - * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! - */ - ctype?: FieldOptions_CType; - /** - * The packed option can be enabled for repeated primitive fields to enable - * a more efficient representation on the wire. Rather than repeatedly - * writing the tag and type for each element, the entire array is encoded as - * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. - */ - packed?: boolean; - /** - * The jstype option determines the JavaScript type used for values of the - * field. The option is permitted only for 64 bit integral and fixed types - * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - * is represented as JavaScript string, which avoids loss of precision that - * can happen when a large value is converted to a floating point JavaScript. - * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - * use the JavaScript "number" type. The behavior of the default option - * JS_NORMAL is implementation dependent. - * - * This option is an enum to permit additional types to be added, e.g. - * goog.math.Integer. - */ - jstype?: FieldOptions_JSType; - /** - * Should this field be parsed lazily? Lazy applies only to message-type - * fields. It means that when the outer message is initially parsed, the - * inner message's contents will not be parsed but instead stored in encoded - * form. The inner message will actually be parsed when it is first accessed. - * - * This is only a hint. Implementations are free to choose whether to use - * eager or lazy parsing regardless of the value of this option. However, - * setting this option true suggests that the protocol author believes that - * using lazy parsing on this field is worth the additional bookkeeping - * overhead typically needed to implement it. - * - * This option does not affect the public interface of any generated code; - * all method signatures remain the same. Furthermore, thread-safety of the - * interface is not affected by this option; const methods remain safe to - * call from multiple threads concurrently, while non-const methods continue - * to require exclusive access. - * - * - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - */ - lazy?: boolean; - /** - * Is this field deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for accessors, or it will be completely ignored; in the very least, this - * is a formalization for deprecating fields. - */ - deprecated?: boolean; - /** For Google-internal migration only. Do not use. */ - weak?: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option?: UninterpretedOptionAmino[]; -} -export interface FieldOptionsAminoMsg { - type: "/google.protobuf.FieldOptions"; - value: FieldOptionsAmino; -} -export interface FieldOptionsSDKType { - ctype: FieldOptions_CType; - packed: boolean; - jstype: FieldOptions_JSType; - lazy: boolean; - deprecated: boolean; - weak: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface OneofOptions { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface OneofOptionsProtoMsg { - typeUrl: "/google.protobuf.OneofOptions"; - value: Uint8Array; -} -export interface OneofOptionsAmino { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option?: UninterpretedOptionAmino[]; -} -export interface OneofOptionsAminoMsg { - type: "/google.protobuf.OneofOptions"; - value: OneofOptionsAmino; -} -export interface OneofOptionsSDKType { - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface EnumOptions { - /** - * Set this option to true to allow mapping different tag names to the same - * value. - */ - allowAlias: boolean; - /** - * Is this enum deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum, or it will be completely ignored; in the very least, this - * is a formalization for deprecating enums. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface EnumOptionsProtoMsg { - typeUrl: "/google.protobuf.EnumOptions"; - value: Uint8Array; -} -export interface EnumOptionsAmino { - /** - * Set this option to true to allow mapping different tag names to the same - * value. - */ - allow_alias?: boolean; - /** - * Is this enum deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum, or it will be completely ignored; in the very least, this - * is a formalization for deprecating enums. - */ - deprecated?: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option?: UninterpretedOptionAmino[]; -} -export interface EnumOptionsAminoMsg { - type: "/google.protobuf.EnumOptions"; - value: EnumOptionsAmino; -} -export interface EnumOptionsSDKType { - allow_alias: boolean; - deprecated: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface EnumValueOptions { - /** - * Is this enum value deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum value, or it will be completely ignored; in the very least, - * this is a formalization for deprecating enum values. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface EnumValueOptionsProtoMsg { - typeUrl: "/google.protobuf.EnumValueOptions"; - value: Uint8Array; -} -export interface EnumValueOptionsAmino { - /** - * Is this enum value deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum value, or it will be completely ignored; in the very least, - * this is a formalization for deprecating enum values. - */ - deprecated?: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option?: UninterpretedOptionAmino[]; -} -export interface EnumValueOptionsAminoMsg { - type: "/google.protobuf.EnumValueOptions"; - value: EnumValueOptionsAmino; -} -export interface EnumValueOptionsSDKType { - deprecated: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface ServiceOptions { - /** - * Is this service deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the service, or it will be completely ignored; in the very least, - * this is a formalization for deprecating services. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface ServiceOptionsProtoMsg { - typeUrl: "/google.protobuf.ServiceOptions"; - value: Uint8Array; -} -export interface ServiceOptionsAmino { - /** - * Is this service deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the service, or it will be completely ignored; in the very least, - * this is a formalization for deprecating services. - */ - deprecated?: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option?: UninterpretedOptionAmino[]; -} -export interface ServiceOptionsAminoMsg { - type: "/google.protobuf.ServiceOptions"; - value: ServiceOptionsAmino; -} -export interface ServiceOptionsSDKType { - deprecated: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface MethodOptions { - /** - * Is this method deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the method, or it will be completely ignored; in the very least, - * this is a formalization for deprecating methods. - */ - deprecated: boolean; - idempotencyLevel: MethodOptions_IdempotencyLevel; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface MethodOptionsProtoMsg { - typeUrl: "/google.protobuf.MethodOptions"; - value: Uint8Array; -} -export interface MethodOptionsAmino { - /** - * Is this method deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the method, or it will be completely ignored; in the very least, - * this is a formalization for deprecating methods. - */ - deprecated?: boolean; - idempotency_level?: MethodOptions_IdempotencyLevel; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option?: UninterpretedOptionAmino[]; -} -export interface MethodOptionsAminoMsg { - type: "/google.protobuf.MethodOptions"; - value: MethodOptionsAmino; -} -export interface MethodOptionsSDKType { - deprecated: boolean; - idempotency_level: MethodOptions_IdempotencyLevel; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -/** - * A message representing a option the parser does not recognize. This only - * appears in options protos created by the compiler::Parser class. - * DescriptorPool resolves these when building Descriptor objects. Therefore, - * options protos in descriptor objects (e.g. returned by Descriptor::options(), - * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions - * in them. - */ -export interface UninterpretedOption { - name: UninterpretedOption_NamePart[]; - /** - * The value of the uninterpreted option, in whatever type the tokenizer - * identified it as during parsing. Exactly one of these should be set. - */ - identifierValue: string; - positiveIntValue: bigint; - negativeIntValue: bigint; - doubleValue: number; - stringValue: Uint8Array; - aggregateValue: string; -} -export interface UninterpretedOptionProtoMsg { - typeUrl: "/google.protobuf.UninterpretedOption"; - value: Uint8Array; -} -/** - * A message representing a option the parser does not recognize. This only - * appears in options protos created by the compiler::Parser class. - * DescriptorPool resolves these when building Descriptor objects. Therefore, - * options protos in descriptor objects (e.g. returned by Descriptor::options(), - * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions - * in them. - */ -export interface UninterpretedOptionAmino { - name?: UninterpretedOption_NamePartAmino[]; - /** - * The value of the uninterpreted option, in whatever type the tokenizer - * identified it as during parsing. Exactly one of these should be set. - */ - identifier_value?: string; - positive_int_value?: string; - negative_int_value?: string; - double_value?: number; - string_value?: string; - aggregate_value?: string; -} -export interface UninterpretedOptionAminoMsg { - type: "/google.protobuf.UninterpretedOption"; - value: UninterpretedOptionAmino; -} -/** - * A message representing a option the parser does not recognize. This only - * appears in options protos created by the compiler::Parser class. - * DescriptorPool resolves these when building Descriptor objects. Therefore, - * options protos in descriptor objects (e.g. returned by Descriptor::options(), - * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions - * in them. - */ -export interface UninterpretedOptionSDKType { - name: UninterpretedOption_NamePartSDKType[]; - identifier_value: string; - positive_int_value: bigint; - negative_int_value: bigint; - double_value: number; - string_value: Uint8Array; - aggregate_value: string; -} -/** - * The name of the uninterpreted option. Each string represents a segment in - * a dot-separated name. is_extension is true iff a segment represents an - * extension (denoted with parentheses in options specs in .proto files). - * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents - * "foo.(bar.baz).qux". - */ -export interface UninterpretedOption_NamePart { - namePart: string; - isExtension: boolean; -} -export interface UninterpretedOption_NamePartProtoMsg { - typeUrl: "/google.protobuf.NamePart"; - value: Uint8Array; -} -/** - * The name of the uninterpreted option. Each string represents a segment in - * a dot-separated name. is_extension is true iff a segment represents an - * extension (denoted with parentheses in options specs in .proto files). - * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents - * "foo.(bar.baz).qux". - */ -export interface UninterpretedOption_NamePartAmino { - name_part?: string; - is_extension?: boolean; -} -export interface UninterpretedOption_NamePartAminoMsg { - type: "/google.protobuf.NamePart"; - value: UninterpretedOption_NamePartAmino; -} -/** - * The name of the uninterpreted option. Each string represents a segment in - * a dot-separated name. is_extension is true iff a segment represents an - * extension (denoted with parentheses in options specs in .proto files). - * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents - * "foo.(bar.baz).qux". - */ -export interface UninterpretedOption_NamePartSDKType { - name_part: string; - is_extension: boolean; -} -/** - * Encapsulates information about the original source file from which a - * FileDescriptorProto was generated. - */ -export interface SourceCodeInfo { - /** - * A Location identifies a piece of source code in a .proto file which - * corresponds to a particular definition. This information is intended - * to be useful to IDEs, code indexers, documentation generators, and similar - * tools. - * - * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } - * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi - * We have the following locations: - * span path represents - * [a,i) [ 4, 0, 2, 0 ] The whole field definition. - * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - * [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - * - * Notes: - * - A location may refer to a repeated field itself (i.e. not to any - * particular index within it). This is used whenever a set of elements are - * logically enclosed in a single code segment. For example, an entire - * extend block (possibly containing multiple extension definitions) will - * have an outer location whose path refers to the "extensions" repeated - * field without an index. - * - Multiple locations may have the same path. This happens when a single - * logical declaration is spread out across multiple places. The most - * obvious example is the "extend" block again -- there may be multiple - * extend blocks in the same scope, each of which will have the same path. - * - A location's span is not always a subset of its parent's span. For - * example, the "extendee" of an extension declaration appears at the - * beginning of the "extend" block and is shared by all extensions within - * the block. - * - Just because a location's span is a subset of some other location's span - * does not mean that it is a descendant. For example, a "group" defines - * both a type and a field in a single declaration. Thus, the locations - * corresponding to the type and field and their components will overlap. - * - Code which tries to interpret locations should probably be designed to - * ignore those that it doesn't understand, as more types of locations could - * be recorded in the future. - */ - location: SourceCodeInfo_Location[]; -} -export interface SourceCodeInfoProtoMsg { - typeUrl: "/google.protobuf.SourceCodeInfo"; - value: Uint8Array; -} -/** - * Encapsulates information about the original source file from which a - * FileDescriptorProto was generated. - */ -export interface SourceCodeInfoAmino { - /** - * A Location identifies a piece of source code in a .proto file which - * corresponds to a particular definition. This information is intended - * to be useful to IDEs, code indexers, documentation generators, and similar - * tools. - * - * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } - * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi - * We have the following locations: - * span path represents - * [a,i) [ 4, 0, 2, 0 ] The whole field definition. - * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - * [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - * - * Notes: - * - A location may refer to a repeated field itself (i.e. not to any - * particular index within it). This is used whenever a set of elements are - * logically enclosed in a single code segment. For example, an entire - * extend block (possibly containing multiple extension definitions) will - * have an outer location whose path refers to the "extensions" repeated - * field without an index. - * - Multiple locations may have the same path. This happens when a single - * logical declaration is spread out across multiple places. The most - * obvious example is the "extend" block again -- there may be multiple - * extend blocks in the same scope, each of which will have the same path. - * - A location's span is not always a subset of its parent's span. For - * example, the "extendee" of an extension declaration appears at the - * beginning of the "extend" block and is shared by all extensions within - * the block. - * - Just because a location's span is a subset of some other location's span - * does not mean that it is a descendant. For example, a "group" defines - * both a type and a field in a single declaration. Thus, the locations - * corresponding to the type and field and their components will overlap. - * - Code which tries to interpret locations should probably be designed to - * ignore those that it doesn't understand, as more types of locations could - * be recorded in the future. - */ - location?: SourceCodeInfo_LocationAmino[]; -} -export interface SourceCodeInfoAminoMsg { - type: "/google.protobuf.SourceCodeInfo"; - value: SourceCodeInfoAmino; -} -/** - * Encapsulates information about the original source file from which a - * FileDescriptorProto was generated. - */ -export interface SourceCodeInfoSDKType { - location: SourceCodeInfo_LocationSDKType[]; -} -export interface SourceCodeInfo_Location { - /** - * Identifies which part of the FileDescriptorProto was defined at this - * location. - * - * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition. For - * example, this path: - * [ 4, 3, 2, 7, 1 ] - * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 - * This is because FileDescriptorProto.message_type has field number 4: - * repeated DescriptorProto message_type = 4; - * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; - * and FieldDescriptorProto.name has field number 1: - * optional string name = 1; - * - * Thus, the above path gives the location of a field name. If we removed - * the last element: - * [ 4, 3, 2, 7 ] - * this path refers to the whole field declaration (from the beginning - * of the label to the terminating semicolon). - */ - path: number[]; - /** - * Always has exactly three or four elements: start line, start column, - * end line (optional, otherwise assumed same as start line), end column. - * These are packed into a single field for efficiency. Note that line - * and column numbers are zero-based -- typically you will want to add - * 1 to each before displaying to a user. - */ - span: number[]; - /** - * If this SourceCodeInfo represents a complete declaration, these are any - * comments appearing before and after the declaration which appear to be - * attached to the declaration. - * - * A series of line comments appearing on consecutive lines, with no other - * tokens appearing on those lines, will be treated as a single comment. - * - * leading_detached_comments will keep paragraphs of comments that appear - * before (but not connected to) the current element. Each paragraph, - * separated by empty lines, will be one comment element in the repeated - * field. - * - * Only the comment content is provided; comment markers (e.g. //) are - * stripped out. For block comments, leading whitespace and an asterisk - * will be stripped from the beginning of each line other than the first. - * Newlines are included in the output. - * - * Examples: - * - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; - * - * optional string baz = 3; - * // Comment attached to baz. - * // Another line attached to baz. - * - * // Comment attached to qux. - * // - * // Another line attached to qux. - * optional double qux = 4; - * - * // Detached comment for corge. This is not leading or trailing comments - * // to qux or corge because there are blank lines separating it from - * // both. - * - * // Detached comment for corge paragraph 2. - * - * optional string corge = 5; - * /* Block comment attached - * * to corge. Leading asterisks - * * will be removed. *\/ - * /* Block comment attached to - * * grault. *\/ - * optional int32 grault = 6; - * - * // ignored detached comments. - */ - leadingComments: string; - trailingComments: string; - leadingDetachedComments: string[]; -} -export interface SourceCodeInfo_LocationProtoMsg { - typeUrl: "/google.protobuf.Location"; - value: Uint8Array; -} -export interface SourceCodeInfo_LocationAmino { - /** - * Identifies which part of the FileDescriptorProto was defined at this - * location. - * - * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition. For - * example, this path: - * [ 4, 3, 2, 7, 1 ] - * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 - * This is because FileDescriptorProto.message_type has field number 4: - * repeated DescriptorProto message_type = 4; - * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; - * and FieldDescriptorProto.name has field number 1: - * optional string name = 1; - * - * Thus, the above path gives the location of a field name. If we removed - * the last element: - * [ 4, 3, 2, 7 ] - * this path refers to the whole field declaration (from the beginning - * of the label to the terminating semicolon). - */ - path?: number[]; - /** - * Always has exactly three or four elements: start line, start column, - * end line (optional, otherwise assumed same as start line), end column. - * These are packed into a single field for efficiency. Note that line - * and column numbers are zero-based -- typically you will want to add - * 1 to each before displaying to a user. - */ - span?: number[]; - /** - * If this SourceCodeInfo represents a complete declaration, these are any - * comments appearing before and after the declaration which appear to be - * attached to the declaration. - * - * A series of line comments appearing on consecutive lines, with no other - * tokens appearing on those lines, will be treated as a single comment. - * - * leading_detached_comments will keep paragraphs of comments that appear - * before (but not connected to) the current element. Each paragraph, - * separated by empty lines, will be one comment element in the repeated - * field. - * - * Only the comment content is provided; comment markers (e.g. //) are - * stripped out. For block comments, leading whitespace and an asterisk - * will be stripped from the beginning of each line other than the first. - * Newlines are included in the output. - * - * Examples: - * - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; - * - * optional string baz = 3; - * // Comment attached to baz. - * // Another line attached to baz. - * - * // Comment attached to qux. - * // - * // Another line attached to qux. - * optional double qux = 4; - * - * // Detached comment for corge. This is not leading or trailing comments - * // to qux or corge because there are blank lines separating it from - * // both. - * - * // Detached comment for corge paragraph 2. - * - * optional string corge = 5; - * /* Block comment attached - * * to corge. Leading asterisks - * * will be removed. *\/ - * /* Block comment attached to - * * grault. *\/ - * optional int32 grault = 6; - * - * // ignored detached comments. - */ - leading_comments?: string; - trailing_comments?: string; - leading_detached_comments?: string[]; -} -export interface SourceCodeInfo_LocationAminoMsg { - type: "/google.protobuf.Location"; - value: SourceCodeInfo_LocationAmino; -} -export interface SourceCodeInfo_LocationSDKType { - path: number[]; - span: number[]; - leading_comments: string; - trailing_comments: string; - leading_detached_comments: string[]; -} -/** - * Describes the relationship between generated code and its original source - * file. A GeneratedCodeInfo message is associated with only one generated - * source file, but may contain references to different source .proto files. - */ -export interface GeneratedCodeInfo { - /** - * An Annotation connects some span of text in generated code to an element - * of its generating .proto file. - */ - annotation: GeneratedCodeInfo_Annotation[]; -} -export interface GeneratedCodeInfoProtoMsg { - typeUrl: "/google.protobuf.GeneratedCodeInfo"; - value: Uint8Array; -} -/** - * Describes the relationship between generated code and its original source - * file. A GeneratedCodeInfo message is associated with only one generated - * source file, but may contain references to different source .proto files. - */ -export interface GeneratedCodeInfoAmino { - /** - * An Annotation connects some span of text in generated code to an element - * of its generating .proto file. - */ - annotation?: GeneratedCodeInfo_AnnotationAmino[]; -} -export interface GeneratedCodeInfoAminoMsg { - type: "/google.protobuf.GeneratedCodeInfo"; - value: GeneratedCodeInfoAmino; -} -/** - * Describes the relationship between generated code and its original source - * file. A GeneratedCodeInfo message is associated with only one generated - * source file, but may contain references to different source .proto files. - */ -export interface GeneratedCodeInfoSDKType { - annotation: GeneratedCodeInfo_AnnotationSDKType[]; -} -export interface GeneratedCodeInfo_Annotation { - /** - * Identifies the element in the original source .proto file. This field - * is formatted the same as SourceCodeInfo.Location.path. - */ - path: number[]; - /** Identifies the filesystem path to the original source .proto. */ - sourceFile: string; - /** - * Identifies the starting offset in bytes in the generated code - * that relates to the identified object. - */ - begin: number; - /** - * Identifies the ending offset in bytes in the generated code that - * relates to the identified offset. The end offset should be one past - * the last relevant byte (so the length of the text = end - begin). - */ - end: number; -} -export interface GeneratedCodeInfo_AnnotationProtoMsg { - typeUrl: "/google.protobuf.Annotation"; - value: Uint8Array; -} -export interface GeneratedCodeInfo_AnnotationAmino { - /** - * Identifies the element in the original source .proto file. This field - * is formatted the same as SourceCodeInfo.Location.path. - */ - path?: number[]; - /** Identifies the filesystem path to the original source .proto. */ - source_file?: string; - /** - * Identifies the starting offset in bytes in the generated code - * that relates to the identified object. - */ - begin?: number; - /** - * Identifies the ending offset in bytes in the generated code that - * relates to the identified offset. The end offset should be one past - * the last relevant byte (so the length of the text = end - begin). - */ - end?: number; -} -export interface GeneratedCodeInfo_AnnotationAminoMsg { - type: "/google.protobuf.Annotation"; - value: GeneratedCodeInfo_AnnotationAmino; -} -export interface GeneratedCodeInfo_AnnotationSDKType { - path: number[]; - source_file: string; - begin: number; - end: number; -} -export declare const FileDescriptorSet: { - typeUrl: string; - is(o: any): o is FileDescriptorSet; - isSDK(o: any): o is FileDescriptorSetSDKType; - isAmino(o: any): o is FileDescriptorSetAmino; - encode(message: FileDescriptorSet, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): FileDescriptorSet; - fromJSON(object: any): FileDescriptorSet; - toJSON(message: FileDescriptorSet): unknown; - fromPartial(object: DeepPartial): FileDescriptorSet; - fromSDK(object: FileDescriptorSetSDKType): FileDescriptorSet; - toSDK(message: FileDescriptorSet): FileDescriptorSetSDKType; - fromAmino(object: FileDescriptorSetAmino): FileDescriptorSet; - toAmino(message: FileDescriptorSet): FileDescriptorSetAmino; - fromAminoMsg(object: FileDescriptorSetAminoMsg): FileDescriptorSet; - fromProtoMsg(message: FileDescriptorSetProtoMsg): FileDescriptorSet; - toProto(message: FileDescriptorSet): Uint8Array; - toProtoMsg(message: FileDescriptorSet): FileDescriptorSetProtoMsg; -}; -export declare const FileDescriptorProto: { - typeUrl: string; - is(o: any): o is FileDescriptorProto; - isSDK(o: any): o is FileDescriptorProtoSDKType; - isAmino(o: any): o is FileDescriptorProtoAmino; - encode(message: FileDescriptorProto, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): FileDescriptorProto; - fromJSON(object: any): FileDescriptorProto; - toJSON(message: FileDescriptorProto): unknown; - fromPartial(object: DeepPartial): FileDescriptorProto; - fromSDK(object: FileDescriptorProtoSDKType): FileDescriptorProto; - toSDK(message: FileDescriptorProto): FileDescriptorProtoSDKType; - fromAmino(object: FileDescriptorProtoAmino): FileDescriptorProto; - toAmino(message: FileDescriptorProto): FileDescriptorProtoAmino; - fromAminoMsg(object: FileDescriptorProtoAminoMsg): FileDescriptorProto; - fromProtoMsg(message: FileDescriptorProtoProtoMsg): FileDescriptorProto; - toProto(message: FileDescriptorProto): Uint8Array; - toProtoMsg(message: FileDescriptorProto): FileDescriptorProtoProtoMsg; -}; -export declare const DescriptorProto: { - typeUrl: string; - is(o: any): o is DescriptorProto; - isSDK(o: any): o is DescriptorProtoSDKType; - isAmino(o: any): o is DescriptorProtoAmino; - encode(message: DescriptorProto, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DescriptorProto; - fromJSON(object: any): DescriptorProto; - toJSON(message: DescriptorProto): unknown; - fromPartial(object: DeepPartial): DescriptorProto; - fromSDK(object: DescriptorProtoSDKType): DescriptorProto; - toSDK(message: DescriptorProto): DescriptorProtoSDKType; - fromAmino(object: DescriptorProtoAmino): DescriptorProto; - toAmino(message: DescriptorProto): DescriptorProtoAmino; - fromAminoMsg(object: DescriptorProtoAminoMsg): DescriptorProto; - fromProtoMsg(message: DescriptorProtoProtoMsg): DescriptorProto; - toProto(message: DescriptorProto): Uint8Array; - toProtoMsg(message: DescriptorProto): DescriptorProtoProtoMsg; -}; -export declare const DescriptorProto_ExtensionRange: { - typeUrl: string; - is(o: any): o is DescriptorProto_ExtensionRange; - isSDK(o: any): o is DescriptorProto_ExtensionRangeSDKType; - isAmino(o: any): o is DescriptorProto_ExtensionRangeAmino; - encode(message: DescriptorProto_ExtensionRange, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DescriptorProto_ExtensionRange; - fromJSON(object: any): DescriptorProto_ExtensionRange; - toJSON(message: DescriptorProto_ExtensionRange): unknown; - fromPartial(object: DeepPartial): DescriptorProto_ExtensionRange; - fromSDK(object: DescriptorProto_ExtensionRangeSDKType): DescriptorProto_ExtensionRange; - toSDK(message: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRangeSDKType; - fromAmino(object: DescriptorProto_ExtensionRangeAmino): DescriptorProto_ExtensionRange; - toAmino(message: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRangeAmino; - fromAminoMsg(object: DescriptorProto_ExtensionRangeAminoMsg): DescriptorProto_ExtensionRange; - fromProtoMsg(message: DescriptorProto_ExtensionRangeProtoMsg): DescriptorProto_ExtensionRange; - toProto(message: DescriptorProto_ExtensionRange): Uint8Array; - toProtoMsg(message: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRangeProtoMsg; -}; -export declare const DescriptorProto_ReservedRange: { - typeUrl: string; - is(o: any): o is DescriptorProto_ReservedRange; - isSDK(o: any): o is DescriptorProto_ReservedRangeSDKType; - isAmino(o: any): o is DescriptorProto_ReservedRangeAmino; - encode(message: DescriptorProto_ReservedRange, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DescriptorProto_ReservedRange; - fromJSON(object: any): DescriptorProto_ReservedRange; - toJSON(message: DescriptorProto_ReservedRange): unknown; - fromPartial(object: DeepPartial): DescriptorProto_ReservedRange; - fromSDK(object: DescriptorProto_ReservedRangeSDKType): DescriptorProto_ReservedRange; - toSDK(message: DescriptorProto_ReservedRange): DescriptorProto_ReservedRangeSDKType; - fromAmino(object: DescriptorProto_ReservedRangeAmino): DescriptorProto_ReservedRange; - toAmino(message: DescriptorProto_ReservedRange): DescriptorProto_ReservedRangeAmino; - fromAminoMsg(object: DescriptorProto_ReservedRangeAminoMsg): DescriptorProto_ReservedRange; - fromProtoMsg(message: DescriptorProto_ReservedRangeProtoMsg): DescriptorProto_ReservedRange; - toProto(message: DescriptorProto_ReservedRange): Uint8Array; - toProtoMsg(message: DescriptorProto_ReservedRange): DescriptorProto_ReservedRangeProtoMsg; -}; -export declare const ExtensionRangeOptions: { - typeUrl: string; - is(o: any): o is ExtensionRangeOptions; - isSDK(o: any): o is ExtensionRangeOptionsSDKType; - isAmino(o: any): o is ExtensionRangeOptionsAmino; - encode(message: ExtensionRangeOptions, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ExtensionRangeOptions; - fromJSON(object: any): ExtensionRangeOptions; - toJSON(message: ExtensionRangeOptions): unknown; - fromPartial(object: DeepPartial): ExtensionRangeOptions; - fromSDK(object: ExtensionRangeOptionsSDKType): ExtensionRangeOptions; - toSDK(message: ExtensionRangeOptions): ExtensionRangeOptionsSDKType; - fromAmino(object: ExtensionRangeOptionsAmino): ExtensionRangeOptions; - toAmino(message: ExtensionRangeOptions): ExtensionRangeOptionsAmino; - fromAminoMsg(object: ExtensionRangeOptionsAminoMsg): ExtensionRangeOptions; - fromProtoMsg(message: ExtensionRangeOptionsProtoMsg): ExtensionRangeOptions; - toProto(message: ExtensionRangeOptions): Uint8Array; - toProtoMsg(message: ExtensionRangeOptions): ExtensionRangeOptionsProtoMsg; -}; -export declare const FieldDescriptorProto: { - typeUrl: string; - is(o: any): o is FieldDescriptorProto; - isSDK(o: any): o is FieldDescriptorProtoSDKType; - isAmino(o: any): o is FieldDescriptorProtoAmino; - encode(message: FieldDescriptorProto, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): FieldDescriptorProto; - fromJSON(object: any): FieldDescriptorProto; - toJSON(message: FieldDescriptorProto): unknown; - fromPartial(object: DeepPartial): FieldDescriptorProto; - fromSDK(object: FieldDescriptorProtoSDKType): FieldDescriptorProto; - toSDK(message: FieldDescriptorProto): FieldDescriptorProtoSDKType; - fromAmino(object: FieldDescriptorProtoAmino): FieldDescriptorProto; - toAmino(message: FieldDescriptorProto): FieldDescriptorProtoAmino; - fromAminoMsg(object: FieldDescriptorProtoAminoMsg): FieldDescriptorProto; - fromProtoMsg(message: FieldDescriptorProtoProtoMsg): FieldDescriptorProto; - toProto(message: FieldDescriptorProto): Uint8Array; - toProtoMsg(message: FieldDescriptorProto): FieldDescriptorProtoProtoMsg; -}; -export declare const OneofDescriptorProto: { - typeUrl: string; - is(o: any): o is OneofDescriptorProto; - isSDK(o: any): o is OneofDescriptorProtoSDKType; - isAmino(o: any): o is OneofDescriptorProtoAmino; - encode(message: OneofDescriptorProto, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): OneofDescriptorProto; - fromJSON(object: any): OneofDescriptorProto; - toJSON(message: OneofDescriptorProto): unknown; - fromPartial(object: DeepPartial): OneofDescriptorProto; - fromSDK(object: OneofDescriptorProtoSDKType): OneofDescriptorProto; - toSDK(message: OneofDescriptorProto): OneofDescriptorProtoSDKType; - fromAmino(object: OneofDescriptorProtoAmino): OneofDescriptorProto; - toAmino(message: OneofDescriptorProto): OneofDescriptorProtoAmino; - fromAminoMsg(object: OneofDescriptorProtoAminoMsg): OneofDescriptorProto; - fromProtoMsg(message: OneofDescriptorProtoProtoMsg): OneofDescriptorProto; - toProto(message: OneofDescriptorProto): Uint8Array; - toProtoMsg(message: OneofDescriptorProto): OneofDescriptorProtoProtoMsg; -}; -export declare const EnumDescriptorProto: { - typeUrl: string; - is(o: any): o is EnumDescriptorProto; - isSDK(o: any): o is EnumDescriptorProtoSDKType; - isAmino(o: any): o is EnumDescriptorProtoAmino; - encode(message: EnumDescriptorProto, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EnumDescriptorProto; - fromJSON(object: any): EnumDescriptorProto; - toJSON(message: EnumDescriptorProto): unknown; - fromPartial(object: DeepPartial): EnumDescriptorProto; - fromSDK(object: EnumDescriptorProtoSDKType): EnumDescriptorProto; - toSDK(message: EnumDescriptorProto): EnumDescriptorProtoSDKType; - fromAmino(object: EnumDescriptorProtoAmino): EnumDescriptorProto; - toAmino(message: EnumDescriptorProto): EnumDescriptorProtoAmino; - fromAminoMsg(object: EnumDescriptorProtoAminoMsg): EnumDescriptorProto; - fromProtoMsg(message: EnumDescriptorProtoProtoMsg): EnumDescriptorProto; - toProto(message: EnumDescriptorProto): Uint8Array; - toProtoMsg(message: EnumDescriptorProto): EnumDescriptorProtoProtoMsg; -}; -export declare const EnumDescriptorProto_EnumReservedRange: { - typeUrl: string; - is(o: any): o is EnumDescriptorProto_EnumReservedRange; - isSDK(o: any): o is EnumDescriptorProto_EnumReservedRangeSDKType; - isAmino(o: any): o is EnumDescriptorProto_EnumReservedRangeAmino; - encode(message: EnumDescriptorProto_EnumReservedRange, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EnumDescriptorProto_EnumReservedRange; - fromJSON(object: any): EnumDescriptorProto_EnumReservedRange; - toJSON(message: EnumDescriptorProto_EnumReservedRange): unknown; - fromPartial(object: DeepPartial): EnumDescriptorProto_EnumReservedRange; - fromSDK(object: EnumDescriptorProto_EnumReservedRangeSDKType): EnumDescriptorProto_EnumReservedRange; - toSDK(message: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRangeSDKType; - fromAmino(object: EnumDescriptorProto_EnumReservedRangeAmino): EnumDescriptorProto_EnumReservedRange; - toAmino(message: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRangeAmino; - fromAminoMsg(object: EnumDescriptorProto_EnumReservedRangeAminoMsg): EnumDescriptorProto_EnumReservedRange; - fromProtoMsg(message: EnumDescriptorProto_EnumReservedRangeProtoMsg): EnumDescriptorProto_EnumReservedRange; - toProto(message: EnumDescriptorProto_EnumReservedRange): Uint8Array; - toProtoMsg(message: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRangeProtoMsg; -}; -export declare const EnumValueDescriptorProto: { - typeUrl: string; - is(o: any): o is EnumValueDescriptorProto; - isSDK(o: any): o is EnumValueDescriptorProtoSDKType; - isAmino(o: any): o is EnumValueDescriptorProtoAmino; - encode(message: EnumValueDescriptorProto, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EnumValueDescriptorProto; - fromJSON(object: any): EnumValueDescriptorProto; - toJSON(message: EnumValueDescriptorProto): unknown; - fromPartial(object: DeepPartial): EnumValueDescriptorProto; - fromSDK(object: EnumValueDescriptorProtoSDKType): EnumValueDescriptorProto; - toSDK(message: EnumValueDescriptorProto): EnumValueDescriptorProtoSDKType; - fromAmino(object: EnumValueDescriptorProtoAmino): EnumValueDescriptorProto; - toAmino(message: EnumValueDescriptorProto): EnumValueDescriptorProtoAmino; - fromAminoMsg(object: EnumValueDescriptorProtoAminoMsg): EnumValueDescriptorProto; - fromProtoMsg(message: EnumValueDescriptorProtoProtoMsg): EnumValueDescriptorProto; - toProto(message: EnumValueDescriptorProto): Uint8Array; - toProtoMsg(message: EnumValueDescriptorProto): EnumValueDescriptorProtoProtoMsg; -}; -export declare const ServiceDescriptorProto: { - typeUrl: string; - is(o: any): o is ServiceDescriptorProto; - isSDK(o: any): o is ServiceDescriptorProtoSDKType; - isAmino(o: any): o is ServiceDescriptorProtoAmino; - encode(message: ServiceDescriptorProto, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ServiceDescriptorProto; - fromJSON(object: any): ServiceDescriptorProto; - toJSON(message: ServiceDescriptorProto): unknown; - fromPartial(object: DeepPartial): ServiceDescriptorProto; - fromSDK(object: ServiceDescriptorProtoSDKType): ServiceDescriptorProto; - toSDK(message: ServiceDescriptorProto): ServiceDescriptorProtoSDKType; - fromAmino(object: ServiceDescriptorProtoAmino): ServiceDescriptorProto; - toAmino(message: ServiceDescriptorProto): ServiceDescriptorProtoAmino; - fromAminoMsg(object: ServiceDescriptorProtoAminoMsg): ServiceDescriptorProto; - fromProtoMsg(message: ServiceDescriptorProtoProtoMsg): ServiceDescriptorProto; - toProto(message: ServiceDescriptorProto): Uint8Array; - toProtoMsg(message: ServiceDescriptorProto): ServiceDescriptorProtoProtoMsg; -}; -export declare const MethodDescriptorProto: { - typeUrl: string; - is(o: any): o is MethodDescriptorProto; - isSDK(o: any): o is MethodDescriptorProtoSDKType; - isAmino(o: any): o is MethodDescriptorProtoAmino; - encode(message: MethodDescriptorProto, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MethodDescriptorProto; - fromJSON(object: any): MethodDescriptorProto; - toJSON(message: MethodDescriptorProto): unknown; - fromPartial(object: DeepPartial): MethodDescriptorProto; - fromSDK(object: MethodDescriptorProtoSDKType): MethodDescriptorProto; - toSDK(message: MethodDescriptorProto): MethodDescriptorProtoSDKType; - fromAmino(object: MethodDescriptorProtoAmino): MethodDescriptorProto; - toAmino(message: MethodDescriptorProto): MethodDescriptorProtoAmino; - fromAminoMsg(object: MethodDescriptorProtoAminoMsg): MethodDescriptorProto; - fromProtoMsg(message: MethodDescriptorProtoProtoMsg): MethodDescriptorProto; - toProto(message: MethodDescriptorProto): Uint8Array; - toProtoMsg(message: MethodDescriptorProto): MethodDescriptorProtoProtoMsg; -}; -export declare const FileOptions: { - typeUrl: string; - is(o: any): o is FileOptions; - isSDK(o: any): o is FileOptionsSDKType; - isAmino(o: any): o is FileOptionsAmino; - encode(message: FileOptions, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): FileOptions; - fromJSON(object: any): FileOptions; - toJSON(message: FileOptions): unknown; - fromPartial(object: DeepPartial): FileOptions; - fromSDK(object: FileOptionsSDKType): FileOptions; - toSDK(message: FileOptions): FileOptionsSDKType; - fromAmino(object: FileOptionsAmino): FileOptions; - toAmino(message: FileOptions): FileOptionsAmino; - fromAminoMsg(object: FileOptionsAminoMsg): FileOptions; - fromProtoMsg(message: FileOptionsProtoMsg): FileOptions; - toProto(message: FileOptions): Uint8Array; - toProtoMsg(message: FileOptions): FileOptionsProtoMsg; -}; -export declare const MessageOptions: { - typeUrl: string; - is(o: any): o is MessageOptions; - isSDK(o: any): o is MessageOptionsSDKType; - isAmino(o: any): o is MessageOptionsAmino; - encode(message: MessageOptions, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MessageOptions; - fromJSON(object: any): MessageOptions; - toJSON(message: MessageOptions): unknown; - fromPartial(object: DeepPartial): MessageOptions; - fromSDK(object: MessageOptionsSDKType): MessageOptions; - toSDK(message: MessageOptions): MessageOptionsSDKType; - fromAmino(object: MessageOptionsAmino): MessageOptions; - toAmino(message: MessageOptions): MessageOptionsAmino; - fromAminoMsg(object: MessageOptionsAminoMsg): MessageOptions; - fromProtoMsg(message: MessageOptionsProtoMsg): MessageOptions; - toProto(message: MessageOptions): Uint8Array; - toProtoMsg(message: MessageOptions): MessageOptionsProtoMsg; -}; -export declare const FieldOptions: { - typeUrl: string; - is(o: any): o is FieldOptions; - isSDK(o: any): o is FieldOptionsSDKType; - isAmino(o: any): o is FieldOptionsAmino; - encode(message: FieldOptions, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): FieldOptions; - fromJSON(object: any): FieldOptions; - toJSON(message: FieldOptions): unknown; - fromPartial(object: DeepPartial): FieldOptions; - fromSDK(object: FieldOptionsSDKType): FieldOptions; - toSDK(message: FieldOptions): FieldOptionsSDKType; - fromAmino(object: FieldOptionsAmino): FieldOptions; - toAmino(message: FieldOptions): FieldOptionsAmino; - fromAminoMsg(object: FieldOptionsAminoMsg): FieldOptions; - fromProtoMsg(message: FieldOptionsProtoMsg): FieldOptions; - toProto(message: FieldOptions): Uint8Array; - toProtoMsg(message: FieldOptions): FieldOptionsProtoMsg; -}; -export declare const OneofOptions: { - typeUrl: string; - is(o: any): o is OneofOptions; - isSDK(o: any): o is OneofOptionsSDKType; - isAmino(o: any): o is OneofOptionsAmino; - encode(message: OneofOptions, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): OneofOptions; - fromJSON(object: any): OneofOptions; - toJSON(message: OneofOptions): unknown; - fromPartial(object: DeepPartial): OneofOptions; - fromSDK(object: OneofOptionsSDKType): OneofOptions; - toSDK(message: OneofOptions): OneofOptionsSDKType; - fromAmino(object: OneofOptionsAmino): OneofOptions; - toAmino(message: OneofOptions): OneofOptionsAmino; - fromAminoMsg(object: OneofOptionsAminoMsg): OneofOptions; - fromProtoMsg(message: OneofOptionsProtoMsg): OneofOptions; - toProto(message: OneofOptions): Uint8Array; - toProtoMsg(message: OneofOptions): OneofOptionsProtoMsg; -}; -export declare const EnumOptions: { - typeUrl: string; - is(o: any): o is EnumOptions; - isSDK(o: any): o is EnumOptionsSDKType; - isAmino(o: any): o is EnumOptionsAmino; - encode(message: EnumOptions, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EnumOptions; - fromJSON(object: any): EnumOptions; - toJSON(message: EnumOptions): unknown; - fromPartial(object: DeepPartial): EnumOptions; - fromSDK(object: EnumOptionsSDKType): EnumOptions; - toSDK(message: EnumOptions): EnumOptionsSDKType; - fromAmino(object: EnumOptionsAmino): EnumOptions; - toAmino(message: EnumOptions): EnumOptionsAmino; - fromAminoMsg(object: EnumOptionsAminoMsg): EnumOptions; - fromProtoMsg(message: EnumOptionsProtoMsg): EnumOptions; - toProto(message: EnumOptions): Uint8Array; - toProtoMsg(message: EnumOptions): EnumOptionsProtoMsg; -}; -export declare const EnumValueOptions: { - typeUrl: string; - is(o: any): o is EnumValueOptions; - isSDK(o: any): o is EnumValueOptionsSDKType; - isAmino(o: any): o is EnumValueOptionsAmino; - encode(message: EnumValueOptions, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EnumValueOptions; - fromJSON(object: any): EnumValueOptions; - toJSON(message: EnumValueOptions): unknown; - fromPartial(object: DeepPartial): EnumValueOptions; - fromSDK(object: EnumValueOptionsSDKType): EnumValueOptions; - toSDK(message: EnumValueOptions): EnumValueOptionsSDKType; - fromAmino(object: EnumValueOptionsAmino): EnumValueOptions; - toAmino(message: EnumValueOptions): EnumValueOptionsAmino; - fromAminoMsg(object: EnumValueOptionsAminoMsg): EnumValueOptions; - fromProtoMsg(message: EnumValueOptionsProtoMsg): EnumValueOptions; - toProto(message: EnumValueOptions): Uint8Array; - toProtoMsg(message: EnumValueOptions): EnumValueOptionsProtoMsg; -}; -export declare const ServiceOptions: { - typeUrl: string; - is(o: any): o is ServiceOptions; - isSDK(o: any): o is ServiceOptionsSDKType; - isAmino(o: any): o is ServiceOptionsAmino; - encode(message: ServiceOptions, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ServiceOptions; - fromJSON(object: any): ServiceOptions; - toJSON(message: ServiceOptions): unknown; - fromPartial(object: DeepPartial): ServiceOptions; - fromSDK(object: ServiceOptionsSDKType): ServiceOptions; - toSDK(message: ServiceOptions): ServiceOptionsSDKType; - fromAmino(object: ServiceOptionsAmino): ServiceOptions; - toAmino(message: ServiceOptions): ServiceOptionsAmino; - fromAminoMsg(object: ServiceOptionsAminoMsg): ServiceOptions; - fromProtoMsg(message: ServiceOptionsProtoMsg): ServiceOptions; - toProto(message: ServiceOptions): Uint8Array; - toProtoMsg(message: ServiceOptions): ServiceOptionsProtoMsg; -}; -export declare const MethodOptions: { - typeUrl: string; - is(o: any): o is MethodOptions; - isSDK(o: any): o is MethodOptionsSDKType; - isAmino(o: any): o is MethodOptionsAmino; - encode(message: MethodOptions, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MethodOptions; - fromJSON(object: any): MethodOptions; - toJSON(message: MethodOptions): unknown; - fromPartial(object: DeepPartial): MethodOptions; - fromSDK(object: MethodOptionsSDKType): MethodOptions; - toSDK(message: MethodOptions): MethodOptionsSDKType; - fromAmino(object: MethodOptionsAmino): MethodOptions; - toAmino(message: MethodOptions): MethodOptionsAmino; - fromAminoMsg(object: MethodOptionsAminoMsg): MethodOptions; - fromProtoMsg(message: MethodOptionsProtoMsg): MethodOptions; - toProto(message: MethodOptions): Uint8Array; - toProtoMsg(message: MethodOptions): MethodOptionsProtoMsg; -}; -export declare const UninterpretedOption: { - typeUrl: string; - is(o: any): o is UninterpretedOption; - isSDK(o: any): o is UninterpretedOptionSDKType; - isAmino(o: any): o is UninterpretedOptionAmino; - encode(message: UninterpretedOption, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): UninterpretedOption; - fromJSON(object: any): UninterpretedOption; - toJSON(message: UninterpretedOption): unknown; - fromPartial(object: DeepPartial): UninterpretedOption; - fromSDK(object: UninterpretedOptionSDKType): UninterpretedOption; - toSDK(message: UninterpretedOption): UninterpretedOptionSDKType; - fromAmino(object: UninterpretedOptionAmino): UninterpretedOption; - toAmino(message: UninterpretedOption): UninterpretedOptionAmino; - fromAminoMsg(object: UninterpretedOptionAminoMsg): UninterpretedOption; - fromProtoMsg(message: UninterpretedOptionProtoMsg): UninterpretedOption; - toProto(message: UninterpretedOption): Uint8Array; - toProtoMsg(message: UninterpretedOption): UninterpretedOptionProtoMsg; -}; -export declare const UninterpretedOption_NamePart: { - typeUrl: string; - is(o: any): o is UninterpretedOption_NamePart; - isSDK(o: any): o is UninterpretedOption_NamePartSDKType; - isAmino(o: any): o is UninterpretedOption_NamePartAmino; - encode(message: UninterpretedOption_NamePart, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): UninterpretedOption_NamePart; - fromJSON(object: any): UninterpretedOption_NamePart; - toJSON(message: UninterpretedOption_NamePart): unknown; - fromPartial(object: DeepPartial): UninterpretedOption_NamePart; - fromSDK(object: UninterpretedOption_NamePartSDKType): UninterpretedOption_NamePart; - toSDK(message: UninterpretedOption_NamePart): UninterpretedOption_NamePartSDKType; - fromAmino(object: UninterpretedOption_NamePartAmino): UninterpretedOption_NamePart; - toAmino(message: UninterpretedOption_NamePart): UninterpretedOption_NamePartAmino; - fromAminoMsg(object: UninterpretedOption_NamePartAminoMsg): UninterpretedOption_NamePart; - fromProtoMsg(message: UninterpretedOption_NamePartProtoMsg): UninterpretedOption_NamePart; - toProto(message: UninterpretedOption_NamePart): Uint8Array; - toProtoMsg(message: UninterpretedOption_NamePart): UninterpretedOption_NamePartProtoMsg; -}; -export declare const SourceCodeInfo: { - typeUrl: string; - is(o: any): o is SourceCodeInfo; - isSDK(o: any): o is SourceCodeInfoSDKType; - isAmino(o: any): o is SourceCodeInfoAmino; - encode(message: SourceCodeInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SourceCodeInfo; - fromJSON(object: any): SourceCodeInfo; - toJSON(message: SourceCodeInfo): unknown; - fromPartial(object: DeepPartial): SourceCodeInfo; - fromSDK(object: SourceCodeInfoSDKType): SourceCodeInfo; - toSDK(message: SourceCodeInfo): SourceCodeInfoSDKType; - fromAmino(object: SourceCodeInfoAmino): SourceCodeInfo; - toAmino(message: SourceCodeInfo): SourceCodeInfoAmino; - fromAminoMsg(object: SourceCodeInfoAminoMsg): SourceCodeInfo; - fromProtoMsg(message: SourceCodeInfoProtoMsg): SourceCodeInfo; - toProto(message: SourceCodeInfo): Uint8Array; - toProtoMsg(message: SourceCodeInfo): SourceCodeInfoProtoMsg; -}; -export declare const SourceCodeInfo_Location: { - typeUrl: string; - is(o: any): o is SourceCodeInfo_Location; - isSDK(o: any): o is SourceCodeInfo_LocationSDKType; - isAmino(o: any): o is SourceCodeInfo_LocationAmino; - encode(message: SourceCodeInfo_Location, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SourceCodeInfo_Location; - fromJSON(object: any): SourceCodeInfo_Location; - toJSON(message: SourceCodeInfo_Location): unknown; - fromPartial(object: DeepPartial): SourceCodeInfo_Location; - fromSDK(object: SourceCodeInfo_LocationSDKType): SourceCodeInfo_Location; - toSDK(message: SourceCodeInfo_Location): SourceCodeInfo_LocationSDKType; - fromAmino(object: SourceCodeInfo_LocationAmino): SourceCodeInfo_Location; - toAmino(message: SourceCodeInfo_Location): SourceCodeInfo_LocationAmino; - fromAminoMsg(object: SourceCodeInfo_LocationAminoMsg): SourceCodeInfo_Location; - fromProtoMsg(message: SourceCodeInfo_LocationProtoMsg): SourceCodeInfo_Location; - toProto(message: SourceCodeInfo_Location): Uint8Array; - toProtoMsg(message: SourceCodeInfo_Location): SourceCodeInfo_LocationProtoMsg; -}; -export declare const GeneratedCodeInfo: { - typeUrl: string; - is(o: any): o is GeneratedCodeInfo; - isSDK(o: any): o is GeneratedCodeInfoSDKType; - isAmino(o: any): o is GeneratedCodeInfoAmino; - encode(message: GeneratedCodeInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GeneratedCodeInfo; - fromJSON(object: any): GeneratedCodeInfo; - toJSON(message: GeneratedCodeInfo): unknown; - fromPartial(object: DeepPartial): GeneratedCodeInfo; - fromSDK(object: GeneratedCodeInfoSDKType): GeneratedCodeInfo; - toSDK(message: GeneratedCodeInfo): GeneratedCodeInfoSDKType; - fromAmino(object: GeneratedCodeInfoAmino): GeneratedCodeInfo; - toAmino(message: GeneratedCodeInfo): GeneratedCodeInfoAmino; - fromAminoMsg(object: GeneratedCodeInfoAminoMsg): GeneratedCodeInfo; - fromProtoMsg(message: GeneratedCodeInfoProtoMsg): GeneratedCodeInfo; - toProto(message: GeneratedCodeInfo): Uint8Array; - toProtoMsg(message: GeneratedCodeInfo): GeneratedCodeInfoProtoMsg; -}; -export declare const GeneratedCodeInfo_Annotation: { - typeUrl: string; - is(o: any): o is GeneratedCodeInfo_Annotation; - isSDK(o: any): o is GeneratedCodeInfo_AnnotationSDKType; - isAmino(o: any): o is GeneratedCodeInfo_AnnotationAmino; - encode(message: GeneratedCodeInfo_Annotation, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GeneratedCodeInfo_Annotation; - fromJSON(object: any): GeneratedCodeInfo_Annotation; - toJSON(message: GeneratedCodeInfo_Annotation): unknown; - fromPartial(object: DeepPartial): GeneratedCodeInfo_Annotation; - fromSDK(object: GeneratedCodeInfo_AnnotationSDKType): GeneratedCodeInfo_Annotation; - toSDK(message: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_AnnotationSDKType; - fromAmino(object: GeneratedCodeInfo_AnnotationAmino): GeneratedCodeInfo_Annotation; - toAmino(message: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_AnnotationAmino; - fromAminoMsg(object: GeneratedCodeInfo_AnnotationAminoMsg): GeneratedCodeInfo_Annotation; - fromProtoMsg(message: GeneratedCodeInfo_AnnotationProtoMsg): GeneratedCodeInfo_Annotation; - toProto(message: GeneratedCodeInfo_Annotation): Uint8Array; - toProtoMsg(message: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_AnnotationProtoMsg; -}; diff --git a/examples/authz/types/codegen/google/protobuf/duration.d.ts b/examples/authz/types/codegen/google/protobuf/duration.d.ts deleted file mode 100644 index c8afab0c..00000000 --- a/examples/authz/types/codegen/google/protobuf/duration.d.ts +++ /dev/null @@ -1,231 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** - * A Duration represents a signed, fixed-length span of time represented - * as a count of seconds and fractions of seconds at nanosecond - * resolution. It is independent of any calendar and concepts like "day" - * or "month". It is related to Timestamp in that the difference between - * two Timestamp values is a Duration and it can be added or subtracted - * from a Timestamp. Range is approximately +-10,000 years. - * - * # Examples - * - * Example 1: Compute Duration from two Timestamps in pseudo code. - * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; - * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; - * - * if (duration.seconds < 0 && duration.nanos > 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (durations.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * - * Example 3: Compute Duration from datetime.timedelta in Python. - * - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * - * # JSON Mapping - * - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - */ -export interface Duration { - /** - * Signed seconds of the span of time. Must be from -315,576,000,000 - * to +315,576,000,000 inclusive. Note: these bounds are computed from: - * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - */ - seconds: bigint; - /** - * Signed fractions of a second at nanosecond resolution of the span - * of time. Durations less than one second are represented with a 0 - * `seconds` field and a positive or negative `nanos` field. For durations - * of one second or more, a non-zero value for the `nanos` field must be - * of the same sign as the `seconds` field. Must be from -999,999,999 - * to +999,999,999 inclusive. - */ - nanos: number; -} -export interface DurationProtoMsg { - typeUrl: "/google.protobuf.Duration"; - value: Uint8Array; -} -/** - * A Duration represents a signed, fixed-length span of time represented - * as a count of seconds and fractions of seconds at nanosecond - * resolution. It is independent of any calendar and concepts like "day" - * or "month". It is related to Timestamp in that the difference between - * two Timestamp values is a Duration and it can be added or subtracted - * from a Timestamp. Range is approximately +-10,000 years. - * - * # Examples - * - * Example 1: Compute Duration from two Timestamps in pseudo code. - * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; - * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; - * - * if (duration.seconds < 0 && duration.nanos > 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (durations.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * - * Example 3: Compute Duration from datetime.timedelta in Python. - * - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * - * # JSON Mapping - * - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - */ -export type DurationAmino = string; -export interface DurationAminoMsg { - type: "/google.protobuf.Duration"; - value: DurationAmino; -} -/** - * A Duration represents a signed, fixed-length span of time represented - * as a count of seconds and fractions of seconds at nanosecond - * resolution. It is independent of any calendar and concepts like "day" - * or "month". It is related to Timestamp in that the difference between - * two Timestamp values is a Duration and it can be added or subtracted - * from a Timestamp. Range is approximately +-10,000 years. - * - * # Examples - * - * Example 1: Compute Duration from two Timestamps in pseudo code. - * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; - * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; - * - * if (duration.seconds < 0 && duration.nanos > 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (durations.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * - * Example 3: Compute Duration from datetime.timedelta in Python. - * - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * - * # JSON Mapping - * - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - */ -export interface DurationSDKType { - seconds: bigint; - nanos: number; -} -export declare const Duration: { - typeUrl: string; - is(o: any): o is Duration; - isSDK(o: any): o is DurationSDKType; - isAmino(o: any): o is string; - encode(message: Duration, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Duration; - fromJSON(object: any): Duration; - toJSON(message: Duration): unknown; - fromPartial(object: DeepPartial): Duration; - fromSDK(object: DurationSDKType): Duration; - toSDK(message: Duration): DurationSDKType; - fromAmino(object: DurationAmino): Duration; - toAmino(message: Duration): DurationAmino; - fromAminoMsg(object: DurationAminoMsg): Duration; - fromProtoMsg(message: DurationProtoMsg): Duration; - toProto(message: Duration): Uint8Array; - toProtoMsg(message: Duration): DurationProtoMsg; -}; diff --git a/examples/authz/types/codegen/google/protobuf/empty.d.ts b/examples/authz/types/codegen/google/protobuf/empty.d.ts deleted file mode 100644 index 8a90dc61..00000000 --- a/examples/authz/types/codegen/google/protobuf/empty.d.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** - * A generic empty message that you can re-use to avoid defining duplicated - * empty messages in your APIs. A typical example is to use it as the request - * or the response type of an API method. For instance: - * - * service Foo { - * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - * } - * - * The JSON representation for `Empty` is empty JSON object `{}`. - */ -export interface Empty { -} -export interface EmptyProtoMsg { - typeUrl: "/google.protobuf.Empty"; - value: Uint8Array; -} -/** - * A generic empty message that you can re-use to avoid defining duplicated - * empty messages in your APIs. A typical example is to use it as the request - * or the response type of an API method. For instance: - * - * service Foo { - * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - * } - * - * The JSON representation for `Empty` is empty JSON object `{}`. - */ -export interface EmptyAmino { -} -export interface EmptyAminoMsg { - type: "/google.protobuf.Empty"; - value: EmptyAmino; -} -/** - * A generic empty message that you can re-use to avoid defining duplicated - * empty messages in your APIs. A typical example is to use it as the request - * or the response type of an API method. For instance: - * - * service Foo { - * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - * } - * - * The JSON representation for `Empty` is empty JSON object `{}`. - */ -export interface EmptySDKType { -} -export declare const Empty: { - typeUrl: string; - is(o: any): o is Empty; - isSDK(o: any): o is EmptySDKType; - isAmino(o: any): o is EmptyAmino; - encode(_: Empty, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Empty; - fromJSON(_: any): Empty; - toJSON(_: Empty): unknown; - fromPartial(_: DeepPartial): Empty; - fromSDK(_: EmptySDKType): Empty; - toSDK(_: Empty): EmptySDKType; - fromAmino(_: EmptyAmino): Empty; - toAmino(_: Empty): EmptyAmino; - fromAminoMsg(object: EmptyAminoMsg): Empty; - fromProtoMsg(message: EmptyProtoMsg): Empty; - toProto(message: Empty): Uint8Array; - toProtoMsg(message: Empty): EmptyProtoMsg; -}; diff --git a/examples/authz/types/codegen/google/protobuf/timestamp.d.ts b/examples/authz/types/codegen/google/protobuf/timestamp.d.ts deleted file mode 100644 index d6d26222..00000000 --- a/examples/authz/types/codegen/google/protobuf/timestamp.d.ts +++ /dev/null @@ -1,301 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** - * A Timestamp represents a point in time independent of any time zone or local - * calendar, encoded as a count of seconds and fractions of seconds at - * nanosecond resolution. The count is relative to an epoch at UTC midnight on - * January 1, 1970, in the proleptic Gregorian calendar which extends the - * Gregorian calendar backwards to year one. - * - * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap - * second table is needed for interpretation, using a [24-hour linear - * smear](https://developers.google.com/time/smear). - * - * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - * restricting to that range, we ensure that we can convert to and from [RFC - * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - * - * # Examples - * - * Example 1: Compute Timestamp from POSIX `time()`. - * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); - * - * Example 2: Compute Timestamp from POSIX `gettimeofday()`. - * - * struct timeval tv; - * gettimeofday(&tv, NULL); - * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); - * - * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - * - * FILETIME ft; - * GetSystemTimeAsFileTime(&ft); - * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - * - * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - * Timestamp timestamp; - * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - * - * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - * - * long millis = System.currentTimeMillis(); - * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); - * - * - * Example 5: Compute Timestamp from current time in Python. - * - * timestamp = Timestamp() - * timestamp.GetCurrentTime() - * - * # JSON Mapping - * - * In JSON format, the Timestamp type is encoded as a string in the - * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" - * where {year} is always expressed using four digits while {month}, {day}, - * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone - * is required. A proto3 JSON serializer should always use UTC (as indicated by - * "Z") when printing the Timestamp type and a proto3 JSON parser should be - * able to accept both UTC and other timezones (as indicated by an offset). - * - * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past - * 01:30 UTC on January 15, 2017. - * - * In JavaScript, one can convert a Date object to this format using the - * standard - * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - * method. In Python, a standard `datetime.datetime` object can be converted - * to this format using - * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D - * ) to obtain a formatter capable of generating timestamps in this format. - */ -export interface Timestamp { - /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - */ - seconds: bigint; - /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 - * inclusive. - */ - nanos: number; -} -export interface TimestampProtoMsg { - typeUrl: "/google.protobuf.Timestamp"; - value: Uint8Array; -} -/** - * A Timestamp represents a point in time independent of any time zone or local - * calendar, encoded as a count of seconds and fractions of seconds at - * nanosecond resolution. The count is relative to an epoch at UTC midnight on - * January 1, 1970, in the proleptic Gregorian calendar which extends the - * Gregorian calendar backwards to year one. - * - * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap - * second table is needed for interpretation, using a [24-hour linear - * smear](https://developers.google.com/time/smear). - * - * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - * restricting to that range, we ensure that we can convert to and from [RFC - * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - * - * # Examples - * - * Example 1: Compute Timestamp from POSIX `time()`. - * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); - * - * Example 2: Compute Timestamp from POSIX `gettimeofday()`. - * - * struct timeval tv; - * gettimeofday(&tv, NULL); - * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); - * - * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - * - * FILETIME ft; - * GetSystemTimeAsFileTime(&ft); - * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - * - * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - * Timestamp timestamp; - * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - * - * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - * - * long millis = System.currentTimeMillis(); - * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); - * - * - * Example 5: Compute Timestamp from current time in Python. - * - * timestamp = Timestamp() - * timestamp.GetCurrentTime() - * - * # JSON Mapping - * - * In JSON format, the Timestamp type is encoded as a string in the - * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" - * where {year} is always expressed using four digits while {month}, {day}, - * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone - * is required. A proto3 JSON serializer should always use UTC (as indicated by - * "Z") when printing the Timestamp type and a proto3 JSON parser should be - * able to accept both UTC and other timezones (as indicated by an offset). - * - * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past - * 01:30 UTC on January 15, 2017. - * - * In JavaScript, one can convert a Date object to this format using the - * standard - * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - * method. In Python, a standard `datetime.datetime` object can be converted - * to this format using - * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D - * ) to obtain a formatter capable of generating timestamps in this format. - */ -export type TimestampAmino = string; -export interface TimestampAminoMsg { - type: "/google.protobuf.Timestamp"; - value: TimestampAmino; -} -/** - * A Timestamp represents a point in time independent of any time zone or local - * calendar, encoded as a count of seconds and fractions of seconds at - * nanosecond resolution. The count is relative to an epoch at UTC midnight on - * January 1, 1970, in the proleptic Gregorian calendar which extends the - * Gregorian calendar backwards to year one. - * - * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap - * second table is needed for interpretation, using a [24-hour linear - * smear](https://developers.google.com/time/smear). - * - * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - * restricting to that range, we ensure that we can convert to and from [RFC - * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - * - * # Examples - * - * Example 1: Compute Timestamp from POSIX `time()`. - * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); - * - * Example 2: Compute Timestamp from POSIX `gettimeofday()`. - * - * struct timeval tv; - * gettimeofday(&tv, NULL); - * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); - * - * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - * - * FILETIME ft; - * GetSystemTimeAsFileTime(&ft); - * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - * - * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - * Timestamp timestamp; - * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - * - * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - * - * long millis = System.currentTimeMillis(); - * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); - * - * - * Example 5: Compute Timestamp from current time in Python. - * - * timestamp = Timestamp() - * timestamp.GetCurrentTime() - * - * # JSON Mapping - * - * In JSON format, the Timestamp type is encoded as a string in the - * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" - * where {year} is always expressed using four digits while {month}, {day}, - * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone - * is required. A proto3 JSON serializer should always use UTC (as indicated by - * "Z") when printing the Timestamp type and a proto3 JSON parser should be - * able to accept both UTC and other timezones (as indicated by an offset). - * - * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past - * 01:30 UTC on January 15, 2017. - * - * In JavaScript, one can convert a Date object to this format using the - * standard - * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - * method. In Python, a standard `datetime.datetime` object can be converted - * to this format using - * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D - * ) to obtain a formatter capable of generating timestamps in this format. - */ -export interface TimestampSDKType { - seconds: bigint; - nanos: number; -} -export declare const Timestamp: { - typeUrl: string; - is(o: any): o is Timestamp; - isSDK(o: any): o is TimestampSDKType; - isAmino(o: any): o is string; - encode(message: Timestamp, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Timestamp; - fromJSON(object: any): Timestamp; - toJSON(message: Timestamp): unknown; - fromPartial(object: DeepPartial): Timestamp; - fromSDK(object: TimestampSDKType): Timestamp; - toSDK(message: Timestamp): TimestampSDKType; - fromAmino(object: TimestampAmino): Timestamp; - toAmino(message: Timestamp): TimestampAmino; - fromAminoMsg(object: TimestampAminoMsg): Timestamp; - fromProtoMsg(message: TimestampProtoMsg): Timestamp; - toProto(message: Timestamp): Uint8Array; - toProtoMsg(message: Timestamp): TimestampProtoMsg; -}; diff --git a/examples/authz/types/codegen/helpers.d.ts b/examples/authz/types/codegen/helpers.d.ts deleted file mode 100644 index 1951dab0..00000000 --- a/examples/authz/types/codegen/helpers.d.ts +++ /dev/null @@ -1,81 +0,0 @@ -/** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.3.2 -* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain -* and run the transpile command or yarn proto command to regenerate this bundle. -*/ -export declare function bytesFromBase64(b64: string): Uint8Array; -export declare function base64FromBytes(arr: Uint8Array): string; -export interface AminoHeight { - readonly revision_number?: string; - readonly revision_height?: string; -} -export declare function omitDefault(input: T): T | undefined; -interface Duration { - /** - * Signed seconds of the span of time. Must be from -315,576,000,000 - * to +315,576,000,000 inclusive. Note: these bounds are computed from: - * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - */ - seconds: bigint; - /** - * Signed fractions of a second at nanosecond resolution of the span - * of time. Durations less than one second are represented with a 0 - * `seconds` field and a positive or negative `nanos` field. For durations - * of one second or more, a non-zero value for the `nanos` field must be - * of the same sign as the `seconds` field. Must be from -999,999,999 - * to +999,999,999 inclusive. - */ - nanos: number; -} -export declare function toDuration(duration: string): Duration; -export declare function fromDuration(duration: Duration): string; -export declare function isSet(value: any): boolean; -export declare function isObject(value: any): boolean; -export interface PageRequest { - key: Uint8Array; - offset: bigint; - limit: bigint; - countTotal: boolean; - reverse: boolean; -} -export interface PageRequestParams { - 'pagination.key'?: string; - 'pagination.offset'?: string; - 'pagination.limit'?: string; - 'pagination.count_total'?: boolean; - 'pagination.reverse'?: boolean; -} -export interface Params { - params: PageRequestParams; -} -export declare const setPaginationParams: (options: Params, pagination?: PageRequest) => Params; -type Builtin = Date | Function | Uint8Array | string | number | bigint | boolean | undefined; -export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { - [K in keyof T]?: DeepPartial; -} : Partial; -type KeysOfUnion = T extends T ? keyof T : never; -export type Exact = P extends Builtin ? P : P & { - [K in keyof P]: Exact; -} & Record>, never>; -export interface Rpc { - request(service: string, method: string, data: Uint8Array): Promise; -} -interface Timestamp { - /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - */ - seconds: bigint; - /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 - * inclusive. - */ - nanos: number; -} -export declare function toTimestamp(date: Date): Timestamp; -export declare function fromTimestamp(t: Timestamp): Date; -export declare function fromJsonTimestamp(o: any): Timestamp; -export {}; diff --git a/examples/authz/types/codegen/hooks.d.ts b/examples/authz/types/codegen/hooks.d.ts deleted file mode 100644 index 52062fa3..00000000 --- a/examples/authz/types/codegen/hooks.d.ts +++ /dev/null @@ -1,406 +0,0 @@ -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import * as _CosmosAppV1alpha1Queryrpc from "./cosmos/app/v1alpha1/query.rpc.Query"; -import * as _CosmosAuthV1beta1Queryrpc from "./cosmos/auth/v1beta1/query.rpc.Query"; -import * as _CosmosAuthzV1beta1Queryrpc from "./cosmos/authz/v1beta1/query.rpc.Query"; -import * as _CosmosBankV1beta1Queryrpc from "./cosmos/bank/v1beta1/query.rpc.Query"; -import * as _CosmosBaseTendermintV1beta1Queryrpc from "./cosmos/base/tendermint/v1beta1/query.rpc.Service"; -import * as _CosmosDistributionV1beta1Queryrpc from "./cosmos/distribution/v1beta1/query.rpc.Query"; -import * as _CosmosEvidenceV1beta1Queryrpc from "./cosmos/evidence/v1beta1/query.rpc.Query"; -import * as _CosmosFeegrantV1beta1Queryrpc from "./cosmos/feegrant/v1beta1/query.rpc.Query"; -import * as _CosmosGovV1Queryrpc from "./cosmos/gov/v1/query.rpc.Query"; -import * as _CosmosGovV1beta1Queryrpc from "./cosmos/gov/v1beta1/query.rpc.Query"; -import * as _CosmosGroupV1Queryrpc from "./cosmos/group/v1/query.rpc.Query"; -import * as _CosmosMintV1beta1Queryrpc from "./cosmos/mint/v1beta1/query.rpc.Query"; -import * as _CosmosNftV1beta1Queryrpc from "./cosmos/nft/v1beta1/query.rpc.Query"; -import * as _CosmosParamsV1beta1Queryrpc from "./cosmos/params/v1beta1/query.rpc.Query"; -import * as _CosmosSlashingV1beta1Queryrpc from "./cosmos/slashing/v1beta1/query.rpc.Query"; -import * as _CosmosStakingV1beta1Queryrpc from "./cosmos/staking/v1beta1/query.rpc.Query"; -import * as _CosmosTxV1beta1Servicerpc from "./cosmos/tx/v1beta1/service.rpc.Service"; -import * as _CosmosUpgradeV1beta1Queryrpc from "./cosmos/upgrade/v1beta1/query.rpc.Query"; -import * as _CosmwasmWasmV1Queryrpc from "./cosmwasm/wasm/v1/query.rpc.Query"; -import * as _IbcApplicationsTransferV1Queryrpc from "./ibc/applications/transfer/v1/query.rpc.Query"; -import * as _IbcCoreChannelV1Queryrpc from "./ibc/core/channel/v1/query.rpc.Query"; -import * as _IbcCoreClientV1Queryrpc from "./ibc/core/client/v1/query.rpc.Query"; -import * as _IbcCoreConnectionV1Queryrpc from "./ibc/core/connection/v1/query.rpc.Query"; -import * as _IbcCorePortV1Queryrpc from "./ibc/core/port/v1/query.rpc.Query"; -import * as _OsmosisClaimV1beta1Queryrpc from "./osmosis/claim/v1beta1/query.rpc.Query"; -import * as _OsmosisEpochsQueryrpc from "./osmosis/epochs/query.rpc.Query"; -import * as _OsmosisGammV2Queryrpc from "./osmosis/gamm/v2/query.rpc.Query"; -import * as _OsmosisIbcratelimitV1beta1Queryrpc from "./osmosis/ibc-rate-limit/v1beta1/query.rpc.Query"; -import * as _OsmosisIncentivesQueryrpc from "./osmosis/incentives/query.rpc.Query"; -import * as _OsmosisLockupQueryrpc from "./osmosis/lockup/query.rpc.Query"; -import * as _OsmosisMintV1beta1Queryrpc from "./osmosis/mint/v1beta1/query.rpc.Query"; -import * as _OsmosisPoolincentivesV1beta1Queryrpc from "./osmosis/pool-incentives/v1beta1/query.rpc.Query"; -import * as _OsmosisSuperfluidQueryrpc from "./osmosis/superfluid/query.rpc.Query"; -import * as _OsmosisTokenfactoryV1beta1Queryrpc from "./osmosis/tokenfactory/v1beta1/query.rpc.Query"; -import * as _OsmosisTwapV1beta1Queryrpc from "./osmosis/twap/v1beta1/query.rpc.Query"; -import * as _OsmosisTxfeesV1beta1Queryrpc from "./osmosis/txfees/v1beta1/query.rpc.Query"; -export declare const createRpcQueryHooks: ({ rpc }: { - rpc: ProtobufRpcClient | undefined; -}) => { - cosmos: { - app: { - v1alpha1: { - useConfig: ({ request, options }: _CosmosAppV1alpha1Queryrpc.UseConfigQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - auth: { - v1beta1: { - useAccounts: ({ request, options }: _CosmosAuthV1beta1Queryrpc.UseAccountsQuery) => import("@tanstack/react-query").UseQueryResult; - useAccount: ({ request, options }: _CosmosAuthV1beta1Queryrpc.UseAccountQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _CosmosAuthV1beta1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useModuleAccounts: ({ request, options }: _CosmosAuthV1beta1Queryrpc.UseModuleAccountsQuery) => import("@tanstack/react-query").UseQueryResult; - useBech32Prefix: ({ request, options }: _CosmosAuthV1beta1Queryrpc.UseBech32PrefixQuery) => import("@tanstack/react-query").UseQueryResult; - useAddressBytesToString: ({ request, options }: _CosmosAuthV1beta1Queryrpc.UseAddressBytesToStringQuery) => import("@tanstack/react-query").UseQueryResult; - useAddressStringToBytes: ({ request, options }: _CosmosAuthV1beta1Queryrpc.UseAddressStringToBytesQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - authz: { - v1beta1: { - useGrants: ({ request, options }: _CosmosAuthzV1beta1Queryrpc.UseGrantsQuery) => import("@tanstack/react-query").UseQueryResult; - useGranterGrants: ({ request, options }: _CosmosAuthzV1beta1Queryrpc.UseGranterGrantsQuery) => import("@tanstack/react-query").UseQueryResult; - useGranteeGrants: ({ request, options }: _CosmosAuthzV1beta1Queryrpc.UseGranteeGrantsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - bank: { - v1beta1: { - useBalance: ({ request, options }: _CosmosBankV1beta1Queryrpc.UseBalanceQuery) => import("@tanstack/react-query").UseQueryResult; - useAllBalances: ({ request, options }: _CosmosBankV1beta1Queryrpc.UseAllBalancesQuery) => import("@tanstack/react-query").UseQueryResult; - useSpendableBalances: ({ request, options }: _CosmosBankV1beta1Queryrpc.UseSpendableBalancesQuery) => import("@tanstack/react-query").UseQueryResult; - useTotalSupply: ({ request, options }: _CosmosBankV1beta1Queryrpc.UseTotalSupplyQuery) => import("@tanstack/react-query").UseQueryResult; - useSupplyOf: ({ request, options }: _CosmosBankV1beta1Queryrpc.UseSupplyOfQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _CosmosBankV1beta1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomMetadata: ({ request, options }: _CosmosBankV1beta1Queryrpc.UseDenomMetadataQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomsMetadata: ({ request, options }: _CosmosBankV1beta1Queryrpc.UseDenomsMetadataQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomOwners: ({ request, options }: _CosmosBankV1beta1Queryrpc.UseDenomOwnersQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - base: { - tendermint: { - v1beta1: { - useGetNodeInfo: ({ request, options }: _CosmosBaseTendermintV1beta1Queryrpc.UseGetNodeInfoQuery) => import("@tanstack/react-query").UseQueryResult; - useGetSyncing: ({ request, options }: _CosmosBaseTendermintV1beta1Queryrpc.UseGetSyncingQuery) => import("@tanstack/react-query").UseQueryResult; - useGetLatestBlock: ({ request, options }: _CosmosBaseTendermintV1beta1Queryrpc.UseGetLatestBlockQuery) => import("@tanstack/react-query").UseQueryResult; - useGetBlockByHeight: ({ request, options }: _CosmosBaseTendermintV1beta1Queryrpc.UseGetBlockByHeightQuery) => import("@tanstack/react-query").UseQueryResult; - useGetLatestValidatorSet: ({ request, options }: _CosmosBaseTendermintV1beta1Queryrpc.UseGetLatestValidatorSetQuery) => import("@tanstack/react-query").UseQueryResult; - useGetValidatorSetByHeight: ({ request, options }: _CosmosBaseTendermintV1beta1Queryrpc.UseGetValidatorSetByHeightQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - }; - distribution: { - v1beta1: { - useParams: ({ request, options }: _CosmosDistributionV1beta1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useValidatorOutstandingRewards: ({ request, options }: _CosmosDistributionV1beta1Queryrpc.UseValidatorOutstandingRewardsQuery) => import("@tanstack/react-query").UseQueryResult; - useValidatorCommission: ({ request, options }: _CosmosDistributionV1beta1Queryrpc.UseValidatorCommissionQuery) => import("@tanstack/react-query").UseQueryResult; - useValidatorSlashes: ({ request, options }: _CosmosDistributionV1beta1Queryrpc.UseValidatorSlashesQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegationRewards: ({ request, options }: _CosmosDistributionV1beta1Queryrpc.UseDelegationRewardsQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegationTotalRewards: ({ request, options }: _CosmosDistributionV1beta1Queryrpc.UseDelegationTotalRewardsQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegatorValidators: ({ request, options }: _CosmosDistributionV1beta1Queryrpc.UseDelegatorValidatorsQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegatorWithdrawAddress: ({ request, options }: _CosmosDistributionV1beta1Queryrpc.UseDelegatorWithdrawAddressQuery) => import("@tanstack/react-query").UseQueryResult; - useCommunityPool: ({ request, options }: _CosmosDistributionV1beta1Queryrpc.UseCommunityPoolQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - evidence: { - v1beta1: { - useEvidence: ({ request, options }: _CosmosEvidenceV1beta1Queryrpc.UseEvidenceQuery) => import("@tanstack/react-query").UseQueryResult; - useAllEvidence: ({ request, options }: _CosmosEvidenceV1beta1Queryrpc.UseAllEvidenceQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - feegrant: { - v1beta1: { - useAllowance: ({ request, options }: _CosmosFeegrantV1beta1Queryrpc.UseAllowanceQuery) => import("@tanstack/react-query").UseQueryResult; - useAllowances: ({ request, options }: _CosmosFeegrantV1beta1Queryrpc.UseAllowancesQuery) => import("@tanstack/react-query").UseQueryResult; - useAllowancesByGranter: ({ request, options }: _CosmosFeegrantV1beta1Queryrpc.UseAllowancesByGranterQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - gov: { - v1: { - useProposal: ({ request, options }: _CosmosGovV1Queryrpc.UseProposalQuery) => import("@tanstack/react-query").UseQueryResult; - useProposals: ({ request, options }: _CosmosGovV1Queryrpc.UseProposalsQuery) => import("@tanstack/react-query").UseQueryResult; - useVote: ({ request, options }: _CosmosGovV1Queryrpc.UseVoteQuery) => import("@tanstack/react-query").UseQueryResult; - useVotes: ({ request, options }: _CosmosGovV1Queryrpc.UseVotesQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _CosmosGovV1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useDeposit: ({ request, options }: _CosmosGovV1Queryrpc.UseDepositQuery) => import("@tanstack/react-query").UseQueryResult; - useDeposits: ({ request, options }: _CosmosGovV1Queryrpc.UseDepositsQuery) => import("@tanstack/react-query").UseQueryResult; - useTallyResult: ({ request, options }: _CosmosGovV1Queryrpc.UseTallyResultQuery) => import("@tanstack/react-query").UseQueryResult; - }; - v1beta1: { - useProposal: ({ request, options }: _CosmosGovV1beta1Queryrpc.UseProposalQuery) => import("@tanstack/react-query").UseQueryResult; - useProposals: ({ request, options }: _CosmosGovV1beta1Queryrpc.UseProposalsQuery) => import("@tanstack/react-query").UseQueryResult; - useVote: ({ request, options }: _CosmosGovV1beta1Queryrpc.UseVoteQuery) => import("@tanstack/react-query").UseQueryResult; - useVotes: ({ request, options }: _CosmosGovV1beta1Queryrpc.UseVotesQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _CosmosGovV1beta1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useDeposit: ({ request, options }: _CosmosGovV1beta1Queryrpc.UseDepositQuery) => import("@tanstack/react-query").UseQueryResult; - useDeposits: ({ request, options }: _CosmosGovV1beta1Queryrpc.UseDepositsQuery) => import("@tanstack/react-query").UseQueryResult; - useTallyResult: ({ request, options }: _CosmosGovV1beta1Queryrpc.UseTallyResultQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - group: { - v1: { - useGroupInfo: ({ request, options }: _CosmosGroupV1Queryrpc.UseGroupInfoQuery) => import("@tanstack/react-query").UseQueryResult; - useGroupPolicyInfo: ({ request, options }: _CosmosGroupV1Queryrpc.UseGroupPolicyInfoQuery) => import("@tanstack/react-query").UseQueryResult; - useGroupMembers: ({ request, options }: _CosmosGroupV1Queryrpc.UseGroupMembersQuery) => import("@tanstack/react-query").UseQueryResult; - useGroupsByAdmin: ({ request, options }: _CosmosGroupV1Queryrpc.UseGroupsByAdminQuery) => import("@tanstack/react-query").UseQueryResult; - useGroupPoliciesByGroup: ({ request, options }: _CosmosGroupV1Queryrpc.UseGroupPoliciesByGroupQuery) => import("@tanstack/react-query").UseQueryResult; - useGroupPoliciesByAdmin: ({ request, options }: _CosmosGroupV1Queryrpc.UseGroupPoliciesByAdminQuery) => import("@tanstack/react-query").UseQueryResult; - useProposal: ({ request, options }: _CosmosGroupV1Queryrpc.UseProposalQuery) => import("@tanstack/react-query").UseQueryResult; - useProposalsByGroupPolicy: ({ request, options }: _CosmosGroupV1Queryrpc.UseProposalsByGroupPolicyQuery) => import("@tanstack/react-query").UseQueryResult; - useVoteByProposalVoter: ({ request, options }: _CosmosGroupV1Queryrpc.UseVoteByProposalVoterQuery) => import("@tanstack/react-query").UseQueryResult; - useVotesByProposal: ({ request, options }: _CosmosGroupV1Queryrpc.UseVotesByProposalQuery) => import("@tanstack/react-query").UseQueryResult; - useVotesByVoter: ({ request, options }: _CosmosGroupV1Queryrpc.UseVotesByVoterQuery) => import("@tanstack/react-query").UseQueryResult; - useGroupsByMember: ({ request, options }: _CosmosGroupV1Queryrpc.UseGroupsByMemberQuery) => import("@tanstack/react-query").UseQueryResult; - useTallyResult: ({ request, options }: _CosmosGroupV1Queryrpc.UseTallyResultQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - mint: { - v1beta1: { - useParams: ({ request, options }: _CosmosMintV1beta1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useInflation: ({ request, options }: _CosmosMintV1beta1Queryrpc.UseInflationQuery) => import("@tanstack/react-query").UseQueryResult; - useAnnualProvisions: ({ request, options }: _CosmosMintV1beta1Queryrpc.UseAnnualProvisionsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - nft: { - v1beta1: { - useBalance: ({ request, options }: _CosmosNftV1beta1Queryrpc.UseBalanceQuery) => import("@tanstack/react-query").UseQueryResult; - useOwner: ({ request, options }: _CosmosNftV1beta1Queryrpc.UseOwnerQuery) => import("@tanstack/react-query").UseQueryResult; - useSupply: ({ request, options }: _CosmosNftV1beta1Queryrpc.UseSupplyQuery) => import("@tanstack/react-query").UseQueryResult; - useNFTs: ({ request, options }: _CosmosNftV1beta1Queryrpc.UseNFTsQuery) => import("@tanstack/react-query").UseQueryResult; - useNFT: ({ request, options }: _CosmosNftV1beta1Queryrpc.UseNFTQuery) => import("@tanstack/react-query").UseQueryResult; - useClass: ({ request, options }: _CosmosNftV1beta1Queryrpc.UseClassQuery) => import("@tanstack/react-query").UseQueryResult; - useClasses: ({ request, options }: _CosmosNftV1beta1Queryrpc.UseClassesQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - params: { - v1beta1: { - useParams: ({ request, options }: _CosmosParamsV1beta1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useSubspaces: ({ request, options }: _CosmosParamsV1beta1Queryrpc.UseSubspacesQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - slashing: { - v1beta1: { - useParams: ({ request, options }: _CosmosSlashingV1beta1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useSigningInfo: ({ request, options }: _CosmosSlashingV1beta1Queryrpc.UseSigningInfoQuery) => import("@tanstack/react-query").UseQueryResult; - useSigningInfos: ({ request, options }: _CosmosSlashingV1beta1Queryrpc.UseSigningInfosQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - staking: { - v1beta1: { - useValidators: ({ request, options }: _CosmosStakingV1beta1Queryrpc.UseValidatorsQuery) => import("@tanstack/react-query").UseQueryResult; - useValidator: ({ request, options }: _CosmosStakingV1beta1Queryrpc.UseValidatorQuery) => import("@tanstack/react-query").UseQueryResult; - useValidatorDelegations: ({ request, options }: _CosmosStakingV1beta1Queryrpc.UseValidatorDelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - useValidatorUnbondingDelegations: ({ request, options }: _CosmosStakingV1beta1Queryrpc.UseValidatorUnbondingDelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegation: ({ request, options }: _CosmosStakingV1beta1Queryrpc.UseDelegationQuery) => import("@tanstack/react-query").UseQueryResult; - useUnbondingDelegation: ({ request, options }: _CosmosStakingV1beta1Queryrpc.UseUnbondingDelegationQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegatorDelegations: ({ request, options }: _CosmosStakingV1beta1Queryrpc.UseDelegatorDelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegatorUnbondingDelegations: ({ request, options }: _CosmosStakingV1beta1Queryrpc.UseDelegatorUnbondingDelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - useRedelegations: ({ request, options }: _CosmosStakingV1beta1Queryrpc.UseRedelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegatorValidators: ({ request, options }: _CosmosStakingV1beta1Queryrpc.UseDelegatorValidatorsQuery) => import("@tanstack/react-query").UseQueryResult; - useDelegatorValidator: ({ request, options }: _CosmosStakingV1beta1Queryrpc.UseDelegatorValidatorQuery) => import("@tanstack/react-query").UseQueryResult; - useHistoricalInfo: ({ request, options }: _CosmosStakingV1beta1Queryrpc.UseHistoricalInfoQuery) => import("@tanstack/react-query").UseQueryResult; - usePool: ({ request, options }: _CosmosStakingV1beta1Queryrpc.UsePoolQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _CosmosStakingV1beta1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - tx: { - v1beta1: { - useSimulate: ({ request, options }: _CosmosTxV1beta1Servicerpc.UseSimulateQuery) => import("@tanstack/react-query").UseQueryResult; - useGetTx: ({ request, options }: _CosmosTxV1beta1Servicerpc.UseGetTxQuery) => import("@tanstack/react-query").UseQueryResult; - useBroadcastTx: ({ request, options }: _CosmosTxV1beta1Servicerpc.UseBroadcastTxQuery) => import("@tanstack/react-query").UseQueryResult; - useGetTxsEvent: ({ request, options }: _CosmosTxV1beta1Servicerpc.UseGetTxsEventQuery) => import("@tanstack/react-query").UseQueryResult; - useGetBlockWithTxs: ({ request, options }: _CosmosTxV1beta1Servicerpc.UseGetBlockWithTxsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - upgrade: { - v1beta1: { - useCurrentPlan: ({ request, options }: _CosmosUpgradeV1beta1Queryrpc.UseCurrentPlanQuery) => import("@tanstack/react-query").UseQueryResult; - useAppliedPlan: ({ request, options }: _CosmosUpgradeV1beta1Queryrpc.UseAppliedPlanQuery) => import("@tanstack/react-query").UseQueryResult; - useUpgradedConsensusState: ({ request, options }: _CosmosUpgradeV1beta1Queryrpc.UseUpgradedConsensusStateQuery) => import("@tanstack/react-query").UseQueryResult; - useModuleVersions: ({ request, options }: _CosmosUpgradeV1beta1Queryrpc.UseModuleVersionsQuery) => import("@tanstack/react-query").UseQueryResult; - useAuthority: ({ request, options }: _CosmosUpgradeV1beta1Queryrpc.UseAuthorityQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - }; - cosmwasm: { - wasm: { - v1: { - useContractInfo: ({ request, options }: _CosmwasmWasmV1Queryrpc.UseContractInfoQuery) => import("@tanstack/react-query").UseQueryResult; - useContractHistory: ({ request, options }: _CosmwasmWasmV1Queryrpc.UseContractHistoryQuery) => import("@tanstack/react-query").UseQueryResult; - useContractsByCode: ({ request, options }: _CosmwasmWasmV1Queryrpc.UseContractsByCodeQuery) => import("@tanstack/react-query").UseQueryResult; - useAllContractState: ({ request, options }: _CosmwasmWasmV1Queryrpc.UseAllContractStateQuery) => import("@tanstack/react-query").UseQueryResult; - useRawContractState: ({ request, options }: _CosmwasmWasmV1Queryrpc.UseRawContractStateQuery) => import("@tanstack/react-query").UseQueryResult; - useSmartContractState: ({ request, options }: _CosmwasmWasmV1Queryrpc.UseSmartContractStateQuery) => import("@tanstack/react-query").UseQueryResult; - useCode: ({ request, options }: _CosmwasmWasmV1Queryrpc.UseCodeQuery) => import("@tanstack/react-query").UseQueryResult; - useCodes: ({ request, options }: _CosmwasmWasmV1Queryrpc.UseCodesQuery) => import("@tanstack/react-query").UseQueryResult; - usePinnedCodes: ({ request, options }: _CosmwasmWasmV1Queryrpc.UsePinnedCodesQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - }; - ibc: { - applications: { - transfer: { - v1: { - useDenomTrace: ({ request, options }: _IbcApplicationsTransferV1Queryrpc.UseDenomTraceQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomTraces: ({ request, options }: _IbcApplicationsTransferV1Queryrpc.UseDenomTracesQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _IbcApplicationsTransferV1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - }; - core: { - channel: { - v1: { - useChannel: ({ request, options }: _IbcCoreChannelV1Queryrpc.UseChannelQuery) => import("@tanstack/react-query").UseQueryResult; - useChannels: ({ request, options }: _IbcCoreChannelV1Queryrpc.UseChannelsQuery) => import("@tanstack/react-query").UseQueryResult; - useConnectionChannels: ({ request, options }: _IbcCoreChannelV1Queryrpc.UseConnectionChannelsQuery) => import("@tanstack/react-query").UseQueryResult; - useChannelClientState: ({ request, options }: _IbcCoreChannelV1Queryrpc.UseChannelClientStateQuery) => import("@tanstack/react-query").UseQueryResult; - useChannelConsensusState: ({ request, options }: _IbcCoreChannelV1Queryrpc.UseChannelConsensusStateQuery) => import("@tanstack/react-query").UseQueryResult; - usePacketCommitment: ({ request, options }: _IbcCoreChannelV1Queryrpc.UsePacketCommitmentQuery) => import("@tanstack/react-query").UseQueryResult; - usePacketCommitments: ({ request, options }: _IbcCoreChannelV1Queryrpc.UsePacketCommitmentsQuery) => import("@tanstack/react-query").UseQueryResult; - usePacketReceipt: ({ request, options }: _IbcCoreChannelV1Queryrpc.UsePacketReceiptQuery) => import("@tanstack/react-query").UseQueryResult; - usePacketAcknowledgement: ({ request, options }: _IbcCoreChannelV1Queryrpc.UsePacketAcknowledgementQuery) => import("@tanstack/react-query").UseQueryResult; - usePacketAcknowledgements: ({ request, options }: _IbcCoreChannelV1Queryrpc.UsePacketAcknowledgementsQuery) => import("@tanstack/react-query").UseQueryResult; - useUnreceivedPackets: ({ request, options }: _IbcCoreChannelV1Queryrpc.UseUnreceivedPacketsQuery) => import("@tanstack/react-query").UseQueryResult; - useUnreceivedAcks: ({ request, options }: _IbcCoreChannelV1Queryrpc.UseUnreceivedAcksQuery) => import("@tanstack/react-query").UseQueryResult; - useNextSequenceReceive: ({ request, options }: _IbcCoreChannelV1Queryrpc.UseNextSequenceReceiveQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - client: { - v1: { - useClientState: ({ request, options }: _IbcCoreClientV1Queryrpc.UseClientStateQuery) => import("@tanstack/react-query").UseQueryResult; - useClientStates: ({ request, options }: _IbcCoreClientV1Queryrpc.UseClientStatesQuery) => import("@tanstack/react-query").UseQueryResult; - useConsensusState: ({ request, options }: _IbcCoreClientV1Queryrpc.UseConsensusStateQuery) => import("@tanstack/react-query").UseQueryResult; - useConsensusStates: ({ request, options }: _IbcCoreClientV1Queryrpc.UseConsensusStatesQuery) => import("@tanstack/react-query").UseQueryResult; - useClientStatus: ({ request, options }: _IbcCoreClientV1Queryrpc.UseClientStatusQuery) => import("@tanstack/react-query").UseQueryResult; - useClientParams: ({ request, options }: _IbcCoreClientV1Queryrpc.UseClientParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useUpgradedClientState: ({ request, options }: _IbcCoreClientV1Queryrpc.UseUpgradedClientStateQuery) => import("@tanstack/react-query").UseQueryResult; - useUpgradedConsensusState: ({ request, options }: _IbcCoreClientV1Queryrpc.UseUpgradedConsensusStateQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - connection: { - v1: { - useConnection: ({ request, options }: _IbcCoreConnectionV1Queryrpc.UseConnectionQuery) => import("@tanstack/react-query").UseQueryResult; - useConnections: ({ request, options }: _IbcCoreConnectionV1Queryrpc.UseConnectionsQuery) => import("@tanstack/react-query").UseQueryResult; - useClientConnections: ({ request, options }: _IbcCoreConnectionV1Queryrpc.UseClientConnectionsQuery) => import("@tanstack/react-query").UseQueryResult; - useConnectionClientState: ({ request, options }: _IbcCoreConnectionV1Queryrpc.UseConnectionClientStateQuery) => import("@tanstack/react-query").UseQueryResult; - useConnectionConsensusState: ({ request, options }: _IbcCoreConnectionV1Queryrpc.UseConnectionConsensusStateQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - port: { - v1: { - useAppVersion: ({ request, options }: _IbcCorePortV1Queryrpc.UseAppVersionQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - }; - }; - osmosis: { - claim: { - v1beta1: { - useModuleAccountBalance: ({ request, options }: _OsmosisClaimV1beta1Queryrpc.UseModuleAccountBalanceQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _OsmosisClaimV1beta1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useClaimRecord: ({ request, options }: _OsmosisClaimV1beta1Queryrpc.UseClaimRecordQuery) => import("@tanstack/react-query").UseQueryResult; - useClaimableForAction: ({ request, options }: _OsmosisClaimV1beta1Queryrpc.UseClaimableForActionQuery) => import("@tanstack/react-query").UseQueryResult; - useTotalClaimable: ({ request, options }: _OsmosisClaimV1beta1Queryrpc.UseTotalClaimableQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - epochs: { - v1beta1: { - useEpochInfos: ({ request, options }: _OsmosisEpochsQueryrpc.UseEpochInfosQuery) => import("@tanstack/react-query").UseQueryResult; - useCurrentEpoch: ({ request, options }: _OsmosisEpochsQueryrpc.UseCurrentEpochQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - gamm: { - v2: { - useSpotPrice: ({ request, options }: _OsmosisGammV2Queryrpc.UseSpotPriceQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - ibcratelimit: { - v1beta1: { - useParams: ({ request, options }: _OsmosisIbcratelimitV1beta1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - incentives: { - useModuleToDistributeCoins: ({ request, options }: _OsmosisIncentivesQueryrpc.UseModuleToDistributeCoinsQuery) => import("@tanstack/react-query").UseQueryResult; - useGaugeByID: ({ request, options }: _OsmosisIncentivesQueryrpc.UseGaugeByIDQuery) => import("@tanstack/react-query").UseQueryResult; - useGauges: ({ request, options }: _OsmosisIncentivesQueryrpc.UseGaugesQuery) => import("@tanstack/react-query").UseQueryResult; - useActiveGauges: ({ request, options }: _OsmosisIncentivesQueryrpc.UseActiveGaugesQuery) => import("@tanstack/react-query").UseQueryResult; - useActiveGaugesPerDenom: ({ request, options }: _OsmosisIncentivesQueryrpc.UseActiveGaugesPerDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useUpcomingGauges: ({ request, options }: _OsmosisIncentivesQueryrpc.UseUpcomingGaugesQuery) => import("@tanstack/react-query").UseQueryResult; - useUpcomingGaugesPerDenom: ({ request, options }: _OsmosisIncentivesQueryrpc.UseUpcomingGaugesPerDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useRewardsEst: ({ request, options }: _OsmosisIncentivesQueryrpc.UseRewardsEstQuery) => import("@tanstack/react-query").UseQueryResult; - useLockableDurations: ({ request, options }: _OsmosisIncentivesQueryrpc.UseLockableDurationsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - lockup: { - useModuleBalance: ({ request, options }: _OsmosisLockupQueryrpc.UseModuleBalanceQuery) => import("@tanstack/react-query").UseQueryResult; - useModuleLockedAmount: ({ request, options }: _OsmosisLockupQueryrpc.UseModuleLockedAmountQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountUnlockableCoins: ({ request, options }: _OsmosisLockupQueryrpc.UseAccountUnlockableCoinsQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountUnlockingCoins: ({ request, options }: _OsmosisLockupQueryrpc.UseAccountUnlockingCoinsQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedCoins: ({ request, options }: _OsmosisLockupQueryrpc.UseAccountLockedCoinsQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedPastTime: ({ request, options }: _OsmosisLockupQueryrpc.UseAccountLockedPastTimeQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedPastTimeNotUnlockingOnly: ({ request, options }: _OsmosisLockupQueryrpc.UseAccountLockedPastTimeNotUnlockingOnlyQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountUnlockedBeforeTime: ({ request, options }: _OsmosisLockupQueryrpc.UseAccountUnlockedBeforeTimeQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedPastTimeDenom: ({ request, options }: _OsmosisLockupQueryrpc.UseAccountLockedPastTimeDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useLockedDenom: ({ request, options }: _OsmosisLockupQueryrpc.UseLockedDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useLockedByID: ({ request, options }: _OsmosisLockupQueryrpc.UseLockedByIDQuery) => import("@tanstack/react-query").UseQueryResult; - useSyntheticLockupsByLockupID: ({ request, options }: _OsmosisLockupQueryrpc.UseSyntheticLockupsByLockupIDQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedLongerDuration: ({ request, options }: _OsmosisLockupQueryrpc.UseAccountLockedLongerDurationQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedDuration: ({ request, options }: _OsmosisLockupQueryrpc.UseAccountLockedDurationQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedLongerDurationNotUnlockingOnly: ({ request, options }: _OsmosisLockupQueryrpc.UseAccountLockedLongerDurationNotUnlockingOnlyQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedLongerDurationDenom: ({ request, options }: _OsmosisLockupQueryrpc.UseAccountLockedLongerDurationDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _OsmosisLockupQueryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - mint: { - v1beta1: { - useParams: ({ request, options }: _OsmosisMintV1beta1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useEpochProvisions: ({ request, options }: _OsmosisMintV1beta1Queryrpc.UseEpochProvisionsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - poolincentives: { - v1beta1: { - useGaugeIds: ({ request, options }: _OsmosisPoolincentivesV1beta1Queryrpc.UseGaugeIdsQuery) => import("@tanstack/react-query").UseQueryResult; - useDistrInfo: ({ request, options }: _OsmosisPoolincentivesV1beta1Queryrpc.UseDistrInfoQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _OsmosisPoolincentivesV1beta1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useLockableDurations: ({ request, options }: _OsmosisPoolincentivesV1beta1Queryrpc.UseLockableDurationsQuery) => import("@tanstack/react-query").UseQueryResult; - useIncentivizedPools: ({ request, options }: _OsmosisPoolincentivesV1beta1Queryrpc.UseIncentivizedPoolsQuery) => import("@tanstack/react-query").UseQueryResult; - useExternalIncentiveGauges: ({ request, options }: _OsmosisPoolincentivesV1beta1Queryrpc.UseExternalIncentiveGaugesQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - superfluid: { - useParams: ({ request, options }: _OsmosisSuperfluidQueryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useAssetType: ({ request, options }: _OsmosisSuperfluidQueryrpc.UseAssetTypeQuery) => import("@tanstack/react-query").UseQueryResult; - useAllAssets: ({ request, options }: _OsmosisSuperfluidQueryrpc.UseAllAssetsQuery) => import("@tanstack/react-query").UseQueryResult; - useAssetMultiplier: ({ request, options }: _OsmosisSuperfluidQueryrpc.UseAssetMultiplierQuery) => import("@tanstack/react-query").UseQueryResult; - useAllIntermediaryAccounts: ({ request, options }: _OsmosisSuperfluidQueryrpc.UseAllIntermediaryAccountsQuery) => import("@tanstack/react-query").UseQueryResult; - useConnectedIntermediaryAccount: ({ request, options }: _OsmosisSuperfluidQueryrpc.UseConnectedIntermediaryAccountQuery) => import("@tanstack/react-query").UseQueryResult; - useTotalDelegationByValidatorForDenom: ({ request, options }: _OsmosisSuperfluidQueryrpc.UseTotalDelegationByValidatorForDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useTotalSuperfluidDelegations: ({ request, options }: _OsmosisSuperfluidQueryrpc.UseTotalSuperfluidDelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - useSuperfluidDelegationAmount: ({ request, options }: _OsmosisSuperfluidQueryrpc.UseSuperfluidDelegationAmountQuery) => import("@tanstack/react-query").UseQueryResult; - useSuperfluidDelegationsByDelegator: ({ request, options }: _OsmosisSuperfluidQueryrpc.UseSuperfluidDelegationsByDelegatorQuery) => import("@tanstack/react-query").UseQueryResult; - useSuperfluidUndelegationsByDelegator: ({ request, options }: _OsmosisSuperfluidQueryrpc.UseSuperfluidUndelegationsByDelegatorQuery) => import("@tanstack/react-query").UseQueryResult; - useSuperfluidDelegationsByValidatorDenom: ({ request, options }: _OsmosisSuperfluidQueryrpc.UseSuperfluidDelegationsByValidatorDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useEstimateSuperfluidDelegatedAmountByValidatorDenom: ({ request, options }: _OsmosisSuperfluidQueryrpc.UseEstimateSuperfluidDelegatedAmountByValidatorDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useTotalDelegationByDelegator: ({ request, options }: _OsmosisSuperfluidQueryrpc.UseTotalDelegationByDelegatorQuery) => import("@tanstack/react-query").UseQueryResult; - useUnpoolWhitelist: ({ request, options }: _OsmosisSuperfluidQueryrpc.UseUnpoolWhitelistQuery) => import("@tanstack/react-query").UseQueryResult; - }; - tokenfactory: { - v1beta1: { - useParams: ({ request, options }: _OsmosisTokenfactoryV1beta1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomAuthorityMetadata: ({ request, options }: _OsmosisTokenfactoryV1beta1Queryrpc.UseDenomAuthorityMetadataQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomsFromCreator: ({ request, options }: _OsmosisTokenfactoryV1beta1Queryrpc.UseDenomsFromCreatorQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - twap: { - v1beta1: { - useParams: ({ request, options }: _OsmosisTwapV1beta1Queryrpc.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useArithmeticTwap: ({ request, options }: _OsmosisTwapV1beta1Queryrpc.UseArithmeticTwapQuery) => import("@tanstack/react-query").UseQueryResult; - useArithmeticTwapToNow: ({ request, options }: _OsmosisTwapV1beta1Queryrpc.UseArithmeticTwapToNowQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - txfees: { - v1beta1: { - useFeeTokens: ({ request, options }: _OsmosisTxfeesV1beta1Queryrpc.UseFeeTokensQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomSpotPrice: ({ request, options }: _OsmosisTxfeesV1beta1Queryrpc.UseDenomSpotPriceQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomPoolId: ({ request, options }: _OsmosisTxfeesV1beta1Queryrpc.UseDenomPoolIdQuery) => import("@tanstack/react-query").UseQueryResult; - useBaseDenom: ({ request, options }: _OsmosisTxfeesV1beta1Queryrpc.UseBaseDenomQuery) => import("@tanstack/react-query").UseQueryResult; - }; - }; - }; -}; diff --git a/examples/authz/types/codegen/ibc/applications/transfer/v1/genesis.d.ts b/examples/authz/types/codegen/ibc/applications/transfer/v1/genesis.d.ts deleted file mode 100644 index 8c00c647..00000000 --- a/examples/authz/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { DenomTrace, DenomTraceAmino, DenomTraceSDKType, Params, ParamsAmino, ParamsSDKType } from "./transfer"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** GenesisState defines the ibc-transfer genesis state */ -export interface GenesisState { - portId: string; - denomTraces: DenomTrace[]; - params: Params | undefined; -} -export interface GenesisStateProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the ibc-transfer genesis state */ -export interface GenesisStateAmino { - port_id?: string; - denom_traces?: DenomTraceAmino[]; - params?: ParamsAmino | undefined; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the ibc-transfer genesis state */ -export interface GenesisStateSDKType { - port_id: string; - denom_traces: DenomTraceSDKType[]; - params: ParamsSDKType | undefined; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/applications/transfer/v1/query.d.ts b/examples/authz/types/codegen/ibc/applications/transfer/v1/query.d.ts deleted file mode 100644 index 8c813c73..00000000 --- a/examples/authz/types/codegen/ibc/applications/transfer/v1/query.d.ts +++ /dev/null @@ -1,298 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { DenomTrace, DenomTraceAmino, DenomTraceSDKType, Params, ParamsAmino, ParamsSDKType } from "./transfer"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC - * method - */ -export interface QueryDenomTraceRequest { - /** hash (in hex format) of the denomination trace information. */ - hash: string; -} -export interface QueryDenomTraceRequestProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryDenomTraceRequest"; - value: Uint8Array; -} -/** - * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC - * method - */ -export interface QueryDenomTraceRequestAmino { - /** hash (in hex format) of the denomination trace information. */ - hash?: string; -} -export interface QueryDenomTraceRequestAminoMsg { - type: "cosmos-sdk/QueryDenomTraceRequest"; - value: QueryDenomTraceRequestAmino; -} -/** - * QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC - * method - */ -export interface QueryDenomTraceRequestSDKType { - hash: string; -} -/** - * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC - * method. - */ -export interface QueryDenomTraceResponse { - /** denom_trace returns the requested denomination trace information. */ - denomTrace?: DenomTrace | undefined; -} -export interface QueryDenomTraceResponseProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryDenomTraceResponse"; - value: Uint8Array; -} -/** - * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC - * method. - */ -export interface QueryDenomTraceResponseAmino { - /** denom_trace returns the requested denomination trace information. */ - denom_trace?: DenomTraceAmino | undefined; -} -export interface QueryDenomTraceResponseAminoMsg { - type: "cosmos-sdk/QueryDenomTraceResponse"; - value: QueryDenomTraceResponseAmino; -} -/** - * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC - * method. - */ -export interface QueryDenomTraceResponseSDKType { - denom_trace?: DenomTraceSDKType | undefined; -} -/** - * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC - * method - */ -export interface QueryDenomTracesRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest | undefined; -} -export interface QueryDenomTracesRequestProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryDenomTracesRequest"; - value: Uint8Array; -} -/** - * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC - * method - */ -export interface QueryDenomTracesRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryDenomTracesRequestAminoMsg { - type: "cosmos-sdk/QueryDenomTracesRequest"; - value: QueryDenomTracesRequestAmino; -} -/** - * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC - * method - */ -export interface QueryDenomTracesRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC - * method. - */ -export interface QueryDenomTracesResponse { - /** denom_traces returns all denominations trace information. */ - denomTraces: DenomTrace[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse | undefined; -} -export interface QueryDenomTracesResponseProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryDenomTracesResponse"; - value: Uint8Array; -} -/** - * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC - * method. - */ -export interface QueryDenomTracesResponseAmino { - /** denom_traces returns all denominations trace information. */ - denom_traces?: DenomTraceAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryDenomTracesResponseAminoMsg { - type: "cosmos-sdk/QueryDenomTracesResponse"; - value: QueryDenomTracesResponseAmino; -} -/** - * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC - * method. - */ -export interface QueryDenomTracesResponseSDKType { - denom_traces: DenomTraceSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params?: Params | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType | undefined; -} -export declare const QueryDenomTraceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomTraceRequest; - isSDK(o: any): o is QueryDenomTraceRequestSDKType; - isAmino(o: any): o is QueryDenomTraceRequestAmino; - encode(message: QueryDenomTraceRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomTraceRequest; - fromJSON(object: any): QueryDenomTraceRequest; - toJSON(message: QueryDenomTraceRequest): unknown; - fromPartial(object: DeepPartial): QueryDenomTraceRequest; - fromSDK(object: QueryDenomTraceRequestSDKType): QueryDenomTraceRequest; - toSDK(message: QueryDenomTraceRequest): QueryDenomTraceRequestSDKType; - fromAmino(object: QueryDenomTraceRequestAmino): QueryDenomTraceRequest; - toAmino(message: QueryDenomTraceRequest): QueryDenomTraceRequestAmino; - fromAminoMsg(object: QueryDenomTraceRequestAminoMsg): QueryDenomTraceRequest; - toAminoMsg(message: QueryDenomTraceRequest): QueryDenomTraceRequestAminoMsg; - fromProtoMsg(message: QueryDenomTraceRequestProtoMsg): QueryDenomTraceRequest; - toProto(message: QueryDenomTraceRequest): Uint8Array; - toProtoMsg(message: QueryDenomTraceRequest): QueryDenomTraceRequestProtoMsg; -}; -export declare const QueryDenomTraceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomTraceResponse; - isSDK(o: any): o is QueryDenomTraceResponseSDKType; - isAmino(o: any): o is QueryDenomTraceResponseAmino; - encode(message: QueryDenomTraceResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomTraceResponse; - fromJSON(object: any): QueryDenomTraceResponse; - toJSON(message: QueryDenomTraceResponse): unknown; - fromPartial(object: DeepPartial): QueryDenomTraceResponse; - fromSDK(object: QueryDenomTraceResponseSDKType): QueryDenomTraceResponse; - toSDK(message: QueryDenomTraceResponse): QueryDenomTraceResponseSDKType; - fromAmino(object: QueryDenomTraceResponseAmino): QueryDenomTraceResponse; - toAmino(message: QueryDenomTraceResponse): QueryDenomTraceResponseAmino; - fromAminoMsg(object: QueryDenomTraceResponseAminoMsg): QueryDenomTraceResponse; - toAminoMsg(message: QueryDenomTraceResponse): QueryDenomTraceResponseAminoMsg; - fromProtoMsg(message: QueryDenomTraceResponseProtoMsg): QueryDenomTraceResponse; - toProto(message: QueryDenomTraceResponse): Uint8Array; - toProtoMsg(message: QueryDenomTraceResponse): QueryDenomTraceResponseProtoMsg; -}; -export declare const QueryDenomTracesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomTracesRequest; - isSDK(o: any): o is QueryDenomTracesRequestSDKType; - isAmino(o: any): o is QueryDenomTracesRequestAmino; - encode(message: QueryDenomTracesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomTracesRequest; - fromJSON(object: any): QueryDenomTracesRequest; - toJSON(message: QueryDenomTracesRequest): unknown; - fromPartial(object: DeepPartial): QueryDenomTracesRequest; - fromSDK(object: QueryDenomTracesRequestSDKType): QueryDenomTracesRequest; - toSDK(message: QueryDenomTracesRequest): QueryDenomTracesRequestSDKType; - fromAmino(object: QueryDenomTracesRequestAmino): QueryDenomTracesRequest; - toAmino(message: QueryDenomTracesRequest): QueryDenomTracesRequestAmino; - fromAminoMsg(object: QueryDenomTracesRequestAminoMsg): QueryDenomTracesRequest; - toAminoMsg(message: QueryDenomTracesRequest): QueryDenomTracesRequestAminoMsg; - fromProtoMsg(message: QueryDenomTracesRequestProtoMsg): QueryDenomTracesRequest; - toProto(message: QueryDenomTracesRequest): Uint8Array; - toProtoMsg(message: QueryDenomTracesRequest): QueryDenomTracesRequestProtoMsg; -}; -export declare const QueryDenomTracesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomTracesResponse; - isSDK(o: any): o is QueryDenomTracesResponseSDKType; - isAmino(o: any): o is QueryDenomTracesResponseAmino; - encode(message: QueryDenomTracesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomTracesResponse; - fromJSON(object: any): QueryDenomTracesResponse; - toJSON(message: QueryDenomTracesResponse): unknown; - fromPartial(object: DeepPartial): QueryDenomTracesResponse; - fromSDK(object: QueryDenomTracesResponseSDKType): QueryDenomTracesResponse; - toSDK(message: QueryDenomTracesResponse): QueryDenomTracesResponseSDKType; - fromAmino(object: QueryDenomTracesResponseAmino): QueryDenomTracesResponse; - toAmino(message: QueryDenomTracesResponse): QueryDenomTracesResponseAmino; - fromAminoMsg(object: QueryDenomTracesResponseAminoMsg): QueryDenomTracesResponse; - toAminoMsg(message: QueryDenomTracesResponse): QueryDenomTracesResponseAminoMsg; - fromProtoMsg(message: QueryDenomTracesResponseProtoMsg): QueryDenomTracesResponse; - toProto(message: QueryDenomTracesResponse): Uint8Array; - toProtoMsg(message: QueryDenomTracesResponse): QueryDenomTracesResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: DeepPartial): QueryParamsRequest; - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts b/examples/authz/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts deleted file mode 100644 index 57b64ecc..00000000 --- a/examples/authz/types/codegen/ibc/applications/transfer/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { TxRpc } from "../../../../types"; -import { ReactQueryParams } from "../../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../../mobx"; -import { QueryDenomTraceRequest, QueryDenomTraceResponse, QueryDenomTracesRequest, QueryDenomTracesResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; -/** Query provides defines the gRPC querier service. */ -export interface Query { - /** DenomTrace queries a denomination trace information. */ - denomTrace(request: QueryDenomTraceRequest): Promise; - /** DenomTraces queries all denomination traces. */ - denomTraces(request?: QueryDenomTracesRequest): Promise; - /** Params queries all parameters of the ibc-transfer module. */ - params(request?: QueryParamsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - denomTrace: (request: QueryDenomTraceRequest) => Promise; - denomTraces: (request?: QueryDenomTracesRequest) => Promise; - params: (request?: QueryParamsRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseDenomTraceQuery extends ReactQueryParams { - request: QueryDenomTraceRequest; -} -export interface UseDenomTracesQuery extends ReactQueryParams { - request?: QueryDenomTracesRequest; -} -export interface UseParamsQuery extends ReactQueryParams { - request?: QueryParamsRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** DenomTrace queries a denomination trace information. */ useDenomTrace: ({ request, options }: UseDenomTraceQuery) => import("@tanstack/react-query").UseQueryResult; - /** DenomTraces queries all denomination traces. */ useDenomTraces: ({ request, options }: UseDenomTracesQuery) => import("@tanstack/react-query").UseQueryResult; - /** Params queries all parameters of the ibc-transfer module. */ useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** DenomTrace queries a denomination trace information. */ QueryDenomTraceStore: { - new (): { - store: QueryStore; - denomTrace(request: QueryDenomTraceRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** DenomTraces queries all denomination traces. */ QueryDenomTracesStore: { - new (): { - store: QueryStore; - denomTraces(request: QueryDenomTracesRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** Params queries all parameters of the ibc-transfer module. */ QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/ibc/applications/transfer/v1/transfer.d.ts b/examples/authz/types/codegen/ibc/applications/transfer/v1/transfer.d.ts deleted file mode 100644 index 49f73bc7..00000000 --- a/examples/authz/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +++ /dev/null @@ -1,140 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * DenomTrace contains the base denomination for ICS20 fungible tokens and the - * source tracing information path. - */ -export interface DenomTrace { - /** - * path defines the chain of port/channel identifiers used for tracing the - * source of the fungible token. - */ - path: string; - /** base denomination of the relayed fungible token. */ - baseDenom: string; -} -export interface DenomTraceProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.DenomTrace"; - value: Uint8Array; -} -/** - * DenomTrace contains the base denomination for ICS20 fungible tokens and the - * source tracing information path. - */ -export interface DenomTraceAmino { - /** - * path defines the chain of port/channel identifiers used for tracing the - * source of the fungible token. - */ - path?: string; - /** base denomination of the relayed fungible token. */ - base_denom?: string; -} -export interface DenomTraceAminoMsg { - type: "cosmos-sdk/DenomTrace"; - value: DenomTraceAmino; -} -/** - * DenomTrace contains the base denomination for ICS20 fungible tokens and the - * source tracing information path. - */ -export interface DenomTraceSDKType { - path: string; - base_denom: string; -} -/** - * Params defines the set of IBC transfer parameters. - * NOTE: To prevent a single token from being transferred, set the - * TransfersEnabled parameter to true and then set the bank module's SendEnabled - * parameter for the denomination to false. - */ -export interface Params { - /** - * send_enabled enables or disables all cross-chain token transfers from this - * chain. - */ - sendEnabled: boolean; - /** - * receive_enabled enables or disables all cross-chain token transfers to this - * chain. - */ - receiveEnabled: boolean; -} -export interface ParamsProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.Params"; - value: Uint8Array; -} -/** - * Params defines the set of IBC transfer parameters. - * NOTE: To prevent a single token from being transferred, set the - * TransfersEnabled parameter to true and then set the bank module's SendEnabled - * parameter for the denomination to false. - */ -export interface ParamsAmino { - /** - * send_enabled enables or disables all cross-chain token transfers from this - * chain. - */ - send_enabled?: boolean; - /** - * receive_enabled enables or disables all cross-chain token transfers to this - * chain. - */ - receive_enabled?: boolean; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** - * Params defines the set of IBC transfer parameters. - * NOTE: To prevent a single token from being transferred, set the - * TransfersEnabled parameter to true and then set the bank module's SendEnabled - * parameter for the denomination to false. - */ -export interface ParamsSDKType { - send_enabled: boolean; - receive_enabled: boolean; -} -export declare const DenomTrace: { - typeUrl: string; - aminoType: string; - is(o: any): o is DenomTrace; - isSDK(o: any): o is DenomTraceSDKType; - isAmino(o: any): o is DenomTraceAmino; - encode(message: DenomTrace, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DenomTrace; - fromJSON(object: any): DenomTrace; - toJSON(message: DenomTrace): unknown; - fromPartial(object: DeepPartial): DenomTrace; - fromSDK(object: DenomTraceSDKType): DenomTrace; - toSDK(message: DenomTrace): DenomTraceSDKType; - fromAmino(object: DenomTraceAmino): DenomTrace; - toAmino(message: DenomTrace): DenomTraceAmino; - fromAminoMsg(object: DenomTraceAminoMsg): DenomTrace; - toAminoMsg(message: DenomTrace): DenomTraceAminoMsg; - fromProtoMsg(message: DenomTraceProtoMsg): DenomTrace; - toProto(message: DenomTrace): Uint8Array; - toProtoMsg(message: DenomTrace): DenomTraceProtoMsg; -}; -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts b/examples/authz/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts deleted file mode 100644 index 7bd64477..00000000 --- a/examples/authz/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgTransfer } from "./tx"; -export declare const AminoConverter: { - "/ibc.applications.transfer.v1.MsgTransfer": { - aminoType: string; - toAmino: (message: MsgTransfer) => import("./tx").MsgTransferAmino; - fromAmino: (object: import("./tx").MsgTransferAmino) => MsgTransfer; - }; -}; diff --git a/examples/authz/types/codegen/ibc/applications/transfer/v1/tx.d.ts b/examples/authz/types/codegen/ibc/applications/transfer/v1/tx.d.ts deleted file mode 100644 index 81f64d62..00000000 --- a/examples/authz/types/codegen/ibc/applications/transfer/v1/tx.d.ts +++ /dev/null @@ -1,139 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; -import { Height, HeightAmino, HeightSDKType } from "../../../core/client/v1/client"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between - * ICS20 enabled chains. See ICS Spec here: - * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures - */ -export interface MsgTransfer { - /** the port on which the packet will be sent */ - sourcePort: string; - /** the channel by which the packet will be sent */ - sourceChannel: string; - /** the tokens to be transferred */ - token: Coin | undefined; - /** the sender address */ - sender: string; - /** the recipient address on the destination chain */ - receiver: string; - /** - * Timeout height relative to the current block height. - * The timeout is disabled when set to 0. - */ - timeoutHeight: Height | undefined; - /** - * Timeout timestamp (in nanoseconds) relative to the current block timestamp. - * The timeout is disabled when set to 0. - */ - timeoutTimestamp: bigint; -} -export interface MsgTransferProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.MsgTransfer"; - value: Uint8Array; -} -/** - * MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between - * ICS20 enabled chains. See ICS Spec here: - * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures - */ -export interface MsgTransferAmino { - /** the port on which the packet will be sent */ - source_port?: string; - /** the channel by which the packet will be sent */ - source_channel?: string; - /** the tokens to be transferred */ - token?: CoinAmino | undefined; - /** the sender address */ - sender?: string; - /** the recipient address on the destination chain */ - receiver?: string; - /** - * Timeout height relative to the current block height. - * The timeout is disabled when set to 0. - */ - timeout_height?: HeightAmino | undefined; - /** - * Timeout timestamp (in nanoseconds) relative to the current block timestamp. - * The timeout is disabled when set to 0. - */ - timeout_timestamp?: string; -} -export interface MsgTransferAminoMsg { - type: "cosmos-sdk/MsgTransfer"; - value: MsgTransferAmino; -} -/** - * MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between - * ICS20 enabled chains. See ICS Spec here: - * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures - */ -export interface MsgTransferSDKType { - source_port: string; - source_channel: string; - token: CoinSDKType | undefined; - sender: string; - receiver: string; - timeout_height: HeightSDKType | undefined; - timeout_timestamp: bigint; -} -/** MsgTransferResponse defines the Msg/Transfer response type. */ -export interface MsgTransferResponse { -} -export interface MsgTransferResponseProtoMsg { - typeUrl: "/ibc.applications.transfer.v1.MsgTransferResponse"; - value: Uint8Array; -} -/** MsgTransferResponse defines the Msg/Transfer response type. */ -export interface MsgTransferResponseAmino { -} -export interface MsgTransferResponseAminoMsg { - type: "cosmos-sdk/MsgTransferResponse"; - value: MsgTransferResponseAmino; -} -/** MsgTransferResponse defines the Msg/Transfer response type. */ -export interface MsgTransferResponseSDKType { -} -export declare const MsgTransfer: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgTransfer; - isSDK(o: any): o is MsgTransferSDKType; - isAmino(o: any): o is MsgTransferAmino; - encode(message: MsgTransfer, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgTransfer; - fromJSON(object: any): MsgTransfer; - toJSON(message: MsgTransfer): unknown; - fromPartial(object: DeepPartial): MsgTransfer; - fromSDK(object: MsgTransferSDKType): MsgTransfer; - toSDK(message: MsgTransfer): MsgTransferSDKType; - fromAmino(object: MsgTransferAmino): MsgTransfer; - toAmino(message: MsgTransfer): MsgTransferAmino; - fromAminoMsg(object: MsgTransferAminoMsg): MsgTransfer; - toAminoMsg(message: MsgTransfer): MsgTransferAminoMsg; - fromProtoMsg(message: MsgTransferProtoMsg): MsgTransfer; - toProto(message: MsgTransfer): Uint8Array; - toProtoMsg(message: MsgTransfer): MsgTransferProtoMsg; -}; -export declare const MsgTransferResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgTransferResponse; - isSDK(o: any): o is MsgTransferResponseSDKType; - isAmino(o: any): o is MsgTransferResponseAmino; - encode(_: MsgTransferResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgTransferResponse; - fromJSON(_: any): MsgTransferResponse; - toJSON(_: MsgTransferResponse): unknown; - fromPartial(_: DeepPartial): MsgTransferResponse; - fromSDK(_: MsgTransferResponseSDKType): MsgTransferResponse; - toSDK(_: MsgTransferResponse): MsgTransferResponseSDKType; - fromAmino(_: MsgTransferResponseAmino): MsgTransferResponse; - toAmino(_: MsgTransferResponse): MsgTransferResponseAmino; - fromAminoMsg(object: MsgTransferResponseAminoMsg): MsgTransferResponse; - toAminoMsg(message: MsgTransferResponse): MsgTransferResponseAminoMsg; - fromProtoMsg(message: MsgTransferResponseProtoMsg): MsgTransferResponse; - toProto(message: MsgTransferResponse): Uint8Array; - toProtoMsg(message: MsgTransferResponse): MsgTransferResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts b/examples/authz/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts deleted file mode 100644 index e14ee539..00000000 --- a/examples/authz/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { TelescopeGeneratedType } from "../../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgTransfer } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - transfer(value: MsgTransfer): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - transfer(value: MsgTransfer): { - typeUrl: string; - value: MsgTransfer; - }; - }; - toJSON: { - transfer(value: MsgTransfer): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - transfer(value: any): { - typeUrl: string; - value: MsgTransfer; - }; - }; - fromPartial: { - transfer(value: MsgTransfer): { - typeUrl: string; - value: MsgTransfer; - }; - }; -}; diff --git a/examples/authz/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts deleted file mode 100644 index 72cf0871..00000000 --- a/examples/authz/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../../types"; -import { MsgTransfer } from "./tx"; -/** Msg defines the ibc/transfer Msg service. */ -export interface Msg { - /** Transfer defines a rpc handler method for MsgTransfer. */ - transfer(signerAddress: string, message: MsgTransfer, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - transfer: (signerAddress: string, message: MsgTransfer, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/ibc/applications/transfer/v2/packet.d.ts b/examples/authz/types/codegen/ibc/applications/transfer/v2/packet.d.ts deleted file mode 100644 index 15fd7561..00000000 --- a/examples/authz/types/codegen/ibc/applications/transfer/v2/packet.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * FungibleTokenPacketData defines a struct for the packet payload - * See FungibleTokenPacketData spec: - * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures - */ -export interface FungibleTokenPacketData { - /** the token denomination to be transferred */ - denom: string; - /** the token amount to be transferred */ - amount: string; - /** the sender address */ - sender: string; - /** the recipient address on the destination chain */ - receiver: string; -} -export interface FungibleTokenPacketDataProtoMsg { - typeUrl: "/ibc.applications.transfer.v2.FungibleTokenPacketData"; - value: Uint8Array; -} -/** - * FungibleTokenPacketData defines a struct for the packet payload - * See FungibleTokenPacketData spec: - * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures - */ -export interface FungibleTokenPacketDataAmino { - /** the token denomination to be transferred */ - denom?: string; - /** the token amount to be transferred */ - amount?: string; - /** the sender address */ - sender?: string; - /** the recipient address on the destination chain */ - receiver?: string; -} -export interface FungibleTokenPacketDataAminoMsg { - type: "cosmos-sdk/FungibleTokenPacketData"; - value: FungibleTokenPacketDataAmino; -} -/** - * FungibleTokenPacketData defines a struct for the packet payload - * See FungibleTokenPacketData spec: - * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures - */ -export interface FungibleTokenPacketDataSDKType { - denom: string; - amount: string; - sender: string; - receiver: string; -} -export declare const FungibleTokenPacketData: { - typeUrl: string; - aminoType: string; - is(o: any): o is FungibleTokenPacketData; - isSDK(o: any): o is FungibleTokenPacketDataSDKType; - isAmino(o: any): o is FungibleTokenPacketDataAmino; - encode(message: FungibleTokenPacketData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): FungibleTokenPacketData; - fromJSON(object: any): FungibleTokenPacketData; - toJSON(message: FungibleTokenPacketData): unknown; - fromPartial(object: DeepPartial): FungibleTokenPacketData; - fromSDK(object: FungibleTokenPacketDataSDKType): FungibleTokenPacketData; - toSDK(message: FungibleTokenPacketData): FungibleTokenPacketDataSDKType; - fromAmino(object: FungibleTokenPacketDataAmino): FungibleTokenPacketData; - toAmino(message: FungibleTokenPacketData): FungibleTokenPacketDataAmino; - fromAminoMsg(object: FungibleTokenPacketDataAminoMsg): FungibleTokenPacketData; - toAminoMsg(message: FungibleTokenPacketData): FungibleTokenPacketDataAminoMsg; - fromProtoMsg(message: FungibleTokenPacketDataProtoMsg): FungibleTokenPacketData; - toProto(message: FungibleTokenPacketData): Uint8Array; - toProtoMsg(message: FungibleTokenPacketData): FungibleTokenPacketDataProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/bundle.d.ts b/examples/authz/types/codegen/ibc/bundle.d.ts deleted file mode 100644 index 107d3a26..00000000 --- a/examples/authz/types/codegen/ibc/bundle.d.ts +++ /dev/null @@ -1,6530 +0,0 @@ -import * as _108 from "./applications/transfer/v1/genesis"; -import * as _109 from "./applications/transfer/v1/query"; -import * as _110 from "./applications/transfer/v1/transfer"; -import * as _111 from "./applications/transfer/v1/tx"; -import * as _112 from "./applications/transfer/v2/packet"; -import * as _113 from "./core/channel/v1/channel"; -import * as _114 from "./core/channel/v1/genesis"; -import * as _115 from "./core/channel/v1/query"; -import * as _116 from "./core/channel/v1/tx"; -import * as _117 from "./core/client/v1/client"; -import * as _118 from "./core/client/v1/genesis"; -import * as _119 from "./core/client/v1/query"; -import * as _120 from "./core/client/v1/tx"; -import * as _121 from "./core/commitment/v1/commitment"; -import * as _122 from "./core/connection/v1/connection"; -import * as _123 from "./core/connection/v1/genesis"; -import * as _124 from "./core/connection/v1/query"; -import * as _125 from "./core/connection/v1/tx"; -import * as _126 from "./core/port/v1/query"; -import * as _127 from "./core/types/v1/genesis"; -import * as _128 from "./lightclients/localhost/v1/localhost"; -import * as _129 from "./lightclients/solomachine/v1/solomachine"; -import * as _130 from "./lightclients/solomachine/v2/solomachine"; -import * as _131 from "./lightclients/tendermint/v1/tendermint"; -import * as _262 from "./applications/transfer/v1/query.rpc.Query"; -import * as _263 from "./core/channel/v1/query.rpc.Query"; -import * as _264 from "./core/client/v1/query.rpc.Query"; -import * as _265 from "./core/connection/v1/query.rpc.Query"; -import * as _266 from "./core/port/v1/query.rpc.Query"; -import * as _267 from "./applications/transfer/v1/tx.rpc.msg"; -import * as _268 from "./core/channel/v1/tx.rpc.msg"; -import * as _269 from "./core/client/v1/tx.rpc.msg"; -import * as _270 from "./core/connection/v1/tx.rpc.msg"; -export declare namespace ibc { - namespace applications { - namespace transfer { - const v1: { - MsgClientImpl: typeof _267.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _267.MsgClientImpl; - QueryClientImpl: typeof _262.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useDenomTrace: ({ request, options }: _262.UseDenomTraceQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomTraces: ({ request, options }: _262.UseDenomTracesQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _262.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryDenomTraceStore: { - new (): { - store: import("..").QueryStore<_109.QueryDenomTraceRequest, _109.QueryDenomTraceResponse>; - denomTrace(request: _109.QueryDenomTraceRequest): import("..").MobxResponse<_109.QueryDenomTraceResponse>; - }; - }; - QueryDenomTracesStore: { - new (): { - store: import("..").QueryStore<_109.QueryDenomTracesRequest, _109.QueryDenomTracesResponse>; - denomTraces(request: _109.QueryDenomTracesRequest): import("..").MobxResponse<_109.QueryDenomTracesResponse>; - }; - }; - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_109.QueryParamsRequest, _109.QueryParamsResponse>; - params(request: _109.QueryParamsRequest): import("..").MobxResponse<_109.QueryParamsResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - transfer(value: _111.MsgTransfer): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - transfer(value: _111.MsgTransfer): { - typeUrl: string; - value: _111.MsgTransfer; - }; - }; - toJSON: { - transfer(value: _111.MsgTransfer): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - transfer(value: any): { - typeUrl: string; - value: _111.MsgTransfer; - }; - }; - fromPartial: { - transfer(value: _111.MsgTransfer): { - typeUrl: string; - value: _111.MsgTransfer; - }; - }; - }; - AminoConverter: { - "/ibc.applications.transfer.v1.MsgTransfer": { - aminoType: string; - toAmino: (message: _111.MsgTransfer) => _111.MsgTransferAmino; - fromAmino: (object: _111.MsgTransferAmino) => _111.MsgTransfer; - }; - }; - MsgTransfer: { - typeUrl: string; - aminoType: string; - is(o: any): o is _111.MsgTransfer; - isSDK(o: any): o is _111.MsgTransferSDKType; - isAmino(o: any): o is _111.MsgTransferAmino; - encode(message: _111.MsgTransfer, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _111.MsgTransfer; - fromJSON(object: any): _111.MsgTransfer; - toJSON(message: _111.MsgTransfer): unknown; - fromPartial(object: { - sourcePort?: string; - sourceChannel?: string; - token?: { - denom?: string; - amount?: string; - }; - sender?: string; - receiver?: string; - timeoutHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - timeoutTimestamp?: bigint; - }): _111.MsgTransfer; - fromSDK(object: _111.MsgTransferSDKType): _111.MsgTransfer; - toSDK(message: _111.MsgTransfer): _111.MsgTransferSDKType; - fromAmino(object: _111.MsgTransferAmino): _111.MsgTransfer; - toAmino(message: _111.MsgTransfer): _111.MsgTransferAmino; - fromAminoMsg(object: _111.MsgTransferAminoMsg): _111.MsgTransfer; - toAminoMsg(message: _111.MsgTransfer): _111.MsgTransferAminoMsg; - fromProtoMsg(message: _111.MsgTransferProtoMsg): _111.MsgTransfer; - toProto(message: _111.MsgTransfer): Uint8Array; - toProtoMsg(message: _111.MsgTransfer): _111.MsgTransferProtoMsg; - }; - MsgTransferResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _111.MsgTransferResponse; - isSDK(o: any): o is _111.MsgTransferResponseSDKType; - isAmino(o: any): o is _111.MsgTransferResponseAmino; - encode(_: _111.MsgTransferResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _111.MsgTransferResponse; - fromJSON(_: any): _111.MsgTransferResponse; - toJSON(_: _111.MsgTransferResponse): unknown; - fromPartial(_: {}): _111.MsgTransferResponse; - fromSDK(_: _111.MsgTransferResponseSDKType): _111.MsgTransferResponse; - toSDK(_: _111.MsgTransferResponse): _111.MsgTransferResponseSDKType; - fromAmino(_: _111.MsgTransferResponseAmino): _111.MsgTransferResponse; - toAmino(_: _111.MsgTransferResponse): _111.MsgTransferResponseAmino; - fromAminoMsg(object: _111.MsgTransferResponseAminoMsg): _111.MsgTransferResponse; - toAminoMsg(message: _111.MsgTransferResponse): _111.MsgTransferResponseAminoMsg; - fromProtoMsg(message: _111.MsgTransferResponseProtoMsg): _111.MsgTransferResponse; - toProto(message: _111.MsgTransferResponse): Uint8Array; - toProtoMsg(message: _111.MsgTransferResponse): _111.MsgTransferResponseProtoMsg; - }; - DenomTrace: { - typeUrl: string; - aminoType: string; - is(o: any): o is _110.DenomTrace; - isSDK(o: any): o is _110.DenomTraceSDKType; - isAmino(o: any): o is _110.DenomTraceAmino; - encode(message: _110.DenomTrace, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _110.DenomTrace; - fromJSON(object: any): _110.DenomTrace; - toJSON(message: _110.DenomTrace): unknown; - fromPartial(object: { - path?: string; - baseDenom?: string; - }): _110.DenomTrace; - fromSDK(object: _110.DenomTraceSDKType): _110.DenomTrace; - toSDK(message: _110.DenomTrace): _110.DenomTraceSDKType; - fromAmino(object: _110.DenomTraceAmino): _110.DenomTrace; - toAmino(message: _110.DenomTrace): _110.DenomTraceAmino; - fromAminoMsg(object: _110.DenomTraceAminoMsg): _110.DenomTrace; - toAminoMsg(message: _110.DenomTrace): _110.DenomTraceAminoMsg; - fromProtoMsg(message: _110.DenomTraceProtoMsg): _110.DenomTrace; - toProto(message: _110.DenomTrace): Uint8Array; - toProtoMsg(message: _110.DenomTrace): _110.DenomTraceProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _110.Params; - isSDK(o: any): o is _110.ParamsSDKType; - isAmino(o: any): o is _110.ParamsAmino; - encode(message: _110.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _110.Params; - fromJSON(object: any): _110.Params; - toJSON(message: _110.Params): unknown; - fromPartial(object: { - sendEnabled?: boolean; - receiveEnabled?: boolean; - }): _110.Params; - fromSDK(object: _110.ParamsSDKType): _110.Params; - toSDK(message: _110.Params): _110.ParamsSDKType; - fromAmino(object: _110.ParamsAmino): _110.Params; - toAmino(message: _110.Params): _110.ParamsAmino; - fromAminoMsg(object: _110.ParamsAminoMsg): _110.Params; - toAminoMsg(message: _110.Params): _110.ParamsAminoMsg; - fromProtoMsg(message: _110.ParamsProtoMsg): _110.Params; - toProto(message: _110.Params): Uint8Array; - toProtoMsg(message: _110.Params): _110.ParamsProtoMsg; - }; - QueryDenomTraceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _109.QueryDenomTraceRequest; - isSDK(o: any): o is _109.QueryDenomTraceRequestSDKType; - isAmino(o: any): o is _109.QueryDenomTraceRequestAmino; - encode(message: _109.QueryDenomTraceRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _109.QueryDenomTraceRequest; - fromJSON(object: any): _109.QueryDenomTraceRequest; - toJSON(message: _109.QueryDenomTraceRequest): unknown; - fromPartial(object: { - hash?: string; - }): _109.QueryDenomTraceRequest; - fromSDK(object: _109.QueryDenomTraceRequestSDKType): _109.QueryDenomTraceRequest; - toSDK(message: _109.QueryDenomTraceRequest): _109.QueryDenomTraceRequestSDKType; - fromAmino(object: _109.QueryDenomTraceRequestAmino): _109.QueryDenomTraceRequest; - toAmino(message: _109.QueryDenomTraceRequest): _109.QueryDenomTraceRequestAmino; - fromAminoMsg(object: _109.QueryDenomTraceRequestAminoMsg): _109.QueryDenomTraceRequest; - toAminoMsg(message: _109.QueryDenomTraceRequest): _109.QueryDenomTraceRequestAminoMsg; - fromProtoMsg(message: _109.QueryDenomTraceRequestProtoMsg): _109.QueryDenomTraceRequest; - toProto(message: _109.QueryDenomTraceRequest): Uint8Array; - toProtoMsg(message: _109.QueryDenomTraceRequest): _109.QueryDenomTraceRequestProtoMsg; - }; - QueryDenomTraceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _109.QueryDenomTraceResponse; - isSDK(o: any): o is _109.QueryDenomTraceResponseSDKType; - isAmino(o: any): o is _109.QueryDenomTraceResponseAmino; - encode(message: _109.QueryDenomTraceResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _109.QueryDenomTraceResponse; - fromJSON(object: any): _109.QueryDenomTraceResponse; - toJSON(message: _109.QueryDenomTraceResponse): unknown; - fromPartial(object: { - denomTrace?: { - path?: string; - baseDenom?: string; - }; - }): _109.QueryDenomTraceResponse; - fromSDK(object: _109.QueryDenomTraceResponseSDKType): _109.QueryDenomTraceResponse; - toSDK(message: _109.QueryDenomTraceResponse): _109.QueryDenomTraceResponseSDKType; - fromAmino(object: _109.QueryDenomTraceResponseAmino): _109.QueryDenomTraceResponse; - toAmino(message: _109.QueryDenomTraceResponse): _109.QueryDenomTraceResponseAmino; - fromAminoMsg(object: _109.QueryDenomTraceResponseAminoMsg): _109.QueryDenomTraceResponse; - toAminoMsg(message: _109.QueryDenomTraceResponse): _109.QueryDenomTraceResponseAminoMsg; - fromProtoMsg(message: _109.QueryDenomTraceResponseProtoMsg): _109.QueryDenomTraceResponse; - toProto(message: _109.QueryDenomTraceResponse): Uint8Array; - toProtoMsg(message: _109.QueryDenomTraceResponse): _109.QueryDenomTraceResponseProtoMsg; - }; - QueryDenomTracesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _109.QueryDenomTracesRequest; - isSDK(o: any): o is _109.QueryDenomTracesRequestSDKType; - isAmino(o: any): o is _109.QueryDenomTracesRequestAmino; - encode(message: _109.QueryDenomTracesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _109.QueryDenomTracesRequest; - fromJSON(object: any): _109.QueryDenomTracesRequest; - toJSON(message: _109.QueryDenomTracesRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _109.QueryDenomTracesRequest; - fromSDK(object: _109.QueryDenomTracesRequestSDKType): _109.QueryDenomTracesRequest; - toSDK(message: _109.QueryDenomTracesRequest): _109.QueryDenomTracesRequestSDKType; - fromAmino(object: _109.QueryDenomTracesRequestAmino): _109.QueryDenomTracesRequest; - toAmino(message: _109.QueryDenomTracesRequest): _109.QueryDenomTracesRequestAmino; - fromAminoMsg(object: _109.QueryDenomTracesRequestAminoMsg): _109.QueryDenomTracesRequest; - toAminoMsg(message: _109.QueryDenomTracesRequest): _109.QueryDenomTracesRequestAminoMsg; - fromProtoMsg(message: _109.QueryDenomTracesRequestProtoMsg): _109.QueryDenomTracesRequest; - toProto(message: _109.QueryDenomTracesRequest): Uint8Array; - toProtoMsg(message: _109.QueryDenomTracesRequest): _109.QueryDenomTracesRequestProtoMsg; - }; - QueryDenomTracesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _109.QueryDenomTracesResponse; - isSDK(o: any): o is _109.QueryDenomTracesResponseSDKType; - isAmino(o: any): o is _109.QueryDenomTracesResponseAmino; - encode(message: _109.QueryDenomTracesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _109.QueryDenomTracesResponse; - fromJSON(object: any): _109.QueryDenomTracesResponse; - toJSON(message: _109.QueryDenomTracesResponse): unknown; - fromPartial(object: { - denomTraces?: { - path?: string; - baseDenom?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _109.QueryDenomTracesResponse; - fromSDK(object: _109.QueryDenomTracesResponseSDKType): _109.QueryDenomTracesResponse; - toSDK(message: _109.QueryDenomTracesResponse): _109.QueryDenomTracesResponseSDKType; - fromAmino(object: _109.QueryDenomTracesResponseAmino): _109.QueryDenomTracesResponse; - toAmino(message: _109.QueryDenomTracesResponse): _109.QueryDenomTracesResponseAmino; - fromAminoMsg(object: _109.QueryDenomTracesResponseAminoMsg): _109.QueryDenomTracesResponse; - toAminoMsg(message: _109.QueryDenomTracesResponse): _109.QueryDenomTracesResponseAminoMsg; - fromProtoMsg(message: _109.QueryDenomTracesResponseProtoMsg): _109.QueryDenomTracesResponse; - toProto(message: _109.QueryDenomTracesResponse): Uint8Array; - toProtoMsg(message: _109.QueryDenomTracesResponse): _109.QueryDenomTracesResponseProtoMsg; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _109.QueryParamsRequest; - isSDK(o: any): o is _109.QueryParamsRequestSDKType; - isAmino(o: any): o is _109.QueryParamsRequestAmino; - encode(_: _109.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _109.QueryParamsRequest; - fromJSON(_: any): _109.QueryParamsRequest; - toJSON(_: _109.QueryParamsRequest): unknown; - fromPartial(_: {}): _109.QueryParamsRequest; - fromSDK(_: _109.QueryParamsRequestSDKType): _109.QueryParamsRequest; - toSDK(_: _109.QueryParamsRequest): _109.QueryParamsRequestSDKType; - fromAmino(_: _109.QueryParamsRequestAmino): _109.QueryParamsRequest; - toAmino(_: _109.QueryParamsRequest): _109.QueryParamsRequestAmino; - fromAminoMsg(object: _109.QueryParamsRequestAminoMsg): _109.QueryParamsRequest; - toAminoMsg(message: _109.QueryParamsRequest): _109.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _109.QueryParamsRequestProtoMsg): _109.QueryParamsRequest; - toProto(message: _109.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _109.QueryParamsRequest): _109.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _109.QueryParamsResponse; - isSDK(o: any): o is _109.QueryParamsResponseSDKType; - isAmino(o: any): o is _109.QueryParamsResponseAmino; - encode(message: _109.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _109.QueryParamsResponse; - fromJSON(object: any): _109.QueryParamsResponse; - toJSON(message: _109.QueryParamsResponse): unknown; - fromPartial(object: { - params?: { - sendEnabled?: boolean; - receiveEnabled?: boolean; - }; - }): _109.QueryParamsResponse; - fromSDK(object: _109.QueryParamsResponseSDKType): _109.QueryParamsResponse; - toSDK(message: _109.QueryParamsResponse): _109.QueryParamsResponseSDKType; - fromAmino(object: _109.QueryParamsResponseAmino): _109.QueryParamsResponse; - toAmino(message: _109.QueryParamsResponse): _109.QueryParamsResponseAmino; - fromAminoMsg(object: _109.QueryParamsResponseAminoMsg): _109.QueryParamsResponse; - toAminoMsg(message: _109.QueryParamsResponse): _109.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _109.QueryParamsResponseProtoMsg): _109.QueryParamsResponse; - toProto(message: _109.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _109.QueryParamsResponse): _109.QueryParamsResponseProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _108.GenesisState; - isSDK(o: any): o is _108.GenesisStateSDKType; - isAmino(o: any): o is _108.GenesisStateAmino; - encode(message: _108.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _108.GenesisState; - fromJSON(object: any): _108.GenesisState; - toJSON(message: _108.GenesisState): unknown; - fromPartial(object: { - portId?: string; - denomTraces?: { - path?: string; - baseDenom?: string; - }[]; - params?: { - sendEnabled?: boolean; - receiveEnabled?: boolean; - }; - }): _108.GenesisState; - fromSDK(object: _108.GenesisStateSDKType): _108.GenesisState; - toSDK(message: _108.GenesisState): _108.GenesisStateSDKType; - fromAmino(object: _108.GenesisStateAmino): _108.GenesisState; - toAmino(message: _108.GenesisState): _108.GenesisStateAmino; - fromAminoMsg(object: _108.GenesisStateAminoMsg): _108.GenesisState; - toAminoMsg(message: _108.GenesisState): _108.GenesisStateAminoMsg; - fromProtoMsg(message: _108.GenesisStateProtoMsg): _108.GenesisState; - toProto(message: _108.GenesisState): Uint8Array; - toProtoMsg(message: _108.GenesisState): _108.GenesisStateProtoMsg; - }; - }; - const v2: { - FungibleTokenPacketData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _112.FungibleTokenPacketData; - isSDK(o: any): o is _112.FungibleTokenPacketDataSDKType; - isAmino(o: any): o is _112.FungibleTokenPacketDataAmino; - encode(message: _112.FungibleTokenPacketData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _112.FungibleTokenPacketData; - fromJSON(object: any): _112.FungibleTokenPacketData; - toJSON(message: _112.FungibleTokenPacketData): unknown; - fromPartial(object: { - denom?: string; - amount?: string; - sender?: string; - receiver?: string; - }): _112.FungibleTokenPacketData; - fromSDK(object: _112.FungibleTokenPacketDataSDKType): _112.FungibleTokenPacketData; - toSDK(message: _112.FungibleTokenPacketData): _112.FungibleTokenPacketDataSDKType; - fromAmino(object: _112.FungibleTokenPacketDataAmino): _112.FungibleTokenPacketData; - toAmino(message: _112.FungibleTokenPacketData): _112.FungibleTokenPacketDataAmino; - fromAminoMsg(object: _112.FungibleTokenPacketDataAminoMsg): _112.FungibleTokenPacketData; - toAminoMsg(message: _112.FungibleTokenPacketData): _112.FungibleTokenPacketDataAminoMsg; - fromProtoMsg(message: _112.FungibleTokenPacketDataProtoMsg): _112.FungibleTokenPacketData; - toProto(message: _112.FungibleTokenPacketData): Uint8Array; - toProtoMsg(message: _112.FungibleTokenPacketData): _112.FungibleTokenPacketDataProtoMsg; - }; - }; - } - } - namespace core { - namespace channel { - const v1: { - MsgClientImpl: typeof _268.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _268.MsgClientImpl; - QueryClientImpl: typeof _263.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useChannel: ({ request, options }: _263.UseChannelQuery) => import("@tanstack/react-query").UseQueryResult; - useChannels: ({ request, options }: _263.UseChannelsQuery) => import("@tanstack/react-query").UseQueryResult; - useConnectionChannels: ({ request, options }: _263.UseConnectionChannelsQuery) => import("@tanstack/react-query").UseQueryResult; - useChannelClientState: ({ request, options }: _263.UseChannelClientStateQuery) => import("@tanstack/react-query").UseQueryResult; - useChannelConsensusState: ({ request, options }: _263.UseChannelConsensusStateQuery) => import("@tanstack/react-query").UseQueryResult; - usePacketCommitment: ({ request, options }: _263.UsePacketCommitmentQuery) => import("@tanstack/react-query").UseQueryResult; - usePacketCommitments: ({ request, options }: _263.UsePacketCommitmentsQuery) => import("@tanstack/react-query").UseQueryResult; - usePacketReceipt: ({ request, options }: _263.UsePacketReceiptQuery) => import("@tanstack/react-query").UseQueryResult; - usePacketAcknowledgement: ({ request, options }: _263.UsePacketAcknowledgementQuery) => import("@tanstack/react-query").UseQueryResult; - usePacketAcknowledgements: ({ request, options }: _263.UsePacketAcknowledgementsQuery) => import("@tanstack/react-query").UseQueryResult; - useUnreceivedPackets: ({ request, options }: _263.UseUnreceivedPacketsQuery) => import("@tanstack/react-query").UseQueryResult; - useUnreceivedAcks: ({ request, options }: _263.UseUnreceivedAcksQuery) => import("@tanstack/react-query").UseQueryResult; - useNextSequenceReceive: ({ request, options }: _263.UseNextSequenceReceiveQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryChannelStore: { - new (): { - store: import("..").QueryStore<_115.QueryChannelRequest, _115.QueryChannelResponse>; - channel(request: _115.QueryChannelRequest): import("..").MobxResponse<_115.QueryChannelResponse>; - }; - }; - QueryChannelsStore: { - new (): { - store: import("..").QueryStore<_115.QueryChannelsRequest, _115.QueryChannelsResponse>; - channels(request: _115.QueryChannelsRequest): import("..").MobxResponse<_115.QueryChannelsResponse>; - }; - }; - QueryConnectionChannelsStore: { - new (): { - store: import("..").QueryStore<_115.QueryConnectionChannelsRequest, _115.QueryConnectionChannelsResponse>; - connectionChannels(request: _115.QueryConnectionChannelsRequest): import("..").MobxResponse<_115.QueryConnectionChannelsResponse>; - }; - }; - QueryChannelClientStateStore: { - new (): { - store: import("..").QueryStore<_115.QueryChannelClientStateRequest, _115.QueryChannelClientStateResponse>; - channelClientState(request: _115.QueryChannelClientStateRequest): import("..").MobxResponse<_115.QueryChannelClientStateResponse>; - }; - }; - QueryChannelConsensusStateStore: { - new (): { - store: import("..").QueryStore<_115.QueryChannelConsensusStateRequest, _115.QueryChannelConsensusStateResponse>; - channelConsensusState(request: _115.QueryChannelConsensusStateRequest): import("..").MobxResponse<_115.QueryChannelConsensusStateResponse>; - }; - }; - QueryPacketCommitmentStore: { - new (): { - store: import("..").QueryStore<_115.QueryPacketCommitmentRequest, _115.QueryPacketCommitmentResponse>; - packetCommitment(request: _115.QueryPacketCommitmentRequest): import("..").MobxResponse<_115.QueryPacketCommitmentResponse>; - }; - }; - QueryPacketCommitmentsStore: { - new (): { - store: import("..").QueryStore<_115.QueryPacketCommitmentsRequest, _115.QueryPacketCommitmentsResponse>; - packetCommitments(request: _115.QueryPacketCommitmentsRequest): import("..").MobxResponse<_115.QueryPacketCommitmentsResponse>; - }; - }; - QueryPacketReceiptStore: { - new (): { - store: import("..").QueryStore<_115.QueryPacketReceiptRequest, _115.QueryPacketReceiptResponse>; - packetReceipt(request: _115.QueryPacketReceiptRequest): import("..").MobxResponse<_115.QueryPacketReceiptResponse>; - }; - }; - QueryPacketAcknowledgementStore: { - new (): { - store: import("..").QueryStore<_115.QueryPacketAcknowledgementRequest, _115.QueryPacketAcknowledgementResponse>; - packetAcknowledgement(request: _115.QueryPacketAcknowledgementRequest): import("..").MobxResponse<_115.QueryPacketAcknowledgementResponse>; - }; - }; - QueryPacketAcknowledgementsStore: { - new (): { - store: import("..").QueryStore<_115.QueryPacketAcknowledgementsRequest, _115.QueryPacketAcknowledgementsResponse>; - packetAcknowledgements(request: _115.QueryPacketAcknowledgementsRequest): import("..").MobxResponse<_115.QueryPacketAcknowledgementsResponse>; - }; - }; - QueryUnreceivedPacketsStore: { - new (): { - store: import("..").QueryStore<_115.QueryUnreceivedPacketsRequest, _115.QueryUnreceivedPacketsResponse>; - unreceivedPackets(request: _115.QueryUnreceivedPacketsRequest): import("..").MobxResponse<_115.QueryUnreceivedPacketsResponse>; - }; - }; - QueryUnreceivedAcksStore: { - new (): { - store: import("..").QueryStore<_115.QueryUnreceivedAcksRequest, _115.QueryUnreceivedAcksResponse>; - unreceivedAcks(request: _115.QueryUnreceivedAcksRequest): import("..").MobxResponse<_115.QueryUnreceivedAcksResponse>; - }; - }; - QueryNextSequenceReceiveStore: { - new (): { - store: import("..").QueryStore<_115.QueryNextSequenceReceiveRequest, _115.QueryNextSequenceReceiveResponse>; - nextSequenceReceive(request: _115.QueryNextSequenceReceiveRequest): import("..").MobxResponse<_115.QueryNextSequenceReceiveResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - channelOpenInit(value: _116.MsgChannelOpenInit): { - typeUrl: string; - value: Uint8Array; - }; - channelOpenTry(value: _116.MsgChannelOpenTry): { - typeUrl: string; - value: Uint8Array; - }; - channelOpenAck(value: _116.MsgChannelOpenAck): { - typeUrl: string; - value: Uint8Array; - }; - channelOpenConfirm(value: _116.MsgChannelOpenConfirm): { - typeUrl: string; - value: Uint8Array; - }; - channelCloseInit(value: _116.MsgChannelCloseInit): { - typeUrl: string; - value: Uint8Array; - }; - channelCloseConfirm(value: _116.MsgChannelCloseConfirm): { - typeUrl: string; - value: Uint8Array; - }; - recvPacket(value: _116.MsgRecvPacket): { - typeUrl: string; - value: Uint8Array; - }; - timeout(value: _116.MsgTimeout): { - typeUrl: string; - value: Uint8Array; - }; - timeoutOnClose(value: _116.MsgTimeoutOnClose): { - typeUrl: string; - value: Uint8Array; - }; - acknowledgement(value: _116.MsgAcknowledgement): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - channelOpenInit(value: _116.MsgChannelOpenInit): { - typeUrl: string; - value: _116.MsgChannelOpenInit; - }; - channelOpenTry(value: _116.MsgChannelOpenTry): { - typeUrl: string; - value: _116.MsgChannelOpenTry; - }; - channelOpenAck(value: _116.MsgChannelOpenAck): { - typeUrl: string; - value: _116.MsgChannelOpenAck; - }; - channelOpenConfirm(value: _116.MsgChannelOpenConfirm): { - typeUrl: string; - value: _116.MsgChannelOpenConfirm; - }; - channelCloseInit(value: _116.MsgChannelCloseInit): { - typeUrl: string; - value: _116.MsgChannelCloseInit; - }; - channelCloseConfirm(value: _116.MsgChannelCloseConfirm): { - typeUrl: string; - value: _116.MsgChannelCloseConfirm; - }; - recvPacket(value: _116.MsgRecvPacket): { - typeUrl: string; - value: _116.MsgRecvPacket; - }; - timeout(value: _116.MsgTimeout): { - typeUrl: string; - value: _116.MsgTimeout; - }; - timeoutOnClose(value: _116.MsgTimeoutOnClose): { - typeUrl: string; - value: _116.MsgTimeoutOnClose; - }; - acknowledgement(value: _116.MsgAcknowledgement): { - typeUrl: string; - value: _116.MsgAcknowledgement; - }; - }; - toJSON: { - channelOpenInit(value: _116.MsgChannelOpenInit): { - typeUrl: string; - value: unknown; - }; - channelOpenTry(value: _116.MsgChannelOpenTry): { - typeUrl: string; - value: unknown; - }; - channelOpenAck(value: _116.MsgChannelOpenAck): { - typeUrl: string; - value: unknown; - }; - channelOpenConfirm(value: _116.MsgChannelOpenConfirm): { - typeUrl: string; - value: unknown; - }; - channelCloseInit(value: _116.MsgChannelCloseInit): { - typeUrl: string; - value: unknown; - }; - channelCloseConfirm(value: _116.MsgChannelCloseConfirm): { - typeUrl: string; - value: unknown; - }; - recvPacket(value: _116.MsgRecvPacket): { - typeUrl: string; - value: unknown; - }; - timeout(value: _116.MsgTimeout): { - typeUrl: string; - value: unknown; - }; - timeoutOnClose(value: _116.MsgTimeoutOnClose): { - typeUrl: string; - value: unknown; - }; - acknowledgement(value: _116.MsgAcknowledgement): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - channelOpenInit(value: any): { - typeUrl: string; - value: _116.MsgChannelOpenInit; - }; - channelOpenTry(value: any): { - typeUrl: string; - value: _116.MsgChannelOpenTry; - }; - channelOpenAck(value: any): { - typeUrl: string; - value: _116.MsgChannelOpenAck; - }; - channelOpenConfirm(value: any): { - typeUrl: string; - value: _116.MsgChannelOpenConfirm; - }; - channelCloseInit(value: any): { - typeUrl: string; - value: _116.MsgChannelCloseInit; - }; - channelCloseConfirm(value: any): { - typeUrl: string; - value: _116.MsgChannelCloseConfirm; - }; - recvPacket(value: any): { - typeUrl: string; - value: _116.MsgRecvPacket; - }; - timeout(value: any): { - typeUrl: string; - value: _116.MsgTimeout; - }; - timeoutOnClose(value: any): { - typeUrl: string; - value: _116.MsgTimeoutOnClose; - }; - acknowledgement(value: any): { - typeUrl: string; - value: _116.MsgAcknowledgement; - }; - }; - fromPartial: { - channelOpenInit(value: _116.MsgChannelOpenInit): { - typeUrl: string; - value: _116.MsgChannelOpenInit; - }; - channelOpenTry(value: _116.MsgChannelOpenTry): { - typeUrl: string; - value: _116.MsgChannelOpenTry; - }; - channelOpenAck(value: _116.MsgChannelOpenAck): { - typeUrl: string; - value: _116.MsgChannelOpenAck; - }; - channelOpenConfirm(value: _116.MsgChannelOpenConfirm): { - typeUrl: string; - value: _116.MsgChannelOpenConfirm; - }; - channelCloseInit(value: _116.MsgChannelCloseInit): { - typeUrl: string; - value: _116.MsgChannelCloseInit; - }; - channelCloseConfirm(value: _116.MsgChannelCloseConfirm): { - typeUrl: string; - value: _116.MsgChannelCloseConfirm; - }; - recvPacket(value: _116.MsgRecvPacket): { - typeUrl: string; - value: _116.MsgRecvPacket; - }; - timeout(value: _116.MsgTimeout): { - typeUrl: string; - value: _116.MsgTimeout; - }; - timeoutOnClose(value: _116.MsgTimeoutOnClose): { - typeUrl: string; - value: _116.MsgTimeoutOnClose; - }; - acknowledgement(value: _116.MsgAcknowledgement): { - typeUrl: string; - value: _116.MsgAcknowledgement; - }; - }; - }; - AminoConverter: { - "/ibc.core.channel.v1.MsgChannelOpenInit": { - aminoType: string; - toAmino: (message: _116.MsgChannelOpenInit) => _116.MsgChannelOpenInitAmino; - fromAmino: (object: _116.MsgChannelOpenInitAmino) => _116.MsgChannelOpenInit; - }; - "/ibc.core.channel.v1.MsgChannelOpenTry": { - aminoType: string; - toAmino: (message: _116.MsgChannelOpenTry) => _116.MsgChannelOpenTryAmino; - fromAmino: (object: _116.MsgChannelOpenTryAmino) => _116.MsgChannelOpenTry; - }; - "/ibc.core.channel.v1.MsgChannelOpenAck": { - aminoType: string; - toAmino: (message: _116.MsgChannelOpenAck) => _116.MsgChannelOpenAckAmino; - fromAmino: (object: _116.MsgChannelOpenAckAmino) => _116.MsgChannelOpenAck; - }; - "/ibc.core.channel.v1.MsgChannelOpenConfirm": { - aminoType: string; - toAmino: (message: _116.MsgChannelOpenConfirm) => _116.MsgChannelOpenConfirmAmino; - fromAmino: (object: _116.MsgChannelOpenConfirmAmino) => _116.MsgChannelOpenConfirm; - }; - "/ibc.core.channel.v1.MsgChannelCloseInit": { - aminoType: string; - toAmino: (message: _116.MsgChannelCloseInit) => _116.MsgChannelCloseInitAmino; - fromAmino: (object: _116.MsgChannelCloseInitAmino) => _116.MsgChannelCloseInit; - }; - "/ibc.core.channel.v1.MsgChannelCloseConfirm": { - aminoType: string; - toAmino: (message: _116.MsgChannelCloseConfirm) => _116.MsgChannelCloseConfirmAmino; - fromAmino: (object: _116.MsgChannelCloseConfirmAmino) => _116.MsgChannelCloseConfirm; - }; - "/ibc.core.channel.v1.MsgRecvPacket": { - aminoType: string; - toAmino: (message: _116.MsgRecvPacket) => _116.MsgRecvPacketAmino; - fromAmino: (object: _116.MsgRecvPacketAmino) => _116.MsgRecvPacket; - }; - "/ibc.core.channel.v1.MsgTimeout": { - aminoType: string; - toAmino: (message: _116.MsgTimeout) => _116.MsgTimeoutAmino; - fromAmino: (object: _116.MsgTimeoutAmino) => _116.MsgTimeout; - }; - "/ibc.core.channel.v1.MsgTimeoutOnClose": { - aminoType: string; - toAmino: (message: _116.MsgTimeoutOnClose) => _116.MsgTimeoutOnCloseAmino; - fromAmino: (object: _116.MsgTimeoutOnCloseAmino) => _116.MsgTimeoutOnClose; - }; - "/ibc.core.channel.v1.MsgAcknowledgement": { - aminoType: string; - toAmino: (message: _116.MsgAcknowledgement) => _116.MsgAcknowledgementAmino; - fromAmino: (object: _116.MsgAcknowledgementAmino) => _116.MsgAcknowledgement; - }; - }; - MsgChannelOpenInit: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgChannelOpenInit; - isSDK(o: any): o is _116.MsgChannelOpenInitSDKType; - isAmino(o: any): o is _116.MsgChannelOpenInitAmino; - encode(message: _116.MsgChannelOpenInit, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgChannelOpenInit; - fromJSON(object: any): _116.MsgChannelOpenInit; - toJSON(message: _116.MsgChannelOpenInit): unknown; - fromPartial(object: { - portId?: string; - channel?: { - state?: _113.State; - ordering?: _113.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - }; - signer?: string; - }): _116.MsgChannelOpenInit; - fromSDK(object: _116.MsgChannelOpenInitSDKType): _116.MsgChannelOpenInit; - toSDK(message: _116.MsgChannelOpenInit): _116.MsgChannelOpenInitSDKType; - fromAmino(object: _116.MsgChannelOpenInitAmino): _116.MsgChannelOpenInit; - toAmino(message: _116.MsgChannelOpenInit): _116.MsgChannelOpenInitAmino; - fromAminoMsg(object: _116.MsgChannelOpenInitAminoMsg): _116.MsgChannelOpenInit; - toAminoMsg(message: _116.MsgChannelOpenInit): _116.MsgChannelOpenInitAminoMsg; - fromProtoMsg(message: _116.MsgChannelOpenInitProtoMsg): _116.MsgChannelOpenInit; - toProto(message: _116.MsgChannelOpenInit): Uint8Array; - toProtoMsg(message: _116.MsgChannelOpenInit): _116.MsgChannelOpenInitProtoMsg; - }; - MsgChannelOpenInitResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgChannelOpenInitResponse; - isSDK(o: any): o is _116.MsgChannelOpenInitResponseSDKType; - isAmino(o: any): o is _116.MsgChannelOpenInitResponseAmino; - encode(_: _116.MsgChannelOpenInitResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgChannelOpenInitResponse; - fromJSON(_: any): _116.MsgChannelOpenInitResponse; - toJSON(_: _116.MsgChannelOpenInitResponse): unknown; - fromPartial(_: {}): _116.MsgChannelOpenInitResponse; - fromSDK(_: _116.MsgChannelOpenInitResponseSDKType): _116.MsgChannelOpenInitResponse; - toSDK(_: _116.MsgChannelOpenInitResponse): _116.MsgChannelOpenInitResponseSDKType; - fromAmino(_: _116.MsgChannelOpenInitResponseAmino): _116.MsgChannelOpenInitResponse; - toAmino(_: _116.MsgChannelOpenInitResponse): _116.MsgChannelOpenInitResponseAmino; - fromAminoMsg(object: _116.MsgChannelOpenInitResponseAminoMsg): _116.MsgChannelOpenInitResponse; - toAminoMsg(message: _116.MsgChannelOpenInitResponse): _116.MsgChannelOpenInitResponseAminoMsg; - fromProtoMsg(message: _116.MsgChannelOpenInitResponseProtoMsg): _116.MsgChannelOpenInitResponse; - toProto(message: _116.MsgChannelOpenInitResponse): Uint8Array; - toProtoMsg(message: _116.MsgChannelOpenInitResponse): _116.MsgChannelOpenInitResponseProtoMsg; - }; - MsgChannelOpenTry: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgChannelOpenTry; - isSDK(o: any): o is _116.MsgChannelOpenTrySDKType; - isAmino(o: any): o is _116.MsgChannelOpenTryAmino; - encode(message: _116.MsgChannelOpenTry, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgChannelOpenTry; - fromJSON(object: any): _116.MsgChannelOpenTry; - toJSON(message: _116.MsgChannelOpenTry): unknown; - fromPartial(object: { - portId?: string; - previousChannelId?: string; - channel?: { - state?: _113.State; - ordering?: _113.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - }; - counterpartyVersion?: string; - proofInit?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - signer?: string; - }): _116.MsgChannelOpenTry; - fromSDK(object: _116.MsgChannelOpenTrySDKType): _116.MsgChannelOpenTry; - toSDK(message: _116.MsgChannelOpenTry): _116.MsgChannelOpenTrySDKType; - fromAmino(object: _116.MsgChannelOpenTryAmino): _116.MsgChannelOpenTry; - toAmino(message: _116.MsgChannelOpenTry): _116.MsgChannelOpenTryAmino; - fromAminoMsg(object: _116.MsgChannelOpenTryAminoMsg): _116.MsgChannelOpenTry; - toAminoMsg(message: _116.MsgChannelOpenTry): _116.MsgChannelOpenTryAminoMsg; - fromProtoMsg(message: _116.MsgChannelOpenTryProtoMsg): _116.MsgChannelOpenTry; - toProto(message: _116.MsgChannelOpenTry): Uint8Array; - toProtoMsg(message: _116.MsgChannelOpenTry): _116.MsgChannelOpenTryProtoMsg; - }; - MsgChannelOpenTryResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgChannelOpenTryResponse; - isSDK(o: any): o is _116.MsgChannelOpenTryResponseSDKType; - isAmino(o: any): o is _116.MsgChannelOpenTryResponseAmino; - encode(_: _116.MsgChannelOpenTryResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgChannelOpenTryResponse; - fromJSON(_: any): _116.MsgChannelOpenTryResponse; - toJSON(_: _116.MsgChannelOpenTryResponse): unknown; - fromPartial(_: {}): _116.MsgChannelOpenTryResponse; - fromSDK(_: _116.MsgChannelOpenTryResponseSDKType): _116.MsgChannelOpenTryResponse; - toSDK(_: _116.MsgChannelOpenTryResponse): _116.MsgChannelOpenTryResponseSDKType; - fromAmino(_: _116.MsgChannelOpenTryResponseAmino): _116.MsgChannelOpenTryResponse; - toAmino(_: _116.MsgChannelOpenTryResponse): _116.MsgChannelOpenTryResponseAmino; - fromAminoMsg(object: _116.MsgChannelOpenTryResponseAminoMsg): _116.MsgChannelOpenTryResponse; - toAminoMsg(message: _116.MsgChannelOpenTryResponse): _116.MsgChannelOpenTryResponseAminoMsg; - fromProtoMsg(message: _116.MsgChannelOpenTryResponseProtoMsg): _116.MsgChannelOpenTryResponse; - toProto(message: _116.MsgChannelOpenTryResponse): Uint8Array; - toProtoMsg(message: _116.MsgChannelOpenTryResponse): _116.MsgChannelOpenTryResponseProtoMsg; - }; - MsgChannelOpenAck: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgChannelOpenAck; - isSDK(o: any): o is _116.MsgChannelOpenAckSDKType; - isAmino(o: any): o is _116.MsgChannelOpenAckAmino; - encode(message: _116.MsgChannelOpenAck, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgChannelOpenAck; - fromJSON(object: any): _116.MsgChannelOpenAck; - toJSON(message: _116.MsgChannelOpenAck): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - counterpartyChannelId?: string; - counterpartyVersion?: string; - proofTry?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - signer?: string; - }): _116.MsgChannelOpenAck; - fromSDK(object: _116.MsgChannelOpenAckSDKType): _116.MsgChannelOpenAck; - toSDK(message: _116.MsgChannelOpenAck): _116.MsgChannelOpenAckSDKType; - fromAmino(object: _116.MsgChannelOpenAckAmino): _116.MsgChannelOpenAck; - toAmino(message: _116.MsgChannelOpenAck): _116.MsgChannelOpenAckAmino; - fromAminoMsg(object: _116.MsgChannelOpenAckAminoMsg): _116.MsgChannelOpenAck; - toAminoMsg(message: _116.MsgChannelOpenAck): _116.MsgChannelOpenAckAminoMsg; - fromProtoMsg(message: _116.MsgChannelOpenAckProtoMsg): _116.MsgChannelOpenAck; - toProto(message: _116.MsgChannelOpenAck): Uint8Array; - toProtoMsg(message: _116.MsgChannelOpenAck): _116.MsgChannelOpenAckProtoMsg; - }; - MsgChannelOpenAckResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgChannelOpenAckResponse; - isSDK(o: any): o is _116.MsgChannelOpenAckResponseSDKType; - isAmino(o: any): o is _116.MsgChannelOpenAckResponseAmino; - encode(_: _116.MsgChannelOpenAckResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgChannelOpenAckResponse; - fromJSON(_: any): _116.MsgChannelOpenAckResponse; - toJSON(_: _116.MsgChannelOpenAckResponse): unknown; - fromPartial(_: {}): _116.MsgChannelOpenAckResponse; - fromSDK(_: _116.MsgChannelOpenAckResponseSDKType): _116.MsgChannelOpenAckResponse; - toSDK(_: _116.MsgChannelOpenAckResponse): _116.MsgChannelOpenAckResponseSDKType; - fromAmino(_: _116.MsgChannelOpenAckResponseAmino): _116.MsgChannelOpenAckResponse; - toAmino(_: _116.MsgChannelOpenAckResponse): _116.MsgChannelOpenAckResponseAmino; - fromAminoMsg(object: _116.MsgChannelOpenAckResponseAminoMsg): _116.MsgChannelOpenAckResponse; - toAminoMsg(message: _116.MsgChannelOpenAckResponse): _116.MsgChannelOpenAckResponseAminoMsg; - fromProtoMsg(message: _116.MsgChannelOpenAckResponseProtoMsg): _116.MsgChannelOpenAckResponse; - toProto(message: _116.MsgChannelOpenAckResponse): Uint8Array; - toProtoMsg(message: _116.MsgChannelOpenAckResponse): _116.MsgChannelOpenAckResponseProtoMsg; - }; - MsgChannelOpenConfirm: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgChannelOpenConfirm; - isSDK(o: any): o is _116.MsgChannelOpenConfirmSDKType; - isAmino(o: any): o is _116.MsgChannelOpenConfirmAmino; - encode(message: _116.MsgChannelOpenConfirm, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgChannelOpenConfirm; - fromJSON(object: any): _116.MsgChannelOpenConfirm; - toJSON(message: _116.MsgChannelOpenConfirm): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - proofAck?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - signer?: string; - }): _116.MsgChannelOpenConfirm; - fromSDK(object: _116.MsgChannelOpenConfirmSDKType): _116.MsgChannelOpenConfirm; - toSDK(message: _116.MsgChannelOpenConfirm): _116.MsgChannelOpenConfirmSDKType; - fromAmino(object: _116.MsgChannelOpenConfirmAmino): _116.MsgChannelOpenConfirm; - toAmino(message: _116.MsgChannelOpenConfirm): _116.MsgChannelOpenConfirmAmino; - fromAminoMsg(object: _116.MsgChannelOpenConfirmAminoMsg): _116.MsgChannelOpenConfirm; - toAminoMsg(message: _116.MsgChannelOpenConfirm): _116.MsgChannelOpenConfirmAminoMsg; - fromProtoMsg(message: _116.MsgChannelOpenConfirmProtoMsg): _116.MsgChannelOpenConfirm; - toProto(message: _116.MsgChannelOpenConfirm): Uint8Array; - toProtoMsg(message: _116.MsgChannelOpenConfirm): _116.MsgChannelOpenConfirmProtoMsg; - }; - MsgChannelOpenConfirmResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgChannelOpenConfirmResponse; - isSDK(o: any): o is _116.MsgChannelOpenConfirmResponseSDKType; - isAmino(o: any): o is _116.MsgChannelOpenConfirmResponseAmino; - encode(_: _116.MsgChannelOpenConfirmResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgChannelOpenConfirmResponse; - fromJSON(_: any): _116.MsgChannelOpenConfirmResponse; - toJSON(_: _116.MsgChannelOpenConfirmResponse): unknown; - fromPartial(_: {}): _116.MsgChannelOpenConfirmResponse; - fromSDK(_: _116.MsgChannelOpenConfirmResponseSDKType): _116.MsgChannelOpenConfirmResponse; - toSDK(_: _116.MsgChannelOpenConfirmResponse): _116.MsgChannelOpenConfirmResponseSDKType; - fromAmino(_: _116.MsgChannelOpenConfirmResponseAmino): _116.MsgChannelOpenConfirmResponse; - toAmino(_: _116.MsgChannelOpenConfirmResponse): _116.MsgChannelOpenConfirmResponseAmino; - fromAminoMsg(object: _116.MsgChannelOpenConfirmResponseAminoMsg): _116.MsgChannelOpenConfirmResponse; - toAminoMsg(message: _116.MsgChannelOpenConfirmResponse): _116.MsgChannelOpenConfirmResponseAminoMsg; - fromProtoMsg(message: _116.MsgChannelOpenConfirmResponseProtoMsg): _116.MsgChannelOpenConfirmResponse; - toProto(message: _116.MsgChannelOpenConfirmResponse): Uint8Array; - toProtoMsg(message: _116.MsgChannelOpenConfirmResponse): _116.MsgChannelOpenConfirmResponseProtoMsg; - }; - MsgChannelCloseInit: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgChannelCloseInit; - isSDK(o: any): o is _116.MsgChannelCloseInitSDKType; - isAmino(o: any): o is _116.MsgChannelCloseInitAmino; - encode(message: _116.MsgChannelCloseInit, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgChannelCloseInit; - fromJSON(object: any): _116.MsgChannelCloseInit; - toJSON(message: _116.MsgChannelCloseInit): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - signer?: string; - }): _116.MsgChannelCloseInit; - fromSDK(object: _116.MsgChannelCloseInitSDKType): _116.MsgChannelCloseInit; - toSDK(message: _116.MsgChannelCloseInit): _116.MsgChannelCloseInitSDKType; - fromAmino(object: _116.MsgChannelCloseInitAmino): _116.MsgChannelCloseInit; - toAmino(message: _116.MsgChannelCloseInit): _116.MsgChannelCloseInitAmino; - fromAminoMsg(object: _116.MsgChannelCloseInitAminoMsg): _116.MsgChannelCloseInit; - toAminoMsg(message: _116.MsgChannelCloseInit): _116.MsgChannelCloseInitAminoMsg; - fromProtoMsg(message: _116.MsgChannelCloseInitProtoMsg): _116.MsgChannelCloseInit; - toProto(message: _116.MsgChannelCloseInit): Uint8Array; - toProtoMsg(message: _116.MsgChannelCloseInit): _116.MsgChannelCloseInitProtoMsg; - }; - MsgChannelCloseInitResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgChannelCloseInitResponse; - isSDK(o: any): o is _116.MsgChannelCloseInitResponseSDKType; - isAmino(o: any): o is _116.MsgChannelCloseInitResponseAmino; - encode(_: _116.MsgChannelCloseInitResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgChannelCloseInitResponse; - fromJSON(_: any): _116.MsgChannelCloseInitResponse; - toJSON(_: _116.MsgChannelCloseInitResponse): unknown; - fromPartial(_: {}): _116.MsgChannelCloseInitResponse; - fromSDK(_: _116.MsgChannelCloseInitResponseSDKType): _116.MsgChannelCloseInitResponse; - toSDK(_: _116.MsgChannelCloseInitResponse): _116.MsgChannelCloseInitResponseSDKType; - fromAmino(_: _116.MsgChannelCloseInitResponseAmino): _116.MsgChannelCloseInitResponse; - toAmino(_: _116.MsgChannelCloseInitResponse): _116.MsgChannelCloseInitResponseAmino; - fromAminoMsg(object: _116.MsgChannelCloseInitResponseAminoMsg): _116.MsgChannelCloseInitResponse; - toAminoMsg(message: _116.MsgChannelCloseInitResponse): _116.MsgChannelCloseInitResponseAminoMsg; - fromProtoMsg(message: _116.MsgChannelCloseInitResponseProtoMsg): _116.MsgChannelCloseInitResponse; - toProto(message: _116.MsgChannelCloseInitResponse): Uint8Array; - toProtoMsg(message: _116.MsgChannelCloseInitResponse): _116.MsgChannelCloseInitResponseProtoMsg; - }; - MsgChannelCloseConfirm: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgChannelCloseConfirm; - isSDK(o: any): o is _116.MsgChannelCloseConfirmSDKType; - isAmino(o: any): o is _116.MsgChannelCloseConfirmAmino; - encode(message: _116.MsgChannelCloseConfirm, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgChannelCloseConfirm; - fromJSON(object: any): _116.MsgChannelCloseConfirm; - toJSON(message: _116.MsgChannelCloseConfirm): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - proofInit?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - signer?: string; - }): _116.MsgChannelCloseConfirm; - fromSDK(object: _116.MsgChannelCloseConfirmSDKType): _116.MsgChannelCloseConfirm; - toSDK(message: _116.MsgChannelCloseConfirm): _116.MsgChannelCloseConfirmSDKType; - fromAmino(object: _116.MsgChannelCloseConfirmAmino): _116.MsgChannelCloseConfirm; - toAmino(message: _116.MsgChannelCloseConfirm): _116.MsgChannelCloseConfirmAmino; - fromAminoMsg(object: _116.MsgChannelCloseConfirmAminoMsg): _116.MsgChannelCloseConfirm; - toAminoMsg(message: _116.MsgChannelCloseConfirm): _116.MsgChannelCloseConfirmAminoMsg; - fromProtoMsg(message: _116.MsgChannelCloseConfirmProtoMsg): _116.MsgChannelCloseConfirm; - toProto(message: _116.MsgChannelCloseConfirm): Uint8Array; - toProtoMsg(message: _116.MsgChannelCloseConfirm): _116.MsgChannelCloseConfirmProtoMsg; - }; - MsgChannelCloseConfirmResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgChannelCloseConfirmResponse; - isSDK(o: any): o is _116.MsgChannelCloseConfirmResponseSDKType; - isAmino(o: any): o is _116.MsgChannelCloseConfirmResponseAmino; - encode(_: _116.MsgChannelCloseConfirmResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgChannelCloseConfirmResponse; - fromJSON(_: any): _116.MsgChannelCloseConfirmResponse; - toJSON(_: _116.MsgChannelCloseConfirmResponse): unknown; - fromPartial(_: {}): _116.MsgChannelCloseConfirmResponse; - fromSDK(_: _116.MsgChannelCloseConfirmResponseSDKType): _116.MsgChannelCloseConfirmResponse; - toSDK(_: _116.MsgChannelCloseConfirmResponse): _116.MsgChannelCloseConfirmResponseSDKType; - fromAmino(_: _116.MsgChannelCloseConfirmResponseAmino): _116.MsgChannelCloseConfirmResponse; - toAmino(_: _116.MsgChannelCloseConfirmResponse): _116.MsgChannelCloseConfirmResponseAmino; - fromAminoMsg(object: _116.MsgChannelCloseConfirmResponseAminoMsg): _116.MsgChannelCloseConfirmResponse; - toAminoMsg(message: _116.MsgChannelCloseConfirmResponse): _116.MsgChannelCloseConfirmResponseAminoMsg; - fromProtoMsg(message: _116.MsgChannelCloseConfirmResponseProtoMsg): _116.MsgChannelCloseConfirmResponse; - toProto(message: _116.MsgChannelCloseConfirmResponse): Uint8Array; - toProtoMsg(message: _116.MsgChannelCloseConfirmResponse): _116.MsgChannelCloseConfirmResponseProtoMsg; - }; - MsgRecvPacket: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgRecvPacket; - isSDK(o: any): o is _116.MsgRecvPacketSDKType; - isAmino(o: any): o is _116.MsgRecvPacketAmino; - encode(message: _116.MsgRecvPacket, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgRecvPacket; - fromJSON(object: any): _116.MsgRecvPacket; - toJSON(message: _116.MsgRecvPacket): unknown; - fromPartial(object: { - packet?: { - sequence?: bigint; - sourcePort?: string; - sourceChannel?: string; - destinationPort?: string; - destinationChannel?: string; - data?: Uint8Array; - timeoutHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - timeoutTimestamp?: bigint; - }; - proofCommitment?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - signer?: string; - }): _116.MsgRecvPacket; - fromSDK(object: _116.MsgRecvPacketSDKType): _116.MsgRecvPacket; - toSDK(message: _116.MsgRecvPacket): _116.MsgRecvPacketSDKType; - fromAmino(object: _116.MsgRecvPacketAmino): _116.MsgRecvPacket; - toAmino(message: _116.MsgRecvPacket): _116.MsgRecvPacketAmino; - fromAminoMsg(object: _116.MsgRecvPacketAminoMsg): _116.MsgRecvPacket; - toAminoMsg(message: _116.MsgRecvPacket): _116.MsgRecvPacketAminoMsg; - fromProtoMsg(message: _116.MsgRecvPacketProtoMsg): _116.MsgRecvPacket; - toProto(message: _116.MsgRecvPacket): Uint8Array; - toProtoMsg(message: _116.MsgRecvPacket): _116.MsgRecvPacketProtoMsg; - }; - MsgRecvPacketResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgRecvPacketResponse; - isSDK(o: any): o is _116.MsgRecvPacketResponseSDKType; - isAmino(o: any): o is _116.MsgRecvPacketResponseAmino; - encode(_: _116.MsgRecvPacketResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgRecvPacketResponse; - fromJSON(_: any): _116.MsgRecvPacketResponse; - toJSON(_: _116.MsgRecvPacketResponse): unknown; - fromPartial(_: {}): _116.MsgRecvPacketResponse; - fromSDK(_: _116.MsgRecvPacketResponseSDKType): _116.MsgRecvPacketResponse; - toSDK(_: _116.MsgRecvPacketResponse): _116.MsgRecvPacketResponseSDKType; - fromAmino(_: _116.MsgRecvPacketResponseAmino): _116.MsgRecvPacketResponse; - toAmino(_: _116.MsgRecvPacketResponse): _116.MsgRecvPacketResponseAmino; - fromAminoMsg(object: _116.MsgRecvPacketResponseAminoMsg): _116.MsgRecvPacketResponse; - toAminoMsg(message: _116.MsgRecvPacketResponse): _116.MsgRecvPacketResponseAminoMsg; - fromProtoMsg(message: _116.MsgRecvPacketResponseProtoMsg): _116.MsgRecvPacketResponse; - toProto(message: _116.MsgRecvPacketResponse): Uint8Array; - toProtoMsg(message: _116.MsgRecvPacketResponse): _116.MsgRecvPacketResponseProtoMsg; - }; - MsgTimeout: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgTimeout; - isSDK(o: any): o is _116.MsgTimeoutSDKType; - isAmino(o: any): o is _116.MsgTimeoutAmino; - encode(message: _116.MsgTimeout, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgTimeout; - fromJSON(object: any): _116.MsgTimeout; - toJSON(message: _116.MsgTimeout): unknown; - fromPartial(object: { - packet?: { - sequence?: bigint; - sourcePort?: string; - sourceChannel?: string; - destinationPort?: string; - destinationChannel?: string; - data?: Uint8Array; - timeoutHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - timeoutTimestamp?: bigint; - }; - proofUnreceived?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - nextSequenceRecv?: bigint; - signer?: string; - }): _116.MsgTimeout; - fromSDK(object: _116.MsgTimeoutSDKType): _116.MsgTimeout; - toSDK(message: _116.MsgTimeout): _116.MsgTimeoutSDKType; - fromAmino(object: _116.MsgTimeoutAmino): _116.MsgTimeout; - toAmino(message: _116.MsgTimeout): _116.MsgTimeoutAmino; - fromAminoMsg(object: _116.MsgTimeoutAminoMsg): _116.MsgTimeout; - toAminoMsg(message: _116.MsgTimeout): _116.MsgTimeoutAminoMsg; - fromProtoMsg(message: _116.MsgTimeoutProtoMsg): _116.MsgTimeout; - toProto(message: _116.MsgTimeout): Uint8Array; - toProtoMsg(message: _116.MsgTimeout): _116.MsgTimeoutProtoMsg; - }; - MsgTimeoutResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgTimeoutResponse; - isSDK(o: any): o is _116.MsgTimeoutResponseSDKType; - isAmino(o: any): o is _116.MsgTimeoutResponseAmino; - encode(_: _116.MsgTimeoutResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgTimeoutResponse; - fromJSON(_: any): _116.MsgTimeoutResponse; - toJSON(_: _116.MsgTimeoutResponse): unknown; - fromPartial(_: {}): _116.MsgTimeoutResponse; - fromSDK(_: _116.MsgTimeoutResponseSDKType): _116.MsgTimeoutResponse; - toSDK(_: _116.MsgTimeoutResponse): _116.MsgTimeoutResponseSDKType; - fromAmino(_: _116.MsgTimeoutResponseAmino): _116.MsgTimeoutResponse; - toAmino(_: _116.MsgTimeoutResponse): _116.MsgTimeoutResponseAmino; - fromAminoMsg(object: _116.MsgTimeoutResponseAminoMsg): _116.MsgTimeoutResponse; - toAminoMsg(message: _116.MsgTimeoutResponse): _116.MsgTimeoutResponseAminoMsg; - fromProtoMsg(message: _116.MsgTimeoutResponseProtoMsg): _116.MsgTimeoutResponse; - toProto(message: _116.MsgTimeoutResponse): Uint8Array; - toProtoMsg(message: _116.MsgTimeoutResponse): _116.MsgTimeoutResponseProtoMsg; - }; - MsgTimeoutOnClose: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgTimeoutOnClose; - isSDK(o: any): o is _116.MsgTimeoutOnCloseSDKType; - isAmino(o: any): o is _116.MsgTimeoutOnCloseAmino; - encode(message: _116.MsgTimeoutOnClose, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgTimeoutOnClose; - fromJSON(object: any): _116.MsgTimeoutOnClose; - toJSON(message: _116.MsgTimeoutOnClose): unknown; - fromPartial(object: { - packet?: { - sequence?: bigint; - sourcePort?: string; - sourceChannel?: string; - destinationPort?: string; - destinationChannel?: string; - data?: Uint8Array; - timeoutHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - timeoutTimestamp?: bigint; - }; - proofUnreceived?: Uint8Array; - proofClose?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - nextSequenceRecv?: bigint; - signer?: string; - }): _116.MsgTimeoutOnClose; - fromSDK(object: _116.MsgTimeoutOnCloseSDKType): _116.MsgTimeoutOnClose; - toSDK(message: _116.MsgTimeoutOnClose): _116.MsgTimeoutOnCloseSDKType; - fromAmino(object: _116.MsgTimeoutOnCloseAmino): _116.MsgTimeoutOnClose; - toAmino(message: _116.MsgTimeoutOnClose): _116.MsgTimeoutOnCloseAmino; - fromAminoMsg(object: _116.MsgTimeoutOnCloseAminoMsg): _116.MsgTimeoutOnClose; - toAminoMsg(message: _116.MsgTimeoutOnClose): _116.MsgTimeoutOnCloseAminoMsg; - fromProtoMsg(message: _116.MsgTimeoutOnCloseProtoMsg): _116.MsgTimeoutOnClose; - toProto(message: _116.MsgTimeoutOnClose): Uint8Array; - toProtoMsg(message: _116.MsgTimeoutOnClose): _116.MsgTimeoutOnCloseProtoMsg; - }; - MsgTimeoutOnCloseResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgTimeoutOnCloseResponse; - isSDK(o: any): o is _116.MsgTimeoutOnCloseResponseSDKType; - isAmino(o: any): o is _116.MsgTimeoutOnCloseResponseAmino; - encode(_: _116.MsgTimeoutOnCloseResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgTimeoutOnCloseResponse; - fromJSON(_: any): _116.MsgTimeoutOnCloseResponse; - toJSON(_: _116.MsgTimeoutOnCloseResponse): unknown; - fromPartial(_: {}): _116.MsgTimeoutOnCloseResponse; - fromSDK(_: _116.MsgTimeoutOnCloseResponseSDKType): _116.MsgTimeoutOnCloseResponse; - toSDK(_: _116.MsgTimeoutOnCloseResponse): _116.MsgTimeoutOnCloseResponseSDKType; - fromAmino(_: _116.MsgTimeoutOnCloseResponseAmino): _116.MsgTimeoutOnCloseResponse; - toAmino(_: _116.MsgTimeoutOnCloseResponse): _116.MsgTimeoutOnCloseResponseAmino; - fromAminoMsg(object: _116.MsgTimeoutOnCloseResponseAminoMsg): _116.MsgTimeoutOnCloseResponse; - toAminoMsg(message: _116.MsgTimeoutOnCloseResponse): _116.MsgTimeoutOnCloseResponseAminoMsg; - fromProtoMsg(message: _116.MsgTimeoutOnCloseResponseProtoMsg): _116.MsgTimeoutOnCloseResponse; - toProto(message: _116.MsgTimeoutOnCloseResponse): Uint8Array; - toProtoMsg(message: _116.MsgTimeoutOnCloseResponse): _116.MsgTimeoutOnCloseResponseProtoMsg; - }; - MsgAcknowledgement: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgAcknowledgement; - isSDK(o: any): o is _116.MsgAcknowledgementSDKType; - isAmino(o: any): o is _116.MsgAcknowledgementAmino; - encode(message: _116.MsgAcknowledgement, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgAcknowledgement; - fromJSON(object: any): _116.MsgAcknowledgement; - toJSON(message: _116.MsgAcknowledgement): unknown; - fromPartial(object: { - packet?: { - sequence?: bigint; - sourcePort?: string; - sourceChannel?: string; - destinationPort?: string; - destinationChannel?: string; - data?: Uint8Array; - timeoutHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - timeoutTimestamp?: bigint; - }; - acknowledgement?: Uint8Array; - proofAcked?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - signer?: string; - }): _116.MsgAcknowledgement; - fromSDK(object: _116.MsgAcknowledgementSDKType): _116.MsgAcknowledgement; - toSDK(message: _116.MsgAcknowledgement): _116.MsgAcknowledgementSDKType; - fromAmino(object: _116.MsgAcknowledgementAmino): _116.MsgAcknowledgement; - toAmino(message: _116.MsgAcknowledgement): _116.MsgAcknowledgementAmino; - fromAminoMsg(object: _116.MsgAcknowledgementAminoMsg): _116.MsgAcknowledgement; - toAminoMsg(message: _116.MsgAcknowledgement): _116.MsgAcknowledgementAminoMsg; - fromProtoMsg(message: _116.MsgAcknowledgementProtoMsg): _116.MsgAcknowledgement; - toProto(message: _116.MsgAcknowledgement): Uint8Array; - toProtoMsg(message: _116.MsgAcknowledgement): _116.MsgAcknowledgementProtoMsg; - }; - MsgAcknowledgementResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _116.MsgAcknowledgementResponse; - isSDK(o: any): o is _116.MsgAcknowledgementResponseSDKType; - isAmino(o: any): o is _116.MsgAcknowledgementResponseAmino; - encode(_: _116.MsgAcknowledgementResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _116.MsgAcknowledgementResponse; - fromJSON(_: any): _116.MsgAcknowledgementResponse; - toJSON(_: _116.MsgAcknowledgementResponse): unknown; - fromPartial(_: {}): _116.MsgAcknowledgementResponse; - fromSDK(_: _116.MsgAcknowledgementResponseSDKType): _116.MsgAcknowledgementResponse; - toSDK(_: _116.MsgAcknowledgementResponse): _116.MsgAcknowledgementResponseSDKType; - fromAmino(_: _116.MsgAcknowledgementResponseAmino): _116.MsgAcknowledgementResponse; - toAmino(_: _116.MsgAcknowledgementResponse): _116.MsgAcknowledgementResponseAmino; - fromAminoMsg(object: _116.MsgAcknowledgementResponseAminoMsg): _116.MsgAcknowledgementResponse; - toAminoMsg(message: _116.MsgAcknowledgementResponse): _116.MsgAcknowledgementResponseAminoMsg; - fromProtoMsg(message: _116.MsgAcknowledgementResponseProtoMsg): _116.MsgAcknowledgementResponse; - toProto(message: _116.MsgAcknowledgementResponse): Uint8Array; - toProtoMsg(message: _116.MsgAcknowledgementResponse): _116.MsgAcknowledgementResponseProtoMsg; - }; - QueryChannelRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryChannelRequest; - isSDK(o: any): o is _115.QueryChannelRequestSDKType; - isAmino(o: any): o is _115.QueryChannelRequestAmino; - encode(message: _115.QueryChannelRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryChannelRequest; - fromJSON(object: any): _115.QueryChannelRequest; - toJSON(message: _115.QueryChannelRequest): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - }): _115.QueryChannelRequest; - fromSDK(object: _115.QueryChannelRequestSDKType): _115.QueryChannelRequest; - toSDK(message: _115.QueryChannelRequest): _115.QueryChannelRequestSDKType; - fromAmino(object: _115.QueryChannelRequestAmino): _115.QueryChannelRequest; - toAmino(message: _115.QueryChannelRequest): _115.QueryChannelRequestAmino; - fromAminoMsg(object: _115.QueryChannelRequestAminoMsg): _115.QueryChannelRequest; - toAminoMsg(message: _115.QueryChannelRequest): _115.QueryChannelRequestAminoMsg; - fromProtoMsg(message: _115.QueryChannelRequestProtoMsg): _115.QueryChannelRequest; - toProto(message: _115.QueryChannelRequest): Uint8Array; - toProtoMsg(message: _115.QueryChannelRequest): _115.QueryChannelRequestProtoMsg; - }; - QueryChannelResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryChannelResponse; - isSDK(o: any): o is _115.QueryChannelResponseSDKType; - isAmino(o: any): o is _115.QueryChannelResponseAmino; - encode(message: _115.QueryChannelResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryChannelResponse; - fromJSON(object: any): _115.QueryChannelResponse; - toJSON(message: _115.QueryChannelResponse): unknown; - fromPartial(object: { - channel?: { - state?: _113.State; - ordering?: _113.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - }; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _115.QueryChannelResponse; - fromSDK(object: _115.QueryChannelResponseSDKType): _115.QueryChannelResponse; - toSDK(message: _115.QueryChannelResponse): _115.QueryChannelResponseSDKType; - fromAmino(object: _115.QueryChannelResponseAmino): _115.QueryChannelResponse; - toAmino(message: _115.QueryChannelResponse): _115.QueryChannelResponseAmino; - fromAminoMsg(object: _115.QueryChannelResponseAminoMsg): _115.QueryChannelResponse; - toAminoMsg(message: _115.QueryChannelResponse): _115.QueryChannelResponseAminoMsg; - fromProtoMsg(message: _115.QueryChannelResponseProtoMsg): _115.QueryChannelResponse; - toProto(message: _115.QueryChannelResponse): Uint8Array; - toProtoMsg(message: _115.QueryChannelResponse): _115.QueryChannelResponseProtoMsg; - }; - QueryChannelsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryChannelsRequest; - isSDK(o: any): o is _115.QueryChannelsRequestSDKType; - isAmino(o: any): o is _115.QueryChannelsRequestAmino; - encode(message: _115.QueryChannelsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryChannelsRequest; - fromJSON(object: any): _115.QueryChannelsRequest; - toJSON(message: _115.QueryChannelsRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _115.QueryChannelsRequest; - fromSDK(object: _115.QueryChannelsRequestSDKType): _115.QueryChannelsRequest; - toSDK(message: _115.QueryChannelsRequest): _115.QueryChannelsRequestSDKType; - fromAmino(object: _115.QueryChannelsRequestAmino): _115.QueryChannelsRequest; - toAmino(message: _115.QueryChannelsRequest): _115.QueryChannelsRequestAmino; - fromAminoMsg(object: _115.QueryChannelsRequestAminoMsg): _115.QueryChannelsRequest; - toAminoMsg(message: _115.QueryChannelsRequest): _115.QueryChannelsRequestAminoMsg; - fromProtoMsg(message: _115.QueryChannelsRequestProtoMsg): _115.QueryChannelsRequest; - toProto(message: _115.QueryChannelsRequest): Uint8Array; - toProtoMsg(message: _115.QueryChannelsRequest): _115.QueryChannelsRequestProtoMsg; - }; - QueryChannelsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryChannelsResponse; - isSDK(o: any): o is _115.QueryChannelsResponseSDKType; - isAmino(o: any): o is _115.QueryChannelsResponseAmino; - encode(message: _115.QueryChannelsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryChannelsResponse; - fromJSON(object: any): _115.QueryChannelsResponse; - toJSON(message: _115.QueryChannelsResponse): unknown; - fromPartial(object: { - channels?: { - state?: _113.State; - ordering?: _113.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - portId?: string; - channelId?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - height?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _115.QueryChannelsResponse; - fromSDK(object: _115.QueryChannelsResponseSDKType): _115.QueryChannelsResponse; - toSDK(message: _115.QueryChannelsResponse): _115.QueryChannelsResponseSDKType; - fromAmino(object: _115.QueryChannelsResponseAmino): _115.QueryChannelsResponse; - toAmino(message: _115.QueryChannelsResponse): _115.QueryChannelsResponseAmino; - fromAminoMsg(object: _115.QueryChannelsResponseAminoMsg): _115.QueryChannelsResponse; - toAminoMsg(message: _115.QueryChannelsResponse): _115.QueryChannelsResponseAminoMsg; - fromProtoMsg(message: _115.QueryChannelsResponseProtoMsg): _115.QueryChannelsResponse; - toProto(message: _115.QueryChannelsResponse): Uint8Array; - toProtoMsg(message: _115.QueryChannelsResponse): _115.QueryChannelsResponseProtoMsg; - }; - QueryConnectionChannelsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryConnectionChannelsRequest; - isSDK(o: any): o is _115.QueryConnectionChannelsRequestSDKType; - isAmino(o: any): o is _115.QueryConnectionChannelsRequestAmino; - encode(message: _115.QueryConnectionChannelsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryConnectionChannelsRequest; - fromJSON(object: any): _115.QueryConnectionChannelsRequest; - toJSON(message: _115.QueryConnectionChannelsRequest): unknown; - fromPartial(object: { - connection?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _115.QueryConnectionChannelsRequest; - fromSDK(object: _115.QueryConnectionChannelsRequestSDKType): _115.QueryConnectionChannelsRequest; - toSDK(message: _115.QueryConnectionChannelsRequest): _115.QueryConnectionChannelsRequestSDKType; - fromAmino(object: _115.QueryConnectionChannelsRequestAmino): _115.QueryConnectionChannelsRequest; - toAmino(message: _115.QueryConnectionChannelsRequest): _115.QueryConnectionChannelsRequestAmino; - fromAminoMsg(object: _115.QueryConnectionChannelsRequestAminoMsg): _115.QueryConnectionChannelsRequest; - toAminoMsg(message: _115.QueryConnectionChannelsRequest): _115.QueryConnectionChannelsRequestAminoMsg; - fromProtoMsg(message: _115.QueryConnectionChannelsRequestProtoMsg): _115.QueryConnectionChannelsRequest; - toProto(message: _115.QueryConnectionChannelsRequest): Uint8Array; - toProtoMsg(message: _115.QueryConnectionChannelsRequest): _115.QueryConnectionChannelsRequestProtoMsg; - }; - QueryConnectionChannelsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryConnectionChannelsResponse; - isSDK(o: any): o is _115.QueryConnectionChannelsResponseSDKType; - isAmino(o: any): o is _115.QueryConnectionChannelsResponseAmino; - encode(message: _115.QueryConnectionChannelsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryConnectionChannelsResponse; - fromJSON(object: any): _115.QueryConnectionChannelsResponse; - toJSON(message: _115.QueryConnectionChannelsResponse): unknown; - fromPartial(object: { - channels?: { - state?: _113.State; - ordering?: _113.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - portId?: string; - channelId?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - height?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _115.QueryConnectionChannelsResponse; - fromSDK(object: _115.QueryConnectionChannelsResponseSDKType): _115.QueryConnectionChannelsResponse; - toSDK(message: _115.QueryConnectionChannelsResponse): _115.QueryConnectionChannelsResponseSDKType; - fromAmino(object: _115.QueryConnectionChannelsResponseAmino): _115.QueryConnectionChannelsResponse; - toAmino(message: _115.QueryConnectionChannelsResponse): _115.QueryConnectionChannelsResponseAmino; - fromAminoMsg(object: _115.QueryConnectionChannelsResponseAminoMsg): _115.QueryConnectionChannelsResponse; - toAminoMsg(message: _115.QueryConnectionChannelsResponse): _115.QueryConnectionChannelsResponseAminoMsg; - fromProtoMsg(message: _115.QueryConnectionChannelsResponseProtoMsg): _115.QueryConnectionChannelsResponse; - toProto(message: _115.QueryConnectionChannelsResponse): Uint8Array; - toProtoMsg(message: _115.QueryConnectionChannelsResponse): _115.QueryConnectionChannelsResponseProtoMsg; - }; - QueryChannelClientStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryChannelClientStateRequest; - isSDK(o: any): o is _115.QueryChannelClientStateRequestSDKType; - isAmino(o: any): o is _115.QueryChannelClientStateRequestAmino; - encode(message: _115.QueryChannelClientStateRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryChannelClientStateRequest; - fromJSON(object: any): _115.QueryChannelClientStateRequest; - toJSON(message: _115.QueryChannelClientStateRequest): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - }): _115.QueryChannelClientStateRequest; - fromSDK(object: _115.QueryChannelClientStateRequestSDKType): _115.QueryChannelClientStateRequest; - toSDK(message: _115.QueryChannelClientStateRequest): _115.QueryChannelClientStateRequestSDKType; - fromAmino(object: _115.QueryChannelClientStateRequestAmino): _115.QueryChannelClientStateRequest; - toAmino(message: _115.QueryChannelClientStateRequest): _115.QueryChannelClientStateRequestAmino; - fromAminoMsg(object: _115.QueryChannelClientStateRequestAminoMsg): _115.QueryChannelClientStateRequest; - toAminoMsg(message: _115.QueryChannelClientStateRequest): _115.QueryChannelClientStateRequestAminoMsg; - fromProtoMsg(message: _115.QueryChannelClientStateRequestProtoMsg): _115.QueryChannelClientStateRequest; - toProto(message: _115.QueryChannelClientStateRequest): Uint8Array; - toProtoMsg(message: _115.QueryChannelClientStateRequest): _115.QueryChannelClientStateRequestProtoMsg; - }; - QueryChannelClientStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryChannelClientStateResponse; - isSDK(o: any): o is _115.QueryChannelClientStateResponseSDKType; - isAmino(o: any): o is _115.QueryChannelClientStateResponseAmino; - encode(message: _115.QueryChannelClientStateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryChannelClientStateResponse; - fromJSON(object: any): _115.QueryChannelClientStateResponse; - toJSON(message: _115.QueryChannelClientStateResponse): unknown; - fromPartial(object: { - identifiedClientState?: { - clientId?: string; - clientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _115.QueryChannelClientStateResponse; - fromSDK(object: _115.QueryChannelClientStateResponseSDKType): _115.QueryChannelClientStateResponse; - toSDK(message: _115.QueryChannelClientStateResponse): _115.QueryChannelClientStateResponseSDKType; - fromAmino(object: _115.QueryChannelClientStateResponseAmino): _115.QueryChannelClientStateResponse; - toAmino(message: _115.QueryChannelClientStateResponse): _115.QueryChannelClientStateResponseAmino; - fromAminoMsg(object: _115.QueryChannelClientStateResponseAminoMsg): _115.QueryChannelClientStateResponse; - toAminoMsg(message: _115.QueryChannelClientStateResponse): _115.QueryChannelClientStateResponseAminoMsg; - fromProtoMsg(message: _115.QueryChannelClientStateResponseProtoMsg): _115.QueryChannelClientStateResponse; - toProto(message: _115.QueryChannelClientStateResponse): Uint8Array; - toProtoMsg(message: _115.QueryChannelClientStateResponse): _115.QueryChannelClientStateResponseProtoMsg; - }; - QueryChannelConsensusStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryChannelConsensusStateRequest; - isSDK(o: any): o is _115.QueryChannelConsensusStateRequestSDKType; - isAmino(o: any): o is _115.QueryChannelConsensusStateRequestAmino; - encode(message: _115.QueryChannelConsensusStateRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryChannelConsensusStateRequest; - fromJSON(object: any): _115.QueryChannelConsensusStateRequest; - toJSON(message: _115.QueryChannelConsensusStateRequest): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - revisionNumber?: bigint; - revisionHeight?: bigint; - }): _115.QueryChannelConsensusStateRequest; - fromSDK(object: _115.QueryChannelConsensusStateRequestSDKType): _115.QueryChannelConsensusStateRequest; - toSDK(message: _115.QueryChannelConsensusStateRequest): _115.QueryChannelConsensusStateRequestSDKType; - fromAmino(object: _115.QueryChannelConsensusStateRequestAmino): _115.QueryChannelConsensusStateRequest; - toAmino(message: _115.QueryChannelConsensusStateRequest): _115.QueryChannelConsensusStateRequestAmino; - fromAminoMsg(object: _115.QueryChannelConsensusStateRequestAminoMsg): _115.QueryChannelConsensusStateRequest; - toAminoMsg(message: _115.QueryChannelConsensusStateRequest): _115.QueryChannelConsensusStateRequestAminoMsg; - fromProtoMsg(message: _115.QueryChannelConsensusStateRequestProtoMsg): _115.QueryChannelConsensusStateRequest; - toProto(message: _115.QueryChannelConsensusStateRequest): Uint8Array; - toProtoMsg(message: _115.QueryChannelConsensusStateRequest): _115.QueryChannelConsensusStateRequestProtoMsg; - }; - QueryChannelConsensusStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryChannelConsensusStateResponse; - isSDK(o: any): o is _115.QueryChannelConsensusStateResponseSDKType; - isAmino(o: any): o is _115.QueryChannelConsensusStateResponseAmino; - encode(message: _115.QueryChannelConsensusStateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryChannelConsensusStateResponse; - fromJSON(object: any): _115.QueryChannelConsensusStateResponse; - toJSON(message: _115.QueryChannelConsensusStateResponse): unknown; - fromPartial(object: { - consensusState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - clientId?: string; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _115.QueryChannelConsensusStateResponse; - fromSDK(object: _115.QueryChannelConsensusStateResponseSDKType): _115.QueryChannelConsensusStateResponse; - toSDK(message: _115.QueryChannelConsensusStateResponse): _115.QueryChannelConsensusStateResponseSDKType; - fromAmino(object: _115.QueryChannelConsensusStateResponseAmino): _115.QueryChannelConsensusStateResponse; - toAmino(message: _115.QueryChannelConsensusStateResponse): _115.QueryChannelConsensusStateResponseAmino; - fromAminoMsg(object: _115.QueryChannelConsensusStateResponseAminoMsg): _115.QueryChannelConsensusStateResponse; - toAminoMsg(message: _115.QueryChannelConsensusStateResponse): _115.QueryChannelConsensusStateResponseAminoMsg; - fromProtoMsg(message: _115.QueryChannelConsensusStateResponseProtoMsg): _115.QueryChannelConsensusStateResponse; - toProto(message: _115.QueryChannelConsensusStateResponse): Uint8Array; - toProtoMsg(message: _115.QueryChannelConsensusStateResponse): _115.QueryChannelConsensusStateResponseProtoMsg; - }; - QueryPacketCommitmentRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryPacketCommitmentRequest; - isSDK(o: any): o is _115.QueryPacketCommitmentRequestSDKType; - isAmino(o: any): o is _115.QueryPacketCommitmentRequestAmino; - encode(message: _115.QueryPacketCommitmentRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryPacketCommitmentRequest; - fromJSON(object: any): _115.QueryPacketCommitmentRequest; - toJSON(message: _115.QueryPacketCommitmentRequest): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - sequence?: bigint; - }): _115.QueryPacketCommitmentRequest; - fromSDK(object: _115.QueryPacketCommitmentRequestSDKType): _115.QueryPacketCommitmentRequest; - toSDK(message: _115.QueryPacketCommitmentRequest): _115.QueryPacketCommitmentRequestSDKType; - fromAmino(object: _115.QueryPacketCommitmentRequestAmino): _115.QueryPacketCommitmentRequest; - toAmino(message: _115.QueryPacketCommitmentRequest): _115.QueryPacketCommitmentRequestAmino; - fromAminoMsg(object: _115.QueryPacketCommitmentRequestAminoMsg): _115.QueryPacketCommitmentRequest; - toAminoMsg(message: _115.QueryPacketCommitmentRequest): _115.QueryPacketCommitmentRequestAminoMsg; - fromProtoMsg(message: _115.QueryPacketCommitmentRequestProtoMsg): _115.QueryPacketCommitmentRequest; - toProto(message: _115.QueryPacketCommitmentRequest): Uint8Array; - toProtoMsg(message: _115.QueryPacketCommitmentRequest): _115.QueryPacketCommitmentRequestProtoMsg; - }; - QueryPacketCommitmentResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryPacketCommitmentResponse; - isSDK(o: any): o is _115.QueryPacketCommitmentResponseSDKType; - isAmino(o: any): o is _115.QueryPacketCommitmentResponseAmino; - encode(message: _115.QueryPacketCommitmentResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryPacketCommitmentResponse; - fromJSON(object: any): _115.QueryPacketCommitmentResponse; - toJSON(message: _115.QueryPacketCommitmentResponse): unknown; - fromPartial(object: { - commitment?: Uint8Array; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _115.QueryPacketCommitmentResponse; - fromSDK(object: _115.QueryPacketCommitmentResponseSDKType): _115.QueryPacketCommitmentResponse; - toSDK(message: _115.QueryPacketCommitmentResponse): _115.QueryPacketCommitmentResponseSDKType; - fromAmino(object: _115.QueryPacketCommitmentResponseAmino): _115.QueryPacketCommitmentResponse; - toAmino(message: _115.QueryPacketCommitmentResponse): _115.QueryPacketCommitmentResponseAmino; - fromAminoMsg(object: _115.QueryPacketCommitmentResponseAminoMsg): _115.QueryPacketCommitmentResponse; - toAminoMsg(message: _115.QueryPacketCommitmentResponse): _115.QueryPacketCommitmentResponseAminoMsg; - fromProtoMsg(message: _115.QueryPacketCommitmentResponseProtoMsg): _115.QueryPacketCommitmentResponse; - toProto(message: _115.QueryPacketCommitmentResponse): Uint8Array; - toProtoMsg(message: _115.QueryPacketCommitmentResponse): _115.QueryPacketCommitmentResponseProtoMsg; - }; - QueryPacketCommitmentsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryPacketCommitmentsRequest; - isSDK(o: any): o is _115.QueryPacketCommitmentsRequestSDKType; - isAmino(o: any): o is _115.QueryPacketCommitmentsRequestAmino; - encode(message: _115.QueryPacketCommitmentsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryPacketCommitmentsRequest; - fromJSON(object: any): _115.QueryPacketCommitmentsRequest; - toJSON(message: _115.QueryPacketCommitmentsRequest): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _115.QueryPacketCommitmentsRequest; - fromSDK(object: _115.QueryPacketCommitmentsRequestSDKType): _115.QueryPacketCommitmentsRequest; - toSDK(message: _115.QueryPacketCommitmentsRequest): _115.QueryPacketCommitmentsRequestSDKType; - fromAmino(object: _115.QueryPacketCommitmentsRequestAmino): _115.QueryPacketCommitmentsRequest; - toAmino(message: _115.QueryPacketCommitmentsRequest): _115.QueryPacketCommitmentsRequestAmino; - fromAminoMsg(object: _115.QueryPacketCommitmentsRequestAminoMsg): _115.QueryPacketCommitmentsRequest; - toAminoMsg(message: _115.QueryPacketCommitmentsRequest): _115.QueryPacketCommitmentsRequestAminoMsg; - fromProtoMsg(message: _115.QueryPacketCommitmentsRequestProtoMsg): _115.QueryPacketCommitmentsRequest; - toProto(message: _115.QueryPacketCommitmentsRequest): Uint8Array; - toProtoMsg(message: _115.QueryPacketCommitmentsRequest): _115.QueryPacketCommitmentsRequestProtoMsg; - }; - QueryPacketCommitmentsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryPacketCommitmentsResponse; - isSDK(o: any): o is _115.QueryPacketCommitmentsResponseSDKType; - isAmino(o: any): o is _115.QueryPacketCommitmentsResponseAmino; - encode(message: _115.QueryPacketCommitmentsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryPacketCommitmentsResponse; - fromJSON(object: any): _115.QueryPacketCommitmentsResponse; - toJSON(message: _115.QueryPacketCommitmentsResponse): unknown; - fromPartial(object: { - commitments?: { - portId?: string; - channelId?: string; - sequence?: bigint; - data?: Uint8Array; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - height?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _115.QueryPacketCommitmentsResponse; - fromSDK(object: _115.QueryPacketCommitmentsResponseSDKType): _115.QueryPacketCommitmentsResponse; - toSDK(message: _115.QueryPacketCommitmentsResponse): _115.QueryPacketCommitmentsResponseSDKType; - fromAmino(object: _115.QueryPacketCommitmentsResponseAmino): _115.QueryPacketCommitmentsResponse; - toAmino(message: _115.QueryPacketCommitmentsResponse): _115.QueryPacketCommitmentsResponseAmino; - fromAminoMsg(object: _115.QueryPacketCommitmentsResponseAminoMsg): _115.QueryPacketCommitmentsResponse; - toAminoMsg(message: _115.QueryPacketCommitmentsResponse): _115.QueryPacketCommitmentsResponseAminoMsg; - fromProtoMsg(message: _115.QueryPacketCommitmentsResponseProtoMsg): _115.QueryPacketCommitmentsResponse; - toProto(message: _115.QueryPacketCommitmentsResponse): Uint8Array; - toProtoMsg(message: _115.QueryPacketCommitmentsResponse): _115.QueryPacketCommitmentsResponseProtoMsg; - }; - QueryPacketReceiptRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryPacketReceiptRequest; - isSDK(o: any): o is _115.QueryPacketReceiptRequestSDKType; - isAmino(o: any): o is _115.QueryPacketReceiptRequestAmino; - encode(message: _115.QueryPacketReceiptRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryPacketReceiptRequest; - fromJSON(object: any): _115.QueryPacketReceiptRequest; - toJSON(message: _115.QueryPacketReceiptRequest): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - sequence?: bigint; - }): _115.QueryPacketReceiptRequest; - fromSDK(object: _115.QueryPacketReceiptRequestSDKType): _115.QueryPacketReceiptRequest; - toSDK(message: _115.QueryPacketReceiptRequest): _115.QueryPacketReceiptRequestSDKType; - fromAmino(object: _115.QueryPacketReceiptRequestAmino): _115.QueryPacketReceiptRequest; - toAmino(message: _115.QueryPacketReceiptRequest): _115.QueryPacketReceiptRequestAmino; - fromAminoMsg(object: _115.QueryPacketReceiptRequestAminoMsg): _115.QueryPacketReceiptRequest; - toAminoMsg(message: _115.QueryPacketReceiptRequest): _115.QueryPacketReceiptRequestAminoMsg; - fromProtoMsg(message: _115.QueryPacketReceiptRequestProtoMsg): _115.QueryPacketReceiptRequest; - toProto(message: _115.QueryPacketReceiptRequest): Uint8Array; - toProtoMsg(message: _115.QueryPacketReceiptRequest): _115.QueryPacketReceiptRequestProtoMsg; - }; - QueryPacketReceiptResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryPacketReceiptResponse; - isSDK(o: any): o is _115.QueryPacketReceiptResponseSDKType; - isAmino(o: any): o is _115.QueryPacketReceiptResponseAmino; - encode(message: _115.QueryPacketReceiptResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryPacketReceiptResponse; - fromJSON(object: any): _115.QueryPacketReceiptResponse; - toJSON(message: _115.QueryPacketReceiptResponse): unknown; - fromPartial(object: { - received?: boolean; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _115.QueryPacketReceiptResponse; - fromSDK(object: _115.QueryPacketReceiptResponseSDKType): _115.QueryPacketReceiptResponse; - toSDK(message: _115.QueryPacketReceiptResponse): _115.QueryPacketReceiptResponseSDKType; - fromAmino(object: _115.QueryPacketReceiptResponseAmino): _115.QueryPacketReceiptResponse; - toAmino(message: _115.QueryPacketReceiptResponse): _115.QueryPacketReceiptResponseAmino; - fromAminoMsg(object: _115.QueryPacketReceiptResponseAminoMsg): _115.QueryPacketReceiptResponse; - toAminoMsg(message: _115.QueryPacketReceiptResponse): _115.QueryPacketReceiptResponseAminoMsg; - fromProtoMsg(message: _115.QueryPacketReceiptResponseProtoMsg): _115.QueryPacketReceiptResponse; - toProto(message: _115.QueryPacketReceiptResponse): Uint8Array; - toProtoMsg(message: _115.QueryPacketReceiptResponse): _115.QueryPacketReceiptResponseProtoMsg; - }; - QueryPacketAcknowledgementRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryPacketAcknowledgementRequest; - isSDK(o: any): o is _115.QueryPacketAcknowledgementRequestSDKType; - isAmino(o: any): o is _115.QueryPacketAcknowledgementRequestAmino; - encode(message: _115.QueryPacketAcknowledgementRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryPacketAcknowledgementRequest; - fromJSON(object: any): _115.QueryPacketAcknowledgementRequest; - toJSON(message: _115.QueryPacketAcknowledgementRequest): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - sequence?: bigint; - }): _115.QueryPacketAcknowledgementRequest; - fromSDK(object: _115.QueryPacketAcknowledgementRequestSDKType): _115.QueryPacketAcknowledgementRequest; - toSDK(message: _115.QueryPacketAcknowledgementRequest): _115.QueryPacketAcknowledgementRequestSDKType; - fromAmino(object: _115.QueryPacketAcknowledgementRequestAmino): _115.QueryPacketAcknowledgementRequest; - toAmino(message: _115.QueryPacketAcknowledgementRequest): _115.QueryPacketAcknowledgementRequestAmino; - fromAminoMsg(object: _115.QueryPacketAcknowledgementRequestAminoMsg): _115.QueryPacketAcknowledgementRequest; - toAminoMsg(message: _115.QueryPacketAcknowledgementRequest): _115.QueryPacketAcknowledgementRequestAminoMsg; - fromProtoMsg(message: _115.QueryPacketAcknowledgementRequestProtoMsg): _115.QueryPacketAcknowledgementRequest; - toProto(message: _115.QueryPacketAcknowledgementRequest): Uint8Array; - toProtoMsg(message: _115.QueryPacketAcknowledgementRequest): _115.QueryPacketAcknowledgementRequestProtoMsg; - }; - QueryPacketAcknowledgementResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryPacketAcknowledgementResponse; - isSDK(o: any): o is _115.QueryPacketAcknowledgementResponseSDKType; - isAmino(o: any): o is _115.QueryPacketAcknowledgementResponseAmino; - encode(message: _115.QueryPacketAcknowledgementResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryPacketAcknowledgementResponse; - fromJSON(object: any): _115.QueryPacketAcknowledgementResponse; - toJSON(message: _115.QueryPacketAcknowledgementResponse): unknown; - fromPartial(object: { - acknowledgement?: Uint8Array; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _115.QueryPacketAcknowledgementResponse; - fromSDK(object: _115.QueryPacketAcknowledgementResponseSDKType): _115.QueryPacketAcknowledgementResponse; - toSDK(message: _115.QueryPacketAcknowledgementResponse): _115.QueryPacketAcknowledgementResponseSDKType; - fromAmino(object: _115.QueryPacketAcknowledgementResponseAmino): _115.QueryPacketAcknowledgementResponse; - toAmino(message: _115.QueryPacketAcknowledgementResponse): _115.QueryPacketAcknowledgementResponseAmino; - fromAminoMsg(object: _115.QueryPacketAcknowledgementResponseAminoMsg): _115.QueryPacketAcknowledgementResponse; - toAminoMsg(message: _115.QueryPacketAcknowledgementResponse): _115.QueryPacketAcknowledgementResponseAminoMsg; - fromProtoMsg(message: _115.QueryPacketAcknowledgementResponseProtoMsg): _115.QueryPacketAcknowledgementResponse; - toProto(message: _115.QueryPacketAcknowledgementResponse): Uint8Array; - toProtoMsg(message: _115.QueryPacketAcknowledgementResponse): _115.QueryPacketAcknowledgementResponseProtoMsg; - }; - QueryPacketAcknowledgementsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryPacketAcknowledgementsRequest; - isSDK(o: any): o is _115.QueryPacketAcknowledgementsRequestSDKType; - isAmino(o: any): o is _115.QueryPacketAcknowledgementsRequestAmino; - encode(message: _115.QueryPacketAcknowledgementsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryPacketAcknowledgementsRequest; - fromJSON(object: any): _115.QueryPacketAcknowledgementsRequest; - toJSON(message: _115.QueryPacketAcknowledgementsRequest): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - packetCommitmentSequences?: bigint[]; - }): _115.QueryPacketAcknowledgementsRequest; - fromSDK(object: _115.QueryPacketAcknowledgementsRequestSDKType): _115.QueryPacketAcknowledgementsRequest; - toSDK(message: _115.QueryPacketAcknowledgementsRequest): _115.QueryPacketAcknowledgementsRequestSDKType; - fromAmino(object: _115.QueryPacketAcknowledgementsRequestAmino): _115.QueryPacketAcknowledgementsRequest; - toAmino(message: _115.QueryPacketAcknowledgementsRequest): _115.QueryPacketAcknowledgementsRequestAmino; - fromAminoMsg(object: _115.QueryPacketAcknowledgementsRequestAminoMsg): _115.QueryPacketAcknowledgementsRequest; - toAminoMsg(message: _115.QueryPacketAcknowledgementsRequest): _115.QueryPacketAcknowledgementsRequestAminoMsg; - fromProtoMsg(message: _115.QueryPacketAcknowledgementsRequestProtoMsg): _115.QueryPacketAcknowledgementsRequest; - toProto(message: _115.QueryPacketAcknowledgementsRequest): Uint8Array; - toProtoMsg(message: _115.QueryPacketAcknowledgementsRequest): _115.QueryPacketAcknowledgementsRequestProtoMsg; - }; - QueryPacketAcknowledgementsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryPacketAcknowledgementsResponse; - isSDK(o: any): o is _115.QueryPacketAcknowledgementsResponseSDKType; - isAmino(o: any): o is _115.QueryPacketAcknowledgementsResponseAmino; - encode(message: _115.QueryPacketAcknowledgementsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryPacketAcknowledgementsResponse; - fromJSON(object: any): _115.QueryPacketAcknowledgementsResponse; - toJSON(message: _115.QueryPacketAcknowledgementsResponse): unknown; - fromPartial(object: { - acknowledgements?: { - portId?: string; - channelId?: string; - sequence?: bigint; - data?: Uint8Array; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - height?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _115.QueryPacketAcknowledgementsResponse; - fromSDK(object: _115.QueryPacketAcknowledgementsResponseSDKType): _115.QueryPacketAcknowledgementsResponse; - toSDK(message: _115.QueryPacketAcknowledgementsResponse): _115.QueryPacketAcknowledgementsResponseSDKType; - fromAmino(object: _115.QueryPacketAcknowledgementsResponseAmino): _115.QueryPacketAcknowledgementsResponse; - toAmino(message: _115.QueryPacketAcknowledgementsResponse): _115.QueryPacketAcknowledgementsResponseAmino; - fromAminoMsg(object: _115.QueryPacketAcknowledgementsResponseAminoMsg): _115.QueryPacketAcknowledgementsResponse; - toAminoMsg(message: _115.QueryPacketAcknowledgementsResponse): _115.QueryPacketAcknowledgementsResponseAminoMsg; - fromProtoMsg(message: _115.QueryPacketAcknowledgementsResponseProtoMsg): _115.QueryPacketAcknowledgementsResponse; - toProto(message: _115.QueryPacketAcknowledgementsResponse): Uint8Array; - toProtoMsg(message: _115.QueryPacketAcknowledgementsResponse): _115.QueryPacketAcknowledgementsResponseProtoMsg; - }; - QueryUnreceivedPacketsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryUnreceivedPacketsRequest; - isSDK(o: any): o is _115.QueryUnreceivedPacketsRequestSDKType; - isAmino(o: any): o is _115.QueryUnreceivedPacketsRequestAmino; - encode(message: _115.QueryUnreceivedPacketsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryUnreceivedPacketsRequest; - fromJSON(object: any): _115.QueryUnreceivedPacketsRequest; - toJSON(message: _115.QueryUnreceivedPacketsRequest): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - packetCommitmentSequences?: bigint[]; - }): _115.QueryUnreceivedPacketsRequest; - fromSDK(object: _115.QueryUnreceivedPacketsRequestSDKType): _115.QueryUnreceivedPacketsRequest; - toSDK(message: _115.QueryUnreceivedPacketsRequest): _115.QueryUnreceivedPacketsRequestSDKType; - fromAmino(object: _115.QueryUnreceivedPacketsRequestAmino): _115.QueryUnreceivedPacketsRequest; - toAmino(message: _115.QueryUnreceivedPacketsRequest): _115.QueryUnreceivedPacketsRequestAmino; - fromAminoMsg(object: _115.QueryUnreceivedPacketsRequestAminoMsg): _115.QueryUnreceivedPacketsRequest; - toAminoMsg(message: _115.QueryUnreceivedPacketsRequest): _115.QueryUnreceivedPacketsRequestAminoMsg; - fromProtoMsg(message: _115.QueryUnreceivedPacketsRequestProtoMsg): _115.QueryUnreceivedPacketsRequest; - toProto(message: _115.QueryUnreceivedPacketsRequest): Uint8Array; - toProtoMsg(message: _115.QueryUnreceivedPacketsRequest): _115.QueryUnreceivedPacketsRequestProtoMsg; - }; - QueryUnreceivedPacketsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryUnreceivedPacketsResponse; - isSDK(o: any): o is _115.QueryUnreceivedPacketsResponseSDKType; - isAmino(o: any): o is _115.QueryUnreceivedPacketsResponseAmino; - encode(message: _115.QueryUnreceivedPacketsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryUnreceivedPacketsResponse; - fromJSON(object: any): _115.QueryUnreceivedPacketsResponse; - toJSON(message: _115.QueryUnreceivedPacketsResponse): unknown; - fromPartial(object: { - sequences?: bigint[]; - height?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _115.QueryUnreceivedPacketsResponse; - fromSDK(object: _115.QueryUnreceivedPacketsResponseSDKType): _115.QueryUnreceivedPacketsResponse; - toSDK(message: _115.QueryUnreceivedPacketsResponse): _115.QueryUnreceivedPacketsResponseSDKType; - fromAmino(object: _115.QueryUnreceivedPacketsResponseAmino): _115.QueryUnreceivedPacketsResponse; - toAmino(message: _115.QueryUnreceivedPacketsResponse): _115.QueryUnreceivedPacketsResponseAmino; - fromAminoMsg(object: _115.QueryUnreceivedPacketsResponseAminoMsg): _115.QueryUnreceivedPacketsResponse; - toAminoMsg(message: _115.QueryUnreceivedPacketsResponse): _115.QueryUnreceivedPacketsResponseAminoMsg; - fromProtoMsg(message: _115.QueryUnreceivedPacketsResponseProtoMsg): _115.QueryUnreceivedPacketsResponse; - toProto(message: _115.QueryUnreceivedPacketsResponse): Uint8Array; - toProtoMsg(message: _115.QueryUnreceivedPacketsResponse): _115.QueryUnreceivedPacketsResponseProtoMsg; - }; - QueryUnreceivedAcksRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryUnreceivedAcksRequest; - isSDK(o: any): o is _115.QueryUnreceivedAcksRequestSDKType; - isAmino(o: any): o is _115.QueryUnreceivedAcksRequestAmino; - encode(message: _115.QueryUnreceivedAcksRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryUnreceivedAcksRequest; - fromJSON(object: any): _115.QueryUnreceivedAcksRequest; - toJSON(message: _115.QueryUnreceivedAcksRequest): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - packetAckSequences?: bigint[]; - }): _115.QueryUnreceivedAcksRequest; - fromSDK(object: _115.QueryUnreceivedAcksRequestSDKType): _115.QueryUnreceivedAcksRequest; - toSDK(message: _115.QueryUnreceivedAcksRequest): _115.QueryUnreceivedAcksRequestSDKType; - fromAmino(object: _115.QueryUnreceivedAcksRequestAmino): _115.QueryUnreceivedAcksRequest; - toAmino(message: _115.QueryUnreceivedAcksRequest): _115.QueryUnreceivedAcksRequestAmino; - fromAminoMsg(object: _115.QueryUnreceivedAcksRequestAminoMsg): _115.QueryUnreceivedAcksRequest; - toAminoMsg(message: _115.QueryUnreceivedAcksRequest): _115.QueryUnreceivedAcksRequestAminoMsg; - fromProtoMsg(message: _115.QueryUnreceivedAcksRequestProtoMsg): _115.QueryUnreceivedAcksRequest; - toProto(message: _115.QueryUnreceivedAcksRequest): Uint8Array; - toProtoMsg(message: _115.QueryUnreceivedAcksRequest): _115.QueryUnreceivedAcksRequestProtoMsg; - }; - QueryUnreceivedAcksResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryUnreceivedAcksResponse; - isSDK(o: any): o is _115.QueryUnreceivedAcksResponseSDKType; - isAmino(o: any): o is _115.QueryUnreceivedAcksResponseAmino; - encode(message: _115.QueryUnreceivedAcksResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryUnreceivedAcksResponse; - fromJSON(object: any): _115.QueryUnreceivedAcksResponse; - toJSON(message: _115.QueryUnreceivedAcksResponse): unknown; - fromPartial(object: { - sequences?: bigint[]; - height?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _115.QueryUnreceivedAcksResponse; - fromSDK(object: _115.QueryUnreceivedAcksResponseSDKType): _115.QueryUnreceivedAcksResponse; - toSDK(message: _115.QueryUnreceivedAcksResponse): _115.QueryUnreceivedAcksResponseSDKType; - fromAmino(object: _115.QueryUnreceivedAcksResponseAmino): _115.QueryUnreceivedAcksResponse; - toAmino(message: _115.QueryUnreceivedAcksResponse): _115.QueryUnreceivedAcksResponseAmino; - fromAminoMsg(object: _115.QueryUnreceivedAcksResponseAminoMsg): _115.QueryUnreceivedAcksResponse; - toAminoMsg(message: _115.QueryUnreceivedAcksResponse): _115.QueryUnreceivedAcksResponseAminoMsg; - fromProtoMsg(message: _115.QueryUnreceivedAcksResponseProtoMsg): _115.QueryUnreceivedAcksResponse; - toProto(message: _115.QueryUnreceivedAcksResponse): Uint8Array; - toProtoMsg(message: _115.QueryUnreceivedAcksResponse): _115.QueryUnreceivedAcksResponseProtoMsg; - }; - QueryNextSequenceReceiveRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryNextSequenceReceiveRequest; - isSDK(o: any): o is _115.QueryNextSequenceReceiveRequestSDKType; - isAmino(o: any): o is _115.QueryNextSequenceReceiveRequestAmino; - encode(message: _115.QueryNextSequenceReceiveRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryNextSequenceReceiveRequest; - fromJSON(object: any): _115.QueryNextSequenceReceiveRequest; - toJSON(message: _115.QueryNextSequenceReceiveRequest): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - }): _115.QueryNextSequenceReceiveRequest; - fromSDK(object: _115.QueryNextSequenceReceiveRequestSDKType): _115.QueryNextSequenceReceiveRequest; - toSDK(message: _115.QueryNextSequenceReceiveRequest): _115.QueryNextSequenceReceiveRequestSDKType; - fromAmino(object: _115.QueryNextSequenceReceiveRequestAmino): _115.QueryNextSequenceReceiveRequest; - toAmino(message: _115.QueryNextSequenceReceiveRequest): _115.QueryNextSequenceReceiveRequestAmino; - fromAminoMsg(object: _115.QueryNextSequenceReceiveRequestAminoMsg): _115.QueryNextSequenceReceiveRequest; - toAminoMsg(message: _115.QueryNextSequenceReceiveRequest): _115.QueryNextSequenceReceiveRequestAminoMsg; - fromProtoMsg(message: _115.QueryNextSequenceReceiveRequestProtoMsg): _115.QueryNextSequenceReceiveRequest; - toProto(message: _115.QueryNextSequenceReceiveRequest): Uint8Array; - toProtoMsg(message: _115.QueryNextSequenceReceiveRequest): _115.QueryNextSequenceReceiveRequestProtoMsg; - }; - QueryNextSequenceReceiveResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _115.QueryNextSequenceReceiveResponse; - isSDK(o: any): o is _115.QueryNextSequenceReceiveResponseSDKType; - isAmino(o: any): o is _115.QueryNextSequenceReceiveResponseAmino; - encode(message: _115.QueryNextSequenceReceiveResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _115.QueryNextSequenceReceiveResponse; - fromJSON(object: any): _115.QueryNextSequenceReceiveResponse; - toJSON(message: _115.QueryNextSequenceReceiveResponse): unknown; - fromPartial(object: { - nextSequenceReceive?: bigint; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _115.QueryNextSequenceReceiveResponse; - fromSDK(object: _115.QueryNextSequenceReceiveResponseSDKType): _115.QueryNextSequenceReceiveResponse; - toSDK(message: _115.QueryNextSequenceReceiveResponse): _115.QueryNextSequenceReceiveResponseSDKType; - fromAmino(object: _115.QueryNextSequenceReceiveResponseAmino): _115.QueryNextSequenceReceiveResponse; - toAmino(message: _115.QueryNextSequenceReceiveResponse): _115.QueryNextSequenceReceiveResponseAmino; - fromAminoMsg(object: _115.QueryNextSequenceReceiveResponseAminoMsg): _115.QueryNextSequenceReceiveResponse; - toAminoMsg(message: _115.QueryNextSequenceReceiveResponse): _115.QueryNextSequenceReceiveResponseAminoMsg; - fromProtoMsg(message: _115.QueryNextSequenceReceiveResponseProtoMsg): _115.QueryNextSequenceReceiveResponse; - toProto(message: _115.QueryNextSequenceReceiveResponse): Uint8Array; - toProtoMsg(message: _115.QueryNextSequenceReceiveResponse): _115.QueryNextSequenceReceiveResponseProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _114.GenesisState; - isSDK(o: any): o is _114.GenesisStateSDKType; - isAmino(o: any): o is _114.GenesisStateAmino; - encode(message: _114.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _114.GenesisState; - fromJSON(object: any): _114.GenesisState; - toJSON(message: _114.GenesisState): unknown; - fromPartial(object: { - channels?: { - state?: _113.State; - ordering?: _113.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - portId?: string; - channelId?: string; - }[]; - acknowledgements?: { - portId?: string; - channelId?: string; - sequence?: bigint; - data?: Uint8Array; - }[]; - commitments?: { - portId?: string; - channelId?: string; - sequence?: bigint; - data?: Uint8Array; - }[]; - receipts?: { - portId?: string; - channelId?: string; - sequence?: bigint; - data?: Uint8Array; - }[]; - sendSequences?: { - portId?: string; - channelId?: string; - sequence?: bigint; - }[]; - recvSequences?: { - portId?: string; - channelId?: string; - sequence?: bigint; - }[]; - ackSequences?: { - portId?: string; - channelId?: string; - sequence?: bigint; - }[]; - nextChannelSequence?: bigint; - }): _114.GenesisState; - fromSDK(object: _114.GenesisStateSDKType): _114.GenesisState; - toSDK(message: _114.GenesisState): _114.GenesisStateSDKType; - fromAmino(object: _114.GenesisStateAmino): _114.GenesisState; - toAmino(message: _114.GenesisState): _114.GenesisStateAmino; - fromAminoMsg(object: _114.GenesisStateAminoMsg): _114.GenesisState; - toAminoMsg(message: _114.GenesisState): _114.GenesisStateAminoMsg; - fromProtoMsg(message: _114.GenesisStateProtoMsg): _114.GenesisState; - toProto(message: _114.GenesisState): Uint8Array; - toProtoMsg(message: _114.GenesisState): _114.GenesisStateProtoMsg; - }; - PacketSequence: { - typeUrl: string; - aminoType: string; - is(o: any): o is _114.PacketSequence; - isSDK(o: any): o is _114.PacketSequenceSDKType; - isAmino(o: any): o is _114.PacketSequenceAmino; - encode(message: _114.PacketSequence, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _114.PacketSequence; - fromJSON(object: any): _114.PacketSequence; - toJSON(message: _114.PacketSequence): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - sequence?: bigint; - }): _114.PacketSequence; - fromSDK(object: _114.PacketSequenceSDKType): _114.PacketSequence; - toSDK(message: _114.PacketSequence): _114.PacketSequenceSDKType; - fromAmino(object: _114.PacketSequenceAmino): _114.PacketSequence; - toAmino(message: _114.PacketSequence): _114.PacketSequenceAmino; - fromAminoMsg(object: _114.PacketSequenceAminoMsg): _114.PacketSequence; - toAminoMsg(message: _114.PacketSequence): _114.PacketSequenceAminoMsg; - fromProtoMsg(message: _114.PacketSequenceProtoMsg): _114.PacketSequence; - toProto(message: _114.PacketSequence): Uint8Array; - toProtoMsg(message: _114.PacketSequence): _114.PacketSequenceProtoMsg; - }; - stateFromJSON(object: any): _113.State; - stateToJSON(object: _113.State): string; - orderFromJSON(object: any): _113.Order; - orderToJSON(object: _113.Order): string; - State: typeof _113.State; - StateSDKType: typeof _113.State; - StateAmino: typeof _113.State; - Order: typeof _113.Order; - OrderSDKType: typeof _113.Order; - OrderAmino: typeof _113.Order; - Channel: { - typeUrl: string; - aminoType: string; - is(o: any): o is _113.Channel; - isSDK(o: any): o is _113.ChannelSDKType; - isAmino(o: any): o is _113.ChannelAmino; - encode(message: _113.Channel, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _113.Channel; - fromJSON(object: any): _113.Channel; - toJSON(message: _113.Channel): unknown; - fromPartial(object: { - state?: _113.State; - ordering?: _113.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - }): _113.Channel; - fromSDK(object: _113.ChannelSDKType): _113.Channel; - toSDK(message: _113.Channel): _113.ChannelSDKType; - fromAmino(object: _113.ChannelAmino): _113.Channel; - toAmino(message: _113.Channel): _113.ChannelAmino; - fromAminoMsg(object: _113.ChannelAminoMsg): _113.Channel; - toAminoMsg(message: _113.Channel): _113.ChannelAminoMsg; - fromProtoMsg(message: _113.ChannelProtoMsg): _113.Channel; - toProto(message: _113.Channel): Uint8Array; - toProtoMsg(message: _113.Channel): _113.ChannelProtoMsg; - }; - IdentifiedChannel: { - typeUrl: string; - aminoType: string; - is(o: any): o is _113.IdentifiedChannel; - isSDK(o: any): o is _113.IdentifiedChannelSDKType; - isAmino(o: any): o is _113.IdentifiedChannelAmino; - encode(message: _113.IdentifiedChannel, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _113.IdentifiedChannel; - fromJSON(object: any): _113.IdentifiedChannel; - toJSON(message: _113.IdentifiedChannel): unknown; - fromPartial(object: { - state?: _113.State; - ordering?: _113.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - portId?: string; - channelId?: string; - }): _113.IdentifiedChannel; - fromSDK(object: _113.IdentifiedChannelSDKType): _113.IdentifiedChannel; - toSDK(message: _113.IdentifiedChannel): _113.IdentifiedChannelSDKType; - fromAmino(object: _113.IdentifiedChannelAmino): _113.IdentifiedChannel; - toAmino(message: _113.IdentifiedChannel): _113.IdentifiedChannelAmino; - fromAminoMsg(object: _113.IdentifiedChannelAminoMsg): _113.IdentifiedChannel; - toAminoMsg(message: _113.IdentifiedChannel): _113.IdentifiedChannelAminoMsg; - fromProtoMsg(message: _113.IdentifiedChannelProtoMsg): _113.IdentifiedChannel; - toProto(message: _113.IdentifiedChannel): Uint8Array; - toProtoMsg(message: _113.IdentifiedChannel): _113.IdentifiedChannelProtoMsg; - }; - Counterparty: { - typeUrl: string; - aminoType: string; - is(o: any): o is _113.Counterparty; - isSDK(o: any): o is _113.CounterpartySDKType; - isAmino(o: any): o is _113.CounterpartyAmino; - encode(message: _113.Counterparty, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _113.Counterparty; - fromJSON(object: any): _113.Counterparty; - toJSON(message: _113.Counterparty): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - }): _113.Counterparty; - fromSDK(object: _113.CounterpartySDKType): _113.Counterparty; - toSDK(message: _113.Counterparty): _113.CounterpartySDKType; - fromAmino(object: _113.CounterpartyAmino): _113.Counterparty; - toAmino(message: _113.Counterparty): _113.CounterpartyAmino; - fromAminoMsg(object: _113.CounterpartyAminoMsg): _113.Counterparty; - toAminoMsg(message: _113.Counterparty): _113.CounterpartyAminoMsg; - fromProtoMsg(message: _113.CounterpartyProtoMsg): _113.Counterparty; - toProto(message: _113.Counterparty): Uint8Array; - toProtoMsg(message: _113.Counterparty): _113.CounterpartyProtoMsg; - }; - Packet: { - typeUrl: string; - aminoType: string; - is(o: any): o is _113.Packet; - isSDK(o: any): o is _113.PacketSDKType; - isAmino(o: any): o is _113.PacketAmino; - encode(message: _113.Packet, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _113.Packet; - fromJSON(object: any): _113.Packet; - toJSON(message: _113.Packet): unknown; - fromPartial(object: { - sequence?: bigint; - sourcePort?: string; - sourceChannel?: string; - destinationPort?: string; - destinationChannel?: string; - data?: Uint8Array; - timeoutHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - timeoutTimestamp?: bigint; - }): _113.Packet; - fromSDK(object: _113.PacketSDKType): _113.Packet; - toSDK(message: _113.Packet): _113.PacketSDKType; - fromAmino(object: _113.PacketAmino): _113.Packet; - toAmino(message: _113.Packet): _113.PacketAmino; - fromAminoMsg(object: _113.PacketAminoMsg): _113.Packet; - toAminoMsg(message: _113.Packet): _113.PacketAminoMsg; - fromProtoMsg(message: _113.PacketProtoMsg): _113.Packet; - toProto(message: _113.Packet): Uint8Array; - toProtoMsg(message: _113.Packet): _113.PacketProtoMsg; - }; - PacketState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _113.PacketState; - isSDK(o: any): o is _113.PacketStateSDKType; - isAmino(o: any): o is _113.PacketStateAmino; - encode(message: _113.PacketState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _113.PacketState; - fromJSON(object: any): _113.PacketState; - toJSON(message: _113.PacketState): unknown; - fromPartial(object: { - portId?: string; - channelId?: string; - sequence?: bigint; - data?: Uint8Array; - }): _113.PacketState; - fromSDK(object: _113.PacketStateSDKType): _113.PacketState; - toSDK(message: _113.PacketState): _113.PacketStateSDKType; - fromAmino(object: _113.PacketStateAmino): _113.PacketState; - toAmino(message: _113.PacketState): _113.PacketStateAmino; - fromAminoMsg(object: _113.PacketStateAminoMsg): _113.PacketState; - toAminoMsg(message: _113.PacketState): _113.PacketStateAminoMsg; - fromProtoMsg(message: _113.PacketStateProtoMsg): _113.PacketState; - toProto(message: _113.PacketState): Uint8Array; - toProtoMsg(message: _113.PacketState): _113.PacketStateProtoMsg; - }; - Acknowledgement: { - typeUrl: string; - aminoType: string; - is(o: any): o is _113.Acknowledgement; - isSDK(o: any): o is _113.AcknowledgementSDKType; - isAmino(o: any): o is _113.AcknowledgementAmino; - encode(message: _113.Acknowledgement, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _113.Acknowledgement; - fromJSON(object: any): _113.Acknowledgement; - toJSON(message: _113.Acknowledgement): unknown; - fromPartial(object: { - result?: Uint8Array; - error?: string; - }): _113.Acknowledgement; - fromSDK(object: _113.AcknowledgementSDKType): _113.Acknowledgement; - toSDK(message: _113.Acknowledgement): _113.AcknowledgementSDKType; - fromAmino(object: _113.AcknowledgementAmino): _113.Acknowledgement; - toAmino(message: _113.Acknowledgement): _113.AcknowledgementAmino; - fromAminoMsg(object: _113.AcknowledgementAminoMsg): _113.Acknowledgement; - toAminoMsg(message: _113.Acknowledgement): _113.AcknowledgementAminoMsg; - fromProtoMsg(message: _113.AcknowledgementProtoMsg): _113.Acknowledgement; - toProto(message: _113.Acknowledgement): Uint8Array; - toProtoMsg(message: _113.Acknowledgement): _113.AcknowledgementProtoMsg; - }; - }; - } - namespace client { - const v1: { - MsgClientImpl: typeof _269.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _269.MsgClientImpl; - QueryClientImpl: typeof _264.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useClientState: ({ request, options }: _264.UseClientStateQuery) => import("@tanstack/react-query").UseQueryResult; - useClientStates: ({ request, options }: _264.UseClientStatesQuery) => import("@tanstack/react-query").UseQueryResult; - useConsensusState: ({ request, options }: _264.UseConsensusStateQuery) => import("@tanstack/react-query").UseQueryResult; - useConsensusStates: ({ request, options }: _264.UseConsensusStatesQuery) => import("@tanstack/react-query").UseQueryResult; - useClientStatus: ({ request, options }: _264.UseClientStatusQuery) => import("@tanstack/react-query").UseQueryResult; - useClientParams: ({ request, options }: _264.UseClientParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useUpgradedClientState: ({ request, options }: _264.UseUpgradedClientStateQuery) => import("@tanstack/react-query").UseQueryResult; - useUpgradedConsensusState: ({ request, options }: _264.UseUpgradedConsensusStateQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryClientStateStore: { - new (): { - store: import("..").QueryStore<_119.QueryClientStateRequest, _119.QueryClientStateResponse>; - clientState(request: _119.QueryClientStateRequest): import("..").MobxResponse<_119.QueryClientStateResponse>; - }; - }; - QueryClientStatesStore: { - new (): { - store: import("..").QueryStore<_119.QueryClientStatesRequest, _119.QueryClientStatesResponse>; - clientStates(request: _119.QueryClientStatesRequest): import("..").MobxResponse<_119.QueryClientStatesResponse>; - }; - }; - QueryConsensusStateStore: { - new (): { - store: import("..").QueryStore<_119.QueryConsensusStateRequest, _119.QueryConsensusStateResponse>; - consensusState(request: _119.QueryConsensusStateRequest): import("..").MobxResponse<_119.QueryConsensusStateResponse>; - }; - }; - QueryConsensusStatesStore: { - new (): { - store: import("..").QueryStore<_119.QueryConsensusStatesRequest, _119.QueryConsensusStatesResponse>; - consensusStates(request: _119.QueryConsensusStatesRequest): import("..").MobxResponse<_119.QueryConsensusStatesResponse>; - }; - }; - QueryClientStatusStore: { - new (): { - store: import("..").QueryStore<_119.QueryClientStatusRequest, _119.QueryClientStatusResponse>; - clientStatus(request: _119.QueryClientStatusRequest): import("..").MobxResponse<_119.QueryClientStatusResponse>; - }; - }; - QueryClientParamsStore: { - new (): { - store: import("..").QueryStore<_119.QueryClientParamsRequest, _119.QueryClientParamsResponse>; - clientParams(request: _119.QueryClientParamsRequest): import("..").MobxResponse<_119.QueryClientParamsResponse>; - }; - }; - QueryUpgradedClientStateStore: { - new (): { - store: import("..").QueryStore<_119.QueryUpgradedClientStateRequest, _119.QueryUpgradedClientStateResponse>; - upgradedClientState(request: _119.QueryUpgradedClientStateRequest): import("..").MobxResponse<_119.QueryUpgradedClientStateResponse>; - }; - }; - QueryUpgradedConsensusStateStore: { - new (): { - store: import("..").QueryStore<_119.QueryUpgradedConsensusStateRequest, _119.QueryUpgradedConsensusStateResponse>; - upgradedConsensusState(request: _119.QueryUpgradedConsensusStateRequest): import("..").MobxResponse<_119.QueryUpgradedConsensusStateResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - createClient(value: _120.MsgCreateClient): { - typeUrl: string; - value: Uint8Array; - }; - updateClient(value: _120.MsgUpdateClient): { - typeUrl: string; - value: Uint8Array; - }; - upgradeClient(value: _120.MsgUpgradeClient): { - typeUrl: string; - value: Uint8Array; - }; - submitMisbehaviour(value: _120.MsgSubmitMisbehaviour): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createClient(value: _120.MsgCreateClient): { - typeUrl: string; - value: _120.MsgCreateClient; - }; - updateClient(value: _120.MsgUpdateClient): { - typeUrl: string; - value: _120.MsgUpdateClient; - }; - upgradeClient(value: _120.MsgUpgradeClient): { - typeUrl: string; - value: _120.MsgUpgradeClient; - }; - submitMisbehaviour(value: _120.MsgSubmitMisbehaviour): { - typeUrl: string; - value: _120.MsgSubmitMisbehaviour; - }; - }; - toJSON: { - createClient(value: _120.MsgCreateClient): { - typeUrl: string; - value: unknown; - }; - updateClient(value: _120.MsgUpdateClient): { - typeUrl: string; - value: unknown; - }; - upgradeClient(value: _120.MsgUpgradeClient): { - typeUrl: string; - value: unknown; - }; - submitMisbehaviour(value: _120.MsgSubmitMisbehaviour): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createClient(value: any): { - typeUrl: string; - value: _120.MsgCreateClient; - }; - updateClient(value: any): { - typeUrl: string; - value: _120.MsgUpdateClient; - }; - upgradeClient(value: any): { - typeUrl: string; - value: _120.MsgUpgradeClient; - }; - submitMisbehaviour(value: any): { - typeUrl: string; - value: _120.MsgSubmitMisbehaviour; - }; - }; - fromPartial: { - createClient(value: _120.MsgCreateClient): { - typeUrl: string; - value: _120.MsgCreateClient; - }; - updateClient(value: _120.MsgUpdateClient): { - typeUrl: string; - value: _120.MsgUpdateClient; - }; - upgradeClient(value: _120.MsgUpgradeClient): { - typeUrl: string; - value: _120.MsgUpgradeClient; - }; - submitMisbehaviour(value: _120.MsgSubmitMisbehaviour): { - typeUrl: string; - value: _120.MsgSubmitMisbehaviour; - }; - }; - }; - AminoConverter: { - "/ibc.core.client.v1.MsgCreateClient": { - aminoType: string; - toAmino: (message: _120.MsgCreateClient) => _120.MsgCreateClientAmino; - fromAmino: (object: _120.MsgCreateClientAmino) => _120.MsgCreateClient; - }; - "/ibc.core.client.v1.MsgUpdateClient": { - aminoType: string; - toAmino: (message: _120.MsgUpdateClient) => _120.MsgUpdateClientAmino; - fromAmino: (object: _120.MsgUpdateClientAmino) => _120.MsgUpdateClient; - }; - "/ibc.core.client.v1.MsgUpgradeClient": { - aminoType: string; - toAmino: (message: _120.MsgUpgradeClient) => _120.MsgUpgradeClientAmino; - fromAmino: (object: _120.MsgUpgradeClientAmino) => _120.MsgUpgradeClient; - }; - "/ibc.core.client.v1.MsgSubmitMisbehaviour": { - aminoType: string; - toAmino: (message: _120.MsgSubmitMisbehaviour) => _120.MsgSubmitMisbehaviourAmino; - fromAmino: (object: _120.MsgSubmitMisbehaviourAmino) => _120.MsgSubmitMisbehaviour; - }; - }; - MsgCreateClient: { - typeUrl: string; - aminoType: string; - is(o: any): o is _120.MsgCreateClient; - isSDK(o: any): o is _120.MsgCreateClientSDKType; - isAmino(o: any): o is _120.MsgCreateClientAmino; - encode(message: _120.MsgCreateClient, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _120.MsgCreateClient; - fromJSON(object: any): _120.MsgCreateClient; - toJSON(message: _120.MsgCreateClient): unknown; - fromPartial(object: { - clientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - consensusState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - signer?: string; - }): _120.MsgCreateClient; - fromSDK(object: _120.MsgCreateClientSDKType): _120.MsgCreateClient; - toSDK(message: _120.MsgCreateClient): _120.MsgCreateClientSDKType; - fromAmino(object: _120.MsgCreateClientAmino): _120.MsgCreateClient; - toAmino(message: _120.MsgCreateClient): _120.MsgCreateClientAmino; - fromAminoMsg(object: _120.MsgCreateClientAminoMsg): _120.MsgCreateClient; - toAminoMsg(message: _120.MsgCreateClient): _120.MsgCreateClientAminoMsg; - fromProtoMsg(message: _120.MsgCreateClientProtoMsg): _120.MsgCreateClient; - toProto(message: _120.MsgCreateClient): Uint8Array; - toProtoMsg(message: _120.MsgCreateClient): _120.MsgCreateClientProtoMsg; - }; - MsgCreateClientResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _120.MsgCreateClientResponse; - isSDK(o: any): o is _120.MsgCreateClientResponseSDKType; - isAmino(o: any): o is _120.MsgCreateClientResponseAmino; - encode(_: _120.MsgCreateClientResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _120.MsgCreateClientResponse; - fromJSON(_: any): _120.MsgCreateClientResponse; - toJSON(_: _120.MsgCreateClientResponse): unknown; - fromPartial(_: {}): _120.MsgCreateClientResponse; - fromSDK(_: _120.MsgCreateClientResponseSDKType): _120.MsgCreateClientResponse; - toSDK(_: _120.MsgCreateClientResponse): _120.MsgCreateClientResponseSDKType; - fromAmino(_: _120.MsgCreateClientResponseAmino): _120.MsgCreateClientResponse; - toAmino(_: _120.MsgCreateClientResponse): _120.MsgCreateClientResponseAmino; - fromAminoMsg(object: _120.MsgCreateClientResponseAminoMsg): _120.MsgCreateClientResponse; - toAminoMsg(message: _120.MsgCreateClientResponse): _120.MsgCreateClientResponseAminoMsg; - fromProtoMsg(message: _120.MsgCreateClientResponseProtoMsg): _120.MsgCreateClientResponse; - toProto(message: _120.MsgCreateClientResponse): Uint8Array; - toProtoMsg(message: _120.MsgCreateClientResponse): _120.MsgCreateClientResponseProtoMsg; - }; - MsgUpdateClient: { - typeUrl: string; - aminoType: string; - is(o: any): o is _120.MsgUpdateClient; - isSDK(o: any): o is _120.MsgUpdateClientSDKType; - isAmino(o: any): o is _120.MsgUpdateClientAmino; - encode(message: _120.MsgUpdateClient, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _120.MsgUpdateClient; - fromJSON(object: any): _120.MsgUpdateClient; - toJSON(message: _120.MsgUpdateClient): unknown; - fromPartial(object: { - clientId?: string; - header?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - signer?: string; - }): _120.MsgUpdateClient; - fromSDK(object: _120.MsgUpdateClientSDKType): _120.MsgUpdateClient; - toSDK(message: _120.MsgUpdateClient): _120.MsgUpdateClientSDKType; - fromAmino(object: _120.MsgUpdateClientAmino): _120.MsgUpdateClient; - toAmino(message: _120.MsgUpdateClient): _120.MsgUpdateClientAmino; - fromAminoMsg(object: _120.MsgUpdateClientAminoMsg): _120.MsgUpdateClient; - toAminoMsg(message: _120.MsgUpdateClient): _120.MsgUpdateClientAminoMsg; - fromProtoMsg(message: _120.MsgUpdateClientProtoMsg): _120.MsgUpdateClient; - toProto(message: _120.MsgUpdateClient): Uint8Array; - toProtoMsg(message: _120.MsgUpdateClient): _120.MsgUpdateClientProtoMsg; - }; - MsgUpdateClientResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _120.MsgUpdateClientResponse; - isSDK(o: any): o is _120.MsgUpdateClientResponseSDKType; - isAmino(o: any): o is _120.MsgUpdateClientResponseAmino; - encode(_: _120.MsgUpdateClientResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _120.MsgUpdateClientResponse; - fromJSON(_: any): _120.MsgUpdateClientResponse; - toJSON(_: _120.MsgUpdateClientResponse): unknown; - fromPartial(_: {}): _120.MsgUpdateClientResponse; - fromSDK(_: _120.MsgUpdateClientResponseSDKType): _120.MsgUpdateClientResponse; - toSDK(_: _120.MsgUpdateClientResponse): _120.MsgUpdateClientResponseSDKType; - fromAmino(_: _120.MsgUpdateClientResponseAmino): _120.MsgUpdateClientResponse; - toAmino(_: _120.MsgUpdateClientResponse): _120.MsgUpdateClientResponseAmino; - fromAminoMsg(object: _120.MsgUpdateClientResponseAminoMsg): _120.MsgUpdateClientResponse; - toAminoMsg(message: _120.MsgUpdateClientResponse): _120.MsgUpdateClientResponseAminoMsg; - fromProtoMsg(message: _120.MsgUpdateClientResponseProtoMsg): _120.MsgUpdateClientResponse; - toProto(message: _120.MsgUpdateClientResponse): Uint8Array; - toProtoMsg(message: _120.MsgUpdateClientResponse): _120.MsgUpdateClientResponseProtoMsg; - }; - MsgUpgradeClient: { - typeUrl: string; - aminoType: string; - is(o: any): o is _120.MsgUpgradeClient; - isSDK(o: any): o is _120.MsgUpgradeClientSDKType; - isAmino(o: any): o is _120.MsgUpgradeClientAmino; - encode(message: _120.MsgUpgradeClient, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _120.MsgUpgradeClient; - fromJSON(object: any): _120.MsgUpgradeClient; - toJSON(message: _120.MsgUpgradeClient): unknown; - fromPartial(object: { - clientId?: string; - clientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - consensusState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - proofUpgradeClient?: Uint8Array; - proofUpgradeConsensusState?: Uint8Array; - signer?: string; - }): _120.MsgUpgradeClient; - fromSDK(object: _120.MsgUpgradeClientSDKType): _120.MsgUpgradeClient; - toSDK(message: _120.MsgUpgradeClient): _120.MsgUpgradeClientSDKType; - fromAmino(object: _120.MsgUpgradeClientAmino): _120.MsgUpgradeClient; - toAmino(message: _120.MsgUpgradeClient): _120.MsgUpgradeClientAmino; - fromAminoMsg(object: _120.MsgUpgradeClientAminoMsg): _120.MsgUpgradeClient; - toAminoMsg(message: _120.MsgUpgradeClient): _120.MsgUpgradeClientAminoMsg; - fromProtoMsg(message: _120.MsgUpgradeClientProtoMsg): _120.MsgUpgradeClient; - toProto(message: _120.MsgUpgradeClient): Uint8Array; - toProtoMsg(message: _120.MsgUpgradeClient): _120.MsgUpgradeClientProtoMsg; - }; - MsgUpgradeClientResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _120.MsgUpgradeClientResponse; - isSDK(o: any): o is _120.MsgUpgradeClientResponseSDKType; - isAmino(o: any): o is _120.MsgUpgradeClientResponseAmino; - encode(_: _120.MsgUpgradeClientResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _120.MsgUpgradeClientResponse; - fromJSON(_: any): _120.MsgUpgradeClientResponse; - toJSON(_: _120.MsgUpgradeClientResponse): unknown; - fromPartial(_: {}): _120.MsgUpgradeClientResponse; - fromSDK(_: _120.MsgUpgradeClientResponseSDKType): _120.MsgUpgradeClientResponse; - toSDK(_: _120.MsgUpgradeClientResponse): _120.MsgUpgradeClientResponseSDKType; - fromAmino(_: _120.MsgUpgradeClientResponseAmino): _120.MsgUpgradeClientResponse; - toAmino(_: _120.MsgUpgradeClientResponse): _120.MsgUpgradeClientResponseAmino; - fromAminoMsg(object: _120.MsgUpgradeClientResponseAminoMsg): _120.MsgUpgradeClientResponse; - toAminoMsg(message: _120.MsgUpgradeClientResponse): _120.MsgUpgradeClientResponseAminoMsg; - fromProtoMsg(message: _120.MsgUpgradeClientResponseProtoMsg): _120.MsgUpgradeClientResponse; - toProto(message: _120.MsgUpgradeClientResponse): Uint8Array; - toProtoMsg(message: _120.MsgUpgradeClientResponse): _120.MsgUpgradeClientResponseProtoMsg; - }; - MsgSubmitMisbehaviour: { - typeUrl: string; - aminoType: string; - is(o: any): o is _120.MsgSubmitMisbehaviour; - isSDK(o: any): o is _120.MsgSubmitMisbehaviourSDKType; - isAmino(o: any): o is _120.MsgSubmitMisbehaviourAmino; - encode(message: _120.MsgSubmitMisbehaviour, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _120.MsgSubmitMisbehaviour; - fromJSON(object: any): _120.MsgSubmitMisbehaviour; - toJSON(message: _120.MsgSubmitMisbehaviour): unknown; - fromPartial(object: { - clientId?: string; - misbehaviour?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - signer?: string; - }): _120.MsgSubmitMisbehaviour; - fromSDK(object: _120.MsgSubmitMisbehaviourSDKType): _120.MsgSubmitMisbehaviour; - toSDK(message: _120.MsgSubmitMisbehaviour): _120.MsgSubmitMisbehaviourSDKType; - fromAmino(object: _120.MsgSubmitMisbehaviourAmino): _120.MsgSubmitMisbehaviour; - toAmino(message: _120.MsgSubmitMisbehaviour): _120.MsgSubmitMisbehaviourAmino; - fromAminoMsg(object: _120.MsgSubmitMisbehaviourAminoMsg): _120.MsgSubmitMisbehaviour; - toAminoMsg(message: _120.MsgSubmitMisbehaviour): _120.MsgSubmitMisbehaviourAminoMsg; - fromProtoMsg(message: _120.MsgSubmitMisbehaviourProtoMsg): _120.MsgSubmitMisbehaviour; - toProto(message: _120.MsgSubmitMisbehaviour): Uint8Array; - toProtoMsg(message: _120.MsgSubmitMisbehaviour): _120.MsgSubmitMisbehaviourProtoMsg; - }; - MsgSubmitMisbehaviourResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _120.MsgSubmitMisbehaviourResponse; - isSDK(o: any): o is _120.MsgSubmitMisbehaviourResponseSDKType; - isAmino(o: any): o is _120.MsgSubmitMisbehaviourResponseAmino; - encode(_: _120.MsgSubmitMisbehaviourResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _120.MsgSubmitMisbehaviourResponse; - fromJSON(_: any): _120.MsgSubmitMisbehaviourResponse; - toJSON(_: _120.MsgSubmitMisbehaviourResponse): unknown; - fromPartial(_: {}): _120.MsgSubmitMisbehaviourResponse; - fromSDK(_: _120.MsgSubmitMisbehaviourResponseSDKType): _120.MsgSubmitMisbehaviourResponse; - toSDK(_: _120.MsgSubmitMisbehaviourResponse): _120.MsgSubmitMisbehaviourResponseSDKType; - fromAmino(_: _120.MsgSubmitMisbehaviourResponseAmino): _120.MsgSubmitMisbehaviourResponse; - toAmino(_: _120.MsgSubmitMisbehaviourResponse): _120.MsgSubmitMisbehaviourResponseAmino; - fromAminoMsg(object: _120.MsgSubmitMisbehaviourResponseAminoMsg): _120.MsgSubmitMisbehaviourResponse; - toAminoMsg(message: _120.MsgSubmitMisbehaviourResponse): _120.MsgSubmitMisbehaviourResponseAminoMsg; - fromProtoMsg(message: _120.MsgSubmitMisbehaviourResponseProtoMsg): _120.MsgSubmitMisbehaviourResponse; - toProto(message: _120.MsgSubmitMisbehaviourResponse): Uint8Array; - toProtoMsg(message: _120.MsgSubmitMisbehaviourResponse): _120.MsgSubmitMisbehaviourResponseProtoMsg; - }; - QueryClientStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryClientStateRequest; - isSDK(o: any): o is _119.QueryClientStateRequestSDKType; - isAmino(o: any): o is _119.QueryClientStateRequestAmino; - encode(message: _119.QueryClientStateRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryClientStateRequest; - fromJSON(object: any): _119.QueryClientStateRequest; - toJSON(message: _119.QueryClientStateRequest): unknown; - fromPartial(object: { - clientId?: string; - }): _119.QueryClientStateRequest; - fromSDK(object: _119.QueryClientStateRequestSDKType): _119.QueryClientStateRequest; - toSDK(message: _119.QueryClientStateRequest): _119.QueryClientStateRequestSDKType; - fromAmino(object: _119.QueryClientStateRequestAmino): _119.QueryClientStateRequest; - toAmino(message: _119.QueryClientStateRequest): _119.QueryClientStateRequestAmino; - fromAminoMsg(object: _119.QueryClientStateRequestAminoMsg): _119.QueryClientStateRequest; - toAminoMsg(message: _119.QueryClientStateRequest): _119.QueryClientStateRequestAminoMsg; - fromProtoMsg(message: _119.QueryClientStateRequestProtoMsg): _119.QueryClientStateRequest; - toProto(message: _119.QueryClientStateRequest): Uint8Array; - toProtoMsg(message: _119.QueryClientStateRequest): _119.QueryClientStateRequestProtoMsg; - }; - QueryClientStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryClientStateResponse; - isSDK(o: any): o is _119.QueryClientStateResponseSDKType; - isAmino(o: any): o is _119.QueryClientStateResponseAmino; - encode(message: _119.QueryClientStateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryClientStateResponse; - fromJSON(object: any): _119.QueryClientStateResponse; - toJSON(message: _119.QueryClientStateResponse): unknown; - fromPartial(object: { - clientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _119.QueryClientStateResponse; - fromSDK(object: _119.QueryClientStateResponseSDKType): _119.QueryClientStateResponse; - toSDK(message: _119.QueryClientStateResponse): _119.QueryClientStateResponseSDKType; - fromAmino(object: _119.QueryClientStateResponseAmino): _119.QueryClientStateResponse; - toAmino(message: _119.QueryClientStateResponse): _119.QueryClientStateResponseAmino; - fromAminoMsg(object: _119.QueryClientStateResponseAminoMsg): _119.QueryClientStateResponse; - toAminoMsg(message: _119.QueryClientStateResponse): _119.QueryClientStateResponseAminoMsg; - fromProtoMsg(message: _119.QueryClientStateResponseProtoMsg): _119.QueryClientStateResponse; - toProto(message: _119.QueryClientStateResponse): Uint8Array; - toProtoMsg(message: _119.QueryClientStateResponse): _119.QueryClientStateResponseProtoMsg; - }; - QueryClientStatesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryClientStatesRequest; - isSDK(o: any): o is _119.QueryClientStatesRequestSDKType; - isAmino(o: any): o is _119.QueryClientStatesRequestAmino; - encode(message: _119.QueryClientStatesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryClientStatesRequest; - fromJSON(object: any): _119.QueryClientStatesRequest; - toJSON(message: _119.QueryClientStatesRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _119.QueryClientStatesRequest; - fromSDK(object: _119.QueryClientStatesRequestSDKType): _119.QueryClientStatesRequest; - toSDK(message: _119.QueryClientStatesRequest): _119.QueryClientStatesRequestSDKType; - fromAmino(object: _119.QueryClientStatesRequestAmino): _119.QueryClientStatesRequest; - toAmino(message: _119.QueryClientStatesRequest): _119.QueryClientStatesRequestAmino; - fromAminoMsg(object: _119.QueryClientStatesRequestAminoMsg): _119.QueryClientStatesRequest; - toAminoMsg(message: _119.QueryClientStatesRequest): _119.QueryClientStatesRequestAminoMsg; - fromProtoMsg(message: _119.QueryClientStatesRequestProtoMsg): _119.QueryClientStatesRequest; - toProto(message: _119.QueryClientStatesRequest): Uint8Array; - toProtoMsg(message: _119.QueryClientStatesRequest): _119.QueryClientStatesRequestProtoMsg; - }; - QueryClientStatesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryClientStatesResponse; - isSDK(o: any): o is _119.QueryClientStatesResponseSDKType; - isAmino(o: any): o is _119.QueryClientStatesResponseAmino; - encode(message: _119.QueryClientStatesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryClientStatesResponse; - fromJSON(object: any): _119.QueryClientStatesResponse; - toJSON(message: _119.QueryClientStatesResponse): unknown; - fromPartial(object: { - clientStates?: { - clientId?: string; - clientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _119.QueryClientStatesResponse; - fromSDK(object: _119.QueryClientStatesResponseSDKType): _119.QueryClientStatesResponse; - toSDK(message: _119.QueryClientStatesResponse): _119.QueryClientStatesResponseSDKType; - fromAmino(object: _119.QueryClientStatesResponseAmino): _119.QueryClientStatesResponse; - toAmino(message: _119.QueryClientStatesResponse): _119.QueryClientStatesResponseAmino; - fromAminoMsg(object: _119.QueryClientStatesResponseAminoMsg): _119.QueryClientStatesResponse; - toAminoMsg(message: _119.QueryClientStatesResponse): _119.QueryClientStatesResponseAminoMsg; - fromProtoMsg(message: _119.QueryClientStatesResponseProtoMsg): _119.QueryClientStatesResponse; - toProto(message: _119.QueryClientStatesResponse): Uint8Array; - toProtoMsg(message: _119.QueryClientStatesResponse): _119.QueryClientStatesResponseProtoMsg; - }; - QueryConsensusStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryConsensusStateRequest; - isSDK(o: any): o is _119.QueryConsensusStateRequestSDKType; - isAmino(o: any): o is _119.QueryConsensusStateRequestAmino; - encode(message: _119.QueryConsensusStateRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryConsensusStateRequest; - fromJSON(object: any): _119.QueryConsensusStateRequest; - toJSON(message: _119.QueryConsensusStateRequest): unknown; - fromPartial(object: { - clientId?: string; - revisionNumber?: bigint; - revisionHeight?: bigint; - latestHeight?: boolean; - }): _119.QueryConsensusStateRequest; - fromSDK(object: _119.QueryConsensusStateRequestSDKType): _119.QueryConsensusStateRequest; - toSDK(message: _119.QueryConsensusStateRequest): _119.QueryConsensusStateRequestSDKType; - fromAmino(object: _119.QueryConsensusStateRequestAmino): _119.QueryConsensusStateRequest; - toAmino(message: _119.QueryConsensusStateRequest): _119.QueryConsensusStateRequestAmino; - fromAminoMsg(object: _119.QueryConsensusStateRequestAminoMsg): _119.QueryConsensusStateRequest; - toAminoMsg(message: _119.QueryConsensusStateRequest): _119.QueryConsensusStateRequestAminoMsg; - fromProtoMsg(message: _119.QueryConsensusStateRequestProtoMsg): _119.QueryConsensusStateRequest; - toProto(message: _119.QueryConsensusStateRequest): Uint8Array; - toProtoMsg(message: _119.QueryConsensusStateRequest): _119.QueryConsensusStateRequestProtoMsg; - }; - QueryConsensusStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryConsensusStateResponse; - isSDK(o: any): o is _119.QueryConsensusStateResponseSDKType; - isAmino(o: any): o is _119.QueryConsensusStateResponseAmino; - encode(message: _119.QueryConsensusStateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryConsensusStateResponse; - fromJSON(object: any): _119.QueryConsensusStateResponse; - toJSON(message: _119.QueryConsensusStateResponse): unknown; - fromPartial(object: { - consensusState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _119.QueryConsensusStateResponse; - fromSDK(object: _119.QueryConsensusStateResponseSDKType): _119.QueryConsensusStateResponse; - toSDK(message: _119.QueryConsensusStateResponse): _119.QueryConsensusStateResponseSDKType; - fromAmino(object: _119.QueryConsensusStateResponseAmino): _119.QueryConsensusStateResponse; - toAmino(message: _119.QueryConsensusStateResponse): _119.QueryConsensusStateResponseAmino; - fromAminoMsg(object: _119.QueryConsensusStateResponseAminoMsg): _119.QueryConsensusStateResponse; - toAminoMsg(message: _119.QueryConsensusStateResponse): _119.QueryConsensusStateResponseAminoMsg; - fromProtoMsg(message: _119.QueryConsensusStateResponseProtoMsg): _119.QueryConsensusStateResponse; - toProto(message: _119.QueryConsensusStateResponse): Uint8Array; - toProtoMsg(message: _119.QueryConsensusStateResponse): _119.QueryConsensusStateResponseProtoMsg; - }; - QueryConsensusStatesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryConsensusStatesRequest; - isSDK(o: any): o is _119.QueryConsensusStatesRequestSDKType; - isAmino(o: any): o is _119.QueryConsensusStatesRequestAmino; - encode(message: _119.QueryConsensusStatesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryConsensusStatesRequest; - fromJSON(object: any): _119.QueryConsensusStatesRequest; - toJSON(message: _119.QueryConsensusStatesRequest): unknown; - fromPartial(object: { - clientId?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _119.QueryConsensusStatesRequest; - fromSDK(object: _119.QueryConsensusStatesRequestSDKType): _119.QueryConsensusStatesRequest; - toSDK(message: _119.QueryConsensusStatesRequest): _119.QueryConsensusStatesRequestSDKType; - fromAmino(object: _119.QueryConsensusStatesRequestAmino): _119.QueryConsensusStatesRequest; - toAmino(message: _119.QueryConsensusStatesRequest): _119.QueryConsensusStatesRequestAmino; - fromAminoMsg(object: _119.QueryConsensusStatesRequestAminoMsg): _119.QueryConsensusStatesRequest; - toAminoMsg(message: _119.QueryConsensusStatesRequest): _119.QueryConsensusStatesRequestAminoMsg; - fromProtoMsg(message: _119.QueryConsensusStatesRequestProtoMsg): _119.QueryConsensusStatesRequest; - toProto(message: _119.QueryConsensusStatesRequest): Uint8Array; - toProtoMsg(message: _119.QueryConsensusStatesRequest): _119.QueryConsensusStatesRequestProtoMsg; - }; - QueryConsensusStatesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryConsensusStatesResponse; - isSDK(o: any): o is _119.QueryConsensusStatesResponseSDKType; - isAmino(o: any): o is _119.QueryConsensusStatesResponseAmino; - encode(message: _119.QueryConsensusStatesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryConsensusStatesResponse; - fromJSON(object: any): _119.QueryConsensusStatesResponse; - toJSON(message: _119.QueryConsensusStatesResponse): unknown; - fromPartial(object: { - consensusStates?: { - height?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - consensusState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _119.QueryConsensusStatesResponse; - fromSDK(object: _119.QueryConsensusStatesResponseSDKType): _119.QueryConsensusStatesResponse; - toSDK(message: _119.QueryConsensusStatesResponse): _119.QueryConsensusStatesResponseSDKType; - fromAmino(object: _119.QueryConsensusStatesResponseAmino): _119.QueryConsensusStatesResponse; - toAmino(message: _119.QueryConsensusStatesResponse): _119.QueryConsensusStatesResponseAmino; - fromAminoMsg(object: _119.QueryConsensusStatesResponseAminoMsg): _119.QueryConsensusStatesResponse; - toAminoMsg(message: _119.QueryConsensusStatesResponse): _119.QueryConsensusStatesResponseAminoMsg; - fromProtoMsg(message: _119.QueryConsensusStatesResponseProtoMsg): _119.QueryConsensusStatesResponse; - toProto(message: _119.QueryConsensusStatesResponse): Uint8Array; - toProtoMsg(message: _119.QueryConsensusStatesResponse): _119.QueryConsensusStatesResponseProtoMsg; - }; - QueryClientStatusRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryClientStatusRequest; - isSDK(o: any): o is _119.QueryClientStatusRequestSDKType; - isAmino(o: any): o is _119.QueryClientStatusRequestAmino; - encode(message: _119.QueryClientStatusRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryClientStatusRequest; - fromJSON(object: any): _119.QueryClientStatusRequest; - toJSON(message: _119.QueryClientStatusRequest): unknown; - fromPartial(object: { - clientId?: string; - }): _119.QueryClientStatusRequest; - fromSDK(object: _119.QueryClientStatusRequestSDKType): _119.QueryClientStatusRequest; - toSDK(message: _119.QueryClientStatusRequest): _119.QueryClientStatusRequestSDKType; - fromAmino(object: _119.QueryClientStatusRequestAmino): _119.QueryClientStatusRequest; - toAmino(message: _119.QueryClientStatusRequest): _119.QueryClientStatusRequestAmino; - fromAminoMsg(object: _119.QueryClientStatusRequestAminoMsg): _119.QueryClientStatusRequest; - toAminoMsg(message: _119.QueryClientStatusRequest): _119.QueryClientStatusRequestAminoMsg; - fromProtoMsg(message: _119.QueryClientStatusRequestProtoMsg): _119.QueryClientStatusRequest; - toProto(message: _119.QueryClientStatusRequest): Uint8Array; - toProtoMsg(message: _119.QueryClientStatusRequest): _119.QueryClientStatusRequestProtoMsg; - }; - QueryClientStatusResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryClientStatusResponse; - isSDK(o: any): o is _119.QueryClientStatusResponseSDKType; - isAmino(o: any): o is _119.QueryClientStatusResponseAmino; - encode(message: _119.QueryClientStatusResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryClientStatusResponse; - fromJSON(object: any): _119.QueryClientStatusResponse; - toJSON(message: _119.QueryClientStatusResponse): unknown; - fromPartial(object: { - status?: string; - }): _119.QueryClientStatusResponse; - fromSDK(object: _119.QueryClientStatusResponseSDKType): _119.QueryClientStatusResponse; - toSDK(message: _119.QueryClientStatusResponse): _119.QueryClientStatusResponseSDKType; - fromAmino(object: _119.QueryClientStatusResponseAmino): _119.QueryClientStatusResponse; - toAmino(message: _119.QueryClientStatusResponse): _119.QueryClientStatusResponseAmino; - fromAminoMsg(object: _119.QueryClientStatusResponseAminoMsg): _119.QueryClientStatusResponse; - toAminoMsg(message: _119.QueryClientStatusResponse): _119.QueryClientStatusResponseAminoMsg; - fromProtoMsg(message: _119.QueryClientStatusResponseProtoMsg): _119.QueryClientStatusResponse; - toProto(message: _119.QueryClientStatusResponse): Uint8Array; - toProtoMsg(message: _119.QueryClientStatusResponse): _119.QueryClientStatusResponseProtoMsg; - }; - QueryClientParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryClientParamsRequest; - isSDK(o: any): o is _119.QueryClientParamsRequestSDKType; - isAmino(o: any): o is _119.QueryClientParamsRequestAmino; - encode(_: _119.QueryClientParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryClientParamsRequest; - fromJSON(_: any): _119.QueryClientParamsRequest; - toJSON(_: _119.QueryClientParamsRequest): unknown; - fromPartial(_: {}): _119.QueryClientParamsRequest; - fromSDK(_: _119.QueryClientParamsRequestSDKType): _119.QueryClientParamsRequest; - toSDK(_: _119.QueryClientParamsRequest): _119.QueryClientParamsRequestSDKType; - fromAmino(_: _119.QueryClientParamsRequestAmino): _119.QueryClientParamsRequest; - toAmino(_: _119.QueryClientParamsRequest): _119.QueryClientParamsRequestAmino; - fromAminoMsg(object: _119.QueryClientParamsRequestAminoMsg): _119.QueryClientParamsRequest; - toAminoMsg(message: _119.QueryClientParamsRequest): _119.QueryClientParamsRequestAminoMsg; - fromProtoMsg(message: _119.QueryClientParamsRequestProtoMsg): _119.QueryClientParamsRequest; - toProto(message: _119.QueryClientParamsRequest): Uint8Array; - toProtoMsg(message: _119.QueryClientParamsRequest): _119.QueryClientParamsRequestProtoMsg; - }; - QueryClientParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryClientParamsResponse; - isSDK(o: any): o is _119.QueryClientParamsResponseSDKType; - isAmino(o: any): o is _119.QueryClientParamsResponseAmino; - encode(message: _119.QueryClientParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryClientParamsResponse; - fromJSON(object: any): _119.QueryClientParamsResponse; - toJSON(message: _119.QueryClientParamsResponse): unknown; - fromPartial(object: { - params?: { - allowedClients?: string[]; - }; - }): _119.QueryClientParamsResponse; - fromSDK(object: _119.QueryClientParamsResponseSDKType): _119.QueryClientParamsResponse; - toSDK(message: _119.QueryClientParamsResponse): _119.QueryClientParamsResponseSDKType; - fromAmino(object: _119.QueryClientParamsResponseAmino): _119.QueryClientParamsResponse; - toAmino(message: _119.QueryClientParamsResponse): _119.QueryClientParamsResponseAmino; - fromAminoMsg(object: _119.QueryClientParamsResponseAminoMsg): _119.QueryClientParamsResponse; - toAminoMsg(message: _119.QueryClientParamsResponse): _119.QueryClientParamsResponseAminoMsg; - fromProtoMsg(message: _119.QueryClientParamsResponseProtoMsg): _119.QueryClientParamsResponse; - toProto(message: _119.QueryClientParamsResponse): Uint8Array; - toProtoMsg(message: _119.QueryClientParamsResponse): _119.QueryClientParamsResponseProtoMsg; - }; - QueryUpgradedClientStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryUpgradedClientStateRequest; - isSDK(o: any): o is _119.QueryUpgradedClientStateRequestSDKType; - isAmino(o: any): o is _119.QueryUpgradedClientStateRequestAmino; - encode(_: _119.QueryUpgradedClientStateRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryUpgradedClientStateRequest; - fromJSON(_: any): _119.QueryUpgradedClientStateRequest; - toJSON(_: _119.QueryUpgradedClientStateRequest): unknown; - fromPartial(_: {}): _119.QueryUpgradedClientStateRequest; - fromSDK(_: _119.QueryUpgradedClientStateRequestSDKType): _119.QueryUpgradedClientStateRequest; - toSDK(_: _119.QueryUpgradedClientStateRequest): _119.QueryUpgradedClientStateRequestSDKType; - fromAmino(_: _119.QueryUpgradedClientStateRequestAmino): _119.QueryUpgradedClientStateRequest; - toAmino(_: _119.QueryUpgradedClientStateRequest): _119.QueryUpgradedClientStateRequestAmino; - fromAminoMsg(object: _119.QueryUpgradedClientStateRequestAminoMsg): _119.QueryUpgradedClientStateRequest; - toAminoMsg(message: _119.QueryUpgradedClientStateRequest): _119.QueryUpgradedClientStateRequestAminoMsg; - fromProtoMsg(message: _119.QueryUpgradedClientStateRequestProtoMsg): _119.QueryUpgradedClientStateRequest; - toProto(message: _119.QueryUpgradedClientStateRequest): Uint8Array; - toProtoMsg(message: _119.QueryUpgradedClientStateRequest): _119.QueryUpgradedClientStateRequestProtoMsg; - }; - QueryUpgradedClientStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryUpgradedClientStateResponse; - isSDK(o: any): o is _119.QueryUpgradedClientStateResponseSDKType; - isAmino(o: any): o is _119.QueryUpgradedClientStateResponseAmino; - encode(message: _119.QueryUpgradedClientStateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryUpgradedClientStateResponse; - fromJSON(object: any): _119.QueryUpgradedClientStateResponse; - toJSON(message: _119.QueryUpgradedClientStateResponse): unknown; - fromPartial(object: { - upgradedClientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _119.QueryUpgradedClientStateResponse; - fromSDK(object: _119.QueryUpgradedClientStateResponseSDKType): _119.QueryUpgradedClientStateResponse; - toSDK(message: _119.QueryUpgradedClientStateResponse): _119.QueryUpgradedClientStateResponseSDKType; - fromAmino(object: _119.QueryUpgradedClientStateResponseAmino): _119.QueryUpgradedClientStateResponse; - toAmino(message: _119.QueryUpgradedClientStateResponse): _119.QueryUpgradedClientStateResponseAmino; - fromAminoMsg(object: _119.QueryUpgradedClientStateResponseAminoMsg): _119.QueryUpgradedClientStateResponse; - toAminoMsg(message: _119.QueryUpgradedClientStateResponse): _119.QueryUpgradedClientStateResponseAminoMsg; - fromProtoMsg(message: _119.QueryUpgradedClientStateResponseProtoMsg): _119.QueryUpgradedClientStateResponse; - toProto(message: _119.QueryUpgradedClientStateResponse): Uint8Array; - toProtoMsg(message: _119.QueryUpgradedClientStateResponse): _119.QueryUpgradedClientStateResponseProtoMsg; - }; - QueryUpgradedConsensusStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryUpgradedConsensusStateRequest; - isSDK(o: any): o is _119.QueryUpgradedConsensusStateRequestSDKType; - isAmino(o: any): o is _119.QueryUpgradedConsensusStateRequestAmino; - encode(_: _119.QueryUpgradedConsensusStateRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryUpgradedConsensusStateRequest; - fromJSON(_: any): _119.QueryUpgradedConsensusStateRequest; - toJSON(_: _119.QueryUpgradedConsensusStateRequest): unknown; - fromPartial(_: {}): _119.QueryUpgradedConsensusStateRequest; - fromSDK(_: _119.QueryUpgradedConsensusStateRequestSDKType): _119.QueryUpgradedConsensusStateRequest; - toSDK(_: _119.QueryUpgradedConsensusStateRequest): _119.QueryUpgradedConsensusStateRequestSDKType; - fromAmino(_: _119.QueryUpgradedConsensusStateRequestAmino): _119.QueryUpgradedConsensusStateRequest; - toAmino(_: _119.QueryUpgradedConsensusStateRequest): _119.QueryUpgradedConsensusStateRequestAmino; - fromAminoMsg(object: _119.QueryUpgradedConsensusStateRequestAminoMsg): _119.QueryUpgradedConsensusStateRequest; - toAminoMsg(message: _119.QueryUpgradedConsensusStateRequest): _119.QueryUpgradedConsensusStateRequestAminoMsg; - fromProtoMsg(message: _119.QueryUpgradedConsensusStateRequestProtoMsg): _119.QueryUpgradedConsensusStateRequest; - toProto(message: _119.QueryUpgradedConsensusStateRequest): Uint8Array; - toProtoMsg(message: _119.QueryUpgradedConsensusStateRequest): _119.QueryUpgradedConsensusStateRequestProtoMsg; - }; - QueryUpgradedConsensusStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _119.QueryUpgradedConsensusStateResponse; - isSDK(o: any): o is _119.QueryUpgradedConsensusStateResponseSDKType; - isAmino(o: any): o is _119.QueryUpgradedConsensusStateResponseAmino; - encode(message: _119.QueryUpgradedConsensusStateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _119.QueryUpgradedConsensusStateResponse; - fromJSON(object: any): _119.QueryUpgradedConsensusStateResponse; - toJSON(message: _119.QueryUpgradedConsensusStateResponse): unknown; - fromPartial(object: { - upgradedConsensusState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _119.QueryUpgradedConsensusStateResponse; - fromSDK(object: _119.QueryUpgradedConsensusStateResponseSDKType): _119.QueryUpgradedConsensusStateResponse; - toSDK(message: _119.QueryUpgradedConsensusStateResponse): _119.QueryUpgradedConsensusStateResponseSDKType; - fromAmino(object: _119.QueryUpgradedConsensusStateResponseAmino): _119.QueryUpgradedConsensusStateResponse; - toAmino(message: _119.QueryUpgradedConsensusStateResponse): _119.QueryUpgradedConsensusStateResponseAmino; - fromAminoMsg(object: _119.QueryUpgradedConsensusStateResponseAminoMsg): _119.QueryUpgradedConsensusStateResponse; - toAminoMsg(message: _119.QueryUpgradedConsensusStateResponse): _119.QueryUpgradedConsensusStateResponseAminoMsg; - fromProtoMsg(message: _119.QueryUpgradedConsensusStateResponseProtoMsg): _119.QueryUpgradedConsensusStateResponse; - toProto(message: _119.QueryUpgradedConsensusStateResponse): Uint8Array; - toProtoMsg(message: _119.QueryUpgradedConsensusStateResponse): _119.QueryUpgradedConsensusStateResponseProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _118.GenesisState; - isSDK(o: any): o is _118.GenesisStateSDKType; - isAmino(o: any): o is _118.GenesisStateAmino; - encode(message: _118.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _118.GenesisState; - fromJSON(object: any): _118.GenesisState; - toJSON(message: _118.GenesisState): unknown; - fromPartial(object: { - clients?: { - clientId?: string; - clientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - clientsConsensus?: { - clientId?: string; - consensusStates?: { - height?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - consensusState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }[]; - clientsMetadata?: { - clientId?: string; - clientMetadata?: { - key?: Uint8Array; - value?: Uint8Array; - }[]; - }[]; - params?: { - allowedClients?: string[]; - }; - createLocalhost?: boolean; - nextClientSequence?: bigint; - }): _118.GenesisState; - fromSDK(object: _118.GenesisStateSDKType): _118.GenesisState; - toSDK(message: _118.GenesisState): _118.GenesisStateSDKType; - fromAmino(object: _118.GenesisStateAmino): _118.GenesisState; - toAmino(message: _118.GenesisState): _118.GenesisStateAmino; - fromAminoMsg(object: _118.GenesisStateAminoMsg): _118.GenesisState; - toAminoMsg(message: _118.GenesisState): _118.GenesisStateAminoMsg; - fromProtoMsg(message: _118.GenesisStateProtoMsg): _118.GenesisState; - toProto(message: _118.GenesisState): Uint8Array; - toProtoMsg(message: _118.GenesisState): _118.GenesisStateProtoMsg; - }; - GenesisMetadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is _118.GenesisMetadata; - isSDK(o: any): o is _118.GenesisMetadataSDKType; - isAmino(o: any): o is _118.GenesisMetadataAmino; - encode(message: _118.GenesisMetadata, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _118.GenesisMetadata; - fromJSON(object: any): _118.GenesisMetadata; - toJSON(message: _118.GenesisMetadata): unknown; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - }): _118.GenesisMetadata; - fromSDK(object: _118.GenesisMetadataSDKType): _118.GenesisMetadata; - toSDK(message: _118.GenesisMetadata): _118.GenesisMetadataSDKType; - fromAmino(object: _118.GenesisMetadataAmino): _118.GenesisMetadata; - toAmino(message: _118.GenesisMetadata): _118.GenesisMetadataAmino; - fromAminoMsg(object: _118.GenesisMetadataAminoMsg): _118.GenesisMetadata; - toAminoMsg(message: _118.GenesisMetadata): _118.GenesisMetadataAminoMsg; - fromProtoMsg(message: _118.GenesisMetadataProtoMsg): _118.GenesisMetadata; - toProto(message: _118.GenesisMetadata): Uint8Array; - toProtoMsg(message: _118.GenesisMetadata): _118.GenesisMetadataProtoMsg; - }; - IdentifiedGenesisMetadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is _118.IdentifiedGenesisMetadata; - isSDK(o: any): o is _118.IdentifiedGenesisMetadataSDKType; - isAmino(o: any): o is _118.IdentifiedGenesisMetadataAmino; - encode(message: _118.IdentifiedGenesisMetadata, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _118.IdentifiedGenesisMetadata; - fromJSON(object: any): _118.IdentifiedGenesisMetadata; - toJSON(message: _118.IdentifiedGenesisMetadata): unknown; - fromPartial(object: { - clientId?: string; - clientMetadata?: { - key?: Uint8Array; - value?: Uint8Array; - }[]; - }): _118.IdentifiedGenesisMetadata; - fromSDK(object: _118.IdentifiedGenesisMetadataSDKType): _118.IdentifiedGenesisMetadata; - toSDK(message: _118.IdentifiedGenesisMetadata): _118.IdentifiedGenesisMetadataSDKType; - fromAmino(object: _118.IdentifiedGenesisMetadataAmino): _118.IdentifiedGenesisMetadata; - toAmino(message: _118.IdentifiedGenesisMetadata): _118.IdentifiedGenesisMetadataAmino; - fromAminoMsg(object: _118.IdentifiedGenesisMetadataAminoMsg): _118.IdentifiedGenesisMetadata; - toAminoMsg(message: _118.IdentifiedGenesisMetadata): _118.IdentifiedGenesisMetadataAminoMsg; - fromProtoMsg(message: _118.IdentifiedGenesisMetadataProtoMsg): _118.IdentifiedGenesisMetadata; - toProto(message: _118.IdentifiedGenesisMetadata): Uint8Array; - toProtoMsg(message: _118.IdentifiedGenesisMetadata): _118.IdentifiedGenesisMetadataProtoMsg; - }; - IdentifiedClientState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _117.IdentifiedClientState; - isSDK(o: any): o is _117.IdentifiedClientStateSDKType; - isAmino(o: any): o is _117.IdentifiedClientStateAmino; - encode(message: _117.IdentifiedClientState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _117.IdentifiedClientState; - fromJSON(object: any): _117.IdentifiedClientState; - toJSON(message: _117.IdentifiedClientState): unknown; - fromPartial(object: { - clientId?: string; - clientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _117.IdentifiedClientState; - fromSDK(object: _117.IdentifiedClientStateSDKType): _117.IdentifiedClientState; - toSDK(message: _117.IdentifiedClientState): _117.IdentifiedClientStateSDKType; - fromAmino(object: _117.IdentifiedClientStateAmino): _117.IdentifiedClientState; - toAmino(message: _117.IdentifiedClientState): _117.IdentifiedClientStateAmino; - fromAminoMsg(object: _117.IdentifiedClientStateAminoMsg): _117.IdentifiedClientState; - toAminoMsg(message: _117.IdentifiedClientState): _117.IdentifiedClientStateAminoMsg; - fromProtoMsg(message: _117.IdentifiedClientStateProtoMsg): _117.IdentifiedClientState; - toProto(message: _117.IdentifiedClientState): Uint8Array; - toProtoMsg(message: _117.IdentifiedClientState): _117.IdentifiedClientStateProtoMsg; - }; - ConsensusStateWithHeight: { - typeUrl: string; - aminoType: string; - is(o: any): o is _117.ConsensusStateWithHeight; - isSDK(o: any): o is _117.ConsensusStateWithHeightSDKType; - isAmino(o: any): o is _117.ConsensusStateWithHeightAmino; - encode(message: _117.ConsensusStateWithHeight, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _117.ConsensusStateWithHeight; - fromJSON(object: any): _117.ConsensusStateWithHeight; - toJSON(message: _117.ConsensusStateWithHeight): unknown; - fromPartial(object: { - height?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - consensusState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _117.ConsensusStateWithHeight; - fromSDK(object: _117.ConsensusStateWithHeightSDKType): _117.ConsensusStateWithHeight; - toSDK(message: _117.ConsensusStateWithHeight): _117.ConsensusStateWithHeightSDKType; - fromAmino(object: _117.ConsensusStateWithHeightAmino): _117.ConsensusStateWithHeight; - toAmino(message: _117.ConsensusStateWithHeight): _117.ConsensusStateWithHeightAmino; - fromAminoMsg(object: _117.ConsensusStateWithHeightAminoMsg): _117.ConsensusStateWithHeight; - toAminoMsg(message: _117.ConsensusStateWithHeight): _117.ConsensusStateWithHeightAminoMsg; - fromProtoMsg(message: _117.ConsensusStateWithHeightProtoMsg): _117.ConsensusStateWithHeight; - toProto(message: _117.ConsensusStateWithHeight): Uint8Array; - toProtoMsg(message: _117.ConsensusStateWithHeight): _117.ConsensusStateWithHeightProtoMsg; - }; - ClientConsensusStates: { - typeUrl: string; - aminoType: string; - is(o: any): o is _117.ClientConsensusStates; - isSDK(o: any): o is _117.ClientConsensusStatesSDKType; - isAmino(o: any): o is _117.ClientConsensusStatesAmino; - encode(message: _117.ClientConsensusStates, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _117.ClientConsensusStates; - fromJSON(object: any): _117.ClientConsensusStates; - toJSON(message: _117.ClientConsensusStates): unknown; - fromPartial(object: { - clientId?: string; - consensusStates?: { - height?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - consensusState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }): _117.ClientConsensusStates; - fromSDK(object: _117.ClientConsensusStatesSDKType): _117.ClientConsensusStates; - toSDK(message: _117.ClientConsensusStates): _117.ClientConsensusStatesSDKType; - fromAmino(object: _117.ClientConsensusStatesAmino): _117.ClientConsensusStates; - toAmino(message: _117.ClientConsensusStates): _117.ClientConsensusStatesAmino; - fromAminoMsg(object: _117.ClientConsensusStatesAminoMsg): _117.ClientConsensusStates; - toAminoMsg(message: _117.ClientConsensusStates): _117.ClientConsensusStatesAminoMsg; - fromProtoMsg(message: _117.ClientConsensusStatesProtoMsg): _117.ClientConsensusStates; - toProto(message: _117.ClientConsensusStates): Uint8Array; - toProtoMsg(message: _117.ClientConsensusStates): _117.ClientConsensusStatesProtoMsg; - }; - ClientUpdateProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _117.ClientUpdateProposal; - isSDK(o: any): o is _117.ClientUpdateProposalSDKType; - isAmino(o: any): o is _117.ClientUpdateProposalAmino; - encode(message: _117.ClientUpdateProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _117.ClientUpdateProposal; - fromJSON(object: any): _117.ClientUpdateProposal; - toJSON(message: _117.ClientUpdateProposal): unknown; - fromPartial(object: { - $typeUrl?: "/ibc.core.client.v1.ClientUpdateProposal"; - title?: string; - description?: string; - subjectClientId?: string; - substituteClientId?: string; - }): _117.ClientUpdateProposal; - fromSDK(object: _117.ClientUpdateProposalSDKType): _117.ClientUpdateProposal; - toSDK(message: _117.ClientUpdateProposal): _117.ClientUpdateProposalSDKType; - fromAmino(object: _117.ClientUpdateProposalAmino): _117.ClientUpdateProposal; - toAmino(message: _117.ClientUpdateProposal): _117.ClientUpdateProposalAmino; - fromAminoMsg(object: _117.ClientUpdateProposalAminoMsg): _117.ClientUpdateProposal; - toAminoMsg(message: _117.ClientUpdateProposal): _117.ClientUpdateProposalAminoMsg; - fromProtoMsg(message: _117.ClientUpdateProposalProtoMsg): _117.ClientUpdateProposal; - toProto(message: _117.ClientUpdateProposal): Uint8Array; - toProtoMsg(message: _117.ClientUpdateProposal): _117.ClientUpdateProposalProtoMsg; - }; - UpgradeProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _117.UpgradeProposal; - isSDK(o: any): o is _117.UpgradeProposalSDKType; - isAmino(o: any): o is _117.UpgradeProposalAmino; - encode(message: _117.UpgradeProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _117.UpgradeProposal; - fromJSON(object: any): _117.UpgradeProposal; - toJSON(message: _117.UpgradeProposal): unknown; - fromPartial(object: { - $typeUrl?: "/ibc.core.client.v1.UpgradeProposal"; - title?: string; - description?: string; - plan?: { - name?: string; - time?: Date; - height?: bigint; - info?: string; - upgradedClientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }; - upgradedClientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _117.UpgradeProposal; - fromSDK(object: _117.UpgradeProposalSDKType): _117.UpgradeProposal; - toSDK(message: _117.UpgradeProposal): _117.UpgradeProposalSDKType; - fromAmino(object: _117.UpgradeProposalAmino): _117.UpgradeProposal; - toAmino(message: _117.UpgradeProposal): _117.UpgradeProposalAmino; - fromAminoMsg(object: _117.UpgradeProposalAminoMsg): _117.UpgradeProposal; - toAminoMsg(message: _117.UpgradeProposal): _117.UpgradeProposalAminoMsg; - fromProtoMsg(message: _117.UpgradeProposalProtoMsg): _117.UpgradeProposal; - toProto(message: _117.UpgradeProposal): Uint8Array; - toProtoMsg(message: _117.UpgradeProposal): _117.UpgradeProposalProtoMsg; - }; - Height: { - typeUrl: string; - aminoType: string; - is(o: any): o is _117.Height; - isSDK(o: any): o is _117.HeightSDKType; - isAmino(o: any): o is _117.HeightAmino; - encode(message: _117.Height, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _117.Height; - fromJSON(object: any): _117.Height; - toJSON(message: _117.Height): unknown; - fromPartial(object: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }): _117.Height; - fromSDK(object: _117.HeightSDKType): _117.Height; - toSDK(message: _117.Height): _117.HeightSDKType; - fromAmino(object: _117.HeightAmino): _117.Height; - toAmino(message: _117.Height): _117.HeightAmino; - fromAminoMsg(object: _117.HeightAminoMsg): _117.Height; - toAminoMsg(message: _117.Height): _117.HeightAminoMsg; - fromProtoMsg(message: _117.HeightProtoMsg): _117.Height; - toProto(message: _117.Height): Uint8Array; - toProtoMsg(message: _117.Height): _117.HeightProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _117.Params; - isSDK(o: any): o is _117.ParamsSDKType; - isAmino(o: any): o is _117.ParamsAmino; - encode(message: _117.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _117.Params; - fromJSON(object: any): _117.Params; - toJSON(message: _117.Params): unknown; - fromPartial(object: { - allowedClients?: string[]; - }): _117.Params; - fromSDK(object: _117.ParamsSDKType): _117.Params; - toSDK(message: _117.Params): _117.ParamsSDKType; - fromAmino(object: _117.ParamsAmino): _117.Params; - toAmino(message: _117.Params): _117.ParamsAmino; - fromAminoMsg(object: _117.ParamsAminoMsg): _117.Params; - toAminoMsg(message: _117.Params): _117.ParamsAminoMsg; - fromProtoMsg(message: _117.ParamsProtoMsg): _117.Params; - toProto(message: _117.Params): Uint8Array; - toProtoMsg(message: _117.Params): _117.ParamsProtoMsg; - }; - }; - } - namespace commitment { - const v1: { - MerkleRoot: { - typeUrl: string; - aminoType: string; - is(o: any): o is _121.MerkleRoot; - isSDK(o: any): o is _121.MerkleRootSDKType; - isAmino(o: any): o is _121.MerkleRootAmino; - encode(message: _121.MerkleRoot, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _121.MerkleRoot; - fromJSON(object: any): _121.MerkleRoot; - toJSON(message: _121.MerkleRoot): unknown; - fromPartial(object: { - hash?: Uint8Array; - }): _121.MerkleRoot; - fromSDK(object: _121.MerkleRootSDKType): _121.MerkleRoot; - toSDK(message: _121.MerkleRoot): _121.MerkleRootSDKType; - fromAmino(object: _121.MerkleRootAmino): _121.MerkleRoot; - toAmino(message: _121.MerkleRoot): _121.MerkleRootAmino; - fromAminoMsg(object: _121.MerkleRootAminoMsg): _121.MerkleRoot; - toAminoMsg(message: _121.MerkleRoot): _121.MerkleRootAminoMsg; - fromProtoMsg(message: _121.MerkleRootProtoMsg): _121.MerkleRoot; - toProto(message: _121.MerkleRoot): Uint8Array; - toProtoMsg(message: _121.MerkleRoot): _121.MerkleRootProtoMsg; - }; - MerklePrefix: { - typeUrl: string; - aminoType: string; - is(o: any): o is _121.MerklePrefix; - isSDK(o: any): o is _121.MerklePrefixSDKType; - isAmino(o: any): o is _121.MerklePrefixAmino; - encode(message: _121.MerklePrefix, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _121.MerklePrefix; - fromJSON(object: any): _121.MerklePrefix; - toJSON(message: _121.MerklePrefix): unknown; - fromPartial(object: { - keyPrefix?: Uint8Array; - }): _121.MerklePrefix; - fromSDK(object: _121.MerklePrefixSDKType): _121.MerklePrefix; - toSDK(message: _121.MerklePrefix): _121.MerklePrefixSDKType; - fromAmino(object: _121.MerklePrefixAmino): _121.MerklePrefix; - toAmino(message: _121.MerklePrefix): _121.MerklePrefixAmino; - fromAminoMsg(object: _121.MerklePrefixAminoMsg): _121.MerklePrefix; - toAminoMsg(message: _121.MerklePrefix): _121.MerklePrefixAminoMsg; - fromProtoMsg(message: _121.MerklePrefixProtoMsg): _121.MerklePrefix; - toProto(message: _121.MerklePrefix): Uint8Array; - toProtoMsg(message: _121.MerklePrefix): _121.MerklePrefixProtoMsg; - }; - MerklePath: { - typeUrl: string; - aminoType: string; - is(o: any): o is _121.MerklePath; - isSDK(o: any): o is _121.MerklePathSDKType; - isAmino(o: any): o is _121.MerklePathAmino; - encode(message: _121.MerklePath, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _121.MerklePath; - fromJSON(object: any): _121.MerklePath; - toJSON(message: _121.MerklePath): unknown; - fromPartial(object: { - keyPath?: string[]; - }): _121.MerklePath; - fromSDK(object: _121.MerklePathSDKType): _121.MerklePath; - toSDK(message: _121.MerklePath): _121.MerklePathSDKType; - fromAmino(object: _121.MerklePathAmino): _121.MerklePath; - toAmino(message: _121.MerklePath): _121.MerklePathAmino; - fromAminoMsg(object: _121.MerklePathAminoMsg): _121.MerklePath; - toAminoMsg(message: _121.MerklePath): _121.MerklePathAminoMsg; - fromProtoMsg(message: _121.MerklePathProtoMsg): _121.MerklePath; - toProto(message: _121.MerklePath): Uint8Array; - toProtoMsg(message: _121.MerklePath): _121.MerklePathProtoMsg; - }; - MerkleProof: { - typeUrl: string; - aminoType: string; - is(o: any): o is _121.MerkleProof; - isSDK(o: any): o is _121.MerkleProofSDKType; - isAmino(o: any): o is _121.MerkleProofAmino; - encode(message: _121.MerkleProof, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _121.MerkleProof; - fromJSON(object: any): _121.MerkleProof; - toJSON(message: _121.MerkleProof): unknown; - fromPartial(object: { - proofs?: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: import("../confio/proofs").HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: import("../confio/proofs").HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: import("../confio/proofs").HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }; - batch?: { - entries?: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: import("../confio/proofs").HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: import("../confio/proofs").HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: import("../confio/proofs").HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }; - }[]; - }; - compressed?: { - entries?: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - }; - }[]; - lookupInners?: { - hash?: import("../confio/proofs").HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }[]; - }): _121.MerkleProof; - fromSDK(object: _121.MerkleProofSDKType): _121.MerkleProof; - toSDK(message: _121.MerkleProof): _121.MerkleProofSDKType; - fromAmino(object: _121.MerkleProofAmino): _121.MerkleProof; - toAmino(message: _121.MerkleProof): _121.MerkleProofAmino; - fromAminoMsg(object: _121.MerkleProofAminoMsg): _121.MerkleProof; - toAminoMsg(message: _121.MerkleProof): _121.MerkleProofAminoMsg; - fromProtoMsg(message: _121.MerkleProofProtoMsg): _121.MerkleProof; - toProto(message: _121.MerkleProof): Uint8Array; - toProtoMsg(message: _121.MerkleProof): _121.MerkleProofProtoMsg; - }; - }; - } - namespace connection { - const v1: { - MsgClientImpl: typeof _270.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _270.MsgClientImpl; - QueryClientImpl: typeof _265.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useConnection: ({ request, options }: _265.UseConnectionQuery) => import("@tanstack/react-query").UseQueryResult; - useConnections: ({ request, options }: _265.UseConnectionsQuery) => import("@tanstack/react-query").UseQueryResult; - useClientConnections: ({ request, options }: _265.UseClientConnectionsQuery) => import("@tanstack/react-query").UseQueryResult; - useConnectionClientState: ({ request, options }: _265.UseConnectionClientStateQuery) => import("@tanstack/react-query").UseQueryResult; - useConnectionConsensusState: ({ request, options }: _265.UseConnectionConsensusStateQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryConnectionStore: { - new (): { - store: import("..").QueryStore<_124.QueryConnectionRequest, _124.QueryConnectionResponse>; - connection(request: _124.QueryConnectionRequest): import("..").MobxResponse<_124.QueryConnectionResponse>; - }; - }; - QueryConnectionsStore: { - new (): { - store: import("..").QueryStore<_124.QueryConnectionsRequest, _124.QueryConnectionsResponse>; - connections(request: _124.QueryConnectionsRequest): import("..").MobxResponse<_124.QueryConnectionsResponse>; - }; - }; - QueryClientConnectionsStore: { - new (): { - store: import("..").QueryStore<_124.QueryClientConnectionsRequest, _124.QueryClientConnectionsResponse>; - clientConnections(request: _124.QueryClientConnectionsRequest): import("..").MobxResponse<_124.QueryClientConnectionsResponse>; - }; - }; - QueryConnectionClientStateStore: { - new (): { - store: import("..").QueryStore<_124.QueryConnectionClientStateRequest, _124.QueryConnectionClientStateResponse>; - connectionClientState(request: _124.QueryConnectionClientStateRequest): import("..").MobxResponse<_124.QueryConnectionClientStateResponse>; - }; - }; - QueryConnectionConsensusStateStore: { - new (): { - store: import("..").QueryStore<_124.QueryConnectionConsensusStateRequest, _124.QueryConnectionConsensusStateResponse>; - connectionConsensusState(request: _124.QueryConnectionConsensusStateRequest): import("..").MobxResponse<_124.QueryConnectionConsensusStateResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - connectionOpenInit(value: _125.MsgConnectionOpenInit): { - typeUrl: string; - value: Uint8Array; - }; - connectionOpenTry(value: _125.MsgConnectionOpenTry): { - typeUrl: string; - value: Uint8Array; - }; - connectionOpenAck(value: _125.MsgConnectionOpenAck): { - typeUrl: string; - value: Uint8Array; - }; - connectionOpenConfirm(value: _125.MsgConnectionOpenConfirm): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - connectionOpenInit(value: _125.MsgConnectionOpenInit): { - typeUrl: string; - value: _125.MsgConnectionOpenInit; - }; - connectionOpenTry(value: _125.MsgConnectionOpenTry): { - typeUrl: string; - value: _125.MsgConnectionOpenTry; - }; - connectionOpenAck(value: _125.MsgConnectionOpenAck): { - typeUrl: string; - value: _125.MsgConnectionOpenAck; - }; - connectionOpenConfirm(value: _125.MsgConnectionOpenConfirm): { - typeUrl: string; - value: _125.MsgConnectionOpenConfirm; - }; - }; - toJSON: { - connectionOpenInit(value: _125.MsgConnectionOpenInit): { - typeUrl: string; - value: unknown; - }; - connectionOpenTry(value: _125.MsgConnectionOpenTry): { - typeUrl: string; - value: unknown; - }; - connectionOpenAck(value: _125.MsgConnectionOpenAck): { - typeUrl: string; - value: unknown; - }; - connectionOpenConfirm(value: _125.MsgConnectionOpenConfirm): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - connectionOpenInit(value: any): { - typeUrl: string; - value: _125.MsgConnectionOpenInit; - }; - connectionOpenTry(value: any): { - typeUrl: string; - value: _125.MsgConnectionOpenTry; - }; - connectionOpenAck(value: any): { - typeUrl: string; - value: _125.MsgConnectionOpenAck; - }; - connectionOpenConfirm(value: any): { - typeUrl: string; - value: _125.MsgConnectionOpenConfirm; - }; - }; - fromPartial: { - connectionOpenInit(value: _125.MsgConnectionOpenInit): { - typeUrl: string; - value: _125.MsgConnectionOpenInit; - }; - connectionOpenTry(value: _125.MsgConnectionOpenTry): { - typeUrl: string; - value: _125.MsgConnectionOpenTry; - }; - connectionOpenAck(value: _125.MsgConnectionOpenAck): { - typeUrl: string; - value: _125.MsgConnectionOpenAck; - }; - connectionOpenConfirm(value: _125.MsgConnectionOpenConfirm): { - typeUrl: string; - value: _125.MsgConnectionOpenConfirm; - }; - }; - }; - AminoConverter: { - "/ibc.core.connection.v1.MsgConnectionOpenInit": { - aminoType: string; - toAmino: (message: _125.MsgConnectionOpenInit) => _125.MsgConnectionOpenInitAmino; - fromAmino: (object: _125.MsgConnectionOpenInitAmino) => _125.MsgConnectionOpenInit; - }; - "/ibc.core.connection.v1.MsgConnectionOpenTry": { - aminoType: string; - toAmino: (message: _125.MsgConnectionOpenTry) => _125.MsgConnectionOpenTryAmino; - fromAmino: (object: _125.MsgConnectionOpenTryAmino) => _125.MsgConnectionOpenTry; - }; - "/ibc.core.connection.v1.MsgConnectionOpenAck": { - aminoType: string; - toAmino: (message: _125.MsgConnectionOpenAck) => _125.MsgConnectionOpenAckAmino; - fromAmino: (object: _125.MsgConnectionOpenAckAmino) => _125.MsgConnectionOpenAck; - }; - "/ibc.core.connection.v1.MsgConnectionOpenConfirm": { - aminoType: string; - toAmino: (message: _125.MsgConnectionOpenConfirm) => _125.MsgConnectionOpenConfirmAmino; - fromAmino: (object: _125.MsgConnectionOpenConfirmAmino) => _125.MsgConnectionOpenConfirm; - }; - }; - MsgConnectionOpenInit: { - typeUrl: string; - aminoType: string; - is(o: any): o is _125.MsgConnectionOpenInit; - isSDK(o: any): o is _125.MsgConnectionOpenInitSDKType; - isAmino(o: any): o is _125.MsgConnectionOpenInitAmino; - encode(message: _125.MsgConnectionOpenInit, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _125.MsgConnectionOpenInit; - fromJSON(object: any): _125.MsgConnectionOpenInit; - toJSON(message: _125.MsgConnectionOpenInit): unknown; - fromPartial(object: { - clientId?: string; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - version?: { - identifier?: string; - features?: string[]; - }; - delayPeriod?: bigint; - signer?: string; - }): _125.MsgConnectionOpenInit; - fromSDK(object: _125.MsgConnectionOpenInitSDKType): _125.MsgConnectionOpenInit; - toSDK(message: _125.MsgConnectionOpenInit): _125.MsgConnectionOpenInitSDKType; - fromAmino(object: _125.MsgConnectionOpenInitAmino): _125.MsgConnectionOpenInit; - toAmino(message: _125.MsgConnectionOpenInit): _125.MsgConnectionOpenInitAmino; - fromAminoMsg(object: _125.MsgConnectionOpenInitAminoMsg): _125.MsgConnectionOpenInit; - toAminoMsg(message: _125.MsgConnectionOpenInit): _125.MsgConnectionOpenInitAminoMsg; - fromProtoMsg(message: _125.MsgConnectionOpenInitProtoMsg): _125.MsgConnectionOpenInit; - toProto(message: _125.MsgConnectionOpenInit): Uint8Array; - toProtoMsg(message: _125.MsgConnectionOpenInit): _125.MsgConnectionOpenInitProtoMsg; - }; - MsgConnectionOpenInitResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _125.MsgConnectionOpenInitResponse; - isSDK(o: any): o is _125.MsgConnectionOpenInitResponseSDKType; - isAmino(o: any): o is _125.MsgConnectionOpenInitResponseAmino; - encode(_: _125.MsgConnectionOpenInitResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _125.MsgConnectionOpenInitResponse; - fromJSON(_: any): _125.MsgConnectionOpenInitResponse; - toJSON(_: _125.MsgConnectionOpenInitResponse): unknown; - fromPartial(_: {}): _125.MsgConnectionOpenInitResponse; - fromSDK(_: _125.MsgConnectionOpenInitResponseSDKType): _125.MsgConnectionOpenInitResponse; - toSDK(_: _125.MsgConnectionOpenInitResponse): _125.MsgConnectionOpenInitResponseSDKType; - fromAmino(_: _125.MsgConnectionOpenInitResponseAmino): _125.MsgConnectionOpenInitResponse; - toAmino(_: _125.MsgConnectionOpenInitResponse): _125.MsgConnectionOpenInitResponseAmino; - fromAminoMsg(object: _125.MsgConnectionOpenInitResponseAminoMsg): _125.MsgConnectionOpenInitResponse; - toAminoMsg(message: _125.MsgConnectionOpenInitResponse): _125.MsgConnectionOpenInitResponseAminoMsg; - fromProtoMsg(message: _125.MsgConnectionOpenInitResponseProtoMsg): _125.MsgConnectionOpenInitResponse; - toProto(message: _125.MsgConnectionOpenInitResponse): Uint8Array; - toProtoMsg(message: _125.MsgConnectionOpenInitResponse): _125.MsgConnectionOpenInitResponseProtoMsg; - }; - MsgConnectionOpenTry: { - typeUrl: string; - aminoType: string; - is(o: any): o is _125.MsgConnectionOpenTry; - isSDK(o: any): o is _125.MsgConnectionOpenTrySDKType; - isAmino(o: any): o is _125.MsgConnectionOpenTryAmino; - encode(message: _125.MsgConnectionOpenTry, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _125.MsgConnectionOpenTry; - fromJSON(object: any): _125.MsgConnectionOpenTry; - toJSON(message: _125.MsgConnectionOpenTry): unknown; - fromPartial(object: { - clientId?: string; - previousConnectionId?: string; - clientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: bigint; - counterpartyVersions?: { - identifier?: string; - features?: string[]; - }[]; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - proofInit?: Uint8Array; - proofClient?: Uint8Array; - proofConsensus?: Uint8Array; - consensusHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - signer?: string; - }): _125.MsgConnectionOpenTry; - fromSDK(object: _125.MsgConnectionOpenTrySDKType): _125.MsgConnectionOpenTry; - toSDK(message: _125.MsgConnectionOpenTry): _125.MsgConnectionOpenTrySDKType; - fromAmino(object: _125.MsgConnectionOpenTryAmino): _125.MsgConnectionOpenTry; - toAmino(message: _125.MsgConnectionOpenTry): _125.MsgConnectionOpenTryAmino; - fromAminoMsg(object: _125.MsgConnectionOpenTryAminoMsg): _125.MsgConnectionOpenTry; - toAminoMsg(message: _125.MsgConnectionOpenTry): _125.MsgConnectionOpenTryAminoMsg; - fromProtoMsg(message: _125.MsgConnectionOpenTryProtoMsg): _125.MsgConnectionOpenTry; - toProto(message: _125.MsgConnectionOpenTry): Uint8Array; - toProtoMsg(message: _125.MsgConnectionOpenTry): _125.MsgConnectionOpenTryProtoMsg; - }; - MsgConnectionOpenTryResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _125.MsgConnectionOpenTryResponse; - isSDK(o: any): o is _125.MsgConnectionOpenTryResponseSDKType; - isAmino(o: any): o is _125.MsgConnectionOpenTryResponseAmino; - encode(_: _125.MsgConnectionOpenTryResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _125.MsgConnectionOpenTryResponse; - fromJSON(_: any): _125.MsgConnectionOpenTryResponse; - toJSON(_: _125.MsgConnectionOpenTryResponse): unknown; - fromPartial(_: {}): _125.MsgConnectionOpenTryResponse; - fromSDK(_: _125.MsgConnectionOpenTryResponseSDKType): _125.MsgConnectionOpenTryResponse; - toSDK(_: _125.MsgConnectionOpenTryResponse): _125.MsgConnectionOpenTryResponseSDKType; - fromAmino(_: _125.MsgConnectionOpenTryResponseAmino): _125.MsgConnectionOpenTryResponse; - toAmino(_: _125.MsgConnectionOpenTryResponse): _125.MsgConnectionOpenTryResponseAmino; - fromAminoMsg(object: _125.MsgConnectionOpenTryResponseAminoMsg): _125.MsgConnectionOpenTryResponse; - toAminoMsg(message: _125.MsgConnectionOpenTryResponse): _125.MsgConnectionOpenTryResponseAminoMsg; - fromProtoMsg(message: _125.MsgConnectionOpenTryResponseProtoMsg): _125.MsgConnectionOpenTryResponse; - toProto(message: _125.MsgConnectionOpenTryResponse): Uint8Array; - toProtoMsg(message: _125.MsgConnectionOpenTryResponse): _125.MsgConnectionOpenTryResponseProtoMsg; - }; - MsgConnectionOpenAck: { - typeUrl: string; - aminoType: string; - is(o: any): o is _125.MsgConnectionOpenAck; - isSDK(o: any): o is _125.MsgConnectionOpenAckSDKType; - isAmino(o: any): o is _125.MsgConnectionOpenAckAmino; - encode(message: _125.MsgConnectionOpenAck, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _125.MsgConnectionOpenAck; - fromJSON(object: any): _125.MsgConnectionOpenAck; - toJSON(message: _125.MsgConnectionOpenAck): unknown; - fromPartial(object: { - connectionId?: string; - counterpartyConnectionId?: string; - version?: { - identifier?: string; - features?: string[]; - }; - clientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - proofTry?: Uint8Array; - proofClient?: Uint8Array; - proofConsensus?: Uint8Array; - consensusHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - signer?: string; - }): _125.MsgConnectionOpenAck; - fromSDK(object: _125.MsgConnectionOpenAckSDKType): _125.MsgConnectionOpenAck; - toSDK(message: _125.MsgConnectionOpenAck): _125.MsgConnectionOpenAckSDKType; - fromAmino(object: _125.MsgConnectionOpenAckAmino): _125.MsgConnectionOpenAck; - toAmino(message: _125.MsgConnectionOpenAck): _125.MsgConnectionOpenAckAmino; - fromAminoMsg(object: _125.MsgConnectionOpenAckAminoMsg): _125.MsgConnectionOpenAck; - toAminoMsg(message: _125.MsgConnectionOpenAck): _125.MsgConnectionOpenAckAminoMsg; - fromProtoMsg(message: _125.MsgConnectionOpenAckProtoMsg): _125.MsgConnectionOpenAck; - toProto(message: _125.MsgConnectionOpenAck): Uint8Array; - toProtoMsg(message: _125.MsgConnectionOpenAck): _125.MsgConnectionOpenAckProtoMsg; - }; - MsgConnectionOpenAckResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _125.MsgConnectionOpenAckResponse; - isSDK(o: any): o is _125.MsgConnectionOpenAckResponseSDKType; - isAmino(o: any): o is _125.MsgConnectionOpenAckResponseAmino; - encode(_: _125.MsgConnectionOpenAckResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _125.MsgConnectionOpenAckResponse; - fromJSON(_: any): _125.MsgConnectionOpenAckResponse; - toJSON(_: _125.MsgConnectionOpenAckResponse): unknown; - fromPartial(_: {}): _125.MsgConnectionOpenAckResponse; - fromSDK(_: _125.MsgConnectionOpenAckResponseSDKType): _125.MsgConnectionOpenAckResponse; - toSDK(_: _125.MsgConnectionOpenAckResponse): _125.MsgConnectionOpenAckResponseSDKType; - fromAmino(_: _125.MsgConnectionOpenAckResponseAmino): _125.MsgConnectionOpenAckResponse; - toAmino(_: _125.MsgConnectionOpenAckResponse): _125.MsgConnectionOpenAckResponseAmino; - fromAminoMsg(object: _125.MsgConnectionOpenAckResponseAminoMsg): _125.MsgConnectionOpenAckResponse; - toAminoMsg(message: _125.MsgConnectionOpenAckResponse): _125.MsgConnectionOpenAckResponseAminoMsg; - fromProtoMsg(message: _125.MsgConnectionOpenAckResponseProtoMsg): _125.MsgConnectionOpenAckResponse; - toProto(message: _125.MsgConnectionOpenAckResponse): Uint8Array; - toProtoMsg(message: _125.MsgConnectionOpenAckResponse): _125.MsgConnectionOpenAckResponseProtoMsg; - }; - MsgConnectionOpenConfirm: { - typeUrl: string; - aminoType: string; - is(o: any): o is _125.MsgConnectionOpenConfirm; - isSDK(o: any): o is _125.MsgConnectionOpenConfirmSDKType; - isAmino(o: any): o is _125.MsgConnectionOpenConfirmAmino; - encode(message: _125.MsgConnectionOpenConfirm, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _125.MsgConnectionOpenConfirm; - fromJSON(object: any): _125.MsgConnectionOpenConfirm; - toJSON(message: _125.MsgConnectionOpenConfirm): unknown; - fromPartial(object: { - connectionId?: string; - proofAck?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - signer?: string; - }): _125.MsgConnectionOpenConfirm; - fromSDK(object: _125.MsgConnectionOpenConfirmSDKType): _125.MsgConnectionOpenConfirm; - toSDK(message: _125.MsgConnectionOpenConfirm): _125.MsgConnectionOpenConfirmSDKType; - fromAmino(object: _125.MsgConnectionOpenConfirmAmino): _125.MsgConnectionOpenConfirm; - toAmino(message: _125.MsgConnectionOpenConfirm): _125.MsgConnectionOpenConfirmAmino; - fromAminoMsg(object: _125.MsgConnectionOpenConfirmAminoMsg): _125.MsgConnectionOpenConfirm; - toAminoMsg(message: _125.MsgConnectionOpenConfirm): _125.MsgConnectionOpenConfirmAminoMsg; - fromProtoMsg(message: _125.MsgConnectionOpenConfirmProtoMsg): _125.MsgConnectionOpenConfirm; - toProto(message: _125.MsgConnectionOpenConfirm): Uint8Array; - toProtoMsg(message: _125.MsgConnectionOpenConfirm): _125.MsgConnectionOpenConfirmProtoMsg; - }; - MsgConnectionOpenConfirmResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _125.MsgConnectionOpenConfirmResponse; - isSDK(o: any): o is _125.MsgConnectionOpenConfirmResponseSDKType; - isAmino(o: any): o is _125.MsgConnectionOpenConfirmResponseAmino; - encode(_: _125.MsgConnectionOpenConfirmResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _125.MsgConnectionOpenConfirmResponse; - fromJSON(_: any): _125.MsgConnectionOpenConfirmResponse; - toJSON(_: _125.MsgConnectionOpenConfirmResponse): unknown; - fromPartial(_: {}): _125.MsgConnectionOpenConfirmResponse; - fromSDK(_: _125.MsgConnectionOpenConfirmResponseSDKType): _125.MsgConnectionOpenConfirmResponse; - toSDK(_: _125.MsgConnectionOpenConfirmResponse): _125.MsgConnectionOpenConfirmResponseSDKType; - fromAmino(_: _125.MsgConnectionOpenConfirmResponseAmino): _125.MsgConnectionOpenConfirmResponse; - toAmino(_: _125.MsgConnectionOpenConfirmResponse): _125.MsgConnectionOpenConfirmResponseAmino; - fromAminoMsg(object: _125.MsgConnectionOpenConfirmResponseAminoMsg): _125.MsgConnectionOpenConfirmResponse; - toAminoMsg(message: _125.MsgConnectionOpenConfirmResponse): _125.MsgConnectionOpenConfirmResponseAminoMsg; - fromProtoMsg(message: _125.MsgConnectionOpenConfirmResponseProtoMsg): _125.MsgConnectionOpenConfirmResponse; - toProto(message: _125.MsgConnectionOpenConfirmResponse): Uint8Array; - toProtoMsg(message: _125.MsgConnectionOpenConfirmResponse): _125.MsgConnectionOpenConfirmResponseProtoMsg; - }; - QueryConnectionRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _124.QueryConnectionRequest; - isSDK(o: any): o is _124.QueryConnectionRequestSDKType; - isAmino(o: any): o is _124.QueryConnectionRequestAmino; - encode(message: _124.QueryConnectionRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _124.QueryConnectionRequest; - fromJSON(object: any): _124.QueryConnectionRequest; - toJSON(message: _124.QueryConnectionRequest): unknown; - fromPartial(object: { - connectionId?: string; - }): _124.QueryConnectionRequest; - fromSDK(object: _124.QueryConnectionRequestSDKType): _124.QueryConnectionRequest; - toSDK(message: _124.QueryConnectionRequest): _124.QueryConnectionRequestSDKType; - fromAmino(object: _124.QueryConnectionRequestAmino): _124.QueryConnectionRequest; - toAmino(message: _124.QueryConnectionRequest): _124.QueryConnectionRequestAmino; - fromAminoMsg(object: _124.QueryConnectionRequestAminoMsg): _124.QueryConnectionRequest; - toAminoMsg(message: _124.QueryConnectionRequest): _124.QueryConnectionRequestAminoMsg; - fromProtoMsg(message: _124.QueryConnectionRequestProtoMsg): _124.QueryConnectionRequest; - toProto(message: _124.QueryConnectionRequest): Uint8Array; - toProtoMsg(message: _124.QueryConnectionRequest): _124.QueryConnectionRequestProtoMsg; - }; - QueryConnectionResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _124.QueryConnectionResponse; - isSDK(o: any): o is _124.QueryConnectionResponseSDKType; - isAmino(o: any): o is _124.QueryConnectionResponseAmino; - encode(message: _124.QueryConnectionResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _124.QueryConnectionResponse; - fromJSON(object: any): _124.QueryConnectionResponse; - toJSON(message: _124.QueryConnectionResponse): unknown; - fromPartial(object: { - connection?: { - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _122.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: bigint; - }; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _124.QueryConnectionResponse; - fromSDK(object: _124.QueryConnectionResponseSDKType): _124.QueryConnectionResponse; - toSDK(message: _124.QueryConnectionResponse): _124.QueryConnectionResponseSDKType; - fromAmino(object: _124.QueryConnectionResponseAmino): _124.QueryConnectionResponse; - toAmino(message: _124.QueryConnectionResponse): _124.QueryConnectionResponseAmino; - fromAminoMsg(object: _124.QueryConnectionResponseAminoMsg): _124.QueryConnectionResponse; - toAminoMsg(message: _124.QueryConnectionResponse): _124.QueryConnectionResponseAminoMsg; - fromProtoMsg(message: _124.QueryConnectionResponseProtoMsg): _124.QueryConnectionResponse; - toProto(message: _124.QueryConnectionResponse): Uint8Array; - toProtoMsg(message: _124.QueryConnectionResponse): _124.QueryConnectionResponseProtoMsg; - }; - QueryConnectionsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _124.QueryConnectionsRequest; - isSDK(o: any): o is _124.QueryConnectionsRequestSDKType; - isAmino(o: any): o is _124.QueryConnectionsRequestAmino; - encode(message: _124.QueryConnectionsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _124.QueryConnectionsRequest; - fromJSON(object: any): _124.QueryConnectionsRequest; - toJSON(message: _124.QueryConnectionsRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _124.QueryConnectionsRequest; - fromSDK(object: _124.QueryConnectionsRequestSDKType): _124.QueryConnectionsRequest; - toSDK(message: _124.QueryConnectionsRequest): _124.QueryConnectionsRequestSDKType; - fromAmino(object: _124.QueryConnectionsRequestAmino): _124.QueryConnectionsRequest; - toAmino(message: _124.QueryConnectionsRequest): _124.QueryConnectionsRequestAmino; - fromAminoMsg(object: _124.QueryConnectionsRequestAminoMsg): _124.QueryConnectionsRequest; - toAminoMsg(message: _124.QueryConnectionsRequest): _124.QueryConnectionsRequestAminoMsg; - fromProtoMsg(message: _124.QueryConnectionsRequestProtoMsg): _124.QueryConnectionsRequest; - toProto(message: _124.QueryConnectionsRequest): Uint8Array; - toProtoMsg(message: _124.QueryConnectionsRequest): _124.QueryConnectionsRequestProtoMsg; - }; - QueryConnectionsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _124.QueryConnectionsResponse; - isSDK(o: any): o is _124.QueryConnectionsResponseSDKType; - isAmino(o: any): o is _124.QueryConnectionsResponseAmino; - encode(message: _124.QueryConnectionsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _124.QueryConnectionsResponse; - fromJSON(object: any): _124.QueryConnectionsResponse; - toJSON(message: _124.QueryConnectionsResponse): unknown; - fromPartial(object: { - connections?: { - id?: string; - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _122.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: bigint; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - height?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _124.QueryConnectionsResponse; - fromSDK(object: _124.QueryConnectionsResponseSDKType): _124.QueryConnectionsResponse; - toSDK(message: _124.QueryConnectionsResponse): _124.QueryConnectionsResponseSDKType; - fromAmino(object: _124.QueryConnectionsResponseAmino): _124.QueryConnectionsResponse; - toAmino(message: _124.QueryConnectionsResponse): _124.QueryConnectionsResponseAmino; - fromAminoMsg(object: _124.QueryConnectionsResponseAminoMsg): _124.QueryConnectionsResponse; - toAminoMsg(message: _124.QueryConnectionsResponse): _124.QueryConnectionsResponseAminoMsg; - fromProtoMsg(message: _124.QueryConnectionsResponseProtoMsg): _124.QueryConnectionsResponse; - toProto(message: _124.QueryConnectionsResponse): Uint8Array; - toProtoMsg(message: _124.QueryConnectionsResponse): _124.QueryConnectionsResponseProtoMsg; - }; - QueryClientConnectionsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _124.QueryClientConnectionsRequest; - isSDK(o: any): o is _124.QueryClientConnectionsRequestSDKType; - isAmino(o: any): o is _124.QueryClientConnectionsRequestAmino; - encode(message: _124.QueryClientConnectionsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _124.QueryClientConnectionsRequest; - fromJSON(object: any): _124.QueryClientConnectionsRequest; - toJSON(message: _124.QueryClientConnectionsRequest): unknown; - fromPartial(object: { - clientId?: string; - }): _124.QueryClientConnectionsRequest; - fromSDK(object: _124.QueryClientConnectionsRequestSDKType): _124.QueryClientConnectionsRequest; - toSDK(message: _124.QueryClientConnectionsRequest): _124.QueryClientConnectionsRequestSDKType; - fromAmino(object: _124.QueryClientConnectionsRequestAmino): _124.QueryClientConnectionsRequest; - toAmino(message: _124.QueryClientConnectionsRequest): _124.QueryClientConnectionsRequestAmino; - fromAminoMsg(object: _124.QueryClientConnectionsRequestAminoMsg): _124.QueryClientConnectionsRequest; - toAminoMsg(message: _124.QueryClientConnectionsRequest): _124.QueryClientConnectionsRequestAminoMsg; - fromProtoMsg(message: _124.QueryClientConnectionsRequestProtoMsg): _124.QueryClientConnectionsRequest; - toProto(message: _124.QueryClientConnectionsRequest): Uint8Array; - toProtoMsg(message: _124.QueryClientConnectionsRequest): _124.QueryClientConnectionsRequestProtoMsg; - }; - QueryClientConnectionsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _124.QueryClientConnectionsResponse; - isSDK(o: any): o is _124.QueryClientConnectionsResponseSDKType; - isAmino(o: any): o is _124.QueryClientConnectionsResponseAmino; - encode(message: _124.QueryClientConnectionsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _124.QueryClientConnectionsResponse; - fromJSON(object: any): _124.QueryClientConnectionsResponse; - toJSON(message: _124.QueryClientConnectionsResponse): unknown; - fromPartial(object: { - connectionPaths?: string[]; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _124.QueryClientConnectionsResponse; - fromSDK(object: _124.QueryClientConnectionsResponseSDKType): _124.QueryClientConnectionsResponse; - toSDK(message: _124.QueryClientConnectionsResponse): _124.QueryClientConnectionsResponseSDKType; - fromAmino(object: _124.QueryClientConnectionsResponseAmino): _124.QueryClientConnectionsResponse; - toAmino(message: _124.QueryClientConnectionsResponse): _124.QueryClientConnectionsResponseAmino; - fromAminoMsg(object: _124.QueryClientConnectionsResponseAminoMsg): _124.QueryClientConnectionsResponse; - toAminoMsg(message: _124.QueryClientConnectionsResponse): _124.QueryClientConnectionsResponseAminoMsg; - fromProtoMsg(message: _124.QueryClientConnectionsResponseProtoMsg): _124.QueryClientConnectionsResponse; - toProto(message: _124.QueryClientConnectionsResponse): Uint8Array; - toProtoMsg(message: _124.QueryClientConnectionsResponse): _124.QueryClientConnectionsResponseProtoMsg; - }; - QueryConnectionClientStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _124.QueryConnectionClientStateRequest; - isSDK(o: any): o is _124.QueryConnectionClientStateRequestSDKType; - isAmino(o: any): o is _124.QueryConnectionClientStateRequestAmino; - encode(message: _124.QueryConnectionClientStateRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _124.QueryConnectionClientStateRequest; - fromJSON(object: any): _124.QueryConnectionClientStateRequest; - toJSON(message: _124.QueryConnectionClientStateRequest): unknown; - fromPartial(object: { - connectionId?: string; - }): _124.QueryConnectionClientStateRequest; - fromSDK(object: _124.QueryConnectionClientStateRequestSDKType): _124.QueryConnectionClientStateRequest; - toSDK(message: _124.QueryConnectionClientStateRequest): _124.QueryConnectionClientStateRequestSDKType; - fromAmino(object: _124.QueryConnectionClientStateRequestAmino): _124.QueryConnectionClientStateRequest; - toAmino(message: _124.QueryConnectionClientStateRequest): _124.QueryConnectionClientStateRequestAmino; - fromAminoMsg(object: _124.QueryConnectionClientStateRequestAminoMsg): _124.QueryConnectionClientStateRequest; - toAminoMsg(message: _124.QueryConnectionClientStateRequest): _124.QueryConnectionClientStateRequestAminoMsg; - fromProtoMsg(message: _124.QueryConnectionClientStateRequestProtoMsg): _124.QueryConnectionClientStateRequest; - toProto(message: _124.QueryConnectionClientStateRequest): Uint8Array; - toProtoMsg(message: _124.QueryConnectionClientStateRequest): _124.QueryConnectionClientStateRequestProtoMsg; - }; - QueryConnectionClientStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _124.QueryConnectionClientStateResponse; - isSDK(o: any): o is _124.QueryConnectionClientStateResponseSDKType; - isAmino(o: any): o is _124.QueryConnectionClientStateResponseAmino; - encode(message: _124.QueryConnectionClientStateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _124.QueryConnectionClientStateResponse; - fromJSON(object: any): _124.QueryConnectionClientStateResponse; - toJSON(message: _124.QueryConnectionClientStateResponse): unknown; - fromPartial(object: { - identifiedClientState?: { - clientId?: string; - clientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _124.QueryConnectionClientStateResponse; - fromSDK(object: _124.QueryConnectionClientStateResponseSDKType): _124.QueryConnectionClientStateResponse; - toSDK(message: _124.QueryConnectionClientStateResponse): _124.QueryConnectionClientStateResponseSDKType; - fromAmino(object: _124.QueryConnectionClientStateResponseAmino): _124.QueryConnectionClientStateResponse; - toAmino(message: _124.QueryConnectionClientStateResponse): _124.QueryConnectionClientStateResponseAmino; - fromAminoMsg(object: _124.QueryConnectionClientStateResponseAminoMsg): _124.QueryConnectionClientStateResponse; - toAminoMsg(message: _124.QueryConnectionClientStateResponse): _124.QueryConnectionClientStateResponseAminoMsg; - fromProtoMsg(message: _124.QueryConnectionClientStateResponseProtoMsg): _124.QueryConnectionClientStateResponse; - toProto(message: _124.QueryConnectionClientStateResponse): Uint8Array; - toProtoMsg(message: _124.QueryConnectionClientStateResponse): _124.QueryConnectionClientStateResponseProtoMsg; - }; - QueryConnectionConsensusStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _124.QueryConnectionConsensusStateRequest; - isSDK(o: any): o is _124.QueryConnectionConsensusStateRequestSDKType; - isAmino(o: any): o is _124.QueryConnectionConsensusStateRequestAmino; - encode(message: _124.QueryConnectionConsensusStateRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _124.QueryConnectionConsensusStateRequest; - fromJSON(object: any): _124.QueryConnectionConsensusStateRequest; - toJSON(message: _124.QueryConnectionConsensusStateRequest): unknown; - fromPartial(object: { - connectionId?: string; - revisionNumber?: bigint; - revisionHeight?: bigint; - }): _124.QueryConnectionConsensusStateRequest; - fromSDK(object: _124.QueryConnectionConsensusStateRequestSDKType): _124.QueryConnectionConsensusStateRequest; - toSDK(message: _124.QueryConnectionConsensusStateRequest): _124.QueryConnectionConsensusStateRequestSDKType; - fromAmino(object: _124.QueryConnectionConsensusStateRequestAmino): _124.QueryConnectionConsensusStateRequest; - toAmino(message: _124.QueryConnectionConsensusStateRequest): _124.QueryConnectionConsensusStateRequestAmino; - fromAminoMsg(object: _124.QueryConnectionConsensusStateRequestAminoMsg): _124.QueryConnectionConsensusStateRequest; - toAminoMsg(message: _124.QueryConnectionConsensusStateRequest): _124.QueryConnectionConsensusStateRequestAminoMsg; - fromProtoMsg(message: _124.QueryConnectionConsensusStateRequestProtoMsg): _124.QueryConnectionConsensusStateRequest; - toProto(message: _124.QueryConnectionConsensusStateRequest): Uint8Array; - toProtoMsg(message: _124.QueryConnectionConsensusStateRequest): _124.QueryConnectionConsensusStateRequestProtoMsg; - }; - QueryConnectionConsensusStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _124.QueryConnectionConsensusStateResponse; - isSDK(o: any): o is _124.QueryConnectionConsensusStateResponseSDKType; - isAmino(o: any): o is _124.QueryConnectionConsensusStateResponseAmino; - encode(message: _124.QueryConnectionConsensusStateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _124.QueryConnectionConsensusStateResponse; - fromJSON(object: any): _124.QueryConnectionConsensusStateResponse; - toJSON(message: _124.QueryConnectionConsensusStateResponse): unknown; - fromPartial(object: { - consensusState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - clientId?: string; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _124.QueryConnectionConsensusStateResponse; - fromSDK(object: _124.QueryConnectionConsensusStateResponseSDKType): _124.QueryConnectionConsensusStateResponse; - toSDK(message: _124.QueryConnectionConsensusStateResponse): _124.QueryConnectionConsensusStateResponseSDKType; - fromAmino(object: _124.QueryConnectionConsensusStateResponseAmino): _124.QueryConnectionConsensusStateResponse; - toAmino(message: _124.QueryConnectionConsensusStateResponse): _124.QueryConnectionConsensusStateResponseAmino; - fromAminoMsg(object: _124.QueryConnectionConsensusStateResponseAminoMsg): _124.QueryConnectionConsensusStateResponse; - toAminoMsg(message: _124.QueryConnectionConsensusStateResponse): _124.QueryConnectionConsensusStateResponseAminoMsg; - fromProtoMsg(message: _124.QueryConnectionConsensusStateResponseProtoMsg): _124.QueryConnectionConsensusStateResponse; - toProto(message: _124.QueryConnectionConsensusStateResponse): Uint8Array; - toProtoMsg(message: _124.QueryConnectionConsensusStateResponse): _124.QueryConnectionConsensusStateResponseProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _123.GenesisState; - isSDK(o: any): o is _123.GenesisStateSDKType; - isAmino(o: any): o is _123.GenesisStateAmino; - encode(message: _123.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _123.GenesisState; - fromJSON(object: any): _123.GenesisState; - toJSON(message: _123.GenesisState): unknown; - fromPartial(object: { - connections?: { - id?: string; - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _122.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: bigint; - }[]; - clientConnectionPaths?: { - clientId?: string; - paths?: string[]; - }[]; - nextConnectionSequence?: bigint; - params?: { - maxExpectedTimePerBlock?: bigint; - }; - }): _123.GenesisState; - fromSDK(object: _123.GenesisStateSDKType): _123.GenesisState; - toSDK(message: _123.GenesisState): _123.GenesisStateSDKType; - fromAmino(object: _123.GenesisStateAmino): _123.GenesisState; - toAmino(message: _123.GenesisState): _123.GenesisStateAmino; - fromAminoMsg(object: _123.GenesisStateAminoMsg): _123.GenesisState; - toAminoMsg(message: _123.GenesisState): _123.GenesisStateAminoMsg; - fromProtoMsg(message: _123.GenesisStateProtoMsg): _123.GenesisState; - toProto(message: _123.GenesisState): Uint8Array; - toProtoMsg(message: _123.GenesisState): _123.GenesisStateProtoMsg; - }; - stateFromJSON(object: any): _122.State; - stateToJSON(object: _122.State): string; - State: typeof _122.State; - StateSDKType: typeof _122.State; - StateAmino: typeof _122.State; - ConnectionEnd: { - typeUrl: string; - aminoType: string; - is(o: any): o is _122.ConnectionEnd; - isSDK(o: any): o is _122.ConnectionEndSDKType; - isAmino(o: any): o is _122.ConnectionEndAmino; - encode(message: _122.ConnectionEnd, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _122.ConnectionEnd; - fromJSON(object: any): _122.ConnectionEnd; - toJSON(message: _122.ConnectionEnd): unknown; - fromPartial(object: { - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _122.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: bigint; - }): _122.ConnectionEnd; - fromSDK(object: _122.ConnectionEndSDKType): _122.ConnectionEnd; - toSDK(message: _122.ConnectionEnd): _122.ConnectionEndSDKType; - fromAmino(object: _122.ConnectionEndAmino): _122.ConnectionEnd; - toAmino(message: _122.ConnectionEnd): _122.ConnectionEndAmino; - fromAminoMsg(object: _122.ConnectionEndAminoMsg): _122.ConnectionEnd; - toAminoMsg(message: _122.ConnectionEnd): _122.ConnectionEndAminoMsg; - fromProtoMsg(message: _122.ConnectionEndProtoMsg): _122.ConnectionEnd; - toProto(message: _122.ConnectionEnd): Uint8Array; - toProtoMsg(message: _122.ConnectionEnd): _122.ConnectionEndProtoMsg; - }; - IdentifiedConnection: { - typeUrl: string; - aminoType: string; - is(o: any): o is _122.IdentifiedConnection; - isSDK(o: any): o is _122.IdentifiedConnectionSDKType; - isAmino(o: any): o is _122.IdentifiedConnectionAmino; - encode(message: _122.IdentifiedConnection, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _122.IdentifiedConnection; - fromJSON(object: any): _122.IdentifiedConnection; - toJSON(message: _122.IdentifiedConnection): unknown; - fromPartial(object: { - id?: string; - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _122.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: bigint; - }): _122.IdentifiedConnection; - fromSDK(object: _122.IdentifiedConnectionSDKType): _122.IdentifiedConnection; - toSDK(message: _122.IdentifiedConnection): _122.IdentifiedConnectionSDKType; - fromAmino(object: _122.IdentifiedConnectionAmino): _122.IdentifiedConnection; - toAmino(message: _122.IdentifiedConnection): _122.IdentifiedConnectionAmino; - fromAminoMsg(object: _122.IdentifiedConnectionAminoMsg): _122.IdentifiedConnection; - toAminoMsg(message: _122.IdentifiedConnection): _122.IdentifiedConnectionAminoMsg; - fromProtoMsg(message: _122.IdentifiedConnectionProtoMsg): _122.IdentifiedConnection; - toProto(message: _122.IdentifiedConnection): Uint8Array; - toProtoMsg(message: _122.IdentifiedConnection): _122.IdentifiedConnectionProtoMsg; - }; - Counterparty: { - typeUrl: string; - aminoType: string; - is(o: any): o is _122.Counterparty; - isSDK(o: any): o is _122.CounterpartySDKType; - isAmino(o: any): o is _122.CounterpartyAmino; - encode(message: _122.Counterparty, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _122.Counterparty; - fromJSON(object: any): _122.Counterparty; - toJSON(message: _122.Counterparty): unknown; - fromPartial(object: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }): _122.Counterparty; - fromSDK(object: _122.CounterpartySDKType): _122.Counterparty; - toSDK(message: _122.Counterparty): _122.CounterpartySDKType; - fromAmino(object: _122.CounterpartyAmino): _122.Counterparty; - toAmino(message: _122.Counterparty): _122.CounterpartyAmino; - fromAminoMsg(object: _122.CounterpartyAminoMsg): _122.Counterparty; - toAminoMsg(message: _122.Counterparty): _122.CounterpartyAminoMsg; - fromProtoMsg(message: _122.CounterpartyProtoMsg): _122.Counterparty; - toProto(message: _122.Counterparty): Uint8Array; - toProtoMsg(message: _122.Counterparty): _122.CounterpartyProtoMsg; - }; - ClientPaths: { - typeUrl: string; - aminoType: string; - is(o: any): o is _122.ClientPaths; - isSDK(o: any): o is _122.ClientPathsSDKType; - isAmino(o: any): o is _122.ClientPathsAmino; - encode(message: _122.ClientPaths, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _122.ClientPaths; - fromJSON(object: any): _122.ClientPaths; - toJSON(message: _122.ClientPaths): unknown; - fromPartial(object: { - paths?: string[]; - }): _122.ClientPaths; - fromSDK(object: _122.ClientPathsSDKType): _122.ClientPaths; - toSDK(message: _122.ClientPaths): _122.ClientPathsSDKType; - fromAmino(object: _122.ClientPathsAmino): _122.ClientPaths; - toAmino(message: _122.ClientPaths): _122.ClientPathsAmino; - fromAminoMsg(object: _122.ClientPathsAminoMsg): _122.ClientPaths; - toAminoMsg(message: _122.ClientPaths): _122.ClientPathsAminoMsg; - fromProtoMsg(message: _122.ClientPathsProtoMsg): _122.ClientPaths; - toProto(message: _122.ClientPaths): Uint8Array; - toProtoMsg(message: _122.ClientPaths): _122.ClientPathsProtoMsg; - }; - ConnectionPaths: { - typeUrl: string; - aminoType: string; - is(o: any): o is _122.ConnectionPaths; - isSDK(o: any): o is _122.ConnectionPathsSDKType; - isAmino(o: any): o is _122.ConnectionPathsAmino; - encode(message: _122.ConnectionPaths, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _122.ConnectionPaths; - fromJSON(object: any): _122.ConnectionPaths; - toJSON(message: _122.ConnectionPaths): unknown; - fromPartial(object: { - clientId?: string; - paths?: string[]; - }): _122.ConnectionPaths; - fromSDK(object: _122.ConnectionPathsSDKType): _122.ConnectionPaths; - toSDK(message: _122.ConnectionPaths): _122.ConnectionPathsSDKType; - fromAmino(object: _122.ConnectionPathsAmino): _122.ConnectionPaths; - toAmino(message: _122.ConnectionPaths): _122.ConnectionPathsAmino; - fromAminoMsg(object: _122.ConnectionPathsAminoMsg): _122.ConnectionPaths; - toAminoMsg(message: _122.ConnectionPaths): _122.ConnectionPathsAminoMsg; - fromProtoMsg(message: _122.ConnectionPathsProtoMsg): _122.ConnectionPaths; - toProto(message: _122.ConnectionPaths): Uint8Array; - toProtoMsg(message: _122.ConnectionPaths): _122.ConnectionPathsProtoMsg; - }; - Version: { - typeUrl: string; - aminoType: string; - is(o: any): o is _122.Version; - isSDK(o: any): o is _122.VersionSDKType; - isAmino(o: any): o is _122.VersionAmino; - encode(message: _122.Version, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _122.Version; - fromJSON(object: any): _122.Version; - toJSON(message: _122.Version): unknown; - fromPartial(object: { - identifier?: string; - features?: string[]; - }): _122.Version; - fromSDK(object: _122.VersionSDKType): _122.Version; - toSDK(message: _122.Version): _122.VersionSDKType; - fromAmino(object: _122.VersionAmino): _122.Version; - toAmino(message: _122.Version): _122.VersionAmino; - fromAminoMsg(object: _122.VersionAminoMsg): _122.Version; - toAminoMsg(message: _122.Version): _122.VersionAminoMsg; - fromProtoMsg(message: _122.VersionProtoMsg): _122.Version; - toProto(message: _122.Version): Uint8Array; - toProtoMsg(message: _122.Version): _122.VersionProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _122.Params; - isSDK(o: any): o is _122.ParamsSDKType; - isAmino(o: any): o is _122.ParamsAmino; - encode(message: _122.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _122.Params; - fromJSON(object: any): _122.Params; - toJSON(message: _122.Params): unknown; - fromPartial(object: { - maxExpectedTimePerBlock?: bigint; - }): _122.Params; - fromSDK(object: _122.ParamsSDKType): _122.Params; - toSDK(message: _122.Params): _122.ParamsSDKType; - fromAmino(object: _122.ParamsAmino): _122.Params; - toAmino(message: _122.Params): _122.ParamsAmino; - fromAminoMsg(object: _122.ParamsAminoMsg): _122.Params; - toAminoMsg(message: _122.Params): _122.ParamsAminoMsg; - fromProtoMsg(message: _122.ParamsProtoMsg): _122.Params; - toProto(message: _122.Params): Uint8Array; - toProtoMsg(message: _122.Params): _122.ParamsProtoMsg; - }; - }; - } - namespace port { - const v1: { - QueryClientImpl: typeof _266.QueryClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _266.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useAppVersion: ({ request, options }: _266.UseAppVersionQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryAppVersionStore: { - new (): { - store: import("..").QueryStore<_126.QueryAppVersionRequest, _126.QueryAppVersionResponse>; - appVersion(request: _126.QueryAppVersionRequest): import("..").MobxResponse<_126.QueryAppVersionResponse>; - }; - }; - }; - QueryAppVersionRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _126.QueryAppVersionRequest; - isSDK(o: any): o is _126.QueryAppVersionRequestSDKType; - isAmino(o: any): o is _126.QueryAppVersionRequestAmino; - encode(message: _126.QueryAppVersionRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _126.QueryAppVersionRequest; - fromJSON(object: any): _126.QueryAppVersionRequest; - toJSON(message: _126.QueryAppVersionRequest): unknown; - fromPartial(object: { - portId?: string; - connectionId?: string; - ordering?: _113.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - proposedVersion?: string; - }): _126.QueryAppVersionRequest; - fromSDK(object: _126.QueryAppVersionRequestSDKType): _126.QueryAppVersionRequest; - toSDK(message: _126.QueryAppVersionRequest): _126.QueryAppVersionRequestSDKType; - fromAmino(object: _126.QueryAppVersionRequestAmino): _126.QueryAppVersionRequest; - toAmino(message: _126.QueryAppVersionRequest): _126.QueryAppVersionRequestAmino; - fromAminoMsg(object: _126.QueryAppVersionRequestAminoMsg): _126.QueryAppVersionRequest; - toAminoMsg(message: _126.QueryAppVersionRequest): _126.QueryAppVersionRequestAminoMsg; - fromProtoMsg(message: _126.QueryAppVersionRequestProtoMsg): _126.QueryAppVersionRequest; - toProto(message: _126.QueryAppVersionRequest): Uint8Array; - toProtoMsg(message: _126.QueryAppVersionRequest): _126.QueryAppVersionRequestProtoMsg; - }; - QueryAppVersionResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _126.QueryAppVersionResponse; - isSDK(o: any): o is _126.QueryAppVersionResponseSDKType; - isAmino(o: any): o is _126.QueryAppVersionResponseAmino; - encode(message: _126.QueryAppVersionResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _126.QueryAppVersionResponse; - fromJSON(object: any): _126.QueryAppVersionResponse; - toJSON(message: _126.QueryAppVersionResponse): unknown; - fromPartial(object: { - portId?: string; - version?: string; - }): _126.QueryAppVersionResponse; - fromSDK(object: _126.QueryAppVersionResponseSDKType): _126.QueryAppVersionResponse; - toSDK(message: _126.QueryAppVersionResponse): _126.QueryAppVersionResponseSDKType; - fromAmino(object: _126.QueryAppVersionResponseAmino): _126.QueryAppVersionResponse; - toAmino(message: _126.QueryAppVersionResponse): _126.QueryAppVersionResponseAmino; - fromAminoMsg(object: _126.QueryAppVersionResponseAminoMsg): _126.QueryAppVersionResponse; - toAminoMsg(message: _126.QueryAppVersionResponse): _126.QueryAppVersionResponseAminoMsg; - fromProtoMsg(message: _126.QueryAppVersionResponseProtoMsg): _126.QueryAppVersionResponse; - toProto(message: _126.QueryAppVersionResponse): Uint8Array; - toProtoMsg(message: _126.QueryAppVersionResponse): _126.QueryAppVersionResponseProtoMsg; - }; - }; - } - namespace types { - const v1: { - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _127.GenesisState; - isSDK(o: any): o is _127.GenesisStateSDKType; - isAmino(o: any): o is _127.GenesisStateAmino; - encode(message: _127.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _127.GenesisState; - fromJSON(object: any): _127.GenesisState; - toJSON(message: _127.GenesisState): unknown; - fromPartial(object: { - clientGenesis?: { - clients?: { - clientId?: string; - clientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - clientsConsensus?: { - clientId?: string; - consensusStates?: { - height?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - consensusState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }[]; - clientsMetadata?: { - clientId?: string; - clientMetadata?: { - key?: Uint8Array; - value?: Uint8Array; - }[]; - }[]; - params?: { - allowedClients?: string[]; - }; - createLocalhost?: boolean; - nextClientSequence?: bigint; - }; - connectionGenesis?: { - connections?: { - id?: string; - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _122.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: bigint; - }[]; - clientConnectionPaths?: { - clientId?: string; - paths?: string[]; - }[]; - nextConnectionSequence?: bigint; - params?: { - maxExpectedTimePerBlock?: bigint; - }; - }; - channelGenesis?: { - channels?: { - state?: _113.State; - ordering?: _113.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - portId?: string; - channelId?: string; - }[]; - acknowledgements?: { - portId?: string; - channelId?: string; - sequence?: bigint; - data?: Uint8Array; - }[]; - commitments?: { - portId?: string; - channelId?: string; - sequence?: bigint; - data?: Uint8Array; - }[]; - receipts?: { - portId?: string; - channelId?: string; - sequence?: bigint; - data?: Uint8Array; - }[]; - sendSequences?: { - portId?: string; - channelId?: string; - sequence?: bigint; - }[]; - recvSequences?: { - portId?: string; - channelId?: string; - sequence?: bigint; - }[]; - ackSequences?: { - portId?: string; - channelId?: string; - sequence?: bigint; - }[]; - nextChannelSequence?: bigint; - }; - }): _127.GenesisState; - fromSDK(object: _127.GenesisStateSDKType): _127.GenesisState; - toSDK(message: _127.GenesisState): _127.GenesisStateSDKType; - fromAmino(object: _127.GenesisStateAmino): _127.GenesisState; - toAmino(message: _127.GenesisState): _127.GenesisStateAmino; - fromAminoMsg(object: _127.GenesisStateAminoMsg): _127.GenesisState; - toAminoMsg(message: _127.GenesisState): _127.GenesisStateAminoMsg; - fromProtoMsg(message: _127.GenesisStateProtoMsg): _127.GenesisState; - toProto(message: _127.GenesisState): Uint8Array; - toProtoMsg(message: _127.GenesisState): _127.GenesisStateProtoMsg; - }; - }; - } - } - namespace lightclients { - namespace localhost { - const v1: { - ClientState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _128.ClientState; - isSDK(o: any): o is _128.ClientStateSDKType; - isAmino(o: any): o is _128.ClientStateAmino; - encode(message: _128.ClientState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _128.ClientState; - fromJSON(object: any): _128.ClientState; - toJSON(message: _128.ClientState): unknown; - fromPartial(object: { - chainId?: string; - height?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - }): _128.ClientState; - fromSDK(object: _128.ClientStateSDKType): _128.ClientState; - toSDK(message: _128.ClientState): _128.ClientStateSDKType; - fromAmino(object: _128.ClientStateAmino): _128.ClientState; - toAmino(message: _128.ClientState): _128.ClientStateAmino; - fromAminoMsg(object: _128.ClientStateAminoMsg): _128.ClientState; - toAminoMsg(message: _128.ClientState): _128.ClientStateAminoMsg; - fromProtoMsg(message: _128.ClientStateProtoMsg): _128.ClientState; - toProto(message: _128.ClientState): Uint8Array; - toProtoMsg(message: _128.ClientState): _128.ClientStateProtoMsg; - }; - }; - } - namespace solomachine { - const v1: { - dataTypeFromJSON(object: any): _129.DataType; - dataTypeToJSON(object: _129.DataType): string; - DataType: typeof _129.DataType; - DataTypeSDKType: typeof _129.DataType; - DataTypeAmino: typeof _129.DataType; - ClientState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.ClientState; - isSDK(o: any): o is _129.ClientStateSDKType; - isAmino(o: any): o is _129.ClientStateAmino; - encode(message: _129.ClientState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.ClientState; - fromJSON(object: any): _129.ClientState; - toJSON(message: _129.ClientState): unknown; - fromPartial(object: { - sequence?: bigint; - frozenSequence?: bigint; - consensusState?: { - publicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - diversifier?: string; - timestamp?: bigint; - }; - allowUpdateAfterProposal?: boolean; - }): _129.ClientState; - fromSDK(object: _129.ClientStateSDKType): _129.ClientState; - toSDK(message: _129.ClientState): _129.ClientStateSDKType; - fromAmino(object: _129.ClientStateAmino): _129.ClientState; - toAmino(message: _129.ClientState): _129.ClientStateAmino; - fromAminoMsg(object: _129.ClientStateAminoMsg): _129.ClientState; - toAminoMsg(message: _129.ClientState): _129.ClientStateAminoMsg; - fromProtoMsg(message: _129.ClientStateProtoMsg): _129.ClientState; - toProto(message: _129.ClientState): Uint8Array; - toProtoMsg(message: _129.ClientState): _129.ClientStateProtoMsg; - }; - ConsensusState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.ConsensusState; - isSDK(o: any): o is _129.ConsensusStateSDKType; - isAmino(o: any): o is _129.ConsensusStateAmino; - encode(message: _129.ConsensusState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.ConsensusState; - fromJSON(object: any): _129.ConsensusState; - toJSON(message: _129.ConsensusState): unknown; - fromPartial(object: { - publicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - diversifier?: string; - timestamp?: bigint; - }): _129.ConsensusState; - fromSDK(object: _129.ConsensusStateSDKType): _129.ConsensusState; - toSDK(message: _129.ConsensusState): _129.ConsensusStateSDKType; - fromAmino(object: _129.ConsensusStateAmino): _129.ConsensusState; - toAmino(message: _129.ConsensusState): _129.ConsensusStateAmino; - fromAminoMsg(object: _129.ConsensusStateAminoMsg): _129.ConsensusState; - toAminoMsg(message: _129.ConsensusState): _129.ConsensusStateAminoMsg; - fromProtoMsg(message: _129.ConsensusStateProtoMsg): _129.ConsensusState; - toProto(message: _129.ConsensusState): Uint8Array; - toProtoMsg(message: _129.ConsensusState): _129.ConsensusStateProtoMsg; - }; - Header: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.Header; - isSDK(o: any): o is _129.HeaderSDKType; - isAmino(o: any): o is _129.HeaderAmino; - encode(message: _129.Header, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.Header; - fromJSON(object: any): _129.Header; - toJSON(message: _129.Header): unknown; - fromPartial(object: { - sequence?: bigint; - timestamp?: bigint; - signature?: Uint8Array; - newPublicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - newDiversifier?: string; - }): _129.Header; - fromSDK(object: _129.HeaderSDKType): _129.Header; - toSDK(message: _129.Header): _129.HeaderSDKType; - fromAmino(object: _129.HeaderAmino): _129.Header; - toAmino(message: _129.Header): _129.HeaderAmino; - fromAminoMsg(object: _129.HeaderAminoMsg): _129.Header; - toAminoMsg(message: _129.Header): _129.HeaderAminoMsg; - fromProtoMsg(message: _129.HeaderProtoMsg): _129.Header; - toProto(message: _129.Header): Uint8Array; - toProtoMsg(message: _129.Header): _129.HeaderProtoMsg; - }; - Misbehaviour: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.Misbehaviour; - isSDK(o: any): o is _129.MisbehaviourSDKType; - isAmino(o: any): o is _129.MisbehaviourAmino; - encode(message: _129.Misbehaviour, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.Misbehaviour; - fromJSON(object: any): _129.Misbehaviour; - toJSON(message: _129.Misbehaviour): unknown; - fromPartial(object: { - clientId?: string; - sequence?: bigint; - signatureOne?: { - signature?: Uint8Array; - dataType?: _129.DataType; - data?: Uint8Array; - timestamp?: bigint; - }; - signatureTwo?: { - signature?: Uint8Array; - dataType?: _129.DataType; - data?: Uint8Array; - timestamp?: bigint; - }; - }): _129.Misbehaviour; - fromSDK(object: _129.MisbehaviourSDKType): _129.Misbehaviour; - toSDK(message: _129.Misbehaviour): _129.MisbehaviourSDKType; - fromAmino(object: _129.MisbehaviourAmino): _129.Misbehaviour; - toAmino(message: _129.Misbehaviour): _129.MisbehaviourAmino; - fromAminoMsg(object: _129.MisbehaviourAminoMsg): _129.Misbehaviour; - toAminoMsg(message: _129.Misbehaviour): _129.MisbehaviourAminoMsg; - fromProtoMsg(message: _129.MisbehaviourProtoMsg): _129.Misbehaviour; - toProto(message: _129.Misbehaviour): Uint8Array; - toProtoMsg(message: _129.Misbehaviour): _129.MisbehaviourProtoMsg; - }; - SignatureAndData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.SignatureAndData; - isSDK(o: any): o is _129.SignatureAndDataSDKType; - isAmino(o: any): o is _129.SignatureAndDataAmino; - encode(message: _129.SignatureAndData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.SignatureAndData; - fromJSON(object: any): _129.SignatureAndData; - toJSON(message: _129.SignatureAndData): unknown; - fromPartial(object: { - signature?: Uint8Array; - dataType?: _129.DataType; - data?: Uint8Array; - timestamp?: bigint; - }): _129.SignatureAndData; - fromSDK(object: _129.SignatureAndDataSDKType): _129.SignatureAndData; - toSDK(message: _129.SignatureAndData): _129.SignatureAndDataSDKType; - fromAmino(object: _129.SignatureAndDataAmino): _129.SignatureAndData; - toAmino(message: _129.SignatureAndData): _129.SignatureAndDataAmino; - fromAminoMsg(object: _129.SignatureAndDataAminoMsg): _129.SignatureAndData; - toAminoMsg(message: _129.SignatureAndData): _129.SignatureAndDataAminoMsg; - fromProtoMsg(message: _129.SignatureAndDataProtoMsg): _129.SignatureAndData; - toProto(message: _129.SignatureAndData): Uint8Array; - toProtoMsg(message: _129.SignatureAndData): _129.SignatureAndDataProtoMsg; - }; - TimestampedSignatureData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.TimestampedSignatureData; - isSDK(o: any): o is _129.TimestampedSignatureDataSDKType; - isAmino(o: any): o is _129.TimestampedSignatureDataAmino; - encode(message: _129.TimestampedSignatureData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.TimestampedSignatureData; - fromJSON(object: any): _129.TimestampedSignatureData; - toJSON(message: _129.TimestampedSignatureData): unknown; - fromPartial(object: { - signatureData?: Uint8Array; - timestamp?: bigint; - }): _129.TimestampedSignatureData; - fromSDK(object: _129.TimestampedSignatureDataSDKType): _129.TimestampedSignatureData; - toSDK(message: _129.TimestampedSignatureData): _129.TimestampedSignatureDataSDKType; - fromAmino(object: _129.TimestampedSignatureDataAmino): _129.TimestampedSignatureData; - toAmino(message: _129.TimestampedSignatureData): _129.TimestampedSignatureDataAmino; - fromAminoMsg(object: _129.TimestampedSignatureDataAminoMsg): _129.TimestampedSignatureData; - toAminoMsg(message: _129.TimestampedSignatureData): _129.TimestampedSignatureDataAminoMsg; - fromProtoMsg(message: _129.TimestampedSignatureDataProtoMsg): _129.TimestampedSignatureData; - toProto(message: _129.TimestampedSignatureData): Uint8Array; - toProtoMsg(message: _129.TimestampedSignatureData): _129.TimestampedSignatureDataProtoMsg; - }; - SignBytes: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.SignBytes; - isSDK(o: any): o is _129.SignBytesSDKType; - isAmino(o: any): o is _129.SignBytesAmino; - encode(message: _129.SignBytes, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.SignBytes; - fromJSON(object: any): _129.SignBytes; - toJSON(message: _129.SignBytes): unknown; - fromPartial(object: { - sequence?: bigint; - timestamp?: bigint; - diversifier?: string; - dataType?: _129.DataType; - data?: Uint8Array; - }): _129.SignBytes; - fromSDK(object: _129.SignBytesSDKType): _129.SignBytes; - toSDK(message: _129.SignBytes): _129.SignBytesSDKType; - fromAmino(object: _129.SignBytesAmino): _129.SignBytes; - toAmino(message: _129.SignBytes): _129.SignBytesAmino; - fromAminoMsg(object: _129.SignBytesAminoMsg): _129.SignBytes; - toAminoMsg(message: _129.SignBytes): _129.SignBytesAminoMsg; - fromProtoMsg(message: _129.SignBytesProtoMsg): _129.SignBytes; - toProto(message: _129.SignBytes): Uint8Array; - toProtoMsg(message: _129.SignBytes): _129.SignBytesProtoMsg; - }; - HeaderData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.HeaderData; - isSDK(o: any): o is _129.HeaderDataSDKType; - isAmino(o: any): o is _129.HeaderDataAmino; - encode(message: _129.HeaderData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.HeaderData; - fromJSON(object: any): _129.HeaderData; - toJSON(message: _129.HeaderData): unknown; - fromPartial(object: { - newPubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - newDiversifier?: string; - }): _129.HeaderData; - fromSDK(object: _129.HeaderDataSDKType): _129.HeaderData; - toSDK(message: _129.HeaderData): _129.HeaderDataSDKType; - fromAmino(object: _129.HeaderDataAmino): _129.HeaderData; - toAmino(message: _129.HeaderData): _129.HeaderDataAmino; - fromAminoMsg(object: _129.HeaderDataAminoMsg): _129.HeaderData; - toAminoMsg(message: _129.HeaderData): _129.HeaderDataAminoMsg; - fromProtoMsg(message: _129.HeaderDataProtoMsg): _129.HeaderData; - toProto(message: _129.HeaderData): Uint8Array; - toProtoMsg(message: _129.HeaderData): _129.HeaderDataProtoMsg; - }; - ClientStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.ClientStateData; - isSDK(o: any): o is _129.ClientStateDataSDKType; - isAmino(o: any): o is _129.ClientStateDataAmino; - encode(message: _129.ClientStateData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.ClientStateData; - fromJSON(object: any): _129.ClientStateData; - toJSON(message: _129.ClientStateData): unknown; - fromPartial(object: { - path?: Uint8Array; - clientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _129.ClientStateData; - fromSDK(object: _129.ClientStateDataSDKType): _129.ClientStateData; - toSDK(message: _129.ClientStateData): _129.ClientStateDataSDKType; - fromAmino(object: _129.ClientStateDataAmino): _129.ClientStateData; - toAmino(message: _129.ClientStateData): _129.ClientStateDataAmino; - fromAminoMsg(object: _129.ClientStateDataAminoMsg): _129.ClientStateData; - toAminoMsg(message: _129.ClientStateData): _129.ClientStateDataAminoMsg; - fromProtoMsg(message: _129.ClientStateDataProtoMsg): _129.ClientStateData; - toProto(message: _129.ClientStateData): Uint8Array; - toProtoMsg(message: _129.ClientStateData): _129.ClientStateDataProtoMsg; - }; - ConsensusStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.ConsensusStateData; - isSDK(o: any): o is _129.ConsensusStateDataSDKType; - isAmino(o: any): o is _129.ConsensusStateDataAmino; - encode(message: _129.ConsensusStateData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.ConsensusStateData; - fromJSON(object: any): _129.ConsensusStateData; - toJSON(message: _129.ConsensusStateData): unknown; - fromPartial(object: { - path?: Uint8Array; - consensusState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _129.ConsensusStateData; - fromSDK(object: _129.ConsensusStateDataSDKType): _129.ConsensusStateData; - toSDK(message: _129.ConsensusStateData): _129.ConsensusStateDataSDKType; - fromAmino(object: _129.ConsensusStateDataAmino): _129.ConsensusStateData; - toAmino(message: _129.ConsensusStateData): _129.ConsensusStateDataAmino; - fromAminoMsg(object: _129.ConsensusStateDataAminoMsg): _129.ConsensusStateData; - toAminoMsg(message: _129.ConsensusStateData): _129.ConsensusStateDataAminoMsg; - fromProtoMsg(message: _129.ConsensusStateDataProtoMsg): _129.ConsensusStateData; - toProto(message: _129.ConsensusStateData): Uint8Array; - toProtoMsg(message: _129.ConsensusStateData): _129.ConsensusStateDataProtoMsg; - }; - ConnectionStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.ConnectionStateData; - isSDK(o: any): o is _129.ConnectionStateDataSDKType; - isAmino(o: any): o is _129.ConnectionStateDataAmino; - encode(message: _129.ConnectionStateData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.ConnectionStateData; - fromJSON(object: any): _129.ConnectionStateData; - toJSON(message: _129.ConnectionStateData): unknown; - fromPartial(object: { - path?: Uint8Array; - connection?: { - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _122.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: bigint; - }; - }): _129.ConnectionStateData; - fromSDK(object: _129.ConnectionStateDataSDKType): _129.ConnectionStateData; - toSDK(message: _129.ConnectionStateData): _129.ConnectionStateDataSDKType; - fromAmino(object: _129.ConnectionStateDataAmino): _129.ConnectionStateData; - toAmino(message: _129.ConnectionStateData): _129.ConnectionStateDataAmino; - fromAminoMsg(object: _129.ConnectionStateDataAminoMsg): _129.ConnectionStateData; - toAminoMsg(message: _129.ConnectionStateData): _129.ConnectionStateDataAminoMsg; - fromProtoMsg(message: _129.ConnectionStateDataProtoMsg): _129.ConnectionStateData; - toProto(message: _129.ConnectionStateData): Uint8Array; - toProtoMsg(message: _129.ConnectionStateData): _129.ConnectionStateDataProtoMsg; - }; - ChannelStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.ChannelStateData; - isSDK(o: any): o is _129.ChannelStateDataSDKType; - isAmino(o: any): o is _129.ChannelStateDataAmino; - encode(message: _129.ChannelStateData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.ChannelStateData; - fromJSON(object: any): _129.ChannelStateData; - toJSON(message: _129.ChannelStateData): unknown; - fromPartial(object: { - path?: Uint8Array; - channel?: { - state?: _113.State; - ordering?: _113.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - }; - }): _129.ChannelStateData; - fromSDK(object: _129.ChannelStateDataSDKType): _129.ChannelStateData; - toSDK(message: _129.ChannelStateData): _129.ChannelStateDataSDKType; - fromAmino(object: _129.ChannelStateDataAmino): _129.ChannelStateData; - toAmino(message: _129.ChannelStateData): _129.ChannelStateDataAmino; - fromAminoMsg(object: _129.ChannelStateDataAminoMsg): _129.ChannelStateData; - toAminoMsg(message: _129.ChannelStateData): _129.ChannelStateDataAminoMsg; - fromProtoMsg(message: _129.ChannelStateDataProtoMsg): _129.ChannelStateData; - toProto(message: _129.ChannelStateData): Uint8Array; - toProtoMsg(message: _129.ChannelStateData): _129.ChannelStateDataProtoMsg; - }; - PacketCommitmentData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.PacketCommitmentData; - isSDK(o: any): o is _129.PacketCommitmentDataSDKType; - isAmino(o: any): o is _129.PacketCommitmentDataAmino; - encode(message: _129.PacketCommitmentData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.PacketCommitmentData; - fromJSON(object: any): _129.PacketCommitmentData; - toJSON(message: _129.PacketCommitmentData): unknown; - fromPartial(object: { - path?: Uint8Array; - commitment?: Uint8Array; - }): _129.PacketCommitmentData; - fromSDK(object: _129.PacketCommitmentDataSDKType): _129.PacketCommitmentData; - toSDK(message: _129.PacketCommitmentData): _129.PacketCommitmentDataSDKType; - fromAmino(object: _129.PacketCommitmentDataAmino): _129.PacketCommitmentData; - toAmino(message: _129.PacketCommitmentData): _129.PacketCommitmentDataAmino; - fromAminoMsg(object: _129.PacketCommitmentDataAminoMsg): _129.PacketCommitmentData; - toAminoMsg(message: _129.PacketCommitmentData): _129.PacketCommitmentDataAminoMsg; - fromProtoMsg(message: _129.PacketCommitmentDataProtoMsg): _129.PacketCommitmentData; - toProto(message: _129.PacketCommitmentData): Uint8Array; - toProtoMsg(message: _129.PacketCommitmentData): _129.PacketCommitmentDataProtoMsg; - }; - PacketAcknowledgementData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.PacketAcknowledgementData; - isSDK(o: any): o is _129.PacketAcknowledgementDataSDKType; - isAmino(o: any): o is _129.PacketAcknowledgementDataAmino; - encode(message: _129.PacketAcknowledgementData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.PacketAcknowledgementData; - fromJSON(object: any): _129.PacketAcknowledgementData; - toJSON(message: _129.PacketAcknowledgementData): unknown; - fromPartial(object: { - path?: Uint8Array; - acknowledgement?: Uint8Array; - }): _129.PacketAcknowledgementData; - fromSDK(object: _129.PacketAcknowledgementDataSDKType): _129.PacketAcknowledgementData; - toSDK(message: _129.PacketAcknowledgementData): _129.PacketAcknowledgementDataSDKType; - fromAmino(object: _129.PacketAcknowledgementDataAmino): _129.PacketAcknowledgementData; - toAmino(message: _129.PacketAcknowledgementData): _129.PacketAcknowledgementDataAmino; - fromAminoMsg(object: _129.PacketAcknowledgementDataAminoMsg): _129.PacketAcknowledgementData; - toAminoMsg(message: _129.PacketAcknowledgementData): _129.PacketAcknowledgementDataAminoMsg; - fromProtoMsg(message: _129.PacketAcknowledgementDataProtoMsg): _129.PacketAcknowledgementData; - toProto(message: _129.PacketAcknowledgementData): Uint8Array; - toProtoMsg(message: _129.PacketAcknowledgementData): _129.PacketAcknowledgementDataProtoMsg; - }; - PacketReceiptAbsenceData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.PacketReceiptAbsenceData; - isSDK(o: any): o is _129.PacketReceiptAbsenceDataSDKType; - isAmino(o: any): o is _129.PacketReceiptAbsenceDataAmino; - encode(message: _129.PacketReceiptAbsenceData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.PacketReceiptAbsenceData; - fromJSON(object: any): _129.PacketReceiptAbsenceData; - toJSON(message: _129.PacketReceiptAbsenceData): unknown; - fromPartial(object: { - path?: Uint8Array; - }): _129.PacketReceiptAbsenceData; - fromSDK(object: _129.PacketReceiptAbsenceDataSDKType): _129.PacketReceiptAbsenceData; - toSDK(message: _129.PacketReceiptAbsenceData): _129.PacketReceiptAbsenceDataSDKType; - fromAmino(object: _129.PacketReceiptAbsenceDataAmino): _129.PacketReceiptAbsenceData; - toAmino(message: _129.PacketReceiptAbsenceData): _129.PacketReceiptAbsenceDataAmino; - fromAminoMsg(object: _129.PacketReceiptAbsenceDataAminoMsg): _129.PacketReceiptAbsenceData; - toAminoMsg(message: _129.PacketReceiptAbsenceData): _129.PacketReceiptAbsenceDataAminoMsg; - fromProtoMsg(message: _129.PacketReceiptAbsenceDataProtoMsg): _129.PacketReceiptAbsenceData; - toProto(message: _129.PacketReceiptAbsenceData): Uint8Array; - toProtoMsg(message: _129.PacketReceiptAbsenceData): _129.PacketReceiptAbsenceDataProtoMsg; - }; - NextSequenceRecvData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _129.NextSequenceRecvData; - isSDK(o: any): o is _129.NextSequenceRecvDataSDKType; - isAmino(o: any): o is _129.NextSequenceRecvDataAmino; - encode(message: _129.NextSequenceRecvData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _129.NextSequenceRecvData; - fromJSON(object: any): _129.NextSequenceRecvData; - toJSON(message: _129.NextSequenceRecvData): unknown; - fromPartial(object: { - path?: Uint8Array; - nextSeqRecv?: bigint; - }): _129.NextSequenceRecvData; - fromSDK(object: _129.NextSequenceRecvDataSDKType): _129.NextSequenceRecvData; - toSDK(message: _129.NextSequenceRecvData): _129.NextSequenceRecvDataSDKType; - fromAmino(object: _129.NextSequenceRecvDataAmino): _129.NextSequenceRecvData; - toAmino(message: _129.NextSequenceRecvData): _129.NextSequenceRecvDataAmino; - fromAminoMsg(object: _129.NextSequenceRecvDataAminoMsg): _129.NextSequenceRecvData; - toAminoMsg(message: _129.NextSequenceRecvData): _129.NextSequenceRecvDataAminoMsg; - fromProtoMsg(message: _129.NextSequenceRecvDataProtoMsg): _129.NextSequenceRecvData; - toProto(message: _129.NextSequenceRecvData): Uint8Array; - toProtoMsg(message: _129.NextSequenceRecvData): _129.NextSequenceRecvDataProtoMsg; - }; - }; - const v2: { - dataTypeFromJSON(object: any): _130.DataType; - dataTypeToJSON(object: _130.DataType): string; - DataType: typeof _130.DataType; - DataTypeSDKType: typeof _130.DataType; - DataTypeAmino: typeof _130.DataType; - ClientState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.ClientState; - isSDK(o: any): o is _130.ClientStateSDKType; - isAmino(o: any): o is _130.ClientStateAmino; - encode(message: _130.ClientState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.ClientState; - fromJSON(object: any): _130.ClientState; - toJSON(message: _130.ClientState): unknown; - fromPartial(object: { - sequence?: bigint; - isFrozen?: boolean; - consensusState?: { - publicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - diversifier?: string; - timestamp?: bigint; - }; - allowUpdateAfterProposal?: boolean; - }): _130.ClientState; - fromSDK(object: _130.ClientStateSDKType): _130.ClientState; - toSDK(message: _130.ClientState): _130.ClientStateSDKType; - fromAmino(object: _130.ClientStateAmino): _130.ClientState; - toAmino(message: _130.ClientState): _130.ClientStateAmino; - fromAminoMsg(object: _130.ClientStateAminoMsg): _130.ClientState; - toAminoMsg(message: _130.ClientState): _130.ClientStateAminoMsg; - fromProtoMsg(message: _130.ClientStateProtoMsg): _130.ClientState; - toProto(message: _130.ClientState): Uint8Array; - toProtoMsg(message: _130.ClientState): _130.ClientStateProtoMsg; - }; - ConsensusState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.ConsensusState; - isSDK(o: any): o is _130.ConsensusStateSDKType; - isAmino(o: any): o is _130.ConsensusStateAmino; - encode(message: _130.ConsensusState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.ConsensusState; - fromJSON(object: any): _130.ConsensusState; - toJSON(message: _130.ConsensusState): unknown; - fromPartial(object: { - publicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - diversifier?: string; - timestamp?: bigint; - }): _130.ConsensusState; - fromSDK(object: _130.ConsensusStateSDKType): _130.ConsensusState; - toSDK(message: _130.ConsensusState): _130.ConsensusStateSDKType; - fromAmino(object: _130.ConsensusStateAmino): _130.ConsensusState; - toAmino(message: _130.ConsensusState): _130.ConsensusStateAmino; - fromAminoMsg(object: _130.ConsensusStateAminoMsg): _130.ConsensusState; - toAminoMsg(message: _130.ConsensusState): _130.ConsensusStateAminoMsg; - fromProtoMsg(message: _130.ConsensusStateProtoMsg): _130.ConsensusState; - toProto(message: _130.ConsensusState): Uint8Array; - toProtoMsg(message: _130.ConsensusState): _130.ConsensusStateProtoMsg; - }; - Header: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.Header; - isSDK(o: any): o is _130.HeaderSDKType; - isAmino(o: any): o is _130.HeaderAmino; - encode(message: _130.Header, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.Header; - fromJSON(object: any): _130.Header; - toJSON(message: _130.Header): unknown; - fromPartial(object: { - sequence?: bigint; - timestamp?: bigint; - signature?: Uint8Array; - newPublicKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - newDiversifier?: string; - }): _130.Header; - fromSDK(object: _130.HeaderSDKType): _130.Header; - toSDK(message: _130.Header): _130.HeaderSDKType; - fromAmino(object: _130.HeaderAmino): _130.Header; - toAmino(message: _130.Header): _130.HeaderAmino; - fromAminoMsg(object: _130.HeaderAminoMsg): _130.Header; - toAminoMsg(message: _130.Header): _130.HeaderAminoMsg; - fromProtoMsg(message: _130.HeaderProtoMsg): _130.Header; - toProto(message: _130.Header): Uint8Array; - toProtoMsg(message: _130.Header): _130.HeaderProtoMsg; - }; - Misbehaviour: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.Misbehaviour; - isSDK(o: any): o is _130.MisbehaviourSDKType; - isAmino(o: any): o is _130.MisbehaviourAmino; - encode(message: _130.Misbehaviour, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.Misbehaviour; - fromJSON(object: any): _130.Misbehaviour; - toJSON(message: _130.Misbehaviour): unknown; - fromPartial(object: { - clientId?: string; - sequence?: bigint; - signatureOne?: { - signature?: Uint8Array; - dataType?: _130.DataType; - data?: Uint8Array; - timestamp?: bigint; - }; - signatureTwo?: { - signature?: Uint8Array; - dataType?: _130.DataType; - data?: Uint8Array; - timestamp?: bigint; - }; - }): _130.Misbehaviour; - fromSDK(object: _130.MisbehaviourSDKType): _130.Misbehaviour; - toSDK(message: _130.Misbehaviour): _130.MisbehaviourSDKType; - fromAmino(object: _130.MisbehaviourAmino): _130.Misbehaviour; - toAmino(message: _130.Misbehaviour): _130.MisbehaviourAmino; - fromAminoMsg(object: _130.MisbehaviourAminoMsg): _130.Misbehaviour; - toAminoMsg(message: _130.Misbehaviour): _130.MisbehaviourAminoMsg; - fromProtoMsg(message: _130.MisbehaviourProtoMsg): _130.Misbehaviour; - toProto(message: _130.Misbehaviour): Uint8Array; - toProtoMsg(message: _130.Misbehaviour): _130.MisbehaviourProtoMsg; - }; - SignatureAndData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.SignatureAndData; - isSDK(o: any): o is _130.SignatureAndDataSDKType; - isAmino(o: any): o is _130.SignatureAndDataAmino; - encode(message: _130.SignatureAndData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.SignatureAndData; - fromJSON(object: any): _130.SignatureAndData; - toJSON(message: _130.SignatureAndData): unknown; - fromPartial(object: { - signature?: Uint8Array; - dataType?: _130.DataType; - data?: Uint8Array; - timestamp?: bigint; - }): _130.SignatureAndData; - fromSDK(object: _130.SignatureAndDataSDKType): _130.SignatureAndData; - toSDK(message: _130.SignatureAndData): _130.SignatureAndDataSDKType; - fromAmino(object: _130.SignatureAndDataAmino): _130.SignatureAndData; - toAmino(message: _130.SignatureAndData): _130.SignatureAndDataAmino; - fromAminoMsg(object: _130.SignatureAndDataAminoMsg): _130.SignatureAndData; - toAminoMsg(message: _130.SignatureAndData): _130.SignatureAndDataAminoMsg; - fromProtoMsg(message: _130.SignatureAndDataProtoMsg): _130.SignatureAndData; - toProto(message: _130.SignatureAndData): Uint8Array; - toProtoMsg(message: _130.SignatureAndData): _130.SignatureAndDataProtoMsg; - }; - TimestampedSignatureData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.TimestampedSignatureData; - isSDK(o: any): o is _130.TimestampedSignatureDataSDKType; - isAmino(o: any): o is _130.TimestampedSignatureDataAmino; - encode(message: _130.TimestampedSignatureData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.TimestampedSignatureData; - fromJSON(object: any): _130.TimestampedSignatureData; - toJSON(message: _130.TimestampedSignatureData): unknown; - fromPartial(object: { - signatureData?: Uint8Array; - timestamp?: bigint; - }): _130.TimestampedSignatureData; - fromSDK(object: _130.TimestampedSignatureDataSDKType): _130.TimestampedSignatureData; - toSDK(message: _130.TimestampedSignatureData): _130.TimestampedSignatureDataSDKType; - fromAmino(object: _130.TimestampedSignatureDataAmino): _130.TimestampedSignatureData; - toAmino(message: _130.TimestampedSignatureData): _130.TimestampedSignatureDataAmino; - fromAminoMsg(object: _130.TimestampedSignatureDataAminoMsg): _130.TimestampedSignatureData; - toAminoMsg(message: _130.TimestampedSignatureData): _130.TimestampedSignatureDataAminoMsg; - fromProtoMsg(message: _130.TimestampedSignatureDataProtoMsg): _130.TimestampedSignatureData; - toProto(message: _130.TimestampedSignatureData): Uint8Array; - toProtoMsg(message: _130.TimestampedSignatureData): _130.TimestampedSignatureDataProtoMsg; - }; - SignBytes: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.SignBytes; - isSDK(o: any): o is _130.SignBytesSDKType; - isAmino(o: any): o is _130.SignBytesAmino; - encode(message: _130.SignBytes, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.SignBytes; - fromJSON(object: any): _130.SignBytes; - toJSON(message: _130.SignBytes): unknown; - fromPartial(object: { - sequence?: bigint; - timestamp?: bigint; - diversifier?: string; - dataType?: _130.DataType; - data?: Uint8Array; - }): _130.SignBytes; - fromSDK(object: _130.SignBytesSDKType): _130.SignBytes; - toSDK(message: _130.SignBytes): _130.SignBytesSDKType; - fromAmino(object: _130.SignBytesAmino): _130.SignBytes; - toAmino(message: _130.SignBytes): _130.SignBytesAmino; - fromAminoMsg(object: _130.SignBytesAminoMsg): _130.SignBytes; - toAminoMsg(message: _130.SignBytes): _130.SignBytesAminoMsg; - fromProtoMsg(message: _130.SignBytesProtoMsg): _130.SignBytes; - toProto(message: _130.SignBytes): Uint8Array; - toProtoMsg(message: _130.SignBytes): _130.SignBytesProtoMsg; - }; - HeaderData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.HeaderData; - isSDK(o: any): o is _130.HeaderDataSDKType; - isAmino(o: any): o is _130.HeaderDataAmino; - encode(message: _130.HeaderData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.HeaderData; - fromJSON(object: any): _130.HeaderData; - toJSON(message: _130.HeaderData): unknown; - fromPartial(object: { - newPubKey?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - newDiversifier?: string; - }): _130.HeaderData; - fromSDK(object: _130.HeaderDataSDKType): _130.HeaderData; - toSDK(message: _130.HeaderData): _130.HeaderDataSDKType; - fromAmino(object: _130.HeaderDataAmino): _130.HeaderData; - toAmino(message: _130.HeaderData): _130.HeaderDataAmino; - fromAminoMsg(object: _130.HeaderDataAminoMsg): _130.HeaderData; - toAminoMsg(message: _130.HeaderData): _130.HeaderDataAminoMsg; - fromProtoMsg(message: _130.HeaderDataProtoMsg): _130.HeaderData; - toProto(message: _130.HeaderData): Uint8Array; - toProtoMsg(message: _130.HeaderData): _130.HeaderDataProtoMsg; - }; - ClientStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.ClientStateData; - isSDK(o: any): o is _130.ClientStateDataSDKType; - isAmino(o: any): o is _130.ClientStateDataAmino; - encode(message: _130.ClientStateData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.ClientStateData; - fromJSON(object: any): _130.ClientStateData; - toJSON(message: _130.ClientStateData): unknown; - fromPartial(object: { - path?: Uint8Array; - clientState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _130.ClientStateData; - fromSDK(object: _130.ClientStateDataSDKType): _130.ClientStateData; - toSDK(message: _130.ClientStateData): _130.ClientStateDataSDKType; - fromAmino(object: _130.ClientStateDataAmino): _130.ClientStateData; - toAmino(message: _130.ClientStateData): _130.ClientStateDataAmino; - fromAminoMsg(object: _130.ClientStateDataAminoMsg): _130.ClientStateData; - toAminoMsg(message: _130.ClientStateData): _130.ClientStateDataAminoMsg; - fromProtoMsg(message: _130.ClientStateDataProtoMsg): _130.ClientStateData; - toProto(message: _130.ClientStateData): Uint8Array; - toProtoMsg(message: _130.ClientStateData): _130.ClientStateDataProtoMsg; - }; - ConsensusStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.ConsensusStateData; - isSDK(o: any): o is _130.ConsensusStateDataSDKType; - isAmino(o: any): o is _130.ConsensusStateDataAmino; - encode(message: _130.ConsensusStateData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.ConsensusStateData; - fromJSON(object: any): _130.ConsensusStateData; - toJSON(message: _130.ConsensusStateData): unknown; - fromPartial(object: { - path?: Uint8Array; - consensusState?: { - $typeUrl?: "/google.protobuf.Any"; - typeUrl?: string; - value?: Uint8Array; - }; - }): _130.ConsensusStateData; - fromSDK(object: _130.ConsensusStateDataSDKType): _130.ConsensusStateData; - toSDK(message: _130.ConsensusStateData): _130.ConsensusStateDataSDKType; - fromAmino(object: _130.ConsensusStateDataAmino): _130.ConsensusStateData; - toAmino(message: _130.ConsensusStateData): _130.ConsensusStateDataAmino; - fromAminoMsg(object: _130.ConsensusStateDataAminoMsg): _130.ConsensusStateData; - toAminoMsg(message: _130.ConsensusStateData): _130.ConsensusStateDataAminoMsg; - fromProtoMsg(message: _130.ConsensusStateDataProtoMsg): _130.ConsensusStateData; - toProto(message: _130.ConsensusStateData): Uint8Array; - toProtoMsg(message: _130.ConsensusStateData): _130.ConsensusStateDataProtoMsg; - }; - ConnectionStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.ConnectionStateData; - isSDK(o: any): o is _130.ConnectionStateDataSDKType; - isAmino(o: any): o is _130.ConnectionStateDataAmino; - encode(message: _130.ConnectionStateData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.ConnectionStateData; - fromJSON(object: any): _130.ConnectionStateData; - toJSON(message: _130.ConnectionStateData): unknown; - fromPartial(object: { - path?: Uint8Array; - connection?: { - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _122.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: bigint; - }; - }): _130.ConnectionStateData; - fromSDK(object: _130.ConnectionStateDataSDKType): _130.ConnectionStateData; - toSDK(message: _130.ConnectionStateData): _130.ConnectionStateDataSDKType; - fromAmino(object: _130.ConnectionStateDataAmino): _130.ConnectionStateData; - toAmino(message: _130.ConnectionStateData): _130.ConnectionStateDataAmino; - fromAminoMsg(object: _130.ConnectionStateDataAminoMsg): _130.ConnectionStateData; - toAminoMsg(message: _130.ConnectionStateData): _130.ConnectionStateDataAminoMsg; - fromProtoMsg(message: _130.ConnectionStateDataProtoMsg): _130.ConnectionStateData; - toProto(message: _130.ConnectionStateData): Uint8Array; - toProtoMsg(message: _130.ConnectionStateData): _130.ConnectionStateDataProtoMsg; - }; - ChannelStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.ChannelStateData; - isSDK(o: any): o is _130.ChannelStateDataSDKType; - isAmino(o: any): o is _130.ChannelStateDataAmino; - encode(message: _130.ChannelStateData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.ChannelStateData; - fromJSON(object: any): _130.ChannelStateData; - toJSON(message: _130.ChannelStateData): unknown; - fromPartial(object: { - path?: Uint8Array; - channel?: { - state?: _113.State; - ordering?: _113.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - }; - }): _130.ChannelStateData; - fromSDK(object: _130.ChannelStateDataSDKType): _130.ChannelStateData; - toSDK(message: _130.ChannelStateData): _130.ChannelStateDataSDKType; - fromAmino(object: _130.ChannelStateDataAmino): _130.ChannelStateData; - toAmino(message: _130.ChannelStateData): _130.ChannelStateDataAmino; - fromAminoMsg(object: _130.ChannelStateDataAminoMsg): _130.ChannelStateData; - toAminoMsg(message: _130.ChannelStateData): _130.ChannelStateDataAminoMsg; - fromProtoMsg(message: _130.ChannelStateDataProtoMsg): _130.ChannelStateData; - toProto(message: _130.ChannelStateData): Uint8Array; - toProtoMsg(message: _130.ChannelStateData): _130.ChannelStateDataProtoMsg; - }; - PacketCommitmentData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.PacketCommitmentData; - isSDK(o: any): o is _130.PacketCommitmentDataSDKType; - isAmino(o: any): o is _130.PacketCommitmentDataAmino; - encode(message: _130.PacketCommitmentData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.PacketCommitmentData; - fromJSON(object: any): _130.PacketCommitmentData; - toJSON(message: _130.PacketCommitmentData): unknown; - fromPartial(object: { - path?: Uint8Array; - commitment?: Uint8Array; - }): _130.PacketCommitmentData; - fromSDK(object: _130.PacketCommitmentDataSDKType): _130.PacketCommitmentData; - toSDK(message: _130.PacketCommitmentData): _130.PacketCommitmentDataSDKType; - fromAmino(object: _130.PacketCommitmentDataAmino): _130.PacketCommitmentData; - toAmino(message: _130.PacketCommitmentData): _130.PacketCommitmentDataAmino; - fromAminoMsg(object: _130.PacketCommitmentDataAminoMsg): _130.PacketCommitmentData; - toAminoMsg(message: _130.PacketCommitmentData): _130.PacketCommitmentDataAminoMsg; - fromProtoMsg(message: _130.PacketCommitmentDataProtoMsg): _130.PacketCommitmentData; - toProto(message: _130.PacketCommitmentData): Uint8Array; - toProtoMsg(message: _130.PacketCommitmentData): _130.PacketCommitmentDataProtoMsg; - }; - PacketAcknowledgementData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.PacketAcknowledgementData; - isSDK(o: any): o is _130.PacketAcknowledgementDataSDKType; - isAmino(o: any): o is _130.PacketAcknowledgementDataAmino; - encode(message: _130.PacketAcknowledgementData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.PacketAcknowledgementData; - fromJSON(object: any): _130.PacketAcknowledgementData; - toJSON(message: _130.PacketAcknowledgementData): unknown; - fromPartial(object: { - path?: Uint8Array; - acknowledgement?: Uint8Array; - }): _130.PacketAcknowledgementData; - fromSDK(object: _130.PacketAcknowledgementDataSDKType): _130.PacketAcknowledgementData; - toSDK(message: _130.PacketAcknowledgementData): _130.PacketAcknowledgementDataSDKType; - fromAmino(object: _130.PacketAcknowledgementDataAmino): _130.PacketAcknowledgementData; - toAmino(message: _130.PacketAcknowledgementData): _130.PacketAcknowledgementDataAmino; - fromAminoMsg(object: _130.PacketAcknowledgementDataAminoMsg): _130.PacketAcknowledgementData; - toAminoMsg(message: _130.PacketAcknowledgementData): _130.PacketAcknowledgementDataAminoMsg; - fromProtoMsg(message: _130.PacketAcknowledgementDataProtoMsg): _130.PacketAcknowledgementData; - toProto(message: _130.PacketAcknowledgementData): Uint8Array; - toProtoMsg(message: _130.PacketAcknowledgementData): _130.PacketAcknowledgementDataProtoMsg; - }; - PacketReceiptAbsenceData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.PacketReceiptAbsenceData; - isSDK(o: any): o is _130.PacketReceiptAbsenceDataSDKType; - isAmino(o: any): o is _130.PacketReceiptAbsenceDataAmino; - encode(message: _130.PacketReceiptAbsenceData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.PacketReceiptAbsenceData; - fromJSON(object: any): _130.PacketReceiptAbsenceData; - toJSON(message: _130.PacketReceiptAbsenceData): unknown; - fromPartial(object: { - path?: Uint8Array; - }): _130.PacketReceiptAbsenceData; - fromSDK(object: _130.PacketReceiptAbsenceDataSDKType): _130.PacketReceiptAbsenceData; - toSDK(message: _130.PacketReceiptAbsenceData): _130.PacketReceiptAbsenceDataSDKType; - fromAmino(object: _130.PacketReceiptAbsenceDataAmino): _130.PacketReceiptAbsenceData; - toAmino(message: _130.PacketReceiptAbsenceData): _130.PacketReceiptAbsenceDataAmino; - fromAminoMsg(object: _130.PacketReceiptAbsenceDataAminoMsg): _130.PacketReceiptAbsenceData; - toAminoMsg(message: _130.PacketReceiptAbsenceData): _130.PacketReceiptAbsenceDataAminoMsg; - fromProtoMsg(message: _130.PacketReceiptAbsenceDataProtoMsg): _130.PacketReceiptAbsenceData; - toProto(message: _130.PacketReceiptAbsenceData): Uint8Array; - toProtoMsg(message: _130.PacketReceiptAbsenceData): _130.PacketReceiptAbsenceDataProtoMsg; - }; - NextSequenceRecvData: { - typeUrl: string; - aminoType: string; - is(o: any): o is _130.NextSequenceRecvData; - isSDK(o: any): o is _130.NextSequenceRecvDataSDKType; - isAmino(o: any): o is _130.NextSequenceRecvDataAmino; - encode(message: _130.NextSequenceRecvData, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _130.NextSequenceRecvData; - fromJSON(object: any): _130.NextSequenceRecvData; - toJSON(message: _130.NextSequenceRecvData): unknown; - fromPartial(object: { - path?: Uint8Array; - nextSeqRecv?: bigint; - }): _130.NextSequenceRecvData; - fromSDK(object: _130.NextSequenceRecvDataSDKType): _130.NextSequenceRecvData; - toSDK(message: _130.NextSequenceRecvData): _130.NextSequenceRecvDataSDKType; - fromAmino(object: _130.NextSequenceRecvDataAmino): _130.NextSequenceRecvData; - toAmino(message: _130.NextSequenceRecvData): _130.NextSequenceRecvDataAmino; - fromAminoMsg(object: _130.NextSequenceRecvDataAminoMsg): _130.NextSequenceRecvData; - toAminoMsg(message: _130.NextSequenceRecvData): _130.NextSequenceRecvDataAminoMsg; - fromProtoMsg(message: _130.NextSequenceRecvDataProtoMsg): _130.NextSequenceRecvData; - toProto(message: _130.NextSequenceRecvData): Uint8Array; - toProtoMsg(message: _130.NextSequenceRecvData): _130.NextSequenceRecvDataProtoMsg; - }; - }; - } - namespace tendermint { - const v1: { - ClientState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _131.ClientState; - isSDK(o: any): o is _131.ClientStateSDKType; - isAmino(o: any): o is _131.ClientStateAmino; - encode(message: _131.ClientState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _131.ClientState; - fromJSON(object: any): _131.ClientState; - toJSON(message: _131.ClientState): unknown; - fromPartial(object: { - chainId?: string; - trustLevel?: { - numerator?: bigint; - denominator?: bigint; - }; - trustingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - unbondingPeriod?: { - seconds?: bigint; - nanos?: number; - }; - maxClockDrift?: { - seconds?: bigint; - nanos?: number; - }; - frozenHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - latestHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - proofSpecs?: { - leafSpec?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - innerSpec?: { - childOrder?: number[]; - childSize?: number; - minPrefixLength?: number; - maxPrefixLength?: number; - emptyChild?: Uint8Array; - hash?: import("../confio/proofs").HashOp; - }; - maxDepth?: number; - minDepth?: number; - }[]; - upgradePath?: string[]; - allowUpdateAfterExpiry?: boolean; - allowUpdateAfterMisbehaviour?: boolean; - }): _131.ClientState; - fromSDK(object: _131.ClientStateSDKType): _131.ClientState; - toSDK(message: _131.ClientState): _131.ClientStateSDKType; - fromAmino(object: _131.ClientStateAmino): _131.ClientState; - toAmino(message: _131.ClientState): _131.ClientStateAmino; - fromAminoMsg(object: _131.ClientStateAminoMsg): _131.ClientState; - toAminoMsg(message: _131.ClientState): _131.ClientStateAminoMsg; - fromProtoMsg(message: _131.ClientStateProtoMsg): _131.ClientState; - toProto(message: _131.ClientState): Uint8Array; - toProtoMsg(message: _131.ClientState): _131.ClientStateProtoMsg; - }; - ConsensusState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _131.ConsensusState; - isSDK(o: any): o is _131.ConsensusStateSDKType; - isAmino(o: any): o is _131.ConsensusStateAmino; - encode(message: _131.ConsensusState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _131.ConsensusState; - fromJSON(object: any): _131.ConsensusState; - toJSON(message: _131.ConsensusState): unknown; - fromPartial(object: { - timestamp?: Date; - root?: { - hash?: Uint8Array; - }; - nextValidatorsHash?: Uint8Array; - }): _131.ConsensusState; - fromSDK(object: _131.ConsensusStateSDKType): _131.ConsensusState; - toSDK(message: _131.ConsensusState): _131.ConsensusStateSDKType; - fromAmino(object: _131.ConsensusStateAmino): _131.ConsensusState; - toAmino(message: _131.ConsensusState): _131.ConsensusStateAmino; - fromAminoMsg(object: _131.ConsensusStateAminoMsg): _131.ConsensusState; - toAminoMsg(message: _131.ConsensusState): _131.ConsensusStateAminoMsg; - fromProtoMsg(message: _131.ConsensusStateProtoMsg): _131.ConsensusState; - toProto(message: _131.ConsensusState): Uint8Array; - toProtoMsg(message: _131.ConsensusState): _131.ConsensusStateProtoMsg; - }; - Misbehaviour: { - typeUrl: string; - aminoType: string; - is(o: any): o is _131.Misbehaviour; - isSDK(o: any): o is _131.MisbehaviourSDKType; - isAmino(o: any): o is _131.MisbehaviourAmino; - encode(message: _131.Misbehaviour, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _131.Misbehaviour; - fromJSON(object: any): _131.Misbehaviour; - toJSON(message: _131.Misbehaviour): unknown; - fromPartial(object: { - clientId?: string; - header1?: { - signedHeader?: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }; - totalVotingPower?: bigint; - }; - trustedHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - trustedValidators?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }; - totalVotingPower?: bigint; - }; - }; - header2?: { - signedHeader?: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }; - totalVotingPower?: bigint; - }; - trustedHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - trustedValidators?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }; - totalVotingPower?: bigint; - }; - }; - }): _131.Misbehaviour; - fromSDK(object: _131.MisbehaviourSDKType): _131.Misbehaviour; - toSDK(message: _131.Misbehaviour): _131.MisbehaviourSDKType; - fromAmino(object: _131.MisbehaviourAmino): _131.Misbehaviour; - toAmino(message: _131.Misbehaviour): _131.MisbehaviourAmino; - fromAminoMsg(object: _131.MisbehaviourAminoMsg): _131.Misbehaviour; - toAminoMsg(message: _131.Misbehaviour): _131.MisbehaviourAminoMsg; - fromProtoMsg(message: _131.MisbehaviourProtoMsg): _131.Misbehaviour; - toProto(message: _131.Misbehaviour): Uint8Array; - toProtoMsg(message: _131.Misbehaviour): _131.MisbehaviourProtoMsg; - }; - Header: { - typeUrl: string; - aminoType: string; - is(o: any): o is _131.Header; - isSDK(o: any): o is _131.HeaderSDKType; - isAmino(o: any): o is _131.HeaderAmino; - encode(message: _131.Header, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _131.Header; - fromJSON(object: any): _131.Header; - toJSON(message: _131.Header): unknown; - fromPartial(object: { - signedHeader?: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }; - totalVotingPower?: bigint; - }; - trustedHeight?: { - revisionNumber?: bigint; - revisionHeight?: bigint; - }; - trustedValidators?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }; - totalVotingPower?: bigint; - }; - }): _131.Header; - fromSDK(object: _131.HeaderSDKType): _131.Header; - toSDK(message: _131.Header): _131.HeaderSDKType; - fromAmino(object: _131.HeaderAmino): _131.Header; - toAmino(message: _131.Header): _131.HeaderAmino; - fromAminoMsg(object: _131.HeaderAminoMsg): _131.Header; - toAminoMsg(message: _131.Header): _131.HeaderAminoMsg; - fromProtoMsg(message: _131.HeaderProtoMsg): _131.Header; - toProto(message: _131.Header): Uint8Array; - toProtoMsg(message: _131.Header): _131.HeaderProtoMsg; - }; - Fraction: { - typeUrl: string; - aminoType: string; - is(o: any): o is _131.Fraction; - isSDK(o: any): o is _131.FractionSDKType; - isAmino(o: any): o is _131.FractionAmino; - encode(message: _131.Fraction, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _131.Fraction; - fromJSON(object: any): _131.Fraction; - toJSON(message: _131.Fraction): unknown; - fromPartial(object: { - numerator?: bigint; - denominator?: bigint; - }): _131.Fraction; - fromSDK(object: _131.FractionSDKType): _131.Fraction; - toSDK(message: _131.Fraction): _131.FractionSDKType; - fromAmino(object: _131.FractionAmino): _131.Fraction; - toAmino(message: _131.Fraction): _131.FractionAmino; - fromAminoMsg(object: _131.FractionAminoMsg): _131.Fraction; - toAminoMsg(message: _131.Fraction): _131.FractionAminoMsg; - fromProtoMsg(message: _131.FractionProtoMsg): _131.Fraction; - toProto(message: _131.Fraction): Uint8Array; - toProtoMsg(message: _131.Fraction): _131.FractionProtoMsg; - }; - }; - } - } - const ClientFactory: { - createRPCMsgClient: ({ rpc }: { - rpc: import("../helpers").Rpc; - }) => Promise<{ - cosmos: { - authz: { - v1beta1: import("../cosmos/authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("../cosmos/crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("../cosmos/vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; - ibc: { - applications: { - transfer: { - v1: _267.MsgClientImpl; - }; - }; - core: { - channel: { - v1: _268.MsgClientImpl; - }; - client: { - v1: _269.MsgClientImpl; - }; - connection: { - v1: _270.MsgClientImpl; - }; - }; - }; - }>; - createRPCQueryClient: ({ rpc }: { - rpc: import("../helpers").Rpc; - }) => Promise<{ - cosmos: { - app: { - v1alpha1: import("../cosmos/app/v1alpha1/query.rpc.Query").QueryClientImpl; - }; - auth: { - v1beta1: import("../cosmos/auth/v1beta1/query.rpc.Query").QueryClientImpl; - }; - authz: { - v1beta1: import("../cosmos/authz/v1beta1/query.rpc.Query").QueryClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/query.rpc.Query").QueryClientImpl; - }; - base: { - tendermint: { - v1beta1: import("../cosmos/base/tendermint/v1beta1/query.rpc.Service").ServiceClientImpl; - }; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/query.rpc.Query").QueryClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/query.rpc.Query").QueryClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/query.rpc.Query").QueryClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/query.rpc.Query").QueryClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/query.rpc.Query").QueryClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/query.rpc.Query").QueryClientImpl; - }; - mint: { - v1beta1: import("../cosmos/mint/v1beta1/query.rpc.Query").QueryClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/query.rpc.Query").QueryClientImpl; - }; - params: { - v1beta1: import("../cosmos/params/v1beta1/query.rpc.Query").QueryClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/query.rpc.Query").QueryClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/query.rpc.Query").QueryClientImpl; - }; - tx: { - v1beta1: import("../cosmos/tx/v1beta1/service.rpc.Service").ServiceClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/query.rpc.Query").QueryClientImpl; - }; - }; - ibc: { - applications: { - transfer: { - v1: _262.QueryClientImpl; - }; - }; - core: { - channel: { - v1: _263.QueryClientImpl; - }; - client: { - v1: _264.QueryClientImpl; - }; - connection: { - v1: _265.QueryClientImpl; - }; - port: { - v1: _266.QueryClientImpl; - }; - }; - }; - }>; - }; -} diff --git a/examples/authz/types/codegen/ibc/client.d.ts b/examples/authz/types/codegen/ibc/client.d.ts deleted file mode 100644 index 6cac366e..00000000 --- a/examples/authz/types/codegen/ibc/client.d.ts +++ /dev/null @@ -1,112 +0,0 @@ -import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing"; -import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -export declare const ibcAminoConverters: { - "/ibc.core.connection.v1.MsgConnectionOpenInit": { - aminoType: string; - toAmino: (message: import("./core/connection/v1/tx").MsgConnectionOpenInit) => import("./core/connection/v1/tx").MsgConnectionOpenInitAmino; - fromAmino: (object: import("./core/connection/v1/tx").MsgConnectionOpenInitAmino) => import("./core/connection/v1/tx").MsgConnectionOpenInit; - }; - "/ibc.core.connection.v1.MsgConnectionOpenTry": { - aminoType: string; - toAmino: (message: import("./core/connection/v1/tx").MsgConnectionOpenTry) => import("./core/connection/v1/tx").MsgConnectionOpenTryAmino; - fromAmino: (object: import("./core/connection/v1/tx").MsgConnectionOpenTryAmino) => import("./core/connection/v1/tx").MsgConnectionOpenTry; - }; - "/ibc.core.connection.v1.MsgConnectionOpenAck": { - aminoType: string; - toAmino: (message: import("./core/connection/v1/tx").MsgConnectionOpenAck) => import("./core/connection/v1/tx").MsgConnectionOpenAckAmino; - fromAmino: (object: import("./core/connection/v1/tx").MsgConnectionOpenAckAmino) => import("./core/connection/v1/tx").MsgConnectionOpenAck; - }; - "/ibc.core.connection.v1.MsgConnectionOpenConfirm": { - aminoType: string; - toAmino: (message: import("./core/connection/v1/tx").MsgConnectionOpenConfirm) => import("./core/connection/v1/tx").MsgConnectionOpenConfirmAmino; - fromAmino: (object: import("./core/connection/v1/tx").MsgConnectionOpenConfirmAmino) => import("./core/connection/v1/tx").MsgConnectionOpenConfirm; - }; - "/ibc.core.client.v1.MsgCreateClient": { - aminoType: string; - toAmino: (message: import("./core/client/v1/tx").MsgCreateClient) => import("./core/client/v1/tx").MsgCreateClientAmino; - fromAmino: (object: import("./core/client/v1/tx").MsgCreateClientAmino) => import("./core/client/v1/tx").MsgCreateClient; - }; - "/ibc.core.client.v1.MsgUpdateClient": { - aminoType: string; - toAmino: (message: import("./core/client/v1/tx").MsgUpdateClient) => import("./core/client/v1/tx").MsgUpdateClientAmino; - fromAmino: (object: import("./core/client/v1/tx").MsgUpdateClientAmino) => import("./core/client/v1/tx").MsgUpdateClient; - }; - "/ibc.core.client.v1.MsgUpgradeClient": { - aminoType: string; - toAmino: (message: import("./core/client/v1/tx").MsgUpgradeClient) => import("./core/client/v1/tx").MsgUpgradeClientAmino; - fromAmino: (object: import("./core/client/v1/tx").MsgUpgradeClientAmino) => import("./core/client/v1/tx").MsgUpgradeClient; - }; - "/ibc.core.client.v1.MsgSubmitMisbehaviour": { - aminoType: string; - toAmino: (message: import("./core/client/v1/tx").MsgSubmitMisbehaviour) => import("./core/client/v1/tx").MsgSubmitMisbehaviourAmino; - fromAmino: (object: import("./core/client/v1/tx").MsgSubmitMisbehaviourAmino) => import("./core/client/v1/tx").MsgSubmitMisbehaviour; - }; - "/ibc.core.channel.v1.MsgChannelOpenInit": { - aminoType: string; - toAmino: (message: import("./core/channel/v1/tx").MsgChannelOpenInit) => import("./core/channel/v1/tx").MsgChannelOpenInitAmino; - fromAmino: (object: import("./core/channel/v1/tx").MsgChannelOpenInitAmino) => import("./core/channel/v1/tx").MsgChannelOpenInit; - }; - "/ibc.core.channel.v1.MsgChannelOpenTry": { - aminoType: string; - toAmino: (message: import("./core/channel/v1/tx").MsgChannelOpenTry) => import("./core/channel/v1/tx").MsgChannelOpenTryAmino; - fromAmino: (object: import("./core/channel/v1/tx").MsgChannelOpenTryAmino) => import("./core/channel/v1/tx").MsgChannelOpenTry; - }; - "/ibc.core.channel.v1.MsgChannelOpenAck": { - aminoType: string; - toAmino: (message: import("./core/channel/v1/tx").MsgChannelOpenAck) => import("./core/channel/v1/tx").MsgChannelOpenAckAmino; - fromAmino: (object: import("./core/channel/v1/tx").MsgChannelOpenAckAmino) => import("./core/channel/v1/tx").MsgChannelOpenAck; - }; - "/ibc.core.channel.v1.MsgChannelOpenConfirm": { - aminoType: string; - toAmino: (message: import("./core/channel/v1/tx").MsgChannelOpenConfirm) => import("./core/channel/v1/tx").MsgChannelOpenConfirmAmino; - fromAmino: (object: import("./core/channel/v1/tx").MsgChannelOpenConfirmAmino) => import("./core/channel/v1/tx").MsgChannelOpenConfirm; - }; - "/ibc.core.channel.v1.MsgChannelCloseInit": { - aminoType: string; - toAmino: (message: import("./core/channel/v1/tx").MsgChannelCloseInit) => import("./core/channel/v1/tx").MsgChannelCloseInitAmino; - fromAmino: (object: import("./core/channel/v1/tx").MsgChannelCloseInitAmino) => import("./core/channel/v1/tx").MsgChannelCloseInit; - }; - "/ibc.core.channel.v1.MsgChannelCloseConfirm": { - aminoType: string; - toAmino: (message: import("./core/channel/v1/tx").MsgChannelCloseConfirm) => import("./core/channel/v1/tx").MsgChannelCloseConfirmAmino; - fromAmino: (object: import("./core/channel/v1/tx").MsgChannelCloseConfirmAmino) => import("./core/channel/v1/tx").MsgChannelCloseConfirm; - }; - "/ibc.core.channel.v1.MsgRecvPacket": { - aminoType: string; - toAmino: (message: import("./core/channel/v1/tx").MsgRecvPacket) => import("./core/channel/v1/tx").MsgRecvPacketAmino; - fromAmino: (object: import("./core/channel/v1/tx").MsgRecvPacketAmino) => import("./core/channel/v1/tx").MsgRecvPacket; - }; - "/ibc.core.channel.v1.MsgTimeout": { - aminoType: string; - toAmino: (message: import("./core/channel/v1/tx").MsgTimeout) => import("./core/channel/v1/tx").MsgTimeoutAmino; - fromAmino: (object: import("./core/channel/v1/tx").MsgTimeoutAmino) => import("./core/channel/v1/tx").MsgTimeout; - }; - "/ibc.core.channel.v1.MsgTimeoutOnClose": { - aminoType: string; - toAmino: (message: import("./core/channel/v1/tx").MsgTimeoutOnClose) => import("./core/channel/v1/tx").MsgTimeoutOnCloseAmino; - fromAmino: (object: import("./core/channel/v1/tx").MsgTimeoutOnCloseAmino) => import("./core/channel/v1/tx").MsgTimeoutOnClose; - }; - "/ibc.core.channel.v1.MsgAcknowledgement": { - aminoType: string; - toAmino: (message: import("./core/channel/v1/tx").MsgAcknowledgement) => import("./core/channel/v1/tx").MsgAcknowledgementAmino; - fromAmino: (object: import("./core/channel/v1/tx").MsgAcknowledgementAmino) => import("./core/channel/v1/tx").MsgAcknowledgement; - }; - "/ibc.applications.transfer.v1.MsgTransfer": { - aminoType: string; - toAmino: (message: import("./applications/transfer/v1/tx").MsgTransfer) => import("./applications/transfer/v1/tx").MsgTransferAmino; - fromAmino: (object: import("./applications/transfer/v1/tx").MsgTransferAmino) => import("./applications/transfer/v1/tx").MsgTransfer; - }; -}; -export declare const ibcProtoRegistry: ReadonlyArray<[string, GeneratedType]>; -export declare const getSigningIbcClientOptions: ({ defaultTypes }?: { - defaultTypes?: ReadonlyArray<[string, GeneratedType]>; -}) => { - registry: Registry; - aminoTypes: AminoTypes; -}; -export declare const getSigningIbcClient: ({ rpcEndpoint, signer, defaultTypes }: { - rpcEndpoint: string | HttpEndpoint; - signer: OfflineSigner; - defaultTypes?: ReadonlyArray<[string, GeneratedType]>; -}) => Promise; diff --git a/examples/authz/types/codegen/ibc/core/channel/v1/channel.d.ts b/examples/authz/types/codegen/ibc/core/channel/v1/channel.d.ts deleted file mode 100644 index 2ca4f9f9..00000000 --- a/examples/authz/types/codegen/ibc/core/channel/v1/channel.d.ts +++ /dev/null @@ -1,491 +0,0 @@ -import { Height, HeightAmino, HeightSDKType } from "../../client/v1/client"; -import { DeepPartial } from "../../../../helpers"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -/** - * State defines if a channel is in one of the following states: - * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. - */ -export declare enum State { - /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ - STATE_UNINITIALIZED_UNSPECIFIED = 0, - /** STATE_INIT - A channel has just started the opening handshake. */ - STATE_INIT = 1, - /** STATE_TRYOPEN - A channel has acknowledged the handshake step on the counterparty chain. */ - STATE_TRYOPEN = 2, - /** - * STATE_OPEN - A channel has completed the handshake. Open channels are - * ready to send and receive packets. - */ - STATE_OPEN = 3, - /** - * STATE_CLOSED - A channel has been closed and can no longer be used to send or receive - * packets. - */ - STATE_CLOSED = 4, - UNRECOGNIZED = -1 -} -export declare const StateSDKType: typeof State; -export declare const StateAmino: typeof State; -export declare function stateFromJSON(object: any): State; -export declare function stateToJSON(object: State): string; -/** Order defines if a channel is ORDERED or UNORDERED */ -export declare enum Order { - /** ORDER_NONE_UNSPECIFIED - zero-value for channel ordering */ - ORDER_NONE_UNSPECIFIED = 0, - /** - * ORDER_UNORDERED - packets can be delivered in any order, which may differ from the order in - * which they were sent. - */ - ORDER_UNORDERED = 1, - /** ORDER_ORDERED - packets are delivered exactly in the order which they were sent */ - ORDER_ORDERED = 2, - UNRECOGNIZED = -1 -} -export declare const OrderSDKType: typeof Order; -export declare const OrderAmino: typeof Order; -export declare function orderFromJSON(object: any): Order; -export declare function orderToJSON(object: Order): string; -/** - * Channel defines pipeline for exactly-once packet delivery between specific - * modules on separate blockchains, which has at least one end capable of - * sending packets and one end capable of receiving packets. - */ -export interface Channel { - /** current state of the channel end */ - state: State; - /** whether the channel is ordered or unordered */ - ordering: Order; - /** counterparty channel end */ - counterparty: Counterparty | undefined; - /** - * list of connection identifiers, in order, along which packets sent on - * this channel will travel - */ - connectionHops: string[]; - /** opaque channel version, which is agreed upon during the handshake */ - version: string; -} -export interface ChannelProtoMsg { - typeUrl: "/ibc.core.channel.v1.Channel"; - value: Uint8Array; -} -/** - * Channel defines pipeline for exactly-once packet delivery between specific - * modules on separate blockchains, which has at least one end capable of - * sending packets and one end capable of receiving packets. - */ -export interface ChannelAmino { - /** current state of the channel end */ - state?: State; - /** whether the channel is ordered or unordered */ - ordering?: Order; - /** counterparty channel end */ - counterparty?: CounterpartyAmino | undefined; - /** - * list of connection identifiers, in order, along which packets sent on - * this channel will travel - */ - connection_hops?: string[]; - /** opaque channel version, which is agreed upon during the handshake */ - version?: string; -} -export interface ChannelAminoMsg { - type: "cosmos-sdk/Channel"; - value: ChannelAmino; -} -/** - * Channel defines pipeline for exactly-once packet delivery between specific - * modules on separate blockchains, which has at least one end capable of - * sending packets and one end capable of receiving packets. - */ -export interface ChannelSDKType { - state: State; - ordering: Order; - counterparty: CounterpartySDKType | undefined; - connection_hops: string[]; - version: string; -} -/** - * IdentifiedChannel defines a channel with additional port and channel - * identifier fields. - */ -export interface IdentifiedChannel { - /** current state of the channel end */ - state: State; - /** whether the channel is ordered or unordered */ - ordering: Order; - /** counterparty channel end */ - counterparty: Counterparty | undefined; - /** - * list of connection identifiers, in order, along which packets sent on - * this channel will travel - */ - connectionHops: string[]; - /** opaque channel version, which is agreed upon during the handshake */ - version: string; - /** port identifier */ - portId: string; - /** channel identifier */ - channelId: string; -} -export interface IdentifiedChannelProtoMsg { - typeUrl: "/ibc.core.channel.v1.IdentifiedChannel"; - value: Uint8Array; -} -/** - * IdentifiedChannel defines a channel with additional port and channel - * identifier fields. - */ -export interface IdentifiedChannelAmino { - /** current state of the channel end */ - state?: State; - /** whether the channel is ordered or unordered */ - ordering?: Order; - /** counterparty channel end */ - counterparty?: CounterpartyAmino | undefined; - /** - * list of connection identifiers, in order, along which packets sent on - * this channel will travel - */ - connection_hops?: string[]; - /** opaque channel version, which is agreed upon during the handshake */ - version?: string; - /** port identifier */ - port_id?: string; - /** channel identifier */ - channel_id?: string; -} -export interface IdentifiedChannelAminoMsg { - type: "cosmos-sdk/IdentifiedChannel"; - value: IdentifiedChannelAmino; -} -/** - * IdentifiedChannel defines a channel with additional port and channel - * identifier fields. - */ -export interface IdentifiedChannelSDKType { - state: State; - ordering: Order; - counterparty: CounterpartySDKType | undefined; - connection_hops: string[]; - version: string; - port_id: string; - channel_id: string; -} -/** Counterparty defines a channel end counterparty */ -export interface Counterparty { - /** port on the counterparty chain which owns the other end of the channel. */ - portId: string; - /** channel end on the counterparty chain */ - channelId: string; -} -export interface CounterpartyProtoMsg { - typeUrl: "/ibc.core.channel.v1.Counterparty"; - value: Uint8Array; -} -/** Counterparty defines a channel end counterparty */ -export interface CounterpartyAmino { - /** port on the counterparty chain which owns the other end of the channel. */ - port_id?: string; - /** channel end on the counterparty chain */ - channel_id?: string; -} -export interface CounterpartyAminoMsg { - type: "cosmos-sdk/Counterparty"; - value: CounterpartyAmino; -} -/** Counterparty defines a channel end counterparty */ -export interface CounterpartySDKType { - port_id: string; - channel_id: string; -} -/** Packet defines a type that carries data across different chains through IBC */ -export interface Packet { - /** - * number corresponds to the order of sends and receives, where a Packet - * with an earlier sequence number must be sent and received before a Packet - * with a later sequence number. - */ - sequence: bigint; - /** identifies the port on the sending chain. */ - sourcePort: string; - /** identifies the channel end on the sending chain. */ - sourceChannel: string; - /** identifies the port on the receiving chain. */ - destinationPort: string; - /** identifies the channel end on the receiving chain. */ - destinationChannel: string; - /** actual opaque bytes transferred directly to the application module */ - data: Uint8Array; - /** block height after which the packet times out */ - timeoutHeight: Height | undefined; - /** block timestamp (in nanoseconds) after which the packet times out */ - timeoutTimestamp: bigint; -} -export interface PacketProtoMsg { - typeUrl: "/ibc.core.channel.v1.Packet"; - value: Uint8Array; -} -/** Packet defines a type that carries data across different chains through IBC */ -export interface PacketAmino { - /** - * number corresponds to the order of sends and receives, where a Packet - * with an earlier sequence number must be sent and received before a Packet - * with a later sequence number. - */ - sequence?: string; - /** identifies the port on the sending chain. */ - source_port?: string; - /** identifies the channel end on the sending chain. */ - source_channel?: string; - /** identifies the port on the receiving chain. */ - destination_port?: string; - /** identifies the channel end on the receiving chain. */ - destination_channel?: string; - /** actual opaque bytes transferred directly to the application module */ - data?: string; - /** block height after which the packet times out */ - timeout_height?: HeightAmino | undefined; - /** block timestamp (in nanoseconds) after which the packet times out */ - timeout_timestamp?: string; -} -export interface PacketAminoMsg { - type: "cosmos-sdk/Packet"; - value: PacketAmino; -} -/** Packet defines a type that carries data across different chains through IBC */ -export interface PacketSDKType { - sequence: bigint; - source_port: string; - source_channel: string; - destination_port: string; - destination_channel: string; - data: Uint8Array; - timeout_height: HeightSDKType | undefined; - timeout_timestamp: bigint; -} -/** - * PacketState defines the generic type necessary to retrieve and store - * packet commitments, acknowledgements, and receipts. - * Caller is responsible for knowing the context necessary to interpret this - * state as a commitment, acknowledgement, or a receipt. - */ -export interface PacketState { - /** channel port identifier. */ - portId: string; - /** channel unique identifier. */ - channelId: string; - /** packet sequence. */ - sequence: bigint; - /** embedded data that represents packet state. */ - data: Uint8Array; -} -export interface PacketStateProtoMsg { - typeUrl: "/ibc.core.channel.v1.PacketState"; - value: Uint8Array; -} -/** - * PacketState defines the generic type necessary to retrieve and store - * packet commitments, acknowledgements, and receipts. - * Caller is responsible for knowing the context necessary to interpret this - * state as a commitment, acknowledgement, or a receipt. - */ -export interface PacketStateAmino { - /** channel port identifier. */ - port_id?: string; - /** channel unique identifier. */ - channel_id?: string; - /** packet sequence. */ - sequence?: string; - /** embedded data that represents packet state. */ - data?: string; -} -export interface PacketStateAminoMsg { - type: "cosmos-sdk/PacketState"; - value: PacketStateAmino; -} -/** - * PacketState defines the generic type necessary to retrieve and store - * packet commitments, acknowledgements, and receipts. - * Caller is responsible for knowing the context necessary to interpret this - * state as a commitment, acknowledgement, or a receipt. - */ -export interface PacketStateSDKType { - port_id: string; - channel_id: string; - sequence: bigint; - data: Uint8Array; -} -/** - * Acknowledgement is the recommended acknowledgement format to be used by - * app-specific protocols. - * NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental - * conflicts with other protobuf message formats used for acknowledgements. - * The first byte of any message with this format will be the non-ASCII values - * `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: - * https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope - */ -export interface Acknowledgement { - result?: Uint8Array; - error?: string; -} -export interface AcknowledgementProtoMsg { - typeUrl: "/ibc.core.channel.v1.Acknowledgement"; - value: Uint8Array; -} -/** - * Acknowledgement is the recommended acknowledgement format to be used by - * app-specific protocols. - * NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental - * conflicts with other protobuf message formats used for acknowledgements. - * The first byte of any message with this format will be the non-ASCII values - * `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: - * https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope - */ -export interface AcknowledgementAmino { - result?: string; - error?: string; -} -export interface AcknowledgementAminoMsg { - type: "cosmos-sdk/Acknowledgement"; - value: AcknowledgementAmino; -} -/** - * Acknowledgement is the recommended acknowledgement format to be used by - * app-specific protocols. - * NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental - * conflicts with other protobuf message formats used for acknowledgements. - * The first byte of any message with this format will be the non-ASCII values - * `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: - * https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope - */ -export interface AcknowledgementSDKType { - result?: Uint8Array; - error?: string; -} -export declare const Channel: { - typeUrl: string; - aminoType: string; - is(o: any): o is Channel; - isSDK(o: any): o is ChannelSDKType; - isAmino(o: any): o is ChannelAmino; - encode(message: Channel, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Channel; - fromJSON(object: any): Channel; - toJSON(message: Channel): unknown; - fromPartial(object: DeepPartial): Channel; - fromSDK(object: ChannelSDKType): Channel; - toSDK(message: Channel): ChannelSDKType; - fromAmino(object: ChannelAmino): Channel; - toAmino(message: Channel): ChannelAmino; - fromAminoMsg(object: ChannelAminoMsg): Channel; - toAminoMsg(message: Channel): ChannelAminoMsg; - fromProtoMsg(message: ChannelProtoMsg): Channel; - toProto(message: Channel): Uint8Array; - toProtoMsg(message: Channel): ChannelProtoMsg; -}; -export declare const IdentifiedChannel: { - typeUrl: string; - aminoType: string; - is(o: any): o is IdentifiedChannel; - isSDK(o: any): o is IdentifiedChannelSDKType; - isAmino(o: any): o is IdentifiedChannelAmino; - encode(message: IdentifiedChannel, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): IdentifiedChannel; - fromJSON(object: any): IdentifiedChannel; - toJSON(message: IdentifiedChannel): unknown; - fromPartial(object: DeepPartial): IdentifiedChannel; - fromSDK(object: IdentifiedChannelSDKType): IdentifiedChannel; - toSDK(message: IdentifiedChannel): IdentifiedChannelSDKType; - fromAmino(object: IdentifiedChannelAmino): IdentifiedChannel; - toAmino(message: IdentifiedChannel): IdentifiedChannelAmino; - fromAminoMsg(object: IdentifiedChannelAminoMsg): IdentifiedChannel; - toAminoMsg(message: IdentifiedChannel): IdentifiedChannelAminoMsg; - fromProtoMsg(message: IdentifiedChannelProtoMsg): IdentifiedChannel; - toProto(message: IdentifiedChannel): Uint8Array; - toProtoMsg(message: IdentifiedChannel): IdentifiedChannelProtoMsg; -}; -export declare const Counterparty: { - typeUrl: string; - aminoType: string; - is(o: any): o is Counterparty; - isSDK(o: any): o is CounterpartySDKType; - isAmino(o: any): o is CounterpartyAmino; - encode(message: Counterparty, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Counterparty; - fromJSON(object: any): Counterparty; - toJSON(message: Counterparty): unknown; - fromPartial(object: DeepPartial): Counterparty; - fromSDK(object: CounterpartySDKType): Counterparty; - toSDK(message: Counterparty): CounterpartySDKType; - fromAmino(object: CounterpartyAmino): Counterparty; - toAmino(message: Counterparty): CounterpartyAmino; - fromAminoMsg(object: CounterpartyAminoMsg): Counterparty; - toAminoMsg(message: Counterparty): CounterpartyAminoMsg; - fromProtoMsg(message: CounterpartyProtoMsg): Counterparty; - toProto(message: Counterparty): Uint8Array; - toProtoMsg(message: Counterparty): CounterpartyProtoMsg; -}; -export declare const Packet: { - typeUrl: string; - aminoType: string; - is(o: any): o is Packet; - isSDK(o: any): o is PacketSDKType; - isAmino(o: any): o is PacketAmino; - encode(message: Packet, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Packet; - fromJSON(object: any): Packet; - toJSON(message: Packet): unknown; - fromPartial(object: DeepPartial): Packet; - fromSDK(object: PacketSDKType): Packet; - toSDK(message: Packet): PacketSDKType; - fromAmino(object: PacketAmino): Packet; - toAmino(message: Packet): PacketAmino; - fromAminoMsg(object: PacketAminoMsg): Packet; - toAminoMsg(message: Packet): PacketAminoMsg; - fromProtoMsg(message: PacketProtoMsg): Packet; - toProto(message: Packet): Uint8Array; - toProtoMsg(message: Packet): PacketProtoMsg; -}; -export declare const PacketState: { - typeUrl: string; - aminoType: string; - is(o: any): o is PacketState; - isSDK(o: any): o is PacketStateSDKType; - isAmino(o: any): o is PacketStateAmino; - encode(message: PacketState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PacketState; - fromJSON(object: any): PacketState; - toJSON(message: PacketState): unknown; - fromPartial(object: DeepPartial): PacketState; - fromSDK(object: PacketStateSDKType): PacketState; - toSDK(message: PacketState): PacketStateSDKType; - fromAmino(object: PacketStateAmino): PacketState; - toAmino(message: PacketState): PacketStateAmino; - fromAminoMsg(object: PacketStateAminoMsg): PacketState; - toAminoMsg(message: PacketState): PacketStateAminoMsg; - fromProtoMsg(message: PacketStateProtoMsg): PacketState; - toProto(message: PacketState): Uint8Array; - toProtoMsg(message: PacketState): PacketStateProtoMsg; -}; -export declare const Acknowledgement: { - typeUrl: string; - aminoType: string; - is(o: any): o is Acknowledgement; - isSDK(o: any): o is AcknowledgementSDKType; - isAmino(o: any): o is AcknowledgementAmino; - encode(message: Acknowledgement, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Acknowledgement; - fromJSON(object: any): Acknowledgement; - toJSON(message: Acknowledgement): unknown; - fromPartial(object: DeepPartial): Acknowledgement; - fromSDK(object: AcknowledgementSDKType): Acknowledgement; - toSDK(message: Acknowledgement): AcknowledgementSDKType; - fromAmino(object: AcknowledgementAmino): Acknowledgement; - toAmino(message: Acknowledgement): AcknowledgementAmino; - fromAminoMsg(object: AcknowledgementAminoMsg): Acknowledgement; - toAminoMsg(message: Acknowledgement): AcknowledgementAminoMsg; - fromProtoMsg(message: AcknowledgementProtoMsg): Acknowledgement; - toProto(message: Acknowledgement): Uint8Array; - toProtoMsg(message: Acknowledgement): AcknowledgementProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/core/channel/v1/genesis.d.ts b/examples/authz/types/codegen/ibc/core/channel/v1/genesis.d.ts deleted file mode 100644 index 18534b2c..00000000 --- a/examples/authz/types/codegen/ibc/core/channel/v1/genesis.d.ts +++ /dev/null @@ -1,123 +0,0 @@ -import { IdentifiedChannel, IdentifiedChannelAmino, IdentifiedChannelSDKType, PacketState, PacketStateAmino, PacketStateSDKType } from "./channel"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** GenesisState defines the ibc channel submodule's genesis state. */ -export interface GenesisState { - channels: IdentifiedChannel[]; - acknowledgements: PacketState[]; - commitments: PacketState[]; - receipts: PacketState[]; - sendSequences: PacketSequence[]; - recvSequences: PacketSequence[]; - ackSequences: PacketSequence[]; - /** the sequence for the next generated channel identifier */ - nextChannelSequence: bigint; -} -export interface GenesisStateProtoMsg { - typeUrl: "/ibc.core.channel.v1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the ibc channel submodule's genesis state. */ -export interface GenesisStateAmino { - channels?: IdentifiedChannelAmino[]; - acknowledgements?: PacketStateAmino[]; - commitments?: PacketStateAmino[]; - receipts?: PacketStateAmino[]; - send_sequences?: PacketSequenceAmino[]; - recv_sequences?: PacketSequenceAmino[]; - ack_sequences?: PacketSequenceAmino[]; - /** the sequence for the next generated channel identifier */ - next_channel_sequence?: string; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the ibc channel submodule's genesis state. */ -export interface GenesisStateSDKType { - channels: IdentifiedChannelSDKType[]; - acknowledgements: PacketStateSDKType[]; - commitments: PacketStateSDKType[]; - receipts: PacketStateSDKType[]; - send_sequences: PacketSequenceSDKType[]; - recv_sequences: PacketSequenceSDKType[]; - ack_sequences: PacketSequenceSDKType[]; - next_channel_sequence: bigint; -} -/** - * PacketSequence defines the genesis type necessary to retrieve and store - * next send and receive sequences. - */ -export interface PacketSequence { - portId: string; - channelId: string; - sequence: bigint; -} -export interface PacketSequenceProtoMsg { - typeUrl: "/ibc.core.channel.v1.PacketSequence"; - value: Uint8Array; -} -/** - * PacketSequence defines the genesis type necessary to retrieve and store - * next send and receive sequences. - */ -export interface PacketSequenceAmino { - port_id?: string; - channel_id?: string; - sequence?: string; -} -export interface PacketSequenceAminoMsg { - type: "cosmos-sdk/PacketSequence"; - value: PacketSequenceAmino; -} -/** - * PacketSequence defines the genesis type necessary to retrieve and store - * next send and receive sequences. - */ -export interface PacketSequenceSDKType { - port_id: string; - channel_id: string; - sequence: bigint; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; -export declare const PacketSequence: { - typeUrl: string; - aminoType: string; - is(o: any): o is PacketSequence; - isSDK(o: any): o is PacketSequenceSDKType; - isAmino(o: any): o is PacketSequenceAmino; - encode(message: PacketSequence, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PacketSequence; - fromJSON(object: any): PacketSequence; - toJSON(message: PacketSequence): unknown; - fromPartial(object: DeepPartial): PacketSequence; - fromSDK(object: PacketSequenceSDKType): PacketSequence; - toSDK(message: PacketSequence): PacketSequenceSDKType; - fromAmino(object: PacketSequenceAmino): PacketSequence; - toAmino(message: PacketSequence): PacketSequenceAmino; - fromAminoMsg(object: PacketSequenceAminoMsg): PacketSequence; - toAminoMsg(message: PacketSequence): PacketSequenceAminoMsg; - fromProtoMsg(message: PacketSequenceProtoMsg): PacketSequence; - toProto(message: PacketSequence): Uint8Array; - toProtoMsg(message: PacketSequence): PacketSequenceProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/core/channel/v1/query.d.ts b/examples/authz/types/codegen/ibc/core/channel/v1/query.d.ts deleted file mode 100644 index 2bb49f37..00000000 --- a/examples/authz/types/codegen/ibc/core/channel/v1/query.d.ts +++ /dev/null @@ -1,1574 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Channel, ChannelAmino, ChannelSDKType, IdentifiedChannel, IdentifiedChannelAmino, IdentifiedChannelSDKType, PacketState, PacketStateAmino, PacketStateSDKType } from "./channel"; -import { Height, HeightAmino, HeightSDKType, IdentifiedClientState, IdentifiedClientStateAmino, IdentifiedClientStateSDKType } from "../../client/v1/client"; -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** QueryChannelRequest is the request type for the Query/Channel RPC method */ -export interface QueryChannelRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - channelId: string; -} -export interface QueryChannelRequestProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryChannelRequest"; - value: Uint8Array; -} -/** QueryChannelRequest is the request type for the Query/Channel RPC method */ -export interface QueryChannelRequestAmino { - /** port unique identifier */ - port_id?: string; - /** channel unique identifier */ - channel_id?: string; -} -export interface QueryChannelRequestAminoMsg { - type: "cosmos-sdk/QueryChannelRequest"; - value: QueryChannelRequestAmino; -} -/** QueryChannelRequest is the request type for the Query/Channel RPC method */ -export interface QueryChannelRequestSDKType { - port_id: string; - channel_id: string; -} -/** - * QueryChannelResponse is the response type for the Query/Channel RPC method. - * Besides the Channel end, it includes a proof and the height from which the - * proof was retrieved. - */ -export interface QueryChannelResponse { - /** channel associated with the request identifiers */ - channel?: Channel | undefined; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight: Height | undefined; -} -export interface QueryChannelResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryChannelResponse"; - value: Uint8Array; -} -/** - * QueryChannelResponse is the response type for the Query/Channel RPC method. - * Besides the Channel end, it includes a proof and the height from which the - * proof was retrieved. - */ -export interface QueryChannelResponseAmino { - /** channel associated with the request identifiers */ - channel?: ChannelAmino | undefined; - /** merkle proof of existence */ - proof?: string; - /** height at which the proof was retrieved */ - proof_height?: HeightAmino | undefined; -} -export interface QueryChannelResponseAminoMsg { - type: "cosmos-sdk/QueryChannelResponse"; - value: QueryChannelResponseAmino; -} -/** - * QueryChannelResponse is the response type for the Query/Channel RPC method. - * Besides the Channel end, it includes a proof and the height from which the - * proof was retrieved. - */ -export interface QueryChannelResponseSDKType { - channel?: ChannelSDKType | undefined; - proof: Uint8Array; - proof_height: HeightSDKType | undefined; -} -/** QueryChannelsRequest is the request type for the Query/Channels RPC method */ -export interface QueryChannelsRequest { - /** pagination request */ - pagination?: PageRequest | undefined; -} -export interface QueryChannelsRequestProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryChannelsRequest"; - value: Uint8Array; -} -/** QueryChannelsRequest is the request type for the Query/Channels RPC method */ -export interface QueryChannelsRequestAmino { - /** pagination request */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryChannelsRequestAminoMsg { - type: "cosmos-sdk/QueryChannelsRequest"; - value: QueryChannelsRequestAmino; -} -/** QueryChannelsRequest is the request type for the Query/Channels RPC method */ -export interface QueryChannelsRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -/** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ -export interface QueryChannelsResponse { - /** list of stored channels of the chain. */ - channels: IdentifiedChannel[]; - /** pagination response */ - pagination?: PageResponse | undefined; - /** query block height */ - height: Height | undefined; -} -export interface QueryChannelsResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryChannelsResponse"; - value: Uint8Array; -} -/** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ -export interface QueryChannelsResponseAmino { - /** list of stored channels of the chain. */ - channels?: IdentifiedChannelAmino[]; - /** pagination response */ - pagination?: PageResponseAmino | undefined; - /** query block height */ - height?: HeightAmino | undefined; -} -export interface QueryChannelsResponseAminoMsg { - type: "cosmos-sdk/QueryChannelsResponse"; - value: QueryChannelsResponseAmino; -} -/** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ -export interface QueryChannelsResponseSDKType { - channels: IdentifiedChannelSDKType[]; - pagination?: PageResponseSDKType | undefined; - height: HeightSDKType | undefined; -} -/** - * QueryConnectionChannelsRequest is the request type for the - * Query/QueryConnectionChannels RPC method - */ -export interface QueryConnectionChannelsRequest { - /** connection unique identifier */ - connection: string; - /** pagination request */ - pagination?: PageRequest | undefined; -} -export interface QueryConnectionChannelsRequestProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryConnectionChannelsRequest"; - value: Uint8Array; -} -/** - * QueryConnectionChannelsRequest is the request type for the - * Query/QueryConnectionChannels RPC method - */ -export interface QueryConnectionChannelsRequestAmino { - /** connection unique identifier */ - connection?: string; - /** pagination request */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryConnectionChannelsRequestAminoMsg { - type: "cosmos-sdk/QueryConnectionChannelsRequest"; - value: QueryConnectionChannelsRequestAmino; -} -/** - * QueryConnectionChannelsRequest is the request type for the - * Query/QueryConnectionChannels RPC method - */ -export interface QueryConnectionChannelsRequestSDKType { - connection: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryConnectionChannelsResponse is the Response type for the - * Query/QueryConnectionChannels RPC method - */ -export interface QueryConnectionChannelsResponse { - /** list of channels associated with a connection. */ - channels: IdentifiedChannel[]; - /** pagination response */ - pagination?: PageResponse | undefined; - /** query block height */ - height: Height | undefined; -} -export interface QueryConnectionChannelsResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryConnectionChannelsResponse"; - value: Uint8Array; -} -/** - * QueryConnectionChannelsResponse is the Response type for the - * Query/QueryConnectionChannels RPC method - */ -export interface QueryConnectionChannelsResponseAmino { - /** list of channels associated with a connection. */ - channels?: IdentifiedChannelAmino[]; - /** pagination response */ - pagination?: PageResponseAmino | undefined; - /** query block height */ - height?: HeightAmino | undefined; -} -export interface QueryConnectionChannelsResponseAminoMsg { - type: "cosmos-sdk/QueryConnectionChannelsResponse"; - value: QueryConnectionChannelsResponseAmino; -} -/** - * QueryConnectionChannelsResponse is the Response type for the - * Query/QueryConnectionChannels RPC method - */ -export interface QueryConnectionChannelsResponseSDKType { - channels: IdentifiedChannelSDKType[]; - pagination?: PageResponseSDKType | undefined; - height: HeightSDKType | undefined; -} -/** - * QueryChannelClientStateRequest is the request type for the Query/ClientState - * RPC method - */ -export interface QueryChannelClientStateRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - channelId: string; -} -export interface QueryChannelClientStateRequestProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryChannelClientStateRequest"; - value: Uint8Array; -} -/** - * QueryChannelClientStateRequest is the request type for the Query/ClientState - * RPC method - */ -export interface QueryChannelClientStateRequestAmino { - /** port unique identifier */ - port_id?: string; - /** channel unique identifier */ - channel_id?: string; -} -export interface QueryChannelClientStateRequestAminoMsg { - type: "cosmos-sdk/QueryChannelClientStateRequest"; - value: QueryChannelClientStateRequestAmino; -} -/** - * QueryChannelClientStateRequest is the request type for the Query/ClientState - * RPC method - */ -export interface QueryChannelClientStateRequestSDKType { - port_id: string; - channel_id: string; -} -/** - * QueryChannelClientStateResponse is the Response type for the - * Query/QueryChannelClientState RPC method - */ -export interface QueryChannelClientStateResponse { - /** client state associated with the channel */ - identifiedClientState?: IdentifiedClientState | undefined; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight: Height | undefined; -} -export interface QueryChannelClientStateResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryChannelClientStateResponse"; - value: Uint8Array; -} -/** - * QueryChannelClientStateResponse is the Response type for the - * Query/QueryChannelClientState RPC method - */ -export interface QueryChannelClientStateResponseAmino { - /** client state associated with the channel */ - identified_client_state?: IdentifiedClientStateAmino | undefined; - /** merkle proof of existence */ - proof?: string; - /** height at which the proof was retrieved */ - proof_height?: HeightAmino | undefined; -} -export interface QueryChannelClientStateResponseAminoMsg { - type: "cosmos-sdk/QueryChannelClientStateResponse"; - value: QueryChannelClientStateResponseAmino; -} -/** - * QueryChannelClientStateResponse is the Response type for the - * Query/QueryChannelClientState RPC method - */ -export interface QueryChannelClientStateResponseSDKType { - identified_client_state?: IdentifiedClientStateSDKType | undefined; - proof: Uint8Array; - proof_height: HeightSDKType | undefined; -} -/** - * QueryChannelConsensusStateRequest is the request type for the - * Query/ConsensusState RPC method - */ -export interface QueryChannelConsensusStateRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - channelId: string; - /** revision number of the consensus state */ - revisionNumber: bigint; - /** revision height of the consensus state */ - revisionHeight: bigint; -} -export interface QueryChannelConsensusStateRequestProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryChannelConsensusStateRequest"; - value: Uint8Array; -} -/** - * QueryChannelConsensusStateRequest is the request type for the - * Query/ConsensusState RPC method - */ -export interface QueryChannelConsensusStateRequestAmino { - /** port unique identifier */ - port_id?: string; - /** channel unique identifier */ - channel_id?: string; - /** revision number of the consensus state */ - revision_number?: string; - /** revision height of the consensus state */ - revision_height?: string; -} -export interface QueryChannelConsensusStateRequestAminoMsg { - type: "cosmos-sdk/QueryChannelConsensusStateRequest"; - value: QueryChannelConsensusStateRequestAmino; -} -/** - * QueryChannelConsensusStateRequest is the request type for the - * Query/ConsensusState RPC method - */ -export interface QueryChannelConsensusStateRequestSDKType { - port_id: string; - channel_id: string; - revision_number: bigint; - revision_height: bigint; -} -/** - * QueryChannelClientStateResponse is the Response type for the - * Query/QueryChannelClientState RPC method - */ -export interface QueryChannelConsensusStateResponse { - /** consensus state associated with the channel */ - consensusState?: Any | undefined; - /** client ID associated with the consensus state */ - clientId: string; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight: Height | undefined; -} -export interface QueryChannelConsensusStateResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryChannelConsensusStateResponse"; - value: Uint8Array; -} -/** - * QueryChannelClientStateResponse is the Response type for the - * Query/QueryChannelClientState RPC method - */ -export interface QueryChannelConsensusStateResponseAmino { - /** consensus state associated with the channel */ - consensus_state?: AnyAmino | undefined; - /** client ID associated with the consensus state */ - client_id?: string; - /** merkle proof of existence */ - proof?: string; - /** height at which the proof was retrieved */ - proof_height?: HeightAmino | undefined; -} -export interface QueryChannelConsensusStateResponseAminoMsg { - type: "cosmos-sdk/QueryChannelConsensusStateResponse"; - value: QueryChannelConsensusStateResponseAmino; -} -/** - * QueryChannelClientStateResponse is the Response type for the - * Query/QueryChannelClientState RPC method - */ -export interface QueryChannelConsensusStateResponseSDKType { - consensus_state?: AnySDKType | undefined; - client_id: string; - proof: Uint8Array; - proof_height: HeightSDKType | undefined; -} -/** - * QueryPacketCommitmentRequest is the request type for the - * Query/PacketCommitment RPC method - */ -export interface QueryPacketCommitmentRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - channelId: string; - /** packet sequence */ - sequence: bigint; -} -export interface QueryPacketCommitmentRequestProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryPacketCommitmentRequest"; - value: Uint8Array; -} -/** - * QueryPacketCommitmentRequest is the request type for the - * Query/PacketCommitment RPC method - */ -export interface QueryPacketCommitmentRequestAmino { - /** port unique identifier */ - port_id?: string; - /** channel unique identifier */ - channel_id?: string; - /** packet sequence */ - sequence?: string; -} -export interface QueryPacketCommitmentRequestAminoMsg { - type: "cosmos-sdk/QueryPacketCommitmentRequest"; - value: QueryPacketCommitmentRequestAmino; -} -/** - * QueryPacketCommitmentRequest is the request type for the - * Query/PacketCommitment RPC method - */ -export interface QueryPacketCommitmentRequestSDKType { - port_id: string; - channel_id: string; - sequence: bigint; -} -/** - * QueryPacketCommitmentResponse defines the client query response for a packet - * which also includes a proof and the height from which the proof was - * retrieved - */ -export interface QueryPacketCommitmentResponse { - /** packet associated with the request fields */ - commitment: Uint8Array; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight: Height | undefined; -} -export interface QueryPacketCommitmentResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryPacketCommitmentResponse"; - value: Uint8Array; -} -/** - * QueryPacketCommitmentResponse defines the client query response for a packet - * which also includes a proof and the height from which the proof was - * retrieved - */ -export interface QueryPacketCommitmentResponseAmino { - /** packet associated with the request fields */ - commitment?: string; - /** merkle proof of existence */ - proof?: string; - /** height at which the proof was retrieved */ - proof_height?: HeightAmino | undefined; -} -export interface QueryPacketCommitmentResponseAminoMsg { - type: "cosmos-sdk/QueryPacketCommitmentResponse"; - value: QueryPacketCommitmentResponseAmino; -} -/** - * QueryPacketCommitmentResponse defines the client query response for a packet - * which also includes a proof and the height from which the proof was - * retrieved - */ -export interface QueryPacketCommitmentResponseSDKType { - commitment: Uint8Array; - proof: Uint8Array; - proof_height: HeightSDKType | undefined; -} -/** - * QueryPacketCommitmentsRequest is the request type for the - * Query/QueryPacketCommitments RPC method - */ -export interface QueryPacketCommitmentsRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - channelId: string; - /** pagination request */ - pagination?: PageRequest | undefined; -} -export interface QueryPacketCommitmentsRequestProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryPacketCommitmentsRequest"; - value: Uint8Array; -} -/** - * QueryPacketCommitmentsRequest is the request type for the - * Query/QueryPacketCommitments RPC method - */ -export interface QueryPacketCommitmentsRequestAmino { - /** port unique identifier */ - port_id?: string; - /** channel unique identifier */ - channel_id?: string; - /** pagination request */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryPacketCommitmentsRequestAminoMsg { - type: "cosmos-sdk/QueryPacketCommitmentsRequest"; - value: QueryPacketCommitmentsRequestAmino; -} -/** - * QueryPacketCommitmentsRequest is the request type for the - * Query/QueryPacketCommitments RPC method - */ -export interface QueryPacketCommitmentsRequestSDKType { - port_id: string; - channel_id: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryPacketCommitmentsResponse is the request type for the - * Query/QueryPacketCommitments RPC method - */ -export interface QueryPacketCommitmentsResponse { - commitments: PacketState[]; - /** pagination response */ - pagination?: PageResponse | undefined; - /** query block height */ - height: Height | undefined; -} -export interface QueryPacketCommitmentsResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryPacketCommitmentsResponse"; - value: Uint8Array; -} -/** - * QueryPacketCommitmentsResponse is the request type for the - * Query/QueryPacketCommitments RPC method - */ -export interface QueryPacketCommitmentsResponseAmino { - commitments?: PacketStateAmino[]; - /** pagination response */ - pagination?: PageResponseAmino | undefined; - /** query block height */ - height?: HeightAmino | undefined; -} -export interface QueryPacketCommitmentsResponseAminoMsg { - type: "cosmos-sdk/QueryPacketCommitmentsResponse"; - value: QueryPacketCommitmentsResponseAmino; -} -/** - * QueryPacketCommitmentsResponse is the request type for the - * Query/QueryPacketCommitments RPC method - */ -export interface QueryPacketCommitmentsResponseSDKType { - commitments: PacketStateSDKType[]; - pagination?: PageResponseSDKType | undefined; - height: HeightSDKType | undefined; -} -/** - * QueryPacketReceiptRequest is the request type for the - * Query/PacketReceipt RPC method - */ -export interface QueryPacketReceiptRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - channelId: string; - /** packet sequence */ - sequence: bigint; -} -export interface QueryPacketReceiptRequestProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryPacketReceiptRequest"; - value: Uint8Array; -} -/** - * QueryPacketReceiptRequest is the request type for the - * Query/PacketReceipt RPC method - */ -export interface QueryPacketReceiptRequestAmino { - /** port unique identifier */ - port_id?: string; - /** channel unique identifier */ - channel_id?: string; - /** packet sequence */ - sequence?: string; -} -export interface QueryPacketReceiptRequestAminoMsg { - type: "cosmos-sdk/QueryPacketReceiptRequest"; - value: QueryPacketReceiptRequestAmino; -} -/** - * QueryPacketReceiptRequest is the request type for the - * Query/PacketReceipt RPC method - */ -export interface QueryPacketReceiptRequestSDKType { - port_id: string; - channel_id: string; - sequence: bigint; -} -/** - * QueryPacketReceiptResponse defines the client query response for a packet - * receipt which also includes a proof, and the height from which the proof was - * retrieved - */ -export interface QueryPacketReceiptResponse { - /** success flag for if receipt exists */ - received: boolean; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight: Height | undefined; -} -export interface QueryPacketReceiptResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryPacketReceiptResponse"; - value: Uint8Array; -} -/** - * QueryPacketReceiptResponse defines the client query response for a packet - * receipt which also includes a proof, and the height from which the proof was - * retrieved - */ -export interface QueryPacketReceiptResponseAmino { - /** success flag for if receipt exists */ - received?: boolean; - /** merkle proof of existence */ - proof?: string; - /** height at which the proof was retrieved */ - proof_height?: HeightAmino | undefined; -} -export interface QueryPacketReceiptResponseAminoMsg { - type: "cosmos-sdk/QueryPacketReceiptResponse"; - value: QueryPacketReceiptResponseAmino; -} -/** - * QueryPacketReceiptResponse defines the client query response for a packet - * receipt which also includes a proof, and the height from which the proof was - * retrieved - */ -export interface QueryPacketReceiptResponseSDKType { - received: boolean; - proof: Uint8Array; - proof_height: HeightSDKType | undefined; -} -/** - * QueryPacketAcknowledgementRequest is the request type for the - * Query/PacketAcknowledgement RPC method - */ -export interface QueryPacketAcknowledgementRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - channelId: string; - /** packet sequence */ - sequence: bigint; -} -export interface QueryPacketAcknowledgementRequestProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryPacketAcknowledgementRequest"; - value: Uint8Array; -} -/** - * QueryPacketAcknowledgementRequest is the request type for the - * Query/PacketAcknowledgement RPC method - */ -export interface QueryPacketAcknowledgementRequestAmino { - /** port unique identifier */ - port_id?: string; - /** channel unique identifier */ - channel_id?: string; - /** packet sequence */ - sequence?: string; -} -export interface QueryPacketAcknowledgementRequestAminoMsg { - type: "cosmos-sdk/QueryPacketAcknowledgementRequest"; - value: QueryPacketAcknowledgementRequestAmino; -} -/** - * QueryPacketAcknowledgementRequest is the request type for the - * Query/PacketAcknowledgement RPC method - */ -export interface QueryPacketAcknowledgementRequestSDKType { - port_id: string; - channel_id: string; - sequence: bigint; -} -/** - * QueryPacketAcknowledgementResponse defines the client query response for a - * packet which also includes a proof and the height from which the - * proof was retrieved - */ -export interface QueryPacketAcknowledgementResponse { - /** packet associated with the request fields */ - acknowledgement: Uint8Array; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight: Height | undefined; -} -export interface QueryPacketAcknowledgementResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryPacketAcknowledgementResponse"; - value: Uint8Array; -} -/** - * QueryPacketAcknowledgementResponse defines the client query response for a - * packet which also includes a proof and the height from which the - * proof was retrieved - */ -export interface QueryPacketAcknowledgementResponseAmino { - /** packet associated with the request fields */ - acknowledgement?: string; - /** merkle proof of existence */ - proof?: string; - /** height at which the proof was retrieved */ - proof_height?: HeightAmino | undefined; -} -export interface QueryPacketAcknowledgementResponseAminoMsg { - type: "cosmos-sdk/QueryPacketAcknowledgementResponse"; - value: QueryPacketAcknowledgementResponseAmino; -} -/** - * QueryPacketAcknowledgementResponse defines the client query response for a - * packet which also includes a proof and the height from which the - * proof was retrieved - */ -export interface QueryPacketAcknowledgementResponseSDKType { - acknowledgement: Uint8Array; - proof: Uint8Array; - proof_height: HeightSDKType | undefined; -} -/** - * QueryPacketAcknowledgementsRequest is the request type for the - * Query/QueryPacketCommitments RPC method - */ -export interface QueryPacketAcknowledgementsRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - channelId: string; - /** pagination request */ - pagination?: PageRequest | undefined; - /** list of packet sequences */ - packetCommitmentSequences: bigint[]; -} -export interface QueryPacketAcknowledgementsRequestProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryPacketAcknowledgementsRequest"; - value: Uint8Array; -} -/** - * QueryPacketAcknowledgementsRequest is the request type for the - * Query/QueryPacketCommitments RPC method - */ -export interface QueryPacketAcknowledgementsRequestAmino { - /** port unique identifier */ - port_id?: string; - /** channel unique identifier */ - channel_id?: string; - /** pagination request */ - pagination?: PageRequestAmino | undefined; - /** list of packet sequences */ - packet_commitment_sequences?: string[]; -} -export interface QueryPacketAcknowledgementsRequestAminoMsg { - type: "cosmos-sdk/QueryPacketAcknowledgementsRequest"; - value: QueryPacketAcknowledgementsRequestAmino; -} -/** - * QueryPacketAcknowledgementsRequest is the request type for the - * Query/QueryPacketCommitments RPC method - */ -export interface QueryPacketAcknowledgementsRequestSDKType { - port_id: string; - channel_id: string; - pagination?: PageRequestSDKType | undefined; - packet_commitment_sequences: bigint[]; -} -/** - * QueryPacketAcknowledgemetsResponse is the request type for the - * Query/QueryPacketAcknowledgements RPC method - */ -export interface QueryPacketAcknowledgementsResponse { - acknowledgements: PacketState[]; - /** pagination response */ - pagination?: PageResponse | undefined; - /** query block height */ - height: Height | undefined; -} -export interface QueryPacketAcknowledgementsResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryPacketAcknowledgementsResponse"; - value: Uint8Array; -} -/** - * QueryPacketAcknowledgemetsResponse is the request type for the - * Query/QueryPacketAcknowledgements RPC method - */ -export interface QueryPacketAcknowledgementsResponseAmino { - acknowledgements?: PacketStateAmino[]; - /** pagination response */ - pagination?: PageResponseAmino | undefined; - /** query block height */ - height?: HeightAmino | undefined; -} -export interface QueryPacketAcknowledgementsResponseAminoMsg { - type: "cosmos-sdk/QueryPacketAcknowledgementsResponse"; - value: QueryPacketAcknowledgementsResponseAmino; -} -/** - * QueryPacketAcknowledgemetsResponse is the request type for the - * Query/QueryPacketAcknowledgements RPC method - */ -export interface QueryPacketAcknowledgementsResponseSDKType { - acknowledgements: PacketStateSDKType[]; - pagination?: PageResponseSDKType | undefined; - height: HeightSDKType | undefined; -} -/** - * QueryUnreceivedPacketsRequest is the request type for the - * Query/UnreceivedPackets RPC method - */ -export interface QueryUnreceivedPacketsRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - channelId: string; - /** list of packet sequences */ - packetCommitmentSequences: bigint[]; -} -export interface QueryUnreceivedPacketsRequestProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryUnreceivedPacketsRequest"; - value: Uint8Array; -} -/** - * QueryUnreceivedPacketsRequest is the request type for the - * Query/UnreceivedPackets RPC method - */ -export interface QueryUnreceivedPacketsRequestAmino { - /** port unique identifier */ - port_id?: string; - /** channel unique identifier */ - channel_id?: string; - /** list of packet sequences */ - packet_commitment_sequences?: string[]; -} -export interface QueryUnreceivedPacketsRequestAminoMsg { - type: "cosmos-sdk/QueryUnreceivedPacketsRequest"; - value: QueryUnreceivedPacketsRequestAmino; -} -/** - * QueryUnreceivedPacketsRequest is the request type for the - * Query/UnreceivedPackets RPC method - */ -export interface QueryUnreceivedPacketsRequestSDKType { - port_id: string; - channel_id: string; - packet_commitment_sequences: bigint[]; -} -/** - * QueryUnreceivedPacketsResponse is the response type for the - * Query/UnreceivedPacketCommitments RPC method - */ -export interface QueryUnreceivedPacketsResponse { - /** list of unreceived packet sequences */ - sequences: bigint[]; - /** query block height */ - height: Height | undefined; -} -export interface QueryUnreceivedPacketsResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryUnreceivedPacketsResponse"; - value: Uint8Array; -} -/** - * QueryUnreceivedPacketsResponse is the response type for the - * Query/UnreceivedPacketCommitments RPC method - */ -export interface QueryUnreceivedPacketsResponseAmino { - /** list of unreceived packet sequences */ - sequences?: string[]; - /** query block height */ - height?: HeightAmino | undefined; -} -export interface QueryUnreceivedPacketsResponseAminoMsg { - type: "cosmos-sdk/QueryUnreceivedPacketsResponse"; - value: QueryUnreceivedPacketsResponseAmino; -} -/** - * QueryUnreceivedPacketsResponse is the response type for the - * Query/UnreceivedPacketCommitments RPC method - */ -export interface QueryUnreceivedPacketsResponseSDKType { - sequences: bigint[]; - height: HeightSDKType | undefined; -} -/** - * QueryUnreceivedAcks is the request type for the - * Query/UnreceivedAcks RPC method - */ -export interface QueryUnreceivedAcksRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - channelId: string; - /** list of acknowledgement sequences */ - packetAckSequences: bigint[]; -} -export interface QueryUnreceivedAcksRequestProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryUnreceivedAcksRequest"; - value: Uint8Array; -} -/** - * QueryUnreceivedAcks is the request type for the - * Query/UnreceivedAcks RPC method - */ -export interface QueryUnreceivedAcksRequestAmino { - /** port unique identifier */ - port_id?: string; - /** channel unique identifier */ - channel_id?: string; - /** list of acknowledgement sequences */ - packet_ack_sequences?: string[]; -} -export interface QueryUnreceivedAcksRequestAminoMsg { - type: "cosmos-sdk/QueryUnreceivedAcksRequest"; - value: QueryUnreceivedAcksRequestAmino; -} -/** - * QueryUnreceivedAcks is the request type for the - * Query/UnreceivedAcks RPC method - */ -export interface QueryUnreceivedAcksRequestSDKType { - port_id: string; - channel_id: string; - packet_ack_sequences: bigint[]; -} -/** - * QueryUnreceivedAcksResponse is the response type for the - * Query/UnreceivedAcks RPC method - */ -export interface QueryUnreceivedAcksResponse { - /** list of unreceived acknowledgement sequences */ - sequences: bigint[]; - /** query block height */ - height: Height | undefined; -} -export interface QueryUnreceivedAcksResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryUnreceivedAcksResponse"; - value: Uint8Array; -} -/** - * QueryUnreceivedAcksResponse is the response type for the - * Query/UnreceivedAcks RPC method - */ -export interface QueryUnreceivedAcksResponseAmino { - /** list of unreceived acknowledgement sequences */ - sequences?: string[]; - /** query block height */ - height?: HeightAmino | undefined; -} -export interface QueryUnreceivedAcksResponseAminoMsg { - type: "cosmos-sdk/QueryUnreceivedAcksResponse"; - value: QueryUnreceivedAcksResponseAmino; -} -/** - * QueryUnreceivedAcksResponse is the response type for the - * Query/UnreceivedAcks RPC method - */ -export interface QueryUnreceivedAcksResponseSDKType { - sequences: bigint[]; - height: HeightSDKType | undefined; -} -/** - * QueryNextSequenceReceiveRequest is the request type for the - * Query/QueryNextSequenceReceiveRequest RPC method - */ -export interface QueryNextSequenceReceiveRequest { - /** port unique identifier */ - portId: string; - /** channel unique identifier */ - channelId: string; -} -export interface QueryNextSequenceReceiveRequestProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryNextSequenceReceiveRequest"; - value: Uint8Array; -} -/** - * QueryNextSequenceReceiveRequest is the request type for the - * Query/QueryNextSequenceReceiveRequest RPC method - */ -export interface QueryNextSequenceReceiveRequestAmino { - /** port unique identifier */ - port_id?: string; - /** channel unique identifier */ - channel_id?: string; -} -export interface QueryNextSequenceReceiveRequestAminoMsg { - type: "cosmos-sdk/QueryNextSequenceReceiveRequest"; - value: QueryNextSequenceReceiveRequestAmino; -} -/** - * QueryNextSequenceReceiveRequest is the request type for the - * Query/QueryNextSequenceReceiveRequest RPC method - */ -export interface QueryNextSequenceReceiveRequestSDKType { - port_id: string; - channel_id: string; -} -/** - * QuerySequenceResponse is the request type for the - * Query/QueryNextSequenceReceiveResponse RPC method - */ -export interface QueryNextSequenceReceiveResponse { - /** next sequence receive number */ - nextSequenceReceive: bigint; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight: Height | undefined; -} -export interface QueryNextSequenceReceiveResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.QueryNextSequenceReceiveResponse"; - value: Uint8Array; -} -/** - * QuerySequenceResponse is the request type for the - * Query/QueryNextSequenceReceiveResponse RPC method - */ -export interface QueryNextSequenceReceiveResponseAmino { - /** next sequence receive number */ - next_sequence_receive?: string; - /** merkle proof of existence */ - proof?: string; - /** height at which the proof was retrieved */ - proof_height?: HeightAmino | undefined; -} -export interface QueryNextSequenceReceiveResponseAminoMsg { - type: "cosmos-sdk/QueryNextSequenceReceiveResponse"; - value: QueryNextSequenceReceiveResponseAmino; -} -/** - * QuerySequenceResponse is the request type for the - * Query/QueryNextSequenceReceiveResponse RPC method - */ -export interface QueryNextSequenceReceiveResponseSDKType { - next_sequence_receive: bigint; - proof: Uint8Array; - proof_height: HeightSDKType | undefined; -} -export declare const QueryChannelRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryChannelRequest; - isSDK(o: any): o is QueryChannelRequestSDKType; - isAmino(o: any): o is QueryChannelRequestAmino; - encode(message: QueryChannelRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryChannelRequest; - fromJSON(object: any): QueryChannelRequest; - toJSON(message: QueryChannelRequest): unknown; - fromPartial(object: DeepPartial): QueryChannelRequest; - fromSDK(object: QueryChannelRequestSDKType): QueryChannelRequest; - toSDK(message: QueryChannelRequest): QueryChannelRequestSDKType; - fromAmino(object: QueryChannelRequestAmino): QueryChannelRequest; - toAmino(message: QueryChannelRequest): QueryChannelRequestAmino; - fromAminoMsg(object: QueryChannelRequestAminoMsg): QueryChannelRequest; - toAminoMsg(message: QueryChannelRequest): QueryChannelRequestAminoMsg; - fromProtoMsg(message: QueryChannelRequestProtoMsg): QueryChannelRequest; - toProto(message: QueryChannelRequest): Uint8Array; - toProtoMsg(message: QueryChannelRequest): QueryChannelRequestProtoMsg; -}; -export declare const QueryChannelResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryChannelResponse; - isSDK(o: any): o is QueryChannelResponseSDKType; - isAmino(o: any): o is QueryChannelResponseAmino; - encode(message: QueryChannelResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryChannelResponse; - fromJSON(object: any): QueryChannelResponse; - toJSON(message: QueryChannelResponse): unknown; - fromPartial(object: DeepPartial): QueryChannelResponse; - fromSDK(object: QueryChannelResponseSDKType): QueryChannelResponse; - toSDK(message: QueryChannelResponse): QueryChannelResponseSDKType; - fromAmino(object: QueryChannelResponseAmino): QueryChannelResponse; - toAmino(message: QueryChannelResponse): QueryChannelResponseAmino; - fromAminoMsg(object: QueryChannelResponseAminoMsg): QueryChannelResponse; - toAminoMsg(message: QueryChannelResponse): QueryChannelResponseAminoMsg; - fromProtoMsg(message: QueryChannelResponseProtoMsg): QueryChannelResponse; - toProto(message: QueryChannelResponse): Uint8Array; - toProtoMsg(message: QueryChannelResponse): QueryChannelResponseProtoMsg; -}; -export declare const QueryChannelsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryChannelsRequest; - isSDK(o: any): o is QueryChannelsRequestSDKType; - isAmino(o: any): o is QueryChannelsRequestAmino; - encode(message: QueryChannelsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryChannelsRequest; - fromJSON(object: any): QueryChannelsRequest; - toJSON(message: QueryChannelsRequest): unknown; - fromPartial(object: DeepPartial): QueryChannelsRequest; - fromSDK(object: QueryChannelsRequestSDKType): QueryChannelsRequest; - toSDK(message: QueryChannelsRequest): QueryChannelsRequestSDKType; - fromAmino(object: QueryChannelsRequestAmino): QueryChannelsRequest; - toAmino(message: QueryChannelsRequest): QueryChannelsRequestAmino; - fromAminoMsg(object: QueryChannelsRequestAminoMsg): QueryChannelsRequest; - toAminoMsg(message: QueryChannelsRequest): QueryChannelsRequestAminoMsg; - fromProtoMsg(message: QueryChannelsRequestProtoMsg): QueryChannelsRequest; - toProto(message: QueryChannelsRequest): Uint8Array; - toProtoMsg(message: QueryChannelsRequest): QueryChannelsRequestProtoMsg; -}; -export declare const QueryChannelsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryChannelsResponse; - isSDK(o: any): o is QueryChannelsResponseSDKType; - isAmino(o: any): o is QueryChannelsResponseAmino; - encode(message: QueryChannelsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryChannelsResponse; - fromJSON(object: any): QueryChannelsResponse; - toJSON(message: QueryChannelsResponse): unknown; - fromPartial(object: DeepPartial): QueryChannelsResponse; - fromSDK(object: QueryChannelsResponseSDKType): QueryChannelsResponse; - toSDK(message: QueryChannelsResponse): QueryChannelsResponseSDKType; - fromAmino(object: QueryChannelsResponseAmino): QueryChannelsResponse; - toAmino(message: QueryChannelsResponse): QueryChannelsResponseAmino; - fromAminoMsg(object: QueryChannelsResponseAminoMsg): QueryChannelsResponse; - toAminoMsg(message: QueryChannelsResponse): QueryChannelsResponseAminoMsg; - fromProtoMsg(message: QueryChannelsResponseProtoMsg): QueryChannelsResponse; - toProto(message: QueryChannelsResponse): Uint8Array; - toProtoMsg(message: QueryChannelsResponse): QueryChannelsResponseProtoMsg; -}; -export declare const QueryConnectionChannelsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConnectionChannelsRequest; - isSDK(o: any): o is QueryConnectionChannelsRequestSDKType; - isAmino(o: any): o is QueryConnectionChannelsRequestAmino; - encode(message: QueryConnectionChannelsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionChannelsRequest; - fromJSON(object: any): QueryConnectionChannelsRequest; - toJSON(message: QueryConnectionChannelsRequest): unknown; - fromPartial(object: DeepPartial): QueryConnectionChannelsRequest; - fromSDK(object: QueryConnectionChannelsRequestSDKType): QueryConnectionChannelsRequest; - toSDK(message: QueryConnectionChannelsRequest): QueryConnectionChannelsRequestSDKType; - fromAmino(object: QueryConnectionChannelsRequestAmino): QueryConnectionChannelsRequest; - toAmino(message: QueryConnectionChannelsRequest): QueryConnectionChannelsRequestAmino; - fromAminoMsg(object: QueryConnectionChannelsRequestAminoMsg): QueryConnectionChannelsRequest; - toAminoMsg(message: QueryConnectionChannelsRequest): QueryConnectionChannelsRequestAminoMsg; - fromProtoMsg(message: QueryConnectionChannelsRequestProtoMsg): QueryConnectionChannelsRequest; - toProto(message: QueryConnectionChannelsRequest): Uint8Array; - toProtoMsg(message: QueryConnectionChannelsRequest): QueryConnectionChannelsRequestProtoMsg; -}; -export declare const QueryConnectionChannelsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConnectionChannelsResponse; - isSDK(o: any): o is QueryConnectionChannelsResponseSDKType; - isAmino(o: any): o is QueryConnectionChannelsResponseAmino; - encode(message: QueryConnectionChannelsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionChannelsResponse; - fromJSON(object: any): QueryConnectionChannelsResponse; - toJSON(message: QueryConnectionChannelsResponse): unknown; - fromPartial(object: DeepPartial): QueryConnectionChannelsResponse; - fromSDK(object: QueryConnectionChannelsResponseSDKType): QueryConnectionChannelsResponse; - toSDK(message: QueryConnectionChannelsResponse): QueryConnectionChannelsResponseSDKType; - fromAmino(object: QueryConnectionChannelsResponseAmino): QueryConnectionChannelsResponse; - toAmino(message: QueryConnectionChannelsResponse): QueryConnectionChannelsResponseAmino; - fromAminoMsg(object: QueryConnectionChannelsResponseAminoMsg): QueryConnectionChannelsResponse; - toAminoMsg(message: QueryConnectionChannelsResponse): QueryConnectionChannelsResponseAminoMsg; - fromProtoMsg(message: QueryConnectionChannelsResponseProtoMsg): QueryConnectionChannelsResponse; - toProto(message: QueryConnectionChannelsResponse): Uint8Array; - toProtoMsg(message: QueryConnectionChannelsResponse): QueryConnectionChannelsResponseProtoMsg; -}; -export declare const QueryChannelClientStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryChannelClientStateRequest; - isSDK(o: any): o is QueryChannelClientStateRequestSDKType; - isAmino(o: any): o is QueryChannelClientStateRequestAmino; - encode(message: QueryChannelClientStateRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryChannelClientStateRequest; - fromJSON(object: any): QueryChannelClientStateRequest; - toJSON(message: QueryChannelClientStateRequest): unknown; - fromPartial(object: DeepPartial): QueryChannelClientStateRequest; - fromSDK(object: QueryChannelClientStateRequestSDKType): QueryChannelClientStateRequest; - toSDK(message: QueryChannelClientStateRequest): QueryChannelClientStateRequestSDKType; - fromAmino(object: QueryChannelClientStateRequestAmino): QueryChannelClientStateRequest; - toAmino(message: QueryChannelClientStateRequest): QueryChannelClientStateRequestAmino; - fromAminoMsg(object: QueryChannelClientStateRequestAminoMsg): QueryChannelClientStateRequest; - toAminoMsg(message: QueryChannelClientStateRequest): QueryChannelClientStateRequestAminoMsg; - fromProtoMsg(message: QueryChannelClientStateRequestProtoMsg): QueryChannelClientStateRequest; - toProto(message: QueryChannelClientStateRequest): Uint8Array; - toProtoMsg(message: QueryChannelClientStateRequest): QueryChannelClientStateRequestProtoMsg; -}; -export declare const QueryChannelClientStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryChannelClientStateResponse; - isSDK(o: any): o is QueryChannelClientStateResponseSDKType; - isAmino(o: any): o is QueryChannelClientStateResponseAmino; - encode(message: QueryChannelClientStateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryChannelClientStateResponse; - fromJSON(object: any): QueryChannelClientStateResponse; - toJSON(message: QueryChannelClientStateResponse): unknown; - fromPartial(object: DeepPartial): QueryChannelClientStateResponse; - fromSDK(object: QueryChannelClientStateResponseSDKType): QueryChannelClientStateResponse; - toSDK(message: QueryChannelClientStateResponse): QueryChannelClientStateResponseSDKType; - fromAmino(object: QueryChannelClientStateResponseAmino): QueryChannelClientStateResponse; - toAmino(message: QueryChannelClientStateResponse): QueryChannelClientStateResponseAmino; - fromAminoMsg(object: QueryChannelClientStateResponseAminoMsg): QueryChannelClientStateResponse; - toAminoMsg(message: QueryChannelClientStateResponse): QueryChannelClientStateResponseAminoMsg; - fromProtoMsg(message: QueryChannelClientStateResponseProtoMsg): QueryChannelClientStateResponse; - toProto(message: QueryChannelClientStateResponse): Uint8Array; - toProtoMsg(message: QueryChannelClientStateResponse): QueryChannelClientStateResponseProtoMsg; -}; -export declare const QueryChannelConsensusStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryChannelConsensusStateRequest; - isSDK(o: any): o is QueryChannelConsensusStateRequestSDKType; - isAmino(o: any): o is QueryChannelConsensusStateRequestAmino; - encode(message: QueryChannelConsensusStateRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryChannelConsensusStateRequest; - fromJSON(object: any): QueryChannelConsensusStateRequest; - toJSON(message: QueryChannelConsensusStateRequest): unknown; - fromPartial(object: DeepPartial): QueryChannelConsensusStateRequest; - fromSDK(object: QueryChannelConsensusStateRequestSDKType): QueryChannelConsensusStateRequest; - toSDK(message: QueryChannelConsensusStateRequest): QueryChannelConsensusStateRequestSDKType; - fromAmino(object: QueryChannelConsensusStateRequestAmino): QueryChannelConsensusStateRequest; - toAmino(message: QueryChannelConsensusStateRequest): QueryChannelConsensusStateRequestAmino; - fromAminoMsg(object: QueryChannelConsensusStateRequestAminoMsg): QueryChannelConsensusStateRequest; - toAminoMsg(message: QueryChannelConsensusStateRequest): QueryChannelConsensusStateRequestAminoMsg; - fromProtoMsg(message: QueryChannelConsensusStateRequestProtoMsg): QueryChannelConsensusStateRequest; - toProto(message: QueryChannelConsensusStateRequest): Uint8Array; - toProtoMsg(message: QueryChannelConsensusStateRequest): QueryChannelConsensusStateRequestProtoMsg; -}; -export declare const QueryChannelConsensusStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryChannelConsensusStateResponse; - isSDK(o: any): o is QueryChannelConsensusStateResponseSDKType; - isAmino(o: any): o is QueryChannelConsensusStateResponseAmino; - encode(message: QueryChannelConsensusStateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryChannelConsensusStateResponse; - fromJSON(object: any): QueryChannelConsensusStateResponse; - toJSON(message: QueryChannelConsensusStateResponse): unknown; - fromPartial(object: DeepPartial): QueryChannelConsensusStateResponse; - fromSDK(object: QueryChannelConsensusStateResponseSDKType): QueryChannelConsensusStateResponse; - toSDK(message: QueryChannelConsensusStateResponse): QueryChannelConsensusStateResponseSDKType; - fromAmino(object: QueryChannelConsensusStateResponseAmino): QueryChannelConsensusStateResponse; - toAmino(message: QueryChannelConsensusStateResponse): QueryChannelConsensusStateResponseAmino; - fromAminoMsg(object: QueryChannelConsensusStateResponseAminoMsg): QueryChannelConsensusStateResponse; - toAminoMsg(message: QueryChannelConsensusStateResponse): QueryChannelConsensusStateResponseAminoMsg; - fromProtoMsg(message: QueryChannelConsensusStateResponseProtoMsg): QueryChannelConsensusStateResponse; - toProto(message: QueryChannelConsensusStateResponse): Uint8Array; - toProtoMsg(message: QueryChannelConsensusStateResponse): QueryChannelConsensusStateResponseProtoMsg; -}; -export declare const QueryPacketCommitmentRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryPacketCommitmentRequest; - isSDK(o: any): o is QueryPacketCommitmentRequestSDKType; - isAmino(o: any): o is QueryPacketCommitmentRequestAmino; - encode(message: QueryPacketCommitmentRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryPacketCommitmentRequest; - fromJSON(object: any): QueryPacketCommitmentRequest; - toJSON(message: QueryPacketCommitmentRequest): unknown; - fromPartial(object: DeepPartial): QueryPacketCommitmentRequest; - fromSDK(object: QueryPacketCommitmentRequestSDKType): QueryPacketCommitmentRequest; - toSDK(message: QueryPacketCommitmentRequest): QueryPacketCommitmentRequestSDKType; - fromAmino(object: QueryPacketCommitmentRequestAmino): QueryPacketCommitmentRequest; - toAmino(message: QueryPacketCommitmentRequest): QueryPacketCommitmentRequestAmino; - fromAminoMsg(object: QueryPacketCommitmentRequestAminoMsg): QueryPacketCommitmentRequest; - toAminoMsg(message: QueryPacketCommitmentRequest): QueryPacketCommitmentRequestAminoMsg; - fromProtoMsg(message: QueryPacketCommitmentRequestProtoMsg): QueryPacketCommitmentRequest; - toProto(message: QueryPacketCommitmentRequest): Uint8Array; - toProtoMsg(message: QueryPacketCommitmentRequest): QueryPacketCommitmentRequestProtoMsg; -}; -export declare const QueryPacketCommitmentResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryPacketCommitmentResponse; - isSDK(o: any): o is QueryPacketCommitmentResponseSDKType; - isAmino(o: any): o is QueryPacketCommitmentResponseAmino; - encode(message: QueryPacketCommitmentResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryPacketCommitmentResponse; - fromJSON(object: any): QueryPacketCommitmentResponse; - toJSON(message: QueryPacketCommitmentResponse): unknown; - fromPartial(object: DeepPartial): QueryPacketCommitmentResponse; - fromSDK(object: QueryPacketCommitmentResponseSDKType): QueryPacketCommitmentResponse; - toSDK(message: QueryPacketCommitmentResponse): QueryPacketCommitmentResponseSDKType; - fromAmino(object: QueryPacketCommitmentResponseAmino): QueryPacketCommitmentResponse; - toAmino(message: QueryPacketCommitmentResponse): QueryPacketCommitmentResponseAmino; - fromAminoMsg(object: QueryPacketCommitmentResponseAminoMsg): QueryPacketCommitmentResponse; - toAminoMsg(message: QueryPacketCommitmentResponse): QueryPacketCommitmentResponseAminoMsg; - fromProtoMsg(message: QueryPacketCommitmentResponseProtoMsg): QueryPacketCommitmentResponse; - toProto(message: QueryPacketCommitmentResponse): Uint8Array; - toProtoMsg(message: QueryPacketCommitmentResponse): QueryPacketCommitmentResponseProtoMsg; -}; -export declare const QueryPacketCommitmentsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryPacketCommitmentsRequest; - isSDK(o: any): o is QueryPacketCommitmentsRequestSDKType; - isAmino(o: any): o is QueryPacketCommitmentsRequestAmino; - encode(message: QueryPacketCommitmentsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryPacketCommitmentsRequest; - fromJSON(object: any): QueryPacketCommitmentsRequest; - toJSON(message: QueryPacketCommitmentsRequest): unknown; - fromPartial(object: DeepPartial): QueryPacketCommitmentsRequest; - fromSDK(object: QueryPacketCommitmentsRequestSDKType): QueryPacketCommitmentsRequest; - toSDK(message: QueryPacketCommitmentsRequest): QueryPacketCommitmentsRequestSDKType; - fromAmino(object: QueryPacketCommitmentsRequestAmino): QueryPacketCommitmentsRequest; - toAmino(message: QueryPacketCommitmentsRequest): QueryPacketCommitmentsRequestAmino; - fromAminoMsg(object: QueryPacketCommitmentsRequestAminoMsg): QueryPacketCommitmentsRequest; - toAminoMsg(message: QueryPacketCommitmentsRequest): QueryPacketCommitmentsRequestAminoMsg; - fromProtoMsg(message: QueryPacketCommitmentsRequestProtoMsg): QueryPacketCommitmentsRequest; - toProto(message: QueryPacketCommitmentsRequest): Uint8Array; - toProtoMsg(message: QueryPacketCommitmentsRequest): QueryPacketCommitmentsRequestProtoMsg; -}; -export declare const QueryPacketCommitmentsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryPacketCommitmentsResponse; - isSDK(o: any): o is QueryPacketCommitmentsResponseSDKType; - isAmino(o: any): o is QueryPacketCommitmentsResponseAmino; - encode(message: QueryPacketCommitmentsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryPacketCommitmentsResponse; - fromJSON(object: any): QueryPacketCommitmentsResponse; - toJSON(message: QueryPacketCommitmentsResponse): unknown; - fromPartial(object: DeepPartial): QueryPacketCommitmentsResponse; - fromSDK(object: QueryPacketCommitmentsResponseSDKType): QueryPacketCommitmentsResponse; - toSDK(message: QueryPacketCommitmentsResponse): QueryPacketCommitmentsResponseSDKType; - fromAmino(object: QueryPacketCommitmentsResponseAmino): QueryPacketCommitmentsResponse; - toAmino(message: QueryPacketCommitmentsResponse): QueryPacketCommitmentsResponseAmino; - fromAminoMsg(object: QueryPacketCommitmentsResponseAminoMsg): QueryPacketCommitmentsResponse; - toAminoMsg(message: QueryPacketCommitmentsResponse): QueryPacketCommitmentsResponseAminoMsg; - fromProtoMsg(message: QueryPacketCommitmentsResponseProtoMsg): QueryPacketCommitmentsResponse; - toProto(message: QueryPacketCommitmentsResponse): Uint8Array; - toProtoMsg(message: QueryPacketCommitmentsResponse): QueryPacketCommitmentsResponseProtoMsg; -}; -export declare const QueryPacketReceiptRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryPacketReceiptRequest; - isSDK(o: any): o is QueryPacketReceiptRequestSDKType; - isAmino(o: any): o is QueryPacketReceiptRequestAmino; - encode(message: QueryPacketReceiptRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryPacketReceiptRequest; - fromJSON(object: any): QueryPacketReceiptRequest; - toJSON(message: QueryPacketReceiptRequest): unknown; - fromPartial(object: DeepPartial): QueryPacketReceiptRequest; - fromSDK(object: QueryPacketReceiptRequestSDKType): QueryPacketReceiptRequest; - toSDK(message: QueryPacketReceiptRequest): QueryPacketReceiptRequestSDKType; - fromAmino(object: QueryPacketReceiptRequestAmino): QueryPacketReceiptRequest; - toAmino(message: QueryPacketReceiptRequest): QueryPacketReceiptRequestAmino; - fromAminoMsg(object: QueryPacketReceiptRequestAminoMsg): QueryPacketReceiptRequest; - toAminoMsg(message: QueryPacketReceiptRequest): QueryPacketReceiptRequestAminoMsg; - fromProtoMsg(message: QueryPacketReceiptRequestProtoMsg): QueryPacketReceiptRequest; - toProto(message: QueryPacketReceiptRequest): Uint8Array; - toProtoMsg(message: QueryPacketReceiptRequest): QueryPacketReceiptRequestProtoMsg; -}; -export declare const QueryPacketReceiptResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryPacketReceiptResponse; - isSDK(o: any): o is QueryPacketReceiptResponseSDKType; - isAmino(o: any): o is QueryPacketReceiptResponseAmino; - encode(message: QueryPacketReceiptResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryPacketReceiptResponse; - fromJSON(object: any): QueryPacketReceiptResponse; - toJSON(message: QueryPacketReceiptResponse): unknown; - fromPartial(object: DeepPartial): QueryPacketReceiptResponse; - fromSDK(object: QueryPacketReceiptResponseSDKType): QueryPacketReceiptResponse; - toSDK(message: QueryPacketReceiptResponse): QueryPacketReceiptResponseSDKType; - fromAmino(object: QueryPacketReceiptResponseAmino): QueryPacketReceiptResponse; - toAmino(message: QueryPacketReceiptResponse): QueryPacketReceiptResponseAmino; - fromAminoMsg(object: QueryPacketReceiptResponseAminoMsg): QueryPacketReceiptResponse; - toAminoMsg(message: QueryPacketReceiptResponse): QueryPacketReceiptResponseAminoMsg; - fromProtoMsg(message: QueryPacketReceiptResponseProtoMsg): QueryPacketReceiptResponse; - toProto(message: QueryPacketReceiptResponse): Uint8Array; - toProtoMsg(message: QueryPacketReceiptResponse): QueryPacketReceiptResponseProtoMsg; -}; -export declare const QueryPacketAcknowledgementRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryPacketAcknowledgementRequest; - isSDK(o: any): o is QueryPacketAcknowledgementRequestSDKType; - isAmino(o: any): o is QueryPacketAcknowledgementRequestAmino; - encode(message: QueryPacketAcknowledgementRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryPacketAcknowledgementRequest; - fromJSON(object: any): QueryPacketAcknowledgementRequest; - toJSON(message: QueryPacketAcknowledgementRequest): unknown; - fromPartial(object: DeepPartial): QueryPacketAcknowledgementRequest; - fromSDK(object: QueryPacketAcknowledgementRequestSDKType): QueryPacketAcknowledgementRequest; - toSDK(message: QueryPacketAcknowledgementRequest): QueryPacketAcknowledgementRequestSDKType; - fromAmino(object: QueryPacketAcknowledgementRequestAmino): QueryPacketAcknowledgementRequest; - toAmino(message: QueryPacketAcknowledgementRequest): QueryPacketAcknowledgementRequestAmino; - fromAminoMsg(object: QueryPacketAcknowledgementRequestAminoMsg): QueryPacketAcknowledgementRequest; - toAminoMsg(message: QueryPacketAcknowledgementRequest): QueryPacketAcknowledgementRequestAminoMsg; - fromProtoMsg(message: QueryPacketAcknowledgementRequestProtoMsg): QueryPacketAcknowledgementRequest; - toProto(message: QueryPacketAcknowledgementRequest): Uint8Array; - toProtoMsg(message: QueryPacketAcknowledgementRequest): QueryPacketAcknowledgementRequestProtoMsg; -}; -export declare const QueryPacketAcknowledgementResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryPacketAcknowledgementResponse; - isSDK(o: any): o is QueryPacketAcknowledgementResponseSDKType; - isAmino(o: any): o is QueryPacketAcknowledgementResponseAmino; - encode(message: QueryPacketAcknowledgementResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryPacketAcknowledgementResponse; - fromJSON(object: any): QueryPacketAcknowledgementResponse; - toJSON(message: QueryPacketAcknowledgementResponse): unknown; - fromPartial(object: DeepPartial): QueryPacketAcknowledgementResponse; - fromSDK(object: QueryPacketAcknowledgementResponseSDKType): QueryPacketAcknowledgementResponse; - toSDK(message: QueryPacketAcknowledgementResponse): QueryPacketAcknowledgementResponseSDKType; - fromAmino(object: QueryPacketAcknowledgementResponseAmino): QueryPacketAcknowledgementResponse; - toAmino(message: QueryPacketAcknowledgementResponse): QueryPacketAcknowledgementResponseAmino; - fromAminoMsg(object: QueryPacketAcknowledgementResponseAminoMsg): QueryPacketAcknowledgementResponse; - toAminoMsg(message: QueryPacketAcknowledgementResponse): QueryPacketAcknowledgementResponseAminoMsg; - fromProtoMsg(message: QueryPacketAcknowledgementResponseProtoMsg): QueryPacketAcknowledgementResponse; - toProto(message: QueryPacketAcknowledgementResponse): Uint8Array; - toProtoMsg(message: QueryPacketAcknowledgementResponse): QueryPacketAcknowledgementResponseProtoMsg; -}; -export declare const QueryPacketAcknowledgementsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryPacketAcknowledgementsRequest; - isSDK(o: any): o is QueryPacketAcknowledgementsRequestSDKType; - isAmino(o: any): o is QueryPacketAcknowledgementsRequestAmino; - encode(message: QueryPacketAcknowledgementsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryPacketAcknowledgementsRequest; - fromJSON(object: any): QueryPacketAcknowledgementsRequest; - toJSON(message: QueryPacketAcknowledgementsRequest): unknown; - fromPartial(object: DeepPartial): QueryPacketAcknowledgementsRequest; - fromSDK(object: QueryPacketAcknowledgementsRequestSDKType): QueryPacketAcknowledgementsRequest; - toSDK(message: QueryPacketAcknowledgementsRequest): QueryPacketAcknowledgementsRequestSDKType; - fromAmino(object: QueryPacketAcknowledgementsRequestAmino): QueryPacketAcknowledgementsRequest; - toAmino(message: QueryPacketAcknowledgementsRequest): QueryPacketAcknowledgementsRequestAmino; - fromAminoMsg(object: QueryPacketAcknowledgementsRequestAminoMsg): QueryPacketAcknowledgementsRequest; - toAminoMsg(message: QueryPacketAcknowledgementsRequest): QueryPacketAcknowledgementsRequestAminoMsg; - fromProtoMsg(message: QueryPacketAcknowledgementsRequestProtoMsg): QueryPacketAcknowledgementsRequest; - toProto(message: QueryPacketAcknowledgementsRequest): Uint8Array; - toProtoMsg(message: QueryPacketAcknowledgementsRequest): QueryPacketAcknowledgementsRequestProtoMsg; -}; -export declare const QueryPacketAcknowledgementsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryPacketAcknowledgementsResponse; - isSDK(o: any): o is QueryPacketAcknowledgementsResponseSDKType; - isAmino(o: any): o is QueryPacketAcknowledgementsResponseAmino; - encode(message: QueryPacketAcknowledgementsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryPacketAcknowledgementsResponse; - fromJSON(object: any): QueryPacketAcknowledgementsResponse; - toJSON(message: QueryPacketAcknowledgementsResponse): unknown; - fromPartial(object: DeepPartial): QueryPacketAcknowledgementsResponse; - fromSDK(object: QueryPacketAcknowledgementsResponseSDKType): QueryPacketAcknowledgementsResponse; - toSDK(message: QueryPacketAcknowledgementsResponse): QueryPacketAcknowledgementsResponseSDKType; - fromAmino(object: QueryPacketAcknowledgementsResponseAmino): QueryPacketAcknowledgementsResponse; - toAmino(message: QueryPacketAcknowledgementsResponse): QueryPacketAcknowledgementsResponseAmino; - fromAminoMsg(object: QueryPacketAcknowledgementsResponseAminoMsg): QueryPacketAcknowledgementsResponse; - toAminoMsg(message: QueryPacketAcknowledgementsResponse): QueryPacketAcknowledgementsResponseAminoMsg; - fromProtoMsg(message: QueryPacketAcknowledgementsResponseProtoMsg): QueryPacketAcknowledgementsResponse; - toProto(message: QueryPacketAcknowledgementsResponse): Uint8Array; - toProtoMsg(message: QueryPacketAcknowledgementsResponse): QueryPacketAcknowledgementsResponseProtoMsg; -}; -export declare const QueryUnreceivedPacketsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryUnreceivedPacketsRequest; - isSDK(o: any): o is QueryUnreceivedPacketsRequestSDKType; - isAmino(o: any): o is QueryUnreceivedPacketsRequestAmino; - encode(message: QueryUnreceivedPacketsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryUnreceivedPacketsRequest; - fromJSON(object: any): QueryUnreceivedPacketsRequest; - toJSON(message: QueryUnreceivedPacketsRequest): unknown; - fromPartial(object: DeepPartial): QueryUnreceivedPacketsRequest; - fromSDK(object: QueryUnreceivedPacketsRequestSDKType): QueryUnreceivedPacketsRequest; - toSDK(message: QueryUnreceivedPacketsRequest): QueryUnreceivedPacketsRequestSDKType; - fromAmino(object: QueryUnreceivedPacketsRequestAmino): QueryUnreceivedPacketsRequest; - toAmino(message: QueryUnreceivedPacketsRequest): QueryUnreceivedPacketsRequestAmino; - fromAminoMsg(object: QueryUnreceivedPacketsRequestAminoMsg): QueryUnreceivedPacketsRequest; - toAminoMsg(message: QueryUnreceivedPacketsRequest): QueryUnreceivedPacketsRequestAminoMsg; - fromProtoMsg(message: QueryUnreceivedPacketsRequestProtoMsg): QueryUnreceivedPacketsRequest; - toProto(message: QueryUnreceivedPacketsRequest): Uint8Array; - toProtoMsg(message: QueryUnreceivedPacketsRequest): QueryUnreceivedPacketsRequestProtoMsg; -}; -export declare const QueryUnreceivedPacketsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryUnreceivedPacketsResponse; - isSDK(o: any): o is QueryUnreceivedPacketsResponseSDKType; - isAmino(o: any): o is QueryUnreceivedPacketsResponseAmino; - encode(message: QueryUnreceivedPacketsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryUnreceivedPacketsResponse; - fromJSON(object: any): QueryUnreceivedPacketsResponse; - toJSON(message: QueryUnreceivedPacketsResponse): unknown; - fromPartial(object: DeepPartial): QueryUnreceivedPacketsResponse; - fromSDK(object: QueryUnreceivedPacketsResponseSDKType): QueryUnreceivedPacketsResponse; - toSDK(message: QueryUnreceivedPacketsResponse): QueryUnreceivedPacketsResponseSDKType; - fromAmino(object: QueryUnreceivedPacketsResponseAmino): QueryUnreceivedPacketsResponse; - toAmino(message: QueryUnreceivedPacketsResponse): QueryUnreceivedPacketsResponseAmino; - fromAminoMsg(object: QueryUnreceivedPacketsResponseAminoMsg): QueryUnreceivedPacketsResponse; - toAminoMsg(message: QueryUnreceivedPacketsResponse): QueryUnreceivedPacketsResponseAminoMsg; - fromProtoMsg(message: QueryUnreceivedPacketsResponseProtoMsg): QueryUnreceivedPacketsResponse; - toProto(message: QueryUnreceivedPacketsResponse): Uint8Array; - toProtoMsg(message: QueryUnreceivedPacketsResponse): QueryUnreceivedPacketsResponseProtoMsg; -}; -export declare const QueryUnreceivedAcksRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryUnreceivedAcksRequest; - isSDK(o: any): o is QueryUnreceivedAcksRequestSDKType; - isAmino(o: any): o is QueryUnreceivedAcksRequestAmino; - encode(message: QueryUnreceivedAcksRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryUnreceivedAcksRequest; - fromJSON(object: any): QueryUnreceivedAcksRequest; - toJSON(message: QueryUnreceivedAcksRequest): unknown; - fromPartial(object: DeepPartial): QueryUnreceivedAcksRequest; - fromSDK(object: QueryUnreceivedAcksRequestSDKType): QueryUnreceivedAcksRequest; - toSDK(message: QueryUnreceivedAcksRequest): QueryUnreceivedAcksRequestSDKType; - fromAmino(object: QueryUnreceivedAcksRequestAmino): QueryUnreceivedAcksRequest; - toAmino(message: QueryUnreceivedAcksRequest): QueryUnreceivedAcksRequestAmino; - fromAminoMsg(object: QueryUnreceivedAcksRequestAminoMsg): QueryUnreceivedAcksRequest; - toAminoMsg(message: QueryUnreceivedAcksRequest): QueryUnreceivedAcksRequestAminoMsg; - fromProtoMsg(message: QueryUnreceivedAcksRequestProtoMsg): QueryUnreceivedAcksRequest; - toProto(message: QueryUnreceivedAcksRequest): Uint8Array; - toProtoMsg(message: QueryUnreceivedAcksRequest): QueryUnreceivedAcksRequestProtoMsg; -}; -export declare const QueryUnreceivedAcksResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryUnreceivedAcksResponse; - isSDK(o: any): o is QueryUnreceivedAcksResponseSDKType; - isAmino(o: any): o is QueryUnreceivedAcksResponseAmino; - encode(message: QueryUnreceivedAcksResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryUnreceivedAcksResponse; - fromJSON(object: any): QueryUnreceivedAcksResponse; - toJSON(message: QueryUnreceivedAcksResponse): unknown; - fromPartial(object: DeepPartial): QueryUnreceivedAcksResponse; - fromSDK(object: QueryUnreceivedAcksResponseSDKType): QueryUnreceivedAcksResponse; - toSDK(message: QueryUnreceivedAcksResponse): QueryUnreceivedAcksResponseSDKType; - fromAmino(object: QueryUnreceivedAcksResponseAmino): QueryUnreceivedAcksResponse; - toAmino(message: QueryUnreceivedAcksResponse): QueryUnreceivedAcksResponseAmino; - fromAminoMsg(object: QueryUnreceivedAcksResponseAminoMsg): QueryUnreceivedAcksResponse; - toAminoMsg(message: QueryUnreceivedAcksResponse): QueryUnreceivedAcksResponseAminoMsg; - fromProtoMsg(message: QueryUnreceivedAcksResponseProtoMsg): QueryUnreceivedAcksResponse; - toProto(message: QueryUnreceivedAcksResponse): Uint8Array; - toProtoMsg(message: QueryUnreceivedAcksResponse): QueryUnreceivedAcksResponseProtoMsg; -}; -export declare const QueryNextSequenceReceiveRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryNextSequenceReceiveRequest; - isSDK(o: any): o is QueryNextSequenceReceiveRequestSDKType; - isAmino(o: any): o is QueryNextSequenceReceiveRequestAmino; - encode(message: QueryNextSequenceReceiveRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryNextSequenceReceiveRequest; - fromJSON(object: any): QueryNextSequenceReceiveRequest; - toJSON(message: QueryNextSequenceReceiveRequest): unknown; - fromPartial(object: DeepPartial): QueryNextSequenceReceiveRequest; - fromSDK(object: QueryNextSequenceReceiveRequestSDKType): QueryNextSequenceReceiveRequest; - toSDK(message: QueryNextSequenceReceiveRequest): QueryNextSequenceReceiveRequestSDKType; - fromAmino(object: QueryNextSequenceReceiveRequestAmino): QueryNextSequenceReceiveRequest; - toAmino(message: QueryNextSequenceReceiveRequest): QueryNextSequenceReceiveRequestAmino; - fromAminoMsg(object: QueryNextSequenceReceiveRequestAminoMsg): QueryNextSequenceReceiveRequest; - toAminoMsg(message: QueryNextSequenceReceiveRequest): QueryNextSequenceReceiveRequestAminoMsg; - fromProtoMsg(message: QueryNextSequenceReceiveRequestProtoMsg): QueryNextSequenceReceiveRequest; - toProto(message: QueryNextSequenceReceiveRequest): Uint8Array; - toProtoMsg(message: QueryNextSequenceReceiveRequest): QueryNextSequenceReceiveRequestProtoMsg; -}; -export declare const QueryNextSequenceReceiveResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryNextSequenceReceiveResponse; - isSDK(o: any): o is QueryNextSequenceReceiveResponseSDKType; - isAmino(o: any): o is QueryNextSequenceReceiveResponseAmino; - encode(message: QueryNextSequenceReceiveResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryNextSequenceReceiveResponse; - fromJSON(object: any): QueryNextSequenceReceiveResponse; - toJSON(message: QueryNextSequenceReceiveResponse): unknown; - fromPartial(object: DeepPartial): QueryNextSequenceReceiveResponse; - fromSDK(object: QueryNextSequenceReceiveResponseSDKType): QueryNextSequenceReceiveResponse; - toSDK(message: QueryNextSequenceReceiveResponse): QueryNextSequenceReceiveResponseSDKType; - fromAmino(object: QueryNextSequenceReceiveResponseAmino): QueryNextSequenceReceiveResponse; - toAmino(message: QueryNextSequenceReceiveResponse): QueryNextSequenceReceiveResponseAmino; - fromAminoMsg(object: QueryNextSequenceReceiveResponseAminoMsg): QueryNextSequenceReceiveResponse; - toAminoMsg(message: QueryNextSequenceReceiveResponse): QueryNextSequenceReceiveResponseAminoMsg; - fromProtoMsg(message: QueryNextSequenceReceiveResponseProtoMsg): QueryNextSequenceReceiveResponse; - toProto(message: QueryNextSequenceReceiveResponse): Uint8Array; - toProtoMsg(message: QueryNextSequenceReceiveResponse): QueryNextSequenceReceiveResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/core/channel/v1/query.rpc.Query.d.ts b/examples/authz/types/codegen/ibc/core/channel/v1/query.rpc.Query.d.ts deleted file mode 100644 index 1230b999..00000000 --- a/examples/authz/types/codegen/ibc/core/channel/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,274 +0,0 @@ -import { TxRpc } from "../../../../types"; -import { ReactQueryParams } from "../../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../../mobx"; -import { QueryChannelRequest, QueryChannelResponse, QueryChannelsRequest, QueryChannelsResponse, QueryConnectionChannelsRequest, QueryConnectionChannelsResponse, QueryChannelClientStateRequest, QueryChannelClientStateResponse, QueryChannelConsensusStateRequest, QueryChannelConsensusStateResponse, QueryPacketCommitmentRequest, QueryPacketCommitmentResponse, QueryPacketCommitmentsRequest, QueryPacketCommitmentsResponse, QueryPacketReceiptRequest, QueryPacketReceiptResponse, QueryPacketAcknowledgementRequest, QueryPacketAcknowledgementResponse, QueryPacketAcknowledgementsRequest, QueryPacketAcknowledgementsResponse, QueryUnreceivedPacketsRequest, QueryUnreceivedPacketsResponse, QueryUnreceivedAcksRequest, QueryUnreceivedAcksResponse, QueryNextSequenceReceiveRequest, QueryNextSequenceReceiveResponse } from "./query"; -/** Query provides defines the gRPC querier service */ -export interface Query { - /** Channel queries an IBC Channel. */ - channel(request: QueryChannelRequest): Promise; - /** Channels queries all the IBC channels of a chain. */ - channels(request?: QueryChannelsRequest): Promise; - /** - * ConnectionChannels queries all the channels associated with a connection - * end. - */ - connectionChannels(request: QueryConnectionChannelsRequest): Promise; - /** - * ChannelClientState queries for the client state for the channel associated - * with the provided channel identifiers. - */ - channelClientState(request: QueryChannelClientStateRequest): Promise; - /** - * ChannelConsensusState queries for the consensus state for the channel - * associated with the provided channel identifiers. - */ - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise; - /** PacketCommitment queries a stored packet commitment hash. */ - packetCommitment(request: QueryPacketCommitmentRequest): Promise; - /** - * PacketCommitments returns all the packet commitments hashes associated - * with a channel. - */ - packetCommitments(request: QueryPacketCommitmentsRequest): Promise; - /** - * PacketReceipt queries if a given packet sequence has been received on the - * queried chain - */ - packetReceipt(request: QueryPacketReceiptRequest): Promise; - /** PacketAcknowledgement queries a stored packet acknowledgement hash. */ - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise; - /** - * PacketAcknowledgements returns all the packet acknowledgements associated - * with a channel. - */ - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise; - /** - * UnreceivedPackets returns all the unreceived IBC packets associated with a - * channel and sequences. - */ - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise; - /** - * UnreceivedAcks returns all the unreceived IBC acknowledgements associated - * with a channel and sequences. - */ - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise; - /** NextSequenceReceive returns the next receive sequence for a given channel. */ - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - channel: (request: QueryChannelRequest) => Promise; - channels: (request?: QueryChannelsRequest) => Promise; - connectionChannels: (request: QueryConnectionChannelsRequest) => Promise; - channelClientState: (request: QueryChannelClientStateRequest) => Promise; - channelConsensusState: (request: QueryChannelConsensusStateRequest) => Promise; - packetCommitment: (request: QueryPacketCommitmentRequest) => Promise; - packetCommitments: (request: QueryPacketCommitmentsRequest) => Promise; - packetReceipt: (request: QueryPacketReceiptRequest) => Promise; - packetAcknowledgement: (request: QueryPacketAcknowledgementRequest) => Promise; - packetAcknowledgements: (request: QueryPacketAcknowledgementsRequest) => Promise; - unreceivedPackets: (request: QueryUnreceivedPacketsRequest) => Promise; - unreceivedAcks: (request: QueryUnreceivedAcksRequest) => Promise; - nextSequenceReceive: (request: QueryNextSequenceReceiveRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseChannelQuery extends ReactQueryParams { - request: QueryChannelRequest; -} -export interface UseChannelsQuery extends ReactQueryParams { - request?: QueryChannelsRequest; -} -export interface UseConnectionChannelsQuery extends ReactQueryParams { - request: QueryConnectionChannelsRequest; -} -export interface UseChannelClientStateQuery extends ReactQueryParams { - request: QueryChannelClientStateRequest; -} -export interface UseChannelConsensusStateQuery extends ReactQueryParams { - request: QueryChannelConsensusStateRequest; -} -export interface UsePacketCommitmentQuery extends ReactQueryParams { - request: QueryPacketCommitmentRequest; -} -export interface UsePacketCommitmentsQuery extends ReactQueryParams { - request: QueryPacketCommitmentsRequest; -} -export interface UsePacketReceiptQuery extends ReactQueryParams { - request: QueryPacketReceiptRequest; -} -export interface UsePacketAcknowledgementQuery extends ReactQueryParams { - request: QueryPacketAcknowledgementRequest; -} -export interface UsePacketAcknowledgementsQuery extends ReactQueryParams { - request: QueryPacketAcknowledgementsRequest; -} -export interface UseUnreceivedPacketsQuery extends ReactQueryParams { - request: QueryUnreceivedPacketsRequest; -} -export interface UseUnreceivedAcksQuery extends ReactQueryParams { - request: QueryUnreceivedAcksRequest; -} -export interface UseNextSequenceReceiveQuery extends ReactQueryParams { - request: QueryNextSequenceReceiveRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Channel queries an IBC Channel. */ useChannel: ({ request, options }: UseChannelQuery) => import("@tanstack/react-query").UseQueryResult; - /** Channels queries all the IBC channels of a chain. */ useChannels: ({ request, options }: UseChannelsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * ConnectionChannels queries all the channels associated with a connection - * end. - */ - useConnectionChannels: ({ request, options }: UseConnectionChannelsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * ChannelClientState queries for the client state for the channel associated - * with the provided channel identifiers. - */ - useChannelClientState: ({ request, options }: UseChannelClientStateQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * ChannelConsensusState queries for the consensus state for the channel - * associated with the provided channel identifiers. - */ - useChannelConsensusState: ({ request, options }: UseChannelConsensusStateQuery) => import("@tanstack/react-query").UseQueryResult; - /** PacketCommitment queries a stored packet commitment hash. */ usePacketCommitment: ({ request, options }: UsePacketCommitmentQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * PacketCommitments returns all the packet commitments hashes associated - * with a channel. - */ - usePacketCommitments: ({ request, options }: UsePacketCommitmentsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * PacketReceipt queries if a given packet sequence has been received on the - * queried chain - */ - usePacketReceipt: ({ request, options }: UsePacketReceiptQuery) => import("@tanstack/react-query").UseQueryResult; - /** PacketAcknowledgement queries a stored packet acknowledgement hash. */ usePacketAcknowledgement: ({ request, options }: UsePacketAcknowledgementQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * PacketAcknowledgements returns all the packet acknowledgements associated - * with a channel. - */ - usePacketAcknowledgements: ({ request, options }: UsePacketAcknowledgementsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * UnreceivedPackets returns all the unreceived IBC packets associated with a - * channel and sequences. - */ - useUnreceivedPackets: ({ request, options }: UseUnreceivedPacketsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * UnreceivedAcks returns all the unreceived IBC acknowledgements associated - * with a channel and sequences. - */ - useUnreceivedAcks: ({ request, options }: UseUnreceivedAcksQuery) => import("@tanstack/react-query").UseQueryResult; - /** NextSequenceReceive returns the next receive sequence for a given channel. */ useNextSequenceReceive: ({ request, options }: UseNextSequenceReceiveQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Channel queries an IBC Channel. */ QueryChannelStore: { - new (): { - store: QueryStore; - channel(request: QueryChannelRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** Channels queries all the IBC channels of a chain. */ QueryChannelsStore: { - new (): { - store: QueryStore; - channels(request: QueryChannelsRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** - * ConnectionChannels queries all the channels associated with a connection - * end. - */ - QueryConnectionChannelsStore: { - new (): { - store: QueryStore; - connectionChannels(request: QueryConnectionChannelsRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** - * ChannelClientState queries for the client state for the channel associated - * with the provided channel identifiers. - */ - QueryChannelClientStateStore: { - new (): { - store: QueryStore; - channelClientState(request: QueryChannelClientStateRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** - * ChannelConsensusState queries for the consensus state for the channel - * associated with the provided channel identifiers. - */ - QueryChannelConsensusStateStore: { - new (): { - store: QueryStore; - channelConsensusState(request: QueryChannelConsensusStateRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** PacketCommitment queries a stored packet commitment hash. */ QueryPacketCommitmentStore: { - new (): { - store: QueryStore; - packetCommitment(request: QueryPacketCommitmentRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** - * PacketCommitments returns all the packet commitments hashes associated - * with a channel. - */ - QueryPacketCommitmentsStore: { - new (): { - store: QueryStore; - packetCommitments(request: QueryPacketCommitmentsRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** - * PacketReceipt queries if a given packet sequence has been received on the - * queried chain - */ - QueryPacketReceiptStore: { - new (): { - store: QueryStore; - packetReceipt(request: QueryPacketReceiptRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** PacketAcknowledgement queries a stored packet acknowledgement hash. */ QueryPacketAcknowledgementStore: { - new (): { - store: QueryStore; - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** - * PacketAcknowledgements returns all the packet acknowledgements associated - * with a channel. - */ - QueryPacketAcknowledgementsStore: { - new (): { - store: QueryStore; - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** - * UnreceivedPackets returns all the unreceived IBC packets associated with a - * channel and sequences. - */ - QueryUnreceivedPacketsStore: { - new (): { - store: QueryStore; - unreceivedPackets(request: QueryUnreceivedPacketsRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** - * UnreceivedAcks returns all the unreceived IBC acknowledgements associated - * with a channel and sequences. - */ - QueryUnreceivedAcksStore: { - new (): { - store: QueryStore; - unreceivedAcks(request: QueryUnreceivedAcksRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** NextSequenceReceive returns the next receive sequence for a given channel. */ QueryNextSequenceReceiveStore: { - new (): { - store: QueryStore; - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): import("../../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/ibc/core/channel/v1/tx.amino.d.ts b/examples/authz/types/codegen/ibc/core/channel/v1/tx.amino.d.ts deleted file mode 100644 index f54a2a08..00000000 --- a/examples/authz/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; -export declare const AminoConverter: { - "/ibc.core.channel.v1.MsgChannelOpenInit": { - aminoType: string; - toAmino: (message: MsgChannelOpenInit) => import("./tx").MsgChannelOpenInitAmino; - fromAmino: (object: import("./tx").MsgChannelOpenInitAmino) => MsgChannelOpenInit; - }; - "/ibc.core.channel.v1.MsgChannelOpenTry": { - aminoType: string; - toAmino: (message: MsgChannelOpenTry) => import("./tx").MsgChannelOpenTryAmino; - fromAmino: (object: import("./tx").MsgChannelOpenTryAmino) => MsgChannelOpenTry; - }; - "/ibc.core.channel.v1.MsgChannelOpenAck": { - aminoType: string; - toAmino: (message: MsgChannelOpenAck) => import("./tx").MsgChannelOpenAckAmino; - fromAmino: (object: import("./tx").MsgChannelOpenAckAmino) => MsgChannelOpenAck; - }; - "/ibc.core.channel.v1.MsgChannelOpenConfirm": { - aminoType: string; - toAmino: (message: MsgChannelOpenConfirm) => import("./tx").MsgChannelOpenConfirmAmino; - fromAmino: (object: import("./tx").MsgChannelOpenConfirmAmino) => MsgChannelOpenConfirm; - }; - "/ibc.core.channel.v1.MsgChannelCloseInit": { - aminoType: string; - toAmino: (message: MsgChannelCloseInit) => import("./tx").MsgChannelCloseInitAmino; - fromAmino: (object: import("./tx").MsgChannelCloseInitAmino) => MsgChannelCloseInit; - }; - "/ibc.core.channel.v1.MsgChannelCloseConfirm": { - aminoType: string; - toAmino: (message: MsgChannelCloseConfirm) => import("./tx").MsgChannelCloseConfirmAmino; - fromAmino: (object: import("./tx").MsgChannelCloseConfirmAmino) => MsgChannelCloseConfirm; - }; - "/ibc.core.channel.v1.MsgRecvPacket": { - aminoType: string; - toAmino: (message: MsgRecvPacket) => import("./tx").MsgRecvPacketAmino; - fromAmino: (object: import("./tx").MsgRecvPacketAmino) => MsgRecvPacket; - }; - "/ibc.core.channel.v1.MsgTimeout": { - aminoType: string; - toAmino: (message: MsgTimeout) => import("./tx").MsgTimeoutAmino; - fromAmino: (object: import("./tx").MsgTimeoutAmino) => MsgTimeout; - }; - "/ibc.core.channel.v1.MsgTimeoutOnClose": { - aminoType: string; - toAmino: (message: MsgTimeoutOnClose) => import("./tx").MsgTimeoutOnCloseAmino; - fromAmino: (object: import("./tx").MsgTimeoutOnCloseAmino) => MsgTimeoutOnClose; - }; - "/ibc.core.channel.v1.MsgAcknowledgement": { - aminoType: string; - toAmino: (message: MsgAcknowledgement) => import("./tx").MsgAcknowledgementAmino; - fromAmino: (object: import("./tx").MsgAcknowledgementAmino) => MsgAcknowledgement; - }; -}; diff --git a/examples/authz/types/codegen/ibc/core/channel/v1/tx.d.ts b/examples/authz/types/codegen/ibc/core/channel/v1/tx.d.ts deleted file mode 100644 index f09e6bb7..00000000 --- a/examples/authz/types/codegen/ibc/core/channel/v1/tx.d.ts +++ /dev/null @@ -1,994 +0,0 @@ -import { Channel, ChannelAmino, ChannelSDKType, Packet, PacketAmino, PacketSDKType } from "./channel"; -import { Height, HeightAmino, HeightSDKType } from "../../client/v1/client"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It - * is called by a relayer on Chain A. - */ -export interface MsgChannelOpenInit { - portId: string; - channel: Channel | undefined; - signer: string; -} -export interface MsgChannelOpenInitProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInit"; - value: Uint8Array; -} -/** - * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It - * is called by a relayer on Chain A. - */ -export interface MsgChannelOpenInitAmino { - port_id?: string; - channel?: ChannelAmino | undefined; - signer?: string; -} -export interface MsgChannelOpenInitAminoMsg { - type: "cosmos-sdk/MsgChannelOpenInit"; - value: MsgChannelOpenInitAmino; -} -/** - * MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It - * is called by a relayer on Chain A. - */ -export interface MsgChannelOpenInitSDKType { - port_id: string; - channel: ChannelSDKType | undefined; - signer: string; -} -/** MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. */ -export interface MsgChannelOpenInitResponse { -} -export interface MsgChannelOpenInitResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenInitResponse"; - value: Uint8Array; -} -/** MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. */ -export interface MsgChannelOpenInitResponseAmino { -} -export interface MsgChannelOpenInitResponseAminoMsg { - type: "cosmos-sdk/MsgChannelOpenInitResponse"; - value: MsgChannelOpenInitResponseAmino; -} -/** MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. */ -export interface MsgChannelOpenInitResponseSDKType { -} -/** - * MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel - * on Chain B. - */ -export interface MsgChannelOpenTry { - portId: string; - /** - * in the case of crossing hello's, when both chains call OpenInit, we need - * the channel identifier of the previous channel in state INIT - */ - previousChannelId: string; - channel: Channel | undefined; - counterpartyVersion: string; - proofInit: Uint8Array; - proofHeight: Height | undefined; - signer: string; -} -export interface MsgChannelOpenTryProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTry"; - value: Uint8Array; -} -/** - * MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel - * on Chain B. - */ -export interface MsgChannelOpenTryAmino { - port_id?: string; - /** - * in the case of crossing hello's, when both chains call OpenInit, we need - * the channel identifier of the previous channel in state INIT - */ - previous_channel_id?: string; - channel?: ChannelAmino | undefined; - counterparty_version?: string; - proof_init?: string; - proof_height?: HeightAmino | undefined; - signer?: string; -} -export interface MsgChannelOpenTryAminoMsg { - type: "cosmos-sdk/MsgChannelOpenTry"; - value: MsgChannelOpenTryAmino; -} -/** - * MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel - * on Chain B. - */ -export interface MsgChannelOpenTrySDKType { - port_id: string; - previous_channel_id: string; - channel: ChannelSDKType | undefined; - counterparty_version: string; - proof_init: Uint8Array; - proof_height: HeightSDKType | undefined; - signer: string; -} -/** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */ -export interface MsgChannelOpenTryResponse { -} -export interface MsgChannelOpenTryResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenTryResponse"; - value: Uint8Array; -} -/** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */ -export interface MsgChannelOpenTryResponseAmino { -} -export interface MsgChannelOpenTryResponseAminoMsg { - type: "cosmos-sdk/MsgChannelOpenTryResponse"; - value: MsgChannelOpenTryResponseAmino; -} -/** MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. */ -export interface MsgChannelOpenTryResponseSDKType { -} -/** - * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge - * the change of channel state to TRYOPEN on Chain B. - */ -export interface MsgChannelOpenAck { - portId: string; - channelId: string; - counterpartyChannelId: string; - counterpartyVersion: string; - proofTry: Uint8Array; - proofHeight: Height | undefined; - signer: string; -} -export interface MsgChannelOpenAckProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAck"; - value: Uint8Array; -} -/** - * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge - * the change of channel state to TRYOPEN on Chain B. - */ -export interface MsgChannelOpenAckAmino { - port_id?: string; - channel_id?: string; - counterparty_channel_id?: string; - counterparty_version?: string; - proof_try?: string; - proof_height?: HeightAmino | undefined; - signer?: string; -} -export interface MsgChannelOpenAckAminoMsg { - type: "cosmos-sdk/MsgChannelOpenAck"; - value: MsgChannelOpenAckAmino; -} -/** - * MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge - * the change of channel state to TRYOPEN on Chain B. - */ -export interface MsgChannelOpenAckSDKType { - port_id: string; - channel_id: string; - counterparty_channel_id: string; - counterparty_version: string; - proof_try: Uint8Array; - proof_height: HeightSDKType | undefined; - signer: string; -} -/** MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. */ -export interface MsgChannelOpenAckResponse { -} -export interface MsgChannelOpenAckResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenAckResponse"; - value: Uint8Array; -} -/** MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. */ -export interface MsgChannelOpenAckResponseAmino { -} -export interface MsgChannelOpenAckResponseAminoMsg { - type: "cosmos-sdk/MsgChannelOpenAckResponse"; - value: MsgChannelOpenAckResponseAmino; -} -/** MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. */ -export interface MsgChannelOpenAckResponseSDKType { -} -/** - * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to - * acknowledge the change of channel state to OPEN on Chain A. - */ -export interface MsgChannelOpenConfirm { - portId: string; - channelId: string; - proofAck: Uint8Array; - proofHeight: Height | undefined; - signer: string; -} -export interface MsgChannelOpenConfirmProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirm"; - value: Uint8Array; -} -/** - * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to - * acknowledge the change of channel state to OPEN on Chain A. - */ -export interface MsgChannelOpenConfirmAmino { - port_id?: string; - channel_id?: string; - proof_ack?: string; - proof_height?: HeightAmino | undefined; - signer?: string; -} -export interface MsgChannelOpenConfirmAminoMsg { - type: "cosmos-sdk/MsgChannelOpenConfirm"; - value: MsgChannelOpenConfirmAmino; -} -/** - * MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to - * acknowledge the change of channel state to OPEN on Chain A. - */ -export interface MsgChannelOpenConfirmSDKType { - port_id: string; - channel_id: string; - proof_ack: Uint8Array; - proof_height: HeightSDKType | undefined; - signer: string; -} -/** - * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response - * type. - */ -export interface MsgChannelOpenConfirmResponse { -} -export interface MsgChannelOpenConfirmResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgChannelOpenConfirmResponse"; - value: Uint8Array; -} -/** - * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response - * type. - */ -export interface MsgChannelOpenConfirmResponseAmino { -} -export interface MsgChannelOpenConfirmResponseAminoMsg { - type: "cosmos-sdk/MsgChannelOpenConfirmResponse"; - value: MsgChannelOpenConfirmResponseAmino; -} -/** - * MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response - * type. - */ -export interface MsgChannelOpenConfirmResponseSDKType { -} -/** - * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A - * to close a channel with Chain B. - */ -export interface MsgChannelCloseInit { - portId: string; - channelId: string; - signer: string; -} -export interface MsgChannelCloseInitProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInit"; - value: Uint8Array; -} -/** - * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A - * to close a channel with Chain B. - */ -export interface MsgChannelCloseInitAmino { - port_id?: string; - channel_id?: string; - signer?: string; -} -export interface MsgChannelCloseInitAminoMsg { - type: "cosmos-sdk/MsgChannelCloseInit"; - value: MsgChannelCloseInitAmino; -} -/** - * MsgChannelCloseInit defines a msg sent by a Relayer to Chain A - * to close a channel with Chain B. - */ -export interface MsgChannelCloseInitSDKType { - port_id: string; - channel_id: string; - signer: string; -} -/** MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. */ -export interface MsgChannelCloseInitResponse { -} -export interface MsgChannelCloseInitResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgChannelCloseInitResponse"; - value: Uint8Array; -} -/** MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. */ -export interface MsgChannelCloseInitResponseAmino { -} -export interface MsgChannelCloseInitResponseAminoMsg { - type: "cosmos-sdk/MsgChannelCloseInitResponse"; - value: MsgChannelCloseInitResponseAmino; -} -/** MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. */ -export interface MsgChannelCloseInitResponseSDKType { -} -/** - * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B - * to acknowledge the change of channel state to CLOSED on Chain A. - */ -export interface MsgChannelCloseConfirm { - portId: string; - channelId: string; - proofInit: Uint8Array; - proofHeight: Height | undefined; - signer: string; -} -export interface MsgChannelCloseConfirmProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirm"; - value: Uint8Array; -} -/** - * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B - * to acknowledge the change of channel state to CLOSED on Chain A. - */ -export interface MsgChannelCloseConfirmAmino { - port_id?: string; - channel_id?: string; - proof_init?: string; - proof_height?: HeightAmino | undefined; - signer?: string; -} -export interface MsgChannelCloseConfirmAminoMsg { - type: "cosmos-sdk/MsgChannelCloseConfirm"; - value: MsgChannelCloseConfirmAmino; -} -/** - * MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B - * to acknowledge the change of channel state to CLOSED on Chain A. - */ -export interface MsgChannelCloseConfirmSDKType { - port_id: string; - channel_id: string; - proof_init: Uint8Array; - proof_height: HeightSDKType | undefined; - signer: string; -} -/** - * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response - * type. - */ -export interface MsgChannelCloseConfirmResponse { -} -export interface MsgChannelCloseConfirmResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgChannelCloseConfirmResponse"; - value: Uint8Array; -} -/** - * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response - * type. - */ -export interface MsgChannelCloseConfirmResponseAmino { -} -export interface MsgChannelCloseConfirmResponseAminoMsg { - type: "cosmos-sdk/MsgChannelCloseConfirmResponse"; - value: MsgChannelCloseConfirmResponseAmino; -} -/** - * MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response - * type. - */ -export interface MsgChannelCloseConfirmResponseSDKType { -} -/** MsgRecvPacket receives incoming IBC packet */ -export interface MsgRecvPacket { - packet: Packet | undefined; - proofCommitment: Uint8Array; - proofHeight: Height | undefined; - signer: string; -} -export interface MsgRecvPacketProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgRecvPacket"; - value: Uint8Array; -} -/** MsgRecvPacket receives incoming IBC packet */ -export interface MsgRecvPacketAmino { - packet?: PacketAmino | undefined; - proof_commitment?: string; - proof_height?: HeightAmino | undefined; - signer?: string; -} -export interface MsgRecvPacketAminoMsg { - type: "cosmos-sdk/MsgRecvPacket"; - value: MsgRecvPacketAmino; -} -/** MsgRecvPacket receives incoming IBC packet */ -export interface MsgRecvPacketSDKType { - packet: PacketSDKType | undefined; - proof_commitment: Uint8Array; - proof_height: HeightSDKType | undefined; - signer: string; -} -/** MsgRecvPacketResponse defines the Msg/RecvPacket response type. */ -export interface MsgRecvPacketResponse { -} -export interface MsgRecvPacketResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgRecvPacketResponse"; - value: Uint8Array; -} -/** MsgRecvPacketResponse defines the Msg/RecvPacket response type. */ -export interface MsgRecvPacketResponseAmino { -} -export interface MsgRecvPacketResponseAminoMsg { - type: "cosmos-sdk/MsgRecvPacketResponse"; - value: MsgRecvPacketResponseAmino; -} -/** MsgRecvPacketResponse defines the Msg/RecvPacket response type. */ -export interface MsgRecvPacketResponseSDKType { -} -/** MsgTimeout receives timed-out packet */ -export interface MsgTimeout { - packet: Packet | undefined; - proofUnreceived: Uint8Array; - proofHeight: Height | undefined; - nextSequenceRecv: bigint; - signer: string; -} -export interface MsgTimeoutProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgTimeout"; - value: Uint8Array; -} -/** MsgTimeout receives timed-out packet */ -export interface MsgTimeoutAmino { - packet?: PacketAmino | undefined; - proof_unreceived?: string; - proof_height?: HeightAmino | undefined; - next_sequence_recv?: string; - signer?: string; -} -export interface MsgTimeoutAminoMsg { - type: "cosmos-sdk/MsgTimeout"; - value: MsgTimeoutAmino; -} -/** MsgTimeout receives timed-out packet */ -export interface MsgTimeoutSDKType { - packet: PacketSDKType | undefined; - proof_unreceived: Uint8Array; - proof_height: HeightSDKType | undefined; - next_sequence_recv: bigint; - signer: string; -} -/** MsgTimeoutResponse defines the Msg/Timeout response type. */ -export interface MsgTimeoutResponse { -} -export interface MsgTimeoutResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgTimeoutResponse"; - value: Uint8Array; -} -/** MsgTimeoutResponse defines the Msg/Timeout response type. */ -export interface MsgTimeoutResponseAmino { -} -export interface MsgTimeoutResponseAminoMsg { - type: "cosmos-sdk/MsgTimeoutResponse"; - value: MsgTimeoutResponseAmino; -} -/** MsgTimeoutResponse defines the Msg/Timeout response type. */ -export interface MsgTimeoutResponseSDKType { -} -/** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ -export interface MsgTimeoutOnClose { - packet: Packet | undefined; - proofUnreceived: Uint8Array; - proofClose: Uint8Array; - proofHeight: Height | undefined; - nextSequenceRecv: bigint; - signer: string; -} -export interface MsgTimeoutOnCloseProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnClose"; - value: Uint8Array; -} -/** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ -export interface MsgTimeoutOnCloseAmino { - packet?: PacketAmino | undefined; - proof_unreceived?: string; - proof_close?: string; - proof_height?: HeightAmino | undefined; - next_sequence_recv?: string; - signer?: string; -} -export interface MsgTimeoutOnCloseAminoMsg { - type: "cosmos-sdk/MsgTimeoutOnClose"; - value: MsgTimeoutOnCloseAmino; -} -/** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ -export interface MsgTimeoutOnCloseSDKType { - packet: PacketSDKType | undefined; - proof_unreceived: Uint8Array; - proof_close: Uint8Array; - proof_height: HeightSDKType | undefined; - next_sequence_recv: bigint; - signer: string; -} -/** MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. */ -export interface MsgTimeoutOnCloseResponse { -} -export interface MsgTimeoutOnCloseResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgTimeoutOnCloseResponse"; - value: Uint8Array; -} -/** MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. */ -export interface MsgTimeoutOnCloseResponseAmino { -} -export interface MsgTimeoutOnCloseResponseAminoMsg { - type: "cosmos-sdk/MsgTimeoutOnCloseResponse"; - value: MsgTimeoutOnCloseResponseAmino; -} -/** MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. */ -export interface MsgTimeoutOnCloseResponseSDKType { -} -/** MsgAcknowledgement receives incoming IBC acknowledgement */ -export interface MsgAcknowledgement { - packet: Packet | undefined; - acknowledgement: Uint8Array; - proofAcked: Uint8Array; - proofHeight: Height | undefined; - signer: string; -} -export interface MsgAcknowledgementProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgAcknowledgement"; - value: Uint8Array; -} -/** MsgAcknowledgement receives incoming IBC acknowledgement */ -export interface MsgAcknowledgementAmino { - packet?: PacketAmino | undefined; - acknowledgement?: string; - proof_acked?: string; - proof_height?: HeightAmino | undefined; - signer?: string; -} -export interface MsgAcknowledgementAminoMsg { - type: "cosmos-sdk/MsgAcknowledgement"; - value: MsgAcknowledgementAmino; -} -/** MsgAcknowledgement receives incoming IBC acknowledgement */ -export interface MsgAcknowledgementSDKType { - packet: PacketSDKType | undefined; - acknowledgement: Uint8Array; - proof_acked: Uint8Array; - proof_height: HeightSDKType | undefined; - signer: string; -} -/** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ -export interface MsgAcknowledgementResponse { -} -export interface MsgAcknowledgementResponseProtoMsg { - typeUrl: "/ibc.core.channel.v1.MsgAcknowledgementResponse"; - value: Uint8Array; -} -/** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ -export interface MsgAcknowledgementResponseAmino { -} -export interface MsgAcknowledgementResponseAminoMsg { - type: "cosmos-sdk/MsgAcknowledgementResponse"; - value: MsgAcknowledgementResponseAmino; -} -/** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ -export interface MsgAcknowledgementResponseSDKType { -} -export declare const MsgChannelOpenInit: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgChannelOpenInit; - isSDK(o: any): o is MsgChannelOpenInitSDKType; - isAmino(o: any): o is MsgChannelOpenInitAmino; - encode(message: MsgChannelOpenInit, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelOpenInit; - fromJSON(object: any): MsgChannelOpenInit; - toJSON(message: MsgChannelOpenInit): unknown; - fromPartial(object: DeepPartial): MsgChannelOpenInit; - fromSDK(object: MsgChannelOpenInitSDKType): MsgChannelOpenInit; - toSDK(message: MsgChannelOpenInit): MsgChannelOpenInitSDKType; - fromAmino(object: MsgChannelOpenInitAmino): MsgChannelOpenInit; - toAmino(message: MsgChannelOpenInit): MsgChannelOpenInitAmino; - fromAminoMsg(object: MsgChannelOpenInitAminoMsg): MsgChannelOpenInit; - toAminoMsg(message: MsgChannelOpenInit): MsgChannelOpenInitAminoMsg; - fromProtoMsg(message: MsgChannelOpenInitProtoMsg): MsgChannelOpenInit; - toProto(message: MsgChannelOpenInit): Uint8Array; - toProtoMsg(message: MsgChannelOpenInit): MsgChannelOpenInitProtoMsg; -}; -export declare const MsgChannelOpenInitResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgChannelOpenInitResponse; - isSDK(o: any): o is MsgChannelOpenInitResponseSDKType; - isAmino(o: any): o is MsgChannelOpenInitResponseAmino; - encode(_: MsgChannelOpenInitResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelOpenInitResponse; - fromJSON(_: any): MsgChannelOpenInitResponse; - toJSON(_: MsgChannelOpenInitResponse): unknown; - fromPartial(_: DeepPartial): MsgChannelOpenInitResponse; - fromSDK(_: MsgChannelOpenInitResponseSDKType): MsgChannelOpenInitResponse; - toSDK(_: MsgChannelOpenInitResponse): MsgChannelOpenInitResponseSDKType; - fromAmino(_: MsgChannelOpenInitResponseAmino): MsgChannelOpenInitResponse; - toAmino(_: MsgChannelOpenInitResponse): MsgChannelOpenInitResponseAmino; - fromAminoMsg(object: MsgChannelOpenInitResponseAminoMsg): MsgChannelOpenInitResponse; - toAminoMsg(message: MsgChannelOpenInitResponse): MsgChannelOpenInitResponseAminoMsg; - fromProtoMsg(message: MsgChannelOpenInitResponseProtoMsg): MsgChannelOpenInitResponse; - toProto(message: MsgChannelOpenInitResponse): Uint8Array; - toProtoMsg(message: MsgChannelOpenInitResponse): MsgChannelOpenInitResponseProtoMsg; -}; -export declare const MsgChannelOpenTry: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgChannelOpenTry; - isSDK(o: any): o is MsgChannelOpenTrySDKType; - isAmino(o: any): o is MsgChannelOpenTryAmino; - encode(message: MsgChannelOpenTry, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelOpenTry; - fromJSON(object: any): MsgChannelOpenTry; - toJSON(message: MsgChannelOpenTry): unknown; - fromPartial(object: DeepPartial): MsgChannelOpenTry; - fromSDK(object: MsgChannelOpenTrySDKType): MsgChannelOpenTry; - toSDK(message: MsgChannelOpenTry): MsgChannelOpenTrySDKType; - fromAmino(object: MsgChannelOpenTryAmino): MsgChannelOpenTry; - toAmino(message: MsgChannelOpenTry): MsgChannelOpenTryAmino; - fromAminoMsg(object: MsgChannelOpenTryAminoMsg): MsgChannelOpenTry; - toAminoMsg(message: MsgChannelOpenTry): MsgChannelOpenTryAminoMsg; - fromProtoMsg(message: MsgChannelOpenTryProtoMsg): MsgChannelOpenTry; - toProto(message: MsgChannelOpenTry): Uint8Array; - toProtoMsg(message: MsgChannelOpenTry): MsgChannelOpenTryProtoMsg; -}; -export declare const MsgChannelOpenTryResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgChannelOpenTryResponse; - isSDK(o: any): o is MsgChannelOpenTryResponseSDKType; - isAmino(o: any): o is MsgChannelOpenTryResponseAmino; - encode(_: MsgChannelOpenTryResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelOpenTryResponse; - fromJSON(_: any): MsgChannelOpenTryResponse; - toJSON(_: MsgChannelOpenTryResponse): unknown; - fromPartial(_: DeepPartial): MsgChannelOpenTryResponse; - fromSDK(_: MsgChannelOpenTryResponseSDKType): MsgChannelOpenTryResponse; - toSDK(_: MsgChannelOpenTryResponse): MsgChannelOpenTryResponseSDKType; - fromAmino(_: MsgChannelOpenTryResponseAmino): MsgChannelOpenTryResponse; - toAmino(_: MsgChannelOpenTryResponse): MsgChannelOpenTryResponseAmino; - fromAminoMsg(object: MsgChannelOpenTryResponseAminoMsg): MsgChannelOpenTryResponse; - toAminoMsg(message: MsgChannelOpenTryResponse): MsgChannelOpenTryResponseAminoMsg; - fromProtoMsg(message: MsgChannelOpenTryResponseProtoMsg): MsgChannelOpenTryResponse; - toProto(message: MsgChannelOpenTryResponse): Uint8Array; - toProtoMsg(message: MsgChannelOpenTryResponse): MsgChannelOpenTryResponseProtoMsg; -}; -export declare const MsgChannelOpenAck: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgChannelOpenAck; - isSDK(o: any): o is MsgChannelOpenAckSDKType; - isAmino(o: any): o is MsgChannelOpenAckAmino; - encode(message: MsgChannelOpenAck, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelOpenAck; - fromJSON(object: any): MsgChannelOpenAck; - toJSON(message: MsgChannelOpenAck): unknown; - fromPartial(object: DeepPartial): MsgChannelOpenAck; - fromSDK(object: MsgChannelOpenAckSDKType): MsgChannelOpenAck; - toSDK(message: MsgChannelOpenAck): MsgChannelOpenAckSDKType; - fromAmino(object: MsgChannelOpenAckAmino): MsgChannelOpenAck; - toAmino(message: MsgChannelOpenAck): MsgChannelOpenAckAmino; - fromAminoMsg(object: MsgChannelOpenAckAminoMsg): MsgChannelOpenAck; - toAminoMsg(message: MsgChannelOpenAck): MsgChannelOpenAckAminoMsg; - fromProtoMsg(message: MsgChannelOpenAckProtoMsg): MsgChannelOpenAck; - toProto(message: MsgChannelOpenAck): Uint8Array; - toProtoMsg(message: MsgChannelOpenAck): MsgChannelOpenAckProtoMsg; -}; -export declare const MsgChannelOpenAckResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgChannelOpenAckResponse; - isSDK(o: any): o is MsgChannelOpenAckResponseSDKType; - isAmino(o: any): o is MsgChannelOpenAckResponseAmino; - encode(_: MsgChannelOpenAckResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelOpenAckResponse; - fromJSON(_: any): MsgChannelOpenAckResponse; - toJSON(_: MsgChannelOpenAckResponse): unknown; - fromPartial(_: DeepPartial): MsgChannelOpenAckResponse; - fromSDK(_: MsgChannelOpenAckResponseSDKType): MsgChannelOpenAckResponse; - toSDK(_: MsgChannelOpenAckResponse): MsgChannelOpenAckResponseSDKType; - fromAmino(_: MsgChannelOpenAckResponseAmino): MsgChannelOpenAckResponse; - toAmino(_: MsgChannelOpenAckResponse): MsgChannelOpenAckResponseAmino; - fromAminoMsg(object: MsgChannelOpenAckResponseAminoMsg): MsgChannelOpenAckResponse; - toAminoMsg(message: MsgChannelOpenAckResponse): MsgChannelOpenAckResponseAminoMsg; - fromProtoMsg(message: MsgChannelOpenAckResponseProtoMsg): MsgChannelOpenAckResponse; - toProto(message: MsgChannelOpenAckResponse): Uint8Array; - toProtoMsg(message: MsgChannelOpenAckResponse): MsgChannelOpenAckResponseProtoMsg; -}; -export declare const MsgChannelOpenConfirm: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgChannelOpenConfirm; - isSDK(o: any): o is MsgChannelOpenConfirmSDKType; - isAmino(o: any): o is MsgChannelOpenConfirmAmino; - encode(message: MsgChannelOpenConfirm, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelOpenConfirm; - fromJSON(object: any): MsgChannelOpenConfirm; - toJSON(message: MsgChannelOpenConfirm): unknown; - fromPartial(object: DeepPartial): MsgChannelOpenConfirm; - fromSDK(object: MsgChannelOpenConfirmSDKType): MsgChannelOpenConfirm; - toSDK(message: MsgChannelOpenConfirm): MsgChannelOpenConfirmSDKType; - fromAmino(object: MsgChannelOpenConfirmAmino): MsgChannelOpenConfirm; - toAmino(message: MsgChannelOpenConfirm): MsgChannelOpenConfirmAmino; - fromAminoMsg(object: MsgChannelOpenConfirmAminoMsg): MsgChannelOpenConfirm; - toAminoMsg(message: MsgChannelOpenConfirm): MsgChannelOpenConfirmAminoMsg; - fromProtoMsg(message: MsgChannelOpenConfirmProtoMsg): MsgChannelOpenConfirm; - toProto(message: MsgChannelOpenConfirm): Uint8Array; - toProtoMsg(message: MsgChannelOpenConfirm): MsgChannelOpenConfirmProtoMsg; -}; -export declare const MsgChannelOpenConfirmResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgChannelOpenConfirmResponse; - isSDK(o: any): o is MsgChannelOpenConfirmResponseSDKType; - isAmino(o: any): o is MsgChannelOpenConfirmResponseAmino; - encode(_: MsgChannelOpenConfirmResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelOpenConfirmResponse; - fromJSON(_: any): MsgChannelOpenConfirmResponse; - toJSON(_: MsgChannelOpenConfirmResponse): unknown; - fromPartial(_: DeepPartial): MsgChannelOpenConfirmResponse; - fromSDK(_: MsgChannelOpenConfirmResponseSDKType): MsgChannelOpenConfirmResponse; - toSDK(_: MsgChannelOpenConfirmResponse): MsgChannelOpenConfirmResponseSDKType; - fromAmino(_: MsgChannelOpenConfirmResponseAmino): MsgChannelOpenConfirmResponse; - toAmino(_: MsgChannelOpenConfirmResponse): MsgChannelOpenConfirmResponseAmino; - fromAminoMsg(object: MsgChannelOpenConfirmResponseAminoMsg): MsgChannelOpenConfirmResponse; - toAminoMsg(message: MsgChannelOpenConfirmResponse): MsgChannelOpenConfirmResponseAminoMsg; - fromProtoMsg(message: MsgChannelOpenConfirmResponseProtoMsg): MsgChannelOpenConfirmResponse; - toProto(message: MsgChannelOpenConfirmResponse): Uint8Array; - toProtoMsg(message: MsgChannelOpenConfirmResponse): MsgChannelOpenConfirmResponseProtoMsg; -}; -export declare const MsgChannelCloseInit: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgChannelCloseInit; - isSDK(o: any): o is MsgChannelCloseInitSDKType; - isAmino(o: any): o is MsgChannelCloseInitAmino; - encode(message: MsgChannelCloseInit, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelCloseInit; - fromJSON(object: any): MsgChannelCloseInit; - toJSON(message: MsgChannelCloseInit): unknown; - fromPartial(object: DeepPartial): MsgChannelCloseInit; - fromSDK(object: MsgChannelCloseInitSDKType): MsgChannelCloseInit; - toSDK(message: MsgChannelCloseInit): MsgChannelCloseInitSDKType; - fromAmino(object: MsgChannelCloseInitAmino): MsgChannelCloseInit; - toAmino(message: MsgChannelCloseInit): MsgChannelCloseInitAmino; - fromAminoMsg(object: MsgChannelCloseInitAminoMsg): MsgChannelCloseInit; - toAminoMsg(message: MsgChannelCloseInit): MsgChannelCloseInitAminoMsg; - fromProtoMsg(message: MsgChannelCloseInitProtoMsg): MsgChannelCloseInit; - toProto(message: MsgChannelCloseInit): Uint8Array; - toProtoMsg(message: MsgChannelCloseInit): MsgChannelCloseInitProtoMsg; -}; -export declare const MsgChannelCloseInitResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgChannelCloseInitResponse; - isSDK(o: any): o is MsgChannelCloseInitResponseSDKType; - isAmino(o: any): o is MsgChannelCloseInitResponseAmino; - encode(_: MsgChannelCloseInitResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelCloseInitResponse; - fromJSON(_: any): MsgChannelCloseInitResponse; - toJSON(_: MsgChannelCloseInitResponse): unknown; - fromPartial(_: DeepPartial): MsgChannelCloseInitResponse; - fromSDK(_: MsgChannelCloseInitResponseSDKType): MsgChannelCloseInitResponse; - toSDK(_: MsgChannelCloseInitResponse): MsgChannelCloseInitResponseSDKType; - fromAmino(_: MsgChannelCloseInitResponseAmino): MsgChannelCloseInitResponse; - toAmino(_: MsgChannelCloseInitResponse): MsgChannelCloseInitResponseAmino; - fromAminoMsg(object: MsgChannelCloseInitResponseAminoMsg): MsgChannelCloseInitResponse; - toAminoMsg(message: MsgChannelCloseInitResponse): MsgChannelCloseInitResponseAminoMsg; - fromProtoMsg(message: MsgChannelCloseInitResponseProtoMsg): MsgChannelCloseInitResponse; - toProto(message: MsgChannelCloseInitResponse): Uint8Array; - toProtoMsg(message: MsgChannelCloseInitResponse): MsgChannelCloseInitResponseProtoMsg; -}; -export declare const MsgChannelCloseConfirm: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgChannelCloseConfirm; - isSDK(o: any): o is MsgChannelCloseConfirmSDKType; - isAmino(o: any): o is MsgChannelCloseConfirmAmino; - encode(message: MsgChannelCloseConfirm, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelCloseConfirm; - fromJSON(object: any): MsgChannelCloseConfirm; - toJSON(message: MsgChannelCloseConfirm): unknown; - fromPartial(object: DeepPartial): MsgChannelCloseConfirm; - fromSDK(object: MsgChannelCloseConfirmSDKType): MsgChannelCloseConfirm; - toSDK(message: MsgChannelCloseConfirm): MsgChannelCloseConfirmSDKType; - fromAmino(object: MsgChannelCloseConfirmAmino): MsgChannelCloseConfirm; - toAmino(message: MsgChannelCloseConfirm): MsgChannelCloseConfirmAmino; - fromAminoMsg(object: MsgChannelCloseConfirmAminoMsg): MsgChannelCloseConfirm; - toAminoMsg(message: MsgChannelCloseConfirm): MsgChannelCloseConfirmAminoMsg; - fromProtoMsg(message: MsgChannelCloseConfirmProtoMsg): MsgChannelCloseConfirm; - toProto(message: MsgChannelCloseConfirm): Uint8Array; - toProtoMsg(message: MsgChannelCloseConfirm): MsgChannelCloseConfirmProtoMsg; -}; -export declare const MsgChannelCloseConfirmResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgChannelCloseConfirmResponse; - isSDK(o: any): o is MsgChannelCloseConfirmResponseSDKType; - isAmino(o: any): o is MsgChannelCloseConfirmResponseAmino; - encode(_: MsgChannelCloseConfirmResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgChannelCloseConfirmResponse; - fromJSON(_: any): MsgChannelCloseConfirmResponse; - toJSON(_: MsgChannelCloseConfirmResponse): unknown; - fromPartial(_: DeepPartial): MsgChannelCloseConfirmResponse; - fromSDK(_: MsgChannelCloseConfirmResponseSDKType): MsgChannelCloseConfirmResponse; - toSDK(_: MsgChannelCloseConfirmResponse): MsgChannelCloseConfirmResponseSDKType; - fromAmino(_: MsgChannelCloseConfirmResponseAmino): MsgChannelCloseConfirmResponse; - toAmino(_: MsgChannelCloseConfirmResponse): MsgChannelCloseConfirmResponseAmino; - fromAminoMsg(object: MsgChannelCloseConfirmResponseAminoMsg): MsgChannelCloseConfirmResponse; - toAminoMsg(message: MsgChannelCloseConfirmResponse): MsgChannelCloseConfirmResponseAminoMsg; - fromProtoMsg(message: MsgChannelCloseConfirmResponseProtoMsg): MsgChannelCloseConfirmResponse; - toProto(message: MsgChannelCloseConfirmResponse): Uint8Array; - toProtoMsg(message: MsgChannelCloseConfirmResponse): MsgChannelCloseConfirmResponseProtoMsg; -}; -export declare const MsgRecvPacket: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgRecvPacket; - isSDK(o: any): o is MsgRecvPacketSDKType; - isAmino(o: any): o is MsgRecvPacketAmino; - encode(message: MsgRecvPacket, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgRecvPacket; - fromJSON(object: any): MsgRecvPacket; - toJSON(message: MsgRecvPacket): unknown; - fromPartial(object: DeepPartial): MsgRecvPacket; - fromSDK(object: MsgRecvPacketSDKType): MsgRecvPacket; - toSDK(message: MsgRecvPacket): MsgRecvPacketSDKType; - fromAmino(object: MsgRecvPacketAmino): MsgRecvPacket; - toAmino(message: MsgRecvPacket): MsgRecvPacketAmino; - fromAminoMsg(object: MsgRecvPacketAminoMsg): MsgRecvPacket; - toAminoMsg(message: MsgRecvPacket): MsgRecvPacketAminoMsg; - fromProtoMsg(message: MsgRecvPacketProtoMsg): MsgRecvPacket; - toProto(message: MsgRecvPacket): Uint8Array; - toProtoMsg(message: MsgRecvPacket): MsgRecvPacketProtoMsg; -}; -export declare const MsgRecvPacketResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgRecvPacketResponse; - isSDK(o: any): o is MsgRecvPacketResponseSDKType; - isAmino(o: any): o is MsgRecvPacketResponseAmino; - encode(_: MsgRecvPacketResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgRecvPacketResponse; - fromJSON(_: any): MsgRecvPacketResponse; - toJSON(_: MsgRecvPacketResponse): unknown; - fromPartial(_: DeepPartial): MsgRecvPacketResponse; - fromSDK(_: MsgRecvPacketResponseSDKType): MsgRecvPacketResponse; - toSDK(_: MsgRecvPacketResponse): MsgRecvPacketResponseSDKType; - fromAmino(_: MsgRecvPacketResponseAmino): MsgRecvPacketResponse; - toAmino(_: MsgRecvPacketResponse): MsgRecvPacketResponseAmino; - fromAminoMsg(object: MsgRecvPacketResponseAminoMsg): MsgRecvPacketResponse; - toAminoMsg(message: MsgRecvPacketResponse): MsgRecvPacketResponseAminoMsg; - fromProtoMsg(message: MsgRecvPacketResponseProtoMsg): MsgRecvPacketResponse; - toProto(message: MsgRecvPacketResponse): Uint8Array; - toProtoMsg(message: MsgRecvPacketResponse): MsgRecvPacketResponseProtoMsg; -}; -export declare const MsgTimeout: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgTimeout; - isSDK(o: any): o is MsgTimeoutSDKType; - isAmino(o: any): o is MsgTimeoutAmino; - encode(message: MsgTimeout, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgTimeout; - fromJSON(object: any): MsgTimeout; - toJSON(message: MsgTimeout): unknown; - fromPartial(object: DeepPartial): MsgTimeout; - fromSDK(object: MsgTimeoutSDKType): MsgTimeout; - toSDK(message: MsgTimeout): MsgTimeoutSDKType; - fromAmino(object: MsgTimeoutAmino): MsgTimeout; - toAmino(message: MsgTimeout): MsgTimeoutAmino; - fromAminoMsg(object: MsgTimeoutAminoMsg): MsgTimeout; - toAminoMsg(message: MsgTimeout): MsgTimeoutAminoMsg; - fromProtoMsg(message: MsgTimeoutProtoMsg): MsgTimeout; - toProto(message: MsgTimeout): Uint8Array; - toProtoMsg(message: MsgTimeout): MsgTimeoutProtoMsg; -}; -export declare const MsgTimeoutResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgTimeoutResponse; - isSDK(o: any): o is MsgTimeoutResponseSDKType; - isAmino(o: any): o is MsgTimeoutResponseAmino; - encode(_: MsgTimeoutResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgTimeoutResponse; - fromJSON(_: any): MsgTimeoutResponse; - toJSON(_: MsgTimeoutResponse): unknown; - fromPartial(_: DeepPartial): MsgTimeoutResponse; - fromSDK(_: MsgTimeoutResponseSDKType): MsgTimeoutResponse; - toSDK(_: MsgTimeoutResponse): MsgTimeoutResponseSDKType; - fromAmino(_: MsgTimeoutResponseAmino): MsgTimeoutResponse; - toAmino(_: MsgTimeoutResponse): MsgTimeoutResponseAmino; - fromAminoMsg(object: MsgTimeoutResponseAminoMsg): MsgTimeoutResponse; - toAminoMsg(message: MsgTimeoutResponse): MsgTimeoutResponseAminoMsg; - fromProtoMsg(message: MsgTimeoutResponseProtoMsg): MsgTimeoutResponse; - toProto(message: MsgTimeoutResponse): Uint8Array; - toProtoMsg(message: MsgTimeoutResponse): MsgTimeoutResponseProtoMsg; -}; -export declare const MsgTimeoutOnClose: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgTimeoutOnClose; - isSDK(o: any): o is MsgTimeoutOnCloseSDKType; - isAmino(o: any): o is MsgTimeoutOnCloseAmino; - encode(message: MsgTimeoutOnClose, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgTimeoutOnClose; - fromJSON(object: any): MsgTimeoutOnClose; - toJSON(message: MsgTimeoutOnClose): unknown; - fromPartial(object: DeepPartial): MsgTimeoutOnClose; - fromSDK(object: MsgTimeoutOnCloseSDKType): MsgTimeoutOnClose; - toSDK(message: MsgTimeoutOnClose): MsgTimeoutOnCloseSDKType; - fromAmino(object: MsgTimeoutOnCloseAmino): MsgTimeoutOnClose; - toAmino(message: MsgTimeoutOnClose): MsgTimeoutOnCloseAmino; - fromAminoMsg(object: MsgTimeoutOnCloseAminoMsg): MsgTimeoutOnClose; - toAminoMsg(message: MsgTimeoutOnClose): MsgTimeoutOnCloseAminoMsg; - fromProtoMsg(message: MsgTimeoutOnCloseProtoMsg): MsgTimeoutOnClose; - toProto(message: MsgTimeoutOnClose): Uint8Array; - toProtoMsg(message: MsgTimeoutOnClose): MsgTimeoutOnCloseProtoMsg; -}; -export declare const MsgTimeoutOnCloseResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgTimeoutOnCloseResponse; - isSDK(o: any): o is MsgTimeoutOnCloseResponseSDKType; - isAmino(o: any): o is MsgTimeoutOnCloseResponseAmino; - encode(_: MsgTimeoutOnCloseResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgTimeoutOnCloseResponse; - fromJSON(_: any): MsgTimeoutOnCloseResponse; - toJSON(_: MsgTimeoutOnCloseResponse): unknown; - fromPartial(_: DeepPartial): MsgTimeoutOnCloseResponse; - fromSDK(_: MsgTimeoutOnCloseResponseSDKType): MsgTimeoutOnCloseResponse; - toSDK(_: MsgTimeoutOnCloseResponse): MsgTimeoutOnCloseResponseSDKType; - fromAmino(_: MsgTimeoutOnCloseResponseAmino): MsgTimeoutOnCloseResponse; - toAmino(_: MsgTimeoutOnCloseResponse): MsgTimeoutOnCloseResponseAmino; - fromAminoMsg(object: MsgTimeoutOnCloseResponseAminoMsg): MsgTimeoutOnCloseResponse; - toAminoMsg(message: MsgTimeoutOnCloseResponse): MsgTimeoutOnCloseResponseAminoMsg; - fromProtoMsg(message: MsgTimeoutOnCloseResponseProtoMsg): MsgTimeoutOnCloseResponse; - toProto(message: MsgTimeoutOnCloseResponse): Uint8Array; - toProtoMsg(message: MsgTimeoutOnCloseResponse): MsgTimeoutOnCloseResponseProtoMsg; -}; -export declare const MsgAcknowledgement: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgAcknowledgement; - isSDK(o: any): o is MsgAcknowledgementSDKType; - isAmino(o: any): o is MsgAcknowledgementAmino; - encode(message: MsgAcknowledgement, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgAcknowledgement; - fromJSON(object: any): MsgAcknowledgement; - toJSON(message: MsgAcknowledgement): unknown; - fromPartial(object: DeepPartial): MsgAcknowledgement; - fromSDK(object: MsgAcknowledgementSDKType): MsgAcknowledgement; - toSDK(message: MsgAcknowledgement): MsgAcknowledgementSDKType; - fromAmino(object: MsgAcknowledgementAmino): MsgAcknowledgement; - toAmino(message: MsgAcknowledgement): MsgAcknowledgementAmino; - fromAminoMsg(object: MsgAcknowledgementAminoMsg): MsgAcknowledgement; - toAminoMsg(message: MsgAcknowledgement): MsgAcknowledgementAminoMsg; - fromProtoMsg(message: MsgAcknowledgementProtoMsg): MsgAcknowledgement; - toProto(message: MsgAcknowledgement): Uint8Array; - toProtoMsg(message: MsgAcknowledgement): MsgAcknowledgementProtoMsg; -}; -export declare const MsgAcknowledgementResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgAcknowledgementResponse; - isSDK(o: any): o is MsgAcknowledgementResponseSDKType; - isAmino(o: any): o is MsgAcknowledgementResponseAmino; - encode(_: MsgAcknowledgementResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgAcknowledgementResponse; - fromJSON(_: any): MsgAcknowledgementResponse; - toJSON(_: MsgAcknowledgementResponse): unknown; - fromPartial(_: DeepPartial): MsgAcknowledgementResponse; - fromSDK(_: MsgAcknowledgementResponseSDKType): MsgAcknowledgementResponse; - toSDK(_: MsgAcknowledgementResponse): MsgAcknowledgementResponseSDKType; - fromAmino(_: MsgAcknowledgementResponseAmino): MsgAcknowledgementResponse; - toAmino(_: MsgAcknowledgementResponse): MsgAcknowledgementResponseAmino; - fromAminoMsg(object: MsgAcknowledgementResponseAminoMsg): MsgAcknowledgementResponse; - toAminoMsg(message: MsgAcknowledgementResponse): MsgAcknowledgementResponseAminoMsg; - fromProtoMsg(message: MsgAcknowledgementResponseProtoMsg): MsgAcknowledgementResponse; - toProto(message: MsgAcknowledgementResponse): Uint8Array; - toProtoMsg(message: MsgAcknowledgementResponse): MsgAcknowledgementResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/core/channel/v1/tx.registry.d.ts b/examples/authz/types/codegen/ibc/core/channel/v1/tx.registry.d.ts deleted file mode 100644 index c396c1ef..00000000 --- a/examples/authz/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +++ /dev/null @@ -1,217 +0,0 @@ -import { TelescopeGeneratedType } from "../../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - channelOpenInit(value: MsgChannelOpenInit): { - typeUrl: string; - value: Uint8Array; - }; - channelOpenTry(value: MsgChannelOpenTry): { - typeUrl: string; - value: Uint8Array; - }; - channelOpenAck(value: MsgChannelOpenAck): { - typeUrl: string; - value: Uint8Array; - }; - channelOpenConfirm(value: MsgChannelOpenConfirm): { - typeUrl: string; - value: Uint8Array; - }; - channelCloseInit(value: MsgChannelCloseInit): { - typeUrl: string; - value: Uint8Array; - }; - channelCloseConfirm(value: MsgChannelCloseConfirm): { - typeUrl: string; - value: Uint8Array; - }; - recvPacket(value: MsgRecvPacket): { - typeUrl: string; - value: Uint8Array; - }; - timeout(value: MsgTimeout): { - typeUrl: string; - value: Uint8Array; - }; - timeoutOnClose(value: MsgTimeoutOnClose): { - typeUrl: string; - value: Uint8Array; - }; - acknowledgement(value: MsgAcknowledgement): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - channelOpenInit(value: MsgChannelOpenInit): { - typeUrl: string; - value: MsgChannelOpenInit; - }; - channelOpenTry(value: MsgChannelOpenTry): { - typeUrl: string; - value: MsgChannelOpenTry; - }; - channelOpenAck(value: MsgChannelOpenAck): { - typeUrl: string; - value: MsgChannelOpenAck; - }; - channelOpenConfirm(value: MsgChannelOpenConfirm): { - typeUrl: string; - value: MsgChannelOpenConfirm; - }; - channelCloseInit(value: MsgChannelCloseInit): { - typeUrl: string; - value: MsgChannelCloseInit; - }; - channelCloseConfirm(value: MsgChannelCloseConfirm): { - typeUrl: string; - value: MsgChannelCloseConfirm; - }; - recvPacket(value: MsgRecvPacket): { - typeUrl: string; - value: MsgRecvPacket; - }; - timeout(value: MsgTimeout): { - typeUrl: string; - value: MsgTimeout; - }; - timeoutOnClose(value: MsgTimeoutOnClose): { - typeUrl: string; - value: MsgTimeoutOnClose; - }; - acknowledgement(value: MsgAcknowledgement): { - typeUrl: string; - value: MsgAcknowledgement; - }; - }; - toJSON: { - channelOpenInit(value: MsgChannelOpenInit): { - typeUrl: string; - value: unknown; - }; - channelOpenTry(value: MsgChannelOpenTry): { - typeUrl: string; - value: unknown; - }; - channelOpenAck(value: MsgChannelOpenAck): { - typeUrl: string; - value: unknown; - }; - channelOpenConfirm(value: MsgChannelOpenConfirm): { - typeUrl: string; - value: unknown; - }; - channelCloseInit(value: MsgChannelCloseInit): { - typeUrl: string; - value: unknown; - }; - channelCloseConfirm(value: MsgChannelCloseConfirm): { - typeUrl: string; - value: unknown; - }; - recvPacket(value: MsgRecvPacket): { - typeUrl: string; - value: unknown; - }; - timeout(value: MsgTimeout): { - typeUrl: string; - value: unknown; - }; - timeoutOnClose(value: MsgTimeoutOnClose): { - typeUrl: string; - value: unknown; - }; - acknowledgement(value: MsgAcknowledgement): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - channelOpenInit(value: any): { - typeUrl: string; - value: MsgChannelOpenInit; - }; - channelOpenTry(value: any): { - typeUrl: string; - value: MsgChannelOpenTry; - }; - channelOpenAck(value: any): { - typeUrl: string; - value: MsgChannelOpenAck; - }; - channelOpenConfirm(value: any): { - typeUrl: string; - value: MsgChannelOpenConfirm; - }; - channelCloseInit(value: any): { - typeUrl: string; - value: MsgChannelCloseInit; - }; - channelCloseConfirm(value: any): { - typeUrl: string; - value: MsgChannelCloseConfirm; - }; - recvPacket(value: any): { - typeUrl: string; - value: MsgRecvPacket; - }; - timeout(value: any): { - typeUrl: string; - value: MsgTimeout; - }; - timeoutOnClose(value: any): { - typeUrl: string; - value: MsgTimeoutOnClose; - }; - acknowledgement(value: any): { - typeUrl: string; - value: MsgAcknowledgement; - }; - }; - fromPartial: { - channelOpenInit(value: MsgChannelOpenInit): { - typeUrl: string; - value: MsgChannelOpenInit; - }; - channelOpenTry(value: MsgChannelOpenTry): { - typeUrl: string; - value: MsgChannelOpenTry; - }; - channelOpenAck(value: MsgChannelOpenAck): { - typeUrl: string; - value: MsgChannelOpenAck; - }; - channelOpenConfirm(value: MsgChannelOpenConfirm): { - typeUrl: string; - value: MsgChannelOpenConfirm; - }; - channelCloseInit(value: MsgChannelCloseInit): { - typeUrl: string; - value: MsgChannelCloseInit; - }; - channelCloseConfirm(value: MsgChannelCloseConfirm): { - typeUrl: string; - value: MsgChannelCloseConfirm; - }; - recvPacket(value: MsgRecvPacket): { - typeUrl: string; - value: MsgRecvPacket; - }; - timeout(value: MsgTimeout): { - typeUrl: string; - value: MsgTimeout; - }; - timeoutOnClose(value: MsgTimeoutOnClose): { - typeUrl: string; - value: MsgTimeoutOnClose; - }; - acknowledgement(value: MsgAcknowledgement): { - typeUrl: string; - value: MsgAcknowledgement; - }; - }; -}; diff --git a/examples/authz/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts deleted file mode 100644 index b2a588e1..00000000 --- a/examples/authz/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../../types"; -import { MsgChannelOpenInit, MsgChannelOpenTry, MsgChannelOpenAck, MsgChannelOpenConfirm, MsgChannelCloseInit, MsgChannelCloseConfirm, MsgRecvPacket, MsgTimeout, MsgTimeoutOnClose, MsgAcknowledgement } from "./tx"; -/** Msg defines the ibc/channel Msg service. */ -export interface Msg { - /** ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. */ - channelOpenInit(signerAddress: string, message: MsgChannelOpenInit, fee: number | StdFee | "auto", memo: string): Promise; - /** ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. */ - channelOpenTry(signerAddress: string, message: MsgChannelOpenTry, fee: number | StdFee | "auto", memo: string): Promise; - /** ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. */ - channelOpenAck(signerAddress: string, message: MsgChannelOpenAck, fee: number | StdFee | "auto", memo: string): Promise; - /** ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. */ - channelOpenConfirm(signerAddress: string, message: MsgChannelOpenConfirm, fee: number | StdFee | "auto", memo: string): Promise; - /** ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. */ - channelCloseInit(signerAddress: string, message: MsgChannelCloseInit, fee: number | StdFee | "auto", memo: string): Promise; - /** - * ChannelCloseConfirm defines a rpc handler method for - * MsgChannelCloseConfirm. - */ - channelCloseConfirm(signerAddress: string, message: MsgChannelCloseConfirm, fee: number | StdFee | "auto", memo: string): Promise; - /** RecvPacket defines a rpc handler method for MsgRecvPacket. */ - recvPacket(signerAddress: string, message: MsgRecvPacket, fee: number | StdFee | "auto", memo: string): Promise; - /** Timeout defines a rpc handler method for MsgTimeout. */ - timeout(signerAddress: string, message: MsgTimeout, fee: number | StdFee | "auto", memo: string): Promise; - /** TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. */ - timeoutOnClose(signerAddress: string, message: MsgTimeoutOnClose, fee: number | StdFee | "auto", memo: string): Promise; - /** Acknowledgement defines a rpc handler method for MsgAcknowledgement. */ - acknowledgement(signerAddress: string, message: MsgAcknowledgement, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - channelOpenInit: (signerAddress: string, message: MsgChannelOpenInit, fee?: number | StdFee | "auto", memo?: string) => Promise; - channelOpenTry: (signerAddress: string, message: MsgChannelOpenTry, fee?: number | StdFee | "auto", memo?: string) => Promise; - channelOpenAck: (signerAddress: string, message: MsgChannelOpenAck, fee?: number | StdFee | "auto", memo?: string) => Promise; - channelOpenConfirm: (signerAddress: string, message: MsgChannelOpenConfirm, fee?: number | StdFee | "auto", memo?: string) => Promise; - channelCloseInit: (signerAddress: string, message: MsgChannelCloseInit, fee?: number | StdFee | "auto", memo?: string) => Promise; - channelCloseConfirm: (signerAddress: string, message: MsgChannelCloseConfirm, fee?: number | StdFee | "auto", memo?: string) => Promise; - recvPacket: (signerAddress: string, message: MsgRecvPacket, fee?: number | StdFee | "auto", memo?: string) => Promise; - timeout: (signerAddress: string, message: MsgTimeout, fee?: number | StdFee | "auto", memo?: string) => Promise; - timeoutOnClose: (signerAddress: string, message: MsgTimeoutOnClose, fee?: number | StdFee | "auto", memo?: string) => Promise; - acknowledgement: (signerAddress: string, message: MsgAcknowledgement, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/ibc/core/client/v1/client.d.ts b/examples/authz/types/codegen/ibc/core/client/v1/client.d.ts deleted file mode 100644 index eb9c051e..00000000 --- a/examples/authz/types/codegen/ibc/core/client/v1/client.d.ts +++ /dev/null @@ -1,457 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { Plan, PlanAmino, PlanSDKType } from "../../../../cosmos/upgrade/v1beta1/upgrade"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * IdentifiedClientState defines a client state with an additional client - * identifier field. - */ -export interface IdentifiedClientState { - /** client identifier */ - clientId: string; - /** client state */ - clientState?: Any | undefined; -} -export interface IdentifiedClientStateProtoMsg { - typeUrl: "/ibc.core.client.v1.IdentifiedClientState"; - value: Uint8Array; -} -/** - * IdentifiedClientState defines a client state with an additional client - * identifier field. - */ -export interface IdentifiedClientStateAmino { - /** client identifier */ - client_id?: string; - /** client state */ - client_state?: AnyAmino | undefined; -} -export interface IdentifiedClientStateAminoMsg { - type: "cosmos-sdk/IdentifiedClientState"; - value: IdentifiedClientStateAmino; -} -/** - * IdentifiedClientState defines a client state with an additional client - * identifier field. - */ -export interface IdentifiedClientStateSDKType { - client_id: string; - client_state?: AnySDKType | undefined; -} -/** - * ConsensusStateWithHeight defines a consensus state with an additional height - * field. - */ -export interface ConsensusStateWithHeight { - /** consensus state height */ - height: Height | undefined; - /** consensus state */ - consensusState?: Any | undefined; -} -export interface ConsensusStateWithHeightProtoMsg { - typeUrl: "/ibc.core.client.v1.ConsensusStateWithHeight"; - value: Uint8Array; -} -/** - * ConsensusStateWithHeight defines a consensus state with an additional height - * field. - */ -export interface ConsensusStateWithHeightAmino { - /** consensus state height */ - height?: HeightAmino | undefined; - /** consensus state */ - consensus_state?: AnyAmino | undefined; -} -export interface ConsensusStateWithHeightAminoMsg { - type: "cosmos-sdk/ConsensusStateWithHeight"; - value: ConsensusStateWithHeightAmino; -} -/** - * ConsensusStateWithHeight defines a consensus state with an additional height - * field. - */ -export interface ConsensusStateWithHeightSDKType { - height: HeightSDKType | undefined; - consensus_state?: AnySDKType | undefined; -} -/** - * ClientConsensusStates defines all the stored consensus states for a given - * client. - */ -export interface ClientConsensusStates { - /** client identifier */ - clientId: string; - /** consensus states and their heights associated with the client */ - consensusStates: ConsensusStateWithHeight[]; -} -export interface ClientConsensusStatesProtoMsg { - typeUrl: "/ibc.core.client.v1.ClientConsensusStates"; - value: Uint8Array; -} -/** - * ClientConsensusStates defines all the stored consensus states for a given - * client. - */ -export interface ClientConsensusStatesAmino { - /** client identifier */ - client_id?: string; - /** consensus states and their heights associated with the client */ - consensus_states?: ConsensusStateWithHeightAmino[]; -} -export interface ClientConsensusStatesAminoMsg { - type: "cosmos-sdk/ClientConsensusStates"; - value: ClientConsensusStatesAmino; -} -/** - * ClientConsensusStates defines all the stored consensus states for a given - * client. - */ -export interface ClientConsensusStatesSDKType { - client_id: string; - consensus_states: ConsensusStateWithHeightSDKType[]; -} -/** - * ClientUpdateProposal is a governance proposal. If it passes, the substitute - * client's latest consensus state is copied over to the subject client. The proposal - * handler may fail if the subject and the substitute do not match in client and - * chain parameters (with exception to latest height, frozen height, and chain-id). - */ -export interface ClientUpdateProposal { - $typeUrl?: "/ibc.core.client.v1.ClientUpdateProposal"; - /** the title of the update proposal */ - title: string; - /** the description of the proposal */ - description: string; - /** the client identifier for the client to be updated if the proposal passes */ - subjectClientId: string; - /** - * the substitute client identifier for the client standing in for the subject - * client - */ - substituteClientId: string; -} -export interface ClientUpdateProposalProtoMsg { - typeUrl: "/ibc.core.client.v1.ClientUpdateProposal"; - value: Uint8Array; -} -/** - * ClientUpdateProposal is a governance proposal. If it passes, the substitute - * client's latest consensus state is copied over to the subject client. The proposal - * handler may fail if the subject and the substitute do not match in client and - * chain parameters (with exception to latest height, frozen height, and chain-id). - */ -export interface ClientUpdateProposalAmino { - /** the title of the update proposal */ - title?: string; - /** the description of the proposal */ - description?: string; - /** the client identifier for the client to be updated if the proposal passes */ - subject_client_id?: string; - /** - * the substitute client identifier for the client standing in for the subject - * client - */ - substitute_client_id?: string; -} -export interface ClientUpdateProposalAminoMsg { - type: "cosmos-sdk/ClientUpdateProposal"; - value: ClientUpdateProposalAmino; -} -/** - * ClientUpdateProposal is a governance proposal. If it passes, the substitute - * client's latest consensus state is copied over to the subject client. The proposal - * handler may fail if the subject and the substitute do not match in client and - * chain parameters (with exception to latest height, frozen height, and chain-id). - */ -export interface ClientUpdateProposalSDKType { - $typeUrl?: "/ibc.core.client.v1.ClientUpdateProposal"; - title: string; - description: string; - subject_client_id: string; - substitute_client_id: string; -} -/** - * UpgradeProposal is a gov Content type for initiating an IBC breaking - * upgrade. - */ -export interface UpgradeProposal { - $typeUrl?: "/ibc.core.client.v1.UpgradeProposal"; - title: string; - description: string; - plan: Plan | undefined; - /** - * An UpgradedClientState must be provided to perform an IBC breaking upgrade. - * This will make the chain commit to the correct upgraded (self) client state - * before the upgrade occurs, so that connecting chains can verify that the - * new upgraded client is valid by verifying a proof on the previous version - * of the chain. This will allow IBC connections to persist smoothly across - * planned chain upgrades - */ - upgradedClientState?: Any | undefined; -} -export interface UpgradeProposalProtoMsg { - typeUrl: "/ibc.core.client.v1.UpgradeProposal"; - value: Uint8Array; -} -/** - * UpgradeProposal is a gov Content type for initiating an IBC breaking - * upgrade. - */ -export interface UpgradeProposalAmino { - title?: string; - description?: string; - plan?: PlanAmino | undefined; - /** - * An UpgradedClientState must be provided to perform an IBC breaking upgrade. - * This will make the chain commit to the correct upgraded (self) client state - * before the upgrade occurs, so that connecting chains can verify that the - * new upgraded client is valid by verifying a proof on the previous version - * of the chain. This will allow IBC connections to persist smoothly across - * planned chain upgrades - */ - upgraded_client_state?: AnyAmino | undefined; -} -export interface UpgradeProposalAminoMsg { - type: "cosmos-sdk/UpgradeProposal"; - value: UpgradeProposalAmino; -} -/** - * UpgradeProposal is a gov Content type for initiating an IBC breaking - * upgrade. - */ -export interface UpgradeProposalSDKType { - $typeUrl?: "/ibc.core.client.v1.UpgradeProposal"; - title: string; - description: string; - plan: PlanSDKType | undefined; - upgraded_client_state?: AnySDKType | undefined; -} -/** - * Height is a monotonically increasing data type - * that can be compared against another Height for the purposes of updating and - * freezing clients - * - * Normally the RevisionHeight is incremented at each height while keeping - * RevisionNumber the same. However some consensus algorithms may choose to - * reset the height in certain conditions e.g. hard forks, state-machine - * breaking changes In these cases, the RevisionNumber is incremented so that - * height continues to be monitonically increasing even as the RevisionHeight - * gets reset - */ -export interface Height { - /** the revision that the client is currently on */ - revisionNumber: bigint; - /** the height within the given revision */ - revisionHeight: bigint; -} -export interface HeightProtoMsg { - typeUrl: "/ibc.core.client.v1.Height"; - value: Uint8Array; -} -/** - * Height is a monotonically increasing data type - * that can be compared against another Height for the purposes of updating and - * freezing clients - * - * Normally the RevisionHeight is incremented at each height while keeping - * RevisionNumber the same. However some consensus algorithms may choose to - * reset the height in certain conditions e.g. hard forks, state-machine - * breaking changes In these cases, the RevisionNumber is incremented so that - * height continues to be monitonically increasing even as the RevisionHeight - * gets reset - */ -export interface HeightAmino { - /** the revision that the client is currently on */ - revision_number?: string; - /** the height within the given revision */ - revision_height?: string; -} -export interface HeightAminoMsg { - type: "cosmos-sdk/Height"; - value: HeightAmino; -} -/** - * Height is a monotonically increasing data type - * that can be compared against another Height for the purposes of updating and - * freezing clients - * - * Normally the RevisionHeight is incremented at each height while keeping - * RevisionNumber the same. However some consensus algorithms may choose to - * reset the height in certain conditions e.g. hard forks, state-machine - * breaking changes In these cases, the RevisionNumber is incremented so that - * height continues to be monitonically increasing even as the RevisionHeight - * gets reset - */ -export interface HeightSDKType { - revision_number: bigint; - revision_height: bigint; -} -/** Params defines the set of IBC light client parameters. */ -export interface Params { - /** allowed_clients defines the list of allowed client state types. */ - allowedClients: string[]; -} -export interface ParamsProtoMsg { - typeUrl: "/ibc.core.client.v1.Params"; - value: Uint8Array; -} -/** Params defines the set of IBC light client parameters. */ -export interface ParamsAmino { - /** allowed_clients defines the list of allowed client state types. */ - allowed_clients?: string[]; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params defines the set of IBC light client parameters. */ -export interface ParamsSDKType { - allowed_clients: string[]; -} -export declare const IdentifiedClientState: { - typeUrl: string; - aminoType: string; - is(o: any): o is IdentifiedClientState; - isSDK(o: any): o is IdentifiedClientStateSDKType; - isAmino(o: any): o is IdentifiedClientStateAmino; - encode(message: IdentifiedClientState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): IdentifiedClientState; - fromJSON(object: any): IdentifiedClientState; - toJSON(message: IdentifiedClientState): unknown; - fromPartial(object: DeepPartial): IdentifiedClientState; - fromSDK(object: IdentifiedClientStateSDKType): IdentifiedClientState; - toSDK(message: IdentifiedClientState): IdentifiedClientStateSDKType; - fromAmino(object: IdentifiedClientStateAmino): IdentifiedClientState; - toAmino(message: IdentifiedClientState): IdentifiedClientStateAmino; - fromAminoMsg(object: IdentifiedClientStateAminoMsg): IdentifiedClientState; - toAminoMsg(message: IdentifiedClientState): IdentifiedClientStateAminoMsg; - fromProtoMsg(message: IdentifiedClientStateProtoMsg): IdentifiedClientState; - toProto(message: IdentifiedClientState): Uint8Array; - toProtoMsg(message: IdentifiedClientState): IdentifiedClientStateProtoMsg; -}; -export declare const ConsensusStateWithHeight: { - typeUrl: string; - aminoType: string; - is(o: any): o is ConsensusStateWithHeight; - isSDK(o: any): o is ConsensusStateWithHeightSDKType; - isAmino(o: any): o is ConsensusStateWithHeightAmino; - encode(message: ConsensusStateWithHeight, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ConsensusStateWithHeight; - fromJSON(object: any): ConsensusStateWithHeight; - toJSON(message: ConsensusStateWithHeight): unknown; - fromPartial(object: DeepPartial): ConsensusStateWithHeight; - fromSDK(object: ConsensusStateWithHeightSDKType): ConsensusStateWithHeight; - toSDK(message: ConsensusStateWithHeight): ConsensusStateWithHeightSDKType; - fromAmino(object: ConsensusStateWithHeightAmino): ConsensusStateWithHeight; - toAmino(message: ConsensusStateWithHeight): ConsensusStateWithHeightAmino; - fromAminoMsg(object: ConsensusStateWithHeightAminoMsg): ConsensusStateWithHeight; - toAminoMsg(message: ConsensusStateWithHeight): ConsensusStateWithHeightAminoMsg; - fromProtoMsg(message: ConsensusStateWithHeightProtoMsg): ConsensusStateWithHeight; - toProto(message: ConsensusStateWithHeight): Uint8Array; - toProtoMsg(message: ConsensusStateWithHeight): ConsensusStateWithHeightProtoMsg; -}; -export declare const ClientConsensusStates: { - typeUrl: string; - aminoType: string; - is(o: any): o is ClientConsensusStates; - isSDK(o: any): o is ClientConsensusStatesSDKType; - isAmino(o: any): o is ClientConsensusStatesAmino; - encode(message: ClientConsensusStates, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ClientConsensusStates; - fromJSON(object: any): ClientConsensusStates; - toJSON(message: ClientConsensusStates): unknown; - fromPartial(object: DeepPartial): ClientConsensusStates; - fromSDK(object: ClientConsensusStatesSDKType): ClientConsensusStates; - toSDK(message: ClientConsensusStates): ClientConsensusStatesSDKType; - fromAmino(object: ClientConsensusStatesAmino): ClientConsensusStates; - toAmino(message: ClientConsensusStates): ClientConsensusStatesAmino; - fromAminoMsg(object: ClientConsensusStatesAminoMsg): ClientConsensusStates; - toAminoMsg(message: ClientConsensusStates): ClientConsensusStatesAminoMsg; - fromProtoMsg(message: ClientConsensusStatesProtoMsg): ClientConsensusStates; - toProto(message: ClientConsensusStates): Uint8Array; - toProtoMsg(message: ClientConsensusStates): ClientConsensusStatesProtoMsg; -}; -export declare const ClientUpdateProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is ClientUpdateProposal; - isSDK(o: any): o is ClientUpdateProposalSDKType; - isAmino(o: any): o is ClientUpdateProposalAmino; - encode(message: ClientUpdateProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ClientUpdateProposal; - fromJSON(object: any): ClientUpdateProposal; - toJSON(message: ClientUpdateProposal): unknown; - fromPartial(object: DeepPartial): ClientUpdateProposal; - fromSDK(object: ClientUpdateProposalSDKType): ClientUpdateProposal; - toSDK(message: ClientUpdateProposal): ClientUpdateProposalSDKType; - fromAmino(object: ClientUpdateProposalAmino): ClientUpdateProposal; - toAmino(message: ClientUpdateProposal): ClientUpdateProposalAmino; - fromAminoMsg(object: ClientUpdateProposalAminoMsg): ClientUpdateProposal; - toAminoMsg(message: ClientUpdateProposal): ClientUpdateProposalAminoMsg; - fromProtoMsg(message: ClientUpdateProposalProtoMsg): ClientUpdateProposal; - toProto(message: ClientUpdateProposal): Uint8Array; - toProtoMsg(message: ClientUpdateProposal): ClientUpdateProposalProtoMsg; -}; -export declare const UpgradeProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is UpgradeProposal; - isSDK(o: any): o is UpgradeProposalSDKType; - isAmino(o: any): o is UpgradeProposalAmino; - encode(message: UpgradeProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): UpgradeProposal; - fromJSON(object: any): UpgradeProposal; - toJSON(message: UpgradeProposal): unknown; - fromPartial(object: DeepPartial): UpgradeProposal; - fromSDK(object: UpgradeProposalSDKType): UpgradeProposal; - toSDK(message: UpgradeProposal): UpgradeProposalSDKType; - fromAmino(object: UpgradeProposalAmino): UpgradeProposal; - toAmino(message: UpgradeProposal): UpgradeProposalAmino; - fromAminoMsg(object: UpgradeProposalAminoMsg): UpgradeProposal; - toAminoMsg(message: UpgradeProposal): UpgradeProposalAminoMsg; - fromProtoMsg(message: UpgradeProposalProtoMsg): UpgradeProposal; - toProto(message: UpgradeProposal): Uint8Array; - toProtoMsg(message: UpgradeProposal): UpgradeProposalProtoMsg; -}; -export declare const Height: { - typeUrl: string; - aminoType: string; - is(o: any): o is Height; - isSDK(o: any): o is HeightSDKType; - isAmino(o: any): o is HeightAmino; - encode(message: Height, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Height; - fromJSON(object: any): Height; - toJSON(message: Height): unknown; - fromPartial(object: DeepPartial): Height; - fromSDK(object: HeightSDKType): Height; - toSDK(message: Height): HeightSDKType; - fromAmino(object: HeightAmino): Height; - toAmino(message: Height): HeightAmino; - fromAminoMsg(object: HeightAminoMsg): Height; - toAminoMsg(message: Height): HeightAminoMsg; - fromProtoMsg(message: HeightProtoMsg): Height; - toProto(message: Height): Uint8Array; - toProtoMsg(message: Height): HeightProtoMsg; -}; -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/core/client/v1/genesis.d.ts b/examples/authz/types/codegen/ibc/core/client/v1/genesis.d.ts deleted file mode 100644 index ef3360cf..00000000 --- a/examples/authz/types/codegen/ibc/core/client/v1/genesis.d.ts +++ /dev/null @@ -1,179 +0,0 @@ -import { IdentifiedClientState, IdentifiedClientStateAmino, IdentifiedClientStateSDKType, ClientConsensusStates, ClientConsensusStatesAmino, ClientConsensusStatesSDKType, Params, ParamsAmino, ParamsSDKType } from "./client"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** GenesisState defines the ibc client submodule's genesis state. */ -export interface GenesisState { - /** client states with their corresponding identifiers */ - clients: IdentifiedClientState[]; - /** consensus states from each client */ - clientsConsensus: ClientConsensusStates[]; - /** metadata from each client */ - clientsMetadata: IdentifiedGenesisMetadata[]; - params: Params | undefined; - /** create localhost on initialization */ - createLocalhost: boolean; - /** the sequence for the next generated client identifier */ - nextClientSequence: bigint; -} -export interface GenesisStateProtoMsg { - typeUrl: "/ibc.core.client.v1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the ibc client submodule's genesis state. */ -export interface GenesisStateAmino { - /** client states with their corresponding identifiers */ - clients?: IdentifiedClientStateAmino[]; - /** consensus states from each client */ - clients_consensus?: ClientConsensusStatesAmino[]; - /** metadata from each client */ - clients_metadata?: IdentifiedGenesisMetadataAmino[]; - params?: ParamsAmino | undefined; - /** create localhost on initialization */ - create_localhost?: boolean; - /** the sequence for the next generated client identifier */ - next_client_sequence?: string; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the ibc client submodule's genesis state. */ -export interface GenesisStateSDKType { - clients: IdentifiedClientStateSDKType[]; - clients_consensus: ClientConsensusStatesSDKType[]; - clients_metadata: IdentifiedGenesisMetadataSDKType[]; - params: ParamsSDKType | undefined; - create_localhost: boolean; - next_client_sequence: bigint; -} -/** - * GenesisMetadata defines the genesis type for metadata that clients may return - * with ExportMetadata - */ -export interface GenesisMetadata { - /** store key of metadata without clientID-prefix */ - key: Uint8Array; - /** metadata value */ - value: Uint8Array; -} -export interface GenesisMetadataProtoMsg { - typeUrl: "/ibc.core.client.v1.GenesisMetadata"; - value: Uint8Array; -} -/** - * GenesisMetadata defines the genesis type for metadata that clients may return - * with ExportMetadata - */ -export interface GenesisMetadataAmino { - /** store key of metadata without clientID-prefix */ - key?: string; - /** metadata value */ - value?: string; -} -export interface GenesisMetadataAminoMsg { - type: "cosmos-sdk/GenesisMetadata"; - value: GenesisMetadataAmino; -} -/** - * GenesisMetadata defines the genesis type for metadata that clients may return - * with ExportMetadata - */ -export interface GenesisMetadataSDKType { - key: Uint8Array; - value: Uint8Array; -} -/** - * IdentifiedGenesisMetadata has the client metadata with the corresponding - * client id. - */ -export interface IdentifiedGenesisMetadata { - clientId: string; - clientMetadata: GenesisMetadata[]; -} -export interface IdentifiedGenesisMetadataProtoMsg { - typeUrl: "/ibc.core.client.v1.IdentifiedGenesisMetadata"; - value: Uint8Array; -} -/** - * IdentifiedGenesisMetadata has the client metadata with the corresponding - * client id. - */ -export interface IdentifiedGenesisMetadataAmino { - client_id?: string; - client_metadata?: GenesisMetadataAmino[]; -} -export interface IdentifiedGenesisMetadataAminoMsg { - type: "cosmos-sdk/IdentifiedGenesisMetadata"; - value: IdentifiedGenesisMetadataAmino; -} -/** - * IdentifiedGenesisMetadata has the client metadata with the corresponding - * client id. - */ -export interface IdentifiedGenesisMetadataSDKType { - client_id: string; - client_metadata: GenesisMetadataSDKType[]; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; -export declare const GenesisMetadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisMetadata; - isSDK(o: any): o is GenesisMetadataSDKType; - isAmino(o: any): o is GenesisMetadataAmino; - encode(message: GenesisMetadata, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisMetadata; - fromJSON(object: any): GenesisMetadata; - toJSON(message: GenesisMetadata): unknown; - fromPartial(object: DeepPartial): GenesisMetadata; - fromSDK(object: GenesisMetadataSDKType): GenesisMetadata; - toSDK(message: GenesisMetadata): GenesisMetadataSDKType; - fromAmino(object: GenesisMetadataAmino): GenesisMetadata; - toAmino(message: GenesisMetadata): GenesisMetadataAmino; - fromAminoMsg(object: GenesisMetadataAminoMsg): GenesisMetadata; - toAminoMsg(message: GenesisMetadata): GenesisMetadataAminoMsg; - fromProtoMsg(message: GenesisMetadataProtoMsg): GenesisMetadata; - toProto(message: GenesisMetadata): Uint8Array; - toProtoMsg(message: GenesisMetadata): GenesisMetadataProtoMsg; -}; -export declare const IdentifiedGenesisMetadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is IdentifiedGenesisMetadata; - isSDK(o: any): o is IdentifiedGenesisMetadataSDKType; - isAmino(o: any): o is IdentifiedGenesisMetadataAmino; - encode(message: IdentifiedGenesisMetadata, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): IdentifiedGenesisMetadata; - fromJSON(object: any): IdentifiedGenesisMetadata; - toJSON(message: IdentifiedGenesisMetadata): unknown; - fromPartial(object: DeepPartial): IdentifiedGenesisMetadata; - fromSDK(object: IdentifiedGenesisMetadataSDKType): IdentifiedGenesisMetadata; - toSDK(message: IdentifiedGenesisMetadata): IdentifiedGenesisMetadataSDKType; - fromAmino(object: IdentifiedGenesisMetadataAmino): IdentifiedGenesisMetadata; - toAmino(message: IdentifiedGenesisMetadata): IdentifiedGenesisMetadataAmino; - fromAminoMsg(object: IdentifiedGenesisMetadataAminoMsg): IdentifiedGenesisMetadata; - toAminoMsg(message: IdentifiedGenesisMetadata): IdentifiedGenesisMetadataAminoMsg; - fromProtoMsg(message: IdentifiedGenesisMetadataProtoMsg): IdentifiedGenesisMetadata; - toProto(message: IdentifiedGenesisMetadata): Uint8Array; - toProtoMsg(message: IdentifiedGenesisMetadata): IdentifiedGenesisMetadataProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/core/client/v1/query.d.ts b/examples/authz/types/codegen/ibc/core/client/v1/query.d.ts deleted file mode 100644 index 925e225c..00000000 --- a/examples/authz/types/codegen/ibc/core/client/v1/query.d.ts +++ /dev/null @@ -1,882 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { Height, HeightAmino, HeightSDKType, IdentifiedClientState, IdentifiedClientStateAmino, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightAmino, ConsensusStateWithHeightSDKType, Params, ParamsAmino, ParamsSDKType } from "./client"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * QueryClientStateRequest is the request type for the Query/ClientState RPC - * method - */ -export interface QueryClientStateRequest { - /** client state unique identifier */ - clientId: string; -} -export interface QueryClientStateRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientStateRequest"; - value: Uint8Array; -} -/** - * QueryClientStateRequest is the request type for the Query/ClientState RPC - * method - */ -export interface QueryClientStateRequestAmino { - /** client state unique identifier */ - client_id?: string; -} -export interface QueryClientStateRequestAminoMsg { - type: "cosmos-sdk/QueryClientStateRequest"; - value: QueryClientStateRequestAmino; -} -/** - * QueryClientStateRequest is the request type for the Query/ClientState RPC - * method - */ -export interface QueryClientStateRequestSDKType { - client_id: string; -} -/** - * QueryClientStateResponse is the response type for the Query/ClientState RPC - * method. Besides the client state, it includes a proof and the height from - * which the proof was retrieved. - */ -export interface QueryClientStateResponse { - /** client state associated with the request identifier */ - clientState?: Any | undefined; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight: Height | undefined; -} -export interface QueryClientStateResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientStateResponse"; - value: Uint8Array; -} -/** - * QueryClientStateResponse is the response type for the Query/ClientState RPC - * method. Besides the client state, it includes a proof and the height from - * which the proof was retrieved. - */ -export interface QueryClientStateResponseAmino { - /** client state associated with the request identifier */ - client_state?: AnyAmino | undefined; - /** merkle proof of existence */ - proof?: string; - /** height at which the proof was retrieved */ - proof_height?: HeightAmino | undefined; -} -export interface QueryClientStateResponseAminoMsg { - type: "cosmos-sdk/QueryClientStateResponse"; - value: QueryClientStateResponseAmino; -} -/** - * QueryClientStateResponse is the response type for the Query/ClientState RPC - * method. Besides the client state, it includes a proof and the height from - * which the proof was retrieved. - */ -export interface QueryClientStateResponseSDKType { - client_state?: AnySDKType | undefined; - proof: Uint8Array; - proof_height: HeightSDKType | undefined; -} -/** - * QueryClientStatesRequest is the request type for the Query/ClientStates RPC - * method - */ -export interface QueryClientStatesRequest { - /** pagination request */ - pagination?: PageRequest | undefined; -} -export interface QueryClientStatesRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientStatesRequest"; - value: Uint8Array; -} -/** - * QueryClientStatesRequest is the request type for the Query/ClientStates RPC - * method - */ -export interface QueryClientStatesRequestAmino { - /** pagination request */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryClientStatesRequestAminoMsg { - type: "cosmos-sdk/QueryClientStatesRequest"; - value: QueryClientStatesRequestAmino; -} -/** - * QueryClientStatesRequest is the request type for the Query/ClientStates RPC - * method - */ -export interface QueryClientStatesRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryClientStatesResponse is the response type for the Query/ClientStates RPC - * method. - */ -export interface QueryClientStatesResponse { - /** list of stored ClientStates of the chain. */ - clientStates: IdentifiedClientState[]; - /** pagination response */ - pagination?: PageResponse | undefined; -} -export interface QueryClientStatesResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientStatesResponse"; - value: Uint8Array; -} -/** - * QueryClientStatesResponse is the response type for the Query/ClientStates RPC - * method. - */ -export interface QueryClientStatesResponseAmino { - /** list of stored ClientStates of the chain. */ - client_states?: IdentifiedClientStateAmino[]; - /** pagination response */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryClientStatesResponseAminoMsg { - type: "cosmos-sdk/QueryClientStatesResponse"; - value: QueryClientStatesResponseAmino; -} -/** - * QueryClientStatesResponse is the response type for the Query/ClientStates RPC - * method. - */ -export interface QueryClientStatesResponseSDKType { - client_states: IdentifiedClientStateSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryConsensusStateRequest is the request type for the Query/ConsensusState - * RPC method. Besides the consensus state, it includes a proof and the height - * from which the proof was retrieved. - */ -export interface QueryConsensusStateRequest { - /** client identifier */ - clientId: string; - /** consensus state revision number */ - revisionNumber: bigint; - /** consensus state revision height */ - revisionHeight: bigint; - /** - * latest_height overrrides the height field and queries the latest stored - * ConsensusState - */ - latestHeight: boolean; -} -export interface QueryConsensusStateRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryConsensusStateRequest"; - value: Uint8Array; -} -/** - * QueryConsensusStateRequest is the request type for the Query/ConsensusState - * RPC method. Besides the consensus state, it includes a proof and the height - * from which the proof was retrieved. - */ -export interface QueryConsensusStateRequestAmino { - /** client identifier */ - client_id?: string; - /** consensus state revision number */ - revision_number?: string; - /** consensus state revision height */ - revision_height?: string; - /** - * latest_height overrrides the height field and queries the latest stored - * ConsensusState - */ - latest_height?: boolean; -} -export interface QueryConsensusStateRequestAminoMsg { - type: "cosmos-sdk/QueryConsensusStateRequest"; - value: QueryConsensusStateRequestAmino; -} -/** - * QueryConsensusStateRequest is the request type for the Query/ConsensusState - * RPC method. Besides the consensus state, it includes a proof and the height - * from which the proof was retrieved. - */ -export interface QueryConsensusStateRequestSDKType { - client_id: string; - revision_number: bigint; - revision_height: bigint; - latest_height: boolean; -} -/** - * QueryConsensusStateResponse is the response type for the Query/ConsensusState - * RPC method - */ -export interface QueryConsensusStateResponse { - /** consensus state associated with the client identifier at the given height */ - consensusState?: Any | undefined; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight: Height | undefined; -} -export interface QueryConsensusStateResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryConsensusStateResponse"; - value: Uint8Array; -} -/** - * QueryConsensusStateResponse is the response type for the Query/ConsensusState - * RPC method - */ -export interface QueryConsensusStateResponseAmino { - /** consensus state associated with the client identifier at the given height */ - consensus_state?: AnyAmino | undefined; - /** merkle proof of existence */ - proof?: string; - /** height at which the proof was retrieved */ - proof_height?: HeightAmino | undefined; -} -export interface QueryConsensusStateResponseAminoMsg { - type: "cosmos-sdk/QueryConsensusStateResponse"; - value: QueryConsensusStateResponseAmino; -} -/** - * QueryConsensusStateResponse is the response type for the Query/ConsensusState - * RPC method - */ -export interface QueryConsensusStateResponseSDKType { - consensus_state?: AnySDKType | undefined; - proof: Uint8Array; - proof_height: HeightSDKType | undefined; -} -/** - * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates - * RPC method. - */ -export interface QueryConsensusStatesRequest { - /** client identifier */ - clientId: string; - /** pagination request */ - pagination?: PageRequest | undefined; -} -export interface QueryConsensusStatesRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryConsensusStatesRequest"; - value: Uint8Array; -} -/** - * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates - * RPC method. - */ -export interface QueryConsensusStatesRequestAmino { - /** client identifier */ - client_id?: string; - /** pagination request */ - pagination?: PageRequestAmino | undefined; -} -export interface QueryConsensusStatesRequestAminoMsg { - type: "cosmos-sdk/QueryConsensusStatesRequest"; - value: QueryConsensusStatesRequestAmino; -} -/** - * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates - * RPC method. - */ -export interface QueryConsensusStatesRequestSDKType { - client_id: string; - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryConsensusStatesResponse is the response type for the - * Query/ConsensusStates RPC method - */ -export interface QueryConsensusStatesResponse { - /** consensus states associated with the identifier */ - consensusStates: ConsensusStateWithHeight[]; - /** pagination response */ - pagination?: PageResponse | undefined; -} -export interface QueryConsensusStatesResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryConsensusStatesResponse"; - value: Uint8Array; -} -/** - * QueryConsensusStatesResponse is the response type for the - * Query/ConsensusStates RPC method - */ -export interface QueryConsensusStatesResponseAmino { - /** consensus states associated with the identifier */ - consensus_states?: ConsensusStateWithHeightAmino[]; - /** pagination response */ - pagination?: PageResponseAmino | undefined; -} -export interface QueryConsensusStatesResponseAminoMsg { - type: "cosmos-sdk/QueryConsensusStatesResponse"; - value: QueryConsensusStatesResponseAmino; -} -/** - * QueryConsensusStatesResponse is the response type for the - * Query/ConsensusStates RPC method - */ -export interface QueryConsensusStatesResponseSDKType { - consensus_states: ConsensusStateWithHeightSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -/** - * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC - * method - */ -export interface QueryClientStatusRequest { - /** client unique identifier */ - clientId: string; -} -export interface QueryClientStatusRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientStatusRequest"; - value: Uint8Array; -} -/** - * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC - * method - */ -export interface QueryClientStatusRequestAmino { - /** client unique identifier */ - client_id?: string; -} -export interface QueryClientStatusRequestAminoMsg { - type: "cosmos-sdk/QueryClientStatusRequest"; - value: QueryClientStatusRequestAmino; -} -/** - * QueryClientStatusRequest is the request type for the Query/ClientStatus RPC - * method - */ -export interface QueryClientStatusRequestSDKType { - client_id: string; -} -/** - * QueryClientStatusResponse is the response type for the Query/ClientStatus RPC - * method. It returns the current status of the IBC client. - */ -export interface QueryClientStatusResponse { - status: string; -} -export interface QueryClientStatusResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientStatusResponse"; - value: Uint8Array; -} -/** - * QueryClientStatusResponse is the response type for the Query/ClientStatus RPC - * method. It returns the current status of the IBC client. - */ -export interface QueryClientStatusResponseAmino { - status?: string; -} -export interface QueryClientStatusResponseAminoMsg { - type: "cosmos-sdk/QueryClientStatusResponse"; - value: QueryClientStatusResponseAmino; -} -/** - * QueryClientStatusResponse is the response type for the Query/ClientStatus RPC - * method. It returns the current status of the IBC client. - */ -export interface QueryClientStatusResponseSDKType { - status: string; -} -/** - * QueryClientParamsRequest is the request type for the Query/ClientParams RPC - * method. - */ -export interface QueryClientParamsRequest { -} -export interface QueryClientParamsRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientParamsRequest"; - value: Uint8Array; -} -/** - * QueryClientParamsRequest is the request type for the Query/ClientParams RPC - * method. - */ -export interface QueryClientParamsRequestAmino { -} -export interface QueryClientParamsRequestAminoMsg { - type: "cosmos-sdk/QueryClientParamsRequest"; - value: QueryClientParamsRequestAmino; -} -/** - * QueryClientParamsRequest is the request type for the Query/ClientParams RPC - * method. - */ -export interface QueryClientParamsRequestSDKType { -} -/** - * QueryClientParamsResponse is the response type for the Query/ClientParams RPC - * method. - */ -export interface QueryClientParamsResponse { - /** params defines the parameters of the module. */ - params?: Params | undefined; -} -export interface QueryClientParamsResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryClientParamsResponse"; - value: Uint8Array; -} -/** - * QueryClientParamsResponse is the response type for the Query/ClientParams RPC - * method. - */ -export interface QueryClientParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino | undefined; -} -export interface QueryClientParamsResponseAminoMsg { - type: "cosmos-sdk/QueryClientParamsResponse"; - value: QueryClientParamsResponseAmino; -} -/** - * QueryClientParamsResponse is the response type for the Query/ClientParams RPC - * method. - */ -export interface QueryClientParamsResponseSDKType { - params?: ParamsSDKType | undefined; -} -/** - * QueryUpgradedClientStateRequest is the request type for the - * Query/UpgradedClientState RPC method - */ -export interface QueryUpgradedClientStateRequest { -} -export interface QueryUpgradedClientStateRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateRequest"; - value: Uint8Array; -} -/** - * QueryUpgradedClientStateRequest is the request type for the - * Query/UpgradedClientState RPC method - */ -export interface QueryUpgradedClientStateRequestAmino { -} -export interface QueryUpgradedClientStateRequestAminoMsg { - type: "cosmos-sdk/QueryUpgradedClientStateRequest"; - value: QueryUpgradedClientStateRequestAmino; -} -/** - * QueryUpgradedClientStateRequest is the request type for the - * Query/UpgradedClientState RPC method - */ -export interface QueryUpgradedClientStateRequestSDKType { -} -/** - * QueryUpgradedClientStateResponse is the response type for the - * Query/UpgradedClientState RPC method. - */ -export interface QueryUpgradedClientStateResponse { - /** client state associated with the request identifier */ - upgradedClientState?: Any | undefined; -} -export interface QueryUpgradedClientStateResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateResponse"; - value: Uint8Array; -} -/** - * QueryUpgradedClientStateResponse is the response type for the - * Query/UpgradedClientState RPC method. - */ -export interface QueryUpgradedClientStateResponseAmino { - /** client state associated with the request identifier */ - upgraded_client_state?: AnyAmino | undefined; -} -export interface QueryUpgradedClientStateResponseAminoMsg { - type: "cosmos-sdk/QueryUpgradedClientStateResponse"; - value: QueryUpgradedClientStateResponseAmino; -} -/** - * QueryUpgradedClientStateResponse is the response type for the - * Query/UpgradedClientState RPC method. - */ -export interface QueryUpgradedClientStateResponseSDKType { - upgraded_client_state?: AnySDKType | undefined; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the - * Query/UpgradedConsensusState RPC method - */ -export interface QueryUpgradedConsensusStateRequest { -} -export interface QueryUpgradedConsensusStateRequestProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateRequest"; - value: Uint8Array; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the - * Query/UpgradedConsensusState RPC method - */ -export interface QueryUpgradedConsensusStateRequestAmino { -} -export interface QueryUpgradedConsensusStateRequestAminoMsg { - type: "cosmos-sdk/QueryUpgradedConsensusStateRequest"; - value: QueryUpgradedConsensusStateRequestAmino; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the - * Query/UpgradedConsensusState RPC method - */ -export interface QueryUpgradedConsensusStateRequestSDKType { -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the - * Query/UpgradedConsensusState RPC method. - */ -export interface QueryUpgradedConsensusStateResponse { - /** Consensus state associated with the request identifier */ - upgradedConsensusState?: Any | undefined; -} -export interface QueryUpgradedConsensusStateResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateResponse"; - value: Uint8Array; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the - * Query/UpgradedConsensusState RPC method. - */ -export interface QueryUpgradedConsensusStateResponseAmino { - /** Consensus state associated with the request identifier */ - upgraded_consensus_state?: AnyAmino | undefined; -} -export interface QueryUpgradedConsensusStateResponseAminoMsg { - type: "cosmos-sdk/QueryUpgradedConsensusStateResponse"; - value: QueryUpgradedConsensusStateResponseAmino; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the - * Query/UpgradedConsensusState RPC method. - */ -export interface QueryUpgradedConsensusStateResponseSDKType { - upgraded_consensus_state?: AnySDKType | undefined; -} -export declare const QueryClientStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClientStateRequest; - isSDK(o: any): o is QueryClientStateRequestSDKType; - isAmino(o: any): o is QueryClientStateRequestAmino; - encode(message: QueryClientStateRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStateRequest; - fromJSON(object: any): QueryClientStateRequest; - toJSON(message: QueryClientStateRequest): unknown; - fromPartial(object: DeepPartial): QueryClientStateRequest; - fromSDK(object: QueryClientStateRequestSDKType): QueryClientStateRequest; - toSDK(message: QueryClientStateRequest): QueryClientStateRequestSDKType; - fromAmino(object: QueryClientStateRequestAmino): QueryClientStateRequest; - toAmino(message: QueryClientStateRequest): QueryClientStateRequestAmino; - fromAminoMsg(object: QueryClientStateRequestAminoMsg): QueryClientStateRequest; - toAminoMsg(message: QueryClientStateRequest): QueryClientStateRequestAminoMsg; - fromProtoMsg(message: QueryClientStateRequestProtoMsg): QueryClientStateRequest; - toProto(message: QueryClientStateRequest): Uint8Array; - toProtoMsg(message: QueryClientStateRequest): QueryClientStateRequestProtoMsg; -}; -export declare const QueryClientStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClientStateResponse; - isSDK(o: any): o is QueryClientStateResponseSDKType; - isAmino(o: any): o is QueryClientStateResponseAmino; - encode(message: QueryClientStateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStateResponse; - fromJSON(object: any): QueryClientStateResponse; - toJSON(message: QueryClientStateResponse): unknown; - fromPartial(object: DeepPartial): QueryClientStateResponse; - fromSDK(object: QueryClientStateResponseSDKType): QueryClientStateResponse; - toSDK(message: QueryClientStateResponse): QueryClientStateResponseSDKType; - fromAmino(object: QueryClientStateResponseAmino): QueryClientStateResponse; - toAmino(message: QueryClientStateResponse): QueryClientStateResponseAmino; - fromAminoMsg(object: QueryClientStateResponseAminoMsg): QueryClientStateResponse; - toAminoMsg(message: QueryClientStateResponse): QueryClientStateResponseAminoMsg; - fromProtoMsg(message: QueryClientStateResponseProtoMsg): QueryClientStateResponse; - toProto(message: QueryClientStateResponse): Uint8Array; - toProtoMsg(message: QueryClientStateResponse): QueryClientStateResponseProtoMsg; -}; -export declare const QueryClientStatesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClientStatesRequest; - isSDK(o: any): o is QueryClientStatesRequestSDKType; - isAmino(o: any): o is QueryClientStatesRequestAmino; - encode(message: QueryClientStatesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatesRequest; - fromJSON(object: any): QueryClientStatesRequest; - toJSON(message: QueryClientStatesRequest): unknown; - fromPartial(object: DeepPartial): QueryClientStatesRequest; - fromSDK(object: QueryClientStatesRequestSDKType): QueryClientStatesRequest; - toSDK(message: QueryClientStatesRequest): QueryClientStatesRequestSDKType; - fromAmino(object: QueryClientStatesRequestAmino): QueryClientStatesRequest; - toAmino(message: QueryClientStatesRequest): QueryClientStatesRequestAmino; - fromAminoMsg(object: QueryClientStatesRequestAminoMsg): QueryClientStatesRequest; - toAminoMsg(message: QueryClientStatesRequest): QueryClientStatesRequestAminoMsg; - fromProtoMsg(message: QueryClientStatesRequestProtoMsg): QueryClientStatesRequest; - toProto(message: QueryClientStatesRequest): Uint8Array; - toProtoMsg(message: QueryClientStatesRequest): QueryClientStatesRequestProtoMsg; -}; -export declare const QueryClientStatesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClientStatesResponse; - isSDK(o: any): o is QueryClientStatesResponseSDKType; - isAmino(o: any): o is QueryClientStatesResponseAmino; - encode(message: QueryClientStatesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatesResponse; - fromJSON(object: any): QueryClientStatesResponse; - toJSON(message: QueryClientStatesResponse): unknown; - fromPartial(object: DeepPartial): QueryClientStatesResponse; - fromSDK(object: QueryClientStatesResponseSDKType): QueryClientStatesResponse; - toSDK(message: QueryClientStatesResponse): QueryClientStatesResponseSDKType; - fromAmino(object: QueryClientStatesResponseAmino): QueryClientStatesResponse; - toAmino(message: QueryClientStatesResponse): QueryClientStatesResponseAmino; - fromAminoMsg(object: QueryClientStatesResponseAminoMsg): QueryClientStatesResponse; - toAminoMsg(message: QueryClientStatesResponse): QueryClientStatesResponseAminoMsg; - fromProtoMsg(message: QueryClientStatesResponseProtoMsg): QueryClientStatesResponse; - toProto(message: QueryClientStatesResponse): Uint8Array; - toProtoMsg(message: QueryClientStatesResponse): QueryClientStatesResponseProtoMsg; -}; -export declare const QueryConsensusStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConsensusStateRequest; - isSDK(o: any): o is QueryConsensusStateRequestSDKType; - isAmino(o: any): o is QueryConsensusStateRequestAmino; - encode(message: QueryConsensusStateRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStateRequest; - fromJSON(object: any): QueryConsensusStateRequest; - toJSON(message: QueryConsensusStateRequest): unknown; - fromPartial(object: DeepPartial): QueryConsensusStateRequest; - fromSDK(object: QueryConsensusStateRequestSDKType): QueryConsensusStateRequest; - toSDK(message: QueryConsensusStateRequest): QueryConsensusStateRequestSDKType; - fromAmino(object: QueryConsensusStateRequestAmino): QueryConsensusStateRequest; - toAmino(message: QueryConsensusStateRequest): QueryConsensusStateRequestAmino; - fromAminoMsg(object: QueryConsensusStateRequestAminoMsg): QueryConsensusStateRequest; - toAminoMsg(message: QueryConsensusStateRequest): QueryConsensusStateRequestAminoMsg; - fromProtoMsg(message: QueryConsensusStateRequestProtoMsg): QueryConsensusStateRequest; - toProto(message: QueryConsensusStateRequest): Uint8Array; - toProtoMsg(message: QueryConsensusStateRequest): QueryConsensusStateRequestProtoMsg; -}; -export declare const QueryConsensusStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConsensusStateResponse; - isSDK(o: any): o is QueryConsensusStateResponseSDKType; - isAmino(o: any): o is QueryConsensusStateResponseAmino; - encode(message: QueryConsensusStateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStateResponse; - fromJSON(object: any): QueryConsensusStateResponse; - toJSON(message: QueryConsensusStateResponse): unknown; - fromPartial(object: DeepPartial): QueryConsensusStateResponse; - fromSDK(object: QueryConsensusStateResponseSDKType): QueryConsensusStateResponse; - toSDK(message: QueryConsensusStateResponse): QueryConsensusStateResponseSDKType; - fromAmino(object: QueryConsensusStateResponseAmino): QueryConsensusStateResponse; - toAmino(message: QueryConsensusStateResponse): QueryConsensusStateResponseAmino; - fromAminoMsg(object: QueryConsensusStateResponseAminoMsg): QueryConsensusStateResponse; - toAminoMsg(message: QueryConsensusStateResponse): QueryConsensusStateResponseAminoMsg; - fromProtoMsg(message: QueryConsensusStateResponseProtoMsg): QueryConsensusStateResponse; - toProto(message: QueryConsensusStateResponse): Uint8Array; - toProtoMsg(message: QueryConsensusStateResponse): QueryConsensusStateResponseProtoMsg; -}; -export declare const QueryConsensusStatesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConsensusStatesRequest; - isSDK(o: any): o is QueryConsensusStatesRequestSDKType; - isAmino(o: any): o is QueryConsensusStatesRequestAmino; - encode(message: QueryConsensusStatesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStatesRequest; - fromJSON(object: any): QueryConsensusStatesRequest; - toJSON(message: QueryConsensusStatesRequest): unknown; - fromPartial(object: DeepPartial): QueryConsensusStatesRequest; - fromSDK(object: QueryConsensusStatesRequestSDKType): QueryConsensusStatesRequest; - toSDK(message: QueryConsensusStatesRequest): QueryConsensusStatesRequestSDKType; - fromAmino(object: QueryConsensusStatesRequestAmino): QueryConsensusStatesRequest; - toAmino(message: QueryConsensusStatesRequest): QueryConsensusStatesRequestAmino; - fromAminoMsg(object: QueryConsensusStatesRequestAminoMsg): QueryConsensusStatesRequest; - toAminoMsg(message: QueryConsensusStatesRequest): QueryConsensusStatesRequestAminoMsg; - fromProtoMsg(message: QueryConsensusStatesRequestProtoMsg): QueryConsensusStatesRequest; - toProto(message: QueryConsensusStatesRequest): Uint8Array; - toProtoMsg(message: QueryConsensusStatesRequest): QueryConsensusStatesRequestProtoMsg; -}; -export declare const QueryConsensusStatesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConsensusStatesResponse; - isSDK(o: any): o is QueryConsensusStatesResponseSDKType; - isAmino(o: any): o is QueryConsensusStatesResponseAmino; - encode(message: QueryConsensusStatesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStatesResponse; - fromJSON(object: any): QueryConsensusStatesResponse; - toJSON(message: QueryConsensusStatesResponse): unknown; - fromPartial(object: DeepPartial): QueryConsensusStatesResponse; - fromSDK(object: QueryConsensusStatesResponseSDKType): QueryConsensusStatesResponse; - toSDK(message: QueryConsensusStatesResponse): QueryConsensusStatesResponseSDKType; - fromAmino(object: QueryConsensusStatesResponseAmino): QueryConsensusStatesResponse; - toAmino(message: QueryConsensusStatesResponse): QueryConsensusStatesResponseAmino; - fromAminoMsg(object: QueryConsensusStatesResponseAminoMsg): QueryConsensusStatesResponse; - toAminoMsg(message: QueryConsensusStatesResponse): QueryConsensusStatesResponseAminoMsg; - fromProtoMsg(message: QueryConsensusStatesResponseProtoMsg): QueryConsensusStatesResponse; - toProto(message: QueryConsensusStatesResponse): Uint8Array; - toProtoMsg(message: QueryConsensusStatesResponse): QueryConsensusStatesResponseProtoMsg; -}; -export declare const QueryClientStatusRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClientStatusRequest; - isSDK(o: any): o is QueryClientStatusRequestSDKType; - isAmino(o: any): o is QueryClientStatusRequestAmino; - encode(message: QueryClientStatusRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatusRequest; - fromJSON(object: any): QueryClientStatusRequest; - toJSON(message: QueryClientStatusRequest): unknown; - fromPartial(object: DeepPartial): QueryClientStatusRequest; - fromSDK(object: QueryClientStatusRequestSDKType): QueryClientStatusRequest; - toSDK(message: QueryClientStatusRequest): QueryClientStatusRequestSDKType; - fromAmino(object: QueryClientStatusRequestAmino): QueryClientStatusRequest; - toAmino(message: QueryClientStatusRequest): QueryClientStatusRequestAmino; - fromAminoMsg(object: QueryClientStatusRequestAminoMsg): QueryClientStatusRequest; - toAminoMsg(message: QueryClientStatusRequest): QueryClientStatusRequestAminoMsg; - fromProtoMsg(message: QueryClientStatusRequestProtoMsg): QueryClientStatusRequest; - toProto(message: QueryClientStatusRequest): Uint8Array; - toProtoMsg(message: QueryClientStatusRequest): QueryClientStatusRequestProtoMsg; -}; -export declare const QueryClientStatusResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClientStatusResponse; - isSDK(o: any): o is QueryClientStatusResponseSDKType; - isAmino(o: any): o is QueryClientStatusResponseAmino; - encode(message: QueryClientStatusResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatusResponse; - fromJSON(object: any): QueryClientStatusResponse; - toJSON(message: QueryClientStatusResponse): unknown; - fromPartial(object: DeepPartial): QueryClientStatusResponse; - fromSDK(object: QueryClientStatusResponseSDKType): QueryClientStatusResponse; - toSDK(message: QueryClientStatusResponse): QueryClientStatusResponseSDKType; - fromAmino(object: QueryClientStatusResponseAmino): QueryClientStatusResponse; - toAmino(message: QueryClientStatusResponse): QueryClientStatusResponseAmino; - fromAminoMsg(object: QueryClientStatusResponseAminoMsg): QueryClientStatusResponse; - toAminoMsg(message: QueryClientStatusResponse): QueryClientStatusResponseAminoMsg; - fromProtoMsg(message: QueryClientStatusResponseProtoMsg): QueryClientStatusResponse; - toProto(message: QueryClientStatusResponse): Uint8Array; - toProtoMsg(message: QueryClientStatusResponse): QueryClientStatusResponseProtoMsg; -}; -export declare const QueryClientParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClientParamsRequest; - isSDK(o: any): o is QueryClientParamsRequestSDKType; - isAmino(o: any): o is QueryClientParamsRequestAmino; - encode(_: QueryClientParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClientParamsRequest; - fromJSON(_: any): QueryClientParamsRequest; - toJSON(_: QueryClientParamsRequest): unknown; - fromPartial(_: DeepPartial): QueryClientParamsRequest; - fromSDK(_: QueryClientParamsRequestSDKType): QueryClientParamsRequest; - toSDK(_: QueryClientParamsRequest): QueryClientParamsRequestSDKType; - fromAmino(_: QueryClientParamsRequestAmino): QueryClientParamsRequest; - toAmino(_: QueryClientParamsRequest): QueryClientParamsRequestAmino; - fromAminoMsg(object: QueryClientParamsRequestAminoMsg): QueryClientParamsRequest; - toAminoMsg(message: QueryClientParamsRequest): QueryClientParamsRequestAminoMsg; - fromProtoMsg(message: QueryClientParamsRequestProtoMsg): QueryClientParamsRequest; - toProto(message: QueryClientParamsRequest): Uint8Array; - toProtoMsg(message: QueryClientParamsRequest): QueryClientParamsRequestProtoMsg; -}; -export declare const QueryClientParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClientParamsResponse; - isSDK(o: any): o is QueryClientParamsResponseSDKType; - isAmino(o: any): o is QueryClientParamsResponseAmino; - encode(message: QueryClientParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClientParamsResponse; - fromJSON(object: any): QueryClientParamsResponse; - toJSON(message: QueryClientParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryClientParamsResponse; - fromSDK(object: QueryClientParamsResponseSDKType): QueryClientParamsResponse; - toSDK(message: QueryClientParamsResponse): QueryClientParamsResponseSDKType; - fromAmino(object: QueryClientParamsResponseAmino): QueryClientParamsResponse; - toAmino(message: QueryClientParamsResponse): QueryClientParamsResponseAmino; - fromAminoMsg(object: QueryClientParamsResponseAminoMsg): QueryClientParamsResponse; - toAminoMsg(message: QueryClientParamsResponse): QueryClientParamsResponseAminoMsg; - fromProtoMsg(message: QueryClientParamsResponseProtoMsg): QueryClientParamsResponse; - toProto(message: QueryClientParamsResponse): Uint8Array; - toProtoMsg(message: QueryClientParamsResponse): QueryClientParamsResponseProtoMsg; -}; -export declare const QueryUpgradedClientStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryUpgradedClientStateRequest; - isSDK(o: any): o is QueryUpgradedClientStateRequestSDKType; - isAmino(o: any): o is QueryUpgradedClientStateRequestAmino; - encode(_: QueryUpgradedClientStateRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedClientStateRequest; - fromJSON(_: any): QueryUpgradedClientStateRequest; - toJSON(_: QueryUpgradedClientStateRequest): unknown; - fromPartial(_: DeepPartial): QueryUpgradedClientStateRequest; - fromSDK(_: QueryUpgradedClientStateRequestSDKType): QueryUpgradedClientStateRequest; - toSDK(_: QueryUpgradedClientStateRequest): QueryUpgradedClientStateRequestSDKType; - fromAmino(_: QueryUpgradedClientStateRequestAmino): QueryUpgradedClientStateRequest; - toAmino(_: QueryUpgradedClientStateRequest): QueryUpgradedClientStateRequestAmino; - fromAminoMsg(object: QueryUpgradedClientStateRequestAminoMsg): QueryUpgradedClientStateRequest; - toAminoMsg(message: QueryUpgradedClientStateRequest): QueryUpgradedClientStateRequestAminoMsg; - fromProtoMsg(message: QueryUpgradedClientStateRequestProtoMsg): QueryUpgradedClientStateRequest; - toProto(message: QueryUpgradedClientStateRequest): Uint8Array; - toProtoMsg(message: QueryUpgradedClientStateRequest): QueryUpgradedClientStateRequestProtoMsg; -}; -export declare const QueryUpgradedClientStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryUpgradedClientStateResponse; - isSDK(o: any): o is QueryUpgradedClientStateResponseSDKType; - isAmino(o: any): o is QueryUpgradedClientStateResponseAmino; - encode(message: QueryUpgradedClientStateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedClientStateResponse; - fromJSON(object: any): QueryUpgradedClientStateResponse; - toJSON(message: QueryUpgradedClientStateResponse): unknown; - fromPartial(object: DeepPartial): QueryUpgradedClientStateResponse; - fromSDK(object: QueryUpgradedClientStateResponseSDKType): QueryUpgradedClientStateResponse; - toSDK(message: QueryUpgradedClientStateResponse): QueryUpgradedClientStateResponseSDKType; - fromAmino(object: QueryUpgradedClientStateResponseAmino): QueryUpgradedClientStateResponse; - toAmino(message: QueryUpgradedClientStateResponse): QueryUpgradedClientStateResponseAmino; - fromAminoMsg(object: QueryUpgradedClientStateResponseAminoMsg): QueryUpgradedClientStateResponse; - toAminoMsg(message: QueryUpgradedClientStateResponse): QueryUpgradedClientStateResponseAminoMsg; - fromProtoMsg(message: QueryUpgradedClientStateResponseProtoMsg): QueryUpgradedClientStateResponse; - toProto(message: QueryUpgradedClientStateResponse): Uint8Array; - toProtoMsg(message: QueryUpgradedClientStateResponse): QueryUpgradedClientStateResponseProtoMsg; -}; -export declare const QueryUpgradedConsensusStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryUpgradedConsensusStateRequest; - isSDK(o: any): o is QueryUpgradedConsensusStateRequestSDKType; - isAmino(o: any): o is QueryUpgradedConsensusStateRequestAmino; - encode(_: QueryUpgradedConsensusStateRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest; - fromJSON(_: any): QueryUpgradedConsensusStateRequest; - toJSON(_: QueryUpgradedConsensusStateRequest): unknown; - fromPartial(_: DeepPartial): QueryUpgradedConsensusStateRequest; - fromSDK(_: QueryUpgradedConsensusStateRequestSDKType): QueryUpgradedConsensusStateRequest; - toSDK(_: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestSDKType; - fromAmino(_: QueryUpgradedConsensusStateRequestAmino): QueryUpgradedConsensusStateRequest; - toAmino(_: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAmino; - fromAminoMsg(object: QueryUpgradedConsensusStateRequestAminoMsg): QueryUpgradedConsensusStateRequest; - toAminoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAminoMsg; - fromProtoMsg(message: QueryUpgradedConsensusStateRequestProtoMsg): QueryUpgradedConsensusStateRequest; - toProto(message: QueryUpgradedConsensusStateRequest): Uint8Array; - toProtoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestProtoMsg; -}; -export declare const QueryUpgradedConsensusStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryUpgradedConsensusStateResponse; - isSDK(o: any): o is QueryUpgradedConsensusStateResponseSDKType; - isAmino(o: any): o is QueryUpgradedConsensusStateResponseAmino; - encode(message: QueryUpgradedConsensusStateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse; - fromJSON(object: any): QueryUpgradedConsensusStateResponse; - toJSON(message: QueryUpgradedConsensusStateResponse): unknown; - fromPartial(object: DeepPartial): QueryUpgradedConsensusStateResponse; - fromSDK(object: QueryUpgradedConsensusStateResponseSDKType): QueryUpgradedConsensusStateResponse; - toSDK(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseSDKType; - fromAmino(object: QueryUpgradedConsensusStateResponseAmino): QueryUpgradedConsensusStateResponse; - toAmino(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAmino; - fromAminoMsg(object: QueryUpgradedConsensusStateResponseAminoMsg): QueryUpgradedConsensusStateResponse; - toAminoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAminoMsg; - fromProtoMsg(message: QueryUpgradedConsensusStateResponseProtoMsg): QueryUpgradedConsensusStateResponse; - toProto(message: QueryUpgradedConsensusStateResponse): Uint8Array; - toProtoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts b/examples/authz/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts deleted file mode 100644 index 2e3487fd..00000000 --- a/examples/authz/types/codegen/ibc/core/client/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,143 +0,0 @@ -import { TxRpc } from "../../../../types"; -import { ReactQueryParams } from "../../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../../mobx"; -import { QueryClientStateRequest, QueryClientStateResponse, QueryClientStatesRequest, QueryClientStatesResponse, QueryConsensusStateRequest, QueryConsensusStateResponse, QueryConsensusStatesRequest, QueryConsensusStatesResponse, QueryClientStatusRequest, QueryClientStatusResponse, QueryClientParamsRequest, QueryClientParamsResponse, QueryUpgradedClientStateRequest, QueryUpgradedClientStateResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse } from "./query"; -/** Query provides defines the gRPC querier service */ -export interface Query { - /** ClientState queries an IBC light client. */ - clientState(request: QueryClientStateRequest): Promise; - /** ClientStates queries all the IBC light clients of a chain. */ - clientStates(request?: QueryClientStatesRequest): Promise; - /** - * ConsensusState queries a consensus state associated with a client state at - * a given height. - */ - consensusState(request: QueryConsensusStateRequest): Promise; - /** - * ConsensusStates queries all the consensus state associated with a given - * client. - */ - consensusStates(request: QueryConsensusStatesRequest): Promise; - /** Status queries the status of an IBC client. */ - clientStatus(request: QueryClientStatusRequest): Promise; - /** ClientParams queries all parameters of the ibc client. */ - clientParams(request?: QueryClientParamsRequest): Promise; - /** UpgradedClientState queries an Upgraded IBC light client. */ - upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise; - /** UpgradedConsensusState queries an Upgraded IBC consensus state. */ - upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - clientState: (request: QueryClientStateRequest) => Promise; - clientStates: (request?: QueryClientStatesRequest) => Promise; - consensusState: (request: QueryConsensusStateRequest) => Promise; - consensusStates: (request: QueryConsensusStatesRequest) => Promise; - clientStatus: (request: QueryClientStatusRequest) => Promise; - clientParams: (request?: QueryClientParamsRequest) => Promise; - upgradedClientState: (request?: QueryUpgradedClientStateRequest) => Promise; - upgradedConsensusState: (request?: QueryUpgradedConsensusStateRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseClientStateQuery extends ReactQueryParams { - request: QueryClientStateRequest; -} -export interface UseClientStatesQuery extends ReactQueryParams { - request?: QueryClientStatesRequest; -} -export interface UseConsensusStateQuery extends ReactQueryParams { - request: QueryConsensusStateRequest; -} -export interface UseConsensusStatesQuery extends ReactQueryParams { - request: QueryConsensusStatesRequest; -} -export interface UseClientStatusQuery extends ReactQueryParams { - request: QueryClientStatusRequest; -} -export interface UseClientParamsQuery extends ReactQueryParams { - request?: QueryClientParamsRequest; -} -export interface UseUpgradedClientStateQuery extends ReactQueryParams { - request?: QueryUpgradedClientStateRequest; -} -export interface UseUpgradedConsensusStateQuery extends ReactQueryParams { - request?: QueryUpgradedConsensusStateRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** ClientState queries an IBC light client. */ useClientState: ({ request, options }: UseClientStateQuery) => import("@tanstack/react-query").UseQueryResult; - /** ClientStates queries all the IBC light clients of a chain. */ useClientStates: ({ request, options }: UseClientStatesQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * ConsensusState queries a consensus state associated with a client state at - * a given height. - */ - useConsensusState: ({ request, options }: UseConsensusStateQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * ConsensusStates queries all the consensus state associated with a given - * client. - */ - useConsensusStates: ({ request, options }: UseConsensusStatesQuery) => import("@tanstack/react-query").UseQueryResult; - /** Status queries the status of an IBC client. */ useClientStatus: ({ request, options }: UseClientStatusQuery) => import("@tanstack/react-query").UseQueryResult; - /** ClientParams queries all parameters of the ibc client. */ useClientParams: ({ request, options }: UseClientParamsQuery) => import("@tanstack/react-query").UseQueryResult; - /** UpgradedClientState queries an Upgraded IBC light client. */ useUpgradedClientState: ({ request, options }: UseUpgradedClientStateQuery) => import("@tanstack/react-query").UseQueryResult; - /** UpgradedConsensusState queries an Upgraded IBC consensus state. */ useUpgradedConsensusState: ({ request, options }: UseUpgradedConsensusStateQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** ClientState queries an IBC light client. */ QueryClientStateStore: { - new (): { - store: QueryStore; - clientState(request: QueryClientStateRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** ClientStates queries all the IBC light clients of a chain. */ QueryClientStatesStore: { - new (): { - store: QueryStore; - clientStates(request: QueryClientStatesRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** - * ConsensusState queries a consensus state associated with a client state at - * a given height. - */ - QueryConsensusStateStore: { - new (): { - store: QueryStore; - consensusState(request: QueryConsensusStateRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** - * ConsensusStates queries all the consensus state associated with a given - * client. - */ - QueryConsensusStatesStore: { - new (): { - store: QueryStore; - consensusStates(request: QueryConsensusStatesRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** Status queries the status of an IBC client. */ QueryClientStatusStore: { - new (): { - store: QueryStore; - clientStatus(request: QueryClientStatusRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** ClientParams queries all parameters of the ibc client. */ QueryClientParamsStore: { - new (): { - store: QueryStore; - clientParams(request: QueryClientParamsRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** UpgradedClientState queries an Upgraded IBC light client. */ QueryUpgradedClientStateStore: { - new (): { - store: QueryStore; - upgradedClientState(request: QueryUpgradedClientStateRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** UpgradedConsensusState queries an Upgraded IBC consensus state. */ QueryUpgradedConsensusStateStore: { - new (): { - store: QueryStore; - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): import("../../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/ibc/core/client/v1/tx.amino.d.ts b/examples/authz/types/codegen/ibc/core/client/v1/tx.amino.d.ts deleted file mode 100644 index 179f257f..00000000 --- a/examples/authz/types/codegen/ibc/core/client/v1/tx.amino.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx"; -export declare const AminoConverter: { - "/ibc.core.client.v1.MsgCreateClient": { - aminoType: string; - toAmino: (message: MsgCreateClient) => import("./tx").MsgCreateClientAmino; - fromAmino: (object: import("./tx").MsgCreateClientAmino) => MsgCreateClient; - }; - "/ibc.core.client.v1.MsgUpdateClient": { - aminoType: string; - toAmino: (message: MsgUpdateClient) => import("./tx").MsgUpdateClientAmino; - fromAmino: (object: import("./tx").MsgUpdateClientAmino) => MsgUpdateClient; - }; - "/ibc.core.client.v1.MsgUpgradeClient": { - aminoType: string; - toAmino: (message: MsgUpgradeClient) => import("./tx").MsgUpgradeClientAmino; - fromAmino: (object: import("./tx").MsgUpgradeClientAmino) => MsgUpgradeClient; - }; - "/ibc.core.client.v1.MsgSubmitMisbehaviour": { - aminoType: string; - toAmino: (message: MsgSubmitMisbehaviour) => import("./tx").MsgSubmitMisbehaviourAmino; - fromAmino: (object: import("./tx").MsgSubmitMisbehaviourAmino) => MsgSubmitMisbehaviour; - }; -}; diff --git a/examples/authz/types/codegen/ibc/core/client/v1/tx.d.ts b/examples/authz/types/codegen/ibc/core/client/v1/tx.d.ts deleted file mode 100644 index 189cc781..00000000 --- a/examples/authz/types/codegen/ibc/core/client/v1/tx.d.ts +++ /dev/null @@ -1,430 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** MsgCreateClient defines a message to create an IBC client */ -export interface MsgCreateClient { - /** light client state */ - clientState?: Any | undefined; - /** - * consensus state associated with the client that corresponds to a given - * height. - */ - consensusState?: Any | undefined; - /** signer address */ - signer: string; -} -export interface MsgCreateClientProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgCreateClient"; - value: Uint8Array; -} -/** MsgCreateClient defines a message to create an IBC client */ -export interface MsgCreateClientAmino { - /** light client state */ - client_state?: AnyAmino | undefined; - /** - * consensus state associated with the client that corresponds to a given - * height. - */ - consensus_state?: AnyAmino | undefined; - /** signer address */ - signer?: string; -} -export interface MsgCreateClientAminoMsg { - type: "cosmos-sdk/MsgCreateClient"; - value: MsgCreateClientAmino; -} -/** MsgCreateClient defines a message to create an IBC client */ -export interface MsgCreateClientSDKType { - client_state?: AnySDKType | undefined; - consensus_state?: AnySDKType | undefined; - signer: string; -} -/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ -export interface MsgCreateClientResponse { -} -export interface MsgCreateClientResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgCreateClientResponse"; - value: Uint8Array; -} -/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ -export interface MsgCreateClientResponseAmino { -} -export interface MsgCreateClientResponseAminoMsg { - type: "cosmos-sdk/MsgCreateClientResponse"; - value: MsgCreateClientResponseAmino; -} -/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ -export interface MsgCreateClientResponseSDKType { -} -/** - * MsgUpdateClient defines an sdk.Msg to update a IBC client state using - * the given header. - */ -export interface MsgUpdateClient { - /** client unique identifier */ - clientId: string; - /** header to update the light client */ - header?: Any | undefined; - /** signer address */ - signer: string; -} -export interface MsgUpdateClientProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgUpdateClient"; - value: Uint8Array; -} -/** - * MsgUpdateClient defines an sdk.Msg to update a IBC client state using - * the given header. - */ -export interface MsgUpdateClientAmino { - /** client unique identifier */ - client_id?: string; - /** header to update the light client */ - header?: AnyAmino | undefined; - /** signer address */ - signer?: string; -} -export interface MsgUpdateClientAminoMsg { - type: "cosmos-sdk/MsgUpdateClient"; - value: MsgUpdateClientAmino; -} -/** - * MsgUpdateClient defines an sdk.Msg to update a IBC client state using - * the given header. - */ -export interface MsgUpdateClientSDKType { - client_id: string; - header?: AnySDKType | undefined; - signer: string; -} -/** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */ -export interface MsgUpdateClientResponse { -} -export interface MsgUpdateClientResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgUpdateClientResponse"; - value: Uint8Array; -} -/** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */ -export interface MsgUpdateClientResponseAmino { -} -export interface MsgUpdateClientResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateClientResponse"; - value: MsgUpdateClientResponseAmino; -} -/** MsgUpdateClientResponse defines the Msg/UpdateClient response type. */ -export interface MsgUpdateClientResponseSDKType { -} -/** - * MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client - * state - */ -export interface MsgUpgradeClient { - /** client unique identifier */ - clientId: string; - /** upgraded client state */ - clientState?: Any | undefined; - /** - * upgraded consensus state, only contains enough information to serve as a - * basis of trust in update logic - */ - consensusState?: Any | undefined; - /** proof that old chain committed to new client */ - proofUpgradeClient: Uint8Array; - /** proof that old chain committed to new consensus state */ - proofUpgradeConsensusState: Uint8Array; - /** signer address */ - signer: string; -} -export interface MsgUpgradeClientProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgUpgradeClient"; - value: Uint8Array; -} -/** - * MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client - * state - */ -export interface MsgUpgradeClientAmino { - /** client unique identifier */ - client_id?: string; - /** upgraded client state */ - client_state?: AnyAmino | undefined; - /** - * upgraded consensus state, only contains enough information to serve as a - * basis of trust in update logic - */ - consensus_state?: AnyAmino | undefined; - /** proof that old chain committed to new client */ - proof_upgrade_client?: string; - /** proof that old chain committed to new consensus state */ - proof_upgrade_consensus_state?: string; - /** signer address */ - signer?: string; -} -export interface MsgUpgradeClientAminoMsg { - type: "cosmos-sdk/MsgUpgradeClient"; - value: MsgUpgradeClientAmino; -} -/** - * MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client - * state - */ -export interface MsgUpgradeClientSDKType { - client_id: string; - client_state?: AnySDKType | undefined; - consensus_state?: AnySDKType | undefined; - proof_upgrade_client: Uint8Array; - proof_upgrade_consensus_state: Uint8Array; - signer: string; -} -/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ -export interface MsgUpgradeClientResponse { -} -export interface MsgUpgradeClientResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgUpgradeClientResponse"; - value: Uint8Array; -} -/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ -export interface MsgUpgradeClientResponseAmino { -} -export interface MsgUpgradeClientResponseAminoMsg { - type: "cosmos-sdk/MsgUpgradeClientResponse"; - value: MsgUpgradeClientResponseAmino; -} -/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ -export interface MsgUpgradeClientResponseSDKType { -} -/** - * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for - * light client misbehaviour. - */ -export interface MsgSubmitMisbehaviour { - /** client unique identifier */ - clientId: string; - /** misbehaviour used for freezing the light client */ - misbehaviour?: Any | undefined; - /** signer address */ - signer: string; -} -export interface MsgSubmitMisbehaviourProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviour"; - value: Uint8Array; -} -/** - * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for - * light client misbehaviour. - */ -export interface MsgSubmitMisbehaviourAmino { - /** client unique identifier */ - client_id?: string; - /** misbehaviour used for freezing the light client */ - misbehaviour?: AnyAmino | undefined; - /** signer address */ - signer?: string; -} -export interface MsgSubmitMisbehaviourAminoMsg { - type: "cosmos-sdk/MsgSubmitMisbehaviour"; - value: MsgSubmitMisbehaviourAmino; -} -/** - * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for - * light client misbehaviour. - */ -export interface MsgSubmitMisbehaviourSDKType { - client_id: string; - misbehaviour?: AnySDKType | undefined; - signer: string; -} -/** - * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response - * type. - */ -export interface MsgSubmitMisbehaviourResponse { -} -export interface MsgSubmitMisbehaviourResponseProtoMsg { - typeUrl: "/ibc.core.client.v1.MsgSubmitMisbehaviourResponse"; - value: Uint8Array; -} -/** - * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response - * type. - */ -export interface MsgSubmitMisbehaviourResponseAmino { -} -export interface MsgSubmitMisbehaviourResponseAminoMsg { - type: "cosmos-sdk/MsgSubmitMisbehaviourResponse"; - value: MsgSubmitMisbehaviourResponseAmino; -} -/** - * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response - * type. - */ -export interface MsgSubmitMisbehaviourResponseSDKType { -} -export declare const MsgCreateClient: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateClient; - isSDK(o: any): o is MsgCreateClientSDKType; - isAmino(o: any): o is MsgCreateClientAmino; - encode(message: MsgCreateClient, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateClient; - fromJSON(object: any): MsgCreateClient; - toJSON(message: MsgCreateClient): unknown; - fromPartial(object: DeepPartial): MsgCreateClient; - fromSDK(object: MsgCreateClientSDKType): MsgCreateClient; - toSDK(message: MsgCreateClient): MsgCreateClientSDKType; - fromAmino(object: MsgCreateClientAmino): MsgCreateClient; - toAmino(message: MsgCreateClient): MsgCreateClientAmino; - fromAminoMsg(object: MsgCreateClientAminoMsg): MsgCreateClient; - toAminoMsg(message: MsgCreateClient): MsgCreateClientAminoMsg; - fromProtoMsg(message: MsgCreateClientProtoMsg): MsgCreateClient; - toProto(message: MsgCreateClient): Uint8Array; - toProtoMsg(message: MsgCreateClient): MsgCreateClientProtoMsg; -}; -export declare const MsgCreateClientResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateClientResponse; - isSDK(o: any): o is MsgCreateClientResponseSDKType; - isAmino(o: any): o is MsgCreateClientResponseAmino; - encode(_: MsgCreateClientResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateClientResponse; - fromJSON(_: any): MsgCreateClientResponse; - toJSON(_: MsgCreateClientResponse): unknown; - fromPartial(_: DeepPartial): MsgCreateClientResponse; - fromSDK(_: MsgCreateClientResponseSDKType): MsgCreateClientResponse; - toSDK(_: MsgCreateClientResponse): MsgCreateClientResponseSDKType; - fromAmino(_: MsgCreateClientResponseAmino): MsgCreateClientResponse; - toAmino(_: MsgCreateClientResponse): MsgCreateClientResponseAmino; - fromAminoMsg(object: MsgCreateClientResponseAminoMsg): MsgCreateClientResponse; - toAminoMsg(message: MsgCreateClientResponse): MsgCreateClientResponseAminoMsg; - fromProtoMsg(message: MsgCreateClientResponseProtoMsg): MsgCreateClientResponse; - toProto(message: MsgCreateClientResponse): Uint8Array; - toProtoMsg(message: MsgCreateClientResponse): MsgCreateClientResponseProtoMsg; -}; -export declare const MsgUpdateClient: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateClient; - isSDK(o: any): o is MsgUpdateClientSDKType; - isAmino(o: any): o is MsgUpdateClientAmino; - encode(message: MsgUpdateClient, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateClient; - fromJSON(object: any): MsgUpdateClient; - toJSON(message: MsgUpdateClient): unknown; - fromPartial(object: DeepPartial): MsgUpdateClient; - fromSDK(object: MsgUpdateClientSDKType): MsgUpdateClient; - toSDK(message: MsgUpdateClient): MsgUpdateClientSDKType; - fromAmino(object: MsgUpdateClientAmino): MsgUpdateClient; - toAmino(message: MsgUpdateClient): MsgUpdateClientAmino; - fromAminoMsg(object: MsgUpdateClientAminoMsg): MsgUpdateClient; - toAminoMsg(message: MsgUpdateClient): MsgUpdateClientAminoMsg; - fromProtoMsg(message: MsgUpdateClientProtoMsg): MsgUpdateClient; - toProto(message: MsgUpdateClient): Uint8Array; - toProtoMsg(message: MsgUpdateClient): MsgUpdateClientProtoMsg; -}; -export declare const MsgUpdateClientResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpdateClientResponse; - isSDK(o: any): o is MsgUpdateClientResponseSDKType; - isAmino(o: any): o is MsgUpdateClientResponseAmino; - encode(_: MsgUpdateClientResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateClientResponse; - fromJSON(_: any): MsgUpdateClientResponse; - toJSON(_: MsgUpdateClientResponse): unknown; - fromPartial(_: DeepPartial): MsgUpdateClientResponse; - fromSDK(_: MsgUpdateClientResponseSDKType): MsgUpdateClientResponse; - toSDK(_: MsgUpdateClientResponse): MsgUpdateClientResponseSDKType; - fromAmino(_: MsgUpdateClientResponseAmino): MsgUpdateClientResponse; - toAmino(_: MsgUpdateClientResponse): MsgUpdateClientResponseAmino; - fromAminoMsg(object: MsgUpdateClientResponseAminoMsg): MsgUpdateClientResponse; - toAminoMsg(message: MsgUpdateClientResponse): MsgUpdateClientResponseAminoMsg; - fromProtoMsg(message: MsgUpdateClientResponseProtoMsg): MsgUpdateClientResponse; - toProto(message: MsgUpdateClientResponse): Uint8Array; - toProtoMsg(message: MsgUpdateClientResponse): MsgUpdateClientResponseProtoMsg; -}; -export declare const MsgUpgradeClient: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpgradeClient; - isSDK(o: any): o is MsgUpgradeClientSDKType; - isAmino(o: any): o is MsgUpgradeClientAmino; - encode(message: MsgUpgradeClient, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpgradeClient; - fromJSON(object: any): MsgUpgradeClient; - toJSON(message: MsgUpgradeClient): unknown; - fromPartial(object: DeepPartial): MsgUpgradeClient; - fromSDK(object: MsgUpgradeClientSDKType): MsgUpgradeClient; - toSDK(message: MsgUpgradeClient): MsgUpgradeClientSDKType; - fromAmino(object: MsgUpgradeClientAmino): MsgUpgradeClient; - toAmino(message: MsgUpgradeClient): MsgUpgradeClientAmino; - fromAminoMsg(object: MsgUpgradeClientAminoMsg): MsgUpgradeClient; - toAminoMsg(message: MsgUpgradeClient): MsgUpgradeClientAminoMsg; - fromProtoMsg(message: MsgUpgradeClientProtoMsg): MsgUpgradeClient; - toProto(message: MsgUpgradeClient): Uint8Array; - toProtoMsg(message: MsgUpgradeClient): MsgUpgradeClientProtoMsg; -}; -export declare const MsgUpgradeClientResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUpgradeClientResponse; - isSDK(o: any): o is MsgUpgradeClientResponseSDKType; - isAmino(o: any): o is MsgUpgradeClientResponseAmino; - encode(_: MsgUpgradeClientResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUpgradeClientResponse; - fromJSON(_: any): MsgUpgradeClientResponse; - toJSON(_: MsgUpgradeClientResponse): unknown; - fromPartial(_: DeepPartial): MsgUpgradeClientResponse; - fromSDK(_: MsgUpgradeClientResponseSDKType): MsgUpgradeClientResponse; - toSDK(_: MsgUpgradeClientResponse): MsgUpgradeClientResponseSDKType; - fromAmino(_: MsgUpgradeClientResponseAmino): MsgUpgradeClientResponse; - toAmino(_: MsgUpgradeClientResponse): MsgUpgradeClientResponseAmino; - fromAminoMsg(object: MsgUpgradeClientResponseAminoMsg): MsgUpgradeClientResponse; - toAminoMsg(message: MsgUpgradeClientResponse): MsgUpgradeClientResponseAminoMsg; - fromProtoMsg(message: MsgUpgradeClientResponseProtoMsg): MsgUpgradeClientResponse; - toProto(message: MsgUpgradeClientResponse): Uint8Array; - toProtoMsg(message: MsgUpgradeClientResponse): MsgUpgradeClientResponseProtoMsg; -}; -export declare const MsgSubmitMisbehaviour: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSubmitMisbehaviour; - isSDK(o: any): o is MsgSubmitMisbehaviourSDKType; - isAmino(o: any): o is MsgSubmitMisbehaviourAmino; - encode(message: MsgSubmitMisbehaviour, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitMisbehaviour; - fromJSON(object: any): MsgSubmitMisbehaviour; - toJSON(message: MsgSubmitMisbehaviour): unknown; - fromPartial(object: DeepPartial): MsgSubmitMisbehaviour; - fromSDK(object: MsgSubmitMisbehaviourSDKType): MsgSubmitMisbehaviour; - toSDK(message: MsgSubmitMisbehaviour): MsgSubmitMisbehaviourSDKType; - fromAmino(object: MsgSubmitMisbehaviourAmino): MsgSubmitMisbehaviour; - toAmino(message: MsgSubmitMisbehaviour): MsgSubmitMisbehaviourAmino; - fromAminoMsg(object: MsgSubmitMisbehaviourAminoMsg): MsgSubmitMisbehaviour; - toAminoMsg(message: MsgSubmitMisbehaviour): MsgSubmitMisbehaviourAminoMsg; - fromProtoMsg(message: MsgSubmitMisbehaviourProtoMsg): MsgSubmitMisbehaviour; - toProto(message: MsgSubmitMisbehaviour): Uint8Array; - toProtoMsg(message: MsgSubmitMisbehaviour): MsgSubmitMisbehaviourProtoMsg; -}; -export declare const MsgSubmitMisbehaviourResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSubmitMisbehaviourResponse; - isSDK(o: any): o is MsgSubmitMisbehaviourResponseSDKType; - isAmino(o: any): o is MsgSubmitMisbehaviourResponseAmino; - encode(_: MsgSubmitMisbehaviourResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponse; - fromJSON(_: any): MsgSubmitMisbehaviourResponse; - toJSON(_: MsgSubmitMisbehaviourResponse): unknown; - fromPartial(_: DeepPartial): MsgSubmitMisbehaviourResponse; - fromSDK(_: MsgSubmitMisbehaviourResponseSDKType): MsgSubmitMisbehaviourResponse; - toSDK(_: MsgSubmitMisbehaviourResponse): MsgSubmitMisbehaviourResponseSDKType; - fromAmino(_: MsgSubmitMisbehaviourResponseAmino): MsgSubmitMisbehaviourResponse; - toAmino(_: MsgSubmitMisbehaviourResponse): MsgSubmitMisbehaviourResponseAmino; - fromAminoMsg(object: MsgSubmitMisbehaviourResponseAminoMsg): MsgSubmitMisbehaviourResponse; - toAminoMsg(message: MsgSubmitMisbehaviourResponse): MsgSubmitMisbehaviourResponseAminoMsg; - fromProtoMsg(message: MsgSubmitMisbehaviourResponseProtoMsg): MsgSubmitMisbehaviourResponse; - toProto(message: MsgSubmitMisbehaviourResponse): Uint8Array; - toProtoMsg(message: MsgSubmitMisbehaviourResponse): MsgSubmitMisbehaviourResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/core/client/v1/tx.registry.d.ts b/examples/authz/types/codegen/ibc/core/client/v1/tx.registry.d.ts deleted file mode 100644 index d6bbb125..00000000 --- a/examples/authz/types/codegen/ibc/core/client/v1/tx.registry.d.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { TelescopeGeneratedType } from "../../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - createClient(value: MsgCreateClient): { - typeUrl: string; - value: Uint8Array; - }; - updateClient(value: MsgUpdateClient): { - typeUrl: string; - value: Uint8Array; - }; - upgradeClient(value: MsgUpgradeClient): { - typeUrl: string; - value: Uint8Array; - }; - submitMisbehaviour(value: MsgSubmitMisbehaviour): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createClient(value: MsgCreateClient): { - typeUrl: string; - value: MsgCreateClient; - }; - updateClient(value: MsgUpdateClient): { - typeUrl: string; - value: MsgUpdateClient; - }; - upgradeClient(value: MsgUpgradeClient): { - typeUrl: string; - value: MsgUpgradeClient; - }; - submitMisbehaviour(value: MsgSubmitMisbehaviour): { - typeUrl: string; - value: MsgSubmitMisbehaviour; - }; - }; - toJSON: { - createClient(value: MsgCreateClient): { - typeUrl: string; - value: unknown; - }; - updateClient(value: MsgUpdateClient): { - typeUrl: string; - value: unknown; - }; - upgradeClient(value: MsgUpgradeClient): { - typeUrl: string; - value: unknown; - }; - submitMisbehaviour(value: MsgSubmitMisbehaviour): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createClient(value: any): { - typeUrl: string; - value: MsgCreateClient; - }; - updateClient(value: any): { - typeUrl: string; - value: MsgUpdateClient; - }; - upgradeClient(value: any): { - typeUrl: string; - value: MsgUpgradeClient; - }; - submitMisbehaviour(value: any): { - typeUrl: string; - value: MsgSubmitMisbehaviour; - }; - }; - fromPartial: { - createClient(value: MsgCreateClient): { - typeUrl: string; - value: MsgCreateClient; - }; - updateClient(value: MsgUpdateClient): { - typeUrl: string; - value: MsgUpdateClient; - }; - upgradeClient(value: MsgUpgradeClient): { - typeUrl: string; - value: MsgUpgradeClient; - }; - submitMisbehaviour(value: MsgSubmitMisbehaviour): { - typeUrl: string; - value: MsgSubmitMisbehaviour; - }; - }; -}; diff --git a/examples/authz/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts deleted file mode 100644 index be8462b4..00000000 --- a/examples/authz/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../../types"; -import { MsgCreateClient, MsgUpdateClient, MsgUpgradeClient, MsgSubmitMisbehaviour } from "./tx"; -/** Msg defines the ibc/client Msg service. */ -export interface Msg { - /** CreateClient defines a rpc handler method for MsgCreateClient. */ - createClient(signerAddress: string, message: MsgCreateClient, fee: number | StdFee | "auto", memo: string): Promise; - /** UpdateClient defines a rpc handler method for MsgUpdateClient. */ - updateClient(signerAddress: string, message: MsgUpdateClient, fee: number | StdFee | "auto", memo: string): Promise; - /** UpgradeClient defines a rpc handler method for MsgUpgradeClient. */ - upgradeClient(signerAddress: string, message: MsgUpgradeClient, fee: number | StdFee | "auto", memo: string): Promise; - /** SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. */ - submitMisbehaviour(signerAddress: string, message: MsgSubmitMisbehaviour, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - createClient: (signerAddress: string, message: MsgCreateClient, fee?: number | StdFee | "auto", memo?: string) => Promise; - updateClient: (signerAddress: string, message: MsgUpdateClient, fee?: number | StdFee | "auto", memo?: string) => Promise; - upgradeClient: (signerAddress: string, message: MsgUpgradeClient, fee?: number | StdFee | "auto", memo?: string) => Promise; - submitMisbehaviour: (signerAddress: string, message: MsgSubmitMisbehaviour, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/ibc/core/commitment/v1/commitment.d.ts b/examples/authz/types/codegen/ibc/core/commitment/v1/commitment.d.ts deleted file mode 100644 index e861f06d..00000000 --- a/examples/authz/types/codegen/ibc/core/commitment/v1/commitment.d.ts +++ /dev/null @@ -1,218 +0,0 @@ -import { CommitmentProof, CommitmentProofAmino, CommitmentProofSDKType } from "../../../../confio/proofs"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * MerkleRoot defines a merkle root hash. - * In the Cosmos SDK, the AppHash of a block header becomes the root. - */ -export interface MerkleRoot { - hash: Uint8Array; -} -export interface MerkleRootProtoMsg { - typeUrl: "/ibc.core.commitment.v1.MerkleRoot"; - value: Uint8Array; -} -/** - * MerkleRoot defines a merkle root hash. - * In the Cosmos SDK, the AppHash of a block header becomes the root. - */ -export interface MerkleRootAmino { - hash?: string; -} -export interface MerkleRootAminoMsg { - type: "cosmos-sdk/MerkleRoot"; - value: MerkleRootAmino; -} -/** - * MerkleRoot defines a merkle root hash. - * In the Cosmos SDK, the AppHash of a block header becomes the root. - */ -export interface MerkleRootSDKType { - hash: Uint8Array; -} -/** - * MerklePrefix is merkle path prefixed to the key. - * The constructed key from the Path and the key will be append(Path.KeyPath, - * append(Path.KeyPrefix, key...)) - */ -export interface MerklePrefix { - keyPrefix: Uint8Array; -} -export interface MerklePrefixProtoMsg { - typeUrl: "/ibc.core.commitment.v1.MerklePrefix"; - value: Uint8Array; -} -/** - * MerklePrefix is merkle path prefixed to the key. - * The constructed key from the Path and the key will be append(Path.KeyPath, - * append(Path.KeyPrefix, key...)) - */ -export interface MerklePrefixAmino { - key_prefix?: string; -} -export interface MerklePrefixAminoMsg { - type: "cosmos-sdk/MerklePrefix"; - value: MerklePrefixAmino; -} -/** - * MerklePrefix is merkle path prefixed to the key. - * The constructed key from the Path and the key will be append(Path.KeyPath, - * append(Path.KeyPrefix, key...)) - */ -export interface MerklePrefixSDKType { - key_prefix: Uint8Array; -} -/** - * MerklePath is the path used to verify commitment proofs, which can be an - * arbitrary structured object (defined by a commitment type). - * MerklePath is represented from root-to-leaf - */ -export interface MerklePath { - keyPath: string[]; -} -export interface MerklePathProtoMsg { - typeUrl: "/ibc.core.commitment.v1.MerklePath"; - value: Uint8Array; -} -/** - * MerklePath is the path used to verify commitment proofs, which can be an - * arbitrary structured object (defined by a commitment type). - * MerklePath is represented from root-to-leaf - */ -export interface MerklePathAmino { - key_path?: string[]; -} -export interface MerklePathAminoMsg { - type: "cosmos-sdk/MerklePath"; - value: MerklePathAmino; -} -/** - * MerklePath is the path used to verify commitment proofs, which can be an - * arbitrary structured object (defined by a commitment type). - * MerklePath is represented from root-to-leaf - */ -export interface MerklePathSDKType { - key_path: string[]; -} -/** - * MerkleProof is a wrapper type over a chain of CommitmentProofs. - * It demonstrates membership or non-membership for an element or set of - * elements, verifiable in conjunction with a known commitment root. Proofs - * should be succinct. - * MerkleProofs are ordered from leaf-to-root - */ -export interface MerkleProof { - proofs: CommitmentProof[]; -} -export interface MerkleProofProtoMsg { - typeUrl: "/ibc.core.commitment.v1.MerkleProof"; - value: Uint8Array; -} -/** - * MerkleProof is a wrapper type over a chain of CommitmentProofs. - * It demonstrates membership or non-membership for an element or set of - * elements, verifiable in conjunction with a known commitment root. Proofs - * should be succinct. - * MerkleProofs are ordered from leaf-to-root - */ -export interface MerkleProofAmino { - proofs?: CommitmentProofAmino[]; -} -export interface MerkleProofAminoMsg { - type: "cosmos-sdk/MerkleProof"; - value: MerkleProofAmino; -} -/** - * MerkleProof is a wrapper type over a chain of CommitmentProofs. - * It demonstrates membership or non-membership for an element or set of - * elements, verifiable in conjunction with a known commitment root. Proofs - * should be succinct. - * MerkleProofs are ordered from leaf-to-root - */ -export interface MerkleProofSDKType { - proofs: CommitmentProofSDKType[]; -} -export declare const MerkleRoot: { - typeUrl: string; - aminoType: string; - is(o: any): o is MerkleRoot; - isSDK(o: any): o is MerkleRootSDKType; - isAmino(o: any): o is MerkleRootAmino; - encode(message: MerkleRoot, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MerkleRoot; - fromJSON(object: any): MerkleRoot; - toJSON(message: MerkleRoot): unknown; - fromPartial(object: DeepPartial): MerkleRoot; - fromSDK(object: MerkleRootSDKType): MerkleRoot; - toSDK(message: MerkleRoot): MerkleRootSDKType; - fromAmino(object: MerkleRootAmino): MerkleRoot; - toAmino(message: MerkleRoot): MerkleRootAmino; - fromAminoMsg(object: MerkleRootAminoMsg): MerkleRoot; - toAminoMsg(message: MerkleRoot): MerkleRootAminoMsg; - fromProtoMsg(message: MerkleRootProtoMsg): MerkleRoot; - toProto(message: MerkleRoot): Uint8Array; - toProtoMsg(message: MerkleRoot): MerkleRootProtoMsg; -}; -export declare const MerklePrefix: { - typeUrl: string; - aminoType: string; - is(o: any): o is MerklePrefix; - isSDK(o: any): o is MerklePrefixSDKType; - isAmino(o: any): o is MerklePrefixAmino; - encode(message: MerklePrefix, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MerklePrefix; - fromJSON(object: any): MerklePrefix; - toJSON(message: MerklePrefix): unknown; - fromPartial(object: DeepPartial): MerklePrefix; - fromSDK(object: MerklePrefixSDKType): MerklePrefix; - toSDK(message: MerklePrefix): MerklePrefixSDKType; - fromAmino(object: MerklePrefixAmino): MerklePrefix; - toAmino(message: MerklePrefix): MerklePrefixAmino; - fromAminoMsg(object: MerklePrefixAminoMsg): MerklePrefix; - toAminoMsg(message: MerklePrefix): MerklePrefixAminoMsg; - fromProtoMsg(message: MerklePrefixProtoMsg): MerklePrefix; - toProto(message: MerklePrefix): Uint8Array; - toProtoMsg(message: MerklePrefix): MerklePrefixProtoMsg; -}; -export declare const MerklePath: { - typeUrl: string; - aminoType: string; - is(o: any): o is MerklePath; - isSDK(o: any): o is MerklePathSDKType; - isAmino(o: any): o is MerklePathAmino; - encode(message: MerklePath, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MerklePath; - fromJSON(object: any): MerklePath; - toJSON(message: MerklePath): unknown; - fromPartial(object: DeepPartial): MerklePath; - fromSDK(object: MerklePathSDKType): MerklePath; - toSDK(message: MerklePath): MerklePathSDKType; - fromAmino(object: MerklePathAmino): MerklePath; - toAmino(message: MerklePath): MerklePathAmino; - fromAminoMsg(object: MerklePathAminoMsg): MerklePath; - toAminoMsg(message: MerklePath): MerklePathAminoMsg; - fromProtoMsg(message: MerklePathProtoMsg): MerklePath; - toProto(message: MerklePath): Uint8Array; - toProtoMsg(message: MerklePath): MerklePathProtoMsg; -}; -export declare const MerkleProof: { - typeUrl: string; - aminoType: string; - is(o: any): o is MerkleProof; - isSDK(o: any): o is MerkleProofSDKType; - isAmino(o: any): o is MerkleProofAmino; - encode(message: MerkleProof, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MerkleProof; - fromJSON(object: any): MerkleProof; - toJSON(message: MerkleProof): unknown; - fromPartial(object: DeepPartial): MerkleProof; - fromSDK(object: MerkleProofSDKType): MerkleProof; - toSDK(message: MerkleProof): MerkleProofSDKType; - fromAmino(object: MerkleProofAmino): MerkleProof; - toAmino(message: MerkleProof): MerkleProofAmino; - fromAminoMsg(object: MerkleProofAminoMsg): MerkleProof; - toAminoMsg(message: MerkleProof): MerkleProofAminoMsg; - fromProtoMsg(message: MerkleProofProtoMsg): MerkleProof; - toProto(message: MerkleProof): Uint8Array; - toProtoMsg(message: MerkleProof): MerkleProofProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/core/connection/v1/connection.d.ts b/examples/authz/types/codegen/ibc/core/connection/v1/connection.d.ts deleted file mode 100644 index 8cce36ff..00000000 --- a/examples/authz/types/codegen/ibc/core/connection/v1/connection.d.ts +++ /dev/null @@ -1,464 +0,0 @@ -import { MerklePrefix, MerklePrefixAmino, MerklePrefixSDKType } from "../../commitment/v1/commitment"; -import { DeepPartial } from "../../../../helpers"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -/** - * State defines if a connection is in one of the following states: - * INIT, TRYOPEN, OPEN or UNINITIALIZED. - */ -export declare enum State { - /** STATE_UNINITIALIZED_UNSPECIFIED - Default State */ - STATE_UNINITIALIZED_UNSPECIFIED = 0, - /** STATE_INIT - A connection end has just started the opening handshake. */ - STATE_INIT = 1, - /** - * STATE_TRYOPEN - A connection end has acknowledged the handshake step on the counterparty - * chain. - */ - STATE_TRYOPEN = 2, - /** STATE_OPEN - A connection end has completed the handshake. */ - STATE_OPEN = 3, - UNRECOGNIZED = -1 -} -export declare const StateSDKType: typeof State; -export declare const StateAmino: typeof State; -export declare function stateFromJSON(object: any): State; -export declare function stateToJSON(object: State): string; -/** - * ConnectionEnd defines a stateful object on a chain connected to another - * separate one. - * NOTE: there must only be 2 defined ConnectionEnds to establish - * a connection between two chains. - */ -export interface ConnectionEnd { - /** client associated with this connection. */ - clientId: string; - /** - * IBC version which can be utilised to determine encodings or protocols for - * channels or packets utilising this connection. - */ - versions: Version[]; - /** current state of the connection end. */ - state: State; - /** counterparty chain associated with this connection. */ - counterparty: Counterparty | undefined; - /** - * delay period that must pass before a consensus state can be used for - * packet-verification NOTE: delay period logic is only implemented by some - * clients. - */ - delayPeriod: bigint; -} -export interface ConnectionEndProtoMsg { - typeUrl: "/ibc.core.connection.v1.ConnectionEnd"; - value: Uint8Array; -} -/** - * ConnectionEnd defines a stateful object on a chain connected to another - * separate one. - * NOTE: there must only be 2 defined ConnectionEnds to establish - * a connection between two chains. - */ -export interface ConnectionEndAmino { - /** client associated with this connection. */ - client_id?: string; - /** - * IBC version which can be utilised to determine encodings or protocols for - * channels or packets utilising this connection. - */ - versions?: VersionAmino[]; - /** current state of the connection end. */ - state?: State; - /** counterparty chain associated with this connection. */ - counterparty?: CounterpartyAmino | undefined; - /** - * delay period that must pass before a consensus state can be used for - * packet-verification NOTE: delay period logic is only implemented by some - * clients. - */ - delay_period?: string; -} -export interface ConnectionEndAminoMsg { - type: "cosmos-sdk/ConnectionEnd"; - value: ConnectionEndAmino; -} -/** - * ConnectionEnd defines a stateful object on a chain connected to another - * separate one. - * NOTE: there must only be 2 defined ConnectionEnds to establish - * a connection between two chains. - */ -export interface ConnectionEndSDKType { - client_id: string; - versions: VersionSDKType[]; - state: State; - counterparty: CounterpartySDKType | undefined; - delay_period: bigint; -} -/** - * IdentifiedConnection defines a connection with additional connection - * identifier field. - */ -export interface IdentifiedConnection { - /** connection identifier. */ - id: string; - /** client associated with this connection. */ - clientId: string; - /** - * IBC version which can be utilised to determine encodings or protocols for - * channels or packets utilising this connection - */ - versions: Version[]; - /** current state of the connection end. */ - state: State; - /** counterparty chain associated with this connection. */ - counterparty: Counterparty | undefined; - /** delay period associated with this connection. */ - delayPeriod: bigint; -} -export interface IdentifiedConnectionProtoMsg { - typeUrl: "/ibc.core.connection.v1.IdentifiedConnection"; - value: Uint8Array; -} -/** - * IdentifiedConnection defines a connection with additional connection - * identifier field. - */ -export interface IdentifiedConnectionAmino { - /** connection identifier. */ - id?: string; - /** client associated with this connection. */ - client_id?: string; - /** - * IBC version which can be utilised to determine encodings or protocols for - * channels or packets utilising this connection - */ - versions?: VersionAmino[]; - /** current state of the connection end. */ - state?: State; - /** counterparty chain associated with this connection. */ - counterparty?: CounterpartyAmino | undefined; - /** delay period associated with this connection. */ - delay_period?: string; -} -export interface IdentifiedConnectionAminoMsg { - type: "cosmos-sdk/IdentifiedConnection"; - value: IdentifiedConnectionAmino; -} -/** - * IdentifiedConnection defines a connection with additional connection - * identifier field. - */ -export interface IdentifiedConnectionSDKType { - id: string; - client_id: string; - versions: VersionSDKType[]; - state: State; - counterparty: CounterpartySDKType | undefined; - delay_period: bigint; -} -/** Counterparty defines the counterparty chain associated with a connection end. */ -export interface Counterparty { - /** - * identifies the client on the counterparty chain associated with a given - * connection. - */ - clientId: string; - /** - * identifies the connection end on the counterparty chain associated with a - * given connection. - */ - connectionId: string; - /** commitment merkle prefix of the counterparty chain. */ - prefix: MerklePrefix | undefined; -} -export interface CounterpartyProtoMsg { - typeUrl: "/ibc.core.connection.v1.Counterparty"; - value: Uint8Array; -} -/** Counterparty defines the counterparty chain associated with a connection end. */ -export interface CounterpartyAmino { - /** - * identifies the client on the counterparty chain associated with a given - * connection. - */ - client_id?: string; - /** - * identifies the connection end on the counterparty chain associated with a - * given connection. - */ - connection_id?: string; - /** commitment merkle prefix of the counterparty chain. */ - prefix?: MerklePrefixAmino | undefined; -} -export interface CounterpartyAminoMsg { - type: "cosmos-sdk/Counterparty"; - value: CounterpartyAmino; -} -/** Counterparty defines the counterparty chain associated with a connection end. */ -export interface CounterpartySDKType { - client_id: string; - connection_id: string; - prefix: MerklePrefixSDKType | undefined; -} -/** ClientPaths define all the connection paths for a client state. */ -export interface ClientPaths { - /** list of connection paths */ - paths: string[]; -} -export interface ClientPathsProtoMsg { - typeUrl: "/ibc.core.connection.v1.ClientPaths"; - value: Uint8Array; -} -/** ClientPaths define all the connection paths for a client state. */ -export interface ClientPathsAmino { - /** list of connection paths */ - paths?: string[]; -} -export interface ClientPathsAminoMsg { - type: "cosmos-sdk/ClientPaths"; - value: ClientPathsAmino; -} -/** ClientPaths define all the connection paths for a client state. */ -export interface ClientPathsSDKType { - paths: string[]; -} -/** ConnectionPaths define all the connection paths for a given client state. */ -export interface ConnectionPaths { - /** client state unique identifier */ - clientId: string; - /** list of connection paths */ - paths: string[]; -} -export interface ConnectionPathsProtoMsg { - typeUrl: "/ibc.core.connection.v1.ConnectionPaths"; - value: Uint8Array; -} -/** ConnectionPaths define all the connection paths for a given client state. */ -export interface ConnectionPathsAmino { - /** client state unique identifier */ - client_id?: string; - /** list of connection paths */ - paths?: string[]; -} -export interface ConnectionPathsAminoMsg { - type: "cosmos-sdk/ConnectionPaths"; - value: ConnectionPathsAmino; -} -/** ConnectionPaths define all the connection paths for a given client state. */ -export interface ConnectionPathsSDKType { - client_id: string; - paths: string[]; -} -/** - * Version defines the versioning scheme used to negotiate the IBC verison in - * the connection handshake. - */ -export interface Version { - /** unique version identifier */ - identifier: string; - /** list of features compatible with the specified identifier */ - features: string[]; -} -export interface VersionProtoMsg { - typeUrl: "/ibc.core.connection.v1.Version"; - value: Uint8Array; -} -/** - * Version defines the versioning scheme used to negotiate the IBC verison in - * the connection handshake. - */ -export interface VersionAmino { - /** unique version identifier */ - identifier?: string; - /** list of features compatible with the specified identifier */ - features?: string[]; -} -export interface VersionAminoMsg { - type: "cosmos-sdk/Version"; - value: VersionAmino; -} -/** - * Version defines the versioning scheme used to negotiate the IBC verison in - * the connection handshake. - */ -export interface VersionSDKType { - identifier: string; - features: string[]; -} -/** Params defines the set of Connection parameters. */ -export interface Params { - /** - * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the - * largest amount of time that the chain might reasonably take to produce the next block under normal operating - * conditions. A safe choice is 3-5x the expected time per block. - */ - maxExpectedTimePerBlock: bigint; -} -export interface ParamsProtoMsg { - typeUrl: "/ibc.core.connection.v1.Params"; - value: Uint8Array; -} -/** Params defines the set of Connection parameters. */ -export interface ParamsAmino { - /** - * maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the - * largest amount of time that the chain might reasonably take to produce the next block under normal operating - * conditions. A safe choice is 3-5x the expected time per block. - */ - max_expected_time_per_block?: string; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params defines the set of Connection parameters. */ -export interface ParamsSDKType { - max_expected_time_per_block: bigint; -} -export declare const ConnectionEnd: { - typeUrl: string; - aminoType: string; - is(o: any): o is ConnectionEnd; - isSDK(o: any): o is ConnectionEndSDKType; - isAmino(o: any): o is ConnectionEndAmino; - encode(message: ConnectionEnd, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ConnectionEnd; - fromJSON(object: any): ConnectionEnd; - toJSON(message: ConnectionEnd): unknown; - fromPartial(object: DeepPartial): ConnectionEnd; - fromSDK(object: ConnectionEndSDKType): ConnectionEnd; - toSDK(message: ConnectionEnd): ConnectionEndSDKType; - fromAmino(object: ConnectionEndAmino): ConnectionEnd; - toAmino(message: ConnectionEnd): ConnectionEndAmino; - fromAminoMsg(object: ConnectionEndAminoMsg): ConnectionEnd; - toAminoMsg(message: ConnectionEnd): ConnectionEndAminoMsg; - fromProtoMsg(message: ConnectionEndProtoMsg): ConnectionEnd; - toProto(message: ConnectionEnd): Uint8Array; - toProtoMsg(message: ConnectionEnd): ConnectionEndProtoMsg; -}; -export declare const IdentifiedConnection: { - typeUrl: string; - aminoType: string; - is(o: any): o is IdentifiedConnection; - isSDK(o: any): o is IdentifiedConnectionSDKType; - isAmino(o: any): o is IdentifiedConnectionAmino; - encode(message: IdentifiedConnection, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): IdentifiedConnection; - fromJSON(object: any): IdentifiedConnection; - toJSON(message: IdentifiedConnection): unknown; - fromPartial(object: DeepPartial): IdentifiedConnection; - fromSDK(object: IdentifiedConnectionSDKType): IdentifiedConnection; - toSDK(message: IdentifiedConnection): IdentifiedConnectionSDKType; - fromAmino(object: IdentifiedConnectionAmino): IdentifiedConnection; - toAmino(message: IdentifiedConnection): IdentifiedConnectionAmino; - fromAminoMsg(object: IdentifiedConnectionAminoMsg): IdentifiedConnection; - toAminoMsg(message: IdentifiedConnection): IdentifiedConnectionAminoMsg; - fromProtoMsg(message: IdentifiedConnectionProtoMsg): IdentifiedConnection; - toProto(message: IdentifiedConnection): Uint8Array; - toProtoMsg(message: IdentifiedConnection): IdentifiedConnectionProtoMsg; -}; -export declare const Counterparty: { - typeUrl: string; - aminoType: string; - is(o: any): o is Counterparty; - isSDK(o: any): o is CounterpartySDKType; - isAmino(o: any): o is CounterpartyAmino; - encode(message: Counterparty, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Counterparty; - fromJSON(object: any): Counterparty; - toJSON(message: Counterparty): unknown; - fromPartial(object: DeepPartial): Counterparty; - fromSDK(object: CounterpartySDKType): Counterparty; - toSDK(message: Counterparty): CounterpartySDKType; - fromAmino(object: CounterpartyAmino): Counterparty; - toAmino(message: Counterparty): CounterpartyAmino; - fromAminoMsg(object: CounterpartyAminoMsg): Counterparty; - toAminoMsg(message: Counterparty): CounterpartyAminoMsg; - fromProtoMsg(message: CounterpartyProtoMsg): Counterparty; - toProto(message: Counterparty): Uint8Array; - toProtoMsg(message: Counterparty): CounterpartyProtoMsg; -}; -export declare const ClientPaths: { - typeUrl: string; - aminoType: string; - is(o: any): o is ClientPaths; - isSDK(o: any): o is ClientPathsSDKType; - isAmino(o: any): o is ClientPathsAmino; - encode(message: ClientPaths, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ClientPaths; - fromJSON(object: any): ClientPaths; - toJSON(message: ClientPaths): unknown; - fromPartial(object: DeepPartial): ClientPaths; - fromSDK(object: ClientPathsSDKType): ClientPaths; - toSDK(message: ClientPaths): ClientPathsSDKType; - fromAmino(object: ClientPathsAmino): ClientPaths; - toAmino(message: ClientPaths): ClientPathsAmino; - fromAminoMsg(object: ClientPathsAminoMsg): ClientPaths; - toAminoMsg(message: ClientPaths): ClientPathsAminoMsg; - fromProtoMsg(message: ClientPathsProtoMsg): ClientPaths; - toProto(message: ClientPaths): Uint8Array; - toProtoMsg(message: ClientPaths): ClientPathsProtoMsg; -}; -export declare const ConnectionPaths: { - typeUrl: string; - aminoType: string; - is(o: any): o is ConnectionPaths; - isSDK(o: any): o is ConnectionPathsSDKType; - isAmino(o: any): o is ConnectionPathsAmino; - encode(message: ConnectionPaths, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ConnectionPaths; - fromJSON(object: any): ConnectionPaths; - toJSON(message: ConnectionPaths): unknown; - fromPartial(object: DeepPartial): ConnectionPaths; - fromSDK(object: ConnectionPathsSDKType): ConnectionPaths; - toSDK(message: ConnectionPaths): ConnectionPathsSDKType; - fromAmino(object: ConnectionPathsAmino): ConnectionPaths; - toAmino(message: ConnectionPaths): ConnectionPathsAmino; - fromAminoMsg(object: ConnectionPathsAminoMsg): ConnectionPaths; - toAminoMsg(message: ConnectionPaths): ConnectionPathsAminoMsg; - fromProtoMsg(message: ConnectionPathsProtoMsg): ConnectionPaths; - toProto(message: ConnectionPaths): Uint8Array; - toProtoMsg(message: ConnectionPaths): ConnectionPathsProtoMsg; -}; -export declare const Version: { - typeUrl: string; - aminoType: string; - is(o: any): o is Version; - isSDK(o: any): o is VersionSDKType; - isAmino(o: any): o is VersionAmino; - encode(message: Version, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Version; - fromJSON(object: any): Version; - toJSON(message: Version): unknown; - fromPartial(object: DeepPartial): Version; - fromSDK(object: VersionSDKType): Version; - toSDK(message: Version): VersionSDKType; - fromAmino(object: VersionAmino): Version; - toAmino(message: Version): VersionAmino; - fromAminoMsg(object: VersionAminoMsg): Version; - toAminoMsg(message: Version): VersionAminoMsg; - fromProtoMsg(message: VersionProtoMsg): Version; - toProto(message: Version): Uint8Array; - toProtoMsg(message: Version): VersionProtoMsg; -}; -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/core/connection/v1/genesis.d.ts b/examples/authz/types/codegen/ibc/core/connection/v1/genesis.d.ts deleted file mode 100644 index 217c10af..00000000 --- a/examples/authz/types/codegen/ibc/core/connection/v1/genesis.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { IdentifiedConnection, IdentifiedConnectionAmino, IdentifiedConnectionSDKType, ConnectionPaths, ConnectionPathsAmino, ConnectionPathsSDKType, Params, ParamsAmino, ParamsSDKType } from "./connection"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** GenesisState defines the ibc connection submodule's genesis state. */ -export interface GenesisState { - connections: IdentifiedConnection[]; - clientConnectionPaths: ConnectionPaths[]; - /** the sequence for the next generated connection identifier */ - nextConnectionSequence: bigint; - params: Params | undefined; -} -export interface GenesisStateProtoMsg { - typeUrl: "/ibc.core.connection.v1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the ibc connection submodule's genesis state. */ -export interface GenesisStateAmino { - connections?: IdentifiedConnectionAmino[]; - client_connection_paths?: ConnectionPathsAmino[]; - /** the sequence for the next generated connection identifier */ - next_connection_sequence?: string; - params?: ParamsAmino | undefined; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the ibc connection submodule's genesis state. */ -export interface GenesisStateSDKType { - connections: IdentifiedConnectionSDKType[]; - client_connection_paths: ConnectionPathsSDKType[]; - next_connection_sequence: bigint; - params: ParamsSDKType | undefined; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/core/connection/v1/query.d.ts b/examples/authz/types/codegen/ibc/core/connection/v1/query.d.ts deleted file mode 100644 index ddb96333..00000000 --- a/examples/authz/types/codegen/ibc/core/connection/v1/query.d.ts +++ /dev/null @@ -1,588 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination"; -import { ConnectionEnd, ConnectionEndAmino, ConnectionEndSDKType, IdentifiedConnection, IdentifiedConnectionAmino, IdentifiedConnectionSDKType } from "./connection"; -import { Height, HeightAmino, HeightSDKType, IdentifiedClientState, IdentifiedClientStateAmino, IdentifiedClientStateSDKType } from "../../client/v1/client"; -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * QueryConnectionRequest is the request type for the Query/Connection RPC - * method - */ -export interface QueryConnectionRequest { - /** connection unique identifier */ - connectionId: string; -} -export interface QueryConnectionRequestProtoMsg { - typeUrl: "/ibc.core.connection.v1.QueryConnectionRequest"; - value: Uint8Array; -} -/** - * QueryConnectionRequest is the request type for the Query/Connection RPC - * method - */ -export interface QueryConnectionRequestAmino { - /** connection unique identifier */ - connection_id?: string; -} -export interface QueryConnectionRequestAminoMsg { - type: "cosmos-sdk/QueryConnectionRequest"; - value: QueryConnectionRequestAmino; -} -/** - * QueryConnectionRequest is the request type for the Query/Connection RPC - * method - */ -export interface QueryConnectionRequestSDKType { - connection_id: string; -} -/** - * QueryConnectionResponse is the response type for the Query/Connection RPC - * method. Besides the connection end, it includes a proof and the height from - * which the proof was retrieved. - */ -export interface QueryConnectionResponse { - /** connection associated with the request identifier */ - connection?: ConnectionEnd | undefined; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight: Height | undefined; -} -export interface QueryConnectionResponseProtoMsg { - typeUrl: "/ibc.core.connection.v1.QueryConnectionResponse"; - value: Uint8Array; -} -/** - * QueryConnectionResponse is the response type for the Query/Connection RPC - * method. Besides the connection end, it includes a proof and the height from - * which the proof was retrieved. - */ -export interface QueryConnectionResponseAmino { - /** connection associated with the request identifier */ - connection?: ConnectionEndAmino | undefined; - /** merkle proof of existence */ - proof?: string; - /** height at which the proof was retrieved */ - proof_height?: HeightAmino | undefined; -} -export interface QueryConnectionResponseAminoMsg { - type: "cosmos-sdk/QueryConnectionResponse"; - value: QueryConnectionResponseAmino; -} -/** - * QueryConnectionResponse is the response type for the Query/Connection RPC - * method. Besides the connection end, it includes a proof and the height from - * which the proof was retrieved. - */ -export interface QueryConnectionResponseSDKType { - connection?: ConnectionEndSDKType | undefined; - proof: Uint8Array; - proof_height: HeightSDKType | undefined; -} -/** - * QueryConnectionsRequest is the request type for the Query/Connections RPC - * method - */ -export interface QueryConnectionsRequest { - pagination?: PageRequest | undefined; -} -export interface QueryConnectionsRequestProtoMsg { - typeUrl: "/ibc.core.connection.v1.QueryConnectionsRequest"; - value: Uint8Array; -} -/** - * QueryConnectionsRequest is the request type for the Query/Connections RPC - * method - */ -export interface QueryConnectionsRequestAmino { - pagination?: PageRequestAmino | undefined; -} -export interface QueryConnectionsRequestAminoMsg { - type: "cosmos-sdk/QueryConnectionsRequest"; - value: QueryConnectionsRequestAmino; -} -/** - * QueryConnectionsRequest is the request type for the Query/Connections RPC - * method - */ -export interface QueryConnectionsRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -/** - * QueryConnectionsResponse is the response type for the Query/Connections RPC - * method. - */ -export interface QueryConnectionsResponse { - /** list of stored connections of the chain. */ - connections: IdentifiedConnection[]; - /** pagination response */ - pagination?: PageResponse | undefined; - /** query block height */ - height: Height | undefined; -} -export interface QueryConnectionsResponseProtoMsg { - typeUrl: "/ibc.core.connection.v1.QueryConnectionsResponse"; - value: Uint8Array; -} -/** - * QueryConnectionsResponse is the response type for the Query/Connections RPC - * method. - */ -export interface QueryConnectionsResponseAmino { - /** list of stored connections of the chain. */ - connections?: IdentifiedConnectionAmino[]; - /** pagination response */ - pagination?: PageResponseAmino | undefined; - /** query block height */ - height?: HeightAmino | undefined; -} -export interface QueryConnectionsResponseAminoMsg { - type: "cosmos-sdk/QueryConnectionsResponse"; - value: QueryConnectionsResponseAmino; -} -/** - * QueryConnectionsResponse is the response type for the Query/Connections RPC - * method. - */ -export interface QueryConnectionsResponseSDKType { - connections: IdentifiedConnectionSDKType[]; - pagination?: PageResponseSDKType | undefined; - height: HeightSDKType | undefined; -} -/** - * QueryClientConnectionsRequest is the request type for the - * Query/ClientConnections RPC method - */ -export interface QueryClientConnectionsRequest { - /** client identifier associated with a connection */ - clientId: string; -} -export interface QueryClientConnectionsRequestProtoMsg { - typeUrl: "/ibc.core.connection.v1.QueryClientConnectionsRequest"; - value: Uint8Array; -} -/** - * QueryClientConnectionsRequest is the request type for the - * Query/ClientConnections RPC method - */ -export interface QueryClientConnectionsRequestAmino { - /** client identifier associated with a connection */ - client_id?: string; -} -export interface QueryClientConnectionsRequestAminoMsg { - type: "cosmos-sdk/QueryClientConnectionsRequest"; - value: QueryClientConnectionsRequestAmino; -} -/** - * QueryClientConnectionsRequest is the request type for the - * Query/ClientConnections RPC method - */ -export interface QueryClientConnectionsRequestSDKType { - client_id: string; -} -/** - * QueryClientConnectionsResponse is the response type for the - * Query/ClientConnections RPC method - */ -export interface QueryClientConnectionsResponse { - /** slice of all the connection paths associated with a client. */ - connectionPaths: string[]; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was generated */ - proofHeight: Height | undefined; -} -export interface QueryClientConnectionsResponseProtoMsg { - typeUrl: "/ibc.core.connection.v1.QueryClientConnectionsResponse"; - value: Uint8Array; -} -/** - * QueryClientConnectionsResponse is the response type for the - * Query/ClientConnections RPC method - */ -export interface QueryClientConnectionsResponseAmino { - /** slice of all the connection paths associated with a client. */ - connection_paths?: string[]; - /** merkle proof of existence */ - proof?: string; - /** height at which the proof was generated */ - proof_height?: HeightAmino | undefined; -} -export interface QueryClientConnectionsResponseAminoMsg { - type: "cosmos-sdk/QueryClientConnectionsResponse"; - value: QueryClientConnectionsResponseAmino; -} -/** - * QueryClientConnectionsResponse is the response type for the - * Query/ClientConnections RPC method - */ -export interface QueryClientConnectionsResponseSDKType { - connection_paths: string[]; - proof: Uint8Array; - proof_height: HeightSDKType | undefined; -} -/** - * QueryConnectionClientStateRequest is the request type for the - * Query/ConnectionClientState RPC method - */ -export interface QueryConnectionClientStateRequest { - /** connection identifier */ - connectionId: string; -} -export interface QueryConnectionClientStateRequestProtoMsg { - typeUrl: "/ibc.core.connection.v1.QueryConnectionClientStateRequest"; - value: Uint8Array; -} -/** - * QueryConnectionClientStateRequest is the request type for the - * Query/ConnectionClientState RPC method - */ -export interface QueryConnectionClientStateRequestAmino { - /** connection identifier */ - connection_id?: string; -} -export interface QueryConnectionClientStateRequestAminoMsg { - type: "cosmos-sdk/QueryConnectionClientStateRequest"; - value: QueryConnectionClientStateRequestAmino; -} -/** - * QueryConnectionClientStateRequest is the request type for the - * Query/ConnectionClientState RPC method - */ -export interface QueryConnectionClientStateRequestSDKType { - connection_id: string; -} -/** - * QueryConnectionClientStateResponse is the response type for the - * Query/ConnectionClientState RPC method - */ -export interface QueryConnectionClientStateResponse { - /** client state associated with the channel */ - identifiedClientState?: IdentifiedClientState | undefined; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight: Height | undefined; -} -export interface QueryConnectionClientStateResponseProtoMsg { - typeUrl: "/ibc.core.connection.v1.QueryConnectionClientStateResponse"; - value: Uint8Array; -} -/** - * QueryConnectionClientStateResponse is the response type for the - * Query/ConnectionClientState RPC method - */ -export interface QueryConnectionClientStateResponseAmino { - /** client state associated with the channel */ - identified_client_state?: IdentifiedClientStateAmino | undefined; - /** merkle proof of existence */ - proof?: string; - /** height at which the proof was retrieved */ - proof_height?: HeightAmino | undefined; -} -export interface QueryConnectionClientStateResponseAminoMsg { - type: "cosmos-sdk/QueryConnectionClientStateResponse"; - value: QueryConnectionClientStateResponseAmino; -} -/** - * QueryConnectionClientStateResponse is the response type for the - * Query/ConnectionClientState RPC method - */ -export interface QueryConnectionClientStateResponseSDKType { - identified_client_state?: IdentifiedClientStateSDKType | undefined; - proof: Uint8Array; - proof_height: HeightSDKType | undefined; -} -/** - * QueryConnectionConsensusStateRequest is the request type for the - * Query/ConnectionConsensusState RPC method - */ -export interface QueryConnectionConsensusStateRequest { - /** connection identifier */ - connectionId: string; - revisionNumber: bigint; - revisionHeight: bigint; -} -export interface QueryConnectionConsensusStateRequestProtoMsg { - typeUrl: "/ibc.core.connection.v1.QueryConnectionConsensusStateRequest"; - value: Uint8Array; -} -/** - * QueryConnectionConsensusStateRequest is the request type for the - * Query/ConnectionConsensusState RPC method - */ -export interface QueryConnectionConsensusStateRequestAmino { - /** connection identifier */ - connection_id?: string; - revision_number?: string; - revision_height?: string; -} -export interface QueryConnectionConsensusStateRequestAminoMsg { - type: "cosmos-sdk/QueryConnectionConsensusStateRequest"; - value: QueryConnectionConsensusStateRequestAmino; -} -/** - * QueryConnectionConsensusStateRequest is the request type for the - * Query/ConnectionConsensusState RPC method - */ -export interface QueryConnectionConsensusStateRequestSDKType { - connection_id: string; - revision_number: bigint; - revision_height: bigint; -} -/** - * QueryConnectionConsensusStateResponse is the response type for the - * Query/ConnectionConsensusState RPC method - */ -export interface QueryConnectionConsensusStateResponse { - /** consensus state associated with the channel */ - consensusState?: Any | undefined; - /** client ID associated with the consensus state */ - clientId: string; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight: Height | undefined; -} -export interface QueryConnectionConsensusStateResponseProtoMsg { - typeUrl: "/ibc.core.connection.v1.QueryConnectionConsensusStateResponse"; - value: Uint8Array; -} -/** - * QueryConnectionConsensusStateResponse is the response type for the - * Query/ConnectionConsensusState RPC method - */ -export interface QueryConnectionConsensusStateResponseAmino { - /** consensus state associated with the channel */ - consensus_state?: AnyAmino | undefined; - /** client ID associated with the consensus state */ - client_id?: string; - /** merkle proof of existence */ - proof?: string; - /** height at which the proof was retrieved */ - proof_height?: HeightAmino | undefined; -} -export interface QueryConnectionConsensusStateResponseAminoMsg { - type: "cosmos-sdk/QueryConnectionConsensusStateResponse"; - value: QueryConnectionConsensusStateResponseAmino; -} -/** - * QueryConnectionConsensusStateResponse is the response type for the - * Query/ConnectionConsensusState RPC method - */ -export interface QueryConnectionConsensusStateResponseSDKType { - consensus_state?: AnySDKType | undefined; - client_id: string; - proof: Uint8Array; - proof_height: HeightSDKType | undefined; -} -export declare const QueryConnectionRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConnectionRequest; - isSDK(o: any): o is QueryConnectionRequestSDKType; - isAmino(o: any): o is QueryConnectionRequestAmino; - encode(message: QueryConnectionRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionRequest; - fromJSON(object: any): QueryConnectionRequest; - toJSON(message: QueryConnectionRequest): unknown; - fromPartial(object: DeepPartial): QueryConnectionRequest; - fromSDK(object: QueryConnectionRequestSDKType): QueryConnectionRequest; - toSDK(message: QueryConnectionRequest): QueryConnectionRequestSDKType; - fromAmino(object: QueryConnectionRequestAmino): QueryConnectionRequest; - toAmino(message: QueryConnectionRequest): QueryConnectionRequestAmino; - fromAminoMsg(object: QueryConnectionRequestAminoMsg): QueryConnectionRequest; - toAminoMsg(message: QueryConnectionRequest): QueryConnectionRequestAminoMsg; - fromProtoMsg(message: QueryConnectionRequestProtoMsg): QueryConnectionRequest; - toProto(message: QueryConnectionRequest): Uint8Array; - toProtoMsg(message: QueryConnectionRequest): QueryConnectionRequestProtoMsg; -}; -export declare const QueryConnectionResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConnectionResponse; - isSDK(o: any): o is QueryConnectionResponseSDKType; - isAmino(o: any): o is QueryConnectionResponseAmino; - encode(message: QueryConnectionResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionResponse; - fromJSON(object: any): QueryConnectionResponse; - toJSON(message: QueryConnectionResponse): unknown; - fromPartial(object: DeepPartial): QueryConnectionResponse; - fromSDK(object: QueryConnectionResponseSDKType): QueryConnectionResponse; - toSDK(message: QueryConnectionResponse): QueryConnectionResponseSDKType; - fromAmino(object: QueryConnectionResponseAmino): QueryConnectionResponse; - toAmino(message: QueryConnectionResponse): QueryConnectionResponseAmino; - fromAminoMsg(object: QueryConnectionResponseAminoMsg): QueryConnectionResponse; - toAminoMsg(message: QueryConnectionResponse): QueryConnectionResponseAminoMsg; - fromProtoMsg(message: QueryConnectionResponseProtoMsg): QueryConnectionResponse; - toProto(message: QueryConnectionResponse): Uint8Array; - toProtoMsg(message: QueryConnectionResponse): QueryConnectionResponseProtoMsg; -}; -export declare const QueryConnectionsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConnectionsRequest; - isSDK(o: any): o is QueryConnectionsRequestSDKType; - isAmino(o: any): o is QueryConnectionsRequestAmino; - encode(message: QueryConnectionsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionsRequest; - fromJSON(object: any): QueryConnectionsRequest; - toJSON(message: QueryConnectionsRequest): unknown; - fromPartial(object: DeepPartial): QueryConnectionsRequest; - fromSDK(object: QueryConnectionsRequestSDKType): QueryConnectionsRequest; - toSDK(message: QueryConnectionsRequest): QueryConnectionsRequestSDKType; - fromAmino(object: QueryConnectionsRequestAmino): QueryConnectionsRequest; - toAmino(message: QueryConnectionsRequest): QueryConnectionsRequestAmino; - fromAminoMsg(object: QueryConnectionsRequestAminoMsg): QueryConnectionsRequest; - toAminoMsg(message: QueryConnectionsRequest): QueryConnectionsRequestAminoMsg; - fromProtoMsg(message: QueryConnectionsRequestProtoMsg): QueryConnectionsRequest; - toProto(message: QueryConnectionsRequest): Uint8Array; - toProtoMsg(message: QueryConnectionsRequest): QueryConnectionsRequestProtoMsg; -}; -export declare const QueryConnectionsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConnectionsResponse; - isSDK(o: any): o is QueryConnectionsResponseSDKType; - isAmino(o: any): o is QueryConnectionsResponseAmino; - encode(message: QueryConnectionsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionsResponse; - fromJSON(object: any): QueryConnectionsResponse; - toJSON(message: QueryConnectionsResponse): unknown; - fromPartial(object: DeepPartial): QueryConnectionsResponse; - fromSDK(object: QueryConnectionsResponseSDKType): QueryConnectionsResponse; - toSDK(message: QueryConnectionsResponse): QueryConnectionsResponseSDKType; - fromAmino(object: QueryConnectionsResponseAmino): QueryConnectionsResponse; - toAmino(message: QueryConnectionsResponse): QueryConnectionsResponseAmino; - fromAminoMsg(object: QueryConnectionsResponseAminoMsg): QueryConnectionsResponse; - toAminoMsg(message: QueryConnectionsResponse): QueryConnectionsResponseAminoMsg; - fromProtoMsg(message: QueryConnectionsResponseProtoMsg): QueryConnectionsResponse; - toProto(message: QueryConnectionsResponse): Uint8Array; - toProtoMsg(message: QueryConnectionsResponse): QueryConnectionsResponseProtoMsg; -}; -export declare const QueryClientConnectionsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClientConnectionsRequest; - isSDK(o: any): o is QueryClientConnectionsRequestSDKType; - isAmino(o: any): o is QueryClientConnectionsRequestAmino; - encode(message: QueryClientConnectionsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClientConnectionsRequest; - fromJSON(object: any): QueryClientConnectionsRequest; - toJSON(message: QueryClientConnectionsRequest): unknown; - fromPartial(object: DeepPartial): QueryClientConnectionsRequest; - fromSDK(object: QueryClientConnectionsRequestSDKType): QueryClientConnectionsRequest; - toSDK(message: QueryClientConnectionsRequest): QueryClientConnectionsRequestSDKType; - fromAmino(object: QueryClientConnectionsRequestAmino): QueryClientConnectionsRequest; - toAmino(message: QueryClientConnectionsRequest): QueryClientConnectionsRequestAmino; - fromAminoMsg(object: QueryClientConnectionsRequestAminoMsg): QueryClientConnectionsRequest; - toAminoMsg(message: QueryClientConnectionsRequest): QueryClientConnectionsRequestAminoMsg; - fromProtoMsg(message: QueryClientConnectionsRequestProtoMsg): QueryClientConnectionsRequest; - toProto(message: QueryClientConnectionsRequest): Uint8Array; - toProtoMsg(message: QueryClientConnectionsRequest): QueryClientConnectionsRequestProtoMsg; -}; -export declare const QueryClientConnectionsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClientConnectionsResponse; - isSDK(o: any): o is QueryClientConnectionsResponseSDKType; - isAmino(o: any): o is QueryClientConnectionsResponseAmino; - encode(message: QueryClientConnectionsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClientConnectionsResponse; - fromJSON(object: any): QueryClientConnectionsResponse; - toJSON(message: QueryClientConnectionsResponse): unknown; - fromPartial(object: DeepPartial): QueryClientConnectionsResponse; - fromSDK(object: QueryClientConnectionsResponseSDKType): QueryClientConnectionsResponse; - toSDK(message: QueryClientConnectionsResponse): QueryClientConnectionsResponseSDKType; - fromAmino(object: QueryClientConnectionsResponseAmino): QueryClientConnectionsResponse; - toAmino(message: QueryClientConnectionsResponse): QueryClientConnectionsResponseAmino; - fromAminoMsg(object: QueryClientConnectionsResponseAminoMsg): QueryClientConnectionsResponse; - toAminoMsg(message: QueryClientConnectionsResponse): QueryClientConnectionsResponseAminoMsg; - fromProtoMsg(message: QueryClientConnectionsResponseProtoMsg): QueryClientConnectionsResponse; - toProto(message: QueryClientConnectionsResponse): Uint8Array; - toProtoMsg(message: QueryClientConnectionsResponse): QueryClientConnectionsResponseProtoMsg; -}; -export declare const QueryConnectionClientStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConnectionClientStateRequest; - isSDK(o: any): o is QueryConnectionClientStateRequestSDKType; - isAmino(o: any): o is QueryConnectionClientStateRequestAmino; - encode(message: QueryConnectionClientStateRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionClientStateRequest; - fromJSON(object: any): QueryConnectionClientStateRequest; - toJSON(message: QueryConnectionClientStateRequest): unknown; - fromPartial(object: DeepPartial): QueryConnectionClientStateRequest; - fromSDK(object: QueryConnectionClientStateRequestSDKType): QueryConnectionClientStateRequest; - toSDK(message: QueryConnectionClientStateRequest): QueryConnectionClientStateRequestSDKType; - fromAmino(object: QueryConnectionClientStateRequestAmino): QueryConnectionClientStateRequest; - toAmino(message: QueryConnectionClientStateRequest): QueryConnectionClientStateRequestAmino; - fromAminoMsg(object: QueryConnectionClientStateRequestAminoMsg): QueryConnectionClientStateRequest; - toAminoMsg(message: QueryConnectionClientStateRequest): QueryConnectionClientStateRequestAminoMsg; - fromProtoMsg(message: QueryConnectionClientStateRequestProtoMsg): QueryConnectionClientStateRequest; - toProto(message: QueryConnectionClientStateRequest): Uint8Array; - toProtoMsg(message: QueryConnectionClientStateRequest): QueryConnectionClientStateRequestProtoMsg; -}; -export declare const QueryConnectionClientStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConnectionClientStateResponse; - isSDK(o: any): o is QueryConnectionClientStateResponseSDKType; - isAmino(o: any): o is QueryConnectionClientStateResponseAmino; - encode(message: QueryConnectionClientStateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionClientStateResponse; - fromJSON(object: any): QueryConnectionClientStateResponse; - toJSON(message: QueryConnectionClientStateResponse): unknown; - fromPartial(object: DeepPartial): QueryConnectionClientStateResponse; - fromSDK(object: QueryConnectionClientStateResponseSDKType): QueryConnectionClientStateResponse; - toSDK(message: QueryConnectionClientStateResponse): QueryConnectionClientStateResponseSDKType; - fromAmino(object: QueryConnectionClientStateResponseAmino): QueryConnectionClientStateResponse; - toAmino(message: QueryConnectionClientStateResponse): QueryConnectionClientStateResponseAmino; - fromAminoMsg(object: QueryConnectionClientStateResponseAminoMsg): QueryConnectionClientStateResponse; - toAminoMsg(message: QueryConnectionClientStateResponse): QueryConnectionClientStateResponseAminoMsg; - fromProtoMsg(message: QueryConnectionClientStateResponseProtoMsg): QueryConnectionClientStateResponse; - toProto(message: QueryConnectionClientStateResponse): Uint8Array; - toProtoMsg(message: QueryConnectionClientStateResponse): QueryConnectionClientStateResponseProtoMsg; -}; -export declare const QueryConnectionConsensusStateRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConnectionConsensusStateRequest; - isSDK(o: any): o is QueryConnectionConsensusStateRequestSDKType; - isAmino(o: any): o is QueryConnectionConsensusStateRequestAmino; - encode(message: QueryConnectionConsensusStateRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionConsensusStateRequest; - fromJSON(object: any): QueryConnectionConsensusStateRequest; - toJSON(message: QueryConnectionConsensusStateRequest): unknown; - fromPartial(object: DeepPartial): QueryConnectionConsensusStateRequest; - fromSDK(object: QueryConnectionConsensusStateRequestSDKType): QueryConnectionConsensusStateRequest; - toSDK(message: QueryConnectionConsensusStateRequest): QueryConnectionConsensusStateRequestSDKType; - fromAmino(object: QueryConnectionConsensusStateRequestAmino): QueryConnectionConsensusStateRequest; - toAmino(message: QueryConnectionConsensusStateRequest): QueryConnectionConsensusStateRequestAmino; - fromAminoMsg(object: QueryConnectionConsensusStateRequestAminoMsg): QueryConnectionConsensusStateRequest; - toAminoMsg(message: QueryConnectionConsensusStateRequest): QueryConnectionConsensusStateRequestAminoMsg; - fromProtoMsg(message: QueryConnectionConsensusStateRequestProtoMsg): QueryConnectionConsensusStateRequest; - toProto(message: QueryConnectionConsensusStateRequest): Uint8Array; - toProtoMsg(message: QueryConnectionConsensusStateRequest): QueryConnectionConsensusStateRequestProtoMsg; -}; -export declare const QueryConnectionConsensusStateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryConnectionConsensusStateResponse; - isSDK(o: any): o is QueryConnectionConsensusStateResponseSDKType; - isAmino(o: any): o is QueryConnectionConsensusStateResponseAmino; - encode(message: QueryConnectionConsensusStateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse; - fromJSON(object: any): QueryConnectionConsensusStateResponse; - toJSON(message: QueryConnectionConsensusStateResponse): unknown; - fromPartial(object: DeepPartial): QueryConnectionConsensusStateResponse; - fromSDK(object: QueryConnectionConsensusStateResponseSDKType): QueryConnectionConsensusStateResponse; - toSDK(message: QueryConnectionConsensusStateResponse): QueryConnectionConsensusStateResponseSDKType; - fromAmino(object: QueryConnectionConsensusStateResponseAmino): QueryConnectionConsensusStateResponse; - toAmino(message: QueryConnectionConsensusStateResponse): QueryConnectionConsensusStateResponseAmino; - fromAminoMsg(object: QueryConnectionConsensusStateResponseAminoMsg): QueryConnectionConsensusStateResponse; - toAminoMsg(message: QueryConnectionConsensusStateResponse): QueryConnectionConsensusStateResponseAminoMsg; - fromProtoMsg(message: QueryConnectionConsensusStateResponseProtoMsg): QueryConnectionConsensusStateResponse; - toProto(message: QueryConnectionConsensusStateResponse): Uint8Array; - toProtoMsg(message: QueryConnectionConsensusStateResponse): QueryConnectionConsensusStateResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/core/connection/v1/query.rpc.Query.d.ts b/examples/authz/types/codegen/ibc/core/connection/v1/query.rpc.Query.d.ts deleted file mode 100644 index 00be1705..00000000 --- a/examples/authz/types/codegen/ibc/core/connection/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,115 +0,0 @@ -import { TxRpc } from "../../../../types"; -import { ReactQueryParams } from "../../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../../mobx"; -import { QueryConnectionRequest, QueryConnectionResponse, QueryConnectionsRequest, QueryConnectionsResponse, QueryClientConnectionsRequest, QueryClientConnectionsResponse, QueryConnectionClientStateRequest, QueryConnectionClientStateResponse, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponse } from "./query"; -/** Query provides defines the gRPC querier service */ -export interface Query { - /** Connection queries an IBC connection end. */ - connection(request: QueryConnectionRequest): Promise; - /** Connections queries all the IBC connections of a chain. */ - connections(request?: QueryConnectionsRequest): Promise; - /** - * ClientConnections queries the connection paths associated with a client - * state. - */ - clientConnections(request: QueryClientConnectionsRequest): Promise; - /** - * ConnectionClientState queries the client state associated with the - * connection. - */ - connectionClientState(request: QueryConnectionClientStateRequest): Promise; - /** - * ConnectionConsensusState queries the consensus state associated with the - * connection. - */ - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - connection: (request: QueryConnectionRequest) => Promise; - connections: (request?: QueryConnectionsRequest) => Promise; - clientConnections: (request: QueryClientConnectionsRequest) => Promise; - connectionClientState: (request: QueryConnectionClientStateRequest) => Promise; - connectionConsensusState: (request: QueryConnectionConsensusStateRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseConnectionQuery extends ReactQueryParams { - request: QueryConnectionRequest; -} -export interface UseConnectionsQuery extends ReactQueryParams { - request?: QueryConnectionsRequest; -} -export interface UseClientConnectionsQuery extends ReactQueryParams { - request: QueryClientConnectionsRequest; -} -export interface UseConnectionClientStateQuery extends ReactQueryParams { - request: QueryConnectionClientStateRequest; -} -export interface UseConnectionConsensusStateQuery extends ReactQueryParams { - request: QueryConnectionConsensusStateRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Connection queries an IBC connection end. */ useConnection: ({ request, options }: UseConnectionQuery) => import("@tanstack/react-query").UseQueryResult; - /** Connections queries all the IBC connections of a chain. */ useConnections: ({ request, options }: UseConnectionsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * ClientConnections queries the connection paths associated with a client - * state. - */ - useClientConnections: ({ request, options }: UseClientConnectionsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * ConnectionClientState queries the client state associated with the - * connection. - */ - useConnectionClientState: ({ request, options }: UseConnectionClientStateQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * ConnectionConsensusState queries the consensus state associated with the - * connection. - */ - useConnectionConsensusState: ({ request, options }: UseConnectionConsensusStateQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Connection queries an IBC connection end. */ QueryConnectionStore: { - new (): { - store: QueryStore; - connection(request: QueryConnectionRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** Connections queries all the IBC connections of a chain. */ QueryConnectionsStore: { - new (): { - store: QueryStore; - connections(request: QueryConnectionsRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** - * ClientConnections queries the connection paths associated with a client - * state. - */ - QueryClientConnectionsStore: { - new (): { - store: QueryStore; - clientConnections(request: QueryClientConnectionsRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** - * ConnectionClientState queries the client state associated with the - * connection. - */ - QueryConnectionClientStateStore: { - new (): { - store: QueryStore; - connectionClientState(request: QueryConnectionClientStateRequest): import("../../../../mobx").MobxResponse; - }; - }; - /** - * ConnectionConsensusState queries the consensus state associated with the - * connection. - */ - QueryConnectionConsensusStateStore: { - new (): { - store: QueryStore; - connectionConsensusState(request: QueryConnectionConsensusStateRequest): import("../../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/ibc/core/connection/v1/tx.amino.d.ts b/examples/authz/types/codegen/ibc/core/connection/v1/tx.amino.d.ts deleted file mode 100644 index 2f1eda9f..00000000 --- a/examples/authz/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; -export declare const AminoConverter: { - "/ibc.core.connection.v1.MsgConnectionOpenInit": { - aminoType: string; - toAmino: (message: MsgConnectionOpenInit) => import("./tx").MsgConnectionOpenInitAmino; - fromAmino: (object: import("./tx").MsgConnectionOpenInitAmino) => MsgConnectionOpenInit; - }; - "/ibc.core.connection.v1.MsgConnectionOpenTry": { - aminoType: string; - toAmino: (message: MsgConnectionOpenTry) => import("./tx").MsgConnectionOpenTryAmino; - fromAmino: (object: import("./tx").MsgConnectionOpenTryAmino) => MsgConnectionOpenTry; - }; - "/ibc.core.connection.v1.MsgConnectionOpenAck": { - aminoType: string; - toAmino: (message: MsgConnectionOpenAck) => import("./tx").MsgConnectionOpenAckAmino; - fromAmino: (object: import("./tx").MsgConnectionOpenAckAmino) => MsgConnectionOpenAck; - }; - "/ibc.core.connection.v1.MsgConnectionOpenConfirm": { - aminoType: string; - toAmino: (message: MsgConnectionOpenConfirm) => import("./tx").MsgConnectionOpenConfirmAmino; - fromAmino: (object: import("./tx").MsgConnectionOpenConfirmAmino) => MsgConnectionOpenConfirm; - }; -}; diff --git a/examples/authz/types/codegen/ibc/core/connection/v1/tx.d.ts b/examples/authz/types/codegen/ibc/core/connection/v1/tx.d.ts deleted file mode 100644 index d2e85327..00000000 --- a/examples/authz/types/codegen/ibc/core/connection/v1/tx.d.ts +++ /dev/null @@ -1,490 +0,0 @@ -import { Counterparty, CounterpartyAmino, CounterpartySDKType, Version, VersionAmino, VersionSDKType } from "./connection"; -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { Height, HeightAmino, HeightSDKType } from "../../client/v1/client"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * MsgConnectionOpenInit defines the msg sent by an account on Chain A to - * initialize a connection with Chain B. - */ -export interface MsgConnectionOpenInit { - clientId: string; - counterparty: Counterparty | undefined; - version?: Version | undefined; - delayPeriod: bigint; - signer: string; -} -export interface MsgConnectionOpenInitProtoMsg { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInit"; - value: Uint8Array; -} -/** - * MsgConnectionOpenInit defines the msg sent by an account on Chain A to - * initialize a connection with Chain B. - */ -export interface MsgConnectionOpenInitAmino { - client_id?: string; - counterparty?: CounterpartyAmino | undefined; - version?: VersionAmino | undefined; - delay_period?: string; - signer?: string; -} -export interface MsgConnectionOpenInitAminoMsg { - type: "cosmos-sdk/MsgConnectionOpenInit"; - value: MsgConnectionOpenInitAmino; -} -/** - * MsgConnectionOpenInit defines the msg sent by an account on Chain A to - * initialize a connection with Chain B. - */ -export interface MsgConnectionOpenInitSDKType { - client_id: string; - counterparty: CounterpartySDKType | undefined; - version?: VersionSDKType | undefined; - delay_period: bigint; - signer: string; -} -/** - * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response - * type. - */ -export interface MsgConnectionOpenInitResponse { -} -export interface MsgConnectionOpenInitResponseProtoMsg { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenInitResponse"; - value: Uint8Array; -} -/** - * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response - * type. - */ -export interface MsgConnectionOpenInitResponseAmino { -} -export interface MsgConnectionOpenInitResponseAminoMsg { - type: "cosmos-sdk/MsgConnectionOpenInitResponse"; - value: MsgConnectionOpenInitResponseAmino; -} -/** - * MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response - * type. - */ -export interface MsgConnectionOpenInitResponseSDKType { -} -/** - * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a - * connection on Chain B. - */ -export interface MsgConnectionOpenTry { - clientId: string; - /** - * in the case of crossing hello's, when both chains call OpenInit, we need - * the connection identifier of the previous connection in state INIT - */ - previousConnectionId: string; - clientState?: Any | undefined; - counterparty: Counterparty | undefined; - delayPeriod: bigint; - counterpartyVersions: Version[]; - proofHeight: Height | undefined; - /** - * proof of the initialization the connection on Chain A: `UNITIALIZED -> - * INIT` - */ - proofInit: Uint8Array; - /** proof of client state included in message */ - proofClient: Uint8Array; - /** proof of client consensus state */ - proofConsensus: Uint8Array; - consensusHeight: Height | undefined; - signer: string; -} -export interface MsgConnectionOpenTryProtoMsg { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTry"; - value: Uint8Array; -} -/** - * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a - * connection on Chain B. - */ -export interface MsgConnectionOpenTryAmino { - client_id?: string; - /** - * in the case of crossing hello's, when both chains call OpenInit, we need - * the connection identifier of the previous connection in state INIT - */ - previous_connection_id?: string; - client_state?: AnyAmino | undefined; - counterparty?: CounterpartyAmino | undefined; - delay_period?: string; - counterparty_versions?: VersionAmino[]; - proof_height?: HeightAmino | undefined; - /** - * proof of the initialization the connection on Chain A: `UNITIALIZED -> - * INIT` - */ - proof_init?: string; - /** proof of client state included in message */ - proof_client?: string; - /** proof of client consensus state */ - proof_consensus?: string; - consensus_height?: HeightAmino | undefined; - signer?: string; -} -export interface MsgConnectionOpenTryAminoMsg { - type: "cosmos-sdk/MsgConnectionOpenTry"; - value: MsgConnectionOpenTryAmino; -} -/** - * MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a - * connection on Chain B. - */ -export interface MsgConnectionOpenTrySDKType { - client_id: string; - previous_connection_id: string; - client_state?: AnySDKType | undefined; - counterparty: CounterpartySDKType | undefined; - delay_period: bigint; - counterparty_versions: VersionSDKType[]; - proof_height: HeightSDKType | undefined; - proof_init: Uint8Array; - proof_client: Uint8Array; - proof_consensus: Uint8Array; - consensus_height: HeightSDKType | undefined; - signer: string; -} -/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ -export interface MsgConnectionOpenTryResponse { -} -export interface MsgConnectionOpenTryResponseProtoMsg { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenTryResponse"; - value: Uint8Array; -} -/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ -export interface MsgConnectionOpenTryResponseAmino { -} -export interface MsgConnectionOpenTryResponseAminoMsg { - type: "cosmos-sdk/MsgConnectionOpenTryResponse"; - value: MsgConnectionOpenTryResponseAmino; -} -/** MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. */ -export interface MsgConnectionOpenTryResponseSDKType { -} -/** - * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to - * acknowledge the change of connection state to TRYOPEN on Chain B. - */ -export interface MsgConnectionOpenAck { - connectionId: string; - counterpartyConnectionId: string; - version?: Version | undefined; - clientState?: Any | undefined; - proofHeight: Height | undefined; - /** - * proof of the initialization the connection on Chain B: `UNITIALIZED -> - * TRYOPEN` - */ - proofTry: Uint8Array; - /** proof of client state included in message */ - proofClient: Uint8Array; - /** proof of client consensus state */ - proofConsensus: Uint8Array; - consensusHeight: Height | undefined; - signer: string; -} -export interface MsgConnectionOpenAckProtoMsg { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAck"; - value: Uint8Array; -} -/** - * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to - * acknowledge the change of connection state to TRYOPEN on Chain B. - */ -export interface MsgConnectionOpenAckAmino { - connection_id?: string; - counterparty_connection_id?: string; - version?: VersionAmino | undefined; - client_state?: AnyAmino | undefined; - proof_height?: HeightAmino | undefined; - /** - * proof of the initialization the connection on Chain B: `UNITIALIZED -> - * TRYOPEN` - */ - proof_try?: string; - /** proof of client state included in message */ - proof_client?: string; - /** proof of client consensus state */ - proof_consensus?: string; - consensus_height?: HeightAmino | undefined; - signer?: string; -} -export interface MsgConnectionOpenAckAminoMsg { - type: "cosmos-sdk/MsgConnectionOpenAck"; - value: MsgConnectionOpenAckAmino; -} -/** - * MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to - * acknowledge the change of connection state to TRYOPEN on Chain B. - */ -export interface MsgConnectionOpenAckSDKType { - connection_id: string; - counterparty_connection_id: string; - version?: VersionSDKType | undefined; - client_state?: AnySDKType | undefined; - proof_height: HeightSDKType | undefined; - proof_try: Uint8Array; - proof_client: Uint8Array; - proof_consensus: Uint8Array; - consensus_height: HeightSDKType | undefined; - signer: string; -} -/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ -export interface MsgConnectionOpenAckResponse { -} -export interface MsgConnectionOpenAckResponseProtoMsg { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenAckResponse"; - value: Uint8Array; -} -/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ -export interface MsgConnectionOpenAckResponseAmino { -} -export interface MsgConnectionOpenAckResponseAminoMsg { - type: "cosmos-sdk/MsgConnectionOpenAckResponse"; - value: MsgConnectionOpenAckResponseAmino; -} -/** MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. */ -export interface MsgConnectionOpenAckResponseSDKType { -} -/** - * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to - * acknowledge the change of connection state to OPEN on Chain A. - */ -export interface MsgConnectionOpenConfirm { - connectionId: string; - /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ - proofAck: Uint8Array; - proofHeight: Height | undefined; - signer: string; -} -export interface MsgConnectionOpenConfirmProtoMsg { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirm"; - value: Uint8Array; -} -/** - * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to - * acknowledge the change of connection state to OPEN on Chain A. - */ -export interface MsgConnectionOpenConfirmAmino { - connection_id?: string; - /** proof for the change of the connection state on Chain A: `INIT -> OPEN` */ - proof_ack?: string; - proof_height?: HeightAmino | undefined; - signer?: string; -} -export interface MsgConnectionOpenConfirmAminoMsg { - type: "cosmos-sdk/MsgConnectionOpenConfirm"; - value: MsgConnectionOpenConfirmAmino; -} -/** - * MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to - * acknowledge the change of connection state to OPEN on Chain A. - */ -export interface MsgConnectionOpenConfirmSDKType { - connection_id: string; - proof_ack: Uint8Array; - proof_height: HeightSDKType | undefined; - signer: string; -} -/** - * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm - * response type. - */ -export interface MsgConnectionOpenConfirmResponse { -} -export interface MsgConnectionOpenConfirmResponseProtoMsg { - typeUrl: "/ibc.core.connection.v1.MsgConnectionOpenConfirmResponse"; - value: Uint8Array; -} -/** - * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm - * response type. - */ -export interface MsgConnectionOpenConfirmResponseAmino { -} -export interface MsgConnectionOpenConfirmResponseAminoMsg { - type: "cosmos-sdk/MsgConnectionOpenConfirmResponse"; - value: MsgConnectionOpenConfirmResponseAmino; -} -/** - * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm - * response type. - */ -export interface MsgConnectionOpenConfirmResponseSDKType { -} -export declare const MsgConnectionOpenInit: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgConnectionOpenInit; - isSDK(o: any): o is MsgConnectionOpenInitSDKType; - isAmino(o: any): o is MsgConnectionOpenInitAmino; - encode(message: MsgConnectionOpenInit, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenInit; - fromJSON(object: any): MsgConnectionOpenInit; - toJSON(message: MsgConnectionOpenInit): unknown; - fromPartial(object: DeepPartial): MsgConnectionOpenInit; - fromSDK(object: MsgConnectionOpenInitSDKType): MsgConnectionOpenInit; - toSDK(message: MsgConnectionOpenInit): MsgConnectionOpenInitSDKType; - fromAmino(object: MsgConnectionOpenInitAmino): MsgConnectionOpenInit; - toAmino(message: MsgConnectionOpenInit): MsgConnectionOpenInitAmino; - fromAminoMsg(object: MsgConnectionOpenInitAminoMsg): MsgConnectionOpenInit; - toAminoMsg(message: MsgConnectionOpenInit): MsgConnectionOpenInitAminoMsg; - fromProtoMsg(message: MsgConnectionOpenInitProtoMsg): MsgConnectionOpenInit; - toProto(message: MsgConnectionOpenInit): Uint8Array; - toProtoMsg(message: MsgConnectionOpenInit): MsgConnectionOpenInitProtoMsg; -}; -export declare const MsgConnectionOpenInitResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgConnectionOpenInitResponse; - isSDK(o: any): o is MsgConnectionOpenInitResponseSDKType; - isAmino(o: any): o is MsgConnectionOpenInitResponseAmino; - encode(_: MsgConnectionOpenInitResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenInitResponse; - fromJSON(_: any): MsgConnectionOpenInitResponse; - toJSON(_: MsgConnectionOpenInitResponse): unknown; - fromPartial(_: DeepPartial): MsgConnectionOpenInitResponse; - fromSDK(_: MsgConnectionOpenInitResponseSDKType): MsgConnectionOpenInitResponse; - toSDK(_: MsgConnectionOpenInitResponse): MsgConnectionOpenInitResponseSDKType; - fromAmino(_: MsgConnectionOpenInitResponseAmino): MsgConnectionOpenInitResponse; - toAmino(_: MsgConnectionOpenInitResponse): MsgConnectionOpenInitResponseAmino; - fromAminoMsg(object: MsgConnectionOpenInitResponseAminoMsg): MsgConnectionOpenInitResponse; - toAminoMsg(message: MsgConnectionOpenInitResponse): MsgConnectionOpenInitResponseAminoMsg; - fromProtoMsg(message: MsgConnectionOpenInitResponseProtoMsg): MsgConnectionOpenInitResponse; - toProto(message: MsgConnectionOpenInitResponse): Uint8Array; - toProtoMsg(message: MsgConnectionOpenInitResponse): MsgConnectionOpenInitResponseProtoMsg; -}; -export declare const MsgConnectionOpenTry: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgConnectionOpenTry; - isSDK(o: any): o is MsgConnectionOpenTrySDKType; - isAmino(o: any): o is MsgConnectionOpenTryAmino; - encode(message: MsgConnectionOpenTry, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenTry; - fromJSON(object: any): MsgConnectionOpenTry; - toJSON(message: MsgConnectionOpenTry): unknown; - fromPartial(object: DeepPartial): MsgConnectionOpenTry; - fromSDK(object: MsgConnectionOpenTrySDKType): MsgConnectionOpenTry; - toSDK(message: MsgConnectionOpenTry): MsgConnectionOpenTrySDKType; - fromAmino(object: MsgConnectionOpenTryAmino): MsgConnectionOpenTry; - toAmino(message: MsgConnectionOpenTry): MsgConnectionOpenTryAmino; - fromAminoMsg(object: MsgConnectionOpenTryAminoMsg): MsgConnectionOpenTry; - toAminoMsg(message: MsgConnectionOpenTry): MsgConnectionOpenTryAminoMsg; - fromProtoMsg(message: MsgConnectionOpenTryProtoMsg): MsgConnectionOpenTry; - toProto(message: MsgConnectionOpenTry): Uint8Array; - toProtoMsg(message: MsgConnectionOpenTry): MsgConnectionOpenTryProtoMsg; -}; -export declare const MsgConnectionOpenTryResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgConnectionOpenTryResponse; - isSDK(o: any): o is MsgConnectionOpenTryResponseSDKType; - isAmino(o: any): o is MsgConnectionOpenTryResponseAmino; - encode(_: MsgConnectionOpenTryResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenTryResponse; - fromJSON(_: any): MsgConnectionOpenTryResponse; - toJSON(_: MsgConnectionOpenTryResponse): unknown; - fromPartial(_: DeepPartial): MsgConnectionOpenTryResponse; - fromSDK(_: MsgConnectionOpenTryResponseSDKType): MsgConnectionOpenTryResponse; - toSDK(_: MsgConnectionOpenTryResponse): MsgConnectionOpenTryResponseSDKType; - fromAmino(_: MsgConnectionOpenTryResponseAmino): MsgConnectionOpenTryResponse; - toAmino(_: MsgConnectionOpenTryResponse): MsgConnectionOpenTryResponseAmino; - fromAminoMsg(object: MsgConnectionOpenTryResponseAminoMsg): MsgConnectionOpenTryResponse; - toAminoMsg(message: MsgConnectionOpenTryResponse): MsgConnectionOpenTryResponseAminoMsg; - fromProtoMsg(message: MsgConnectionOpenTryResponseProtoMsg): MsgConnectionOpenTryResponse; - toProto(message: MsgConnectionOpenTryResponse): Uint8Array; - toProtoMsg(message: MsgConnectionOpenTryResponse): MsgConnectionOpenTryResponseProtoMsg; -}; -export declare const MsgConnectionOpenAck: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgConnectionOpenAck; - isSDK(o: any): o is MsgConnectionOpenAckSDKType; - isAmino(o: any): o is MsgConnectionOpenAckAmino; - encode(message: MsgConnectionOpenAck, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenAck; - fromJSON(object: any): MsgConnectionOpenAck; - toJSON(message: MsgConnectionOpenAck): unknown; - fromPartial(object: DeepPartial): MsgConnectionOpenAck; - fromSDK(object: MsgConnectionOpenAckSDKType): MsgConnectionOpenAck; - toSDK(message: MsgConnectionOpenAck): MsgConnectionOpenAckSDKType; - fromAmino(object: MsgConnectionOpenAckAmino): MsgConnectionOpenAck; - toAmino(message: MsgConnectionOpenAck): MsgConnectionOpenAckAmino; - fromAminoMsg(object: MsgConnectionOpenAckAminoMsg): MsgConnectionOpenAck; - toAminoMsg(message: MsgConnectionOpenAck): MsgConnectionOpenAckAminoMsg; - fromProtoMsg(message: MsgConnectionOpenAckProtoMsg): MsgConnectionOpenAck; - toProto(message: MsgConnectionOpenAck): Uint8Array; - toProtoMsg(message: MsgConnectionOpenAck): MsgConnectionOpenAckProtoMsg; -}; -export declare const MsgConnectionOpenAckResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgConnectionOpenAckResponse; - isSDK(o: any): o is MsgConnectionOpenAckResponseSDKType; - isAmino(o: any): o is MsgConnectionOpenAckResponseAmino; - encode(_: MsgConnectionOpenAckResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenAckResponse; - fromJSON(_: any): MsgConnectionOpenAckResponse; - toJSON(_: MsgConnectionOpenAckResponse): unknown; - fromPartial(_: DeepPartial): MsgConnectionOpenAckResponse; - fromSDK(_: MsgConnectionOpenAckResponseSDKType): MsgConnectionOpenAckResponse; - toSDK(_: MsgConnectionOpenAckResponse): MsgConnectionOpenAckResponseSDKType; - fromAmino(_: MsgConnectionOpenAckResponseAmino): MsgConnectionOpenAckResponse; - toAmino(_: MsgConnectionOpenAckResponse): MsgConnectionOpenAckResponseAmino; - fromAminoMsg(object: MsgConnectionOpenAckResponseAminoMsg): MsgConnectionOpenAckResponse; - toAminoMsg(message: MsgConnectionOpenAckResponse): MsgConnectionOpenAckResponseAminoMsg; - fromProtoMsg(message: MsgConnectionOpenAckResponseProtoMsg): MsgConnectionOpenAckResponse; - toProto(message: MsgConnectionOpenAckResponse): Uint8Array; - toProtoMsg(message: MsgConnectionOpenAckResponse): MsgConnectionOpenAckResponseProtoMsg; -}; -export declare const MsgConnectionOpenConfirm: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgConnectionOpenConfirm; - isSDK(o: any): o is MsgConnectionOpenConfirmSDKType; - isAmino(o: any): o is MsgConnectionOpenConfirmAmino; - encode(message: MsgConnectionOpenConfirm, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenConfirm; - fromJSON(object: any): MsgConnectionOpenConfirm; - toJSON(message: MsgConnectionOpenConfirm): unknown; - fromPartial(object: DeepPartial): MsgConnectionOpenConfirm; - fromSDK(object: MsgConnectionOpenConfirmSDKType): MsgConnectionOpenConfirm; - toSDK(message: MsgConnectionOpenConfirm): MsgConnectionOpenConfirmSDKType; - fromAmino(object: MsgConnectionOpenConfirmAmino): MsgConnectionOpenConfirm; - toAmino(message: MsgConnectionOpenConfirm): MsgConnectionOpenConfirmAmino; - fromAminoMsg(object: MsgConnectionOpenConfirmAminoMsg): MsgConnectionOpenConfirm; - toAminoMsg(message: MsgConnectionOpenConfirm): MsgConnectionOpenConfirmAminoMsg; - fromProtoMsg(message: MsgConnectionOpenConfirmProtoMsg): MsgConnectionOpenConfirm; - toProto(message: MsgConnectionOpenConfirm): Uint8Array; - toProtoMsg(message: MsgConnectionOpenConfirm): MsgConnectionOpenConfirmProtoMsg; -}; -export declare const MsgConnectionOpenConfirmResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgConnectionOpenConfirmResponse; - isSDK(o: any): o is MsgConnectionOpenConfirmResponseSDKType; - isAmino(o: any): o is MsgConnectionOpenConfirmResponseAmino; - encode(_: MsgConnectionOpenConfirmResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponse; - fromJSON(_: any): MsgConnectionOpenConfirmResponse; - toJSON(_: MsgConnectionOpenConfirmResponse): unknown; - fromPartial(_: DeepPartial): MsgConnectionOpenConfirmResponse; - fromSDK(_: MsgConnectionOpenConfirmResponseSDKType): MsgConnectionOpenConfirmResponse; - toSDK(_: MsgConnectionOpenConfirmResponse): MsgConnectionOpenConfirmResponseSDKType; - fromAmino(_: MsgConnectionOpenConfirmResponseAmino): MsgConnectionOpenConfirmResponse; - toAmino(_: MsgConnectionOpenConfirmResponse): MsgConnectionOpenConfirmResponseAmino; - fromAminoMsg(object: MsgConnectionOpenConfirmResponseAminoMsg): MsgConnectionOpenConfirmResponse; - toAminoMsg(message: MsgConnectionOpenConfirmResponse): MsgConnectionOpenConfirmResponseAminoMsg; - fromProtoMsg(message: MsgConnectionOpenConfirmResponseProtoMsg): MsgConnectionOpenConfirmResponse; - toProto(message: MsgConnectionOpenConfirmResponse): Uint8Array; - toProtoMsg(message: MsgConnectionOpenConfirmResponse): MsgConnectionOpenConfirmResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/core/connection/v1/tx.registry.d.ts b/examples/authz/types/codegen/ibc/core/connection/v1/tx.registry.d.ts deleted file mode 100644 index ae0b3e84..00000000 --- a/examples/authz/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { TelescopeGeneratedType } from "../../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - connectionOpenInit(value: MsgConnectionOpenInit): { - typeUrl: string; - value: Uint8Array; - }; - connectionOpenTry(value: MsgConnectionOpenTry): { - typeUrl: string; - value: Uint8Array; - }; - connectionOpenAck(value: MsgConnectionOpenAck): { - typeUrl: string; - value: Uint8Array; - }; - connectionOpenConfirm(value: MsgConnectionOpenConfirm): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - connectionOpenInit(value: MsgConnectionOpenInit): { - typeUrl: string; - value: MsgConnectionOpenInit; - }; - connectionOpenTry(value: MsgConnectionOpenTry): { - typeUrl: string; - value: MsgConnectionOpenTry; - }; - connectionOpenAck(value: MsgConnectionOpenAck): { - typeUrl: string; - value: MsgConnectionOpenAck; - }; - connectionOpenConfirm(value: MsgConnectionOpenConfirm): { - typeUrl: string; - value: MsgConnectionOpenConfirm; - }; - }; - toJSON: { - connectionOpenInit(value: MsgConnectionOpenInit): { - typeUrl: string; - value: unknown; - }; - connectionOpenTry(value: MsgConnectionOpenTry): { - typeUrl: string; - value: unknown; - }; - connectionOpenAck(value: MsgConnectionOpenAck): { - typeUrl: string; - value: unknown; - }; - connectionOpenConfirm(value: MsgConnectionOpenConfirm): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - connectionOpenInit(value: any): { - typeUrl: string; - value: MsgConnectionOpenInit; - }; - connectionOpenTry(value: any): { - typeUrl: string; - value: MsgConnectionOpenTry; - }; - connectionOpenAck(value: any): { - typeUrl: string; - value: MsgConnectionOpenAck; - }; - connectionOpenConfirm(value: any): { - typeUrl: string; - value: MsgConnectionOpenConfirm; - }; - }; - fromPartial: { - connectionOpenInit(value: MsgConnectionOpenInit): { - typeUrl: string; - value: MsgConnectionOpenInit; - }; - connectionOpenTry(value: MsgConnectionOpenTry): { - typeUrl: string; - value: MsgConnectionOpenTry; - }; - connectionOpenAck(value: MsgConnectionOpenAck): { - typeUrl: string; - value: MsgConnectionOpenAck; - }; - connectionOpenConfirm(value: MsgConnectionOpenConfirm): { - typeUrl: string; - value: MsgConnectionOpenConfirm; - }; - }; -}; diff --git a/examples/authz/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts deleted file mode 100644 index bec34378..00000000 --- a/examples/authz/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../../types"; -import { MsgConnectionOpenInit, MsgConnectionOpenTry, MsgConnectionOpenAck, MsgConnectionOpenConfirm } from "./tx"; -/** Msg defines the ibc/connection Msg service. */ -export interface Msg { - /** ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit. */ - connectionOpenInit(signerAddress: string, message: MsgConnectionOpenInit, fee: number | StdFee | "auto", memo: string): Promise; - /** ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry. */ - connectionOpenTry(signerAddress: string, message: MsgConnectionOpenTry, fee: number | StdFee | "auto", memo: string): Promise; - /** ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck. */ - connectionOpenAck(signerAddress: string, message: MsgConnectionOpenAck, fee: number | StdFee | "auto", memo: string): Promise; - /** - * ConnectionOpenConfirm defines a rpc handler method for - * MsgConnectionOpenConfirm. - */ - connectionOpenConfirm(signerAddress: string, message: MsgConnectionOpenConfirm, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - connectionOpenInit: (signerAddress: string, message: MsgConnectionOpenInit, fee?: number | StdFee | "auto", memo?: string) => Promise; - connectionOpenTry: (signerAddress: string, message: MsgConnectionOpenTry, fee?: number | StdFee | "auto", memo?: string) => Promise; - connectionOpenAck: (signerAddress: string, message: MsgConnectionOpenAck, fee?: number | StdFee | "auto", memo?: string) => Promise; - connectionOpenConfirm: (signerAddress: string, message: MsgConnectionOpenConfirm, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/ibc/core/port/v1/query.d.ts b/examples/authz/types/codegen/ibc/core/port/v1/query.d.ts deleted file mode 100644 index d1ffd4ab..00000000 --- a/examples/authz/types/codegen/ibc/core/port/v1/query.d.ts +++ /dev/null @@ -1,114 +0,0 @@ -import { Order, Counterparty, CounterpartyAmino, CounterpartySDKType } from "../../channel/v1/channel"; -import { DeepPartial } from "../../../../helpers"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -/** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ -export interface QueryAppVersionRequest { - /** port unique identifier */ - portId: string; - /** connection unique identifier */ - connectionId: string; - /** whether the channel is ordered or unordered */ - ordering: Order; - /** counterparty channel end */ - counterparty?: Counterparty | undefined; - /** proposed version */ - proposedVersion: string; -} -export interface QueryAppVersionRequestProtoMsg { - typeUrl: "/ibc.core.port.v1.QueryAppVersionRequest"; - value: Uint8Array; -} -/** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ -export interface QueryAppVersionRequestAmino { - /** port unique identifier */ - port_id?: string; - /** connection unique identifier */ - connection_id?: string; - /** whether the channel is ordered or unordered */ - ordering?: Order; - /** counterparty channel end */ - counterparty?: CounterpartyAmino | undefined; - /** proposed version */ - proposed_version?: string; -} -export interface QueryAppVersionRequestAminoMsg { - type: "cosmos-sdk/QueryAppVersionRequest"; - value: QueryAppVersionRequestAmino; -} -/** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ -export interface QueryAppVersionRequestSDKType { - port_id: string; - connection_id: string; - ordering: Order; - counterparty?: CounterpartySDKType | undefined; - proposed_version: string; -} -/** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */ -export interface QueryAppVersionResponse { - /** port id associated with the request identifiers */ - portId: string; - /** supported app version */ - version: string; -} -export interface QueryAppVersionResponseProtoMsg { - typeUrl: "/ibc.core.port.v1.QueryAppVersionResponse"; - value: Uint8Array; -} -/** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */ -export interface QueryAppVersionResponseAmino { - /** port id associated with the request identifiers */ - port_id?: string; - /** supported app version */ - version?: string; -} -export interface QueryAppVersionResponseAminoMsg { - type: "cosmos-sdk/QueryAppVersionResponse"; - value: QueryAppVersionResponseAmino; -} -/** QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. */ -export interface QueryAppVersionResponseSDKType { - port_id: string; - version: string; -} -export declare const QueryAppVersionRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAppVersionRequest; - isSDK(o: any): o is QueryAppVersionRequestSDKType; - isAmino(o: any): o is QueryAppVersionRequestAmino; - encode(message: QueryAppVersionRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAppVersionRequest; - fromJSON(object: any): QueryAppVersionRequest; - toJSON(message: QueryAppVersionRequest): unknown; - fromPartial(object: DeepPartial): QueryAppVersionRequest; - fromSDK(object: QueryAppVersionRequestSDKType): QueryAppVersionRequest; - toSDK(message: QueryAppVersionRequest): QueryAppVersionRequestSDKType; - fromAmino(object: QueryAppVersionRequestAmino): QueryAppVersionRequest; - toAmino(message: QueryAppVersionRequest): QueryAppVersionRequestAmino; - fromAminoMsg(object: QueryAppVersionRequestAminoMsg): QueryAppVersionRequest; - toAminoMsg(message: QueryAppVersionRequest): QueryAppVersionRequestAminoMsg; - fromProtoMsg(message: QueryAppVersionRequestProtoMsg): QueryAppVersionRequest; - toProto(message: QueryAppVersionRequest): Uint8Array; - toProtoMsg(message: QueryAppVersionRequest): QueryAppVersionRequestProtoMsg; -}; -export declare const QueryAppVersionResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryAppVersionResponse; - isSDK(o: any): o is QueryAppVersionResponseSDKType; - isAmino(o: any): o is QueryAppVersionResponseAmino; - encode(message: QueryAppVersionResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryAppVersionResponse; - fromJSON(object: any): QueryAppVersionResponse; - toJSON(message: QueryAppVersionResponse): unknown; - fromPartial(object: DeepPartial): QueryAppVersionResponse; - fromSDK(object: QueryAppVersionResponseSDKType): QueryAppVersionResponse; - toSDK(message: QueryAppVersionResponse): QueryAppVersionResponseSDKType; - fromAmino(object: QueryAppVersionResponseAmino): QueryAppVersionResponse; - toAmino(message: QueryAppVersionResponse): QueryAppVersionResponseAmino; - fromAminoMsg(object: QueryAppVersionResponseAminoMsg): QueryAppVersionResponse; - toAminoMsg(message: QueryAppVersionResponse): QueryAppVersionResponseAminoMsg; - fromProtoMsg(message: QueryAppVersionResponseProtoMsg): QueryAppVersionResponse; - toProto(message: QueryAppVersionResponse): Uint8Array; - toProtoMsg(message: QueryAppVersionResponse): QueryAppVersionResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/core/port/v1/query.rpc.Query.d.ts b/examples/authz/types/codegen/ibc/core/port/v1/query.rpc.Query.d.ts deleted file mode 100644 index cdcb1e42..00000000 --- a/examples/authz/types/codegen/ibc/core/port/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { TxRpc } from "../../../../types"; -import { ReactQueryParams } from "../../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../../mobx"; -import { QueryAppVersionRequest, QueryAppVersionResponse } from "./query"; -/** Query defines the gRPC querier service */ -export interface Query { - /** AppVersion queries an IBC Port and determines the appropriate application version to be used */ - appVersion(request: QueryAppVersionRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - appVersion: (request: QueryAppVersionRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseAppVersionQuery extends ReactQueryParams { - request: QueryAppVersionRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** AppVersion queries an IBC Port and determines the appropriate application version to be used */ useAppVersion: ({ request, options }: UseAppVersionQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** AppVersion queries an IBC Port and determines the appropriate application version to be used */ QueryAppVersionStore: { - new (): { - store: QueryStore; - appVersion(request: QueryAppVersionRequest): import("../../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/ibc/core/types/v1/genesis.d.ts b/examples/authz/types/codegen/ibc/core/types/v1/genesis.d.ts deleted file mode 100644 index 8b35e8bc..00000000 --- a/examples/authz/types/codegen/ibc/core/types/v1/genesis.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { GenesisState as GenesisState1 } from "../../client/v1/genesis"; -import { GenesisStateAmino as GenesisState1Amino } from "../../client/v1/genesis"; -import { GenesisStateSDKType as GenesisState1SDKType } from "../../client/v1/genesis"; -import { GenesisState as GenesisState2 } from "../../connection/v1/genesis"; -import { GenesisStateAmino as GenesisState2Amino } from "../../connection/v1/genesis"; -import { GenesisStateSDKType as GenesisState2SDKType } from "../../connection/v1/genesis"; -import { GenesisState as GenesisState3 } from "../../channel/v1/genesis"; -import { GenesisStateAmino as GenesisState3Amino } from "../../channel/v1/genesis"; -import { GenesisStateSDKType as GenesisState3SDKType } from "../../channel/v1/genesis"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** GenesisState defines the ibc module's genesis state. */ -export interface GenesisState { - /** ICS002 - Clients genesis state */ - clientGenesis: GenesisState1 | undefined; - /** ICS003 - Connections genesis state */ - connectionGenesis: GenesisState2 | undefined; - /** ICS004 - Channel genesis state */ - channelGenesis: GenesisState3 | undefined; -} -export interface GenesisStateProtoMsg { - typeUrl: "/ibc.core.types.v1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the ibc module's genesis state. */ -export interface GenesisStateAmino { - /** ICS002 - Clients genesis state */ - client_genesis?: GenesisState1Amino | undefined; - /** ICS003 - Connections genesis state */ - connection_genesis?: GenesisState2Amino | undefined; - /** ICS004 - Channel genesis state */ - channel_genesis?: GenesisState3Amino | undefined; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the ibc module's genesis state. */ -export interface GenesisStateSDKType { - client_genesis: GenesisState1SDKType | undefined; - connection_genesis: GenesisState2SDKType | undefined; - channel_genesis: GenesisState3SDKType | undefined; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts b/examples/authz/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts deleted file mode 100644 index c93c22d5..00000000 --- a/examples/authz/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { Height, HeightAmino, HeightSDKType } from "../../../core/client/v1/client"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * ClientState defines a loopback (localhost) client. It requires (read-only) - * access to keys outside the client prefix. - */ -export interface ClientState { - /** self chain ID */ - chainId: string; - /** self latest block height */ - height: Height | undefined; -} -export interface ClientStateProtoMsg { - typeUrl: "/ibc.lightclients.localhost.v1.ClientState"; - value: Uint8Array; -} -/** - * ClientState defines a loopback (localhost) client. It requires (read-only) - * access to keys outside the client prefix. - */ -export interface ClientStateAmino { - /** self chain ID */ - chain_id?: string; - /** self latest block height */ - height?: HeightAmino | undefined; -} -export interface ClientStateAminoMsg { - type: "cosmos-sdk/ClientState"; - value: ClientStateAmino; -} -/** - * ClientState defines a loopback (localhost) client. It requires (read-only) - * access to keys outside the client prefix. - */ -export interface ClientStateSDKType { - chain_id: string; - height: HeightSDKType | undefined; -} -export declare const ClientState: { - typeUrl: string; - aminoType: string; - is(o: any): o is ClientState; - isSDK(o: any): o is ClientStateSDKType; - isAmino(o: any): o is ClientStateAmino; - encode(message: ClientState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ClientState; - fromJSON(object: any): ClientState; - toJSON(message: ClientState): unknown; - fromPartial(object: DeepPartial): ClientState; - fromSDK(object: ClientStateSDKType): ClientState; - toSDK(message: ClientState): ClientStateSDKType; - fromAmino(object: ClientStateAmino): ClientState; - toAmino(message: ClientState): ClientStateAmino; - fromAminoMsg(object: ClientStateAminoMsg): ClientState; - toAminoMsg(message: ClientState): ClientStateAminoMsg; - fromProtoMsg(message: ClientStateProtoMsg): ClientState; - toProto(message: ClientState): Uint8Array; - toProtoMsg(message: ClientState): ClientStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts b/examples/authz/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts deleted file mode 100644 index 1bb16487..00000000 --- a/examples/authz/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +++ /dev/null @@ -1,921 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { ConnectionEnd, ConnectionEndAmino, ConnectionEndSDKType } from "../../../core/connection/v1/connection"; -import { Channel, ChannelAmino, ChannelSDKType } from "../../../core/channel/v1/channel"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * DataType defines the type of solo machine proof being created. This is done - * to preserve uniqueness of different data sign byte encodings. - */ -export declare enum DataType { - /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ - DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, - /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ - DATA_TYPE_CLIENT_STATE = 1, - /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ - DATA_TYPE_CONSENSUS_STATE = 2, - /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ - DATA_TYPE_CONNECTION_STATE = 3, - /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ - DATA_TYPE_CHANNEL_STATE = 4, - /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ - DATA_TYPE_PACKET_COMMITMENT = 5, - /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ - DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, - /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ - DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, - /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ - DATA_TYPE_NEXT_SEQUENCE_RECV = 8, - /** DATA_TYPE_HEADER - Data type for header verification */ - DATA_TYPE_HEADER = 9, - UNRECOGNIZED = -1 -} -export declare const DataTypeSDKType: typeof DataType; -export declare const DataTypeAmino: typeof DataType; -export declare function dataTypeFromJSON(object: any): DataType; -export declare function dataTypeToJSON(object: DataType): string; -/** - * ClientState defines a solo machine client that tracks the current consensus - * state and if the client is frozen. - */ -export interface ClientState { - /** latest sequence of the client state */ - sequence: bigint; - /** frozen sequence of the solo machine */ - frozenSequence: bigint; - consensusState?: ConsensusState | undefined; - /** - * when set to true, will allow governance to update a solo machine client. - * The client will be unfrozen if it is frozen. - */ - allowUpdateAfterProposal: boolean; -} -export interface ClientStateProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.ClientState"; - value: Uint8Array; -} -/** - * ClientState defines a solo machine client that tracks the current consensus - * state and if the client is frozen. - */ -export interface ClientStateAmino { - /** latest sequence of the client state */ - sequence?: string; - /** frozen sequence of the solo machine */ - frozen_sequence?: string; - consensus_state?: ConsensusStateAmino | undefined; - /** - * when set to true, will allow governance to update a solo machine client. - * The client will be unfrozen if it is frozen. - */ - allow_update_after_proposal?: boolean; -} -export interface ClientStateAminoMsg { - type: "cosmos-sdk/ClientState"; - value: ClientStateAmino; -} -/** - * ClientState defines a solo machine client that tracks the current consensus - * state and if the client is frozen. - */ -export interface ClientStateSDKType { - sequence: bigint; - frozen_sequence: bigint; - consensus_state?: ConsensusStateSDKType | undefined; - allow_update_after_proposal: boolean; -} -/** - * ConsensusState defines a solo machine consensus state. The sequence of a - * consensus state is contained in the "height" key used in storing the - * consensus state. - */ -export interface ConsensusState { - /** public key of the solo machine */ - publicKey?: Any | undefined; - /** - * diversifier allows the same public key to be re-used across different solo - * machine clients (potentially on different chains) without being considered - * misbehaviour. - */ - diversifier: string; - timestamp: bigint; -} -export interface ConsensusStateProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.ConsensusState"; - value: Uint8Array; -} -/** - * ConsensusState defines a solo machine consensus state. The sequence of a - * consensus state is contained in the "height" key used in storing the - * consensus state. - */ -export interface ConsensusStateAmino { - /** public key of the solo machine */ - public_key?: AnyAmino | undefined; - /** - * diversifier allows the same public key to be re-used across different solo - * machine clients (potentially on different chains) without being considered - * misbehaviour. - */ - diversifier?: string; - timestamp?: string; -} -export interface ConsensusStateAminoMsg { - type: "cosmos-sdk/ConsensusState"; - value: ConsensusStateAmino; -} -/** - * ConsensusState defines a solo machine consensus state. The sequence of a - * consensus state is contained in the "height" key used in storing the - * consensus state. - */ -export interface ConsensusStateSDKType { - public_key?: AnySDKType | undefined; - diversifier: string; - timestamp: bigint; -} -/** Header defines a solo machine consensus header */ -export interface Header { - /** sequence to update solo machine public key at */ - sequence: bigint; - timestamp: bigint; - signature: Uint8Array; - newPublicKey?: Any | undefined; - newDiversifier: string; -} -export interface HeaderProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.Header"; - value: Uint8Array; -} -/** Header defines a solo machine consensus header */ -export interface HeaderAmino { - /** sequence to update solo machine public key at */ - sequence?: string; - timestamp?: string; - signature?: string; - new_public_key?: AnyAmino | undefined; - new_diversifier?: string; -} -export interface HeaderAminoMsg { - type: "cosmos-sdk/Header"; - value: HeaderAmino; -} -/** Header defines a solo machine consensus header */ -export interface HeaderSDKType { - sequence: bigint; - timestamp: bigint; - signature: Uint8Array; - new_public_key?: AnySDKType | undefined; - new_diversifier: string; -} -/** - * Misbehaviour defines misbehaviour for a solo machine which consists - * of a sequence and two signatures over different messages at that sequence. - */ -export interface Misbehaviour { - clientId: string; - sequence: bigint; - signatureOne?: SignatureAndData | undefined; - signatureTwo?: SignatureAndData | undefined; -} -export interface MisbehaviourProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.Misbehaviour"; - value: Uint8Array; -} -/** - * Misbehaviour defines misbehaviour for a solo machine which consists - * of a sequence and two signatures over different messages at that sequence. - */ -export interface MisbehaviourAmino { - client_id?: string; - sequence?: string; - signature_one?: SignatureAndDataAmino | undefined; - signature_two?: SignatureAndDataAmino | undefined; -} -export interface MisbehaviourAminoMsg { - type: "cosmos-sdk/Misbehaviour"; - value: MisbehaviourAmino; -} -/** - * Misbehaviour defines misbehaviour for a solo machine which consists - * of a sequence and two signatures over different messages at that sequence. - */ -export interface MisbehaviourSDKType { - client_id: string; - sequence: bigint; - signature_one?: SignatureAndDataSDKType | undefined; - signature_two?: SignatureAndDataSDKType | undefined; -} -/** - * SignatureAndData contains a signature and the data signed over to create that - * signature. - */ -export interface SignatureAndData { - signature: Uint8Array; - dataType: DataType; - data: Uint8Array; - timestamp: bigint; -} -export interface SignatureAndDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.SignatureAndData"; - value: Uint8Array; -} -/** - * SignatureAndData contains a signature and the data signed over to create that - * signature. - */ -export interface SignatureAndDataAmino { - signature?: string; - data_type?: DataType; - data?: string; - timestamp?: string; -} -export interface SignatureAndDataAminoMsg { - type: "cosmos-sdk/SignatureAndData"; - value: SignatureAndDataAmino; -} -/** - * SignatureAndData contains a signature and the data signed over to create that - * signature. - */ -export interface SignatureAndDataSDKType { - signature: Uint8Array; - data_type: DataType; - data: Uint8Array; - timestamp: bigint; -} -/** - * TimestampedSignatureData contains the signature data and the timestamp of the - * signature. - */ -export interface TimestampedSignatureData { - signatureData: Uint8Array; - timestamp: bigint; -} -export interface TimestampedSignatureDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.TimestampedSignatureData"; - value: Uint8Array; -} -/** - * TimestampedSignatureData contains the signature data and the timestamp of the - * signature. - */ -export interface TimestampedSignatureDataAmino { - signature_data?: string; - timestamp?: string; -} -export interface TimestampedSignatureDataAminoMsg { - type: "cosmos-sdk/TimestampedSignatureData"; - value: TimestampedSignatureDataAmino; -} -/** - * TimestampedSignatureData contains the signature data and the timestamp of the - * signature. - */ -export interface TimestampedSignatureDataSDKType { - signature_data: Uint8Array; - timestamp: bigint; -} -/** SignBytes defines the signed bytes used for signature verification. */ -export interface SignBytes { - sequence: bigint; - timestamp: bigint; - diversifier: string; - /** type of the data used */ - dataType: DataType; - /** marshaled data */ - data: Uint8Array; -} -export interface SignBytesProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.SignBytes"; - value: Uint8Array; -} -/** SignBytes defines the signed bytes used for signature verification. */ -export interface SignBytesAmino { - sequence?: string; - timestamp?: string; - diversifier?: string; - /** type of the data used */ - data_type?: DataType; - /** marshaled data */ - data?: string; -} -export interface SignBytesAminoMsg { - type: "cosmos-sdk/SignBytes"; - value: SignBytesAmino; -} -/** SignBytes defines the signed bytes used for signature verification. */ -export interface SignBytesSDKType { - sequence: bigint; - timestamp: bigint; - diversifier: string; - data_type: DataType; - data: Uint8Array; -} -/** HeaderData returns the SignBytes data for update verification. */ -export interface HeaderData { - /** header public key */ - newPubKey?: Any | undefined; - /** header diversifier */ - newDiversifier: string; -} -export interface HeaderDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.HeaderData"; - value: Uint8Array; -} -/** HeaderData returns the SignBytes data for update verification. */ -export interface HeaderDataAmino { - /** header public key */ - new_pub_key?: AnyAmino | undefined; - /** header diversifier */ - new_diversifier?: string; -} -export interface HeaderDataAminoMsg { - type: "cosmos-sdk/HeaderData"; - value: HeaderDataAmino; -} -/** HeaderData returns the SignBytes data for update verification. */ -export interface HeaderDataSDKType { - new_pub_key?: AnySDKType | undefined; - new_diversifier: string; -} -/** ClientStateData returns the SignBytes data for client state verification. */ -export interface ClientStateData { - path: Uint8Array; - clientState?: Any | undefined; -} -export interface ClientStateDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.ClientStateData"; - value: Uint8Array; -} -/** ClientStateData returns the SignBytes data for client state verification. */ -export interface ClientStateDataAmino { - path?: string; - client_state?: AnyAmino | undefined; -} -export interface ClientStateDataAminoMsg { - type: "cosmos-sdk/ClientStateData"; - value: ClientStateDataAmino; -} -/** ClientStateData returns the SignBytes data for client state verification. */ -export interface ClientStateDataSDKType { - path: Uint8Array; - client_state?: AnySDKType | undefined; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ -export interface ConsensusStateData { - path: Uint8Array; - consensusState?: Any | undefined; -} -export interface ConsensusStateDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.ConsensusStateData"; - value: Uint8Array; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ -export interface ConsensusStateDataAmino { - path?: string; - consensus_state?: AnyAmino | undefined; -} -export interface ConsensusStateDataAminoMsg { - type: "cosmos-sdk/ConsensusStateData"; - value: ConsensusStateDataAmino; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ -export interface ConsensusStateDataSDKType { - path: Uint8Array; - consensus_state?: AnySDKType | undefined; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ -export interface ConnectionStateData { - path: Uint8Array; - connection?: ConnectionEnd | undefined; -} -export interface ConnectionStateDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.ConnectionStateData"; - value: Uint8Array; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ -export interface ConnectionStateDataAmino { - path?: string; - connection?: ConnectionEndAmino | undefined; -} -export interface ConnectionStateDataAminoMsg { - type: "cosmos-sdk/ConnectionStateData"; - value: ConnectionStateDataAmino; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ -export interface ConnectionStateDataSDKType { - path: Uint8Array; - connection?: ConnectionEndSDKType | undefined; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ -export interface ChannelStateData { - path: Uint8Array; - channel?: Channel | undefined; -} -export interface ChannelStateDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.ChannelStateData"; - value: Uint8Array; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ -export interface ChannelStateDataAmino { - path?: string; - channel?: ChannelAmino | undefined; -} -export interface ChannelStateDataAminoMsg { - type: "cosmos-sdk/ChannelStateData"; - value: ChannelStateDataAmino; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ -export interface ChannelStateDataSDKType { - path: Uint8Array; - channel?: ChannelSDKType | undefined; -} -/** - * PacketCommitmentData returns the SignBytes data for packet commitment - * verification. - */ -export interface PacketCommitmentData { - path: Uint8Array; - commitment: Uint8Array; -} -export interface PacketCommitmentDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.PacketCommitmentData"; - value: Uint8Array; -} -/** - * PacketCommitmentData returns the SignBytes data for packet commitment - * verification. - */ -export interface PacketCommitmentDataAmino { - path?: string; - commitment?: string; -} -export interface PacketCommitmentDataAminoMsg { - type: "cosmos-sdk/PacketCommitmentData"; - value: PacketCommitmentDataAmino; -} -/** - * PacketCommitmentData returns the SignBytes data for packet commitment - * verification. - */ -export interface PacketCommitmentDataSDKType { - path: Uint8Array; - commitment: Uint8Array; -} -/** - * PacketAcknowledgementData returns the SignBytes data for acknowledgement - * verification. - */ -export interface PacketAcknowledgementData { - path: Uint8Array; - acknowledgement: Uint8Array; -} -export interface PacketAcknowledgementDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.PacketAcknowledgementData"; - value: Uint8Array; -} -/** - * PacketAcknowledgementData returns the SignBytes data for acknowledgement - * verification. - */ -export interface PacketAcknowledgementDataAmino { - path?: string; - acknowledgement?: string; -} -export interface PacketAcknowledgementDataAminoMsg { - type: "cosmos-sdk/PacketAcknowledgementData"; - value: PacketAcknowledgementDataAmino; -} -/** - * PacketAcknowledgementData returns the SignBytes data for acknowledgement - * verification. - */ -export interface PacketAcknowledgementDataSDKType { - path: Uint8Array; - acknowledgement: Uint8Array; -} -/** - * PacketReceiptAbsenceData returns the SignBytes data for - * packet receipt absence verification. - */ -export interface PacketReceiptAbsenceData { - path: Uint8Array; -} -export interface PacketReceiptAbsenceDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.PacketReceiptAbsenceData"; - value: Uint8Array; -} -/** - * PacketReceiptAbsenceData returns the SignBytes data for - * packet receipt absence verification. - */ -export interface PacketReceiptAbsenceDataAmino { - path?: string; -} -export interface PacketReceiptAbsenceDataAminoMsg { - type: "cosmos-sdk/PacketReceiptAbsenceData"; - value: PacketReceiptAbsenceDataAmino; -} -/** - * PacketReceiptAbsenceData returns the SignBytes data for - * packet receipt absence verification. - */ -export interface PacketReceiptAbsenceDataSDKType { - path: Uint8Array; -} -/** - * NextSequenceRecvData returns the SignBytes data for verification of the next - * sequence to be received. - */ -export interface NextSequenceRecvData { - path: Uint8Array; - nextSeqRecv: bigint; -} -export interface NextSequenceRecvDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v1.NextSequenceRecvData"; - value: Uint8Array; -} -/** - * NextSequenceRecvData returns the SignBytes data for verification of the next - * sequence to be received. - */ -export interface NextSequenceRecvDataAmino { - path?: string; - next_seq_recv?: string; -} -export interface NextSequenceRecvDataAminoMsg { - type: "cosmos-sdk/NextSequenceRecvData"; - value: NextSequenceRecvDataAmino; -} -/** - * NextSequenceRecvData returns the SignBytes data for verification of the next - * sequence to be received. - */ -export interface NextSequenceRecvDataSDKType { - path: Uint8Array; - next_seq_recv: bigint; -} -export declare const ClientState: { - typeUrl: string; - aminoType: string; - is(o: any): o is ClientState; - isSDK(o: any): o is ClientStateSDKType; - isAmino(o: any): o is ClientStateAmino; - encode(message: ClientState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ClientState; - fromJSON(object: any): ClientState; - toJSON(message: ClientState): unknown; - fromPartial(object: DeepPartial): ClientState; - fromSDK(object: ClientStateSDKType): ClientState; - toSDK(message: ClientState): ClientStateSDKType; - fromAmino(object: ClientStateAmino): ClientState; - toAmino(message: ClientState): ClientStateAmino; - fromAminoMsg(object: ClientStateAminoMsg): ClientState; - toAminoMsg(message: ClientState): ClientStateAminoMsg; - fromProtoMsg(message: ClientStateProtoMsg): ClientState; - toProto(message: ClientState): Uint8Array; - toProtoMsg(message: ClientState): ClientStateProtoMsg; -}; -export declare const ConsensusState: { - typeUrl: string; - aminoType: string; - is(o: any): o is ConsensusState; - isSDK(o: any): o is ConsensusStateSDKType; - isAmino(o: any): o is ConsensusStateAmino; - encode(message: ConsensusState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ConsensusState; - fromJSON(object: any): ConsensusState; - toJSON(message: ConsensusState): unknown; - fromPartial(object: DeepPartial): ConsensusState; - fromSDK(object: ConsensusStateSDKType): ConsensusState; - toSDK(message: ConsensusState): ConsensusStateSDKType; - fromAmino(object: ConsensusStateAmino): ConsensusState; - toAmino(message: ConsensusState): ConsensusStateAmino; - fromAminoMsg(object: ConsensusStateAminoMsg): ConsensusState; - toAminoMsg(message: ConsensusState): ConsensusStateAminoMsg; - fromProtoMsg(message: ConsensusStateProtoMsg): ConsensusState; - toProto(message: ConsensusState): Uint8Array; - toProtoMsg(message: ConsensusState): ConsensusStateProtoMsg; -}; -export declare const Header: { - typeUrl: string; - aminoType: string; - is(o: any): o is Header; - isSDK(o: any): o is HeaderSDKType; - isAmino(o: any): o is HeaderAmino; - encode(message: Header, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Header; - fromJSON(object: any): Header; - toJSON(message: Header): unknown; - fromPartial(object: DeepPartial
): Header; - fromSDK(object: HeaderSDKType): Header; - toSDK(message: Header): HeaderSDKType; - fromAmino(object: HeaderAmino): Header; - toAmino(message: Header): HeaderAmino; - fromAminoMsg(object: HeaderAminoMsg): Header; - toAminoMsg(message: Header): HeaderAminoMsg; - fromProtoMsg(message: HeaderProtoMsg): Header; - toProto(message: Header): Uint8Array; - toProtoMsg(message: Header): HeaderProtoMsg; -}; -export declare const Misbehaviour: { - typeUrl: string; - aminoType: string; - is(o: any): o is Misbehaviour; - isSDK(o: any): o is MisbehaviourSDKType; - isAmino(o: any): o is MisbehaviourAmino; - encode(message: Misbehaviour, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Misbehaviour; - fromJSON(object: any): Misbehaviour; - toJSON(message: Misbehaviour): unknown; - fromPartial(object: DeepPartial): Misbehaviour; - fromSDK(object: MisbehaviourSDKType): Misbehaviour; - toSDK(message: Misbehaviour): MisbehaviourSDKType; - fromAmino(object: MisbehaviourAmino): Misbehaviour; - toAmino(message: Misbehaviour): MisbehaviourAmino; - fromAminoMsg(object: MisbehaviourAminoMsg): Misbehaviour; - toAminoMsg(message: Misbehaviour): MisbehaviourAminoMsg; - fromProtoMsg(message: MisbehaviourProtoMsg): Misbehaviour; - toProto(message: Misbehaviour): Uint8Array; - toProtoMsg(message: Misbehaviour): MisbehaviourProtoMsg; -}; -export declare const SignatureAndData: { - typeUrl: string; - aminoType: string; - is(o: any): o is SignatureAndData; - isSDK(o: any): o is SignatureAndDataSDKType; - isAmino(o: any): o is SignatureAndDataAmino; - encode(message: SignatureAndData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SignatureAndData; - fromJSON(object: any): SignatureAndData; - toJSON(message: SignatureAndData): unknown; - fromPartial(object: DeepPartial): SignatureAndData; - fromSDK(object: SignatureAndDataSDKType): SignatureAndData; - toSDK(message: SignatureAndData): SignatureAndDataSDKType; - fromAmino(object: SignatureAndDataAmino): SignatureAndData; - toAmino(message: SignatureAndData): SignatureAndDataAmino; - fromAminoMsg(object: SignatureAndDataAminoMsg): SignatureAndData; - toAminoMsg(message: SignatureAndData): SignatureAndDataAminoMsg; - fromProtoMsg(message: SignatureAndDataProtoMsg): SignatureAndData; - toProto(message: SignatureAndData): Uint8Array; - toProtoMsg(message: SignatureAndData): SignatureAndDataProtoMsg; -}; -export declare const TimestampedSignatureData: { - typeUrl: string; - aminoType: string; - is(o: any): o is TimestampedSignatureData; - isSDK(o: any): o is TimestampedSignatureDataSDKType; - isAmino(o: any): o is TimestampedSignatureDataAmino; - encode(message: TimestampedSignatureData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TimestampedSignatureData; - fromJSON(object: any): TimestampedSignatureData; - toJSON(message: TimestampedSignatureData): unknown; - fromPartial(object: DeepPartial): TimestampedSignatureData; - fromSDK(object: TimestampedSignatureDataSDKType): TimestampedSignatureData; - toSDK(message: TimestampedSignatureData): TimestampedSignatureDataSDKType; - fromAmino(object: TimestampedSignatureDataAmino): TimestampedSignatureData; - toAmino(message: TimestampedSignatureData): TimestampedSignatureDataAmino; - fromAminoMsg(object: TimestampedSignatureDataAminoMsg): TimestampedSignatureData; - toAminoMsg(message: TimestampedSignatureData): TimestampedSignatureDataAminoMsg; - fromProtoMsg(message: TimestampedSignatureDataProtoMsg): TimestampedSignatureData; - toProto(message: TimestampedSignatureData): Uint8Array; - toProtoMsg(message: TimestampedSignatureData): TimestampedSignatureDataProtoMsg; -}; -export declare const SignBytes: { - typeUrl: string; - aminoType: string; - is(o: any): o is SignBytes; - isSDK(o: any): o is SignBytesSDKType; - isAmino(o: any): o is SignBytesAmino; - encode(message: SignBytes, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SignBytes; - fromJSON(object: any): SignBytes; - toJSON(message: SignBytes): unknown; - fromPartial(object: DeepPartial): SignBytes; - fromSDK(object: SignBytesSDKType): SignBytes; - toSDK(message: SignBytes): SignBytesSDKType; - fromAmino(object: SignBytesAmino): SignBytes; - toAmino(message: SignBytes): SignBytesAmino; - fromAminoMsg(object: SignBytesAminoMsg): SignBytes; - toAminoMsg(message: SignBytes): SignBytesAminoMsg; - fromProtoMsg(message: SignBytesProtoMsg): SignBytes; - toProto(message: SignBytes): Uint8Array; - toProtoMsg(message: SignBytes): SignBytesProtoMsg; -}; -export declare const HeaderData: { - typeUrl: string; - aminoType: string; - is(o: any): o is HeaderData; - isSDK(o: any): o is HeaderDataSDKType; - isAmino(o: any): o is HeaderDataAmino; - encode(message: HeaderData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): HeaderData; - fromJSON(object: any): HeaderData; - toJSON(message: HeaderData): unknown; - fromPartial(object: DeepPartial): HeaderData; - fromSDK(object: HeaderDataSDKType): HeaderData; - toSDK(message: HeaderData): HeaderDataSDKType; - fromAmino(object: HeaderDataAmino): HeaderData; - toAmino(message: HeaderData): HeaderDataAmino; - fromAminoMsg(object: HeaderDataAminoMsg): HeaderData; - toAminoMsg(message: HeaderData): HeaderDataAminoMsg; - fromProtoMsg(message: HeaderDataProtoMsg): HeaderData; - toProto(message: HeaderData): Uint8Array; - toProtoMsg(message: HeaderData): HeaderDataProtoMsg; -}; -export declare const ClientStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is ClientStateData; - isSDK(o: any): o is ClientStateDataSDKType; - isAmino(o: any): o is ClientStateDataAmino; - encode(message: ClientStateData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ClientStateData; - fromJSON(object: any): ClientStateData; - toJSON(message: ClientStateData): unknown; - fromPartial(object: DeepPartial): ClientStateData; - fromSDK(object: ClientStateDataSDKType): ClientStateData; - toSDK(message: ClientStateData): ClientStateDataSDKType; - fromAmino(object: ClientStateDataAmino): ClientStateData; - toAmino(message: ClientStateData): ClientStateDataAmino; - fromAminoMsg(object: ClientStateDataAminoMsg): ClientStateData; - toAminoMsg(message: ClientStateData): ClientStateDataAminoMsg; - fromProtoMsg(message: ClientStateDataProtoMsg): ClientStateData; - toProto(message: ClientStateData): Uint8Array; - toProtoMsg(message: ClientStateData): ClientStateDataProtoMsg; -}; -export declare const ConsensusStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is ConsensusStateData; - isSDK(o: any): o is ConsensusStateDataSDKType; - isAmino(o: any): o is ConsensusStateDataAmino; - encode(message: ConsensusStateData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ConsensusStateData; - fromJSON(object: any): ConsensusStateData; - toJSON(message: ConsensusStateData): unknown; - fromPartial(object: DeepPartial): ConsensusStateData; - fromSDK(object: ConsensusStateDataSDKType): ConsensusStateData; - toSDK(message: ConsensusStateData): ConsensusStateDataSDKType; - fromAmino(object: ConsensusStateDataAmino): ConsensusStateData; - toAmino(message: ConsensusStateData): ConsensusStateDataAmino; - fromAminoMsg(object: ConsensusStateDataAminoMsg): ConsensusStateData; - toAminoMsg(message: ConsensusStateData): ConsensusStateDataAminoMsg; - fromProtoMsg(message: ConsensusStateDataProtoMsg): ConsensusStateData; - toProto(message: ConsensusStateData): Uint8Array; - toProtoMsg(message: ConsensusStateData): ConsensusStateDataProtoMsg; -}; -export declare const ConnectionStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is ConnectionStateData; - isSDK(o: any): o is ConnectionStateDataSDKType; - isAmino(o: any): o is ConnectionStateDataAmino; - encode(message: ConnectionStateData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ConnectionStateData; - fromJSON(object: any): ConnectionStateData; - toJSON(message: ConnectionStateData): unknown; - fromPartial(object: DeepPartial): ConnectionStateData; - fromSDK(object: ConnectionStateDataSDKType): ConnectionStateData; - toSDK(message: ConnectionStateData): ConnectionStateDataSDKType; - fromAmino(object: ConnectionStateDataAmino): ConnectionStateData; - toAmino(message: ConnectionStateData): ConnectionStateDataAmino; - fromAminoMsg(object: ConnectionStateDataAminoMsg): ConnectionStateData; - toAminoMsg(message: ConnectionStateData): ConnectionStateDataAminoMsg; - fromProtoMsg(message: ConnectionStateDataProtoMsg): ConnectionStateData; - toProto(message: ConnectionStateData): Uint8Array; - toProtoMsg(message: ConnectionStateData): ConnectionStateDataProtoMsg; -}; -export declare const ChannelStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is ChannelStateData; - isSDK(o: any): o is ChannelStateDataSDKType; - isAmino(o: any): o is ChannelStateDataAmino; - encode(message: ChannelStateData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ChannelStateData; - fromJSON(object: any): ChannelStateData; - toJSON(message: ChannelStateData): unknown; - fromPartial(object: DeepPartial): ChannelStateData; - fromSDK(object: ChannelStateDataSDKType): ChannelStateData; - toSDK(message: ChannelStateData): ChannelStateDataSDKType; - fromAmino(object: ChannelStateDataAmino): ChannelStateData; - toAmino(message: ChannelStateData): ChannelStateDataAmino; - fromAminoMsg(object: ChannelStateDataAminoMsg): ChannelStateData; - toAminoMsg(message: ChannelStateData): ChannelStateDataAminoMsg; - fromProtoMsg(message: ChannelStateDataProtoMsg): ChannelStateData; - toProto(message: ChannelStateData): Uint8Array; - toProtoMsg(message: ChannelStateData): ChannelStateDataProtoMsg; -}; -export declare const PacketCommitmentData: { - typeUrl: string; - aminoType: string; - is(o: any): o is PacketCommitmentData; - isSDK(o: any): o is PacketCommitmentDataSDKType; - isAmino(o: any): o is PacketCommitmentDataAmino; - encode(message: PacketCommitmentData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PacketCommitmentData; - fromJSON(object: any): PacketCommitmentData; - toJSON(message: PacketCommitmentData): unknown; - fromPartial(object: DeepPartial): PacketCommitmentData; - fromSDK(object: PacketCommitmentDataSDKType): PacketCommitmentData; - toSDK(message: PacketCommitmentData): PacketCommitmentDataSDKType; - fromAmino(object: PacketCommitmentDataAmino): PacketCommitmentData; - toAmino(message: PacketCommitmentData): PacketCommitmentDataAmino; - fromAminoMsg(object: PacketCommitmentDataAminoMsg): PacketCommitmentData; - toAminoMsg(message: PacketCommitmentData): PacketCommitmentDataAminoMsg; - fromProtoMsg(message: PacketCommitmentDataProtoMsg): PacketCommitmentData; - toProto(message: PacketCommitmentData): Uint8Array; - toProtoMsg(message: PacketCommitmentData): PacketCommitmentDataProtoMsg; -}; -export declare const PacketAcknowledgementData: { - typeUrl: string; - aminoType: string; - is(o: any): o is PacketAcknowledgementData; - isSDK(o: any): o is PacketAcknowledgementDataSDKType; - isAmino(o: any): o is PacketAcknowledgementDataAmino; - encode(message: PacketAcknowledgementData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PacketAcknowledgementData; - fromJSON(object: any): PacketAcknowledgementData; - toJSON(message: PacketAcknowledgementData): unknown; - fromPartial(object: DeepPartial): PacketAcknowledgementData; - fromSDK(object: PacketAcknowledgementDataSDKType): PacketAcknowledgementData; - toSDK(message: PacketAcknowledgementData): PacketAcknowledgementDataSDKType; - fromAmino(object: PacketAcknowledgementDataAmino): PacketAcknowledgementData; - toAmino(message: PacketAcknowledgementData): PacketAcknowledgementDataAmino; - fromAminoMsg(object: PacketAcknowledgementDataAminoMsg): PacketAcknowledgementData; - toAminoMsg(message: PacketAcknowledgementData): PacketAcknowledgementDataAminoMsg; - fromProtoMsg(message: PacketAcknowledgementDataProtoMsg): PacketAcknowledgementData; - toProto(message: PacketAcknowledgementData): Uint8Array; - toProtoMsg(message: PacketAcknowledgementData): PacketAcknowledgementDataProtoMsg; -}; -export declare const PacketReceiptAbsenceData: { - typeUrl: string; - aminoType: string; - is(o: any): o is PacketReceiptAbsenceData; - isSDK(o: any): o is PacketReceiptAbsenceDataSDKType; - isAmino(o: any): o is PacketReceiptAbsenceDataAmino; - encode(message: PacketReceiptAbsenceData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PacketReceiptAbsenceData; - fromJSON(object: any): PacketReceiptAbsenceData; - toJSON(message: PacketReceiptAbsenceData): unknown; - fromPartial(object: DeepPartial): PacketReceiptAbsenceData; - fromSDK(object: PacketReceiptAbsenceDataSDKType): PacketReceiptAbsenceData; - toSDK(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataSDKType; - fromAmino(object: PacketReceiptAbsenceDataAmino): PacketReceiptAbsenceData; - toAmino(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataAmino; - fromAminoMsg(object: PacketReceiptAbsenceDataAminoMsg): PacketReceiptAbsenceData; - toAminoMsg(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataAminoMsg; - fromProtoMsg(message: PacketReceiptAbsenceDataProtoMsg): PacketReceiptAbsenceData; - toProto(message: PacketReceiptAbsenceData): Uint8Array; - toProtoMsg(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataProtoMsg; -}; -export declare const NextSequenceRecvData: { - typeUrl: string; - aminoType: string; - is(o: any): o is NextSequenceRecvData; - isSDK(o: any): o is NextSequenceRecvDataSDKType; - isAmino(o: any): o is NextSequenceRecvDataAmino; - encode(message: NextSequenceRecvData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): NextSequenceRecvData; - fromJSON(object: any): NextSequenceRecvData; - toJSON(message: NextSequenceRecvData): unknown; - fromPartial(object: DeepPartial): NextSequenceRecvData; - fromSDK(object: NextSequenceRecvDataSDKType): NextSequenceRecvData; - toSDK(message: NextSequenceRecvData): NextSequenceRecvDataSDKType; - fromAmino(object: NextSequenceRecvDataAmino): NextSequenceRecvData; - toAmino(message: NextSequenceRecvData): NextSequenceRecvDataAmino; - fromAminoMsg(object: NextSequenceRecvDataAminoMsg): NextSequenceRecvData; - toAminoMsg(message: NextSequenceRecvData): NextSequenceRecvDataAminoMsg; - fromProtoMsg(message: NextSequenceRecvDataProtoMsg): NextSequenceRecvData; - toProto(message: NextSequenceRecvData): Uint8Array; - toProtoMsg(message: NextSequenceRecvData): NextSequenceRecvDataProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts b/examples/authz/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts deleted file mode 100644 index fadf248f..00000000 --- a/examples/authz/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +++ /dev/null @@ -1,921 +0,0 @@ -import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { ConnectionEnd, ConnectionEndAmino, ConnectionEndSDKType } from "../../../core/connection/v1/connection"; -import { Channel, ChannelAmino, ChannelSDKType } from "../../../core/channel/v1/channel"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * DataType defines the type of solo machine proof being created. This is done - * to preserve uniqueness of different data sign byte encodings. - */ -export declare enum DataType { - /** DATA_TYPE_UNINITIALIZED_UNSPECIFIED - Default State */ - DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0, - /** DATA_TYPE_CLIENT_STATE - Data type for client state verification */ - DATA_TYPE_CLIENT_STATE = 1, - /** DATA_TYPE_CONSENSUS_STATE - Data type for consensus state verification */ - DATA_TYPE_CONSENSUS_STATE = 2, - /** DATA_TYPE_CONNECTION_STATE - Data type for connection state verification */ - DATA_TYPE_CONNECTION_STATE = 3, - /** DATA_TYPE_CHANNEL_STATE - Data type for channel state verification */ - DATA_TYPE_CHANNEL_STATE = 4, - /** DATA_TYPE_PACKET_COMMITMENT - Data type for packet commitment verification */ - DATA_TYPE_PACKET_COMMITMENT = 5, - /** DATA_TYPE_PACKET_ACKNOWLEDGEMENT - Data type for packet acknowledgement verification */ - DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6, - /** DATA_TYPE_PACKET_RECEIPT_ABSENCE - Data type for packet receipt absence verification */ - DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7, - /** DATA_TYPE_NEXT_SEQUENCE_RECV - Data type for next sequence recv verification */ - DATA_TYPE_NEXT_SEQUENCE_RECV = 8, - /** DATA_TYPE_HEADER - Data type for header verification */ - DATA_TYPE_HEADER = 9, - UNRECOGNIZED = -1 -} -export declare const DataTypeSDKType: typeof DataType; -export declare const DataTypeAmino: typeof DataType; -export declare function dataTypeFromJSON(object: any): DataType; -export declare function dataTypeToJSON(object: DataType): string; -/** - * ClientState defines a solo machine client that tracks the current consensus - * state and if the client is frozen. - */ -export interface ClientState { - /** latest sequence of the client state */ - sequence: bigint; - /** frozen sequence of the solo machine */ - isFrozen: boolean; - consensusState?: ConsensusState | undefined; - /** - * when set to true, will allow governance to update a solo machine client. - * The client will be unfrozen if it is frozen. - */ - allowUpdateAfterProposal: boolean; -} -export interface ClientStateProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.ClientState"; - value: Uint8Array; -} -/** - * ClientState defines a solo machine client that tracks the current consensus - * state and if the client is frozen. - */ -export interface ClientStateAmino { - /** latest sequence of the client state */ - sequence?: string; - /** frozen sequence of the solo machine */ - is_frozen?: boolean; - consensus_state?: ConsensusStateAmino | undefined; - /** - * when set to true, will allow governance to update a solo machine client. - * The client will be unfrozen if it is frozen. - */ - allow_update_after_proposal?: boolean; -} -export interface ClientStateAminoMsg { - type: "cosmos-sdk/ClientState"; - value: ClientStateAmino; -} -/** - * ClientState defines a solo machine client that tracks the current consensus - * state and if the client is frozen. - */ -export interface ClientStateSDKType { - sequence: bigint; - is_frozen: boolean; - consensus_state?: ConsensusStateSDKType | undefined; - allow_update_after_proposal: boolean; -} -/** - * ConsensusState defines a solo machine consensus state. The sequence of a - * consensus state is contained in the "height" key used in storing the - * consensus state. - */ -export interface ConsensusState { - /** public key of the solo machine */ - publicKey?: Any | undefined; - /** - * diversifier allows the same public key to be re-used across different solo - * machine clients (potentially on different chains) without being considered - * misbehaviour. - */ - diversifier: string; - timestamp: bigint; -} -export interface ConsensusStateProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusState"; - value: Uint8Array; -} -/** - * ConsensusState defines a solo machine consensus state. The sequence of a - * consensus state is contained in the "height" key used in storing the - * consensus state. - */ -export interface ConsensusStateAmino { - /** public key of the solo machine */ - public_key?: AnyAmino | undefined; - /** - * diversifier allows the same public key to be re-used across different solo - * machine clients (potentially on different chains) without being considered - * misbehaviour. - */ - diversifier?: string; - timestamp?: string; -} -export interface ConsensusStateAminoMsg { - type: "cosmos-sdk/ConsensusState"; - value: ConsensusStateAmino; -} -/** - * ConsensusState defines a solo machine consensus state. The sequence of a - * consensus state is contained in the "height" key used in storing the - * consensus state. - */ -export interface ConsensusStateSDKType { - public_key?: AnySDKType | undefined; - diversifier: string; - timestamp: bigint; -} -/** Header defines a solo machine consensus header */ -export interface Header { - /** sequence to update solo machine public key at */ - sequence: bigint; - timestamp: bigint; - signature: Uint8Array; - newPublicKey?: Any | undefined; - newDiversifier: string; -} -export interface HeaderProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.Header"; - value: Uint8Array; -} -/** Header defines a solo machine consensus header */ -export interface HeaderAmino { - /** sequence to update solo machine public key at */ - sequence?: string; - timestamp?: string; - signature?: string; - new_public_key?: AnyAmino | undefined; - new_diversifier?: string; -} -export interface HeaderAminoMsg { - type: "cosmos-sdk/Header"; - value: HeaderAmino; -} -/** Header defines a solo machine consensus header */ -export interface HeaderSDKType { - sequence: bigint; - timestamp: bigint; - signature: Uint8Array; - new_public_key?: AnySDKType | undefined; - new_diversifier: string; -} -/** - * Misbehaviour defines misbehaviour for a solo machine which consists - * of a sequence and two signatures over different messages at that sequence. - */ -export interface Misbehaviour { - clientId: string; - sequence: bigint; - signatureOne?: SignatureAndData | undefined; - signatureTwo?: SignatureAndData | undefined; -} -export interface MisbehaviourProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.Misbehaviour"; - value: Uint8Array; -} -/** - * Misbehaviour defines misbehaviour for a solo machine which consists - * of a sequence and two signatures over different messages at that sequence. - */ -export interface MisbehaviourAmino { - client_id?: string; - sequence?: string; - signature_one?: SignatureAndDataAmino | undefined; - signature_two?: SignatureAndDataAmino | undefined; -} -export interface MisbehaviourAminoMsg { - type: "cosmos-sdk/Misbehaviour"; - value: MisbehaviourAmino; -} -/** - * Misbehaviour defines misbehaviour for a solo machine which consists - * of a sequence and two signatures over different messages at that sequence. - */ -export interface MisbehaviourSDKType { - client_id: string; - sequence: bigint; - signature_one?: SignatureAndDataSDKType | undefined; - signature_two?: SignatureAndDataSDKType | undefined; -} -/** - * SignatureAndData contains a signature and the data signed over to create that - * signature. - */ -export interface SignatureAndData { - signature: Uint8Array; - dataType: DataType; - data: Uint8Array; - timestamp: bigint; -} -export interface SignatureAndDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.SignatureAndData"; - value: Uint8Array; -} -/** - * SignatureAndData contains a signature and the data signed over to create that - * signature. - */ -export interface SignatureAndDataAmino { - signature?: string; - data_type?: DataType; - data?: string; - timestamp?: string; -} -export interface SignatureAndDataAminoMsg { - type: "cosmos-sdk/SignatureAndData"; - value: SignatureAndDataAmino; -} -/** - * SignatureAndData contains a signature and the data signed over to create that - * signature. - */ -export interface SignatureAndDataSDKType { - signature: Uint8Array; - data_type: DataType; - data: Uint8Array; - timestamp: bigint; -} -/** - * TimestampedSignatureData contains the signature data and the timestamp of the - * signature. - */ -export interface TimestampedSignatureData { - signatureData: Uint8Array; - timestamp: bigint; -} -export interface TimestampedSignatureDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.TimestampedSignatureData"; - value: Uint8Array; -} -/** - * TimestampedSignatureData contains the signature data and the timestamp of the - * signature. - */ -export interface TimestampedSignatureDataAmino { - signature_data?: string; - timestamp?: string; -} -export interface TimestampedSignatureDataAminoMsg { - type: "cosmos-sdk/TimestampedSignatureData"; - value: TimestampedSignatureDataAmino; -} -/** - * TimestampedSignatureData contains the signature data and the timestamp of the - * signature. - */ -export interface TimestampedSignatureDataSDKType { - signature_data: Uint8Array; - timestamp: bigint; -} -/** SignBytes defines the signed bytes used for signature verification. */ -export interface SignBytes { - sequence: bigint; - timestamp: bigint; - diversifier: string; - /** type of the data used */ - dataType: DataType; - /** marshaled data */ - data: Uint8Array; -} -export interface SignBytesProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.SignBytes"; - value: Uint8Array; -} -/** SignBytes defines the signed bytes used for signature verification. */ -export interface SignBytesAmino { - sequence?: string; - timestamp?: string; - diversifier?: string; - /** type of the data used */ - data_type?: DataType; - /** marshaled data */ - data?: string; -} -export interface SignBytesAminoMsg { - type: "cosmos-sdk/SignBytes"; - value: SignBytesAmino; -} -/** SignBytes defines the signed bytes used for signature verification. */ -export interface SignBytesSDKType { - sequence: bigint; - timestamp: bigint; - diversifier: string; - data_type: DataType; - data: Uint8Array; -} -/** HeaderData returns the SignBytes data for update verification. */ -export interface HeaderData { - /** header public key */ - newPubKey?: Any | undefined; - /** header diversifier */ - newDiversifier: string; -} -export interface HeaderDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.HeaderData"; - value: Uint8Array; -} -/** HeaderData returns the SignBytes data for update verification. */ -export interface HeaderDataAmino { - /** header public key */ - new_pub_key?: AnyAmino | undefined; - /** header diversifier */ - new_diversifier?: string; -} -export interface HeaderDataAminoMsg { - type: "cosmos-sdk/HeaderData"; - value: HeaderDataAmino; -} -/** HeaderData returns the SignBytes data for update verification. */ -export interface HeaderDataSDKType { - new_pub_key?: AnySDKType | undefined; - new_diversifier: string; -} -/** ClientStateData returns the SignBytes data for client state verification. */ -export interface ClientStateData { - path: Uint8Array; - clientState?: Any | undefined; -} -export interface ClientStateDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.ClientStateData"; - value: Uint8Array; -} -/** ClientStateData returns the SignBytes data for client state verification. */ -export interface ClientStateDataAmino { - path?: string; - client_state?: AnyAmino | undefined; -} -export interface ClientStateDataAminoMsg { - type: "cosmos-sdk/ClientStateData"; - value: ClientStateDataAmino; -} -/** ClientStateData returns the SignBytes data for client state verification. */ -export interface ClientStateDataSDKType { - path: Uint8Array; - client_state?: AnySDKType | undefined; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ -export interface ConsensusStateData { - path: Uint8Array; - consensusState?: Any | undefined; -} -export interface ConsensusStateDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.ConsensusStateData"; - value: Uint8Array; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ -export interface ConsensusStateDataAmino { - path?: string; - consensus_state?: AnyAmino | undefined; -} -export interface ConsensusStateDataAminoMsg { - type: "cosmos-sdk/ConsensusStateData"; - value: ConsensusStateDataAmino; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ -export interface ConsensusStateDataSDKType { - path: Uint8Array; - consensus_state?: AnySDKType | undefined; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ -export interface ConnectionStateData { - path: Uint8Array; - connection?: ConnectionEnd | undefined; -} -export interface ConnectionStateDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.ConnectionStateData"; - value: Uint8Array; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ -export interface ConnectionStateDataAmino { - path?: string; - connection?: ConnectionEndAmino | undefined; -} -export interface ConnectionStateDataAminoMsg { - type: "cosmos-sdk/ConnectionStateData"; - value: ConnectionStateDataAmino; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ -export interface ConnectionStateDataSDKType { - path: Uint8Array; - connection?: ConnectionEndSDKType | undefined; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ -export interface ChannelStateData { - path: Uint8Array; - channel?: Channel | undefined; -} -export interface ChannelStateDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.ChannelStateData"; - value: Uint8Array; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ -export interface ChannelStateDataAmino { - path?: string; - channel?: ChannelAmino | undefined; -} -export interface ChannelStateDataAminoMsg { - type: "cosmos-sdk/ChannelStateData"; - value: ChannelStateDataAmino; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ -export interface ChannelStateDataSDKType { - path: Uint8Array; - channel?: ChannelSDKType | undefined; -} -/** - * PacketCommitmentData returns the SignBytes data for packet commitment - * verification. - */ -export interface PacketCommitmentData { - path: Uint8Array; - commitment: Uint8Array; -} -export interface PacketCommitmentDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.PacketCommitmentData"; - value: Uint8Array; -} -/** - * PacketCommitmentData returns the SignBytes data for packet commitment - * verification. - */ -export interface PacketCommitmentDataAmino { - path?: string; - commitment?: string; -} -export interface PacketCommitmentDataAminoMsg { - type: "cosmos-sdk/PacketCommitmentData"; - value: PacketCommitmentDataAmino; -} -/** - * PacketCommitmentData returns the SignBytes data for packet commitment - * verification. - */ -export interface PacketCommitmentDataSDKType { - path: Uint8Array; - commitment: Uint8Array; -} -/** - * PacketAcknowledgementData returns the SignBytes data for acknowledgement - * verification. - */ -export interface PacketAcknowledgementData { - path: Uint8Array; - acknowledgement: Uint8Array; -} -export interface PacketAcknowledgementDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.PacketAcknowledgementData"; - value: Uint8Array; -} -/** - * PacketAcknowledgementData returns the SignBytes data for acknowledgement - * verification. - */ -export interface PacketAcknowledgementDataAmino { - path?: string; - acknowledgement?: string; -} -export interface PacketAcknowledgementDataAminoMsg { - type: "cosmos-sdk/PacketAcknowledgementData"; - value: PacketAcknowledgementDataAmino; -} -/** - * PacketAcknowledgementData returns the SignBytes data for acknowledgement - * verification. - */ -export interface PacketAcknowledgementDataSDKType { - path: Uint8Array; - acknowledgement: Uint8Array; -} -/** - * PacketReceiptAbsenceData returns the SignBytes data for - * packet receipt absence verification. - */ -export interface PacketReceiptAbsenceData { - path: Uint8Array; -} -export interface PacketReceiptAbsenceDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.PacketReceiptAbsenceData"; - value: Uint8Array; -} -/** - * PacketReceiptAbsenceData returns the SignBytes data for - * packet receipt absence verification. - */ -export interface PacketReceiptAbsenceDataAmino { - path?: string; -} -export interface PacketReceiptAbsenceDataAminoMsg { - type: "cosmos-sdk/PacketReceiptAbsenceData"; - value: PacketReceiptAbsenceDataAmino; -} -/** - * PacketReceiptAbsenceData returns the SignBytes data for - * packet receipt absence verification. - */ -export interface PacketReceiptAbsenceDataSDKType { - path: Uint8Array; -} -/** - * NextSequenceRecvData returns the SignBytes data for verification of the next - * sequence to be received. - */ -export interface NextSequenceRecvData { - path: Uint8Array; - nextSeqRecv: bigint; -} -export interface NextSequenceRecvDataProtoMsg { - typeUrl: "/ibc.lightclients.solomachine.v2.NextSequenceRecvData"; - value: Uint8Array; -} -/** - * NextSequenceRecvData returns the SignBytes data for verification of the next - * sequence to be received. - */ -export interface NextSequenceRecvDataAmino { - path?: string; - next_seq_recv?: string; -} -export interface NextSequenceRecvDataAminoMsg { - type: "cosmos-sdk/NextSequenceRecvData"; - value: NextSequenceRecvDataAmino; -} -/** - * NextSequenceRecvData returns the SignBytes data for verification of the next - * sequence to be received. - */ -export interface NextSequenceRecvDataSDKType { - path: Uint8Array; - next_seq_recv: bigint; -} -export declare const ClientState: { - typeUrl: string; - aminoType: string; - is(o: any): o is ClientState; - isSDK(o: any): o is ClientStateSDKType; - isAmino(o: any): o is ClientStateAmino; - encode(message: ClientState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ClientState; - fromJSON(object: any): ClientState; - toJSON(message: ClientState): unknown; - fromPartial(object: DeepPartial): ClientState; - fromSDK(object: ClientStateSDKType): ClientState; - toSDK(message: ClientState): ClientStateSDKType; - fromAmino(object: ClientStateAmino): ClientState; - toAmino(message: ClientState): ClientStateAmino; - fromAminoMsg(object: ClientStateAminoMsg): ClientState; - toAminoMsg(message: ClientState): ClientStateAminoMsg; - fromProtoMsg(message: ClientStateProtoMsg): ClientState; - toProto(message: ClientState): Uint8Array; - toProtoMsg(message: ClientState): ClientStateProtoMsg; -}; -export declare const ConsensusState: { - typeUrl: string; - aminoType: string; - is(o: any): o is ConsensusState; - isSDK(o: any): o is ConsensusStateSDKType; - isAmino(o: any): o is ConsensusStateAmino; - encode(message: ConsensusState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ConsensusState; - fromJSON(object: any): ConsensusState; - toJSON(message: ConsensusState): unknown; - fromPartial(object: DeepPartial): ConsensusState; - fromSDK(object: ConsensusStateSDKType): ConsensusState; - toSDK(message: ConsensusState): ConsensusStateSDKType; - fromAmino(object: ConsensusStateAmino): ConsensusState; - toAmino(message: ConsensusState): ConsensusStateAmino; - fromAminoMsg(object: ConsensusStateAminoMsg): ConsensusState; - toAminoMsg(message: ConsensusState): ConsensusStateAminoMsg; - fromProtoMsg(message: ConsensusStateProtoMsg): ConsensusState; - toProto(message: ConsensusState): Uint8Array; - toProtoMsg(message: ConsensusState): ConsensusStateProtoMsg; -}; -export declare const Header: { - typeUrl: string; - aminoType: string; - is(o: any): o is Header; - isSDK(o: any): o is HeaderSDKType; - isAmino(o: any): o is HeaderAmino; - encode(message: Header, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Header; - fromJSON(object: any): Header; - toJSON(message: Header): unknown; - fromPartial(object: DeepPartial
): Header; - fromSDK(object: HeaderSDKType): Header; - toSDK(message: Header): HeaderSDKType; - fromAmino(object: HeaderAmino): Header; - toAmino(message: Header): HeaderAmino; - fromAminoMsg(object: HeaderAminoMsg): Header; - toAminoMsg(message: Header): HeaderAminoMsg; - fromProtoMsg(message: HeaderProtoMsg): Header; - toProto(message: Header): Uint8Array; - toProtoMsg(message: Header): HeaderProtoMsg; -}; -export declare const Misbehaviour: { - typeUrl: string; - aminoType: string; - is(o: any): o is Misbehaviour; - isSDK(o: any): o is MisbehaviourSDKType; - isAmino(o: any): o is MisbehaviourAmino; - encode(message: Misbehaviour, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Misbehaviour; - fromJSON(object: any): Misbehaviour; - toJSON(message: Misbehaviour): unknown; - fromPartial(object: DeepPartial): Misbehaviour; - fromSDK(object: MisbehaviourSDKType): Misbehaviour; - toSDK(message: Misbehaviour): MisbehaviourSDKType; - fromAmino(object: MisbehaviourAmino): Misbehaviour; - toAmino(message: Misbehaviour): MisbehaviourAmino; - fromAminoMsg(object: MisbehaviourAminoMsg): Misbehaviour; - toAminoMsg(message: Misbehaviour): MisbehaviourAminoMsg; - fromProtoMsg(message: MisbehaviourProtoMsg): Misbehaviour; - toProto(message: Misbehaviour): Uint8Array; - toProtoMsg(message: Misbehaviour): MisbehaviourProtoMsg; -}; -export declare const SignatureAndData: { - typeUrl: string; - aminoType: string; - is(o: any): o is SignatureAndData; - isSDK(o: any): o is SignatureAndDataSDKType; - isAmino(o: any): o is SignatureAndDataAmino; - encode(message: SignatureAndData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SignatureAndData; - fromJSON(object: any): SignatureAndData; - toJSON(message: SignatureAndData): unknown; - fromPartial(object: DeepPartial): SignatureAndData; - fromSDK(object: SignatureAndDataSDKType): SignatureAndData; - toSDK(message: SignatureAndData): SignatureAndDataSDKType; - fromAmino(object: SignatureAndDataAmino): SignatureAndData; - toAmino(message: SignatureAndData): SignatureAndDataAmino; - fromAminoMsg(object: SignatureAndDataAminoMsg): SignatureAndData; - toAminoMsg(message: SignatureAndData): SignatureAndDataAminoMsg; - fromProtoMsg(message: SignatureAndDataProtoMsg): SignatureAndData; - toProto(message: SignatureAndData): Uint8Array; - toProtoMsg(message: SignatureAndData): SignatureAndDataProtoMsg; -}; -export declare const TimestampedSignatureData: { - typeUrl: string; - aminoType: string; - is(o: any): o is TimestampedSignatureData; - isSDK(o: any): o is TimestampedSignatureDataSDKType; - isAmino(o: any): o is TimestampedSignatureDataAmino; - encode(message: TimestampedSignatureData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TimestampedSignatureData; - fromJSON(object: any): TimestampedSignatureData; - toJSON(message: TimestampedSignatureData): unknown; - fromPartial(object: DeepPartial): TimestampedSignatureData; - fromSDK(object: TimestampedSignatureDataSDKType): TimestampedSignatureData; - toSDK(message: TimestampedSignatureData): TimestampedSignatureDataSDKType; - fromAmino(object: TimestampedSignatureDataAmino): TimestampedSignatureData; - toAmino(message: TimestampedSignatureData): TimestampedSignatureDataAmino; - fromAminoMsg(object: TimestampedSignatureDataAminoMsg): TimestampedSignatureData; - toAminoMsg(message: TimestampedSignatureData): TimestampedSignatureDataAminoMsg; - fromProtoMsg(message: TimestampedSignatureDataProtoMsg): TimestampedSignatureData; - toProto(message: TimestampedSignatureData): Uint8Array; - toProtoMsg(message: TimestampedSignatureData): TimestampedSignatureDataProtoMsg; -}; -export declare const SignBytes: { - typeUrl: string; - aminoType: string; - is(o: any): o is SignBytes; - isSDK(o: any): o is SignBytesSDKType; - isAmino(o: any): o is SignBytesAmino; - encode(message: SignBytes, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SignBytes; - fromJSON(object: any): SignBytes; - toJSON(message: SignBytes): unknown; - fromPartial(object: DeepPartial): SignBytes; - fromSDK(object: SignBytesSDKType): SignBytes; - toSDK(message: SignBytes): SignBytesSDKType; - fromAmino(object: SignBytesAmino): SignBytes; - toAmino(message: SignBytes): SignBytesAmino; - fromAminoMsg(object: SignBytesAminoMsg): SignBytes; - toAminoMsg(message: SignBytes): SignBytesAminoMsg; - fromProtoMsg(message: SignBytesProtoMsg): SignBytes; - toProto(message: SignBytes): Uint8Array; - toProtoMsg(message: SignBytes): SignBytesProtoMsg; -}; -export declare const HeaderData: { - typeUrl: string; - aminoType: string; - is(o: any): o is HeaderData; - isSDK(o: any): o is HeaderDataSDKType; - isAmino(o: any): o is HeaderDataAmino; - encode(message: HeaderData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): HeaderData; - fromJSON(object: any): HeaderData; - toJSON(message: HeaderData): unknown; - fromPartial(object: DeepPartial): HeaderData; - fromSDK(object: HeaderDataSDKType): HeaderData; - toSDK(message: HeaderData): HeaderDataSDKType; - fromAmino(object: HeaderDataAmino): HeaderData; - toAmino(message: HeaderData): HeaderDataAmino; - fromAminoMsg(object: HeaderDataAminoMsg): HeaderData; - toAminoMsg(message: HeaderData): HeaderDataAminoMsg; - fromProtoMsg(message: HeaderDataProtoMsg): HeaderData; - toProto(message: HeaderData): Uint8Array; - toProtoMsg(message: HeaderData): HeaderDataProtoMsg; -}; -export declare const ClientStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is ClientStateData; - isSDK(o: any): o is ClientStateDataSDKType; - isAmino(o: any): o is ClientStateDataAmino; - encode(message: ClientStateData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ClientStateData; - fromJSON(object: any): ClientStateData; - toJSON(message: ClientStateData): unknown; - fromPartial(object: DeepPartial): ClientStateData; - fromSDK(object: ClientStateDataSDKType): ClientStateData; - toSDK(message: ClientStateData): ClientStateDataSDKType; - fromAmino(object: ClientStateDataAmino): ClientStateData; - toAmino(message: ClientStateData): ClientStateDataAmino; - fromAminoMsg(object: ClientStateDataAminoMsg): ClientStateData; - toAminoMsg(message: ClientStateData): ClientStateDataAminoMsg; - fromProtoMsg(message: ClientStateDataProtoMsg): ClientStateData; - toProto(message: ClientStateData): Uint8Array; - toProtoMsg(message: ClientStateData): ClientStateDataProtoMsg; -}; -export declare const ConsensusStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is ConsensusStateData; - isSDK(o: any): o is ConsensusStateDataSDKType; - isAmino(o: any): o is ConsensusStateDataAmino; - encode(message: ConsensusStateData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ConsensusStateData; - fromJSON(object: any): ConsensusStateData; - toJSON(message: ConsensusStateData): unknown; - fromPartial(object: DeepPartial): ConsensusStateData; - fromSDK(object: ConsensusStateDataSDKType): ConsensusStateData; - toSDK(message: ConsensusStateData): ConsensusStateDataSDKType; - fromAmino(object: ConsensusStateDataAmino): ConsensusStateData; - toAmino(message: ConsensusStateData): ConsensusStateDataAmino; - fromAminoMsg(object: ConsensusStateDataAminoMsg): ConsensusStateData; - toAminoMsg(message: ConsensusStateData): ConsensusStateDataAminoMsg; - fromProtoMsg(message: ConsensusStateDataProtoMsg): ConsensusStateData; - toProto(message: ConsensusStateData): Uint8Array; - toProtoMsg(message: ConsensusStateData): ConsensusStateDataProtoMsg; -}; -export declare const ConnectionStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is ConnectionStateData; - isSDK(o: any): o is ConnectionStateDataSDKType; - isAmino(o: any): o is ConnectionStateDataAmino; - encode(message: ConnectionStateData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ConnectionStateData; - fromJSON(object: any): ConnectionStateData; - toJSON(message: ConnectionStateData): unknown; - fromPartial(object: DeepPartial): ConnectionStateData; - fromSDK(object: ConnectionStateDataSDKType): ConnectionStateData; - toSDK(message: ConnectionStateData): ConnectionStateDataSDKType; - fromAmino(object: ConnectionStateDataAmino): ConnectionStateData; - toAmino(message: ConnectionStateData): ConnectionStateDataAmino; - fromAminoMsg(object: ConnectionStateDataAminoMsg): ConnectionStateData; - toAminoMsg(message: ConnectionStateData): ConnectionStateDataAminoMsg; - fromProtoMsg(message: ConnectionStateDataProtoMsg): ConnectionStateData; - toProto(message: ConnectionStateData): Uint8Array; - toProtoMsg(message: ConnectionStateData): ConnectionStateDataProtoMsg; -}; -export declare const ChannelStateData: { - typeUrl: string; - aminoType: string; - is(o: any): o is ChannelStateData; - isSDK(o: any): o is ChannelStateDataSDKType; - isAmino(o: any): o is ChannelStateDataAmino; - encode(message: ChannelStateData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ChannelStateData; - fromJSON(object: any): ChannelStateData; - toJSON(message: ChannelStateData): unknown; - fromPartial(object: DeepPartial): ChannelStateData; - fromSDK(object: ChannelStateDataSDKType): ChannelStateData; - toSDK(message: ChannelStateData): ChannelStateDataSDKType; - fromAmino(object: ChannelStateDataAmino): ChannelStateData; - toAmino(message: ChannelStateData): ChannelStateDataAmino; - fromAminoMsg(object: ChannelStateDataAminoMsg): ChannelStateData; - toAminoMsg(message: ChannelStateData): ChannelStateDataAminoMsg; - fromProtoMsg(message: ChannelStateDataProtoMsg): ChannelStateData; - toProto(message: ChannelStateData): Uint8Array; - toProtoMsg(message: ChannelStateData): ChannelStateDataProtoMsg; -}; -export declare const PacketCommitmentData: { - typeUrl: string; - aminoType: string; - is(o: any): o is PacketCommitmentData; - isSDK(o: any): o is PacketCommitmentDataSDKType; - isAmino(o: any): o is PacketCommitmentDataAmino; - encode(message: PacketCommitmentData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PacketCommitmentData; - fromJSON(object: any): PacketCommitmentData; - toJSON(message: PacketCommitmentData): unknown; - fromPartial(object: DeepPartial): PacketCommitmentData; - fromSDK(object: PacketCommitmentDataSDKType): PacketCommitmentData; - toSDK(message: PacketCommitmentData): PacketCommitmentDataSDKType; - fromAmino(object: PacketCommitmentDataAmino): PacketCommitmentData; - toAmino(message: PacketCommitmentData): PacketCommitmentDataAmino; - fromAminoMsg(object: PacketCommitmentDataAminoMsg): PacketCommitmentData; - toAminoMsg(message: PacketCommitmentData): PacketCommitmentDataAminoMsg; - fromProtoMsg(message: PacketCommitmentDataProtoMsg): PacketCommitmentData; - toProto(message: PacketCommitmentData): Uint8Array; - toProtoMsg(message: PacketCommitmentData): PacketCommitmentDataProtoMsg; -}; -export declare const PacketAcknowledgementData: { - typeUrl: string; - aminoType: string; - is(o: any): o is PacketAcknowledgementData; - isSDK(o: any): o is PacketAcknowledgementDataSDKType; - isAmino(o: any): o is PacketAcknowledgementDataAmino; - encode(message: PacketAcknowledgementData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PacketAcknowledgementData; - fromJSON(object: any): PacketAcknowledgementData; - toJSON(message: PacketAcknowledgementData): unknown; - fromPartial(object: DeepPartial): PacketAcknowledgementData; - fromSDK(object: PacketAcknowledgementDataSDKType): PacketAcknowledgementData; - toSDK(message: PacketAcknowledgementData): PacketAcknowledgementDataSDKType; - fromAmino(object: PacketAcknowledgementDataAmino): PacketAcknowledgementData; - toAmino(message: PacketAcknowledgementData): PacketAcknowledgementDataAmino; - fromAminoMsg(object: PacketAcknowledgementDataAminoMsg): PacketAcknowledgementData; - toAminoMsg(message: PacketAcknowledgementData): PacketAcknowledgementDataAminoMsg; - fromProtoMsg(message: PacketAcknowledgementDataProtoMsg): PacketAcknowledgementData; - toProto(message: PacketAcknowledgementData): Uint8Array; - toProtoMsg(message: PacketAcknowledgementData): PacketAcknowledgementDataProtoMsg; -}; -export declare const PacketReceiptAbsenceData: { - typeUrl: string; - aminoType: string; - is(o: any): o is PacketReceiptAbsenceData; - isSDK(o: any): o is PacketReceiptAbsenceDataSDKType; - isAmino(o: any): o is PacketReceiptAbsenceDataAmino; - encode(message: PacketReceiptAbsenceData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PacketReceiptAbsenceData; - fromJSON(object: any): PacketReceiptAbsenceData; - toJSON(message: PacketReceiptAbsenceData): unknown; - fromPartial(object: DeepPartial): PacketReceiptAbsenceData; - fromSDK(object: PacketReceiptAbsenceDataSDKType): PacketReceiptAbsenceData; - toSDK(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataSDKType; - fromAmino(object: PacketReceiptAbsenceDataAmino): PacketReceiptAbsenceData; - toAmino(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataAmino; - fromAminoMsg(object: PacketReceiptAbsenceDataAminoMsg): PacketReceiptAbsenceData; - toAminoMsg(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataAminoMsg; - fromProtoMsg(message: PacketReceiptAbsenceDataProtoMsg): PacketReceiptAbsenceData; - toProto(message: PacketReceiptAbsenceData): Uint8Array; - toProtoMsg(message: PacketReceiptAbsenceData): PacketReceiptAbsenceDataProtoMsg; -}; -export declare const NextSequenceRecvData: { - typeUrl: string; - aminoType: string; - is(o: any): o is NextSequenceRecvData; - isSDK(o: any): o is NextSequenceRecvDataSDKType; - isAmino(o: any): o is NextSequenceRecvDataAmino; - encode(message: NextSequenceRecvData, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): NextSequenceRecvData; - fromJSON(object: any): NextSequenceRecvData; - toJSON(message: NextSequenceRecvData): unknown; - fromPartial(object: DeepPartial): NextSequenceRecvData; - fromSDK(object: NextSequenceRecvDataSDKType): NextSequenceRecvData; - toSDK(message: NextSequenceRecvData): NextSequenceRecvDataSDKType; - fromAmino(object: NextSequenceRecvDataAmino): NextSequenceRecvData; - toAmino(message: NextSequenceRecvData): NextSequenceRecvDataAmino; - fromAminoMsg(object: NextSequenceRecvDataAminoMsg): NextSequenceRecvData; - toAminoMsg(message: NextSequenceRecvData): NextSequenceRecvDataAminoMsg; - fromProtoMsg(message: NextSequenceRecvDataProtoMsg): NextSequenceRecvData; - toProto(message: NextSequenceRecvData): Uint8Array; - toProtoMsg(message: NextSequenceRecvData): NextSequenceRecvDataProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts b/examples/authz/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts deleted file mode 100644 index a56f3e99..00000000 --- a/examples/authz/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +++ /dev/null @@ -1,395 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../../../google/protobuf/duration"; -import { Height, HeightAmino, HeightSDKType } from "../../../core/client/v1/client"; -import { ProofSpec, ProofSpecAmino, ProofSpecSDKType } from "../../../../confio/proofs"; -import { MerkleRoot, MerkleRootAmino, MerkleRootSDKType } from "../../../core/commitment/v1/commitment"; -import { SignedHeader, SignedHeaderAmino, SignedHeaderSDKType } from "../../../../tendermint/types/types"; -import { ValidatorSet, ValidatorSetAmino, ValidatorSetSDKType } from "../../../../tendermint/types/validator"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * ClientState from Tendermint tracks the current validator set, latest height, - * and a possible frozen height. - */ -export interface ClientState { - chainId: string; - trustLevel: Fraction | undefined; - /** - * duration of the period since the LastestTimestamp during which the - * submitted headers are valid for upgrade - */ - trustingPeriod: Duration | undefined; - /** duration of the staking unbonding period */ - unbondingPeriod: Duration | undefined; - /** defines how much new (untrusted) header's Time can drift into the future. */ - maxClockDrift: Duration | undefined; - /** Block height when the client was frozen due to a misbehaviour */ - frozenHeight: Height | undefined; - /** Latest height the client was updated to */ - latestHeight: Height | undefined; - /** Proof specifications used in verifying counterparty state */ - proofSpecs: ProofSpec[]; - /** - * Path at which next upgraded client will be committed. - * Each element corresponds to the key for a single CommitmentProof in the - * chained proof. NOTE: ClientState must stored under - * `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored - * under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using - * the default upgrade module, upgrade_path should be []string{"upgrade", - * "upgradedIBCState"}` - */ - upgradePath: string[]; - /** - * This flag, when set to true, will allow governance to recover a client - * which has expired - */ - allowUpdateAfterExpiry: boolean; - /** - * This flag, when set to true, will allow governance to unfreeze a client - * whose chain has experienced a misbehaviour event - */ - allowUpdateAfterMisbehaviour: boolean; -} -export interface ClientStateProtoMsg { - typeUrl: "/ibc.lightclients.tendermint.v1.ClientState"; - value: Uint8Array; -} -/** - * ClientState from Tendermint tracks the current validator set, latest height, - * and a possible frozen height. - */ -export interface ClientStateAmino { - chain_id?: string; - trust_level?: FractionAmino | undefined; - /** - * duration of the period since the LastestTimestamp during which the - * submitted headers are valid for upgrade - */ - trusting_period?: DurationAmino | undefined; - /** duration of the staking unbonding period */ - unbonding_period?: DurationAmino | undefined; - /** defines how much new (untrusted) header's Time can drift into the future. */ - max_clock_drift?: DurationAmino | undefined; - /** Block height when the client was frozen due to a misbehaviour */ - frozen_height?: HeightAmino | undefined; - /** Latest height the client was updated to */ - latest_height?: HeightAmino | undefined; - /** Proof specifications used in verifying counterparty state */ - proof_specs?: ProofSpecAmino[]; - /** - * Path at which next upgraded client will be committed. - * Each element corresponds to the key for a single CommitmentProof in the - * chained proof. NOTE: ClientState must stored under - * `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored - * under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using - * the default upgrade module, upgrade_path should be []string{"upgrade", - * "upgradedIBCState"}` - */ - upgrade_path?: string[]; - /** - * This flag, when set to true, will allow governance to recover a client - * which has expired - */ - allow_update_after_expiry?: boolean; - /** - * This flag, when set to true, will allow governance to unfreeze a client - * whose chain has experienced a misbehaviour event - */ - allow_update_after_misbehaviour?: boolean; -} -export interface ClientStateAminoMsg { - type: "cosmos-sdk/ClientState"; - value: ClientStateAmino; -} -/** - * ClientState from Tendermint tracks the current validator set, latest height, - * and a possible frozen height. - */ -export interface ClientStateSDKType { - chain_id: string; - trust_level: FractionSDKType | undefined; - trusting_period: DurationSDKType | undefined; - unbonding_period: DurationSDKType | undefined; - max_clock_drift: DurationSDKType | undefined; - frozen_height: HeightSDKType | undefined; - latest_height: HeightSDKType | undefined; - proof_specs: ProofSpecSDKType[]; - upgrade_path: string[]; - allow_update_after_expiry: boolean; - allow_update_after_misbehaviour: boolean; -} -/** ConsensusState defines the consensus state from Tendermint. */ -export interface ConsensusState { - /** - * timestamp that corresponds to the block height in which the ConsensusState - * was stored. - */ - timestamp: Date | undefined; - /** commitment root (i.e app hash) */ - root: MerkleRoot | undefined; - nextValidatorsHash: Uint8Array; -} -export interface ConsensusStateProtoMsg { - typeUrl: "/ibc.lightclients.tendermint.v1.ConsensusState"; - value: Uint8Array; -} -/** ConsensusState defines the consensus state from Tendermint. */ -export interface ConsensusStateAmino { - /** - * timestamp that corresponds to the block height in which the ConsensusState - * was stored. - */ - timestamp?: string | undefined; - /** commitment root (i.e app hash) */ - root?: MerkleRootAmino | undefined; - next_validators_hash?: string; -} -export interface ConsensusStateAminoMsg { - type: "cosmos-sdk/ConsensusState"; - value: ConsensusStateAmino; -} -/** ConsensusState defines the consensus state from Tendermint. */ -export interface ConsensusStateSDKType { - timestamp: Date | undefined; - root: MerkleRootSDKType | undefined; - next_validators_hash: Uint8Array; -} -/** - * Misbehaviour is a wrapper over two conflicting Headers - * that implements Misbehaviour interface expected by ICS-02 - */ -export interface Misbehaviour { - clientId: string; - header1?: Header | undefined; - header2?: Header | undefined; -} -export interface MisbehaviourProtoMsg { - typeUrl: "/ibc.lightclients.tendermint.v1.Misbehaviour"; - value: Uint8Array; -} -/** - * Misbehaviour is a wrapper over two conflicting Headers - * that implements Misbehaviour interface expected by ICS-02 - */ -export interface MisbehaviourAmino { - client_id?: string; - header_1?: HeaderAmino | undefined; - header_2?: HeaderAmino | undefined; -} -export interface MisbehaviourAminoMsg { - type: "cosmos-sdk/Misbehaviour"; - value: MisbehaviourAmino; -} -/** - * Misbehaviour is a wrapper over two conflicting Headers - * that implements Misbehaviour interface expected by ICS-02 - */ -export interface MisbehaviourSDKType { - client_id: string; - header_1?: HeaderSDKType | undefined; - header_2?: HeaderSDKType | undefined; -} -/** - * Header defines the Tendermint client consensus Header. - * It encapsulates all the information necessary to update from a trusted - * Tendermint ConsensusState. The inclusion of TrustedHeight and - * TrustedValidators allows this update to process correctly, so long as the - * ConsensusState for the TrustedHeight exists, this removes race conditions - * among relayers The SignedHeader and ValidatorSet are the new untrusted update - * fields for the client. The TrustedHeight is the height of a stored - * ConsensusState on the client that will be used to verify the new untrusted - * header. The Trusted ConsensusState must be within the unbonding period of - * current time in order to correctly verify, and the TrustedValidators must - * hash to TrustedConsensusState.NextValidatorsHash since that is the last - * trusted validator set at the TrustedHeight. - */ -export interface Header { - signedHeader?: SignedHeader | undefined; - validatorSet?: ValidatorSet | undefined; - trustedHeight: Height | undefined; - trustedValidators?: ValidatorSet | undefined; -} -export interface HeaderProtoMsg { - typeUrl: "/ibc.lightclients.tendermint.v1.Header"; - value: Uint8Array; -} -/** - * Header defines the Tendermint client consensus Header. - * It encapsulates all the information necessary to update from a trusted - * Tendermint ConsensusState. The inclusion of TrustedHeight and - * TrustedValidators allows this update to process correctly, so long as the - * ConsensusState for the TrustedHeight exists, this removes race conditions - * among relayers The SignedHeader and ValidatorSet are the new untrusted update - * fields for the client. The TrustedHeight is the height of a stored - * ConsensusState on the client that will be used to verify the new untrusted - * header. The Trusted ConsensusState must be within the unbonding period of - * current time in order to correctly verify, and the TrustedValidators must - * hash to TrustedConsensusState.NextValidatorsHash since that is the last - * trusted validator set at the TrustedHeight. - */ -export interface HeaderAmino { - signed_header?: SignedHeaderAmino | undefined; - validator_set?: ValidatorSetAmino | undefined; - trusted_height?: HeightAmino | undefined; - trusted_validators?: ValidatorSetAmino | undefined; -} -export interface HeaderAminoMsg { - type: "cosmos-sdk/Header"; - value: HeaderAmino; -} -/** - * Header defines the Tendermint client consensus Header. - * It encapsulates all the information necessary to update from a trusted - * Tendermint ConsensusState. The inclusion of TrustedHeight and - * TrustedValidators allows this update to process correctly, so long as the - * ConsensusState for the TrustedHeight exists, this removes race conditions - * among relayers The SignedHeader and ValidatorSet are the new untrusted update - * fields for the client. The TrustedHeight is the height of a stored - * ConsensusState on the client that will be used to verify the new untrusted - * header. The Trusted ConsensusState must be within the unbonding period of - * current time in order to correctly verify, and the TrustedValidators must - * hash to TrustedConsensusState.NextValidatorsHash since that is the last - * trusted validator set at the TrustedHeight. - */ -export interface HeaderSDKType { - signed_header?: SignedHeaderSDKType | undefined; - validator_set?: ValidatorSetSDKType | undefined; - trusted_height: HeightSDKType | undefined; - trusted_validators?: ValidatorSetSDKType | undefined; -} -/** - * Fraction defines the protobuf message type for tmmath.Fraction that only - * supports positive values. - */ -export interface Fraction { - numerator: bigint; - denominator: bigint; -} -export interface FractionProtoMsg { - typeUrl: "/ibc.lightclients.tendermint.v1.Fraction"; - value: Uint8Array; -} -/** - * Fraction defines the protobuf message type for tmmath.Fraction that only - * supports positive values. - */ -export interface FractionAmino { - numerator?: string; - denominator?: string; -} -export interface FractionAminoMsg { - type: "cosmos-sdk/Fraction"; - value: FractionAmino; -} -/** - * Fraction defines the protobuf message type for tmmath.Fraction that only - * supports positive values. - */ -export interface FractionSDKType { - numerator: bigint; - denominator: bigint; -} -export declare const ClientState: { - typeUrl: string; - aminoType: string; - is(o: any): o is ClientState; - isSDK(o: any): o is ClientStateSDKType; - isAmino(o: any): o is ClientStateAmino; - encode(message: ClientState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ClientState; - fromJSON(object: any): ClientState; - toJSON(message: ClientState): unknown; - fromPartial(object: DeepPartial): ClientState; - fromSDK(object: ClientStateSDKType): ClientState; - toSDK(message: ClientState): ClientStateSDKType; - fromAmino(object: ClientStateAmino): ClientState; - toAmino(message: ClientState): ClientStateAmino; - fromAminoMsg(object: ClientStateAminoMsg): ClientState; - toAminoMsg(message: ClientState): ClientStateAminoMsg; - fromProtoMsg(message: ClientStateProtoMsg): ClientState; - toProto(message: ClientState): Uint8Array; - toProtoMsg(message: ClientState): ClientStateProtoMsg; -}; -export declare const ConsensusState: { - typeUrl: string; - aminoType: string; - is(o: any): o is ConsensusState; - isSDK(o: any): o is ConsensusStateSDKType; - isAmino(o: any): o is ConsensusStateAmino; - encode(message: ConsensusState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ConsensusState; - fromJSON(object: any): ConsensusState; - toJSON(message: ConsensusState): unknown; - fromPartial(object: DeepPartial): ConsensusState; - fromSDK(object: ConsensusStateSDKType): ConsensusState; - toSDK(message: ConsensusState): ConsensusStateSDKType; - fromAmino(object: ConsensusStateAmino): ConsensusState; - toAmino(message: ConsensusState): ConsensusStateAmino; - fromAminoMsg(object: ConsensusStateAminoMsg): ConsensusState; - toAminoMsg(message: ConsensusState): ConsensusStateAminoMsg; - fromProtoMsg(message: ConsensusStateProtoMsg): ConsensusState; - toProto(message: ConsensusState): Uint8Array; - toProtoMsg(message: ConsensusState): ConsensusStateProtoMsg; -}; -export declare const Misbehaviour: { - typeUrl: string; - aminoType: string; - is(o: any): o is Misbehaviour; - isSDK(o: any): o is MisbehaviourSDKType; - isAmino(o: any): o is MisbehaviourAmino; - encode(message: Misbehaviour, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Misbehaviour; - fromJSON(object: any): Misbehaviour; - toJSON(message: Misbehaviour): unknown; - fromPartial(object: DeepPartial): Misbehaviour; - fromSDK(object: MisbehaviourSDKType): Misbehaviour; - toSDK(message: Misbehaviour): MisbehaviourSDKType; - fromAmino(object: MisbehaviourAmino): Misbehaviour; - toAmino(message: Misbehaviour): MisbehaviourAmino; - fromAminoMsg(object: MisbehaviourAminoMsg): Misbehaviour; - toAminoMsg(message: Misbehaviour): MisbehaviourAminoMsg; - fromProtoMsg(message: MisbehaviourProtoMsg): Misbehaviour; - toProto(message: Misbehaviour): Uint8Array; - toProtoMsg(message: Misbehaviour): MisbehaviourProtoMsg; -}; -export declare const Header: { - typeUrl: string; - aminoType: string; - is(o: any): o is Header; - isSDK(o: any): o is HeaderSDKType; - isAmino(o: any): o is HeaderAmino; - encode(message: Header, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Header; - fromJSON(object: any): Header; - toJSON(message: Header): unknown; - fromPartial(object: DeepPartial
): Header; - fromSDK(object: HeaderSDKType): Header; - toSDK(message: Header): HeaderSDKType; - fromAmino(object: HeaderAmino): Header; - toAmino(message: Header): HeaderAmino; - fromAminoMsg(object: HeaderAminoMsg): Header; - toAminoMsg(message: Header): HeaderAminoMsg; - fromProtoMsg(message: HeaderProtoMsg): Header; - toProto(message: Header): Uint8Array; - toProtoMsg(message: Header): HeaderProtoMsg; -}; -export declare const Fraction: { - typeUrl: string; - aminoType: string; - is(o: any): o is Fraction; - isSDK(o: any): o is FractionSDKType; - isAmino(o: any): o is FractionAmino; - encode(message: Fraction, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Fraction; - fromJSON(object: any): Fraction; - toJSON(message: Fraction): unknown; - fromPartial(object: DeepPartial): Fraction; - fromSDK(object: FractionSDKType): Fraction; - toSDK(message: Fraction): FractionSDKType; - fromAmino(object: FractionAmino): Fraction; - toAmino(message: Fraction): FractionAmino; - fromAminoMsg(object: FractionAminoMsg): Fraction; - toAminoMsg(message: Fraction): FractionAminoMsg; - fromProtoMsg(message: FractionProtoMsg): Fraction; - toProto(message: Fraction): Uint8Array; - toProtoMsg(message: Fraction): FractionProtoMsg; -}; diff --git a/examples/authz/types/codegen/ibc/rpc.query.d.ts b/examples/authz/types/codegen/ibc/rpc.query.d.ts deleted file mode 100644 index 98baf466..00000000 --- a/examples/authz/types/codegen/ibc/rpc.query.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { Rpc } from "../helpers"; -export declare const createRPCQueryClient: ({ rpc }: { - rpc: Rpc; -}) => Promise<{ - cosmos: { - app: { - v1alpha1: import("../cosmos/app/v1alpha1/query.rpc.Query").QueryClientImpl; - }; - auth: { - v1beta1: import("../cosmos/auth/v1beta1/query.rpc.Query").QueryClientImpl; - }; - authz: { - v1beta1: import("../cosmos/authz/v1beta1/query.rpc.Query").QueryClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/query.rpc.Query").QueryClientImpl; - }; - base: { - tendermint: { - v1beta1: import("../cosmos/base/tendermint/v1beta1/query.rpc.Service").ServiceClientImpl; - }; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/query.rpc.Query").QueryClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/query.rpc.Query").QueryClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/query.rpc.Query").QueryClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/query.rpc.Query").QueryClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/query.rpc.Query").QueryClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/query.rpc.Query").QueryClientImpl; - }; - mint: { - v1beta1: import("../cosmos/mint/v1beta1/query.rpc.Query").QueryClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/query.rpc.Query").QueryClientImpl; - }; - params: { - v1beta1: import("../cosmos/params/v1beta1/query.rpc.Query").QueryClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/query.rpc.Query").QueryClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/query.rpc.Query").QueryClientImpl; - }; - tx: { - v1beta1: import("../cosmos/tx/v1beta1/service.rpc.Service").ServiceClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/query.rpc.Query").QueryClientImpl; - }; - }; - ibc: { - applications: { - transfer: { - v1: import("./applications/transfer/v1/query.rpc.Query").QueryClientImpl; - }; - }; - core: { - channel: { - v1: import("./core/channel/v1/query.rpc.Query").QueryClientImpl; - }; - client: { - v1: import("./core/client/v1/query.rpc.Query").QueryClientImpl; - }; - connection: { - v1: import("./core/connection/v1/query.rpc.Query").QueryClientImpl; - }; - port: { - v1: import("./core/port/v1/query.rpc.Query").QueryClientImpl; - }; - }; - }; -}>; diff --git a/examples/authz/types/codegen/ibc/rpc.tx.d.ts b/examples/authz/types/codegen/ibc/rpc.tx.d.ts deleted file mode 100644 index f7d15613..00000000 --- a/examples/authz/types/codegen/ibc/rpc.tx.d.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { Rpc } from "../helpers"; -export declare const createRPCMsgClient: ({ rpc }: { - rpc: Rpc; -}) => Promise<{ - cosmos: { - authz: { - v1beta1: import("../cosmos/authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("../cosmos/crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("../cosmos/vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; - ibc: { - applications: { - transfer: { - v1: import("./applications/transfer/v1/tx.rpc.msg").MsgClientImpl; - }; - }; - core: { - channel: { - v1: import("./core/channel/v1/tx.rpc.msg").MsgClientImpl; - }; - client: { - v1: import("./core/client/v1/tx.rpc.msg").MsgClientImpl; - }; - connection: { - v1: import("./core/connection/v1/tx.rpc.msg").MsgClientImpl; - }; - }; - }; -}>; diff --git a/examples/authz/types/codegen/ics23/bundle.d.ts b/examples/authz/types/codegen/ics23/bundle.d.ts deleted file mode 100644 index a800acea..00000000 --- a/examples/authz/types/codegen/ics23/bundle.d.ts +++ /dev/null @@ -1,729 +0,0 @@ -import * as _0 from "../confio/proofs"; -export declare const ics23: { - hashOpFromJSON(object: any): _0.HashOp; - hashOpToJSON(object: _0.HashOp): string; - lengthOpFromJSON(object: any): _0.LengthOp; - lengthOpToJSON(object: _0.LengthOp): string; - HashOp: typeof _0.HashOp; - HashOpSDKType: typeof _0.HashOp; - HashOpAmino: typeof _0.HashOp; - LengthOp: typeof _0.LengthOp; - LengthOpSDKType: typeof _0.LengthOp; - LengthOpAmino: typeof _0.LengthOp; - ExistenceProof: { - typeUrl: string; - is(o: any): o is _0.ExistenceProof; - isSDK(o: any): o is _0.ExistenceProofSDKType; - isAmino(o: any): o is _0.ExistenceProofAmino; - encode(message: _0.ExistenceProof, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _0.ExistenceProof; - fromJSON(object: any): _0.ExistenceProof; - toJSON(message: _0.ExistenceProof): unknown; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }): _0.ExistenceProof; - fromSDK(object: _0.ExistenceProofSDKType): _0.ExistenceProof; - toSDK(message: _0.ExistenceProof): _0.ExistenceProofSDKType; - fromAmino(object: _0.ExistenceProofAmino): _0.ExistenceProof; - toAmino(message: _0.ExistenceProof): _0.ExistenceProofAmino; - fromAminoMsg(object: _0.ExistenceProofAminoMsg): _0.ExistenceProof; - fromProtoMsg(message: _0.ExistenceProofProtoMsg): _0.ExistenceProof; - toProto(message: _0.ExistenceProof): Uint8Array; - toProtoMsg(message: _0.ExistenceProof): _0.ExistenceProofProtoMsg; - }; - NonExistenceProof: { - typeUrl: string; - is(o: any): o is _0.NonExistenceProof; - isSDK(o: any): o is _0.NonExistenceProofSDKType; - isAmino(o: any): o is _0.NonExistenceProofAmino; - encode(message: _0.NonExistenceProof, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _0.NonExistenceProof; - fromJSON(object: any): _0.NonExistenceProof; - toJSON(message: _0.NonExistenceProof): unknown; - fromPartial(object: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }): _0.NonExistenceProof; - fromSDK(object: _0.NonExistenceProofSDKType): _0.NonExistenceProof; - toSDK(message: _0.NonExistenceProof): _0.NonExistenceProofSDKType; - fromAmino(object: _0.NonExistenceProofAmino): _0.NonExistenceProof; - toAmino(message: _0.NonExistenceProof): _0.NonExistenceProofAmino; - fromAminoMsg(object: _0.NonExistenceProofAminoMsg): _0.NonExistenceProof; - fromProtoMsg(message: _0.NonExistenceProofProtoMsg): _0.NonExistenceProof; - toProto(message: _0.NonExistenceProof): Uint8Array; - toProtoMsg(message: _0.NonExistenceProof): _0.NonExistenceProofProtoMsg; - }; - CommitmentProof: { - typeUrl: string; - is(o: any): o is _0.CommitmentProof; - isSDK(o: any): o is _0.CommitmentProofSDKType; - isAmino(o: any): o is _0.CommitmentProofAmino; - encode(message: _0.CommitmentProof, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _0.CommitmentProof; - fromJSON(object: any): _0.CommitmentProof; - toJSON(message: _0.CommitmentProof): unknown; - fromPartial(object: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }; - batch?: { - entries?: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }; - }[]; - }; - compressed?: { - entries?: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - }; - }[]; - lookupInners?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }): _0.CommitmentProof; - fromSDK(object: _0.CommitmentProofSDKType): _0.CommitmentProof; - toSDK(message: _0.CommitmentProof): _0.CommitmentProofSDKType; - fromAmino(object: _0.CommitmentProofAmino): _0.CommitmentProof; - toAmino(message: _0.CommitmentProof): _0.CommitmentProofAmino; - fromAminoMsg(object: _0.CommitmentProofAminoMsg): _0.CommitmentProof; - fromProtoMsg(message: _0.CommitmentProofProtoMsg): _0.CommitmentProof; - toProto(message: _0.CommitmentProof): Uint8Array; - toProtoMsg(message: _0.CommitmentProof): _0.CommitmentProofProtoMsg; - }; - LeafOp: { - typeUrl: string; - is(o: any): o is _0.LeafOp; - isSDK(o: any): o is _0.LeafOpSDKType; - isAmino(o: any): o is _0.LeafOpAmino; - encode(message: _0.LeafOp, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _0.LeafOp; - fromJSON(object: any): _0.LeafOp; - toJSON(message: _0.LeafOp): unknown; - fromPartial(object: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }): _0.LeafOp; - fromSDK(object: _0.LeafOpSDKType): _0.LeafOp; - toSDK(message: _0.LeafOp): _0.LeafOpSDKType; - fromAmino(object: _0.LeafOpAmino): _0.LeafOp; - toAmino(message: _0.LeafOp): _0.LeafOpAmino; - fromAminoMsg(object: _0.LeafOpAminoMsg): _0.LeafOp; - fromProtoMsg(message: _0.LeafOpProtoMsg): _0.LeafOp; - toProto(message: _0.LeafOp): Uint8Array; - toProtoMsg(message: _0.LeafOp): _0.LeafOpProtoMsg; - }; - InnerOp: { - typeUrl: string; - is(o: any): o is _0.InnerOp; - isSDK(o: any): o is _0.InnerOpSDKType; - isAmino(o: any): o is _0.InnerOpAmino; - encode(message: _0.InnerOp, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _0.InnerOp; - fromJSON(object: any): _0.InnerOp; - toJSON(message: _0.InnerOp): unknown; - fromPartial(object: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }): _0.InnerOp; - fromSDK(object: _0.InnerOpSDKType): _0.InnerOp; - toSDK(message: _0.InnerOp): _0.InnerOpSDKType; - fromAmino(object: _0.InnerOpAmino): _0.InnerOp; - toAmino(message: _0.InnerOp): _0.InnerOpAmino; - fromAminoMsg(object: _0.InnerOpAminoMsg): _0.InnerOp; - fromProtoMsg(message: _0.InnerOpProtoMsg): _0.InnerOp; - toProto(message: _0.InnerOp): Uint8Array; - toProtoMsg(message: _0.InnerOp): _0.InnerOpProtoMsg; - }; - ProofSpec: { - typeUrl: string; - is(o: any): o is _0.ProofSpec; - isSDK(o: any): o is _0.ProofSpecSDKType; - isAmino(o: any): o is _0.ProofSpecAmino; - encode(message: _0.ProofSpec, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _0.ProofSpec; - fromJSON(object: any): _0.ProofSpec; - toJSON(message: _0.ProofSpec): unknown; - fromPartial(object: { - leafSpec?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - innerSpec?: { - childOrder?: number[]; - childSize?: number; - minPrefixLength?: number; - maxPrefixLength?: number; - emptyChild?: Uint8Array; - hash?: _0.HashOp; - }; - maxDepth?: number; - minDepth?: number; - }): _0.ProofSpec; - fromSDK(object: _0.ProofSpecSDKType): _0.ProofSpec; - toSDK(message: _0.ProofSpec): _0.ProofSpecSDKType; - fromAmino(object: _0.ProofSpecAmino): _0.ProofSpec; - toAmino(message: _0.ProofSpec): _0.ProofSpecAmino; - fromAminoMsg(object: _0.ProofSpecAminoMsg): _0.ProofSpec; - fromProtoMsg(message: _0.ProofSpecProtoMsg): _0.ProofSpec; - toProto(message: _0.ProofSpec): Uint8Array; - toProtoMsg(message: _0.ProofSpec): _0.ProofSpecProtoMsg; - }; - InnerSpec: { - typeUrl: string; - is(o: any): o is _0.InnerSpec; - isSDK(o: any): o is _0.InnerSpecSDKType; - isAmino(o: any): o is _0.InnerSpecAmino; - encode(message: _0.InnerSpec, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _0.InnerSpec; - fromJSON(object: any): _0.InnerSpec; - toJSON(message: _0.InnerSpec): unknown; - fromPartial(object: { - childOrder?: number[]; - childSize?: number; - minPrefixLength?: number; - maxPrefixLength?: number; - emptyChild?: Uint8Array; - hash?: _0.HashOp; - }): _0.InnerSpec; - fromSDK(object: _0.InnerSpecSDKType): _0.InnerSpec; - toSDK(message: _0.InnerSpec): _0.InnerSpecSDKType; - fromAmino(object: _0.InnerSpecAmino): _0.InnerSpec; - toAmino(message: _0.InnerSpec): _0.InnerSpecAmino; - fromAminoMsg(object: _0.InnerSpecAminoMsg): _0.InnerSpec; - fromProtoMsg(message: _0.InnerSpecProtoMsg): _0.InnerSpec; - toProto(message: _0.InnerSpec): Uint8Array; - toProtoMsg(message: _0.InnerSpec): _0.InnerSpecProtoMsg; - }; - BatchProof: { - typeUrl: string; - is(o: any): o is _0.BatchProof; - isSDK(o: any): o is _0.BatchProofSDKType; - isAmino(o: any): o is _0.BatchProofAmino; - encode(message: _0.BatchProof, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _0.BatchProof; - fromJSON(object: any): _0.BatchProof; - toJSON(message: _0.BatchProof): unknown; - fromPartial(object: { - entries?: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }; - }[]; - }): _0.BatchProof; - fromSDK(object: _0.BatchProofSDKType): _0.BatchProof; - toSDK(message: _0.BatchProof): _0.BatchProofSDKType; - fromAmino(object: _0.BatchProofAmino): _0.BatchProof; - toAmino(message: _0.BatchProof): _0.BatchProofAmino; - fromAminoMsg(object: _0.BatchProofAminoMsg): _0.BatchProof; - fromProtoMsg(message: _0.BatchProofProtoMsg): _0.BatchProof; - toProto(message: _0.BatchProof): Uint8Array; - toProtoMsg(message: _0.BatchProof): _0.BatchProofProtoMsg; - }; - BatchEntry: { - typeUrl: string; - is(o: any): o is _0.BatchEntry; - isSDK(o: any): o is _0.BatchEntrySDKType; - isAmino(o: any): o is _0.BatchEntryAmino; - encode(message: _0.BatchEntry, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _0.BatchEntry; - fromJSON(object: any): _0.BatchEntry; - toJSON(message: _0.BatchEntry): unknown; - fromPartial(object: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }; - }): _0.BatchEntry; - fromSDK(object: _0.BatchEntrySDKType): _0.BatchEntry; - toSDK(message: _0.BatchEntry): _0.BatchEntrySDKType; - fromAmino(object: _0.BatchEntryAmino): _0.BatchEntry; - toAmino(message: _0.BatchEntry): _0.BatchEntryAmino; - fromAminoMsg(object: _0.BatchEntryAminoMsg): _0.BatchEntry; - fromProtoMsg(message: _0.BatchEntryProtoMsg): _0.BatchEntry; - toProto(message: _0.BatchEntry): Uint8Array; - toProtoMsg(message: _0.BatchEntry): _0.BatchEntryProtoMsg; - }; - CompressedBatchProof: { - typeUrl: string; - is(o: any): o is _0.CompressedBatchProof; - isSDK(o: any): o is _0.CompressedBatchProofSDKType; - isAmino(o: any): o is _0.CompressedBatchProofAmino; - encode(message: _0.CompressedBatchProof, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _0.CompressedBatchProof; - fromJSON(object: any): _0.CompressedBatchProof; - toJSON(message: _0.CompressedBatchProof): unknown; - fromPartial(object: { - entries?: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - }; - }[]; - lookupInners?: { - hash?: _0.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }): _0.CompressedBatchProof; - fromSDK(object: _0.CompressedBatchProofSDKType): _0.CompressedBatchProof; - toSDK(message: _0.CompressedBatchProof): _0.CompressedBatchProofSDKType; - fromAmino(object: _0.CompressedBatchProofAmino): _0.CompressedBatchProof; - toAmino(message: _0.CompressedBatchProof): _0.CompressedBatchProofAmino; - fromAminoMsg(object: _0.CompressedBatchProofAminoMsg): _0.CompressedBatchProof; - fromProtoMsg(message: _0.CompressedBatchProofProtoMsg): _0.CompressedBatchProof; - toProto(message: _0.CompressedBatchProof): Uint8Array; - toProtoMsg(message: _0.CompressedBatchProof): _0.CompressedBatchProofProtoMsg; - }; - CompressedBatchEntry: { - typeUrl: string; - is(o: any): o is _0.CompressedBatchEntry; - isSDK(o: any): o is _0.CompressedBatchEntrySDKType; - isAmino(o: any): o is _0.CompressedBatchEntryAmino; - encode(message: _0.CompressedBatchEntry, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _0.CompressedBatchEntry; - fromJSON(object: any): _0.CompressedBatchEntry; - toJSON(message: _0.CompressedBatchEntry): unknown; - fromPartial(object: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - }; - }): _0.CompressedBatchEntry; - fromSDK(object: _0.CompressedBatchEntrySDKType): _0.CompressedBatchEntry; - toSDK(message: _0.CompressedBatchEntry): _0.CompressedBatchEntrySDKType; - fromAmino(object: _0.CompressedBatchEntryAmino): _0.CompressedBatchEntry; - toAmino(message: _0.CompressedBatchEntry): _0.CompressedBatchEntryAmino; - fromAminoMsg(object: _0.CompressedBatchEntryAminoMsg): _0.CompressedBatchEntry; - fromProtoMsg(message: _0.CompressedBatchEntryProtoMsg): _0.CompressedBatchEntry; - toProto(message: _0.CompressedBatchEntry): Uint8Array; - toProtoMsg(message: _0.CompressedBatchEntry): _0.CompressedBatchEntryProtoMsg; - }; - CompressedExistenceProof: { - typeUrl: string; - is(o: any): o is _0.CompressedExistenceProof; - isSDK(o: any): o is _0.CompressedExistenceProofSDKType; - isAmino(o: any): o is _0.CompressedExistenceProofAmino; - encode(message: _0.CompressedExistenceProof, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _0.CompressedExistenceProof; - fromJSON(object: any): _0.CompressedExistenceProof; - toJSON(message: _0.CompressedExistenceProof): unknown; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }): _0.CompressedExistenceProof; - fromSDK(object: _0.CompressedExistenceProofSDKType): _0.CompressedExistenceProof; - toSDK(message: _0.CompressedExistenceProof): _0.CompressedExistenceProofSDKType; - fromAmino(object: _0.CompressedExistenceProofAmino): _0.CompressedExistenceProof; - toAmino(message: _0.CompressedExistenceProof): _0.CompressedExistenceProofAmino; - fromAminoMsg(object: _0.CompressedExistenceProofAminoMsg): _0.CompressedExistenceProof; - fromProtoMsg(message: _0.CompressedExistenceProofProtoMsg): _0.CompressedExistenceProof; - toProto(message: _0.CompressedExistenceProof): Uint8Array; - toProtoMsg(message: _0.CompressedExistenceProof): _0.CompressedExistenceProofProtoMsg; - }; - CompressedNonExistenceProof: { - typeUrl: string; - is(o: any): o is _0.CompressedNonExistenceProof; - isSDK(o: any): o is _0.CompressedNonExistenceProofSDKType; - isAmino(o: any): o is _0.CompressedNonExistenceProofAmino; - encode(message: _0.CompressedNonExistenceProof, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _0.CompressedNonExistenceProof; - fromJSON(object: any): _0.CompressedNonExistenceProof; - toJSON(message: _0.CompressedNonExistenceProof): unknown; - fromPartial(object: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _0.HashOp; - prehashKey?: _0.HashOp; - prehashValue?: _0.HashOp; - length?: _0.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - }): _0.CompressedNonExistenceProof; - fromSDK(object: _0.CompressedNonExistenceProofSDKType): _0.CompressedNonExistenceProof; - toSDK(message: _0.CompressedNonExistenceProof): _0.CompressedNonExistenceProofSDKType; - fromAmino(object: _0.CompressedNonExistenceProofAmino): _0.CompressedNonExistenceProof; - toAmino(message: _0.CompressedNonExistenceProof): _0.CompressedNonExistenceProofAmino; - fromAminoMsg(object: _0.CompressedNonExistenceProofAminoMsg): _0.CompressedNonExistenceProof; - fromProtoMsg(message: _0.CompressedNonExistenceProofProtoMsg): _0.CompressedNonExistenceProof; - toProto(message: _0.CompressedNonExistenceProof): Uint8Array; - toProtoMsg(message: _0.CompressedNonExistenceProof): _0.CompressedNonExistenceProofProtoMsg; - }; -}; diff --git a/examples/authz/types/codegen/index.d.ts b/examples/authz/types/codegen/index.d.ts deleted file mode 100644 index 60171b1f..00000000 --- a/examples/authz/types/codegen/index.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * This file and any referenced files were automatically generated by @cosmology/telescope@1.3.2 - * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain - * and run the transpile command or yarn proto command to regenerate this bundle. - */ -export * from "./ics23/bundle"; -export * from "./cosmos_proto/bundle"; -export * from "./cosmos/bundle"; -export * from "./cosmos/client"; -export * from "./cosmwasm/bundle"; -export * from "./cosmwasm/client"; -export * from "./gogoproto/bundle"; -export * from "./google/bundle"; -export * from "./ibc/bundle"; -export * from "./ibc/client"; -export * from "./osmosis/bundle"; -export * from "./osmosis/client"; -export * from "./tendermint/bundle"; -export * from "./hooks"; -export * from "./mobx.stores"; -export * from "./extern"; -export * from "./react-query"; -export * from "./mobx"; -export * from "./varint"; -export * from "./utf8"; -export * from "./binary"; -export * from "./types"; -export * from "./registry"; diff --git a/examples/authz/types/codegen/mobx.d.ts b/examples/authz/types/codegen/mobx.d.ts deleted file mode 100644 index ba24f93f..00000000 --- a/examples/authz/types/codegen/mobx.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.3.2 -* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain -* and run the transpile command or yarn proto command to regenerate this bundle. -*/ -import { QueryStatus } from '@tanstack/react-query'; -export interface MobxResponse { - data: T | undefined; - isSuccess: boolean; - isLoading: boolean; - refetch: () => Promise; -} -export declare class QueryStore { - state?: QueryStatus; - request?: Request; - response?: Response; - fetchFunc?: (request: Request) => Promise; - constructor(fetchFunc?: (request: Request) => Promise); - get isLoading(): boolean; - get isSuccess(): boolean; - refetch: () => Promise; - getData(request?: Request): MobxResponse; -} diff --git a/examples/authz/types/codegen/mobx.stores.d.ts b/examples/authz/types/codegen/mobx.stores.d.ts deleted file mode 100644 index 2e4eef5f..00000000 --- a/examples/authz/types/codegen/mobx.stores.d.ts +++ /dev/null @@ -1,1445 +0,0 @@ -import { ProtobufRpcClient } from "@cosmjs/stargate"; -export declare const createRpcQueryMobxStores: ({ rpc }: { - rpc: ProtobufRpcClient | undefined; -}) => { - cosmos: { - app: { - v1alpha1: { - QueryConfigStore: { - new (): { - store: import("./mobx").QueryStore; - config(request: import("./cosmos/app/v1alpha1/query").QueryConfigRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - auth: { - v1beta1: { - QueryAccountsStore: { - new (): { - store: import("./mobx").QueryStore; - accounts(request: import("./cosmos/auth/v1beta1/query").QueryAccountsRequest): import("./mobx").MobxResponse; - }; - }; - QueryAccountStore: { - new (): { - store: import("./mobx").QueryStore; - account(request: import("./cosmos/auth/v1beta1/query").QueryAccountRequest): import("./mobx").MobxResponse; - }; - }; - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./cosmos/auth/v1beta1/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - QueryModuleAccountsStore: { - new (): { - store: import("./mobx").QueryStore; - moduleAccounts(request: import("./cosmos/auth/v1beta1/query").QueryModuleAccountsRequest): import("./mobx").MobxResponse; - }; - }; - QueryBech32PrefixStore: { - new (): { - store: import("./mobx").QueryStore; - bech32Prefix(request: import("./cosmos/auth/v1beta1/query").Bech32PrefixRequest): import("./mobx").MobxResponse; - }; - }; - QueryAddressBytesToStringStore: { - new (): { - store: import("./mobx").QueryStore; - addressBytesToString(request: import("./cosmos/auth/v1beta1/query").AddressBytesToStringRequest): import("./mobx").MobxResponse; - }; - }; - QueryAddressStringToBytesStore: { - new (): { - store: import("./mobx").QueryStore; - addressStringToBytes(request: import("./cosmos/auth/v1beta1/query").AddressStringToBytesRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - authz: { - v1beta1: { - QueryGrantsStore: { - new (): { - store: import("./mobx").QueryStore; - grants(request: import("./cosmos/authz/v1beta1/query").QueryGrantsRequest): import("./mobx").MobxResponse; - }; - }; - QueryGranterGrantsStore: { - new (): { - store: import("./mobx").QueryStore; - granterGrants(request: import("./cosmos/authz/v1beta1/query").QueryGranterGrantsRequest): import("./mobx").MobxResponse; - }; - }; - QueryGranteeGrantsStore: { - new (): { - store: import("./mobx").QueryStore; - granteeGrants(request: import("./cosmos/authz/v1beta1/query").QueryGranteeGrantsRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - bank: { - v1beta1: { - QueryBalanceStore: { - new (): { - store: import("./mobx").QueryStore; - balance(request: import("./cosmos/bank/v1beta1/query").QueryBalanceRequest): import("./mobx").MobxResponse; - }; - }; - QueryAllBalancesStore: { - new (): { - store: import("./mobx").QueryStore; - allBalances(request: import("./cosmos/bank/v1beta1/query").QueryAllBalancesRequest): import("./mobx").MobxResponse; - }; - }; - QuerySpendableBalancesStore: { - new (): { - store: import("./mobx").QueryStore; - spendableBalances(request: import("./cosmos/bank/v1beta1/query").QuerySpendableBalancesRequest): import("./mobx").MobxResponse; - }; - }; - QueryTotalSupplyStore: { - new (): { - store: import("./mobx").QueryStore; - totalSupply(request: import("./cosmos/bank/v1beta1/query").QueryTotalSupplyRequest): import("./mobx").MobxResponse; - }; - }; - QuerySupplyOfStore: { - new (): { - store: import("./mobx").QueryStore; - supplyOf(request: import("./cosmos/bank/v1beta1/query").QuerySupplyOfRequest): import("./mobx").MobxResponse; - }; - }; - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./cosmos/bank/v1beta1/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - QueryDenomMetadataStore: { - new (): { - store: import("./mobx").QueryStore; - denomMetadata(request: import("./cosmos/bank/v1beta1/query").QueryDenomMetadataRequest): import("./mobx").MobxResponse; - }; - }; - QueryDenomsMetadataStore: { - new (): { - store: import("./mobx").QueryStore; - denomsMetadata(request: import("./cosmos/bank/v1beta1/query").QueryDenomsMetadataRequest): import("./mobx").MobxResponse; - }; - }; - QueryDenomOwnersStore: { - new (): { - store: import("./mobx").QueryStore; - denomOwners(request: import("./cosmos/bank/v1beta1/query").QueryDenomOwnersRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - base: { - tendermint: { - v1beta1: { - QueryGetNodeInfoStore: { - new (): { - store: import("./mobx").QueryStore; - getNodeInfo(request: import("./cosmos/base/tendermint/v1beta1/query").GetNodeInfoRequest): import("./mobx").MobxResponse; - }; - }; - QueryGetSyncingStore: { - new (): { - store: import("./mobx").QueryStore; - getSyncing(request: import("./cosmos/base/tendermint/v1beta1/query").GetSyncingRequest): import("./mobx").MobxResponse; - }; - }; - QueryGetLatestBlockStore: { - new (): { - store: import("./mobx").QueryStore; - getLatestBlock(request: import("./cosmos/base/tendermint/v1beta1/query").GetLatestBlockRequest): import("./mobx").MobxResponse; - }; - }; - QueryGetBlockByHeightStore: { - new (): { - store: import("./mobx").QueryStore; - getBlockByHeight(request: import("./cosmos/base/tendermint/v1beta1/query").GetBlockByHeightRequest): import("./mobx").MobxResponse; - }; - }; - QueryGetLatestValidatorSetStore: { - new (): { - store: import("./mobx").QueryStore; - getLatestValidatorSet(request: import("./cosmos/base/tendermint/v1beta1/query").GetLatestValidatorSetRequest): import("./mobx").MobxResponse; - }; - }; - QueryGetValidatorSetByHeightStore: { - new (): { - store: import("./mobx").QueryStore; - getValidatorSetByHeight(request: import("./cosmos/base/tendermint/v1beta1/query").GetValidatorSetByHeightRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - }; - distribution: { - v1beta1: { - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./cosmos/distribution/v1beta1/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - QueryValidatorOutstandingRewardsStore: { - new (): { - store: import("./mobx").QueryStore; - validatorOutstandingRewards(request: import("./cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsRequest): import("./mobx").MobxResponse; - }; - }; - QueryValidatorCommissionStore: { - new (): { - store: import("./mobx").QueryStore; - validatorCommission(request: import("./cosmos/distribution/v1beta1/query").QueryValidatorCommissionRequest): import("./mobx").MobxResponse; - }; - }; - QueryValidatorSlashesStore: { - new (): { - store: import("./mobx").QueryStore; - validatorSlashes(request: import("./cosmos/distribution/v1beta1/query").QueryValidatorSlashesRequest): import("./mobx").MobxResponse; - }; - }; - QueryDelegationRewardsStore: { - new (): { - store: import("./mobx").QueryStore; - delegationRewards(request: import("./cosmos/distribution/v1beta1/query").QueryDelegationRewardsRequest): import("./mobx").MobxResponse; - }; - }; - QueryDelegationTotalRewardsStore: { - new (): { - store: import("./mobx").QueryStore; - delegationTotalRewards(request: import("./cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsRequest): import("./mobx").MobxResponse; - }; - }; - QueryDelegatorValidatorsStore: { - new (): { - store: import("./mobx").QueryStore; - delegatorValidators(request: import("./cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsRequest): import("./mobx").MobxResponse; - }; - }; - QueryDelegatorWithdrawAddressStore: { - new (): { - store: import("./mobx").QueryStore; - delegatorWithdrawAddress(request: import("./cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressRequest): import("./mobx").MobxResponse; - }; - }; - QueryCommunityPoolStore: { - new (): { - store: import("./mobx").QueryStore; - communityPool(request: import("./cosmos/distribution/v1beta1/query").QueryCommunityPoolRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - evidence: { - v1beta1: { - QueryEvidenceStore: { - new (): { - store: import("./mobx").QueryStore; - evidence(request: import("./cosmos/evidence/v1beta1/query").QueryEvidenceRequest): import("./mobx").MobxResponse; - }; - }; - QueryAllEvidenceStore: { - new (): { - store: import("./mobx").QueryStore; - allEvidence(request: import("./cosmos/evidence/v1beta1/query").QueryAllEvidenceRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - feegrant: { - v1beta1: { - QueryAllowanceStore: { - new (): { - store: import("./mobx").QueryStore; - allowance(request: import("./cosmos/feegrant/v1beta1/query").QueryAllowanceRequest): import("./mobx").MobxResponse; - }; - }; - QueryAllowancesStore: { - new (): { - store: import("./mobx").QueryStore; - allowances(request: import("./cosmos/feegrant/v1beta1/query").QueryAllowancesRequest): import("./mobx").MobxResponse; - }; - }; - QueryAllowancesByGranterStore: { - new (): { - store: import("./mobx").QueryStore; - allowancesByGranter(request: import("./cosmos/feegrant/v1beta1/query").QueryAllowancesByGranterRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - gov: { - v1: { - QueryProposalStore: { - new (): { - store: import("./mobx").QueryStore; - proposal(request: import("./cosmos/gov/v1/query").QueryProposalRequest): import("./mobx").MobxResponse; - }; - }; - QueryProposalsStore: { - new (): { - store: import("./mobx").QueryStore; - proposals(request: import("./cosmos/gov/v1/query").QueryProposalsRequest): import("./mobx").MobxResponse; - }; - }; - QueryVoteStore: { - new (): { - store: import("./mobx").QueryStore; - vote(request: import("./cosmos/gov/v1/query").QueryVoteRequest): import("./mobx").MobxResponse; - }; - }; - QueryVotesStore: { - new (): { - store: import("./mobx").QueryStore; - votes(request: import("./cosmos/gov/v1/query").QueryVotesRequest): import("./mobx").MobxResponse; - }; - }; - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./cosmos/gov/v1/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - QueryDepositStore: { - new (): { - store: import("./mobx").QueryStore; - deposit(request: import("./cosmos/gov/v1/query").QueryDepositRequest): import("./mobx").MobxResponse; - }; - }; - QueryDepositsStore: { - new (): { - store: import("./mobx").QueryStore; - deposits(request: import("./cosmos/gov/v1/query").QueryDepositsRequest): import("./mobx").MobxResponse; - }; - }; - QueryTallyResultStore: { - new (): { - store: import("./mobx").QueryStore; - tallyResult(request: import("./cosmos/gov/v1/query").QueryTallyResultRequest): import("./mobx").MobxResponse; - }; - }; - }; - v1beta1: { - QueryProposalStore: { - new (): { - store: import("./mobx").QueryStore; - proposal(request: import("./cosmos/gov/v1beta1/query").QueryProposalRequest): import("./mobx").MobxResponse; - }; - }; - QueryProposalsStore: { - new (): { - store: import("./mobx").QueryStore; - proposals(request: import("./cosmos/gov/v1beta1/query").QueryProposalsRequest): import("./mobx").MobxResponse; - }; - }; - QueryVoteStore: { - new (): { - store: import("./mobx").QueryStore; - vote(request: import("./cosmos/gov/v1beta1/query").QueryVoteRequest): import("./mobx").MobxResponse; - }; - }; - QueryVotesStore: { - new (): { - store: import("./mobx").QueryStore; - votes(request: import("./cosmos/gov/v1beta1/query").QueryVotesRequest): import("./mobx").MobxResponse; - }; - }; - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./cosmos/gov/v1beta1/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - QueryDepositStore: { - new (): { - store: import("./mobx").QueryStore; - deposit(request: import("./cosmos/gov/v1beta1/query").QueryDepositRequest): import("./mobx").MobxResponse; - }; - }; - QueryDepositsStore: { - new (): { - store: import("./mobx").QueryStore; - deposits(request: import("./cosmos/gov/v1beta1/query").QueryDepositsRequest): import("./mobx").MobxResponse; - }; - }; - QueryTallyResultStore: { - new (): { - store: import("./mobx").QueryStore; - tallyResult(request: import("./cosmos/gov/v1beta1/query").QueryTallyResultRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - group: { - v1: { - QueryGroupInfoStore: { - new (): { - store: import("./mobx").QueryStore; - groupInfo(request: import("./cosmos/group/v1/query").QueryGroupInfoRequest): import("./mobx").MobxResponse; - }; - }; - QueryGroupPolicyInfoStore: { - new (): { - store: import("./mobx").QueryStore; - groupPolicyInfo(request: import("./cosmos/group/v1/query").QueryGroupPolicyInfoRequest): import("./mobx").MobxResponse; - }; - }; - QueryGroupMembersStore: { - new (): { - store: import("./mobx").QueryStore; - groupMembers(request: import("./cosmos/group/v1/query").QueryGroupMembersRequest): import("./mobx").MobxResponse; - }; - }; - QueryGroupsByAdminStore: { - new (): { - store: import("./mobx").QueryStore; - groupsByAdmin(request: import("./cosmos/group/v1/query").QueryGroupsByAdminRequest): import("./mobx").MobxResponse; - }; - }; - QueryGroupPoliciesByGroupStore: { - new (): { - store: import("./mobx").QueryStore; - groupPoliciesByGroup(request: import("./cosmos/group/v1/query").QueryGroupPoliciesByGroupRequest): import("./mobx").MobxResponse; - }; - }; - QueryGroupPoliciesByAdminStore: { - new (): { - store: import("./mobx").QueryStore; - groupPoliciesByAdmin(request: import("./cosmos/group/v1/query").QueryGroupPoliciesByAdminRequest): import("./mobx").MobxResponse; - }; - }; - QueryProposalStore: { - new (): { - store: import("./mobx").QueryStore; - proposal(request: import("./cosmos/group/v1/query").QueryProposalRequest): import("./mobx").MobxResponse; - }; - }; - QueryProposalsByGroupPolicyStore: { - new (): { - store: import("./mobx").QueryStore; - proposalsByGroupPolicy(request: import("./cosmos/group/v1/query").QueryProposalsByGroupPolicyRequest): import("./mobx").MobxResponse; - }; - }; - QueryVoteByProposalVoterStore: { - new (): { - store: import("./mobx").QueryStore; - voteByProposalVoter(request: import("./cosmos/group/v1/query").QueryVoteByProposalVoterRequest): import("./mobx").MobxResponse; - }; - }; - QueryVotesByProposalStore: { - new (): { - store: import("./mobx").QueryStore; - votesByProposal(request: import("./cosmos/group/v1/query").QueryVotesByProposalRequest): import("./mobx").MobxResponse; - }; - }; - QueryVotesByVoterStore: { - new (): { - store: import("./mobx").QueryStore; - votesByVoter(request: import("./cosmos/group/v1/query").QueryVotesByVoterRequest): import("./mobx").MobxResponse; - }; - }; - QueryGroupsByMemberStore: { - new (): { - store: import("./mobx").QueryStore; - groupsByMember(request: import("./cosmos/group/v1/query").QueryGroupsByMemberRequest): import("./mobx").MobxResponse; - }; - }; - QueryTallyResultStore: { - new (): { - store: import("./mobx").QueryStore; - tallyResult(request: import("./cosmos/group/v1/query").QueryTallyResultRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - mint: { - v1beta1: { - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./cosmos/mint/v1beta1/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - QueryInflationStore: { - new (): { - store: import("./mobx").QueryStore; - inflation(request: import("./cosmos/mint/v1beta1/query").QueryInflationRequest): import("./mobx").MobxResponse; - }; - }; - QueryAnnualProvisionsStore: { - new (): { - store: import("./mobx").QueryStore; - annualProvisions(request: import("./cosmos/mint/v1beta1/query").QueryAnnualProvisionsRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - nft: { - v1beta1: { - QueryBalanceStore: { - new (): { - store: import("./mobx").QueryStore; - balance(request: import("./cosmos/nft/v1beta1/query").QueryBalanceRequest): import("./mobx").MobxResponse; - }; - }; - QueryOwnerStore: { - new (): { - store: import("./mobx").QueryStore; - owner(request: import("./cosmos/nft/v1beta1/query").QueryOwnerRequest): import("./mobx").MobxResponse; - }; - }; - QuerySupplyStore: { - new (): { - store: import("./mobx").QueryStore; - supply(request: import("./cosmos/nft/v1beta1/query").QuerySupplyRequest): import("./mobx").MobxResponse; - }; - }; - QueryNFTsStore: { - new (): { - store: import("./mobx").QueryStore; - nFTs(request: import("./cosmos/nft/v1beta1/query").QueryNFTsRequest): import("./mobx").MobxResponse; - }; - }; - QueryNFTStore: { - new (): { - store: import("./mobx").QueryStore; - nFT(request: import("./cosmos/nft/v1beta1/query").QueryNFTRequest): import("./mobx").MobxResponse; - }; - }; - QueryClassStore: { - new (): { - store: import("./mobx").QueryStore; - class(request: import("./cosmos/nft/v1beta1/query").QueryClassRequest): import("./mobx").MobxResponse; - }; - }; - QueryClassesStore: { - new (): { - store: import("./mobx").QueryStore; - classes(request: import("./cosmos/nft/v1beta1/query").QueryClassesRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - params: { - v1beta1: { - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./cosmos/params/v1beta1/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - QuerySubspacesStore: { - new (): { - store: import("./mobx").QueryStore; - subspaces(request: import("./cosmos/params/v1beta1/query").QuerySubspacesRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - slashing: { - v1beta1: { - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./cosmos/slashing/v1beta1/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - QuerySigningInfoStore: { - new (): { - store: import("./mobx").QueryStore; - signingInfo(request: import("./cosmos/slashing/v1beta1/query").QuerySigningInfoRequest): import("./mobx").MobxResponse; - }; - }; - QuerySigningInfosStore: { - new (): { - store: import("./mobx").QueryStore; - signingInfos(request: import("./cosmos/slashing/v1beta1/query").QuerySigningInfosRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - staking: { - v1beta1: { - QueryValidatorsStore: { - new (): { - store: import("./mobx").QueryStore; - validators(request: import("./cosmos/staking/v1beta1/query").QueryValidatorsRequest): import("./mobx").MobxResponse; - }; - }; - QueryValidatorStore: { - new (): { - store: import("./mobx").QueryStore; - validator(request: import("./cosmos/staking/v1beta1/query").QueryValidatorRequest): import("./mobx").MobxResponse; - }; - }; - QueryValidatorDelegationsStore: { - new (): { - store: import("./mobx").QueryStore; - validatorDelegations(request: import("./cosmos/staking/v1beta1/query").QueryValidatorDelegationsRequest): import("./mobx").MobxResponse; - }; - }; - QueryValidatorUnbondingDelegationsStore: { - new (): { - store: import("./mobx").QueryStore; - validatorUnbondingDelegations(request: import("./cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsRequest): import("./mobx").MobxResponse; - }; - }; - QueryDelegationStore: { - new (): { - store: import("./mobx").QueryStore; - delegation(request: import("./cosmos/staking/v1beta1/query").QueryDelegationRequest): import("./mobx").MobxResponse; - }; - }; - QueryUnbondingDelegationStore: { - new (): { - store: import("./mobx").QueryStore; - unbondingDelegation(request: import("./cosmos/staking/v1beta1/query").QueryUnbondingDelegationRequest): import("./mobx").MobxResponse; - }; - }; - QueryDelegatorDelegationsStore: { - new (): { - store: import("./mobx").QueryStore; - delegatorDelegations(request: import("./cosmos/staking/v1beta1/query").QueryDelegatorDelegationsRequest): import("./mobx").MobxResponse; - }; - }; - QueryDelegatorUnbondingDelegationsStore: { - new (): { - store: import("./mobx").QueryStore; - delegatorUnbondingDelegations(request: import("./cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsRequest): import("./mobx").MobxResponse; - }; - }; - QueryRedelegationsStore: { - new (): { - store: import("./mobx").QueryStore; - redelegations(request: import("./cosmos/staking/v1beta1/query").QueryRedelegationsRequest): import("./mobx").MobxResponse; - }; - }; - QueryDelegatorValidatorsStore: { - new (): { - store: import("./mobx").QueryStore; - delegatorValidators(request: import("./cosmos/staking/v1beta1/query").QueryDelegatorValidatorsRequest): import("./mobx").MobxResponse; - }; - }; - QueryDelegatorValidatorStore: { - new (): { - store: import("./mobx").QueryStore; - delegatorValidator(request: import("./cosmos/staking/v1beta1/query").QueryDelegatorValidatorRequest): import("./mobx").MobxResponse; - }; - }; - QueryHistoricalInfoStore: { - new (): { - store: import("./mobx").QueryStore; - historicalInfo(request: import("./cosmos/staking/v1beta1/query").QueryHistoricalInfoRequest): import("./mobx").MobxResponse; - }; - }; - QueryPoolStore: { - new (): { - store: import("./mobx").QueryStore; - pool(request: import("./cosmos/staking/v1beta1/query").QueryPoolRequest): import("./mobx").MobxResponse; - }; - }; - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./cosmos/staking/v1beta1/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - tx: { - v1beta1: { - QuerySimulateStore: { - new (): { - store: import("./mobx").QueryStore; - simulate(request: import("./cosmos/tx/v1beta1/service").SimulateRequest): import("./mobx").MobxResponse; - }; - }; - QueryGetTxStore: { - new (): { - store: import("./mobx").QueryStore; - getTx(request: import("./cosmos/tx/v1beta1/service").GetTxRequest): import("./mobx").MobxResponse; - }; - }; - QueryBroadcastTxStore: { - new (): { - store: import("./mobx").QueryStore; - broadcastTx(request: import("./cosmos/tx/v1beta1/service").BroadcastTxRequest): import("./mobx").MobxResponse; - }; - }; - QueryGetTxsEventStore: { - new (): { - store: import("./mobx").QueryStore; - getTxsEvent(request: import("./cosmos/tx/v1beta1/service").GetTxsEventRequest): import("./mobx").MobxResponse; - }; - }; - QueryGetBlockWithTxsStore: { - new (): { - store: import("./mobx").QueryStore; - getBlockWithTxs(request: import("./cosmos/tx/v1beta1/service").GetBlockWithTxsRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - upgrade: { - v1beta1: { - QueryCurrentPlanStore: { - new (): { - store: import("./mobx").QueryStore; - currentPlan(request: import("./cosmos/upgrade/v1beta1/query").QueryCurrentPlanRequest): import("./mobx").MobxResponse; - }; - }; - QueryAppliedPlanStore: { - new (): { - store: import("./mobx").QueryStore; - appliedPlan(request: import("./cosmos/upgrade/v1beta1/query").QueryAppliedPlanRequest): import("./mobx").MobxResponse; - }; - }; - QueryUpgradedConsensusStateStore: { - new (): { - store: import("./mobx").QueryStore; - upgradedConsensusState(request: import("./cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateRequest): import("./mobx").MobxResponse; - }; - }; - QueryModuleVersionsStore: { - new (): { - store: import("./mobx").QueryStore; - moduleVersions(request: import("./cosmos/upgrade/v1beta1/query").QueryModuleVersionsRequest): import("./mobx").MobxResponse; - }; - }; - QueryAuthorityStore: { - new (): { - store: import("./mobx").QueryStore; - authority(request: import("./cosmos/upgrade/v1beta1/query").QueryAuthorityRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - }; - cosmwasm: { - wasm: { - v1: { - QueryContractInfoStore: { - new (): { - store: import("./mobx").QueryStore; - contractInfo(request: import("./cosmwasm/wasm/v1/query").QueryContractInfoRequest): import("./mobx").MobxResponse; - }; - }; - QueryContractHistoryStore: { - new (): { - store: import("./mobx").QueryStore; - contractHistory(request: import("./cosmwasm/wasm/v1/query").QueryContractHistoryRequest): import("./mobx").MobxResponse; - }; - }; - QueryContractsByCodeStore: { - new (): { - store: import("./mobx").QueryStore; - contractsByCode(request: import("./cosmwasm/wasm/v1/query").QueryContractsByCodeRequest): import("./mobx").MobxResponse; - }; - }; - QueryAllContractStateStore: { - new (): { - store: import("./mobx").QueryStore; - allContractState(request: import("./cosmwasm/wasm/v1/query").QueryAllContractStateRequest): import("./mobx").MobxResponse; - }; - }; - QueryRawContractStateStore: { - new (): { - store: import("./mobx").QueryStore; - rawContractState(request: import("./cosmwasm/wasm/v1/query").QueryRawContractStateRequest): import("./mobx").MobxResponse; - }; - }; - QuerySmartContractStateStore: { - new (): { - store: import("./mobx").QueryStore; - smartContractState(request: import("./cosmwasm/wasm/v1/query").QuerySmartContractStateRequest): import("./mobx").MobxResponse; - }; - }; - QueryCodeStore: { - new (): { - store: import("./mobx").QueryStore; - code(request: import("./cosmwasm/wasm/v1/query").QueryCodeRequest): import("./mobx").MobxResponse; - }; - }; - QueryCodesStore: { - new (): { - store: import("./mobx").QueryStore; - codes(request: import("./cosmwasm/wasm/v1/query").QueryCodesRequest): import("./mobx").MobxResponse; - }; - }; - QueryPinnedCodesStore: { - new (): { - store: import("./mobx").QueryStore; - pinnedCodes(request: import("./cosmwasm/wasm/v1/query").QueryPinnedCodesRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - }; - ibc: { - applications: { - transfer: { - v1: { - QueryDenomTraceStore: { - new (): { - store: import("./mobx").QueryStore; - denomTrace(request: import("./ibc/applications/transfer/v1/query").QueryDenomTraceRequest): import("./mobx").MobxResponse; - }; - }; - QueryDenomTracesStore: { - new (): { - store: import("./mobx").QueryStore; - denomTraces(request: import("./ibc/applications/transfer/v1/query").QueryDenomTracesRequest): import("./mobx").MobxResponse; - }; - }; - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./ibc/applications/transfer/v1/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - }; - core: { - channel: { - v1: { - QueryChannelStore: { - new (): { - store: import("./mobx").QueryStore; - channel(request: import("./ibc/core/channel/v1/query").QueryChannelRequest): import("./mobx").MobxResponse; - }; - }; - QueryChannelsStore: { - new (): { - store: import("./mobx").QueryStore; - channels(request: import("./ibc/core/channel/v1/query").QueryChannelsRequest): import("./mobx").MobxResponse; - }; - }; - QueryConnectionChannelsStore: { - new (): { - store: import("./mobx").QueryStore; - connectionChannels(request: import("./ibc/core/channel/v1/query").QueryConnectionChannelsRequest): import("./mobx").MobxResponse; - }; - }; - QueryChannelClientStateStore: { - new (): { - store: import("./mobx").QueryStore; - channelClientState(request: import("./ibc/core/channel/v1/query").QueryChannelClientStateRequest): import("./mobx").MobxResponse; - }; - }; - QueryChannelConsensusStateStore: { - new (): { - store: import("./mobx").QueryStore; - channelConsensusState(request: import("./ibc/core/channel/v1/query").QueryChannelConsensusStateRequest): import("./mobx").MobxResponse; - }; - }; - QueryPacketCommitmentStore: { - new (): { - store: import("./mobx").QueryStore; - packetCommitment(request: import("./ibc/core/channel/v1/query").QueryPacketCommitmentRequest): import("./mobx").MobxResponse; - }; - }; - QueryPacketCommitmentsStore: { - new (): { - store: import("./mobx").QueryStore; - packetCommitments(request: import("./ibc/core/channel/v1/query").QueryPacketCommitmentsRequest): import("./mobx").MobxResponse; - }; - }; - QueryPacketReceiptStore: { - new (): { - store: import("./mobx").QueryStore; - packetReceipt(request: import("./ibc/core/channel/v1/query").QueryPacketReceiptRequest): import("./mobx").MobxResponse; - }; - }; - QueryPacketAcknowledgementStore: { - new (): { - store: import("./mobx").QueryStore; - packetAcknowledgement(request: import("./ibc/core/channel/v1/query").QueryPacketAcknowledgementRequest): import("./mobx").MobxResponse; - }; - }; - QueryPacketAcknowledgementsStore: { - new (): { - store: import("./mobx").QueryStore; - packetAcknowledgements(request: import("./ibc/core/channel/v1/query").QueryPacketAcknowledgementsRequest): import("./mobx").MobxResponse; - }; - }; - QueryUnreceivedPacketsStore: { - new (): { - store: import("./mobx").QueryStore; - unreceivedPackets(request: import("./ibc/core/channel/v1/query").QueryUnreceivedPacketsRequest): import("./mobx").MobxResponse; - }; - }; - QueryUnreceivedAcksStore: { - new (): { - store: import("./mobx").QueryStore; - unreceivedAcks(request: import("./ibc/core/channel/v1/query").QueryUnreceivedAcksRequest): import("./mobx").MobxResponse; - }; - }; - QueryNextSequenceReceiveStore: { - new (): { - store: import("./mobx").QueryStore; - nextSequenceReceive(request: import("./ibc/core/channel/v1/query").QueryNextSequenceReceiveRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - client: { - v1: { - QueryClientStateStore: { - new (): { - store: import("./mobx").QueryStore; - clientState(request: import("./ibc/core/client/v1/query").QueryClientStateRequest): import("./mobx").MobxResponse; - }; - }; - QueryClientStatesStore: { - new (): { - store: import("./mobx").QueryStore; - clientStates(request: import("./ibc/core/client/v1/query").QueryClientStatesRequest): import("./mobx").MobxResponse; - }; - }; - QueryConsensusStateStore: { - new (): { - store: import("./mobx").QueryStore; - consensusState(request: import("./ibc/core/client/v1/query").QueryConsensusStateRequest): import("./mobx").MobxResponse; - }; - }; - QueryConsensusStatesStore: { - new (): { - store: import("./mobx").QueryStore; - consensusStates(request: import("./ibc/core/client/v1/query").QueryConsensusStatesRequest): import("./mobx").MobxResponse; - }; - }; - QueryClientStatusStore: { - new (): { - store: import("./mobx").QueryStore; - clientStatus(request: import("./ibc/core/client/v1/query").QueryClientStatusRequest): import("./mobx").MobxResponse; - }; - }; - QueryClientParamsStore: { - new (): { - store: import("./mobx").QueryStore; - clientParams(request: import("./ibc/core/client/v1/query").QueryClientParamsRequest): import("./mobx").MobxResponse; - }; - }; - QueryUpgradedClientStateStore: { - new (): { - store: import("./mobx").QueryStore; - upgradedClientState(request: import("./ibc/core/client/v1/query").QueryUpgradedClientStateRequest): import("./mobx").MobxResponse; - }; - }; - QueryUpgradedConsensusStateStore: { - new (): { - store: import("./mobx").QueryStore; - upgradedConsensusState(request: import("./ibc/core/client/v1/query").QueryUpgradedConsensusStateRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - connection: { - v1: { - QueryConnectionStore: { - new (): { - store: import("./mobx").QueryStore; - connection(request: import("./ibc/core/connection/v1/query").QueryConnectionRequest): import("./mobx").MobxResponse; - }; - }; - QueryConnectionsStore: { - new (): { - store: import("./mobx").QueryStore; - connections(request: import("./ibc/core/connection/v1/query").QueryConnectionsRequest): import("./mobx").MobxResponse; - }; - }; - QueryClientConnectionsStore: { - new (): { - store: import("./mobx").QueryStore; - clientConnections(request: import("./ibc/core/connection/v1/query").QueryClientConnectionsRequest): import("./mobx").MobxResponse; - }; - }; - QueryConnectionClientStateStore: { - new (): { - store: import("./mobx").QueryStore; - connectionClientState(request: import("./ibc/core/connection/v1/query").QueryConnectionClientStateRequest): import("./mobx").MobxResponse; - }; - }; - QueryConnectionConsensusStateStore: { - new (): { - store: import("./mobx").QueryStore; - connectionConsensusState(request: import("./ibc/core/connection/v1/query").QueryConnectionConsensusStateRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - port: { - v1: { - QueryAppVersionStore: { - new (): { - store: import("./mobx").QueryStore; - appVersion(request: import("./ibc/core/port/v1/query").QueryAppVersionRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - }; - }; - osmosis: { - claim: { - v1beta1: { - QueryModuleAccountBalanceStore: { - new (): { - store: import("./mobx").QueryStore; - moduleAccountBalance(request: import("./osmosis/claim/v1beta1/query").QueryModuleAccountBalanceRequest): import("./mobx").MobxResponse; - }; - }; - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./osmosis/claim/v1beta1/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - QueryClaimRecordStore: { - new (): { - store: import("./mobx").QueryStore; - claimRecord(request: import("./osmosis/claim/v1beta1/query").QueryClaimRecordRequest): import("./mobx").MobxResponse; - }; - }; - QueryClaimableForActionStore: { - new (): { - store: import("./mobx").QueryStore; - claimableForAction(request: import("./osmosis/claim/v1beta1/query").QueryClaimableForActionRequest): import("./mobx").MobxResponse; - }; - }; - QueryTotalClaimableStore: { - new (): { - store: import("./mobx").QueryStore; - totalClaimable(request: import("./osmosis/claim/v1beta1/query").QueryTotalClaimableRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - epochs: { - v1beta1: { - QueryEpochInfosStore: { - new (): { - store: import("./mobx").QueryStore; - epochInfos(request: import("./osmosis/epochs/query").QueryEpochsInfoRequest): import("./mobx").MobxResponse; - }; - }; - QueryCurrentEpochStore: { - new (): { - store: import("./mobx").QueryStore; - currentEpoch(request: import("./osmosis/epochs/query").QueryCurrentEpochRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - gamm: { - v2: { - QuerySpotPriceStore: { - new (): { - store: import("./mobx").QueryStore; - spotPrice(request: import("./osmosis/gamm/v2/query").QuerySpotPriceRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - ibcratelimit: { - v1beta1: { - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./osmosis/ibc-rate-limit/v1beta1/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - incentives: { - QueryModuleToDistributeCoinsStore: { - new (): { - store: import("./mobx").QueryStore; - moduleToDistributeCoins(request: import("./osmosis/incentives/query").ModuleToDistributeCoinsRequest): import("./mobx").MobxResponse; - }; - }; - QueryGaugeByIDStore: { - new (): { - store: import("./mobx").QueryStore; - gaugeByID(request: import("./osmosis/incentives/query").GaugeByIDRequest): import("./mobx").MobxResponse; - }; - }; - QueryGaugesStore: { - new (): { - store: import("./mobx").QueryStore; - gauges(request: import("./osmosis/incentives/query").GaugesRequest): import("./mobx").MobxResponse; - }; - }; - QueryActiveGaugesStore: { - new (): { - store: import("./mobx").QueryStore; - activeGauges(request: import("./osmosis/incentives/query").ActiveGaugesRequest): import("./mobx").MobxResponse; - }; - }; - QueryActiveGaugesPerDenomStore: { - new (): { - store: import("./mobx").QueryStore; - activeGaugesPerDenom(request: import("./osmosis/incentives/query").ActiveGaugesPerDenomRequest): import("./mobx").MobxResponse; - }; - }; - QueryUpcomingGaugesStore: { - new (): { - store: import("./mobx").QueryStore; - upcomingGauges(request: import("./osmosis/incentives/query").UpcomingGaugesRequest): import("./mobx").MobxResponse; - }; - }; - QueryUpcomingGaugesPerDenomStore: { - new (): { - store: import("./mobx").QueryStore; - upcomingGaugesPerDenom(request: import("./osmosis/incentives/query").UpcomingGaugesPerDenomRequest): import("./mobx").MobxResponse; - }; - }; - QueryRewardsEstStore: { - new (): { - store: import("./mobx").QueryStore; - rewardsEst(request: import("./osmosis/incentives/query").RewardsEstRequest): import("./mobx").MobxResponse; - }; - }; - QueryLockableDurationsStore: { - new (): { - store: import("./mobx").QueryStore; - lockableDurations(request: import("./osmosis/incentives/query").QueryLockableDurationsRequest): import("./mobx").MobxResponse; - }; - }; - }; - lockup: { - QueryModuleBalanceStore: { - new (): { - store: import("./mobx").QueryStore; - moduleBalance(request: import("./osmosis/lockup/query").ModuleBalanceRequest): import("./mobx").MobxResponse; - }; - }; - QueryModuleLockedAmountStore: { - new (): { - store: import("./mobx").QueryStore; - moduleLockedAmount(request: import("./osmosis/lockup/query").ModuleLockedAmountRequest): import("./mobx").MobxResponse; - }; - }; - QueryAccountUnlockableCoinsStore: { - new (): { - store: import("./mobx").QueryStore; - accountUnlockableCoins(request: import("./osmosis/lockup/query").AccountUnlockableCoinsRequest): import("./mobx").MobxResponse; - }; - }; - QueryAccountUnlockingCoinsStore: { - new (): { - store: import("./mobx").QueryStore; - accountUnlockingCoins(request: import("./osmosis/lockup/query").AccountUnlockingCoinsRequest): import("./mobx").MobxResponse; - }; - }; - QueryAccountLockedCoinsStore: { - new (): { - store: import("./mobx").QueryStore; - accountLockedCoins(request: import("./osmosis/lockup/query").AccountLockedCoinsRequest): import("./mobx").MobxResponse; - }; - }; - QueryAccountLockedPastTimeStore: { - new (): { - store: import("./mobx").QueryStore; - accountLockedPastTime(request: import("./osmosis/lockup/query").AccountLockedPastTimeRequest): import("./mobx").MobxResponse; - }; - }; - QueryAccountLockedPastTimeNotUnlockingOnlyStore: { - new (): { - store: import("./mobx").QueryStore; - accountLockedPastTimeNotUnlockingOnly(request: import("./osmosis/lockup/query").AccountLockedPastTimeNotUnlockingOnlyRequest): import("./mobx").MobxResponse; - }; - }; - QueryAccountUnlockedBeforeTimeStore: { - new (): { - store: import("./mobx").QueryStore; - accountUnlockedBeforeTime(request: import("./osmosis/lockup/query").AccountUnlockedBeforeTimeRequest): import("./mobx").MobxResponse; - }; - }; - QueryAccountLockedPastTimeDenomStore: { - new (): { - store: import("./mobx").QueryStore; - accountLockedPastTimeDenom(request: import("./osmosis/lockup/query").AccountLockedPastTimeDenomRequest): import("./mobx").MobxResponse; - }; - }; - QueryLockedDenomStore: { - new (): { - store: import("./mobx").QueryStore; - lockedDenom(request: import("./osmosis/lockup/query").LockedDenomRequest): import("./mobx").MobxResponse; - }; - }; - QueryLockedByIDStore: { - new (): { - store: import("./mobx").QueryStore; - lockedByID(request: import("./osmosis/lockup/query").LockedRequest): import("./mobx").MobxResponse; - }; - }; - QuerySyntheticLockupsByLockupIDStore: { - new (): { - store: import("./mobx").QueryStore; - syntheticLockupsByLockupID(request: import("./osmosis/lockup/query").SyntheticLockupsByLockupIDRequest): import("./mobx").MobxResponse; - }; - }; - QueryAccountLockedLongerDurationStore: { - new (): { - store: import("./mobx").QueryStore; - accountLockedLongerDuration(request: import("./osmosis/lockup/query").AccountLockedLongerDurationRequest): import("./mobx").MobxResponse; - }; - }; - QueryAccountLockedDurationStore: { - new (): { - store: import("./mobx").QueryStore; - accountLockedDuration(request: import("./osmosis/lockup/query").AccountLockedDurationRequest): import("./mobx").MobxResponse; - }; - }; - QueryAccountLockedLongerDurationNotUnlockingOnlyStore: { - new (): { - store: import("./mobx").QueryStore; - accountLockedLongerDurationNotUnlockingOnly(request: import("./osmosis/lockup/query").AccountLockedLongerDurationNotUnlockingOnlyRequest): import("./mobx").MobxResponse; - }; - }; - QueryAccountLockedLongerDurationDenomStore: { - new (): { - store: import("./mobx").QueryStore; - accountLockedLongerDurationDenom(request: import("./osmosis/lockup/query").AccountLockedLongerDurationDenomRequest): import("./mobx").MobxResponse; - }; - }; - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./osmosis/lockup/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - }; - mint: { - v1beta1: { - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./osmosis/mint/v1beta1/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - QueryEpochProvisionsStore: { - new (): { - store: import("./mobx").QueryStore; - epochProvisions(request: import("./osmosis/mint/v1beta1/query").QueryEpochProvisionsRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - poolincentives: { - v1beta1: { - QueryGaugeIdsStore: { - new (): { - store: import("./mobx").QueryStore; - gaugeIds(request: import("./osmosis/pool-incentives/v1beta1/query").QueryGaugeIdsRequest): import("./mobx").MobxResponse; - }; - }; - QueryDistrInfoStore: { - new (): { - store: import("./mobx").QueryStore; - distrInfo(request: import("./osmosis/pool-incentives/v1beta1/query").QueryDistrInfoRequest): import("./mobx").MobxResponse; - }; - }; - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./osmosis/pool-incentives/v1beta1/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - QueryLockableDurationsStore: { - new (): { - store: import("./mobx").QueryStore; - lockableDurations(request: import("./osmosis/pool-incentives/v1beta1/query").QueryLockableDurationsRequest): import("./mobx").MobxResponse; - }; - }; - QueryIncentivizedPoolsStore: { - new (): { - store: import("./mobx").QueryStore; - incentivizedPools(request: import("./osmosis/pool-incentives/v1beta1/query").QueryIncentivizedPoolsRequest): import("./mobx").MobxResponse; - }; - }; - QueryExternalIncentiveGaugesStore: { - new (): { - store: import("./mobx").QueryStore; - externalIncentiveGauges(request: import("./osmosis/pool-incentives/v1beta1/query").QueryExternalIncentiveGaugesRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - superfluid: { - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./osmosis/superfluid/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - QueryAssetTypeStore: { - new (): { - store: import("./mobx").QueryStore; - assetType(request: import("./osmosis/superfluid/query").AssetTypeRequest): import("./mobx").MobxResponse; - }; - }; - QueryAllAssetsStore: { - new (): { - store: import("./mobx").QueryStore; - allAssets(request: import("./osmosis/superfluid/query").AllAssetsRequest): import("./mobx").MobxResponse; - }; - }; - QueryAssetMultiplierStore: { - new (): { - store: import("./mobx").QueryStore; - assetMultiplier(request: import("./osmosis/superfluid/query").AssetMultiplierRequest): import("./mobx").MobxResponse; - }; - }; - QueryAllIntermediaryAccountsStore: { - new (): { - store: import("./mobx").QueryStore; - allIntermediaryAccounts(request: import("./osmosis/superfluid/query").AllIntermediaryAccountsRequest): import("./mobx").MobxResponse; - }; - }; - QueryConnectedIntermediaryAccountStore: { - new (): { - store: import("./mobx").QueryStore; - connectedIntermediaryAccount(request: import("./osmosis/superfluid/query").ConnectedIntermediaryAccountRequest): import("./mobx").MobxResponse; - }; - }; - QueryTotalDelegationByValidatorForDenomStore: { - new (): { - store: import("./mobx").QueryStore; - totalDelegationByValidatorForDenom(request: import("./osmosis/superfluid/query").QueryTotalDelegationByValidatorForDenomRequest): import("./mobx").MobxResponse; - }; - }; - QueryTotalSuperfluidDelegationsStore: { - new (): { - store: import("./mobx").QueryStore; - totalSuperfluidDelegations(request: import("./osmosis/superfluid/query").TotalSuperfluidDelegationsRequest): import("./mobx").MobxResponse; - }; - }; - QuerySuperfluidDelegationAmountStore: { - new (): { - store: import("./mobx").QueryStore; - superfluidDelegationAmount(request: import("./osmosis/superfluid/query").SuperfluidDelegationAmountRequest): import("./mobx").MobxResponse; - }; - }; - QuerySuperfluidDelegationsByDelegatorStore: { - new (): { - store: import("./mobx").QueryStore; - superfluidDelegationsByDelegator(request: import("./osmosis/superfluid/query").SuperfluidDelegationsByDelegatorRequest): import("./mobx").MobxResponse; - }; - }; - QuerySuperfluidUndelegationsByDelegatorStore: { - new (): { - store: import("./mobx").QueryStore; - superfluidUndelegationsByDelegator(request: import("./osmosis/superfluid/query").SuperfluidUndelegationsByDelegatorRequest): import("./mobx").MobxResponse; - }; - }; - QuerySuperfluidDelegationsByValidatorDenomStore: { - new (): { - store: import("./mobx").QueryStore; - superfluidDelegationsByValidatorDenom(request: import("./osmosis/superfluid/query").SuperfluidDelegationsByValidatorDenomRequest): import("./mobx").MobxResponse; - }; - }; - QueryEstimateSuperfluidDelegatedAmountByValidatorDenomStore: { - new (): { - store: import("./mobx").QueryStore; - estimateSuperfluidDelegatedAmountByValidatorDenom(request: import("./osmosis/superfluid/query").EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): import("./mobx").MobxResponse; - }; - }; - QueryTotalDelegationByDelegatorStore: { - new (): { - store: import("./mobx").QueryStore; - totalDelegationByDelegator(request: import("./osmosis/superfluid/query").QueryTotalDelegationByDelegatorRequest): import("./mobx").MobxResponse; - }; - }; - QueryUnpoolWhitelistStore: { - new (): { - store: import("./mobx").QueryStore; - unpoolWhitelist(request: import("./osmosis/superfluid/query").QueryUnpoolWhitelistRequest): import("./mobx").MobxResponse; - }; - }; - }; - tokenfactory: { - v1beta1: { - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./osmosis/tokenfactory/v1beta1/query").QueryParamsRequest): import("./mobx").MobxResponse; - }; - }; - QueryDenomAuthorityMetadataStore: { - new (): { - store: import("./mobx").QueryStore; - denomAuthorityMetadata(request: import("./osmosis/tokenfactory/v1beta1/query").QueryDenomAuthorityMetadataRequest): import("./mobx").MobxResponse; - }; - }; - QueryDenomsFromCreatorStore: { - new (): { - store: import("./mobx").QueryStore; - denomsFromCreator(request: import("./osmosis/tokenfactory/v1beta1/query").QueryDenomsFromCreatorRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - twap: { - v1beta1: { - QueryParamsStore: { - new (): { - store: import("./mobx").QueryStore; - params(request: import("./osmosis/twap/v1beta1/query").ParamsRequest): import("./mobx").MobxResponse; - }; - }; - QueryArithmeticTwapStore: { - new (): { - store: import("./mobx").QueryStore; - arithmeticTwap(request: import("./osmosis/twap/v1beta1/query").ArithmeticTwapRequest): import("./mobx").MobxResponse; - }; - }; - QueryArithmeticTwapToNowStore: { - new (): { - store: import("./mobx").QueryStore; - arithmeticTwapToNow(request: import("./osmosis/twap/v1beta1/query").ArithmeticTwapToNowRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - txfees: { - v1beta1: { - QueryFeeTokensStore: { - new (): { - store: import("./mobx").QueryStore; - feeTokens(request: import("./osmosis/txfees/v1beta1/query").QueryFeeTokensRequest): import("./mobx").MobxResponse; - }; - }; - QueryDenomSpotPriceStore: { - new (): { - store: import("./mobx").QueryStore; - denomSpotPrice(request: import("./osmosis/txfees/v1beta1/query").QueryDenomSpotPriceRequest): import("./mobx").MobxResponse; - }; - }; - QueryDenomPoolIdStore: { - new (): { - store: import("./mobx").QueryStore; - denomPoolId(request: import("./osmosis/txfees/v1beta1/query").QueryDenomPoolIdRequest): import("./mobx").MobxResponse; - }; - }; - QueryBaseDenomStore: { - new (): { - store: import("./mobx").QueryStore; - baseDenom(request: import("./osmosis/txfees/v1beta1/query").QueryBaseDenomRequest): import("./mobx").MobxResponse; - }; - }; - }; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/bundle.d.ts b/examples/authz/types/codegen/osmosis/bundle.d.ts deleted file mode 100644 index 92fd0825..00000000 --- a/examples/authz/types/codegen/osmosis/bundle.d.ts +++ /dev/null @@ -1,7902 +0,0 @@ -import * as _132 from "./claim/v1beta1/claim"; -import * as _133 from "./claim/v1beta1/genesis"; -import * as _134 from "./claim/v1beta1/params"; -import * as _135 from "./claim/v1beta1/query"; -import * as _136 from "./epochs/genesis"; -import * as _137 from "./epochs/query"; -import * as _138 from "./gamm/pool-models/balancer/tx/tx"; -import * as _139 from "./gamm/pool-models/stableswap/stableswap_pool"; -import * as _140 from "./gamm/pool-models/stableswap/tx"; -import * as _141 from "./gamm/v2/query"; -import * as _142 from "./ibc-rate-limit/v1beta1/params"; -import * as _143 from "./ibc-rate-limit/v1beta1/query"; -import * as _144 from "./incentives/gauge"; -import * as _145 from "./incentives/genesis"; -import * as _146 from "./incentives/params"; -import * as _147 from "./incentives/query"; -import * as _148 from "./incentives/tx"; -import * as _149 from "./lockup/genesis"; -import * as _150 from "./lockup/lock"; -import * as _151 from "./lockup/params"; -import * as _152 from "./lockup/query"; -import * as _153 from "./lockup/tx"; -import * as _154 from "./mint/v1beta1/genesis"; -import * as _155 from "./mint/v1beta1/mint"; -import * as _156 from "./mint/v1beta1/query"; -import * as _157 from "./pool-incentives/v1beta1/genesis"; -import * as _158 from "./pool-incentives/v1beta1/gov"; -import * as _159 from "./pool-incentives/v1beta1/incentives"; -import * as _160 from "./pool-incentives/v1beta1/query"; -import * as _161 from "./sumtree/v1beta1/tree"; -import * as _162 from "./superfluid/genesis"; -import * as _163 from "./superfluid/params"; -import * as _164 from "./superfluid/query"; -import * as _165 from "./superfluid/superfluid"; -import * as _166 from "./superfluid/tx"; -import * as _167 from "./tokenfactory/v1beta1/authorityMetadata"; -import * as _168 from "./tokenfactory/v1beta1/genesis"; -import * as _169 from "./tokenfactory/v1beta1/params"; -import * as _170 from "./tokenfactory/v1beta1/query"; -import * as _171 from "./tokenfactory/v1beta1/tx"; -import * as _172 from "./twap/v1beta1/genesis"; -import * as _173 from "./twap/v1beta1/query"; -import * as _174 from "./twap/v1beta1/twap_record"; -import * as _175 from "./txfees/v1beta1/feetoken"; -import * as _176 from "./txfees/v1beta1/genesis"; -import * as _177 from "./txfees/v1beta1/gov"; -import * as _178 from "./txfees/v1beta1/query"; -import * as _284 from "./claim/v1beta1/query.rpc.Query"; -import * as _285 from "./epochs/query.rpc.Query"; -import * as _286 from "./gamm/v2/query.rpc.Query"; -import * as _287 from "./ibc-rate-limit/v1beta1/query.rpc.Query"; -import * as _288 from "./incentives/query.rpc.Query"; -import * as _289 from "./lockup/query.rpc.Query"; -import * as _290 from "./mint/v1beta1/query.rpc.Query"; -import * as _291 from "./pool-incentives/v1beta1/query.rpc.Query"; -import * as _292 from "./superfluid/query.rpc.Query"; -import * as _293 from "./tokenfactory/v1beta1/query.rpc.Query"; -import * as _294 from "./twap/v1beta1/query.rpc.Query"; -import * as _295 from "./txfees/v1beta1/query.rpc.Query"; -import * as _296 from "./gamm/pool-models/balancer/tx/tx.rpc.msg"; -import * as _297 from "./gamm/pool-models/stableswap/tx.rpc.msg"; -import * as _298 from "./incentives/tx.rpc.msg"; -import * as _299 from "./lockup/tx.rpc.msg"; -import * as _300 from "./superfluid/tx.rpc.msg"; -import * as _301 from "./tokenfactory/v1beta1/tx.rpc.msg"; -export declare namespace osmosis { - namespace claim { - const v1beta1: { - QueryClientImpl: typeof _284.QueryClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _284.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useModuleAccountBalance: ({ request, options }: _284.UseModuleAccountBalanceQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _284.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useClaimRecord: ({ request, options }: _284.UseClaimRecordQuery) => import("@tanstack/react-query").UseQueryResult; - useClaimableForAction: ({ request, options }: _284.UseClaimableForActionQuery) => import("@tanstack/react-query").UseQueryResult; - useTotalClaimable: ({ request, options }: _284.UseTotalClaimableQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryModuleAccountBalanceStore: { - new (): { - store: import("..").QueryStore<_135.QueryModuleAccountBalanceRequest, _135.QueryModuleAccountBalanceResponse>; - moduleAccountBalance(request: _135.QueryModuleAccountBalanceRequest): import("..").MobxResponse<_135.QueryModuleAccountBalanceResponse>; - }; - }; - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_135.QueryParamsRequest, _135.QueryParamsResponse>; - params(request: _135.QueryParamsRequest): import("..").MobxResponse<_135.QueryParamsResponse>; - }; - }; - QueryClaimRecordStore: { - new (): { - store: import("..").QueryStore<_135.QueryClaimRecordRequest, _135.QueryClaimRecordResponse>; - claimRecord(request: _135.QueryClaimRecordRequest): import("..").MobxResponse<_135.QueryClaimRecordResponse>; - }; - }; - QueryClaimableForActionStore: { - new (): { - store: import("..").QueryStore<_135.QueryClaimableForActionRequest, _135.QueryClaimableForActionResponse>; - claimableForAction(request: _135.QueryClaimableForActionRequest): import("..").MobxResponse<_135.QueryClaimableForActionResponse>; - }; - }; - QueryTotalClaimableStore: { - new (): { - store: import("..").QueryStore<_135.QueryTotalClaimableRequest, _135.QueryTotalClaimableResponse>; - totalClaimable(request: _135.QueryTotalClaimableRequest): import("..").MobxResponse<_135.QueryTotalClaimableResponse>; - }; - }; - }; - QueryModuleAccountBalanceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _135.QueryModuleAccountBalanceRequest; - isSDK(o: any): o is _135.QueryModuleAccountBalanceRequestSDKType; - isAmino(o: any): o is _135.QueryModuleAccountBalanceRequestAmino; - encode(_: _135.QueryModuleAccountBalanceRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _135.QueryModuleAccountBalanceRequest; - fromJSON(_: any): _135.QueryModuleAccountBalanceRequest; - toJSON(_: _135.QueryModuleAccountBalanceRequest): unknown; - fromPartial(_: {}): _135.QueryModuleAccountBalanceRequest; - fromSDK(_: _135.QueryModuleAccountBalanceRequestSDKType): _135.QueryModuleAccountBalanceRequest; - toSDK(_: _135.QueryModuleAccountBalanceRequest): _135.QueryModuleAccountBalanceRequestSDKType; - fromAmino(_: _135.QueryModuleAccountBalanceRequestAmino): _135.QueryModuleAccountBalanceRequest; - toAmino(_: _135.QueryModuleAccountBalanceRequest): _135.QueryModuleAccountBalanceRequestAmino; - fromAminoMsg(object: _135.QueryModuleAccountBalanceRequestAminoMsg): _135.QueryModuleAccountBalanceRequest; - toAminoMsg(message: _135.QueryModuleAccountBalanceRequest): _135.QueryModuleAccountBalanceRequestAminoMsg; - fromProtoMsg(message: _135.QueryModuleAccountBalanceRequestProtoMsg): _135.QueryModuleAccountBalanceRequest; - toProto(message: _135.QueryModuleAccountBalanceRequest): Uint8Array; - toProtoMsg(message: _135.QueryModuleAccountBalanceRequest): _135.QueryModuleAccountBalanceRequestProtoMsg; - }; - QueryModuleAccountBalanceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _135.QueryModuleAccountBalanceResponse; - isSDK(o: any): o is _135.QueryModuleAccountBalanceResponseSDKType; - isAmino(o: any): o is _135.QueryModuleAccountBalanceResponseAmino; - encode(message: _135.QueryModuleAccountBalanceResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _135.QueryModuleAccountBalanceResponse; - fromJSON(object: any): _135.QueryModuleAccountBalanceResponse; - toJSON(message: _135.QueryModuleAccountBalanceResponse): unknown; - fromPartial(object: { - moduleAccountBalance?: { - denom?: string; - amount?: string; - }[]; - }): _135.QueryModuleAccountBalanceResponse; - fromSDK(object: _135.QueryModuleAccountBalanceResponseSDKType): _135.QueryModuleAccountBalanceResponse; - toSDK(message: _135.QueryModuleAccountBalanceResponse): _135.QueryModuleAccountBalanceResponseSDKType; - fromAmino(object: _135.QueryModuleAccountBalanceResponseAmino): _135.QueryModuleAccountBalanceResponse; - toAmino(message: _135.QueryModuleAccountBalanceResponse): _135.QueryModuleAccountBalanceResponseAmino; - fromAminoMsg(object: _135.QueryModuleAccountBalanceResponseAminoMsg): _135.QueryModuleAccountBalanceResponse; - toAminoMsg(message: _135.QueryModuleAccountBalanceResponse): _135.QueryModuleAccountBalanceResponseAminoMsg; - fromProtoMsg(message: _135.QueryModuleAccountBalanceResponseProtoMsg): _135.QueryModuleAccountBalanceResponse; - toProto(message: _135.QueryModuleAccountBalanceResponse): Uint8Array; - toProtoMsg(message: _135.QueryModuleAccountBalanceResponse): _135.QueryModuleAccountBalanceResponseProtoMsg; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _135.QueryParamsRequest; - isSDK(o: any): o is _135.QueryParamsRequestSDKType; - isAmino(o: any): o is _135.QueryParamsRequestAmino; - encode(_: _135.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _135.QueryParamsRequest; - fromJSON(_: any): _135.QueryParamsRequest; - toJSON(_: _135.QueryParamsRequest): unknown; - fromPartial(_: {}): _135.QueryParamsRequest; - fromSDK(_: _135.QueryParamsRequestSDKType): _135.QueryParamsRequest; - toSDK(_: _135.QueryParamsRequest): _135.QueryParamsRequestSDKType; - fromAmino(_: _135.QueryParamsRequestAmino): _135.QueryParamsRequest; - toAmino(_: _135.QueryParamsRequest): _135.QueryParamsRequestAmino; - fromAminoMsg(object: _135.QueryParamsRequestAminoMsg): _135.QueryParamsRequest; - toAminoMsg(message: _135.QueryParamsRequest): _135.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _135.QueryParamsRequestProtoMsg): _135.QueryParamsRequest; - toProto(message: _135.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _135.QueryParamsRequest): _135.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _135.QueryParamsResponse; - isSDK(o: any): o is _135.QueryParamsResponseSDKType; - isAmino(o: any): o is _135.QueryParamsResponseAmino; - encode(message: _135.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _135.QueryParamsResponse; - fromJSON(object: any): _135.QueryParamsResponse; - toJSON(message: _135.QueryParamsResponse): unknown; - fromPartial(object: { - params?: { - airdropStartTime?: Date; - durationUntilDecay?: { - seconds?: bigint; - nanos?: number; - }; - durationOfDecay?: { - seconds?: bigint; - nanos?: number; - }; - claimDenom?: string; - }; - }): _135.QueryParamsResponse; - fromSDK(object: _135.QueryParamsResponseSDKType): _135.QueryParamsResponse; - toSDK(message: _135.QueryParamsResponse): _135.QueryParamsResponseSDKType; - fromAmino(object: _135.QueryParamsResponseAmino): _135.QueryParamsResponse; - toAmino(message: _135.QueryParamsResponse): _135.QueryParamsResponseAmino; - fromAminoMsg(object: _135.QueryParamsResponseAminoMsg): _135.QueryParamsResponse; - toAminoMsg(message: _135.QueryParamsResponse): _135.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _135.QueryParamsResponseProtoMsg): _135.QueryParamsResponse; - toProto(message: _135.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _135.QueryParamsResponse): _135.QueryParamsResponseProtoMsg; - }; - QueryClaimRecordRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _135.QueryClaimRecordRequest; - isSDK(o: any): o is _135.QueryClaimRecordRequestSDKType; - isAmino(o: any): o is _135.QueryClaimRecordRequestAmino; - encode(message: _135.QueryClaimRecordRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _135.QueryClaimRecordRequest; - fromJSON(object: any): _135.QueryClaimRecordRequest; - toJSON(message: _135.QueryClaimRecordRequest): unknown; - fromPartial(object: { - address?: string; - }): _135.QueryClaimRecordRequest; - fromSDK(object: _135.QueryClaimRecordRequestSDKType): _135.QueryClaimRecordRequest; - toSDK(message: _135.QueryClaimRecordRequest): _135.QueryClaimRecordRequestSDKType; - fromAmino(object: _135.QueryClaimRecordRequestAmino): _135.QueryClaimRecordRequest; - toAmino(message: _135.QueryClaimRecordRequest): _135.QueryClaimRecordRequestAmino; - fromAminoMsg(object: _135.QueryClaimRecordRequestAminoMsg): _135.QueryClaimRecordRequest; - toAminoMsg(message: _135.QueryClaimRecordRequest): _135.QueryClaimRecordRequestAminoMsg; - fromProtoMsg(message: _135.QueryClaimRecordRequestProtoMsg): _135.QueryClaimRecordRequest; - toProto(message: _135.QueryClaimRecordRequest): Uint8Array; - toProtoMsg(message: _135.QueryClaimRecordRequest): _135.QueryClaimRecordRequestProtoMsg; - }; - QueryClaimRecordResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _135.QueryClaimRecordResponse; - isSDK(o: any): o is _135.QueryClaimRecordResponseSDKType; - isAmino(o: any): o is _135.QueryClaimRecordResponseAmino; - encode(message: _135.QueryClaimRecordResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _135.QueryClaimRecordResponse; - fromJSON(object: any): _135.QueryClaimRecordResponse; - toJSON(message: _135.QueryClaimRecordResponse): unknown; - fromPartial(object: { - claimRecord?: { - address?: string; - initialClaimableAmount?: { - denom?: string; - amount?: string; - }[]; - actionCompleted?: boolean[]; - }; - }): _135.QueryClaimRecordResponse; - fromSDK(object: _135.QueryClaimRecordResponseSDKType): _135.QueryClaimRecordResponse; - toSDK(message: _135.QueryClaimRecordResponse): _135.QueryClaimRecordResponseSDKType; - fromAmino(object: _135.QueryClaimRecordResponseAmino): _135.QueryClaimRecordResponse; - toAmino(message: _135.QueryClaimRecordResponse): _135.QueryClaimRecordResponseAmino; - fromAminoMsg(object: _135.QueryClaimRecordResponseAminoMsg): _135.QueryClaimRecordResponse; - toAminoMsg(message: _135.QueryClaimRecordResponse): _135.QueryClaimRecordResponseAminoMsg; - fromProtoMsg(message: _135.QueryClaimRecordResponseProtoMsg): _135.QueryClaimRecordResponse; - toProto(message: _135.QueryClaimRecordResponse): Uint8Array; - toProtoMsg(message: _135.QueryClaimRecordResponse): _135.QueryClaimRecordResponseProtoMsg; - }; - QueryClaimableForActionRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _135.QueryClaimableForActionRequest; - isSDK(o: any): o is _135.QueryClaimableForActionRequestSDKType; - isAmino(o: any): o is _135.QueryClaimableForActionRequestAmino; - encode(message: _135.QueryClaimableForActionRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _135.QueryClaimableForActionRequest; - fromJSON(object: any): _135.QueryClaimableForActionRequest; - toJSON(message: _135.QueryClaimableForActionRequest): unknown; - fromPartial(object: { - address?: string; - action?: _132.Action; - }): _135.QueryClaimableForActionRequest; - fromSDK(object: _135.QueryClaimableForActionRequestSDKType): _135.QueryClaimableForActionRequest; - toSDK(message: _135.QueryClaimableForActionRequest): _135.QueryClaimableForActionRequestSDKType; - fromAmino(object: _135.QueryClaimableForActionRequestAmino): _135.QueryClaimableForActionRequest; - toAmino(message: _135.QueryClaimableForActionRequest): _135.QueryClaimableForActionRequestAmino; - fromAminoMsg(object: _135.QueryClaimableForActionRequestAminoMsg): _135.QueryClaimableForActionRequest; - toAminoMsg(message: _135.QueryClaimableForActionRequest): _135.QueryClaimableForActionRequestAminoMsg; - fromProtoMsg(message: _135.QueryClaimableForActionRequestProtoMsg): _135.QueryClaimableForActionRequest; - toProto(message: _135.QueryClaimableForActionRequest): Uint8Array; - toProtoMsg(message: _135.QueryClaimableForActionRequest): _135.QueryClaimableForActionRequestProtoMsg; - }; - QueryClaimableForActionResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _135.QueryClaimableForActionResponse; - isSDK(o: any): o is _135.QueryClaimableForActionResponseSDKType; - isAmino(o: any): o is _135.QueryClaimableForActionResponseAmino; - encode(message: _135.QueryClaimableForActionResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _135.QueryClaimableForActionResponse; - fromJSON(object: any): _135.QueryClaimableForActionResponse; - toJSON(message: _135.QueryClaimableForActionResponse): unknown; - fromPartial(object: { - coins?: { - denom?: string; - amount?: string; - }[]; - }): _135.QueryClaimableForActionResponse; - fromSDK(object: _135.QueryClaimableForActionResponseSDKType): _135.QueryClaimableForActionResponse; - toSDK(message: _135.QueryClaimableForActionResponse): _135.QueryClaimableForActionResponseSDKType; - fromAmino(object: _135.QueryClaimableForActionResponseAmino): _135.QueryClaimableForActionResponse; - toAmino(message: _135.QueryClaimableForActionResponse): _135.QueryClaimableForActionResponseAmino; - fromAminoMsg(object: _135.QueryClaimableForActionResponseAminoMsg): _135.QueryClaimableForActionResponse; - toAminoMsg(message: _135.QueryClaimableForActionResponse): _135.QueryClaimableForActionResponseAminoMsg; - fromProtoMsg(message: _135.QueryClaimableForActionResponseProtoMsg): _135.QueryClaimableForActionResponse; - toProto(message: _135.QueryClaimableForActionResponse): Uint8Array; - toProtoMsg(message: _135.QueryClaimableForActionResponse): _135.QueryClaimableForActionResponseProtoMsg; - }; - QueryTotalClaimableRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _135.QueryTotalClaimableRequest; - isSDK(o: any): o is _135.QueryTotalClaimableRequestSDKType; - isAmino(o: any): o is _135.QueryTotalClaimableRequestAmino; - encode(message: _135.QueryTotalClaimableRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _135.QueryTotalClaimableRequest; - fromJSON(object: any): _135.QueryTotalClaimableRequest; - toJSON(message: _135.QueryTotalClaimableRequest): unknown; - fromPartial(object: { - address?: string; - }): _135.QueryTotalClaimableRequest; - fromSDK(object: _135.QueryTotalClaimableRequestSDKType): _135.QueryTotalClaimableRequest; - toSDK(message: _135.QueryTotalClaimableRequest): _135.QueryTotalClaimableRequestSDKType; - fromAmino(object: _135.QueryTotalClaimableRequestAmino): _135.QueryTotalClaimableRequest; - toAmino(message: _135.QueryTotalClaimableRequest): _135.QueryTotalClaimableRequestAmino; - fromAminoMsg(object: _135.QueryTotalClaimableRequestAminoMsg): _135.QueryTotalClaimableRequest; - toAminoMsg(message: _135.QueryTotalClaimableRequest): _135.QueryTotalClaimableRequestAminoMsg; - fromProtoMsg(message: _135.QueryTotalClaimableRequestProtoMsg): _135.QueryTotalClaimableRequest; - toProto(message: _135.QueryTotalClaimableRequest): Uint8Array; - toProtoMsg(message: _135.QueryTotalClaimableRequest): _135.QueryTotalClaimableRequestProtoMsg; - }; - QueryTotalClaimableResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _135.QueryTotalClaimableResponse; - isSDK(o: any): o is _135.QueryTotalClaimableResponseSDKType; - isAmino(o: any): o is _135.QueryTotalClaimableResponseAmino; - encode(message: _135.QueryTotalClaimableResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _135.QueryTotalClaimableResponse; - fromJSON(object: any): _135.QueryTotalClaimableResponse; - toJSON(message: _135.QueryTotalClaimableResponse): unknown; - fromPartial(object: { - coins?: { - denom?: string; - amount?: string; - }[]; - }): _135.QueryTotalClaimableResponse; - fromSDK(object: _135.QueryTotalClaimableResponseSDKType): _135.QueryTotalClaimableResponse; - toSDK(message: _135.QueryTotalClaimableResponse): _135.QueryTotalClaimableResponseSDKType; - fromAmino(object: _135.QueryTotalClaimableResponseAmino): _135.QueryTotalClaimableResponse; - toAmino(message: _135.QueryTotalClaimableResponse): _135.QueryTotalClaimableResponseAmino; - fromAminoMsg(object: _135.QueryTotalClaimableResponseAminoMsg): _135.QueryTotalClaimableResponse; - toAminoMsg(message: _135.QueryTotalClaimableResponse): _135.QueryTotalClaimableResponseAminoMsg; - fromProtoMsg(message: _135.QueryTotalClaimableResponseProtoMsg): _135.QueryTotalClaimableResponse; - toProto(message: _135.QueryTotalClaimableResponse): Uint8Array; - toProtoMsg(message: _135.QueryTotalClaimableResponse): _135.QueryTotalClaimableResponseProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _134.Params; - isSDK(o: any): o is _134.ParamsSDKType; - isAmino(o: any): o is _134.ParamsAmino; - encode(message: _134.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _134.Params; - fromJSON(object: any): _134.Params; - toJSON(message: _134.Params): unknown; - fromPartial(object: { - airdropStartTime?: Date; - durationUntilDecay?: { - seconds?: bigint; - nanos?: number; - }; - durationOfDecay?: { - seconds?: bigint; - nanos?: number; - }; - claimDenom?: string; - }): _134.Params; - fromSDK(object: _134.ParamsSDKType): _134.Params; - toSDK(message: _134.Params): _134.ParamsSDKType; - fromAmino(object: _134.ParamsAmino): _134.Params; - toAmino(message: _134.Params): _134.ParamsAmino; - fromAminoMsg(object: _134.ParamsAminoMsg): _134.Params; - toAminoMsg(message: _134.Params): _134.ParamsAminoMsg; - fromProtoMsg(message: _134.ParamsProtoMsg): _134.Params; - toProto(message: _134.Params): Uint8Array; - toProtoMsg(message: _134.Params): _134.ParamsProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _133.GenesisState; - isSDK(o: any): o is _133.GenesisStateSDKType; - isAmino(o: any): o is _133.GenesisStateAmino; - encode(message: _133.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _133.GenesisState; - fromJSON(object: any): _133.GenesisState; - toJSON(message: _133.GenesisState): unknown; - fromPartial(object: { - moduleAccountBalance?: { - denom?: string; - amount?: string; - }; - params?: { - airdropStartTime?: Date; - durationUntilDecay?: { - seconds?: bigint; - nanos?: number; - }; - durationOfDecay?: { - seconds?: bigint; - nanos?: number; - }; - claimDenom?: string; - }; - claimRecords?: { - address?: string; - initialClaimableAmount?: { - denom?: string; - amount?: string; - }[]; - actionCompleted?: boolean[]; - }[]; - }): _133.GenesisState; - fromSDK(object: _133.GenesisStateSDKType): _133.GenesisState; - toSDK(message: _133.GenesisState): _133.GenesisStateSDKType; - fromAmino(object: _133.GenesisStateAmino): _133.GenesisState; - toAmino(message: _133.GenesisState): _133.GenesisStateAmino; - fromAminoMsg(object: _133.GenesisStateAminoMsg): _133.GenesisState; - toAminoMsg(message: _133.GenesisState): _133.GenesisStateAminoMsg; - fromProtoMsg(message: _133.GenesisStateProtoMsg): _133.GenesisState; - toProto(message: _133.GenesisState): Uint8Array; - toProtoMsg(message: _133.GenesisState): _133.GenesisStateProtoMsg; - }; - actionFromJSON(object: any): _132.Action; - actionToJSON(object: _132.Action): string; - Action: typeof _132.Action; - ActionSDKType: typeof _132.Action; - ActionAmino: typeof _132.Action; - ClaimRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is _132.ClaimRecord; - isSDK(o: any): o is _132.ClaimRecordSDKType; - isAmino(o: any): o is _132.ClaimRecordAmino; - encode(message: _132.ClaimRecord, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _132.ClaimRecord; - fromJSON(object: any): _132.ClaimRecord; - toJSON(message: _132.ClaimRecord): unknown; - fromPartial(object: { - address?: string; - initialClaimableAmount?: { - denom?: string; - amount?: string; - }[]; - actionCompleted?: boolean[]; - }): _132.ClaimRecord; - fromSDK(object: _132.ClaimRecordSDKType): _132.ClaimRecord; - toSDK(message: _132.ClaimRecord): _132.ClaimRecordSDKType; - fromAmino(object: _132.ClaimRecordAmino): _132.ClaimRecord; - toAmino(message: _132.ClaimRecord): _132.ClaimRecordAmino; - fromAminoMsg(object: _132.ClaimRecordAminoMsg): _132.ClaimRecord; - toAminoMsg(message: _132.ClaimRecord): _132.ClaimRecordAminoMsg; - fromProtoMsg(message: _132.ClaimRecordProtoMsg): _132.ClaimRecord; - toProto(message: _132.ClaimRecord): Uint8Array; - toProtoMsg(message: _132.ClaimRecord): _132.ClaimRecordProtoMsg; - }; - }; - } - namespace epochs { - const v1beta1: { - QueryClientImpl: typeof _285.QueryClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _285.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useEpochInfos: ({ request, options }: _285.UseEpochInfosQuery) => import("@tanstack/react-query").UseQueryResult; - useCurrentEpoch: ({ request, options }: _285.UseCurrentEpochQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryEpochInfosStore: { - new (): { - store: import("..").QueryStore<_137.QueryEpochsInfoRequest, _137.QueryEpochsInfoResponse>; - epochInfos(request: _137.QueryEpochsInfoRequest): import("..").MobxResponse<_137.QueryEpochsInfoResponse>; - }; - }; - QueryCurrentEpochStore: { - new (): { - store: import("..").QueryStore<_137.QueryCurrentEpochRequest, _137.QueryCurrentEpochResponse>; - currentEpoch(request: _137.QueryCurrentEpochRequest): import("..").MobxResponse<_137.QueryCurrentEpochResponse>; - }; - }; - }; - QueryEpochsInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _137.QueryEpochsInfoRequest; - isSDK(o: any): o is _137.QueryEpochsInfoRequestSDKType; - isAmino(o: any): o is _137.QueryEpochsInfoRequestAmino; - encode(_: _137.QueryEpochsInfoRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _137.QueryEpochsInfoRequest; - fromJSON(_: any): _137.QueryEpochsInfoRequest; - toJSON(_: _137.QueryEpochsInfoRequest): unknown; - fromPartial(_: {}): _137.QueryEpochsInfoRequest; - fromSDK(_: _137.QueryEpochsInfoRequestSDKType): _137.QueryEpochsInfoRequest; - toSDK(_: _137.QueryEpochsInfoRequest): _137.QueryEpochsInfoRequestSDKType; - fromAmino(_: _137.QueryEpochsInfoRequestAmino): _137.QueryEpochsInfoRequest; - toAmino(_: _137.QueryEpochsInfoRequest): _137.QueryEpochsInfoRequestAmino; - fromAminoMsg(object: _137.QueryEpochsInfoRequestAminoMsg): _137.QueryEpochsInfoRequest; - toAminoMsg(message: _137.QueryEpochsInfoRequest): _137.QueryEpochsInfoRequestAminoMsg; - fromProtoMsg(message: _137.QueryEpochsInfoRequestProtoMsg): _137.QueryEpochsInfoRequest; - toProto(message: _137.QueryEpochsInfoRequest): Uint8Array; - toProtoMsg(message: _137.QueryEpochsInfoRequest): _137.QueryEpochsInfoRequestProtoMsg; - }; - QueryEpochsInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _137.QueryEpochsInfoResponse; - isSDK(o: any): o is _137.QueryEpochsInfoResponseSDKType; - isAmino(o: any): o is _137.QueryEpochsInfoResponseAmino; - encode(message: _137.QueryEpochsInfoResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _137.QueryEpochsInfoResponse; - fromJSON(object: any): _137.QueryEpochsInfoResponse; - toJSON(message: _137.QueryEpochsInfoResponse): unknown; - fromPartial(object: { - epochs?: { - identifier?: string; - startTime?: Date; - duration?: { - seconds?: bigint; - nanos?: number; - }; - currentEpoch?: bigint; - currentEpochStartTime?: Date; - epochCountingStarted?: boolean; - currentEpochStartHeight?: bigint; - }[]; - }): _137.QueryEpochsInfoResponse; - fromSDK(object: _137.QueryEpochsInfoResponseSDKType): _137.QueryEpochsInfoResponse; - toSDK(message: _137.QueryEpochsInfoResponse): _137.QueryEpochsInfoResponseSDKType; - fromAmino(object: _137.QueryEpochsInfoResponseAmino): _137.QueryEpochsInfoResponse; - toAmino(message: _137.QueryEpochsInfoResponse): _137.QueryEpochsInfoResponseAmino; - fromAminoMsg(object: _137.QueryEpochsInfoResponseAminoMsg): _137.QueryEpochsInfoResponse; - toAminoMsg(message: _137.QueryEpochsInfoResponse): _137.QueryEpochsInfoResponseAminoMsg; - fromProtoMsg(message: _137.QueryEpochsInfoResponseProtoMsg): _137.QueryEpochsInfoResponse; - toProto(message: _137.QueryEpochsInfoResponse): Uint8Array; - toProtoMsg(message: _137.QueryEpochsInfoResponse): _137.QueryEpochsInfoResponseProtoMsg; - }; - QueryCurrentEpochRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _137.QueryCurrentEpochRequest; - isSDK(o: any): o is _137.QueryCurrentEpochRequestSDKType; - isAmino(o: any): o is _137.QueryCurrentEpochRequestAmino; - encode(message: _137.QueryCurrentEpochRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _137.QueryCurrentEpochRequest; - fromJSON(object: any): _137.QueryCurrentEpochRequest; - toJSON(message: _137.QueryCurrentEpochRequest): unknown; - fromPartial(object: { - identifier?: string; - }): _137.QueryCurrentEpochRequest; - fromSDK(object: _137.QueryCurrentEpochRequestSDKType): _137.QueryCurrentEpochRequest; - toSDK(message: _137.QueryCurrentEpochRequest): _137.QueryCurrentEpochRequestSDKType; - fromAmino(object: _137.QueryCurrentEpochRequestAmino): _137.QueryCurrentEpochRequest; - toAmino(message: _137.QueryCurrentEpochRequest): _137.QueryCurrentEpochRequestAmino; - fromAminoMsg(object: _137.QueryCurrentEpochRequestAminoMsg): _137.QueryCurrentEpochRequest; - toAminoMsg(message: _137.QueryCurrentEpochRequest): _137.QueryCurrentEpochRequestAminoMsg; - fromProtoMsg(message: _137.QueryCurrentEpochRequestProtoMsg): _137.QueryCurrentEpochRequest; - toProto(message: _137.QueryCurrentEpochRequest): Uint8Array; - toProtoMsg(message: _137.QueryCurrentEpochRequest): _137.QueryCurrentEpochRequestProtoMsg; - }; - QueryCurrentEpochResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _137.QueryCurrentEpochResponse; - isSDK(o: any): o is _137.QueryCurrentEpochResponseSDKType; - isAmino(o: any): o is _137.QueryCurrentEpochResponseAmino; - encode(message: _137.QueryCurrentEpochResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _137.QueryCurrentEpochResponse; - fromJSON(object: any): _137.QueryCurrentEpochResponse; - toJSON(message: _137.QueryCurrentEpochResponse): unknown; - fromPartial(object: { - currentEpoch?: bigint; - }): _137.QueryCurrentEpochResponse; - fromSDK(object: _137.QueryCurrentEpochResponseSDKType): _137.QueryCurrentEpochResponse; - toSDK(message: _137.QueryCurrentEpochResponse): _137.QueryCurrentEpochResponseSDKType; - fromAmino(object: _137.QueryCurrentEpochResponseAmino): _137.QueryCurrentEpochResponse; - toAmino(message: _137.QueryCurrentEpochResponse): _137.QueryCurrentEpochResponseAmino; - fromAminoMsg(object: _137.QueryCurrentEpochResponseAminoMsg): _137.QueryCurrentEpochResponse; - toAminoMsg(message: _137.QueryCurrentEpochResponse): _137.QueryCurrentEpochResponseAminoMsg; - fromProtoMsg(message: _137.QueryCurrentEpochResponseProtoMsg): _137.QueryCurrentEpochResponse; - toProto(message: _137.QueryCurrentEpochResponse): Uint8Array; - toProtoMsg(message: _137.QueryCurrentEpochResponse): _137.QueryCurrentEpochResponseProtoMsg; - }; - EpochInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _136.EpochInfo; - isSDK(o: any): o is _136.EpochInfoSDKType; - isAmino(o: any): o is _136.EpochInfoAmino; - encode(message: _136.EpochInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _136.EpochInfo; - fromJSON(object: any): _136.EpochInfo; - toJSON(message: _136.EpochInfo): unknown; - fromPartial(object: { - identifier?: string; - startTime?: Date; - duration?: { - seconds?: bigint; - nanos?: number; - }; - currentEpoch?: bigint; - currentEpochStartTime?: Date; - epochCountingStarted?: boolean; - currentEpochStartHeight?: bigint; - }): _136.EpochInfo; - fromSDK(object: _136.EpochInfoSDKType): _136.EpochInfo; - toSDK(message: _136.EpochInfo): _136.EpochInfoSDKType; - fromAmino(object: _136.EpochInfoAmino): _136.EpochInfo; - toAmino(message: _136.EpochInfo): _136.EpochInfoAmino; - fromAminoMsg(object: _136.EpochInfoAminoMsg): _136.EpochInfo; - toAminoMsg(message: _136.EpochInfo): _136.EpochInfoAminoMsg; - fromProtoMsg(message: _136.EpochInfoProtoMsg): _136.EpochInfo; - toProto(message: _136.EpochInfo): Uint8Array; - toProtoMsg(message: _136.EpochInfo): _136.EpochInfoProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _136.GenesisState; - isSDK(o: any): o is _136.GenesisStateSDKType; - isAmino(o: any): o is _136.GenesisStateAmino; - encode(message: _136.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _136.GenesisState; - fromJSON(object: any): _136.GenesisState; - toJSON(message: _136.GenesisState): unknown; - fromPartial(object: { - epochs?: { - identifier?: string; - startTime?: Date; - duration?: { - seconds?: bigint; - nanos?: number; - }; - currentEpoch?: bigint; - currentEpochStartTime?: Date; - epochCountingStarted?: boolean; - currentEpochStartHeight?: bigint; - }[]; - }): _136.GenesisState; - fromSDK(object: _136.GenesisStateSDKType): _136.GenesisState; - toSDK(message: _136.GenesisState): _136.GenesisStateSDKType; - fromAmino(object: _136.GenesisStateAmino): _136.GenesisState; - toAmino(message: _136.GenesisState): _136.GenesisStateAmino; - fromAminoMsg(object: _136.GenesisStateAminoMsg): _136.GenesisState; - toAminoMsg(message: _136.GenesisState): _136.GenesisStateAminoMsg; - fromProtoMsg(message: _136.GenesisStateProtoMsg): _136.GenesisState; - toProto(message: _136.GenesisState): Uint8Array; - toProtoMsg(message: _136.GenesisState): _136.GenesisStateProtoMsg; - }; - }; - } - namespace gamm { - namespace poolmodels { - namespace balancer { - const v1beta1: { - MsgClientImpl: typeof _296.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _296.MsgClientImpl; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - createBalancerPool(value: _138.MsgCreateBalancerPool): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createBalancerPool(value: _138.MsgCreateBalancerPool): { - typeUrl: string; - value: _138.MsgCreateBalancerPool; - }; - }; - toJSON: { - createBalancerPool(value: _138.MsgCreateBalancerPool): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createBalancerPool(value: any): { - typeUrl: string; - value: _138.MsgCreateBalancerPool; - }; - }; - fromPartial: { - createBalancerPool(value: _138.MsgCreateBalancerPool): { - typeUrl: string; - value: _138.MsgCreateBalancerPool; - }; - }; - }; - AminoConverter: { - "/osmosis.gamm.poolmodels.balancer.v1beta1.MsgCreateBalancerPool": { - aminoType: string; - toAmino: (message: _138.MsgCreateBalancerPool) => _138.MsgCreateBalancerPoolAmino; - fromAmino: (object: _138.MsgCreateBalancerPoolAmino) => _138.MsgCreateBalancerPool; - }; - }; - MsgCreateBalancerPool: { - typeUrl: string; - aminoType: string; - is(o: any): o is _138.MsgCreateBalancerPool; - isSDK(o: any): o is _138.MsgCreateBalancerPoolSDKType; - isAmino(o: any): o is _138.MsgCreateBalancerPoolAmino; - encode(message: _138.MsgCreateBalancerPool, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _138.MsgCreateBalancerPool; - fromJSON(object: any): _138.MsgCreateBalancerPool; - toJSON(message: _138.MsgCreateBalancerPool): unknown; - fromPartial(object: { - sender?: string; - poolParams?: { - swapFee?: string; - exitFee?: string; - smoothWeightChangeParams?: { - startTime?: Date; - duration?: { - seconds?: bigint; - nanos?: number; - }; - initialPoolWeights?: { - token?: { - denom?: string; - amount?: string; - }; - weight?: string; - }[]; - targetPoolWeights?: { - token?: { - denom?: string; - amount?: string; - }; - weight?: string; - }[]; - }; - }; - poolAssets?: { - token?: { - denom?: string; - amount?: string; - }; - weight?: string; - }[]; - futurePoolGovernor?: string; - }): _138.MsgCreateBalancerPool; - fromSDK(object: _138.MsgCreateBalancerPoolSDKType): _138.MsgCreateBalancerPool; - toSDK(message: _138.MsgCreateBalancerPool): _138.MsgCreateBalancerPoolSDKType; - fromAmino(object: _138.MsgCreateBalancerPoolAmino): _138.MsgCreateBalancerPool; - toAmino(message: _138.MsgCreateBalancerPool): _138.MsgCreateBalancerPoolAmino; - fromAminoMsg(object: _138.MsgCreateBalancerPoolAminoMsg): _138.MsgCreateBalancerPool; - toAminoMsg(message: _138.MsgCreateBalancerPool): _138.MsgCreateBalancerPoolAminoMsg; - fromProtoMsg(message: _138.MsgCreateBalancerPoolProtoMsg): _138.MsgCreateBalancerPool; - toProto(message: _138.MsgCreateBalancerPool): Uint8Array; - toProtoMsg(message: _138.MsgCreateBalancerPool): _138.MsgCreateBalancerPoolProtoMsg; - }; - MsgCreateBalancerPoolResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _138.MsgCreateBalancerPoolResponse; - isSDK(o: any): o is _138.MsgCreateBalancerPoolResponseSDKType; - isAmino(o: any): o is _138.MsgCreateBalancerPoolResponseAmino; - encode(message: _138.MsgCreateBalancerPoolResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _138.MsgCreateBalancerPoolResponse; - fromJSON(object: any): _138.MsgCreateBalancerPoolResponse; - toJSON(message: _138.MsgCreateBalancerPoolResponse): unknown; - fromPartial(object: { - poolId?: bigint; - }): _138.MsgCreateBalancerPoolResponse; - fromSDK(object: _138.MsgCreateBalancerPoolResponseSDKType): _138.MsgCreateBalancerPoolResponse; - toSDK(message: _138.MsgCreateBalancerPoolResponse): _138.MsgCreateBalancerPoolResponseSDKType; - fromAmino(object: _138.MsgCreateBalancerPoolResponseAmino): _138.MsgCreateBalancerPoolResponse; - toAmino(message: _138.MsgCreateBalancerPoolResponse): _138.MsgCreateBalancerPoolResponseAmino; - fromAminoMsg(object: _138.MsgCreateBalancerPoolResponseAminoMsg): _138.MsgCreateBalancerPoolResponse; - toAminoMsg(message: _138.MsgCreateBalancerPoolResponse): _138.MsgCreateBalancerPoolResponseAminoMsg; - fromProtoMsg(message: _138.MsgCreateBalancerPoolResponseProtoMsg): _138.MsgCreateBalancerPoolResponse; - toProto(message: _138.MsgCreateBalancerPoolResponse): Uint8Array; - toProtoMsg(message: _138.MsgCreateBalancerPoolResponse): _138.MsgCreateBalancerPoolResponseProtoMsg; - }; - }; - } - namespace stableswap { - const v1beta1: { - MsgClientImpl: typeof _297.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _297.MsgClientImpl; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - createStableswapPool(value: _140.MsgCreateStableswapPool): { - typeUrl: string; - value: Uint8Array; - }; - stableSwapAdjustScalingFactors(value: _140.MsgStableSwapAdjustScalingFactors): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createStableswapPool(value: _140.MsgCreateStableswapPool): { - typeUrl: string; - value: _140.MsgCreateStableswapPool; - }; - stableSwapAdjustScalingFactors(value: _140.MsgStableSwapAdjustScalingFactors): { - typeUrl: string; - value: _140.MsgStableSwapAdjustScalingFactors; - }; - }; - toJSON: { - createStableswapPool(value: _140.MsgCreateStableswapPool): { - typeUrl: string; - value: unknown; - }; - stableSwapAdjustScalingFactors(value: _140.MsgStableSwapAdjustScalingFactors): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createStableswapPool(value: any): { - typeUrl: string; - value: _140.MsgCreateStableswapPool; - }; - stableSwapAdjustScalingFactors(value: any): { - typeUrl: string; - value: _140.MsgStableSwapAdjustScalingFactors; - }; - }; - fromPartial: { - createStableswapPool(value: _140.MsgCreateStableswapPool): { - typeUrl: string; - value: _140.MsgCreateStableswapPool; - }; - stableSwapAdjustScalingFactors(value: _140.MsgStableSwapAdjustScalingFactors): { - typeUrl: string; - value: _140.MsgStableSwapAdjustScalingFactors; - }; - }; - }; - AminoConverter: { - "/osmosis.gamm.poolmodels.stableswap.v1beta1.MsgCreateStableswapPool": { - aminoType: string; - toAmino: (message: _140.MsgCreateStableswapPool) => _140.MsgCreateStableswapPoolAmino; - fromAmino: (object: _140.MsgCreateStableswapPoolAmino) => _140.MsgCreateStableswapPool; - }; - "/osmosis.gamm.poolmodels.stableswap.v1beta1.MsgStableSwapAdjustScalingFactors": { - aminoType: string; - toAmino: (message: _140.MsgStableSwapAdjustScalingFactors) => _140.MsgStableSwapAdjustScalingFactorsAmino; - fromAmino: (object: _140.MsgStableSwapAdjustScalingFactorsAmino) => _140.MsgStableSwapAdjustScalingFactors; - }; - }; - MsgCreateStableswapPool: { - typeUrl: string; - aminoType: string; - is(o: any): o is _140.MsgCreateStableswapPool; - isSDK(o: any): o is _140.MsgCreateStableswapPoolSDKType; - isAmino(o: any): o is _140.MsgCreateStableswapPoolAmino; - encode(message: _140.MsgCreateStableswapPool, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _140.MsgCreateStableswapPool; - fromJSON(object: any): _140.MsgCreateStableswapPool; - toJSON(message: _140.MsgCreateStableswapPool): unknown; - fromPartial(object: { - sender?: string; - poolParams?: { - swapFee?: string; - exitFee?: string; - }; - initialPoolLiquidity?: { - denom?: string; - amount?: string; - }[]; - scalingFactors?: bigint[]; - futurePoolGovernor?: string; - scalingFactorController?: string; - }): _140.MsgCreateStableswapPool; - fromSDK(object: _140.MsgCreateStableswapPoolSDKType): _140.MsgCreateStableswapPool; - toSDK(message: _140.MsgCreateStableswapPool): _140.MsgCreateStableswapPoolSDKType; - fromAmino(object: _140.MsgCreateStableswapPoolAmino): _140.MsgCreateStableswapPool; - toAmino(message: _140.MsgCreateStableswapPool): _140.MsgCreateStableswapPoolAmino; - fromAminoMsg(object: _140.MsgCreateStableswapPoolAminoMsg): _140.MsgCreateStableswapPool; - toAminoMsg(message: _140.MsgCreateStableswapPool): _140.MsgCreateStableswapPoolAminoMsg; - fromProtoMsg(message: _140.MsgCreateStableswapPoolProtoMsg): _140.MsgCreateStableswapPool; - toProto(message: _140.MsgCreateStableswapPool): Uint8Array; - toProtoMsg(message: _140.MsgCreateStableswapPool): _140.MsgCreateStableswapPoolProtoMsg; - }; - MsgCreateStableswapPoolResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _140.MsgCreateStableswapPoolResponse; - isSDK(o: any): o is _140.MsgCreateStableswapPoolResponseSDKType; - isAmino(o: any): o is _140.MsgCreateStableswapPoolResponseAmino; - encode(message: _140.MsgCreateStableswapPoolResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _140.MsgCreateStableswapPoolResponse; - fromJSON(object: any): _140.MsgCreateStableswapPoolResponse; - toJSON(message: _140.MsgCreateStableswapPoolResponse): unknown; - fromPartial(object: { - poolId?: bigint; - }): _140.MsgCreateStableswapPoolResponse; - fromSDK(object: _140.MsgCreateStableswapPoolResponseSDKType): _140.MsgCreateStableswapPoolResponse; - toSDK(message: _140.MsgCreateStableswapPoolResponse): _140.MsgCreateStableswapPoolResponseSDKType; - fromAmino(object: _140.MsgCreateStableswapPoolResponseAmino): _140.MsgCreateStableswapPoolResponse; - toAmino(message: _140.MsgCreateStableswapPoolResponse): _140.MsgCreateStableswapPoolResponseAmino; - fromAminoMsg(object: _140.MsgCreateStableswapPoolResponseAminoMsg): _140.MsgCreateStableswapPoolResponse; - toAminoMsg(message: _140.MsgCreateStableswapPoolResponse): _140.MsgCreateStableswapPoolResponseAminoMsg; - fromProtoMsg(message: _140.MsgCreateStableswapPoolResponseProtoMsg): _140.MsgCreateStableswapPoolResponse; - toProto(message: _140.MsgCreateStableswapPoolResponse): Uint8Array; - toProtoMsg(message: _140.MsgCreateStableswapPoolResponse): _140.MsgCreateStableswapPoolResponseProtoMsg; - }; - MsgStableSwapAdjustScalingFactors: { - typeUrl: string; - aminoType: string; - is(o: any): o is _140.MsgStableSwapAdjustScalingFactors; - isSDK(o: any): o is _140.MsgStableSwapAdjustScalingFactorsSDKType; - isAmino(o: any): o is _140.MsgStableSwapAdjustScalingFactorsAmino; - encode(message: _140.MsgStableSwapAdjustScalingFactors, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _140.MsgStableSwapAdjustScalingFactors; - fromJSON(object: any): _140.MsgStableSwapAdjustScalingFactors; - toJSON(message: _140.MsgStableSwapAdjustScalingFactors): unknown; - fromPartial(object: { - sender?: string; - poolId?: bigint; - scalingFactors?: bigint[]; - }): _140.MsgStableSwapAdjustScalingFactors; - fromSDK(object: _140.MsgStableSwapAdjustScalingFactorsSDKType): _140.MsgStableSwapAdjustScalingFactors; - toSDK(message: _140.MsgStableSwapAdjustScalingFactors): _140.MsgStableSwapAdjustScalingFactorsSDKType; - fromAmino(object: _140.MsgStableSwapAdjustScalingFactorsAmino): _140.MsgStableSwapAdjustScalingFactors; - toAmino(message: _140.MsgStableSwapAdjustScalingFactors): _140.MsgStableSwapAdjustScalingFactorsAmino; - fromAminoMsg(object: _140.MsgStableSwapAdjustScalingFactorsAminoMsg): _140.MsgStableSwapAdjustScalingFactors; - toAminoMsg(message: _140.MsgStableSwapAdjustScalingFactors): _140.MsgStableSwapAdjustScalingFactorsAminoMsg; - fromProtoMsg(message: _140.MsgStableSwapAdjustScalingFactorsProtoMsg): _140.MsgStableSwapAdjustScalingFactors; - toProto(message: _140.MsgStableSwapAdjustScalingFactors): Uint8Array; - toProtoMsg(message: _140.MsgStableSwapAdjustScalingFactors): _140.MsgStableSwapAdjustScalingFactorsProtoMsg; - }; - MsgStableSwapAdjustScalingFactorsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _140.MsgStableSwapAdjustScalingFactorsResponse; - isSDK(o: any): o is _140.MsgStableSwapAdjustScalingFactorsResponseSDKType; - isAmino(o: any): o is _140.MsgStableSwapAdjustScalingFactorsResponseAmino; - encode(_: _140.MsgStableSwapAdjustScalingFactorsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _140.MsgStableSwapAdjustScalingFactorsResponse; - fromJSON(_: any): _140.MsgStableSwapAdjustScalingFactorsResponse; - toJSON(_: _140.MsgStableSwapAdjustScalingFactorsResponse): unknown; - fromPartial(_: {}): _140.MsgStableSwapAdjustScalingFactorsResponse; - fromSDK(_: _140.MsgStableSwapAdjustScalingFactorsResponseSDKType): _140.MsgStableSwapAdjustScalingFactorsResponse; - toSDK(_: _140.MsgStableSwapAdjustScalingFactorsResponse): _140.MsgStableSwapAdjustScalingFactorsResponseSDKType; - fromAmino(_: _140.MsgStableSwapAdjustScalingFactorsResponseAmino): _140.MsgStableSwapAdjustScalingFactorsResponse; - toAmino(_: _140.MsgStableSwapAdjustScalingFactorsResponse): _140.MsgStableSwapAdjustScalingFactorsResponseAmino; - fromAminoMsg(object: _140.MsgStableSwapAdjustScalingFactorsResponseAminoMsg): _140.MsgStableSwapAdjustScalingFactorsResponse; - toAminoMsg(message: _140.MsgStableSwapAdjustScalingFactorsResponse): _140.MsgStableSwapAdjustScalingFactorsResponseAminoMsg; - fromProtoMsg(message: _140.MsgStableSwapAdjustScalingFactorsResponseProtoMsg): _140.MsgStableSwapAdjustScalingFactorsResponse; - toProto(message: _140.MsgStableSwapAdjustScalingFactorsResponse): Uint8Array; - toProtoMsg(message: _140.MsgStableSwapAdjustScalingFactorsResponse): _140.MsgStableSwapAdjustScalingFactorsResponseProtoMsg; - }; - PoolParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is _139.PoolParams; - isSDK(o: any): o is _139.PoolParamsSDKType; - isAmino(o: any): o is _139.PoolParamsAmino; - encode(message: _139.PoolParams, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _139.PoolParams; - fromJSON(object: any): _139.PoolParams; - toJSON(message: _139.PoolParams): unknown; - fromPartial(object: { - swapFee?: string; - exitFee?: string; - }): _139.PoolParams; - fromSDK(object: _139.PoolParamsSDKType): _139.PoolParams; - toSDK(message: _139.PoolParams): _139.PoolParamsSDKType; - fromAmino(object: _139.PoolParamsAmino): _139.PoolParams; - toAmino(message: _139.PoolParams): _139.PoolParamsAmino; - fromAminoMsg(object: _139.PoolParamsAminoMsg): _139.PoolParams; - toAminoMsg(message: _139.PoolParams): _139.PoolParamsAminoMsg; - fromProtoMsg(message: _139.PoolParamsProtoMsg): _139.PoolParams; - toProto(message: _139.PoolParams): Uint8Array; - toProtoMsg(message: _139.PoolParams): _139.PoolParamsProtoMsg; - }; - Pool: { - typeUrl: string; - aminoType: string; - is(o: any): o is _139.Pool; - isSDK(o: any): o is _139.PoolSDKType; - isAmino(o: any): o is _139.PoolAmino; - encode(message: _139.Pool, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _139.Pool; - fromJSON(object: any): _139.Pool; - toJSON(message: _139.Pool): unknown; - fromPartial(object: { - $typeUrl?: "/osmosis.gamm.poolmodels.stableswap.v1beta1.Pool"; - address?: string; - id?: bigint; - poolParams?: { - swapFee?: string; - exitFee?: string; - }; - futurePoolGovernor?: string; - totalShares?: { - denom?: string; - amount?: string; - }; - poolLiquidity?: { - denom?: string; - amount?: string; - }[]; - scalingFactors?: bigint[]; - scalingFactorController?: string; - }): _139.Pool; - fromSDK(object: _139.PoolSDKType): _139.Pool; - toSDK(message: _139.Pool): _139.PoolSDKType; - fromAmino(object: _139.PoolAmino): _139.Pool; - toAmino(message: _139.Pool): _139.PoolAmino; - fromAminoMsg(object: _139.PoolAminoMsg): _139.Pool; - toAminoMsg(message: _139.Pool): _139.PoolAminoMsg; - fromProtoMsg(message: _139.PoolProtoMsg): _139.Pool; - toProto(message: _139.Pool): Uint8Array; - toProtoMsg(message: _139.Pool): _139.PoolProtoMsg; - }; - }; - } - } - const v2: { - QueryClientImpl: typeof _286.QueryClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _286.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useSpotPrice: ({ request, options }: _286.UseSpotPriceQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QuerySpotPriceStore: { - new (): { - store: import("..").QueryStore<_141.QuerySpotPriceRequest, _141.QuerySpotPriceResponse>; - spotPrice(request: _141.QuerySpotPriceRequest): import("..").MobxResponse<_141.QuerySpotPriceResponse>; - }; - }; - }; - QuerySpotPriceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _141.QuerySpotPriceRequest; - isSDK(o: any): o is _141.QuerySpotPriceRequestSDKType; - isAmino(o: any): o is _141.QuerySpotPriceRequestAmino; - encode(message: _141.QuerySpotPriceRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _141.QuerySpotPriceRequest; - fromJSON(object: any): _141.QuerySpotPriceRequest; - toJSON(message: _141.QuerySpotPriceRequest): unknown; - fromPartial(object: { - poolId?: bigint; - baseAssetDenom?: string; - quoteAssetDenom?: string; - }): _141.QuerySpotPriceRequest; - fromSDK(object: _141.QuerySpotPriceRequestSDKType): _141.QuerySpotPriceRequest; - toSDK(message: _141.QuerySpotPriceRequest): _141.QuerySpotPriceRequestSDKType; - fromAmino(object: _141.QuerySpotPriceRequestAmino): _141.QuerySpotPriceRequest; - toAmino(message: _141.QuerySpotPriceRequest): _141.QuerySpotPriceRequestAmino; - fromAminoMsg(object: _141.QuerySpotPriceRequestAminoMsg): _141.QuerySpotPriceRequest; - toAminoMsg(message: _141.QuerySpotPriceRequest): _141.QuerySpotPriceRequestAminoMsg; - fromProtoMsg(message: _141.QuerySpotPriceRequestProtoMsg): _141.QuerySpotPriceRequest; - toProto(message: _141.QuerySpotPriceRequest): Uint8Array; - toProtoMsg(message: _141.QuerySpotPriceRequest): _141.QuerySpotPriceRequestProtoMsg; - }; - QuerySpotPriceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _141.QuerySpotPriceResponse; - isSDK(o: any): o is _141.QuerySpotPriceResponseSDKType; - isAmino(o: any): o is _141.QuerySpotPriceResponseAmino; - encode(message: _141.QuerySpotPriceResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _141.QuerySpotPriceResponse; - fromJSON(object: any): _141.QuerySpotPriceResponse; - toJSON(message: _141.QuerySpotPriceResponse): unknown; - fromPartial(object: { - spotPrice?: string; - }): _141.QuerySpotPriceResponse; - fromSDK(object: _141.QuerySpotPriceResponseSDKType): _141.QuerySpotPriceResponse; - toSDK(message: _141.QuerySpotPriceResponse): _141.QuerySpotPriceResponseSDKType; - fromAmino(object: _141.QuerySpotPriceResponseAmino): _141.QuerySpotPriceResponse; - toAmino(message: _141.QuerySpotPriceResponse): _141.QuerySpotPriceResponseAmino; - fromAminoMsg(object: _141.QuerySpotPriceResponseAminoMsg): _141.QuerySpotPriceResponse; - toAminoMsg(message: _141.QuerySpotPriceResponse): _141.QuerySpotPriceResponseAminoMsg; - fromProtoMsg(message: _141.QuerySpotPriceResponseProtoMsg): _141.QuerySpotPriceResponse; - toProto(message: _141.QuerySpotPriceResponse): Uint8Array; - toProtoMsg(message: _141.QuerySpotPriceResponse): _141.QuerySpotPriceResponseProtoMsg; - }; - }; - const v1beta1: { - AminoConverter: { - "/osmosis.gamm.v1beta1.MsgJoinPool": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgJoinPool) => import("./gamm/v1beta1/tx").MsgJoinPoolAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgJoinPoolAmino) => import("./gamm/v1beta1/tx").MsgJoinPool; - }; - "/osmosis.gamm.v1beta1.MsgExitPool": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgExitPool) => import("./gamm/v1beta1/tx").MsgExitPoolAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgExitPoolAmino) => import("./gamm/v1beta1/tx").MsgExitPool; - }; - "/osmosis.gamm.v1beta1.MsgSwapExactAmountIn": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgSwapExactAmountIn) => import("./gamm/v1beta1/tx").MsgSwapExactAmountInAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgSwapExactAmountInAmino) => import("./gamm/v1beta1/tx").MsgSwapExactAmountIn; - }; - "/osmosis.gamm.v1beta1.MsgSwapExactAmountOut": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgSwapExactAmountOut) => import("./gamm/v1beta1/tx").MsgSwapExactAmountOutAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgSwapExactAmountOutAmino) => import("./gamm/v1beta1/tx").MsgSwapExactAmountOut; - }; - "/osmosis.gamm.v1beta1.MsgJoinSwapExternAmountIn": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgJoinSwapExternAmountIn) => import("./gamm/v1beta1/tx").MsgJoinSwapExternAmountInAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgJoinSwapExternAmountInAmino) => import("./gamm/v1beta1/tx").MsgJoinSwapExternAmountIn; - }; - "/osmosis.gamm.v1beta1.MsgJoinSwapShareAmountOut": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgJoinSwapShareAmountOut) => import("./gamm/v1beta1/tx").MsgJoinSwapShareAmountOutAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgJoinSwapShareAmountOutAmino) => import("./gamm/v1beta1/tx").MsgJoinSwapShareAmountOut; - }; - "/osmosis.gamm.v1beta1.MsgExitSwapExternAmountOut": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgExitSwapExternAmountOut) => import("./gamm/v1beta1/tx").MsgExitSwapExternAmountOutAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgExitSwapExternAmountOutAmino) => import("./gamm/v1beta1/tx").MsgExitSwapExternAmountOut; - }; - "/osmosis.gamm.v1beta1.MsgExitSwapShareAmountIn": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgExitSwapShareAmountIn) => import("./gamm/v1beta1/tx").MsgExitSwapShareAmountInAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgExitSwapShareAmountInAmino) => import("./gamm/v1beta1/tx").MsgExitSwapShareAmountIn; - }; - }; - }; - } - namespace ibcratelimit { - const v1beta1: { - QueryClientImpl: typeof _287.QueryClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _287.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useParams: ({ request, options }: _287.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_143.QueryParamsRequest, _143.QueryParamsResponse>; - params(request: _143.QueryParamsRequest): import("..").MobxResponse<_143.QueryParamsResponse>; - }; - }; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _143.QueryParamsRequest; - isSDK(o: any): o is _143.QueryParamsRequestSDKType; - isAmino(o: any): o is _143.QueryParamsRequestAmino; - encode(_: _143.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _143.QueryParamsRequest; - fromJSON(_: any): _143.QueryParamsRequest; - toJSON(_: _143.QueryParamsRequest): unknown; - fromPartial(_: {}): _143.QueryParamsRequest; - fromSDK(_: _143.QueryParamsRequestSDKType): _143.QueryParamsRequest; - toSDK(_: _143.QueryParamsRequest): _143.QueryParamsRequestSDKType; - fromAmino(_: _143.QueryParamsRequestAmino): _143.QueryParamsRequest; - toAmino(_: _143.QueryParamsRequest): _143.QueryParamsRequestAmino; - fromAminoMsg(object: _143.QueryParamsRequestAminoMsg): _143.QueryParamsRequest; - toAminoMsg(message: _143.QueryParamsRequest): _143.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _143.QueryParamsRequestProtoMsg): _143.QueryParamsRequest; - toProto(message: _143.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _143.QueryParamsRequest): _143.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _143.QueryParamsResponse; - isSDK(o: any): o is _143.QueryParamsResponseSDKType; - isAmino(o: any): o is _143.QueryParamsResponseAmino; - encode(message: _143.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _143.QueryParamsResponse; - fromJSON(object: any): _143.QueryParamsResponse; - toJSON(message: _143.QueryParamsResponse): unknown; - fromPartial(object: { - params?: { - contractAddress?: string; - }; - }): _143.QueryParamsResponse; - fromSDK(object: _143.QueryParamsResponseSDKType): _143.QueryParamsResponse; - toSDK(message: _143.QueryParamsResponse): _143.QueryParamsResponseSDKType; - fromAmino(object: _143.QueryParamsResponseAmino): _143.QueryParamsResponse; - toAmino(message: _143.QueryParamsResponse): _143.QueryParamsResponseAmino; - fromAminoMsg(object: _143.QueryParamsResponseAminoMsg): _143.QueryParamsResponse; - toAminoMsg(message: _143.QueryParamsResponse): _143.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _143.QueryParamsResponseProtoMsg): _143.QueryParamsResponse; - toProto(message: _143.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _143.QueryParamsResponse): _143.QueryParamsResponseProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _142.Params; - isSDK(o: any): o is _142.ParamsSDKType; - isAmino(o: any): o is _142.ParamsAmino; - encode(message: _142.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _142.Params; - fromJSON(object: any): _142.Params; - toJSON(message: _142.Params): unknown; - fromPartial(object: { - contractAddress?: string; - }): _142.Params; - fromSDK(object: _142.ParamsSDKType): _142.Params; - toSDK(message: _142.Params): _142.ParamsSDKType; - fromAmino(object: _142.ParamsAmino): _142.Params; - toAmino(message: _142.Params): _142.ParamsAmino; - fromAminoMsg(object: _142.ParamsAminoMsg): _142.Params; - toAminoMsg(message: _142.Params): _142.ParamsAminoMsg; - fromProtoMsg(message: _142.ParamsProtoMsg): _142.Params; - toProto(message: _142.Params): Uint8Array; - toProtoMsg(message: _142.Params): _142.ParamsProtoMsg; - }; - }; - } - const incentives: { - MsgClientImpl: typeof _298.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _298.MsgClientImpl; - QueryClientImpl: typeof _288.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useModuleToDistributeCoins: ({ request, options }: _288.UseModuleToDistributeCoinsQuery) => import("@tanstack/react-query").UseQueryResult; - useGaugeByID: ({ request, options }: _288.UseGaugeByIDQuery) => import("@tanstack/react-query").UseQueryResult; - useGauges: ({ request, options }: _288.UseGaugesQuery) => import("@tanstack/react-query").UseQueryResult; - useActiveGauges: ({ request, options }: _288.UseActiveGaugesQuery) => import("@tanstack/react-query").UseQueryResult; - useActiveGaugesPerDenom: ({ request, options }: _288.UseActiveGaugesPerDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useUpcomingGauges: ({ request, options }: _288.UseUpcomingGaugesQuery) => import("@tanstack/react-query").UseQueryResult; - useUpcomingGaugesPerDenom: ({ request, options }: _288.UseUpcomingGaugesPerDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useRewardsEst: ({ request, options }: _288.UseRewardsEstQuery) => import("@tanstack/react-query").UseQueryResult; - useLockableDurations: ({ request, options }: _288.UseLockableDurationsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryModuleToDistributeCoinsStore: { - new (): { - store: import("..").QueryStore<_147.ModuleToDistributeCoinsRequest, _147.ModuleToDistributeCoinsResponse>; - moduleToDistributeCoins(request: _147.ModuleToDistributeCoinsRequest): import("..").MobxResponse<_147.ModuleToDistributeCoinsResponse>; - }; - }; - QueryGaugeByIDStore: { - new (): { - store: import("..").QueryStore<_147.GaugeByIDRequest, _147.GaugeByIDResponse>; - gaugeByID(request: _147.GaugeByIDRequest): import("..").MobxResponse<_147.GaugeByIDResponse>; - }; - }; - QueryGaugesStore: { - new (): { - store: import("..").QueryStore<_147.GaugesRequest, _147.GaugesResponse>; - gauges(request: _147.GaugesRequest): import("..").MobxResponse<_147.GaugesResponse>; - }; - }; - QueryActiveGaugesStore: { - new (): { - store: import("..").QueryStore<_147.ActiveGaugesRequest, _147.ActiveGaugesResponse>; - activeGauges(request: _147.ActiveGaugesRequest): import("..").MobxResponse<_147.ActiveGaugesResponse>; - }; - }; - QueryActiveGaugesPerDenomStore: { - new (): { - store: import("..").QueryStore<_147.ActiveGaugesPerDenomRequest, _147.ActiveGaugesPerDenomResponse>; - activeGaugesPerDenom(request: _147.ActiveGaugesPerDenomRequest): import("..").MobxResponse<_147.ActiveGaugesPerDenomResponse>; - }; - }; - QueryUpcomingGaugesStore: { - new (): { - store: import("..").QueryStore<_147.UpcomingGaugesRequest, _147.UpcomingGaugesResponse>; - upcomingGauges(request: _147.UpcomingGaugesRequest): import("..").MobxResponse<_147.UpcomingGaugesResponse>; - }; - }; - QueryUpcomingGaugesPerDenomStore: { - new (): { - store: import("..").QueryStore<_147.UpcomingGaugesPerDenomRequest, _147.UpcomingGaugesPerDenomResponse>; - upcomingGaugesPerDenom(request: _147.UpcomingGaugesPerDenomRequest): import("..").MobxResponse<_147.UpcomingGaugesPerDenomResponse>; - }; - }; - QueryRewardsEstStore: { - new (): { - store: import("..").QueryStore<_147.RewardsEstRequest, _147.RewardsEstResponse>; - rewardsEst(request: _147.RewardsEstRequest): import("..").MobxResponse<_147.RewardsEstResponse>; - }; - }; - QueryLockableDurationsStore: { - new (): { - store: import("..").QueryStore<_147.QueryLockableDurationsRequest, _147.QueryLockableDurationsResponse>; - lockableDurations(request: _147.QueryLockableDurationsRequest): import("..").MobxResponse<_147.QueryLockableDurationsResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - createGauge(value: _148.MsgCreateGauge): { - typeUrl: string; - value: Uint8Array; - }; - addToGauge(value: _148.MsgAddToGauge): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createGauge(value: _148.MsgCreateGauge): { - typeUrl: string; - value: _148.MsgCreateGauge; - }; - addToGauge(value: _148.MsgAddToGauge): { - typeUrl: string; - value: _148.MsgAddToGauge; - }; - }; - toJSON: { - createGauge(value: _148.MsgCreateGauge): { - typeUrl: string; - value: unknown; - }; - addToGauge(value: _148.MsgAddToGauge): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createGauge(value: any): { - typeUrl: string; - value: _148.MsgCreateGauge; - }; - addToGauge(value: any): { - typeUrl: string; - value: _148.MsgAddToGauge; - }; - }; - fromPartial: { - createGauge(value: _148.MsgCreateGauge): { - typeUrl: string; - value: _148.MsgCreateGauge; - }; - addToGauge(value: _148.MsgAddToGauge): { - typeUrl: string; - value: _148.MsgAddToGauge; - }; - }; - }; - AminoConverter: { - "/osmosis.incentives.MsgCreateGauge": { - aminoType: string; - toAmino: (message: _148.MsgCreateGauge) => _148.MsgCreateGaugeAmino; - fromAmino: (object: _148.MsgCreateGaugeAmino) => _148.MsgCreateGauge; - }; - "/osmosis.incentives.MsgAddToGauge": { - aminoType: string; - toAmino: (message: _148.MsgAddToGauge) => _148.MsgAddToGaugeAmino; - fromAmino: (object: _148.MsgAddToGaugeAmino) => _148.MsgAddToGauge; - }; - }; - MsgCreateGauge: { - typeUrl: string; - aminoType: string; - is(o: any): o is _148.MsgCreateGauge; - isSDK(o: any): o is _148.MsgCreateGaugeSDKType; - isAmino(o: any): o is _148.MsgCreateGaugeAmino; - encode(message: _148.MsgCreateGauge, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _148.MsgCreateGauge; - fromJSON(object: any): _148.MsgCreateGauge; - toJSON(message: _148.MsgCreateGauge): unknown; - fromPartial(object: { - isPerpetual?: boolean; - owner?: string; - distributeTo?: { - lockQueryType?: _150.LockQueryType; - denom?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - timestamp?: Date; - }; - coins?: { - denom?: string; - amount?: string; - }[]; - startTime?: Date; - numEpochsPaidOver?: bigint; - }): _148.MsgCreateGauge; - fromSDK(object: _148.MsgCreateGaugeSDKType): _148.MsgCreateGauge; - toSDK(message: _148.MsgCreateGauge): _148.MsgCreateGaugeSDKType; - fromAmino(object: _148.MsgCreateGaugeAmino): _148.MsgCreateGauge; - toAmino(message: _148.MsgCreateGauge): _148.MsgCreateGaugeAmino; - fromAminoMsg(object: _148.MsgCreateGaugeAminoMsg): _148.MsgCreateGauge; - toAminoMsg(message: _148.MsgCreateGauge): _148.MsgCreateGaugeAminoMsg; - fromProtoMsg(message: _148.MsgCreateGaugeProtoMsg): _148.MsgCreateGauge; - toProto(message: _148.MsgCreateGauge): Uint8Array; - toProtoMsg(message: _148.MsgCreateGauge): _148.MsgCreateGaugeProtoMsg; - }; - MsgCreateGaugeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _148.MsgCreateGaugeResponse; - isSDK(o: any): o is _148.MsgCreateGaugeResponseSDKType; - isAmino(o: any): o is _148.MsgCreateGaugeResponseAmino; - encode(_: _148.MsgCreateGaugeResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _148.MsgCreateGaugeResponse; - fromJSON(_: any): _148.MsgCreateGaugeResponse; - toJSON(_: _148.MsgCreateGaugeResponse): unknown; - fromPartial(_: {}): _148.MsgCreateGaugeResponse; - fromSDK(_: _148.MsgCreateGaugeResponseSDKType): _148.MsgCreateGaugeResponse; - toSDK(_: _148.MsgCreateGaugeResponse): _148.MsgCreateGaugeResponseSDKType; - fromAmino(_: _148.MsgCreateGaugeResponseAmino): _148.MsgCreateGaugeResponse; - toAmino(_: _148.MsgCreateGaugeResponse): _148.MsgCreateGaugeResponseAmino; - fromAminoMsg(object: _148.MsgCreateGaugeResponseAminoMsg): _148.MsgCreateGaugeResponse; - toAminoMsg(message: _148.MsgCreateGaugeResponse): _148.MsgCreateGaugeResponseAminoMsg; - fromProtoMsg(message: _148.MsgCreateGaugeResponseProtoMsg): _148.MsgCreateGaugeResponse; - toProto(message: _148.MsgCreateGaugeResponse): Uint8Array; - toProtoMsg(message: _148.MsgCreateGaugeResponse): _148.MsgCreateGaugeResponseProtoMsg; - }; - MsgAddToGauge: { - typeUrl: string; - aminoType: string; - is(o: any): o is _148.MsgAddToGauge; - isSDK(o: any): o is _148.MsgAddToGaugeSDKType; - isAmino(o: any): o is _148.MsgAddToGaugeAmino; - encode(message: _148.MsgAddToGauge, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _148.MsgAddToGauge; - fromJSON(object: any): _148.MsgAddToGauge; - toJSON(message: _148.MsgAddToGauge): unknown; - fromPartial(object: { - owner?: string; - gaugeId?: bigint; - rewards?: { - denom?: string; - amount?: string; - }[]; - }): _148.MsgAddToGauge; - fromSDK(object: _148.MsgAddToGaugeSDKType): _148.MsgAddToGauge; - toSDK(message: _148.MsgAddToGauge): _148.MsgAddToGaugeSDKType; - fromAmino(object: _148.MsgAddToGaugeAmino): _148.MsgAddToGauge; - toAmino(message: _148.MsgAddToGauge): _148.MsgAddToGaugeAmino; - fromAminoMsg(object: _148.MsgAddToGaugeAminoMsg): _148.MsgAddToGauge; - toAminoMsg(message: _148.MsgAddToGauge): _148.MsgAddToGaugeAminoMsg; - fromProtoMsg(message: _148.MsgAddToGaugeProtoMsg): _148.MsgAddToGauge; - toProto(message: _148.MsgAddToGauge): Uint8Array; - toProtoMsg(message: _148.MsgAddToGauge): _148.MsgAddToGaugeProtoMsg; - }; - MsgAddToGaugeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _148.MsgAddToGaugeResponse; - isSDK(o: any): o is _148.MsgAddToGaugeResponseSDKType; - isAmino(o: any): o is _148.MsgAddToGaugeResponseAmino; - encode(_: _148.MsgAddToGaugeResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _148.MsgAddToGaugeResponse; - fromJSON(_: any): _148.MsgAddToGaugeResponse; - toJSON(_: _148.MsgAddToGaugeResponse): unknown; - fromPartial(_: {}): _148.MsgAddToGaugeResponse; - fromSDK(_: _148.MsgAddToGaugeResponseSDKType): _148.MsgAddToGaugeResponse; - toSDK(_: _148.MsgAddToGaugeResponse): _148.MsgAddToGaugeResponseSDKType; - fromAmino(_: _148.MsgAddToGaugeResponseAmino): _148.MsgAddToGaugeResponse; - toAmino(_: _148.MsgAddToGaugeResponse): _148.MsgAddToGaugeResponseAmino; - fromAminoMsg(object: _148.MsgAddToGaugeResponseAminoMsg): _148.MsgAddToGaugeResponse; - toAminoMsg(message: _148.MsgAddToGaugeResponse): _148.MsgAddToGaugeResponseAminoMsg; - fromProtoMsg(message: _148.MsgAddToGaugeResponseProtoMsg): _148.MsgAddToGaugeResponse; - toProto(message: _148.MsgAddToGaugeResponse): Uint8Array; - toProtoMsg(message: _148.MsgAddToGaugeResponse): _148.MsgAddToGaugeResponseProtoMsg; - }; - ModuleToDistributeCoinsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.ModuleToDistributeCoinsRequest; - isSDK(o: any): o is _147.ModuleToDistributeCoinsRequestSDKType; - isAmino(o: any): o is _147.ModuleToDistributeCoinsRequestAmino; - encode(_: _147.ModuleToDistributeCoinsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.ModuleToDistributeCoinsRequest; - fromJSON(_: any): _147.ModuleToDistributeCoinsRequest; - toJSON(_: _147.ModuleToDistributeCoinsRequest): unknown; - fromPartial(_: {}): _147.ModuleToDistributeCoinsRequest; - fromSDK(_: _147.ModuleToDistributeCoinsRequestSDKType): _147.ModuleToDistributeCoinsRequest; - toSDK(_: _147.ModuleToDistributeCoinsRequest): _147.ModuleToDistributeCoinsRequestSDKType; - fromAmino(_: _147.ModuleToDistributeCoinsRequestAmino): _147.ModuleToDistributeCoinsRequest; - toAmino(_: _147.ModuleToDistributeCoinsRequest): _147.ModuleToDistributeCoinsRequestAmino; - fromAminoMsg(object: _147.ModuleToDistributeCoinsRequestAminoMsg): _147.ModuleToDistributeCoinsRequest; - toAminoMsg(message: _147.ModuleToDistributeCoinsRequest): _147.ModuleToDistributeCoinsRequestAminoMsg; - fromProtoMsg(message: _147.ModuleToDistributeCoinsRequestProtoMsg): _147.ModuleToDistributeCoinsRequest; - toProto(message: _147.ModuleToDistributeCoinsRequest): Uint8Array; - toProtoMsg(message: _147.ModuleToDistributeCoinsRequest): _147.ModuleToDistributeCoinsRequestProtoMsg; - }; - ModuleToDistributeCoinsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.ModuleToDistributeCoinsResponse; - isSDK(o: any): o is _147.ModuleToDistributeCoinsResponseSDKType; - isAmino(o: any): o is _147.ModuleToDistributeCoinsResponseAmino; - encode(message: _147.ModuleToDistributeCoinsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.ModuleToDistributeCoinsResponse; - fromJSON(object: any): _147.ModuleToDistributeCoinsResponse; - toJSON(message: _147.ModuleToDistributeCoinsResponse): unknown; - fromPartial(object: { - coins?: { - denom?: string; - amount?: string; - }[]; - }): _147.ModuleToDistributeCoinsResponse; - fromSDK(object: _147.ModuleToDistributeCoinsResponseSDKType): _147.ModuleToDistributeCoinsResponse; - toSDK(message: _147.ModuleToDistributeCoinsResponse): _147.ModuleToDistributeCoinsResponseSDKType; - fromAmino(object: _147.ModuleToDistributeCoinsResponseAmino): _147.ModuleToDistributeCoinsResponse; - toAmino(message: _147.ModuleToDistributeCoinsResponse): _147.ModuleToDistributeCoinsResponseAmino; - fromAminoMsg(object: _147.ModuleToDistributeCoinsResponseAminoMsg): _147.ModuleToDistributeCoinsResponse; - toAminoMsg(message: _147.ModuleToDistributeCoinsResponse): _147.ModuleToDistributeCoinsResponseAminoMsg; - fromProtoMsg(message: _147.ModuleToDistributeCoinsResponseProtoMsg): _147.ModuleToDistributeCoinsResponse; - toProto(message: _147.ModuleToDistributeCoinsResponse): Uint8Array; - toProtoMsg(message: _147.ModuleToDistributeCoinsResponse): _147.ModuleToDistributeCoinsResponseProtoMsg; - }; - GaugeByIDRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.GaugeByIDRequest; - isSDK(o: any): o is _147.GaugeByIDRequestSDKType; - isAmino(o: any): o is _147.GaugeByIDRequestAmino; - encode(message: _147.GaugeByIDRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.GaugeByIDRequest; - fromJSON(object: any): _147.GaugeByIDRequest; - toJSON(message: _147.GaugeByIDRequest): unknown; - fromPartial(object: { - id?: bigint; - }): _147.GaugeByIDRequest; - fromSDK(object: _147.GaugeByIDRequestSDKType): _147.GaugeByIDRequest; - toSDK(message: _147.GaugeByIDRequest): _147.GaugeByIDRequestSDKType; - fromAmino(object: _147.GaugeByIDRequestAmino): _147.GaugeByIDRequest; - toAmino(message: _147.GaugeByIDRequest): _147.GaugeByIDRequestAmino; - fromAminoMsg(object: _147.GaugeByIDRequestAminoMsg): _147.GaugeByIDRequest; - toAminoMsg(message: _147.GaugeByIDRequest): _147.GaugeByIDRequestAminoMsg; - fromProtoMsg(message: _147.GaugeByIDRequestProtoMsg): _147.GaugeByIDRequest; - toProto(message: _147.GaugeByIDRequest): Uint8Array; - toProtoMsg(message: _147.GaugeByIDRequest): _147.GaugeByIDRequestProtoMsg; - }; - GaugeByIDResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.GaugeByIDResponse; - isSDK(o: any): o is _147.GaugeByIDResponseSDKType; - isAmino(o: any): o is _147.GaugeByIDResponseAmino; - encode(message: _147.GaugeByIDResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.GaugeByIDResponse; - fromJSON(object: any): _147.GaugeByIDResponse; - toJSON(message: _147.GaugeByIDResponse): unknown; - fromPartial(object: { - gauge?: { - id?: bigint; - isPerpetual?: boolean; - distributeTo?: { - lockQueryType?: _150.LockQueryType; - denom?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - timestamp?: Date; - }; - coins?: { - denom?: string; - amount?: string; - }[]; - startTime?: Date; - numEpochsPaidOver?: bigint; - filledEpochs?: bigint; - distributedCoins?: { - denom?: string; - amount?: string; - }[]; - }; - }): _147.GaugeByIDResponse; - fromSDK(object: _147.GaugeByIDResponseSDKType): _147.GaugeByIDResponse; - toSDK(message: _147.GaugeByIDResponse): _147.GaugeByIDResponseSDKType; - fromAmino(object: _147.GaugeByIDResponseAmino): _147.GaugeByIDResponse; - toAmino(message: _147.GaugeByIDResponse): _147.GaugeByIDResponseAmino; - fromAminoMsg(object: _147.GaugeByIDResponseAminoMsg): _147.GaugeByIDResponse; - toAminoMsg(message: _147.GaugeByIDResponse): _147.GaugeByIDResponseAminoMsg; - fromProtoMsg(message: _147.GaugeByIDResponseProtoMsg): _147.GaugeByIDResponse; - toProto(message: _147.GaugeByIDResponse): Uint8Array; - toProtoMsg(message: _147.GaugeByIDResponse): _147.GaugeByIDResponseProtoMsg; - }; - GaugesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.GaugesRequest; - isSDK(o: any): o is _147.GaugesRequestSDKType; - isAmino(o: any): o is _147.GaugesRequestAmino; - encode(message: _147.GaugesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.GaugesRequest; - fromJSON(object: any): _147.GaugesRequest; - toJSON(message: _147.GaugesRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _147.GaugesRequest; - fromSDK(object: _147.GaugesRequestSDKType): _147.GaugesRequest; - toSDK(message: _147.GaugesRequest): _147.GaugesRequestSDKType; - fromAmino(object: _147.GaugesRequestAmino): _147.GaugesRequest; - toAmino(message: _147.GaugesRequest): _147.GaugesRequestAmino; - fromAminoMsg(object: _147.GaugesRequestAminoMsg): _147.GaugesRequest; - toAminoMsg(message: _147.GaugesRequest): _147.GaugesRequestAminoMsg; - fromProtoMsg(message: _147.GaugesRequestProtoMsg): _147.GaugesRequest; - toProto(message: _147.GaugesRequest): Uint8Array; - toProtoMsg(message: _147.GaugesRequest): _147.GaugesRequestProtoMsg; - }; - GaugesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.GaugesResponse; - isSDK(o: any): o is _147.GaugesResponseSDKType; - isAmino(o: any): o is _147.GaugesResponseAmino; - encode(message: _147.GaugesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.GaugesResponse; - fromJSON(object: any): _147.GaugesResponse; - toJSON(message: _147.GaugesResponse): unknown; - fromPartial(object: { - data?: { - id?: bigint; - isPerpetual?: boolean; - distributeTo?: { - lockQueryType?: _150.LockQueryType; - denom?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - timestamp?: Date; - }; - coins?: { - denom?: string; - amount?: string; - }[]; - startTime?: Date; - numEpochsPaidOver?: bigint; - filledEpochs?: bigint; - distributedCoins?: { - denom?: string; - amount?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _147.GaugesResponse; - fromSDK(object: _147.GaugesResponseSDKType): _147.GaugesResponse; - toSDK(message: _147.GaugesResponse): _147.GaugesResponseSDKType; - fromAmino(object: _147.GaugesResponseAmino): _147.GaugesResponse; - toAmino(message: _147.GaugesResponse): _147.GaugesResponseAmino; - fromAminoMsg(object: _147.GaugesResponseAminoMsg): _147.GaugesResponse; - toAminoMsg(message: _147.GaugesResponse): _147.GaugesResponseAminoMsg; - fromProtoMsg(message: _147.GaugesResponseProtoMsg): _147.GaugesResponse; - toProto(message: _147.GaugesResponse): Uint8Array; - toProtoMsg(message: _147.GaugesResponse): _147.GaugesResponseProtoMsg; - }; - ActiveGaugesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.ActiveGaugesRequest; - isSDK(o: any): o is _147.ActiveGaugesRequestSDKType; - isAmino(o: any): o is _147.ActiveGaugesRequestAmino; - encode(message: _147.ActiveGaugesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.ActiveGaugesRequest; - fromJSON(object: any): _147.ActiveGaugesRequest; - toJSON(message: _147.ActiveGaugesRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _147.ActiveGaugesRequest; - fromSDK(object: _147.ActiveGaugesRequestSDKType): _147.ActiveGaugesRequest; - toSDK(message: _147.ActiveGaugesRequest): _147.ActiveGaugesRequestSDKType; - fromAmino(object: _147.ActiveGaugesRequestAmino): _147.ActiveGaugesRequest; - toAmino(message: _147.ActiveGaugesRequest): _147.ActiveGaugesRequestAmino; - fromAminoMsg(object: _147.ActiveGaugesRequestAminoMsg): _147.ActiveGaugesRequest; - toAminoMsg(message: _147.ActiveGaugesRequest): _147.ActiveGaugesRequestAminoMsg; - fromProtoMsg(message: _147.ActiveGaugesRequestProtoMsg): _147.ActiveGaugesRequest; - toProto(message: _147.ActiveGaugesRequest): Uint8Array; - toProtoMsg(message: _147.ActiveGaugesRequest): _147.ActiveGaugesRequestProtoMsg; - }; - ActiveGaugesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.ActiveGaugesResponse; - isSDK(o: any): o is _147.ActiveGaugesResponseSDKType; - isAmino(o: any): o is _147.ActiveGaugesResponseAmino; - encode(message: _147.ActiveGaugesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.ActiveGaugesResponse; - fromJSON(object: any): _147.ActiveGaugesResponse; - toJSON(message: _147.ActiveGaugesResponse): unknown; - fromPartial(object: { - data?: { - id?: bigint; - isPerpetual?: boolean; - distributeTo?: { - lockQueryType?: _150.LockQueryType; - denom?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - timestamp?: Date; - }; - coins?: { - denom?: string; - amount?: string; - }[]; - startTime?: Date; - numEpochsPaidOver?: bigint; - filledEpochs?: bigint; - distributedCoins?: { - denom?: string; - amount?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _147.ActiveGaugesResponse; - fromSDK(object: _147.ActiveGaugesResponseSDKType): _147.ActiveGaugesResponse; - toSDK(message: _147.ActiveGaugesResponse): _147.ActiveGaugesResponseSDKType; - fromAmino(object: _147.ActiveGaugesResponseAmino): _147.ActiveGaugesResponse; - toAmino(message: _147.ActiveGaugesResponse): _147.ActiveGaugesResponseAmino; - fromAminoMsg(object: _147.ActiveGaugesResponseAminoMsg): _147.ActiveGaugesResponse; - toAminoMsg(message: _147.ActiveGaugesResponse): _147.ActiveGaugesResponseAminoMsg; - fromProtoMsg(message: _147.ActiveGaugesResponseProtoMsg): _147.ActiveGaugesResponse; - toProto(message: _147.ActiveGaugesResponse): Uint8Array; - toProtoMsg(message: _147.ActiveGaugesResponse): _147.ActiveGaugesResponseProtoMsg; - }; - ActiveGaugesPerDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.ActiveGaugesPerDenomRequest; - isSDK(o: any): o is _147.ActiveGaugesPerDenomRequestSDKType; - isAmino(o: any): o is _147.ActiveGaugesPerDenomRequestAmino; - encode(message: _147.ActiveGaugesPerDenomRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.ActiveGaugesPerDenomRequest; - fromJSON(object: any): _147.ActiveGaugesPerDenomRequest; - toJSON(message: _147.ActiveGaugesPerDenomRequest): unknown; - fromPartial(object: { - denom?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _147.ActiveGaugesPerDenomRequest; - fromSDK(object: _147.ActiveGaugesPerDenomRequestSDKType): _147.ActiveGaugesPerDenomRequest; - toSDK(message: _147.ActiveGaugesPerDenomRequest): _147.ActiveGaugesPerDenomRequestSDKType; - fromAmino(object: _147.ActiveGaugesPerDenomRequestAmino): _147.ActiveGaugesPerDenomRequest; - toAmino(message: _147.ActiveGaugesPerDenomRequest): _147.ActiveGaugesPerDenomRequestAmino; - fromAminoMsg(object: _147.ActiveGaugesPerDenomRequestAminoMsg): _147.ActiveGaugesPerDenomRequest; - toAminoMsg(message: _147.ActiveGaugesPerDenomRequest): _147.ActiveGaugesPerDenomRequestAminoMsg; - fromProtoMsg(message: _147.ActiveGaugesPerDenomRequestProtoMsg): _147.ActiveGaugesPerDenomRequest; - toProto(message: _147.ActiveGaugesPerDenomRequest): Uint8Array; - toProtoMsg(message: _147.ActiveGaugesPerDenomRequest): _147.ActiveGaugesPerDenomRequestProtoMsg; - }; - ActiveGaugesPerDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.ActiveGaugesPerDenomResponse; - isSDK(o: any): o is _147.ActiveGaugesPerDenomResponseSDKType; - isAmino(o: any): o is _147.ActiveGaugesPerDenomResponseAmino; - encode(message: _147.ActiveGaugesPerDenomResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.ActiveGaugesPerDenomResponse; - fromJSON(object: any): _147.ActiveGaugesPerDenomResponse; - toJSON(message: _147.ActiveGaugesPerDenomResponse): unknown; - fromPartial(object: { - data?: { - id?: bigint; - isPerpetual?: boolean; - distributeTo?: { - lockQueryType?: _150.LockQueryType; - denom?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - timestamp?: Date; - }; - coins?: { - denom?: string; - amount?: string; - }[]; - startTime?: Date; - numEpochsPaidOver?: bigint; - filledEpochs?: bigint; - distributedCoins?: { - denom?: string; - amount?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _147.ActiveGaugesPerDenomResponse; - fromSDK(object: _147.ActiveGaugesPerDenomResponseSDKType): _147.ActiveGaugesPerDenomResponse; - toSDK(message: _147.ActiveGaugesPerDenomResponse): _147.ActiveGaugesPerDenomResponseSDKType; - fromAmino(object: _147.ActiveGaugesPerDenomResponseAmino): _147.ActiveGaugesPerDenomResponse; - toAmino(message: _147.ActiveGaugesPerDenomResponse): _147.ActiveGaugesPerDenomResponseAmino; - fromAminoMsg(object: _147.ActiveGaugesPerDenomResponseAminoMsg): _147.ActiveGaugesPerDenomResponse; - toAminoMsg(message: _147.ActiveGaugesPerDenomResponse): _147.ActiveGaugesPerDenomResponseAminoMsg; - fromProtoMsg(message: _147.ActiveGaugesPerDenomResponseProtoMsg): _147.ActiveGaugesPerDenomResponse; - toProto(message: _147.ActiveGaugesPerDenomResponse): Uint8Array; - toProtoMsg(message: _147.ActiveGaugesPerDenomResponse): _147.ActiveGaugesPerDenomResponseProtoMsg; - }; - UpcomingGaugesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.UpcomingGaugesRequest; - isSDK(o: any): o is _147.UpcomingGaugesRequestSDKType; - isAmino(o: any): o is _147.UpcomingGaugesRequestAmino; - encode(message: _147.UpcomingGaugesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.UpcomingGaugesRequest; - fromJSON(object: any): _147.UpcomingGaugesRequest; - toJSON(message: _147.UpcomingGaugesRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _147.UpcomingGaugesRequest; - fromSDK(object: _147.UpcomingGaugesRequestSDKType): _147.UpcomingGaugesRequest; - toSDK(message: _147.UpcomingGaugesRequest): _147.UpcomingGaugesRequestSDKType; - fromAmino(object: _147.UpcomingGaugesRequestAmino): _147.UpcomingGaugesRequest; - toAmino(message: _147.UpcomingGaugesRequest): _147.UpcomingGaugesRequestAmino; - fromAminoMsg(object: _147.UpcomingGaugesRequestAminoMsg): _147.UpcomingGaugesRequest; - toAminoMsg(message: _147.UpcomingGaugesRequest): _147.UpcomingGaugesRequestAminoMsg; - fromProtoMsg(message: _147.UpcomingGaugesRequestProtoMsg): _147.UpcomingGaugesRequest; - toProto(message: _147.UpcomingGaugesRequest): Uint8Array; - toProtoMsg(message: _147.UpcomingGaugesRequest): _147.UpcomingGaugesRequestProtoMsg; - }; - UpcomingGaugesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.UpcomingGaugesResponse; - isSDK(o: any): o is _147.UpcomingGaugesResponseSDKType; - isAmino(o: any): o is _147.UpcomingGaugesResponseAmino; - encode(message: _147.UpcomingGaugesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.UpcomingGaugesResponse; - fromJSON(object: any): _147.UpcomingGaugesResponse; - toJSON(message: _147.UpcomingGaugesResponse): unknown; - fromPartial(object: { - data?: { - id?: bigint; - isPerpetual?: boolean; - distributeTo?: { - lockQueryType?: _150.LockQueryType; - denom?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - timestamp?: Date; - }; - coins?: { - denom?: string; - amount?: string; - }[]; - startTime?: Date; - numEpochsPaidOver?: bigint; - filledEpochs?: bigint; - distributedCoins?: { - denom?: string; - amount?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _147.UpcomingGaugesResponse; - fromSDK(object: _147.UpcomingGaugesResponseSDKType): _147.UpcomingGaugesResponse; - toSDK(message: _147.UpcomingGaugesResponse): _147.UpcomingGaugesResponseSDKType; - fromAmino(object: _147.UpcomingGaugesResponseAmino): _147.UpcomingGaugesResponse; - toAmino(message: _147.UpcomingGaugesResponse): _147.UpcomingGaugesResponseAmino; - fromAminoMsg(object: _147.UpcomingGaugesResponseAminoMsg): _147.UpcomingGaugesResponse; - toAminoMsg(message: _147.UpcomingGaugesResponse): _147.UpcomingGaugesResponseAminoMsg; - fromProtoMsg(message: _147.UpcomingGaugesResponseProtoMsg): _147.UpcomingGaugesResponse; - toProto(message: _147.UpcomingGaugesResponse): Uint8Array; - toProtoMsg(message: _147.UpcomingGaugesResponse): _147.UpcomingGaugesResponseProtoMsg; - }; - UpcomingGaugesPerDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.UpcomingGaugesPerDenomRequest; - isSDK(o: any): o is _147.UpcomingGaugesPerDenomRequestSDKType; - isAmino(o: any): o is _147.UpcomingGaugesPerDenomRequestAmino; - encode(message: _147.UpcomingGaugesPerDenomRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.UpcomingGaugesPerDenomRequest; - fromJSON(object: any): _147.UpcomingGaugesPerDenomRequest; - toJSON(message: _147.UpcomingGaugesPerDenomRequest): unknown; - fromPartial(object: { - denom?: string; - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _147.UpcomingGaugesPerDenomRequest; - fromSDK(object: _147.UpcomingGaugesPerDenomRequestSDKType): _147.UpcomingGaugesPerDenomRequest; - toSDK(message: _147.UpcomingGaugesPerDenomRequest): _147.UpcomingGaugesPerDenomRequestSDKType; - fromAmino(object: _147.UpcomingGaugesPerDenomRequestAmino): _147.UpcomingGaugesPerDenomRequest; - toAmino(message: _147.UpcomingGaugesPerDenomRequest): _147.UpcomingGaugesPerDenomRequestAmino; - fromAminoMsg(object: _147.UpcomingGaugesPerDenomRequestAminoMsg): _147.UpcomingGaugesPerDenomRequest; - toAminoMsg(message: _147.UpcomingGaugesPerDenomRequest): _147.UpcomingGaugesPerDenomRequestAminoMsg; - fromProtoMsg(message: _147.UpcomingGaugesPerDenomRequestProtoMsg): _147.UpcomingGaugesPerDenomRequest; - toProto(message: _147.UpcomingGaugesPerDenomRequest): Uint8Array; - toProtoMsg(message: _147.UpcomingGaugesPerDenomRequest): _147.UpcomingGaugesPerDenomRequestProtoMsg; - }; - UpcomingGaugesPerDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.UpcomingGaugesPerDenomResponse; - isSDK(o: any): o is _147.UpcomingGaugesPerDenomResponseSDKType; - isAmino(o: any): o is _147.UpcomingGaugesPerDenomResponseAmino; - encode(message: _147.UpcomingGaugesPerDenomResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.UpcomingGaugesPerDenomResponse; - fromJSON(object: any): _147.UpcomingGaugesPerDenomResponse; - toJSON(message: _147.UpcomingGaugesPerDenomResponse): unknown; - fromPartial(object: { - upcomingGauges?: { - id?: bigint; - isPerpetual?: boolean; - distributeTo?: { - lockQueryType?: _150.LockQueryType; - denom?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - timestamp?: Date; - }; - coins?: { - denom?: string; - amount?: string; - }[]; - startTime?: Date; - numEpochsPaidOver?: bigint; - filledEpochs?: bigint; - distributedCoins?: { - denom?: string; - amount?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _147.UpcomingGaugesPerDenomResponse; - fromSDK(object: _147.UpcomingGaugesPerDenomResponseSDKType): _147.UpcomingGaugesPerDenomResponse; - toSDK(message: _147.UpcomingGaugesPerDenomResponse): _147.UpcomingGaugesPerDenomResponseSDKType; - fromAmino(object: _147.UpcomingGaugesPerDenomResponseAmino): _147.UpcomingGaugesPerDenomResponse; - toAmino(message: _147.UpcomingGaugesPerDenomResponse): _147.UpcomingGaugesPerDenomResponseAmino; - fromAminoMsg(object: _147.UpcomingGaugesPerDenomResponseAminoMsg): _147.UpcomingGaugesPerDenomResponse; - toAminoMsg(message: _147.UpcomingGaugesPerDenomResponse): _147.UpcomingGaugesPerDenomResponseAminoMsg; - fromProtoMsg(message: _147.UpcomingGaugesPerDenomResponseProtoMsg): _147.UpcomingGaugesPerDenomResponse; - toProto(message: _147.UpcomingGaugesPerDenomResponse): Uint8Array; - toProtoMsg(message: _147.UpcomingGaugesPerDenomResponse): _147.UpcomingGaugesPerDenomResponseProtoMsg; - }; - RewardsEstRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.RewardsEstRequest; - isSDK(o: any): o is _147.RewardsEstRequestSDKType; - isAmino(o: any): o is _147.RewardsEstRequestAmino; - encode(message: _147.RewardsEstRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.RewardsEstRequest; - fromJSON(object: any): _147.RewardsEstRequest; - toJSON(message: _147.RewardsEstRequest): unknown; - fromPartial(object: { - owner?: string; - lockIds?: bigint[]; - endEpoch?: bigint; - }): _147.RewardsEstRequest; - fromSDK(object: _147.RewardsEstRequestSDKType): _147.RewardsEstRequest; - toSDK(message: _147.RewardsEstRequest): _147.RewardsEstRequestSDKType; - fromAmino(object: _147.RewardsEstRequestAmino): _147.RewardsEstRequest; - toAmino(message: _147.RewardsEstRequest): _147.RewardsEstRequestAmino; - fromAminoMsg(object: _147.RewardsEstRequestAminoMsg): _147.RewardsEstRequest; - toAminoMsg(message: _147.RewardsEstRequest): _147.RewardsEstRequestAminoMsg; - fromProtoMsg(message: _147.RewardsEstRequestProtoMsg): _147.RewardsEstRequest; - toProto(message: _147.RewardsEstRequest): Uint8Array; - toProtoMsg(message: _147.RewardsEstRequest): _147.RewardsEstRequestProtoMsg; - }; - RewardsEstResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.RewardsEstResponse; - isSDK(o: any): o is _147.RewardsEstResponseSDKType; - isAmino(o: any): o is _147.RewardsEstResponseAmino; - encode(message: _147.RewardsEstResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.RewardsEstResponse; - fromJSON(object: any): _147.RewardsEstResponse; - toJSON(message: _147.RewardsEstResponse): unknown; - fromPartial(object: { - coins?: { - denom?: string; - amount?: string; - }[]; - }): _147.RewardsEstResponse; - fromSDK(object: _147.RewardsEstResponseSDKType): _147.RewardsEstResponse; - toSDK(message: _147.RewardsEstResponse): _147.RewardsEstResponseSDKType; - fromAmino(object: _147.RewardsEstResponseAmino): _147.RewardsEstResponse; - toAmino(message: _147.RewardsEstResponse): _147.RewardsEstResponseAmino; - fromAminoMsg(object: _147.RewardsEstResponseAminoMsg): _147.RewardsEstResponse; - toAminoMsg(message: _147.RewardsEstResponse): _147.RewardsEstResponseAminoMsg; - fromProtoMsg(message: _147.RewardsEstResponseProtoMsg): _147.RewardsEstResponse; - toProto(message: _147.RewardsEstResponse): Uint8Array; - toProtoMsg(message: _147.RewardsEstResponse): _147.RewardsEstResponseProtoMsg; - }; - QueryLockableDurationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.QueryLockableDurationsRequest; - isSDK(o: any): o is _147.QueryLockableDurationsRequestSDKType; - isAmino(o: any): o is _147.QueryLockableDurationsRequestAmino; - encode(_: _147.QueryLockableDurationsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.QueryLockableDurationsRequest; - fromJSON(_: any): _147.QueryLockableDurationsRequest; - toJSON(_: _147.QueryLockableDurationsRequest): unknown; - fromPartial(_: {}): _147.QueryLockableDurationsRequest; - fromSDK(_: _147.QueryLockableDurationsRequestSDKType): _147.QueryLockableDurationsRequest; - toSDK(_: _147.QueryLockableDurationsRequest): _147.QueryLockableDurationsRequestSDKType; - fromAmino(_: _147.QueryLockableDurationsRequestAmino): _147.QueryLockableDurationsRequest; - toAmino(_: _147.QueryLockableDurationsRequest): _147.QueryLockableDurationsRequestAmino; - fromAminoMsg(object: _147.QueryLockableDurationsRequestAminoMsg): _147.QueryLockableDurationsRequest; - toAminoMsg(message: _147.QueryLockableDurationsRequest): _147.QueryLockableDurationsRequestAminoMsg; - fromProtoMsg(message: _147.QueryLockableDurationsRequestProtoMsg): _147.QueryLockableDurationsRequest; - toProto(message: _147.QueryLockableDurationsRequest): Uint8Array; - toProtoMsg(message: _147.QueryLockableDurationsRequest): _147.QueryLockableDurationsRequestProtoMsg; - }; - QueryLockableDurationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _147.QueryLockableDurationsResponse; - isSDK(o: any): o is _147.QueryLockableDurationsResponseSDKType; - isAmino(o: any): o is _147.QueryLockableDurationsResponseAmino; - encode(message: _147.QueryLockableDurationsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _147.QueryLockableDurationsResponse; - fromJSON(object: any): _147.QueryLockableDurationsResponse; - toJSON(message: _147.QueryLockableDurationsResponse): unknown; - fromPartial(object: { - lockableDurations?: { - seconds?: bigint; - nanos?: number; - }[]; - }): _147.QueryLockableDurationsResponse; - fromSDK(object: _147.QueryLockableDurationsResponseSDKType): _147.QueryLockableDurationsResponse; - toSDK(message: _147.QueryLockableDurationsResponse): _147.QueryLockableDurationsResponseSDKType; - fromAmino(object: _147.QueryLockableDurationsResponseAmino): _147.QueryLockableDurationsResponse; - toAmino(message: _147.QueryLockableDurationsResponse): _147.QueryLockableDurationsResponseAmino; - fromAminoMsg(object: _147.QueryLockableDurationsResponseAminoMsg): _147.QueryLockableDurationsResponse; - toAminoMsg(message: _147.QueryLockableDurationsResponse): _147.QueryLockableDurationsResponseAminoMsg; - fromProtoMsg(message: _147.QueryLockableDurationsResponseProtoMsg): _147.QueryLockableDurationsResponse; - toProto(message: _147.QueryLockableDurationsResponse): Uint8Array; - toProtoMsg(message: _147.QueryLockableDurationsResponse): _147.QueryLockableDurationsResponseProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _146.Params; - isSDK(o: any): o is _146.ParamsSDKType; - isAmino(o: any): o is _146.ParamsAmino; - encode(message: _146.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _146.Params; - fromJSON(object: any): _146.Params; - toJSON(message: _146.Params): unknown; - fromPartial(object: { - distrEpochIdentifier?: string; - }): _146.Params; - fromSDK(object: _146.ParamsSDKType): _146.Params; - toSDK(message: _146.Params): _146.ParamsSDKType; - fromAmino(object: _146.ParamsAmino): _146.Params; - toAmino(message: _146.Params): _146.ParamsAmino; - fromAminoMsg(object: _146.ParamsAminoMsg): _146.Params; - toAminoMsg(message: _146.Params): _146.ParamsAminoMsg; - fromProtoMsg(message: _146.ParamsProtoMsg): _146.Params; - toProto(message: _146.Params): Uint8Array; - toProtoMsg(message: _146.Params): _146.ParamsProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _145.GenesisState; - isSDK(o: any): o is _145.GenesisStateSDKType; - isAmino(o: any): o is _145.GenesisStateAmino; - encode(message: _145.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _145.GenesisState; - fromJSON(object: any): _145.GenesisState; - toJSON(message: _145.GenesisState): unknown; - fromPartial(object: { - params?: { - distrEpochIdentifier?: string; - }; - gauges?: { - id?: bigint; - isPerpetual?: boolean; - distributeTo?: { - lockQueryType?: _150.LockQueryType; - denom?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - timestamp?: Date; - }; - coins?: { - denom?: string; - amount?: string; - }[]; - startTime?: Date; - numEpochsPaidOver?: bigint; - filledEpochs?: bigint; - distributedCoins?: { - denom?: string; - amount?: string; - }[]; - }[]; - lockableDurations?: { - seconds?: bigint; - nanos?: number; - }[]; - lastGaugeId?: bigint; - }): _145.GenesisState; - fromSDK(object: _145.GenesisStateSDKType): _145.GenesisState; - toSDK(message: _145.GenesisState): _145.GenesisStateSDKType; - fromAmino(object: _145.GenesisStateAmino): _145.GenesisState; - toAmino(message: _145.GenesisState): _145.GenesisStateAmino; - fromAminoMsg(object: _145.GenesisStateAminoMsg): _145.GenesisState; - toAminoMsg(message: _145.GenesisState): _145.GenesisStateAminoMsg; - fromProtoMsg(message: _145.GenesisStateProtoMsg): _145.GenesisState; - toProto(message: _145.GenesisState): Uint8Array; - toProtoMsg(message: _145.GenesisState): _145.GenesisStateProtoMsg; - }; - Gauge: { - typeUrl: string; - aminoType: string; - is(o: any): o is _144.Gauge; - isSDK(o: any): o is _144.GaugeSDKType; - isAmino(o: any): o is _144.GaugeAmino; - encode(message: _144.Gauge, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _144.Gauge; - fromJSON(object: any): _144.Gauge; - toJSON(message: _144.Gauge): unknown; - fromPartial(object: { - id?: bigint; - isPerpetual?: boolean; - distributeTo?: { - lockQueryType?: _150.LockQueryType; - denom?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - timestamp?: Date; - }; - coins?: { - denom?: string; - amount?: string; - }[]; - startTime?: Date; - numEpochsPaidOver?: bigint; - filledEpochs?: bigint; - distributedCoins?: { - denom?: string; - amount?: string; - }[]; - }): _144.Gauge; - fromSDK(object: _144.GaugeSDKType): _144.Gauge; - toSDK(message: _144.Gauge): _144.GaugeSDKType; - fromAmino(object: _144.GaugeAmino): _144.Gauge; - toAmino(message: _144.Gauge): _144.GaugeAmino; - fromAminoMsg(object: _144.GaugeAminoMsg): _144.Gauge; - toAminoMsg(message: _144.Gauge): _144.GaugeAminoMsg; - fromProtoMsg(message: _144.GaugeProtoMsg): _144.Gauge; - toProto(message: _144.Gauge): Uint8Array; - toProtoMsg(message: _144.Gauge): _144.GaugeProtoMsg; - }; - LockableDurationsInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _144.LockableDurationsInfo; - isSDK(o: any): o is _144.LockableDurationsInfoSDKType; - isAmino(o: any): o is _144.LockableDurationsInfoAmino; - encode(message: _144.LockableDurationsInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _144.LockableDurationsInfo; - fromJSON(object: any): _144.LockableDurationsInfo; - toJSON(message: _144.LockableDurationsInfo): unknown; - fromPartial(object: { - lockableDurations?: { - seconds?: bigint; - nanos?: number; - }[]; - }): _144.LockableDurationsInfo; - fromSDK(object: _144.LockableDurationsInfoSDKType): _144.LockableDurationsInfo; - toSDK(message: _144.LockableDurationsInfo): _144.LockableDurationsInfoSDKType; - fromAmino(object: _144.LockableDurationsInfoAmino): _144.LockableDurationsInfo; - toAmino(message: _144.LockableDurationsInfo): _144.LockableDurationsInfoAmino; - fromAminoMsg(object: _144.LockableDurationsInfoAminoMsg): _144.LockableDurationsInfo; - toAminoMsg(message: _144.LockableDurationsInfo): _144.LockableDurationsInfoAminoMsg; - fromProtoMsg(message: _144.LockableDurationsInfoProtoMsg): _144.LockableDurationsInfo; - toProto(message: _144.LockableDurationsInfo): Uint8Array; - toProtoMsg(message: _144.LockableDurationsInfo): _144.LockableDurationsInfoProtoMsg; - }; - }; - const lockup: { - MsgClientImpl: typeof _299.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _299.MsgClientImpl; - QueryClientImpl: typeof _289.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useModuleBalance: ({ request, options }: _289.UseModuleBalanceQuery) => import("@tanstack/react-query").UseQueryResult; - useModuleLockedAmount: ({ request, options }: _289.UseModuleLockedAmountQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountUnlockableCoins: ({ request, options }: _289.UseAccountUnlockableCoinsQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountUnlockingCoins: ({ request, options }: _289.UseAccountUnlockingCoinsQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedCoins: ({ request, options }: _289.UseAccountLockedCoinsQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedPastTime: ({ request, options }: _289.UseAccountLockedPastTimeQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedPastTimeNotUnlockingOnly: ({ request, options }: _289.UseAccountLockedPastTimeNotUnlockingOnlyQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountUnlockedBeforeTime: ({ request, options }: _289.UseAccountUnlockedBeforeTimeQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedPastTimeDenom: ({ request, options }: _289.UseAccountLockedPastTimeDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useLockedDenom: ({ request, options }: _289.UseLockedDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useLockedByID: ({ request, options }: _289.UseLockedByIDQuery) => import("@tanstack/react-query").UseQueryResult; - useSyntheticLockupsByLockupID: ({ request, options }: _289.UseSyntheticLockupsByLockupIDQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedLongerDuration: ({ request, options }: _289.UseAccountLockedLongerDurationQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedDuration: ({ request, options }: _289.UseAccountLockedDurationQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedLongerDurationNotUnlockingOnly: ({ request, options }: _289.UseAccountLockedLongerDurationNotUnlockingOnlyQuery) => import("@tanstack/react-query").UseQueryResult; - useAccountLockedLongerDurationDenom: ({ request, options }: _289.UseAccountLockedLongerDurationDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _289.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryModuleBalanceStore: { - new (): { - store: import("..").QueryStore<_152.ModuleBalanceRequest, _152.ModuleBalanceResponse>; - moduleBalance(request: _152.ModuleBalanceRequest): import("..").MobxResponse<_152.ModuleBalanceResponse>; - }; - }; - QueryModuleLockedAmountStore: { - new (): { - store: import("..").QueryStore<_152.ModuleLockedAmountRequest, _152.ModuleLockedAmountResponse>; - moduleLockedAmount(request: _152.ModuleLockedAmountRequest): import("..").MobxResponse<_152.ModuleLockedAmountResponse>; - }; - }; - QueryAccountUnlockableCoinsStore: { - new (): { - store: import("..").QueryStore<_152.AccountUnlockableCoinsRequest, _152.AccountUnlockableCoinsResponse>; - accountUnlockableCoins(request: _152.AccountUnlockableCoinsRequest): import("..").MobxResponse<_152.AccountUnlockableCoinsResponse>; - }; - }; - QueryAccountUnlockingCoinsStore: { - new (): { - store: import("..").QueryStore<_152.AccountUnlockingCoinsRequest, _152.AccountUnlockingCoinsResponse>; - accountUnlockingCoins(request: _152.AccountUnlockingCoinsRequest): import("..").MobxResponse<_152.AccountUnlockingCoinsResponse>; - }; - }; - QueryAccountLockedCoinsStore: { - new (): { - store: import("..").QueryStore<_152.AccountLockedCoinsRequest, _152.AccountLockedCoinsResponse>; - accountLockedCoins(request: _152.AccountLockedCoinsRequest): import("..").MobxResponse<_152.AccountLockedCoinsResponse>; - }; - }; - QueryAccountLockedPastTimeStore: { - new (): { - store: import("..").QueryStore<_152.AccountLockedPastTimeRequest, _152.AccountLockedPastTimeResponse>; - accountLockedPastTime(request: _152.AccountLockedPastTimeRequest): import("..").MobxResponse<_152.AccountLockedPastTimeResponse>; - }; - }; - QueryAccountLockedPastTimeNotUnlockingOnlyStore: { - new (): { - store: import("..").QueryStore<_152.AccountLockedPastTimeNotUnlockingOnlyRequest, _152.AccountLockedPastTimeNotUnlockingOnlyResponse>; - accountLockedPastTimeNotUnlockingOnly(request: _152.AccountLockedPastTimeNotUnlockingOnlyRequest): import("..").MobxResponse<_152.AccountLockedPastTimeNotUnlockingOnlyResponse>; - }; - }; - QueryAccountUnlockedBeforeTimeStore: { - new (): { - store: import("..").QueryStore<_152.AccountUnlockedBeforeTimeRequest, _152.AccountUnlockedBeforeTimeResponse>; - accountUnlockedBeforeTime(request: _152.AccountUnlockedBeforeTimeRequest): import("..").MobxResponse<_152.AccountUnlockedBeforeTimeResponse>; - }; - }; - QueryAccountLockedPastTimeDenomStore: { - new (): { - store: import("..").QueryStore<_152.AccountLockedPastTimeDenomRequest, _152.AccountLockedPastTimeDenomResponse>; - accountLockedPastTimeDenom(request: _152.AccountLockedPastTimeDenomRequest): import("..").MobxResponse<_152.AccountLockedPastTimeDenomResponse>; - }; - }; - QueryLockedDenomStore: { - new (): { - store: import("..").QueryStore<_152.LockedDenomRequest, _152.LockedDenomResponse>; - lockedDenom(request: _152.LockedDenomRequest): import("..").MobxResponse<_152.LockedDenomResponse>; - }; - }; - QueryLockedByIDStore: { - new (): { - store: import("..").QueryStore<_152.LockedRequest, _152.LockedResponse>; - lockedByID(request: _152.LockedRequest): import("..").MobxResponse<_152.LockedResponse>; - }; - }; - QuerySyntheticLockupsByLockupIDStore: { - new (): { - store: import("..").QueryStore<_152.SyntheticLockupsByLockupIDRequest, _152.SyntheticLockupsByLockupIDResponse>; - syntheticLockupsByLockupID(request: _152.SyntheticLockupsByLockupIDRequest): import("..").MobxResponse<_152.SyntheticLockupsByLockupIDResponse>; - }; - }; - QueryAccountLockedLongerDurationStore: { - new (): { - store: import("..").QueryStore<_152.AccountLockedLongerDurationRequest, _152.AccountLockedLongerDurationResponse>; - accountLockedLongerDuration(request: _152.AccountLockedLongerDurationRequest): import("..").MobxResponse<_152.AccountLockedLongerDurationResponse>; - }; - }; - QueryAccountLockedDurationStore: { - new (): { - store: import("..").QueryStore<_152.AccountLockedDurationRequest, _152.AccountLockedDurationResponse>; - accountLockedDuration(request: _152.AccountLockedDurationRequest): import("..").MobxResponse<_152.AccountLockedDurationResponse>; - }; - }; - QueryAccountLockedLongerDurationNotUnlockingOnlyStore: { - new (): { - store: import("..").QueryStore<_152.AccountLockedLongerDurationNotUnlockingOnlyRequest, _152.AccountLockedLongerDurationNotUnlockingOnlyResponse>; - accountLockedLongerDurationNotUnlockingOnly(request: _152.AccountLockedLongerDurationNotUnlockingOnlyRequest): import("..").MobxResponse<_152.AccountLockedLongerDurationNotUnlockingOnlyResponse>; - }; - }; - QueryAccountLockedLongerDurationDenomStore: { - new (): { - store: import("..").QueryStore<_152.AccountLockedLongerDurationDenomRequest, _152.AccountLockedLongerDurationDenomResponse>; - accountLockedLongerDurationDenom(request: _152.AccountLockedLongerDurationDenomRequest): import("..").MobxResponse<_152.AccountLockedLongerDurationDenomResponse>; - }; - }; - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_152.QueryParamsRequest, _152.QueryParamsResponse>; - params(request: _152.QueryParamsRequest): import("..").MobxResponse<_152.QueryParamsResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - lockTokens(value: _153.MsgLockTokens): { - typeUrl: string; - value: Uint8Array; - }; - beginUnlockingAll(value: _153.MsgBeginUnlockingAll): { - typeUrl: string; - value: Uint8Array; - }; - beginUnlocking(value: _153.MsgBeginUnlocking): { - typeUrl: string; - value: Uint8Array; - }; - extendLockup(value: _153.MsgExtendLockup): { - typeUrl: string; - value: Uint8Array; - }; - forceUnlock(value: _153.MsgForceUnlock): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - lockTokens(value: _153.MsgLockTokens): { - typeUrl: string; - value: _153.MsgLockTokens; - }; - beginUnlockingAll(value: _153.MsgBeginUnlockingAll): { - typeUrl: string; - value: _153.MsgBeginUnlockingAll; - }; - beginUnlocking(value: _153.MsgBeginUnlocking): { - typeUrl: string; - value: _153.MsgBeginUnlocking; - }; - extendLockup(value: _153.MsgExtendLockup): { - typeUrl: string; - value: _153.MsgExtendLockup; - }; - forceUnlock(value: _153.MsgForceUnlock): { - typeUrl: string; - value: _153.MsgForceUnlock; - }; - }; - toJSON: { - lockTokens(value: _153.MsgLockTokens): { - typeUrl: string; - value: unknown; - }; - beginUnlockingAll(value: _153.MsgBeginUnlockingAll): { - typeUrl: string; - value: unknown; - }; - beginUnlocking(value: _153.MsgBeginUnlocking): { - typeUrl: string; - value: unknown; - }; - extendLockup(value: _153.MsgExtendLockup): { - typeUrl: string; - value: unknown; - }; - forceUnlock(value: _153.MsgForceUnlock): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - lockTokens(value: any): { - typeUrl: string; - value: _153.MsgLockTokens; - }; - beginUnlockingAll(value: any): { - typeUrl: string; - value: _153.MsgBeginUnlockingAll; - }; - beginUnlocking(value: any): { - typeUrl: string; - value: _153.MsgBeginUnlocking; - }; - extendLockup(value: any): { - typeUrl: string; - value: _153.MsgExtendLockup; - }; - forceUnlock(value: any): { - typeUrl: string; - value: _153.MsgForceUnlock; - }; - }; - fromPartial: { - lockTokens(value: _153.MsgLockTokens): { - typeUrl: string; - value: _153.MsgLockTokens; - }; - beginUnlockingAll(value: _153.MsgBeginUnlockingAll): { - typeUrl: string; - value: _153.MsgBeginUnlockingAll; - }; - beginUnlocking(value: _153.MsgBeginUnlocking): { - typeUrl: string; - value: _153.MsgBeginUnlocking; - }; - extendLockup(value: _153.MsgExtendLockup): { - typeUrl: string; - value: _153.MsgExtendLockup; - }; - forceUnlock(value: _153.MsgForceUnlock): { - typeUrl: string; - value: _153.MsgForceUnlock; - }; - }; - }; - AminoConverter: { - "/osmosis.lockup.MsgLockTokens": { - aminoType: string; - toAmino: (message: _153.MsgLockTokens) => _153.MsgLockTokensAmino; - fromAmino: (object: _153.MsgLockTokensAmino) => _153.MsgLockTokens; - }; - "/osmosis.lockup.MsgBeginUnlockingAll": { - aminoType: string; - toAmino: (message: _153.MsgBeginUnlockingAll) => _153.MsgBeginUnlockingAllAmino; - fromAmino: (object: _153.MsgBeginUnlockingAllAmino) => _153.MsgBeginUnlockingAll; - }; - "/osmosis.lockup.MsgBeginUnlocking": { - aminoType: string; - toAmino: (message: _153.MsgBeginUnlocking) => _153.MsgBeginUnlockingAmino; - fromAmino: (object: _153.MsgBeginUnlockingAmino) => _153.MsgBeginUnlocking; - }; - "/osmosis.lockup.MsgExtendLockup": { - aminoType: string; - toAmino: (message: _153.MsgExtendLockup) => _153.MsgExtendLockupAmino; - fromAmino: (object: _153.MsgExtendLockupAmino) => _153.MsgExtendLockup; - }; - "/osmosis.lockup.MsgForceUnlock": { - aminoType: string; - toAmino: (message: _153.MsgForceUnlock) => _153.MsgForceUnlockAmino; - fromAmino: (object: _153.MsgForceUnlockAmino) => _153.MsgForceUnlock; - }; - }; - MsgLockTokens: { - typeUrl: string; - aminoType: string; - is(o: any): o is _153.MsgLockTokens; - isSDK(o: any): o is _153.MsgLockTokensSDKType; - isAmino(o: any): o is _153.MsgLockTokensAmino; - encode(message: _153.MsgLockTokens, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _153.MsgLockTokens; - fromJSON(object: any): _153.MsgLockTokens; - toJSON(message: _153.MsgLockTokens): unknown; - fromPartial(object: { - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - coins?: { - denom?: string; - amount?: string; - }[]; - }): _153.MsgLockTokens; - fromSDK(object: _153.MsgLockTokensSDKType): _153.MsgLockTokens; - toSDK(message: _153.MsgLockTokens): _153.MsgLockTokensSDKType; - fromAmino(object: _153.MsgLockTokensAmino): _153.MsgLockTokens; - toAmino(message: _153.MsgLockTokens): _153.MsgLockTokensAmino; - fromAminoMsg(object: _153.MsgLockTokensAminoMsg): _153.MsgLockTokens; - toAminoMsg(message: _153.MsgLockTokens): _153.MsgLockTokensAminoMsg; - fromProtoMsg(message: _153.MsgLockTokensProtoMsg): _153.MsgLockTokens; - toProto(message: _153.MsgLockTokens): Uint8Array; - toProtoMsg(message: _153.MsgLockTokens): _153.MsgLockTokensProtoMsg; - }; - MsgLockTokensResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _153.MsgLockTokensResponse; - isSDK(o: any): o is _153.MsgLockTokensResponseSDKType; - isAmino(o: any): o is _153.MsgLockTokensResponseAmino; - encode(message: _153.MsgLockTokensResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _153.MsgLockTokensResponse; - fromJSON(object: any): _153.MsgLockTokensResponse; - toJSON(message: _153.MsgLockTokensResponse): unknown; - fromPartial(object: { - ID?: bigint; - }): _153.MsgLockTokensResponse; - fromSDK(object: _153.MsgLockTokensResponseSDKType): _153.MsgLockTokensResponse; - toSDK(message: _153.MsgLockTokensResponse): _153.MsgLockTokensResponseSDKType; - fromAmino(object: _153.MsgLockTokensResponseAmino): _153.MsgLockTokensResponse; - toAmino(message: _153.MsgLockTokensResponse): _153.MsgLockTokensResponseAmino; - fromAminoMsg(object: _153.MsgLockTokensResponseAminoMsg): _153.MsgLockTokensResponse; - toAminoMsg(message: _153.MsgLockTokensResponse): _153.MsgLockTokensResponseAminoMsg; - fromProtoMsg(message: _153.MsgLockTokensResponseProtoMsg): _153.MsgLockTokensResponse; - toProto(message: _153.MsgLockTokensResponse): Uint8Array; - toProtoMsg(message: _153.MsgLockTokensResponse): _153.MsgLockTokensResponseProtoMsg; - }; - MsgBeginUnlockingAll: { - typeUrl: string; - aminoType: string; - is(o: any): o is _153.MsgBeginUnlockingAll; - isSDK(o: any): o is _153.MsgBeginUnlockingAllSDKType; - isAmino(o: any): o is _153.MsgBeginUnlockingAllAmino; - encode(message: _153.MsgBeginUnlockingAll, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _153.MsgBeginUnlockingAll; - fromJSON(object: any): _153.MsgBeginUnlockingAll; - toJSON(message: _153.MsgBeginUnlockingAll): unknown; - fromPartial(object: { - owner?: string; - }): _153.MsgBeginUnlockingAll; - fromSDK(object: _153.MsgBeginUnlockingAllSDKType): _153.MsgBeginUnlockingAll; - toSDK(message: _153.MsgBeginUnlockingAll): _153.MsgBeginUnlockingAllSDKType; - fromAmino(object: _153.MsgBeginUnlockingAllAmino): _153.MsgBeginUnlockingAll; - toAmino(message: _153.MsgBeginUnlockingAll): _153.MsgBeginUnlockingAllAmino; - fromAminoMsg(object: _153.MsgBeginUnlockingAllAminoMsg): _153.MsgBeginUnlockingAll; - toAminoMsg(message: _153.MsgBeginUnlockingAll): _153.MsgBeginUnlockingAllAminoMsg; - fromProtoMsg(message: _153.MsgBeginUnlockingAllProtoMsg): _153.MsgBeginUnlockingAll; - toProto(message: _153.MsgBeginUnlockingAll): Uint8Array; - toProtoMsg(message: _153.MsgBeginUnlockingAll): _153.MsgBeginUnlockingAllProtoMsg; - }; - MsgBeginUnlockingAllResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _153.MsgBeginUnlockingAllResponse; - isSDK(o: any): o is _153.MsgBeginUnlockingAllResponseSDKType; - isAmino(o: any): o is _153.MsgBeginUnlockingAllResponseAmino; - encode(message: _153.MsgBeginUnlockingAllResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _153.MsgBeginUnlockingAllResponse; - fromJSON(object: any): _153.MsgBeginUnlockingAllResponse; - toJSON(message: _153.MsgBeginUnlockingAllResponse): unknown; - fromPartial(object: { - unlocks?: { - ID?: bigint; - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - endTime?: Date; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _153.MsgBeginUnlockingAllResponse; - fromSDK(object: _153.MsgBeginUnlockingAllResponseSDKType): _153.MsgBeginUnlockingAllResponse; - toSDK(message: _153.MsgBeginUnlockingAllResponse): _153.MsgBeginUnlockingAllResponseSDKType; - fromAmino(object: _153.MsgBeginUnlockingAllResponseAmino): _153.MsgBeginUnlockingAllResponse; - toAmino(message: _153.MsgBeginUnlockingAllResponse): _153.MsgBeginUnlockingAllResponseAmino; - fromAminoMsg(object: _153.MsgBeginUnlockingAllResponseAminoMsg): _153.MsgBeginUnlockingAllResponse; - toAminoMsg(message: _153.MsgBeginUnlockingAllResponse): _153.MsgBeginUnlockingAllResponseAminoMsg; - fromProtoMsg(message: _153.MsgBeginUnlockingAllResponseProtoMsg): _153.MsgBeginUnlockingAllResponse; - toProto(message: _153.MsgBeginUnlockingAllResponse): Uint8Array; - toProtoMsg(message: _153.MsgBeginUnlockingAllResponse): _153.MsgBeginUnlockingAllResponseProtoMsg; - }; - MsgBeginUnlocking: { - typeUrl: string; - aminoType: string; - is(o: any): o is _153.MsgBeginUnlocking; - isSDK(o: any): o is _153.MsgBeginUnlockingSDKType; - isAmino(o: any): o is _153.MsgBeginUnlockingAmino; - encode(message: _153.MsgBeginUnlocking, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _153.MsgBeginUnlocking; - fromJSON(object: any): _153.MsgBeginUnlocking; - toJSON(message: _153.MsgBeginUnlocking): unknown; - fromPartial(object: { - owner?: string; - ID?: bigint; - coins?: { - denom?: string; - amount?: string; - }[]; - }): _153.MsgBeginUnlocking; - fromSDK(object: _153.MsgBeginUnlockingSDKType): _153.MsgBeginUnlocking; - toSDK(message: _153.MsgBeginUnlocking): _153.MsgBeginUnlockingSDKType; - fromAmino(object: _153.MsgBeginUnlockingAmino): _153.MsgBeginUnlocking; - toAmino(message: _153.MsgBeginUnlocking): _153.MsgBeginUnlockingAmino; - fromAminoMsg(object: _153.MsgBeginUnlockingAminoMsg): _153.MsgBeginUnlocking; - toAminoMsg(message: _153.MsgBeginUnlocking): _153.MsgBeginUnlockingAminoMsg; - fromProtoMsg(message: _153.MsgBeginUnlockingProtoMsg): _153.MsgBeginUnlocking; - toProto(message: _153.MsgBeginUnlocking): Uint8Array; - toProtoMsg(message: _153.MsgBeginUnlocking): _153.MsgBeginUnlockingProtoMsg; - }; - MsgBeginUnlockingResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _153.MsgBeginUnlockingResponse; - isSDK(o: any): o is _153.MsgBeginUnlockingResponseSDKType; - isAmino(o: any): o is _153.MsgBeginUnlockingResponseAmino; - encode(message: _153.MsgBeginUnlockingResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _153.MsgBeginUnlockingResponse; - fromJSON(object: any): _153.MsgBeginUnlockingResponse; - toJSON(message: _153.MsgBeginUnlockingResponse): unknown; - fromPartial(object: { - success?: boolean; - }): _153.MsgBeginUnlockingResponse; - fromSDK(object: _153.MsgBeginUnlockingResponseSDKType): _153.MsgBeginUnlockingResponse; - toSDK(message: _153.MsgBeginUnlockingResponse): _153.MsgBeginUnlockingResponseSDKType; - fromAmino(object: _153.MsgBeginUnlockingResponseAmino): _153.MsgBeginUnlockingResponse; - toAmino(message: _153.MsgBeginUnlockingResponse): _153.MsgBeginUnlockingResponseAmino; - fromAminoMsg(object: _153.MsgBeginUnlockingResponseAminoMsg): _153.MsgBeginUnlockingResponse; - toAminoMsg(message: _153.MsgBeginUnlockingResponse): _153.MsgBeginUnlockingResponseAminoMsg; - fromProtoMsg(message: _153.MsgBeginUnlockingResponseProtoMsg): _153.MsgBeginUnlockingResponse; - toProto(message: _153.MsgBeginUnlockingResponse): Uint8Array; - toProtoMsg(message: _153.MsgBeginUnlockingResponse): _153.MsgBeginUnlockingResponseProtoMsg; - }; - MsgExtendLockup: { - typeUrl: string; - aminoType: string; - is(o: any): o is _153.MsgExtendLockup; - isSDK(o: any): o is _153.MsgExtendLockupSDKType; - isAmino(o: any): o is _153.MsgExtendLockupAmino; - encode(message: _153.MsgExtendLockup, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _153.MsgExtendLockup; - fromJSON(object: any): _153.MsgExtendLockup; - toJSON(message: _153.MsgExtendLockup): unknown; - fromPartial(object: { - owner?: string; - ID?: bigint; - duration?: { - seconds?: bigint; - nanos?: number; - }; - }): _153.MsgExtendLockup; - fromSDK(object: _153.MsgExtendLockupSDKType): _153.MsgExtendLockup; - toSDK(message: _153.MsgExtendLockup): _153.MsgExtendLockupSDKType; - fromAmino(object: _153.MsgExtendLockupAmino): _153.MsgExtendLockup; - toAmino(message: _153.MsgExtendLockup): _153.MsgExtendLockupAmino; - fromAminoMsg(object: _153.MsgExtendLockupAminoMsg): _153.MsgExtendLockup; - toAminoMsg(message: _153.MsgExtendLockup): _153.MsgExtendLockupAminoMsg; - fromProtoMsg(message: _153.MsgExtendLockupProtoMsg): _153.MsgExtendLockup; - toProto(message: _153.MsgExtendLockup): Uint8Array; - toProtoMsg(message: _153.MsgExtendLockup): _153.MsgExtendLockupProtoMsg; - }; - MsgExtendLockupResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _153.MsgExtendLockupResponse; - isSDK(o: any): o is _153.MsgExtendLockupResponseSDKType; - isAmino(o: any): o is _153.MsgExtendLockupResponseAmino; - encode(message: _153.MsgExtendLockupResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _153.MsgExtendLockupResponse; - fromJSON(object: any): _153.MsgExtendLockupResponse; - toJSON(message: _153.MsgExtendLockupResponse): unknown; - fromPartial(object: { - success?: boolean; - }): _153.MsgExtendLockupResponse; - fromSDK(object: _153.MsgExtendLockupResponseSDKType): _153.MsgExtendLockupResponse; - toSDK(message: _153.MsgExtendLockupResponse): _153.MsgExtendLockupResponseSDKType; - fromAmino(object: _153.MsgExtendLockupResponseAmino): _153.MsgExtendLockupResponse; - toAmino(message: _153.MsgExtendLockupResponse): _153.MsgExtendLockupResponseAmino; - fromAminoMsg(object: _153.MsgExtendLockupResponseAminoMsg): _153.MsgExtendLockupResponse; - toAminoMsg(message: _153.MsgExtendLockupResponse): _153.MsgExtendLockupResponseAminoMsg; - fromProtoMsg(message: _153.MsgExtendLockupResponseProtoMsg): _153.MsgExtendLockupResponse; - toProto(message: _153.MsgExtendLockupResponse): Uint8Array; - toProtoMsg(message: _153.MsgExtendLockupResponse): _153.MsgExtendLockupResponseProtoMsg; - }; - MsgForceUnlock: { - typeUrl: string; - aminoType: string; - is(o: any): o is _153.MsgForceUnlock; - isSDK(o: any): o is _153.MsgForceUnlockSDKType; - isAmino(o: any): o is _153.MsgForceUnlockAmino; - encode(message: _153.MsgForceUnlock, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _153.MsgForceUnlock; - fromJSON(object: any): _153.MsgForceUnlock; - toJSON(message: _153.MsgForceUnlock): unknown; - fromPartial(object: { - owner?: string; - ID?: bigint; - coins?: { - denom?: string; - amount?: string; - }[]; - }): _153.MsgForceUnlock; - fromSDK(object: _153.MsgForceUnlockSDKType): _153.MsgForceUnlock; - toSDK(message: _153.MsgForceUnlock): _153.MsgForceUnlockSDKType; - fromAmino(object: _153.MsgForceUnlockAmino): _153.MsgForceUnlock; - toAmino(message: _153.MsgForceUnlock): _153.MsgForceUnlockAmino; - fromAminoMsg(object: _153.MsgForceUnlockAminoMsg): _153.MsgForceUnlock; - toAminoMsg(message: _153.MsgForceUnlock): _153.MsgForceUnlockAminoMsg; - fromProtoMsg(message: _153.MsgForceUnlockProtoMsg): _153.MsgForceUnlock; - toProto(message: _153.MsgForceUnlock): Uint8Array; - toProtoMsg(message: _153.MsgForceUnlock): _153.MsgForceUnlockProtoMsg; - }; - MsgForceUnlockResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _153.MsgForceUnlockResponse; - isSDK(o: any): o is _153.MsgForceUnlockResponseSDKType; - isAmino(o: any): o is _153.MsgForceUnlockResponseAmino; - encode(message: _153.MsgForceUnlockResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _153.MsgForceUnlockResponse; - fromJSON(object: any): _153.MsgForceUnlockResponse; - toJSON(message: _153.MsgForceUnlockResponse): unknown; - fromPartial(object: { - success?: boolean; - }): _153.MsgForceUnlockResponse; - fromSDK(object: _153.MsgForceUnlockResponseSDKType): _153.MsgForceUnlockResponse; - toSDK(message: _153.MsgForceUnlockResponse): _153.MsgForceUnlockResponseSDKType; - fromAmino(object: _153.MsgForceUnlockResponseAmino): _153.MsgForceUnlockResponse; - toAmino(message: _153.MsgForceUnlockResponse): _153.MsgForceUnlockResponseAmino; - fromAminoMsg(object: _153.MsgForceUnlockResponseAminoMsg): _153.MsgForceUnlockResponse; - toAminoMsg(message: _153.MsgForceUnlockResponse): _153.MsgForceUnlockResponseAminoMsg; - fromProtoMsg(message: _153.MsgForceUnlockResponseProtoMsg): _153.MsgForceUnlockResponse; - toProto(message: _153.MsgForceUnlockResponse): Uint8Array; - toProtoMsg(message: _153.MsgForceUnlockResponse): _153.MsgForceUnlockResponseProtoMsg; - }; - ModuleBalanceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.ModuleBalanceRequest; - isSDK(o: any): o is _152.ModuleBalanceRequestSDKType; - isAmino(o: any): o is _152.ModuleBalanceRequestAmino; - encode(_: _152.ModuleBalanceRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.ModuleBalanceRequest; - fromJSON(_: any): _152.ModuleBalanceRequest; - toJSON(_: _152.ModuleBalanceRequest): unknown; - fromPartial(_: {}): _152.ModuleBalanceRequest; - fromSDK(_: _152.ModuleBalanceRequestSDKType): _152.ModuleBalanceRequest; - toSDK(_: _152.ModuleBalanceRequest): _152.ModuleBalanceRequestSDKType; - fromAmino(_: _152.ModuleBalanceRequestAmino): _152.ModuleBalanceRequest; - toAmino(_: _152.ModuleBalanceRequest): _152.ModuleBalanceRequestAmino; - fromAminoMsg(object: _152.ModuleBalanceRequestAminoMsg): _152.ModuleBalanceRequest; - toAminoMsg(message: _152.ModuleBalanceRequest): _152.ModuleBalanceRequestAminoMsg; - fromProtoMsg(message: _152.ModuleBalanceRequestProtoMsg): _152.ModuleBalanceRequest; - toProto(message: _152.ModuleBalanceRequest): Uint8Array; - toProtoMsg(message: _152.ModuleBalanceRequest): _152.ModuleBalanceRequestProtoMsg; - }; - ModuleBalanceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.ModuleBalanceResponse; - isSDK(o: any): o is _152.ModuleBalanceResponseSDKType; - isAmino(o: any): o is _152.ModuleBalanceResponseAmino; - encode(message: _152.ModuleBalanceResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.ModuleBalanceResponse; - fromJSON(object: any): _152.ModuleBalanceResponse; - toJSON(message: _152.ModuleBalanceResponse): unknown; - fromPartial(object: { - coins?: { - denom?: string; - amount?: string; - }[]; - }): _152.ModuleBalanceResponse; - fromSDK(object: _152.ModuleBalanceResponseSDKType): _152.ModuleBalanceResponse; - toSDK(message: _152.ModuleBalanceResponse): _152.ModuleBalanceResponseSDKType; - fromAmino(object: _152.ModuleBalanceResponseAmino): _152.ModuleBalanceResponse; - toAmino(message: _152.ModuleBalanceResponse): _152.ModuleBalanceResponseAmino; - fromAminoMsg(object: _152.ModuleBalanceResponseAminoMsg): _152.ModuleBalanceResponse; - toAminoMsg(message: _152.ModuleBalanceResponse): _152.ModuleBalanceResponseAminoMsg; - fromProtoMsg(message: _152.ModuleBalanceResponseProtoMsg): _152.ModuleBalanceResponse; - toProto(message: _152.ModuleBalanceResponse): Uint8Array; - toProtoMsg(message: _152.ModuleBalanceResponse): _152.ModuleBalanceResponseProtoMsg; - }; - ModuleLockedAmountRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.ModuleLockedAmountRequest; - isSDK(o: any): o is _152.ModuleLockedAmountRequestSDKType; - isAmino(o: any): o is _152.ModuleLockedAmountRequestAmino; - encode(_: _152.ModuleLockedAmountRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.ModuleLockedAmountRequest; - fromJSON(_: any): _152.ModuleLockedAmountRequest; - toJSON(_: _152.ModuleLockedAmountRequest): unknown; - fromPartial(_: {}): _152.ModuleLockedAmountRequest; - fromSDK(_: _152.ModuleLockedAmountRequestSDKType): _152.ModuleLockedAmountRequest; - toSDK(_: _152.ModuleLockedAmountRequest): _152.ModuleLockedAmountRequestSDKType; - fromAmino(_: _152.ModuleLockedAmountRequestAmino): _152.ModuleLockedAmountRequest; - toAmino(_: _152.ModuleLockedAmountRequest): _152.ModuleLockedAmountRequestAmino; - fromAminoMsg(object: _152.ModuleLockedAmountRequestAminoMsg): _152.ModuleLockedAmountRequest; - toAminoMsg(message: _152.ModuleLockedAmountRequest): _152.ModuleLockedAmountRequestAminoMsg; - fromProtoMsg(message: _152.ModuleLockedAmountRequestProtoMsg): _152.ModuleLockedAmountRequest; - toProto(message: _152.ModuleLockedAmountRequest): Uint8Array; - toProtoMsg(message: _152.ModuleLockedAmountRequest): _152.ModuleLockedAmountRequestProtoMsg; - }; - ModuleLockedAmountResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.ModuleLockedAmountResponse; - isSDK(o: any): o is _152.ModuleLockedAmountResponseSDKType; - isAmino(o: any): o is _152.ModuleLockedAmountResponseAmino; - encode(message: _152.ModuleLockedAmountResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.ModuleLockedAmountResponse; - fromJSON(object: any): _152.ModuleLockedAmountResponse; - toJSON(message: _152.ModuleLockedAmountResponse): unknown; - fromPartial(object: { - coins?: { - denom?: string; - amount?: string; - }[]; - }): _152.ModuleLockedAmountResponse; - fromSDK(object: _152.ModuleLockedAmountResponseSDKType): _152.ModuleLockedAmountResponse; - toSDK(message: _152.ModuleLockedAmountResponse): _152.ModuleLockedAmountResponseSDKType; - fromAmino(object: _152.ModuleLockedAmountResponseAmino): _152.ModuleLockedAmountResponse; - toAmino(message: _152.ModuleLockedAmountResponse): _152.ModuleLockedAmountResponseAmino; - fromAminoMsg(object: _152.ModuleLockedAmountResponseAminoMsg): _152.ModuleLockedAmountResponse; - toAminoMsg(message: _152.ModuleLockedAmountResponse): _152.ModuleLockedAmountResponseAminoMsg; - fromProtoMsg(message: _152.ModuleLockedAmountResponseProtoMsg): _152.ModuleLockedAmountResponse; - toProto(message: _152.ModuleLockedAmountResponse): Uint8Array; - toProtoMsg(message: _152.ModuleLockedAmountResponse): _152.ModuleLockedAmountResponseProtoMsg; - }; - AccountUnlockableCoinsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountUnlockableCoinsRequest; - isSDK(o: any): o is _152.AccountUnlockableCoinsRequestSDKType; - isAmino(o: any): o is _152.AccountUnlockableCoinsRequestAmino; - encode(message: _152.AccountUnlockableCoinsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountUnlockableCoinsRequest; - fromJSON(object: any): _152.AccountUnlockableCoinsRequest; - toJSON(message: _152.AccountUnlockableCoinsRequest): unknown; - fromPartial(object: { - owner?: string; - }): _152.AccountUnlockableCoinsRequest; - fromSDK(object: _152.AccountUnlockableCoinsRequestSDKType): _152.AccountUnlockableCoinsRequest; - toSDK(message: _152.AccountUnlockableCoinsRequest): _152.AccountUnlockableCoinsRequestSDKType; - fromAmino(object: _152.AccountUnlockableCoinsRequestAmino): _152.AccountUnlockableCoinsRequest; - toAmino(message: _152.AccountUnlockableCoinsRequest): _152.AccountUnlockableCoinsRequestAmino; - fromAminoMsg(object: _152.AccountUnlockableCoinsRequestAminoMsg): _152.AccountUnlockableCoinsRequest; - toAminoMsg(message: _152.AccountUnlockableCoinsRequest): _152.AccountUnlockableCoinsRequestAminoMsg; - fromProtoMsg(message: _152.AccountUnlockableCoinsRequestProtoMsg): _152.AccountUnlockableCoinsRequest; - toProto(message: _152.AccountUnlockableCoinsRequest): Uint8Array; - toProtoMsg(message: _152.AccountUnlockableCoinsRequest): _152.AccountUnlockableCoinsRequestProtoMsg; - }; - AccountUnlockableCoinsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountUnlockableCoinsResponse; - isSDK(o: any): o is _152.AccountUnlockableCoinsResponseSDKType; - isAmino(o: any): o is _152.AccountUnlockableCoinsResponseAmino; - encode(message: _152.AccountUnlockableCoinsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountUnlockableCoinsResponse; - fromJSON(object: any): _152.AccountUnlockableCoinsResponse; - toJSON(message: _152.AccountUnlockableCoinsResponse): unknown; - fromPartial(object: { - coins?: { - denom?: string; - amount?: string; - }[]; - }): _152.AccountUnlockableCoinsResponse; - fromSDK(object: _152.AccountUnlockableCoinsResponseSDKType): _152.AccountUnlockableCoinsResponse; - toSDK(message: _152.AccountUnlockableCoinsResponse): _152.AccountUnlockableCoinsResponseSDKType; - fromAmino(object: _152.AccountUnlockableCoinsResponseAmino): _152.AccountUnlockableCoinsResponse; - toAmino(message: _152.AccountUnlockableCoinsResponse): _152.AccountUnlockableCoinsResponseAmino; - fromAminoMsg(object: _152.AccountUnlockableCoinsResponseAminoMsg): _152.AccountUnlockableCoinsResponse; - toAminoMsg(message: _152.AccountUnlockableCoinsResponse): _152.AccountUnlockableCoinsResponseAminoMsg; - fromProtoMsg(message: _152.AccountUnlockableCoinsResponseProtoMsg): _152.AccountUnlockableCoinsResponse; - toProto(message: _152.AccountUnlockableCoinsResponse): Uint8Array; - toProtoMsg(message: _152.AccountUnlockableCoinsResponse): _152.AccountUnlockableCoinsResponseProtoMsg; - }; - AccountUnlockingCoinsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountUnlockingCoinsRequest; - isSDK(o: any): o is _152.AccountUnlockingCoinsRequestSDKType; - isAmino(o: any): o is _152.AccountUnlockingCoinsRequestAmino; - encode(message: _152.AccountUnlockingCoinsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountUnlockingCoinsRequest; - fromJSON(object: any): _152.AccountUnlockingCoinsRequest; - toJSON(message: _152.AccountUnlockingCoinsRequest): unknown; - fromPartial(object: { - owner?: string; - }): _152.AccountUnlockingCoinsRequest; - fromSDK(object: _152.AccountUnlockingCoinsRequestSDKType): _152.AccountUnlockingCoinsRequest; - toSDK(message: _152.AccountUnlockingCoinsRequest): _152.AccountUnlockingCoinsRequestSDKType; - fromAmino(object: _152.AccountUnlockingCoinsRequestAmino): _152.AccountUnlockingCoinsRequest; - toAmino(message: _152.AccountUnlockingCoinsRequest): _152.AccountUnlockingCoinsRequestAmino; - fromAminoMsg(object: _152.AccountUnlockingCoinsRequestAminoMsg): _152.AccountUnlockingCoinsRequest; - toAminoMsg(message: _152.AccountUnlockingCoinsRequest): _152.AccountUnlockingCoinsRequestAminoMsg; - fromProtoMsg(message: _152.AccountUnlockingCoinsRequestProtoMsg): _152.AccountUnlockingCoinsRequest; - toProto(message: _152.AccountUnlockingCoinsRequest): Uint8Array; - toProtoMsg(message: _152.AccountUnlockingCoinsRequest): _152.AccountUnlockingCoinsRequestProtoMsg; - }; - AccountUnlockingCoinsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountUnlockingCoinsResponse; - isSDK(o: any): o is _152.AccountUnlockingCoinsResponseSDKType; - isAmino(o: any): o is _152.AccountUnlockingCoinsResponseAmino; - encode(message: _152.AccountUnlockingCoinsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountUnlockingCoinsResponse; - fromJSON(object: any): _152.AccountUnlockingCoinsResponse; - toJSON(message: _152.AccountUnlockingCoinsResponse): unknown; - fromPartial(object: { - coins?: { - denom?: string; - amount?: string; - }[]; - }): _152.AccountUnlockingCoinsResponse; - fromSDK(object: _152.AccountUnlockingCoinsResponseSDKType): _152.AccountUnlockingCoinsResponse; - toSDK(message: _152.AccountUnlockingCoinsResponse): _152.AccountUnlockingCoinsResponseSDKType; - fromAmino(object: _152.AccountUnlockingCoinsResponseAmino): _152.AccountUnlockingCoinsResponse; - toAmino(message: _152.AccountUnlockingCoinsResponse): _152.AccountUnlockingCoinsResponseAmino; - fromAminoMsg(object: _152.AccountUnlockingCoinsResponseAminoMsg): _152.AccountUnlockingCoinsResponse; - toAminoMsg(message: _152.AccountUnlockingCoinsResponse): _152.AccountUnlockingCoinsResponseAminoMsg; - fromProtoMsg(message: _152.AccountUnlockingCoinsResponseProtoMsg): _152.AccountUnlockingCoinsResponse; - toProto(message: _152.AccountUnlockingCoinsResponse): Uint8Array; - toProtoMsg(message: _152.AccountUnlockingCoinsResponse): _152.AccountUnlockingCoinsResponseProtoMsg; - }; - AccountLockedCoinsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedCoinsRequest; - isSDK(o: any): o is _152.AccountLockedCoinsRequestSDKType; - isAmino(o: any): o is _152.AccountLockedCoinsRequestAmino; - encode(message: _152.AccountLockedCoinsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedCoinsRequest; - fromJSON(object: any): _152.AccountLockedCoinsRequest; - toJSON(message: _152.AccountLockedCoinsRequest): unknown; - fromPartial(object: { - owner?: string; - }): _152.AccountLockedCoinsRequest; - fromSDK(object: _152.AccountLockedCoinsRequestSDKType): _152.AccountLockedCoinsRequest; - toSDK(message: _152.AccountLockedCoinsRequest): _152.AccountLockedCoinsRequestSDKType; - fromAmino(object: _152.AccountLockedCoinsRequestAmino): _152.AccountLockedCoinsRequest; - toAmino(message: _152.AccountLockedCoinsRequest): _152.AccountLockedCoinsRequestAmino; - fromAminoMsg(object: _152.AccountLockedCoinsRequestAminoMsg): _152.AccountLockedCoinsRequest; - toAminoMsg(message: _152.AccountLockedCoinsRequest): _152.AccountLockedCoinsRequestAminoMsg; - fromProtoMsg(message: _152.AccountLockedCoinsRequestProtoMsg): _152.AccountLockedCoinsRequest; - toProto(message: _152.AccountLockedCoinsRequest): Uint8Array; - toProtoMsg(message: _152.AccountLockedCoinsRequest): _152.AccountLockedCoinsRequestProtoMsg; - }; - AccountLockedCoinsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedCoinsResponse; - isSDK(o: any): o is _152.AccountLockedCoinsResponseSDKType; - isAmino(o: any): o is _152.AccountLockedCoinsResponseAmino; - encode(message: _152.AccountLockedCoinsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedCoinsResponse; - fromJSON(object: any): _152.AccountLockedCoinsResponse; - toJSON(message: _152.AccountLockedCoinsResponse): unknown; - fromPartial(object: { - coins?: { - denom?: string; - amount?: string; - }[]; - }): _152.AccountLockedCoinsResponse; - fromSDK(object: _152.AccountLockedCoinsResponseSDKType): _152.AccountLockedCoinsResponse; - toSDK(message: _152.AccountLockedCoinsResponse): _152.AccountLockedCoinsResponseSDKType; - fromAmino(object: _152.AccountLockedCoinsResponseAmino): _152.AccountLockedCoinsResponse; - toAmino(message: _152.AccountLockedCoinsResponse): _152.AccountLockedCoinsResponseAmino; - fromAminoMsg(object: _152.AccountLockedCoinsResponseAminoMsg): _152.AccountLockedCoinsResponse; - toAminoMsg(message: _152.AccountLockedCoinsResponse): _152.AccountLockedCoinsResponseAminoMsg; - fromProtoMsg(message: _152.AccountLockedCoinsResponseProtoMsg): _152.AccountLockedCoinsResponse; - toProto(message: _152.AccountLockedCoinsResponse): Uint8Array; - toProtoMsg(message: _152.AccountLockedCoinsResponse): _152.AccountLockedCoinsResponseProtoMsg; - }; - AccountLockedPastTimeRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedPastTimeRequest; - isSDK(o: any): o is _152.AccountLockedPastTimeRequestSDKType; - isAmino(o: any): o is _152.AccountLockedPastTimeRequestAmino; - encode(message: _152.AccountLockedPastTimeRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedPastTimeRequest; - fromJSON(object: any): _152.AccountLockedPastTimeRequest; - toJSON(message: _152.AccountLockedPastTimeRequest): unknown; - fromPartial(object: { - owner?: string; - timestamp?: Date; - }): _152.AccountLockedPastTimeRequest; - fromSDK(object: _152.AccountLockedPastTimeRequestSDKType): _152.AccountLockedPastTimeRequest; - toSDK(message: _152.AccountLockedPastTimeRequest): _152.AccountLockedPastTimeRequestSDKType; - fromAmino(object: _152.AccountLockedPastTimeRequestAmino): _152.AccountLockedPastTimeRequest; - toAmino(message: _152.AccountLockedPastTimeRequest): _152.AccountLockedPastTimeRequestAmino; - fromAminoMsg(object: _152.AccountLockedPastTimeRequestAminoMsg): _152.AccountLockedPastTimeRequest; - toAminoMsg(message: _152.AccountLockedPastTimeRequest): _152.AccountLockedPastTimeRequestAminoMsg; - fromProtoMsg(message: _152.AccountLockedPastTimeRequestProtoMsg): _152.AccountLockedPastTimeRequest; - toProto(message: _152.AccountLockedPastTimeRequest): Uint8Array; - toProtoMsg(message: _152.AccountLockedPastTimeRequest): _152.AccountLockedPastTimeRequestProtoMsg; - }; - AccountLockedPastTimeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedPastTimeResponse; - isSDK(o: any): o is _152.AccountLockedPastTimeResponseSDKType; - isAmino(o: any): o is _152.AccountLockedPastTimeResponseAmino; - encode(message: _152.AccountLockedPastTimeResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedPastTimeResponse; - fromJSON(object: any): _152.AccountLockedPastTimeResponse; - toJSON(message: _152.AccountLockedPastTimeResponse): unknown; - fromPartial(object: { - locks?: { - ID?: bigint; - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - endTime?: Date; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _152.AccountLockedPastTimeResponse; - fromSDK(object: _152.AccountLockedPastTimeResponseSDKType): _152.AccountLockedPastTimeResponse; - toSDK(message: _152.AccountLockedPastTimeResponse): _152.AccountLockedPastTimeResponseSDKType; - fromAmino(object: _152.AccountLockedPastTimeResponseAmino): _152.AccountLockedPastTimeResponse; - toAmino(message: _152.AccountLockedPastTimeResponse): _152.AccountLockedPastTimeResponseAmino; - fromAminoMsg(object: _152.AccountLockedPastTimeResponseAminoMsg): _152.AccountLockedPastTimeResponse; - toAminoMsg(message: _152.AccountLockedPastTimeResponse): _152.AccountLockedPastTimeResponseAminoMsg; - fromProtoMsg(message: _152.AccountLockedPastTimeResponseProtoMsg): _152.AccountLockedPastTimeResponse; - toProto(message: _152.AccountLockedPastTimeResponse): Uint8Array; - toProtoMsg(message: _152.AccountLockedPastTimeResponse): _152.AccountLockedPastTimeResponseProtoMsg; - }; - AccountLockedPastTimeNotUnlockingOnlyRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedPastTimeNotUnlockingOnlyRequest; - isSDK(o: any): o is _152.AccountLockedPastTimeNotUnlockingOnlyRequestSDKType; - isAmino(o: any): o is _152.AccountLockedPastTimeNotUnlockingOnlyRequestAmino; - encode(message: _152.AccountLockedPastTimeNotUnlockingOnlyRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedPastTimeNotUnlockingOnlyRequest; - fromJSON(object: any): _152.AccountLockedPastTimeNotUnlockingOnlyRequest; - toJSON(message: _152.AccountLockedPastTimeNotUnlockingOnlyRequest): unknown; - fromPartial(object: { - owner?: string; - timestamp?: Date; - }): _152.AccountLockedPastTimeNotUnlockingOnlyRequest; - fromSDK(object: _152.AccountLockedPastTimeNotUnlockingOnlyRequestSDKType): _152.AccountLockedPastTimeNotUnlockingOnlyRequest; - toSDK(message: _152.AccountLockedPastTimeNotUnlockingOnlyRequest): _152.AccountLockedPastTimeNotUnlockingOnlyRequestSDKType; - fromAmino(object: _152.AccountLockedPastTimeNotUnlockingOnlyRequestAmino): _152.AccountLockedPastTimeNotUnlockingOnlyRequest; - toAmino(message: _152.AccountLockedPastTimeNotUnlockingOnlyRequest): _152.AccountLockedPastTimeNotUnlockingOnlyRequestAmino; - fromAminoMsg(object: _152.AccountLockedPastTimeNotUnlockingOnlyRequestAminoMsg): _152.AccountLockedPastTimeNotUnlockingOnlyRequest; - toAminoMsg(message: _152.AccountLockedPastTimeNotUnlockingOnlyRequest): _152.AccountLockedPastTimeNotUnlockingOnlyRequestAminoMsg; - fromProtoMsg(message: _152.AccountLockedPastTimeNotUnlockingOnlyRequestProtoMsg): _152.AccountLockedPastTimeNotUnlockingOnlyRequest; - toProto(message: _152.AccountLockedPastTimeNotUnlockingOnlyRequest): Uint8Array; - toProtoMsg(message: _152.AccountLockedPastTimeNotUnlockingOnlyRequest): _152.AccountLockedPastTimeNotUnlockingOnlyRequestProtoMsg; - }; - AccountLockedPastTimeNotUnlockingOnlyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedPastTimeNotUnlockingOnlyResponse; - isSDK(o: any): o is _152.AccountLockedPastTimeNotUnlockingOnlyResponseSDKType; - isAmino(o: any): o is _152.AccountLockedPastTimeNotUnlockingOnlyResponseAmino; - encode(message: _152.AccountLockedPastTimeNotUnlockingOnlyResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedPastTimeNotUnlockingOnlyResponse; - fromJSON(object: any): _152.AccountLockedPastTimeNotUnlockingOnlyResponse; - toJSON(message: _152.AccountLockedPastTimeNotUnlockingOnlyResponse): unknown; - fromPartial(object: { - locks?: { - ID?: bigint; - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - endTime?: Date; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _152.AccountLockedPastTimeNotUnlockingOnlyResponse; - fromSDK(object: _152.AccountLockedPastTimeNotUnlockingOnlyResponseSDKType): _152.AccountLockedPastTimeNotUnlockingOnlyResponse; - toSDK(message: _152.AccountLockedPastTimeNotUnlockingOnlyResponse): _152.AccountLockedPastTimeNotUnlockingOnlyResponseSDKType; - fromAmino(object: _152.AccountLockedPastTimeNotUnlockingOnlyResponseAmino): _152.AccountLockedPastTimeNotUnlockingOnlyResponse; - toAmino(message: _152.AccountLockedPastTimeNotUnlockingOnlyResponse): _152.AccountLockedPastTimeNotUnlockingOnlyResponseAmino; - fromAminoMsg(object: _152.AccountLockedPastTimeNotUnlockingOnlyResponseAminoMsg): _152.AccountLockedPastTimeNotUnlockingOnlyResponse; - toAminoMsg(message: _152.AccountLockedPastTimeNotUnlockingOnlyResponse): _152.AccountLockedPastTimeNotUnlockingOnlyResponseAminoMsg; - fromProtoMsg(message: _152.AccountLockedPastTimeNotUnlockingOnlyResponseProtoMsg): _152.AccountLockedPastTimeNotUnlockingOnlyResponse; - toProto(message: _152.AccountLockedPastTimeNotUnlockingOnlyResponse): Uint8Array; - toProtoMsg(message: _152.AccountLockedPastTimeNotUnlockingOnlyResponse): _152.AccountLockedPastTimeNotUnlockingOnlyResponseProtoMsg; - }; - AccountUnlockedBeforeTimeRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountUnlockedBeforeTimeRequest; - isSDK(o: any): o is _152.AccountUnlockedBeforeTimeRequestSDKType; - isAmino(o: any): o is _152.AccountUnlockedBeforeTimeRequestAmino; - encode(message: _152.AccountUnlockedBeforeTimeRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountUnlockedBeforeTimeRequest; - fromJSON(object: any): _152.AccountUnlockedBeforeTimeRequest; - toJSON(message: _152.AccountUnlockedBeforeTimeRequest): unknown; - fromPartial(object: { - owner?: string; - timestamp?: Date; - }): _152.AccountUnlockedBeforeTimeRequest; - fromSDK(object: _152.AccountUnlockedBeforeTimeRequestSDKType): _152.AccountUnlockedBeforeTimeRequest; - toSDK(message: _152.AccountUnlockedBeforeTimeRequest): _152.AccountUnlockedBeforeTimeRequestSDKType; - fromAmino(object: _152.AccountUnlockedBeforeTimeRequestAmino): _152.AccountUnlockedBeforeTimeRequest; - toAmino(message: _152.AccountUnlockedBeforeTimeRequest): _152.AccountUnlockedBeforeTimeRequestAmino; - fromAminoMsg(object: _152.AccountUnlockedBeforeTimeRequestAminoMsg): _152.AccountUnlockedBeforeTimeRequest; - toAminoMsg(message: _152.AccountUnlockedBeforeTimeRequest): _152.AccountUnlockedBeforeTimeRequestAminoMsg; - fromProtoMsg(message: _152.AccountUnlockedBeforeTimeRequestProtoMsg): _152.AccountUnlockedBeforeTimeRequest; - toProto(message: _152.AccountUnlockedBeforeTimeRequest): Uint8Array; - toProtoMsg(message: _152.AccountUnlockedBeforeTimeRequest): _152.AccountUnlockedBeforeTimeRequestProtoMsg; - }; - AccountUnlockedBeforeTimeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountUnlockedBeforeTimeResponse; - isSDK(o: any): o is _152.AccountUnlockedBeforeTimeResponseSDKType; - isAmino(o: any): o is _152.AccountUnlockedBeforeTimeResponseAmino; - encode(message: _152.AccountUnlockedBeforeTimeResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountUnlockedBeforeTimeResponse; - fromJSON(object: any): _152.AccountUnlockedBeforeTimeResponse; - toJSON(message: _152.AccountUnlockedBeforeTimeResponse): unknown; - fromPartial(object: { - locks?: { - ID?: bigint; - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - endTime?: Date; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _152.AccountUnlockedBeforeTimeResponse; - fromSDK(object: _152.AccountUnlockedBeforeTimeResponseSDKType): _152.AccountUnlockedBeforeTimeResponse; - toSDK(message: _152.AccountUnlockedBeforeTimeResponse): _152.AccountUnlockedBeforeTimeResponseSDKType; - fromAmino(object: _152.AccountUnlockedBeforeTimeResponseAmino): _152.AccountUnlockedBeforeTimeResponse; - toAmino(message: _152.AccountUnlockedBeforeTimeResponse): _152.AccountUnlockedBeforeTimeResponseAmino; - fromAminoMsg(object: _152.AccountUnlockedBeforeTimeResponseAminoMsg): _152.AccountUnlockedBeforeTimeResponse; - toAminoMsg(message: _152.AccountUnlockedBeforeTimeResponse): _152.AccountUnlockedBeforeTimeResponseAminoMsg; - fromProtoMsg(message: _152.AccountUnlockedBeforeTimeResponseProtoMsg): _152.AccountUnlockedBeforeTimeResponse; - toProto(message: _152.AccountUnlockedBeforeTimeResponse): Uint8Array; - toProtoMsg(message: _152.AccountUnlockedBeforeTimeResponse): _152.AccountUnlockedBeforeTimeResponseProtoMsg; - }; - AccountLockedPastTimeDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedPastTimeDenomRequest; - isSDK(o: any): o is _152.AccountLockedPastTimeDenomRequestSDKType; - isAmino(o: any): o is _152.AccountLockedPastTimeDenomRequestAmino; - encode(message: _152.AccountLockedPastTimeDenomRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedPastTimeDenomRequest; - fromJSON(object: any): _152.AccountLockedPastTimeDenomRequest; - toJSON(message: _152.AccountLockedPastTimeDenomRequest): unknown; - fromPartial(object: { - owner?: string; - timestamp?: Date; - denom?: string; - }): _152.AccountLockedPastTimeDenomRequest; - fromSDK(object: _152.AccountLockedPastTimeDenomRequestSDKType): _152.AccountLockedPastTimeDenomRequest; - toSDK(message: _152.AccountLockedPastTimeDenomRequest): _152.AccountLockedPastTimeDenomRequestSDKType; - fromAmino(object: _152.AccountLockedPastTimeDenomRequestAmino): _152.AccountLockedPastTimeDenomRequest; - toAmino(message: _152.AccountLockedPastTimeDenomRequest): _152.AccountLockedPastTimeDenomRequestAmino; - fromAminoMsg(object: _152.AccountLockedPastTimeDenomRequestAminoMsg): _152.AccountLockedPastTimeDenomRequest; - toAminoMsg(message: _152.AccountLockedPastTimeDenomRequest): _152.AccountLockedPastTimeDenomRequestAminoMsg; - fromProtoMsg(message: _152.AccountLockedPastTimeDenomRequestProtoMsg): _152.AccountLockedPastTimeDenomRequest; - toProto(message: _152.AccountLockedPastTimeDenomRequest): Uint8Array; - toProtoMsg(message: _152.AccountLockedPastTimeDenomRequest): _152.AccountLockedPastTimeDenomRequestProtoMsg; - }; - AccountLockedPastTimeDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedPastTimeDenomResponse; - isSDK(o: any): o is _152.AccountLockedPastTimeDenomResponseSDKType; - isAmino(o: any): o is _152.AccountLockedPastTimeDenomResponseAmino; - encode(message: _152.AccountLockedPastTimeDenomResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedPastTimeDenomResponse; - fromJSON(object: any): _152.AccountLockedPastTimeDenomResponse; - toJSON(message: _152.AccountLockedPastTimeDenomResponse): unknown; - fromPartial(object: { - locks?: { - ID?: bigint; - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - endTime?: Date; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _152.AccountLockedPastTimeDenomResponse; - fromSDK(object: _152.AccountLockedPastTimeDenomResponseSDKType): _152.AccountLockedPastTimeDenomResponse; - toSDK(message: _152.AccountLockedPastTimeDenomResponse): _152.AccountLockedPastTimeDenomResponseSDKType; - fromAmino(object: _152.AccountLockedPastTimeDenomResponseAmino): _152.AccountLockedPastTimeDenomResponse; - toAmino(message: _152.AccountLockedPastTimeDenomResponse): _152.AccountLockedPastTimeDenomResponseAmino; - fromAminoMsg(object: _152.AccountLockedPastTimeDenomResponseAminoMsg): _152.AccountLockedPastTimeDenomResponse; - toAminoMsg(message: _152.AccountLockedPastTimeDenomResponse): _152.AccountLockedPastTimeDenomResponseAminoMsg; - fromProtoMsg(message: _152.AccountLockedPastTimeDenomResponseProtoMsg): _152.AccountLockedPastTimeDenomResponse; - toProto(message: _152.AccountLockedPastTimeDenomResponse): Uint8Array; - toProtoMsg(message: _152.AccountLockedPastTimeDenomResponse): _152.AccountLockedPastTimeDenomResponseProtoMsg; - }; - LockedDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.LockedDenomRequest; - isSDK(o: any): o is _152.LockedDenomRequestSDKType; - isAmino(o: any): o is _152.LockedDenomRequestAmino; - encode(message: _152.LockedDenomRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.LockedDenomRequest; - fromJSON(object: any): _152.LockedDenomRequest; - toJSON(message: _152.LockedDenomRequest): unknown; - fromPartial(object: { - denom?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - }): _152.LockedDenomRequest; - fromSDK(object: _152.LockedDenomRequestSDKType): _152.LockedDenomRequest; - toSDK(message: _152.LockedDenomRequest): _152.LockedDenomRequestSDKType; - fromAmino(object: _152.LockedDenomRequestAmino): _152.LockedDenomRequest; - toAmino(message: _152.LockedDenomRequest): _152.LockedDenomRequestAmino; - fromAminoMsg(object: _152.LockedDenomRequestAminoMsg): _152.LockedDenomRequest; - toAminoMsg(message: _152.LockedDenomRequest): _152.LockedDenomRequestAminoMsg; - fromProtoMsg(message: _152.LockedDenomRequestProtoMsg): _152.LockedDenomRequest; - toProto(message: _152.LockedDenomRequest): Uint8Array; - toProtoMsg(message: _152.LockedDenomRequest): _152.LockedDenomRequestProtoMsg; - }; - LockedDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.LockedDenomResponse; - isSDK(o: any): o is _152.LockedDenomResponseSDKType; - isAmino(o: any): o is _152.LockedDenomResponseAmino; - encode(message: _152.LockedDenomResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.LockedDenomResponse; - fromJSON(object: any): _152.LockedDenomResponse; - toJSON(message: _152.LockedDenomResponse): unknown; - fromPartial(object: { - amount?: string; - }): _152.LockedDenomResponse; - fromSDK(object: _152.LockedDenomResponseSDKType): _152.LockedDenomResponse; - toSDK(message: _152.LockedDenomResponse): _152.LockedDenomResponseSDKType; - fromAmino(object: _152.LockedDenomResponseAmino): _152.LockedDenomResponse; - toAmino(message: _152.LockedDenomResponse): _152.LockedDenomResponseAmino; - fromAminoMsg(object: _152.LockedDenomResponseAminoMsg): _152.LockedDenomResponse; - toAminoMsg(message: _152.LockedDenomResponse): _152.LockedDenomResponseAminoMsg; - fromProtoMsg(message: _152.LockedDenomResponseProtoMsg): _152.LockedDenomResponse; - toProto(message: _152.LockedDenomResponse): Uint8Array; - toProtoMsg(message: _152.LockedDenomResponse): _152.LockedDenomResponseProtoMsg; - }; - LockedRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.LockedRequest; - isSDK(o: any): o is _152.LockedRequestSDKType; - isAmino(o: any): o is _152.LockedRequestAmino; - encode(message: _152.LockedRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.LockedRequest; - fromJSON(object: any): _152.LockedRequest; - toJSON(message: _152.LockedRequest): unknown; - fromPartial(object: { - lockId?: bigint; - }): _152.LockedRequest; - fromSDK(object: _152.LockedRequestSDKType): _152.LockedRequest; - toSDK(message: _152.LockedRequest): _152.LockedRequestSDKType; - fromAmino(object: _152.LockedRequestAmino): _152.LockedRequest; - toAmino(message: _152.LockedRequest): _152.LockedRequestAmino; - fromAminoMsg(object: _152.LockedRequestAminoMsg): _152.LockedRequest; - toAminoMsg(message: _152.LockedRequest): _152.LockedRequestAminoMsg; - fromProtoMsg(message: _152.LockedRequestProtoMsg): _152.LockedRequest; - toProto(message: _152.LockedRequest): Uint8Array; - toProtoMsg(message: _152.LockedRequest): _152.LockedRequestProtoMsg; - }; - LockedResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.LockedResponse; - isSDK(o: any): o is _152.LockedResponseSDKType; - isAmino(o: any): o is _152.LockedResponseAmino; - encode(message: _152.LockedResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.LockedResponse; - fromJSON(object: any): _152.LockedResponse; - toJSON(message: _152.LockedResponse): unknown; - fromPartial(object: { - lock?: { - ID?: bigint; - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - endTime?: Date; - coins?: { - denom?: string; - amount?: string; - }[]; - }; - }): _152.LockedResponse; - fromSDK(object: _152.LockedResponseSDKType): _152.LockedResponse; - toSDK(message: _152.LockedResponse): _152.LockedResponseSDKType; - fromAmino(object: _152.LockedResponseAmino): _152.LockedResponse; - toAmino(message: _152.LockedResponse): _152.LockedResponseAmino; - fromAminoMsg(object: _152.LockedResponseAminoMsg): _152.LockedResponse; - toAminoMsg(message: _152.LockedResponse): _152.LockedResponseAminoMsg; - fromProtoMsg(message: _152.LockedResponseProtoMsg): _152.LockedResponse; - toProto(message: _152.LockedResponse): Uint8Array; - toProtoMsg(message: _152.LockedResponse): _152.LockedResponseProtoMsg; - }; - SyntheticLockupsByLockupIDRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.SyntheticLockupsByLockupIDRequest; - isSDK(o: any): o is _152.SyntheticLockupsByLockupIDRequestSDKType; - isAmino(o: any): o is _152.SyntheticLockupsByLockupIDRequestAmino; - encode(message: _152.SyntheticLockupsByLockupIDRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.SyntheticLockupsByLockupIDRequest; - fromJSON(object: any): _152.SyntheticLockupsByLockupIDRequest; - toJSON(message: _152.SyntheticLockupsByLockupIDRequest): unknown; - fromPartial(object: { - lockId?: bigint; - }): _152.SyntheticLockupsByLockupIDRequest; - fromSDK(object: _152.SyntheticLockupsByLockupIDRequestSDKType): _152.SyntheticLockupsByLockupIDRequest; - toSDK(message: _152.SyntheticLockupsByLockupIDRequest): _152.SyntheticLockupsByLockupIDRequestSDKType; - fromAmino(object: _152.SyntheticLockupsByLockupIDRequestAmino): _152.SyntheticLockupsByLockupIDRequest; - toAmino(message: _152.SyntheticLockupsByLockupIDRequest): _152.SyntheticLockupsByLockupIDRequestAmino; - fromAminoMsg(object: _152.SyntheticLockupsByLockupIDRequestAminoMsg): _152.SyntheticLockupsByLockupIDRequest; - toAminoMsg(message: _152.SyntheticLockupsByLockupIDRequest): _152.SyntheticLockupsByLockupIDRequestAminoMsg; - fromProtoMsg(message: _152.SyntheticLockupsByLockupIDRequestProtoMsg): _152.SyntheticLockupsByLockupIDRequest; - toProto(message: _152.SyntheticLockupsByLockupIDRequest): Uint8Array; - toProtoMsg(message: _152.SyntheticLockupsByLockupIDRequest): _152.SyntheticLockupsByLockupIDRequestProtoMsg; - }; - SyntheticLockupsByLockupIDResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.SyntheticLockupsByLockupIDResponse; - isSDK(o: any): o is _152.SyntheticLockupsByLockupIDResponseSDKType; - isAmino(o: any): o is _152.SyntheticLockupsByLockupIDResponseAmino; - encode(message: _152.SyntheticLockupsByLockupIDResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.SyntheticLockupsByLockupIDResponse; - fromJSON(object: any): _152.SyntheticLockupsByLockupIDResponse; - toJSON(message: _152.SyntheticLockupsByLockupIDResponse): unknown; - fromPartial(object: { - syntheticLocks?: { - underlyingLockId?: bigint; - synthDenom?: string; - endTime?: Date; - duration?: { - seconds?: bigint; - nanos?: number; - }; - }[]; - }): _152.SyntheticLockupsByLockupIDResponse; - fromSDK(object: _152.SyntheticLockupsByLockupIDResponseSDKType): _152.SyntheticLockupsByLockupIDResponse; - toSDK(message: _152.SyntheticLockupsByLockupIDResponse): _152.SyntheticLockupsByLockupIDResponseSDKType; - fromAmino(object: _152.SyntheticLockupsByLockupIDResponseAmino): _152.SyntheticLockupsByLockupIDResponse; - toAmino(message: _152.SyntheticLockupsByLockupIDResponse): _152.SyntheticLockupsByLockupIDResponseAmino; - fromAminoMsg(object: _152.SyntheticLockupsByLockupIDResponseAminoMsg): _152.SyntheticLockupsByLockupIDResponse; - toAminoMsg(message: _152.SyntheticLockupsByLockupIDResponse): _152.SyntheticLockupsByLockupIDResponseAminoMsg; - fromProtoMsg(message: _152.SyntheticLockupsByLockupIDResponseProtoMsg): _152.SyntheticLockupsByLockupIDResponse; - toProto(message: _152.SyntheticLockupsByLockupIDResponse): Uint8Array; - toProtoMsg(message: _152.SyntheticLockupsByLockupIDResponse): _152.SyntheticLockupsByLockupIDResponseProtoMsg; - }; - AccountLockedLongerDurationRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedLongerDurationRequest; - isSDK(o: any): o is _152.AccountLockedLongerDurationRequestSDKType; - isAmino(o: any): o is _152.AccountLockedLongerDurationRequestAmino; - encode(message: _152.AccountLockedLongerDurationRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedLongerDurationRequest; - fromJSON(object: any): _152.AccountLockedLongerDurationRequest; - toJSON(message: _152.AccountLockedLongerDurationRequest): unknown; - fromPartial(object: { - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - }): _152.AccountLockedLongerDurationRequest; - fromSDK(object: _152.AccountLockedLongerDurationRequestSDKType): _152.AccountLockedLongerDurationRequest; - toSDK(message: _152.AccountLockedLongerDurationRequest): _152.AccountLockedLongerDurationRequestSDKType; - fromAmino(object: _152.AccountLockedLongerDurationRequestAmino): _152.AccountLockedLongerDurationRequest; - toAmino(message: _152.AccountLockedLongerDurationRequest): _152.AccountLockedLongerDurationRequestAmino; - fromAminoMsg(object: _152.AccountLockedLongerDurationRequestAminoMsg): _152.AccountLockedLongerDurationRequest; - toAminoMsg(message: _152.AccountLockedLongerDurationRequest): _152.AccountLockedLongerDurationRequestAminoMsg; - fromProtoMsg(message: _152.AccountLockedLongerDurationRequestProtoMsg): _152.AccountLockedLongerDurationRequest; - toProto(message: _152.AccountLockedLongerDurationRequest): Uint8Array; - toProtoMsg(message: _152.AccountLockedLongerDurationRequest): _152.AccountLockedLongerDurationRequestProtoMsg; - }; - AccountLockedLongerDurationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedLongerDurationResponse; - isSDK(o: any): o is _152.AccountLockedLongerDurationResponseSDKType; - isAmino(o: any): o is _152.AccountLockedLongerDurationResponseAmino; - encode(message: _152.AccountLockedLongerDurationResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedLongerDurationResponse; - fromJSON(object: any): _152.AccountLockedLongerDurationResponse; - toJSON(message: _152.AccountLockedLongerDurationResponse): unknown; - fromPartial(object: { - locks?: { - ID?: bigint; - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - endTime?: Date; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _152.AccountLockedLongerDurationResponse; - fromSDK(object: _152.AccountLockedLongerDurationResponseSDKType): _152.AccountLockedLongerDurationResponse; - toSDK(message: _152.AccountLockedLongerDurationResponse): _152.AccountLockedLongerDurationResponseSDKType; - fromAmino(object: _152.AccountLockedLongerDurationResponseAmino): _152.AccountLockedLongerDurationResponse; - toAmino(message: _152.AccountLockedLongerDurationResponse): _152.AccountLockedLongerDurationResponseAmino; - fromAminoMsg(object: _152.AccountLockedLongerDurationResponseAminoMsg): _152.AccountLockedLongerDurationResponse; - toAminoMsg(message: _152.AccountLockedLongerDurationResponse): _152.AccountLockedLongerDurationResponseAminoMsg; - fromProtoMsg(message: _152.AccountLockedLongerDurationResponseProtoMsg): _152.AccountLockedLongerDurationResponse; - toProto(message: _152.AccountLockedLongerDurationResponse): Uint8Array; - toProtoMsg(message: _152.AccountLockedLongerDurationResponse): _152.AccountLockedLongerDurationResponseProtoMsg; - }; - AccountLockedDurationRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedDurationRequest; - isSDK(o: any): o is _152.AccountLockedDurationRequestSDKType; - isAmino(o: any): o is _152.AccountLockedDurationRequestAmino; - encode(message: _152.AccountLockedDurationRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedDurationRequest; - fromJSON(object: any): _152.AccountLockedDurationRequest; - toJSON(message: _152.AccountLockedDurationRequest): unknown; - fromPartial(object: { - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - }): _152.AccountLockedDurationRequest; - fromSDK(object: _152.AccountLockedDurationRequestSDKType): _152.AccountLockedDurationRequest; - toSDK(message: _152.AccountLockedDurationRequest): _152.AccountLockedDurationRequestSDKType; - fromAmino(object: _152.AccountLockedDurationRequestAmino): _152.AccountLockedDurationRequest; - toAmino(message: _152.AccountLockedDurationRequest): _152.AccountLockedDurationRequestAmino; - fromAminoMsg(object: _152.AccountLockedDurationRequestAminoMsg): _152.AccountLockedDurationRequest; - toAminoMsg(message: _152.AccountLockedDurationRequest): _152.AccountLockedDurationRequestAminoMsg; - fromProtoMsg(message: _152.AccountLockedDurationRequestProtoMsg): _152.AccountLockedDurationRequest; - toProto(message: _152.AccountLockedDurationRequest): Uint8Array; - toProtoMsg(message: _152.AccountLockedDurationRequest): _152.AccountLockedDurationRequestProtoMsg; - }; - AccountLockedDurationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedDurationResponse; - isSDK(o: any): o is _152.AccountLockedDurationResponseSDKType; - isAmino(o: any): o is _152.AccountLockedDurationResponseAmino; - encode(message: _152.AccountLockedDurationResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedDurationResponse; - fromJSON(object: any): _152.AccountLockedDurationResponse; - toJSON(message: _152.AccountLockedDurationResponse): unknown; - fromPartial(object: { - locks?: { - ID?: bigint; - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - endTime?: Date; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _152.AccountLockedDurationResponse; - fromSDK(object: _152.AccountLockedDurationResponseSDKType): _152.AccountLockedDurationResponse; - toSDK(message: _152.AccountLockedDurationResponse): _152.AccountLockedDurationResponseSDKType; - fromAmino(object: _152.AccountLockedDurationResponseAmino): _152.AccountLockedDurationResponse; - toAmino(message: _152.AccountLockedDurationResponse): _152.AccountLockedDurationResponseAmino; - fromAminoMsg(object: _152.AccountLockedDurationResponseAminoMsg): _152.AccountLockedDurationResponse; - toAminoMsg(message: _152.AccountLockedDurationResponse): _152.AccountLockedDurationResponseAminoMsg; - fromProtoMsg(message: _152.AccountLockedDurationResponseProtoMsg): _152.AccountLockedDurationResponse; - toProto(message: _152.AccountLockedDurationResponse): Uint8Array; - toProtoMsg(message: _152.AccountLockedDurationResponse): _152.AccountLockedDurationResponseProtoMsg; - }; - AccountLockedLongerDurationNotUnlockingOnlyRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedLongerDurationNotUnlockingOnlyRequest; - isSDK(o: any): o is _152.AccountLockedLongerDurationNotUnlockingOnlyRequestSDKType; - isAmino(o: any): o is _152.AccountLockedLongerDurationNotUnlockingOnlyRequestAmino; - encode(message: _152.AccountLockedLongerDurationNotUnlockingOnlyRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedLongerDurationNotUnlockingOnlyRequest; - fromJSON(object: any): _152.AccountLockedLongerDurationNotUnlockingOnlyRequest; - toJSON(message: _152.AccountLockedLongerDurationNotUnlockingOnlyRequest): unknown; - fromPartial(object: { - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - }): _152.AccountLockedLongerDurationNotUnlockingOnlyRequest; - fromSDK(object: _152.AccountLockedLongerDurationNotUnlockingOnlyRequestSDKType): _152.AccountLockedLongerDurationNotUnlockingOnlyRequest; - toSDK(message: _152.AccountLockedLongerDurationNotUnlockingOnlyRequest): _152.AccountLockedLongerDurationNotUnlockingOnlyRequestSDKType; - fromAmino(object: _152.AccountLockedLongerDurationNotUnlockingOnlyRequestAmino): _152.AccountLockedLongerDurationNotUnlockingOnlyRequest; - toAmino(message: _152.AccountLockedLongerDurationNotUnlockingOnlyRequest): _152.AccountLockedLongerDurationNotUnlockingOnlyRequestAmino; - fromAminoMsg(object: _152.AccountLockedLongerDurationNotUnlockingOnlyRequestAminoMsg): _152.AccountLockedLongerDurationNotUnlockingOnlyRequest; - toAminoMsg(message: _152.AccountLockedLongerDurationNotUnlockingOnlyRequest): _152.AccountLockedLongerDurationNotUnlockingOnlyRequestAminoMsg; - fromProtoMsg(message: _152.AccountLockedLongerDurationNotUnlockingOnlyRequestProtoMsg): _152.AccountLockedLongerDurationNotUnlockingOnlyRequest; - toProto(message: _152.AccountLockedLongerDurationNotUnlockingOnlyRequest): Uint8Array; - toProtoMsg(message: _152.AccountLockedLongerDurationNotUnlockingOnlyRequest): _152.AccountLockedLongerDurationNotUnlockingOnlyRequestProtoMsg; - }; - AccountLockedLongerDurationNotUnlockingOnlyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedLongerDurationNotUnlockingOnlyResponse; - isSDK(o: any): o is _152.AccountLockedLongerDurationNotUnlockingOnlyResponseSDKType; - isAmino(o: any): o is _152.AccountLockedLongerDurationNotUnlockingOnlyResponseAmino; - encode(message: _152.AccountLockedLongerDurationNotUnlockingOnlyResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedLongerDurationNotUnlockingOnlyResponse; - fromJSON(object: any): _152.AccountLockedLongerDurationNotUnlockingOnlyResponse; - toJSON(message: _152.AccountLockedLongerDurationNotUnlockingOnlyResponse): unknown; - fromPartial(object: { - locks?: { - ID?: bigint; - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - endTime?: Date; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _152.AccountLockedLongerDurationNotUnlockingOnlyResponse; - fromSDK(object: _152.AccountLockedLongerDurationNotUnlockingOnlyResponseSDKType): _152.AccountLockedLongerDurationNotUnlockingOnlyResponse; - toSDK(message: _152.AccountLockedLongerDurationNotUnlockingOnlyResponse): _152.AccountLockedLongerDurationNotUnlockingOnlyResponseSDKType; - fromAmino(object: _152.AccountLockedLongerDurationNotUnlockingOnlyResponseAmino): _152.AccountLockedLongerDurationNotUnlockingOnlyResponse; - toAmino(message: _152.AccountLockedLongerDurationNotUnlockingOnlyResponse): _152.AccountLockedLongerDurationNotUnlockingOnlyResponseAmino; - fromAminoMsg(object: _152.AccountLockedLongerDurationNotUnlockingOnlyResponseAminoMsg): _152.AccountLockedLongerDurationNotUnlockingOnlyResponse; - toAminoMsg(message: _152.AccountLockedLongerDurationNotUnlockingOnlyResponse): _152.AccountLockedLongerDurationNotUnlockingOnlyResponseAminoMsg; - fromProtoMsg(message: _152.AccountLockedLongerDurationNotUnlockingOnlyResponseProtoMsg): _152.AccountLockedLongerDurationNotUnlockingOnlyResponse; - toProto(message: _152.AccountLockedLongerDurationNotUnlockingOnlyResponse): Uint8Array; - toProtoMsg(message: _152.AccountLockedLongerDurationNotUnlockingOnlyResponse): _152.AccountLockedLongerDurationNotUnlockingOnlyResponseProtoMsg; - }; - AccountLockedLongerDurationDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedLongerDurationDenomRequest; - isSDK(o: any): o is _152.AccountLockedLongerDurationDenomRequestSDKType; - isAmino(o: any): o is _152.AccountLockedLongerDurationDenomRequestAmino; - encode(message: _152.AccountLockedLongerDurationDenomRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedLongerDurationDenomRequest; - fromJSON(object: any): _152.AccountLockedLongerDurationDenomRequest; - toJSON(message: _152.AccountLockedLongerDurationDenomRequest): unknown; - fromPartial(object: { - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - denom?: string; - }): _152.AccountLockedLongerDurationDenomRequest; - fromSDK(object: _152.AccountLockedLongerDurationDenomRequestSDKType): _152.AccountLockedLongerDurationDenomRequest; - toSDK(message: _152.AccountLockedLongerDurationDenomRequest): _152.AccountLockedLongerDurationDenomRequestSDKType; - fromAmino(object: _152.AccountLockedLongerDurationDenomRequestAmino): _152.AccountLockedLongerDurationDenomRequest; - toAmino(message: _152.AccountLockedLongerDurationDenomRequest): _152.AccountLockedLongerDurationDenomRequestAmino; - fromAminoMsg(object: _152.AccountLockedLongerDurationDenomRequestAminoMsg): _152.AccountLockedLongerDurationDenomRequest; - toAminoMsg(message: _152.AccountLockedLongerDurationDenomRequest): _152.AccountLockedLongerDurationDenomRequestAminoMsg; - fromProtoMsg(message: _152.AccountLockedLongerDurationDenomRequestProtoMsg): _152.AccountLockedLongerDurationDenomRequest; - toProto(message: _152.AccountLockedLongerDurationDenomRequest): Uint8Array; - toProtoMsg(message: _152.AccountLockedLongerDurationDenomRequest): _152.AccountLockedLongerDurationDenomRequestProtoMsg; - }; - AccountLockedLongerDurationDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.AccountLockedLongerDurationDenomResponse; - isSDK(o: any): o is _152.AccountLockedLongerDurationDenomResponseSDKType; - isAmino(o: any): o is _152.AccountLockedLongerDurationDenomResponseAmino; - encode(message: _152.AccountLockedLongerDurationDenomResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.AccountLockedLongerDurationDenomResponse; - fromJSON(object: any): _152.AccountLockedLongerDurationDenomResponse; - toJSON(message: _152.AccountLockedLongerDurationDenomResponse): unknown; - fromPartial(object: { - locks?: { - ID?: bigint; - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - endTime?: Date; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _152.AccountLockedLongerDurationDenomResponse; - fromSDK(object: _152.AccountLockedLongerDurationDenomResponseSDKType): _152.AccountLockedLongerDurationDenomResponse; - toSDK(message: _152.AccountLockedLongerDurationDenomResponse): _152.AccountLockedLongerDurationDenomResponseSDKType; - fromAmino(object: _152.AccountLockedLongerDurationDenomResponseAmino): _152.AccountLockedLongerDurationDenomResponse; - toAmino(message: _152.AccountLockedLongerDurationDenomResponse): _152.AccountLockedLongerDurationDenomResponseAmino; - fromAminoMsg(object: _152.AccountLockedLongerDurationDenomResponseAminoMsg): _152.AccountLockedLongerDurationDenomResponse; - toAminoMsg(message: _152.AccountLockedLongerDurationDenomResponse): _152.AccountLockedLongerDurationDenomResponseAminoMsg; - fromProtoMsg(message: _152.AccountLockedLongerDurationDenomResponseProtoMsg): _152.AccountLockedLongerDurationDenomResponse; - toProto(message: _152.AccountLockedLongerDurationDenomResponse): Uint8Array; - toProtoMsg(message: _152.AccountLockedLongerDurationDenomResponse): _152.AccountLockedLongerDurationDenomResponseProtoMsg; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.QueryParamsRequest; - isSDK(o: any): o is _152.QueryParamsRequestSDKType; - isAmino(o: any): o is _152.QueryParamsRequestAmino; - encode(_: _152.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.QueryParamsRequest; - fromJSON(_: any): _152.QueryParamsRequest; - toJSON(_: _152.QueryParamsRequest): unknown; - fromPartial(_: {}): _152.QueryParamsRequest; - fromSDK(_: _152.QueryParamsRequestSDKType): _152.QueryParamsRequest; - toSDK(_: _152.QueryParamsRequest): _152.QueryParamsRequestSDKType; - fromAmino(_: _152.QueryParamsRequestAmino): _152.QueryParamsRequest; - toAmino(_: _152.QueryParamsRequest): _152.QueryParamsRequestAmino; - fromAminoMsg(object: _152.QueryParamsRequestAminoMsg): _152.QueryParamsRequest; - toAminoMsg(message: _152.QueryParamsRequest): _152.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _152.QueryParamsRequestProtoMsg): _152.QueryParamsRequest; - toProto(message: _152.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _152.QueryParamsRequest): _152.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _152.QueryParamsResponse; - isSDK(o: any): o is _152.QueryParamsResponseSDKType; - isAmino(o: any): o is _152.QueryParamsResponseAmino; - encode(message: _152.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _152.QueryParamsResponse; - fromJSON(object: any): _152.QueryParamsResponse; - toJSON(message: _152.QueryParamsResponse): unknown; - fromPartial(object: { - params?: { - forceUnlockAllowedAddresses?: string[]; - }; - }): _152.QueryParamsResponse; - fromSDK(object: _152.QueryParamsResponseSDKType): _152.QueryParamsResponse; - toSDK(message: _152.QueryParamsResponse): _152.QueryParamsResponseSDKType; - fromAmino(object: _152.QueryParamsResponseAmino): _152.QueryParamsResponse; - toAmino(message: _152.QueryParamsResponse): _152.QueryParamsResponseAmino; - fromAminoMsg(object: _152.QueryParamsResponseAminoMsg): _152.QueryParamsResponse; - toAminoMsg(message: _152.QueryParamsResponse): _152.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _152.QueryParamsResponseProtoMsg): _152.QueryParamsResponse; - toProto(message: _152.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _152.QueryParamsResponse): _152.QueryParamsResponseProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _151.Params; - isSDK(o: any): o is _151.ParamsSDKType; - isAmino(o: any): o is _151.ParamsAmino; - encode(message: _151.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _151.Params; - fromJSON(object: any): _151.Params; - toJSON(message: _151.Params): unknown; - fromPartial(object: { - forceUnlockAllowedAddresses?: string[]; - }): _151.Params; - fromSDK(object: _151.ParamsSDKType): _151.Params; - toSDK(message: _151.Params): _151.ParamsSDKType; - fromAmino(object: _151.ParamsAmino): _151.Params; - toAmino(message: _151.Params): _151.ParamsAmino; - fromAminoMsg(object: _151.ParamsAminoMsg): _151.Params; - toAminoMsg(message: _151.Params): _151.ParamsAminoMsg; - fromProtoMsg(message: _151.ParamsProtoMsg): _151.Params; - toProto(message: _151.Params): Uint8Array; - toProtoMsg(message: _151.Params): _151.ParamsProtoMsg; - }; - lockQueryTypeFromJSON(object: any): _150.LockQueryType; - lockQueryTypeToJSON(object: _150.LockQueryType): string; - LockQueryType: typeof _150.LockQueryType; - LockQueryTypeSDKType: typeof _150.LockQueryType; - LockQueryTypeAmino: typeof _150.LockQueryType; - PeriodLock: { - typeUrl: string; - aminoType: string; - is(o: any): o is _150.PeriodLock; - isSDK(o: any): o is _150.PeriodLockSDKType; - isAmino(o: any): o is _150.PeriodLockAmino; - encode(message: _150.PeriodLock, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _150.PeriodLock; - fromJSON(object: any): _150.PeriodLock; - toJSON(message: _150.PeriodLock): unknown; - fromPartial(object: { - ID?: bigint; - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - endTime?: Date; - coins?: { - denom?: string; - amount?: string; - }[]; - }): _150.PeriodLock; - fromSDK(object: _150.PeriodLockSDKType): _150.PeriodLock; - toSDK(message: _150.PeriodLock): _150.PeriodLockSDKType; - fromAmino(object: _150.PeriodLockAmino): _150.PeriodLock; - toAmino(message: _150.PeriodLock): _150.PeriodLockAmino; - fromAminoMsg(object: _150.PeriodLockAminoMsg): _150.PeriodLock; - toAminoMsg(message: _150.PeriodLock): _150.PeriodLockAminoMsg; - fromProtoMsg(message: _150.PeriodLockProtoMsg): _150.PeriodLock; - toProto(message: _150.PeriodLock): Uint8Array; - toProtoMsg(message: _150.PeriodLock): _150.PeriodLockProtoMsg; - }; - QueryCondition: { - typeUrl: string; - aminoType: string; - is(o: any): o is _150.QueryCondition; - isSDK(o: any): o is _150.QueryConditionSDKType; - isAmino(o: any): o is _150.QueryConditionAmino; - encode(message: _150.QueryCondition, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _150.QueryCondition; - fromJSON(object: any): _150.QueryCondition; - toJSON(message: _150.QueryCondition): unknown; - fromPartial(object: { - lockQueryType?: _150.LockQueryType; - denom?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - timestamp?: Date; - }): _150.QueryCondition; - fromSDK(object: _150.QueryConditionSDKType): _150.QueryCondition; - toSDK(message: _150.QueryCondition): _150.QueryConditionSDKType; - fromAmino(object: _150.QueryConditionAmino): _150.QueryCondition; - toAmino(message: _150.QueryCondition): _150.QueryConditionAmino; - fromAminoMsg(object: _150.QueryConditionAminoMsg): _150.QueryCondition; - toAminoMsg(message: _150.QueryCondition): _150.QueryConditionAminoMsg; - fromProtoMsg(message: _150.QueryConditionProtoMsg): _150.QueryCondition; - toProto(message: _150.QueryCondition): Uint8Array; - toProtoMsg(message: _150.QueryCondition): _150.QueryConditionProtoMsg; - }; - SyntheticLock: { - typeUrl: string; - aminoType: string; - is(o: any): o is _150.SyntheticLock; - isSDK(o: any): o is _150.SyntheticLockSDKType; - isAmino(o: any): o is _150.SyntheticLockAmino; - encode(message: _150.SyntheticLock, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _150.SyntheticLock; - fromJSON(object: any): _150.SyntheticLock; - toJSON(message: _150.SyntheticLock): unknown; - fromPartial(object: { - underlyingLockId?: bigint; - synthDenom?: string; - endTime?: Date; - duration?: { - seconds?: bigint; - nanos?: number; - }; - }): _150.SyntheticLock; - fromSDK(object: _150.SyntheticLockSDKType): _150.SyntheticLock; - toSDK(message: _150.SyntheticLock): _150.SyntheticLockSDKType; - fromAmino(object: _150.SyntheticLockAmino): _150.SyntheticLock; - toAmino(message: _150.SyntheticLock): _150.SyntheticLockAmino; - fromAminoMsg(object: _150.SyntheticLockAminoMsg): _150.SyntheticLock; - toAminoMsg(message: _150.SyntheticLock): _150.SyntheticLockAminoMsg; - fromProtoMsg(message: _150.SyntheticLockProtoMsg): _150.SyntheticLock; - toProto(message: _150.SyntheticLock): Uint8Array; - toProtoMsg(message: _150.SyntheticLock): _150.SyntheticLockProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _149.GenesisState; - isSDK(o: any): o is _149.GenesisStateSDKType; - isAmino(o: any): o is _149.GenesisStateAmino; - encode(message: _149.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _149.GenesisState; - fromJSON(object: any): _149.GenesisState; - toJSON(message: _149.GenesisState): unknown; - fromPartial(object: { - lastLockId?: bigint; - locks?: { - ID?: bigint; - owner?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - endTime?: Date; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - syntheticLocks?: { - underlyingLockId?: bigint; - synthDenom?: string; - endTime?: Date; - duration?: { - seconds?: bigint; - nanos?: number; - }; - }[]; - }): _149.GenesisState; - fromSDK(object: _149.GenesisStateSDKType): _149.GenesisState; - toSDK(message: _149.GenesisState): _149.GenesisStateSDKType; - fromAmino(object: _149.GenesisStateAmino): _149.GenesisState; - toAmino(message: _149.GenesisState): _149.GenesisStateAmino; - fromAminoMsg(object: _149.GenesisStateAminoMsg): _149.GenesisState; - toAminoMsg(message: _149.GenesisState): _149.GenesisStateAminoMsg; - fromProtoMsg(message: _149.GenesisStateProtoMsg): _149.GenesisState; - toProto(message: _149.GenesisState): Uint8Array; - toProtoMsg(message: _149.GenesisState): _149.GenesisStateProtoMsg; - }; - }; - namespace mint { - const v1beta1: { - QueryClientImpl: typeof _290.QueryClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _290.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useParams: ({ request, options }: _290.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useEpochProvisions: ({ request, options }: _290.UseEpochProvisionsQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_156.QueryParamsRequest, _156.QueryParamsResponse>; - params(request: _156.QueryParamsRequest): import("..").MobxResponse<_156.QueryParamsResponse>; - }; - }; - QueryEpochProvisionsStore: { - new (): { - store: import("..").QueryStore<_156.QueryEpochProvisionsRequest, _156.QueryEpochProvisionsResponse>; - epochProvisions(request: _156.QueryEpochProvisionsRequest): import("..").MobxResponse<_156.QueryEpochProvisionsResponse>; - }; - }; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _156.QueryParamsRequest; - isSDK(o: any): o is _156.QueryParamsRequestSDKType; - isAmino(o: any): o is _156.QueryParamsRequestAmino; - encode(_: _156.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _156.QueryParamsRequest; - fromJSON(_: any): _156.QueryParamsRequest; - toJSON(_: _156.QueryParamsRequest): unknown; - fromPartial(_: {}): _156.QueryParamsRequest; - fromSDK(_: _156.QueryParamsRequestSDKType): _156.QueryParamsRequest; - toSDK(_: _156.QueryParamsRequest): _156.QueryParamsRequestSDKType; - fromAmino(_: _156.QueryParamsRequestAmino): _156.QueryParamsRequest; - toAmino(_: _156.QueryParamsRequest): _156.QueryParamsRequestAmino; - fromAminoMsg(object: _156.QueryParamsRequestAminoMsg): _156.QueryParamsRequest; - toAminoMsg(message: _156.QueryParamsRequest): _156.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _156.QueryParamsRequestProtoMsg): _156.QueryParamsRequest; - toProto(message: _156.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _156.QueryParamsRequest): _156.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _156.QueryParamsResponse; - isSDK(o: any): o is _156.QueryParamsResponseSDKType; - isAmino(o: any): o is _156.QueryParamsResponseAmino; - encode(message: _156.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _156.QueryParamsResponse; - fromJSON(object: any): _156.QueryParamsResponse; - toJSON(message: _156.QueryParamsResponse): unknown; - fromPartial(object: { - params?: { - mintDenom?: string; - genesisEpochProvisions?: string; - epochIdentifier?: string; - reductionPeriodInEpochs?: bigint; - reductionFactor?: string; - distributionProportions?: { - staking?: string; - poolIncentives?: string; - developerRewards?: string; - communityPool?: string; - }; - weightedDeveloperRewardsReceivers?: { - address?: string; - weight?: string; - }[]; - mintingRewardsDistributionStartEpoch?: bigint; - }; - }): _156.QueryParamsResponse; - fromSDK(object: _156.QueryParamsResponseSDKType): _156.QueryParamsResponse; - toSDK(message: _156.QueryParamsResponse): _156.QueryParamsResponseSDKType; - fromAmino(object: _156.QueryParamsResponseAmino): _156.QueryParamsResponse; - toAmino(message: _156.QueryParamsResponse): _156.QueryParamsResponseAmino; - fromAminoMsg(object: _156.QueryParamsResponseAminoMsg): _156.QueryParamsResponse; - toAminoMsg(message: _156.QueryParamsResponse): _156.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _156.QueryParamsResponseProtoMsg): _156.QueryParamsResponse; - toProto(message: _156.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _156.QueryParamsResponse): _156.QueryParamsResponseProtoMsg; - }; - QueryEpochProvisionsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _156.QueryEpochProvisionsRequest; - isSDK(o: any): o is _156.QueryEpochProvisionsRequestSDKType; - isAmino(o: any): o is _156.QueryEpochProvisionsRequestAmino; - encode(_: _156.QueryEpochProvisionsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _156.QueryEpochProvisionsRequest; - fromJSON(_: any): _156.QueryEpochProvisionsRequest; - toJSON(_: _156.QueryEpochProvisionsRequest): unknown; - fromPartial(_: {}): _156.QueryEpochProvisionsRequest; - fromSDK(_: _156.QueryEpochProvisionsRequestSDKType): _156.QueryEpochProvisionsRequest; - toSDK(_: _156.QueryEpochProvisionsRequest): _156.QueryEpochProvisionsRequestSDKType; - fromAmino(_: _156.QueryEpochProvisionsRequestAmino): _156.QueryEpochProvisionsRequest; - toAmino(_: _156.QueryEpochProvisionsRequest): _156.QueryEpochProvisionsRequestAmino; - fromAminoMsg(object: _156.QueryEpochProvisionsRequestAminoMsg): _156.QueryEpochProvisionsRequest; - toAminoMsg(message: _156.QueryEpochProvisionsRequest): _156.QueryEpochProvisionsRequestAminoMsg; - fromProtoMsg(message: _156.QueryEpochProvisionsRequestProtoMsg): _156.QueryEpochProvisionsRequest; - toProto(message: _156.QueryEpochProvisionsRequest): Uint8Array; - toProtoMsg(message: _156.QueryEpochProvisionsRequest): _156.QueryEpochProvisionsRequestProtoMsg; - }; - QueryEpochProvisionsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _156.QueryEpochProvisionsResponse; - isSDK(o: any): o is _156.QueryEpochProvisionsResponseSDKType; - isAmino(o: any): o is _156.QueryEpochProvisionsResponseAmino; - encode(message: _156.QueryEpochProvisionsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _156.QueryEpochProvisionsResponse; - fromJSON(object: any): _156.QueryEpochProvisionsResponse; - toJSON(message: _156.QueryEpochProvisionsResponse): unknown; - fromPartial(object: { - epochProvisions?: Uint8Array; - }): _156.QueryEpochProvisionsResponse; - fromSDK(object: _156.QueryEpochProvisionsResponseSDKType): _156.QueryEpochProvisionsResponse; - toSDK(message: _156.QueryEpochProvisionsResponse): _156.QueryEpochProvisionsResponseSDKType; - fromAmino(object: _156.QueryEpochProvisionsResponseAmino): _156.QueryEpochProvisionsResponse; - toAmino(message: _156.QueryEpochProvisionsResponse): _156.QueryEpochProvisionsResponseAmino; - fromAminoMsg(object: _156.QueryEpochProvisionsResponseAminoMsg): _156.QueryEpochProvisionsResponse; - toAminoMsg(message: _156.QueryEpochProvisionsResponse): _156.QueryEpochProvisionsResponseAminoMsg; - fromProtoMsg(message: _156.QueryEpochProvisionsResponseProtoMsg): _156.QueryEpochProvisionsResponse; - toProto(message: _156.QueryEpochProvisionsResponse): Uint8Array; - toProtoMsg(message: _156.QueryEpochProvisionsResponse): _156.QueryEpochProvisionsResponseProtoMsg; - }; - Minter: { - typeUrl: string; - aminoType: string; - is(o: any): o is _155.Minter; - isSDK(o: any): o is _155.MinterSDKType; - isAmino(o: any): o is _155.MinterAmino; - encode(message: _155.Minter, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _155.Minter; - fromJSON(object: any): _155.Minter; - toJSON(message: _155.Minter): unknown; - fromPartial(object: { - epochProvisions?: string; - }): _155.Minter; - fromSDK(object: _155.MinterSDKType): _155.Minter; - toSDK(message: _155.Minter): _155.MinterSDKType; - fromAmino(object: _155.MinterAmino): _155.Minter; - toAmino(message: _155.Minter): _155.MinterAmino; - fromAminoMsg(object: _155.MinterAminoMsg): _155.Minter; - toAminoMsg(message: _155.Minter): _155.MinterAminoMsg; - fromProtoMsg(message: _155.MinterProtoMsg): _155.Minter; - toProto(message: _155.Minter): Uint8Array; - toProtoMsg(message: _155.Minter): _155.MinterProtoMsg; - }; - WeightedAddress: { - typeUrl: string; - aminoType: string; - is(o: any): o is _155.WeightedAddress; - isSDK(o: any): o is _155.WeightedAddressSDKType; - isAmino(o: any): o is _155.WeightedAddressAmino; - encode(message: _155.WeightedAddress, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _155.WeightedAddress; - fromJSON(object: any): _155.WeightedAddress; - toJSON(message: _155.WeightedAddress): unknown; - fromPartial(object: { - address?: string; - weight?: string; - }): _155.WeightedAddress; - fromSDK(object: _155.WeightedAddressSDKType): _155.WeightedAddress; - toSDK(message: _155.WeightedAddress): _155.WeightedAddressSDKType; - fromAmino(object: _155.WeightedAddressAmino): _155.WeightedAddress; - toAmino(message: _155.WeightedAddress): _155.WeightedAddressAmino; - fromAminoMsg(object: _155.WeightedAddressAminoMsg): _155.WeightedAddress; - toAminoMsg(message: _155.WeightedAddress): _155.WeightedAddressAminoMsg; - fromProtoMsg(message: _155.WeightedAddressProtoMsg): _155.WeightedAddress; - toProto(message: _155.WeightedAddress): Uint8Array; - toProtoMsg(message: _155.WeightedAddress): _155.WeightedAddressProtoMsg; - }; - DistributionProportions: { - typeUrl: string; - aminoType: string; - is(o: any): o is _155.DistributionProportions; - isSDK(o: any): o is _155.DistributionProportionsSDKType; - isAmino(o: any): o is _155.DistributionProportionsAmino; - encode(message: _155.DistributionProportions, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _155.DistributionProportions; - fromJSON(object: any): _155.DistributionProportions; - toJSON(message: _155.DistributionProportions): unknown; - fromPartial(object: { - staking?: string; - poolIncentives?: string; - developerRewards?: string; - communityPool?: string; - }): _155.DistributionProportions; - fromSDK(object: _155.DistributionProportionsSDKType): _155.DistributionProportions; - toSDK(message: _155.DistributionProportions): _155.DistributionProportionsSDKType; - fromAmino(object: _155.DistributionProportionsAmino): _155.DistributionProportions; - toAmino(message: _155.DistributionProportions): _155.DistributionProportionsAmino; - fromAminoMsg(object: _155.DistributionProportionsAminoMsg): _155.DistributionProportions; - toAminoMsg(message: _155.DistributionProportions): _155.DistributionProportionsAminoMsg; - fromProtoMsg(message: _155.DistributionProportionsProtoMsg): _155.DistributionProportions; - toProto(message: _155.DistributionProportions): Uint8Array; - toProtoMsg(message: _155.DistributionProportions): _155.DistributionProportionsProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _155.Params; - isSDK(o: any): o is _155.ParamsSDKType; - isAmino(o: any): o is _155.ParamsAmino; - encode(message: _155.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _155.Params; - fromJSON(object: any): _155.Params; - toJSON(message: _155.Params): unknown; - fromPartial(object: { - mintDenom?: string; - genesisEpochProvisions?: string; - epochIdentifier?: string; - reductionPeriodInEpochs?: bigint; - reductionFactor?: string; - distributionProportions?: { - staking?: string; - poolIncentives?: string; - developerRewards?: string; - communityPool?: string; - }; - weightedDeveloperRewardsReceivers?: { - address?: string; - weight?: string; - }[]; - mintingRewardsDistributionStartEpoch?: bigint; - }): _155.Params; - fromSDK(object: _155.ParamsSDKType): _155.Params; - toSDK(message: _155.Params): _155.ParamsSDKType; - fromAmino(object: _155.ParamsAmino): _155.Params; - toAmino(message: _155.Params): _155.ParamsAmino; - fromAminoMsg(object: _155.ParamsAminoMsg): _155.Params; - toAminoMsg(message: _155.Params): _155.ParamsAminoMsg; - fromProtoMsg(message: _155.ParamsProtoMsg): _155.Params; - toProto(message: _155.Params): Uint8Array; - toProtoMsg(message: _155.Params): _155.ParamsProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _154.GenesisState; - isSDK(o: any): o is _154.GenesisStateSDKType; - isAmino(o: any): o is _154.GenesisStateAmino; - encode(message: _154.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _154.GenesisState; - fromJSON(object: any): _154.GenesisState; - toJSON(message: _154.GenesisState): unknown; - fromPartial(object: { - minter?: { - epochProvisions?: string; - }; - params?: { - mintDenom?: string; - genesisEpochProvisions?: string; - epochIdentifier?: string; - reductionPeriodInEpochs?: bigint; - reductionFactor?: string; - distributionProportions?: { - staking?: string; - poolIncentives?: string; - developerRewards?: string; - communityPool?: string; - }; - weightedDeveloperRewardsReceivers?: { - address?: string; - weight?: string; - }[]; - mintingRewardsDistributionStartEpoch?: bigint; - }; - reductionStartedEpoch?: bigint; - }): _154.GenesisState; - fromSDK(object: _154.GenesisStateSDKType): _154.GenesisState; - toSDK(message: _154.GenesisState): _154.GenesisStateSDKType; - fromAmino(object: _154.GenesisStateAmino): _154.GenesisState; - toAmino(message: _154.GenesisState): _154.GenesisStateAmino; - fromAminoMsg(object: _154.GenesisStateAminoMsg): _154.GenesisState; - toAminoMsg(message: _154.GenesisState): _154.GenesisStateAminoMsg; - fromProtoMsg(message: _154.GenesisStateProtoMsg): _154.GenesisState; - toProto(message: _154.GenesisState): Uint8Array; - toProtoMsg(message: _154.GenesisState): _154.GenesisStateProtoMsg; - }; - }; - } - namespace poolincentives { - const v1beta1: { - QueryClientImpl: typeof _291.QueryClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _291.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useGaugeIds: ({ request, options }: _291.UseGaugeIdsQuery) => import("@tanstack/react-query").UseQueryResult; - useDistrInfo: ({ request, options }: _291.UseDistrInfoQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: _291.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useLockableDurations: ({ request, options }: _291.UseLockableDurationsQuery) => import("@tanstack/react-query").UseQueryResult; - useIncentivizedPools: ({ request, options }: _291.UseIncentivizedPoolsQuery) => import("@tanstack/react-query").UseQueryResult; - useExternalIncentiveGauges: ({ request, options }: _291.UseExternalIncentiveGaugesQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryGaugeIdsStore: { - new (): { - store: import("..").QueryStore<_160.QueryGaugeIdsRequest, _160.QueryGaugeIdsResponse>; - gaugeIds(request: _160.QueryGaugeIdsRequest): import("..").MobxResponse<_160.QueryGaugeIdsResponse>; - }; - }; - QueryDistrInfoStore: { - new (): { - store: import("..").QueryStore<_160.QueryDistrInfoRequest, _160.QueryDistrInfoResponse>; - distrInfo(request: _160.QueryDistrInfoRequest): import("..").MobxResponse<_160.QueryDistrInfoResponse>; - }; - }; - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_160.QueryParamsRequest, _160.QueryParamsResponse>; - params(request: _160.QueryParamsRequest): import("..").MobxResponse<_160.QueryParamsResponse>; - }; - }; - QueryLockableDurationsStore: { - new (): { - store: import("..").QueryStore<_160.QueryLockableDurationsRequest, _160.QueryLockableDurationsResponse>; - lockableDurations(request: _160.QueryLockableDurationsRequest): import("..").MobxResponse<_160.QueryLockableDurationsResponse>; - }; - }; - QueryIncentivizedPoolsStore: { - new (): { - store: import("..").QueryStore<_160.QueryIncentivizedPoolsRequest, _160.QueryIncentivizedPoolsResponse>; - incentivizedPools(request: _160.QueryIncentivizedPoolsRequest): import("..").MobxResponse<_160.QueryIncentivizedPoolsResponse>; - }; - }; - QueryExternalIncentiveGaugesStore: { - new (): { - store: import("..").QueryStore<_160.QueryExternalIncentiveGaugesRequest, _160.QueryExternalIncentiveGaugesResponse>; - externalIncentiveGauges(request: _160.QueryExternalIncentiveGaugesRequest): import("..").MobxResponse<_160.QueryExternalIncentiveGaugesResponse>; - }; - }; - }; - QueryGaugeIdsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _160.QueryGaugeIdsRequest; - isSDK(o: any): o is _160.QueryGaugeIdsRequestSDKType; - isAmino(o: any): o is _160.QueryGaugeIdsRequestAmino; - encode(message: _160.QueryGaugeIdsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _160.QueryGaugeIdsRequest; - fromJSON(object: any): _160.QueryGaugeIdsRequest; - toJSON(message: _160.QueryGaugeIdsRequest): unknown; - fromPartial(object: { - poolId?: bigint; - }): _160.QueryGaugeIdsRequest; - fromSDK(object: _160.QueryGaugeIdsRequestSDKType): _160.QueryGaugeIdsRequest; - toSDK(message: _160.QueryGaugeIdsRequest): _160.QueryGaugeIdsRequestSDKType; - fromAmino(object: _160.QueryGaugeIdsRequestAmino): _160.QueryGaugeIdsRequest; - toAmino(message: _160.QueryGaugeIdsRequest): _160.QueryGaugeIdsRequestAmino; - fromAminoMsg(object: _160.QueryGaugeIdsRequestAminoMsg): _160.QueryGaugeIdsRequest; - toAminoMsg(message: _160.QueryGaugeIdsRequest): _160.QueryGaugeIdsRequestAminoMsg; - fromProtoMsg(message: _160.QueryGaugeIdsRequestProtoMsg): _160.QueryGaugeIdsRequest; - toProto(message: _160.QueryGaugeIdsRequest): Uint8Array; - toProtoMsg(message: _160.QueryGaugeIdsRequest): _160.QueryGaugeIdsRequestProtoMsg; - }; - QueryGaugeIdsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _160.QueryGaugeIdsResponse; - isSDK(o: any): o is _160.QueryGaugeIdsResponseSDKType; - isAmino(o: any): o is _160.QueryGaugeIdsResponseAmino; - encode(message: _160.QueryGaugeIdsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _160.QueryGaugeIdsResponse; - fromJSON(object: any): _160.QueryGaugeIdsResponse; - toJSON(message: _160.QueryGaugeIdsResponse): unknown; - fromPartial(object: { - gaugeIdsWithDuration?: { - gaugeId?: bigint; - duration?: { - seconds?: bigint; - nanos?: number; - }; - gaugeIncentivePercentage?: string; - }[]; - }): _160.QueryGaugeIdsResponse; - fromSDK(object: _160.QueryGaugeIdsResponseSDKType): _160.QueryGaugeIdsResponse; - toSDK(message: _160.QueryGaugeIdsResponse): _160.QueryGaugeIdsResponseSDKType; - fromAmino(object: _160.QueryGaugeIdsResponseAmino): _160.QueryGaugeIdsResponse; - toAmino(message: _160.QueryGaugeIdsResponse): _160.QueryGaugeIdsResponseAmino; - fromAminoMsg(object: _160.QueryGaugeIdsResponseAminoMsg): _160.QueryGaugeIdsResponse; - toAminoMsg(message: _160.QueryGaugeIdsResponse): _160.QueryGaugeIdsResponseAminoMsg; - fromProtoMsg(message: _160.QueryGaugeIdsResponseProtoMsg): _160.QueryGaugeIdsResponse; - toProto(message: _160.QueryGaugeIdsResponse): Uint8Array; - toProtoMsg(message: _160.QueryGaugeIdsResponse): _160.QueryGaugeIdsResponseProtoMsg; - }; - QueryGaugeIdsResponse_GaugeIdWithDuration: { - typeUrl: string; - aminoType: string; - is(o: any): o is _160.QueryGaugeIdsResponse_GaugeIdWithDuration; - isSDK(o: any): o is _160.QueryGaugeIdsResponse_GaugeIdWithDurationSDKType; - isAmino(o: any): o is _160.QueryGaugeIdsResponse_GaugeIdWithDurationAmino; - encode(message: _160.QueryGaugeIdsResponse_GaugeIdWithDuration, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _160.QueryGaugeIdsResponse_GaugeIdWithDuration; - fromJSON(object: any): _160.QueryGaugeIdsResponse_GaugeIdWithDuration; - toJSON(message: _160.QueryGaugeIdsResponse_GaugeIdWithDuration): unknown; - fromPartial(object: { - gaugeId?: bigint; - duration?: { - seconds?: bigint; - nanos?: number; - }; - gaugeIncentivePercentage?: string; - }): _160.QueryGaugeIdsResponse_GaugeIdWithDuration; - fromSDK(object: _160.QueryGaugeIdsResponse_GaugeIdWithDurationSDKType): _160.QueryGaugeIdsResponse_GaugeIdWithDuration; - toSDK(message: _160.QueryGaugeIdsResponse_GaugeIdWithDuration): _160.QueryGaugeIdsResponse_GaugeIdWithDurationSDKType; - fromAmino(object: _160.QueryGaugeIdsResponse_GaugeIdWithDurationAmino): _160.QueryGaugeIdsResponse_GaugeIdWithDuration; - toAmino(message: _160.QueryGaugeIdsResponse_GaugeIdWithDuration): _160.QueryGaugeIdsResponse_GaugeIdWithDurationAmino; - fromAminoMsg(object: _160.QueryGaugeIdsResponse_GaugeIdWithDurationAminoMsg): _160.QueryGaugeIdsResponse_GaugeIdWithDuration; - toAminoMsg(message: _160.QueryGaugeIdsResponse_GaugeIdWithDuration): _160.QueryGaugeIdsResponse_GaugeIdWithDurationAminoMsg; - fromProtoMsg(message: _160.QueryGaugeIdsResponse_GaugeIdWithDurationProtoMsg): _160.QueryGaugeIdsResponse_GaugeIdWithDuration; - toProto(message: _160.QueryGaugeIdsResponse_GaugeIdWithDuration): Uint8Array; - toProtoMsg(message: _160.QueryGaugeIdsResponse_GaugeIdWithDuration): _160.QueryGaugeIdsResponse_GaugeIdWithDurationProtoMsg; - }; - QueryDistrInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _160.QueryDistrInfoRequest; - isSDK(o: any): o is _160.QueryDistrInfoRequestSDKType; - isAmino(o: any): o is _160.QueryDistrInfoRequestAmino; - encode(_: _160.QueryDistrInfoRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _160.QueryDistrInfoRequest; - fromJSON(_: any): _160.QueryDistrInfoRequest; - toJSON(_: _160.QueryDistrInfoRequest): unknown; - fromPartial(_: {}): _160.QueryDistrInfoRequest; - fromSDK(_: _160.QueryDistrInfoRequestSDKType): _160.QueryDistrInfoRequest; - toSDK(_: _160.QueryDistrInfoRequest): _160.QueryDistrInfoRequestSDKType; - fromAmino(_: _160.QueryDistrInfoRequestAmino): _160.QueryDistrInfoRequest; - toAmino(_: _160.QueryDistrInfoRequest): _160.QueryDistrInfoRequestAmino; - fromAminoMsg(object: _160.QueryDistrInfoRequestAminoMsg): _160.QueryDistrInfoRequest; - toAminoMsg(message: _160.QueryDistrInfoRequest): _160.QueryDistrInfoRequestAminoMsg; - fromProtoMsg(message: _160.QueryDistrInfoRequestProtoMsg): _160.QueryDistrInfoRequest; - toProto(message: _160.QueryDistrInfoRequest): Uint8Array; - toProtoMsg(message: _160.QueryDistrInfoRequest): _160.QueryDistrInfoRequestProtoMsg; - }; - QueryDistrInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _160.QueryDistrInfoResponse; - isSDK(o: any): o is _160.QueryDistrInfoResponseSDKType; - isAmino(o: any): o is _160.QueryDistrInfoResponseAmino; - encode(message: _160.QueryDistrInfoResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _160.QueryDistrInfoResponse; - fromJSON(object: any): _160.QueryDistrInfoResponse; - toJSON(message: _160.QueryDistrInfoResponse): unknown; - fromPartial(object: { - distrInfo?: { - totalWeight?: string; - records?: { - gaugeId?: bigint; - weight?: string; - }[]; - }; - }): _160.QueryDistrInfoResponse; - fromSDK(object: _160.QueryDistrInfoResponseSDKType): _160.QueryDistrInfoResponse; - toSDK(message: _160.QueryDistrInfoResponse): _160.QueryDistrInfoResponseSDKType; - fromAmino(object: _160.QueryDistrInfoResponseAmino): _160.QueryDistrInfoResponse; - toAmino(message: _160.QueryDistrInfoResponse): _160.QueryDistrInfoResponseAmino; - fromAminoMsg(object: _160.QueryDistrInfoResponseAminoMsg): _160.QueryDistrInfoResponse; - toAminoMsg(message: _160.QueryDistrInfoResponse): _160.QueryDistrInfoResponseAminoMsg; - fromProtoMsg(message: _160.QueryDistrInfoResponseProtoMsg): _160.QueryDistrInfoResponse; - toProto(message: _160.QueryDistrInfoResponse): Uint8Array; - toProtoMsg(message: _160.QueryDistrInfoResponse): _160.QueryDistrInfoResponseProtoMsg; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _160.QueryParamsRequest; - isSDK(o: any): o is _160.QueryParamsRequestSDKType; - isAmino(o: any): o is _160.QueryParamsRequestAmino; - encode(_: _160.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _160.QueryParamsRequest; - fromJSON(_: any): _160.QueryParamsRequest; - toJSON(_: _160.QueryParamsRequest): unknown; - fromPartial(_: {}): _160.QueryParamsRequest; - fromSDK(_: _160.QueryParamsRequestSDKType): _160.QueryParamsRequest; - toSDK(_: _160.QueryParamsRequest): _160.QueryParamsRequestSDKType; - fromAmino(_: _160.QueryParamsRequestAmino): _160.QueryParamsRequest; - toAmino(_: _160.QueryParamsRequest): _160.QueryParamsRequestAmino; - fromAminoMsg(object: _160.QueryParamsRequestAminoMsg): _160.QueryParamsRequest; - toAminoMsg(message: _160.QueryParamsRequest): _160.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _160.QueryParamsRequestProtoMsg): _160.QueryParamsRequest; - toProto(message: _160.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _160.QueryParamsRequest): _160.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _160.QueryParamsResponse; - isSDK(o: any): o is _160.QueryParamsResponseSDKType; - isAmino(o: any): o is _160.QueryParamsResponseAmino; - encode(message: _160.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _160.QueryParamsResponse; - fromJSON(object: any): _160.QueryParamsResponse; - toJSON(message: _160.QueryParamsResponse): unknown; - fromPartial(object: { - params?: { - mintedDenom?: string; - }; - }): _160.QueryParamsResponse; - fromSDK(object: _160.QueryParamsResponseSDKType): _160.QueryParamsResponse; - toSDK(message: _160.QueryParamsResponse): _160.QueryParamsResponseSDKType; - fromAmino(object: _160.QueryParamsResponseAmino): _160.QueryParamsResponse; - toAmino(message: _160.QueryParamsResponse): _160.QueryParamsResponseAmino; - fromAminoMsg(object: _160.QueryParamsResponseAminoMsg): _160.QueryParamsResponse; - toAminoMsg(message: _160.QueryParamsResponse): _160.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _160.QueryParamsResponseProtoMsg): _160.QueryParamsResponse; - toProto(message: _160.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _160.QueryParamsResponse): _160.QueryParamsResponseProtoMsg; - }; - QueryLockableDurationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _160.QueryLockableDurationsRequest; - isSDK(o: any): o is _160.QueryLockableDurationsRequestSDKType; - isAmino(o: any): o is _160.QueryLockableDurationsRequestAmino; - encode(_: _160.QueryLockableDurationsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _160.QueryLockableDurationsRequest; - fromJSON(_: any): _160.QueryLockableDurationsRequest; - toJSON(_: _160.QueryLockableDurationsRequest): unknown; - fromPartial(_: {}): _160.QueryLockableDurationsRequest; - fromSDK(_: _160.QueryLockableDurationsRequestSDKType): _160.QueryLockableDurationsRequest; - toSDK(_: _160.QueryLockableDurationsRequest): _160.QueryLockableDurationsRequestSDKType; - fromAmino(_: _160.QueryLockableDurationsRequestAmino): _160.QueryLockableDurationsRequest; - toAmino(_: _160.QueryLockableDurationsRequest): _160.QueryLockableDurationsRequestAmino; - fromAminoMsg(object: _160.QueryLockableDurationsRequestAminoMsg): _160.QueryLockableDurationsRequest; - toAminoMsg(message: _160.QueryLockableDurationsRequest): _160.QueryLockableDurationsRequestAminoMsg; - fromProtoMsg(message: _160.QueryLockableDurationsRequestProtoMsg): _160.QueryLockableDurationsRequest; - toProto(message: _160.QueryLockableDurationsRequest): Uint8Array; - toProtoMsg(message: _160.QueryLockableDurationsRequest): _160.QueryLockableDurationsRequestProtoMsg; - }; - QueryLockableDurationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _160.QueryLockableDurationsResponse; - isSDK(o: any): o is _160.QueryLockableDurationsResponseSDKType; - isAmino(o: any): o is _160.QueryLockableDurationsResponseAmino; - encode(message: _160.QueryLockableDurationsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _160.QueryLockableDurationsResponse; - fromJSON(object: any): _160.QueryLockableDurationsResponse; - toJSON(message: _160.QueryLockableDurationsResponse): unknown; - fromPartial(object: { - lockableDurations?: { - seconds?: bigint; - nanos?: number; - }[]; - }): _160.QueryLockableDurationsResponse; - fromSDK(object: _160.QueryLockableDurationsResponseSDKType): _160.QueryLockableDurationsResponse; - toSDK(message: _160.QueryLockableDurationsResponse): _160.QueryLockableDurationsResponseSDKType; - fromAmino(object: _160.QueryLockableDurationsResponseAmino): _160.QueryLockableDurationsResponse; - toAmino(message: _160.QueryLockableDurationsResponse): _160.QueryLockableDurationsResponseAmino; - fromAminoMsg(object: _160.QueryLockableDurationsResponseAminoMsg): _160.QueryLockableDurationsResponse; - toAminoMsg(message: _160.QueryLockableDurationsResponse): _160.QueryLockableDurationsResponseAminoMsg; - fromProtoMsg(message: _160.QueryLockableDurationsResponseProtoMsg): _160.QueryLockableDurationsResponse; - toProto(message: _160.QueryLockableDurationsResponse): Uint8Array; - toProtoMsg(message: _160.QueryLockableDurationsResponse): _160.QueryLockableDurationsResponseProtoMsg; - }; - QueryIncentivizedPoolsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _160.QueryIncentivizedPoolsRequest; - isSDK(o: any): o is _160.QueryIncentivizedPoolsRequestSDKType; - isAmino(o: any): o is _160.QueryIncentivizedPoolsRequestAmino; - encode(_: _160.QueryIncentivizedPoolsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _160.QueryIncentivizedPoolsRequest; - fromJSON(_: any): _160.QueryIncentivizedPoolsRequest; - toJSON(_: _160.QueryIncentivizedPoolsRequest): unknown; - fromPartial(_: {}): _160.QueryIncentivizedPoolsRequest; - fromSDK(_: _160.QueryIncentivizedPoolsRequestSDKType): _160.QueryIncentivizedPoolsRequest; - toSDK(_: _160.QueryIncentivizedPoolsRequest): _160.QueryIncentivizedPoolsRequestSDKType; - fromAmino(_: _160.QueryIncentivizedPoolsRequestAmino): _160.QueryIncentivizedPoolsRequest; - toAmino(_: _160.QueryIncentivizedPoolsRequest): _160.QueryIncentivizedPoolsRequestAmino; - fromAminoMsg(object: _160.QueryIncentivizedPoolsRequestAminoMsg): _160.QueryIncentivizedPoolsRequest; - toAminoMsg(message: _160.QueryIncentivizedPoolsRequest): _160.QueryIncentivizedPoolsRequestAminoMsg; - fromProtoMsg(message: _160.QueryIncentivizedPoolsRequestProtoMsg): _160.QueryIncentivizedPoolsRequest; - toProto(message: _160.QueryIncentivizedPoolsRequest): Uint8Array; - toProtoMsg(message: _160.QueryIncentivizedPoolsRequest): _160.QueryIncentivizedPoolsRequestProtoMsg; - }; - IncentivizedPool: { - typeUrl: string; - aminoType: string; - is(o: any): o is _160.IncentivizedPool; - isSDK(o: any): o is _160.IncentivizedPoolSDKType; - isAmino(o: any): o is _160.IncentivizedPoolAmino; - encode(message: _160.IncentivizedPool, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _160.IncentivizedPool; - fromJSON(object: any): _160.IncentivizedPool; - toJSON(message: _160.IncentivizedPool): unknown; - fromPartial(object: { - poolId?: bigint; - lockableDuration?: { - seconds?: bigint; - nanos?: number; - }; - gaugeId?: bigint; - }): _160.IncentivizedPool; - fromSDK(object: _160.IncentivizedPoolSDKType): _160.IncentivizedPool; - toSDK(message: _160.IncentivizedPool): _160.IncentivizedPoolSDKType; - fromAmino(object: _160.IncentivizedPoolAmino): _160.IncentivizedPool; - toAmino(message: _160.IncentivizedPool): _160.IncentivizedPoolAmino; - fromAminoMsg(object: _160.IncentivizedPoolAminoMsg): _160.IncentivizedPool; - toAminoMsg(message: _160.IncentivizedPool): _160.IncentivizedPoolAminoMsg; - fromProtoMsg(message: _160.IncentivizedPoolProtoMsg): _160.IncentivizedPool; - toProto(message: _160.IncentivizedPool): Uint8Array; - toProtoMsg(message: _160.IncentivizedPool): _160.IncentivizedPoolProtoMsg; - }; - QueryIncentivizedPoolsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _160.QueryIncentivizedPoolsResponse; - isSDK(o: any): o is _160.QueryIncentivizedPoolsResponseSDKType; - isAmino(o: any): o is _160.QueryIncentivizedPoolsResponseAmino; - encode(message: _160.QueryIncentivizedPoolsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _160.QueryIncentivizedPoolsResponse; - fromJSON(object: any): _160.QueryIncentivizedPoolsResponse; - toJSON(message: _160.QueryIncentivizedPoolsResponse): unknown; - fromPartial(object: { - incentivizedPools?: { - poolId?: bigint; - lockableDuration?: { - seconds?: bigint; - nanos?: number; - }; - gaugeId?: bigint; - }[]; - }): _160.QueryIncentivizedPoolsResponse; - fromSDK(object: _160.QueryIncentivizedPoolsResponseSDKType): _160.QueryIncentivizedPoolsResponse; - toSDK(message: _160.QueryIncentivizedPoolsResponse): _160.QueryIncentivizedPoolsResponseSDKType; - fromAmino(object: _160.QueryIncentivizedPoolsResponseAmino): _160.QueryIncentivizedPoolsResponse; - toAmino(message: _160.QueryIncentivizedPoolsResponse): _160.QueryIncentivizedPoolsResponseAmino; - fromAminoMsg(object: _160.QueryIncentivizedPoolsResponseAminoMsg): _160.QueryIncentivizedPoolsResponse; - toAminoMsg(message: _160.QueryIncentivizedPoolsResponse): _160.QueryIncentivizedPoolsResponseAminoMsg; - fromProtoMsg(message: _160.QueryIncentivizedPoolsResponseProtoMsg): _160.QueryIncentivizedPoolsResponse; - toProto(message: _160.QueryIncentivizedPoolsResponse): Uint8Array; - toProtoMsg(message: _160.QueryIncentivizedPoolsResponse): _160.QueryIncentivizedPoolsResponseProtoMsg; - }; - QueryExternalIncentiveGaugesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _160.QueryExternalIncentiveGaugesRequest; - isSDK(o: any): o is _160.QueryExternalIncentiveGaugesRequestSDKType; - isAmino(o: any): o is _160.QueryExternalIncentiveGaugesRequestAmino; - encode(_: _160.QueryExternalIncentiveGaugesRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _160.QueryExternalIncentiveGaugesRequest; - fromJSON(_: any): _160.QueryExternalIncentiveGaugesRequest; - toJSON(_: _160.QueryExternalIncentiveGaugesRequest): unknown; - fromPartial(_: {}): _160.QueryExternalIncentiveGaugesRequest; - fromSDK(_: _160.QueryExternalIncentiveGaugesRequestSDKType): _160.QueryExternalIncentiveGaugesRequest; - toSDK(_: _160.QueryExternalIncentiveGaugesRequest): _160.QueryExternalIncentiveGaugesRequestSDKType; - fromAmino(_: _160.QueryExternalIncentiveGaugesRequestAmino): _160.QueryExternalIncentiveGaugesRequest; - toAmino(_: _160.QueryExternalIncentiveGaugesRequest): _160.QueryExternalIncentiveGaugesRequestAmino; - fromAminoMsg(object: _160.QueryExternalIncentiveGaugesRequestAminoMsg): _160.QueryExternalIncentiveGaugesRequest; - toAminoMsg(message: _160.QueryExternalIncentiveGaugesRequest): _160.QueryExternalIncentiveGaugesRequestAminoMsg; - fromProtoMsg(message: _160.QueryExternalIncentiveGaugesRequestProtoMsg): _160.QueryExternalIncentiveGaugesRequest; - toProto(message: _160.QueryExternalIncentiveGaugesRequest): Uint8Array; - toProtoMsg(message: _160.QueryExternalIncentiveGaugesRequest): _160.QueryExternalIncentiveGaugesRequestProtoMsg; - }; - QueryExternalIncentiveGaugesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _160.QueryExternalIncentiveGaugesResponse; - isSDK(o: any): o is _160.QueryExternalIncentiveGaugesResponseSDKType; - isAmino(o: any): o is _160.QueryExternalIncentiveGaugesResponseAmino; - encode(message: _160.QueryExternalIncentiveGaugesResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _160.QueryExternalIncentiveGaugesResponse; - fromJSON(object: any): _160.QueryExternalIncentiveGaugesResponse; - toJSON(message: _160.QueryExternalIncentiveGaugesResponse): unknown; - fromPartial(object: { - data?: { - id?: bigint; - isPerpetual?: boolean; - distributeTo?: { - lockQueryType?: _150.LockQueryType; - denom?: string; - duration?: { - seconds?: bigint; - nanos?: number; - }; - timestamp?: Date; - }; - coins?: { - denom?: string; - amount?: string; - }[]; - startTime?: Date; - numEpochsPaidOver?: bigint; - filledEpochs?: bigint; - distributedCoins?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _160.QueryExternalIncentiveGaugesResponse; - fromSDK(object: _160.QueryExternalIncentiveGaugesResponseSDKType): _160.QueryExternalIncentiveGaugesResponse; - toSDK(message: _160.QueryExternalIncentiveGaugesResponse): _160.QueryExternalIncentiveGaugesResponseSDKType; - fromAmino(object: _160.QueryExternalIncentiveGaugesResponseAmino): _160.QueryExternalIncentiveGaugesResponse; - toAmino(message: _160.QueryExternalIncentiveGaugesResponse): _160.QueryExternalIncentiveGaugesResponseAmino; - fromAminoMsg(object: _160.QueryExternalIncentiveGaugesResponseAminoMsg): _160.QueryExternalIncentiveGaugesResponse; - toAminoMsg(message: _160.QueryExternalIncentiveGaugesResponse): _160.QueryExternalIncentiveGaugesResponseAminoMsg; - fromProtoMsg(message: _160.QueryExternalIncentiveGaugesResponseProtoMsg): _160.QueryExternalIncentiveGaugesResponse; - toProto(message: _160.QueryExternalIncentiveGaugesResponse): Uint8Array; - toProtoMsg(message: _160.QueryExternalIncentiveGaugesResponse): _160.QueryExternalIncentiveGaugesResponseProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _159.Params; - isSDK(o: any): o is _159.ParamsSDKType; - isAmino(o: any): o is _159.ParamsAmino; - encode(message: _159.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _159.Params; - fromJSON(object: any): _159.Params; - toJSON(message: _159.Params): unknown; - fromPartial(object: { - mintedDenom?: string; - }): _159.Params; - fromSDK(object: _159.ParamsSDKType): _159.Params; - toSDK(message: _159.Params): _159.ParamsSDKType; - fromAmino(object: _159.ParamsAmino): _159.Params; - toAmino(message: _159.Params): _159.ParamsAmino; - fromAminoMsg(object: _159.ParamsAminoMsg): _159.Params; - toAminoMsg(message: _159.Params): _159.ParamsAminoMsg; - fromProtoMsg(message: _159.ParamsProtoMsg): _159.Params; - toProto(message: _159.Params): Uint8Array; - toProtoMsg(message: _159.Params): _159.ParamsProtoMsg; - }; - LockableDurationsInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _159.LockableDurationsInfo; - isSDK(o: any): o is _159.LockableDurationsInfoSDKType; - isAmino(o: any): o is _159.LockableDurationsInfoAmino; - encode(message: _159.LockableDurationsInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _159.LockableDurationsInfo; - fromJSON(object: any): _159.LockableDurationsInfo; - toJSON(message: _159.LockableDurationsInfo): unknown; - fromPartial(object: { - lockableDurations?: { - seconds?: bigint; - nanos?: number; - }[]; - }): _159.LockableDurationsInfo; - fromSDK(object: _159.LockableDurationsInfoSDKType): _159.LockableDurationsInfo; - toSDK(message: _159.LockableDurationsInfo): _159.LockableDurationsInfoSDKType; - fromAmino(object: _159.LockableDurationsInfoAmino): _159.LockableDurationsInfo; - toAmino(message: _159.LockableDurationsInfo): _159.LockableDurationsInfoAmino; - fromAminoMsg(object: _159.LockableDurationsInfoAminoMsg): _159.LockableDurationsInfo; - toAminoMsg(message: _159.LockableDurationsInfo): _159.LockableDurationsInfoAminoMsg; - fromProtoMsg(message: _159.LockableDurationsInfoProtoMsg): _159.LockableDurationsInfo; - toProto(message: _159.LockableDurationsInfo): Uint8Array; - toProtoMsg(message: _159.LockableDurationsInfo): _159.LockableDurationsInfoProtoMsg; - }; - DistrInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _159.DistrInfo; - isSDK(o: any): o is _159.DistrInfoSDKType; - isAmino(o: any): o is _159.DistrInfoAmino; - encode(message: _159.DistrInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _159.DistrInfo; - fromJSON(object: any): _159.DistrInfo; - toJSON(message: _159.DistrInfo): unknown; - fromPartial(object: { - totalWeight?: string; - records?: { - gaugeId?: bigint; - weight?: string; - }[]; - }): _159.DistrInfo; - fromSDK(object: _159.DistrInfoSDKType): _159.DistrInfo; - toSDK(message: _159.DistrInfo): _159.DistrInfoSDKType; - fromAmino(object: _159.DistrInfoAmino): _159.DistrInfo; - toAmino(message: _159.DistrInfo): _159.DistrInfoAmino; - fromAminoMsg(object: _159.DistrInfoAminoMsg): _159.DistrInfo; - toAminoMsg(message: _159.DistrInfo): _159.DistrInfoAminoMsg; - fromProtoMsg(message: _159.DistrInfoProtoMsg): _159.DistrInfo; - toProto(message: _159.DistrInfo): Uint8Array; - toProtoMsg(message: _159.DistrInfo): _159.DistrInfoProtoMsg; - }; - DistrRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is _159.DistrRecord; - isSDK(o: any): o is _159.DistrRecordSDKType; - isAmino(o: any): o is _159.DistrRecordAmino; - encode(message: _159.DistrRecord, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _159.DistrRecord; - fromJSON(object: any): _159.DistrRecord; - toJSON(message: _159.DistrRecord): unknown; - fromPartial(object: { - gaugeId?: bigint; - weight?: string; - }): _159.DistrRecord; - fromSDK(object: _159.DistrRecordSDKType): _159.DistrRecord; - toSDK(message: _159.DistrRecord): _159.DistrRecordSDKType; - fromAmino(object: _159.DistrRecordAmino): _159.DistrRecord; - toAmino(message: _159.DistrRecord): _159.DistrRecordAmino; - fromAminoMsg(object: _159.DistrRecordAminoMsg): _159.DistrRecord; - toAminoMsg(message: _159.DistrRecord): _159.DistrRecordAminoMsg; - fromProtoMsg(message: _159.DistrRecordProtoMsg): _159.DistrRecord; - toProto(message: _159.DistrRecord): Uint8Array; - toProtoMsg(message: _159.DistrRecord): _159.DistrRecordProtoMsg; - }; - PoolToGauge: { - typeUrl: string; - aminoType: string; - is(o: any): o is _159.PoolToGauge; - isSDK(o: any): o is _159.PoolToGaugeSDKType; - isAmino(o: any): o is _159.PoolToGaugeAmino; - encode(message: _159.PoolToGauge, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _159.PoolToGauge; - fromJSON(object: any): _159.PoolToGauge; - toJSON(message: _159.PoolToGauge): unknown; - fromPartial(object: { - poolId?: bigint; - gaugeId?: bigint; - duration?: { - seconds?: bigint; - nanos?: number; - }; - }): _159.PoolToGauge; - fromSDK(object: _159.PoolToGaugeSDKType): _159.PoolToGauge; - toSDK(message: _159.PoolToGauge): _159.PoolToGaugeSDKType; - fromAmino(object: _159.PoolToGaugeAmino): _159.PoolToGauge; - toAmino(message: _159.PoolToGauge): _159.PoolToGaugeAmino; - fromAminoMsg(object: _159.PoolToGaugeAminoMsg): _159.PoolToGauge; - toAminoMsg(message: _159.PoolToGauge): _159.PoolToGaugeAminoMsg; - fromProtoMsg(message: _159.PoolToGaugeProtoMsg): _159.PoolToGauge; - toProto(message: _159.PoolToGauge): Uint8Array; - toProtoMsg(message: _159.PoolToGauge): _159.PoolToGaugeProtoMsg; - }; - PoolToGauges: { - typeUrl: string; - aminoType: string; - is(o: any): o is _159.PoolToGauges; - isSDK(o: any): o is _159.PoolToGaugesSDKType; - isAmino(o: any): o is _159.PoolToGaugesAmino; - encode(message: _159.PoolToGauges, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _159.PoolToGauges; - fromJSON(object: any): _159.PoolToGauges; - toJSON(message: _159.PoolToGauges): unknown; - fromPartial(object: { - poolToGauge?: { - poolId?: bigint; - gaugeId?: bigint; - duration?: { - seconds?: bigint; - nanos?: number; - }; - }[]; - }): _159.PoolToGauges; - fromSDK(object: _159.PoolToGaugesSDKType): _159.PoolToGauges; - toSDK(message: _159.PoolToGauges): _159.PoolToGaugesSDKType; - fromAmino(object: _159.PoolToGaugesAmino): _159.PoolToGauges; - toAmino(message: _159.PoolToGauges): _159.PoolToGaugesAmino; - fromAminoMsg(object: _159.PoolToGaugesAminoMsg): _159.PoolToGauges; - toAminoMsg(message: _159.PoolToGauges): _159.PoolToGaugesAminoMsg; - fromProtoMsg(message: _159.PoolToGaugesProtoMsg): _159.PoolToGauges; - toProto(message: _159.PoolToGauges): Uint8Array; - toProtoMsg(message: _159.PoolToGauges): _159.PoolToGaugesProtoMsg; - }; - ReplacePoolIncentivesProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _158.ReplacePoolIncentivesProposal; - isSDK(o: any): o is _158.ReplacePoolIncentivesProposalSDKType; - isAmino(o: any): o is _158.ReplacePoolIncentivesProposalAmino; - encode(message: _158.ReplacePoolIncentivesProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _158.ReplacePoolIncentivesProposal; - fromJSON(object: any): _158.ReplacePoolIncentivesProposal; - toJSON(message: _158.ReplacePoolIncentivesProposal): unknown; - fromPartial(object: { - $typeUrl?: "/osmosis.poolincentives.v1beta1.ReplacePoolIncentivesProposal"; - title?: string; - description?: string; - records?: { - gaugeId?: bigint; - weight?: string; - }[]; - }): _158.ReplacePoolIncentivesProposal; - fromSDK(object: _158.ReplacePoolIncentivesProposalSDKType): _158.ReplacePoolIncentivesProposal; - toSDK(message: _158.ReplacePoolIncentivesProposal): _158.ReplacePoolIncentivesProposalSDKType; - fromAmino(object: _158.ReplacePoolIncentivesProposalAmino): _158.ReplacePoolIncentivesProposal; - toAmino(message: _158.ReplacePoolIncentivesProposal): _158.ReplacePoolIncentivesProposalAmino; - fromAminoMsg(object: _158.ReplacePoolIncentivesProposalAminoMsg): _158.ReplacePoolIncentivesProposal; - toAminoMsg(message: _158.ReplacePoolIncentivesProposal): _158.ReplacePoolIncentivesProposalAminoMsg; - fromProtoMsg(message: _158.ReplacePoolIncentivesProposalProtoMsg): _158.ReplacePoolIncentivesProposal; - toProto(message: _158.ReplacePoolIncentivesProposal): Uint8Array; - toProtoMsg(message: _158.ReplacePoolIncentivesProposal): _158.ReplacePoolIncentivesProposalProtoMsg; - }; - UpdatePoolIncentivesProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _158.UpdatePoolIncentivesProposal; - isSDK(o: any): o is _158.UpdatePoolIncentivesProposalSDKType; - isAmino(o: any): o is _158.UpdatePoolIncentivesProposalAmino; - encode(message: _158.UpdatePoolIncentivesProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _158.UpdatePoolIncentivesProposal; - fromJSON(object: any): _158.UpdatePoolIncentivesProposal; - toJSON(message: _158.UpdatePoolIncentivesProposal): unknown; - fromPartial(object: { - $typeUrl?: "/osmosis.poolincentives.v1beta1.UpdatePoolIncentivesProposal"; - title?: string; - description?: string; - records?: { - gaugeId?: bigint; - weight?: string; - }[]; - }): _158.UpdatePoolIncentivesProposal; - fromSDK(object: _158.UpdatePoolIncentivesProposalSDKType): _158.UpdatePoolIncentivesProposal; - toSDK(message: _158.UpdatePoolIncentivesProposal): _158.UpdatePoolIncentivesProposalSDKType; - fromAmino(object: _158.UpdatePoolIncentivesProposalAmino): _158.UpdatePoolIncentivesProposal; - toAmino(message: _158.UpdatePoolIncentivesProposal): _158.UpdatePoolIncentivesProposalAmino; - fromAminoMsg(object: _158.UpdatePoolIncentivesProposalAminoMsg): _158.UpdatePoolIncentivesProposal; - toAminoMsg(message: _158.UpdatePoolIncentivesProposal): _158.UpdatePoolIncentivesProposalAminoMsg; - fromProtoMsg(message: _158.UpdatePoolIncentivesProposalProtoMsg): _158.UpdatePoolIncentivesProposal; - toProto(message: _158.UpdatePoolIncentivesProposal): Uint8Array; - toProtoMsg(message: _158.UpdatePoolIncentivesProposal): _158.UpdatePoolIncentivesProposalProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _157.GenesisState; - isSDK(o: any): o is _157.GenesisStateSDKType; - isAmino(o: any): o is _157.GenesisStateAmino; - encode(message: _157.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _157.GenesisState; - fromJSON(object: any): _157.GenesisState; - toJSON(message: _157.GenesisState): unknown; - fromPartial(object: { - params?: { - mintedDenom?: string; - }; - lockableDurations?: { - seconds?: bigint; - nanos?: number; - }[]; - distrInfo?: { - totalWeight?: string; - records?: { - gaugeId?: bigint; - weight?: string; - }[]; - }; - poolToGauges?: { - poolToGauge?: { - poolId?: bigint; - gaugeId?: bigint; - duration?: { - seconds?: bigint; - nanos?: number; - }; - }[]; - }; - }): _157.GenesisState; - fromSDK(object: _157.GenesisStateSDKType): _157.GenesisState; - toSDK(message: _157.GenesisState): _157.GenesisStateSDKType; - fromAmino(object: _157.GenesisStateAmino): _157.GenesisState; - toAmino(message: _157.GenesisState): _157.GenesisStateAmino; - fromAminoMsg(object: _157.GenesisStateAminoMsg): _157.GenesisState; - toAminoMsg(message: _157.GenesisState): _157.GenesisStateAminoMsg; - fromProtoMsg(message: _157.GenesisStateProtoMsg): _157.GenesisState; - toProto(message: _157.GenesisState): Uint8Array; - toProtoMsg(message: _157.GenesisState): _157.GenesisStateProtoMsg; - }; - }; - } - namespace store { - const v1beta1: { - Node: { - typeUrl: string; - aminoType: string; - is(o: any): o is _161.Node; - isSDK(o: any): o is _161.NodeSDKType; - isAmino(o: any): o is _161.NodeAmino; - encode(message: _161.Node, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _161.Node; - fromJSON(object: any): _161.Node; - toJSON(message: _161.Node): unknown; - fromPartial(object: { - children?: { - index?: Uint8Array; - accumulation?: string; - }[]; - }): _161.Node; - fromSDK(object: _161.NodeSDKType): _161.Node; - toSDK(message: _161.Node): _161.NodeSDKType; - fromAmino(object: _161.NodeAmino): _161.Node; - toAmino(message: _161.Node): _161.NodeAmino; - fromAminoMsg(object: _161.NodeAminoMsg): _161.Node; - toAminoMsg(message: _161.Node): _161.NodeAminoMsg; - fromProtoMsg(message: _161.NodeProtoMsg): _161.Node; - toProto(message: _161.Node): Uint8Array; - toProtoMsg(message: _161.Node): _161.NodeProtoMsg; - }; - Child: { - typeUrl: string; - aminoType: string; - is(o: any): o is _161.Child; - isSDK(o: any): o is _161.ChildSDKType; - isAmino(o: any): o is _161.ChildAmino; - encode(message: _161.Child, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _161.Child; - fromJSON(object: any): _161.Child; - toJSON(message: _161.Child): unknown; - fromPartial(object: { - index?: Uint8Array; - accumulation?: string; - }): _161.Child; - fromSDK(object: _161.ChildSDKType): _161.Child; - toSDK(message: _161.Child): _161.ChildSDKType; - fromAmino(object: _161.ChildAmino): _161.Child; - toAmino(message: _161.Child): _161.ChildAmino; - fromAminoMsg(object: _161.ChildAminoMsg): _161.Child; - toAminoMsg(message: _161.Child): _161.ChildAminoMsg; - fromProtoMsg(message: _161.ChildProtoMsg): _161.Child; - toProto(message: _161.Child): Uint8Array; - toProtoMsg(message: _161.Child): _161.ChildProtoMsg; - }; - Leaf: { - typeUrl: string; - aminoType: string; - is(o: any): o is _161.Leaf; - isSDK(o: any): o is _161.LeafSDKType; - isAmino(o: any): o is _161.LeafAmino; - encode(message: _161.Leaf, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _161.Leaf; - fromJSON(object: any): _161.Leaf; - toJSON(message: _161.Leaf): unknown; - fromPartial(object: { - leaf?: { - index?: Uint8Array; - accumulation?: string; - }; - }): _161.Leaf; - fromSDK(object: _161.LeafSDKType): _161.Leaf; - toSDK(message: _161.Leaf): _161.LeafSDKType; - fromAmino(object: _161.LeafAmino): _161.Leaf; - toAmino(message: _161.Leaf): _161.LeafAmino; - fromAminoMsg(object: _161.LeafAminoMsg): _161.Leaf; - toAminoMsg(message: _161.Leaf): _161.LeafAminoMsg; - fromProtoMsg(message: _161.LeafProtoMsg): _161.Leaf; - toProto(message: _161.Leaf): Uint8Array; - toProtoMsg(message: _161.Leaf): _161.LeafProtoMsg; - }; - }; - } - const superfluid: { - MsgClientImpl: typeof _300.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _300.MsgClientImpl; - QueryClientImpl: typeof _292.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useParams: ({ request, options }: _292.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useAssetType: ({ request, options }: _292.UseAssetTypeQuery) => import("@tanstack/react-query").UseQueryResult; - useAllAssets: ({ request, options }: _292.UseAllAssetsQuery) => import("@tanstack/react-query").UseQueryResult; - useAssetMultiplier: ({ request, options }: _292.UseAssetMultiplierQuery) => import("@tanstack/react-query").UseQueryResult; - useAllIntermediaryAccounts: ({ request, options }: _292.UseAllIntermediaryAccountsQuery) => import("@tanstack/react-query").UseQueryResult; - useConnectedIntermediaryAccount: ({ request, options }: _292.UseConnectedIntermediaryAccountQuery) => import("@tanstack/react-query").UseQueryResult; - useTotalDelegationByValidatorForDenom: ({ request, options }: _292.UseTotalDelegationByValidatorForDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useTotalSuperfluidDelegations: ({ request, options }: _292.UseTotalSuperfluidDelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - useSuperfluidDelegationAmount: ({ request, options }: _292.UseSuperfluidDelegationAmountQuery) => import("@tanstack/react-query").UseQueryResult; - useSuperfluidDelegationsByDelegator: ({ request, options }: _292.UseSuperfluidDelegationsByDelegatorQuery) => import("@tanstack/react-query").UseQueryResult; - useSuperfluidUndelegationsByDelegator: ({ request, options }: _292.UseSuperfluidUndelegationsByDelegatorQuery) => import("@tanstack/react-query").UseQueryResult; - useSuperfluidDelegationsByValidatorDenom: ({ request, options }: _292.UseSuperfluidDelegationsByValidatorDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useEstimateSuperfluidDelegatedAmountByValidatorDenom: ({ request, options }: _292.UseEstimateSuperfluidDelegatedAmountByValidatorDenomQuery) => import("@tanstack/react-query").UseQueryResult; - useTotalDelegationByDelegator: ({ request, options }: _292.UseTotalDelegationByDelegatorQuery) => import("@tanstack/react-query").UseQueryResult; - useUnpoolWhitelist: ({ request, options }: _292.UseUnpoolWhitelistQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_164.QueryParamsRequest, _164.QueryParamsResponse>; - params(request: _164.QueryParamsRequest): import("..").MobxResponse<_164.QueryParamsResponse>; - }; - }; - QueryAssetTypeStore: { - new (): { - store: import("..").QueryStore<_164.AssetTypeRequest, _164.AssetTypeResponse>; - assetType(request: _164.AssetTypeRequest): import("..").MobxResponse<_164.AssetTypeResponse>; - }; - }; - QueryAllAssetsStore: { - new (): { - store: import("..").QueryStore<_164.AllAssetsRequest, _164.AllAssetsResponse>; - allAssets(request: _164.AllAssetsRequest): import("..").MobxResponse<_164.AllAssetsResponse>; - }; - }; - QueryAssetMultiplierStore: { - new (): { - store: import("..").QueryStore<_164.AssetMultiplierRequest, _164.AssetMultiplierResponse>; - assetMultiplier(request: _164.AssetMultiplierRequest): import("..").MobxResponse<_164.AssetMultiplierResponse>; - }; - }; - QueryAllIntermediaryAccountsStore: { - new (): { - store: import("..").QueryStore<_164.AllIntermediaryAccountsRequest, _164.AllIntermediaryAccountsResponse>; - allIntermediaryAccounts(request: _164.AllIntermediaryAccountsRequest): import("..").MobxResponse<_164.AllIntermediaryAccountsResponse>; - }; - }; - QueryConnectedIntermediaryAccountStore: { - new (): { - store: import("..").QueryStore<_164.ConnectedIntermediaryAccountRequest, _164.ConnectedIntermediaryAccountResponse>; - connectedIntermediaryAccount(request: _164.ConnectedIntermediaryAccountRequest): import("..").MobxResponse<_164.ConnectedIntermediaryAccountResponse>; - }; - }; - QueryTotalDelegationByValidatorForDenomStore: { - new (): { - store: import("..").QueryStore<_164.QueryTotalDelegationByValidatorForDenomRequest, _164.QueryTotalDelegationByValidatorForDenomResponse>; - totalDelegationByValidatorForDenom(request: _164.QueryTotalDelegationByValidatorForDenomRequest): import("..").MobxResponse<_164.QueryTotalDelegationByValidatorForDenomResponse>; - }; - }; - QueryTotalSuperfluidDelegationsStore: { - new (): { - store: import("..").QueryStore<_164.TotalSuperfluidDelegationsRequest, _164.TotalSuperfluidDelegationsResponse>; - totalSuperfluidDelegations(request: _164.TotalSuperfluidDelegationsRequest): import("..").MobxResponse<_164.TotalSuperfluidDelegationsResponse>; - }; - }; - QuerySuperfluidDelegationAmountStore: { - new (): { - store: import("..").QueryStore<_164.SuperfluidDelegationAmountRequest, _164.SuperfluidDelegationAmountResponse>; - superfluidDelegationAmount(request: _164.SuperfluidDelegationAmountRequest): import("..").MobxResponse<_164.SuperfluidDelegationAmountResponse>; - }; - }; - QuerySuperfluidDelegationsByDelegatorStore: { - new (): { - store: import("..").QueryStore<_164.SuperfluidDelegationsByDelegatorRequest, _164.SuperfluidDelegationsByDelegatorResponse>; - superfluidDelegationsByDelegator(request: _164.SuperfluidDelegationsByDelegatorRequest): import("..").MobxResponse<_164.SuperfluidDelegationsByDelegatorResponse>; - }; - }; - QuerySuperfluidUndelegationsByDelegatorStore: { - new (): { - store: import("..").QueryStore<_164.SuperfluidUndelegationsByDelegatorRequest, _164.SuperfluidUndelegationsByDelegatorResponse>; - superfluidUndelegationsByDelegator(request: _164.SuperfluidUndelegationsByDelegatorRequest): import("..").MobxResponse<_164.SuperfluidUndelegationsByDelegatorResponse>; - }; - }; - QuerySuperfluidDelegationsByValidatorDenomStore: { - new (): { - store: import("..").QueryStore<_164.SuperfluidDelegationsByValidatorDenomRequest, _164.SuperfluidDelegationsByValidatorDenomResponse>; - superfluidDelegationsByValidatorDenom(request: _164.SuperfluidDelegationsByValidatorDenomRequest): import("..").MobxResponse<_164.SuperfluidDelegationsByValidatorDenomResponse>; - }; - }; - QueryEstimateSuperfluidDelegatedAmountByValidatorDenomStore: { - new (): { - store: import("..").QueryStore<_164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest, _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse>; - estimateSuperfluidDelegatedAmountByValidatorDenom(request: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): import("..").MobxResponse<_164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse>; - }; - }; - QueryTotalDelegationByDelegatorStore: { - new (): { - store: import("..").QueryStore<_164.QueryTotalDelegationByDelegatorRequest, _164.QueryTotalDelegationByDelegatorResponse>; - totalDelegationByDelegator(request: _164.QueryTotalDelegationByDelegatorRequest): import("..").MobxResponse<_164.QueryTotalDelegationByDelegatorResponse>; - }; - }; - QueryUnpoolWhitelistStore: { - new (): { - store: import("..").QueryStore<_164.QueryUnpoolWhitelistRequest, _164.QueryUnpoolWhitelistResponse>; - unpoolWhitelist(request: _164.QueryUnpoolWhitelistRequest): import("..").MobxResponse<_164.QueryUnpoolWhitelistResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - superfluidDelegate(value: _166.MsgSuperfluidDelegate): { - typeUrl: string; - value: Uint8Array; - }; - superfluidUndelegate(value: _166.MsgSuperfluidUndelegate): { - typeUrl: string; - value: Uint8Array; - }; - superfluidUnbondLock(value: _166.MsgSuperfluidUnbondLock): { - typeUrl: string; - value: Uint8Array; - }; - lockAndSuperfluidDelegate(value: _166.MsgLockAndSuperfluidDelegate): { - typeUrl: string; - value: Uint8Array; - }; - unPoolWhitelistedPool(value: _166.MsgUnPoolWhitelistedPool): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - superfluidDelegate(value: _166.MsgSuperfluidDelegate): { - typeUrl: string; - value: _166.MsgSuperfluidDelegate; - }; - superfluidUndelegate(value: _166.MsgSuperfluidUndelegate): { - typeUrl: string; - value: _166.MsgSuperfluidUndelegate; - }; - superfluidUnbondLock(value: _166.MsgSuperfluidUnbondLock): { - typeUrl: string; - value: _166.MsgSuperfluidUnbondLock; - }; - lockAndSuperfluidDelegate(value: _166.MsgLockAndSuperfluidDelegate): { - typeUrl: string; - value: _166.MsgLockAndSuperfluidDelegate; - }; - unPoolWhitelistedPool(value: _166.MsgUnPoolWhitelistedPool): { - typeUrl: string; - value: _166.MsgUnPoolWhitelistedPool; - }; - }; - toJSON: { - superfluidDelegate(value: _166.MsgSuperfluidDelegate): { - typeUrl: string; - value: unknown; - }; - superfluidUndelegate(value: _166.MsgSuperfluidUndelegate): { - typeUrl: string; - value: unknown; - }; - superfluidUnbondLock(value: _166.MsgSuperfluidUnbondLock): { - typeUrl: string; - value: unknown; - }; - lockAndSuperfluidDelegate(value: _166.MsgLockAndSuperfluidDelegate): { - typeUrl: string; - value: unknown; - }; - unPoolWhitelistedPool(value: _166.MsgUnPoolWhitelistedPool): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - superfluidDelegate(value: any): { - typeUrl: string; - value: _166.MsgSuperfluidDelegate; - }; - superfluidUndelegate(value: any): { - typeUrl: string; - value: _166.MsgSuperfluidUndelegate; - }; - superfluidUnbondLock(value: any): { - typeUrl: string; - value: _166.MsgSuperfluidUnbondLock; - }; - lockAndSuperfluidDelegate(value: any): { - typeUrl: string; - value: _166.MsgLockAndSuperfluidDelegate; - }; - unPoolWhitelistedPool(value: any): { - typeUrl: string; - value: _166.MsgUnPoolWhitelistedPool; - }; - }; - fromPartial: { - superfluidDelegate(value: _166.MsgSuperfluidDelegate): { - typeUrl: string; - value: _166.MsgSuperfluidDelegate; - }; - superfluidUndelegate(value: _166.MsgSuperfluidUndelegate): { - typeUrl: string; - value: _166.MsgSuperfluidUndelegate; - }; - superfluidUnbondLock(value: _166.MsgSuperfluidUnbondLock): { - typeUrl: string; - value: _166.MsgSuperfluidUnbondLock; - }; - lockAndSuperfluidDelegate(value: _166.MsgLockAndSuperfluidDelegate): { - typeUrl: string; - value: _166.MsgLockAndSuperfluidDelegate; - }; - unPoolWhitelistedPool(value: _166.MsgUnPoolWhitelistedPool): { - typeUrl: string; - value: _166.MsgUnPoolWhitelistedPool; - }; - }; - }; - AminoConverter: { - "/osmosis.superfluid.MsgSuperfluidDelegate": { - aminoType: string; - toAmino: (message: _166.MsgSuperfluidDelegate) => _166.MsgSuperfluidDelegateAmino; - fromAmino: (object: _166.MsgSuperfluidDelegateAmino) => _166.MsgSuperfluidDelegate; - }; - "/osmosis.superfluid.MsgSuperfluidUndelegate": { - aminoType: string; - toAmino: (message: _166.MsgSuperfluidUndelegate) => _166.MsgSuperfluidUndelegateAmino; - fromAmino: (object: _166.MsgSuperfluidUndelegateAmino) => _166.MsgSuperfluidUndelegate; - }; - "/osmosis.superfluid.MsgSuperfluidUnbondLock": { - aminoType: string; - toAmino: (message: _166.MsgSuperfluidUnbondLock) => _166.MsgSuperfluidUnbondLockAmino; - fromAmino: (object: _166.MsgSuperfluidUnbondLockAmino) => _166.MsgSuperfluidUnbondLock; - }; - "/osmosis.superfluid.MsgLockAndSuperfluidDelegate": { - aminoType: string; - toAmino: (message: _166.MsgLockAndSuperfluidDelegate) => _166.MsgLockAndSuperfluidDelegateAmino; - fromAmino: (object: _166.MsgLockAndSuperfluidDelegateAmino) => _166.MsgLockAndSuperfluidDelegate; - }; - "/osmosis.superfluid.MsgUnPoolWhitelistedPool": { - aminoType: string; - toAmino: (message: _166.MsgUnPoolWhitelistedPool) => _166.MsgUnPoolWhitelistedPoolAmino; - fromAmino: (object: _166.MsgUnPoolWhitelistedPoolAmino) => _166.MsgUnPoolWhitelistedPool; - }; - }; - MsgSuperfluidDelegate: { - typeUrl: string; - aminoType: string; - is(o: any): o is _166.MsgSuperfluidDelegate; - isSDK(o: any): o is _166.MsgSuperfluidDelegateSDKType; - isAmino(o: any): o is _166.MsgSuperfluidDelegateAmino; - encode(message: _166.MsgSuperfluidDelegate, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _166.MsgSuperfluidDelegate; - fromJSON(object: any): _166.MsgSuperfluidDelegate; - toJSON(message: _166.MsgSuperfluidDelegate): unknown; - fromPartial(object: { - sender?: string; - lockId?: bigint; - valAddr?: string; - }): _166.MsgSuperfluidDelegate; - fromSDK(object: _166.MsgSuperfluidDelegateSDKType): _166.MsgSuperfluidDelegate; - toSDK(message: _166.MsgSuperfluidDelegate): _166.MsgSuperfluidDelegateSDKType; - fromAmino(object: _166.MsgSuperfluidDelegateAmino): _166.MsgSuperfluidDelegate; - toAmino(message: _166.MsgSuperfluidDelegate): _166.MsgSuperfluidDelegateAmino; - fromAminoMsg(object: _166.MsgSuperfluidDelegateAminoMsg): _166.MsgSuperfluidDelegate; - toAminoMsg(message: _166.MsgSuperfluidDelegate): _166.MsgSuperfluidDelegateAminoMsg; - fromProtoMsg(message: _166.MsgSuperfluidDelegateProtoMsg): _166.MsgSuperfluidDelegate; - toProto(message: _166.MsgSuperfluidDelegate): Uint8Array; - toProtoMsg(message: _166.MsgSuperfluidDelegate): _166.MsgSuperfluidDelegateProtoMsg; - }; - MsgSuperfluidDelegateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _166.MsgSuperfluidDelegateResponse; - isSDK(o: any): o is _166.MsgSuperfluidDelegateResponseSDKType; - isAmino(o: any): o is _166.MsgSuperfluidDelegateResponseAmino; - encode(_: _166.MsgSuperfluidDelegateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _166.MsgSuperfluidDelegateResponse; - fromJSON(_: any): _166.MsgSuperfluidDelegateResponse; - toJSON(_: _166.MsgSuperfluidDelegateResponse): unknown; - fromPartial(_: {}): _166.MsgSuperfluidDelegateResponse; - fromSDK(_: _166.MsgSuperfluidDelegateResponseSDKType): _166.MsgSuperfluidDelegateResponse; - toSDK(_: _166.MsgSuperfluidDelegateResponse): _166.MsgSuperfluidDelegateResponseSDKType; - fromAmino(_: _166.MsgSuperfluidDelegateResponseAmino): _166.MsgSuperfluidDelegateResponse; - toAmino(_: _166.MsgSuperfluidDelegateResponse): _166.MsgSuperfluidDelegateResponseAmino; - fromAminoMsg(object: _166.MsgSuperfluidDelegateResponseAminoMsg): _166.MsgSuperfluidDelegateResponse; - toAminoMsg(message: _166.MsgSuperfluidDelegateResponse): _166.MsgSuperfluidDelegateResponseAminoMsg; - fromProtoMsg(message: _166.MsgSuperfluidDelegateResponseProtoMsg): _166.MsgSuperfluidDelegateResponse; - toProto(message: _166.MsgSuperfluidDelegateResponse): Uint8Array; - toProtoMsg(message: _166.MsgSuperfluidDelegateResponse): _166.MsgSuperfluidDelegateResponseProtoMsg; - }; - MsgSuperfluidUndelegate: { - typeUrl: string; - aminoType: string; - is(o: any): o is _166.MsgSuperfluidUndelegate; - isSDK(o: any): o is _166.MsgSuperfluidUndelegateSDKType; - isAmino(o: any): o is _166.MsgSuperfluidUndelegateAmino; - encode(message: _166.MsgSuperfluidUndelegate, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _166.MsgSuperfluidUndelegate; - fromJSON(object: any): _166.MsgSuperfluidUndelegate; - toJSON(message: _166.MsgSuperfluidUndelegate): unknown; - fromPartial(object: { - sender?: string; - lockId?: bigint; - }): _166.MsgSuperfluidUndelegate; - fromSDK(object: _166.MsgSuperfluidUndelegateSDKType): _166.MsgSuperfluidUndelegate; - toSDK(message: _166.MsgSuperfluidUndelegate): _166.MsgSuperfluidUndelegateSDKType; - fromAmino(object: _166.MsgSuperfluidUndelegateAmino): _166.MsgSuperfluidUndelegate; - toAmino(message: _166.MsgSuperfluidUndelegate): _166.MsgSuperfluidUndelegateAmino; - fromAminoMsg(object: _166.MsgSuperfluidUndelegateAminoMsg): _166.MsgSuperfluidUndelegate; - toAminoMsg(message: _166.MsgSuperfluidUndelegate): _166.MsgSuperfluidUndelegateAminoMsg; - fromProtoMsg(message: _166.MsgSuperfluidUndelegateProtoMsg): _166.MsgSuperfluidUndelegate; - toProto(message: _166.MsgSuperfluidUndelegate): Uint8Array; - toProtoMsg(message: _166.MsgSuperfluidUndelegate): _166.MsgSuperfluidUndelegateProtoMsg; - }; - MsgSuperfluidUndelegateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _166.MsgSuperfluidUndelegateResponse; - isSDK(o: any): o is _166.MsgSuperfluidUndelegateResponseSDKType; - isAmino(o: any): o is _166.MsgSuperfluidUndelegateResponseAmino; - encode(_: _166.MsgSuperfluidUndelegateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _166.MsgSuperfluidUndelegateResponse; - fromJSON(_: any): _166.MsgSuperfluidUndelegateResponse; - toJSON(_: _166.MsgSuperfluidUndelegateResponse): unknown; - fromPartial(_: {}): _166.MsgSuperfluidUndelegateResponse; - fromSDK(_: _166.MsgSuperfluidUndelegateResponseSDKType): _166.MsgSuperfluidUndelegateResponse; - toSDK(_: _166.MsgSuperfluidUndelegateResponse): _166.MsgSuperfluidUndelegateResponseSDKType; - fromAmino(_: _166.MsgSuperfluidUndelegateResponseAmino): _166.MsgSuperfluidUndelegateResponse; - toAmino(_: _166.MsgSuperfluidUndelegateResponse): _166.MsgSuperfluidUndelegateResponseAmino; - fromAminoMsg(object: _166.MsgSuperfluidUndelegateResponseAminoMsg): _166.MsgSuperfluidUndelegateResponse; - toAminoMsg(message: _166.MsgSuperfluidUndelegateResponse): _166.MsgSuperfluidUndelegateResponseAminoMsg; - fromProtoMsg(message: _166.MsgSuperfluidUndelegateResponseProtoMsg): _166.MsgSuperfluidUndelegateResponse; - toProto(message: _166.MsgSuperfluidUndelegateResponse): Uint8Array; - toProtoMsg(message: _166.MsgSuperfluidUndelegateResponse): _166.MsgSuperfluidUndelegateResponseProtoMsg; - }; - MsgSuperfluidUnbondLock: { - typeUrl: string; - aminoType: string; - is(o: any): o is _166.MsgSuperfluidUnbondLock; - isSDK(o: any): o is _166.MsgSuperfluidUnbondLockSDKType; - isAmino(o: any): o is _166.MsgSuperfluidUnbondLockAmino; - encode(message: _166.MsgSuperfluidUnbondLock, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _166.MsgSuperfluidUnbondLock; - fromJSON(object: any): _166.MsgSuperfluidUnbondLock; - toJSON(message: _166.MsgSuperfluidUnbondLock): unknown; - fromPartial(object: { - sender?: string; - lockId?: bigint; - }): _166.MsgSuperfluidUnbondLock; - fromSDK(object: _166.MsgSuperfluidUnbondLockSDKType): _166.MsgSuperfluidUnbondLock; - toSDK(message: _166.MsgSuperfluidUnbondLock): _166.MsgSuperfluidUnbondLockSDKType; - fromAmino(object: _166.MsgSuperfluidUnbondLockAmino): _166.MsgSuperfluidUnbondLock; - toAmino(message: _166.MsgSuperfluidUnbondLock): _166.MsgSuperfluidUnbondLockAmino; - fromAminoMsg(object: _166.MsgSuperfluidUnbondLockAminoMsg): _166.MsgSuperfluidUnbondLock; - toAminoMsg(message: _166.MsgSuperfluidUnbondLock): _166.MsgSuperfluidUnbondLockAminoMsg; - fromProtoMsg(message: _166.MsgSuperfluidUnbondLockProtoMsg): _166.MsgSuperfluidUnbondLock; - toProto(message: _166.MsgSuperfluidUnbondLock): Uint8Array; - toProtoMsg(message: _166.MsgSuperfluidUnbondLock): _166.MsgSuperfluidUnbondLockProtoMsg; - }; - MsgSuperfluidUnbondLockResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _166.MsgSuperfluidUnbondLockResponse; - isSDK(o: any): o is _166.MsgSuperfluidUnbondLockResponseSDKType; - isAmino(o: any): o is _166.MsgSuperfluidUnbondLockResponseAmino; - encode(_: _166.MsgSuperfluidUnbondLockResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _166.MsgSuperfluidUnbondLockResponse; - fromJSON(_: any): _166.MsgSuperfluidUnbondLockResponse; - toJSON(_: _166.MsgSuperfluidUnbondLockResponse): unknown; - fromPartial(_: {}): _166.MsgSuperfluidUnbondLockResponse; - fromSDK(_: _166.MsgSuperfluidUnbondLockResponseSDKType): _166.MsgSuperfluidUnbondLockResponse; - toSDK(_: _166.MsgSuperfluidUnbondLockResponse): _166.MsgSuperfluidUnbondLockResponseSDKType; - fromAmino(_: _166.MsgSuperfluidUnbondLockResponseAmino): _166.MsgSuperfluidUnbondLockResponse; - toAmino(_: _166.MsgSuperfluidUnbondLockResponse): _166.MsgSuperfluidUnbondLockResponseAmino; - fromAminoMsg(object: _166.MsgSuperfluidUnbondLockResponseAminoMsg): _166.MsgSuperfluidUnbondLockResponse; - toAminoMsg(message: _166.MsgSuperfluidUnbondLockResponse): _166.MsgSuperfluidUnbondLockResponseAminoMsg; - fromProtoMsg(message: _166.MsgSuperfluidUnbondLockResponseProtoMsg): _166.MsgSuperfluidUnbondLockResponse; - toProto(message: _166.MsgSuperfluidUnbondLockResponse): Uint8Array; - toProtoMsg(message: _166.MsgSuperfluidUnbondLockResponse): _166.MsgSuperfluidUnbondLockResponseProtoMsg; - }; - MsgLockAndSuperfluidDelegate: { - typeUrl: string; - aminoType: string; - is(o: any): o is _166.MsgLockAndSuperfluidDelegate; - isSDK(o: any): o is _166.MsgLockAndSuperfluidDelegateSDKType; - isAmino(o: any): o is _166.MsgLockAndSuperfluidDelegateAmino; - encode(message: _166.MsgLockAndSuperfluidDelegate, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _166.MsgLockAndSuperfluidDelegate; - fromJSON(object: any): _166.MsgLockAndSuperfluidDelegate; - toJSON(message: _166.MsgLockAndSuperfluidDelegate): unknown; - fromPartial(object: { - sender?: string; - coins?: { - denom?: string; - amount?: string; - }[]; - valAddr?: string; - }): _166.MsgLockAndSuperfluidDelegate; - fromSDK(object: _166.MsgLockAndSuperfluidDelegateSDKType): _166.MsgLockAndSuperfluidDelegate; - toSDK(message: _166.MsgLockAndSuperfluidDelegate): _166.MsgLockAndSuperfluidDelegateSDKType; - fromAmino(object: _166.MsgLockAndSuperfluidDelegateAmino): _166.MsgLockAndSuperfluidDelegate; - toAmino(message: _166.MsgLockAndSuperfluidDelegate): _166.MsgLockAndSuperfluidDelegateAmino; - fromAminoMsg(object: _166.MsgLockAndSuperfluidDelegateAminoMsg): _166.MsgLockAndSuperfluidDelegate; - toAminoMsg(message: _166.MsgLockAndSuperfluidDelegate): _166.MsgLockAndSuperfluidDelegateAminoMsg; - fromProtoMsg(message: _166.MsgLockAndSuperfluidDelegateProtoMsg): _166.MsgLockAndSuperfluidDelegate; - toProto(message: _166.MsgLockAndSuperfluidDelegate): Uint8Array; - toProtoMsg(message: _166.MsgLockAndSuperfluidDelegate): _166.MsgLockAndSuperfluidDelegateProtoMsg; - }; - MsgLockAndSuperfluidDelegateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _166.MsgLockAndSuperfluidDelegateResponse; - isSDK(o: any): o is _166.MsgLockAndSuperfluidDelegateResponseSDKType; - isAmino(o: any): o is _166.MsgLockAndSuperfluidDelegateResponseAmino; - encode(message: _166.MsgLockAndSuperfluidDelegateResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _166.MsgLockAndSuperfluidDelegateResponse; - fromJSON(object: any): _166.MsgLockAndSuperfluidDelegateResponse; - toJSON(message: _166.MsgLockAndSuperfluidDelegateResponse): unknown; - fromPartial(object: { - ID?: bigint; - }): _166.MsgLockAndSuperfluidDelegateResponse; - fromSDK(object: _166.MsgLockAndSuperfluidDelegateResponseSDKType): _166.MsgLockAndSuperfluidDelegateResponse; - toSDK(message: _166.MsgLockAndSuperfluidDelegateResponse): _166.MsgLockAndSuperfluidDelegateResponseSDKType; - fromAmino(object: _166.MsgLockAndSuperfluidDelegateResponseAmino): _166.MsgLockAndSuperfluidDelegateResponse; - toAmino(message: _166.MsgLockAndSuperfluidDelegateResponse): _166.MsgLockAndSuperfluidDelegateResponseAmino; - fromAminoMsg(object: _166.MsgLockAndSuperfluidDelegateResponseAminoMsg): _166.MsgLockAndSuperfluidDelegateResponse; - toAminoMsg(message: _166.MsgLockAndSuperfluidDelegateResponse): _166.MsgLockAndSuperfluidDelegateResponseAminoMsg; - fromProtoMsg(message: _166.MsgLockAndSuperfluidDelegateResponseProtoMsg): _166.MsgLockAndSuperfluidDelegateResponse; - toProto(message: _166.MsgLockAndSuperfluidDelegateResponse): Uint8Array; - toProtoMsg(message: _166.MsgLockAndSuperfluidDelegateResponse): _166.MsgLockAndSuperfluidDelegateResponseProtoMsg; - }; - MsgUnPoolWhitelistedPool: { - typeUrl: string; - aminoType: string; - is(o: any): o is _166.MsgUnPoolWhitelistedPool; - isSDK(o: any): o is _166.MsgUnPoolWhitelistedPoolSDKType; - isAmino(o: any): o is _166.MsgUnPoolWhitelistedPoolAmino; - encode(message: _166.MsgUnPoolWhitelistedPool, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _166.MsgUnPoolWhitelistedPool; - fromJSON(object: any): _166.MsgUnPoolWhitelistedPool; - toJSON(message: _166.MsgUnPoolWhitelistedPool): unknown; - fromPartial(object: { - sender?: string; - poolId?: bigint; - }): _166.MsgUnPoolWhitelistedPool; - fromSDK(object: _166.MsgUnPoolWhitelistedPoolSDKType): _166.MsgUnPoolWhitelistedPool; - toSDK(message: _166.MsgUnPoolWhitelistedPool): _166.MsgUnPoolWhitelistedPoolSDKType; - fromAmino(object: _166.MsgUnPoolWhitelistedPoolAmino): _166.MsgUnPoolWhitelistedPool; - toAmino(message: _166.MsgUnPoolWhitelistedPool): _166.MsgUnPoolWhitelistedPoolAmino; - fromAminoMsg(object: _166.MsgUnPoolWhitelistedPoolAminoMsg): _166.MsgUnPoolWhitelistedPool; - toAminoMsg(message: _166.MsgUnPoolWhitelistedPool): _166.MsgUnPoolWhitelistedPoolAminoMsg; - fromProtoMsg(message: _166.MsgUnPoolWhitelistedPoolProtoMsg): _166.MsgUnPoolWhitelistedPool; - toProto(message: _166.MsgUnPoolWhitelistedPool): Uint8Array; - toProtoMsg(message: _166.MsgUnPoolWhitelistedPool): _166.MsgUnPoolWhitelistedPoolProtoMsg; - }; - MsgUnPoolWhitelistedPoolResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _166.MsgUnPoolWhitelistedPoolResponse; - isSDK(o: any): o is _166.MsgUnPoolWhitelistedPoolResponseSDKType; - isAmino(o: any): o is _166.MsgUnPoolWhitelistedPoolResponseAmino; - encode(message: _166.MsgUnPoolWhitelistedPoolResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _166.MsgUnPoolWhitelistedPoolResponse; - fromJSON(object: any): _166.MsgUnPoolWhitelistedPoolResponse; - toJSON(message: _166.MsgUnPoolWhitelistedPoolResponse): unknown; - fromPartial(object: { - exitedLockIds?: bigint[]; - }): _166.MsgUnPoolWhitelistedPoolResponse; - fromSDK(object: _166.MsgUnPoolWhitelistedPoolResponseSDKType): _166.MsgUnPoolWhitelistedPoolResponse; - toSDK(message: _166.MsgUnPoolWhitelistedPoolResponse): _166.MsgUnPoolWhitelistedPoolResponseSDKType; - fromAmino(object: _166.MsgUnPoolWhitelistedPoolResponseAmino): _166.MsgUnPoolWhitelistedPoolResponse; - toAmino(message: _166.MsgUnPoolWhitelistedPoolResponse): _166.MsgUnPoolWhitelistedPoolResponseAmino; - fromAminoMsg(object: _166.MsgUnPoolWhitelistedPoolResponseAminoMsg): _166.MsgUnPoolWhitelistedPoolResponse; - toAminoMsg(message: _166.MsgUnPoolWhitelistedPoolResponse): _166.MsgUnPoolWhitelistedPoolResponseAminoMsg; - fromProtoMsg(message: _166.MsgUnPoolWhitelistedPoolResponseProtoMsg): _166.MsgUnPoolWhitelistedPoolResponse; - toProto(message: _166.MsgUnPoolWhitelistedPoolResponse): Uint8Array; - toProtoMsg(message: _166.MsgUnPoolWhitelistedPoolResponse): _166.MsgUnPoolWhitelistedPoolResponseProtoMsg; - }; - superfluidAssetTypeFromJSON(object: any): _165.SuperfluidAssetType; - superfluidAssetTypeToJSON(object: _165.SuperfluidAssetType): string; - SuperfluidAssetType: typeof _165.SuperfluidAssetType; - SuperfluidAssetTypeSDKType: typeof _165.SuperfluidAssetType; - SuperfluidAssetTypeAmino: typeof _165.SuperfluidAssetType; - SuperfluidAsset: { - typeUrl: string; - aminoType: string; - is(o: any): o is _165.SuperfluidAsset; - isSDK(o: any): o is _165.SuperfluidAssetSDKType; - isAmino(o: any): o is _165.SuperfluidAssetAmino; - encode(message: _165.SuperfluidAsset, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _165.SuperfluidAsset; - fromJSON(object: any): _165.SuperfluidAsset; - toJSON(message: _165.SuperfluidAsset): unknown; - fromPartial(object: { - denom?: string; - assetType?: _165.SuperfluidAssetType; - }): _165.SuperfluidAsset; - fromSDK(object: _165.SuperfluidAssetSDKType): _165.SuperfluidAsset; - toSDK(message: _165.SuperfluidAsset): _165.SuperfluidAssetSDKType; - fromAmino(object: _165.SuperfluidAssetAmino): _165.SuperfluidAsset; - toAmino(message: _165.SuperfluidAsset): _165.SuperfluidAssetAmino; - fromAminoMsg(object: _165.SuperfluidAssetAminoMsg): _165.SuperfluidAsset; - toAminoMsg(message: _165.SuperfluidAsset): _165.SuperfluidAssetAminoMsg; - fromProtoMsg(message: _165.SuperfluidAssetProtoMsg): _165.SuperfluidAsset; - toProto(message: _165.SuperfluidAsset): Uint8Array; - toProtoMsg(message: _165.SuperfluidAsset): _165.SuperfluidAssetProtoMsg; - }; - SuperfluidIntermediaryAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is _165.SuperfluidIntermediaryAccount; - isSDK(o: any): o is _165.SuperfluidIntermediaryAccountSDKType; - isAmino(o: any): o is _165.SuperfluidIntermediaryAccountAmino; - encode(message: _165.SuperfluidIntermediaryAccount, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _165.SuperfluidIntermediaryAccount; - fromJSON(object: any): _165.SuperfluidIntermediaryAccount; - toJSON(message: _165.SuperfluidIntermediaryAccount): unknown; - fromPartial(object: { - denom?: string; - valAddr?: string; - gaugeId?: bigint; - }): _165.SuperfluidIntermediaryAccount; - fromSDK(object: _165.SuperfluidIntermediaryAccountSDKType): _165.SuperfluidIntermediaryAccount; - toSDK(message: _165.SuperfluidIntermediaryAccount): _165.SuperfluidIntermediaryAccountSDKType; - fromAmino(object: _165.SuperfluidIntermediaryAccountAmino): _165.SuperfluidIntermediaryAccount; - toAmino(message: _165.SuperfluidIntermediaryAccount): _165.SuperfluidIntermediaryAccountAmino; - fromAminoMsg(object: _165.SuperfluidIntermediaryAccountAminoMsg): _165.SuperfluidIntermediaryAccount; - toAminoMsg(message: _165.SuperfluidIntermediaryAccount): _165.SuperfluidIntermediaryAccountAminoMsg; - fromProtoMsg(message: _165.SuperfluidIntermediaryAccountProtoMsg): _165.SuperfluidIntermediaryAccount; - toProto(message: _165.SuperfluidIntermediaryAccount): Uint8Array; - toProtoMsg(message: _165.SuperfluidIntermediaryAccount): _165.SuperfluidIntermediaryAccountProtoMsg; - }; - OsmoEquivalentMultiplierRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is _165.OsmoEquivalentMultiplierRecord; - isSDK(o: any): o is _165.OsmoEquivalentMultiplierRecordSDKType; - isAmino(o: any): o is _165.OsmoEquivalentMultiplierRecordAmino; - encode(message: _165.OsmoEquivalentMultiplierRecord, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _165.OsmoEquivalentMultiplierRecord; - fromJSON(object: any): _165.OsmoEquivalentMultiplierRecord; - toJSON(message: _165.OsmoEquivalentMultiplierRecord): unknown; - fromPartial(object: { - epochNumber?: bigint; - denom?: string; - multiplier?: string; - }): _165.OsmoEquivalentMultiplierRecord; - fromSDK(object: _165.OsmoEquivalentMultiplierRecordSDKType): _165.OsmoEquivalentMultiplierRecord; - toSDK(message: _165.OsmoEquivalentMultiplierRecord): _165.OsmoEquivalentMultiplierRecordSDKType; - fromAmino(object: _165.OsmoEquivalentMultiplierRecordAmino): _165.OsmoEquivalentMultiplierRecord; - toAmino(message: _165.OsmoEquivalentMultiplierRecord): _165.OsmoEquivalentMultiplierRecordAmino; - fromAminoMsg(object: _165.OsmoEquivalentMultiplierRecordAminoMsg): _165.OsmoEquivalentMultiplierRecord; - toAminoMsg(message: _165.OsmoEquivalentMultiplierRecord): _165.OsmoEquivalentMultiplierRecordAminoMsg; - fromProtoMsg(message: _165.OsmoEquivalentMultiplierRecordProtoMsg): _165.OsmoEquivalentMultiplierRecord; - toProto(message: _165.OsmoEquivalentMultiplierRecord): Uint8Array; - toProtoMsg(message: _165.OsmoEquivalentMultiplierRecord): _165.OsmoEquivalentMultiplierRecordProtoMsg; - }; - SuperfluidDelegationRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is _165.SuperfluidDelegationRecord; - isSDK(o: any): o is _165.SuperfluidDelegationRecordSDKType; - isAmino(o: any): o is _165.SuperfluidDelegationRecordAmino; - encode(message: _165.SuperfluidDelegationRecord, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _165.SuperfluidDelegationRecord; - fromJSON(object: any): _165.SuperfluidDelegationRecord; - toJSON(message: _165.SuperfluidDelegationRecord): unknown; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - delegationAmount?: { - denom?: string; - amount?: string; - }; - equivalentStakedAmount?: { - denom?: string; - amount?: string; - }; - }): _165.SuperfluidDelegationRecord; - fromSDK(object: _165.SuperfluidDelegationRecordSDKType): _165.SuperfluidDelegationRecord; - toSDK(message: _165.SuperfluidDelegationRecord): _165.SuperfluidDelegationRecordSDKType; - fromAmino(object: _165.SuperfluidDelegationRecordAmino): _165.SuperfluidDelegationRecord; - toAmino(message: _165.SuperfluidDelegationRecord): _165.SuperfluidDelegationRecordAmino; - fromAminoMsg(object: _165.SuperfluidDelegationRecordAminoMsg): _165.SuperfluidDelegationRecord; - toAminoMsg(message: _165.SuperfluidDelegationRecord): _165.SuperfluidDelegationRecordAminoMsg; - fromProtoMsg(message: _165.SuperfluidDelegationRecordProtoMsg): _165.SuperfluidDelegationRecord; - toProto(message: _165.SuperfluidDelegationRecord): Uint8Array; - toProtoMsg(message: _165.SuperfluidDelegationRecord): _165.SuperfluidDelegationRecordProtoMsg; - }; - LockIdIntermediaryAccountConnection: { - typeUrl: string; - aminoType: string; - is(o: any): o is _165.LockIdIntermediaryAccountConnection; - isSDK(o: any): o is _165.LockIdIntermediaryAccountConnectionSDKType; - isAmino(o: any): o is _165.LockIdIntermediaryAccountConnectionAmino; - encode(message: _165.LockIdIntermediaryAccountConnection, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _165.LockIdIntermediaryAccountConnection; - fromJSON(object: any): _165.LockIdIntermediaryAccountConnection; - toJSON(message: _165.LockIdIntermediaryAccountConnection): unknown; - fromPartial(object: { - lockId?: bigint; - intermediaryAccount?: string; - }): _165.LockIdIntermediaryAccountConnection; - fromSDK(object: _165.LockIdIntermediaryAccountConnectionSDKType): _165.LockIdIntermediaryAccountConnection; - toSDK(message: _165.LockIdIntermediaryAccountConnection): _165.LockIdIntermediaryAccountConnectionSDKType; - fromAmino(object: _165.LockIdIntermediaryAccountConnectionAmino): _165.LockIdIntermediaryAccountConnection; - toAmino(message: _165.LockIdIntermediaryAccountConnection): _165.LockIdIntermediaryAccountConnectionAmino; - fromAminoMsg(object: _165.LockIdIntermediaryAccountConnectionAminoMsg): _165.LockIdIntermediaryAccountConnection; - toAminoMsg(message: _165.LockIdIntermediaryAccountConnection): _165.LockIdIntermediaryAccountConnectionAminoMsg; - fromProtoMsg(message: _165.LockIdIntermediaryAccountConnectionProtoMsg): _165.LockIdIntermediaryAccountConnection; - toProto(message: _165.LockIdIntermediaryAccountConnection): Uint8Array; - toProtoMsg(message: _165.LockIdIntermediaryAccountConnection): _165.LockIdIntermediaryAccountConnectionProtoMsg; - }; - UnpoolWhitelistedPools: { - typeUrl: string; - aminoType: string; - is(o: any): o is _165.UnpoolWhitelistedPools; - isSDK(o: any): o is _165.UnpoolWhitelistedPoolsSDKType; - isAmino(o: any): o is _165.UnpoolWhitelistedPoolsAmino; - encode(message: _165.UnpoolWhitelistedPools, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _165.UnpoolWhitelistedPools; - fromJSON(object: any): _165.UnpoolWhitelistedPools; - toJSON(message: _165.UnpoolWhitelistedPools): unknown; - fromPartial(object: { - ids?: bigint[]; - }): _165.UnpoolWhitelistedPools; - fromSDK(object: _165.UnpoolWhitelistedPoolsSDKType): _165.UnpoolWhitelistedPools; - toSDK(message: _165.UnpoolWhitelistedPools): _165.UnpoolWhitelistedPoolsSDKType; - fromAmino(object: _165.UnpoolWhitelistedPoolsAmino): _165.UnpoolWhitelistedPools; - toAmino(message: _165.UnpoolWhitelistedPools): _165.UnpoolWhitelistedPoolsAmino; - fromAminoMsg(object: _165.UnpoolWhitelistedPoolsAminoMsg): _165.UnpoolWhitelistedPools; - toAminoMsg(message: _165.UnpoolWhitelistedPools): _165.UnpoolWhitelistedPoolsAminoMsg; - fromProtoMsg(message: _165.UnpoolWhitelistedPoolsProtoMsg): _165.UnpoolWhitelistedPools; - toProto(message: _165.UnpoolWhitelistedPools): Uint8Array; - toProtoMsg(message: _165.UnpoolWhitelistedPools): _165.UnpoolWhitelistedPoolsProtoMsg; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.QueryParamsRequest; - isSDK(o: any): o is _164.QueryParamsRequestSDKType; - isAmino(o: any): o is _164.QueryParamsRequestAmino; - encode(_: _164.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.QueryParamsRequest; - fromJSON(_: any): _164.QueryParamsRequest; - toJSON(_: _164.QueryParamsRequest): unknown; - fromPartial(_: {}): _164.QueryParamsRequest; - fromSDK(_: _164.QueryParamsRequestSDKType): _164.QueryParamsRequest; - toSDK(_: _164.QueryParamsRequest): _164.QueryParamsRequestSDKType; - fromAmino(_: _164.QueryParamsRequestAmino): _164.QueryParamsRequest; - toAmino(_: _164.QueryParamsRequest): _164.QueryParamsRequestAmino; - fromAminoMsg(object: _164.QueryParamsRequestAminoMsg): _164.QueryParamsRequest; - toAminoMsg(message: _164.QueryParamsRequest): _164.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _164.QueryParamsRequestProtoMsg): _164.QueryParamsRequest; - toProto(message: _164.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _164.QueryParamsRequest): _164.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.QueryParamsResponse; - isSDK(o: any): o is _164.QueryParamsResponseSDKType; - isAmino(o: any): o is _164.QueryParamsResponseAmino; - encode(message: _164.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.QueryParamsResponse; - fromJSON(object: any): _164.QueryParamsResponse; - toJSON(message: _164.QueryParamsResponse): unknown; - fromPartial(object: { - params?: { - minimumRiskFactor?: string; - }; - }): _164.QueryParamsResponse; - fromSDK(object: _164.QueryParamsResponseSDKType): _164.QueryParamsResponse; - toSDK(message: _164.QueryParamsResponse): _164.QueryParamsResponseSDKType; - fromAmino(object: _164.QueryParamsResponseAmino): _164.QueryParamsResponse; - toAmino(message: _164.QueryParamsResponse): _164.QueryParamsResponseAmino; - fromAminoMsg(object: _164.QueryParamsResponseAminoMsg): _164.QueryParamsResponse; - toAminoMsg(message: _164.QueryParamsResponse): _164.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _164.QueryParamsResponseProtoMsg): _164.QueryParamsResponse; - toProto(message: _164.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _164.QueryParamsResponse): _164.QueryParamsResponseProtoMsg; - }; - AssetTypeRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.AssetTypeRequest; - isSDK(o: any): o is _164.AssetTypeRequestSDKType; - isAmino(o: any): o is _164.AssetTypeRequestAmino; - encode(message: _164.AssetTypeRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.AssetTypeRequest; - fromJSON(object: any): _164.AssetTypeRequest; - toJSON(message: _164.AssetTypeRequest): unknown; - fromPartial(object: { - denom?: string; - }): _164.AssetTypeRequest; - fromSDK(object: _164.AssetTypeRequestSDKType): _164.AssetTypeRequest; - toSDK(message: _164.AssetTypeRequest): _164.AssetTypeRequestSDKType; - fromAmino(object: _164.AssetTypeRequestAmino): _164.AssetTypeRequest; - toAmino(message: _164.AssetTypeRequest): _164.AssetTypeRequestAmino; - fromAminoMsg(object: _164.AssetTypeRequestAminoMsg): _164.AssetTypeRequest; - toAminoMsg(message: _164.AssetTypeRequest): _164.AssetTypeRequestAminoMsg; - fromProtoMsg(message: _164.AssetTypeRequestProtoMsg): _164.AssetTypeRequest; - toProto(message: _164.AssetTypeRequest): Uint8Array; - toProtoMsg(message: _164.AssetTypeRequest): _164.AssetTypeRequestProtoMsg; - }; - AssetTypeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.AssetTypeResponse; - isSDK(o: any): o is _164.AssetTypeResponseSDKType; - isAmino(o: any): o is _164.AssetTypeResponseAmino; - encode(message: _164.AssetTypeResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.AssetTypeResponse; - fromJSON(object: any): _164.AssetTypeResponse; - toJSON(message: _164.AssetTypeResponse): unknown; - fromPartial(object: { - assetType?: _165.SuperfluidAssetType; - }): _164.AssetTypeResponse; - fromSDK(object: _164.AssetTypeResponseSDKType): _164.AssetTypeResponse; - toSDK(message: _164.AssetTypeResponse): _164.AssetTypeResponseSDKType; - fromAmino(object: _164.AssetTypeResponseAmino): _164.AssetTypeResponse; - toAmino(message: _164.AssetTypeResponse): _164.AssetTypeResponseAmino; - fromAminoMsg(object: _164.AssetTypeResponseAminoMsg): _164.AssetTypeResponse; - toAminoMsg(message: _164.AssetTypeResponse): _164.AssetTypeResponseAminoMsg; - fromProtoMsg(message: _164.AssetTypeResponseProtoMsg): _164.AssetTypeResponse; - toProto(message: _164.AssetTypeResponse): Uint8Array; - toProtoMsg(message: _164.AssetTypeResponse): _164.AssetTypeResponseProtoMsg; - }; - AllAssetsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.AllAssetsRequest; - isSDK(o: any): o is _164.AllAssetsRequestSDKType; - isAmino(o: any): o is _164.AllAssetsRequestAmino; - encode(_: _164.AllAssetsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.AllAssetsRequest; - fromJSON(_: any): _164.AllAssetsRequest; - toJSON(_: _164.AllAssetsRequest): unknown; - fromPartial(_: {}): _164.AllAssetsRequest; - fromSDK(_: _164.AllAssetsRequestSDKType): _164.AllAssetsRequest; - toSDK(_: _164.AllAssetsRequest): _164.AllAssetsRequestSDKType; - fromAmino(_: _164.AllAssetsRequestAmino): _164.AllAssetsRequest; - toAmino(_: _164.AllAssetsRequest): _164.AllAssetsRequestAmino; - fromAminoMsg(object: _164.AllAssetsRequestAminoMsg): _164.AllAssetsRequest; - toAminoMsg(message: _164.AllAssetsRequest): _164.AllAssetsRequestAminoMsg; - fromProtoMsg(message: _164.AllAssetsRequestProtoMsg): _164.AllAssetsRequest; - toProto(message: _164.AllAssetsRequest): Uint8Array; - toProtoMsg(message: _164.AllAssetsRequest): _164.AllAssetsRequestProtoMsg; - }; - AllAssetsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.AllAssetsResponse; - isSDK(o: any): o is _164.AllAssetsResponseSDKType; - isAmino(o: any): o is _164.AllAssetsResponseAmino; - encode(message: _164.AllAssetsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.AllAssetsResponse; - fromJSON(object: any): _164.AllAssetsResponse; - toJSON(message: _164.AllAssetsResponse): unknown; - fromPartial(object: { - assets?: { - denom?: string; - assetType?: _165.SuperfluidAssetType; - }[]; - }): _164.AllAssetsResponse; - fromSDK(object: _164.AllAssetsResponseSDKType): _164.AllAssetsResponse; - toSDK(message: _164.AllAssetsResponse): _164.AllAssetsResponseSDKType; - fromAmino(object: _164.AllAssetsResponseAmino): _164.AllAssetsResponse; - toAmino(message: _164.AllAssetsResponse): _164.AllAssetsResponseAmino; - fromAminoMsg(object: _164.AllAssetsResponseAminoMsg): _164.AllAssetsResponse; - toAminoMsg(message: _164.AllAssetsResponse): _164.AllAssetsResponseAminoMsg; - fromProtoMsg(message: _164.AllAssetsResponseProtoMsg): _164.AllAssetsResponse; - toProto(message: _164.AllAssetsResponse): Uint8Array; - toProtoMsg(message: _164.AllAssetsResponse): _164.AllAssetsResponseProtoMsg; - }; - AssetMultiplierRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.AssetMultiplierRequest; - isSDK(o: any): o is _164.AssetMultiplierRequestSDKType; - isAmino(o: any): o is _164.AssetMultiplierRequestAmino; - encode(message: _164.AssetMultiplierRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.AssetMultiplierRequest; - fromJSON(object: any): _164.AssetMultiplierRequest; - toJSON(message: _164.AssetMultiplierRequest): unknown; - fromPartial(object: { - denom?: string; - }): _164.AssetMultiplierRequest; - fromSDK(object: _164.AssetMultiplierRequestSDKType): _164.AssetMultiplierRequest; - toSDK(message: _164.AssetMultiplierRequest): _164.AssetMultiplierRequestSDKType; - fromAmino(object: _164.AssetMultiplierRequestAmino): _164.AssetMultiplierRequest; - toAmino(message: _164.AssetMultiplierRequest): _164.AssetMultiplierRequestAmino; - fromAminoMsg(object: _164.AssetMultiplierRequestAminoMsg): _164.AssetMultiplierRequest; - toAminoMsg(message: _164.AssetMultiplierRequest): _164.AssetMultiplierRequestAminoMsg; - fromProtoMsg(message: _164.AssetMultiplierRequestProtoMsg): _164.AssetMultiplierRequest; - toProto(message: _164.AssetMultiplierRequest): Uint8Array; - toProtoMsg(message: _164.AssetMultiplierRequest): _164.AssetMultiplierRequestProtoMsg; - }; - AssetMultiplierResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.AssetMultiplierResponse; - isSDK(o: any): o is _164.AssetMultiplierResponseSDKType; - isAmino(o: any): o is _164.AssetMultiplierResponseAmino; - encode(message: _164.AssetMultiplierResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.AssetMultiplierResponse; - fromJSON(object: any): _164.AssetMultiplierResponse; - toJSON(message: _164.AssetMultiplierResponse): unknown; - fromPartial(object: { - osmoEquivalentMultiplier?: { - epochNumber?: bigint; - denom?: string; - multiplier?: string; - }; - }): _164.AssetMultiplierResponse; - fromSDK(object: _164.AssetMultiplierResponseSDKType): _164.AssetMultiplierResponse; - toSDK(message: _164.AssetMultiplierResponse): _164.AssetMultiplierResponseSDKType; - fromAmino(object: _164.AssetMultiplierResponseAmino): _164.AssetMultiplierResponse; - toAmino(message: _164.AssetMultiplierResponse): _164.AssetMultiplierResponseAmino; - fromAminoMsg(object: _164.AssetMultiplierResponseAminoMsg): _164.AssetMultiplierResponse; - toAminoMsg(message: _164.AssetMultiplierResponse): _164.AssetMultiplierResponseAminoMsg; - fromProtoMsg(message: _164.AssetMultiplierResponseProtoMsg): _164.AssetMultiplierResponse; - toProto(message: _164.AssetMultiplierResponse): Uint8Array; - toProtoMsg(message: _164.AssetMultiplierResponse): _164.AssetMultiplierResponseProtoMsg; - }; - SuperfluidIntermediaryAccountInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.SuperfluidIntermediaryAccountInfo; - isSDK(o: any): o is _164.SuperfluidIntermediaryAccountInfoSDKType; - isAmino(o: any): o is _164.SuperfluidIntermediaryAccountInfoAmino; - encode(message: _164.SuperfluidIntermediaryAccountInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.SuperfluidIntermediaryAccountInfo; - fromJSON(object: any): _164.SuperfluidIntermediaryAccountInfo; - toJSON(message: _164.SuperfluidIntermediaryAccountInfo): unknown; - fromPartial(object: { - denom?: string; - valAddr?: string; - gaugeId?: bigint; - address?: string; - }): _164.SuperfluidIntermediaryAccountInfo; - fromSDK(object: _164.SuperfluidIntermediaryAccountInfoSDKType): _164.SuperfluidIntermediaryAccountInfo; - toSDK(message: _164.SuperfluidIntermediaryAccountInfo): _164.SuperfluidIntermediaryAccountInfoSDKType; - fromAmino(object: _164.SuperfluidIntermediaryAccountInfoAmino): _164.SuperfluidIntermediaryAccountInfo; - toAmino(message: _164.SuperfluidIntermediaryAccountInfo): _164.SuperfluidIntermediaryAccountInfoAmino; - fromAminoMsg(object: _164.SuperfluidIntermediaryAccountInfoAminoMsg): _164.SuperfluidIntermediaryAccountInfo; - toAminoMsg(message: _164.SuperfluidIntermediaryAccountInfo): _164.SuperfluidIntermediaryAccountInfoAminoMsg; - fromProtoMsg(message: _164.SuperfluidIntermediaryAccountInfoProtoMsg): _164.SuperfluidIntermediaryAccountInfo; - toProto(message: _164.SuperfluidIntermediaryAccountInfo): Uint8Array; - toProtoMsg(message: _164.SuperfluidIntermediaryAccountInfo): _164.SuperfluidIntermediaryAccountInfoProtoMsg; - }; - AllIntermediaryAccountsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.AllIntermediaryAccountsRequest; - isSDK(o: any): o is _164.AllIntermediaryAccountsRequestSDKType; - isAmino(o: any): o is _164.AllIntermediaryAccountsRequestAmino; - encode(message: _164.AllIntermediaryAccountsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.AllIntermediaryAccountsRequest; - fromJSON(object: any): _164.AllIntermediaryAccountsRequest; - toJSON(message: _164.AllIntermediaryAccountsRequest): unknown; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: bigint; - limit?: bigint; - countTotal?: boolean; - reverse?: boolean; - }; - }): _164.AllIntermediaryAccountsRequest; - fromSDK(object: _164.AllIntermediaryAccountsRequestSDKType): _164.AllIntermediaryAccountsRequest; - toSDK(message: _164.AllIntermediaryAccountsRequest): _164.AllIntermediaryAccountsRequestSDKType; - fromAmino(object: _164.AllIntermediaryAccountsRequestAmino): _164.AllIntermediaryAccountsRequest; - toAmino(message: _164.AllIntermediaryAccountsRequest): _164.AllIntermediaryAccountsRequestAmino; - fromAminoMsg(object: _164.AllIntermediaryAccountsRequestAminoMsg): _164.AllIntermediaryAccountsRequest; - toAminoMsg(message: _164.AllIntermediaryAccountsRequest): _164.AllIntermediaryAccountsRequestAminoMsg; - fromProtoMsg(message: _164.AllIntermediaryAccountsRequestProtoMsg): _164.AllIntermediaryAccountsRequest; - toProto(message: _164.AllIntermediaryAccountsRequest): Uint8Array; - toProtoMsg(message: _164.AllIntermediaryAccountsRequest): _164.AllIntermediaryAccountsRequestProtoMsg; - }; - AllIntermediaryAccountsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.AllIntermediaryAccountsResponse; - isSDK(o: any): o is _164.AllIntermediaryAccountsResponseSDKType; - isAmino(o: any): o is _164.AllIntermediaryAccountsResponseAmino; - encode(message: _164.AllIntermediaryAccountsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.AllIntermediaryAccountsResponse; - fromJSON(object: any): _164.AllIntermediaryAccountsResponse; - toJSON(message: _164.AllIntermediaryAccountsResponse): unknown; - fromPartial(object: { - accounts?: { - denom?: string; - valAddr?: string; - gaugeId?: bigint; - address?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: bigint; - }; - }): _164.AllIntermediaryAccountsResponse; - fromSDK(object: _164.AllIntermediaryAccountsResponseSDKType): _164.AllIntermediaryAccountsResponse; - toSDK(message: _164.AllIntermediaryAccountsResponse): _164.AllIntermediaryAccountsResponseSDKType; - fromAmino(object: _164.AllIntermediaryAccountsResponseAmino): _164.AllIntermediaryAccountsResponse; - toAmino(message: _164.AllIntermediaryAccountsResponse): _164.AllIntermediaryAccountsResponseAmino; - fromAminoMsg(object: _164.AllIntermediaryAccountsResponseAminoMsg): _164.AllIntermediaryAccountsResponse; - toAminoMsg(message: _164.AllIntermediaryAccountsResponse): _164.AllIntermediaryAccountsResponseAminoMsg; - fromProtoMsg(message: _164.AllIntermediaryAccountsResponseProtoMsg): _164.AllIntermediaryAccountsResponse; - toProto(message: _164.AllIntermediaryAccountsResponse): Uint8Array; - toProtoMsg(message: _164.AllIntermediaryAccountsResponse): _164.AllIntermediaryAccountsResponseProtoMsg; - }; - ConnectedIntermediaryAccountRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.ConnectedIntermediaryAccountRequest; - isSDK(o: any): o is _164.ConnectedIntermediaryAccountRequestSDKType; - isAmino(o: any): o is _164.ConnectedIntermediaryAccountRequestAmino; - encode(message: _164.ConnectedIntermediaryAccountRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.ConnectedIntermediaryAccountRequest; - fromJSON(object: any): _164.ConnectedIntermediaryAccountRequest; - toJSON(message: _164.ConnectedIntermediaryAccountRequest): unknown; - fromPartial(object: { - lockId?: bigint; - }): _164.ConnectedIntermediaryAccountRequest; - fromSDK(object: _164.ConnectedIntermediaryAccountRequestSDKType): _164.ConnectedIntermediaryAccountRequest; - toSDK(message: _164.ConnectedIntermediaryAccountRequest): _164.ConnectedIntermediaryAccountRequestSDKType; - fromAmino(object: _164.ConnectedIntermediaryAccountRequestAmino): _164.ConnectedIntermediaryAccountRequest; - toAmino(message: _164.ConnectedIntermediaryAccountRequest): _164.ConnectedIntermediaryAccountRequestAmino; - fromAminoMsg(object: _164.ConnectedIntermediaryAccountRequestAminoMsg): _164.ConnectedIntermediaryAccountRequest; - toAminoMsg(message: _164.ConnectedIntermediaryAccountRequest): _164.ConnectedIntermediaryAccountRequestAminoMsg; - fromProtoMsg(message: _164.ConnectedIntermediaryAccountRequestProtoMsg): _164.ConnectedIntermediaryAccountRequest; - toProto(message: _164.ConnectedIntermediaryAccountRequest): Uint8Array; - toProtoMsg(message: _164.ConnectedIntermediaryAccountRequest): _164.ConnectedIntermediaryAccountRequestProtoMsg; - }; - ConnectedIntermediaryAccountResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.ConnectedIntermediaryAccountResponse; - isSDK(o: any): o is _164.ConnectedIntermediaryAccountResponseSDKType; - isAmino(o: any): o is _164.ConnectedIntermediaryAccountResponseAmino; - encode(message: _164.ConnectedIntermediaryAccountResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.ConnectedIntermediaryAccountResponse; - fromJSON(object: any): _164.ConnectedIntermediaryAccountResponse; - toJSON(message: _164.ConnectedIntermediaryAccountResponse): unknown; - fromPartial(object: { - account?: { - denom?: string; - valAddr?: string; - gaugeId?: bigint; - address?: string; - }; - }): _164.ConnectedIntermediaryAccountResponse; - fromSDK(object: _164.ConnectedIntermediaryAccountResponseSDKType): _164.ConnectedIntermediaryAccountResponse; - toSDK(message: _164.ConnectedIntermediaryAccountResponse): _164.ConnectedIntermediaryAccountResponseSDKType; - fromAmino(object: _164.ConnectedIntermediaryAccountResponseAmino): _164.ConnectedIntermediaryAccountResponse; - toAmino(message: _164.ConnectedIntermediaryAccountResponse): _164.ConnectedIntermediaryAccountResponseAmino; - fromAminoMsg(object: _164.ConnectedIntermediaryAccountResponseAminoMsg): _164.ConnectedIntermediaryAccountResponse; - toAminoMsg(message: _164.ConnectedIntermediaryAccountResponse): _164.ConnectedIntermediaryAccountResponseAminoMsg; - fromProtoMsg(message: _164.ConnectedIntermediaryAccountResponseProtoMsg): _164.ConnectedIntermediaryAccountResponse; - toProto(message: _164.ConnectedIntermediaryAccountResponse): Uint8Array; - toProtoMsg(message: _164.ConnectedIntermediaryAccountResponse): _164.ConnectedIntermediaryAccountResponseProtoMsg; - }; - QueryTotalDelegationByValidatorForDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.QueryTotalDelegationByValidatorForDenomRequest; - isSDK(o: any): o is _164.QueryTotalDelegationByValidatorForDenomRequestSDKType; - isAmino(o: any): o is _164.QueryTotalDelegationByValidatorForDenomRequestAmino; - encode(message: _164.QueryTotalDelegationByValidatorForDenomRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.QueryTotalDelegationByValidatorForDenomRequest; - fromJSON(object: any): _164.QueryTotalDelegationByValidatorForDenomRequest; - toJSON(message: _164.QueryTotalDelegationByValidatorForDenomRequest): unknown; - fromPartial(object: { - denom?: string; - }): _164.QueryTotalDelegationByValidatorForDenomRequest; - fromSDK(object: _164.QueryTotalDelegationByValidatorForDenomRequestSDKType): _164.QueryTotalDelegationByValidatorForDenomRequest; - toSDK(message: _164.QueryTotalDelegationByValidatorForDenomRequest): _164.QueryTotalDelegationByValidatorForDenomRequestSDKType; - fromAmino(object: _164.QueryTotalDelegationByValidatorForDenomRequestAmino): _164.QueryTotalDelegationByValidatorForDenomRequest; - toAmino(message: _164.QueryTotalDelegationByValidatorForDenomRequest): _164.QueryTotalDelegationByValidatorForDenomRequestAmino; - fromAminoMsg(object: _164.QueryTotalDelegationByValidatorForDenomRequestAminoMsg): _164.QueryTotalDelegationByValidatorForDenomRequest; - toAminoMsg(message: _164.QueryTotalDelegationByValidatorForDenomRequest): _164.QueryTotalDelegationByValidatorForDenomRequestAminoMsg; - fromProtoMsg(message: _164.QueryTotalDelegationByValidatorForDenomRequestProtoMsg): _164.QueryTotalDelegationByValidatorForDenomRequest; - toProto(message: _164.QueryTotalDelegationByValidatorForDenomRequest): Uint8Array; - toProtoMsg(message: _164.QueryTotalDelegationByValidatorForDenomRequest): _164.QueryTotalDelegationByValidatorForDenomRequestProtoMsg; - }; - QueryTotalDelegationByValidatorForDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.QueryTotalDelegationByValidatorForDenomResponse; - isSDK(o: any): o is _164.QueryTotalDelegationByValidatorForDenomResponseSDKType; - isAmino(o: any): o is _164.QueryTotalDelegationByValidatorForDenomResponseAmino; - encode(message: _164.QueryTotalDelegationByValidatorForDenomResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.QueryTotalDelegationByValidatorForDenomResponse; - fromJSON(object: any): _164.QueryTotalDelegationByValidatorForDenomResponse; - toJSON(message: _164.QueryTotalDelegationByValidatorForDenomResponse): unknown; - fromPartial(object: { - assets?: { - valAddr?: string; - amountSfsd?: string; - osmoEquivalent?: string; - }[]; - }): _164.QueryTotalDelegationByValidatorForDenomResponse; - fromSDK(object: _164.QueryTotalDelegationByValidatorForDenomResponseSDKType): _164.QueryTotalDelegationByValidatorForDenomResponse; - toSDK(message: _164.QueryTotalDelegationByValidatorForDenomResponse): _164.QueryTotalDelegationByValidatorForDenomResponseSDKType; - fromAmino(object: _164.QueryTotalDelegationByValidatorForDenomResponseAmino): _164.QueryTotalDelegationByValidatorForDenomResponse; - toAmino(message: _164.QueryTotalDelegationByValidatorForDenomResponse): _164.QueryTotalDelegationByValidatorForDenomResponseAmino; - fromAminoMsg(object: _164.QueryTotalDelegationByValidatorForDenomResponseAminoMsg): _164.QueryTotalDelegationByValidatorForDenomResponse; - toAminoMsg(message: _164.QueryTotalDelegationByValidatorForDenomResponse): _164.QueryTotalDelegationByValidatorForDenomResponseAminoMsg; - fromProtoMsg(message: _164.QueryTotalDelegationByValidatorForDenomResponseProtoMsg): _164.QueryTotalDelegationByValidatorForDenomResponse; - toProto(message: _164.QueryTotalDelegationByValidatorForDenomResponse): Uint8Array; - toProtoMsg(message: _164.QueryTotalDelegationByValidatorForDenomResponse): _164.QueryTotalDelegationByValidatorForDenomResponseProtoMsg; - }; - Delegations: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.Delegations; - isSDK(o: any): o is _164.DelegationsSDKType; - isAmino(o: any): o is _164.DelegationsAmino; - encode(message: _164.Delegations, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.Delegations; - fromJSON(object: any): _164.Delegations; - toJSON(message: _164.Delegations): unknown; - fromPartial(object: { - valAddr?: string; - amountSfsd?: string; - osmoEquivalent?: string; - }): _164.Delegations; - fromSDK(object: _164.DelegationsSDKType): _164.Delegations; - toSDK(message: _164.Delegations): _164.DelegationsSDKType; - fromAmino(object: _164.DelegationsAmino): _164.Delegations; - toAmino(message: _164.Delegations): _164.DelegationsAmino; - fromAminoMsg(object: _164.DelegationsAminoMsg): _164.Delegations; - toAminoMsg(message: _164.Delegations): _164.DelegationsAminoMsg; - fromProtoMsg(message: _164.DelegationsProtoMsg): _164.Delegations; - toProto(message: _164.Delegations): Uint8Array; - toProtoMsg(message: _164.Delegations): _164.DelegationsProtoMsg; - }; - TotalSuperfluidDelegationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.TotalSuperfluidDelegationsRequest; - isSDK(o: any): o is _164.TotalSuperfluidDelegationsRequestSDKType; - isAmino(o: any): o is _164.TotalSuperfluidDelegationsRequestAmino; - encode(_: _164.TotalSuperfluidDelegationsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.TotalSuperfluidDelegationsRequest; - fromJSON(_: any): _164.TotalSuperfluidDelegationsRequest; - toJSON(_: _164.TotalSuperfluidDelegationsRequest): unknown; - fromPartial(_: {}): _164.TotalSuperfluidDelegationsRequest; - fromSDK(_: _164.TotalSuperfluidDelegationsRequestSDKType): _164.TotalSuperfluidDelegationsRequest; - toSDK(_: _164.TotalSuperfluidDelegationsRequest): _164.TotalSuperfluidDelegationsRequestSDKType; - fromAmino(_: _164.TotalSuperfluidDelegationsRequestAmino): _164.TotalSuperfluidDelegationsRequest; - toAmino(_: _164.TotalSuperfluidDelegationsRequest): _164.TotalSuperfluidDelegationsRequestAmino; - fromAminoMsg(object: _164.TotalSuperfluidDelegationsRequestAminoMsg): _164.TotalSuperfluidDelegationsRequest; - toAminoMsg(message: _164.TotalSuperfluidDelegationsRequest): _164.TotalSuperfluidDelegationsRequestAminoMsg; - fromProtoMsg(message: _164.TotalSuperfluidDelegationsRequestProtoMsg): _164.TotalSuperfluidDelegationsRequest; - toProto(message: _164.TotalSuperfluidDelegationsRequest): Uint8Array; - toProtoMsg(message: _164.TotalSuperfluidDelegationsRequest): _164.TotalSuperfluidDelegationsRequestProtoMsg; - }; - TotalSuperfluidDelegationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.TotalSuperfluidDelegationsResponse; - isSDK(o: any): o is _164.TotalSuperfluidDelegationsResponseSDKType; - isAmino(o: any): o is _164.TotalSuperfluidDelegationsResponseAmino; - encode(message: _164.TotalSuperfluidDelegationsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.TotalSuperfluidDelegationsResponse; - fromJSON(object: any): _164.TotalSuperfluidDelegationsResponse; - toJSON(message: _164.TotalSuperfluidDelegationsResponse): unknown; - fromPartial(object: { - totalDelegations?: string; - }): _164.TotalSuperfluidDelegationsResponse; - fromSDK(object: _164.TotalSuperfluidDelegationsResponseSDKType): _164.TotalSuperfluidDelegationsResponse; - toSDK(message: _164.TotalSuperfluidDelegationsResponse): _164.TotalSuperfluidDelegationsResponseSDKType; - fromAmino(object: _164.TotalSuperfluidDelegationsResponseAmino): _164.TotalSuperfluidDelegationsResponse; - toAmino(message: _164.TotalSuperfluidDelegationsResponse): _164.TotalSuperfluidDelegationsResponseAmino; - fromAminoMsg(object: _164.TotalSuperfluidDelegationsResponseAminoMsg): _164.TotalSuperfluidDelegationsResponse; - toAminoMsg(message: _164.TotalSuperfluidDelegationsResponse): _164.TotalSuperfluidDelegationsResponseAminoMsg; - fromProtoMsg(message: _164.TotalSuperfluidDelegationsResponseProtoMsg): _164.TotalSuperfluidDelegationsResponse; - toProto(message: _164.TotalSuperfluidDelegationsResponse): Uint8Array; - toProtoMsg(message: _164.TotalSuperfluidDelegationsResponse): _164.TotalSuperfluidDelegationsResponseProtoMsg; - }; - SuperfluidDelegationAmountRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.SuperfluidDelegationAmountRequest; - isSDK(o: any): o is _164.SuperfluidDelegationAmountRequestSDKType; - isAmino(o: any): o is _164.SuperfluidDelegationAmountRequestAmino; - encode(message: _164.SuperfluidDelegationAmountRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.SuperfluidDelegationAmountRequest; - fromJSON(object: any): _164.SuperfluidDelegationAmountRequest; - toJSON(message: _164.SuperfluidDelegationAmountRequest): unknown; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - denom?: string; - }): _164.SuperfluidDelegationAmountRequest; - fromSDK(object: _164.SuperfluidDelegationAmountRequestSDKType): _164.SuperfluidDelegationAmountRequest; - toSDK(message: _164.SuperfluidDelegationAmountRequest): _164.SuperfluidDelegationAmountRequestSDKType; - fromAmino(object: _164.SuperfluidDelegationAmountRequestAmino): _164.SuperfluidDelegationAmountRequest; - toAmino(message: _164.SuperfluidDelegationAmountRequest): _164.SuperfluidDelegationAmountRequestAmino; - fromAminoMsg(object: _164.SuperfluidDelegationAmountRequestAminoMsg): _164.SuperfluidDelegationAmountRequest; - toAminoMsg(message: _164.SuperfluidDelegationAmountRequest): _164.SuperfluidDelegationAmountRequestAminoMsg; - fromProtoMsg(message: _164.SuperfluidDelegationAmountRequestProtoMsg): _164.SuperfluidDelegationAmountRequest; - toProto(message: _164.SuperfluidDelegationAmountRequest): Uint8Array; - toProtoMsg(message: _164.SuperfluidDelegationAmountRequest): _164.SuperfluidDelegationAmountRequestProtoMsg; - }; - SuperfluidDelegationAmountResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.SuperfluidDelegationAmountResponse; - isSDK(o: any): o is _164.SuperfluidDelegationAmountResponseSDKType; - isAmino(o: any): o is _164.SuperfluidDelegationAmountResponseAmino; - encode(message: _164.SuperfluidDelegationAmountResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.SuperfluidDelegationAmountResponse; - fromJSON(object: any): _164.SuperfluidDelegationAmountResponse; - toJSON(message: _164.SuperfluidDelegationAmountResponse): unknown; - fromPartial(object: { - amount?: { - denom?: string; - amount?: string; - }[]; - }): _164.SuperfluidDelegationAmountResponse; - fromSDK(object: _164.SuperfluidDelegationAmountResponseSDKType): _164.SuperfluidDelegationAmountResponse; - toSDK(message: _164.SuperfluidDelegationAmountResponse): _164.SuperfluidDelegationAmountResponseSDKType; - fromAmino(object: _164.SuperfluidDelegationAmountResponseAmino): _164.SuperfluidDelegationAmountResponse; - toAmino(message: _164.SuperfluidDelegationAmountResponse): _164.SuperfluidDelegationAmountResponseAmino; - fromAminoMsg(object: _164.SuperfluidDelegationAmountResponseAminoMsg): _164.SuperfluidDelegationAmountResponse; - toAminoMsg(message: _164.SuperfluidDelegationAmountResponse): _164.SuperfluidDelegationAmountResponseAminoMsg; - fromProtoMsg(message: _164.SuperfluidDelegationAmountResponseProtoMsg): _164.SuperfluidDelegationAmountResponse; - toProto(message: _164.SuperfluidDelegationAmountResponse): Uint8Array; - toProtoMsg(message: _164.SuperfluidDelegationAmountResponse): _164.SuperfluidDelegationAmountResponseProtoMsg; - }; - SuperfluidDelegationsByDelegatorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.SuperfluidDelegationsByDelegatorRequest; - isSDK(o: any): o is _164.SuperfluidDelegationsByDelegatorRequestSDKType; - isAmino(o: any): o is _164.SuperfluidDelegationsByDelegatorRequestAmino; - encode(message: _164.SuperfluidDelegationsByDelegatorRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.SuperfluidDelegationsByDelegatorRequest; - fromJSON(object: any): _164.SuperfluidDelegationsByDelegatorRequest; - toJSON(message: _164.SuperfluidDelegationsByDelegatorRequest): unknown; - fromPartial(object: { - delegatorAddress?: string; - }): _164.SuperfluidDelegationsByDelegatorRequest; - fromSDK(object: _164.SuperfluidDelegationsByDelegatorRequestSDKType): _164.SuperfluidDelegationsByDelegatorRequest; - toSDK(message: _164.SuperfluidDelegationsByDelegatorRequest): _164.SuperfluidDelegationsByDelegatorRequestSDKType; - fromAmino(object: _164.SuperfluidDelegationsByDelegatorRequestAmino): _164.SuperfluidDelegationsByDelegatorRequest; - toAmino(message: _164.SuperfluidDelegationsByDelegatorRequest): _164.SuperfluidDelegationsByDelegatorRequestAmino; - fromAminoMsg(object: _164.SuperfluidDelegationsByDelegatorRequestAminoMsg): _164.SuperfluidDelegationsByDelegatorRequest; - toAminoMsg(message: _164.SuperfluidDelegationsByDelegatorRequest): _164.SuperfluidDelegationsByDelegatorRequestAminoMsg; - fromProtoMsg(message: _164.SuperfluidDelegationsByDelegatorRequestProtoMsg): _164.SuperfluidDelegationsByDelegatorRequest; - toProto(message: _164.SuperfluidDelegationsByDelegatorRequest): Uint8Array; - toProtoMsg(message: _164.SuperfluidDelegationsByDelegatorRequest): _164.SuperfluidDelegationsByDelegatorRequestProtoMsg; - }; - SuperfluidDelegationsByDelegatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.SuperfluidDelegationsByDelegatorResponse; - isSDK(o: any): o is _164.SuperfluidDelegationsByDelegatorResponseSDKType; - isAmino(o: any): o is _164.SuperfluidDelegationsByDelegatorResponseAmino; - encode(message: _164.SuperfluidDelegationsByDelegatorResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.SuperfluidDelegationsByDelegatorResponse; - fromJSON(object: any): _164.SuperfluidDelegationsByDelegatorResponse; - toJSON(message: _164.SuperfluidDelegationsByDelegatorResponse): unknown; - fromPartial(object: { - superfluidDelegationRecords?: { - delegatorAddress?: string; - validatorAddress?: string; - delegationAmount?: { - denom?: string; - amount?: string; - }; - equivalentStakedAmount?: { - denom?: string; - amount?: string; - }; - }[]; - totalDelegatedCoins?: { - denom?: string; - amount?: string; - }[]; - totalEquivalentStakedAmount?: { - denom?: string; - amount?: string; - }; - }): _164.SuperfluidDelegationsByDelegatorResponse; - fromSDK(object: _164.SuperfluidDelegationsByDelegatorResponseSDKType): _164.SuperfluidDelegationsByDelegatorResponse; - toSDK(message: _164.SuperfluidDelegationsByDelegatorResponse): _164.SuperfluidDelegationsByDelegatorResponseSDKType; - fromAmino(object: _164.SuperfluidDelegationsByDelegatorResponseAmino): _164.SuperfluidDelegationsByDelegatorResponse; - toAmino(message: _164.SuperfluidDelegationsByDelegatorResponse): _164.SuperfluidDelegationsByDelegatorResponseAmino; - fromAminoMsg(object: _164.SuperfluidDelegationsByDelegatorResponseAminoMsg): _164.SuperfluidDelegationsByDelegatorResponse; - toAminoMsg(message: _164.SuperfluidDelegationsByDelegatorResponse): _164.SuperfluidDelegationsByDelegatorResponseAminoMsg; - fromProtoMsg(message: _164.SuperfluidDelegationsByDelegatorResponseProtoMsg): _164.SuperfluidDelegationsByDelegatorResponse; - toProto(message: _164.SuperfluidDelegationsByDelegatorResponse): Uint8Array; - toProtoMsg(message: _164.SuperfluidDelegationsByDelegatorResponse): _164.SuperfluidDelegationsByDelegatorResponseProtoMsg; - }; - SuperfluidUndelegationsByDelegatorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.SuperfluidUndelegationsByDelegatorRequest; - isSDK(o: any): o is _164.SuperfluidUndelegationsByDelegatorRequestSDKType; - isAmino(o: any): o is _164.SuperfluidUndelegationsByDelegatorRequestAmino; - encode(message: _164.SuperfluidUndelegationsByDelegatorRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.SuperfluidUndelegationsByDelegatorRequest; - fromJSON(object: any): _164.SuperfluidUndelegationsByDelegatorRequest; - toJSON(message: _164.SuperfluidUndelegationsByDelegatorRequest): unknown; - fromPartial(object: { - delegatorAddress?: string; - denom?: string; - }): _164.SuperfluidUndelegationsByDelegatorRequest; - fromSDK(object: _164.SuperfluidUndelegationsByDelegatorRequestSDKType): _164.SuperfluidUndelegationsByDelegatorRequest; - toSDK(message: _164.SuperfluidUndelegationsByDelegatorRequest): _164.SuperfluidUndelegationsByDelegatorRequestSDKType; - fromAmino(object: _164.SuperfluidUndelegationsByDelegatorRequestAmino): _164.SuperfluidUndelegationsByDelegatorRequest; - toAmino(message: _164.SuperfluidUndelegationsByDelegatorRequest): _164.SuperfluidUndelegationsByDelegatorRequestAmino; - fromAminoMsg(object: _164.SuperfluidUndelegationsByDelegatorRequestAminoMsg): _164.SuperfluidUndelegationsByDelegatorRequest; - toAminoMsg(message: _164.SuperfluidUndelegationsByDelegatorRequest): _164.SuperfluidUndelegationsByDelegatorRequestAminoMsg; - fromProtoMsg(message: _164.SuperfluidUndelegationsByDelegatorRequestProtoMsg): _164.SuperfluidUndelegationsByDelegatorRequest; - toProto(message: _164.SuperfluidUndelegationsByDelegatorRequest): Uint8Array; - toProtoMsg(message: _164.SuperfluidUndelegationsByDelegatorRequest): _164.SuperfluidUndelegationsByDelegatorRequestProtoMsg; - }; - SuperfluidUndelegationsByDelegatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.SuperfluidUndelegationsByDelegatorResponse; - isSDK(o: any): o is _164.SuperfluidUndelegationsByDelegatorResponseSDKType; - isAmino(o: any): o is _164.SuperfluidUndelegationsByDelegatorResponseAmino; - encode(message: _164.SuperfluidUndelegationsByDelegatorResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.SuperfluidUndelegationsByDelegatorResponse; - fromJSON(object: any): _164.SuperfluidUndelegationsByDelegatorResponse; - toJSON(message: _164.SuperfluidUndelegationsByDelegatorResponse): unknown; - fromPartial(object: { - superfluidDelegationRecords?: { - delegatorAddress?: string; - validatorAddress?: string; - delegationAmount?: { - denom?: string; - amount?: string; - }; - equivalentStakedAmount?: { - denom?: string; - amount?: string; - }; - }[]; - totalUndelegatedCoins?: { - denom?: string; - amount?: string; - }[]; - syntheticLocks?: { - underlyingLockId?: bigint; - synthDenom?: string; - endTime?: Date; - duration?: { - seconds?: bigint; - nanos?: number; - }; - }[]; - }): _164.SuperfluidUndelegationsByDelegatorResponse; - fromSDK(object: _164.SuperfluidUndelegationsByDelegatorResponseSDKType): _164.SuperfluidUndelegationsByDelegatorResponse; - toSDK(message: _164.SuperfluidUndelegationsByDelegatorResponse): _164.SuperfluidUndelegationsByDelegatorResponseSDKType; - fromAmino(object: _164.SuperfluidUndelegationsByDelegatorResponseAmino): _164.SuperfluidUndelegationsByDelegatorResponse; - toAmino(message: _164.SuperfluidUndelegationsByDelegatorResponse): _164.SuperfluidUndelegationsByDelegatorResponseAmino; - fromAminoMsg(object: _164.SuperfluidUndelegationsByDelegatorResponseAminoMsg): _164.SuperfluidUndelegationsByDelegatorResponse; - toAminoMsg(message: _164.SuperfluidUndelegationsByDelegatorResponse): _164.SuperfluidUndelegationsByDelegatorResponseAminoMsg; - fromProtoMsg(message: _164.SuperfluidUndelegationsByDelegatorResponseProtoMsg): _164.SuperfluidUndelegationsByDelegatorResponse; - toProto(message: _164.SuperfluidUndelegationsByDelegatorResponse): Uint8Array; - toProtoMsg(message: _164.SuperfluidUndelegationsByDelegatorResponse): _164.SuperfluidUndelegationsByDelegatorResponseProtoMsg; - }; - SuperfluidDelegationsByValidatorDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.SuperfluidDelegationsByValidatorDenomRequest; - isSDK(o: any): o is _164.SuperfluidDelegationsByValidatorDenomRequestSDKType; - isAmino(o: any): o is _164.SuperfluidDelegationsByValidatorDenomRequestAmino; - encode(message: _164.SuperfluidDelegationsByValidatorDenomRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.SuperfluidDelegationsByValidatorDenomRequest; - fromJSON(object: any): _164.SuperfluidDelegationsByValidatorDenomRequest; - toJSON(message: _164.SuperfluidDelegationsByValidatorDenomRequest): unknown; - fromPartial(object: { - validatorAddress?: string; - denom?: string; - }): _164.SuperfluidDelegationsByValidatorDenomRequest; - fromSDK(object: _164.SuperfluidDelegationsByValidatorDenomRequestSDKType): _164.SuperfluidDelegationsByValidatorDenomRequest; - toSDK(message: _164.SuperfluidDelegationsByValidatorDenomRequest): _164.SuperfluidDelegationsByValidatorDenomRequestSDKType; - fromAmino(object: _164.SuperfluidDelegationsByValidatorDenomRequestAmino): _164.SuperfluidDelegationsByValidatorDenomRequest; - toAmino(message: _164.SuperfluidDelegationsByValidatorDenomRequest): _164.SuperfluidDelegationsByValidatorDenomRequestAmino; - fromAminoMsg(object: _164.SuperfluidDelegationsByValidatorDenomRequestAminoMsg): _164.SuperfluidDelegationsByValidatorDenomRequest; - toAminoMsg(message: _164.SuperfluidDelegationsByValidatorDenomRequest): _164.SuperfluidDelegationsByValidatorDenomRequestAminoMsg; - fromProtoMsg(message: _164.SuperfluidDelegationsByValidatorDenomRequestProtoMsg): _164.SuperfluidDelegationsByValidatorDenomRequest; - toProto(message: _164.SuperfluidDelegationsByValidatorDenomRequest): Uint8Array; - toProtoMsg(message: _164.SuperfluidDelegationsByValidatorDenomRequest): _164.SuperfluidDelegationsByValidatorDenomRequestProtoMsg; - }; - SuperfluidDelegationsByValidatorDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.SuperfluidDelegationsByValidatorDenomResponse; - isSDK(o: any): o is _164.SuperfluidDelegationsByValidatorDenomResponseSDKType; - isAmino(o: any): o is _164.SuperfluidDelegationsByValidatorDenomResponseAmino; - encode(message: _164.SuperfluidDelegationsByValidatorDenomResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.SuperfluidDelegationsByValidatorDenomResponse; - fromJSON(object: any): _164.SuperfluidDelegationsByValidatorDenomResponse; - toJSON(message: _164.SuperfluidDelegationsByValidatorDenomResponse): unknown; - fromPartial(object: { - superfluidDelegationRecords?: { - delegatorAddress?: string; - validatorAddress?: string; - delegationAmount?: { - denom?: string; - amount?: string; - }; - equivalentStakedAmount?: { - denom?: string; - amount?: string; - }; - }[]; - }): _164.SuperfluidDelegationsByValidatorDenomResponse; - fromSDK(object: _164.SuperfluidDelegationsByValidatorDenomResponseSDKType): _164.SuperfluidDelegationsByValidatorDenomResponse; - toSDK(message: _164.SuperfluidDelegationsByValidatorDenomResponse): _164.SuperfluidDelegationsByValidatorDenomResponseSDKType; - fromAmino(object: _164.SuperfluidDelegationsByValidatorDenomResponseAmino): _164.SuperfluidDelegationsByValidatorDenomResponse; - toAmino(message: _164.SuperfluidDelegationsByValidatorDenomResponse): _164.SuperfluidDelegationsByValidatorDenomResponseAmino; - fromAminoMsg(object: _164.SuperfluidDelegationsByValidatorDenomResponseAminoMsg): _164.SuperfluidDelegationsByValidatorDenomResponse; - toAminoMsg(message: _164.SuperfluidDelegationsByValidatorDenomResponse): _164.SuperfluidDelegationsByValidatorDenomResponseAminoMsg; - fromProtoMsg(message: _164.SuperfluidDelegationsByValidatorDenomResponseProtoMsg): _164.SuperfluidDelegationsByValidatorDenomResponse; - toProto(message: _164.SuperfluidDelegationsByValidatorDenomResponse): Uint8Array; - toProtoMsg(message: _164.SuperfluidDelegationsByValidatorDenomResponse): _164.SuperfluidDelegationsByValidatorDenomResponseProtoMsg; - }; - EstimateSuperfluidDelegatedAmountByValidatorDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - isSDK(o: any): o is _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequestSDKType; - isAmino(o: any): o is _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequestAmino; - encode(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - fromJSON(object: any): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - toJSON(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): unknown; - fromPartial(object: { - validatorAddress?: string; - denom?: string; - }): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - fromSDK(object: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequestSDKType): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - toSDK(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequestSDKType; - fromAmino(object: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequestAmino): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - toAmino(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequestAmino; - fromAminoMsg(object: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequestAminoMsg): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - toAminoMsg(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequestAminoMsg; - fromProtoMsg(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequestProtoMsg): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - toProto(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): Uint8Array; - toProtoMsg(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomRequestProtoMsg; - }; - EstimateSuperfluidDelegatedAmountByValidatorDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - isSDK(o: any): o is _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponseSDKType; - isAmino(o: any): o is _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponseAmino; - encode(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - fromJSON(object: any): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - toJSON(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse): unknown; - fromPartial(object: { - totalDelegatedCoins?: { - denom?: string; - amount?: string; - }[]; - }): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - fromSDK(object: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponseSDKType): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - toSDK(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponseSDKType; - fromAmino(object: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponseAmino): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - toAmino(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponseAmino; - fromAminoMsg(object: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponseAminoMsg): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - toAminoMsg(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponseAminoMsg; - fromProtoMsg(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponseProtoMsg): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - toProto(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse): Uint8Array; - toProtoMsg(message: _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse): _164.EstimateSuperfluidDelegatedAmountByValidatorDenomResponseProtoMsg; - }; - QueryTotalDelegationByDelegatorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.QueryTotalDelegationByDelegatorRequest; - isSDK(o: any): o is _164.QueryTotalDelegationByDelegatorRequestSDKType; - isAmino(o: any): o is _164.QueryTotalDelegationByDelegatorRequestAmino; - encode(message: _164.QueryTotalDelegationByDelegatorRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.QueryTotalDelegationByDelegatorRequest; - fromJSON(object: any): _164.QueryTotalDelegationByDelegatorRequest; - toJSON(message: _164.QueryTotalDelegationByDelegatorRequest): unknown; - fromPartial(object: { - delegatorAddress?: string; - }): _164.QueryTotalDelegationByDelegatorRequest; - fromSDK(object: _164.QueryTotalDelegationByDelegatorRequestSDKType): _164.QueryTotalDelegationByDelegatorRequest; - toSDK(message: _164.QueryTotalDelegationByDelegatorRequest): _164.QueryTotalDelegationByDelegatorRequestSDKType; - fromAmino(object: _164.QueryTotalDelegationByDelegatorRequestAmino): _164.QueryTotalDelegationByDelegatorRequest; - toAmino(message: _164.QueryTotalDelegationByDelegatorRequest): _164.QueryTotalDelegationByDelegatorRequestAmino; - fromAminoMsg(object: _164.QueryTotalDelegationByDelegatorRequestAminoMsg): _164.QueryTotalDelegationByDelegatorRequest; - toAminoMsg(message: _164.QueryTotalDelegationByDelegatorRequest): _164.QueryTotalDelegationByDelegatorRequestAminoMsg; - fromProtoMsg(message: _164.QueryTotalDelegationByDelegatorRequestProtoMsg): _164.QueryTotalDelegationByDelegatorRequest; - toProto(message: _164.QueryTotalDelegationByDelegatorRequest): Uint8Array; - toProtoMsg(message: _164.QueryTotalDelegationByDelegatorRequest): _164.QueryTotalDelegationByDelegatorRequestProtoMsg; - }; - QueryTotalDelegationByDelegatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.QueryTotalDelegationByDelegatorResponse; - isSDK(o: any): o is _164.QueryTotalDelegationByDelegatorResponseSDKType; - isAmino(o: any): o is _164.QueryTotalDelegationByDelegatorResponseAmino; - encode(message: _164.QueryTotalDelegationByDelegatorResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.QueryTotalDelegationByDelegatorResponse; - fromJSON(object: any): _164.QueryTotalDelegationByDelegatorResponse; - toJSON(message: _164.QueryTotalDelegationByDelegatorResponse): unknown; - fromPartial(object: { - superfluidDelegationRecords?: { - delegatorAddress?: string; - validatorAddress?: string; - delegationAmount?: { - denom?: string; - amount?: string; - }; - equivalentStakedAmount?: { - denom?: string; - amount?: string; - }; - }[]; - delegationResponse?: { - delegation?: { - delegatorAddress?: string; - validatorAddress?: string; - shares?: string; - }; - balance?: { - denom?: string; - amount?: string; - }; - }[]; - totalDelegatedCoins?: { - denom?: string; - amount?: string; - }[]; - totalEquivalentStakedAmount?: { - denom?: string; - amount?: string; - }; - }): _164.QueryTotalDelegationByDelegatorResponse; - fromSDK(object: _164.QueryTotalDelegationByDelegatorResponseSDKType): _164.QueryTotalDelegationByDelegatorResponse; - toSDK(message: _164.QueryTotalDelegationByDelegatorResponse): _164.QueryTotalDelegationByDelegatorResponseSDKType; - fromAmino(object: _164.QueryTotalDelegationByDelegatorResponseAmino): _164.QueryTotalDelegationByDelegatorResponse; - toAmino(message: _164.QueryTotalDelegationByDelegatorResponse): _164.QueryTotalDelegationByDelegatorResponseAmino; - fromAminoMsg(object: _164.QueryTotalDelegationByDelegatorResponseAminoMsg): _164.QueryTotalDelegationByDelegatorResponse; - toAminoMsg(message: _164.QueryTotalDelegationByDelegatorResponse): _164.QueryTotalDelegationByDelegatorResponseAminoMsg; - fromProtoMsg(message: _164.QueryTotalDelegationByDelegatorResponseProtoMsg): _164.QueryTotalDelegationByDelegatorResponse; - toProto(message: _164.QueryTotalDelegationByDelegatorResponse): Uint8Array; - toProtoMsg(message: _164.QueryTotalDelegationByDelegatorResponse): _164.QueryTotalDelegationByDelegatorResponseProtoMsg; - }; - QueryUnpoolWhitelistRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.QueryUnpoolWhitelistRequest; - isSDK(o: any): o is _164.QueryUnpoolWhitelistRequestSDKType; - isAmino(o: any): o is _164.QueryUnpoolWhitelistRequestAmino; - encode(_: _164.QueryUnpoolWhitelistRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.QueryUnpoolWhitelistRequest; - fromJSON(_: any): _164.QueryUnpoolWhitelistRequest; - toJSON(_: _164.QueryUnpoolWhitelistRequest): unknown; - fromPartial(_: {}): _164.QueryUnpoolWhitelistRequest; - fromSDK(_: _164.QueryUnpoolWhitelistRequestSDKType): _164.QueryUnpoolWhitelistRequest; - toSDK(_: _164.QueryUnpoolWhitelistRequest): _164.QueryUnpoolWhitelistRequestSDKType; - fromAmino(_: _164.QueryUnpoolWhitelistRequestAmino): _164.QueryUnpoolWhitelistRequest; - toAmino(_: _164.QueryUnpoolWhitelistRequest): _164.QueryUnpoolWhitelistRequestAmino; - fromAminoMsg(object: _164.QueryUnpoolWhitelistRequestAminoMsg): _164.QueryUnpoolWhitelistRequest; - toAminoMsg(message: _164.QueryUnpoolWhitelistRequest): _164.QueryUnpoolWhitelistRequestAminoMsg; - fromProtoMsg(message: _164.QueryUnpoolWhitelistRequestProtoMsg): _164.QueryUnpoolWhitelistRequest; - toProto(message: _164.QueryUnpoolWhitelistRequest): Uint8Array; - toProtoMsg(message: _164.QueryUnpoolWhitelistRequest): _164.QueryUnpoolWhitelistRequestProtoMsg; - }; - QueryUnpoolWhitelistResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _164.QueryUnpoolWhitelistResponse; - isSDK(o: any): o is _164.QueryUnpoolWhitelistResponseSDKType; - isAmino(o: any): o is _164.QueryUnpoolWhitelistResponseAmino; - encode(message: _164.QueryUnpoolWhitelistResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _164.QueryUnpoolWhitelistResponse; - fromJSON(object: any): _164.QueryUnpoolWhitelistResponse; - toJSON(message: _164.QueryUnpoolWhitelistResponse): unknown; - fromPartial(object: { - poolIds?: bigint[]; - }): _164.QueryUnpoolWhitelistResponse; - fromSDK(object: _164.QueryUnpoolWhitelistResponseSDKType): _164.QueryUnpoolWhitelistResponse; - toSDK(message: _164.QueryUnpoolWhitelistResponse): _164.QueryUnpoolWhitelistResponseSDKType; - fromAmino(object: _164.QueryUnpoolWhitelistResponseAmino): _164.QueryUnpoolWhitelistResponse; - toAmino(message: _164.QueryUnpoolWhitelistResponse): _164.QueryUnpoolWhitelistResponseAmino; - fromAminoMsg(object: _164.QueryUnpoolWhitelistResponseAminoMsg): _164.QueryUnpoolWhitelistResponse; - toAminoMsg(message: _164.QueryUnpoolWhitelistResponse): _164.QueryUnpoolWhitelistResponseAminoMsg; - fromProtoMsg(message: _164.QueryUnpoolWhitelistResponseProtoMsg): _164.QueryUnpoolWhitelistResponse; - toProto(message: _164.QueryUnpoolWhitelistResponse): Uint8Array; - toProtoMsg(message: _164.QueryUnpoolWhitelistResponse): _164.QueryUnpoolWhitelistResponseProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _163.Params; - isSDK(o: any): o is _163.ParamsSDKType; - isAmino(o: any): o is _163.ParamsAmino; - encode(message: _163.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _163.Params; - fromJSON(object: any): _163.Params; - toJSON(message: _163.Params): unknown; - fromPartial(object: { - minimumRiskFactor?: string; - }): _163.Params; - fromSDK(object: _163.ParamsSDKType): _163.Params; - toSDK(message: _163.Params): _163.ParamsSDKType; - fromAmino(object: _163.ParamsAmino): _163.Params; - toAmino(message: _163.Params): _163.ParamsAmino; - fromAminoMsg(object: _163.ParamsAminoMsg): _163.Params; - toAminoMsg(message: _163.Params): _163.ParamsAminoMsg; - fromProtoMsg(message: _163.ParamsProtoMsg): _163.Params; - toProto(message: _163.Params): Uint8Array; - toProtoMsg(message: _163.Params): _163.ParamsProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _162.GenesisState; - isSDK(o: any): o is _162.GenesisStateSDKType; - isAmino(o: any): o is _162.GenesisStateAmino; - encode(message: _162.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _162.GenesisState; - fromJSON(object: any): _162.GenesisState; - toJSON(message: _162.GenesisState): unknown; - fromPartial(object: { - params?: { - minimumRiskFactor?: string; - }; - superfluidAssets?: { - denom?: string; - assetType?: _165.SuperfluidAssetType; - }[]; - osmoEquivalentMultipliers?: { - epochNumber?: bigint; - denom?: string; - multiplier?: string; - }[]; - intermediaryAccounts?: { - denom?: string; - valAddr?: string; - gaugeId?: bigint; - }[]; - intemediaryAccountConnections?: { - lockId?: bigint; - intermediaryAccount?: string; - }[]; - }): _162.GenesisState; - fromSDK(object: _162.GenesisStateSDKType): _162.GenesisState; - toSDK(message: _162.GenesisState): _162.GenesisStateSDKType; - fromAmino(object: _162.GenesisStateAmino): _162.GenesisState; - toAmino(message: _162.GenesisState): _162.GenesisStateAmino; - fromAminoMsg(object: _162.GenesisStateAminoMsg): _162.GenesisState; - toAminoMsg(message: _162.GenesisState): _162.GenesisStateAminoMsg; - fromProtoMsg(message: _162.GenesisStateProtoMsg): _162.GenesisState; - toProto(message: _162.GenesisState): Uint8Array; - toProtoMsg(message: _162.GenesisState): _162.GenesisStateProtoMsg; - }; - }; - namespace tokenfactory { - const v1beta1: { - MsgClientImpl: typeof _301.MsgClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _301.MsgClientImpl; - QueryClientImpl: typeof _293.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useParams: ({ request, options }: _293.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomAuthorityMetadata: ({ request, options }: _293.UseDenomAuthorityMetadataQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomsFromCreator: ({ request, options }: _293.UseDenomsFromCreatorQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_170.QueryParamsRequest, _170.QueryParamsResponse>; - params(request: _170.QueryParamsRequest): import("..").MobxResponse<_170.QueryParamsResponse>; - }; - }; - QueryDenomAuthorityMetadataStore: { - new (): { - store: import("..").QueryStore<_170.QueryDenomAuthorityMetadataRequest, _170.QueryDenomAuthorityMetadataResponse>; - denomAuthorityMetadata(request: _170.QueryDenomAuthorityMetadataRequest): import("..").MobxResponse<_170.QueryDenomAuthorityMetadataResponse>; - }; - }; - QueryDenomsFromCreatorStore: { - new (): { - store: import("..").QueryStore<_170.QueryDenomsFromCreatorRequest, _170.QueryDenomsFromCreatorResponse>; - denomsFromCreator(request: _170.QueryDenomsFromCreatorRequest): import("..").MobxResponse<_170.QueryDenomsFromCreatorResponse>; - }; - }; - }; - registry: readonly [string, import("..").TelescopeGeneratedType][]; - load: (protoRegistry: import("@cosmjs/proto-signing").Registry) => void; - MessageComposer: { - encoded: { - createDenom(value: _171.MsgCreateDenom): { - typeUrl: string; - value: Uint8Array; - }; - mint(value: _171.MsgMint): { - typeUrl: string; - value: Uint8Array; - }; - burn(value: _171.MsgBurn): { - typeUrl: string; - value: Uint8Array; - }; - changeAdmin(value: _171.MsgChangeAdmin): { - typeUrl: string; - value: Uint8Array; - }; - setDenomMetadata(value: _171.MsgSetDenomMetadata): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createDenom(value: _171.MsgCreateDenom): { - typeUrl: string; - value: _171.MsgCreateDenom; - }; - mint(value: _171.MsgMint): { - typeUrl: string; - value: _171.MsgMint; - }; - burn(value: _171.MsgBurn): { - typeUrl: string; - value: _171.MsgBurn; - }; - changeAdmin(value: _171.MsgChangeAdmin): { - typeUrl: string; - value: _171.MsgChangeAdmin; - }; - setDenomMetadata(value: _171.MsgSetDenomMetadata): { - typeUrl: string; - value: _171.MsgSetDenomMetadata; - }; - }; - toJSON: { - createDenom(value: _171.MsgCreateDenom): { - typeUrl: string; - value: unknown; - }; - mint(value: _171.MsgMint): { - typeUrl: string; - value: unknown; - }; - burn(value: _171.MsgBurn): { - typeUrl: string; - value: unknown; - }; - changeAdmin(value: _171.MsgChangeAdmin): { - typeUrl: string; - value: unknown; - }; - setDenomMetadata(value: _171.MsgSetDenomMetadata): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createDenom(value: any): { - typeUrl: string; - value: _171.MsgCreateDenom; - }; - mint(value: any): { - typeUrl: string; - value: _171.MsgMint; - }; - burn(value: any): { - typeUrl: string; - value: _171.MsgBurn; - }; - changeAdmin(value: any): { - typeUrl: string; - value: _171.MsgChangeAdmin; - }; - setDenomMetadata(value: any): { - typeUrl: string; - value: _171.MsgSetDenomMetadata; - }; - }; - fromPartial: { - createDenom(value: _171.MsgCreateDenom): { - typeUrl: string; - value: _171.MsgCreateDenom; - }; - mint(value: _171.MsgMint): { - typeUrl: string; - value: _171.MsgMint; - }; - burn(value: _171.MsgBurn): { - typeUrl: string; - value: _171.MsgBurn; - }; - changeAdmin(value: _171.MsgChangeAdmin): { - typeUrl: string; - value: _171.MsgChangeAdmin; - }; - setDenomMetadata(value: _171.MsgSetDenomMetadata): { - typeUrl: string; - value: _171.MsgSetDenomMetadata; - }; - }; - }; - AminoConverter: { - "/osmosis.tokenfactory.v1beta1.MsgCreateDenom": { - aminoType: string; - toAmino: (message: _171.MsgCreateDenom) => _171.MsgCreateDenomAmino; - fromAmino: (object: _171.MsgCreateDenomAmino) => _171.MsgCreateDenom; - }; - "/osmosis.tokenfactory.v1beta1.MsgMint": { - aminoType: string; - toAmino: (message: _171.MsgMint) => _171.MsgMintAmino; - fromAmino: (object: _171.MsgMintAmino) => _171.MsgMint; - }; - "/osmosis.tokenfactory.v1beta1.MsgBurn": { - aminoType: string; - toAmino: (message: _171.MsgBurn) => _171.MsgBurnAmino; - fromAmino: (object: _171.MsgBurnAmino) => _171.MsgBurn; - }; - "/osmosis.tokenfactory.v1beta1.MsgChangeAdmin": { - aminoType: string; - toAmino: (message: _171.MsgChangeAdmin) => _171.MsgChangeAdminAmino; - fromAmino: (object: _171.MsgChangeAdminAmino) => _171.MsgChangeAdmin; - }; - "/osmosis.tokenfactory.v1beta1.MsgSetDenomMetadata": { - aminoType: string; - toAmino: (message: _171.MsgSetDenomMetadata) => _171.MsgSetDenomMetadataAmino; - fromAmino: (object: _171.MsgSetDenomMetadataAmino) => _171.MsgSetDenomMetadata; - }; - }; - MsgCreateDenom: { - typeUrl: string; - aminoType: string; - is(o: any): o is _171.MsgCreateDenom; - isSDK(o: any): o is _171.MsgCreateDenomSDKType; - isAmino(o: any): o is _171.MsgCreateDenomAmino; - encode(message: _171.MsgCreateDenom, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _171.MsgCreateDenom; - fromJSON(object: any): _171.MsgCreateDenom; - toJSON(message: _171.MsgCreateDenom): unknown; - fromPartial(object: { - sender?: string; - subdenom?: string; - }): _171.MsgCreateDenom; - fromSDK(object: _171.MsgCreateDenomSDKType): _171.MsgCreateDenom; - toSDK(message: _171.MsgCreateDenom): _171.MsgCreateDenomSDKType; - fromAmino(object: _171.MsgCreateDenomAmino): _171.MsgCreateDenom; - toAmino(message: _171.MsgCreateDenom): _171.MsgCreateDenomAmino; - fromAminoMsg(object: _171.MsgCreateDenomAminoMsg): _171.MsgCreateDenom; - toAminoMsg(message: _171.MsgCreateDenom): _171.MsgCreateDenomAminoMsg; - fromProtoMsg(message: _171.MsgCreateDenomProtoMsg): _171.MsgCreateDenom; - toProto(message: _171.MsgCreateDenom): Uint8Array; - toProtoMsg(message: _171.MsgCreateDenom): _171.MsgCreateDenomProtoMsg; - }; - MsgCreateDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _171.MsgCreateDenomResponse; - isSDK(o: any): o is _171.MsgCreateDenomResponseSDKType; - isAmino(o: any): o is _171.MsgCreateDenomResponseAmino; - encode(message: _171.MsgCreateDenomResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _171.MsgCreateDenomResponse; - fromJSON(object: any): _171.MsgCreateDenomResponse; - toJSON(message: _171.MsgCreateDenomResponse): unknown; - fromPartial(object: { - newTokenDenom?: string; - }): _171.MsgCreateDenomResponse; - fromSDK(object: _171.MsgCreateDenomResponseSDKType): _171.MsgCreateDenomResponse; - toSDK(message: _171.MsgCreateDenomResponse): _171.MsgCreateDenomResponseSDKType; - fromAmino(object: _171.MsgCreateDenomResponseAmino): _171.MsgCreateDenomResponse; - toAmino(message: _171.MsgCreateDenomResponse): _171.MsgCreateDenomResponseAmino; - fromAminoMsg(object: _171.MsgCreateDenomResponseAminoMsg): _171.MsgCreateDenomResponse; - toAminoMsg(message: _171.MsgCreateDenomResponse): _171.MsgCreateDenomResponseAminoMsg; - fromProtoMsg(message: _171.MsgCreateDenomResponseProtoMsg): _171.MsgCreateDenomResponse; - toProto(message: _171.MsgCreateDenomResponse): Uint8Array; - toProtoMsg(message: _171.MsgCreateDenomResponse): _171.MsgCreateDenomResponseProtoMsg; - }; - MsgMint: { - typeUrl: string; - aminoType: string; - is(o: any): o is _171.MsgMint; - isSDK(o: any): o is _171.MsgMintSDKType; - isAmino(o: any): o is _171.MsgMintAmino; - encode(message: _171.MsgMint, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _171.MsgMint; - fromJSON(object: any): _171.MsgMint; - toJSON(message: _171.MsgMint): unknown; - fromPartial(object: { - sender?: string; - amount?: { - denom?: string; - amount?: string; - }; - }): _171.MsgMint; - fromSDK(object: _171.MsgMintSDKType): _171.MsgMint; - toSDK(message: _171.MsgMint): _171.MsgMintSDKType; - fromAmino(object: _171.MsgMintAmino): _171.MsgMint; - toAmino(message: _171.MsgMint): _171.MsgMintAmino; - fromAminoMsg(object: _171.MsgMintAminoMsg): _171.MsgMint; - toAminoMsg(message: _171.MsgMint): _171.MsgMintAminoMsg; - fromProtoMsg(message: _171.MsgMintProtoMsg): _171.MsgMint; - toProto(message: _171.MsgMint): Uint8Array; - toProtoMsg(message: _171.MsgMint): _171.MsgMintProtoMsg; - }; - MsgMintResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _171.MsgMintResponse; - isSDK(o: any): o is _171.MsgMintResponseSDKType; - isAmino(o: any): o is _171.MsgMintResponseAmino; - encode(_: _171.MsgMintResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _171.MsgMintResponse; - fromJSON(_: any): _171.MsgMintResponse; - toJSON(_: _171.MsgMintResponse): unknown; - fromPartial(_: {}): _171.MsgMintResponse; - fromSDK(_: _171.MsgMintResponseSDKType): _171.MsgMintResponse; - toSDK(_: _171.MsgMintResponse): _171.MsgMintResponseSDKType; - fromAmino(_: _171.MsgMintResponseAmino): _171.MsgMintResponse; - toAmino(_: _171.MsgMintResponse): _171.MsgMintResponseAmino; - fromAminoMsg(object: _171.MsgMintResponseAminoMsg): _171.MsgMintResponse; - toAminoMsg(message: _171.MsgMintResponse): _171.MsgMintResponseAminoMsg; - fromProtoMsg(message: _171.MsgMintResponseProtoMsg): _171.MsgMintResponse; - toProto(message: _171.MsgMintResponse): Uint8Array; - toProtoMsg(message: _171.MsgMintResponse): _171.MsgMintResponseProtoMsg; - }; - MsgBurn: { - typeUrl: string; - aminoType: string; - is(o: any): o is _171.MsgBurn; - isSDK(o: any): o is _171.MsgBurnSDKType; - isAmino(o: any): o is _171.MsgBurnAmino; - encode(message: _171.MsgBurn, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _171.MsgBurn; - fromJSON(object: any): _171.MsgBurn; - toJSON(message: _171.MsgBurn): unknown; - fromPartial(object: { - sender?: string; - amount?: { - denom?: string; - amount?: string; - }; - }): _171.MsgBurn; - fromSDK(object: _171.MsgBurnSDKType): _171.MsgBurn; - toSDK(message: _171.MsgBurn): _171.MsgBurnSDKType; - fromAmino(object: _171.MsgBurnAmino): _171.MsgBurn; - toAmino(message: _171.MsgBurn): _171.MsgBurnAmino; - fromAminoMsg(object: _171.MsgBurnAminoMsg): _171.MsgBurn; - toAminoMsg(message: _171.MsgBurn): _171.MsgBurnAminoMsg; - fromProtoMsg(message: _171.MsgBurnProtoMsg): _171.MsgBurn; - toProto(message: _171.MsgBurn): Uint8Array; - toProtoMsg(message: _171.MsgBurn): _171.MsgBurnProtoMsg; - }; - MsgBurnResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _171.MsgBurnResponse; - isSDK(o: any): o is _171.MsgBurnResponseSDKType; - isAmino(o: any): o is _171.MsgBurnResponseAmino; - encode(_: _171.MsgBurnResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _171.MsgBurnResponse; - fromJSON(_: any): _171.MsgBurnResponse; - toJSON(_: _171.MsgBurnResponse): unknown; - fromPartial(_: {}): _171.MsgBurnResponse; - fromSDK(_: _171.MsgBurnResponseSDKType): _171.MsgBurnResponse; - toSDK(_: _171.MsgBurnResponse): _171.MsgBurnResponseSDKType; - fromAmino(_: _171.MsgBurnResponseAmino): _171.MsgBurnResponse; - toAmino(_: _171.MsgBurnResponse): _171.MsgBurnResponseAmino; - fromAminoMsg(object: _171.MsgBurnResponseAminoMsg): _171.MsgBurnResponse; - toAminoMsg(message: _171.MsgBurnResponse): _171.MsgBurnResponseAminoMsg; - fromProtoMsg(message: _171.MsgBurnResponseProtoMsg): _171.MsgBurnResponse; - toProto(message: _171.MsgBurnResponse): Uint8Array; - toProtoMsg(message: _171.MsgBurnResponse): _171.MsgBurnResponseProtoMsg; - }; - MsgChangeAdmin: { - typeUrl: string; - aminoType: string; - is(o: any): o is _171.MsgChangeAdmin; - isSDK(o: any): o is _171.MsgChangeAdminSDKType; - isAmino(o: any): o is _171.MsgChangeAdminAmino; - encode(message: _171.MsgChangeAdmin, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _171.MsgChangeAdmin; - fromJSON(object: any): _171.MsgChangeAdmin; - toJSON(message: _171.MsgChangeAdmin): unknown; - fromPartial(object: { - sender?: string; - denom?: string; - newAdmin?: string; - }): _171.MsgChangeAdmin; - fromSDK(object: _171.MsgChangeAdminSDKType): _171.MsgChangeAdmin; - toSDK(message: _171.MsgChangeAdmin): _171.MsgChangeAdminSDKType; - fromAmino(object: _171.MsgChangeAdminAmino): _171.MsgChangeAdmin; - toAmino(message: _171.MsgChangeAdmin): _171.MsgChangeAdminAmino; - fromAminoMsg(object: _171.MsgChangeAdminAminoMsg): _171.MsgChangeAdmin; - toAminoMsg(message: _171.MsgChangeAdmin): _171.MsgChangeAdminAminoMsg; - fromProtoMsg(message: _171.MsgChangeAdminProtoMsg): _171.MsgChangeAdmin; - toProto(message: _171.MsgChangeAdmin): Uint8Array; - toProtoMsg(message: _171.MsgChangeAdmin): _171.MsgChangeAdminProtoMsg; - }; - MsgChangeAdminResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _171.MsgChangeAdminResponse; - isSDK(o: any): o is _171.MsgChangeAdminResponseSDKType; - isAmino(o: any): o is _171.MsgChangeAdminResponseAmino; - encode(_: _171.MsgChangeAdminResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _171.MsgChangeAdminResponse; - fromJSON(_: any): _171.MsgChangeAdminResponse; - toJSON(_: _171.MsgChangeAdminResponse): unknown; - fromPartial(_: {}): _171.MsgChangeAdminResponse; - fromSDK(_: _171.MsgChangeAdminResponseSDKType): _171.MsgChangeAdminResponse; - toSDK(_: _171.MsgChangeAdminResponse): _171.MsgChangeAdminResponseSDKType; - fromAmino(_: _171.MsgChangeAdminResponseAmino): _171.MsgChangeAdminResponse; - toAmino(_: _171.MsgChangeAdminResponse): _171.MsgChangeAdminResponseAmino; - fromAminoMsg(object: _171.MsgChangeAdminResponseAminoMsg): _171.MsgChangeAdminResponse; - toAminoMsg(message: _171.MsgChangeAdminResponse): _171.MsgChangeAdminResponseAminoMsg; - fromProtoMsg(message: _171.MsgChangeAdminResponseProtoMsg): _171.MsgChangeAdminResponse; - toProto(message: _171.MsgChangeAdminResponse): Uint8Array; - toProtoMsg(message: _171.MsgChangeAdminResponse): _171.MsgChangeAdminResponseProtoMsg; - }; - MsgSetDenomMetadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is _171.MsgSetDenomMetadata; - isSDK(o: any): o is _171.MsgSetDenomMetadataSDKType; - isAmino(o: any): o is _171.MsgSetDenomMetadataAmino; - encode(message: _171.MsgSetDenomMetadata, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _171.MsgSetDenomMetadata; - fromJSON(object: any): _171.MsgSetDenomMetadata; - toJSON(message: _171.MsgSetDenomMetadata): unknown; - fromPartial(object: { - sender?: string; - metadata?: { - description?: string; - denomUnits?: { - denom?: string; - exponent?: number; - aliases?: string[]; - }[]; - base?: string; - display?: string; - name?: string; - symbol?: string; - uri?: string; - uriHash?: string; - }; - }): _171.MsgSetDenomMetadata; - fromSDK(object: _171.MsgSetDenomMetadataSDKType): _171.MsgSetDenomMetadata; - toSDK(message: _171.MsgSetDenomMetadata): _171.MsgSetDenomMetadataSDKType; - fromAmino(object: _171.MsgSetDenomMetadataAmino): _171.MsgSetDenomMetadata; - toAmino(message: _171.MsgSetDenomMetadata): _171.MsgSetDenomMetadataAmino; - fromAminoMsg(object: _171.MsgSetDenomMetadataAminoMsg): _171.MsgSetDenomMetadata; - toAminoMsg(message: _171.MsgSetDenomMetadata): _171.MsgSetDenomMetadataAminoMsg; - fromProtoMsg(message: _171.MsgSetDenomMetadataProtoMsg): _171.MsgSetDenomMetadata; - toProto(message: _171.MsgSetDenomMetadata): Uint8Array; - toProtoMsg(message: _171.MsgSetDenomMetadata): _171.MsgSetDenomMetadataProtoMsg; - }; - MsgSetDenomMetadataResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _171.MsgSetDenomMetadataResponse; - isSDK(o: any): o is _171.MsgSetDenomMetadataResponseSDKType; - isAmino(o: any): o is _171.MsgSetDenomMetadataResponseAmino; - encode(_: _171.MsgSetDenomMetadataResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _171.MsgSetDenomMetadataResponse; - fromJSON(_: any): _171.MsgSetDenomMetadataResponse; - toJSON(_: _171.MsgSetDenomMetadataResponse): unknown; - fromPartial(_: {}): _171.MsgSetDenomMetadataResponse; - fromSDK(_: _171.MsgSetDenomMetadataResponseSDKType): _171.MsgSetDenomMetadataResponse; - toSDK(_: _171.MsgSetDenomMetadataResponse): _171.MsgSetDenomMetadataResponseSDKType; - fromAmino(_: _171.MsgSetDenomMetadataResponseAmino): _171.MsgSetDenomMetadataResponse; - toAmino(_: _171.MsgSetDenomMetadataResponse): _171.MsgSetDenomMetadataResponseAmino; - fromAminoMsg(object: _171.MsgSetDenomMetadataResponseAminoMsg): _171.MsgSetDenomMetadataResponse; - toAminoMsg(message: _171.MsgSetDenomMetadataResponse): _171.MsgSetDenomMetadataResponseAminoMsg; - fromProtoMsg(message: _171.MsgSetDenomMetadataResponseProtoMsg): _171.MsgSetDenomMetadataResponse; - toProto(message: _171.MsgSetDenomMetadataResponse): Uint8Array; - toProtoMsg(message: _171.MsgSetDenomMetadataResponse): _171.MsgSetDenomMetadataResponseProtoMsg; - }; - QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _170.QueryParamsRequest; - isSDK(o: any): o is _170.QueryParamsRequestSDKType; - isAmino(o: any): o is _170.QueryParamsRequestAmino; - encode(_: _170.QueryParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _170.QueryParamsRequest; - fromJSON(_: any): _170.QueryParamsRequest; - toJSON(_: _170.QueryParamsRequest): unknown; - fromPartial(_: {}): _170.QueryParamsRequest; - fromSDK(_: _170.QueryParamsRequestSDKType): _170.QueryParamsRequest; - toSDK(_: _170.QueryParamsRequest): _170.QueryParamsRequestSDKType; - fromAmino(_: _170.QueryParamsRequestAmino): _170.QueryParamsRequest; - toAmino(_: _170.QueryParamsRequest): _170.QueryParamsRequestAmino; - fromAminoMsg(object: _170.QueryParamsRequestAminoMsg): _170.QueryParamsRequest; - toAminoMsg(message: _170.QueryParamsRequest): _170.QueryParamsRequestAminoMsg; - fromProtoMsg(message: _170.QueryParamsRequestProtoMsg): _170.QueryParamsRequest; - toProto(message: _170.QueryParamsRequest): Uint8Array; - toProtoMsg(message: _170.QueryParamsRequest): _170.QueryParamsRequestProtoMsg; - }; - QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _170.QueryParamsResponse; - isSDK(o: any): o is _170.QueryParamsResponseSDKType; - isAmino(o: any): o is _170.QueryParamsResponseAmino; - encode(message: _170.QueryParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _170.QueryParamsResponse; - fromJSON(object: any): _170.QueryParamsResponse; - toJSON(message: _170.QueryParamsResponse): unknown; - fromPartial(object: { - params?: { - denomCreationFee?: { - denom?: string; - amount?: string; - }[]; - }; - }): _170.QueryParamsResponse; - fromSDK(object: _170.QueryParamsResponseSDKType): _170.QueryParamsResponse; - toSDK(message: _170.QueryParamsResponse): _170.QueryParamsResponseSDKType; - fromAmino(object: _170.QueryParamsResponseAmino): _170.QueryParamsResponse; - toAmino(message: _170.QueryParamsResponse): _170.QueryParamsResponseAmino; - fromAminoMsg(object: _170.QueryParamsResponseAminoMsg): _170.QueryParamsResponse; - toAminoMsg(message: _170.QueryParamsResponse): _170.QueryParamsResponseAminoMsg; - fromProtoMsg(message: _170.QueryParamsResponseProtoMsg): _170.QueryParamsResponse; - toProto(message: _170.QueryParamsResponse): Uint8Array; - toProtoMsg(message: _170.QueryParamsResponse): _170.QueryParamsResponseProtoMsg; - }; - QueryDenomAuthorityMetadataRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _170.QueryDenomAuthorityMetadataRequest; - isSDK(o: any): o is _170.QueryDenomAuthorityMetadataRequestSDKType; - isAmino(o: any): o is _170.QueryDenomAuthorityMetadataRequestAmino; - encode(message: _170.QueryDenomAuthorityMetadataRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _170.QueryDenomAuthorityMetadataRequest; - fromJSON(object: any): _170.QueryDenomAuthorityMetadataRequest; - toJSON(message: _170.QueryDenomAuthorityMetadataRequest): unknown; - fromPartial(object: { - denom?: string; - }): _170.QueryDenomAuthorityMetadataRequest; - fromSDK(object: _170.QueryDenomAuthorityMetadataRequestSDKType): _170.QueryDenomAuthorityMetadataRequest; - toSDK(message: _170.QueryDenomAuthorityMetadataRequest): _170.QueryDenomAuthorityMetadataRequestSDKType; - fromAmino(object: _170.QueryDenomAuthorityMetadataRequestAmino): _170.QueryDenomAuthorityMetadataRequest; - toAmino(message: _170.QueryDenomAuthorityMetadataRequest): _170.QueryDenomAuthorityMetadataRequestAmino; - fromAminoMsg(object: _170.QueryDenomAuthorityMetadataRequestAminoMsg): _170.QueryDenomAuthorityMetadataRequest; - toAminoMsg(message: _170.QueryDenomAuthorityMetadataRequest): _170.QueryDenomAuthorityMetadataRequestAminoMsg; - fromProtoMsg(message: _170.QueryDenomAuthorityMetadataRequestProtoMsg): _170.QueryDenomAuthorityMetadataRequest; - toProto(message: _170.QueryDenomAuthorityMetadataRequest): Uint8Array; - toProtoMsg(message: _170.QueryDenomAuthorityMetadataRequest): _170.QueryDenomAuthorityMetadataRequestProtoMsg; - }; - QueryDenomAuthorityMetadataResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _170.QueryDenomAuthorityMetadataResponse; - isSDK(o: any): o is _170.QueryDenomAuthorityMetadataResponseSDKType; - isAmino(o: any): o is _170.QueryDenomAuthorityMetadataResponseAmino; - encode(message: _170.QueryDenomAuthorityMetadataResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _170.QueryDenomAuthorityMetadataResponse; - fromJSON(object: any): _170.QueryDenomAuthorityMetadataResponse; - toJSON(message: _170.QueryDenomAuthorityMetadataResponse): unknown; - fromPartial(object: { - authorityMetadata?: { - admin?: string; - }; - }): _170.QueryDenomAuthorityMetadataResponse; - fromSDK(object: _170.QueryDenomAuthorityMetadataResponseSDKType): _170.QueryDenomAuthorityMetadataResponse; - toSDK(message: _170.QueryDenomAuthorityMetadataResponse): _170.QueryDenomAuthorityMetadataResponseSDKType; - fromAmino(object: _170.QueryDenomAuthorityMetadataResponseAmino): _170.QueryDenomAuthorityMetadataResponse; - toAmino(message: _170.QueryDenomAuthorityMetadataResponse): _170.QueryDenomAuthorityMetadataResponseAmino; - fromAminoMsg(object: _170.QueryDenomAuthorityMetadataResponseAminoMsg): _170.QueryDenomAuthorityMetadataResponse; - toAminoMsg(message: _170.QueryDenomAuthorityMetadataResponse): _170.QueryDenomAuthorityMetadataResponseAminoMsg; - fromProtoMsg(message: _170.QueryDenomAuthorityMetadataResponseProtoMsg): _170.QueryDenomAuthorityMetadataResponse; - toProto(message: _170.QueryDenomAuthorityMetadataResponse): Uint8Array; - toProtoMsg(message: _170.QueryDenomAuthorityMetadataResponse): _170.QueryDenomAuthorityMetadataResponseProtoMsg; - }; - QueryDenomsFromCreatorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _170.QueryDenomsFromCreatorRequest; - isSDK(o: any): o is _170.QueryDenomsFromCreatorRequestSDKType; - isAmino(o: any): o is _170.QueryDenomsFromCreatorRequestAmino; - encode(message: _170.QueryDenomsFromCreatorRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _170.QueryDenomsFromCreatorRequest; - fromJSON(object: any): _170.QueryDenomsFromCreatorRequest; - toJSON(message: _170.QueryDenomsFromCreatorRequest): unknown; - fromPartial(object: { - creator?: string; - }): _170.QueryDenomsFromCreatorRequest; - fromSDK(object: _170.QueryDenomsFromCreatorRequestSDKType): _170.QueryDenomsFromCreatorRequest; - toSDK(message: _170.QueryDenomsFromCreatorRequest): _170.QueryDenomsFromCreatorRequestSDKType; - fromAmino(object: _170.QueryDenomsFromCreatorRequestAmino): _170.QueryDenomsFromCreatorRequest; - toAmino(message: _170.QueryDenomsFromCreatorRequest): _170.QueryDenomsFromCreatorRequestAmino; - fromAminoMsg(object: _170.QueryDenomsFromCreatorRequestAminoMsg): _170.QueryDenomsFromCreatorRequest; - toAminoMsg(message: _170.QueryDenomsFromCreatorRequest): _170.QueryDenomsFromCreatorRequestAminoMsg; - fromProtoMsg(message: _170.QueryDenomsFromCreatorRequestProtoMsg): _170.QueryDenomsFromCreatorRequest; - toProto(message: _170.QueryDenomsFromCreatorRequest): Uint8Array; - toProtoMsg(message: _170.QueryDenomsFromCreatorRequest): _170.QueryDenomsFromCreatorRequestProtoMsg; - }; - QueryDenomsFromCreatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _170.QueryDenomsFromCreatorResponse; - isSDK(o: any): o is _170.QueryDenomsFromCreatorResponseSDKType; - isAmino(o: any): o is _170.QueryDenomsFromCreatorResponseAmino; - encode(message: _170.QueryDenomsFromCreatorResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _170.QueryDenomsFromCreatorResponse; - fromJSON(object: any): _170.QueryDenomsFromCreatorResponse; - toJSON(message: _170.QueryDenomsFromCreatorResponse): unknown; - fromPartial(object: { - denoms?: string[]; - }): _170.QueryDenomsFromCreatorResponse; - fromSDK(object: _170.QueryDenomsFromCreatorResponseSDKType): _170.QueryDenomsFromCreatorResponse; - toSDK(message: _170.QueryDenomsFromCreatorResponse): _170.QueryDenomsFromCreatorResponseSDKType; - fromAmino(object: _170.QueryDenomsFromCreatorResponseAmino): _170.QueryDenomsFromCreatorResponse; - toAmino(message: _170.QueryDenomsFromCreatorResponse): _170.QueryDenomsFromCreatorResponseAmino; - fromAminoMsg(object: _170.QueryDenomsFromCreatorResponseAminoMsg): _170.QueryDenomsFromCreatorResponse; - toAminoMsg(message: _170.QueryDenomsFromCreatorResponse): _170.QueryDenomsFromCreatorResponseAminoMsg; - fromProtoMsg(message: _170.QueryDenomsFromCreatorResponseProtoMsg): _170.QueryDenomsFromCreatorResponse; - toProto(message: _170.QueryDenomsFromCreatorResponse): Uint8Array; - toProtoMsg(message: _170.QueryDenomsFromCreatorResponse): _170.QueryDenomsFromCreatorResponseProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _169.Params; - isSDK(o: any): o is _169.ParamsSDKType; - isAmino(o: any): o is _169.ParamsAmino; - encode(message: _169.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _169.Params; - fromJSON(object: any): _169.Params; - toJSON(message: _169.Params): unknown; - fromPartial(object: { - denomCreationFee?: { - denom?: string; - amount?: string; - }[]; - }): _169.Params; - fromSDK(object: _169.ParamsSDKType): _169.Params; - toSDK(message: _169.Params): _169.ParamsSDKType; - fromAmino(object: _169.ParamsAmino): _169.Params; - toAmino(message: _169.Params): _169.ParamsAmino; - fromAminoMsg(object: _169.ParamsAminoMsg): _169.Params; - toAminoMsg(message: _169.Params): _169.ParamsAminoMsg; - fromProtoMsg(message: _169.ParamsProtoMsg): _169.Params; - toProto(message: _169.Params): Uint8Array; - toProtoMsg(message: _169.Params): _169.ParamsProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _168.GenesisState; - isSDK(o: any): o is _168.GenesisStateSDKType; - isAmino(o: any): o is _168.GenesisStateAmino; - encode(message: _168.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _168.GenesisState; - fromJSON(object: any): _168.GenesisState; - toJSON(message: _168.GenesisState): unknown; - fromPartial(object: { - params?: { - denomCreationFee?: { - denom?: string; - amount?: string; - }[]; - }; - factoryDenoms?: { - denom?: string; - authorityMetadata?: { - admin?: string; - }; - }[]; - }): _168.GenesisState; - fromSDK(object: _168.GenesisStateSDKType): _168.GenesisState; - toSDK(message: _168.GenesisState): _168.GenesisStateSDKType; - fromAmino(object: _168.GenesisStateAmino): _168.GenesisState; - toAmino(message: _168.GenesisState): _168.GenesisStateAmino; - fromAminoMsg(object: _168.GenesisStateAminoMsg): _168.GenesisState; - toAminoMsg(message: _168.GenesisState): _168.GenesisStateAminoMsg; - fromProtoMsg(message: _168.GenesisStateProtoMsg): _168.GenesisState; - toProto(message: _168.GenesisState): Uint8Array; - toProtoMsg(message: _168.GenesisState): _168.GenesisStateProtoMsg; - }; - GenesisDenom: { - typeUrl: string; - aminoType: string; - is(o: any): o is _168.GenesisDenom; - isSDK(o: any): o is _168.GenesisDenomSDKType; - isAmino(o: any): o is _168.GenesisDenomAmino; - encode(message: _168.GenesisDenom, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _168.GenesisDenom; - fromJSON(object: any): _168.GenesisDenom; - toJSON(message: _168.GenesisDenom): unknown; - fromPartial(object: { - denom?: string; - authorityMetadata?: { - admin?: string; - }; - }): _168.GenesisDenom; - fromSDK(object: _168.GenesisDenomSDKType): _168.GenesisDenom; - toSDK(message: _168.GenesisDenom): _168.GenesisDenomSDKType; - fromAmino(object: _168.GenesisDenomAmino): _168.GenesisDenom; - toAmino(message: _168.GenesisDenom): _168.GenesisDenomAmino; - fromAminoMsg(object: _168.GenesisDenomAminoMsg): _168.GenesisDenom; - toAminoMsg(message: _168.GenesisDenom): _168.GenesisDenomAminoMsg; - fromProtoMsg(message: _168.GenesisDenomProtoMsg): _168.GenesisDenom; - toProto(message: _168.GenesisDenom): Uint8Array; - toProtoMsg(message: _168.GenesisDenom): _168.GenesisDenomProtoMsg; - }; - DenomAuthorityMetadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is _167.DenomAuthorityMetadata; - isSDK(o: any): o is _167.DenomAuthorityMetadataSDKType; - isAmino(o: any): o is _167.DenomAuthorityMetadataAmino; - encode(message: _167.DenomAuthorityMetadata, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _167.DenomAuthorityMetadata; - fromJSON(object: any): _167.DenomAuthorityMetadata; - toJSON(message: _167.DenomAuthorityMetadata): unknown; - fromPartial(object: { - admin?: string; - }): _167.DenomAuthorityMetadata; - fromSDK(object: _167.DenomAuthorityMetadataSDKType): _167.DenomAuthorityMetadata; - toSDK(message: _167.DenomAuthorityMetadata): _167.DenomAuthorityMetadataSDKType; - fromAmino(object: _167.DenomAuthorityMetadataAmino): _167.DenomAuthorityMetadata; - toAmino(message: _167.DenomAuthorityMetadata): _167.DenomAuthorityMetadataAmino; - fromAminoMsg(object: _167.DenomAuthorityMetadataAminoMsg): _167.DenomAuthorityMetadata; - toAminoMsg(message: _167.DenomAuthorityMetadata): _167.DenomAuthorityMetadataAminoMsg; - fromProtoMsg(message: _167.DenomAuthorityMetadataProtoMsg): _167.DenomAuthorityMetadata; - toProto(message: _167.DenomAuthorityMetadata): Uint8Array; - toProtoMsg(message: _167.DenomAuthorityMetadata): _167.DenomAuthorityMetadataProtoMsg; - }; - }; - } - namespace twap { - const v1beta1: { - QueryClientImpl: typeof _294.QueryClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _294.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useParams: ({ request, options }: _294.UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useArithmeticTwap: ({ request, options }: _294.UseArithmeticTwapQuery) => import("@tanstack/react-query").UseQueryResult; - useArithmeticTwapToNow: ({ request, options }: _294.UseArithmeticTwapToNowQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryParamsStore: { - new (): { - store: import("..").QueryStore<_173.ParamsRequest, _173.ParamsResponse>; - params(request: _173.ParamsRequest): import("..").MobxResponse<_173.ParamsResponse>; - }; - }; - QueryArithmeticTwapStore: { - new (): { - store: import("..").QueryStore<_173.ArithmeticTwapRequest, _173.ArithmeticTwapResponse>; - arithmeticTwap(request: _173.ArithmeticTwapRequest): import("..").MobxResponse<_173.ArithmeticTwapResponse>; - }; - }; - QueryArithmeticTwapToNowStore: { - new (): { - store: import("..").QueryStore<_173.ArithmeticTwapToNowRequest, _173.ArithmeticTwapToNowResponse>; - arithmeticTwapToNow(request: _173.ArithmeticTwapToNowRequest): import("..").MobxResponse<_173.ArithmeticTwapToNowResponse>; - }; - }; - }; - TwapRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is _174.TwapRecord; - isSDK(o: any): o is _174.TwapRecordSDKType; - isAmino(o: any): o is _174.TwapRecordAmino; - encode(message: _174.TwapRecord, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _174.TwapRecord; - fromJSON(object: any): _174.TwapRecord; - toJSON(message: _174.TwapRecord): unknown; - fromPartial(object: { - poolId?: bigint; - asset0Denom?: string; - asset1Denom?: string; - height?: bigint; - time?: Date; - p0LastSpotPrice?: string; - p1LastSpotPrice?: string; - p0ArithmeticTwapAccumulator?: string; - p1ArithmeticTwapAccumulator?: string; - lastErrorTime?: Date; - }): _174.TwapRecord; - fromSDK(object: _174.TwapRecordSDKType): _174.TwapRecord; - toSDK(message: _174.TwapRecord): _174.TwapRecordSDKType; - fromAmino(object: _174.TwapRecordAmino): _174.TwapRecord; - toAmino(message: _174.TwapRecord): _174.TwapRecordAmino; - fromAminoMsg(object: _174.TwapRecordAminoMsg): _174.TwapRecord; - toAminoMsg(message: _174.TwapRecord): _174.TwapRecordAminoMsg; - fromProtoMsg(message: _174.TwapRecordProtoMsg): _174.TwapRecord; - toProto(message: _174.TwapRecord): Uint8Array; - toProtoMsg(message: _174.TwapRecord): _174.TwapRecordProtoMsg; - }; - ArithmeticTwapRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _173.ArithmeticTwapRequest; - isSDK(o: any): o is _173.ArithmeticTwapRequestSDKType; - isAmino(o: any): o is _173.ArithmeticTwapRequestAmino; - encode(message: _173.ArithmeticTwapRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _173.ArithmeticTwapRequest; - fromJSON(object: any): _173.ArithmeticTwapRequest; - toJSON(message: _173.ArithmeticTwapRequest): unknown; - fromPartial(object: { - poolId?: bigint; - baseAsset?: string; - quoteAsset?: string; - startTime?: Date; - endTime?: Date; - }): _173.ArithmeticTwapRequest; - fromSDK(object: _173.ArithmeticTwapRequestSDKType): _173.ArithmeticTwapRequest; - toSDK(message: _173.ArithmeticTwapRequest): _173.ArithmeticTwapRequestSDKType; - fromAmino(object: _173.ArithmeticTwapRequestAmino): _173.ArithmeticTwapRequest; - toAmino(message: _173.ArithmeticTwapRequest): _173.ArithmeticTwapRequestAmino; - fromAminoMsg(object: _173.ArithmeticTwapRequestAminoMsg): _173.ArithmeticTwapRequest; - toAminoMsg(message: _173.ArithmeticTwapRequest): _173.ArithmeticTwapRequestAminoMsg; - fromProtoMsg(message: _173.ArithmeticTwapRequestProtoMsg): _173.ArithmeticTwapRequest; - toProto(message: _173.ArithmeticTwapRequest): Uint8Array; - toProtoMsg(message: _173.ArithmeticTwapRequest): _173.ArithmeticTwapRequestProtoMsg; - }; - ArithmeticTwapResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _173.ArithmeticTwapResponse; - isSDK(o: any): o is _173.ArithmeticTwapResponseSDKType; - isAmino(o: any): o is _173.ArithmeticTwapResponseAmino; - encode(message: _173.ArithmeticTwapResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _173.ArithmeticTwapResponse; - fromJSON(object: any): _173.ArithmeticTwapResponse; - toJSON(message: _173.ArithmeticTwapResponse): unknown; - fromPartial(object: { - arithmeticTwap?: string; - }): _173.ArithmeticTwapResponse; - fromSDK(object: _173.ArithmeticTwapResponseSDKType): _173.ArithmeticTwapResponse; - toSDK(message: _173.ArithmeticTwapResponse): _173.ArithmeticTwapResponseSDKType; - fromAmino(object: _173.ArithmeticTwapResponseAmino): _173.ArithmeticTwapResponse; - toAmino(message: _173.ArithmeticTwapResponse): _173.ArithmeticTwapResponseAmino; - fromAminoMsg(object: _173.ArithmeticTwapResponseAminoMsg): _173.ArithmeticTwapResponse; - toAminoMsg(message: _173.ArithmeticTwapResponse): _173.ArithmeticTwapResponseAminoMsg; - fromProtoMsg(message: _173.ArithmeticTwapResponseProtoMsg): _173.ArithmeticTwapResponse; - toProto(message: _173.ArithmeticTwapResponse): Uint8Array; - toProtoMsg(message: _173.ArithmeticTwapResponse): _173.ArithmeticTwapResponseProtoMsg; - }; - ArithmeticTwapToNowRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _173.ArithmeticTwapToNowRequest; - isSDK(o: any): o is _173.ArithmeticTwapToNowRequestSDKType; - isAmino(o: any): o is _173.ArithmeticTwapToNowRequestAmino; - encode(message: _173.ArithmeticTwapToNowRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _173.ArithmeticTwapToNowRequest; - fromJSON(object: any): _173.ArithmeticTwapToNowRequest; - toJSON(message: _173.ArithmeticTwapToNowRequest): unknown; - fromPartial(object: { - poolId?: bigint; - baseAsset?: string; - quoteAsset?: string; - startTime?: Date; - }): _173.ArithmeticTwapToNowRequest; - fromSDK(object: _173.ArithmeticTwapToNowRequestSDKType): _173.ArithmeticTwapToNowRequest; - toSDK(message: _173.ArithmeticTwapToNowRequest): _173.ArithmeticTwapToNowRequestSDKType; - fromAmino(object: _173.ArithmeticTwapToNowRequestAmino): _173.ArithmeticTwapToNowRequest; - toAmino(message: _173.ArithmeticTwapToNowRequest): _173.ArithmeticTwapToNowRequestAmino; - fromAminoMsg(object: _173.ArithmeticTwapToNowRequestAminoMsg): _173.ArithmeticTwapToNowRequest; - toAminoMsg(message: _173.ArithmeticTwapToNowRequest): _173.ArithmeticTwapToNowRequestAminoMsg; - fromProtoMsg(message: _173.ArithmeticTwapToNowRequestProtoMsg): _173.ArithmeticTwapToNowRequest; - toProto(message: _173.ArithmeticTwapToNowRequest): Uint8Array; - toProtoMsg(message: _173.ArithmeticTwapToNowRequest): _173.ArithmeticTwapToNowRequestProtoMsg; - }; - ArithmeticTwapToNowResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _173.ArithmeticTwapToNowResponse; - isSDK(o: any): o is _173.ArithmeticTwapToNowResponseSDKType; - isAmino(o: any): o is _173.ArithmeticTwapToNowResponseAmino; - encode(message: _173.ArithmeticTwapToNowResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _173.ArithmeticTwapToNowResponse; - fromJSON(object: any): _173.ArithmeticTwapToNowResponse; - toJSON(message: _173.ArithmeticTwapToNowResponse): unknown; - fromPartial(object: { - arithmeticTwap?: string; - }): _173.ArithmeticTwapToNowResponse; - fromSDK(object: _173.ArithmeticTwapToNowResponseSDKType): _173.ArithmeticTwapToNowResponse; - toSDK(message: _173.ArithmeticTwapToNowResponse): _173.ArithmeticTwapToNowResponseSDKType; - fromAmino(object: _173.ArithmeticTwapToNowResponseAmino): _173.ArithmeticTwapToNowResponse; - toAmino(message: _173.ArithmeticTwapToNowResponse): _173.ArithmeticTwapToNowResponseAmino; - fromAminoMsg(object: _173.ArithmeticTwapToNowResponseAminoMsg): _173.ArithmeticTwapToNowResponse; - toAminoMsg(message: _173.ArithmeticTwapToNowResponse): _173.ArithmeticTwapToNowResponseAminoMsg; - fromProtoMsg(message: _173.ArithmeticTwapToNowResponseProtoMsg): _173.ArithmeticTwapToNowResponse; - toProto(message: _173.ArithmeticTwapToNowResponse): Uint8Array; - toProtoMsg(message: _173.ArithmeticTwapToNowResponse): _173.ArithmeticTwapToNowResponseProtoMsg; - }; - ParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _173.ParamsRequest; - isSDK(o: any): o is _173.ParamsRequestSDKType; - isAmino(o: any): o is _173.ParamsRequestAmino; - encode(_: _173.ParamsRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _173.ParamsRequest; - fromJSON(_: any): _173.ParamsRequest; - toJSON(_: _173.ParamsRequest): unknown; - fromPartial(_: {}): _173.ParamsRequest; - fromSDK(_: _173.ParamsRequestSDKType): _173.ParamsRequest; - toSDK(_: _173.ParamsRequest): _173.ParamsRequestSDKType; - fromAmino(_: _173.ParamsRequestAmino): _173.ParamsRequest; - toAmino(_: _173.ParamsRequest): _173.ParamsRequestAmino; - fromAminoMsg(object: _173.ParamsRequestAminoMsg): _173.ParamsRequest; - toAminoMsg(message: _173.ParamsRequest): _173.ParamsRequestAminoMsg; - fromProtoMsg(message: _173.ParamsRequestProtoMsg): _173.ParamsRequest; - toProto(message: _173.ParamsRequest): Uint8Array; - toProtoMsg(message: _173.ParamsRequest): _173.ParamsRequestProtoMsg; - }; - ParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _173.ParamsResponse; - isSDK(o: any): o is _173.ParamsResponseSDKType; - isAmino(o: any): o is _173.ParamsResponseAmino; - encode(message: _173.ParamsResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _173.ParamsResponse; - fromJSON(object: any): _173.ParamsResponse; - toJSON(message: _173.ParamsResponse): unknown; - fromPartial(object: { - params?: { - pruneEpochIdentifier?: string; - recordHistoryKeepPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - }): _173.ParamsResponse; - fromSDK(object: _173.ParamsResponseSDKType): _173.ParamsResponse; - toSDK(message: _173.ParamsResponse): _173.ParamsResponseSDKType; - fromAmino(object: _173.ParamsResponseAmino): _173.ParamsResponse; - toAmino(message: _173.ParamsResponse): _173.ParamsResponseAmino; - fromAminoMsg(object: _173.ParamsResponseAminoMsg): _173.ParamsResponse; - toAminoMsg(message: _173.ParamsResponse): _173.ParamsResponseAminoMsg; - fromProtoMsg(message: _173.ParamsResponseProtoMsg): _173.ParamsResponse; - toProto(message: _173.ParamsResponse): Uint8Array; - toProtoMsg(message: _173.ParamsResponse): _173.ParamsResponseProtoMsg; - }; - Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is _172.Params; - isSDK(o: any): o is _172.ParamsSDKType; - isAmino(o: any): o is _172.ParamsAmino; - encode(message: _172.Params, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _172.Params; - fromJSON(object: any): _172.Params; - toJSON(message: _172.Params): unknown; - fromPartial(object: { - pruneEpochIdentifier?: string; - recordHistoryKeepPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }): _172.Params; - fromSDK(object: _172.ParamsSDKType): _172.Params; - toSDK(message: _172.Params): _172.ParamsSDKType; - fromAmino(object: _172.ParamsAmino): _172.Params; - toAmino(message: _172.Params): _172.ParamsAmino; - fromAminoMsg(object: _172.ParamsAminoMsg): _172.Params; - toAminoMsg(message: _172.Params): _172.ParamsAminoMsg; - fromProtoMsg(message: _172.ParamsProtoMsg): _172.Params; - toProto(message: _172.Params): Uint8Array; - toProtoMsg(message: _172.Params): _172.ParamsProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _172.GenesisState; - isSDK(o: any): o is _172.GenesisStateSDKType; - isAmino(o: any): o is _172.GenesisStateAmino; - encode(message: _172.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _172.GenesisState; - fromJSON(object: any): _172.GenesisState; - toJSON(message: _172.GenesisState): unknown; - fromPartial(object: { - twaps?: { - poolId?: bigint; - asset0Denom?: string; - asset1Denom?: string; - height?: bigint; - time?: Date; - p0LastSpotPrice?: string; - p1LastSpotPrice?: string; - p0ArithmeticTwapAccumulator?: string; - p1ArithmeticTwapAccumulator?: string; - lastErrorTime?: Date; - }[]; - params?: { - pruneEpochIdentifier?: string; - recordHistoryKeepPeriod?: { - seconds?: bigint; - nanos?: number; - }; - }; - }): _172.GenesisState; - fromSDK(object: _172.GenesisStateSDKType): _172.GenesisState; - toSDK(message: _172.GenesisState): _172.GenesisStateSDKType; - fromAmino(object: _172.GenesisStateAmino): _172.GenesisState; - toAmino(message: _172.GenesisState): _172.GenesisStateAmino; - fromAminoMsg(object: _172.GenesisStateAminoMsg): _172.GenesisState; - toAminoMsg(message: _172.GenesisState): _172.GenesisStateAminoMsg; - fromProtoMsg(message: _172.GenesisStateProtoMsg): _172.GenesisState; - toProto(message: _172.GenesisState): Uint8Array; - toProtoMsg(message: _172.GenesisState): _172.GenesisStateProtoMsg; - }; - }; - } - namespace txfees { - const v1beta1: { - QueryClientImpl: typeof _295.QueryClientImpl; - createClientImpl: (rpc: import("..").TxRpc) => _295.QueryClientImpl; - createRpcQueryHooks: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - useFeeTokens: ({ request, options }: _295.UseFeeTokensQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomSpotPrice: ({ request, options }: _295.UseDenomSpotPriceQuery) => import("@tanstack/react-query").UseQueryResult; - useDenomPoolId: ({ request, options }: _295.UseDenomPoolIdQuery) => import("@tanstack/react-query").UseQueryResult; - useBaseDenom: ({ request, options }: _295.UseBaseDenomQuery) => import("@tanstack/react-query").UseQueryResult; - }; - createRpcQueryMobxStores: (rpc: import("@cosmjs/stargate").ProtobufRpcClient) => { - QueryFeeTokensStore: { - new (): { - store: import("..").QueryStore<_178.QueryFeeTokensRequest, _178.QueryFeeTokensResponse>; - feeTokens(request: _178.QueryFeeTokensRequest): import("..").MobxResponse<_178.QueryFeeTokensResponse>; - }; - }; - QueryDenomSpotPriceStore: { - new (): { - store: import("..").QueryStore<_178.QueryDenomSpotPriceRequest, _178.QueryDenomSpotPriceResponse>; - denomSpotPrice(request: _178.QueryDenomSpotPriceRequest): import("..").MobxResponse<_178.QueryDenomSpotPriceResponse>; - }; - }; - QueryDenomPoolIdStore: { - new (): { - store: import("..").QueryStore<_178.QueryDenomPoolIdRequest, _178.QueryDenomPoolIdResponse>; - denomPoolId(request: _178.QueryDenomPoolIdRequest): import("..").MobxResponse<_178.QueryDenomPoolIdResponse>; - }; - }; - QueryBaseDenomStore: { - new (): { - store: import("..").QueryStore<_178.QueryBaseDenomRequest, _178.QueryBaseDenomResponse>; - baseDenom(request: _178.QueryBaseDenomRequest): import("..").MobxResponse<_178.QueryBaseDenomResponse>; - }; - }; - }; - QueryFeeTokensRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _178.QueryFeeTokensRequest; - isSDK(o: any): o is _178.QueryFeeTokensRequestSDKType; - isAmino(o: any): o is _178.QueryFeeTokensRequestAmino; - encode(_: _178.QueryFeeTokensRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _178.QueryFeeTokensRequest; - fromJSON(_: any): _178.QueryFeeTokensRequest; - toJSON(_: _178.QueryFeeTokensRequest): unknown; - fromPartial(_: {}): _178.QueryFeeTokensRequest; - fromSDK(_: _178.QueryFeeTokensRequestSDKType): _178.QueryFeeTokensRequest; - toSDK(_: _178.QueryFeeTokensRequest): _178.QueryFeeTokensRequestSDKType; - fromAmino(_: _178.QueryFeeTokensRequestAmino): _178.QueryFeeTokensRequest; - toAmino(_: _178.QueryFeeTokensRequest): _178.QueryFeeTokensRequestAmino; - fromAminoMsg(object: _178.QueryFeeTokensRequestAminoMsg): _178.QueryFeeTokensRequest; - toAminoMsg(message: _178.QueryFeeTokensRequest): _178.QueryFeeTokensRequestAminoMsg; - fromProtoMsg(message: _178.QueryFeeTokensRequestProtoMsg): _178.QueryFeeTokensRequest; - toProto(message: _178.QueryFeeTokensRequest): Uint8Array; - toProtoMsg(message: _178.QueryFeeTokensRequest): _178.QueryFeeTokensRequestProtoMsg; - }; - QueryFeeTokensResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _178.QueryFeeTokensResponse; - isSDK(o: any): o is _178.QueryFeeTokensResponseSDKType; - isAmino(o: any): o is _178.QueryFeeTokensResponseAmino; - encode(message: _178.QueryFeeTokensResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _178.QueryFeeTokensResponse; - fromJSON(object: any): _178.QueryFeeTokensResponse; - toJSON(message: _178.QueryFeeTokensResponse): unknown; - fromPartial(object: { - feeTokens?: { - denom?: string; - poolID?: bigint; - }[]; - }): _178.QueryFeeTokensResponse; - fromSDK(object: _178.QueryFeeTokensResponseSDKType): _178.QueryFeeTokensResponse; - toSDK(message: _178.QueryFeeTokensResponse): _178.QueryFeeTokensResponseSDKType; - fromAmino(object: _178.QueryFeeTokensResponseAmino): _178.QueryFeeTokensResponse; - toAmino(message: _178.QueryFeeTokensResponse): _178.QueryFeeTokensResponseAmino; - fromAminoMsg(object: _178.QueryFeeTokensResponseAminoMsg): _178.QueryFeeTokensResponse; - toAminoMsg(message: _178.QueryFeeTokensResponse): _178.QueryFeeTokensResponseAminoMsg; - fromProtoMsg(message: _178.QueryFeeTokensResponseProtoMsg): _178.QueryFeeTokensResponse; - toProto(message: _178.QueryFeeTokensResponse): Uint8Array; - toProtoMsg(message: _178.QueryFeeTokensResponse): _178.QueryFeeTokensResponseProtoMsg; - }; - QueryDenomSpotPriceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _178.QueryDenomSpotPriceRequest; - isSDK(o: any): o is _178.QueryDenomSpotPriceRequestSDKType; - isAmino(o: any): o is _178.QueryDenomSpotPriceRequestAmino; - encode(message: _178.QueryDenomSpotPriceRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _178.QueryDenomSpotPriceRequest; - fromJSON(object: any): _178.QueryDenomSpotPriceRequest; - toJSON(message: _178.QueryDenomSpotPriceRequest): unknown; - fromPartial(object: { - denom?: string; - }): _178.QueryDenomSpotPriceRequest; - fromSDK(object: _178.QueryDenomSpotPriceRequestSDKType): _178.QueryDenomSpotPriceRequest; - toSDK(message: _178.QueryDenomSpotPriceRequest): _178.QueryDenomSpotPriceRequestSDKType; - fromAmino(object: _178.QueryDenomSpotPriceRequestAmino): _178.QueryDenomSpotPriceRequest; - toAmino(message: _178.QueryDenomSpotPriceRequest): _178.QueryDenomSpotPriceRequestAmino; - fromAminoMsg(object: _178.QueryDenomSpotPriceRequestAminoMsg): _178.QueryDenomSpotPriceRequest; - toAminoMsg(message: _178.QueryDenomSpotPriceRequest): _178.QueryDenomSpotPriceRequestAminoMsg; - fromProtoMsg(message: _178.QueryDenomSpotPriceRequestProtoMsg): _178.QueryDenomSpotPriceRequest; - toProto(message: _178.QueryDenomSpotPriceRequest): Uint8Array; - toProtoMsg(message: _178.QueryDenomSpotPriceRequest): _178.QueryDenomSpotPriceRequestProtoMsg; - }; - QueryDenomSpotPriceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _178.QueryDenomSpotPriceResponse; - isSDK(o: any): o is _178.QueryDenomSpotPriceResponseSDKType; - isAmino(o: any): o is _178.QueryDenomSpotPriceResponseAmino; - encode(message: _178.QueryDenomSpotPriceResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _178.QueryDenomSpotPriceResponse; - fromJSON(object: any): _178.QueryDenomSpotPriceResponse; - toJSON(message: _178.QueryDenomSpotPriceResponse): unknown; - fromPartial(object: { - poolID?: bigint; - spotPrice?: string; - }): _178.QueryDenomSpotPriceResponse; - fromSDK(object: _178.QueryDenomSpotPriceResponseSDKType): _178.QueryDenomSpotPriceResponse; - toSDK(message: _178.QueryDenomSpotPriceResponse): _178.QueryDenomSpotPriceResponseSDKType; - fromAmino(object: _178.QueryDenomSpotPriceResponseAmino): _178.QueryDenomSpotPriceResponse; - toAmino(message: _178.QueryDenomSpotPriceResponse): _178.QueryDenomSpotPriceResponseAmino; - fromAminoMsg(object: _178.QueryDenomSpotPriceResponseAminoMsg): _178.QueryDenomSpotPriceResponse; - toAminoMsg(message: _178.QueryDenomSpotPriceResponse): _178.QueryDenomSpotPriceResponseAminoMsg; - fromProtoMsg(message: _178.QueryDenomSpotPriceResponseProtoMsg): _178.QueryDenomSpotPriceResponse; - toProto(message: _178.QueryDenomSpotPriceResponse): Uint8Array; - toProtoMsg(message: _178.QueryDenomSpotPriceResponse): _178.QueryDenomSpotPriceResponseProtoMsg; - }; - QueryDenomPoolIdRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _178.QueryDenomPoolIdRequest; - isSDK(o: any): o is _178.QueryDenomPoolIdRequestSDKType; - isAmino(o: any): o is _178.QueryDenomPoolIdRequestAmino; - encode(message: _178.QueryDenomPoolIdRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _178.QueryDenomPoolIdRequest; - fromJSON(object: any): _178.QueryDenomPoolIdRequest; - toJSON(message: _178.QueryDenomPoolIdRequest): unknown; - fromPartial(object: { - denom?: string; - }): _178.QueryDenomPoolIdRequest; - fromSDK(object: _178.QueryDenomPoolIdRequestSDKType): _178.QueryDenomPoolIdRequest; - toSDK(message: _178.QueryDenomPoolIdRequest): _178.QueryDenomPoolIdRequestSDKType; - fromAmino(object: _178.QueryDenomPoolIdRequestAmino): _178.QueryDenomPoolIdRequest; - toAmino(message: _178.QueryDenomPoolIdRequest): _178.QueryDenomPoolIdRequestAmino; - fromAminoMsg(object: _178.QueryDenomPoolIdRequestAminoMsg): _178.QueryDenomPoolIdRequest; - toAminoMsg(message: _178.QueryDenomPoolIdRequest): _178.QueryDenomPoolIdRequestAminoMsg; - fromProtoMsg(message: _178.QueryDenomPoolIdRequestProtoMsg): _178.QueryDenomPoolIdRequest; - toProto(message: _178.QueryDenomPoolIdRequest): Uint8Array; - toProtoMsg(message: _178.QueryDenomPoolIdRequest): _178.QueryDenomPoolIdRequestProtoMsg; - }; - QueryDenomPoolIdResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _178.QueryDenomPoolIdResponse; - isSDK(o: any): o is _178.QueryDenomPoolIdResponseSDKType; - isAmino(o: any): o is _178.QueryDenomPoolIdResponseAmino; - encode(message: _178.QueryDenomPoolIdResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _178.QueryDenomPoolIdResponse; - fromJSON(object: any): _178.QueryDenomPoolIdResponse; - toJSON(message: _178.QueryDenomPoolIdResponse): unknown; - fromPartial(object: { - poolID?: bigint; - }): _178.QueryDenomPoolIdResponse; - fromSDK(object: _178.QueryDenomPoolIdResponseSDKType): _178.QueryDenomPoolIdResponse; - toSDK(message: _178.QueryDenomPoolIdResponse): _178.QueryDenomPoolIdResponseSDKType; - fromAmino(object: _178.QueryDenomPoolIdResponseAmino): _178.QueryDenomPoolIdResponse; - toAmino(message: _178.QueryDenomPoolIdResponse): _178.QueryDenomPoolIdResponseAmino; - fromAminoMsg(object: _178.QueryDenomPoolIdResponseAminoMsg): _178.QueryDenomPoolIdResponse; - toAminoMsg(message: _178.QueryDenomPoolIdResponse): _178.QueryDenomPoolIdResponseAminoMsg; - fromProtoMsg(message: _178.QueryDenomPoolIdResponseProtoMsg): _178.QueryDenomPoolIdResponse; - toProto(message: _178.QueryDenomPoolIdResponse): Uint8Array; - toProtoMsg(message: _178.QueryDenomPoolIdResponse): _178.QueryDenomPoolIdResponseProtoMsg; - }; - QueryBaseDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is _178.QueryBaseDenomRequest; - isSDK(o: any): o is _178.QueryBaseDenomRequestSDKType; - isAmino(o: any): o is _178.QueryBaseDenomRequestAmino; - encode(_: _178.QueryBaseDenomRequest, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _178.QueryBaseDenomRequest; - fromJSON(_: any): _178.QueryBaseDenomRequest; - toJSON(_: _178.QueryBaseDenomRequest): unknown; - fromPartial(_: {}): _178.QueryBaseDenomRequest; - fromSDK(_: _178.QueryBaseDenomRequestSDKType): _178.QueryBaseDenomRequest; - toSDK(_: _178.QueryBaseDenomRequest): _178.QueryBaseDenomRequestSDKType; - fromAmino(_: _178.QueryBaseDenomRequestAmino): _178.QueryBaseDenomRequest; - toAmino(_: _178.QueryBaseDenomRequest): _178.QueryBaseDenomRequestAmino; - fromAminoMsg(object: _178.QueryBaseDenomRequestAminoMsg): _178.QueryBaseDenomRequest; - toAminoMsg(message: _178.QueryBaseDenomRequest): _178.QueryBaseDenomRequestAminoMsg; - fromProtoMsg(message: _178.QueryBaseDenomRequestProtoMsg): _178.QueryBaseDenomRequest; - toProto(message: _178.QueryBaseDenomRequest): Uint8Array; - toProtoMsg(message: _178.QueryBaseDenomRequest): _178.QueryBaseDenomRequestProtoMsg; - }; - QueryBaseDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is _178.QueryBaseDenomResponse; - isSDK(o: any): o is _178.QueryBaseDenomResponseSDKType; - isAmino(o: any): o is _178.QueryBaseDenomResponseAmino; - encode(message: _178.QueryBaseDenomResponse, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _178.QueryBaseDenomResponse; - fromJSON(object: any): _178.QueryBaseDenomResponse; - toJSON(message: _178.QueryBaseDenomResponse): unknown; - fromPartial(object: { - baseDenom?: string; - }): _178.QueryBaseDenomResponse; - fromSDK(object: _178.QueryBaseDenomResponseSDKType): _178.QueryBaseDenomResponse; - toSDK(message: _178.QueryBaseDenomResponse): _178.QueryBaseDenomResponseSDKType; - fromAmino(object: _178.QueryBaseDenomResponseAmino): _178.QueryBaseDenomResponse; - toAmino(message: _178.QueryBaseDenomResponse): _178.QueryBaseDenomResponseAmino; - fromAminoMsg(object: _178.QueryBaseDenomResponseAminoMsg): _178.QueryBaseDenomResponse; - toAminoMsg(message: _178.QueryBaseDenomResponse): _178.QueryBaseDenomResponseAminoMsg; - fromProtoMsg(message: _178.QueryBaseDenomResponseProtoMsg): _178.QueryBaseDenomResponse; - toProto(message: _178.QueryBaseDenomResponse): Uint8Array; - toProtoMsg(message: _178.QueryBaseDenomResponse): _178.QueryBaseDenomResponseProtoMsg; - }; - UpdateFeeTokenProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is _177.UpdateFeeTokenProposal; - isSDK(o: any): o is _177.UpdateFeeTokenProposalSDKType; - isAmino(o: any): o is _177.UpdateFeeTokenProposalAmino; - encode(message: _177.UpdateFeeTokenProposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _177.UpdateFeeTokenProposal; - fromJSON(object: any): _177.UpdateFeeTokenProposal; - toJSON(message: _177.UpdateFeeTokenProposal): unknown; - fromPartial(object: { - $typeUrl?: "/osmosis.txfees.v1beta1.UpdateFeeTokenProposal"; - title?: string; - description?: string; - feetoken?: { - denom?: string; - poolID?: bigint; - }; - }): _177.UpdateFeeTokenProposal; - fromSDK(object: _177.UpdateFeeTokenProposalSDKType): _177.UpdateFeeTokenProposal; - toSDK(message: _177.UpdateFeeTokenProposal): _177.UpdateFeeTokenProposalSDKType; - fromAmino(object: _177.UpdateFeeTokenProposalAmino): _177.UpdateFeeTokenProposal; - toAmino(message: _177.UpdateFeeTokenProposal): _177.UpdateFeeTokenProposalAmino; - fromAminoMsg(object: _177.UpdateFeeTokenProposalAminoMsg): _177.UpdateFeeTokenProposal; - toAminoMsg(message: _177.UpdateFeeTokenProposal): _177.UpdateFeeTokenProposalAminoMsg; - fromProtoMsg(message: _177.UpdateFeeTokenProposalProtoMsg): _177.UpdateFeeTokenProposal; - toProto(message: _177.UpdateFeeTokenProposal): Uint8Array; - toProtoMsg(message: _177.UpdateFeeTokenProposal): _177.UpdateFeeTokenProposalProtoMsg; - }; - GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is _176.GenesisState; - isSDK(o: any): o is _176.GenesisStateSDKType; - isAmino(o: any): o is _176.GenesisStateAmino; - encode(message: _176.GenesisState, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _176.GenesisState; - fromJSON(object: any): _176.GenesisState; - toJSON(message: _176.GenesisState): unknown; - fromPartial(object: { - basedenom?: string; - feetokens?: { - denom?: string; - poolID?: bigint; - }[]; - }): _176.GenesisState; - fromSDK(object: _176.GenesisStateSDKType): _176.GenesisState; - toSDK(message: _176.GenesisState): _176.GenesisStateSDKType; - fromAmino(object: _176.GenesisStateAmino): _176.GenesisState; - toAmino(message: _176.GenesisState): _176.GenesisStateAmino; - fromAminoMsg(object: _176.GenesisStateAminoMsg): _176.GenesisState; - toAminoMsg(message: _176.GenesisState): _176.GenesisStateAminoMsg; - fromProtoMsg(message: _176.GenesisStateProtoMsg): _176.GenesisState; - toProto(message: _176.GenesisState): Uint8Array; - toProtoMsg(message: _176.GenesisState): _176.GenesisStateProtoMsg; - }; - FeeToken: { - typeUrl: string; - aminoType: string; - is(o: any): o is _175.FeeToken; - isSDK(o: any): o is _175.FeeTokenSDKType; - isAmino(o: any): o is _175.FeeTokenAmino; - encode(message: _175.FeeToken, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _175.FeeToken; - fromJSON(object: any): _175.FeeToken; - toJSON(message: _175.FeeToken): unknown; - fromPartial(object: { - denom?: string; - poolID?: bigint; - }): _175.FeeToken; - fromSDK(object: _175.FeeTokenSDKType): _175.FeeToken; - toSDK(message: _175.FeeToken): _175.FeeTokenSDKType; - fromAmino(object: _175.FeeTokenAmino): _175.FeeToken; - toAmino(message: _175.FeeToken): _175.FeeTokenAmino; - fromAminoMsg(object: _175.FeeTokenAminoMsg): _175.FeeToken; - toAminoMsg(message: _175.FeeToken): _175.FeeTokenAminoMsg; - fromProtoMsg(message: _175.FeeTokenProtoMsg): _175.FeeToken; - toProto(message: _175.FeeToken): Uint8Array; - toProtoMsg(message: _175.FeeToken): _175.FeeTokenProtoMsg; - }; - }; - } - const ClientFactory: { - createRPCMsgClient: ({ rpc }: { - rpc: import("../helpers").Rpc; - }) => Promise<{ - cosmos: { - authz: { - v1beta1: import("../cosmos/authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("../cosmos/crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("../cosmos/vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; - osmosis: { - gamm: { - poolmodels: { - balancer: { - v1beta1: _296.MsgClientImpl; - }; - stableswap: { - v1beta1: _297.MsgClientImpl; - }; - }; - }; - incentives: _298.MsgClientImpl; - lockup: _299.MsgClientImpl; - superfluid: _300.MsgClientImpl; - tokenfactory: { - v1beta1: _301.MsgClientImpl; - }; - }; - }>; - createRPCQueryClient: ({ rpc }: { - rpc: import("../helpers").Rpc; - }) => Promise<{ - cosmos: { - app: { - v1alpha1: import("../cosmos/app/v1alpha1/query.rpc.Query").QueryClientImpl; - }; - auth: { - v1beta1: import("../cosmos/auth/v1beta1/query.rpc.Query").QueryClientImpl; - }; - authz: { - v1beta1: import("../cosmos/authz/v1beta1/query.rpc.Query").QueryClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/query.rpc.Query").QueryClientImpl; - }; - base: { - tendermint: { - v1beta1: import("../cosmos/base/tendermint/v1beta1/query.rpc.Service").ServiceClientImpl; - }; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/query.rpc.Query").QueryClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/query.rpc.Query").QueryClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/query.rpc.Query").QueryClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/query.rpc.Query").QueryClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/query.rpc.Query").QueryClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/query.rpc.Query").QueryClientImpl; - }; - mint: { - v1beta1: import("../cosmos/mint/v1beta1/query.rpc.Query").QueryClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/query.rpc.Query").QueryClientImpl; - }; - params: { - v1beta1: import("../cosmos/params/v1beta1/query.rpc.Query").QueryClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/query.rpc.Query").QueryClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/query.rpc.Query").QueryClientImpl; - }; - tx: { - v1beta1: import("../cosmos/tx/v1beta1/service.rpc.Service").ServiceClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/query.rpc.Query").QueryClientImpl; - }; - }; - osmosis: { - claim: { - v1beta1: _284.QueryClientImpl; - }; - epochs: { - v1beta1: _285.QueryClientImpl; - }; - gamm: { - v2: _286.QueryClientImpl; - }; - ibcratelimit: { - v1beta1: _287.QueryClientImpl; - }; - incentives: _288.QueryClientImpl; - lockup: _289.QueryClientImpl; - mint: { - v1beta1: _290.QueryClientImpl; - }; - poolincentives: { - v1beta1: _291.QueryClientImpl; - }; - superfluid: _292.QueryClientImpl; - tokenfactory: { - v1beta1: _293.QueryClientImpl; - }; - twap: { - v1beta1: _294.QueryClientImpl; - }; - txfees: { - v1beta1: _295.QueryClientImpl; - }; - }; - }>; - }; -} diff --git a/examples/authz/types/codegen/osmosis/claim/v1beta1/claim.d.ts b/examples/authz/types/codegen/osmosis/claim/v1beta1/claim.d.ts deleted file mode 100644 index 0d898c49..00000000 --- a/examples/authz/types/codegen/osmosis/claim/v1beta1/claim.d.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -export declare enum Action { - ActionAddLiquidity = 0, - ActionSwap = 1, - ActionVote = 2, - ActionDelegateStake = 3, - UNRECOGNIZED = -1 -} -export declare const ActionSDKType: typeof Action; -export declare const ActionAmino: typeof Action; -export declare function actionFromJSON(object: any): Action; -export declare function actionToJSON(object: Action): string; -/** A Claim Records is the metadata of claim data per address */ -export interface ClaimRecord { - /** address of claim user */ - address: string; - /** total initial claimable amount for the user */ - initialClaimableAmount: Coin[]; - /** - * true if action is completed - * index of bool in array refers to action enum # - */ - actionCompleted: boolean[]; -} -export interface ClaimRecordProtoMsg { - typeUrl: "/osmosis.claim.v1beta1.ClaimRecord"; - value: Uint8Array; -} -/** A Claim Records is the metadata of claim data per address */ -export interface ClaimRecordAmino { - /** address of claim user */ - address?: string; - /** total initial claimable amount for the user */ - initial_claimable_amount?: CoinAmino[]; - /** - * true if action is completed - * index of bool in array refers to action enum # - */ - action_completed?: boolean[]; -} -export interface ClaimRecordAminoMsg { - type: "osmosis/claim/claim-record"; - value: ClaimRecordAmino; -} -/** A Claim Records is the metadata of claim data per address */ -export interface ClaimRecordSDKType { - address: string; - initial_claimable_amount: CoinSDKType[]; - action_completed: boolean[]; -} -export declare const ClaimRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is ClaimRecord; - isSDK(o: any): o is ClaimRecordSDKType; - isAmino(o: any): o is ClaimRecordAmino; - encode(message: ClaimRecord, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ClaimRecord; - fromJSON(object: any): ClaimRecord; - toJSON(message: ClaimRecord): unknown; - fromPartial(object: DeepPartial): ClaimRecord; - fromSDK(object: ClaimRecordSDKType): ClaimRecord; - toSDK(message: ClaimRecord): ClaimRecordSDKType; - fromAmino(object: ClaimRecordAmino): ClaimRecord; - toAmino(message: ClaimRecord): ClaimRecordAmino; - fromAminoMsg(object: ClaimRecordAminoMsg): ClaimRecord; - toAminoMsg(message: ClaimRecord): ClaimRecordAminoMsg; - fromProtoMsg(message: ClaimRecordProtoMsg): ClaimRecord; - toProto(message: ClaimRecord): Uint8Array; - toProtoMsg(message: ClaimRecord): ClaimRecordProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/claim/v1beta1/genesis.d.ts b/examples/authz/types/codegen/osmosis/claim/v1beta1/genesis.d.ts deleted file mode 100644 index 6e4ec7c9..00000000 --- a/examples/authz/types/codegen/osmosis/claim/v1beta1/genesis.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { Params, ParamsAmino, ParamsSDKType } from "./params"; -import { ClaimRecord, ClaimRecordAmino, ClaimRecordSDKType } from "./claim"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the claim module's genesis state. */ -export interface GenesisState { - /** balance of the claim module's account */ - moduleAccountBalance: Coin | undefined; - /** params defines all the parameters of the module. */ - params: Params | undefined; - /** list of claim records, one for every airdrop recipient */ - claimRecords: ClaimRecord[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/osmosis.claim.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the claim module's genesis state. */ -export interface GenesisStateAmino { - /** balance of the claim module's account */ - module_account_balance?: CoinAmino | undefined; - /** params defines all the parameters of the module. */ - params?: ParamsAmino | undefined; - /** list of claim records, one for every airdrop recipient */ - claim_records?: ClaimRecordAmino[]; -} -export interface GenesisStateAminoMsg { - type: "osmosis/claim/genesis-state"; - value: GenesisStateAmino; -} -/** GenesisState defines the claim module's genesis state. */ -export interface GenesisStateSDKType { - module_account_balance: CoinSDKType | undefined; - params: ParamsSDKType | undefined; - claim_records: ClaimRecordSDKType[]; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/claim/v1beta1/params.d.ts b/examples/authz/types/codegen/osmosis/claim/v1beta1/params.d.ts deleted file mode 100644 index 03c4c628..00000000 --- a/examples/authz/types/codegen/osmosis/claim/v1beta1/params.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** Params defines the claim module's parameters. */ -export interface Params { - airdropStartTime: Date | undefined; - durationUntilDecay: Duration | undefined; - durationOfDecay: Duration | undefined; - /** denom of claimable asset */ - claimDenom: string; -} -export interface ParamsProtoMsg { - typeUrl: "/osmosis.claim.v1beta1.Params"; - value: Uint8Array; -} -/** Params defines the claim module's parameters. */ -export interface ParamsAmino { - airdrop_start_time?: string | undefined; - duration_until_decay?: DurationAmino | undefined; - duration_of_decay?: DurationAmino | undefined; - /** denom of claimable asset */ - claim_denom?: string; -} -export interface ParamsAminoMsg { - type: "osmosis/claim/params"; - value: ParamsAmino; -} -/** Params defines the claim module's parameters. */ -export interface ParamsSDKType { - airdrop_start_time: Date | undefined; - duration_until_decay: DurationSDKType | undefined; - duration_of_decay: DurationSDKType | undefined; - claim_denom: string; -} -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/claim/v1beta1/query.d.ts b/examples/authz/types/codegen/osmosis/claim/v1beta1/query.d.ts deleted file mode 100644 index 60ff340f..00000000 --- a/examples/authz/types/codegen/osmosis/claim/v1beta1/query.d.ts +++ /dev/null @@ -1,398 +0,0 @@ -import { Action, ClaimRecord, ClaimRecordAmino, ClaimRecordSDKType } from "./claim"; -import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { Params, ParamsAmino, ParamsSDKType } from "./params"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryModuleAccountBalanceRequest { -} -export interface QueryModuleAccountBalanceRequestProtoMsg { - typeUrl: "/osmosis.claim.v1beta1.QueryModuleAccountBalanceRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryModuleAccountBalanceRequestAmino { -} -export interface QueryModuleAccountBalanceRequestAminoMsg { - type: "osmosis/claim/query-module-account-balance-request"; - value: QueryModuleAccountBalanceRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryModuleAccountBalanceRequestSDKType { -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryModuleAccountBalanceResponse { - /** params defines the parameters of the module. */ - moduleAccountBalance: Coin[]; -} -export interface QueryModuleAccountBalanceResponseProtoMsg { - typeUrl: "/osmosis.claim.v1beta1.QueryModuleAccountBalanceResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryModuleAccountBalanceResponseAmino { - /** params defines the parameters of the module. */ - moduleAccountBalance?: CoinAmino[]; -} -export interface QueryModuleAccountBalanceResponseAminoMsg { - type: "osmosis/claim/query-module-account-balance-response"; - value: QueryModuleAccountBalanceResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryModuleAccountBalanceResponseSDKType { - moduleAccountBalance: CoinSDKType[]; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/osmosis.claim.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "osmosis/claim/query-params-request"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params: Params | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/osmosis.claim.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "osmosis/claim/query-params-response"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; -} -export interface QueryClaimRecordRequest { - address: string; -} -export interface QueryClaimRecordRequestProtoMsg { - typeUrl: "/osmosis.claim.v1beta1.QueryClaimRecordRequest"; - value: Uint8Array; -} -export interface QueryClaimRecordRequestAmino { - address?: string; -} -export interface QueryClaimRecordRequestAminoMsg { - type: "osmosis/claim/query-claim-record-request"; - value: QueryClaimRecordRequestAmino; -} -export interface QueryClaimRecordRequestSDKType { - address: string; -} -export interface QueryClaimRecordResponse { - claimRecord: ClaimRecord | undefined; -} -export interface QueryClaimRecordResponseProtoMsg { - typeUrl: "/osmosis.claim.v1beta1.QueryClaimRecordResponse"; - value: Uint8Array; -} -export interface QueryClaimRecordResponseAmino { - claim_record?: ClaimRecordAmino | undefined; -} -export interface QueryClaimRecordResponseAminoMsg { - type: "osmosis/claim/query-claim-record-response"; - value: QueryClaimRecordResponseAmino; -} -export interface QueryClaimRecordResponseSDKType { - claim_record: ClaimRecordSDKType | undefined; -} -export interface QueryClaimableForActionRequest { - address: string; - action: Action; -} -export interface QueryClaimableForActionRequestProtoMsg { - typeUrl: "/osmosis.claim.v1beta1.QueryClaimableForActionRequest"; - value: Uint8Array; -} -export interface QueryClaimableForActionRequestAmino { - address?: string; - action?: Action; -} -export interface QueryClaimableForActionRequestAminoMsg { - type: "osmosis/claim/query-claimable-for-action-request"; - value: QueryClaimableForActionRequestAmino; -} -export interface QueryClaimableForActionRequestSDKType { - address: string; - action: Action; -} -export interface QueryClaimableForActionResponse { - coins: Coin[]; -} -export interface QueryClaimableForActionResponseProtoMsg { - typeUrl: "/osmosis.claim.v1beta1.QueryClaimableForActionResponse"; - value: Uint8Array; -} -export interface QueryClaimableForActionResponseAmino { - coins?: CoinAmino[]; -} -export interface QueryClaimableForActionResponseAminoMsg { - type: "osmosis/claim/query-claimable-for-action-response"; - value: QueryClaimableForActionResponseAmino; -} -export interface QueryClaimableForActionResponseSDKType { - coins: CoinSDKType[]; -} -export interface QueryTotalClaimableRequest { - address: string; -} -export interface QueryTotalClaimableRequestProtoMsg { - typeUrl: "/osmosis.claim.v1beta1.QueryTotalClaimableRequest"; - value: Uint8Array; -} -export interface QueryTotalClaimableRequestAmino { - address?: string; -} -export interface QueryTotalClaimableRequestAminoMsg { - type: "osmosis/claim/query-total-claimable-request"; - value: QueryTotalClaimableRequestAmino; -} -export interface QueryTotalClaimableRequestSDKType { - address: string; -} -export interface QueryTotalClaimableResponse { - coins: Coin[]; -} -export interface QueryTotalClaimableResponseProtoMsg { - typeUrl: "/osmosis.claim.v1beta1.QueryTotalClaimableResponse"; - value: Uint8Array; -} -export interface QueryTotalClaimableResponseAmino { - coins?: CoinAmino[]; -} -export interface QueryTotalClaimableResponseAminoMsg { - type: "osmosis/claim/query-total-claimable-response"; - value: QueryTotalClaimableResponseAmino; -} -export interface QueryTotalClaimableResponseSDKType { - coins: CoinSDKType[]; -} -export declare const QueryModuleAccountBalanceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryModuleAccountBalanceRequest; - isSDK(o: any): o is QueryModuleAccountBalanceRequestSDKType; - isAmino(o: any): o is QueryModuleAccountBalanceRequestAmino; - encode(_: QueryModuleAccountBalanceRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryModuleAccountBalanceRequest; - fromJSON(_: any): QueryModuleAccountBalanceRequest; - toJSON(_: QueryModuleAccountBalanceRequest): unknown; - fromPartial(_: DeepPartial): QueryModuleAccountBalanceRequest; - fromSDK(_: QueryModuleAccountBalanceRequestSDKType): QueryModuleAccountBalanceRequest; - toSDK(_: QueryModuleAccountBalanceRequest): QueryModuleAccountBalanceRequestSDKType; - fromAmino(_: QueryModuleAccountBalanceRequestAmino): QueryModuleAccountBalanceRequest; - toAmino(_: QueryModuleAccountBalanceRequest): QueryModuleAccountBalanceRequestAmino; - fromAminoMsg(object: QueryModuleAccountBalanceRequestAminoMsg): QueryModuleAccountBalanceRequest; - toAminoMsg(message: QueryModuleAccountBalanceRequest): QueryModuleAccountBalanceRequestAminoMsg; - fromProtoMsg(message: QueryModuleAccountBalanceRequestProtoMsg): QueryModuleAccountBalanceRequest; - toProto(message: QueryModuleAccountBalanceRequest): Uint8Array; - toProtoMsg(message: QueryModuleAccountBalanceRequest): QueryModuleAccountBalanceRequestProtoMsg; -}; -export declare const QueryModuleAccountBalanceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryModuleAccountBalanceResponse; - isSDK(o: any): o is QueryModuleAccountBalanceResponseSDKType; - isAmino(o: any): o is QueryModuleAccountBalanceResponseAmino; - encode(message: QueryModuleAccountBalanceResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryModuleAccountBalanceResponse; - fromJSON(object: any): QueryModuleAccountBalanceResponse; - toJSON(message: QueryModuleAccountBalanceResponse): unknown; - fromPartial(object: DeepPartial): QueryModuleAccountBalanceResponse; - fromSDK(object: QueryModuleAccountBalanceResponseSDKType): QueryModuleAccountBalanceResponse; - toSDK(message: QueryModuleAccountBalanceResponse): QueryModuleAccountBalanceResponseSDKType; - fromAmino(object: QueryModuleAccountBalanceResponseAmino): QueryModuleAccountBalanceResponse; - toAmino(message: QueryModuleAccountBalanceResponse): QueryModuleAccountBalanceResponseAmino; - fromAminoMsg(object: QueryModuleAccountBalanceResponseAminoMsg): QueryModuleAccountBalanceResponse; - toAminoMsg(message: QueryModuleAccountBalanceResponse): QueryModuleAccountBalanceResponseAminoMsg; - fromProtoMsg(message: QueryModuleAccountBalanceResponseProtoMsg): QueryModuleAccountBalanceResponse; - toProto(message: QueryModuleAccountBalanceResponse): Uint8Array; - toProtoMsg(message: QueryModuleAccountBalanceResponse): QueryModuleAccountBalanceResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: DeepPartial): QueryParamsRequest; - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryClaimRecordRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClaimRecordRequest; - isSDK(o: any): o is QueryClaimRecordRequestSDKType; - isAmino(o: any): o is QueryClaimRecordRequestAmino; - encode(message: QueryClaimRecordRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClaimRecordRequest; - fromJSON(object: any): QueryClaimRecordRequest; - toJSON(message: QueryClaimRecordRequest): unknown; - fromPartial(object: DeepPartial): QueryClaimRecordRequest; - fromSDK(object: QueryClaimRecordRequestSDKType): QueryClaimRecordRequest; - toSDK(message: QueryClaimRecordRequest): QueryClaimRecordRequestSDKType; - fromAmino(object: QueryClaimRecordRequestAmino): QueryClaimRecordRequest; - toAmino(message: QueryClaimRecordRequest): QueryClaimRecordRequestAmino; - fromAminoMsg(object: QueryClaimRecordRequestAminoMsg): QueryClaimRecordRequest; - toAminoMsg(message: QueryClaimRecordRequest): QueryClaimRecordRequestAminoMsg; - fromProtoMsg(message: QueryClaimRecordRequestProtoMsg): QueryClaimRecordRequest; - toProto(message: QueryClaimRecordRequest): Uint8Array; - toProtoMsg(message: QueryClaimRecordRequest): QueryClaimRecordRequestProtoMsg; -}; -export declare const QueryClaimRecordResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClaimRecordResponse; - isSDK(o: any): o is QueryClaimRecordResponseSDKType; - isAmino(o: any): o is QueryClaimRecordResponseAmino; - encode(message: QueryClaimRecordResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClaimRecordResponse; - fromJSON(object: any): QueryClaimRecordResponse; - toJSON(message: QueryClaimRecordResponse): unknown; - fromPartial(object: DeepPartial): QueryClaimRecordResponse; - fromSDK(object: QueryClaimRecordResponseSDKType): QueryClaimRecordResponse; - toSDK(message: QueryClaimRecordResponse): QueryClaimRecordResponseSDKType; - fromAmino(object: QueryClaimRecordResponseAmino): QueryClaimRecordResponse; - toAmino(message: QueryClaimRecordResponse): QueryClaimRecordResponseAmino; - fromAminoMsg(object: QueryClaimRecordResponseAminoMsg): QueryClaimRecordResponse; - toAminoMsg(message: QueryClaimRecordResponse): QueryClaimRecordResponseAminoMsg; - fromProtoMsg(message: QueryClaimRecordResponseProtoMsg): QueryClaimRecordResponse; - toProto(message: QueryClaimRecordResponse): Uint8Array; - toProtoMsg(message: QueryClaimRecordResponse): QueryClaimRecordResponseProtoMsg; -}; -export declare const QueryClaimableForActionRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClaimableForActionRequest; - isSDK(o: any): o is QueryClaimableForActionRequestSDKType; - isAmino(o: any): o is QueryClaimableForActionRequestAmino; - encode(message: QueryClaimableForActionRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClaimableForActionRequest; - fromJSON(object: any): QueryClaimableForActionRequest; - toJSON(message: QueryClaimableForActionRequest): unknown; - fromPartial(object: DeepPartial): QueryClaimableForActionRequest; - fromSDK(object: QueryClaimableForActionRequestSDKType): QueryClaimableForActionRequest; - toSDK(message: QueryClaimableForActionRequest): QueryClaimableForActionRequestSDKType; - fromAmino(object: QueryClaimableForActionRequestAmino): QueryClaimableForActionRequest; - toAmino(message: QueryClaimableForActionRequest): QueryClaimableForActionRequestAmino; - fromAminoMsg(object: QueryClaimableForActionRequestAminoMsg): QueryClaimableForActionRequest; - toAminoMsg(message: QueryClaimableForActionRequest): QueryClaimableForActionRequestAminoMsg; - fromProtoMsg(message: QueryClaimableForActionRequestProtoMsg): QueryClaimableForActionRequest; - toProto(message: QueryClaimableForActionRequest): Uint8Array; - toProtoMsg(message: QueryClaimableForActionRequest): QueryClaimableForActionRequestProtoMsg; -}; -export declare const QueryClaimableForActionResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryClaimableForActionResponse; - isSDK(o: any): o is QueryClaimableForActionResponseSDKType; - isAmino(o: any): o is QueryClaimableForActionResponseAmino; - encode(message: QueryClaimableForActionResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryClaimableForActionResponse; - fromJSON(object: any): QueryClaimableForActionResponse; - toJSON(message: QueryClaimableForActionResponse): unknown; - fromPartial(object: DeepPartial): QueryClaimableForActionResponse; - fromSDK(object: QueryClaimableForActionResponseSDKType): QueryClaimableForActionResponse; - toSDK(message: QueryClaimableForActionResponse): QueryClaimableForActionResponseSDKType; - fromAmino(object: QueryClaimableForActionResponseAmino): QueryClaimableForActionResponse; - toAmino(message: QueryClaimableForActionResponse): QueryClaimableForActionResponseAmino; - fromAminoMsg(object: QueryClaimableForActionResponseAminoMsg): QueryClaimableForActionResponse; - toAminoMsg(message: QueryClaimableForActionResponse): QueryClaimableForActionResponseAminoMsg; - fromProtoMsg(message: QueryClaimableForActionResponseProtoMsg): QueryClaimableForActionResponse; - toProto(message: QueryClaimableForActionResponse): Uint8Array; - toProtoMsg(message: QueryClaimableForActionResponse): QueryClaimableForActionResponseProtoMsg; -}; -export declare const QueryTotalClaimableRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryTotalClaimableRequest; - isSDK(o: any): o is QueryTotalClaimableRequestSDKType; - isAmino(o: any): o is QueryTotalClaimableRequestAmino; - encode(message: QueryTotalClaimableRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryTotalClaimableRequest; - fromJSON(object: any): QueryTotalClaimableRequest; - toJSON(message: QueryTotalClaimableRequest): unknown; - fromPartial(object: DeepPartial): QueryTotalClaimableRequest; - fromSDK(object: QueryTotalClaimableRequestSDKType): QueryTotalClaimableRequest; - toSDK(message: QueryTotalClaimableRequest): QueryTotalClaimableRequestSDKType; - fromAmino(object: QueryTotalClaimableRequestAmino): QueryTotalClaimableRequest; - toAmino(message: QueryTotalClaimableRequest): QueryTotalClaimableRequestAmino; - fromAminoMsg(object: QueryTotalClaimableRequestAminoMsg): QueryTotalClaimableRequest; - toAminoMsg(message: QueryTotalClaimableRequest): QueryTotalClaimableRequestAminoMsg; - fromProtoMsg(message: QueryTotalClaimableRequestProtoMsg): QueryTotalClaimableRequest; - toProto(message: QueryTotalClaimableRequest): Uint8Array; - toProtoMsg(message: QueryTotalClaimableRequest): QueryTotalClaimableRequestProtoMsg; -}; -export declare const QueryTotalClaimableResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryTotalClaimableResponse; - isSDK(o: any): o is QueryTotalClaimableResponseSDKType; - isAmino(o: any): o is QueryTotalClaimableResponseAmino; - encode(message: QueryTotalClaimableResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryTotalClaimableResponse; - fromJSON(object: any): QueryTotalClaimableResponse; - toJSON(message: QueryTotalClaimableResponse): unknown; - fromPartial(object: DeepPartial): QueryTotalClaimableResponse; - fromSDK(object: QueryTotalClaimableResponseSDKType): QueryTotalClaimableResponse; - toSDK(message: QueryTotalClaimableResponse): QueryTotalClaimableResponseSDKType; - fromAmino(object: QueryTotalClaimableResponseAmino): QueryTotalClaimableResponse; - toAmino(message: QueryTotalClaimableResponse): QueryTotalClaimableResponseAmino; - fromAminoMsg(object: QueryTotalClaimableResponseAminoMsg): QueryTotalClaimableResponse; - toAminoMsg(message: QueryTotalClaimableResponse): QueryTotalClaimableResponseAminoMsg; - fromProtoMsg(message: QueryTotalClaimableResponseProtoMsg): QueryTotalClaimableResponse; - toProto(message: QueryTotalClaimableResponse): Uint8Array; - toProtoMsg(message: QueryTotalClaimableResponse): QueryTotalClaimableResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/claim/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/osmosis/claim/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index d8763ea3..00000000 --- a/examples/authz/types/codegen/osmosis/claim/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryModuleAccountBalanceRequest, QueryModuleAccountBalanceResponse, QueryParamsRequest, QueryParamsResponse, QueryClaimRecordRequest, QueryClaimRecordResponse, QueryClaimableForActionRequest, QueryClaimableForActionResponse, QueryTotalClaimableRequest, QueryTotalClaimableResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - moduleAccountBalance(request?: QueryModuleAccountBalanceRequest): Promise; - params(request?: QueryParamsRequest): Promise; - claimRecord(request: QueryClaimRecordRequest): Promise; - claimableForAction(request: QueryClaimableForActionRequest): Promise; - totalClaimable(request: QueryTotalClaimableRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - moduleAccountBalance: (request?: QueryModuleAccountBalanceRequest) => Promise; - params: (request?: QueryParamsRequest) => Promise; - claimRecord: (request: QueryClaimRecordRequest) => Promise; - claimableForAction: (request: QueryClaimableForActionRequest) => Promise; - totalClaimable: (request: QueryTotalClaimableRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseModuleAccountBalanceQuery extends ReactQueryParams { - request?: QueryModuleAccountBalanceRequest; -} -export interface UseParamsQuery extends ReactQueryParams { - request?: QueryParamsRequest; -} -export interface UseClaimRecordQuery extends ReactQueryParams { - request: QueryClaimRecordRequest; -} -export interface UseClaimableForActionQuery extends ReactQueryParams { - request: QueryClaimableForActionRequest; -} -export interface UseTotalClaimableQuery extends ReactQueryParams { - request: QueryTotalClaimableRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - useModuleAccountBalance: ({ request, options }: UseModuleAccountBalanceQuery) => import("@tanstack/react-query").UseQueryResult; - useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useClaimRecord: ({ request, options }: UseClaimRecordQuery) => import("@tanstack/react-query").UseQueryResult; - useClaimableForAction: ({ request, options }: UseClaimableForActionQuery) => import("@tanstack/react-query").UseQueryResult; - useTotalClaimable: ({ request, options }: UseTotalClaimableQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - QueryModuleAccountBalanceStore: { - new (): { - store: QueryStore; - moduleAccountBalance(request: QueryModuleAccountBalanceRequest): import("../../../mobx").MobxResponse; - }; - }; - QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../../mobx").MobxResponse; - }; - }; - QueryClaimRecordStore: { - new (): { - store: QueryStore; - claimRecord(request: QueryClaimRecordRequest): import("../../../mobx").MobxResponse; - }; - }; - QueryClaimableForActionStore: { - new (): { - store: QueryStore; - claimableForAction(request: QueryClaimableForActionRequest): import("../../../mobx").MobxResponse; - }; - }; - QueryTotalClaimableStore: { - new (): { - store: QueryStore; - totalClaimable(request: QueryTotalClaimableRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/client.d.ts b/examples/authz/types/codegen/osmosis/client.d.ts deleted file mode 100644 index c73a4432..00000000 --- a/examples/authz/types/codegen/osmosis/client.d.ts +++ /dev/null @@ -1,157 +0,0 @@ -import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing"; -import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -export declare const osmosisAminoConverters: { - "/osmosis.tokenfactory.v1beta1.MsgCreateDenom": { - aminoType: string; - toAmino: (message: import("./tokenfactory/v1beta1/tx").MsgCreateDenom) => import("./tokenfactory/v1beta1/tx").MsgCreateDenomAmino; - fromAmino: (object: import("./tokenfactory/v1beta1/tx").MsgCreateDenomAmino) => import("./tokenfactory/v1beta1/tx").MsgCreateDenom; - }; - "/osmosis.tokenfactory.v1beta1.MsgMint": { - aminoType: string; - toAmino: (message: import("./tokenfactory/v1beta1/tx").MsgMint) => import("./tokenfactory/v1beta1/tx").MsgMintAmino; - fromAmino: (object: import("./tokenfactory/v1beta1/tx").MsgMintAmino) => import("./tokenfactory/v1beta1/tx").MsgMint; - }; - "/osmosis.tokenfactory.v1beta1.MsgBurn": { - aminoType: string; - toAmino: (message: import("./tokenfactory/v1beta1/tx").MsgBurn) => import("./tokenfactory/v1beta1/tx").MsgBurnAmino; - fromAmino: (object: import("./tokenfactory/v1beta1/tx").MsgBurnAmino) => import("./tokenfactory/v1beta1/tx").MsgBurn; - }; - "/osmosis.tokenfactory.v1beta1.MsgChangeAdmin": { - aminoType: string; - toAmino: (message: import("./tokenfactory/v1beta1/tx").MsgChangeAdmin) => import("./tokenfactory/v1beta1/tx").MsgChangeAdminAmino; - fromAmino: (object: import("./tokenfactory/v1beta1/tx").MsgChangeAdminAmino) => import("./tokenfactory/v1beta1/tx").MsgChangeAdmin; - }; - "/osmosis.tokenfactory.v1beta1.MsgSetDenomMetadata": { - aminoType: string; - toAmino: (message: import("./tokenfactory/v1beta1/tx").MsgSetDenomMetadata) => import("./tokenfactory/v1beta1/tx").MsgSetDenomMetadataAmino; - fromAmino: (object: import("./tokenfactory/v1beta1/tx").MsgSetDenomMetadataAmino) => import("./tokenfactory/v1beta1/tx").MsgSetDenomMetadata; - }; - "/osmosis.superfluid.MsgSuperfluidDelegate": { - aminoType: string; - toAmino: (message: import("./superfluid/tx").MsgSuperfluidDelegate) => import("./superfluid/tx").MsgSuperfluidDelegateAmino; - fromAmino: (object: import("./superfluid/tx").MsgSuperfluidDelegateAmino) => import("./superfluid/tx").MsgSuperfluidDelegate; - }; - "/osmosis.superfluid.MsgSuperfluidUndelegate": { - aminoType: string; - toAmino: (message: import("./superfluid/tx").MsgSuperfluidUndelegate) => import("./superfluid/tx").MsgSuperfluidUndelegateAmino; - fromAmino: (object: import("./superfluid/tx").MsgSuperfluidUndelegateAmino) => import("./superfluid/tx").MsgSuperfluidUndelegate; - }; - "/osmosis.superfluid.MsgSuperfluidUnbondLock": { - aminoType: string; - toAmino: (message: import("./superfluid/tx").MsgSuperfluidUnbondLock) => import("./superfluid/tx").MsgSuperfluidUnbondLockAmino; - fromAmino: (object: import("./superfluid/tx").MsgSuperfluidUnbondLockAmino) => import("./superfluid/tx").MsgSuperfluidUnbondLock; - }; - "/osmosis.superfluid.MsgLockAndSuperfluidDelegate": { - aminoType: string; - toAmino: (message: import("./superfluid/tx").MsgLockAndSuperfluidDelegate) => import("./superfluid/tx").MsgLockAndSuperfluidDelegateAmino; - fromAmino: (object: import("./superfluid/tx").MsgLockAndSuperfluidDelegateAmino) => import("./superfluid/tx").MsgLockAndSuperfluidDelegate; - }; - "/osmosis.superfluid.MsgUnPoolWhitelistedPool": { - aminoType: string; - toAmino: (message: import("./superfluid/tx").MsgUnPoolWhitelistedPool) => import("./superfluid/tx").MsgUnPoolWhitelistedPoolAmino; - fromAmino: (object: import("./superfluid/tx").MsgUnPoolWhitelistedPoolAmino) => import("./superfluid/tx").MsgUnPoolWhitelistedPool; - }; - "/osmosis.lockup.MsgLockTokens": { - aminoType: string; - toAmino: (message: import("./lockup/tx").MsgLockTokens) => import("./lockup/tx").MsgLockTokensAmino; - fromAmino: (object: import("./lockup/tx").MsgLockTokensAmino) => import("./lockup/tx").MsgLockTokens; - }; - "/osmosis.lockup.MsgBeginUnlockingAll": { - aminoType: string; - toAmino: (message: import("./lockup/tx").MsgBeginUnlockingAll) => import("./lockup/tx").MsgBeginUnlockingAllAmino; - fromAmino: (object: import("./lockup/tx").MsgBeginUnlockingAllAmino) => import("./lockup/tx").MsgBeginUnlockingAll; - }; - "/osmosis.lockup.MsgBeginUnlocking": { - aminoType: string; - toAmino: (message: import("./lockup/tx").MsgBeginUnlocking) => import("./lockup/tx").MsgBeginUnlockingAmino; - fromAmino: (object: import("./lockup/tx").MsgBeginUnlockingAmino) => import("./lockup/tx").MsgBeginUnlocking; - }; - "/osmosis.lockup.MsgExtendLockup": { - aminoType: string; - toAmino: (message: import("./lockup/tx").MsgExtendLockup) => import("./lockup/tx").MsgExtendLockupAmino; - fromAmino: (object: import("./lockup/tx").MsgExtendLockupAmino) => import("./lockup/tx").MsgExtendLockup; - }; - "/osmosis.lockup.MsgForceUnlock": { - aminoType: string; - toAmino: (message: import("./lockup/tx").MsgForceUnlock) => import("./lockup/tx").MsgForceUnlockAmino; - fromAmino: (object: import("./lockup/tx").MsgForceUnlockAmino) => import("./lockup/tx").MsgForceUnlock; - }; - "/osmosis.incentives.MsgCreateGauge": { - aminoType: string; - toAmino: (message: import("./incentives/tx").MsgCreateGauge) => import("./incentives/tx").MsgCreateGaugeAmino; - fromAmino: (object: import("./incentives/tx").MsgCreateGaugeAmino) => import("./incentives/tx").MsgCreateGauge; - }; - "/osmosis.incentives.MsgAddToGauge": { - aminoType: string; - toAmino: (message: import("./incentives/tx").MsgAddToGauge) => import("./incentives/tx").MsgAddToGaugeAmino; - fromAmino: (object: import("./incentives/tx").MsgAddToGaugeAmino) => import("./incentives/tx").MsgAddToGauge; - }; - "/osmosis.gamm.v1beta1.MsgJoinPool": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgJoinPool) => import("./gamm/v1beta1/tx").MsgJoinPoolAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgJoinPoolAmino) => import("./gamm/v1beta1/tx").MsgJoinPool; - }; - "/osmosis.gamm.v1beta1.MsgExitPool": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgExitPool) => import("./gamm/v1beta1/tx").MsgExitPoolAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgExitPoolAmino) => import("./gamm/v1beta1/tx").MsgExitPool; - }; - "/osmosis.gamm.v1beta1.MsgSwapExactAmountIn": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgSwapExactAmountIn) => import("./gamm/v1beta1/tx").MsgSwapExactAmountInAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgSwapExactAmountInAmino) => import("./gamm/v1beta1/tx").MsgSwapExactAmountIn; - }; - "/osmosis.gamm.v1beta1.MsgSwapExactAmountOut": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgSwapExactAmountOut) => import("./gamm/v1beta1/tx").MsgSwapExactAmountOutAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgSwapExactAmountOutAmino) => import("./gamm/v1beta1/tx").MsgSwapExactAmountOut; - }; - "/osmosis.gamm.v1beta1.MsgJoinSwapExternAmountIn": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgJoinSwapExternAmountIn) => import("./gamm/v1beta1/tx").MsgJoinSwapExternAmountInAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgJoinSwapExternAmountInAmino) => import("./gamm/v1beta1/tx").MsgJoinSwapExternAmountIn; - }; - "/osmosis.gamm.v1beta1.MsgJoinSwapShareAmountOut": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgJoinSwapShareAmountOut) => import("./gamm/v1beta1/tx").MsgJoinSwapShareAmountOutAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgJoinSwapShareAmountOutAmino) => import("./gamm/v1beta1/tx").MsgJoinSwapShareAmountOut; - }; - "/osmosis.gamm.v1beta1.MsgExitSwapExternAmountOut": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgExitSwapExternAmountOut) => import("./gamm/v1beta1/tx").MsgExitSwapExternAmountOutAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgExitSwapExternAmountOutAmino) => import("./gamm/v1beta1/tx").MsgExitSwapExternAmountOut; - }; - "/osmosis.gamm.v1beta1.MsgExitSwapShareAmountIn": { - aminoType: string; - toAmino: (message: import("./gamm/v1beta1/tx").MsgExitSwapShareAmountIn) => import("./gamm/v1beta1/tx").MsgExitSwapShareAmountInAmino; - fromAmino: (object: import("./gamm/v1beta1/tx").MsgExitSwapShareAmountInAmino) => import("./gamm/v1beta1/tx").MsgExitSwapShareAmountIn; - }; - "/osmosis.gamm.poolmodels.stableswap.v1beta1.MsgCreateStableswapPool": { - aminoType: string; - toAmino: (message: import("./gamm/pool-models/stableswap/tx").MsgCreateStableswapPool) => import("./gamm/pool-models/stableswap/tx").MsgCreateStableswapPoolAmino; - fromAmino: (object: import("./gamm/pool-models/stableswap/tx").MsgCreateStableswapPoolAmino) => import("./gamm/pool-models/stableswap/tx").MsgCreateStableswapPool; - }; - "/osmosis.gamm.poolmodels.stableswap.v1beta1.MsgStableSwapAdjustScalingFactors": { - aminoType: string; - toAmino: (message: import("./gamm/pool-models/stableswap/tx").MsgStableSwapAdjustScalingFactors) => import("./gamm/pool-models/stableswap/tx").MsgStableSwapAdjustScalingFactorsAmino; - fromAmino: (object: import("./gamm/pool-models/stableswap/tx").MsgStableSwapAdjustScalingFactorsAmino) => import("./gamm/pool-models/stableswap/tx").MsgStableSwapAdjustScalingFactors; - }; - "/osmosis.gamm.poolmodels.balancer.v1beta1.MsgCreateBalancerPool": { - aminoType: string; - toAmino: (message: import("./gamm/pool-models/balancer/tx/tx").MsgCreateBalancerPool) => import("./gamm/pool-models/balancer/tx/tx").MsgCreateBalancerPoolAmino; - fromAmino: (object: import("./gamm/pool-models/balancer/tx/tx").MsgCreateBalancerPoolAmino) => import("./gamm/pool-models/balancer/tx/tx").MsgCreateBalancerPool; - }; -}; -export declare const osmosisProtoRegistry: ReadonlyArray<[string, GeneratedType]>; -export declare const getSigningOsmosisClientOptions: ({ defaultTypes }?: { - defaultTypes?: ReadonlyArray<[string, GeneratedType]>; -}) => { - registry: Registry; - aminoTypes: AminoTypes; -}; -export declare const getSigningOsmosisClient: ({ rpcEndpoint, signer, defaultTypes }: { - rpcEndpoint: string | HttpEndpoint; - signer: OfflineSigner; - defaultTypes?: ReadonlyArray<[string, GeneratedType]>; -}) => Promise; diff --git a/examples/authz/types/codegen/osmosis/epochs/genesis.d.ts b/examples/authz/types/codegen/osmosis/epochs/genesis.d.ts deleted file mode 100644 index f9c96432..00000000 --- a/examples/authz/types/codegen/osmosis/epochs/genesis.d.ts +++ /dev/null @@ -1,202 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../google/protobuf/duration"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** - * EpochInfo is a struct that describes the data going into - * a timer defined by the x/epochs module. - */ -export interface EpochInfo { - /** identifier is a unique reference to this particular timer. */ - identifier: string; - /** - * start_time is the time at which the timer first ever ticks. - * If start_time is in the future, the epoch will not begin until the start - * time. - */ - startTime: Date | undefined; - /** - * duration is the time in between epoch ticks. - * In order for intended behavior to be met, duration should - * be greater than the chains expected block time. - * Duration must be non-zero. - */ - duration: Duration | undefined; - /** - * current_epoch is the current epoch number, or in other words, - * how many times has the timer 'ticked'. - * The first tick (current_epoch=1) is defined as - * the first block whose blocktime is greater than the EpochInfo start_time. - */ - currentEpoch: bigint; - /** - * current_epoch_start_time describes the start time of the current timer - * interval. The interval is (current_epoch_start_time, - * current_epoch_start_time + duration] When the timer ticks, this is set to - * current_epoch_start_time = last_epoch_start_time + duration only one timer - * tick for a given identifier can occur per block. - * - * NOTE! The current_epoch_start_time may diverge significantly from the - * wall-clock time the epoch began at. Wall-clock time of epoch start may be - * >> current_epoch_start_time. Suppose current_epoch_start_time = 10, - * duration = 5. Suppose the chain goes offline at t=14, and comes back online - * at t=30, and produces blocks at every successive time. (t=31, 32, etc.) - * * The t=30 block will start the epoch for (10, 15] - * * The t=31 block will start the epoch for (15, 20] - * * The t=32 block will start the epoch for (20, 25] - * * The t=33 block will start the epoch for (25, 30] - * * The t=34 block will start the epoch for (30, 35] - * * The **t=36** block will start the epoch for (35, 40] - */ - currentEpochStartTime: Date | undefined; - /** - * epoch_counting_started is a boolean, that indicates whether this - * epoch timer has began yet. - */ - epochCountingStarted: boolean; - /** - * current_epoch_start_height is the block height at which the current epoch - * started. (The block height at which the timer last ticked) - */ - currentEpochStartHeight: bigint; -} -export interface EpochInfoProtoMsg { - typeUrl: "/osmosis.epochs.v1beta1.EpochInfo"; - value: Uint8Array; -} -/** - * EpochInfo is a struct that describes the data going into - * a timer defined by the x/epochs module. - */ -export interface EpochInfoAmino { - /** identifier is a unique reference to this particular timer. */ - identifier?: string; - /** - * start_time is the time at which the timer first ever ticks. - * If start_time is in the future, the epoch will not begin until the start - * time. - */ - start_time?: string | undefined; - /** - * duration is the time in between epoch ticks. - * In order for intended behavior to be met, duration should - * be greater than the chains expected block time. - * Duration must be non-zero. - */ - duration?: DurationAmino | undefined; - /** - * current_epoch is the current epoch number, or in other words, - * how many times has the timer 'ticked'. - * The first tick (current_epoch=1) is defined as - * the first block whose blocktime is greater than the EpochInfo start_time. - */ - current_epoch?: string; - /** - * current_epoch_start_time describes the start time of the current timer - * interval. The interval is (current_epoch_start_time, - * current_epoch_start_time + duration] When the timer ticks, this is set to - * current_epoch_start_time = last_epoch_start_time + duration only one timer - * tick for a given identifier can occur per block. - * - * NOTE! The current_epoch_start_time may diverge significantly from the - * wall-clock time the epoch began at. Wall-clock time of epoch start may be - * >> current_epoch_start_time. Suppose current_epoch_start_time = 10, - * duration = 5. Suppose the chain goes offline at t=14, and comes back online - * at t=30, and produces blocks at every successive time. (t=31, 32, etc.) - * * The t=30 block will start the epoch for (10, 15] - * * The t=31 block will start the epoch for (15, 20] - * * The t=32 block will start the epoch for (20, 25] - * * The t=33 block will start the epoch for (25, 30] - * * The t=34 block will start the epoch for (30, 35] - * * The **t=36** block will start the epoch for (35, 40] - */ - current_epoch_start_time?: string | undefined; - /** - * epoch_counting_started is a boolean, that indicates whether this - * epoch timer has began yet. - */ - epoch_counting_started?: boolean; - /** - * current_epoch_start_height is the block height at which the current epoch - * started. (The block height at which the timer last ticked) - */ - current_epoch_start_height?: string; -} -export interface EpochInfoAminoMsg { - type: "osmosis/epochs/epoch-info"; - value: EpochInfoAmino; -} -/** - * EpochInfo is a struct that describes the data going into - * a timer defined by the x/epochs module. - */ -export interface EpochInfoSDKType { - identifier: string; - start_time: Date | undefined; - duration: DurationSDKType | undefined; - current_epoch: bigint; - current_epoch_start_time: Date | undefined; - epoch_counting_started: boolean; - current_epoch_start_height: bigint; -} -/** GenesisState defines the epochs module's genesis state. */ -export interface GenesisState { - epochs: EpochInfo[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/osmosis.epochs.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the epochs module's genesis state. */ -export interface GenesisStateAmino { - epochs?: EpochInfoAmino[]; -} -export interface GenesisStateAminoMsg { - type: "osmosis/epochs/genesis-state"; - value: GenesisStateAmino; -} -/** GenesisState defines the epochs module's genesis state. */ -export interface GenesisStateSDKType { - epochs: EpochInfoSDKType[]; -} -export declare const EpochInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is EpochInfo; - isSDK(o: any): o is EpochInfoSDKType; - isAmino(o: any): o is EpochInfoAmino; - encode(message: EpochInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EpochInfo; - fromJSON(object: any): EpochInfo; - toJSON(message: EpochInfo): unknown; - fromPartial(object: DeepPartial): EpochInfo; - fromSDK(object: EpochInfoSDKType): EpochInfo; - toSDK(message: EpochInfo): EpochInfoSDKType; - fromAmino(object: EpochInfoAmino): EpochInfo; - toAmino(message: EpochInfo): EpochInfoAmino; - fromAminoMsg(object: EpochInfoAminoMsg): EpochInfo; - toAminoMsg(message: EpochInfo): EpochInfoAminoMsg; - fromProtoMsg(message: EpochInfoProtoMsg): EpochInfo; - toProto(message: EpochInfo): Uint8Array; - toProtoMsg(message: EpochInfo): EpochInfoProtoMsg; -}; -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/epochs/query.d.ts b/examples/authz/types/codegen/osmosis/epochs/query.d.ts deleted file mode 100644 index 35852d2a..00000000 --- a/examples/authz/types/codegen/osmosis/epochs/query.d.ts +++ /dev/null @@ -1,152 +0,0 @@ -import { EpochInfo, EpochInfoAmino, EpochInfoSDKType } from "./genesis"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -export interface QueryEpochsInfoRequest { -} -export interface QueryEpochsInfoRequestProtoMsg { - typeUrl: "/osmosis.epochs.v1beta1.QueryEpochsInfoRequest"; - value: Uint8Array; -} -export interface QueryEpochsInfoRequestAmino { -} -export interface QueryEpochsInfoRequestAminoMsg { - type: "osmosis/epochs/query-epochs-info-request"; - value: QueryEpochsInfoRequestAmino; -} -export interface QueryEpochsInfoRequestSDKType { -} -export interface QueryEpochsInfoResponse { - epochs: EpochInfo[]; -} -export interface QueryEpochsInfoResponseProtoMsg { - typeUrl: "/osmosis.epochs.v1beta1.QueryEpochsInfoResponse"; - value: Uint8Array; -} -export interface QueryEpochsInfoResponseAmino { - epochs?: EpochInfoAmino[]; -} -export interface QueryEpochsInfoResponseAminoMsg { - type: "osmosis/epochs/query-epochs-info-response"; - value: QueryEpochsInfoResponseAmino; -} -export interface QueryEpochsInfoResponseSDKType { - epochs: EpochInfoSDKType[]; -} -export interface QueryCurrentEpochRequest { - identifier: string; -} -export interface QueryCurrentEpochRequestProtoMsg { - typeUrl: "/osmosis.epochs.v1beta1.QueryCurrentEpochRequest"; - value: Uint8Array; -} -export interface QueryCurrentEpochRequestAmino { - identifier?: string; -} -export interface QueryCurrentEpochRequestAminoMsg { - type: "osmosis/epochs/query-current-epoch-request"; - value: QueryCurrentEpochRequestAmino; -} -export interface QueryCurrentEpochRequestSDKType { - identifier: string; -} -export interface QueryCurrentEpochResponse { - currentEpoch: bigint; -} -export interface QueryCurrentEpochResponseProtoMsg { - typeUrl: "/osmosis.epochs.v1beta1.QueryCurrentEpochResponse"; - value: Uint8Array; -} -export interface QueryCurrentEpochResponseAmino { - current_epoch?: string; -} -export interface QueryCurrentEpochResponseAminoMsg { - type: "osmosis/epochs/query-current-epoch-response"; - value: QueryCurrentEpochResponseAmino; -} -export interface QueryCurrentEpochResponseSDKType { - current_epoch: bigint; -} -export declare const QueryEpochsInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryEpochsInfoRequest; - isSDK(o: any): o is QueryEpochsInfoRequestSDKType; - isAmino(o: any): o is QueryEpochsInfoRequestAmino; - encode(_: QueryEpochsInfoRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryEpochsInfoRequest; - fromJSON(_: any): QueryEpochsInfoRequest; - toJSON(_: QueryEpochsInfoRequest): unknown; - fromPartial(_: DeepPartial): QueryEpochsInfoRequest; - fromSDK(_: QueryEpochsInfoRequestSDKType): QueryEpochsInfoRequest; - toSDK(_: QueryEpochsInfoRequest): QueryEpochsInfoRequestSDKType; - fromAmino(_: QueryEpochsInfoRequestAmino): QueryEpochsInfoRequest; - toAmino(_: QueryEpochsInfoRequest): QueryEpochsInfoRequestAmino; - fromAminoMsg(object: QueryEpochsInfoRequestAminoMsg): QueryEpochsInfoRequest; - toAminoMsg(message: QueryEpochsInfoRequest): QueryEpochsInfoRequestAminoMsg; - fromProtoMsg(message: QueryEpochsInfoRequestProtoMsg): QueryEpochsInfoRequest; - toProto(message: QueryEpochsInfoRequest): Uint8Array; - toProtoMsg(message: QueryEpochsInfoRequest): QueryEpochsInfoRequestProtoMsg; -}; -export declare const QueryEpochsInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryEpochsInfoResponse; - isSDK(o: any): o is QueryEpochsInfoResponseSDKType; - isAmino(o: any): o is QueryEpochsInfoResponseAmino; - encode(message: QueryEpochsInfoResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryEpochsInfoResponse; - fromJSON(object: any): QueryEpochsInfoResponse; - toJSON(message: QueryEpochsInfoResponse): unknown; - fromPartial(object: DeepPartial): QueryEpochsInfoResponse; - fromSDK(object: QueryEpochsInfoResponseSDKType): QueryEpochsInfoResponse; - toSDK(message: QueryEpochsInfoResponse): QueryEpochsInfoResponseSDKType; - fromAmino(object: QueryEpochsInfoResponseAmino): QueryEpochsInfoResponse; - toAmino(message: QueryEpochsInfoResponse): QueryEpochsInfoResponseAmino; - fromAminoMsg(object: QueryEpochsInfoResponseAminoMsg): QueryEpochsInfoResponse; - toAminoMsg(message: QueryEpochsInfoResponse): QueryEpochsInfoResponseAminoMsg; - fromProtoMsg(message: QueryEpochsInfoResponseProtoMsg): QueryEpochsInfoResponse; - toProto(message: QueryEpochsInfoResponse): Uint8Array; - toProtoMsg(message: QueryEpochsInfoResponse): QueryEpochsInfoResponseProtoMsg; -}; -export declare const QueryCurrentEpochRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryCurrentEpochRequest; - isSDK(o: any): o is QueryCurrentEpochRequestSDKType; - isAmino(o: any): o is QueryCurrentEpochRequestAmino; - encode(message: QueryCurrentEpochRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryCurrentEpochRequest; - fromJSON(object: any): QueryCurrentEpochRequest; - toJSON(message: QueryCurrentEpochRequest): unknown; - fromPartial(object: DeepPartial): QueryCurrentEpochRequest; - fromSDK(object: QueryCurrentEpochRequestSDKType): QueryCurrentEpochRequest; - toSDK(message: QueryCurrentEpochRequest): QueryCurrentEpochRequestSDKType; - fromAmino(object: QueryCurrentEpochRequestAmino): QueryCurrentEpochRequest; - toAmino(message: QueryCurrentEpochRequest): QueryCurrentEpochRequestAmino; - fromAminoMsg(object: QueryCurrentEpochRequestAminoMsg): QueryCurrentEpochRequest; - toAminoMsg(message: QueryCurrentEpochRequest): QueryCurrentEpochRequestAminoMsg; - fromProtoMsg(message: QueryCurrentEpochRequestProtoMsg): QueryCurrentEpochRequest; - toProto(message: QueryCurrentEpochRequest): Uint8Array; - toProtoMsg(message: QueryCurrentEpochRequest): QueryCurrentEpochRequestProtoMsg; -}; -export declare const QueryCurrentEpochResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryCurrentEpochResponse; - isSDK(o: any): o is QueryCurrentEpochResponseSDKType; - isAmino(o: any): o is QueryCurrentEpochResponseAmino; - encode(message: QueryCurrentEpochResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryCurrentEpochResponse; - fromJSON(object: any): QueryCurrentEpochResponse; - toJSON(message: QueryCurrentEpochResponse): unknown; - fromPartial(object: DeepPartial): QueryCurrentEpochResponse; - fromSDK(object: QueryCurrentEpochResponseSDKType): QueryCurrentEpochResponse; - toSDK(message: QueryCurrentEpochResponse): QueryCurrentEpochResponseSDKType; - fromAmino(object: QueryCurrentEpochResponseAmino): QueryCurrentEpochResponse; - toAmino(message: QueryCurrentEpochResponse): QueryCurrentEpochResponseAmino; - fromAminoMsg(object: QueryCurrentEpochResponseAminoMsg): QueryCurrentEpochResponse; - toAminoMsg(message: QueryCurrentEpochResponse): QueryCurrentEpochResponseAminoMsg; - fromProtoMsg(message: QueryCurrentEpochResponseProtoMsg): QueryCurrentEpochResponse; - toProto(message: QueryCurrentEpochResponse): Uint8Array; - toProtoMsg(message: QueryCurrentEpochResponse): QueryCurrentEpochResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/epochs/query.rpc.Query.d.ts b/examples/authz/types/codegen/osmosis/epochs/query.rpc.Query.d.ts deleted file mode 100644 index b26b6b81..00000000 --- a/examples/authz/types/codegen/osmosis/epochs/query.rpc.Query.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { TxRpc } from "../../types"; -import { ReactQueryParams } from "../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../mobx"; -import { QueryEpochsInfoRequest, QueryEpochsInfoResponse, QueryCurrentEpochRequest, QueryCurrentEpochResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** EpochInfos provide running epochInfos */ - epochInfos(request?: QueryEpochsInfoRequest): Promise; - /** CurrentEpoch provide current epoch of specified identifier */ - currentEpoch(request: QueryCurrentEpochRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - epochInfos: (request?: QueryEpochsInfoRequest) => Promise; - currentEpoch: (request: QueryCurrentEpochRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseEpochInfosQuery extends ReactQueryParams { - request?: QueryEpochsInfoRequest; -} -export interface UseCurrentEpochQuery extends ReactQueryParams { - request: QueryCurrentEpochRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** EpochInfos provide running epochInfos */ useEpochInfos: ({ request, options }: UseEpochInfosQuery) => import("@tanstack/react-query").UseQueryResult; - /** CurrentEpoch provide current epoch of specified identifier */ useCurrentEpoch: ({ request, options }: UseCurrentEpochQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** EpochInfos provide running epochInfos */ QueryEpochInfosStore: { - new (): { - store: QueryStore; - epochInfos(request: QueryEpochsInfoRequest): import("../../mobx").MobxResponse; - }; - }; - /** CurrentEpoch provide current epoch of specified identifier */ QueryCurrentEpochStore: { - new (): { - store: QueryStore; - currentEpoch(request: QueryCurrentEpochRequest): import("../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/balancerPool.d.ts b/examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/balancerPool.d.ts deleted file mode 100644 index a1b505d4..00000000 --- a/examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/balancerPool.d.ts +++ /dev/null @@ -1,351 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../../../google/protobuf/duration"; -import { Coin, CoinAmino, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * Parameters for changing the weights in a balancer pool smoothly from - * a start weight and end weight over a period of time. - * Currently, the only smooth change supported is linear changing between - * the two weights, but more types may be added in the future. - * When these parameters are set, the weight w(t) for pool time `t` is the - * following: - * t <= start_time: w(t) = initial_pool_weights - * start_time < t <= start_time + duration: - * w(t) = initial_pool_weights + (t - start_time) * - * (target_pool_weights - initial_pool_weights) / (duration) - * t > start_time + duration: w(t) = target_pool_weights - */ -export interface SmoothWeightChangeParams { - /** - * The start time for beginning the weight change. - * If a parameter change / pool instantiation leaves this blank, - * it should be generated by the state_machine as the current time. - */ - startTime: Date | undefined; - /** Duration for the weights to change over */ - duration: Duration | undefined; - /** - * The initial pool weights. These are copied from the pool's settings - * at the time of weight change instantiation. - * The amount PoolAsset.token.amount field is ignored if present, - * future type refactorings should just have a type with the denom & weight - * here. - */ - initialPoolWeights: PoolAsset[]; - /** - * The target pool weights. The pool weights will change linearly with respect - * to time between start_time, and start_time + duration. The amount - * PoolAsset.token.amount field is ignored if present, future type - * refactorings should just have a type with the denom & weight here. - */ - targetPoolWeights: PoolAsset[]; -} -export interface SmoothWeightChangeParamsProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.SmoothWeightChangeParams"; - value: Uint8Array; -} -/** - * Parameters for changing the weights in a balancer pool smoothly from - * a start weight and end weight over a period of time. - * Currently, the only smooth change supported is linear changing between - * the two weights, but more types may be added in the future. - * When these parameters are set, the weight w(t) for pool time `t` is the - * following: - * t <= start_time: w(t) = initial_pool_weights - * start_time < t <= start_time + duration: - * w(t) = initial_pool_weights + (t - start_time) * - * (target_pool_weights - initial_pool_weights) / (duration) - * t > start_time + duration: w(t) = target_pool_weights - */ -export interface SmoothWeightChangeParamsAmino { - /** - * The start time for beginning the weight change. - * If a parameter change / pool instantiation leaves this blank, - * it should be generated by the state_machine as the current time. - */ - start_time?: string | undefined; - /** Duration for the weights to change over */ - duration?: DurationAmino | undefined; - /** - * The initial pool weights. These are copied from the pool's settings - * at the time of weight change instantiation. - * The amount PoolAsset.token.amount field is ignored if present, - * future type refactorings should just have a type with the denom & weight - * here. - */ - initial_pool_weights?: PoolAssetAmino[]; - /** - * The target pool weights. The pool weights will change linearly with respect - * to time between start_time, and start_time + duration. The amount - * PoolAsset.token.amount field is ignored if present, future type - * refactorings should just have a type with the denom & weight here. - */ - target_pool_weights?: PoolAssetAmino[]; -} -export interface SmoothWeightChangeParamsAminoMsg { - type: "osmosis/gamm/smooth-weight-change-params"; - value: SmoothWeightChangeParamsAmino; -} -/** - * Parameters for changing the weights in a balancer pool smoothly from - * a start weight and end weight over a period of time. - * Currently, the only smooth change supported is linear changing between - * the two weights, but more types may be added in the future. - * When these parameters are set, the weight w(t) for pool time `t` is the - * following: - * t <= start_time: w(t) = initial_pool_weights - * start_time < t <= start_time + duration: - * w(t) = initial_pool_weights + (t - start_time) * - * (target_pool_weights - initial_pool_weights) / (duration) - * t > start_time + duration: w(t) = target_pool_weights - */ -export interface SmoothWeightChangeParamsSDKType { - start_time: Date | undefined; - duration: DurationSDKType | undefined; - initial_pool_weights: PoolAssetSDKType[]; - target_pool_weights: PoolAssetSDKType[]; -} -/** - * PoolParams defined the parameters that will be managed by the pool - * governance in the future. This params are not managed by the chain - * governance. Instead they will be managed by the token holders of the pool. - * The pool's token holders are specified in future_pool_governor. - */ -export interface PoolParams { - swapFee: string; - exitFee: string; - smoothWeightChangeParams?: SmoothWeightChangeParams | undefined; -} -export interface PoolParamsProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.PoolParams"; - value: Uint8Array; -} -/** - * PoolParams defined the parameters that will be managed by the pool - * governance in the future. This params are not managed by the chain - * governance. Instead they will be managed by the token holders of the pool. - * The pool's token holders are specified in future_pool_governor. - */ -export interface PoolParamsAmino { - swap_fee?: string; - exit_fee?: string; - smooth_weight_change_params?: SmoothWeightChangeParamsAmino | undefined; -} -export interface PoolParamsAminoMsg { - type: "osmosis/gamm/pool-params"; - value: PoolParamsAmino; -} -/** - * PoolParams defined the parameters that will be managed by the pool - * governance in the future. This params are not managed by the chain - * governance. Instead they will be managed by the token holders of the pool. - * The pool's token holders are specified in future_pool_governor. - */ -export interface PoolParamsSDKType { - swap_fee: string; - exit_fee: string; - smooth_weight_change_params?: SmoothWeightChangeParamsSDKType | undefined; -} -/** - * Pool asset is an internal struct that combines the amount of the - * token in the pool, and its balancer weight. - * This is an awkward packaging of data, - * and should be revisited in a future state migration. - */ -export interface PoolAsset { - /** - * Coins we are talking about, - * the denomination must be unique amongst all PoolAssets for this pool. - */ - token: Coin | undefined; - /** Weight that is not normalized. This weight must be less than 2^50 */ - weight: string; -} -export interface PoolAssetProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.PoolAsset"; - value: Uint8Array; -} -/** - * Pool asset is an internal struct that combines the amount of the - * token in the pool, and its balancer weight. - * This is an awkward packaging of data, - * and should be revisited in a future state migration. - */ -export interface PoolAssetAmino { - /** - * Coins we are talking about, - * the denomination must be unique amongst all PoolAssets for this pool. - */ - token?: CoinAmino | undefined; - /** Weight that is not normalized. This weight must be less than 2^50 */ - weight?: string; -} -export interface PoolAssetAminoMsg { - type: "osmosis/gamm/pool-asset"; - value: PoolAssetAmino; -} -/** - * Pool asset is an internal struct that combines the amount of the - * token in the pool, and its balancer weight. - * This is an awkward packaging of data, - * and should be revisited in a future state migration. - */ -export interface PoolAssetSDKType { - token: CoinSDKType | undefined; - weight: string; -} -export interface Pool { - $typeUrl?: "/osmosis.gamm.v1beta1.Pool"; - address: string; - id: bigint; - poolParams: PoolParams | undefined; - /** - * This string specifies who will govern the pool in the future. - * Valid forms of this are: - * {token name},{duration} - * {duration} - * where {token name} if specified is the token which determines the - * governor, and if not specified is the LP token for this pool.duration is - * a time specified as 0w,1w,2w, etc. which specifies how long the token - * would need to be locked up to count in governance. 0w means no lockup. - * TODO: Further improve these docs - */ - futurePoolGovernor: string; - /** sum of all LP tokens sent out */ - totalShares: Coin | undefined; - /** - * These are assumed to be sorted by denomiation. - * They contain the pool asset and the information about the weight - */ - poolAssets: PoolAsset[]; - /** sum of all non-normalized pool weights */ - totalWeight: string; -} -export interface PoolProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.Pool"; - value: Uint8Array; -} -export interface PoolAmino { - address?: string; - id?: string; - pool_params?: PoolParamsAmino | undefined; - /** - * This string specifies who will govern the pool in the future. - * Valid forms of this are: - * {token name},{duration} - * {duration} - * where {token name} if specified is the token which determines the - * governor, and if not specified is the LP token for this pool.duration is - * a time specified as 0w,1w,2w, etc. which specifies how long the token - * would need to be locked up to count in governance. 0w means no lockup. - * TODO: Further improve these docs - */ - future_pool_governor?: string; - /** sum of all LP tokens sent out */ - total_shares?: CoinAmino | undefined; - /** - * These are assumed to be sorted by denomiation. - * They contain the pool asset and the information about the weight - */ - pool_assets?: PoolAssetAmino[]; - /** sum of all non-normalized pool weights */ - total_weight?: string; -} -export interface PoolAminoMsg { - type: "osmosis/gamm/pool"; - value: PoolAmino; -} -export interface PoolSDKType { - $typeUrl?: "/osmosis.gamm.v1beta1.Pool"; - address: string; - id: bigint; - pool_params: PoolParamsSDKType | undefined; - future_pool_governor: string; - total_shares: CoinSDKType | undefined; - pool_assets: PoolAssetSDKType[]; - total_weight: string; -} -export declare const SmoothWeightChangeParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is SmoothWeightChangeParams; - isSDK(o: any): o is SmoothWeightChangeParamsSDKType; - isAmino(o: any): o is SmoothWeightChangeParamsAmino; - encode(message: SmoothWeightChangeParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SmoothWeightChangeParams; - fromJSON(object: any): SmoothWeightChangeParams; - toJSON(message: SmoothWeightChangeParams): unknown; - fromPartial(object: DeepPartial): SmoothWeightChangeParams; - fromSDK(object: SmoothWeightChangeParamsSDKType): SmoothWeightChangeParams; - toSDK(message: SmoothWeightChangeParams): SmoothWeightChangeParamsSDKType; - fromAmino(object: SmoothWeightChangeParamsAmino): SmoothWeightChangeParams; - toAmino(message: SmoothWeightChangeParams): SmoothWeightChangeParamsAmino; - fromAminoMsg(object: SmoothWeightChangeParamsAminoMsg): SmoothWeightChangeParams; - toAminoMsg(message: SmoothWeightChangeParams): SmoothWeightChangeParamsAminoMsg; - fromProtoMsg(message: SmoothWeightChangeParamsProtoMsg): SmoothWeightChangeParams; - toProto(message: SmoothWeightChangeParams): Uint8Array; - toProtoMsg(message: SmoothWeightChangeParams): SmoothWeightChangeParamsProtoMsg; -}; -export declare const PoolParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is PoolParams; - isSDK(o: any): o is PoolParamsSDKType; - isAmino(o: any): o is PoolParamsAmino; - encode(message: PoolParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PoolParams; - fromJSON(object: any): PoolParams; - toJSON(message: PoolParams): unknown; - fromPartial(object: DeepPartial): PoolParams; - fromSDK(object: PoolParamsSDKType): PoolParams; - toSDK(message: PoolParams): PoolParamsSDKType; - fromAmino(object: PoolParamsAmino): PoolParams; - toAmino(message: PoolParams): PoolParamsAmino; - fromAminoMsg(object: PoolParamsAminoMsg): PoolParams; - toAminoMsg(message: PoolParams): PoolParamsAminoMsg; - fromProtoMsg(message: PoolParamsProtoMsg): PoolParams; - toProto(message: PoolParams): Uint8Array; - toProtoMsg(message: PoolParams): PoolParamsProtoMsg; -}; -export declare const PoolAsset: { - typeUrl: string; - aminoType: string; - is(o: any): o is PoolAsset; - isSDK(o: any): o is PoolAssetSDKType; - isAmino(o: any): o is PoolAssetAmino; - encode(message: PoolAsset, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PoolAsset; - fromJSON(object: any): PoolAsset; - toJSON(message: PoolAsset): unknown; - fromPartial(object: DeepPartial): PoolAsset; - fromSDK(object: PoolAssetSDKType): PoolAsset; - toSDK(message: PoolAsset): PoolAssetSDKType; - fromAmino(object: PoolAssetAmino): PoolAsset; - toAmino(message: PoolAsset): PoolAssetAmino; - fromAminoMsg(object: PoolAssetAminoMsg): PoolAsset; - toAminoMsg(message: PoolAsset): PoolAssetAminoMsg; - fromProtoMsg(message: PoolAssetProtoMsg): PoolAsset; - toProto(message: PoolAsset): Uint8Array; - toProtoMsg(message: PoolAsset): PoolAssetProtoMsg; -}; -export declare const Pool: { - typeUrl: string; - aminoType: string; - is(o: any): o is Pool; - isSDK(o: any): o is PoolSDKType; - isAmino(o: any): o is PoolAmino; - encode(message: Pool, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Pool; - fromJSON(object: any): Pool; - toJSON(message: Pool): unknown; - fromPartial(object: DeepPartial): Pool; - fromSDK(object: PoolSDKType): Pool; - toSDK(message: Pool): PoolSDKType; - fromAmino(object: PoolAmino): Pool; - toAmino(message: Pool): PoolAmino; - fromAminoMsg(object: PoolAminoMsg): Pool; - toAminoMsg(message: Pool): PoolAminoMsg; - fromProtoMsg(message: PoolProtoMsg): Pool; - toProto(message: Pool): Uint8Array; - toProtoMsg(message: Pool): PoolProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.amino.d.ts b/examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.amino.d.ts deleted file mode 100644 index 0f9683ad..00000000 --- a/examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.amino.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgCreateBalancerPool } from "./tx"; -export declare const AminoConverter: { - "/osmosis.gamm.poolmodels.balancer.v1beta1.MsgCreateBalancerPool": { - aminoType: string; - toAmino: (message: MsgCreateBalancerPool) => import("./tx").MsgCreateBalancerPoolAmino; - fromAmino: (object: import("./tx").MsgCreateBalancerPoolAmino) => MsgCreateBalancerPool; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.d.ts b/examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.d.ts deleted file mode 100644 index e46aa06f..00000000 --- a/examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { PoolParams, PoolParamsAmino, PoolParamsSDKType, PoolAsset, PoolAssetAmino, PoolAssetSDKType } from "../balancerPool"; -import { BinaryReader, BinaryWriter } from "../../../../../binary"; -import { DeepPartial } from "../../../../../helpers"; -/** ===================== MsgCreatePool */ -export interface MsgCreateBalancerPool { - sender: string; - poolParams?: PoolParams | undefined; - poolAssets: PoolAsset[]; - futurePoolGovernor: string; -} -export interface MsgCreateBalancerPoolProtoMsg { - typeUrl: "/osmosis.gamm.poolmodels.balancer.v1beta1.MsgCreateBalancerPool"; - value: Uint8Array; -} -/** ===================== MsgCreatePool */ -export interface MsgCreateBalancerPoolAmino { - sender?: string; - pool_params?: PoolParamsAmino | undefined; - pool_assets?: PoolAssetAmino[]; - future_pool_governor?: string; -} -export interface MsgCreateBalancerPoolAminoMsg { - type: "osmosis/gamm/poolmodels/balancer/create-balancer-pool"; - value: MsgCreateBalancerPoolAmino; -} -/** ===================== MsgCreatePool */ -export interface MsgCreateBalancerPoolSDKType { - sender: string; - pool_params?: PoolParamsSDKType | undefined; - pool_assets: PoolAssetSDKType[]; - future_pool_governor: string; -} -/** Returns the poolID */ -export interface MsgCreateBalancerPoolResponse { - poolId: bigint; -} -export interface MsgCreateBalancerPoolResponseProtoMsg { - typeUrl: "/osmosis.gamm.poolmodels.balancer.v1beta1.MsgCreateBalancerPoolResponse"; - value: Uint8Array; -} -/** Returns the poolID */ -export interface MsgCreateBalancerPoolResponseAmino { - pool_id?: string; -} -export interface MsgCreateBalancerPoolResponseAminoMsg { - type: "osmosis/gamm/poolmodels/balancer/create-balancer-pool-response"; - value: MsgCreateBalancerPoolResponseAmino; -} -/** Returns the poolID */ -export interface MsgCreateBalancerPoolResponseSDKType { - pool_id: bigint; -} -export declare const MsgCreateBalancerPool: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateBalancerPool; - isSDK(o: any): o is MsgCreateBalancerPoolSDKType; - isAmino(o: any): o is MsgCreateBalancerPoolAmino; - encode(message: MsgCreateBalancerPool, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateBalancerPool; - fromJSON(object: any): MsgCreateBalancerPool; - toJSON(message: MsgCreateBalancerPool): unknown; - fromPartial(object: DeepPartial): MsgCreateBalancerPool; - fromSDK(object: MsgCreateBalancerPoolSDKType): MsgCreateBalancerPool; - toSDK(message: MsgCreateBalancerPool): MsgCreateBalancerPoolSDKType; - fromAmino(object: MsgCreateBalancerPoolAmino): MsgCreateBalancerPool; - toAmino(message: MsgCreateBalancerPool): MsgCreateBalancerPoolAmino; - fromAminoMsg(object: MsgCreateBalancerPoolAminoMsg): MsgCreateBalancerPool; - toAminoMsg(message: MsgCreateBalancerPool): MsgCreateBalancerPoolAminoMsg; - fromProtoMsg(message: MsgCreateBalancerPoolProtoMsg): MsgCreateBalancerPool; - toProto(message: MsgCreateBalancerPool): Uint8Array; - toProtoMsg(message: MsgCreateBalancerPool): MsgCreateBalancerPoolProtoMsg; -}; -export declare const MsgCreateBalancerPoolResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateBalancerPoolResponse; - isSDK(o: any): o is MsgCreateBalancerPoolResponseSDKType; - isAmino(o: any): o is MsgCreateBalancerPoolResponseAmino; - encode(message: MsgCreateBalancerPoolResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateBalancerPoolResponse; - fromJSON(object: any): MsgCreateBalancerPoolResponse; - toJSON(message: MsgCreateBalancerPoolResponse): unknown; - fromPartial(object: DeepPartial): MsgCreateBalancerPoolResponse; - fromSDK(object: MsgCreateBalancerPoolResponseSDKType): MsgCreateBalancerPoolResponse; - toSDK(message: MsgCreateBalancerPoolResponse): MsgCreateBalancerPoolResponseSDKType; - fromAmino(object: MsgCreateBalancerPoolResponseAmino): MsgCreateBalancerPoolResponse; - toAmino(message: MsgCreateBalancerPoolResponse): MsgCreateBalancerPoolResponseAmino; - fromAminoMsg(object: MsgCreateBalancerPoolResponseAminoMsg): MsgCreateBalancerPoolResponse; - toAminoMsg(message: MsgCreateBalancerPoolResponse): MsgCreateBalancerPoolResponseAminoMsg; - fromProtoMsg(message: MsgCreateBalancerPoolResponseProtoMsg): MsgCreateBalancerPoolResponse; - toProto(message: MsgCreateBalancerPoolResponse): Uint8Array; - toProtoMsg(message: MsgCreateBalancerPoolResponse): MsgCreateBalancerPoolResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.registry.d.ts b/examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.registry.d.ts deleted file mode 100644 index a96542c8..00000000 --- a/examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.registry.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { TelescopeGeneratedType } from "../../../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgCreateBalancerPool } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - createBalancerPool(value: MsgCreateBalancerPool): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createBalancerPool(value: MsgCreateBalancerPool): { - typeUrl: string; - value: MsgCreateBalancerPool; - }; - }; - toJSON: { - createBalancerPool(value: MsgCreateBalancerPool): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createBalancerPool(value: any): { - typeUrl: string; - value: MsgCreateBalancerPool; - }; - }; - fromPartial: { - createBalancerPool(value: MsgCreateBalancerPool): { - typeUrl: string; - value: MsgCreateBalancerPool; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.rpc.msg.d.ts b/examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.rpc.msg.d.ts deleted file mode 100644 index f8ba621f..00000000 --- a/examples/authz/types/codegen/osmosis/gamm/pool-models/balancer/tx/tx.rpc.msg.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../../../types"; -import { MsgCreateBalancerPool } from "./tx"; -export interface Msg { - createBalancerPool(signerAddress: string, message: MsgCreateBalancerPool, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - createBalancerPool: (signerAddress: string, message: MsgCreateBalancerPool, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/stableswap_pool.d.ts b/examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/stableswap_pool.d.ts deleted file mode 100644 index 66c3a790..00000000 --- a/examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/stableswap_pool.d.ts +++ /dev/null @@ -1,154 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** - * PoolParams defined the parameters that will be managed by the pool - * governance in the future. This params are not managed by the chain - * governance. Instead they will be managed by the token holders of the pool. - * The pool's token holders are specified in future_pool_governor. - */ -export interface PoolParams { - swapFee: string; - exitFee: string; -} -export interface PoolParamsProtoMsg { - typeUrl: "/osmosis.gamm.poolmodels.stableswap.v1beta1.PoolParams"; - value: Uint8Array; -} -/** - * PoolParams defined the parameters that will be managed by the pool - * governance in the future. This params are not managed by the chain - * governance. Instead they will be managed by the token holders of the pool. - * The pool's token holders are specified in future_pool_governor. - */ -export interface PoolParamsAmino { - swap_fee?: string; - exit_fee?: string; -} -export interface PoolParamsAminoMsg { - type: "osmosis/gamm/pool-params"; - value: PoolParamsAmino; -} -/** - * PoolParams defined the parameters that will be managed by the pool - * governance in the future. This params are not managed by the chain - * governance. Instead they will be managed by the token holders of the pool. - * The pool's token holders are specified in future_pool_governor. - */ -export interface PoolParamsSDKType { - swap_fee: string; - exit_fee: string; -} -/** Pool is the stableswap Pool struct */ -export interface Pool { - $typeUrl?: "/osmosis.gamm.poolmodels.stableswap.v1beta1.Pool"; - address: string; - id: bigint; - poolParams: PoolParams | undefined; - /** - * This string specifies who will govern the pool in the future. - * Valid forms of this are: - * {token name},{duration} - * {duration} - * where {token name} if specified is the token which determines the - * governor, and if not specified is the LP token for this pool.duration is - * a time specified as 0w,1w,2w, etc. which specifies how long the token - * would need to be locked up to count in governance. 0w means no lockup. - */ - futurePoolGovernor: string; - /** sum of all LP shares */ - totalShares: Coin | undefined; - /** assets in the pool */ - poolLiquidity: Coin[]; - /** for calculation amognst assets with different precisions */ - scalingFactors: bigint[]; - /** scaling_factor_controller is the address can adjust pool scaling factors */ - scalingFactorController: string; -} -export interface PoolProtoMsg { - typeUrl: "/osmosis.gamm.poolmodels.stableswap.v1beta1.Pool"; - value: Uint8Array; -} -/** Pool is the stableswap Pool struct */ -export interface PoolAmino { - address?: string; - id?: string; - pool_params?: PoolParamsAmino | undefined; - /** - * This string specifies who will govern the pool in the future. - * Valid forms of this are: - * {token name},{duration} - * {duration} - * where {token name} if specified is the token which determines the - * governor, and if not specified is the LP token for this pool.duration is - * a time specified as 0w,1w,2w, etc. which specifies how long the token - * would need to be locked up to count in governance. 0w means no lockup. - */ - future_pool_governor?: string; - /** sum of all LP shares */ - total_shares?: CoinAmino | undefined; - /** assets in the pool */ - pool_liquidity?: CoinAmino[]; - /** for calculation amognst assets with different precisions */ - scaling_factors?: string[]; - /** scaling_factor_controller is the address can adjust pool scaling factors */ - scaling_factor_controller?: string; -} -export interface PoolAminoMsg { - type: "osmosis/gamm/pool"; - value: PoolAmino; -} -/** Pool is the stableswap Pool struct */ -export interface PoolSDKType { - $typeUrl?: "/osmosis.gamm.poolmodels.stableswap.v1beta1.Pool"; - address: string; - id: bigint; - pool_params: PoolParamsSDKType | undefined; - future_pool_governor: string; - total_shares: CoinSDKType | undefined; - pool_liquidity: CoinSDKType[]; - scaling_factors: bigint[]; - scaling_factor_controller: string; -} -export declare const PoolParams: { - typeUrl: string; - aminoType: string; - is(o: any): o is PoolParams; - isSDK(o: any): o is PoolParamsSDKType; - isAmino(o: any): o is PoolParamsAmino; - encode(message: PoolParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PoolParams; - fromJSON(object: any): PoolParams; - toJSON(message: PoolParams): unknown; - fromPartial(object: DeepPartial): PoolParams; - fromSDK(object: PoolParamsSDKType): PoolParams; - toSDK(message: PoolParams): PoolParamsSDKType; - fromAmino(object: PoolParamsAmino): PoolParams; - toAmino(message: PoolParams): PoolParamsAmino; - fromAminoMsg(object: PoolParamsAminoMsg): PoolParams; - toAminoMsg(message: PoolParams): PoolParamsAminoMsg; - fromProtoMsg(message: PoolParamsProtoMsg): PoolParams; - toProto(message: PoolParams): Uint8Array; - toProtoMsg(message: PoolParams): PoolParamsProtoMsg; -}; -export declare const Pool: { - typeUrl: string; - aminoType: string; - is(o: any): o is Pool; - isSDK(o: any): o is PoolSDKType; - isAmino(o: any): o is PoolAmino; - encode(message: Pool, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Pool; - fromJSON(object: any): Pool; - toJSON(message: Pool): unknown; - fromPartial(object: DeepPartial): Pool; - fromSDK(object: PoolSDKType): Pool; - toSDK(message: Pool): PoolSDKType; - fromAmino(object: PoolAmino): Pool; - toAmino(message: Pool): PoolAmino; - fromAminoMsg(object: PoolAminoMsg): Pool; - toAminoMsg(message: Pool): PoolAminoMsg; - fromProtoMsg(message: PoolProtoMsg): Pool; - toProto(message: Pool): Uint8Array; - toProtoMsg(message: Pool): PoolProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.amino.d.ts b/examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.amino.d.ts deleted file mode 100644 index 29ccadf2..00000000 --- a/examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.amino.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { MsgCreateStableswapPool, MsgStableSwapAdjustScalingFactors } from "./tx"; -export declare const AminoConverter: { - "/osmosis.gamm.poolmodels.stableswap.v1beta1.MsgCreateStableswapPool": { - aminoType: string; - toAmino: (message: MsgCreateStableswapPool) => import("./tx").MsgCreateStableswapPoolAmino; - fromAmino: (object: import("./tx").MsgCreateStableswapPoolAmino) => MsgCreateStableswapPool; - }; - "/osmosis.gamm.poolmodels.stableswap.v1beta1.MsgStableSwapAdjustScalingFactors": { - aminoType: string; - toAmino: (message: MsgStableSwapAdjustScalingFactors) => import("./tx").MsgStableSwapAdjustScalingFactorsAmino; - fromAmino: (object: import("./tx").MsgStableSwapAdjustScalingFactorsAmino) => MsgStableSwapAdjustScalingFactors; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.d.ts b/examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.d.ts deleted file mode 100644 index 58f6b0b8..00000000 --- a/examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.d.ts +++ /dev/null @@ -1,192 +0,0 @@ -import { PoolParams, PoolParamsAmino, PoolParamsSDKType } from "./stableswap_pool"; -import { Coin, CoinAmino, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../../binary"; -import { DeepPartial } from "../../../../helpers"; -/** ===================== MsgCreatePool */ -export interface MsgCreateStableswapPool { - sender: string; - poolParams?: PoolParams | undefined; - initialPoolLiquidity: Coin[]; - scalingFactors: bigint[]; - futurePoolGovernor: string; - scalingFactorController: string; -} -export interface MsgCreateStableswapPoolProtoMsg { - typeUrl: "/osmosis.gamm.poolmodels.stableswap.v1beta1.MsgCreateStableswapPool"; - value: Uint8Array; -} -/** ===================== MsgCreatePool */ -export interface MsgCreateStableswapPoolAmino { - sender?: string; - pool_params?: PoolParamsAmino | undefined; - initial_pool_liquidity?: CoinAmino[]; - scaling_factors?: string[]; - future_pool_governor?: string; - scaling_factor_controller?: string; -} -export interface MsgCreateStableswapPoolAminoMsg { - type: "osmosis/gamm/create-stableswap-pool"; - value: MsgCreateStableswapPoolAmino; -} -/** ===================== MsgCreatePool */ -export interface MsgCreateStableswapPoolSDKType { - sender: string; - pool_params?: PoolParamsSDKType | undefined; - initial_pool_liquidity: CoinSDKType[]; - scaling_factors: bigint[]; - future_pool_governor: string; - scaling_factor_controller: string; -} -/** Returns a poolID with custom poolName. */ -export interface MsgCreateStableswapPoolResponse { - poolId: bigint; -} -export interface MsgCreateStableswapPoolResponseProtoMsg { - typeUrl: "/osmosis.gamm.poolmodels.stableswap.v1beta1.MsgCreateStableswapPoolResponse"; - value: Uint8Array; -} -/** Returns a poolID with custom poolName. */ -export interface MsgCreateStableswapPoolResponseAmino { - pool_id?: string; -} -export interface MsgCreateStableswapPoolResponseAminoMsg { - type: "osmosis/gamm/create-stableswap-pool-response"; - value: MsgCreateStableswapPoolResponseAmino; -} -/** Returns a poolID with custom poolName. */ -export interface MsgCreateStableswapPoolResponseSDKType { - pool_id: bigint; -} -/** - * Sender must be the pool's scaling_factor_governor in order for the tx to - * succeed. Adjusts stableswap scaling factors. - */ -export interface MsgStableSwapAdjustScalingFactors { - sender: string; - poolId: bigint; - scalingFactors: bigint[]; -} -export interface MsgStableSwapAdjustScalingFactorsProtoMsg { - typeUrl: "/osmosis.gamm.poolmodels.stableswap.v1beta1.MsgStableSwapAdjustScalingFactors"; - value: Uint8Array; -} -/** - * Sender must be the pool's scaling_factor_governor in order for the tx to - * succeed. Adjusts stableswap scaling factors. - */ -export interface MsgStableSwapAdjustScalingFactorsAmino { - sender?: string; - pool_id?: string; - scaling_factors?: string[]; -} -export interface MsgStableSwapAdjustScalingFactorsAminoMsg { - type: "osmosis/gamm/stable-swap-adjust-scaling-factors"; - value: MsgStableSwapAdjustScalingFactorsAmino; -} -/** - * Sender must be the pool's scaling_factor_governor in order for the tx to - * succeed. Adjusts stableswap scaling factors. - */ -export interface MsgStableSwapAdjustScalingFactorsSDKType { - sender: string; - pool_id: bigint; - scaling_factors: bigint[]; -} -export interface MsgStableSwapAdjustScalingFactorsResponse { -} -export interface MsgStableSwapAdjustScalingFactorsResponseProtoMsg { - typeUrl: "/osmosis.gamm.poolmodels.stableswap.v1beta1.MsgStableSwapAdjustScalingFactorsResponse"; - value: Uint8Array; -} -export interface MsgStableSwapAdjustScalingFactorsResponseAmino { -} -export interface MsgStableSwapAdjustScalingFactorsResponseAminoMsg { - type: "osmosis/gamm/stable-swap-adjust-scaling-factors-response"; - value: MsgStableSwapAdjustScalingFactorsResponseAmino; -} -export interface MsgStableSwapAdjustScalingFactorsResponseSDKType { -} -export declare const MsgCreateStableswapPool: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateStableswapPool; - isSDK(o: any): o is MsgCreateStableswapPoolSDKType; - isAmino(o: any): o is MsgCreateStableswapPoolAmino; - encode(message: MsgCreateStableswapPool, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateStableswapPool; - fromJSON(object: any): MsgCreateStableswapPool; - toJSON(message: MsgCreateStableswapPool): unknown; - fromPartial(object: DeepPartial): MsgCreateStableswapPool; - fromSDK(object: MsgCreateStableswapPoolSDKType): MsgCreateStableswapPool; - toSDK(message: MsgCreateStableswapPool): MsgCreateStableswapPoolSDKType; - fromAmino(object: MsgCreateStableswapPoolAmino): MsgCreateStableswapPool; - toAmino(message: MsgCreateStableswapPool): MsgCreateStableswapPoolAmino; - fromAminoMsg(object: MsgCreateStableswapPoolAminoMsg): MsgCreateStableswapPool; - toAminoMsg(message: MsgCreateStableswapPool): MsgCreateStableswapPoolAminoMsg; - fromProtoMsg(message: MsgCreateStableswapPoolProtoMsg): MsgCreateStableswapPool; - toProto(message: MsgCreateStableswapPool): Uint8Array; - toProtoMsg(message: MsgCreateStableswapPool): MsgCreateStableswapPoolProtoMsg; -}; -export declare const MsgCreateStableswapPoolResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateStableswapPoolResponse; - isSDK(o: any): o is MsgCreateStableswapPoolResponseSDKType; - isAmino(o: any): o is MsgCreateStableswapPoolResponseAmino; - encode(message: MsgCreateStableswapPoolResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateStableswapPoolResponse; - fromJSON(object: any): MsgCreateStableswapPoolResponse; - toJSON(message: MsgCreateStableswapPoolResponse): unknown; - fromPartial(object: DeepPartial): MsgCreateStableswapPoolResponse; - fromSDK(object: MsgCreateStableswapPoolResponseSDKType): MsgCreateStableswapPoolResponse; - toSDK(message: MsgCreateStableswapPoolResponse): MsgCreateStableswapPoolResponseSDKType; - fromAmino(object: MsgCreateStableswapPoolResponseAmino): MsgCreateStableswapPoolResponse; - toAmino(message: MsgCreateStableswapPoolResponse): MsgCreateStableswapPoolResponseAmino; - fromAminoMsg(object: MsgCreateStableswapPoolResponseAminoMsg): MsgCreateStableswapPoolResponse; - toAminoMsg(message: MsgCreateStableswapPoolResponse): MsgCreateStableswapPoolResponseAminoMsg; - fromProtoMsg(message: MsgCreateStableswapPoolResponseProtoMsg): MsgCreateStableswapPoolResponse; - toProto(message: MsgCreateStableswapPoolResponse): Uint8Array; - toProtoMsg(message: MsgCreateStableswapPoolResponse): MsgCreateStableswapPoolResponseProtoMsg; -}; -export declare const MsgStableSwapAdjustScalingFactors: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgStableSwapAdjustScalingFactors; - isSDK(o: any): o is MsgStableSwapAdjustScalingFactorsSDKType; - isAmino(o: any): o is MsgStableSwapAdjustScalingFactorsAmino; - encode(message: MsgStableSwapAdjustScalingFactors, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgStableSwapAdjustScalingFactors; - fromJSON(object: any): MsgStableSwapAdjustScalingFactors; - toJSON(message: MsgStableSwapAdjustScalingFactors): unknown; - fromPartial(object: DeepPartial): MsgStableSwapAdjustScalingFactors; - fromSDK(object: MsgStableSwapAdjustScalingFactorsSDKType): MsgStableSwapAdjustScalingFactors; - toSDK(message: MsgStableSwapAdjustScalingFactors): MsgStableSwapAdjustScalingFactorsSDKType; - fromAmino(object: MsgStableSwapAdjustScalingFactorsAmino): MsgStableSwapAdjustScalingFactors; - toAmino(message: MsgStableSwapAdjustScalingFactors): MsgStableSwapAdjustScalingFactorsAmino; - fromAminoMsg(object: MsgStableSwapAdjustScalingFactorsAminoMsg): MsgStableSwapAdjustScalingFactors; - toAminoMsg(message: MsgStableSwapAdjustScalingFactors): MsgStableSwapAdjustScalingFactorsAminoMsg; - fromProtoMsg(message: MsgStableSwapAdjustScalingFactorsProtoMsg): MsgStableSwapAdjustScalingFactors; - toProto(message: MsgStableSwapAdjustScalingFactors): Uint8Array; - toProtoMsg(message: MsgStableSwapAdjustScalingFactors): MsgStableSwapAdjustScalingFactorsProtoMsg; -}; -export declare const MsgStableSwapAdjustScalingFactorsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgStableSwapAdjustScalingFactorsResponse; - isSDK(o: any): o is MsgStableSwapAdjustScalingFactorsResponseSDKType; - isAmino(o: any): o is MsgStableSwapAdjustScalingFactorsResponseAmino; - encode(_: MsgStableSwapAdjustScalingFactorsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgStableSwapAdjustScalingFactorsResponse; - fromJSON(_: any): MsgStableSwapAdjustScalingFactorsResponse; - toJSON(_: MsgStableSwapAdjustScalingFactorsResponse): unknown; - fromPartial(_: DeepPartial): MsgStableSwapAdjustScalingFactorsResponse; - fromSDK(_: MsgStableSwapAdjustScalingFactorsResponseSDKType): MsgStableSwapAdjustScalingFactorsResponse; - toSDK(_: MsgStableSwapAdjustScalingFactorsResponse): MsgStableSwapAdjustScalingFactorsResponseSDKType; - fromAmino(_: MsgStableSwapAdjustScalingFactorsResponseAmino): MsgStableSwapAdjustScalingFactorsResponse; - toAmino(_: MsgStableSwapAdjustScalingFactorsResponse): MsgStableSwapAdjustScalingFactorsResponseAmino; - fromAminoMsg(object: MsgStableSwapAdjustScalingFactorsResponseAminoMsg): MsgStableSwapAdjustScalingFactorsResponse; - toAminoMsg(message: MsgStableSwapAdjustScalingFactorsResponse): MsgStableSwapAdjustScalingFactorsResponseAminoMsg; - fromProtoMsg(message: MsgStableSwapAdjustScalingFactorsResponseProtoMsg): MsgStableSwapAdjustScalingFactorsResponse; - toProto(message: MsgStableSwapAdjustScalingFactorsResponse): Uint8Array; - toProtoMsg(message: MsgStableSwapAdjustScalingFactorsResponse): MsgStableSwapAdjustScalingFactorsResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.registry.d.ts b/examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.registry.d.ts deleted file mode 100644 index 7ba06014..00000000 --- a/examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.registry.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { TelescopeGeneratedType } from "../../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgCreateStableswapPool, MsgStableSwapAdjustScalingFactors } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - createStableswapPool(value: MsgCreateStableswapPool): { - typeUrl: string; - value: Uint8Array; - }; - stableSwapAdjustScalingFactors(value: MsgStableSwapAdjustScalingFactors): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createStableswapPool(value: MsgCreateStableswapPool): { - typeUrl: string; - value: MsgCreateStableswapPool; - }; - stableSwapAdjustScalingFactors(value: MsgStableSwapAdjustScalingFactors): { - typeUrl: string; - value: MsgStableSwapAdjustScalingFactors; - }; - }; - toJSON: { - createStableswapPool(value: MsgCreateStableswapPool): { - typeUrl: string; - value: unknown; - }; - stableSwapAdjustScalingFactors(value: MsgStableSwapAdjustScalingFactors): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createStableswapPool(value: any): { - typeUrl: string; - value: MsgCreateStableswapPool; - }; - stableSwapAdjustScalingFactors(value: any): { - typeUrl: string; - value: MsgStableSwapAdjustScalingFactors; - }; - }; - fromPartial: { - createStableswapPool(value: MsgCreateStableswapPool): { - typeUrl: string; - value: MsgCreateStableswapPool; - }; - stableSwapAdjustScalingFactors(value: MsgStableSwapAdjustScalingFactors): { - typeUrl: string; - value: MsgStableSwapAdjustScalingFactors; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.rpc.msg.d.ts b/examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.rpc.msg.d.ts deleted file mode 100644 index 1a10040c..00000000 --- a/examples/authz/types/codegen/osmosis/gamm/pool-models/stableswap/tx.rpc.msg.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../../types"; -import { MsgCreateStableswapPool, MsgStableSwapAdjustScalingFactors } from "./tx"; -export interface Msg { - createStableswapPool(signerAddress: string, message: MsgCreateStableswapPool, fee: number | StdFee | "auto", memo: string): Promise; - stableSwapAdjustScalingFactors(signerAddress: string, message: MsgStableSwapAdjustScalingFactors, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - createStableswapPool: (signerAddress: string, message: MsgCreateStableswapPool, fee?: number | StdFee | "auto", memo?: string) => Promise; - stableSwapAdjustScalingFactors: (signerAddress: string, message: MsgStableSwapAdjustScalingFactors, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/osmosis/gamm/v1beta1/tx.amino.d.ts b/examples/authz/types/codegen/osmosis/gamm/v1beta1/tx.amino.d.ts deleted file mode 100644 index 027a867f..00000000 --- a/examples/authz/types/codegen/osmosis/gamm/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { MsgJoinPool, MsgExitPool, MsgSwapExactAmountIn, MsgSwapExactAmountOut, MsgJoinSwapExternAmountIn, MsgJoinSwapShareAmountOut, MsgExitSwapExternAmountOut, MsgExitSwapShareAmountIn } from "./tx"; -export declare const AminoConverter: { - "/osmosis.gamm.v1beta1.MsgJoinPool": { - aminoType: string; - toAmino: (message: MsgJoinPool) => import("./tx").MsgJoinPoolAmino; - fromAmino: (object: import("./tx").MsgJoinPoolAmino) => MsgJoinPool; - }; - "/osmosis.gamm.v1beta1.MsgExitPool": { - aminoType: string; - toAmino: (message: MsgExitPool) => import("./tx").MsgExitPoolAmino; - fromAmino: (object: import("./tx").MsgExitPoolAmino) => MsgExitPool; - }; - "/osmosis.gamm.v1beta1.MsgSwapExactAmountIn": { - aminoType: string; - toAmino: (message: MsgSwapExactAmountIn) => import("./tx").MsgSwapExactAmountInAmino; - fromAmino: (object: import("./tx").MsgSwapExactAmountInAmino) => MsgSwapExactAmountIn; - }; - "/osmosis.gamm.v1beta1.MsgSwapExactAmountOut": { - aminoType: string; - toAmino: (message: MsgSwapExactAmountOut) => import("./tx").MsgSwapExactAmountOutAmino; - fromAmino: (object: import("./tx").MsgSwapExactAmountOutAmino) => MsgSwapExactAmountOut; - }; - "/osmosis.gamm.v1beta1.MsgJoinSwapExternAmountIn": { - aminoType: string; - toAmino: (message: MsgJoinSwapExternAmountIn) => import("./tx").MsgJoinSwapExternAmountInAmino; - fromAmino: (object: import("./tx").MsgJoinSwapExternAmountInAmino) => MsgJoinSwapExternAmountIn; - }; - "/osmosis.gamm.v1beta1.MsgJoinSwapShareAmountOut": { - aminoType: string; - toAmino: (message: MsgJoinSwapShareAmountOut) => import("./tx").MsgJoinSwapShareAmountOutAmino; - fromAmino: (object: import("./tx").MsgJoinSwapShareAmountOutAmino) => MsgJoinSwapShareAmountOut; - }; - "/osmosis.gamm.v1beta1.MsgExitSwapExternAmountOut": { - aminoType: string; - toAmino: (message: MsgExitSwapExternAmountOut) => import("./tx").MsgExitSwapExternAmountOutAmino; - fromAmino: (object: import("./tx").MsgExitSwapExternAmountOutAmino) => MsgExitSwapExternAmountOut; - }; - "/osmosis.gamm.v1beta1.MsgExitSwapShareAmountIn": { - aminoType: string; - toAmino: (message: MsgExitSwapShareAmountIn) => import("./tx").MsgExitSwapShareAmountInAmino; - fromAmino: (object: import("./tx").MsgExitSwapShareAmountInAmino) => MsgExitSwapShareAmountIn; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/gamm/v1beta1/tx.d.ts b/examples/authz/types/codegen/osmosis/gamm/v1beta1/tx.d.ts deleted file mode 100644 index 4d323193..00000000 --- a/examples/authz/types/codegen/osmosis/gamm/v1beta1/tx.d.ts +++ /dev/null @@ -1,816 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * ===================== MsgJoinPool - * This is really MsgJoinPoolNoSwap - */ -export interface MsgJoinPool { - sender: string; - poolId: bigint; - shareOutAmount: string; - tokenInMaxs: Coin[]; -} -export interface MsgJoinPoolProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgJoinPool"; - value: Uint8Array; -} -/** - * ===================== MsgJoinPool - * This is really MsgJoinPoolNoSwap - */ -export interface MsgJoinPoolAmino { - sender?: string; - pool_id?: string; - share_out_amount?: string; - token_in_maxs?: CoinAmino[]; -} -export interface MsgJoinPoolAminoMsg { - type: "osmosis/gamm/join-pool"; - value: MsgJoinPoolAmino; -} -/** - * ===================== MsgJoinPool - * This is really MsgJoinPoolNoSwap - */ -export interface MsgJoinPoolSDKType { - sender: string; - pool_id: bigint; - share_out_amount: string; - token_in_maxs: CoinSDKType[]; -} -export interface MsgJoinPoolResponse { - shareOutAmount: string; - tokenIn: Coin[]; -} -export interface MsgJoinPoolResponseProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgJoinPoolResponse"; - value: Uint8Array; -} -export interface MsgJoinPoolResponseAmino { - share_out_amount?: string; - token_in?: CoinAmino[]; -} -export interface MsgJoinPoolResponseAminoMsg { - type: "osmosis/gamm/join-pool-response"; - value: MsgJoinPoolResponseAmino; -} -export interface MsgJoinPoolResponseSDKType { - share_out_amount: string; - token_in: CoinSDKType[]; -} -/** ===================== MsgExitPool */ -export interface MsgExitPool { - sender: string; - poolId: bigint; - shareInAmount: string; - tokenOutMins: Coin[]; -} -export interface MsgExitPoolProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgExitPool"; - value: Uint8Array; -} -/** ===================== MsgExitPool */ -export interface MsgExitPoolAmino { - sender?: string; - pool_id?: string; - share_in_amount?: string; - token_out_mins?: CoinAmino[]; -} -export interface MsgExitPoolAminoMsg { - type: "osmosis/gamm/exit-pool"; - value: MsgExitPoolAmino; -} -/** ===================== MsgExitPool */ -export interface MsgExitPoolSDKType { - sender: string; - pool_id: bigint; - share_in_amount: string; - token_out_mins: CoinSDKType[]; -} -export interface MsgExitPoolResponse { - tokenOut: Coin[]; -} -export interface MsgExitPoolResponseProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgExitPoolResponse"; - value: Uint8Array; -} -export interface MsgExitPoolResponseAmino { - token_out?: CoinAmino[]; -} -export interface MsgExitPoolResponseAminoMsg { - type: "osmosis/gamm/exit-pool-response"; - value: MsgExitPoolResponseAmino; -} -export interface MsgExitPoolResponseSDKType { - token_out: CoinSDKType[]; -} -/** ===================== MsgSwapExactAmountIn */ -export interface SwapAmountInRoute { - poolId: bigint; - tokenOutDenom: string; -} -export interface SwapAmountInRouteProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.SwapAmountInRoute"; - value: Uint8Array; -} -/** ===================== MsgSwapExactAmountIn */ -export interface SwapAmountInRouteAmino { - pool_id?: string; - token_out_denom?: string; -} -export interface SwapAmountInRouteAminoMsg { - type: "osmosis/gamm/swap-amount-in-route"; - value: SwapAmountInRouteAmino; -} -/** ===================== MsgSwapExactAmountIn */ -export interface SwapAmountInRouteSDKType { - pool_id: bigint; - token_out_denom: string; -} -export interface MsgSwapExactAmountIn { - sender: string; - routes: SwapAmountInRoute[]; - tokenIn: Coin | undefined; - tokenOutMinAmount: string; -} -export interface MsgSwapExactAmountInProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgSwapExactAmountIn"; - value: Uint8Array; -} -export interface MsgSwapExactAmountInAmino { - sender?: string; - routes?: SwapAmountInRouteAmino[]; - token_in?: CoinAmino | undefined; - token_out_min_amount?: string; -} -export interface MsgSwapExactAmountInAminoMsg { - type: "osmosis/gamm/swap-exact-amount-in"; - value: MsgSwapExactAmountInAmino; -} -export interface MsgSwapExactAmountInSDKType { - sender: string; - routes: SwapAmountInRouteSDKType[]; - token_in: CoinSDKType | undefined; - token_out_min_amount: string; -} -export interface MsgSwapExactAmountInResponse { - tokenOutAmount: string; -} -export interface MsgSwapExactAmountInResponseProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgSwapExactAmountInResponse"; - value: Uint8Array; -} -export interface MsgSwapExactAmountInResponseAmino { - token_out_amount?: string; -} -export interface MsgSwapExactAmountInResponseAminoMsg { - type: "osmosis/gamm/swap-exact-amount-in-response"; - value: MsgSwapExactAmountInResponseAmino; -} -export interface MsgSwapExactAmountInResponseSDKType { - token_out_amount: string; -} -/** ===================== MsgSwapExactAmountOut */ -export interface SwapAmountOutRoute { - poolId: bigint; - tokenInDenom: string; -} -export interface SwapAmountOutRouteProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.SwapAmountOutRoute"; - value: Uint8Array; -} -/** ===================== MsgSwapExactAmountOut */ -export interface SwapAmountOutRouteAmino { - pool_id?: string; - token_in_denom?: string; -} -export interface SwapAmountOutRouteAminoMsg { - type: "osmosis/gamm/swap-amount-out-route"; - value: SwapAmountOutRouteAmino; -} -/** ===================== MsgSwapExactAmountOut */ -export interface SwapAmountOutRouteSDKType { - pool_id: bigint; - token_in_denom: string; -} -export interface MsgSwapExactAmountOut { - sender: string; - routes: SwapAmountOutRoute[]; - tokenInMaxAmount: string; - tokenOut: Coin | undefined; -} -export interface MsgSwapExactAmountOutProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgSwapExactAmountOut"; - value: Uint8Array; -} -export interface MsgSwapExactAmountOutAmino { - sender?: string; - routes?: SwapAmountOutRouteAmino[]; - token_in_max_amount?: string; - token_out?: CoinAmino | undefined; -} -export interface MsgSwapExactAmountOutAminoMsg { - type: "osmosis/gamm/swap-exact-amount-out"; - value: MsgSwapExactAmountOutAmino; -} -export interface MsgSwapExactAmountOutSDKType { - sender: string; - routes: SwapAmountOutRouteSDKType[]; - token_in_max_amount: string; - token_out: CoinSDKType | undefined; -} -export interface MsgSwapExactAmountOutResponse { - tokenInAmount: string; -} -export interface MsgSwapExactAmountOutResponseProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgSwapExactAmountOutResponse"; - value: Uint8Array; -} -export interface MsgSwapExactAmountOutResponseAmino { - token_in_amount?: string; -} -export interface MsgSwapExactAmountOutResponseAminoMsg { - type: "osmosis/gamm/swap-exact-amount-out-response"; - value: MsgSwapExactAmountOutResponseAmino; -} -export interface MsgSwapExactAmountOutResponseSDKType { - token_in_amount: string; -} -/** - * ===================== MsgJoinSwapExternAmountIn - * TODO: Rename to MsgJoinSwapExactAmountIn - */ -export interface MsgJoinSwapExternAmountIn { - sender: string; - poolId: bigint; - tokenIn: Coin | undefined; - shareOutMinAmount: string; -} -export interface MsgJoinSwapExternAmountInProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgJoinSwapExternAmountIn"; - value: Uint8Array; -} -/** - * ===================== MsgJoinSwapExternAmountIn - * TODO: Rename to MsgJoinSwapExactAmountIn - */ -export interface MsgJoinSwapExternAmountInAmino { - sender?: string; - pool_id?: string; - token_in?: CoinAmino | undefined; - share_out_min_amount?: string; -} -export interface MsgJoinSwapExternAmountInAminoMsg { - type: "osmosis/gamm/join-swap-extern-amount-in"; - value: MsgJoinSwapExternAmountInAmino; -} -/** - * ===================== MsgJoinSwapExternAmountIn - * TODO: Rename to MsgJoinSwapExactAmountIn - */ -export interface MsgJoinSwapExternAmountInSDKType { - sender: string; - pool_id: bigint; - token_in: CoinSDKType | undefined; - share_out_min_amount: string; -} -export interface MsgJoinSwapExternAmountInResponse { - shareOutAmount: string; -} -export interface MsgJoinSwapExternAmountInResponseProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgJoinSwapExternAmountInResponse"; - value: Uint8Array; -} -export interface MsgJoinSwapExternAmountInResponseAmino { - share_out_amount?: string; -} -export interface MsgJoinSwapExternAmountInResponseAminoMsg { - type: "osmosis/gamm/join-swap-extern-amount-in-response"; - value: MsgJoinSwapExternAmountInResponseAmino; -} -export interface MsgJoinSwapExternAmountInResponseSDKType { - share_out_amount: string; -} -/** ===================== MsgJoinSwapShareAmountOut */ -export interface MsgJoinSwapShareAmountOut { - sender: string; - poolId: bigint; - tokenInDenom: string; - shareOutAmount: string; - tokenInMaxAmount: string; -} -export interface MsgJoinSwapShareAmountOutProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgJoinSwapShareAmountOut"; - value: Uint8Array; -} -/** ===================== MsgJoinSwapShareAmountOut */ -export interface MsgJoinSwapShareAmountOutAmino { - sender?: string; - pool_id?: string; - token_in_denom?: string; - share_out_amount?: string; - token_in_max_amount?: string; -} -export interface MsgJoinSwapShareAmountOutAminoMsg { - type: "osmosis/gamm/join-swap-share-amount-out"; - value: MsgJoinSwapShareAmountOutAmino; -} -/** ===================== MsgJoinSwapShareAmountOut */ -export interface MsgJoinSwapShareAmountOutSDKType { - sender: string; - pool_id: bigint; - token_in_denom: string; - share_out_amount: string; - token_in_max_amount: string; -} -export interface MsgJoinSwapShareAmountOutResponse { - tokenInAmount: string; -} -export interface MsgJoinSwapShareAmountOutResponseProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgJoinSwapShareAmountOutResponse"; - value: Uint8Array; -} -export interface MsgJoinSwapShareAmountOutResponseAmino { - token_in_amount?: string; -} -export interface MsgJoinSwapShareAmountOutResponseAminoMsg { - type: "osmosis/gamm/join-swap-share-amount-out-response"; - value: MsgJoinSwapShareAmountOutResponseAmino; -} -export interface MsgJoinSwapShareAmountOutResponseSDKType { - token_in_amount: string; -} -/** ===================== MsgExitSwapShareAmountIn */ -export interface MsgExitSwapShareAmountIn { - sender: string; - poolId: bigint; - tokenOutDenom: string; - shareInAmount: string; - tokenOutMinAmount: string; -} -export interface MsgExitSwapShareAmountInProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgExitSwapShareAmountIn"; - value: Uint8Array; -} -/** ===================== MsgExitSwapShareAmountIn */ -export interface MsgExitSwapShareAmountInAmino { - sender?: string; - pool_id?: string; - token_out_denom?: string; - share_in_amount?: string; - token_out_min_amount?: string; -} -export interface MsgExitSwapShareAmountInAminoMsg { - type: "osmosis/gamm/exit-swap-share-amount-in"; - value: MsgExitSwapShareAmountInAmino; -} -/** ===================== MsgExitSwapShareAmountIn */ -export interface MsgExitSwapShareAmountInSDKType { - sender: string; - pool_id: bigint; - token_out_denom: string; - share_in_amount: string; - token_out_min_amount: string; -} -export interface MsgExitSwapShareAmountInResponse { - tokenOutAmount: string; -} -export interface MsgExitSwapShareAmountInResponseProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgExitSwapShareAmountInResponse"; - value: Uint8Array; -} -export interface MsgExitSwapShareAmountInResponseAmino { - token_out_amount?: string; -} -export interface MsgExitSwapShareAmountInResponseAminoMsg { - type: "osmosis/gamm/exit-swap-share-amount-in-response"; - value: MsgExitSwapShareAmountInResponseAmino; -} -export interface MsgExitSwapShareAmountInResponseSDKType { - token_out_amount: string; -} -/** ===================== MsgExitSwapExternAmountOut */ -export interface MsgExitSwapExternAmountOut { - sender: string; - poolId: bigint; - tokenOut: Coin | undefined; - shareInMaxAmount: string; -} -export interface MsgExitSwapExternAmountOutProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgExitSwapExternAmountOut"; - value: Uint8Array; -} -/** ===================== MsgExitSwapExternAmountOut */ -export interface MsgExitSwapExternAmountOutAmino { - sender?: string; - pool_id?: string; - token_out?: CoinAmino | undefined; - share_in_max_amount?: string; -} -export interface MsgExitSwapExternAmountOutAminoMsg { - type: "osmosis/gamm/exit-swap-extern-amount-out"; - value: MsgExitSwapExternAmountOutAmino; -} -/** ===================== MsgExitSwapExternAmountOut */ -export interface MsgExitSwapExternAmountOutSDKType { - sender: string; - pool_id: bigint; - token_out: CoinSDKType | undefined; - share_in_max_amount: string; -} -export interface MsgExitSwapExternAmountOutResponse { - shareInAmount: string; -} -export interface MsgExitSwapExternAmountOutResponseProtoMsg { - typeUrl: "/osmosis.gamm.v1beta1.MsgExitSwapExternAmountOutResponse"; - value: Uint8Array; -} -export interface MsgExitSwapExternAmountOutResponseAmino { - share_in_amount?: string; -} -export interface MsgExitSwapExternAmountOutResponseAminoMsg { - type: "osmosis/gamm/exit-swap-extern-amount-out-response"; - value: MsgExitSwapExternAmountOutResponseAmino; -} -export interface MsgExitSwapExternAmountOutResponseSDKType { - share_in_amount: string; -} -export declare const MsgJoinPool: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgJoinPool; - isSDK(o: any): o is MsgJoinPoolSDKType; - isAmino(o: any): o is MsgJoinPoolAmino; - encode(message: MsgJoinPool, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgJoinPool; - fromJSON(object: any): MsgJoinPool; - toJSON(message: MsgJoinPool): unknown; - fromPartial(object: DeepPartial): MsgJoinPool; - fromSDK(object: MsgJoinPoolSDKType): MsgJoinPool; - toSDK(message: MsgJoinPool): MsgJoinPoolSDKType; - fromAmino(object: MsgJoinPoolAmino): MsgJoinPool; - toAmino(message: MsgJoinPool): MsgJoinPoolAmino; - fromAminoMsg(object: MsgJoinPoolAminoMsg): MsgJoinPool; - toAminoMsg(message: MsgJoinPool): MsgJoinPoolAminoMsg; - fromProtoMsg(message: MsgJoinPoolProtoMsg): MsgJoinPool; - toProto(message: MsgJoinPool): Uint8Array; - toProtoMsg(message: MsgJoinPool): MsgJoinPoolProtoMsg; -}; -export declare const MsgJoinPoolResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgJoinPoolResponse; - isSDK(o: any): o is MsgJoinPoolResponseSDKType; - isAmino(o: any): o is MsgJoinPoolResponseAmino; - encode(message: MsgJoinPoolResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgJoinPoolResponse; - fromJSON(object: any): MsgJoinPoolResponse; - toJSON(message: MsgJoinPoolResponse): unknown; - fromPartial(object: DeepPartial): MsgJoinPoolResponse; - fromSDK(object: MsgJoinPoolResponseSDKType): MsgJoinPoolResponse; - toSDK(message: MsgJoinPoolResponse): MsgJoinPoolResponseSDKType; - fromAmino(object: MsgJoinPoolResponseAmino): MsgJoinPoolResponse; - toAmino(message: MsgJoinPoolResponse): MsgJoinPoolResponseAmino; - fromAminoMsg(object: MsgJoinPoolResponseAminoMsg): MsgJoinPoolResponse; - toAminoMsg(message: MsgJoinPoolResponse): MsgJoinPoolResponseAminoMsg; - fromProtoMsg(message: MsgJoinPoolResponseProtoMsg): MsgJoinPoolResponse; - toProto(message: MsgJoinPoolResponse): Uint8Array; - toProtoMsg(message: MsgJoinPoolResponse): MsgJoinPoolResponseProtoMsg; -}; -export declare const MsgExitPool: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExitPool; - isSDK(o: any): o is MsgExitPoolSDKType; - isAmino(o: any): o is MsgExitPoolAmino; - encode(message: MsgExitPool, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExitPool; - fromJSON(object: any): MsgExitPool; - toJSON(message: MsgExitPool): unknown; - fromPartial(object: DeepPartial): MsgExitPool; - fromSDK(object: MsgExitPoolSDKType): MsgExitPool; - toSDK(message: MsgExitPool): MsgExitPoolSDKType; - fromAmino(object: MsgExitPoolAmino): MsgExitPool; - toAmino(message: MsgExitPool): MsgExitPoolAmino; - fromAminoMsg(object: MsgExitPoolAminoMsg): MsgExitPool; - toAminoMsg(message: MsgExitPool): MsgExitPoolAminoMsg; - fromProtoMsg(message: MsgExitPoolProtoMsg): MsgExitPool; - toProto(message: MsgExitPool): Uint8Array; - toProtoMsg(message: MsgExitPool): MsgExitPoolProtoMsg; -}; -export declare const MsgExitPoolResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExitPoolResponse; - isSDK(o: any): o is MsgExitPoolResponseSDKType; - isAmino(o: any): o is MsgExitPoolResponseAmino; - encode(message: MsgExitPoolResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExitPoolResponse; - fromJSON(object: any): MsgExitPoolResponse; - toJSON(message: MsgExitPoolResponse): unknown; - fromPartial(object: DeepPartial): MsgExitPoolResponse; - fromSDK(object: MsgExitPoolResponseSDKType): MsgExitPoolResponse; - toSDK(message: MsgExitPoolResponse): MsgExitPoolResponseSDKType; - fromAmino(object: MsgExitPoolResponseAmino): MsgExitPoolResponse; - toAmino(message: MsgExitPoolResponse): MsgExitPoolResponseAmino; - fromAminoMsg(object: MsgExitPoolResponseAminoMsg): MsgExitPoolResponse; - toAminoMsg(message: MsgExitPoolResponse): MsgExitPoolResponseAminoMsg; - fromProtoMsg(message: MsgExitPoolResponseProtoMsg): MsgExitPoolResponse; - toProto(message: MsgExitPoolResponse): Uint8Array; - toProtoMsg(message: MsgExitPoolResponse): MsgExitPoolResponseProtoMsg; -}; -export declare const SwapAmountInRoute: { - typeUrl: string; - aminoType: string; - is(o: any): o is SwapAmountInRoute; - isSDK(o: any): o is SwapAmountInRouteSDKType; - isAmino(o: any): o is SwapAmountInRouteAmino; - encode(message: SwapAmountInRoute, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SwapAmountInRoute; - fromJSON(object: any): SwapAmountInRoute; - toJSON(message: SwapAmountInRoute): unknown; - fromPartial(object: DeepPartial): SwapAmountInRoute; - fromSDK(object: SwapAmountInRouteSDKType): SwapAmountInRoute; - toSDK(message: SwapAmountInRoute): SwapAmountInRouteSDKType; - fromAmino(object: SwapAmountInRouteAmino): SwapAmountInRoute; - toAmino(message: SwapAmountInRoute): SwapAmountInRouteAmino; - fromAminoMsg(object: SwapAmountInRouteAminoMsg): SwapAmountInRoute; - toAminoMsg(message: SwapAmountInRoute): SwapAmountInRouteAminoMsg; - fromProtoMsg(message: SwapAmountInRouteProtoMsg): SwapAmountInRoute; - toProto(message: SwapAmountInRoute): Uint8Array; - toProtoMsg(message: SwapAmountInRoute): SwapAmountInRouteProtoMsg; -}; -export declare const MsgSwapExactAmountIn: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSwapExactAmountIn; - isSDK(o: any): o is MsgSwapExactAmountInSDKType; - isAmino(o: any): o is MsgSwapExactAmountInAmino; - encode(message: MsgSwapExactAmountIn, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSwapExactAmountIn; - fromJSON(object: any): MsgSwapExactAmountIn; - toJSON(message: MsgSwapExactAmountIn): unknown; - fromPartial(object: DeepPartial): MsgSwapExactAmountIn; - fromSDK(object: MsgSwapExactAmountInSDKType): MsgSwapExactAmountIn; - toSDK(message: MsgSwapExactAmountIn): MsgSwapExactAmountInSDKType; - fromAmino(object: MsgSwapExactAmountInAmino): MsgSwapExactAmountIn; - toAmino(message: MsgSwapExactAmountIn): MsgSwapExactAmountInAmino; - fromAminoMsg(object: MsgSwapExactAmountInAminoMsg): MsgSwapExactAmountIn; - toAminoMsg(message: MsgSwapExactAmountIn): MsgSwapExactAmountInAminoMsg; - fromProtoMsg(message: MsgSwapExactAmountInProtoMsg): MsgSwapExactAmountIn; - toProto(message: MsgSwapExactAmountIn): Uint8Array; - toProtoMsg(message: MsgSwapExactAmountIn): MsgSwapExactAmountInProtoMsg; -}; -export declare const MsgSwapExactAmountInResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSwapExactAmountInResponse; - isSDK(o: any): o is MsgSwapExactAmountInResponseSDKType; - isAmino(o: any): o is MsgSwapExactAmountInResponseAmino; - encode(message: MsgSwapExactAmountInResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSwapExactAmountInResponse; - fromJSON(object: any): MsgSwapExactAmountInResponse; - toJSON(message: MsgSwapExactAmountInResponse): unknown; - fromPartial(object: DeepPartial): MsgSwapExactAmountInResponse; - fromSDK(object: MsgSwapExactAmountInResponseSDKType): MsgSwapExactAmountInResponse; - toSDK(message: MsgSwapExactAmountInResponse): MsgSwapExactAmountInResponseSDKType; - fromAmino(object: MsgSwapExactAmountInResponseAmino): MsgSwapExactAmountInResponse; - toAmino(message: MsgSwapExactAmountInResponse): MsgSwapExactAmountInResponseAmino; - fromAminoMsg(object: MsgSwapExactAmountInResponseAminoMsg): MsgSwapExactAmountInResponse; - toAminoMsg(message: MsgSwapExactAmountInResponse): MsgSwapExactAmountInResponseAminoMsg; - fromProtoMsg(message: MsgSwapExactAmountInResponseProtoMsg): MsgSwapExactAmountInResponse; - toProto(message: MsgSwapExactAmountInResponse): Uint8Array; - toProtoMsg(message: MsgSwapExactAmountInResponse): MsgSwapExactAmountInResponseProtoMsg; -}; -export declare const SwapAmountOutRoute: { - typeUrl: string; - aminoType: string; - is(o: any): o is SwapAmountOutRoute; - isSDK(o: any): o is SwapAmountOutRouteSDKType; - isAmino(o: any): o is SwapAmountOutRouteAmino; - encode(message: SwapAmountOutRoute, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SwapAmountOutRoute; - fromJSON(object: any): SwapAmountOutRoute; - toJSON(message: SwapAmountOutRoute): unknown; - fromPartial(object: DeepPartial): SwapAmountOutRoute; - fromSDK(object: SwapAmountOutRouteSDKType): SwapAmountOutRoute; - toSDK(message: SwapAmountOutRoute): SwapAmountOutRouteSDKType; - fromAmino(object: SwapAmountOutRouteAmino): SwapAmountOutRoute; - toAmino(message: SwapAmountOutRoute): SwapAmountOutRouteAmino; - fromAminoMsg(object: SwapAmountOutRouteAminoMsg): SwapAmountOutRoute; - toAminoMsg(message: SwapAmountOutRoute): SwapAmountOutRouteAminoMsg; - fromProtoMsg(message: SwapAmountOutRouteProtoMsg): SwapAmountOutRoute; - toProto(message: SwapAmountOutRoute): Uint8Array; - toProtoMsg(message: SwapAmountOutRoute): SwapAmountOutRouteProtoMsg; -}; -export declare const MsgSwapExactAmountOut: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSwapExactAmountOut; - isSDK(o: any): o is MsgSwapExactAmountOutSDKType; - isAmino(o: any): o is MsgSwapExactAmountOutAmino; - encode(message: MsgSwapExactAmountOut, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSwapExactAmountOut; - fromJSON(object: any): MsgSwapExactAmountOut; - toJSON(message: MsgSwapExactAmountOut): unknown; - fromPartial(object: DeepPartial): MsgSwapExactAmountOut; - fromSDK(object: MsgSwapExactAmountOutSDKType): MsgSwapExactAmountOut; - toSDK(message: MsgSwapExactAmountOut): MsgSwapExactAmountOutSDKType; - fromAmino(object: MsgSwapExactAmountOutAmino): MsgSwapExactAmountOut; - toAmino(message: MsgSwapExactAmountOut): MsgSwapExactAmountOutAmino; - fromAminoMsg(object: MsgSwapExactAmountOutAminoMsg): MsgSwapExactAmountOut; - toAminoMsg(message: MsgSwapExactAmountOut): MsgSwapExactAmountOutAminoMsg; - fromProtoMsg(message: MsgSwapExactAmountOutProtoMsg): MsgSwapExactAmountOut; - toProto(message: MsgSwapExactAmountOut): Uint8Array; - toProtoMsg(message: MsgSwapExactAmountOut): MsgSwapExactAmountOutProtoMsg; -}; -export declare const MsgSwapExactAmountOutResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSwapExactAmountOutResponse; - isSDK(o: any): o is MsgSwapExactAmountOutResponseSDKType; - isAmino(o: any): o is MsgSwapExactAmountOutResponseAmino; - encode(message: MsgSwapExactAmountOutResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSwapExactAmountOutResponse; - fromJSON(object: any): MsgSwapExactAmountOutResponse; - toJSON(message: MsgSwapExactAmountOutResponse): unknown; - fromPartial(object: DeepPartial): MsgSwapExactAmountOutResponse; - fromSDK(object: MsgSwapExactAmountOutResponseSDKType): MsgSwapExactAmountOutResponse; - toSDK(message: MsgSwapExactAmountOutResponse): MsgSwapExactAmountOutResponseSDKType; - fromAmino(object: MsgSwapExactAmountOutResponseAmino): MsgSwapExactAmountOutResponse; - toAmino(message: MsgSwapExactAmountOutResponse): MsgSwapExactAmountOutResponseAmino; - fromAminoMsg(object: MsgSwapExactAmountOutResponseAminoMsg): MsgSwapExactAmountOutResponse; - toAminoMsg(message: MsgSwapExactAmountOutResponse): MsgSwapExactAmountOutResponseAminoMsg; - fromProtoMsg(message: MsgSwapExactAmountOutResponseProtoMsg): MsgSwapExactAmountOutResponse; - toProto(message: MsgSwapExactAmountOutResponse): Uint8Array; - toProtoMsg(message: MsgSwapExactAmountOutResponse): MsgSwapExactAmountOutResponseProtoMsg; -}; -export declare const MsgJoinSwapExternAmountIn: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgJoinSwapExternAmountIn; - isSDK(o: any): o is MsgJoinSwapExternAmountInSDKType; - isAmino(o: any): o is MsgJoinSwapExternAmountInAmino; - encode(message: MsgJoinSwapExternAmountIn, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgJoinSwapExternAmountIn; - fromJSON(object: any): MsgJoinSwapExternAmountIn; - toJSON(message: MsgJoinSwapExternAmountIn): unknown; - fromPartial(object: DeepPartial): MsgJoinSwapExternAmountIn; - fromSDK(object: MsgJoinSwapExternAmountInSDKType): MsgJoinSwapExternAmountIn; - toSDK(message: MsgJoinSwapExternAmountIn): MsgJoinSwapExternAmountInSDKType; - fromAmino(object: MsgJoinSwapExternAmountInAmino): MsgJoinSwapExternAmountIn; - toAmino(message: MsgJoinSwapExternAmountIn): MsgJoinSwapExternAmountInAmino; - fromAminoMsg(object: MsgJoinSwapExternAmountInAminoMsg): MsgJoinSwapExternAmountIn; - toAminoMsg(message: MsgJoinSwapExternAmountIn): MsgJoinSwapExternAmountInAminoMsg; - fromProtoMsg(message: MsgJoinSwapExternAmountInProtoMsg): MsgJoinSwapExternAmountIn; - toProto(message: MsgJoinSwapExternAmountIn): Uint8Array; - toProtoMsg(message: MsgJoinSwapExternAmountIn): MsgJoinSwapExternAmountInProtoMsg; -}; -export declare const MsgJoinSwapExternAmountInResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgJoinSwapExternAmountInResponse; - isSDK(o: any): o is MsgJoinSwapExternAmountInResponseSDKType; - isAmino(o: any): o is MsgJoinSwapExternAmountInResponseAmino; - encode(message: MsgJoinSwapExternAmountInResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgJoinSwapExternAmountInResponse; - fromJSON(object: any): MsgJoinSwapExternAmountInResponse; - toJSON(message: MsgJoinSwapExternAmountInResponse): unknown; - fromPartial(object: DeepPartial): MsgJoinSwapExternAmountInResponse; - fromSDK(object: MsgJoinSwapExternAmountInResponseSDKType): MsgJoinSwapExternAmountInResponse; - toSDK(message: MsgJoinSwapExternAmountInResponse): MsgJoinSwapExternAmountInResponseSDKType; - fromAmino(object: MsgJoinSwapExternAmountInResponseAmino): MsgJoinSwapExternAmountInResponse; - toAmino(message: MsgJoinSwapExternAmountInResponse): MsgJoinSwapExternAmountInResponseAmino; - fromAminoMsg(object: MsgJoinSwapExternAmountInResponseAminoMsg): MsgJoinSwapExternAmountInResponse; - toAminoMsg(message: MsgJoinSwapExternAmountInResponse): MsgJoinSwapExternAmountInResponseAminoMsg; - fromProtoMsg(message: MsgJoinSwapExternAmountInResponseProtoMsg): MsgJoinSwapExternAmountInResponse; - toProto(message: MsgJoinSwapExternAmountInResponse): Uint8Array; - toProtoMsg(message: MsgJoinSwapExternAmountInResponse): MsgJoinSwapExternAmountInResponseProtoMsg; -}; -export declare const MsgJoinSwapShareAmountOut: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgJoinSwapShareAmountOut; - isSDK(o: any): o is MsgJoinSwapShareAmountOutSDKType; - isAmino(o: any): o is MsgJoinSwapShareAmountOutAmino; - encode(message: MsgJoinSwapShareAmountOut, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgJoinSwapShareAmountOut; - fromJSON(object: any): MsgJoinSwapShareAmountOut; - toJSON(message: MsgJoinSwapShareAmountOut): unknown; - fromPartial(object: DeepPartial): MsgJoinSwapShareAmountOut; - fromSDK(object: MsgJoinSwapShareAmountOutSDKType): MsgJoinSwapShareAmountOut; - toSDK(message: MsgJoinSwapShareAmountOut): MsgJoinSwapShareAmountOutSDKType; - fromAmino(object: MsgJoinSwapShareAmountOutAmino): MsgJoinSwapShareAmountOut; - toAmino(message: MsgJoinSwapShareAmountOut): MsgJoinSwapShareAmountOutAmino; - fromAminoMsg(object: MsgJoinSwapShareAmountOutAminoMsg): MsgJoinSwapShareAmountOut; - toAminoMsg(message: MsgJoinSwapShareAmountOut): MsgJoinSwapShareAmountOutAminoMsg; - fromProtoMsg(message: MsgJoinSwapShareAmountOutProtoMsg): MsgJoinSwapShareAmountOut; - toProto(message: MsgJoinSwapShareAmountOut): Uint8Array; - toProtoMsg(message: MsgJoinSwapShareAmountOut): MsgJoinSwapShareAmountOutProtoMsg; -}; -export declare const MsgJoinSwapShareAmountOutResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgJoinSwapShareAmountOutResponse; - isSDK(o: any): o is MsgJoinSwapShareAmountOutResponseSDKType; - isAmino(o: any): o is MsgJoinSwapShareAmountOutResponseAmino; - encode(message: MsgJoinSwapShareAmountOutResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgJoinSwapShareAmountOutResponse; - fromJSON(object: any): MsgJoinSwapShareAmountOutResponse; - toJSON(message: MsgJoinSwapShareAmountOutResponse): unknown; - fromPartial(object: DeepPartial): MsgJoinSwapShareAmountOutResponse; - fromSDK(object: MsgJoinSwapShareAmountOutResponseSDKType): MsgJoinSwapShareAmountOutResponse; - toSDK(message: MsgJoinSwapShareAmountOutResponse): MsgJoinSwapShareAmountOutResponseSDKType; - fromAmino(object: MsgJoinSwapShareAmountOutResponseAmino): MsgJoinSwapShareAmountOutResponse; - toAmino(message: MsgJoinSwapShareAmountOutResponse): MsgJoinSwapShareAmountOutResponseAmino; - fromAminoMsg(object: MsgJoinSwapShareAmountOutResponseAminoMsg): MsgJoinSwapShareAmountOutResponse; - toAminoMsg(message: MsgJoinSwapShareAmountOutResponse): MsgJoinSwapShareAmountOutResponseAminoMsg; - fromProtoMsg(message: MsgJoinSwapShareAmountOutResponseProtoMsg): MsgJoinSwapShareAmountOutResponse; - toProto(message: MsgJoinSwapShareAmountOutResponse): Uint8Array; - toProtoMsg(message: MsgJoinSwapShareAmountOutResponse): MsgJoinSwapShareAmountOutResponseProtoMsg; -}; -export declare const MsgExitSwapShareAmountIn: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExitSwapShareAmountIn; - isSDK(o: any): o is MsgExitSwapShareAmountInSDKType; - isAmino(o: any): o is MsgExitSwapShareAmountInAmino; - encode(message: MsgExitSwapShareAmountIn, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExitSwapShareAmountIn; - fromJSON(object: any): MsgExitSwapShareAmountIn; - toJSON(message: MsgExitSwapShareAmountIn): unknown; - fromPartial(object: DeepPartial): MsgExitSwapShareAmountIn; - fromSDK(object: MsgExitSwapShareAmountInSDKType): MsgExitSwapShareAmountIn; - toSDK(message: MsgExitSwapShareAmountIn): MsgExitSwapShareAmountInSDKType; - fromAmino(object: MsgExitSwapShareAmountInAmino): MsgExitSwapShareAmountIn; - toAmino(message: MsgExitSwapShareAmountIn): MsgExitSwapShareAmountInAmino; - fromAminoMsg(object: MsgExitSwapShareAmountInAminoMsg): MsgExitSwapShareAmountIn; - toAminoMsg(message: MsgExitSwapShareAmountIn): MsgExitSwapShareAmountInAminoMsg; - fromProtoMsg(message: MsgExitSwapShareAmountInProtoMsg): MsgExitSwapShareAmountIn; - toProto(message: MsgExitSwapShareAmountIn): Uint8Array; - toProtoMsg(message: MsgExitSwapShareAmountIn): MsgExitSwapShareAmountInProtoMsg; -}; -export declare const MsgExitSwapShareAmountInResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExitSwapShareAmountInResponse; - isSDK(o: any): o is MsgExitSwapShareAmountInResponseSDKType; - isAmino(o: any): o is MsgExitSwapShareAmountInResponseAmino; - encode(message: MsgExitSwapShareAmountInResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExitSwapShareAmountInResponse; - fromJSON(object: any): MsgExitSwapShareAmountInResponse; - toJSON(message: MsgExitSwapShareAmountInResponse): unknown; - fromPartial(object: DeepPartial): MsgExitSwapShareAmountInResponse; - fromSDK(object: MsgExitSwapShareAmountInResponseSDKType): MsgExitSwapShareAmountInResponse; - toSDK(message: MsgExitSwapShareAmountInResponse): MsgExitSwapShareAmountInResponseSDKType; - fromAmino(object: MsgExitSwapShareAmountInResponseAmino): MsgExitSwapShareAmountInResponse; - toAmino(message: MsgExitSwapShareAmountInResponse): MsgExitSwapShareAmountInResponseAmino; - fromAminoMsg(object: MsgExitSwapShareAmountInResponseAminoMsg): MsgExitSwapShareAmountInResponse; - toAminoMsg(message: MsgExitSwapShareAmountInResponse): MsgExitSwapShareAmountInResponseAminoMsg; - fromProtoMsg(message: MsgExitSwapShareAmountInResponseProtoMsg): MsgExitSwapShareAmountInResponse; - toProto(message: MsgExitSwapShareAmountInResponse): Uint8Array; - toProtoMsg(message: MsgExitSwapShareAmountInResponse): MsgExitSwapShareAmountInResponseProtoMsg; -}; -export declare const MsgExitSwapExternAmountOut: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExitSwapExternAmountOut; - isSDK(o: any): o is MsgExitSwapExternAmountOutSDKType; - isAmino(o: any): o is MsgExitSwapExternAmountOutAmino; - encode(message: MsgExitSwapExternAmountOut, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExitSwapExternAmountOut; - fromJSON(object: any): MsgExitSwapExternAmountOut; - toJSON(message: MsgExitSwapExternAmountOut): unknown; - fromPartial(object: DeepPartial): MsgExitSwapExternAmountOut; - fromSDK(object: MsgExitSwapExternAmountOutSDKType): MsgExitSwapExternAmountOut; - toSDK(message: MsgExitSwapExternAmountOut): MsgExitSwapExternAmountOutSDKType; - fromAmino(object: MsgExitSwapExternAmountOutAmino): MsgExitSwapExternAmountOut; - toAmino(message: MsgExitSwapExternAmountOut): MsgExitSwapExternAmountOutAmino; - fromAminoMsg(object: MsgExitSwapExternAmountOutAminoMsg): MsgExitSwapExternAmountOut; - toAminoMsg(message: MsgExitSwapExternAmountOut): MsgExitSwapExternAmountOutAminoMsg; - fromProtoMsg(message: MsgExitSwapExternAmountOutProtoMsg): MsgExitSwapExternAmountOut; - toProto(message: MsgExitSwapExternAmountOut): Uint8Array; - toProtoMsg(message: MsgExitSwapExternAmountOut): MsgExitSwapExternAmountOutProtoMsg; -}; -export declare const MsgExitSwapExternAmountOutResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExitSwapExternAmountOutResponse; - isSDK(o: any): o is MsgExitSwapExternAmountOutResponseSDKType; - isAmino(o: any): o is MsgExitSwapExternAmountOutResponseAmino; - encode(message: MsgExitSwapExternAmountOutResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExitSwapExternAmountOutResponse; - fromJSON(object: any): MsgExitSwapExternAmountOutResponse; - toJSON(message: MsgExitSwapExternAmountOutResponse): unknown; - fromPartial(object: DeepPartial): MsgExitSwapExternAmountOutResponse; - fromSDK(object: MsgExitSwapExternAmountOutResponseSDKType): MsgExitSwapExternAmountOutResponse; - toSDK(message: MsgExitSwapExternAmountOutResponse): MsgExitSwapExternAmountOutResponseSDKType; - fromAmino(object: MsgExitSwapExternAmountOutResponseAmino): MsgExitSwapExternAmountOutResponse; - toAmino(message: MsgExitSwapExternAmountOutResponse): MsgExitSwapExternAmountOutResponseAmino; - fromAminoMsg(object: MsgExitSwapExternAmountOutResponseAminoMsg): MsgExitSwapExternAmountOutResponse; - toAminoMsg(message: MsgExitSwapExternAmountOutResponse): MsgExitSwapExternAmountOutResponseAminoMsg; - fromProtoMsg(message: MsgExitSwapExternAmountOutResponseProtoMsg): MsgExitSwapExternAmountOutResponse; - toProto(message: MsgExitSwapExternAmountOutResponse): Uint8Array; - toProtoMsg(message: MsgExitSwapExternAmountOutResponse): MsgExitSwapExternAmountOutResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/gamm/v2/query.d.ts b/examples/authz/types/codegen/osmosis/gamm/v2/query.d.ts deleted file mode 100644 index f80a29a0..00000000 --- a/examples/authz/types/codegen/osmosis/gamm/v2/query.d.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * QuerySpotPriceRequest defines the gRPC request structure for a SpotPrice - * query. - */ -export interface QuerySpotPriceRequest { - poolId: bigint; - baseAssetDenom: string; - quoteAssetDenom: string; -} -export interface QuerySpotPriceRequestProtoMsg { - typeUrl: "/osmosis.gamm.v2.QuerySpotPriceRequest"; - value: Uint8Array; -} -/** - * QuerySpotPriceRequest defines the gRPC request structure for a SpotPrice - * query. - */ -export interface QuerySpotPriceRequestAmino { - pool_id?: string; - base_asset_denom?: string; - quote_asset_denom?: string; -} -export interface QuerySpotPriceRequestAminoMsg { - type: "osmosis/gamm/v2/query-spot-price-request"; - value: QuerySpotPriceRequestAmino; -} -/** - * QuerySpotPriceRequest defines the gRPC request structure for a SpotPrice - * query. - */ -export interface QuerySpotPriceRequestSDKType { - pool_id: bigint; - base_asset_denom: string; - quote_asset_denom: string; -} -/** - * QuerySpotPriceResponse defines the gRPC response structure for a SpotPrice - * query. - */ -export interface QuerySpotPriceResponse { - /** String of the Dec. Ex) 10.203uatom */ - spotPrice: string; -} -export interface QuerySpotPriceResponseProtoMsg { - typeUrl: "/osmosis.gamm.v2.QuerySpotPriceResponse"; - value: Uint8Array; -} -/** - * QuerySpotPriceResponse defines the gRPC response structure for a SpotPrice - * query. - */ -export interface QuerySpotPriceResponseAmino { - /** String of the Dec. Ex) 10.203uatom */ - spot_price?: string; -} -export interface QuerySpotPriceResponseAminoMsg { - type: "osmosis/gamm/v2/query-spot-price-response"; - value: QuerySpotPriceResponseAmino; -} -/** - * QuerySpotPriceResponse defines the gRPC response structure for a SpotPrice - * query. - */ -export interface QuerySpotPriceResponseSDKType { - spot_price: string; -} -export declare const QuerySpotPriceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySpotPriceRequest; - isSDK(o: any): o is QuerySpotPriceRequestSDKType; - isAmino(o: any): o is QuerySpotPriceRequestAmino; - encode(message: QuerySpotPriceRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySpotPriceRequest; - fromJSON(object: any): QuerySpotPriceRequest; - toJSON(message: QuerySpotPriceRequest): unknown; - fromPartial(object: DeepPartial): QuerySpotPriceRequest; - fromSDK(object: QuerySpotPriceRequestSDKType): QuerySpotPriceRequest; - toSDK(message: QuerySpotPriceRequest): QuerySpotPriceRequestSDKType; - fromAmino(object: QuerySpotPriceRequestAmino): QuerySpotPriceRequest; - toAmino(message: QuerySpotPriceRequest): QuerySpotPriceRequestAmino; - fromAminoMsg(object: QuerySpotPriceRequestAminoMsg): QuerySpotPriceRequest; - toAminoMsg(message: QuerySpotPriceRequest): QuerySpotPriceRequestAminoMsg; - fromProtoMsg(message: QuerySpotPriceRequestProtoMsg): QuerySpotPriceRequest; - toProto(message: QuerySpotPriceRequest): Uint8Array; - toProtoMsg(message: QuerySpotPriceRequest): QuerySpotPriceRequestProtoMsg; -}; -export declare const QuerySpotPriceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QuerySpotPriceResponse; - isSDK(o: any): o is QuerySpotPriceResponseSDKType; - isAmino(o: any): o is QuerySpotPriceResponseAmino; - encode(message: QuerySpotPriceResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QuerySpotPriceResponse; - fromJSON(object: any): QuerySpotPriceResponse; - toJSON(message: QuerySpotPriceResponse): unknown; - fromPartial(object: DeepPartial): QuerySpotPriceResponse; - fromSDK(object: QuerySpotPriceResponseSDKType): QuerySpotPriceResponse; - toSDK(message: QuerySpotPriceResponse): QuerySpotPriceResponseSDKType; - fromAmino(object: QuerySpotPriceResponseAmino): QuerySpotPriceResponse; - toAmino(message: QuerySpotPriceResponse): QuerySpotPriceResponseAmino; - fromAminoMsg(object: QuerySpotPriceResponseAminoMsg): QuerySpotPriceResponse; - toAminoMsg(message: QuerySpotPriceResponse): QuerySpotPriceResponseAminoMsg; - fromProtoMsg(message: QuerySpotPriceResponseProtoMsg): QuerySpotPriceResponse; - toProto(message: QuerySpotPriceResponse): Uint8Array; - toProtoMsg(message: QuerySpotPriceResponse): QuerySpotPriceResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/gamm/v2/query.rpc.Query.d.ts b/examples/authz/types/codegen/osmosis/gamm/v2/query.rpc.Query.d.ts deleted file mode 100644 index f67aa6f8..00000000 --- a/examples/authz/types/codegen/osmosis/gamm/v2/query.rpc.Query.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QuerySpotPriceRequest, QuerySpotPriceResponse } from "./query"; -export interface Query { - /** - * SpotPrice defines a gRPC query handler that returns the spot price given - * a base denomination and a quote denomination. - */ - spotPrice(request: QuerySpotPriceRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - spotPrice: (request: QuerySpotPriceRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseSpotPriceQuery extends ReactQueryParams { - request: QuerySpotPriceRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** - * SpotPrice defines a gRPC query handler that returns the spot price given - * a base denomination and a quote denomination. - */ - useSpotPrice: ({ request, options }: UseSpotPriceQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** - * SpotPrice defines a gRPC query handler that returns the spot price given - * a base denomination and a quote denomination. - */ - QuerySpotPriceStore: { - new (): { - store: QueryStore; - spotPrice(request: QuerySpotPriceRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/ibc-rate-limit/v1beta1/params.d.ts b/examples/authz/types/codegen/osmosis/ibc-rate-limit/v1beta1/params.d.ts deleted file mode 100644 index 6d71c199..00000000 --- a/examples/authz/types/codegen/osmosis/ibc-rate-limit/v1beta1/params.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** Params defines the parameters for the ibc-rate-limit module. */ -export interface Params { - contractAddress: string; -} -export interface ParamsProtoMsg { - typeUrl: "/osmosis.ibcratelimit.v1beta1.Params"; - value: Uint8Array; -} -/** Params defines the parameters for the ibc-rate-limit module. */ -export interface ParamsAmino { - contract_address?: string; -} -export interface ParamsAminoMsg { - type: "osmosis/ibcratelimit/params"; - value: ParamsAmino; -} -/** Params defines the parameters for the ibc-rate-limit module. */ -export interface ParamsSDKType { - contract_address: string; -} -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/ibc-rate-limit/v1beta1/query.d.ts b/examples/authz/types/codegen/osmosis/ibc-rate-limit/v1beta1/query.d.ts deleted file mode 100644 index f725140a..00000000 --- a/examples/authz/types/codegen/osmosis/ibc-rate-limit/v1beta1/query.d.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType } from "./params"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/osmosis.ibcratelimit.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "osmosis/ibcratelimit/query-params-request"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params: Params | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/osmosis.ibcratelimit.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "osmosis/ibcratelimit/query-params-response"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; -} -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: DeepPartial): QueryParamsRequest; - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/ibc-rate-limit/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/osmosis/ibc-rate-limit/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 22dbc66b..00000000 --- a/examples/authz/types/codegen/osmosis/ibc-rate-limit/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryParamsRequest, QueryParamsResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** - * Params defines a gRPC query method that returns the ibc-rate-limit module's - * parameters. - */ - params(request?: QueryParamsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - params: (request?: QueryParamsRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseParamsQuery extends ReactQueryParams { - request?: QueryParamsRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** - * Params defines a gRPC query method that returns the ibc-rate-limit module's - * parameters. - */ - useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** - * Params defines a gRPC query method that returns the ibc-rate-limit module's - * parameters. - */ - QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/incentives/gauge.d.ts b/examples/authz/types/codegen/osmosis/incentives/gauge.d.ts deleted file mode 100644 index 0d3495ba..00000000 --- a/examples/authz/types/codegen/osmosis/incentives/gauge.d.ts +++ /dev/null @@ -1,171 +0,0 @@ -import { QueryCondition, QueryConditionAmino, QueryConditionSDKType } from "../lockup/lock"; -import { Coin, CoinAmino, CoinSDKType } from "../../cosmos/base/v1beta1/coin"; -import { Duration, DurationAmino, DurationSDKType } from "../../google/protobuf/duration"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** - * Gauge is an object that stores and distributes yields to recipients who - * satisfy certain conditions. Currently gauges support conditions around the - * duration for which a given denom is locked. - */ -export interface Gauge { - /** id is the unique ID of a Gauge */ - id: bigint; - /** - * is_perpetual is a flag to show if it's a perpetual or non-perpetual gauge - * Non-perpetual gauges distribute their tokens equally per epoch while the - * gauge is in the active period. Perpetual gauges distribute all their tokens - * at a single time and only distribute their tokens again once the gauge is - * refilled, Intended for use with incentives that get refilled daily. - */ - isPerpetual: boolean; - /** - * distribute_to is where the gauge rewards are distributed to. - * This is queried via lock duration or by timestamp - */ - distributeTo: QueryCondition | undefined; - /** - * coins is the total amount of coins that have been in the gauge - * Can distribute multiple coin denoms - */ - coins: Coin[]; - /** start_time is the distribution start time */ - startTime: Date | undefined; - /** - * num_epochs_paid_over is the number of total epochs distribution will be - * completed over - */ - numEpochsPaidOver: bigint; - /** - * filled_epochs is the number of epochs distribution has been completed on - * already - */ - filledEpochs: bigint; - /** distributed_coins are coins that have been distributed already */ - distributedCoins: Coin[]; -} -export interface GaugeProtoMsg { - typeUrl: "/osmosis.incentives.Gauge"; - value: Uint8Array; -} -/** - * Gauge is an object that stores and distributes yields to recipients who - * satisfy certain conditions. Currently gauges support conditions around the - * duration for which a given denom is locked. - */ -export interface GaugeAmino { - /** id is the unique ID of a Gauge */ - id?: string; - /** - * is_perpetual is a flag to show if it's a perpetual or non-perpetual gauge - * Non-perpetual gauges distribute their tokens equally per epoch while the - * gauge is in the active period. Perpetual gauges distribute all their tokens - * at a single time and only distribute their tokens again once the gauge is - * refilled, Intended for use with incentives that get refilled daily. - */ - is_perpetual?: boolean; - /** - * distribute_to is where the gauge rewards are distributed to. - * This is queried via lock duration or by timestamp - */ - distribute_to?: QueryConditionAmino | undefined; - /** - * coins is the total amount of coins that have been in the gauge - * Can distribute multiple coin denoms - */ - coins?: CoinAmino[]; - /** start_time is the distribution start time */ - start_time?: string | undefined; - /** - * num_epochs_paid_over is the number of total epochs distribution will be - * completed over - */ - num_epochs_paid_over?: string; - /** - * filled_epochs is the number of epochs distribution has been completed on - * already - */ - filled_epochs?: string; - /** distributed_coins are coins that have been distributed already */ - distributed_coins?: CoinAmino[]; -} -export interface GaugeAminoMsg { - type: "osmosis/incentives/gauge"; - value: GaugeAmino; -} -/** - * Gauge is an object that stores and distributes yields to recipients who - * satisfy certain conditions. Currently gauges support conditions around the - * duration for which a given denom is locked. - */ -export interface GaugeSDKType { - id: bigint; - is_perpetual: boolean; - distribute_to: QueryConditionSDKType | undefined; - coins: CoinSDKType[]; - start_time: Date | undefined; - num_epochs_paid_over: bigint; - filled_epochs: bigint; - distributed_coins: CoinSDKType[]; -} -export interface LockableDurationsInfo { - /** List of incentivised durations that gauges will pay out to */ - lockableDurations: Duration[]; -} -export interface LockableDurationsInfoProtoMsg { - typeUrl: "/osmosis.incentives.LockableDurationsInfo"; - value: Uint8Array; -} -export interface LockableDurationsInfoAmino { - /** List of incentivised durations that gauges will pay out to */ - lockable_durations?: DurationAmino[]; -} -export interface LockableDurationsInfoAminoMsg { - type: "osmosis/incentives/lockable-durations-info"; - value: LockableDurationsInfoAmino; -} -export interface LockableDurationsInfoSDKType { - lockable_durations: DurationSDKType[]; -} -export declare const Gauge: { - typeUrl: string; - aminoType: string; - is(o: any): o is Gauge; - isSDK(o: any): o is GaugeSDKType; - isAmino(o: any): o is GaugeAmino; - encode(message: Gauge, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Gauge; - fromJSON(object: any): Gauge; - toJSON(message: Gauge): unknown; - fromPartial(object: DeepPartial): Gauge; - fromSDK(object: GaugeSDKType): Gauge; - toSDK(message: Gauge): GaugeSDKType; - fromAmino(object: GaugeAmino): Gauge; - toAmino(message: Gauge): GaugeAmino; - fromAminoMsg(object: GaugeAminoMsg): Gauge; - toAminoMsg(message: Gauge): GaugeAminoMsg; - fromProtoMsg(message: GaugeProtoMsg): Gauge; - toProto(message: Gauge): Uint8Array; - toProtoMsg(message: Gauge): GaugeProtoMsg; -}; -export declare const LockableDurationsInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is LockableDurationsInfo; - isSDK(o: any): o is LockableDurationsInfoSDKType; - isAmino(o: any): o is LockableDurationsInfoAmino; - encode(message: LockableDurationsInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): LockableDurationsInfo; - fromJSON(object: any): LockableDurationsInfo; - toJSON(message: LockableDurationsInfo): unknown; - fromPartial(object: DeepPartial): LockableDurationsInfo; - fromSDK(object: LockableDurationsInfoSDKType): LockableDurationsInfo; - toSDK(message: LockableDurationsInfo): LockableDurationsInfoSDKType; - fromAmino(object: LockableDurationsInfoAmino): LockableDurationsInfo; - toAmino(message: LockableDurationsInfo): LockableDurationsInfoAmino; - fromAminoMsg(object: LockableDurationsInfoAminoMsg): LockableDurationsInfo; - toAminoMsg(message: LockableDurationsInfo): LockableDurationsInfoAminoMsg; - fromProtoMsg(message: LockableDurationsInfoProtoMsg): LockableDurationsInfo; - toProto(message: LockableDurationsInfo): Uint8Array; - toProtoMsg(message: LockableDurationsInfo): LockableDurationsInfoProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/incentives/genesis.d.ts b/examples/authz/types/codegen/osmosis/incentives/genesis.d.ts deleted file mode 100644 index 68b4fdb0..00000000 --- a/examples/authz/types/codegen/osmosis/incentives/genesis.d.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType } from "./params"; -import { Gauge, GaugeAmino, GaugeSDKType } from "./gauge"; -import { Duration, DurationAmino, DurationSDKType } from "../../google/protobuf/duration"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** - * GenesisState defines the incentives module's various parameters when first - * initialized - */ -export interface GenesisState { - /** params are all the parameters of the module */ - params: Params | undefined; - /** gauges are all gauges that should exist at genesis */ - gauges: Gauge[]; - /** - * lockable_durations are all lockup durations that gauges can be locked for - * in order to recieve incentives - */ - lockableDurations: Duration[]; - /** - * last_gauge_id is what the gauge number will increment from when creating - * the next gauge after genesis - */ - lastGaugeId: bigint; -} -export interface GenesisStateProtoMsg { - typeUrl: "/osmosis.incentives.GenesisState"; - value: Uint8Array; -} -/** - * GenesisState defines the incentives module's various parameters when first - * initialized - */ -export interface GenesisStateAmino { - /** params are all the parameters of the module */ - params?: ParamsAmino | undefined; - /** gauges are all gauges that should exist at genesis */ - gauges?: GaugeAmino[]; - /** - * lockable_durations are all lockup durations that gauges can be locked for - * in order to recieve incentives - */ - lockable_durations?: DurationAmino[]; - /** - * last_gauge_id is what the gauge number will increment from when creating - * the next gauge after genesis - */ - last_gauge_id?: string; -} -export interface GenesisStateAminoMsg { - type: "osmosis/incentives/genesis-state"; - value: GenesisStateAmino; -} -/** - * GenesisState defines the incentives module's various parameters when first - * initialized - */ -export interface GenesisStateSDKType { - params: ParamsSDKType | undefined; - gauges: GaugeSDKType[]; - lockable_durations: DurationSDKType[]; - last_gauge_id: bigint; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/incentives/params.d.ts b/examples/authz/types/codegen/osmosis/incentives/params.d.ts deleted file mode 100644 index 27f0304c..00000000 --- a/examples/authz/types/codegen/osmosis/incentives/params.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** Params holds parameters for the incentives module */ -export interface Params { - /** - * distr_epoch_identifier is what epoch type distribution will be triggered by - * (day, week, etc.) - */ - distrEpochIdentifier: string; -} -export interface ParamsProtoMsg { - typeUrl: "/osmosis.incentives.Params"; - value: Uint8Array; -} -/** Params holds parameters for the incentives module */ -export interface ParamsAmino { - /** - * distr_epoch_identifier is what epoch type distribution will be triggered by - * (day, week, etc.) - */ - distr_epoch_identifier?: string; -} -export interface ParamsAminoMsg { - type: "osmosis/incentives/params"; - value: ParamsAmino; -} -/** Params holds parameters for the incentives module */ -export interface ParamsSDKType { - distr_epoch_identifier: string; -} -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/incentives/query.d.ts b/examples/authz/types/codegen/osmosis/incentives/query.d.ts deleted file mode 100644 index dda7ca0a..00000000 --- a/examples/authz/types/codegen/osmosis/incentives/query.d.ts +++ /dev/null @@ -1,773 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../cosmos/base/query/v1beta1/pagination"; -import { Coin, CoinAmino, CoinSDKType } from "../../cosmos/base/v1beta1/coin"; -import { Gauge, GaugeAmino, GaugeSDKType } from "./gauge"; -import { Duration, DurationAmino, DurationSDKType } from "../../google/protobuf/duration"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -export interface ModuleToDistributeCoinsRequest { -} -export interface ModuleToDistributeCoinsRequestProtoMsg { - typeUrl: "/osmosis.incentives.ModuleToDistributeCoinsRequest"; - value: Uint8Array; -} -export interface ModuleToDistributeCoinsRequestAmino { -} -export interface ModuleToDistributeCoinsRequestAminoMsg { - type: "osmosis/incentives/module-to-distribute-coins-request"; - value: ModuleToDistributeCoinsRequestAmino; -} -export interface ModuleToDistributeCoinsRequestSDKType { -} -export interface ModuleToDistributeCoinsResponse { - /** Coins that have yet to be distributed */ - coins: Coin[]; -} -export interface ModuleToDistributeCoinsResponseProtoMsg { - typeUrl: "/osmosis.incentives.ModuleToDistributeCoinsResponse"; - value: Uint8Array; -} -export interface ModuleToDistributeCoinsResponseAmino { - /** Coins that have yet to be distributed */ - coins?: CoinAmino[]; -} -export interface ModuleToDistributeCoinsResponseAminoMsg { - type: "osmosis/incentives/module-to-distribute-coins-response"; - value: ModuleToDistributeCoinsResponseAmino; -} -export interface ModuleToDistributeCoinsResponseSDKType { - coins: CoinSDKType[]; -} -export interface GaugeByIDRequest { - /** Gague ID being queried */ - id: bigint; -} -export interface GaugeByIDRequestProtoMsg { - typeUrl: "/osmosis.incentives.GaugeByIDRequest"; - value: Uint8Array; -} -export interface GaugeByIDRequestAmino { - /** Gague ID being queried */ - id?: string; -} -export interface GaugeByIDRequestAminoMsg { - type: "osmosis/incentives/gauge-by-id-request"; - value: GaugeByIDRequestAmino; -} -export interface GaugeByIDRequestSDKType { - id: bigint; -} -export interface GaugeByIDResponse { - /** Gauge that corresponds to provided gague ID */ - gauge?: Gauge | undefined; -} -export interface GaugeByIDResponseProtoMsg { - typeUrl: "/osmosis.incentives.GaugeByIDResponse"; - value: Uint8Array; -} -export interface GaugeByIDResponseAmino { - /** Gauge that corresponds to provided gague ID */ - gauge?: GaugeAmino | undefined; -} -export interface GaugeByIDResponseAminoMsg { - type: "osmosis/incentives/gauge-by-id-response"; - value: GaugeByIDResponseAmino; -} -export interface GaugeByIDResponseSDKType { - gauge?: GaugeSDKType | undefined; -} -export interface GaugesRequest { - /** Pagination defines pagination for the request */ - pagination?: PageRequest | undefined; -} -export interface GaugesRequestProtoMsg { - typeUrl: "/osmosis.incentives.GaugesRequest"; - value: Uint8Array; -} -export interface GaugesRequestAmino { - /** Pagination defines pagination for the request */ - pagination?: PageRequestAmino | undefined; -} -export interface GaugesRequestAminoMsg { - type: "osmosis/incentives/gauges-request"; - value: GaugesRequestAmino; -} -export interface GaugesRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -export interface GaugesResponse { - /** Upcoming and active gauges */ - data: Gauge[]; - /** Pagination defines pagination for the response */ - pagination?: PageResponse | undefined; -} -export interface GaugesResponseProtoMsg { - typeUrl: "/osmosis.incentives.GaugesResponse"; - value: Uint8Array; -} -export interface GaugesResponseAmino { - /** Upcoming and active gauges */ - data?: GaugeAmino[]; - /** Pagination defines pagination for the response */ - pagination?: PageResponseAmino | undefined; -} -export interface GaugesResponseAminoMsg { - type: "osmosis/incentives/gauges-response"; - value: GaugesResponseAmino; -} -export interface GaugesResponseSDKType { - data: GaugeSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -export interface ActiveGaugesRequest { - /** Pagination defines pagination for the request */ - pagination?: PageRequest | undefined; -} -export interface ActiveGaugesRequestProtoMsg { - typeUrl: "/osmosis.incentives.ActiveGaugesRequest"; - value: Uint8Array; -} -export interface ActiveGaugesRequestAmino { - /** Pagination defines pagination for the request */ - pagination?: PageRequestAmino | undefined; -} -export interface ActiveGaugesRequestAminoMsg { - type: "osmosis/incentives/active-gauges-request"; - value: ActiveGaugesRequestAmino; -} -export interface ActiveGaugesRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -export interface ActiveGaugesResponse { - /** Active gagues only */ - data: Gauge[]; - /** Pagination defines pagination for the response */ - pagination?: PageResponse | undefined; -} -export interface ActiveGaugesResponseProtoMsg { - typeUrl: "/osmosis.incentives.ActiveGaugesResponse"; - value: Uint8Array; -} -export interface ActiveGaugesResponseAmino { - /** Active gagues only */ - data?: GaugeAmino[]; - /** Pagination defines pagination for the response */ - pagination?: PageResponseAmino | undefined; -} -export interface ActiveGaugesResponseAminoMsg { - type: "osmosis/incentives/active-gauges-response"; - value: ActiveGaugesResponseAmino; -} -export interface ActiveGaugesResponseSDKType { - data: GaugeSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -export interface ActiveGaugesPerDenomRequest { - /** Desired denom when querying active gagues */ - denom: string; - /** Pagination defines pagination for the request */ - pagination?: PageRequest | undefined; -} -export interface ActiveGaugesPerDenomRequestProtoMsg { - typeUrl: "/osmosis.incentives.ActiveGaugesPerDenomRequest"; - value: Uint8Array; -} -export interface ActiveGaugesPerDenomRequestAmino { - /** Desired denom when querying active gagues */ - denom?: string; - /** Pagination defines pagination for the request */ - pagination?: PageRequestAmino | undefined; -} -export interface ActiveGaugesPerDenomRequestAminoMsg { - type: "osmosis/incentives/active-gauges-per-denom-request"; - value: ActiveGaugesPerDenomRequestAmino; -} -export interface ActiveGaugesPerDenomRequestSDKType { - denom: string; - pagination?: PageRequestSDKType | undefined; -} -export interface ActiveGaugesPerDenomResponse { - /** Active gagues that match denom in query */ - data: Gauge[]; - /** Pagination defines pagination for the response */ - pagination?: PageResponse | undefined; -} -export interface ActiveGaugesPerDenomResponseProtoMsg { - typeUrl: "/osmosis.incentives.ActiveGaugesPerDenomResponse"; - value: Uint8Array; -} -export interface ActiveGaugesPerDenomResponseAmino { - /** Active gagues that match denom in query */ - data?: GaugeAmino[]; - /** Pagination defines pagination for the response */ - pagination?: PageResponseAmino | undefined; -} -export interface ActiveGaugesPerDenomResponseAminoMsg { - type: "osmosis/incentives/active-gauges-per-denom-response"; - value: ActiveGaugesPerDenomResponseAmino; -} -export interface ActiveGaugesPerDenomResponseSDKType { - data: GaugeSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -export interface UpcomingGaugesRequest { - /** Pagination defines pagination for the request */ - pagination?: PageRequest | undefined; -} -export interface UpcomingGaugesRequestProtoMsg { - typeUrl: "/osmosis.incentives.UpcomingGaugesRequest"; - value: Uint8Array; -} -export interface UpcomingGaugesRequestAmino { - /** Pagination defines pagination for the request */ - pagination?: PageRequestAmino | undefined; -} -export interface UpcomingGaugesRequestAminoMsg { - type: "osmosis/incentives/upcoming-gauges-request"; - value: UpcomingGaugesRequestAmino; -} -export interface UpcomingGaugesRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -export interface UpcomingGaugesResponse { - /** Gauges whose distribution is upcoming */ - data: Gauge[]; - /** Pagination defines pagination for the response */ - pagination?: PageResponse | undefined; -} -export interface UpcomingGaugesResponseProtoMsg { - typeUrl: "/osmosis.incentives.UpcomingGaugesResponse"; - value: Uint8Array; -} -export interface UpcomingGaugesResponseAmino { - /** Gauges whose distribution is upcoming */ - data?: GaugeAmino[]; - /** Pagination defines pagination for the response */ - pagination?: PageResponseAmino | undefined; -} -export interface UpcomingGaugesResponseAminoMsg { - type: "osmosis/incentives/upcoming-gauges-response"; - value: UpcomingGaugesResponseAmino; -} -export interface UpcomingGaugesResponseSDKType { - data: GaugeSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -export interface UpcomingGaugesPerDenomRequest { - /** Filter for upcoming gagues that match specific denom */ - denom: string; - /** Pagination defines pagination for the request */ - pagination?: PageRequest | undefined; -} -export interface UpcomingGaugesPerDenomRequestProtoMsg { - typeUrl: "/osmosis.incentives.UpcomingGaugesPerDenomRequest"; - value: Uint8Array; -} -export interface UpcomingGaugesPerDenomRequestAmino { - /** Filter for upcoming gagues that match specific denom */ - denom?: string; - /** Pagination defines pagination for the request */ - pagination?: PageRequestAmino | undefined; -} -export interface UpcomingGaugesPerDenomRequestAminoMsg { - type: "osmosis/incentives/upcoming-gauges-per-denom-request"; - value: UpcomingGaugesPerDenomRequestAmino; -} -export interface UpcomingGaugesPerDenomRequestSDKType { - denom: string; - pagination?: PageRequestSDKType | undefined; -} -export interface UpcomingGaugesPerDenomResponse { - /** Upcoming gagues that match denom in query */ - upcomingGauges: Gauge[]; - /** Pagination defines pagination for the response */ - pagination?: PageResponse | undefined; -} -export interface UpcomingGaugesPerDenomResponseProtoMsg { - typeUrl: "/osmosis.incentives.UpcomingGaugesPerDenomResponse"; - value: Uint8Array; -} -export interface UpcomingGaugesPerDenomResponseAmino { - /** Upcoming gagues that match denom in query */ - upcoming_gauges?: GaugeAmino[]; - /** Pagination defines pagination for the response */ - pagination?: PageResponseAmino | undefined; -} -export interface UpcomingGaugesPerDenomResponseAminoMsg { - type: "osmosis/incentives/upcoming-gauges-per-denom-response"; - value: UpcomingGaugesPerDenomResponseAmino; -} -export interface UpcomingGaugesPerDenomResponseSDKType { - upcoming_gauges: GaugeSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -export interface RewardsEstRequest { - /** Address that is being queried for future estimated rewards */ - owner: string; - /** Lock IDs included in future reward estimation */ - lockIds: bigint[]; - /** - * Upper time limit of reward estimation - * Lower limit is current epoch - */ - endEpoch: bigint; -} -export interface RewardsEstRequestProtoMsg { - typeUrl: "/osmosis.incentives.RewardsEstRequest"; - value: Uint8Array; -} -export interface RewardsEstRequestAmino { - /** Address that is being queried for future estimated rewards */ - owner?: string; - /** Lock IDs included in future reward estimation */ - lock_ids?: string[]; - /** - * Upper time limit of reward estimation - * Lower limit is current epoch - */ - end_epoch?: string; -} -export interface RewardsEstRequestAminoMsg { - type: "osmosis/incentives/rewards-est-request"; - value: RewardsEstRequestAmino; -} -export interface RewardsEstRequestSDKType { - owner: string; - lock_ids: bigint[]; - end_epoch: bigint; -} -export interface RewardsEstResponse { - /** - * Estimated coin rewards that will be recieved at provided address - * from specified locks between current time and end epoch - */ - coins: Coin[]; -} -export interface RewardsEstResponseProtoMsg { - typeUrl: "/osmosis.incentives.RewardsEstResponse"; - value: Uint8Array; -} -export interface RewardsEstResponseAmino { - /** - * Estimated coin rewards that will be recieved at provided address - * from specified locks between current time and end epoch - */ - coins?: CoinAmino[]; -} -export interface RewardsEstResponseAminoMsg { - type: "osmosis/incentives/rewards-est-response"; - value: RewardsEstResponseAmino; -} -export interface RewardsEstResponseSDKType { - coins: CoinSDKType[]; -} -export interface QueryLockableDurationsRequest { -} -export interface QueryLockableDurationsRequestProtoMsg { - typeUrl: "/osmosis.incentives.QueryLockableDurationsRequest"; - value: Uint8Array; -} -export interface QueryLockableDurationsRequestAmino { -} -export interface QueryLockableDurationsRequestAminoMsg { - type: "osmosis/incentives/query-lockable-durations-request"; - value: QueryLockableDurationsRequestAmino; -} -export interface QueryLockableDurationsRequestSDKType { -} -export interface QueryLockableDurationsResponse { - /** Time durations that users can lock coins for in order to recieve rewards */ - lockableDurations: Duration[]; -} -export interface QueryLockableDurationsResponseProtoMsg { - typeUrl: "/osmosis.incentives.QueryLockableDurationsResponse"; - value: Uint8Array; -} -export interface QueryLockableDurationsResponseAmino { - /** Time durations that users can lock coins for in order to recieve rewards */ - lockable_durations?: DurationAmino[]; -} -export interface QueryLockableDurationsResponseAminoMsg { - type: "osmosis/incentives/query-lockable-durations-response"; - value: QueryLockableDurationsResponseAmino; -} -export interface QueryLockableDurationsResponseSDKType { - lockable_durations: DurationSDKType[]; -} -export declare const ModuleToDistributeCoinsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is ModuleToDistributeCoinsRequest; - isSDK(o: any): o is ModuleToDistributeCoinsRequestSDKType; - isAmino(o: any): o is ModuleToDistributeCoinsRequestAmino; - encode(_: ModuleToDistributeCoinsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ModuleToDistributeCoinsRequest; - fromJSON(_: any): ModuleToDistributeCoinsRequest; - toJSON(_: ModuleToDistributeCoinsRequest): unknown; - fromPartial(_: DeepPartial): ModuleToDistributeCoinsRequest; - fromSDK(_: ModuleToDistributeCoinsRequestSDKType): ModuleToDistributeCoinsRequest; - toSDK(_: ModuleToDistributeCoinsRequest): ModuleToDistributeCoinsRequestSDKType; - fromAmino(_: ModuleToDistributeCoinsRequestAmino): ModuleToDistributeCoinsRequest; - toAmino(_: ModuleToDistributeCoinsRequest): ModuleToDistributeCoinsRequestAmino; - fromAminoMsg(object: ModuleToDistributeCoinsRequestAminoMsg): ModuleToDistributeCoinsRequest; - toAminoMsg(message: ModuleToDistributeCoinsRequest): ModuleToDistributeCoinsRequestAminoMsg; - fromProtoMsg(message: ModuleToDistributeCoinsRequestProtoMsg): ModuleToDistributeCoinsRequest; - toProto(message: ModuleToDistributeCoinsRequest): Uint8Array; - toProtoMsg(message: ModuleToDistributeCoinsRequest): ModuleToDistributeCoinsRequestProtoMsg; -}; -export declare const ModuleToDistributeCoinsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is ModuleToDistributeCoinsResponse; - isSDK(o: any): o is ModuleToDistributeCoinsResponseSDKType; - isAmino(o: any): o is ModuleToDistributeCoinsResponseAmino; - encode(message: ModuleToDistributeCoinsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ModuleToDistributeCoinsResponse; - fromJSON(object: any): ModuleToDistributeCoinsResponse; - toJSON(message: ModuleToDistributeCoinsResponse): unknown; - fromPartial(object: DeepPartial): ModuleToDistributeCoinsResponse; - fromSDK(object: ModuleToDistributeCoinsResponseSDKType): ModuleToDistributeCoinsResponse; - toSDK(message: ModuleToDistributeCoinsResponse): ModuleToDistributeCoinsResponseSDKType; - fromAmino(object: ModuleToDistributeCoinsResponseAmino): ModuleToDistributeCoinsResponse; - toAmino(message: ModuleToDistributeCoinsResponse): ModuleToDistributeCoinsResponseAmino; - fromAminoMsg(object: ModuleToDistributeCoinsResponseAminoMsg): ModuleToDistributeCoinsResponse; - toAminoMsg(message: ModuleToDistributeCoinsResponse): ModuleToDistributeCoinsResponseAminoMsg; - fromProtoMsg(message: ModuleToDistributeCoinsResponseProtoMsg): ModuleToDistributeCoinsResponse; - toProto(message: ModuleToDistributeCoinsResponse): Uint8Array; - toProtoMsg(message: ModuleToDistributeCoinsResponse): ModuleToDistributeCoinsResponseProtoMsg; -}; -export declare const GaugeByIDRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GaugeByIDRequest; - isSDK(o: any): o is GaugeByIDRequestSDKType; - isAmino(o: any): o is GaugeByIDRequestAmino; - encode(message: GaugeByIDRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GaugeByIDRequest; - fromJSON(object: any): GaugeByIDRequest; - toJSON(message: GaugeByIDRequest): unknown; - fromPartial(object: DeepPartial): GaugeByIDRequest; - fromSDK(object: GaugeByIDRequestSDKType): GaugeByIDRequest; - toSDK(message: GaugeByIDRequest): GaugeByIDRequestSDKType; - fromAmino(object: GaugeByIDRequestAmino): GaugeByIDRequest; - toAmino(message: GaugeByIDRequest): GaugeByIDRequestAmino; - fromAminoMsg(object: GaugeByIDRequestAminoMsg): GaugeByIDRequest; - toAminoMsg(message: GaugeByIDRequest): GaugeByIDRequestAminoMsg; - fromProtoMsg(message: GaugeByIDRequestProtoMsg): GaugeByIDRequest; - toProto(message: GaugeByIDRequest): Uint8Array; - toProtoMsg(message: GaugeByIDRequest): GaugeByIDRequestProtoMsg; -}; -export declare const GaugeByIDResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GaugeByIDResponse; - isSDK(o: any): o is GaugeByIDResponseSDKType; - isAmino(o: any): o is GaugeByIDResponseAmino; - encode(message: GaugeByIDResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GaugeByIDResponse; - fromJSON(object: any): GaugeByIDResponse; - toJSON(message: GaugeByIDResponse): unknown; - fromPartial(object: DeepPartial): GaugeByIDResponse; - fromSDK(object: GaugeByIDResponseSDKType): GaugeByIDResponse; - toSDK(message: GaugeByIDResponse): GaugeByIDResponseSDKType; - fromAmino(object: GaugeByIDResponseAmino): GaugeByIDResponse; - toAmino(message: GaugeByIDResponse): GaugeByIDResponseAmino; - fromAminoMsg(object: GaugeByIDResponseAminoMsg): GaugeByIDResponse; - toAminoMsg(message: GaugeByIDResponse): GaugeByIDResponseAminoMsg; - fromProtoMsg(message: GaugeByIDResponseProtoMsg): GaugeByIDResponse; - toProto(message: GaugeByIDResponse): Uint8Array; - toProtoMsg(message: GaugeByIDResponse): GaugeByIDResponseProtoMsg; -}; -export declare const GaugesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is GaugesRequest; - isSDK(o: any): o is GaugesRequestSDKType; - isAmino(o: any): o is GaugesRequestAmino; - encode(message: GaugesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GaugesRequest; - fromJSON(object: any): GaugesRequest; - toJSON(message: GaugesRequest): unknown; - fromPartial(object: DeepPartial): GaugesRequest; - fromSDK(object: GaugesRequestSDKType): GaugesRequest; - toSDK(message: GaugesRequest): GaugesRequestSDKType; - fromAmino(object: GaugesRequestAmino): GaugesRequest; - toAmino(message: GaugesRequest): GaugesRequestAmino; - fromAminoMsg(object: GaugesRequestAminoMsg): GaugesRequest; - toAminoMsg(message: GaugesRequest): GaugesRequestAminoMsg; - fromProtoMsg(message: GaugesRequestProtoMsg): GaugesRequest; - toProto(message: GaugesRequest): Uint8Array; - toProtoMsg(message: GaugesRequest): GaugesRequestProtoMsg; -}; -export declare const GaugesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is GaugesResponse; - isSDK(o: any): o is GaugesResponseSDKType; - isAmino(o: any): o is GaugesResponseAmino; - encode(message: GaugesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GaugesResponse; - fromJSON(object: any): GaugesResponse; - toJSON(message: GaugesResponse): unknown; - fromPartial(object: DeepPartial): GaugesResponse; - fromSDK(object: GaugesResponseSDKType): GaugesResponse; - toSDK(message: GaugesResponse): GaugesResponseSDKType; - fromAmino(object: GaugesResponseAmino): GaugesResponse; - toAmino(message: GaugesResponse): GaugesResponseAmino; - fromAminoMsg(object: GaugesResponseAminoMsg): GaugesResponse; - toAminoMsg(message: GaugesResponse): GaugesResponseAminoMsg; - fromProtoMsg(message: GaugesResponseProtoMsg): GaugesResponse; - toProto(message: GaugesResponse): Uint8Array; - toProtoMsg(message: GaugesResponse): GaugesResponseProtoMsg; -}; -export declare const ActiveGaugesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is ActiveGaugesRequest; - isSDK(o: any): o is ActiveGaugesRequestSDKType; - isAmino(o: any): o is ActiveGaugesRequestAmino; - encode(message: ActiveGaugesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ActiveGaugesRequest; - fromJSON(object: any): ActiveGaugesRequest; - toJSON(message: ActiveGaugesRequest): unknown; - fromPartial(object: DeepPartial): ActiveGaugesRequest; - fromSDK(object: ActiveGaugesRequestSDKType): ActiveGaugesRequest; - toSDK(message: ActiveGaugesRequest): ActiveGaugesRequestSDKType; - fromAmino(object: ActiveGaugesRequestAmino): ActiveGaugesRequest; - toAmino(message: ActiveGaugesRequest): ActiveGaugesRequestAmino; - fromAminoMsg(object: ActiveGaugesRequestAminoMsg): ActiveGaugesRequest; - toAminoMsg(message: ActiveGaugesRequest): ActiveGaugesRequestAminoMsg; - fromProtoMsg(message: ActiveGaugesRequestProtoMsg): ActiveGaugesRequest; - toProto(message: ActiveGaugesRequest): Uint8Array; - toProtoMsg(message: ActiveGaugesRequest): ActiveGaugesRequestProtoMsg; -}; -export declare const ActiveGaugesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is ActiveGaugesResponse; - isSDK(o: any): o is ActiveGaugesResponseSDKType; - isAmino(o: any): o is ActiveGaugesResponseAmino; - encode(message: ActiveGaugesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ActiveGaugesResponse; - fromJSON(object: any): ActiveGaugesResponse; - toJSON(message: ActiveGaugesResponse): unknown; - fromPartial(object: DeepPartial): ActiveGaugesResponse; - fromSDK(object: ActiveGaugesResponseSDKType): ActiveGaugesResponse; - toSDK(message: ActiveGaugesResponse): ActiveGaugesResponseSDKType; - fromAmino(object: ActiveGaugesResponseAmino): ActiveGaugesResponse; - toAmino(message: ActiveGaugesResponse): ActiveGaugesResponseAmino; - fromAminoMsg(object: ActiveGaugesResponseAminoMsg): ActiveGaugesResponse; - toAminoMsg(message: ActiveGaugesResponse): ActiveGaugesResponseAminoMsg; - fromProtoMsg(message: ActiveGaugesResponseProtoMsg): ActiveGaugesResponse; - toProto(message: ActiveGaugesResponse): Uint8Array; - toProtoMsg(message: ActiveGaugesResponse): ActiveGaugesResponseProtoMsg; -}; -export declare const ActiveGaugesPerDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is ActiveGaugesPerDenomRequest; - isSDK(o: any): o is ActiveGaugesPerDenomRequestSDKType; - isAmino(o: any): o is ActiveGaugesPerDenomRequestAmino; - encode(message: ActiveGaugesPerDenomRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ActiveGaugesPerDenomRequest; - fromJSON(object: any): ActiveGaugesPerDenomRequest; - toJSON(message: ActiveGaugesPerDenomRequest): unknown; - fromPartial(object: DeepPartial): ActiveGaugesPerDenomRequest; - fromSDK(object: ActiveGaugesPerDenomRequestSDKType): ActiveGaugesPerDenomRequest; - toSDK(message: ActiveGaugesPerDenomRequest): ActiveGaugesPerDenomRequestSDKType; - fromAmino(object: ActiveGaugesPerDenomRequestAmino): ActiveGaugesPerDenomRequest; - toAmino(message: ActiveGaugesPerDenomRequest): ActiveGaugesPerDenomRequestAmino; - fromAminoMsg(object: ActiveGaugesPerDenomRequestAminoMsg): ActiveGaugesPerDenomRequest; - toAminoMsg(message: ActiveGaugesPerDenomRequest): ActiveGaugesPerDenomRequestAminoMsg; - fromProtoMsg(message: ActiveGaugesPerDenomRequestProtoMsg): ActiveGaugesPerDenomRequest; - toProto(message: ActiveGaugesPerDenomRequest): Uint8Array; - toProtoMsg(message: ActiveGaugesPerDenomRequest): ActiveGaugesPerDenomRequestProtoMsg; -}; -export declare const ActiveGaugesPerDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is ActiveGaugesPerDenomResponse; - isSDK(o: any): o is ActiveGaugesPerDenomResponseSDKType; - isAmino(o: any): o is ActiveGaugesPerDenomResponseAmino; - encode(message: ActiveGaugesPerDenomResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ActiveGaugesPerDenomResponse; - fromJSON(object: any): ActiveGaugesPerDenomResponse; - toJSON(message: ActiveGaugesPerDenomResponse): unknown; - fromPartial(object: DeepPartial): ActiveGaugesPerDenomResponse; - fromSDK(object: ActiveGaugesPerDenomResponseSDKType): ActiveGaugesPerDenomResponse; - toSDK(message: ActiveGaugesPerDenomResponse): ActiveGaugesPerDenomResponseSDKType; - fromAmino(object: ActiveGaugesPerDenomResponseAmino): ActiveGaugesPerDenomResponse; - toAmino(message: ActiveGaugesPerDenomResponse): ActiveGaugesPerDenomResponseAmino; - fromAminoMsg(object: ActiveGaugesPerDenomResponseAminoMsg): ActiveGaugesPerDenomResponse; - toAminoMsg(message: ActiveGaugesPerDenomResponse): ActiveGaugesPerDenomResponseAminoMsg; - fromProtoMsg(message: ActiveGaugesPerDenomResponseProtoMsg): ActiveGaugesPerDenomResponse; - toProto(message: ActiveGaugesPerDenomResponse): Uint8Array; - toProtoMsg(message: ActiveGaugesPerDenomResponse): ActiveGaugesPerDenomResponseProtoMsg; -}; -export declare const UpcomingGaugesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is UpcomingGaugesRequest; - isSDK(o: any): o is UpcomingGaugesRequestSDKType; - isAmino(o: any): o is UpcomingGaugesRequestAmino; - encode(message: UpcomingGaugesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): UpcomingGaugesRequest; - fromJSON(object: any): UpcomingGaugesRequest; - toJSON(message: UpcomingGaugesRequest): unknown; - fromPartial(object: DeepPartial): UpcomingGaugesRequest; - fromSDK(object: UpcomingGaugesRequestSDKType): UpcomingGaugesRequest; - toSDK(message: UpcomingGaugesRequest): UpcomingGaugesRequestSDKType; - fromAmino(object: UpcomingGaugesRequestAmino): UpcomingGaugesRequest; - toAmino(message: UpcomingGaugesRequest): UpcomingGaugesRequestAmino; - fromAminoMsg(object: UpcomingGaugesRequestAminoMsg): UpcomingGaugesRequest; - toAminoMsg(message: UpcomingGaugesRequest): UpcomingGaugesRequestAminoMsg; - fromProtoMsg(message: UpcomingGaugesRequestProtoMsg): UpcomingGaugesRequest; - toProto(message: UpcomingGaugesRequest): Uint8Array; - toProtoMsg(message: UpcomingGaugesRequest): UpcomingGaugesRequestProtoMsg; -}; -export declare const UpcomingGaugesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is UpcomingGaugesResponse; - isSDK(o: any): o is UpcomingGaugesResponseSDKType; - isAmino(o: any): o is UpcomingGaugesResponseAmino; - encode(message: UpcomingGaugesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): UpcomingGaugesResponse; - fromJSON(object: any): UpcomingGaugesResponse; - toJSON(message: UpcomingGaugesResponse): unknown; - fromPartial(object: DeepPartial): UpcomingGaugesResponse; - fromSDK(object: UpcomingGaugesResponseSDKType): UpcomingGaugesResponse; - toSDK(message: UpcomingGaugesResponse): UpcomingGaugesResponseSDKType; - fromAmino(object: UpcomingGaugesResponseAmino): UpcomingGaugesResponse; - toAmino(message: UpcomingGaugesResponse): UpcomingGaugesResponseAmino; - fromAminoMsg(object: UpcomingGaugesResponseAminoMsg): UpcomingGaugesResponse; - toAminoMsg(message: UpcomingGaugesResponse): UpcomingGaugesResponseAminoMsg; - fromProtoMsg(message: UpcomingGaugesResponseProtoMsg): UpcomingGaugesResponse; - toProto(message: UpcomingGaugesResponse): Uint8Array; - toProtoMsg(message: UpcomingGaugesResponse): UpcomingGaugesResponseProtoMsg; -}; -export declare const UpcomingGaugesPerDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is UpcomingGaugesPerDenomRequest; - isSDK(o: any): o is UpcomingGaugesPerDenomRequestSDKType; - isAmino(o: any): o is UpcomingGaugesPerDenomRequestAmino; - encode(message: UpcomingGaugesPerDenomRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): UpcomingGaugesPerDenomRequest; - fromJSON(object: any): UpcomingGaugesPerDenomRequest; - toJSON(message: UpcomingGaugesPerDenomRequest): unknown; - fromPartial(object: DeepPartial): UpcomingGaugesPerDenomRequest; - fromSDK(object: UpcomingGaugesPerDenomRequestSDKType): UpcomingGaugesPerDenomRequest; - toSDK(message: UpcomingGaugesPerDenomRequest): UpcomingGaugesPerDenomRequestSDKType; - fromAmino(object: UpcomingGaugesPerDenomRequestAmino): UpcomingGaugesPerDenomRequest; - toAmino(message: UpcomingGaugesPerDenomRequest): UpcomingGaugesPerDenomRequestAmino; - fromAminoMsg(object: UpcomingGaugesPerDenomRequestAminoMsg): UpcomingGaugesPerDenomRequest; - toAminoMsg(message: UpcomingGaugesPerDenomRequest): UpcomingGaugesPerDenomRequestAminoMsg; - fromProtoMsg(message: UpcomingGaugesPerDenomRequestProtoMsg): UpcomingGaugesPerDenomRequest; - toProto(message: UpcomingGaugesPerDenomRequest): Uint8Array; - toProtoMsg(message: UpcomingGaugesPerDenomRequest): UpcomingGaugesPerDenomRequestProtoMsg; -}; -export declare const UpcomingGaugesPerDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is UpcomingGaugesPerDenomResponse; - isSDK(o: any): o is UpcomingGaugesPerDenomResponseSDKType; - isAmino(o: any): o is UpcomingGaugesPerDenomResponseAmino; - encode(message: UpcomingGaugesPerDenomResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): UpcomingGaugesPerDenomResponse; - fromJSON(object: any): UpcomingGaugesPerDenomResponse; - toJSON(message: UpcomingGaugesPerDenomResponse): unknown; - fromPartial(object: DeepPartial): UpcomingGaugesPerDenomResponse; - fromSDK(object: UpcomingGaugesPerDenomResponseSDKType): UpcomingGaugesPerDenomResponse; - toSDK(message: UpcomingGaugesPerDenomResponse): UpcomingGaugesPerDenomResponseSDKType; - fromAmino(object: UpcomingGaugesPerDenomResponseAmino): UpcomingGaugesPerDenomResponse; - toAmino(message: UpcomingGaugesPerDenomResponse): UpcomingGaugesPerDenomResponseAmino; - fromAminoMsg(object: UpcomingGaugesPerDenomResponseAminoMsg): UpcomingGaugesPerDenomResponse; - toAminoMsg(message: UpcomingGaugesPerDenomResponse): UpcomingGaugesPerDenomResponseAminoMsg; - fromProtoMsg(message: UpcomingGaugesPerDenomResponseProtoMsg): UpcomingGaugesPerDenomResponse; - toProto(message: UpcomingGaugesPerDenomResponse): Uint8Array; - toProtoMsg(message: UpcomingGaugesPerDenomResponse): UpcomingGaugesPerDenomResponseProtoMsg; -}; -export declare const RewardsEstRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is RewardsEstRequest; - isSDK(o: any): o is RewardsEstRequestSDKType; - isAmino(o: any): o is RewardsEstRequestAmino; - encode(message: RewardsEstRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RewardsEstRequest; - fromJSON(object: any): RewardsEstRequest; - toJSON(message: RewardsEstRequest): unknown; - fromPartial(object: DeepPartial): RewardsEstRequest; - fromSDK(object: RewardsEstRequestSDKType): RewardsEstRequest; - toSDK(message: RewardsEstRequest): RewardsEstRequestSDKType; - fromAmino(object: RewardsEstRequestAmino): RewardsEstRequest; - toAmino(message: RewardsEstRequest): RewardsEstRequestAmino; - fromAminoMsg(object: RewardsEstRequestAminoMsg): RewardsEstRequest; - toAminoMsg(message: RewardsEstRequest): RewardsEstRequestAminoMsg; - fromProtoMsg(message: RewardsEstRequestProtoMsg): RewardsEstRequest; - toProto(message: RewardsEstRequest): Uint8Array; - toProtoMsg(message: RewardsEstRequest): RewardsEstRequestProtoMsg; -}; -export declare const RewardsEstResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is RewardsEstResponse; - isSDK(o: any): o is RewardsEstResponseSDKType; - isAmino(o: any): o is RewardsEstResponseAmino; - encode(message: RewardsEstResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RewardsEstResponse; - fromJSON(object: any): RewardsEstResponse; - toJSON(message: RewardsEstResponse): unknown; - fromPartial(object: DeepPartial): RewardsEstResponse; - fromSDK(object: RewardsEstResponseSDKType): RewardsEstResponse; - toSDK(message: RewardsEstResponse): RewardsEstResponseSDKType; - fromAmino(object: RewardsEstResponseAmino): RewardsEstResponse; - toAmino(message: RewardsEstResponse): RewardsEstResponseAmino; - fromAminoMsg(object: RewardsEstResponseAminoMsg): RewardsEstResponse; - toAminoMsg(message: RewardsEstResponse): RewardsEstResponseAminoMsg; - fromProtoMsg(message: RewardsEstResponseProtoMsg): RewardsEstResponse; - toProto(message: RewardsEstResponse): Uint8Array; - toProtoMsg(message: RewardsEstResponse): RewardsEstResponseProtoMsg; -}; -export declare const QueryLockableDurationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryLockableDurationsRequest; - isSDK(o: any): o is QueryLockableDurationsRequestSDKType; - isAmino(o: any): o is QueryLockableDurationsRequestAmino; - encode(_: QueryLockableDurationsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryLockableDurationsRequest; - fromJSON(_: any): QueryLockableDurationsRequest; - toJSON(_: QueryLockableDurationsRequest): unknown; - fromPartial(_: DeepPartial): QueryLockableDurationsRequest; - fromSDK(_: QueryLockableDurationsRequestSDKType): QueryLockableDurationsRequest; - toSDK(_: QueryLockableDurationsRequest): QueryLockableDurationsRequestSDKType; - fromAmino(_: QueryLockableDurationsRequestAmino): QueryLockableDurationsRequest; - toAmino(_: QueryLockableDurationsRequest): QueryLockableDurationsRequestAmino; - fromAminoMsg(object: QueryLockableDurationsRequestAminoMsg): QueryLockableDurationsRequest; - toAminoMsg(message: QueryLockableDurationsRequest): QueryLockableDurationsRequestAminoMsg; - fromProtoMsg(message: QueryLockableDurationsRequestProtoMsg): QueryLockableDurationsRequest; - toProto(message: QueryLockableDurationsRequest): Uint8Array; - toProtoMsg(message: QueryLockableDurationsRequest): QueryLockableDurationsRequestProtoMsg; -}; -export declare const QueryLockableDurationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryLockableDurationsResponse; - isSDK(o: any): o is QueryLockableDurationsResponseSDKType; - isAmino(o: any): o is QueryLockableDurationsResponseAmino; - encode(message: QueryLockableDurationsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryLockableDurationsResponse; - fromJSON(object: any): QueryLockableDurationsResponse; - toJSON(message: QueryLockableDurationsResponse): unknown; - fromPartial(object: DeepPartial): QueryLockableDurationsResponse; - fromSDK(object: QueryLockableDurationsResponseSDKType): QueryLockableDurationsResponse; - toSDK(message: QueryLockableDurationsResponse): QueryLockableDurationsResponseSDKType; - fromAmino(object: QueryLockableDurationsResponseAmino): QueryLockableDurationsResponse; - toAmino(message: QueryLockableDurationsResponse): QueryLockableDurationsResponseAmino; - fromAminoMsg(object: QueryLockableDurationsResponseAminoMsg): QueryLockableDurationsResponse; - toAminoMsg(message: QueryLockableDurationsResponse): QueryLockableDurationsResponseAminoMsg; - fromProtoMsg(message: QueryLockableDurationsResponseProtoMsg): QueryLockableDurationsResponse; - toProto(message: QueryLockableDurationsResponse): Uint8Array; - toProtoMsg(message: QueryLockableDurationsResponse): QueryLockableDurationsResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/incentives/query.rpc.Query.d.ts b/examples/authz/types/codegen/osmosis/incentives/query.rpc.Query.d.ts deleted file mode 100644 index eb32a4ec..00000000 --- a/examples/authz/types/codegen/osmosis/incentives/query.rpc.Query.d.ts +++ /dev/null @@ -1,170 +0,0 @@ -import { TxRpc } from "../../types"; -import { ReactQueryParams } from "../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../mobx"; -import { ModuleToDistributeCoinsRequest, ModuleToDistributeCoinsResponse, GaugeByIDRequest, GaugeByIDResponse, GaugesRequest, GaugesResponse, ActiveGaugesRequest, ActiveGaugesResponse, ActiveGaugesPerDenomRequest, ActiveGaugesPerDenomResponse, UpcomingGaugesRequest, UpcomingGaugesResponse, UpcomingGaugesPerDenomRequest, UpcomingGaugesPerDenomResponse, RewardsEstRequest, RewardsEstResponse, QueryLockableDurationsRequest, QueryLockableDurationsResponse } from "./query"; -/** Query defines the gRPC querier service */ -export interface Query { - /** ModuleToDistributeCoins returns coins that are going to be distributed */ - moduleToDistributeCoins(request?: ModuleToDistributeCoinsRequest): Promise; - /** GaugeByID returns gauges by their respective ID */ - gaugeByID(request: GaugeByIDRequest): Promise; - /** Gauges returns both upcoming and active gauges */ - gauges(request?: GaugesRequest): Promise; - /** ActiveGauges returns active gauges */ - activeGauges(request?: ActiveGaugesRequest): Promise; - /** ActiveGaugesPerDenom returns active gauges by denom */ - activeGaugesPerDenom(request: ActiveGaugesPerDenomRequest): Promise; - /** Returns scheduled gauges that have not yet occured */ - upcomingGauges(request?: UpcomingGaugesRequest): Promise; - /** - * UpcomingGaugesPerDenom returns scheduled gauges that have not yet occured - * by denom - */ - upcomingGaugesPerDenom(request: UpcomingGaugesPerDenomRequest): Promise; - /** - * RewardsEst returns an estimate of the rewards from now until a specified - * time in the future The querier either provides an address or a set of locks - * for which they want to find the associated rewards - */ - rewardsEst(request: RewardsEstRequest): Promise; - /** - * LockableDurations returns lockable durations that are valid to distribute - * incentives for - */ - lockableDurations(request?: QueryLockableDurationsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - moduleToDistributeCoins: (request?: ModuleToDistributeCoinsRequest) => Promise; - gaugeByID: (request: GaugeByIDRequest) => Promise; - gauges: (request?: GaugesRequest) => Promise; - activeGauges: (request?: ActiveGaugesRequest) => Promise; - activeGaugesPerDenom: (request: ActiveGaugesPerDenomRequest) => Promise; - upcomingGauges: (request?: UpcomingGaugesRequest) => Promise; - upcomingGaugesPerDenom: (request: UpcomingGaugesPerDenomRequest) => Promise; - rewardsEst: (request: RewardsEstRequest) => Promise; - lockableDurations: (request?: QueryLockableDurationsRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseModuleToDistributeCoinsQuery extends ReactQueryParams { - request?: ModuleToDistributeCoinsRequest; -} -export interface UseGaugeByIDQuery extends ReactQueryParams { - request: GaugeByIDRequest; -} -export interface UseGaugesQuery extends ReactQueryParams { - request?: GaugesRequest; -} -export interface UseActiveGaugesQuery extends ReactQueryParams { - request?: ActiveGaugesRequest; -} -export interface UseActiveGaugesPerDenomQuery extends ReactQueryParams { - request: ActiveGaugesPerDenomRequest; -} -export interface UseUpcomingGaugesQuery extends ReactQueryParams { - request?: UpcomingGaugesRequest; -} -export interface UseUpcomingGaugesPerDenomQuery extends ReactQueryParams { - request: UpcomingGaugesPerDenomRequest; -} -export interface UseRewardsEstQuery extends ReactQueryParams { - request: RewardsEstRequest; -} -export interface UseLockableDurationsQuery extends ReactQueryParams { - request?: QueryLockableDurationsRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** ModuleToDistributeCoins returns coins that are going to be distributed */ useModuleToDistributeCoins: ({ request, options }: UseModuleToDistributeCoinsQuery) => import("@tanstack/react-query").UseQueryResult; - /** GaugeByID returns gauges by their respective ID */ useGaugeByID: ({ request, options }: UseGaugeByIDQuery) => import("@tanstack/react-query").UseQueryResult; - /** Gauges returns both upcoming and active gauges */ useGauges: ({ request, options }: UseGaugesQuery) => import("@tanstack/react-query").UseQueryResult; - /** ActiveGauges returns active gauges */ useActiveGauges: ({ request, options }: UseActiveGaugesQuery) => import("@tanstack/react-query").UseQueryResult; - /** ActiveGaugesPerDenom returns active gauges by denom */ useActiveGaugesPerDenom: ({ request, options }: UseActiveGaugesPerDenomQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns scheduled gauges that have not yet occured */ useUpcomingGauges: ({ request, options }: UseUpcomingGaugesQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * UpcomingGaugesPerDenom returns scheduled gauges that have not yet occured - * by denom - */ - useUpcomingGaugesPerDenom: ({ request, options }: UseUpcomingGaugesPerDenomQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * RewardsEst returns an estimate of the rewards from now until a specified - * time in the future The querier either provides an address or a set of locks - * for which they want to find the associated rewards - */ - useRewardsEst: ({ request, options }: UseRewardsEstQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * LockableDurations returns lockable durations that are valid to distribute - * incentives for - */ - useLockableDurations: ({ request, options }: UseLockableDurationsQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** ModuleToDistributeCoins returns coins that are going to be distributed */ QueryModuleToDistributeCoinsStore: { - new (): { - store: QueryStore; - moduleToDistributeCoins(request: ModuleToDistributeCoinsRequest): import("../../mobx").MobxResponse; - }; - }; - /** GaugeByID returns gauges by their respective ID */ QueryGaugeByIDStore: { - new (): { - store: QueryStore; - gaugeByID(request: GaugeByIDRequest): import("../../mobx").MobxResponse; - }; - }; - /** Gauges returns both upcoming and active gauges */ QueryGaugesStore: { - new (): { - store: QueryStore; - gauges(request: GaugesRequest): import("../../mobx").MobxResponse; - }; - }; - /** ActiveGauges returns active gauges */ QueryActiveGaugesStore: { - new (): { - store: QueryStore; - activeGauges(request: ActiveGaugesRequest): import("../../mobx").MobxResponse; - }; - }; - /** ActiveGaugesPerDenom returns active gauges by denom */ QueryActiveGaugesPerDenomStore: { - new (): { - store: QueryStore; - activeGaugesPerDenom(request: ActiveGaugesPerDenomRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns scheduled gauges that have not yet occured */ QueryUpcomingGaugesStore: { - new (): { - store: QueryStore; - upcomingGauges(request: UpcomingGaugesRequest): import("../../mobx").MobxResponse; - }; - }; - /** - * UpcomingGaugesPerDenom returns scheduled gauges that have not yet occured - * by denom - */ - QueryUpcomingGaugesPerDenomStore: { - new (): { - store: QueryStore; - upcomingGaugesPerDenom(request: UpcomingGaugesPerDenomRequest): import("../../mobx").MobxResponse; - }; - }; - /** - * RewardsEst returns an estimate of the rewards from now until a specified - * time in the future The querier either provides an address or a set of locks - * for which they want to find the associated rewards - */ - QueryRewardsEstStore: { - new (): { - store: QueryStore; - rewardsEst(request: RewardsEstRequest): import("../../mobx").MobxResponse; - }; - }; - /** - * LockableDurations returns lockable durations that are valid to distribute - * incentives for - */ - QueryLockableDurationsStore: { - new (): { - store: QueryStore; - lockableDurations(request: QueryLockableDurationsRequest): import("../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/incentives/tx.amino.d.ts b/examples/authz/types/codegen/osmosis/incentives/tx.amino.d.ts deleted file mode 100644 index 7c1f1d67..00000000 --- a/examples/authz/types/codegen/osmosis/incentives/tx.amino.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { MsgCreateGauge, MsgAddToGauge } from "./tx"; -export declare const AminoConverter: { - "/osmosis.incentives.MsgCreateGauge": { - aminoType: string; - toAmino: (message: MsgCreateGauge) => import("./tx").MsgCreateGaugeAmino; - fromAmino: (object: import("./tx").MsgCreateGaugeAmino) => MsgCreateGauge; - }; - "/osmosis.incentives.MsgAddToGauge": { - aminoType: string; - toAmino: (message: MsgAddToGauge) => import("./tx").MsgAddToGaugeAmino; - fromAmino: (object: import("./tx").MsgAddToGaugeAmino) => MsgAddToGauge; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/incentives/tx.d.ts b/examples/authz/types/codegen/osmosis/incentives/tx.d.ts deleted file mode 100644 index e7e6eded..00000000 --- a/examples/authz/types/codegen/osmosis/incentives/tx.d.ts +++ /dev/null @@ -1,219 +0,0 @@ -import { QueryCondition, QueryConditionAmino, QueryConditionSDKType } from "../lockup/lock"; -import { Coin, CoinAmino, CoinSDKType } from "../../cosmos/base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** MsgCreateGauge creates a gague to distribute rewards to users */ -export interface MsgCreateGauge { - /** - * is_perpetual shows if it's a perpetual or non-perpetual gauge - * Non-perpetual gauges distribute their tokens equally per epoch while the - * gauge is in the active period. Perpetual gauges distribute all their tokens - * at a single time and only distribute their tokens again once the gauge is - * refilled - */ - isPerpetual: boolean; - /** owner is the address of gauge creator */ - owner: string; - /** - * distribute_to show which lock the gauge should distribute to by time - * duration or by timestamp - */ - distributeTo: QueryCondition | undefined; - /** coins are coin(s) to be distributed by the gauge */ - coins: Coin[]; - /** start_time is the distribution start time */ - startTime: Date | undefined; - /** - * num_epochs_paid_over is the number of epochs distribution will be completed - * over - */ - numEpochsPaidOver: bigint; -} -export interface MsgCreateGaugeProtoMsg { - typeUrl: "/osmosis.incentives.MsgCreateGauge"; - value: Uint8Array; -} -/** MsgCreateGauge creates a gague to distribute rewards to users */ -export interface MsgCreateGaugeAmino { - /** - * is_perpetual shows if it's a perpetual or non-perpetual gauge - * Non-perpetual gauges distribute their tokens equally per epoch while the - * gauge is in the active period. Perpetual gauges distribute all their tokens - * at a single time and only distribute their tokens again once the gauge is - * refilled - */ - is_perpetual?: boolean; - /** owner is the address of gauge creator */ - owner?: string; - /** - * distribute_to show which lock the gauge should distribute to by time - * duration or by timestamp - */ - distribute_to?: QueryConditionAmino | undefined; - /** coins are coin(s) to be distributed by the gauge */ - coins?: CoinAmino[]; - /** start_time is the distribution start time */ - start_time?: string | undefined; - /** - * num_epochs_paid_over is the number of epochs distribution will be completed - * over - */ - num_epochs_paid_over?: string; -} -export interface MsgCreateGaugeAminoMsg { - type: "osmosis/incentives/create-gauge"; - value: MsgCreateGaugeAmino; -} -/** MsgCreateGauge creates a gague to distribute rewards to users */ -export interface MsgCreateGaugeSDKType { - is_perpetual: boolean; - owner: string; - distribute_to: QueryConditionSDKType | undefined; - coins: CoinSDKType[]; - start_time: Date | undefined; - num_epochs_paid_over: bigint; -} -export interface MsgCreateGaugeResponse { -} -export interface MsgCreateGaugeResponseProtoMsg { - typeUrl: "/osmosis.incentives.MsgCreateGaugeResponse"; - value: Uint8Array; -} -export interface MsgCreateGaugeResponseAmino { -} -export interface MsgCreateGaugeResponseAminoMsg { - type: "osmosis/incentives/create-gauge-response"; - value: MsgCreateGaugeResponseAmino; -} -export interface MsgCreateGaugeResponseSDKType { -} -/** MsgAddToGauge adds coins to a previously created gauge */ -export interface MsgAddToGauge { - /** owner is the gauge owner's address */ - owner: string; - /** gauge_id is the ID of gauge that rewards are getting added to */ - gaugeId: bigint; - /** rewards are the coin(s) to add to gauge */ - rewards: Coin[]; -} -export interface MsgAddToGaugeProtoMsg { - typeUrl: "/osmosis.incentives.MsgAddToGauge"; - value: Uint8Array; -} -/** MsgAddToGauge adds coins to a previously created gauge */ -export interface MsgAddToGaugeAmino { - /** owner is the gauge owner's address */ - owner?: string; - /** gauge_id is the ID of gauge that rewards are getting added to */ - gauge_id?: string; - /** rewards are the coin(s) to add to gauge */ - rewards?: CoinAmino[]; -} -export interface MsgAddToGaugeAminoMsg { - type: "osmosis/incentives/add-to-gauge"; - value: MsgAddToGaugeAmino; -} -/** MsgAddToGauge adds coins to a previously created gauge */ -export interface MsgAddToGaugeSDKType { - owner: string; - gauge_id: bigint; - rewards: CoinSDKType[]; -} -export interface MsgAddToGaugeResponse { -} -export interface MsgAddToGaugeResponseProtoMsg { - typeUrl: "/osmosis.incentives.MsgAddToGaugeResponse"; - value: Uint8Array; -} -export interface MsgAddToGaugeResponseAmino { -} -export interface MsgAddToGaugeResponseAminoMsg { - type: "osmosis/incentives/add-to-gauge-response"; - value: MsgAddToGaugeResponseAmino; -} -export interface MsgAddToGaugeResponseSDKType { -} -export declare const MsgCreateGauge: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateGauge; - isSDK(o: any): o is MsgCreateGaugeSDKType; - isAmino(o: any): o is MsgCreateGaugeAmino; - encode(message: MsgCreateGauge, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGauge; - fromJSON(object: any): MsgCreateGauge; - toJSON(message: MsgCreateGauge): unknown; - fromPartial(object: DeepPartial): MsgCreateGauge; - fromSDK(object: MsgCreateGaugeSDKType): MsgCreateGauge; - toSDK(message: MsgCreateGauge): MsgCreateGaugeSDKType; - fromAmino(object: MsgCreateGaugeAmino): MsgCreateGauge; - toAmino(message: MsgCreateGauge): MsgCreateGaugeAmino; - fromAminoMsg(object: MsgCreateGaugeAminoMsg): MsgCreateGauge; - toAminoMsg(message: MsgCreateGauge): MsgCreateGaugeAminoMsg; - fromProtoMsg(message: MsgCreateGaugeProtoMsg): MsgCreateGauge; - toProto(message: MsgCreateGauge): Uint8Array; - toProtoMsg(message: MsgCreateGauge): MsgCreateGaugeProtoMsg; -}; -export declare const MsgCreateGaugeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateGaugeResponse; - isSDK(o: any): o is MsgCreateGaugeResponseSDKType; - isAmino(o: any): o is MsgCreateGaugeResponseAmino; - encode(_: MsgCreateGaugeResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateGaugeResponse; - fromJSON(_: any): MsgCreateGaugeResponse; - toJSON(_: MsgCreateGaugeResponse): unknown; - fromPartial(_: DeepPartial): MsgCreateGaugeResponse; - fromSDK(_: MsgCreateGaugeResponseSDKType): MsgCreateGaugeResponse; - toSDK(_: MsgCreateGaugeResponse): MsgCreateGaugeResponseSDKType; - fromAmino(_: MsgCreateGaugeResponseAmino): MsgCreateGaugeResponse; - toAmino(_: MsgCreateGaugeResponse): MsgCreateGaugeResponseAmino; - fromAminoMsg(object: MsgCreateGaugeResponseAminoMsg): MsgCreateGaugeResponse; - toAminoMsg(message: MsgCreateGaugeResponse): MsgCreateGaugeResponseAminoMsg; - fromProtoMsg(message: MsgCreateGaugeResponseProtoMsg): MsgCreateGaugeResponse; - toProto(message: MsgCreateGaugeResponse): Uint8Array; - toProtoMsg(message: MsgCreateGaugeResponse): MsgCreateGaugeResponseProtoMsg; -}; -export declare const MsgAddToGauge: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgAddToGauge; - isSDK(o: any): o is MsgAddToGaugeSDKType; - isAmino(o: any): o is MsgAddToGaugeAmino; - encode(message: MsgAddToGauge, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgAddToGauge; - fromJSON(object: any): MsgAddToGauge; - toJSON(message: MsgAddToGauge): unknown; - fromPartial(object: DeepPartial): MsgAddToGauge; - fromSDK(object: MsgAddToGaugeSDKType): MsgAddToGauge; - toSDK(message: MsgAddToGauge): MsgAddToGaugeSDKType; - fromAmino(object: MsgAddToGaugeAmino): MsgAddToGauge; - toAmino(message: MsgAddToGauge): MsgAddToGaugeAmino; - fromAminoMsg(object: MsgAddToGaugeAminoMsg): MsgAddToGauge; - toAminoMsg(message: MsgAddToGauge): MsgAddToGaugeAminoMsg; - fromProtoMsg(message: MsgAddToGaugeProtoMsg): MsgAddToGauge; - toProto(message: MsgAddToGauge): Uint8Array; - toProtoMsg(message: MsgAddToGauge): MsgAddToGaugeProtoMsg; -}; -export declare const MsgAddToGaugeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgAddToGaugeResponse; - isSDK(o: any): o is MsgAddToGaugeResponseSDKType; - isAmino(o: any): o is MsgAddToGaugeResponseAmino; - encode(_: MsgAddToGaugeResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgAddToGaugeResponse; - fromJSON(_: any): MsgAddToGaugeResponse; - toJSON(_: MsgAddToGaugeResponse): unknown; - fromPartial(_: DeepPartial): MsgAddToGaugeResponse; - fromSDK(_: MsgAddToGaugeResponseSDKType): MsgAddToGaugeResponse; - toSDK(_: MsgAddToGaugeResponse): MsgAddToGaugeResponseSDKType; - fromAmino(_: MsgAddToGaugeResponseAmino): MsgAddToGaugeResponse; - toAmino(_: MsgAddToGaugeResponse): MsgAddToGaugeResponseAmino; - fromAminoMsg(object: MsgAddToGaugeResponseAminoMsg): MsgAddToGaugeResponse; - toAminoMsg(message: MsgAddToGaugeResponse): MsgAddToGaugeResponseAminoMsg; - fromProtoMsg(message: MsgAddToGaugeResponseProtoMsg): MsgAddToGaugeResponse; - toProto(message: MsgAddToGaugeResponse): Uint8Array; - toProtoMsg(message: MsgAddToGaugeResponse): MsgAddToGaugeResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/incentives/tx.registry.d.ts b/examples/authz/types/codegen/osmosis/incentives/tx.registry.d.ts deleted file mode 100644 index 034e09e6..00000000 --- a/examples/authz/types/codegen/osmosis/incentives/tx.registry.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { TelescopeGeneratedType } from "../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgCreateGauge, MsgAddToGauge } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - createGauge(value: MsgCreateGauge): { - typeUrl: string; - value: Uint8Array; - }; - addToGauge(value: MsgAddToGauge): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createGauge(value: MsgCreateGauge): { - typeUrl: string; - value: MsgCreateGauge; - }; - addToGauge(value: MsgAddToGauge): { - typeUrl: string; - value: MsgAddToGauge; - }; - }; - toJSON: { - createGauge(value: MsgCreateGauge): { - typeUrl: string; - value: unknown; - }; - addToGauge(value: MsgAddToGauge): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createGauge(value: any): { - typeUrl: string; - value: MsgCreateGauge; - }; - addToGauge(value: any): { - typeUrl: string; - value: MsgAddToGauge; - }; - }; - fromPartial: { - createGauge(value: MsgCreateGauge): { - typeUrl: string; - value: MsgCreateGauge; - }; - addToGauge(value: MsgAddToGauge): { - typeUrl: string; - value: MsgAddToGauge; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/incentives/tx.rpc.msg.d.ts b/examples/authz/types/codegen/osmosis/incentives/tx.rpc.msg.d.ts deleted file mode 100644 index b759c4b8..00000000 --- a/examples/authz/types/codegen/osmosis/incentives/tx.rpc.msg.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../types"; -import { MsgCreateGauge, MsgAddToGauge } from "./tx"; -export interface Msg { - createGauge(signerAddress: string, message: MsgCreateGauge, fee: number | StdFee | "auto", memo: string): Promise; - addToGauge(signerAddress: string, message: MsgAddToGauge, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - createGauge: (signerAddress: string, message: MsgCreateGauge, fee?: number | StdFee | "auto", memo?: string) => Promise; - addToGauge: (signerAddress: string, message: MsgAddToGauge, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/osmosis/lockup/genesis.d.ts b/examples/authz/types/codegen/osmosis/lockup/genesis.d.ts deleted file mode 100644 index b576ee74..00000000 --- a/examples/authz/types/codegen/osmosis/lockup/genesis.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { PeriodLock, PeriodLockAmino, PeriodLockSDKType, SyntheticLock, SyntheticLockAmino, SyntheticLockSDKType } from "./lock"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** GenesisState defines the lockup module's genesis state. */ -export interface GenesisState { - lastLockId: bigint; - locks: PeriodLock[]; - syntheticLocks: SyntheticLock[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/osmosis.lockup.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the lockup module's genesis state. */ -export interface GenesisStateAmino { - last_lock_id?: string; - locks?: PeriodLockAmino[]; - synthetic_locks?: SyntheticLockAmino[]; -} -export interface GenesisStateAminoMsg { - type: "osmosis/lockup/genesis-state"; - value: GenesisStateAmino; -} -/** GenesisState defines the lockup module's genesis state. */ -export interface GenesisStateSDKType { - last_lock_id: bigint; - locks: PeriodLockSDKType[]; - synthetic_locks: SyntheticLockSDKType[]; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/lockup/lock.d.ts b/examples/authz/types/codegen/osmosis/lockup/lock.d.ts deleted file mode 100644 index a986e815..00000000 --- a/examples/authz/types/codegen/osmosis/lockup/lock.d.ts +++ /dev/null @@ -1,309 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../google/protobuf/duration"; -import { Coin, CoinAmino, CoinSDKType } from "../../cosmos/base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** - * LockQueryType defines the type of the lock query that can - * either be by duration or start time of the lock. - */ -export declare enum LockQueryType { - ByDuration = 0, - ByTime = 1, - UNRECOGNIZED = -1 -} -export declare const LockQueryTypeSDKType: typeof LockQueryType; -export declare const LockQueryTypeAmino: typeof LockQueryType; -export declare function lockQueryTypeFromJSON(object: any): LockQueryType; -export declare function lockQueryTypeToJSON(object: LockQueryType): string; -/** - * PeriodLock is a single lock unit by period defined by the x/lockup module. - * It's a record of a locked coin at a specific time. It stores owner, duration, - * unlock time and the number of coins locked. A state of a period lock is - * created upon lock creation, and deleted once the lock has been matured after - * the `duration` has passed since unbonding started. - */ -export interface PeriodLock { - /** - * ID is the unique id of the lock. - * The ID of the lock is decided upon lock creation, incrementing by 1 for - * every lock. - */ - ID: bigint; - /** - * Owner is the account address of the lock owner. - * Only the owner can modify the state of the lock. - */ - owner: string; - /** - * Duration is the time needed for a lock to mature after unlocking has - * started. - */ - duration: Duration | undefined; - /** - * EndTime refers to the time at which the lock would mature and get deleted. - * This value is first initialized when an unlock has started for the lock, - * end time being block time + duration. - */ - endTime: Date | undefined; - /** Coins are the tokens locked within the lock, kept in the module account. */ - coins: Coin[]; -} -export interface PeriodLockProtoMsg { - typeUrl: "/osmosis.lockup.PeriodLock"; - value: Uint8Array; -} -/** - * PeriodLock is a single lock unit by period defined by the x/lockup module. - * It's a record of a locked coin at a specific time. It stores owner, duration, - * unlock time and the number of coins locked. A state of a period lock is - * created upon lock creation, and deleted once the lock has been matured after - * the `duration` has passed since unbonding started. - */ -export interface PeriodLockAmino { - /** - * ID is the unique id of the lock. - * The ID of the lock is decided upon lock creation, incrementing by 1 for - * every lock. - */ - ID?: string; - /** - * Owner is the account address of the lock owner. - * Only the owner can modify the state of the lock. - */ - owner?: string; - /** - * Duration is the time needed for a lock to mature after unlocking has - * started. - */ - duration?: DurationAmino | undefined; - /** - * EndTime refers to the time at which the lock would mature and get deleted. - * This value is first initialized when an unlock has started for the lock, - * end time being block time + duration. - */ - end_time?: string | undefined; - /** Coins are the tokens locked within the lock, kept in the module account. */ - coins?: CoinAmino[]; -} -export interface PeriodLockAminoMsg { - type: "osmosis/lockup/period-lock"; - value: PeriodLockAmino; -} -/** - * PeriodLock is a single lock unit by period defined by the x/lockup module. - * It's a record of a locked coin at a specific time. It stores owner, duration, - * unlock time and the number of coins locked. A state of a period lock is - * created upon lock creation, and deleted once the lock has been matured after - * the `duration` has passed since unbonding started. - */ -export interface PeriodLockSDKType { - ID: bigint; - owner: string; - duration: DurationSDKType | undefined; - end_time: Date | undefined; - coins: CoinSDKType[]; -} -/** - * QueryCondition is a struct used for querying locks upon different conditions. - * Duration field and timestamp fields could be optional, depending on the - * LockQueryType. - */ -export interface QueryCondition { - /** LockQueryType is a type of lock query, ByLockDuration | ByLockTime */ - lockQueryType: LockQueryType; - /** Denom represents the token denomination we are looking to lock up */ - denom: string; - /** - * Duration is used to query locks with longer duration than the specified - * duration. Duration field must not be nil when the lock query type is - * `ByLockDuration`. - */ - duration: Duration | undefined; - /** - * Timestamp is used by locks started before the specified duration. - * Timestamp field must not be nil when the lock query type is `ByLockTime`. - * Querying locks with timestamp is currently not implemented. - */ - timestamp: Date | undefined; -} -export interface QueryConditionProtoMsg { - typeUrl: "/osmosis.lockup.QueryCondition"; - value: Uint8Array; -} -/** - * QueryCondition is a struct used for querying locks upon different conditions. - * Duration field and timestamp fields could be optional, depending on the - * LockQueryType. - */ -export interface QueryConditionAmino { - /** LockQueryType is a type of lock query, ByLockDuration | ByLockTime */ - lock_query_type?: LockQueryType; - /** Denom represents the token denomination we are looking to lock up */ - denom?: string; - /** - * Duration is used to query locks with longer duration than the specified - * duration. Duration field must not be nil when the lock query type is - * `ByLockDuration`. - */ - duration?: DurationAmino | undefined; - /** - * Timestamp is used by locks started before the specified duration. - * Timestamp field must not be nil when the lock query type is `ByLockTime`. - * Querying locks with timestamp is currently not implemented. - */ - timestamp?: string | undefined; -} -export interface QueryConditionAminoMsg { - type: "osmosis/lockup/query-condition"; - value: QueryConditionAmino; -} -/** - * QueryCondition is a struct used for querying locks upon different conditions. - * Duration field and timestamp fields could be optional, depending on the - * LockQueryType. - */ -export interface QueryConditionSDKType { - lock_query_type: LockQueryType; - denom: string; - duration: DurationSDKType | undefined; - timestamp: Date | undefined; -} -/** - * SyntheticLock is creating virtual lockup where new denom is combination of - * original denom and synthetic suffix. At the time of synthetic lockup creation - * and deletion, accumulation store is also being updated and on querier side, - * they can query as freely as native lockup. - */ -export interface SyntheticLock { - /** - * Underlying Lock ID is the underlying native lock's id for this synthetic - * lockup. A synthetic lock MUST have an underlying lock. - */ - underlyingLockId: bigint; - /** - * SynthDenom is the synthetic denom that is a combination of - * gamm share + bonding status + validator address. - */ - synthDenom: string; - /** - * used for unbonding synthetic lockups, for active synthetic lockups, this - * value is set to uninitialized value - */ - endTime: Date | undefined; - /** - * Duration is the duration for a synthetic lock to mature - * at the point of unbonding has started. - */ - duration: Duration | undefined; -} -export interface SyntheticLockProtoMsg { - typeUrl: "/osmosis.lockup.SyntheticLock"; - value: Uint8Array; -} -/** - * SyntheticLock is creating virtual lockup where new denom is combination of - * original denom and synthetic suffix. At the time of synthetic lockup creation - * and deletion, accumulation store is also being updated and on querier side, - * they can query as freely as native lockup. - */ -export interface SyntheticLockAmino { - /** - * Underlying Lock ID is the underlying native lock's id for this synthetic - * lockup. A synthetic lock MUST have an underlying lock. - */ - underlying_lock_id?: string; - /** - * SynthDenom is the synthetic denom that is a combination of - * gamm share + bonding status + validator address. - */ - synth_denom?: string; - /** - * used for unbonding synthetic lockups, for active synthetic lockups, this - * value is set to uninitialized value - */ - end_time?: string | undefined; - /** - * Duration is the duration for a synthetic lock to mature - * at the point of unbonding has started. - */ - duration?: DurationAmino | undefined; -} -export interface SyntheticLockAminoMsg { - type: "osmosis/lockup/synthetic-lock"; - value: SyntheticLockAmino; -} -/** - * SyntheticLock is creating virtual lockup where new denom is combination of - * original denom and synthetic suffix. At the time of synthetic lockup creation - * and deletion, accumulation store is also being updated and on querier side, - * they can query as freely as native lockup. - */ -export interface SyntheticLockSDKType { - underlying_lock_id: bigint; - synth_denom: string; - end_time: Date | undefined; - duration: DurationSDKType | undefined; -} -export declare const PeriodLock: { - typeUrl: string; - aminoType: string; - is(o: any): o is PeriodLock; - isSDK(o: any): o is PeriodLockSDKType; - isAmino(o: any): o is PeriodLockAmino; - encode(message: PeriodLock, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PeriodLock; - fromJSON(object: any): PeriodLock; - toJSON(message: PeriodLock): unknown; - fromPartial(object: DeepPartial): PeriodLock; - fromSDK(object: PeriodLockSDKType): PeriodLock; - toSDK(message: PeriodLock): PeriodLockSDKType; - fromAmino(object: PeriodLockAmino): PeriodLock; - toAmino(message: PeriodLock): PeriodLockAmino; - fromAminoMsg(object: PeriodLockAminoMsg): PeriodLock; - toAminoMsg(message: PeriodLock): PeriodLockAminoMsg; - fromProtoMsg(message: PeriodLockProtoMsg): PeriodLock; - toProto(message: PeriodLock): Uint8Array; - toProtoMsg(message: PeriodLock): PeriodLockProtoMsg; -}; -export declare const QueryCondition: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryCondition; - isSDK(o: any): o is QueryConditionSDKType; - isAmino(o: any): o is QueryConditionAmino; - encode(message: QueryCondition, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryCondition; - fromJSON(object: any): QueryCondition; - toJSON(message: QueryCondition): unknown; - fromPartial(object: DeepPartial): QueryCondition; - fromSDK(object: QueryConditionSDKType): QueryCondition; - toSDK(message: QueryCondition): QueryConditionSDKType; - fromAmino(object: QueryConditionAmino): QueryCondition; - toAmino(message: QueryCondition): QueryConditionAmino; - fromAminoMsg(object: QueryConditionAminoMsg): QueryCondition; - toAminoMsg(message: QueryCondition): QueryConditionAminoMsg; - fromProtoMsg(message: QueryConditionProtoMsg): QueryCondition; - toProto(message: QueryCondition): Uint8Array; - toProtoMsg(message: QueryCondition): QueryConditionProtoMsg; -}; -export declare const SyntheticLock: { - typeUrl: string; - aminoType: string; - is(o: any): o is SyntheticLock; - isSDK(o: any): o is SyntheticLockSDKType; - isAmino(o: any): o is SyntheticLockAmino; - encode(message: SyntheticLock, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SyntheticLock; - fromJSON(object: any): SyntheticLock; - toJSON(message: SyntheticLock): unknown; - fromPartial(object: DeepPartial): SyntheticLock; - fromSDK(object: SyntheticLockSDKType): SyntheticLock; - toSDK(message: SyntheticLock): SyntheticLockSDKType; - fromAmino(object: SyntheticLockAmino): SyntheticLock; - toAmino(message: SyntheticLock): SyntheticLockAmino; - fromAminoMsg(object: SyntheticLockAminoMsg): SyntheticLock; - toAminoMsg(message: SyntheticLock): SyntheticLockAminoMsg; - fromProtoMsg(message: SyntheticLockProtoMsg): SyntheticLock; - toProto(message: SyntheticLock): Uint8Array; - toProtoMsg(message: SyntheticLock): SyntheticLockProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/lockup/params.d.ts b/examples/authz/types/codegen/osmosis/lockup/params.d.ts deleted file mode 100644 index cddd3ad2..00000000 --- a/examples/authz/types/codegen/osmosis/lockup/params.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -export interface Params { - forceUnlockAllowedAddresses: string[]; -} -export interface ParamsProtoMsg { - typeUrl: "/osmosis.lockup.Params"; - value: Uint8Array; -} -export interface ParamsAmino { - force_unlock_allowed_addresses?: string[]; -} -export interface ParamsAminoMsg { - type: "osmosis/lockup/params"; - value: ParamsAmino; -} -export interface ParamsSDKType { - force_unlock_allowed_addresses: string[]; -} -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/lockup/query.d.ts b/examples/authz/types/codegen/osmosis/lockup/query.d.ts deleted file mode 100644 index ba7b19c4..00000000 --- a/examples/authz/types/codegen/osmosis/lockup/query.d.ts +++ /dev/null @@ -1,1322 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../google/protobuf/duration"; -import { Coin, CoinAmino, CoinSDKType } from "../../cosmos/base/v1beta1/coin"; -import { PeriodLock, PeriodLockAmino, PeriodLockSDKType, SyntheticLock, SyntheticLockAmino, SyntheticLockSDKType } from "./lock"; -import { Params, ParamsAmino, ParamsSDKType } from "./params"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -export interface ModuleBalanceRequest { -} -export interface ModuleBalanceRequestProtoMsg { - typeUrl: "/osmosis.lockup.ModuleBalanceRequest"; - value: Uint8Array; -} -export interface ModuleBalanceRequestAmino { -} -export interface ModuleBalanceRequestAminoMsg { - type: "osmosis/lockup/module-balance-request"; - value: ModuleBalanceRequestAmino; -} -export interface ModuleBalanceRequestSDKType { -} -export interface ModuleBalanceResponse { - coins: Coin[]; -} -export interface ModuleBalanceResponseProtoMsg { - typeUrl: "/osmosis.lockup.ModuleBalanceResponse"; - value: Uint8Array; -} -export interface ModuleBalanceResponseAmino { - coins?: CoinAmino[]; -} -export interface ModuleBalanceResponseAminoMsg { - type: "osmosis/lockup/module-balance-response"; - value: ModuleBalanceResponseAmino; -} -export interface ModuleBalanceResponseSDKType { - coins: CoinSDKType[]; -} -export interface ModuleLockedAmountRequest { -} -export interface ModuleLockedAmountRequestProtoMsg { - typeUrl: "/osmosis.lockup.ModuleLockedAmountRequest"; - value: Uint8Array; -} -export interface ModuleLockedAmountRequestAmino { -} -export interface ModuleLockedAmountRequestAminoMsg { - type: "osmosis/lockup/module-locked-amount-request"; - value: ModuleLockedAmountRequestAmino; -} -export interface ModuleLockedAmountRequestSDKType { -} -export interface ModuleLockedAmountResponse { - coins: Coin[]; -} -export interface ModuleLockedAmountResponseProtoMsg { - typeUrl: "/osmosis.lockup.ModuleLockedAmountResponse"; - value: Uint8Array; -} -export interface ModuleLockedAmountResponseAmino { - coins?: CoinAmino[]; -} -export interface ModuleLockedAmountResponseAminoMsg { - type: "osmosis/lockup/module-locked-amount-response"; - value: ModuleLockedAmountResponseAmino; -} -export interface ModuleLockedAmountResponseSDKType { - coins: CoinSDKType[]; -} -export interface AccountUnlockableCoinsRequest { - owner: string; -} -export interface AccountUnlockableCoinsRequestProtoMsg { - typeUrl: "/osmosis.lockup.AccountUnlockableCoinsRequest"; - value: Uint8Array; -} -export interface AccountUnlockableCoinsRequestAmino { - owner?: string; -} -export interface AccountUnlockableCoinsRequestAminoMsg { - type: "osmosis/lockup/account-unlockable-coins-request"; - value: AccountUnlockableCoinsRequestAmino; -} -export interface AccountUnlockableCoinsRequestSDKType { - owner: string; -} -export interface AccountUnlockableCoinsResponse { - coins: Coin[]; -} -export interface AccountUnlockableCoinsResponseProtoMsg { - typeUrl: "/osmosis.lockup.AccountUnlockableCoinsResponse"; - value: Uint8Array; -} -export interface AccountUnlockableCoinsResponseAmino { - coins?: CoinAmino[]; -} -export interface AccountUnlockableCoinsResponseAminoMsg { - type: "osmosis/lockup/account-unlockable-coins-response"; - value: AccountUnlockableCoinsResponseAmino; -} -export interface AccountUnlockableCoinsResponseSDKType { - coins: CoinSDKType[]; -} -export interface AccountUnlockingCoinsRequest { - owner: string; -} -export interface AccountUnlockingCoinsRequestProtoMsg { - typeUrl: "/osmosis.lockup.AccountUnlockingCoinsRequest"; - value: Uint8Array; -} -export interface AccountUnlockingCoinsRequestAmino { - owner?: string; -} -export interface AccountUnlockingCoinsRequestAminoMsg { - type: "osmosis/lockup/account-unlocking-coins-request"; - value: AccountUnlockingCoinsRequestAmino; -} -export interface AccountUnlockingCoinsRequestSDKType { - owner: string; -} -export interface AccountUnlockingCoinsResponse { - coins: Coin[]; -} -export interface AccountUnlockingCoinsResponseProtoMsg { - typeUrl: "/osmosis.lockup.AccountUnlockingCoinsResponse"; - value: Uint8Array; -} -export interface AccountUnlockingCoinsResponseAmino { - coins?: CoinAmino[]; -} -export interface AccountUnlockingCoinsResponseAminoMsg { - type: "osmosis/lockup/account-unlocking-coins-response"; - value: AccountUnlockingCoinsResponseAmino; -} -export interface AccountUnlockingCoinsResponseSDKType { - coins: CoinSDKType[]; -} -export interface AccountLockedCoinsRequest { - owner: string; -} -export interface AccountLockedCoinsRequestProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedCoinsRequest"; - value: Uint8Array; -} -export interface AccountLockedCoinsRequestAmino { - owner?: string; -} -export interface AccountLockedCoinsRequestAminoMsg { - type: "osmosis/lockup/account-locked-coins-request"; - value: AccountLockedCoinsRequestAmino; -} -export interface AccountLockedCoinsRequestSDKType { - owner: string; -} -export interface AccountLockedCoinsResponse { - coins: Coin[]; -} -export interface AccountLockedCoinsResponseProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedCoinsResponse"; - value: Uint8Array; -} -export interface AccountLockedCoinsResponseAmino { - coins?: CoinAmino[]; -} -export interface AccountLockedCoinsResponseAminoMsg { - type: "osmosis/lockup/account-locked-coins-response"; - value: AccountLockedCoinsResponseAmino; -} -export interface AccountLockedCoinsResponseSDKType { - coins: CoinSDKType[]; -} -export interface AccountLockedPastTimeRequest { - owner: string; - timestamp: Date | undefined; -} -export interface AccountLockedPastTimeRequestProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedPastTimeRequest"; - value: Uint8Array; -} -export interface AccountLockedPastTimeRequestAmino { - owner?: string; - timestamp?: string | undefined; -} -export interface AccountLockedPastTimeRequestAminoMsg { - type: "osmosis/lockup/account-locked-past-time-request"; - value: AccountLockedPastTimeRequestAmino; -} -export interface AccountLockedPastTimeRequestSDKType { - owner: string; - timestamp: Date | undefined; -} -export interface AccountLockedPastTimeResponse { - locks: PeriodLock[]; -} -export interface AccountLockedPastTimeResponseProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedPastTimeResponse"; - value: Uint8Array; -} -export interface AccountLockedPastTimeResponseAmino { - locks?: PeriodLockAmino[]; -} -export interface AccountLockedPastTimeResponseAminoMsg { - type: "osmosis/lockup/account-locked-past-time-response"; - value: AccountLockedPastTimeResponseAmino; -} -export interface AccountLockedPastTimeResponseSDKType { - locks: PeriodLockSDKType[]; -} -export interface AccountLockedPastTimeNotUnlockingOnlyRequest { - owner: string; - timestamp: Date | undefined; -} -export interface AccountLockedPastTimeNotUnlockingOnlyRequestProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedPastTimeNotUnlockingOnlyRequest"; - value: Uint8Array; -} -export interface AccountLockedPastTimeNotUnlockingOnlyRequestAmino { - owner?: string; - timestamp?: string | undefined; -} -export interface AccountLockedPastTimeNotUnlockingOnlyRequestAminoMsg { - type: "osmosis/lockup/account-locked-past-time-not-unlocking-only-request"; - value: AccountLockedPastTimeNotUnlockingOnlyRequestAmino; -} -export interface AccountLockedPastTimeNotUnlockingOnlyRequestSDKType { - owner: string; - timestamp: Date | undefined; -} -export interface AccountLockedPastTimeNotUnlockingOnlyResponse { - locks: PeriodLock[]; -} -export interface AccountLockedPastTimeNotUnlockingOnlyResponseProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedPastTimeNotUnlockingOnlyResponse"; - value: Uint8Array; -} -export interface AccountLockedPastTimeNotUnlockingOnlyResponseAmino { - locks?: PeriodLockAmino[]; -} -export interface AccountLockedPastTimeNotUnlockingOnlyResponseAminoMsg { - type: "osmosis/lockup/account-locked-past-time-not-unlocking-only-response"; - value: AccountLockedPastTimeNotUnlockingOnlyResponseAmino; -} -export interface AccountLockedPastTimeNotUnlockingOnlyResponseSDKType { - locks: PeriodLockSDKType[]; -} -export interface AccountUnlockedBeforeTimeRequest { - owner: string; - timestamp: Date | undefined; -} -export interface AccountUnlockedBeforeTimeRequestProtoMsg { - typeUrl: "/osmosis.lockup.AccountUnlockedBeforeTimeRequest"; - value: Uint8Array; -} -export interface AccountUnlockedBeforeTimeRequestAmino { - owner?: string; - timestamp?: string | undefined; -} -export interface AccountUnlockedBeforeTimeRequestAminoMsg { - type: "osmosis/lockup/account-unlocked-before-time-request"; - value: AccountUnlockedBeforeTimeRequestAmino; -} -export interface AccountUnlockedBeforeTimeRequestSDKType { - owner: string; - timestamp: Date | undefined; -} -export interface AccountUnlockedBeforeTimeResponse { - locks: PeriodLock[]; -} -export interface AccountUnlockedBeforeTimeResponseProtoMsg { - typeUrl: "/osmosis.lockup.AccountUnlockedBeforeTimeResponse"; - value: Uint8Array; -} -export interface AccountUnlockedBeforeTimeResponseAmino { - locks?: PeriodLockAmino[]; -} -export interface AccountUnlockedBeforeTimeResponseAminoMsg { - type: "osmosis/lockup/account-unlocked-before-time-response"; - value: AccountUnlockedBeforeTimeResponseAmino; -} -export interface AccountUnlockedBeforeTimeResponseSDKType { - locks: PeriodLockSDKType[]; -} -export interface AccountLockedPastTimeDenomRequest { - owner: string; - timestamp: Date | undefined; - denom: string; -} -export interface AccountLockedPastTimeDenomRequestProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedPastTimeDenomRequest"; - value: Uint8Array; -} -export interface AccountLockedPastTimeDenomRequestAmino { - owner?: string; - timestamp?: string | undefined; - denom?: string; -} -export interface AccountLockedPastTimeDenomRequestAminoMsg { - type: "osmosis/lockup/account-locked-past-time-denom-request"; - value: AccountLockedPastTimeDenomRequestAmino; -} -export interface AccountLockedPastTimeDenomRequestSDKType { - owner: string; - timestamp: Date | undefined; - denom: string; -} -export interface AccountLockedPastTimeDenomResponse { - locks: PeriodLock[]; -} -export interface AccountLockedPastTimeDenomResponseProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedPastTimeDenomResponse"; - value: Uint8Array; -} -export interface AccountLockedPastTimeDenomResponseAmino { - locks?: PeriodLockAmino[]; -} -export interface AccountLockedPastTimeDenomResponseAminoMsg { - type: "osmosis/lockup/account-locked-past-time-denom-response"; - value: AccountLockedPastTimeDenomResponseAmino; -} -export interface AccountLockedPastTimeDenomResponseSDKType { - locks: PeriodLockSDKType[]; -} -export interface LockedDenomRequest { - denom: string; - duration: Duration | undefined; -} -export interface LockedDenomRequestProtoMsg { - typeUrl: "/osmosis.lockup.LockedDenomRequest"; - value: Uint8Array; -} -export interface LockedDenomRequestAmino { - denom?: string; - duration?: DurationAmino | undefined; -} -export interface LockedDenomRequestAminoMsg { - type: "osmosis/lockup/locked-denom-request"; - value: LockedDenomRequestAmino; -} -export interface LockedDenomRequestSDKType { - denom: string; - duration: DurationSDKType | undefined; -} -export interface LockedDenomResponse { - amount: string; -} -export interface LockedDenomResponseProtoMsg { - typeUrl: "/osmosis.lockup.LockedDenomResponse"; - value: Uint8Array; -} -export interface LockedDenomResponseAmino { - amount?: string; -} -export interface LockedDenomResponseAminoMsg { - type: "osmosis/lockup/locked-denom-response"; - value: LockedDenomResponseAmino; -} -export interface LockedDenomResponseSDKType { - amount: string; -} -export interface LockedRequest { - lockId: bigint; -} -export interface LockedRequestProtoMsg { - typeUrl: "/osmosis.lockup.LockedRequest"; - value: Uint8Array; -} -export interface LockedRequestAmino { - lock_id?: string; -} -export interface LockedRequestAminoMsg { - type: "osmosis/lockup/locked-request"; - value: LockedRequestAmino; -} -export interface LockedRequestSDKType { - lock_id: bigint; -} -export interface LockedResponse { - lock?: PeriodLock | undefined; -} -export interface LockedResponseProtoMsg { - typeUrl: "/osmosis.lockup.LockedResponse"; - value: Uint8Array; -} -export interface LockedResponseAmino { - lock?: PeriodLockAmino | undefined; -} -export interface LockedResponseAminoMsg { - type: "osmosis/lockup/locked-response"; - value: LockedResponseAmino; -} -export interface LockedResponseSDKType { - lock?: PeriodLockSDKType | undefined; -} -export interface SyntheticLockupsByLockupIDRequest { - lockId: bigint; -} -export interface SyntheticLockupsByLockupIDRequestProtoMsg { - typeUrl: "/osmosis.lockup.SyntheticLockupsByLockupIDRequest"; - value: Uint8Array; -} -export interface SyntheticLockupsByLockupIDRequestAmino { - lock_id?: string; -} -export interface SyntheticLockupsByLockupIDRequestAminoMsg { - type: "osmosis/lockup/synthetic-lockups-by-lockup-id-request"; - value: SyntheticLockupsByLockupIDRequestAmino; -} -export interface SyntheticLockupsByLockupIDRequestSDKType { - lock_id: bigint; -} -export interface SyntheticLockupsByLockupIDResponse { - syntheticLocks: SyntheticLock[]; -} -export interface SyntheticLockupsByLockupIDResponseProtoMsg { - typeUrl: "/osmosis.lockup.SyntheticLockupsByLockupIDResponse"; - value: Uint8Array; -} -export interface SyntheticLockupsByLockupIDResponseAmino { - synthetic_locks?: SyntheticLockAmino[]; -} -export interface SyntheticLockupsByLockupIDResponseAminoMsg { - type: "osmosis/lockup/synthetic-lockups-by-lockup-id-response"; - value: SyntheticLockupsByLockupIDResponseAmino; -} -export interface SyntheticLockupsByLockupIDResponseSDKType { - synthetic_locks: SyntheticLockSDKType[]; -} -export interface AccountLockedLongerDurationRequest { - owner: string; - duration: Duration | undefined; -} -export interface AccountLockedLongerDurationRequestProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedLongerDurationRequest"; - value: Uint8Array; -} -export interface AccountLockedLongerDurationRequestAmino { - owner?: string; - duration?: DurationAmino | undefined; -} -export interface AccountLockedLongerDurationRequestAminoMsg { - type: "osmosis/lockup/account-locked-longer-duration-request"; - value: AccountLockedLongerDurationRequestAmino; -} -export interface AccountLockedLongerDurationRequestSDKType { - owner: string; - duration: DurationSDKType | undefined; -} -export interface AccountLockedLongerDurationResponse { - locks: PeriodLock[]; -} -export interface AccountLockedLongerDurationResponseProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedLongerDurationResponse"; - value: Uint8Array; -} -export interface AccountLockedLongerDurationResponseAmino { - locks?: PeriodLockAmino[]; -} -export interface AccountLockedLongerDurationResponseAminoMsg { - type: "osmosis/lockup/account-locked-longer-duration-response"; - value: AccountLockedLongerDurationResponseAmino; -} -export interface AccountLockedLongerDurationResponseSDKType { - locks: PeriodLockSDKType[]; -} -export interface AccountLockedDurationRequest { - owner: string; - duration: Duration | undefined; -} -export interface AccountLockedDurationRequestProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedDurationRequest"; - value: Uint8Array; -} -export interface AccountLockedDurationRequestAmino { - owner?: string; - duration?: DurationAmino | undefined; -} -export interface AccountLockedDurationRequestAminoMsg { - type: "osmosis/lockup/account-locked-duration-request"; - value: AccountLockedDurationRequestAmino; -} -export interface AccountLockedDurationRequestSDKType { - owner: string; - duration: DurationSDKType | undefined; -} -export interface AccountLockedDurationResponse { - locks: PeriodLock[]; -} -export interface AccountLockedDurationResponseProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedDurationResponse"; - value: Uint8Array; -} -export interface AccountLockedDurationResponseAmino { - locks?: PeriodLockAmino[]; -} -export interface AccountLockedDurationResponseAminoMsg { - type: "osmosis/lockup/account-locked-duration-response"; - value: AccountLockedDurationResponseAmino; -} -export interface AccountLockedDurationResponseSDKType { - locks: PeriodLockSDKType[]; -} -export interface AccountLockedLongerDurationNotUnlockingOnlyRequest { - owner: string; - duration: Duration | undefined; -} -export interface AccountLockedLongerDurationNotUnlockingOnlyRequestProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedLongerDurationNotUnlockingOnlyRequest"; - value: Uint8Array; -} -export interface AccountLockedLongerDurationNotUnlockingOnlyRequestAmino { - owner?: string; - duration?: DurationAmino | undefined; -} -export interface AccountLockedLongerDurationNotUnlockingOnlyRequestAminoMsg { - type: "osmosis/lockup/account-locked-longer-duration-not-unlocking-only-request"; - value: AccountLockedLongerDurationNotUnlockingOnlyRequestAmino; -} -export interface AccountLockedLongerDurationNotUnlockingOnlyRequestSDKType { - owner: string; - duration: DurationSDKType | undefined; -} -export interface AccountLockedLongerDurationNotUnlockingOnlyResponse { - locks: PeriodLock[]; -} -export interface AccountLockedLongerDurationNotUnlockingOnlyResponseProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedLongerDurationNotUnlockingOnlyResponse"; - value: Uint8Array; -} -export interface AccountLockedLongerDurationNotUnlockingOnlyResponseAmino { - locks?: PeriodLockAmino[]; -} -export interface AccountLockedLongerDurationNotUnlockingOnlyResponseAminoMsg { - type: "osmosis/lockup/account-locked-longer-duration-not-unlocking-only-response"; - value: AccountLockedLongerDurationNotUnlockingOnlyResponseAmino; -} -export interface AccountLockedLongerDurationNotUnlockingOnlyResponseSDKType { - locks: PeriodLockSDKType[]; -} -export interface AccountLockedLongerDurationDenomRequest { - owner: string; - duration: Duration | undefined; - denom: string; -} -export interface AccountLockedLongerDurationDenomRequestProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedLongerDurationDenomRequest"; - value: Uint8Array; -} -export interface AccountLockedLongerDurationDenomRequestAmino { - owner?: string; - duration?: DurationAmino | undefined; - denom?: string; -} -export interface AccountLockedLongerDurationDenomRequestAminoMsg { - type: "osmosis/lockup/account-locked-longer-duration-denom-request"; - value: AccountLockedLongerDurationDenomRequestAmino; -} -export interface AccountLockedLongerDurationDenomRequestSDKType { - owner: string; - duration: DurationSDKType | undefined; - denom: string; -} -export interface AccountLockedLongerDurationDenomResponse { - locks: PeriodLock[]; -} -export interface AccountLockedLongerDurationDenomResponseProtoMsg { - typeUrl: "/osmosis.lockup.AccountLockedLongerDurationDenomResponse"; - value: Uint8Array; -} -export interface AccountLockedLongerDurationDenomResponseAmino { - locks?: PeriodLockAmino[]; -} -export interface AccountLockedLongerDurationDenomResponseAminoMsg { - type: "osmosis/lockup/account-locked-longer-duration-denom-response"; - value: AccountLockedLongerDurationDenomResponseAmino; -} -export interface AccountLockedLongerDurationDenomResponseSDKType { - locks: PeriodLockSDKType[]; -} -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/osmosis.lockup.QueryParamsRequest"; - value: Uint8Array; -} -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "osmosis/lockup/query-params-request"; - value: QueryParamsRequestAmino; -} -export interface QueryParamsRequestSDKType { -} -export interface QueryParamsResponse { - params: Params | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/osmosis.lockup.QueryParamsResponse"; - value: Uint8Array; -} -export interface QueryParamsResponseAmino { - params?: ParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "osmosis/lockup/query-params-response"; - value: QueryParamsResponseAmino; -} -export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; -} -export declare const ModuleBalanceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is ModuleBalanceRequest; - isSDK(o: any): o is ModuleBalanceRequestSDKType; - isAmino(o: any): o is ModuleBalanceRequestAmino; - encode(_: ModuleBalanceRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ModuleBalanceRequest; - fromJSON(_: any): ModuleBalanceRequest; - toJSON(_: ModuleBalanceRequest): unknown; - fromPartial(_: DeepPartial): ModuleBalanceRequest; - fromSDK(_: ModuleBalanceRequestSDKType): ModuleBalanceRequest; - toSDK(_: ModuleBalanceRequest): ModuleBalanceRequestSDKType; - fromAmino(_: ModuleBalanceRequestAmino): ModuleBalanceRequest; - toAmino(_: ModuleBalanceRequest): ModuleBalanceRequestAmino; - fromAminoMsg(object: ModuleBalanceRequestAminoMsg): ModuleBalanceRequest; - toAminoMsg(message: ModuleBalanceRequest): ModuleBalanceRequestAminoMsg; - fromProtoMsg(message: ModuleBalanceRequestProtoMsg): ModuleBalanceRequest; - toProto(message: ModuleBalanceRequest): Uint8Array; - toProtoMsg(message: ModuleBalanceRequest): ModuleBalanceRequestProtoMsg; -}; -export declare const ModuleBalanceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is ModuleBalanceResponse; - isSDK(o: any): o is ModuleBalanceResponseSDKType; - isAmino(o: any): o is ModuleBalanceResponseAmino; - encode(message: ModuleBalanceResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ModuleBalanceResponse; - fromJSON(object: any): ModuleBalanceResponse; - toJSON(message: ModuleBalanceResponse): unknown; - fromPartial(object: DeepPartial): ModuleBalanceResponse; - fromSDK(object: ModuleBalanceResponseSDKType): ModuleBalanceResponse; - toSDK(message: ModuleBalanceResponse): ModuleBalanceResponseSDKType; - fromAmino(object: ModuleBalanceResponseAmino): ModuleBalanceResponse; - toAmino(message: ModuleBalanceResponse): ModuleBalanceResponseAmino; - fromAminoMsg(object: ModuleBalanceResponseAminoMsg): ModuleBalanceResponse; - toAminoMsg(message: ModuleBalanceResponse): ModuleBalanceResponseAminoMsg; - fromProtoMsg(message: ModuleBalanceResponseProtoMsg): ModuleBalanceResponse; - toProto(message: ModuleBalanceResponse): Uint8Array; - toProtoMsg(message: ModuleBalanceResponse): ModuleBalanceResponseProtoMsg; -}; -export declare const ModuleLockedAmountRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is ModuleLockedAmountRequest; - isSDK(o: any): o is ModuleLockedAmountRequestSDKType; - isAmino(o: any): o is ModuleLockedAmountRequestAmino; - encode(_: ModuleLockedAmountRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ModuleLockedAmountRequest; - fromJSON(_: any): ModuleLockedAmountRequest; - toJSON(_: ModuleLockedAmountRequest): unknown; - fromPartial(_: DeepPartial): ModuleLockedAmountRequest; - fromSDK(_: ModuleLockedAmountRequestSDKType): ModuleLockedAmountRequest; - toSDK(_: ModuleLockedAmountRequest): ModuleLockedAmountRequestSDKType; - fromAmino(_: ModuleLockedAmountRequestAmino): ModuleLockedAmountRequest; - toAmino(_: ModuleLockedAmountRequest): ModuleLockedAmountRequestAmino; - fromAminoMsg(object: ModuleLockedAmountRequestAminoMsg): ModuleLockedAmountRequest; - toAminoMsg(message: ModuleLockedAmountRequest): ModuleLockedAmountRequestAminoMsg; - fromProtoMsg(message: ModuleLockedAmountRequestProtoMsg): ModuleLockedAmountRequest; - toProto(message: ModuleLockedAmountRequest): Uint8Array; - toProtoMsg(message: ModuleLockedAmountRequest): ModuleLockedAmountRequestProtoMsg; -}; -export declare const ModuleLockedAmountResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is ModuleLockedAmountResponse; - isSDK(o: any): o is ModuleLockedAmountResponseSDKType; - isAmino(o: any): o is ModuleLockedAmountResponseAmino; - encode(message: ModuleLockedAmountResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ModuleLockedAmountResponse; - fromJSON(object: any): ModuleLockedAmountResponse; - toJSON(message: ModuleLockedAmountResponse): unknown; - fromPartial(object: DeepPartial): ModuleLockedAmountResponse; - fromSDK(object: ModuleLockedAmountResponseSDKType): ModuleLockedAmountResponse; - toSDK(message: ModuleLockedAmountResponse): ModuleLockedAmountResponseSDKType; - fromAmino(object: ModuleLockedAmountResponseAmino): ModuleLockedAmountResponse; - toAmino(message: ModuleLockedAmountResponse): ModuleLockedAmountResponseAmino; - fromAminoMsg(object: ModuleLockedAmountResponseAminoMsg): ModuleLockedAmountResponse; - toAminoMsg(message: ModuleLockedAmountResponse): ModuleLockedAmountResponseAminoMsg; - fromProtoMsg(message: ModuleLockedAmountResponseProtoMsg): ModuleLockedAmountResponse; - toProto(message: ModuleLockedAmountResponse): Uint8Array; - toProtoMsg(message: ModuleLockedAmountResponse): ModuleLockedAmountResponseProtoMsg; -}; -export declare const AccountUnlockableCoinsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountUnlockableCoinsRequest; - isSDK(o: any): o is AccountUnlockableCoinsRequestSDKType; - isAmino(o: any): o is AccountUnlockableCoinsRequestAmino; - encode(message: AccountUnlockableCoinsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountUnlockableCoinsRequest; - fromJSON(object: any): AccountUnlockableCoinsRequest; - toJSON(message: AccountUnlockableCoinsRequest): unknown; - fromPartial(object: DeepPartial): AccountUnlockableCoinsRequest; - fromSDK(object: AccountUnlockableCoinsRequestSDKType): AccountUnlockableCoinsRequest; - toSDK(message: AccountUnlockableCoinsRequest): AccountUnlockableCoinsRequestSDKType; - fromAmino(object: AccountUnlockableCoinsRequestAmino): AccountUnlockableCoinsRequest; - toAmino(message: AccountUnlockableCoinsRequest): AccountUnlockableCoinsRequestAmino; - fromAminoMsg(object: AccountUnlockableCoinsRequestAminoMsg): AccountUnlockableCoinsRequest; - toAminoMsg(message: AccountUnlockableCoinsRequest): AccountUnlockableCoinsRequestAminoMsg; - fromProtoMsg(message: AccountUnlockableCoinsRequestProtoMsg): AccountUnlockableCoinsRequest; - toProto(message: AccountUnlockableCoinsRequest): Uint8Array; - toProtoMsg(message: AccountUnlockableCoinsRequest): AccountUnlockableCoinsRequestProtoMsg; -}; -export declare const AccountUnlockableCoinsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountUnlockableCoinsResponse; - isSDK(o: any): o is AccountUnlockableCoinsResponseSDKType; - isAmino(o: any): o is AccountUnlockableCoinsResponseAmino; - encode(message: AccountUnlockableCoinsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountUnlockableCoinsResponse; - fromJSON(object: any): AccountUnlockableCoinsResponse; - toJSON(message: AccountUnlockableCoinsResponse): unknown; - fromPartial(object: DeepPartial): AccountUnlockableCoinsResponse; - fromSDK(object: AccountUnlockableCoinsResponseSDKType): AccountUnlockableCoinsResponse; - toSDK(message: AccountUnlockableCoinsResponse): AccountUnlockableCoinsResponseSDKType; - fromAmino(object: AccountUnlockableCoinsResponseAmino): AccountUnlockableCoinsResponse; - toAmino(message: AccountUnlockableCoinsResponse): AccountUnlockableCoinsResponseAmino; - fromAminoMsg(object: AccountUnlockableCoinsResponseAminoMsg): AccountUnlockableCoinsResponse; - toAminoMsg(message: AccountUnlockableCoinsResponse): AccountUnlockableCoinsResponseAminoMsg; - fromProtoMsg(message: AccountUnlockableCoinsResponseProtoMsg): AccountUnlockableCoinsResponse; - toProto(message: AccountUnlockableCoinsResponse): Uint8Array; - toProtoMsg(message: AccountUnlockableCoinsResponse): AccountUnlockableCoinsResponseProtoMsg; -}; -export declare const AccountUnlockingCoinsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountUnlockingCoinsRequest; - isSDK(o: any): o is AccountUnlockingCoinsRequestSDKType; - isAmino(o: any): o is AccountUnlockingCoinsRequestAmino; - encode(message: AccountUnlockingCoinsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountUnlockingCoinsRequest; - fromJSON(object: any): AccountUnlockingCoinsRequest; - toJSON(message: AccountUnlockingCoinsRequest): unknown; - fromPartial(object: DeepPartial): AccountUnlockingCoinsRequest; - fromSDK(object: AccountUnlockingCoinsRequestSDKType): AccountUnlockingCoinsRequest; - toSDK(message: AccountUnlockingCoinsRequest): AccountUnlockingCoinsRequestSDKType; - fromAmino(object: AccountUnlockingCoinsRequestAmino): AccountUnlockingCoinsRequest; - toAmino(message: AccountUnlockingCoinsRequest): AccountUnlockingCoinsRequestAmino; - fromAminoMsg(object: AccountUnlockingCoinsRequestAminoMsg): AccountUnlockingCoinsRequest; - toAminoMsg(message: AccountUnlockingCoinsRequest): AccountUnlockingCoinsRequestAminoMsg; - fromProtoMsg(message: AccountUnlockingCoinsRequestProtoMsg): AccountUnlockingCoinsRequest; - toProto(message: AccountUnlockingCoinsRequest): Uint8Array; - toProtoMsg(message: AccountUnlockingCoinsRequest): AccountUnlockingCoinsRequestProtoMsg; -}; -export declare const AccountUnlockingCoinsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountUnlockingCoinsResponse; - isSDK(o: any): o is AccountUnlockingCoinsResponseSDKType; - isAmino(o: any): o is AccountUnlockingCoinsResponseAmino; - encode(message: AccountUnlockingCoinsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountUnlockingCoinsResponse; - fromJSON(object: any): AccountUnlockingCoinsResponse; - toJSON(message: AccountUnlockingCoinsResponse): unknown; - fromPartial(object: DeepPartial): AccountUnlockingCoinsResponse; - fromSDK(object: AccountUnlockingCoinsResponseSDKType): AccountUnlockingCoinsResponse; - toSDK(message: AccountUnlockingCoinsResponse): AccountUnlockingCoinsResponseSDKType; - fromAmino(object: AccountUnlockingCoinsResponseAmino): AccountUnlockingCoinsResponse; - toAmino(message: AccountUnlockingCoinsResponse): AccountUnlockingCoinsResponseAmino; - fromAminoMsg(object: AccountUnlockingCoinsResponseAminoMsg): AccountUnlockingCoinsResponse; - toAminoMsg(message: AccountUnlockingCoinsResponse): AccountUnlockingCoinsResponseAminoMsg; - fromProtoMsg(message: AccountUnlockingCoinsResponseProtoMsg): AccountUnlockingCoinsResponse; - toProto(message: AccountUnlockingCoinsResponse): Uint8Array; - toProtoMsg(message: AccountUnlockingCoinsResponse): AccountUnlockingCoinsResponseProtoMsg; -}; -export declare const AccountLockedCoinsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedCoinsRequest; - isSDK(o: any): o is AccountLockedCoinsRequestSDKType; - isAmino(o: any): o is AccountLockedCoinsRequestAmino; - encode(message: AccountLockedCoinsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedCoinsRequest; - fromJSON(object: any): AccountLockedCoinsRequest; - toJSON(message: AccountLockedCoinsRequest): unknown; - fromPartial(object: DeepPartial): AccountLockedCoinsRequest; - fromSDK(object: AccountLockedCoinsRequestSDKType): AccountLockedCoinsRequest; - toSDK(message: AccountLockedCoinsRequest): AccountLockedCoinsRequestSDKType; - fromAmino(object: AccountLockedCoinsRequestAmino): AccountLockedCoinsRequest; - toAmino(message: AccountLockedCoinsRequest): AccountLockedCoinsRequestAmino; - fromAminoMsg(object: AccountLockedCoinsRequestAminoMsg): AccountLockedCoinsRequest; - toAminoMsg(message: AccountLockedCoinsRequest): AccountLockedCoinsRequestAminoMsg; - fromProtoMsg(message: AccountLockedCoinsRequestProtoMsg): AccountLockedCoinsRequest; - toProto(message: AccountLockedCoinsRequest): Uint8Array; - toProtoMsg(message: AccountLockedCoinsRequest): AccountLockedCoinsRequestProtoMsg; -}; -export declare const AccountLockedCoinsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedCoinsResponse; - isSDK(o: any): o is AccountLockedCoinsResponseSDKType; - isAmino(o: any): o is AccountLockedCoinsResponseAmino; - encode(message: AccountLockedCoinsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedCoinsResponse; - fromJSON(object: any): AccountLockedCoinsResponse; - toJSON(message: AccountLockedCoinsResponse): unknown; - fromPartial(object: DeepPartial): AccountLockedCoinsResponse; - fromSDK(object: AccountLockedCoinsResponseSDKType): AccountLockedCoinsResponse; - toSDK(message: AccountLockedCoinsResponse): AccountLockedCoinsResponseSDKType; - fromAmino(object: AccountLockedCoinsResponseAmino): AccountLockedCoinsResponse; - toAmino(message: AccountLockedCoinsResponse): AccountLockedCoinsResponseAmino; - fromAminoMsg(object: AccountLockedCoinsResponseAminoMsg): AccountLockedCoinsResponse; - toAminoMsg(message: AccountLockedCoinsResponse): AccountLockedCoinsResponseAminoMsg; - fromProtoMsg(message: AccountLockedCoinsResponseProtoMsg): AccountLockedCoinsResponse; - toProto(message: AccountLockedCoinsResponse): Uint8Array; - toProtoMsg(message: AccountLockedCoinsResponse): AccountLockedCoinsResponseProtoMsg; -}; -export declare const AccountLockedPastTimeRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedPastTimeRequest; - isSDK(o: any): o is AccountLockedPastTimeRequestSDKType; - isAmino(o: any): o is AccountLockedPastTimeRequestAmino; - encode(message: AccountLockedPastTimeRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedPastTimeRequest; - fromJSON(object: any): AccountLockedPastTimeRequest; - toJSON(message: AccountLockedPastTimeRequest): unknown; - fromPartial(object: DeepPartial): AccountLockedPastTimeRequest; - fromSDK(object: AccountLockedPastTimeRequestSDKType): AccountLockedPastTimeRequest; - toSDK(message: AccountLockedPastTimeRequest): AccountLockedPastTimeRequestSDKType; - fromAmino(object: AccountLockedPastTimeRequestAmino): AccountLockedPastTimeRequest; - toAmino(message: AccountLockedPastTimeRequest): AccountLockedPastTimeRequestAmino; - fromAminoMsg(object: AccountLockedPastTimeRequestAminoMsg): AccountLockedPastTimeRequest; - toAminoMsg(message: AccountLockedPastTimeRequest): AccountLockedPastTimeRequestAminoMsg; - fromProtoMsg(message: AccountLockedPastTimeRequestProtoMsg): AccountLockedPastTimeRequest; - toProto(message: AccountLockedPastTimeRequest): Uint8Array; - toProtoMsg(message: AccountLockedPastTimeRequest): AccountLockedPastTimeRequestProtoMsg; -}; -export declare const AccountLockedPastTimeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedPastTimeResponse; - isSDK(o: any): o is AccountLockedPastTimeResponseSDKType; - isAmino(o: any): o is AccountLockedPastTimeResponseAmino; - encode(message: AccountLockedPastTimeResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedPastTimeResponse; - fromJSON(object: any): AccountLockedPastTimeResponse; - toJSON(message: AccountLockedPastTimeResponse): unknown; - fromPartial(object: DeepPartial): AccountLockedPastTimeResponse; - fromSDK(object: AccountLockedPastTimeResponseSDKType): AccountLockedPastTimeResponse; - toSDK(message: AccountLockedPastTimeResponse): AccountLockedPastTimeResponseSDKType; - fromAmino(object: AccountLockedPastTimeResponseAmino): AccountLockedPastTimeResponse; - toAmino(message: AccountLockedPastTimeResponse): AccountLockedPastTimeResponseAmino; - fromAminoMsg(object: AccountLockedPastTimeResponseAminoMsg): AccountLockedPastTimeResponse; - toAminoMsg(message: AccountLockedPastTimeResponse): AccountLockedPastTimeResponseAminoMsg; - fromProtoMsg(message: AccountLockedPastTimeResponseProtoMsg): AccountLockedPastTimeResponse; - toProto(message: AccountLockedPastTimeResponse): Uint8Array; - toProtoMsg(message: AccountLockedPastTimeResponse): AccountLockedPastTimeResponseProtoMsg; -}; -export declare const AccountLockedPastTimeNotUnlockingOnlyRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedPastTimeNotUnlockingOnlyRequest; - isSDK(o: any): o is AccountLockedPastTimeNotUnlockingOnlyRequestSDKType; - isAmino(o: any): o is AccountLockedPastTimeNotUnlockingOnlyRequestAmino; - encode(message: AccountLockedPastTimeNotUnlockingOnlyRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedPastTimeNotUnlockingOnlyRequest; - fromJSON(object: any): AccountLockedPastTimeNotUnlockingOnlyRequest; - toJSON(message: AccountLockedPastTimeNotUnlockingOnlyRequest): unknown; - fromPartial(object: DeepPartial): AccountLockedPastTimeNotUnlockingOnlyRequest; - fromSDK(object: AccountLockedPastTimeNotUnlockingOnlyRequestSDKType): AccountLockedPastTimeNotUnlockingOnlyRequest; - toSDK(message: AccountLockedPastTimeNotUnlockingOnlyRequest): AccountLockedPastTimeNotUnlockingOnlyRequestSDKType; - fromAmino(object: AccountLockedPastTimeNotUnlockingOnlyRequestAmino): AccountLockedPastTimeNotUnlockingOnlyRequest; - toAmino(message: AccountLockedPastTimeNotUnlockingOnlyRequest): AccountLockedPastTimeNotUnlockingOnlyRequestAmino; - fromAminoMsg(object: AccountLockedPastTimeNotUnlockingOnlyRequestAminoMsg): AccountLockedPastTimeNotUnlockingOnlyRequest; - toAminoMsg(message: AccountLockedPastTimeNotUnlockingOnlyRequest): AccountLockedPastTimeNotUnlockingOnlyRequestAminoMsg; - fromProtoMsg(message: AccountLockedPastTimeNotUnlockingOnlyRequestProtoMsg): AccountLockedPastTimeNotUnlockingOnlyRequest; - toProto(message: AccountLockedPastTimeNotUnlockingOnlyRequest): Uint8Array; - toProtoMsg(message: AccountLockedPastTimeNotUnlockingOnlyRequest): AccountLockedPastTimeNotUnlockingOnlyRequestProtoMsg; -}; -export declare const AccountLockedPastTimeNotUnlockingOnlyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedPastTimeNotUnlockingOnlyResponse; - isSDK(o: any): o is AccountLockedPastTimeNotUnlockingOnlyResponseSDKType; - isAmino(o: any): o is AccountLockedPastTimeNotUnlockingOnlyResponseAmino; - encode(message: AccountLockedPastTimeNotUnlockingOnlyResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedPastTimeNotUnlockingOnlyResponse; - fromJSON(object: any): AccountLockedPastTimeNotUnlockingOnlyResponse; - toJSON(message: AccountLockedPastTimeNotUnlockingOnlyResponse): unknown; - fromPartial(object: DeepPartial): AccountLockedPastTimeNotUnlockingOnlyResponse; - fromSDK(object: AccountLockedPastTimeNotUnlockingOnlyResponseSDKType): AccountLockedPastTimeNotUnlockingOnlyResponse; - toSDK(message: AccountLockedPastTimeNotUnlockingOnlyResponse): AccountLockedPastTimeNotUnlockingOnlyResponseSDKType; - fromAmino(object: AccountLockedPastTimeNotUnlockingOnlyResponseAmino): AccountLockedPastTimeNotUnlockingOnlyResponse; - toAmino(message: AccountLockedPastTimeNotUnlockingOnlyResponse): AccountLockedPastTimeNotUnlockingOnlyResponseAmino; - fromAminoMsg(object: AccountLockedPastTimeNotUnlockingOnlyResponseAminoMsg): AccountLockedPastTimeNotUnlockingOnlyResponse; - toAminoMsg(message: AccountLockedPastTimeNotUnlockingOnlyResponse): AccountLockedPastTimeNotUnlockingOnlyResponseAminoMsg; - fromProtoMsg(message: AccountLockedPastTimeNotUnlockingOnlyResponseProtoMsg): AccountLockedPastTimeNotUnlockingOnlyResponse; - toProto(message: AccountLockedPastTimeNotUnlockingOnlyResponse): Uint8Array; - toProtoMsg(message: AccountLockedPastTimeNotUnlockingOnlyResponse): AccountLockedPastTimeNotUnlockingOnlyResponseProtoMsg; -}; -export declare const AccountUnlockedBeforeTimeRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountUnlockedBeforeTimeRequest; - isSDK(o: any): o is AccountUnlockedBeforeTimeRequestSDKType; - isAmino(o: any): o is AccountUnlockedBeforeTimeRequestAmino; - encode(message: AccountUnlockedBeforeTimeRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountUnlockedBeforeTimeRequest; - fromJSON(object: any): AccountUnlockedBeforeTimeRequest; - toJSON(message: AccountUnlockedBeforeTimeRequest): unknown; - fromPartial(object: DeepPartial): AccountUnlockedBeforeTimeRequest; - fromSDK(object: AccountUnlockedBeforeTimeRequestSDKType): AccountUnlockedBeforeTimeRequest; - toSDK(message: AccountUnlockedBeforeTimeRequest): AccountUnlockedBeforeTimeRequestSDKType; - fromAmino(object: AccountUnlockedBeforeTimeRequestAmino): AccountUnlockedBeforeTimeRequest; - toAmino(message: AccountUnlockedBeforeTimeRequest): AccountUnlockedBeforeTimeRequestAmino; - fromAminoMsg(object: AccountUnlockedBeforeTimeRequestAminoMsg): AccountUnlockedBeforeTimeRequest; - toAminoMsg(message: AccountUnlockedBeforeTimeRequest): AccountUnlockedBeforeTimeRequestAminoMsg; - fromProtoMsg(message: AccountUnlockedBeforeTimeRequestProtoMsg): AccountUnlockedBeforeTimeRequest; - toProto(message: AccountUnlockedBeforeTimeRequest): Uint8Array; - toProtoMsg(message: AccountUnlockedBeforeTimeRequest): AccountUnlockedBeforeTimeRequestProtoMsg; -}; -export declare const AccountUnlockedBeforeTimeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountUnlockedBeforeTimeResponse; - isSDK(o: any): o is AccountUnlockedBeforeTimeResponseSDKType; - isAmino(o: any): o is AccountUnlockedBeforeTimeResponseAmino; - encode(message: AccountUnlockedBeforeTimeResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountUnlockedBeforeTimeResponse; - fromJSON(object: any): AccountUnlockedBeforeTimeResponse; - toJSON(message: AccountUnlockedBeforeTimeResponse): unknown; - fromPartial(object: DeepPartial): AccountUnlockedBeforeTimeResponse; - fromSDK(object: AccountUnlockedBeforeTimeResponseSDKType): AccountUnlockedBeforeTimeResponse; - toSDK(message: AccountUnlockedBeforeTimeResponse): AccountUnlockedBeforeTimeResponseSDKType; - fromAmino(object: AccountUnlockedBeforeTimeResponseAmino): AccountUnlockedBeforeTimeResponse; - toAmino(message: AccountUnlockedBeforeTimeResponse): AccountUnlockedBeforeTimeResponseAmino; - fromAminoMsg(object: AccountUnlockedBeforeTimeResponseAminoMsg): AccountUnlockedBeforeTimeResponse; - toAminoMsg(message: AccountUnlockedBeforeTimeResponse): AccountUnlockedBeforeTimeResponseAminoMsg; - fromProtoMsg(message: AccountUnlockedBeforeTimeResponseProtoMsg): AccountUnlockedBeforeTimeResponse; - toProto(message: AccountUnlockedBeforeTimeResponse): Uint8Array; - toProtoMsg(message: AccountUnlockedBeforeTimeResponse): AccountUnlockedBeforeTimeResponseProtoMsg; -}; -export declare const AccountLockedPastTimeDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedPastTimeDenomRequest; - isSDK(o: any): o is AccountLockedPastTimeDenomRequestSDKType; - isAmino(o: any): o is AccountLockedPastTimeDenomRequestAmino; - encode(message: AccountLockedPastTimeDenomRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedPastTimeDenomRequest; - fromJSON(object: any): AccountLockedPastTimeDenomRequest; - toJSON(message: AccountLockedPastTimeDenomRequest): unknown; - fromPartial(object: DeepPartial): AccountLockedPastTimeDenomRequest; - fromSDK(object: AccountLockedPastTimeDenomRequestSDKType): AccountLockedPastTimeDenomRequest; - toSDK(message: AccountLockedPastTimeDenomRequest): AccountLockedPastTimeDenomRequestSDKType; - fromAmino(object: AccountLockedPastTimeDenomRequestAmino): AccountLockedPastTimeDenomRequest; - toAmino(message: AccountLockedPastTimeDenomRequest): AccountLockedPastTimeDenomRequestAmino; - fromAminoMsg(object: AccountLockedPastTimeDenomRequestAminoMsg): AccountLockedPastTimeDenomRequest; - toAminoMsg(message: AccountLockedPastTimeDenomRequest): AccountLockedPastTimeDenomRequestAminoMsg; - fromProtoMsg(message: AccountLockedPastTimeDenomRequestProtoMsg): AccountLockedPastTimeDenomRequest; - toProto(message: AccountLockedPastTimeDenomRequest): Uint8Array; - toProtoMsg(message: AccountLockedPastTimeDenomRequest): AccountLockedPastTimeDenomRequestProtoMsg; -}; -export declare const AccountLockedPastTimeDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedPastTimeDenomResponse; - isSDK(o: any): o is AccountLockedPastTimeDenomResponseSDKType; - isAmino(o: any): o is AccountLockedPastTimeDenomResponseAmino; - encode(message: AccountLockedPastTimeDenomResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedPastTimeDenomResponse; - fromJSON(object: any): AccountLockedPastTimeDenomResponse; - toJSON(message: AccountLockedPastTimeDenomResponse): unknown; - fromPartial(object: DeepPartial): AccountLockedPastTimeDenomResponse; - fromSDK(object: AccountLockedPastTimeDenomResponseSDKType): AccountLockedPastTimeDenomResponse; - toSDK(message: AccountLockedPastTimeDenomResponse): AccountLockedPastTimeDenomResponseSDKType; - fromAmino(object: AccountLockedPastTimeDenomResponseAmino): AccountLockedPastTimeDenomResponse; - toAmino(message: AccountLockedPastTimeDenomResponse): AccountLockedPastTimeDenomResponseAmino; - fromAminoMsg(object: AccountLockedPastTimeDenomResponseAminoMsg): AccountLockedPastTimeDenomResponse; - toAminoMsg(message: AccountLockedPastTimeDenomResponse): AccountLockedPastTimeDenomResponseAminoMsg; - fromProtoMsg(message: AccountLockedPastTimeDenomResponseProtoMsg): AccountLockedPastTimeDenomResponse; - toProto(message: AccountLockedPastTimeDenomResponse): Uint8Array; - toProtoMsg(message: AccountLockedPastTimeDenomResponse): AccountLockedPastTimeDenomResponseProtoMsg; -}; -export declare const LockedDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is LockedDenomRequest; - isSDK(o: any): o is LockedDenomRequestSDKType; - isAmino(o: any): o is LockedDenomRequestAmino; - encode(message: LockedDenomRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): LockedDenomRequest; - fromJSON(object: any): LockedDenomRequest; - toJSON(message: LockedDenomRequest): unknown; - fromPartial(object: DeepPartial): LockedDenomRequest; - fromSDK(object: LockedDenomRequestSDKType): LockedDenomRequest; - toSDK(message: LockedDenomRequest): LockedDenomRequestSDKType; - fromAmino(object: LockedDenomRequestAmino): LockedDenomRequest; - toAmino(message: LockedDenomRequest): LockedDenomRequestAmino; - fromAminoMsg(object: LockedDenomRequestAminoMsg): LockedDenomRequest; - toAminoMsg(message: LockedDenomRequest): LockedDenomRequestAminoMsg; - fromProtoMsg(message: LockedDenomRequestProtoMsg): LockedDenomRequest; - toProto(message: LockedDenomRequest): Uint8Array; - toProtoMsg(message: LockedDenomRequest): LockedDenomRequestProtoMsg; -}; -export declare const LockedDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is LockedDenomResponse; - isSDK(o: any): o is LockedDenomResponseSDKType; - isAmino(o: any): o is LockedDenomResponseAmino; - encode(message: LockedDenomResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): LockedDenomResponse; - fromJSON(object: any): LockedDenomResponse; - toJSON(message: LockedDenomResponse): unknown; - fromPartial(object: DeepPartial): LockedDenomResponse; - fromSDK(object: LockedDenomResponseSDKType): LockedDenomResponse; - toSDK(message: LockedDenomResponse): LockedDenomResponseSDKType; - fromAmino(object: LockedDenomResponseAmino): LockedDenomResponse; - toAmino(message: LockedDenomResponse): LockedDenomResponseAmino; - fromAminoMsg(object: LockedDenomResponseAminoMsg): LockedDenomResponse; - toAminoMsg(message: LockedDenomResponse): LockedDenomResponseAminoMsg; - fromProtoMsg(message: LockedDenomResponseProtoMsg): LockedDenomResponse; - toProto(message: LockedDenomResponse): Uint8Array; - toProtoMsg(message: LockedDenomResponse): LockedDenomResponseProtoMsg; -}; -export declare const LockedRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is LockedRequest; - isSDK(o: any): o is LockedRequestSDKType; - isAmino(o: any): o is LockedRequestAmino; - encode(message: LockedRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): LockedRequest; - fromJSON(object: any): LockedRequest; - toJSON(message: LockedRequest): unknown; - fromPartial(object: DeepPartial): LockedRequest; - fromSDK(object: LockedRequestSDKType): LockedRequest; - toSDK(message: LockedRequest): LockedRequestSDKType; - fromAmino(object: LockedRequestAmino): LockedRequest; - toAmino(message: LockedRequest): LockedRequestAmino; - fromAminoMsg(object: LockedRequestAminoMsg): LockedRequest; - toAminoMsg(message: LockedRequest): LockedRequestAminoMsg; - fromProtoMsg(message: LockedRequestProtoMsg): LockedRequest; - toProto(message: LockedRequest): Uint8Array; - toProtoMsg(message: LockedRequest): LockedRequestProtoMsg; -}; -export declare const LockedResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is LockedResponse; - isSDK(o: any): o is LockedResponseSDKType; - isAmino(o: any): o is LockedResponseAmino; - encode(message: LockedResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): LockedResponse; - fromJSON(object: any): LockedResponse; - toJSON(message: LockedResponse): unknown; - fromPartial(object: DeepPartial): LockedResponse; - fromSDK(object: LockedResponseSDKType): LockedResponse; - toSDK(message: LockedResponse): LockedResponseSDKType; - fromAmino(object: LockedResponseAmino): LockedResponse; - toAmino(message: LockedResponse): LockedResponseAmino; - fromAminoMsg(object: LockedResponseAminoMsg): LockedResponse; - toAminoMsg(message: LockedResponse): LockedResponseAminoMsg; - fromProtoMsg(message: LockedResponseProtoMsg): LockedResponse; - toProto(message: LockedResponse): Uint8Array; - toProtoMsg(message: LockedResponse): LockedResponseProtoMsg; -}; -export declare const SyntheticLockupsByLockupIDRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is SyntheticLockupsByLockupIDRequest; - isSDK(o: any): o is SyntheticLockupsByLockupIDRequestSDKType; - isAmino(o: any): o is SyntheticLockupsByLockupIDRequestAmino; - encode(message: SyntheticLockupsByLockupIDRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SyntheticLockupsByLockupIDRequest; - fromJSON(object: any): SyntheticLockupsByLockupIDRequest; - toJSON(message: SyntheticLockupsByLockupIDRequest): unknown; - fromPartial(object: DeepPartial): SyntheticLockupsByLockupIDRequest; - fromSDK(object: SyntheticLockupsByLockupIDRequestSDKType): SyntheticLockupsByLockupIDRequest; - toSDK(message: SyntheticLockupsByLockupIDRequest): SyntheticLockupsByLockupIDRequestSDKType; - fromAmino(object: SyntheticLockupsByLockupIDRequestAmino): SyntheticLockupsByLockupIDRequest; - toAmino(message: SyntheticLockupsByLockupIDRequest): SyntheticLockupsByLockupIDRequestAmino; - fromAminoMsg(object: SyntheticLockupsByLockupIDRequestAminoMsg): SyntheticLockupsByLockupIDRequest; - toAminoMsg(message: SyntheticLockupsByLockupIDRequest): SyntheticLockupsByLockupIDRequestAminoMsg; - fromProtoMsg(message: SyntheticLockupsByLockupIDRequestProtoMsg): SyntheticLockupsByLockupIDRequest; - toProto(message: SyntheticLockupsByLockupIDRequest): Uint8Array; - toProtoMsg(message: SyntheticLockupsByLockupIDRequest): SyntheticLockupsByLockupIDRequestProtoMsg; -}; -export declare const SyntheticLockupsByLockupIDResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is SyntheticLockupsByLockupIDResponse; - isSDK(o: any): o is SyntheticLockupsByLockupIDResponseSDKType; - isAmino(o: any): o is SyntheticLockupsByLockupIDResponseAmino; - encode(message: SyntheticLockupsByLockupIDResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SyntheticLockupsByLockupIDResponse; - fromJSON(object: any): SyntheticLockupsByLockupIDResponse; - toJSON(message: SyntheticLockupsByLockupIDResponse): unknown; - fromPartial(object: DeepPartial): SyntheticLockupsByLockupIDResponse; - fromSDK(object: SyntheticLockupsByLockupIDResponseSDKType): SyntheticLockupsByLockupIDResponse; - toSDK(message: SyntheticLockupsByLockupIDResponse): SyntheticLockupsByLockupIDResponseSDKType; - fromAmino(object: SyntheticLockupsByLockupIDResponseAmino): SyntheticLockupsByLockupIDResponse; - toAmino(message: SyntheticLockupsByLockupIDResponse): SyntheticLockupsByLockupIDResponseAmino; - fromAminoMsg(object: SyntheticLockupsByLockupIDResponseAminoMsg): SyntheticLockupsByLockupIDResponse; - toAminoMsg(message: SyntheticLockupsByLockupIDResponse): SyntheticLockupsByLockupIDResponseAminoMsg; - fromProtoMsg(message: SyntheticLockupsByLockupIDResponseProtoMsg): SyntheticLockupsByLockupIDResponse; - toProto(message: SyntheticLockupsByLockupIDResponse): Uint8Array; - toProtoMsg(message: SyntheticLockupsByLockupIDResponse): SyntheticLockupsByLockupIDResponseProtoMsg; -}; -export declare const AccountLockedLongerDurationRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedLongerDurationRequest; - isSDK(o: any): o is AccountLockedLongerDurationRequestSDKType; - isAmino(o: any): o is AccountLockedLongerDurationRequestAmino; - encode(message: AccountLockedLongerDurationRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedLongerDurationRequest; - fromJSON(object: any): AccountLockedLongerDurationRequest; - toJSON(message: AccountLockedLongerDurationRequest): unknown; - fromPartial(object: DeepPartial): AccountLockedLongerDurationRequest; - fromSDK(object: AccountLockedLongerDurationRequestSDKType): AccountLockedLongerDurationRequest; - toSDK(message: AccountLockedLongerDurationRequest): AccountLockedLongerDurationRequestSDKType; - fromAmino(object: AccountLockedLongerDurationRequestAmino): AccountLockedLongerDurationRequest; - toAmino(message: AccountLockedLongerDurationRequest): AccountLockedLongerDurationRequestAmino; - fromAminoMsg(object: AccountLockedLongerDurationRequestAminoMsg): AccountLockedLongerDurationRequest; - toAminoMsg(message: AccountLockedLongerDurationRequest): AccountLockedLongerDurationRequestAminoMsg; - fromProtoMsg(message: AccountLockedLongerDurationRequestProtoMsg): AccountLockedLongerDurationRequest; - toProto(message: AccountLockedLongerDurationRequest): Uint8Array; - toProtoMsg(message: AccountLockedLongerDurationRequest): AccountLockedLongerDurationRequestProtoMsg; -}; -export declare const AccountLockedLongerDurationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedLongerDurationResponse; - isSDK(o: any): o is AccountLockedLongerDurationResponseSDKType; - isAmino(o: any): o is AccountLockedLongerDurationResponseAmino; - encode(message: AccountLockedLongerDurationResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedLongerDurationResponse; - fromJSON(object: any): AccountLockedLongerDurationResponse; - toJSON(message: AccountLockedLongerDurationResponse): unknown; - fromPartial(object: DeepPartial): AccountLockedLongerDurationResponse; - fromSDK(object: AccountLockedLongerDurationResponseSDKType): AccountLockedLongerDurationResponse; - toSDK(message: AccountLockedLongerDurationResponse): AccountLockedLongerDurationResponseSDKType; - fromAmino(object: AccountLockedLongerDurationResponseAmino): AccountLockedLongerDurationResponse; - toAmino(message: AccountLockedLongerDurationResponse): AccountLockedLongerDurationResponseAmino; - fromAminoMsg(object: AccountLockedLongerDurationResponseAminoMsg): AccountLockedLongerDurationResponse; - toAminoMsg(message: AccountLockedLongerDurationResponse): AccountLockedLongerDurationResponseAminoMsg; - fromProtoMsg(message: AccountLockedLongerDurationResponseProtoMsg): AccountLockedLongerDurationResponse; - toProto(message: AccountLockedLongerDurationResponse): Uint8Array; - toProtoMsg(message: AccountLockedLongerDurationResponse): AccountLockedLongerDurationResponseProtoMsg; -}; -export declare const AccountLockedDurationRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedDurationRequest; - isSDK(o: any): o is AccountLockedDurationRequestSDKType; - isAmino(o: any): o is AccountLockedDurationRequestAmino; - encode(message: AccountLockedDurationRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedDurationRequest; - fromJSON(object: any): AccountLockedDurationRequest; - toJSON(message: AccountLockedDurationRequest): unknown; - fromPartial(object: DeepPartial): AccountLockedDurationRequest; - fromSDK(object: AccountLockedDurationRequestSDKType): AccountLockedDurationRequest; - toSDK(message: AccountLockedDurationRequest): AccountLockedDurationRequestSDKType; - fromAmino(object: AccountLockedDurationRequestAmino): AccountLockedDurationRequest; - toAmino(message: AccountLockedDurationRequest): AccountLockedDurationRequestAmino; - fromAminoMsg(object: AccountLockedDurationRequestAminoMsg): AccountLockedDurationRequest; - toAminoMsg(message: AccountLockedDurationRequest): AccountLockedDurationRequestAminoMsg; - fromProtoMsg(message: AccountLockedDurationRequestProtoMsg): AccountLockedDurationRequest; - toProto(message: AccountLockedDurationRequest): Uint8Array; - toProtoMsg(message: AccountLockedDurationRequest): AccountLockedDurationRequestProtoMsg; -}; -export declare const AccountLockedDurationResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedDurationResponse; - isSDK(o: any): o is AccountLockedDurationResponseSDKType; - isAmino(o: any): o is AccountLockedDurationResponseAmino; - encode(message: AccountLockedDurationResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedDurationResponse; - fromJSON(object: any): AccountLockedDurationResponse; - toJSON(message: AccountLockedDurationResponse): unknown; - fromPartial(object: DeepPartial): AccountLockedDurationResponse; - fromSDK(object: AccountLockedDurationResponseSDKType): AccountLockedDurationResponse; - toSDK(message: AccountLockedDurationResponse): AccountLockedDurationResponseSDKType; - fromAmino(object: AccountLockedDurationResponseAmino): AccountLockedDurationResponse; - toAmino(message: AccountLockedDurationResponse): AccountLockedDurationResponseAmino; - fromAminoMsg(object: AccountLockedDurationResponseAminoMsg): AccountLockedDurationResponse; - toAminoMsg(message: AccountLockedDurationResponse): AccountLockedDurationResponseAminoMsg; - fromProtoMsg(message: AccountLockedDurationResponseProtoMsg): AccountLockedDurationResponse; - toProto(message: AccountLockedDurationResponse): Uint8Array; - toProtoMsg(message: AccountLockedDurationResponse): AccountLockedDurationResponseProtoMsg; -}; -export declare const AccountLockedLongerDurationNotUnlockingOnlyRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedLongerDurationNotUnlockingOnlyRequest; - isSDK(o: any): o is AccountLockedLongerDurationNotUnlockingOnlyRequestSDKType; - isAmino(o: any): o is AccountLockedLongerDurationNotUnlockingOnlyRequestAmino; - encode(message: AccountLockedLongerDurationNotUnlockingOnlyRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedLongerDurationNotUnlockingOnlyRequest; - fromJSON(object: any): AccountLockedLongerDurationNotUnlockingOnlyRequest; - toJSON(message: AccountLockedLongerDurationNotUnlockingOnlyRequest): unknown; - fromPartial(object: DeepPartial): AccountLockedLongerDurationNotUnlockingOnlyRequest; - fromSDK(object: AccountLockedLongerDurationNotUnlockingOnlyRequestSDKType): AccountLockedLongerDurationNotUnlockingOnlyRequest; - toSDK(message: AccountLockedLongerDurationNotUnlockingOnlyRequest): AccountLockedLongerDurationNotUnlockingOnlyRequestSDKType; - fromAmino(object: AccountLockedLongerDurationNotUnlockingOnlyRequestAmino): AccountLockedLongerDurationNotUnlockingOnlyRequest; - toAmino(message: AccountLockedLongerDurationNotUnlockingOnlyRequest): AccountLockedLongerDurationNotUnlockingOnlyRequestAmino; - fromAminoMsg(object: AccountLockedLongerDurationNotUnlockingOnlyRequestAminoMsg): AccountLockedLongerDurationNotUnlockingOnlyRequest; - toAminoMsg(message: AccountLockedLongerDurationNotUnlockingOnlyRequest): AccountLockedLongerDurationNotUnlockingOnlyRequestAminoMsg; - fromProtoMsg(message: AccountLockedLongerDurationNotUnlockingOnlyRequestProtoMsg): AccountLockedLongerDurationNotUnlockingOnlyRequest; - toProto(message: AccountLockedLongerDurationNotUnlockingOnlyRequest): Uint8Array; - toProtoMsg(message: AccountLockedLongerDurationNotUnlockingOnlyRequest): AccountLockedLongerDurationNotUnlockingOnlyRequestProtoMsg; -}; -export declare const AccountLockedLongerDurationNotUnlockingOnlyResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedLongerDurationNotUnlockingOnlyResponse; - isSDK(o: any): o is AccountLockedLongerDurationNotUnlockingOnlyResponseSDKType; - isAmino(o: any): o is AccountLockedLongerDurationNotUnlockingOnlyResponseAmino; - encode(message: AccountLockedLongerDurationNotUnlockingOnlyResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedLongerDurationNotUnlockingOnlyResponse; - fromJSON(object: any): AccountLockedLongerDurationNotUnlockingOnlyResponse; - toJSON(message: AccountLockedLongerDurationNotUnlockingOnlyResponse): unknown; - fromPartial(object: DeepPartial): AccountLockedLongerDurationNotUnlockingOnlyResponse; - fromSDK(object: AccountLockedLongerDurationNotUnlockingOnlyResponseSDKType): AccountLockedLongerDurationNotUnlockingOnlyResponse; - toSDK(message: AccountLockedLongerDurationNotUnlockingOnlyResponse): AccountLockedLongerDurationNotUnlockingOnlyResponseSDKType; - fromAmino(object: AccountLockedLongerDurationNotUnlockingOnlyResponseAmino): AccountLockedLongerDurationNotUnlockingOnlyResponse; - toAmino(message: AccountLockedLongerDurationNotUnlockingOnlyResponse): AccountLockedLongerDurationNotUnlockingOnlyResponseAmino; - fromAminoMsg(object: AccountLockedLongerDurationNotUnlockingOnlyResponseAminoMsg): AccountLockedLongerDurationNotUnlockingOnlyResponse; - toAminoMsg(message: AccountLockedLongerDurationNotUnlockingOnlyResponse): AccountLockedLongerDurationNotUnlockingOnlyResponseAminoMsg; - fromProtoMsg(message: AccountLockedLongerDurationNotUnlockingOnlyResponseProtoMsg): AccountLockedLongerDurationNotUnlockingOnlyResponse; - toProto(message: AccountLockedLongerDurationNotUnlockingOnlyResponse): Uint8Array; - toProtoMsg(message: AccountLockedLongerDurationNotUnlockingOnlyResponse): AccountLockedLongerDurationNotUnlockingOnlyResponseProtoMsg; -}; -export declare const AccountLockedLongerDurationDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedLongerDurationDenomRequest; - isSDK(o: any): o is AccountLockedLongerDurationDenomRequestSDKType; - isAmino(o: any): o is AccountLockedLongerDurationDenomRequestAmino; - encode(message: AccountLockedLongerDurationDenomRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedLongerDurationDenomRequest; - fromJSON(object: any): AccountLockedLongerDurationDenomRequest; - toJSON(message: AccountLockedLongerDurationDenomRequest): unknown; - fromPartial(object: DeepPartial): AccountLockedLongerDurationDenomRequest; - fromSDK(object: AccountLockedLongerDurationDenomRequestSDKType): AccountLockedLongerDurationDenomRequest; - toSDK(message: AccountLockedLongerDurationDenomRequest): AccountLockedLongerDurationDenomRequestSDKType; - fromAmino(object: AccountLockedLongerDurationDenomRequestAmino): AccountLockedLongerDurationDenomRequest; - toAmino(message: AccountLockedLongerDurationDenomRequest): AccountLockedLongerDurationDenomRequestAmino; - fromAminoMsg(object: AccountLockedLongerDurationDenomRequestAminoMsg): AccountLockedLongerDurationDenomRequest; - toAminoMsg(message: AccountLockedLongerDurationDenomRequest): AccountLockedLongerDurationDenomRequestAminoMsg; - fromProtoMsg(message: AccountLockedLongerDurationDenomRequestProtoMsg): AccountLockedLongerDurationDenomRequest; - toProto(message: AccountLockedLongerDurationDenomRequest): Uint8Array; - toProtoMsg(message: AccountLockedLongerDurationDenomRequest): AccountLockedLongerDurationDenomRequestProtoMsg; -}; -export declare const AccountLockedLongerDurationDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AccountLockedLongerDurationDenomResponse; - isSDK(o: any): o is AccountLockedLongerDurationDenomResponseSDKType; - isAmino(o: any): o is AccountLockedLongerDurationDenomResponseAmino; - encode(message: AccountLockedLongerDurationDenomResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AccountLockedLongerDurationDenomResponse; - fromJSON(object: any): AccountLockedLongerDurationDenomResponse; - toJSON(message: AccountLockedLongerDurationDenomResponse): unknown; - fromPartial(object: DeepPartial): AccountLockedLongerDurationDenomResponse; - fromSDK(object: AccountLockedLongerDurationDenomResponseSDKType): AccountLockedLongerDurationDenomResponse; - toSDK(message: AccountLockedLongerDurationDenomResponse): AccountLockedLongerDurationDenomResponseSDKType; - fromAmino(object: AccountLockedLongerDurationDenomResponseAmino): AccountLockedLongerDurationDenomResponse; - toAmino(message: AccountLockedLongerDurationDenomResponse): AccountLockedLongerDurationDenomResponseAmino; - fromAminoMsg(object: AccountLockedLongerDurationDenomResponseAminoMsg): AccountLockedLongerDurationDenomResponse; - toAminoMsg(message: AccountLockedLongerDurationDenomResponse): AccountLockedLongerDurationDenomResponseAminoMsg; - fromProtoMsg(message: AccountLockedLongerDurationDenomResponseProtoMsg): AccountLockedLongerDurationDenomResponse; - toProto(message: AccountLockedLongerDurationDenomResponse): Uint8Array; - toProtoMsg(message: AccountLockedLongerDurationDenomResponse): AccountLockedLongerDurationDenomResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: DeepPartial): QueryParamsRequest; - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/lockup/query.rpc.Query.d.ts b/examples/authz/types/codegen/osmosis/lockup/query.rpc.Query.d.ts deleted file mode 100644 index de99f348..00000000 --- a/examples/authz/types/codegen/osmosis/lockup/query.rpc.Query.d.ts +++ /dev/null @@ -1,260 +0,0 @@ -import { TxRpc } from "../../types"; -import { ReactQueryParams } from "../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../mobx"; -import { ModuleBalanceRequest, ModuleBalanceResponse, ModuleLockedAmountRequest, ModuleLockedAmountResponse, AccountUnlockableCoinsRequest, AccountUnlockableCoinsResponse, AccountUnlockingCoinsRequest, AccountUnlockingCoinsResponse, AccountLockedCoinsRequest, AccountLockedCoinsResponse, AccountLockedPastTimeRequest, AccountLockedPastTimeResponse, AccountLockedPastTimeNotUnlockingOnlyRequest, AccountLockedPastTimeNotUnlockingOnlyResponse, AccountUnlockedBeforeTimeRequest, AccountUnlockedBeforeTimeResponse, AccountLockedPastTimeDenomRequest, AccountLockedPastTimeDenomResponse, LockedDenomRequest, LockedDenomResponse, LockedRequest, LockedResponse, SyntheticLockupsByLockupIDRequest, SyntheticLockupsByLockupIDResponse, AccountLockedLongerDurationRequest, AccountLockedLongerDurationResponse, AccountLockedDurationRequest, AccountLockedDurationResponse, AccountLockedLongerDurationNotUnlockingOnlyRequest, AccountLockedLongerDurationNotUnlockingOnlyResponse, AccountLockedLongerDurationDenomRequest, AccountLockedLongerDurationDenomResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Return full balance of the module */ - moduleBalance(request?: ModuleBalanceRequest): Promise; - /** Return locked balance of the module */ - moduleLockedAmount(request?: ModuleLockedAmountRequest): Promise; - /** Returns unlockable coins which are not withdrawn yet */ - accountUnlockableCoins(request: AccountUnlockableCoinsRequest): Promise; - /** Returns unlocking coins */ - accountUnlockingCoins(request: AccountUnlockingCoinsRequest): Promise; - /** Return a locked coins that can't be withdrawn */ - accountLockedCoins(request: AccountLockedCoinsRequest): Promise; - /** Returns locked records of an account with unlock time beyond timestamp */ - accountLockedPastTime(request: AccountLockedPastTimeRequest): Promise; - /** - * Returns locked records of an account with unlock time beyond timestamp - * excluding tokens started unlocking - */ - accountLockedPastTimeNotUnlockingOnly(request: AccountLockedPastTimeNotUnlockingOnlyRequest): Promise; - /** Returns unlocked records with unlock time before timestamp */ - accountUnlockedBeforeTime(request: AccountUnlockedBeforeTimeRequest): Promise; - /** Returns lock records by address, timestamp, denom */ - accountLockedPastTimeDenom(request: AccountLockedPastTimeDenomRequest): Promise; - /** Returns total locked per denom with longer past given time */ - lockedDenom(request: LockedDenomRequest): Promise; - /** Returns lock record by id */ - lockedByID(request: LockedRequest): Promise; - /** Returns synthetic lockups by native lockup id */ - syntheticLockupsByLockupID(request: SyntheticLockupsByLockupIDRequest): Promise; - /** Returns account locked records with longer duration */ - accountLockedLongerDuration(request: AccountLockedLongerDurationRequest): Promise; - /** Returns account locked records with a specific duration */ - accountLockedDuration(request: AccountLockedDurationRequest): Promise; - /** - * Returns account locked records with longer duration excluding tokens - * started unlocking - */ - accountLockedLongerDurationNotUnlockingOnly(request: AccountLockedLongerDurationNotUnlockingOnlyRequest): Promise; - /** Returns account's locked records for a denom with longer duration */ - accountLockedLongerDurationDenom(request: AccountLockedLongerDurationDenomRequest): Promise; - /** Params returns lockup params. */ - params(request?: QueryParamsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - moduleBalance: (request?: ModuleBalanceRequest) => Promise; - moduleLockedAmount: (request?: ModuleLockedAmountRequest) => Promise; - accountUnlockableCoins: (request: AccountUnlockableCoinsRequest) => Promise; - accountUnlockingCoins: (request: AccountUnlockingCoinsRequest) => Promise; - accountLockedCoins: (request: AccountLockedCoinsRequest) => Promise; - accountLockedPastTime: (request: AccountLockedPastTimeRequest) => Promise; - accountLockedPastTimeNotUnlockingOnly: (request: AccountLockedPastTimeNotUnlockingOnlyRequest) => Promise; - accountUnlockedBeforeTime: (request: AccountUnlockedBeforeTimeRequest) => Promise; - accountLockedPastTimeDenom: (request: AccountLockedPastTimeDenomRequest) => Promise; - lockedDenom: (request: LockedDenomRequest) => Promise; - lockedByID: (request: LockedRequest) => Promise; - syntheticLockupsByLockupID: (request: SyntheticLockupsByLockupIDRequest) => Promise; - accountLockedLongerDuration: (request: AccountLockedLongerDurationRequest) => Promise; - accountLockedDuration: (request: AccountLockedDurationRequest) => Promise; - accountLockedLongerDurationNotUnlockingOnly: (request: AccountLockedLongerDurationNotUnlockingOnlyRequest) => Promise; - accountLockedLongerDurationDenom: (request: AccountLockedLongerDurationDenomRequest) => Promise; - params: (request?: QueryParamsRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseModuleBalanceQuery extends ReactQueryParams { - request?: ModuleBalanceRequest; -} -export interface UseModuleLockedAmountQuery extends ReactQueryParams { - request?: ModuleLockedAmountRequest; -} -export interface UseAccountUnlockableCoinsQuery extends ReactQueryParams { - request: AccountUnlockableCoinsRequest; -} -export interface UseAccountUnlockingCoinsQuery extends ReactQueryParams { - request: AccountUnlockingCoinsRequest; -} -export interface UseAccountLockedCoinsQuery extends ReactQueryParams { - request: AccountLockedCoinsRequest; -} -export interface UseAccountLockedPastTimeQuery extends ReactQueryParams { - request: AccountLockedPastTimeRequest; -} -export interface UseAccountLockedPastTimeNotUnlockingOnlyQuery extends ReactQueryParams { - request: AccountLockedPastTimeNotUnlockingOnlyRequest; -} -export interface UseAccountUnlockedBeforeTimeQuery extends ReactQueryParams { - request: AccountUnlockedBeforeTimeRequest; -} -export interface UseAccountLockedPastTimeDenomQuery extends ReactQueryParams { - request: AccountLockedPastTimeDenomRequest; -} -export interface UseLockedDenomQuery extends ReactQueryParams { - request: LockedDenomRequest; -} -export interface UseLockedByIDQuery extends ReactQueryParams { - request: LockedRequest; -} -export interface UseSyntheticLockupsByLockupIDQuery extends ReactQueryParams { - request: SyntheticLockupsByLockupIDRequest; -} -export interface UseAccountLockedLongerDurationQuery extends ReactQueryParams { - request: AccountLockedLongerDurationRequest; -} -export interface UseAccountLockedDurationQuery extends ReactQueryParams { - request: AccountLockedDurationRequest; -} -export interface UseAccountLockedLongerDurationNotUnlockingOnlyQuery extends ReactQueryParams { - request: AccountLockedLongerDurationNotUnlockingOnlyRequest; -} -export interface UseAccountLockedLongerDurationDenomQuery extends ReactQueryParams { - request: AccountLockedLongerDurationDenomRequest; -} -export interface UseParamsQuery extends ReactQueryParams { - request?: QueryParamsRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Return full balance of the module */ useModuleBalance: ({ request, options }: UseModuleBalanceQuery) => import("@tanstack/react-query").UseQueryResult; - /** Return locked balance of the module */ useModuleLockedAmount: ({ request, options }: UseModuleLockedAmountQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns unlockable coins which are not withdrawn yet */ useAccountUnlockableCoins: ({ request, options }: UseAccountUnlockableCoinsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns unlocking coins */ useAccountUnlockingCoins: ({ request, options }: UseAccountUnlockingCoinsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Return a locked coins that can't be withdrawn */ useAccountLockedCoins: ({ request, options }: UseAccountLockedCoinsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns locked records of an account with unlock time beyond timestamp */ useAccountLockedPastTime: ({ request, options }: UseAccountLockedPastTimeQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * Returns locked records of an account with unlock time beyond timestamp - * excluding tokens started unlocking - */ - useAccountLockedPastTimeNotUnlockingOnly: ({ request, options }: UseAccountLockedPastTimeNotUnlockingOnlyQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns unlocked records with unlock time before timestamp */ useAccountUnlockedBeforeTime: ({ request, options }: UseAccountUnlockedBeforeTimeQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns lock records by address, timestamp, denom */ useAccountLockedPastTimeDenom: ({ request, options }: UseAccountLockedPastTimeDenomQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns total locked per denom with longer past given time */ useLockedDenom: ({ request, options }: UseLockedDenomQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns lock record by id */ useLockedByID: ({ request, options }: UseLockedByIDQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns synthetic lockups by native lockup id */ useSyntheticLockupsByLockupID: ({ request, options }: UseSyntheticLockupsByLockupIDQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns account locked records with longer duration */ useAccountLockedLongerDuration: ({ request, options }: UseAccountLockedLongerDurationQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns account locked records with a specific duration */ useAccountLockedDuration: ({ request, options }: UseAccountLockedDurationQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * Returns account locked records with longer duration excluding tokens - * started unlocking - */ - useAccountLockedLongerDurationNotUnlockingOnly: ({ request, options }: UseAccountLockedLongerDurationNotUnlockingOnlyQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns account's locked records for a denom with longer duration */ useAccountLockedLongerDurationDenom: ({ request, options }: UseAccountLockedLongerDurationDenomQuery) => import("@tanstack/react-query").UseQueryResult; - /** Params returns lockup params. */ useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Return full balance of the module */ QueryModuleBalanceStore: { - new (): { - store: QueryStore; - moduleBalance(request: ModuleBalanceRequest): import("../../mobx").MobxResponse; - }; - }; - /** Return locked balance of the module */ QueryModuleLockedAmountStore: { - new (): { - store: QueryStore; - moduleLockedAmount(request: ModuleLockedAmountRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns unlockable coins which are not withdrawn yet */ QueryAccountUnlockableCoinsStore: { - new (): { - store: QueryStore; - accountUnlockableCoins(request: AccountUnlockableCoinsRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns unlocking coins */ QueryAccountUnlockingCoinsStore: { - new (): { - store: QueryStore; - accountUnlockingCoins(request: AccountUnlockingCoinsRequest): import("../../mobx").MobxResponse; - }; - }; - /** Return a locked coins that can't be withdrawn */ QueryAccountLockedCoinsStore: { - new (): { - store: QueryStore; - accountLockedCoins(request: AccountLockedCoinsRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns locked records of an account with unlock time beyond timestamp */ QueryAccountLockedPastTimeStore: { - new (): { - store: QueryStore; - accountLockedPastTime(request: AccountLockedPastTimeRequest): import("../../mobx").MobxResponse; - }; - }; - /** - * Returns locked records of an account with unlock time beyond timestamp - * excluding tokens started unlocking - */ - QueryAccountLockedPastTimeNotUnlockingOnlyStore: { - new (): { - store: QueryStore; - accountLockedPastTimeNotUnlockingOnly(request: AccountLockedPastTimeNotUnlockingOnlyRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns unlocked records with unlock time before timestamp */ QueryAccountUnlockedBeforeTimeStore: { - new (): { - store: QueryStore; - accountUnlockedBeforeTime(request: AccountUnlockedBeforeTimeRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns lock records by address, timestamp, denom */ QueryAccountLockedPastTimeDenomStore: { - new (): { - store: QueryStore; - accountLockedPastTimeDenom(request: AccountLockedPastTimeDenomRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns total locked per denom with longer past given time */ QueryLockedDenomStore: { - new (): { - store: QueryStore; - lockedDenom(request: LockedDenomRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns lock record by id */ QueryLockedByIDStore: { - new (): { - store: QueryStore; - lockedByID(request: LockedRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns synthetic lockups by native lockup id */ QuerySyntheticLockupsByLockupIDStore: { - new (): { - store: QueryStore; - syntheticLockupsByLockupID(request: SyntheticLockupsByLockupIDRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns account locked records with longer duration */ QueryAccountLockedLongerDurationStore: { - new (): { - store: QueryStore; - accountLockedLongerDuration(request: AccountLockedLongerDurationRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns account locked records with a specific duration */ QueryAccountLockedDurationStore: { - new (): { - store: QueryStore; - accountLockedDuration(request: AccountLockedDurationRequest): import("../../mobx").MobxResponse; - }; - }; - /** - * Returns account locked records with longer duration excluding tokens - * started unlocking - */ - QueryAccountLockedLongerDurationNotUnlockingOnlyStore: { - new (): { - store: QueryStore; - accountLockedLongerDurationNotUnlockingOnly(request: AccountLockedLongerDurationNotUnlockingOnlyRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns account's locked records for a denom with longer duration */ QueryAccountLockedLongerDurationDenomStore: { - new (): { - store: QueryStore; - accountLockedLongerDurationDenom(request: AccountLockedLongerDurationDenomRequest): import("../../mobx").MobxResponse; - }; - }; - /** Params returns lockup params. */ QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/lockup/tx.amino.d.ts b/examples/authz/types/codegen/osmosis/lockup/tx.amino.d.ts deleted file mode 100644 index b42525b7..00000000 --- a/examples/authz/types/codegen/osmosis/lockup/tx.amino.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { MsgLockTokens, MsgBeginUnlockingAll, MsgBeginUnlocking, MsgExtendLockup, MsgForceUnlock } from "./tx"; -export declare const AminoConverter: { - "/osmosis.lockup.MsgLockTokens": { - aminoType: string; - toAmino: (message: MsgLockTokens) => import("./tx").MsgLockTokensAmino; - fromAmino: (object: import("./tx").MsgLockTokensAmino) => MsgLockTokens; - }; - "/osmosis.lockup.MsgBeginUnlockingAll": { - aminoType: string; - toAmino: (message: MsgBeginUnlockingAll) => import("./tx").MsgBeginUnlockingAllAmino; - fromAmino: (object: import("./tx").MsgBeginUnlockingAllAmino) => MsgBeginUnlockingAll; - }; - "/osmosis.lockup.MsgBeginUnlocking": { - aminoType: string; - toAmino: (message: MsgBeginUnlocking) => import("./tx").MsgBeginUnlockingAmino; - fromAmino: (object: import("./tx").MsgBeginUnlockingAmino) => MsgBeginUnlocking; - }; - "/osmosis.lockup.MsgExtendLockup": { - aminoType: string; - toAmino: (message: MsgExtendLockup) => import("./tx").MsgExtendLockupAmino; - fromAmino: (object: import("./tx").MsgExtendLockupAmino) => MsgExtendLockup; - }; - "/osmosis.lockup.MsgForceUnlock": { - aminoType: string; - toAmino: (message: MsgForceUnlock) => import("./tx").MsgForceUnlockAmino; - fromAmino: (object: import("./tx").MsgForceUnlockAmino) => MsgForceUnlock; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/lockup/tx.d.ts b/examples/authz/types/codegen/osmosis/lockup/tx.d.ts deleted file mode 100644 index 8048be71..00000000 --- a/examples/authz/types/codegen/osmosis/lockup/tx.d.ts +++ /dev/null @@ -1,445 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../google/protobuf/duration"; -import { Coin, CoinAmino, CoinSDKType } from "../../cosmos/base/v1beta1/coin"; -import { PeriodLock, PeriodLockAmino, PeriodLockSDKType } from "./lock"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -export interface MsgLockTokens { - owner: string; - duration: Duration | undefined; - coins: Coin[]; -} -export interface MsgLockTokensProtoMsg { - typeUrl: "/osmosis.lockup.MsgLockTokens"; - value: Uint8Array; -} -export interface MsgLockTokensAmino { - owner?: string; - duration?: DurationAmino | undefined; - coins?: CoinAmino[]; -} -export interface MsgLockTokensAminoMsg { - type: "osmosis/lockup/lock-tokens"; - value: MsgLockTokensAmino; -} -export interface MsgLockTokensSDKType { - owner: string; - duration: DurationSDKType | undefined; - coins: CoinSDKType[]; -} -export interface MsgLockTokensResponse { - ID: bigint; -} -export interface MsgLockTokensResponseProtoMsg { - typeUrl: "/osmosis.lockup.MsgLockTokensResponse"; - value: Uint8Array; -} -export interface MsgLockTokensResponseAmino { - ID?: string; -} -export interface MsgLockTokensResponseAminoMsg { - type: "osmosis/lockup/lock-tokens-response"; - value: MsgLockTokensResponseAmino; -} -export interface MsgLockTokensResponseSDKType { - ID: bigint; -} -export interface MsgBeginUnlockingAll { - owner: string; -} -export interface MsgBeginUnlockingAllProtoMsg { - typeUrl: "/osmosis.lockup.MsgBeginUnlockingAll"; - value: Uint8Array; -} -export interface MsgBeginUnlockingAllAmino { - owner?: string; -} -export interface MsgBeginUnlockingAllAminoMsg { - type: "osmosis/lockup/begin-unlock-tokens"; - value: MsgBeginUnlockingAllAmino; -} -export interface MsgBeginUnlockingAllSDKType { - owner: string; -} -export interface MsgBeginUnlockingAllResponse { - unlocks: PeriodLock[]; -} -export interface MsgBeginUnlockingAllResponseProtoMsg { - typeUrl: "/osmosis.lockup.MsgBeginUnlockingAllResponse"; - value: Uint8Array; -} -export interface MsgBeginUnlockingAllResponseAmino { - unlocks?: PeriodLockAmino[]; -} -export interface MsgBeginUnlockingAllResponseAminoMsg { - type: "osmosis/lockup/begin-unlocking-all-response"; - value: MsgBeginUnlockingAllResponseAmino; -} -export interface MsgBeginUnlockingAllResponseSDKType { - unlocks: PeriodLockSDKType[]; -} -export interface MsgBeginUnlocking { - owner: string; - ID: bigint; - /** Amount of unlocking coins. Unlock all if not set. */ - coins: Coin[]; -} -export interface MsgBeginUnlockingProtoMsg { - typeUrl: "/osmosis.lockup.MsgBeginUnlocking"; - value: Uint8Array; -} -export interface MsgBeginUnlockingAmino { - owner?: string; - ID?: string; - /** Amount of unlocking coins. Unlock all if not set. */ - coins?: CoinAmino[]; -} -export interface MsgBeginUnlockingAminoMsg { - type: "osmosis/lockup/begin-unlock-period-lock"; - value: MsgBeginUnlockingAmino; -} -export interface MsgBeginUnlockingSDKType { - owner: string; - ID: bigint; - coins: CoinSDKType[]; -} -export interface MsgBeginUnlockingResponse { - success: boolean; -} -export interface MsgBeginUnlockingResponseProtoMsg { - typeUrl: "/osmosis.lockup.MsgBeginUnlockingResponse"; - value: Uint8Array; -} -export interface MsgBeginUnlockingResponseAmino { - success?: boolean; -} -export interface MsgBeginUnlockingResponseAminoMsg { - type: "osmosis/lockup/begin-unlocking-response"; - value: MsgBeginUnlockingResponseAmino; -} -export interface MsgBeginUnlockingResponseSDKType { - success: boolean; -} -/** - * MsgExtendLockup extends the existing lockup's duration. - * The new duration is longer than the original. - */ -export interface MsgExtendLockup { - owner: string; - ID: bigint; - /** - * duration to be set. fails if lower than the current duration, or is - * unlocking - */ - duration: Duration | undefined; -} -export interface MsgExtendLockupProtoMsg { - typeUrl: "/osmosis.lockup.MsgExtendLockup"; - value: Uint8Array; -} -/** - * MsgExtendLockup extends the existing lockup's duration. - * The new duration is longer than the original. - */ -export interface MsgExtendLockupAmino { - owner?: string; - ID?: string; - /** - * duration to be set. fails if lower than the current duration, or is - * unlocking - */ - duration?: DurationAmino | undefined; -} -export interface MsgExtendLockupAminoMsg { - type: "osmosis/lockup/extend-lockup"; - value: MsgExtendLockupAmino; -} -/** - * MsgExtendLockup extends the existing lockup's duration. - * The new duration is longer than the original. - */ -export interface MsgExtendLockupSDKType { - owner: string; - ID: bigint; - duration: DurationSDKType | undefined; -} -export interface MsgExtendLockupResponse { - success: boolean; -} -export interface MsgExtendLockupResponseProtoMsg { - typeUrl: "/osmosis.lockup.MsgExtendLockupResponse"; - value: Uint8Array; -} -export interface MsgExtendLockupResponseAmino { - success?: boolean; -} -export interface MsgExtendLockupResponseAminoMsg { - type: "osmosis/lockup/extend-lockup-response"; - value: MsgExtendLockupResponseAmino; -} -export interface MsgExtendLockupResponseSDKType { - success: boolean; -} -/** - * MsgForceUnlock unlocks locks immediately for - * addresses registered via governance. - */ -export interface MsgForceUnlock { - owner: string; - ID: bigint; - /** Amount of unlocking coins. Unlock all if not set. */ - coins: Coin[]; -} -export interface MsgForceUnlockProtoMsg { - typeUrl: "/osmosis.lockup.MsgForceUnlock"; - value: Uint8Array; -} -/** - * MsgForceUnlock unlocks locks immediately for - * addresses registered via governance. - */ -export interface MsgForceUnlockAmino { - owner?: string; - ID?: string; - /** Amount of unlocking coins. Unlock all if not set. */ - coins?: CoinAmino[]; -} -export interface MsgForceUnlockAminoMsg { - type: "osmosis/lockup/force-unlock"; - value: MsgForceUnlockAmino; -} -/** - * MsgForceUnlock unlocks locks immediately for - * addresses registered via governance. - */ -export interface MsgForceUnlockSDKType { - owner: string; - ID: bigint; - coins: CoinSDKType[]; -} -export interface MsgForceUnlockResponse { - success: boolean; -} -export interface MsgForceUnlockResponseProtoMsg { - typeUrl: "/osmosis.lockup.MsgForceUnlockResponse"; - value: Uint8Array; -} -export interface MsgForceUnlockResponseAmino { - success?: boolean; -} -export interface MsgForceUnlockResponseAminoMsg { - type: "osmosis/lockup/force-unlock-response"; - value: MsgForceUnlockResponseAmino; -} -export interface MsgForceUnlockResponseSDKType { - success: boolean; -} -export declare const MsgLockTokens: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgLockTokens; - isSDK(o: any): o is MsgLockTokensSDKType; - isAmino(o: any): o is MsgLockTokensAmino; - encode(message: MsgLockTokens, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgLockTokens; - fromJSON(object: any): MsgLockTokens; - toJSON(message: MsgLockTokens): unknown; - fromPartial(object: DeepPartial): MsgLockTokens; - fromSDK(object: MsgLockTokensSDKType): MsgLockTokens; - toSDK(message: MsgLockTokens): MsgLockTokensSDKType; - fromAmino(object: MsgLockTokensAmino): MsgLockTokens; - toAmino(message: MsgLockTokens): MsgLockTokensAmino; - fromAminoMsg(object: MsgLockTokensAminoMsg): MsgLockTokens; - toAminoMsg(message: MsgLockTokens): MsgLockTokensAminoMsg; - fromProtoMsg(message: MsgLockTokensProtoMsg): MsgLockTokens; - toProto(message: MsgLockTokens): Uint8Array; - toProtoMsg(message: MsgLockTokens): MsgLockTokensProtoMsg; -}; -export declare const MsgLockTokensResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgLockTokensResponse; - isSDK(o: any): o is MsgLockTokensResponseSDKType; - isAmino(o: any): o is MsgLockTokensResponseAmino; - encode(message: MsgLockTokensResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgLockTokensResponse; - fromJSON(object: any): MsgLockTokensResponse; - toJSON(message: MsgLockTokensResponse): unknown; - fromPartial(object: DeepPartial): MsgLockTokensResponse; - fromSDK(object: MsgLockTokensResponseSDKType): MsgLockTokensResponse; - toSDK(message: MsgLockTokensResponse): MsgLockTokensResponseSDKType; - fromAmino(object: MsgLockTokensResponseAmino): MsgLockTokensResponse; - toAmino(message: MsgLockTokensResponse): MsgLockTokensResponseAmino; - fromAminoMsg(object: MsgLockTokensResponseAminoMsg): MsgLockTokensResponse; - toAminoMsg(message: MsgLockTokensResponse): MsgLockTokensResponseAminoMsg; - fromProtoMsg(message: MsgLockTokensResponseProtoMsg): MsgLockTokensResponse; - toProto(message: MsgLockTokensResponse): Uint8Array; - toProtoMsg(message: MsgLockTokensResponse): MsgLockTokensResponseProtoMsg; -}; -export declare const MsgBeginUnlockingAll: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgBeginUnlockingAll; - isSDK(o: any): o is MsgBeginUnlockingAllSDKType; - isAmino(o: any): o is MsgBeginUnlockingAllAmino; - encode(message: MsgBeginUnlockingAll, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgBeginUnlockingAll; - fromJSON(object: any): MsgBeginUnlockingAll; - toJSON(message: MsgBeginUnlockingAll): unknown; - fromPartial(object: DeepPartial): MsgBeginUnlockingAll; - fromSDK(object: MsgBeginUnlockingAllSDKType): MsgBeginUnlockingAll; - toSDK(message: MsgBeginUnlockingAll): MsgBeginUnlockingAllSDKType; - fromAmino(object: MsgBeginUnlockingAllAmino): MsgBeginUnlockingAll; - toAmino(message: MsgBeginUnlockingAll): MsgBeginUnlockingAllAmino; - fromAminoMsg(object: MsgBeginUnlockingAllAminoMsg): MsgBeginUnlockingAll; - toAminoMsg(message: MsgBeginUnlockingAll): MsgBeginUnlockingAllAminoMsg; - fromProtoMsg(message: MsgBeginUnlockingAllProtoMsg): MsgBeginUnlockingAll; - toProto(message: MsgBeginUnlockingAll): Uint8Array; - toProtoMsg(message: MsgBeginUnlockingAll): MsgBeginUnlockingAllProtoMsg; -}; -export declare const MsgBeginUnlockingAllResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgBeginUnlockingAllResponse; - isSDK(o: any): o is MsgBeginUnlockingAllResponseSDKType; - isAmino(o: any): o is MsgBeginUnlockingAllResponseAmino; - encode(message: MsgBeginUnlockingAllResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgBeginUnlockingAllResponse; - fromJSON(object: any): MsgBeginUnlockingAllResponse; - toJSON(message: MsgBeginUnlockingAllResponse): unknown; - fromPartial(object: DeepPartial): MsgBeginUnlockingAllResponse; - fromSDK(object: MsgBeginUnlockingAllResponseSDKType): MsgBeginUnlockingAllResponse; - toSDK(message: MsgBeginUnlockingAllResponse): MsgBeginUnlockingAllResponseSDKType; - fromAmino(object: MsgBeginUnlockingAllResponseAmino): MsgBeginUnlockingAllResponse; - toAmino(message: MsgBeginUnlockingAllResponse): MsgBeginUnlockingAllResponseAmino; - fromAminoMsg(object: MsgBeginUnlockingAllResponseAminoMsg): MsgBeginUnlockingAllResponse; - toAminoMsg(message: MsgBeginUnlockingAllResponse): MsgBeginUnlockingAllResponseAminoMsg; - fromProtoMsg(message: MsgBeginUnlockingAllResponseProtoMsg): MsgBeginUnlockingAllResponse; - toProto(message: MsgBeginUnlockingAllResponse): Uint8Array; - toProtoMsg(message: MsgBeginUnlockingAllResponse): MsgBeginUnlockingAllResponseProtoMsg; -}; -export declare const MsgBeginUnlocking: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgBeginUnlocking; - isSDK(o: any): o is MsgBeginUnlockingSDKType; - isAmino(o: any): o is MsgBeginUnlockingAmino; - encode(message: MsgBeginUnlocking, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgBeginUnlocking; - fromJSON(object: any): MsgBeginUnlocking; - toJSON(message: MsgBeginUnlocking): unknown; - fromPartial(object: DeepPartial): MsgBeginUnlocking; - fromSDK(object: MsgBeginUnlockingSDKType): MsgBeginUnlocking; - toSDK(message: MsgBeginUnlocking): MsgBeginUnlockingSDKType; - fromAmino(object: MsgBeginUnlockingAmino): MsgBeginUnlocking; - toAmino(message: MsgBeginUnlocking): MsgBeginUnlockingAmino; - fromAminoMsg(object: MsgBeginUnlockingAminoMsg): MsgBeginUnlocking; - toAminoMsg(message: MsgBeginUnlocking): MsgBeginUnlockingAminoMsg; - fromProtoMsg(message: MsgBeginUnlockingProtoMsg): MsgBeginUnlocking; - toProto(message: MsgBeginUnlocking): Uint8Array; - toProtoMsg(message: MsgBeginUnlocking): MsgBeginUnlockingProtoMsg; -}; -export declare const MsgBeginUnlockingResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgBeginUnlockingResponse; - isSDK(o: any): o is MsgBeginUnlockingResponseSDKType; - isAmino(o: any): o is MsgBeginUnlockingResponseAmino; - encode(message: MsgBeginUnlockingResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgBeginUnlockingResponse; - fromJSON(object: any): MsgBeginUnlockingResponse; - toJSON(message: MsgBeginUnlockingResponse): unknown; - fromPartial(object: DeepPartial): MsgBeginUnlockingResponse; - fromSDK(object: MsgBeginUnlockingResponseSDKType): MsgBeginUnlockingResponse; - toSDK(message: MsgBeginUnlockingResponse): MsgBeginUnlockingResponseSDKType; - fromAmino(object: MsgBeginUnlockingResponseAmino): MsgBeginUnlockingResponse; - toAmino(message: MsgBeginUnlockingResponse): MsgBeginUnlockingResponseAmino; - fromAminoMsg(object: MsgBeginUnlockingResponseAminoMsg): MsgBeginUnlockingResponse; - toAminoMsg(message: MsgBeginUnlockingResponse): MsgBeginUnlockingResponseAminoMsg; - fromProtoMsg(message: MsgBeginUnlockingResponseProtoMsg): MsgBeginUnlockingResponse; - toProto(message: MsgBeginUnlockingResponse): Uint8Array; - toProtoMsg(message: MsgBeginUnlockingResponse): MsgBeginUnlockingResponseProtoMsg; -}; -export declare const MsgExtendLockup: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExtendLockup; - isSDK(o: any): o is MsgExtendLockupSDKType; - isAmino(o: any): o is MsgExtendLockupAmino; - encode(message: MsgExtendLockup, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExtendLockup; - fromJSON(object: any): MsgExtendLockup; - toJSON(message: MsgExtendLockup): unknown; - fromPartial(object: DeepPartial): MsgExtendLockup; - fromSDK(object: MsgExtendLockupSDKType): MsgExtendLockup; - toSDK(message: MsgExtendLockup): MsgExtendLockupSDKType; - fromAmino(object: MsgExtendLockupAmino): MsgExtendLockup; - toAmino(message: MsgExtendLockup): MsgExtendLockupAmino; - fromAminoMsg(object: MsgExtendLockupAminoMsg): MsgExtendLockup; - toAminoMsg(message: MsgExtendLockup): MsgExtendLockupAminoMsg; - fromProtoMsg(message: MsgExtendLockupProtoMsg): MsgExtendLockup; - toProto(message: MsgExtendLockup): Uint8Array; - toProtoMsg(message: MsgExtendLockup): MsgExtendLockupProtoMsg; -}; -export declare const MsgExtendLockupResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgExtendLockupResponse; - isSDK(o: any): o is MsgExtendLockupResponseSDKType; - isAmino(o: any): o is MsgExtendLockupResponseAmino; - encode(message: MsgExtendLockupResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgExtendLockupResponse; - fromJSON(object: any): MsgExtendLockupResponse; - toJSON(message: MsgExtendLockupResponse): unknown; - fromPartial(object: DeepPartial): MsgExtendLockupResponse; - fromSDK(object: MsgExtendLockupResponseSDKType): MsgExtendLockupResponse; - toSDK(message: MsgExtendLockupResponse): MsgExtendLockupResponseSDKType; - fromAmino(object: MsgExtendLockupResponseAmino): MsgExtendLockupResponse; - toAmino(message: MsgExtendLockupResponse): MsgExtendLockupResponseAmino; - fromAminoMsg(object: MsgExtendLockupResponseAminoMsg): MsgExtendLockupResponse; - toAminoMsg(message: MsgExtendLockupResponse): MsgExtendLockupResponseAminoMsg; - fromProtoMsg(message: MsgExtendLockupResponseProtoMsg): MsgExtendLockupResponse; - toProto(message: MsgExtendLockupResponse): Uint8Array; - toProtoMsg(message: MsgExtendLockupResponse): MsgExtendLockupResponseProtoMsg; -}; -export declare const MsgForceUnlock: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgForceUnlock; - isSDK(o: any): o is MsgForceUnlockSDKType; - isAmino(o: any): o is MsgForceUnlockAmino; - encode(message: MsgForceUnlock, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgForceUnlock; - fromJSON(object: any): MsgForceUnlock; - toJSON(message: MsgForceUnlock): unknown; - fromPartial(object: DeepPartial): MsgForceUnlock; - fromSDK(object: MsgForceUnlockSDKType): MsgForceUnlock; - toSDK(message: MsgForceUnlock): MsgForceUnlockSDKType; - fromAmino(object: MsgForceUnlockAmino): MsgForceUnlock; - toAmino(message: MsgForceUnlock): MsgForceUnlockAmino; - fromAminoMsg(object: MsgForceUnlockAminoMsg): MsgForceUnlock; - toAminoMsg(message: MsgForceUnlock): MsgForceUnlockAminoMsg; - fromProtoMsg(message: MsgForceUnlockProtoMsg): MsgForceUnlock; - toProto(message: MsgForceUnlock): Uint8Array; - toProtoMsg(message: MsgForceUnlock): MsgForceUnlockProtoMsg; -}; -export declare const MsgForceUnlockResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgForceUnlockResponse; - isSDK(o: any): o is MsgForceUnlockResponseSDKType; - isAmino(o: any): o is MsgForceUnlockResponseAmino; - encode(message: MsgForceUnlockResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgForceUnlockResponse; - fromJSON(object: any): MsgForceUnlockResponse; - toJSON(message: MsgForceUnlockResponse): unknown; - fromPartial(object: DeepPartial): MsgForceUnlockResponse; - fromSDK(object: MsgForceUnlockResponseSDKType): MsgForceUnlockResponse; - toSDK(message: MsgForceUnlockResponse): MsgForceUnlockResponseSDKType; - fromAmino(object: MsgForceUnlockResponseAmino): MsgForceUnlockResponse; - toAmino(message: MsgForceUnlockResponse): MsgForceUnlockResponseAmino; - fromAminoMsg(object: MsgForceUnlockResponseAminoMsg): MsgForceUnlockResponse; - toAminoMsg(message: MsgForceUnlockResponse): MsgForceUnlockResponseAminoMsg; - fromProtoMsg(message: MsgForceUnlockResponseProtoMsg): MsgForceUnlockResponse; - toProto(message: MsgForceUnlockResponse): Uint8Array; - toProtoMsg(message: MsgForceUnlockResponse): MsgForceUnlockResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/lockup/tx.registry.d.ts b/examples/authz/types/codegen/osmosis/lockup/tx.registry.d.ts deleted file mode 100644 index 0b5cdae3..00000000 --- a/examples/authz/types/codegen/osmosis/lockup/tx.registry.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -import { TelescopeGeneratedType } from "../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgLockTokens, MsgBeginUnlockingAll, MsgBeginUnlocking, MsgExtendLockup, MsgForceUnlock } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - lockTokens(value: MsgLockTokens): { - typeUrl: string; - value: Uint8Array; - }; - beginUnlockingAll(value: MsgBeginUnlockingAll): { - typeUrl: string; - value: Uint8Array; - }; - beginUnlocking(value: MsgBeginUnlocking): { - typeUrl: string; - value: Uint8Array; - }; - extendLockup(value: MsgExtendLockup): { - typeUrl: string; - value: Uint8Array; - }; - forceUnlock(value: MsgForceUnlock): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - lockTokens(value: MsgLockTokens): { - typeUrl: string; - value: MsgLockTokens; - }; - beginUnlockingAll(value: MsgBeginUnlockingAll): { - typeUrl: string; - value: MsgBeginUnlockingAll; - }; - beginUnlocking(value: MsgBeginUnlocking): { - typeUrl: string; - value: MsgBeginUnlocking; - }; - extendLockup(value: MsgExtendLockup): { - typeUrl: string; - value: MsgExtendLockup; - }; - forceUnlock(value: MsgForceUnlock): { - typeUrl: string; - value: MsgForceUnlock; - }; - }; - toJSON: { - lockTokens(value: MsgLockTokens): { - typeUrl: string; - value: unknown; - }; - beginUnlockingAll(value: MsgBeginUnlockingAll): { - typeUrl: string; - value: unknown; - }; - beginUnlocking(value: MsgBeginUnlocking): { - typeUrl: string; - value: unknown; - }; - extendLockup(value: MsgExtendLockup): { - typeUrl: string; - value: unknown; - }; - forceUnlock(value: MsgForceUnlock): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - lockTokens(value: any): { - typeUrl: string; - value: MsgLockTokens; - }; - beginUnlockingAll(value: any): { - typeUrl: string; - value: MsgBeginUnlockingAll; - }; - beginUnlocking(value: any): { - typeUrl: string; - value: MsgBeginUnlocking; - }; - extendLockup(value: any): { - typeUrl: string; - value: MsgExtendLockup; - }; - forceUnlock(value: any): { - typeUrl: string; - value: MsgForceUnlock; - }; - }; - fromPartial: { - lockTokens(value: MsgLockTokens): { - typeUrl: string; - value: MsgLockTokens; - }; - beginUnlockingAll(value: MsgBeginUnlockingAll): { - typeUrl: string; - value: MsgBeginUnlockingAll; - }; - beginUnlocking(value: MsgBeginUnlocking): { - typeUrl: string; - value: MsgBeginUnlocking; - }; - extendLockup(value: MsgExtendLockup): { - typeUrl: string; - value: MsgExtendLockup; - }; - forceUnlock(value: MsgForceUnlock): { - typeUrl: string; - value: MsgForceUnlock; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/lockup/tx.rpc.msg.d.ts b/examples/authz/types/codegen/osmosis/lockup/tx.rpc.msg.d.ts deleted file mode 100644 index e1640f5e..00000000 --- a/examples/authz/types/codegen/osmosis/lockup/tx.rpc.msg.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../types"; -import { MsgLockTokens, MsgBeginUnlockingAll, MsgBeginUnlocking, MsgExtendLockup, MsgForceUnlock } from "./tx"; -/** Msg defines the Msg service. */ -export interface Msg { - /** LockTokens lock tokens */ - lockTokens(signerAddress: string, message: MsgLockTokens, fee: number | StdFee | "auto", memo: string): Promise; - /** BeginUnlockingAll begin unlocking all tokens */ - beginUnlockingAll(signerAddress: string, message: MsgBeginUnlockingAll, fee: number | StdFee | "auto", memo: string): Promise; - /** MsgBeginUnlocking begins unlocking tokens by lock ID */ - beginUnlocking(signerAddress: string, message: MsgBeginUnlocking, fee: number | StdFee | "auto", memo: string): Promise; - /** MsgEditLockup edits the existing lockups by lock ID */ - extendLockup(signerAddress: string, message: MsgExtendLockup, fee: number | StdFee | "auto", memo: string): Promise; - forceUnlock(signerAddress: string, message: MsgForceUnlock, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - lockTokens: (signerAddress: string, message: MsgLockTokens, fee?: number | StdFee | "auto", memo?: string) => Promise; - beginUnlockingAll: (signerAddress: string, message: MsgBeginUnlockingAll, fee?: number | StdFee | "auto", memo?: string) => Promise; - beginUnlocking: (signerAddress: string, message: MsgBeginUnlocking, fee?: number | StdFee | "auto", memo?: string) => Promise; - extendLockup: (signerAddress: string, message: MsgExtendLockup, fee?: number | StdFee | "auto", memo?: string) => Promise; - forceUnlock: (signerAddress: string, message: MsgForceUnlock, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/osmosis/mint/v1beta1/genesis.d.ts b/examples/authz/types/codegen/osmosis/mint/v1beta1/genesis.d.ts deleted file mode 100644 index bd96f9c3..00000000 --- a/examples/authz/types/codegen/osmosis/mint/v1beta1/genesis.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { Minter, MinterAmino, MinterSDKType, Params, ParamsAmino, ParamsSDKType } from "./mint"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the mint module's genesis state. */ -export interface GenesisState { - /** minter is an abstraction for holding current rewards information. */ - minter: Minter | undefined; - /** params defines all the paramaters of the mint module. */ - params: Params | undefined; - /** - * reduction_started_epoch is the first epoch in which the reduction of mint - * begins. - */ - reductionStartedEpoch: bigint; -} -export interface GenesisStateProtoMsg { - typeUrl: "/osmosis.mint.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the mint module's genesis state. */ -export interface GenesisStateAmino { - /** minter is an abstraction for holding current rewards information. */ - minter?: MinterAmino | undefined; - /** params defines all the paramaters of the mint module. */ - params?: ParamsAmino | undefined; - /** - * reduction_started_epoch is the first epoch in which the reduction of mint - * begins. - */ - reduction_started_epoch?: string; -} -export interface GenesisStateAminoMsg { - type: "osmosis/mint/genesis-state"; - value: GenesisStateAmino; -} -/** GenesisState defines the mint module's genesis state. */ -export interface GenesisStateSDKType { - minter: MinterSDKType | undefined; - params: ParamsSDKType | undefined; - reduction_started_epoch: bigint; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/mint/v1beta1/mint.d.ts b/examples/authz/types/codegen/osmosis/mint/v1beta1/mint.d.ts deleted file mode 100644 index 8be5cdc2..00000000 --- a/examples/authz/types/codegen/osmosis/mint/v1beta1/mint.d.ts +++ /dev/null @@ -1,309 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** Minter represents the minting state. */ -export interface Minter { - /** epoch_provisions represent rewards for the current epoch. */ - epochProvisions: string; -} -export interface MinterProtoMsg { - typeUrl: "/osmosis.mint.v1beta1.Minter"; - value: Uint8Array; -} -/** Minter represents the minting state. */ -export interface MinterAmino { - /** epoch_provisions represent rewards for the current epoch. */ - epoch_provisions?: string; -} -export interface MinterAminoMsg { - type: "osmosis/mint/minter"; - value: MinterAmino; -} -/** Minter represents the minting state. */ -export interface MinterSDKType { - epoch_provisions: string; -} -/** - * WeightedAddress represents an address with a weight assigned to it. - * The weight is used to determine the proportion of the total minted - * tokens to be minted to the address. - */ -export interface WeightedAddress { - address: string; - weight: string; -} -export interface WeightedAddressProtoMsg { - typeUrl: "/osmosis.mint.v1beta1.WeightedAddress"; - value: Uint8Array; -} -/** - * WeightedAddress represents an address with a weight assigned to it. - * The weight is used to determine the proportion of the total minted - * tokens to be minted to the address. - */ -export interface WeightedAddressAmino { - address?: string; - weight?: string; -} -export interface WeightedAddressAminoMsg { - type: "osmosis/mint/weighted-address"; - value: WeightedAddressAmino; -} -/** - * WeightedAddress represents an address with a weight assigned to it. - * The weight is used to determine the proportion of the total minted - * tokens to be minted to the address. - */ -export interface WeightedAddressSDKType { - address: string; - weight: string; -} -/** - * DistributionProportions defines the distribution proportions of the minted - * denom. In other words, defines which stakeholders will receive the minted - * denoms and how much. - */ -export interface DistributionProportions { - /** - * staking defines the proportion of the minted mint_denom that is to be - * allocated as staking rewards. - */ - staking: string; - /** - * pool_incentives defines the proportion of the minted mint_denom that is - * to be allocated as pool incentives. - */ - poolIncentives: string; - /** - * developer_rewards defines the proportion of the minted mint_denom that is - * to be allocated to developer rewards address. - */ - developerRewards: string; - /** - * community_pool defines the proportion of the minted mint_denom that is - * to be allocated to the community pool. - */ - communityPool: string; -} -export interface DistributionProportionsProtoMsg { - typeUrl: "/osmosis.mint.v1beta1.DistributionProportions"; - value: Uint8Array; -} -/** - * DistributionProportions defines the distribution proportions of the minted - * denom. In other words, defines which stakeholders will receive the minted - * denoms and how much. - */ -export interface DistributionProportionsAmino { - /** - * staking defines the proportion of the minted mint_denom that is to be - * allocated as staking rewards. - */ - staking?: string; - /** - * pool_incentives defines the proportion of the minted mint_denom that is - * to be allocated as pool incentives. - */ - pool_incentives?: string; - /** - * developer_rewards defines the proportion of the minted mint_denom that is - * to be allocated to developer rewards address. - */ - developer_rewards?: string; - /** - * community_pool defines the proportion of the minted mint_denom that is - * to be allocated to the community pool. - */ - community_pool?: string; -} -export interface DistributionProportionsAminoMsg { - type: "osmosis/mint/distribution-proportions"; - value: DistributionProportionsAmino; -} -/** - * DistributionProportions defines the distribution proportions of the minted - * denom. In other words, defines which stakeholders will receive the minted - * denoms and how much. - */ -export interface DistributionProportionsSDKType { - staking: string; - pool_incentives: string; - developer_rewards: string; - community_pool: string; -} -/** Params holds parameters for the x/mint module. */ -export interface Params { - /** mint_denom is the denom of the coin to mint. */ - mintDenom: string; - /** genesis_epoch_provisions epoch provisions from the first epoch. */ - genesisEpochProvisions: string; - /** epoch_identifier mint epoch identifier e.g. (day, week). */ - epochIdentifier: string; - /** - * reduction_period_in_epochs the number of epochs it takes - * to reduce the rewards. - */ - reductionPeriodInEpochs: bigint; - /** - * reduction_factor is the reduction multiplier to execute - * at the end of each period set by reduction_period_in_epochs. - */ - reductionFactor: string; - /** - * distribution_proportions defines the distribution proportions of the minted - * denom. In other words, defines which stakeholders will receive the minted - * denoms and how much. - */ - distributionProportions: DistributionProportions | undefined; - /** - * weighted_developer_rewards_receivers is the address to receive developer - * rewards with weights assignedt to each address. The final amount that each - * address receives is: epoch_provisions * - * distribution_proportions.developer_rewards * Address's Weight. - */ - weightedDeveloperRewardsReceivers: WeightedAddress[]; - /** - * minting_rewards_distribution_start_epoch start epoch to distribute minting - * rewards - */ - mintingRewardsDistributionStartEpoch: bigint; -} -export interface ParamsProtoMsg { - typeUrl: "/osmosis.mint.v1beta1.Params"; - value: Uint8Array; -} -/** Params holds parameters for the x/mint module. */ -export interface ParamsAmino { - /** mint_denom is the denom of the coin to mint. */ - mint_denom?: string; - /** genesis_epoch_provisions epoch provisions from the first epoch. */ - genesis_epoch_provisions?: string; - /** epoch_identifier mint epoch identifier e.g. (day, week). */ - epoch_identifier?: string; - /** - * reduction_period_in_epochs the number of epochs it takes - * to reduce the rewards. - */ - reduction_period_in_epochs?: string; - /** - * reduction_factor is the reduction multiplier to execute - * at the end of each period set by reduction_period_in_epochs. - */ - reduction_factor?: string; - /** - * distribution_proportions defines the distribution proportions of the minted - * denom. In other words, defines which stakeholders will receive the minted - * denoms and how much. - */ - distribution_proportions?: DistributionProportionsAmino | undefined; - /** - * weighted_developer_rewards_receivers is the address to receive developer - * rewards with weights assignedt to each address. The final amount that each - * address receives is: epoch_provisions * - * distribution_proportions.developer_rewards * Address's Weight. - */ - weighted_developer_rewards_receivers?: WeightedAddressAmino[]; - /** - * minting_rewards_distribution_start_epoch start epoch to distribute minting - * rewards - */ - minting_rewards_distribution_start_epoch?: string; -} -export interface ParamsAminoMsg { - type: "osmosis/mint/params"; - value: ParamsAmino; -} -/** Params holds parameters for the x/mint module. */ -export interface ParamsSDKType { - mint_denom: string; - genesis_epoch_provisions: string; - epoch_identifier: string; - reduction_period_in_epochs: bigint; - reduction_factor: string; - distribution_proportions: DistributionProportionsSDKType | undefined; - weighted_developer_rewards_receivers: WeightedAddressSDKType[]; - minting_rewards_distribution_start_epoch: bigint; -} -export declare const Minter: { - typeUrl: string; - aminoType: string; - is(o: any): o is Minter; - isSDK(o: any): o is MinterSDKType; - isAmino(o: any): o is MinterAmino; - encode(message: Minter, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Minter; - fromJSON(object: any): Minter; - toJSON(message: Minter): unknown; - fromPartial(object: DeepPartial): Minter; - fromSDK(object: MinterSDKType): Minter; - toSDK(message: Minter): MinterSDKType; - fromAmino(object: MinterAmino): Minter; - toAmino(message: Minter): MinterAmino; - fromAminoMsg(object: MinterAminoMsg): Minter; - toAminoMsg(message: Minter): MinterAminoMsg; - fromProtoMsg(message: MinterProtoMsg): Minter; - toProto(message: Minter): Uint8Array; - toProtoMsg(message: Minter): MinterProtoMsg; -}; -export declare const WeightedAddress: { - typeUrl: string; - aminoType: string; - is(o: any): o is WeightedAddress; - isSDK(o: any): o is WeightedAddressSDKType; - isAmino(o: any): o is WeightedAddressAmino; - encode(message: WeightedAddress, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): WeightedAddress; - fromJSON(object: any): WeightedAddress; - toJSON(message: WeightedAddress): unknown; - fromPartial(object: DeepPartial): WeightedAddress; - fromSDK(object: WeightedAddressSDKType): WeightedAddress; - toSDK(message: WeightedAddress): WeightedAddressSDKType; - fromAmino(object: WeightedAddressAmino): WeightedAddress; - toAmino(message: WeightedAddress): WeightedAddressAmino; - fromAminoMsg(object: WeightedAddressAminoMsg): WeightedAddress; - toAminoMsg(message: WeightedAddress): WeightedAddressAminoMsg; - fromProtoMsg(message: WeightedAddressProtoMsg): WeightedAddress; - toProto(message: WeightedAddress): Uint8Array; - toProtoMsg(message: WeightedAddress): WeightedAddressProtoMsg; -}; -export declare const DistributionProportions: { - typeUrl: string; - aminoType: string; - is(o: any): o is DistributionProportions; - isSDK(o: any): o is DistributionProportionsSDKType; - isAmino(o: any): o is DistributionProportionsAmino; - encode(message: DistributionProportions, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DistributionProportions; - fromJSON(object: any): DistributionProportions; - toJSON(message: DistributionProportions): unknown; - fromPartial(object: DeepPartial): DistributionProportions; - fromSDK(object: DistributionProportionsSDKType): DistributionProportions; - toSDK(message: DistributionProportions): DistributionProportionsSDKType; - fromAmino(object: DistributionProportionsAmino): DistributionProportions; - toAmino(message: DistributionProportions): DistributionProportionsAmino; - fromAminoMsg(object: DistributionProportionsAminoMsg): DistributionProportions; - toAminoMsg(message: DistributionProportions): DistributionProportionsAminoMsg; - fromProtoMsg(message: DistributionProportionsProtoMsg): DistributionProportions; - toProto(message: DistributionProportions): Uint8Array; - toProtoMsg(message: DistributionProportions): DistributionProportionsProtoMsg; -}; -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/mint/v1beta1/query.d.ts b/examples/authz/types/codegen/osmosis/mint/v1beta1/query.d.ts deleted file mode 100644 index 3a8c9e5d..00000000 --- a/examples/authz/types/codegen/osmosis/mint/v1beta1/query.d.ts +++ /dev/null @@ -1,183 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType } from "./mint"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/osmosis.mint.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "osmosis/mint/query-params-request"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params: Params | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/osmosis.mint.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "osmosis/mint/query-params-response"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; -} -/** - * QueryEpochProvisionsRequest is the request type for the - * Query/EpochProvisions RPC method. - */ -export interface QueryEpochProvisionsRequest { -} -export interface QueryEpochProvisionsRequestProtoMsg { - typeUrl: "/osmosis.mint.v1beta1.QueryEpochProvisionsRequest"; - value: Uint8Array; -} -/** - * QueryEpochProvisionsRequest is the request type for the - * Query/EpochProvisions RPC method. - */ -export interface QueryEpochProvisionsRequestAmino { -} -export interface QueryEpochProvisionsRequestAminoMsg { - type: "osmosis/mint/query-epoch-provisions-request"; - value: QueryEpochProvisionsRequestAmino; -} -/** - * QueryEpochProvisionsRequest is the request type for the - * Query/EpochProvisions RPC method. - */ -export interface QueryEpochProvisionsRequestSDKType { -} -/** - * QueryEpochProvisionsResponse is the response type for the - * Query/EpochProvisions RPC method. - */ -export interface QueryEpochProvisionsResponse { - /** epoch_provisions is the current minting per epoch provisions value. */ - epochProvisions: Uint8Array; -} -export interface QueryEpochProvisionsResponseProtoMsg { - typeUrl: "/osmosis.mint.v1beta1.QueryEpochProvisionsResponse"; - value: Uint8Array; -} -/** - * QueryEpochProvisionsResponse is the response type for the - * Query/EpochProvisions RPC method. - */ -export interface QueryEpochProvisionsResponseAmino { - /** epoch_provisions is the current minting per epoch provisions value. */ - epoch_provisions?: string; -} -export interface QueryEpochProvisionsResponseAminoMsg { - type: "osmosis/mint/query-epoch-provisions-response"; - value: QueryEpochProvisionsResponseAmino; -} -/** - * QueryEpochProvisionsResponse is the response type for the - * Query/EpochProvisions RPC method. - */ -export interface QueryEpochProvisionsResponseSDKType { - epoch_provisions: Uint8Array; -} -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: DeepPartial): QueryParamsRequest; - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryEpochProvisionsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryEpochProvisionsRequest; - isSDK(o: any): o is QueryEpochProvisionsRequestSDKType; - isAmino(o: any): o is QueryEpochProvisionsRequestAmino; - encode(_: QueryEpochProvisionsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryEpochProvisionsRequest; - fromJSON(_: any): QueryEpochProvisionsRequest; - toJSON(_: QueryEpochProvisionsRequest): unknown; - fromPartial(_: DeepPartial): QueryEpochProvisionsRequest; - fromSDK(_: QueryEpochProvisionsRequestSDKType): QueryEpochProvisionsRequest; - toSDK(_: QueryEpochProvisionsRequest): QueryEpochProvisionsRequestSDKType; - fromAmino(_: QueryEpochProvisionsRequestAmino): QueryEpochProvisionsRequest; - toAmino(_: QueryEpochProvisionsRequest): QueryEpochProvisionsRequestAmino; - fromAminoMsg(object: QueryEpochProvisionsRequestAminoMsg): QueryEpochProvisionsRequest; - toAminoMsg(message: QueryEpochProvisionsRequest): QueryEpochProvisionsRequestAminoMsg; - fromProtoMsg(message: QueryEpochProvisionsRequestProtoMsg): QueryEpochProvisionsRequest; - toProto(message: QueryEpochProvisionsRequest): Uint8Array; - toProtoMsg(message: QueryEpochProvisionsRequest): QueryEpochProvisionsRequestProtoMsg; -}; -export declare const QueryEpochProvisionsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryEpochProvisionsResponse; - isSDK(o: any): o is QueryEpochProvisionsResponseSDKType; - isAmino(o: any): o is QueryEpochProvisionsResponseAmino; - encode(message: QueryEpochProvisionsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryEpochProvisionsResponse; - fromJSON(object: any): QueryEpochProvisionsResponse; - toJSON(message: QueryEpochProvisionsResponse): unknown; - fromPartial(object: DeepPartial): QueryEpochProvisionsResponse; - fromSDK(object: QueryEpochProvisionsResponseSDKType): QueryEpochProvisionsResponse; - toSDK(message: QueryEpochProvisionsResponse): QueryEpochProvisionsResponseSDKType; - fromAmino(object: QueryEpochProvisionsResponseAmino): QueryEpochProvisionsResponse; - toAmino(message: QueryEpochProvisionsResponse): QueryEpochProvisionsResponseAmino; - fromAminoMsg(object: QueryEpochProvisionsResponseAminoMsg): QueryEpochProvisionsResponse; - toAminoMsg(message: QueryEpochProvisionsResponse): QueryEpochProvisionsResponseAminoMsg; - fromProtoMsg(message: QueryEpochProvisionsResponseProtoMsg): QueryEpochProvisionsResponse; - toProto(message: QueryEpochProvisionsResponse): Uint8Array; - toProtoMsg(message: QueryEpochProvisionsResponse): QueryEpochProvisionsResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/mint/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/osmosis/mint/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 5c52e7b5..00000000 --- a/examples/authz/types/codegen/osmosis/mint/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryParamsRequest, QueryParamsResponse, QueryEpochProvisionsRequest, QueryEpochProvisionsResponse } from "./query"; -/** Query provides defines the gRPC querier service. */ -export interface Query { - /** Params returns the total set of minting parameters. */ - params(request?: QueryParamsRequest): Promise; - /** EpochProvisions returns the current minting epoch provisions value. */ - epochProvisions(request?: QueryEpochProvisionsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - params: (request?: QueryParamsRequest) => Promise; - epochProvisions: (request?: QueryEpochProvisionsRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseParamsQuery extends ReactQueryParams { - request?: QueryParamsRequest; -} -export interface UseEpochProvisionsQuery extends ReactQueryParams { - request?: QueryEpochProvisionsRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Params returns the total set of minting parameters. */ useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - /** EpochProvisions returns the current minting epoch provisions value. */ useEpochProvisions: ({ request, options }: UseEpochProvisionsQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Params returns the total set of minting parameters. */ QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** EpochProvisions returns the current minting epoch provisions value. */ QueryEpochProvisionsStore: { - new (): { - store: QueryStore; - epochProvisions(request: QueryEpochProvisionsRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/genesis.d.ts b/examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/genesis.d.ts deleted file mode 100644 index 99bd50b2..00000000 --- a/examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/genesis.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType, DistrInfo, DistrInfoAmino, DistrInfoSDKType, PoolToGauges, PoolToGaugesAmino, PoolToGaugesSDKType } from "./incentives"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the pool incentives module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params: Params | undefined; - lockableDurations: Duration[]; - distrInfo?: DistrInfo | undefined; - poolToGauges?: PoolToGauges | undefined; -} -export interface GenesisStateProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the pool incentives module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of the module. */ - params?: ParamsAmino | undefined; - lockable_durations?: DurationAmino[]; - distr_info?: DistrInfoAmino | undefined; - pool_to_gauges?: PoolToGaugesAmino | undefined; -} -export interface GenesisStateAminoMsg { - type: "osmosis/poolincentives/genesis-state"; - value: GenesisStateAmino; -} -/** GenesisState defines the pool incentives module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType | undefined; - lockable_durations: DurationSDKType[]; - distr_info?: DistrInfoSDKType | undefined; - pool_to_gauges?: PoolToGaugesSDKType | undefined; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/gov.d.ts b/examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/gov.d.ts deleted file mode 100644 index b10a7160..00000000 --- a/examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/gov.d.ts +++ /dev/null @@ -1,149 +0,0 @@ -import { DistrRecord, DistrRecordAmino, DistrRecordSDKType } from "./incentives"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * ReplacePoolIncentivesProposal is a gov Content type for updating the pool - * incentives. If a ReplacePoolIncentivesProposal passes, the proposal’s records - * override the existing DistrRecords set in the module. Each record has a - * specified gauge id and weight, and the incentives are distributed to each - * gauge according to weight/total_weight. The incentives are put in the fee - * pool and it is allocated to gauges and community pool by the DistrRecords - * configuration. Note that gaugeId=0 represents the community pool. - */ -export interface ReplacePoolIncentivesProposal { - $typeUrl?: "/osmosis.poolincentives.v1beta1.ReplacePoolIncentivesProposal"; - title: string; - description: string; - records: DistrRecord[]; -} -export interface ReplacePoolIncentivesProposalProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.ReplacePoolIncentivesProposal"; - value: Uint8Array; -} -/** - * ReplacePoolIncentivesProposal is a gov Content type for updating the pool - * incentives. If a ReplacePoolIncentivesProposal passes, the proposal’s records - * override the existing DistrRecords set in the module. Each record has a - * specified gauge id and weight, and the incentives are distributed to each - * gauge according to weight/total_weight. The incentives are put in the fee - * pool and it is allocated to gauges and community pool by the DistrRecords - * configuration. Note that gaugeId=0 represents the community pool. - */ -export interface ReplacePoolIncentivesProposalAmino { - title?: string; - description?: string; - records?: DistrRecordAmino[]; -} -export interface ReplacePoolIncentivesProposalAminoMsg { - type: "osmosis/poolincentives/replace-pool-incentives-proposal"; - value: ReplacePoolIncentivesProposalAmino; -} -/** - * ReplacePoolIncentivesProposal is a gov Content type for updating the pool - * incentives. If a ReplacePoolIncentivesProposal passes, the proposal’s records - * override the existing DistrRecords set in the module. Each record has a - * specified gauge id and weight, and the incentives are distributed to each - * gauge according to weight/total_weight. The incentives are put in the fee - * pool and it is allocated to gauges and community pool by the DistrRecords - * configuration. Note that gaugeId=0 represents the community pool. - */ -export interface ReplacePoolIncentivesProposalSDKType { - $typeUrl?: "/osmosis.poolincentives.v1beta1.ReplacePoolIncentivesProposal"; - title: string; - description: string; - records: DistrRecordSDKType[]; -} -/** - * For example: if the existing DistrRecords were: - * [(Gauge 0, 5), (Gauge 1, 6), (Gauge 2, 6)] - * An UpdatePoolIncentivesProposal includes - * [(Gauge 1, 0), (Gauge 2, 4), (Gauge 3, 10)] - * This would delete Gauge 1, Edit Gauge 2, and Add Gauge 3 - * The result DistrRecords in state would be: - * [(Gauge 0, 5), (Gauge 2, 4), (Gauge 3, 10)] - */ -export interface UpdatePoolIncentivesProposal { - $typeUrl?: "/osmosis.poolincentives.v1beta1.UpdatePoolIncentivesProposal"; - title: string; - description: string; - records: DistrRecord[]; -} -export interface UpdatePoolIncentivesProposalProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.UpdatePoolIncentivesProposal"; - value: Uint8Array; -} -/** - * For example: if the existing DistrRecords were: - * [(Gauge 0, 5), (Gauge 1, 6), (Gauge 2, 6)] - * An UpdatePoolIncentivesProposal includes - * [(Gauge 1, 0), (Gauge 2, 4), (Gauge 3, 10)] - * This would delete Gauge 1, Edit Gauge 2, and Add Gauge 3 - * The result DistrRecords in state would be: - * [(Gauge 0, 5), (Gauge 2, 4), (Gauge 3, 10)] - */ -export interface UpdatePoolIncentivesProposalAmino { - title?: string; - description?: string; - records?: DistrRecordAmino[]; -} -export interface UpdatePoolIncentivesProposalAminoMsg { - type: "osmosis/poolincentives/update-pool-incentives-proposal"; - value: UpdatePoolIncentivesProposalAmino; -} -/** - * For example: if the existing DistrRecords were: - * [(Gauge 0, 5), (Gauge 1, 6), (Gauge 2, 6)] - * An UpdatePoolIncentivesProposal includes - * [(Gauge 1, 0), (Gauge 2, 4), (Gauge 3, 10)] - * This would delete Gauge 1, Edit Gauge 2, and Add Gauge 3 - * The result DistrRecords in state would be: - * [(Gauge 0, 5), (Gauge 2, 4), (Gauge 3, 10)] - */ -export interface UpdatePoolIncentivesProposalSDKType { - $typeUrl?: "/osmosis.poolincentives.v1beta1.UpdatePoolIncentivesProposal"; - title: string; - description: string; - records: DistrRecordSDKType[]; -} -export declare const ReplacePoolIncentivesProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is ReplacePoolIncentivesProposal; - isSDK(o: any): o is ReplacePoolIncentivesProposalSDKType; - isAmino(o: any): o is ReplacePoolIncentivesProposalAmino; - encode(message: ReplacePoolIncentivesProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ReplacePoolIncentivesProposal; - fromJSON(object: any): ReplacePoolIncentivesProposal; - toJSON(message: ReplacePoolIncentivesProposal): unknown; - fromPartial(object: DeepPartial): ReplacePoolIncentivesProposal; - fromSDK(object: ReplacePoolIncentivesProposalSDKType): ReplacePoolIncentivesProposal; - toSDK(message: ReplacePoolIncentivesProposal): ReplacePoolIncentivesProposalSDKType; - fromAmino(object: ReplacePoolIncentivesProposalAmino): ReplacePoolIncentivesProposal; - toAmino(message: ReplacePoolIncentivesProposal): ReplacePoolIncentivesProposalAmino; - fromAminoMsg(object: ReplacePoolIncentivesProposalAminoMsg): ReplacePoolIncentivesProposal; - toAminoMsg(message: ReplacePoolIncentivesProposal): ReplacePoolIncentivesProposalAminoMsg; - fromProtoMsg(message: ReplacePoolIncentivesProposalProtoMsg): ReplacePoolIncentivesProposal; - toProto(message: ReplacePoolIncentivesProposal): Uint8Array; - toProtoMsg(message: ReplacePoolIncentivesProposal): ReplacePoolIncentivesProposalProtoMsg; -}; -export declare const UpdatePoolIncentivesProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is UpdatePoolIncentivesProposal; - isSDK(o: any): o is UpdatePoolIncentivesProposalSDKType; - isAmino(o: any): o is UpdatePoolIncentivesProposalAmino; - encode(message: UpdatePoolIncentivesProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): UpdatePoolIncentivesProposal; - fromJSON(object: any): UpdatePoolIncentivesProposal; - toJSON(message: UpdatePoolIncentivesProposal): unknown; - fromPartial(object: DeepPartial): UpdatePoolIncentivesProposal; - fromSDK(object: UpdatePoolIncentivesProposalSDKType): UpdatePoolIncentivesProposal; - toSDK(message: UpdatePoolIncentivesProposal): UpdatePoolIncentivesProposalSDKType; - fromAmino(object: UpdatePoolIncentivesProposalAmino): UpdatePoolIncentivesProposal; - toAmino(message: UpdatePoolIncentivesProposal): UpdatePoolIncentivesProposalAmino; - fromAminoMsg(object: UpdatePoolIncentivesProposalAminoMsg): UpdatePoolIncentivesProposal; - toAminoMsg(message: UpdatePoolIncentivesProposal): UpdatePoolIncentivesProposalAminoMsg; - fromProtoMsg(message: UpdatePoolIncentivesProposalProtoMsg): UpdatePoolIncentivesProposal; - toProto(message: UpdatePoolIncentivesProposal): Uint8Array; - toProtoMsg(message: UpdatePoolIncentivesProposal): UpdatePoolIncentivesProposalProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/incentives.d.ts b/examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/incentives.d.ts deleted file mode 100644 index fc3bec53..00000000 --- a/examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/incentives.d.ts +++ /dev/null @@ -1,255 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -export interface Params { - /** - * minted_denom is the denomination of the coin expected to be minted by the - * minting module. Pool-incentives module doesn’t actually mint the coin - * itself, but rather manages the distribution of coins that matches the - * defined minted_denom. - */ - mintedDenom: string; -} -export interface ParamsProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.Params"; - value: Uint8Array; -} -export interface ParamsAmino { - /** - * minted_denom is the denomination of the coin expected to be minted by the - * minting module. Pool-incentives module doesn’t actually mint the coin - * itself, but rather manages the distribution of coins that matches the - * defined minted_denom. - */ - minted_denom?: string; -} -export interface ParamsAminoMsg { - type: "osmosis/poolincentives/params"; - value: ParamsAmino; -} -export interface ParamsSDKType { - minted_denom: string; -} -export interface LockableDurationsInfo { - lockableDurations: Duration[]; -} -export interface LockableDurationsInfoProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.LockableDurationsInfo"; - value: Uint8Array; -} -export interface LockableDurationsInfoAmino { - lockable_durations?: DurationAmino[]; -} -export interface LockableDurationsInfoAminoMsg { - type: "osmosis/poolincentives/lockable-durations-info"; - value: LockableDurationsInfoAmino; -} -export interface LockableDurationsInfoSDKType { - lockable_durations: DurationSDKType[]; -} -export interface DistrInfo { - totalWeight: string; - records: DistrRecord[]; -} -export interface DistrInfoProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.DistrInfo"; - value: Uint8Array; -} -export interface DistrInfoAmino { - total_weight?: string; - records?: DistrRecordAmino[]; -} -export interface DistrInfoAminoMsg { - type: "osmosis/poolincentives/distr-info"; - value: DistrInfoAmino; -} -export interface DistrInfoSDKType { - total_weight: string; - records: DistrRecordSDKType[]; -} -export interface DistrRecord { - gaugeId: bigint; - weight: string; -} -export interface DistrRecordProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.DistrRecord"; - value: Uint8Array; -} -export interface DistrRecordAmino { - gauge_id?: string; - weight?: string; -} -export interface DistrRecordAminoMsg { - type: "osmosis/poolincentives/distr-record"; - value: DistrRecordAmino; -} -export interface DistrRecordSDKType { - gauge_id: bigint; - weight: string; -} -export interface PoolToGauge { - poolId: bigint; - gaugeId: bigint; - duration: Duration | undefined; -} -export interface PoolToGaugeProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.PoolToGauge"; - value: Uint8Array; -} -export interface PoolToGaugeAmino { - pool_id?: string; - gauge_id?: string; - duration?: DurationAmino | undefined; -} -export interface PoolToGaugeAminoMsg { - type: "osmosis/poolincentives/pool-to-gauge"; - value: PoolToGaugeAmino; -} -export interface PoolToGaugeSDKType { - pool_id: bigint; - gauge_id: bigint; - duration: DurationSDKType | undefined; -} -export interface PoolToGauges { - poolToGauge: PoolToGauge[]; -} -export interface PoolToGaugesProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.PoolToGauges"; - value: Uint8Array; -} -export interface PoolToGaugesAmino { - pool_to_gauge?: PoolToGaugeAmino[]; -} -export interface PoolToGaugesAminoMsg { - type: "osmosis/poolincentives/pool-to-gauges"; - value: PoolToGaugesAmino; -} -export interface PoolToGaugesSDKType { - pool_to_gauge: PoolToGaugeSDKType[]; -} -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; -export declare const LockableDurationsInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is LockableDurationsInfo; - isSDK(o: any): o is LockableDurationsInfoSDKType; - isAmino(o: any): o is LockableDurationsInfoAmino; - encode(message: LockableDurationsInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): LockableDurationsInfo; - fromJSON(object: any): LockableDurationsInfo; - toJSON(message: LockableDurationsInfo): unknown; - fromPartial(object: DeepPartial): LockableDurationsInfo; - fromSDK(object: LockableDurationsInfoSDKType): LockableDurationsInfo; - toSDK(message: LockableDurationsInfo): LockableDurationsInfoSDKType; - fromAmino(object: LockableDurationsInfoAmino): LockableDurationsInfo; - toAmino(message: LockableDurationsInfo): LockableDurationsInfoAmino; - fromAminoMsg(object: LockableDurationsInfoAminoMsg): LockableDurationsInfo; - toAminoMsg(message: LockableDurationsInfo): LockableDurationsInfoAminoMsg; - fromProtoMsg(message: LockableDurationsInfoProtoMsg): LockableDurationsInfo; - toProto(message: LockableDurationsInfo): Uint8Array; - toProtoMsg(message: LockableDurationsInfo): LockableDurationsInfoProtoMsg; -}; -export declare const DistrInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is DistrInfo; - isSDK(o: any): o is DistrInfoSDKType; - isAmino(o: any): o is DistrInfoAmino; - encode(message: DistrInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DistrInfo; - fromJSON(object: any): DistrInfo; - toJSON(message: DistrInfo): unknown; - fromPartial(object: DeepPartial): DistrInfo; - fromSDK(object: DistrInfoSDKType): DistrInfo; - toSDK(message: DistrInfo): DistrInfoSDKType; - fromAmino(object: DistrInfoAmino): DistrInfo; - toAmino(message: DistrInfo): DistrInfoAmino; - fromAminoMsg(object: DistrInfoAminoMsg): DistrInfo; - toAminoMsg(message: DistrInfo): DistrInfoAminoMsg; - fromProtoMsg(message: DistrInfoProtoMsg): DistrInfo; - toProto(message: DistrInfo): Uint8Array; - toProtoMsg(message: DistrInfo): DistrInfoProtoMsg; -}; -export declare const DistrRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is DistrRecord; - isSDK(o: any): o is DistrRecordSDKType; - isAmino(o: any): o is DistrRecordAmino; - encode(message: DistrRecord, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DistrRecord; - fromJSON(object: any): DistrRecord; - toJSON(message: DistrRecord): unknown; - fromPartial(object: DeepPartial): DistrRecord; - fromSDK(object: DistrRecordSDKType): DistrRecord; - toSDK(message: DistrRecord): DistrRecordSDKType; - fromAmino(object: DistrRecordAmino): DistrRecord; - toAmino(message: DistrRecord): DistrRecordAmino; - fromAminoMsg(object: DistrRecordAminoMsg): DistrRecord; - toAminoMsg(message: DistrRecord): DistrRecordAminoMsg; - fromProtoMsg(message: DistrRecordProtoMsg): DistrRecord; - toProto(message: DistrRecord): Uint8Array; - toProtoMsg(message: DistrRecord): DistrRecordProtoMsg; -}; -export declare const PoolToGauge: { - typeUrl: string; - aminoType: string; - is(o: any): o is PoolToGauge; - isSDK(o: any): o is PoolToGaugeSDKType; - isAmino(o: any): o is PoolToGaugeAmino; - encode(message: PoolToGauge, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PoolToGauge; - fromJSON(object: any): PoolToGauge; - toJSON(message: PoolToGauge): unknown; - fromPartial(object: DeepPartial): PoolToGauge; - fromSDK(object: PoolToGaugeSDKType): PoolToGauge; - toSDK(message: PoolToGauge): PoolToGaugeSDKType; - fromAmino(object: PoolToGaugeAmino): PoolToGauge; - toAmino(message: PoolToGauge): PoolToGaugeAmino; - fromAminoMsg(object: PoolToGaugeAminoMsg): PoolToGauge; - toAminoMsg(message: PoolToGauge): PoolToGaugeAminoMsg; - fromProtoMsg(message: PoolToGaugeProtoMsg): PoolToGauge; - toProto(message: PoolToGauge): Uint8Array; - toProtoMsg(message: PoolToGauge): PoolToGaugeProtoMsg; -}; -export declare const PoolToGauges: { - typeUrl: string; - aminoType: string; - is(o: any): o is PoolToGauges; - isSDK(o: any): o is PoolToGaugesSDKType; - isAmino(o: any): o is PoolToGaugesAmino; - encode(message: PoolToGauges, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PoolToGauges; - fromJSON(object: any): PoolToGauges; - toJSON(message: PoolToGauges): unknown; - fromPartial(object: DeepPartial): PoolToGauges; - fromSDK(object: PoolToGaugesSDKType): PoolToGauges; - toSDK(message: PoolToGauges): PoolToGaugesSDKType; - fromAmino(object: PoolToGaugesAmino): PoolToGauges; - toAmino(message: PoolToGauges): PoolToGaugesAmino; - fromAminoMsg(object: PoolToGaugesAminoMsg): PoolToGauges; - toAminoMsg(message: PoolToGauges): PoolToGaugesAminoMsg; - fromProtoMsg(message: PoolToGaugesProtoMsg): PoolToGauges; - toProto(message: PoolToGauges): Uint8Array; - toProtoMsg(message: PoolToGauges): PoolToGaugesProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/query.d.ts b/examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/query.d.ts deleted file mode 100644 index 71aa1628..00000000 --- a/examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/query.d.ts +++ /dev/null @@ -1,534 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { DistrInfo, DistrInfoAmino, DistrInfoSDKType, Params, ParamsAmino, ParamsSDKType } from "./incentives"; -import { Gauge, GaugeAmino, GaugeSDKType } from "../../incentives/gauge"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -export interface QueryGaugeIdsRequest { - poolId: bigint; -} -export interface QueryGaugeIdsRequestProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.QueryGaugeIdsRequest"; - value: Uint8Array; -} -export interface QueryGaugeIdsRequestAmino { - pool_id?: string; -} -export interface QueryGaugeIdsRequestAminoMsg { - type: "osmosis/poolincentives/query-gauge-ids-request"; - value: QueryGaugeIdsRequestAmino; -} -export interface QueryGaugeIdsRequestSDKType { - pool_id: bigint; -} -export interface QueryGaugeIdsResponse { - gaugeIdsWithDuration: QueryGaugeIdsResponse_GaugeIdWithDuration[]; -} -export interface QueryGaugeIdsResponseProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.QueryGaugeIdsResponse"; - value: Uint8Array; -} -export interface QueryGaugeIdsResponseAmino { - gauge_ids_with_duration?: QueryGaugeIdsResponse_GaugeIdWithDurationAmino[]; -} -export interface QueryGaugeIdsResponseAminoMsg { - type: "osmosis/poolincentives/query-gauge-ids-response"; - value: QueryGaugeIdsResponseAmino; -} -export interface QueryGaugeIdsResponseSDKType { - gauge_ids_with_duration: QueryGaugeIdsResponse_GaugeIdWithDurationSDKType[]; -} -export interface QueryGaugeIdsResponse_GaugeIdWithDuration { - gaugeId: bigint; - duration: Duration | undefined; - gaugeIncentivePercentage: string; -} -export interface QueryGaugeIdsResponse_GaugeIdWithDurationProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.GaugeIdWithDuration"; - value: Uint8Array; -} -export interface QueryGaugeIdsResponse_GaugeIdWithDurationAmino { - gauge_id?: string; - duration?: DurationAmino | undefined; - gauge_incentive_percentage?: string; -} -export interface QueryGaugeIdsResponse_GaugeIdWithDurationAminoMsg { - type: "osmosis/poolincentives/gauge-id-with-duration"; - value: QueryGaugeIdsResponse_GaugeIdWithDurationAmino; -} -export interface QueryGaugeIdsResponse_GaugeIdWithDurationSDKType { - gauge_id: bigint; - duration: DurationSDKType | undefined; - gauge_incentive_percentage: string; -} -export interface QueryDistrInfoRequest { -} -export interface QueryDistrInfoRequestProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.QueryDistrInfoRequest"; - value: Uint8Array; -} -export interface QueryDistrInfoRequestAmino { -} -export interface QueryDistrInfoRequestAminoMsg { - type: "osmosis/poolincentives/query-distr-info-request"; - value: QueryDistrInfoRequestAmino; -} -export interface QueryDistrInfoRequestSDKType { -} -export interface QueryDistrInfoResponse { - distrInfo: DistrInfo | undefined; -} -export interface QueryDistrInfoResponseProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.QueryDistrInfoResponse"; - value: Uint8Array; -} -export interface QueryDistrInfoResponseAmino { - distr_info?: DistrInfoAmino | undefined; -} -export interface QueryDistrInfoResponseAminoMsg { - type: "osmosis/poolincentives/query-distr-info-response"; - value: QueryDistrInfoResponseAmino; -} -export interface QueryDistrInfoResponseSDKType { - distr_info: DistrInfoSDKType | undefined; -} -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "osmosis/poolincentives/query-params-request"; - value: QueryParamsRequestAmino; -} -export interface QueryParamsRequestSDKType { -} -export interface QueryParamsResponse { - params: Params | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -export interface QueryParamsResponseAmino { - params?: ParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "osmosis/poolincentives/query-params-response"; - value: QueryParamsResponseAmino; -} -export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; -} -export interface QueryLockableDurationsRequest { -} -export interface QueryLockableDurationsRequestProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.QueryLockableDurationsRequest"; - value: Uint8Array; -} -export interface QueryLockableDurationsRequestAmino { -} -export interface QueryLockableDurationsRequestAminoMsg { - type: "osmosis/poolincentives/query-lockable-durations-request"; - value: QueryLockableDurationsRequestAmino; -} -export interface QueryLockableDurationsRequestSDKType { -} -export interface QueryLockableDurationsResponse { - lockableDurations: Duration[]; -} -export interface QueryLockableDurationsResponseProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.QueryLockableDurationsResponse"; - value: Uint8Array; -} -export interface QueryLockableDurationsResponseAmino { - lockable_durations?: DurationAmino[]; -} -export interface QueryLockableDurationsResponseAminoMsg { - type: "osmosis/poolincentives/query-lockable-durations-response"; - value: QueryLockableDurationsResponseAmino; -} -export interface QueryLockableDurationsResponseSDKType { - lockable_durations: DurationSDKType[]; -} -export interface QueryIncentivizedPoolsRequest { -} -export interface QueryIncentivizedPoolsRequestProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.QueryIncentivizedPoolsRequest"; - value: Uint8Array; -} -export interface QueryIncentivizedPoolsRequestAmino { -} -export interface QueryIncentivizedPoolsRequestAminoMsg { - type: "osmosis/poolincentives/query-incentivized-pools-request"; - value: QueryIncentivizedPoolsRequestAmino; -} -export interface QueryIncentivizedPoolsRequestSDKType { -} -export interface IncentivizedPool { - poolId: bigint; - lockableDuration: Duration | undefined; - gaugeId: bigint; -} -export interface IncentivizedPoolProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.IncentivizedPool"; - value: Uint8Array; -} -export interface IncentivizedPoolAmino { - pool_id?: string; - lockable_duration?: DurationAmino | undefined; - gauge_id?: string; -} -export interface IncentivizedPoolAminoMsg { - type: "osmosis/poolincentives/incentivized-pool"; - value: IncentivizedPoolAmino; -} -export interface IncentivizedPoolSDKType { - pool_id: bigint; - lockable_duration: DurationSDKType | undefined; - gauge_id: bigint; -} -export interface QueryIncentivizedPoolsResponse { - incentivizedPools: IncentivizedPool[]; -} -export interface QueryIncentivizedPoolsResponseProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.QueryIncentivizedPoolsResponse"; - value: Uint8Array; -} -export interface QueryIncentivizedPoolsResponseAmino { - incentivized_pools?: IncentivizedPoolAmino[]; -} -export interface QueryIncentivizedPoolsResponseAminoMsg { - type: "osmosis/poolincentives/query-incentivized-pools-response"; - value: QueryIncentivizedPoolsResponseAmino; -} -export interface QueryIncentivizedPoolsResponseSDKType { - incentivized_pools: IncentivizedPoolSDKType[]; -} -export interface QueryExternalIncentiveGaugesRequest { -} -export interface QueryExternalIncentiveGaugesRequestProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.QueryExternalIncentiveGaugesRequest"; - value: Uint8Array; -} -export interface QueryExternalIncentiveGaugesRequestAmino { -} -export interface QueryExternalIncentiveGaugesRequestAminoMsg { - type: "osmosis/poolincentives/query-external-incentive-gauges-request"; - value: QueryExternalIncentiveGaugesRequestAmino; -} -export interface QueryExternalIncentiveGaugesRequestSDKType { -} -export interface QueryExternalIncentiveGaugesResponse { - data: Gauge[]; -} -export interface QueryExternalIncentiveGaugesResponseProtoMsg { - typeUrl: "/osmosis.poolincentives.v1beta1.QueryExternalIncentiveGaugesResponse"; - value: Uint8Array; -} -export interface QueryExternalIncentiveGaugesResponseAmino { - data?: GaugeAmino[]; -} -export interface QueryExternalIncentiveGaugesResponseAminoMsg { - type: "osmosis/poolincentives/query-external-incentive-gauges-response"; - value: QueryExternalIncentiveGaugesResponseAmino; -} -export interface QueryExternalIncentiveGaugesResponseSDKType { - data: GaugeSDKType[]; -} -export declare const QueryGaugeIdsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGaugeIdsRequest; - isSDK(o: any): o is QueryGaugeIdsRequestSDKType; - isAmino(o: any): o is QueryGaugeIdsRequestAmino; - encode(message: QueryGaugeIdsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGaugeIdsRequest; - fromJSON(object: any): QueryGaugeIdsRequest; - toJSON(message: QueryGaugeIdsRequest): unknown; - fromPartial(object: DeepPartial): QueryGaugeIdsRequest; - fromSDK(object: QueryGaugeIdsRequestSDKType): QueryGaugeIdsRequest; - toSDK(message: QueryGaugeIdsRequest): QueryGaugeIdsRequestSDKType; - fromAmino(object: QueryGaugeIdsRequestAmino): QueryGaugeIdsRequest; - toAmino(message: QueryGaugeIdsRequest): QueryGaugeIdsRequestAmino; - fromAminoMsg(object: QueryGaugeIdsRequestAminoMsg): QueryGaugeIdsRequest; - toAminoMsg(message: QueryGaugeIdsRequest): QueryGaugeIdsRequestAminoMsg; - fromProtoMsg(message: QueryGaugeIdsRequestProtoMsg): QueryGaugeIdsRequest; - toProto(message: QueryGaugeIdsRequest): Uint8Array; - toProtoMsg(message: QueryGaugeIdsRequest): QueryGaugeIdsRequestProtoMsg; -}; -export declare const QueryGaugeIdsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGaugeIdsResponse; - isSDK(o: any): o is QueryGaugeIdsResponseSDKType; - isAmino(o: any): o is QueryGaugeIdsResponseAmino; - encode(message: QueryGaugeIdsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGaugeIdsResponse; - fromJSON(object: any): QueryGaugeIdsResponse; - toJSON(message: QueryGaugeIdsResponse): unknown; - fromPartial(object: DeepPartial): QueryGaugeIdsResponse; - fromSDK(object: QueryGaugeIdsResponseSDKType): QueryGaugeIdsResponse; - toSDK(message: QueryGaugeIdsResponse): QueryGaugeIdsResponseSDKType; - fromAmino(object: QueryGaugeIdsResponseAmino): QueryGaugeIdsResponse; - toAmino(message: QueryGaugeIdsResponse): QueryGaugeIdsResponseAmino; - fromAminoMsg(object: QueryGaugeIdsResponseAminoMsg): QueryGaugeIdsResponse; - toAminoMsg(message: QueryGaugeIdsResponse): QueryGaugeIdsResponseAminoMsg; - fromProtoMsg(message: QueryGaugeIdsResponseProtoMsg): QueryGaugeIdsResponse; - toProto(message: QueryGaugeIdsResponse): Uint8Array; - toProtoMsg(message: QueryGaugeIdsResponse): QueryGaugeIdsResponseProtoMsg; -}; -export declare const QueryGaugeIdsResponse_GaugeIdWithDuration: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryGaugeIdsResponse_GaugeIdWithDuration; - isSDK(o: any): o is QueryGaugeIdsResponse_GaugeIdWithDurationSDKType; - isAmino(o: any): o is QueryGaugeIdsResponse_GaugeIdWithDurationAmino; - encode(message: QueryGaugeIdsResponse_GaugeIdWithDuration, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryGaugeIdsResponse_GaugeIdWithDuration; - fromJSON(object: any): QueryGaugeIdsResponse_GaugeIdWithDuration; - toJSON(message: QueryGaugeIdsResponse_GaugeIdWithDuration): unknown; - fromPartial(object: DeepPartial): QueryGaugeIdsResponse_GaugeIdWithDuration; - fromSDK(object: QueryGaugeIdsResponse_GaugeIdWithDurationSDKType): QueryGaugeIdsResponse_GaugeIdWithDuration; - toSDK(message: QueryGaugeIdsResponse_GaugeIdWithDuration): QueryGaugeIdsResponse_GaugeIdWithDurationSDKType; - fromAmino(object: QueryGaugeIdsResponse_GaugeIdWithDurationAmino): QueryGaugeIdsResponse_GaugeIdWithDuration; - toAmino(message: QueryGaugeIdsResponse_GaugeIdWithDuration): QueryGaugeIdsResponse_GaugeIdWithDurationAmino; - fromAminoMsg(object: QueryGaugeIdsResponse_GaugeIdWithDurationAminoMsg): QueryGaugeIdsResponse_GaugeIdWithDuration; - toAminoMsg(message: QueryGaugeIdsResponse_GaugeIdWithDuration): QueryGaugeIdsResponse_GaugeIdWithDurationAminoMsg; - fromProtoMsg(message: QueryGaugeIdsResponse_GaugeIdWithDurationProtoMsg): QueryGaugeIdsResponse_GaugeIdWithDuration; - toProto(message: QueryGaugeIdsResponse_GaugeIdWithDuration): Uint8Array; - toProtoMsg(message: QueryGaugeIdsResponse_GaugeIdWithDuration): QueryGaugeIdsResponse_GaugeIdWithDurationProtoMsg; -}; -export declare const QueryDistrInfoRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDistrInfoRequest; - isSDK(o: any): o is QueryDistrInfoRequestSDKType; - isAmino(o: any): o is QueryDistrInfoRequestAmino; - encode(_: QueryDistrInfoRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDistrInfoRequest; - fromJSON(_: any): QueryDistrInfoRequest; - toJSON(_: QueryDistrInfoRequest): unknown; - fromPartial(_: DeepPartial): QueryDistrInfoRequest; - fromSDK(_: QueryDistrInfoRequestSDKType): QueryDistrInfoRequest; - toSDK(_: QueryDistrInfoRequest): QueryDistrInfoRequestSDKType; - fromAmino(_: QueryDistrInfoRequestAmino): QueryDistrInfoRequest; - toAmino(_: QueryDistrInfoRequest): QueryDistrInfoRequestAmino; - fromAminoMsg(object: QueryDistrInfoRequestAminoMsg): QueryDistrInfoRequest; - toAminoMsg(message: QueryDistrInfoRequest): QueryDistrInfoRequestAminoMsg; - fromProtoMsg(message: QueryDistrInfoRequestProtoMsg): QueryDistrInfoRequest; - toProto(message: QueryDistrInfoRequest): Uint8Array; - toProtoMsg(message: QueryDistrInfoRequest): QueryDistrInfoRequestProtoMsg; -}; -export declare const QueryDistrInfoResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDistrInfoResponse; - isSDK(o: any): o is QueryDistrInfoResponseSDKType; - isAmino(o: any): o is QueryDistrInfoResponseAmino; - encode(message: QueryDistrInfoResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDistrInfoResponse; - fromJSON(object: any): QueryDistrInfoResponse; - toJSON(message: QueryDistrInfoResponse): unknown; - fromPartial(object: DeepPartial): QueryDistrInfoResponse; - fromSDK(object: QueryDistrInfoResponseSDKType): QueryDistrInfoResponse; - toSDK(message: QueryDistrInfoResponse): QueryDistrInfoResponseSDKType; - fromAmino(object: QueryDistrInfoResponseAmino): QueryDistrInfoResponse; - toAmino(message: QueryDistrInfoResponse): QueryDistrInfoResponseAmino; - fromAminoMsg(object: QueryDistrInfoResponseAminoMsg): QueryDistrInfoResponse; - toAminoMsg(message: QueryDistrInfoResponse): QueryDistrInfoResponseAminoMsg; - fromProtoMsg(message: QueryDistrInfoResponseProtoMsg): QueryDistrInfoResponse; - toProto(message: QueryDistrInfoResponse): Uint8Array; - toProtoMsg(message: QueryDistrInfoResponse): QueryDistrInfoResponseProtoMsg; -}; -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: DeepPartial): QueryParamsRequest; - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryLockableDurationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryLockableDurationsRequest; - isSDK(o: any): o is QueryLockableDurationsRequestSDKType; - isAmino(o: any): o is QueryLockableDurationsRequestAmino; - encode(_: QueryLockableDurationsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryLockableDurationsRequest; - fromJSON(_: any): QueryLockableDurationsRequest; - toJSON(_: QueryLockableDurationsRequest): unknown; - fromPartial(_: DeepPartial): QueryLockableDurationsRequest; - fromSDK(_: QueryLockableDurationsRequestSDKType): QueryLockableDurationsRequest; - toSDK(_: QueryLockableDurationsRequest): QueryLockableDurationsRequestSDKType; - fromAmino(_: QueryLockableDurationsRequestAmino): QueryLockableDurationsRequest; - toAmino(_: QueryLockableDurationsRequest): QueryLockableDurationsRequestAmino; - fromAminoMsg(object: QueryLockableDurationsRequestAminoMsg): QueryLockableDurationsRequest; - toAminoMsg(message: QueryLockableDurationsRequest): QueryLockableDurationsRequestAminoMsg; - fromProtoMsg(message: QueryLockableDurationsRequestProtoMsg): QueryLockableDurationsRequest; - toProto(message: QueryLockableDurationsRequest): Uint8Array; - toProtoMsg(message: QueryLockableDurationsRequest): QueryLockableDurationsRequestProtoMsg; -}; -export declare const QueryLockableDurationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryLockableDurationsResponse; - isSDK(o: any): o is QueryLockableDurationsResponseSDKType; - isAmino(o: any): o is QueryLockableDurationsResponseAmino; - encode(message: QueryLockableDurationsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryLockableDurationsResponse; - fromJSON(object: any): QueryLockableDurationsResponse; - toJSON(message: QueryLockableDurationsResponse): unknown; - fromPartial(object: DeepPartial): QueryLockableDurationsResponse; - fromSDK(object: QueryLockableDurationsResponseSDKType): QueryLockableDurationsResponse; - toSDK(message: QueryLockableDurationsResponse): QueryLockableDurationsResponseSDKType; - fromAmino(object: QueryLockableDurationsResponseAmino): QueryLockableDurationsResponse; - toAmino(message: QueryLockableDurationsResponse): QueryLockableDurationsResponseAmino; - fromAminoMsg(object: QueryLockableDurationsResponseAminoMsg): QueryLockableDurationsResponse; - toAminoMsg(message: QueryLockableDurationsResponse): QueryLockableDurationsResponseAminoMsg; - fromProtoMsg(message: QueryLockableDurationsResponseProtoMsg): QueryLockableDurationsResponse; - toProto(message: QueryLockableDurationsResponse): Uint8Array; - toProtoMsg(message: QueryLockableDurationsResponse): QueryLockableDurationsResponseProtoMsg; -}; -export declare const QueryIncentivizedPoolsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryIncentivizedPoolsRequest; - isSDK(o: any): o is QueryIncentivizedPoolsRequestSDKType; - isAmino(o: any): o is QueryIncentivizedPoolsRequestAmino; - encode(_: QueryIncentivizedPoolsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryIncentivizedPoolsRequest; - fromJSON(_: any): QueryIncentivizedPoolsRequest; - toJSON(_: QueryIncentivizedPoolsRequest): unknown; - fromPartial(_: DeepPartial): QueryIncentivizedPoolsRequest; - fromSDK(_: QueryIncentivizedPoolsRequestSDKType): QueryIncentivizedPoolsRequest; - toSDK(_: QueryIncentivizedPoolsRequest): QueryIncentivizedPoolsRequestSDKType; - fromAmino(_: QueryIncentivizedPoolsRequestAmino): QueryIncentivizedPoolsRequest; - toAmino(_: QueryIncentivizedPoolsRequest): QueryIncentivizedPoolsRequestAmino; - fromAminoMsg(object: QueryIncentivizedPoolsRequestAminoMsg): QueryIncentivizedPoolsRequest; - toAminoMsg(message: QueryIncentivizedPoolsRequest): QueryIncentivizedPoolsRequestAminoMsg; - fromProtoMsg(message: QueryIncentivizedPoolsRequestProtoMsg): QueryIncentivizedPoolsRequest; - toProto(message: QueryIncentivizedPoolsRequest): Uint8Array; - toProtoMsg(message: QueryIncentivizedPoolsRequest): QueryIncentivizedPoolsRequestProtoMsg; -}; -export declare const IncentivizedPool: { - typeUrl: string; - aminoType: string; - is(o: any): o is IncentivizedPool; - isSDK(o: any): o is IncentivizedPoolSDKType; - isAmino(o: any): o is IncentivizedPoolAmino; - encode(message: IncentivizedPool, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): IncentivizedPool; - fromJSON(object: any): IncentivizedPool; - toJSON(message: IncentivizedPool): unknown; - fromPartial(object: DeepPartial): IncentivizedPool; - fromSDK(object: IncentivizedPoolSDKType): IncentivizedPool; - toSDK(message: IncentivizedPool): IncentivizedPoolSDKType; - fromAmino(object: IncentivizedPoolAmino): IncentivizedPool; - toAmino(message: IncentivizedPool): IncentivizedPoolAmino; - fromAminoMsg(object: IncentivizedPoolAminoMsg): IncentivizedPool; - toAminoMsg(message: IncentivizedPool): IncentivizedPoolAminoMsg; - fromProtoMsg(message: IncentivizedPoolProtoMsg): IncentivizedPool; - toProto(message: IncentivizedPool): Uint8Array; - toProtoMsg(message: IncentivizedPool): IncentivizedPoolProtoMsg; -}; -export declare const QueryIncentivizedPoolsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryIncentivizedPoolsResponse; - isSDK(o: any): o is QueryIncentivizedPoolsResponseSDKType; - isAmino(o: any): o is QueryIncentivizedPoolsResponseAmino; - encode(message: QueryIncentivizedPoolsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryIncentivizedPoolsResponse; - fromJSON(object: any): QueryIncentivizedPoolsResponse; - toJSON(message: QueryIncentivizedPoolsResponse): unknown; - fromPartial(object: DeepPartial): QueryIncentivizedPoolsResponse; - fromSDK(object: QueryIncentivizedPoolsResponseSDKType): QueryIncentivizedPoolsResponse; - toSDK(message: QueryIncentivizedPoolsResponse): QueryIncentivizedPoolsResponseSDKType; - fromAmino(object: QueryIncentivizedPoolsResponseAmino): QueryIncentivizedPoolsResponse; - toAmino(message: QueryIncentivizedPoolsResponse): QueryIncentivizedPoolsResponseAmino; - fromAminoMsg(object: QueryIncentivizedPoolsResponseAminoMsg): QueryIncentivizedPoolsResponse; - toAminoMsg(message: QueryIncentivizedPoolsResponse): QueryIncentivizedPoolsResponseAminoMsg; - fromProtoMsg(message: QueryIncentivizedPoolsResponseProtoMsg): QueryIncentivizedPoolsResponse; - toProto(message: QueryIncentivizedPoolsResponse): Uint8Array; - toProtoMsg(message: QueryIncentivizedPoolsResponse): QueryIncentivizedPoolsResponseProtoMsg; -}; -export declare const QueryExternalIncentiveGaugesRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryExternalIncentiveGaugesRequest; - isSDK(o: any): o is QueryExternalIncentiveGaugesRequestSDKType; - isAmino(o: any): o is QueryExternalIncentiveGaugesRequestAmino; - encode(_: QueryExternalIncentiveGaugesRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryExternalIncentiveGaugesRequest; - fromJSON(_: any): QueryExternalIncentiveGaugesRequest; - toJSON(_: QueryExternalIncentiveGaugesRequest): unknown; - fromPartial(_: DeepPartial): QueryExternalIncentiveGaugesRequest; - fromSDK(_: QueryExternalIncentiveGaugesRequestSDKType): QueryExternalIncentiveGaugesRequest; - toSDK(_: QueryExternalIncentiveGaugesRequest): QueryExternalIncentiveGaugesRequestSDKType; - fromAmino(_: QueryExternalIncentiveGaugesRequestAmino): QueryExternalIncentiveGaugesRequest; - toAmino(_: QueryExternalIncentiveGaugesRequest): QueryExternalIncentiveGaugesRequestAmino; - fromAminoMsg(object: QueryExternalIncentiveGaugesRequestAminoMsg): QueryExternalIncentiveGaugesRequest; - toAminoMsg(message: QueryExternalIncentiveGaugesRequest): QueryExternalIncentiveGaugesRequestAminoMsg; - fromProtoMsg(message: QueryExternalIncentiveGaugesRequestProtoMsg): QueryExternalIncentiveGaugesRequest; - toProto(message: QueryExternalIncentiveGaugesRequest): Uint8Array; - toProtoMsg(message: QueryExternalIncentiveGaugesRequest): QueryExternalIncentiveGaugesRequestProtoMsg; -}; -export declare const QueryExternalIncentiveGaugesResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryExternalIncentiveGaugesResponse; - isSDK(o: any): o is QueryExternalIncentiveGaugesResponseSDKType; - isAmino(o: any): o is QueryExternalIncentiveGaugesResponseAmino; - encode(message: QueryExternalIncentiveGaugesResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryExternalIncentiveGaugesResponse; - fromJSON(object: any): QueryExternalIncentiveGaugesResponse; - toJSON(message: QueryExternalIncentiveGaugesResponse): unknown; - fromPartial(object: DeepPartial): QueryExternalIncentiveGaugesResponse; - fromSDK(object: QueryExternalIncentiveGaugesResponseSDKType): QueryExternalIncentiveGaugesResponse; - toSDK(message: QueryExternalIncentiveGaugesResponse): QueryExternalIncentiveGaugesResponseSDKType; - fromAmino(object: QueryExternalIncentiveGaugesResponseAmino): QueryExternalIncentiveGaugesResponse; - toAmino(message: QueryExternalIncentiveGaugesResponse): QueryExternalIncentiveGaugesResponseAmino; - fromAminoMsg(object: QueryExternalIncentiveGaugesResponseAminoMsg): QueryExternalIncentiveGaugesResponse; - toAminoMsg(message: QueryExternalIncentiveGaugesResponse): QueryExternalIncentiveGaugesResponseAminoMsg; - fromProtoMsg(message: QueryExternalIncentiveGaugesResponseProtoMsg): QueryExternalIncentiveGaugesResponse; - toProto(message: QueryExternalIncentiveGaugesResponse): Uint8Array; - toProtoMsg(message: QueryExternalIncentiveGaugesResponse): QueryExternalIncentiveGaugesResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 65a26ce9..00000000 --- a/examples/authz/types/codegen/osmosis/pool-incentives/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryGaugeIdsRequest, QueryGaugeIdsResponse, QueryDistrInfoRequest, QueryDistrInfoResponse, QueryParamsRequest, QueryParamsResponse, QueryLockableDurationsRequest, QueryLockableDurationsResponse, QueryIncentivizedPoolsRequest, QueryIncentivizedPoolsResponse, QueryExternalIncentiveGaugesRequest, QueryExternalIncentiveGaugesResponse } from "./query"; -export interface Query { - /** GaugeIds takes the pool id and returns the matching gauge ids and durations */ - gaugeIds(request: QueryGaugeIdsRequest): Promise; - /** DistrInfo returns the pool's matching gauge ids and weights. */ - distrInfo(request?: QueryDistrInfoRequest): Promise; - /** Params returns pool incentives params. */ - params(request?: QueryParamsRequest): Promise; - /** LockableDurations returns lock durations for pools. */ - lockableDurations(request?: QueryLockableDurationsRequest): Promise; - /** IncentivizedPools returns currently incentivized pools */ - incentivizedPools(request?: QueryIncentivizedPoolsRequest): Promise; - /** ExternalIncentiveGauges returns external incentive gauges. */ - externalIncentiveGauges(request?: QueryExternalIncentiveGaugesRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - gaugeIds: (request: QueryGaugeIdsRequest) => Promise; - distrInfo: (request?: QueryDistrInfoRequest) => Promise; - params: (request?: QueryParamsRequest) => Promise; - lockableDurations: (request?: QueryLockableDurationsRequest) => Promise; - incentivizedPools: (request?: QueryIncentivizedPoolsRequest) => Promise; - externalIncentiveGauges: (request?: QueryExternalIncentiveGaugesRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseGaugeIdsQuery extends ReactQueryParams { - request: QueryGaugeIdsRequest; -} -export interface UseDistrInfoQuery extends ReactQueryParams { - request?: QueryDistrInfoRequest; -} -export interface UseParamsQuery extends ReactQueryParams { - request?: QueryParamsRequest; -} -export interface UseLockableDurationsQuery extends ReactQueryParams { - request?: QueryLockableDurationsRequest; -} -export interface UseIncentivizedPoolsQuery extends ReactQueryParams { - request?: QueryIncentivizedPoolsRequest; -} -export interface UseExternalIncentiveGaugesQuery extends ReactQueryParams { - request?: QueryExternalIncentiveGaugesRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** GaugeIds takes the pool id and returns the matching gauge ids and durations */ useGaugeIds: ({ request, options }: UseGaugeIdsQuery) => import("@tanstack/react-query").UseQueryResult; - /** DistrInfo returns the pool's matching gauge ids and weights. */ useDistrInfo: ({ request, options }: UseDistrInfoQuery) => import("@tanstack/react-query").UseQueryResult; - /** Params returns pool incentives params. */ useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - /** LockableDurations returns lock durations for pools. */ useLockableDurations: ({ request, options }: UseLockableDurationsQuery) => import("@tanstack/react-query").UseQueryResult; - /** IncentivizedPools returns currently incentivized pools */ useIncentivizedPools: ({ request, options }: UseIncentivizedPoolsQuery) => import("@tanstack/react-query").UseQueryResult; - /** ExternalIncentiveGauges returns external incentive gauges. */ useExternalIncentiveGauges: ({ request, options }: UseExternalIncentiveGaugesQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** GaugeIds takes the pool id and returns the matching gauge ids and durations */ QueryGaugeIdsStore: { - new (): { - store: QueryStore; - gaugeIds(request: QueryGaugeIdsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** DistrInfo returns the pool's matching gauge ids and weights. */ QueryDistrInfoStore: { - new (): { - store: QueryStore; - distrInfo(request: QueryDistrInfoRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Params returns pool incentives params. */ QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** LockableDurations returns lock durations for pools. */ QueryLockableDurationsStore: { - new (): { - store: QueryStore; - lockableDurations(request: QueryLockableDurationsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** IncentivizedPools returns currently incentivized pools */ QueryIncentivizedPoolsStore: { - new (): { - store: QueryStore; - incentivizedPools(request: QueryIncentivizedPoolsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** ExternalIncentiveGauges returns external incentive gauges. */ QueryExternalIncentiveGaugesStore: { - new (): { - store: QueryStore; - externalIncentiveGauges(request: QueryExternalIncentiveGaugesRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/rpc.query.d.ts b/examples/authz/types/codegen/osmosis/rpc.query.d.ts deleted file mode 100644 index 0d092f95..00000000 --- a/examples/authz/types/codegen/osmosis/rpc.query.d.ts +++ /dev/null @@ -1,93 +0,0 @@ -import { Rpc } from "../helpers"; -export declare const createRPCQueryClient: ({ rpc }: { - rpc: Rpc; -}) => Promise<{ - cosmos: { - app: { - v1alpha1: import("../cosmos/app/v1alpha1/query.rpc.Query").QueryClientImpl; - }; - auth: { - v1beta1: import("../cosmos/auth/v1beta1/query.rpc.Query").QueryClientImpl; - }; - authz: { - v1beta1: import("../cosmos/authz/v1beta1/query.rpc.Query").QueryClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/query.rpc.Query").QueryClientImpl; - }; - base: { - tendermint: { - v1beta1: import("../cosmos/base/tendermint/v1beta1/query.rpc.Service").ServiceClientImpl; - }; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/query.rpc.Query").QueryClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/query.rpc.Query").QueryClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/query.rpc.Query").QueryClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/query.rpc.Query").QueryClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/query.rpc.Query").QueryClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/query.rpc.Query").QueryClientImpl; - }; - mint: { - v1beta1: import("../cosmos/mint/v1beta1/query.rpc.Query").QueryClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/query.rpc.Query").QueryClientImpl; - }; - params: { - v1beta1: import("../cosmos/params/v1beta1/query.rpc.Query").QueryClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/query.rpc.Query").QueryClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/query.rpc.Query").QueryClientImpl; - }; - tx: { - v1beta1: import("../cosmos/tx/v1beta1/service.rpc.Service").ServiceClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/query.rpc.Query").QueryClientImpl; - }; - }; - osmosis: { - claim: { - v1beta1: import("./claim/v1beta1/query.rpc.Query").QueryClientImpl; - }; - epochs: { - v1beta1: import("./epochs/query.rpc.Query").QueryClientImpl; - }; - gamm: { - v2: import("./gamm/v2/query.rpc.Query").QueryClientImpl; - }; - ibcratelimit: { - v1beta1: import("./ibc-rate-limit/v1beta1/query.rpc.Query").QueryClientImpl; - }; - incentives: import("./incentives/query.rpc.Query").QueryClientImpl; - lockup: import("./lockup/query.rpc.Query").QueryClientImpl; - mint: { - v1beta1: import("./mint/v1beta1/query.rpc.Query").QueryClientImpl; - }; - poolincentives: { - v1beta1: import("./pool-incentives/v1beta1/query.rpc.Query").QueryClientImpl; - }; - superfluid: import("./superfluid/query.rpc.Query").QueryClientImpl; - tokenfactory: { - v1beta1: import("./tokenfactory/v1beta1/query.rpc.Query").QueryClientImpl; - }; - twap: { - v1beta1: import("./twap/v1beta1/query.rpc.Query").QueryClientImpl; - }; - txfees: { - v1beta1: import("./txfees/v1beta1/query.rpc.Query").QueryClientImpl; - }; - }; -}>; diff --git a/examples/authz/types/codegen/osmosis/rpc.tx.d.ts b/examples/authz/types/codegen/osmosis/rpc.tx.d.ts deleted file mode 100644 index bde508cb..00000000 --- a/examples/authz/types/codegen/osmosis/rpc.tx.d.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { Rpc } from "../helpers"; -export declare const createRPCMsgClient: ({ rpc }: { - rpc: Rpc; -}) => Promise<{ - cosmos: { - authz: { - v1beta1: import("../cosmos/authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("../cosmos/crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("../cosmos/vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; - osmosis: { - gamm: { - poolmodels: { - balancer: { - v1beta1: import("./gamm/pool-models/balancer/tx/tx.rpc.msg").MsgClientImpl; - }; - stableswap: { - v1beta1: import("./gamm/pool-models/stableswap/tx.rpc.msg").MsgClientImpl; - }; - }; - }; - incentives: import("./incentives/tx.rpc.msg").MsgClientImpl; - lockup: import("./lockup/tx.rpc.msg").MsgClientImpl; - superfluid: import("./superfluid/tx.rpc.msg").MsgClientImpl; - tokenfactory: { - v1beta1: import("./tokenfactory/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; -}>; diff --git a/examples/authz/types/codegen/osmosis/sumtree/v1beta1/tree.d.ts b/examples/authz/types/codegen/osmosis/sumtree/v1beta1/tree.d.ts deleted file mode 100644 index dcc02130..00000000 --- a/examples/authz/types/codegen/osmosis/sumtree/v1beta1/tree.d.ts +++ /dev/null @@ -1,119 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -export interface Node { - children: Child[]; -} -export interface NodeProtoMsg { - typeUrl: "/osmosis.store.v1beta1.Node"; - value: Uint8Array; -} -export interface NodeAmino { - children?: ChildAmino[]; -} -export interface NodeAminoMsg { - type: "osmosis/store/node"; - value: NodeAmino; -} -export interface NodeSDKType { - children: ChildSDKType[]; -} -export interface Child { - index: Uint8Array; - accumulation: string; -} -export interface ChildProtoMsg { - typeUrl: "/osmosis.store.v1beta1.Child"; - value: Uint8Array; -} -export interface ChildAmino { - index?: string; - accumulation?: string; -} -export interface ChildAminoMsg { - type: "osmosis/store/child"; - value: ChildAmino; -} -export interface ChildSDKType { - index: Uint8Array; - accumulation: string; -} -export interface Leaf { - leaf?: Child | undefined; -} -export interface LeafProtoMsg { - typeUrl: "/osmosis.store.v1beta1.Leaf"; - value: Uint8Array; -} -export interface LeafAmino { - leaf?: ChildAmino | undefined; -} -export interface LeafAminoMsg { - type: "osmosis/store/leaf"; - value: LeafAmino; -} -export interface LeafSDKType { - leaf?: ChildSDKType | undefined; -} -export declare const Node: { - typeUrl: string; - aminoType: string; - is(o: any): o is Node; - isSDK(o: any): o is NodeSDKType; - isAmino(o: any): o is NodeAmino; - encode(message: Node, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Node; - fromJSON(object: any): Node; - toJSON(message: Node): unknown; - fromPartial(object: DeepPartial): Node; - fromSDK(object: NodeSDKType): Node; - toSDK(message: Node): NodeSDKType; - fromAmino(object: NodeAmino): Node; - toAmino(message: Node): NodeAmino; - fromAminoMsg(object: NodeAminoMsg): Node; - toAminoMsg(message: Node): NodeAminoMsg; - fromProtoMsg(message: NodeProtoMsg): Node; - toProto(message: Node): Uint8Array; - toProtoMsg(message: Node): NodeProtoMsg; -}; -export declare const Child: { - typeUrl: string; - aminoType: string; - is(o: any): o is Child; - isSDK(o: any): o is ChildSDKType; - isAmino(o: any): o is ChildAmino; - encode(message: Child, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Child; - fromJSON(object: any): Child; - toJSON(message: Child): unknown; - fromPartial(object: DeepPartial): Child; - fromSDK(object: ChildSDKType): Child; - toSDK(message: Child): ChildSDKType; - fromAmino(object: ChildAmino): Child; - toAmino(message: Child): ChildAmino; - fromAminoMsg(object: ChildAminoMsg): Child; - toAminoMsg(message: Child): ChildAminoMsg; - fromProtoMsg(message: ChildProtoMsg): Child; - toProto(message: Child): Uint8Array; - toProtoMsg(message: Child): ChildProtoMsg; -}; -export declare const Leaf: { - typeUrl: string; - aminoType: string; - is(o: any): o is Leaf; - isSDK(o: any): o is LeafSDKType; - isAmino(o: any): o is LeafAmino; - encode(message: Leaf, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Leaf; - fromJSON(object: any): Leaf; - toJSON(message: Leaf): unknown; - fromPartial(object: DeepPartial): Leaf; - fromSDK(object: LeafSDKType): Leaf; - toSDK(message: Leaf): LeafSDKType; - fromAmino(object: LeafAmino): Leaf; - toAmino(message: Leaf): LeafAmino; - fromAminoMsg(object: LeafAminoMsg): Leaf; - toAminoMsg(message: Leaf): LeafAminoMsg; - fromProtoMsg(message: LeafProtoMsg): Leaf; - toProto(message: Leaf): Uint8Array; - toProtoMsg(message: Leaf): LeafProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/superfluid/genesis.d.ts b/examples/authz/types/codegen/osmosis/superfluid/genesis.d.ts deleted file mode 100644 index ea39bce8..00000000 --- a/examples/authz/types/codegen/osmosis/superfluid/genesis.d.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType } from "./params"; -import { SuperfluidAsset, SuperfluidAssetAmino, SuperfluidAssetSDKType, OsmoEquivalentMultiplierRecord, OsmoEquivalentMultiplierRecordAmino, OsmoEquivalentMultiplierRecordSDKType, SuperfluidIntermediaryAccount, SuperfluidIntermediaryAccountAmino, SuperfluidIntermediaryAccountSDKType, LockIdIntermediaryAccountConnection, LockIdIntermediaryAccountConnectionAmino, LockIdIntermediaryAccountConnectionSDKType } from "./superfluid"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** GenesisState defines the module's genesis state. */ -export interface GenesisState { - params: Params | undefined; - /** - * superfluid_assets defines the registered superfluid assets that have been - * registered via governance. - */ - superfluidAssets: SuperfluidAsset[]; - /** - * osmo_equivalent_multipliers is the records of osmo equivalent amount of - * each superfluid registered pool, updated every epoch. - */ - osmoEquivalentMultipliers: OsmoEquivalentMultiplierRecord[]; - /** - * intermediary_accounts is a secondary account for superfluid staking that - * plays an intermediary role between validators and the delegators. - */ - intermediaryAccounts: SuperfluidIntermediaryAccount[]; - intemediaryAccountConnections: LockIdIntermediaryAccountConnection[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/osmosis.superfluid.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the module's genesis state. */ -export interface GenesisStateAmino { - params?: ParamsAmino | undefined; - /** - * superfluid_assets defines the registered superfluid assets that have been - * registered via governance. - */ - superfluid_assets?: SuperfluidAssetAmino[]; - /** - * osmo_equivalent_multipliers is the records of osmo equivalent amount of - * each superfluid registered pool, updated every epoch. - */ - osmo_equivalent_multipliers?: OsmoEquivalentMultiplierRecordAmino[]; - /** - * intermediary_accounts is a secondary account for superfluid staking that - * plays an intermediary role between validators and the delegators. - */ - intermediary_accounts?: SuperfluidIntermediaryAccountAmino[]; - intemediary_account_connections?: LockIdIntermediaryAccountConnectionAmino[]; -} -export interface GenesisStateAminoMsg { - type: "osmosis/genesis-state"; - value: GenesisStateAmino; -} -/** GenesisState defines the module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType | undefined; - superfluid_assets: SuperfluidAssetSDKType[]; - osmo_equivalent_multipliers: OsmoEquivalentMultiplierRecordSDKType[]; - intermediary_accounts: SuperfluidIntermediaryAccountSDKType[]; - intemediary_account_connections: LockIdIntermediaryAccountConnectionSDKType[]; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/superfluid/params.d.ts b/examples/authz/types/codegen/osmosis/superfluid/params.d.ts deleted file mode 100644 index 6194b48d..00000000 --- a/examples/authz/types/codegen/osmosis/superfluid/params.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** Params holds parameters for the superfluid module */ -export interface Params { - /** - * minimum_risk_factor is to be cut on OSMO equivalent value of lp tokens for - * superfluid staking, default: 5%. The minimum risk factor works - * to counter-balance the staked amount on chain's exposure to various asset - * volatilities, and have base staking be 'resistant' to volatility. - */ - minimumRiskFactor: string; -} -export interface ParamsProtoMsg { - typeUrl: "/osmosis.superfluid.Params"; - value: Uint8Array; -} -/** Params holds parameters for the superfluid module */ -export interface ParamsAmino { - /** - * minimum_risk_factor is to be cut on OSMO equivalent value of lp tokens for - * superfluid staking, default: 5%. The minimum risk factor works - * to counter-balance the staked amount on chain's exposure to various asset - * volatilities, and have base staking be 'resistant' to volatility. - */ - minimum_risk_factor?: string; -} -export interface ParamsAminoMsg { - type: "osmosis/params"; - value: ParamsAmino; -} -/** Params holds parameters for the superfluid module */ -export interface ParamsSDKType { - minimum_risk_factor: string; -} -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/superfluid/query.d.ts b/examples/authz/types/codegen/osmosis/superfluid/query.d.ts deleted file mode 100644 index ca6580a0..00000000 --- a/examples/authz/types/codegen/osmosis/superfluid/query.d.ts +++ /dev/null @@ -1,1268 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../cosmos/base/query/v1beta1/pagination"; -import { Params, ParamsAmino, ParamsSDKType } from "./params"; -import { SuperfluidAssetType, SuperfluidAsset, SuperfluidAssetAmino, SuperfluidAssetSDKType, OsmoEquivalentMultiplierRecord, OsmoEquivalentMultiplierRecordAmino, OsmoEquivalentMultiplierRecordSDKType, SuperfluidDelegationRecord, SuperfluidDelegationRecordAmino, SuperfluidDelegationRecordSDKType } from "./superfluid"; -import { Coin, CoinAmino, CoinSDKType } from "../../cosmos/base/v1beta1/coin"; -import { SyntheticLock, SyntheticLockAmino, SyntheticLockSDKType } from "../lockup/lock"; -import { DelegationResponse, DelegationResponseAmino, DelegationResponseSDKType } from "../../cosmos/staking/v1beta1/staking"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/osmosis.superfluid.QueryParamsRequest"; - value: Uint8Array; -} -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "osmosis/query-params-request"; - value: QueryParamsRequestAmino; -} -export interface QueryParamsRequestSDKType { -} -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params: Params | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/osmosis.superfluid.QueryParamsResponse"; - value: Uint8Array; -} -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "osmosis/query-params-response"; - value: QueryParamsResponseAmino; -} -export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; -} -export interface AssetTypeRequest { - denom: string; -} -export interface AssetTypeRequestProtoMsg { - typeUrl: "/osmosis.superfluid.AssetTypeRequest"; - value: Uint8Array; -} -export interface AssetTypeRequestAmino { - denom?: string; -} -export interface AssetTypeRequestAminoMsg { - type: "osmosis/asset-type-request"; - value: AssetTypeRequestAmino; -} -export interface AssetTypeRequestSDKType { - denom: string; -} -export interface AssetTypeResponse { - assetType: SuperfluidAssetType; -} -export interface AssetTypeResponseProtoMsg { - typeUrl: "/osmosis.superfluid.AssetTypeResponse"; - value: Uint8Array; -} -export interface AssetTypeResponseAmino { - asset_type?: SuperfluidAssetType; -} -export interface AssetTypeResponseAminoMsg { - type: "osmosis/asset-type-response"; - value: AssetTypeResponseAmino; -} -export interface AssetTypeResponseSDKType { - asset_type: SuperfluidAssetType; -} -export interface AllAssetsRequest { -} -export interface AllAssetsRequestProtoMsg { - typeUrl: "/osmosis.superfluid.AllAssetsRequest"; - value: Uint8Array; -} -export interface AllAssetsRequestAmino { -} -export interface AllAssetsRequestAminoMsg { - type: "osmosis/all-assets-request"; - value: AllAssetsRequestAmino; -} -export interface AllAssetsRequestSDKType { -} -export interface AllAssetsResponse { - assets: SuperfluidAsset[]; -} -export interface AllAssetsResponseProtoMsg { - typeUrl: "/osmosis.superfluid.AllAssetsResponse"; - value: Uint8Array; -} -export interface AllAssetsResponseAmino { - assets?: SuperfluidAssetAmino[]; -} -export interface AllAssetsResponseAminoMsg { - type: "osmosis/all-assets-response"; - value: AllAssetsResponseAmino; -} -export interface AllAssetsResponseSDKType { - assets: SuperfluidAssetSDKType[]; -} -export interface AssetMultiplierRequest { - denom: string; -} -export interface AssetMultiplierRequestProtoMsg { - typeUrl: "/osmosis.superfluid.AssetMultiplierRequest"; - value: Uint8Array; -} -export interface AssetMultiplierRequestAmino { - denom?: string; -} -export interface AssetMultiplierRequestAminoMsg { - type: "osmosis/asset-multiplier-request"; - value: AssetMultiplierRequestAmino; -} -export interface AssetMultiplierRequestSDKType { - denom: string; -} -export interface AssetMultiplierResponse { - osmoEquivalentMultiplier?: OsmoEquivalentMultiplierRecord | undefined; -} -export interface AssetMultiplierResponseProtoMsg { - typeUrl: "/osmosis.superfluid.AssetMultiplierResponse"; - value: Uint8Array; -} -export interface AssetMultiplierResponseAmino { - osmo_equivalent_multiplier?: OsmoEquivalentMultiplierRecordAmino | undefined; -} -export interface AssetMultiplierResponseAminoMsg { - type: "osmosis/asset-multiplier-response"; - value: AssetMultiplierResponseAmino; -} -export interface AssetMultiplierResponseSDKType { - osmo_equivalent_multiplier?: OsmoEquivalentMultiplierRecordSDKType | undefined; -} -export interface SuperfluidIntermediaryAccountInfo { - denom: string; - valAddr: string; - gaugeId: bigint; - address: string; -} -export interface SuperfluidIntermediaryAccountInfoProtoMsg { - typeUrl: "/osmosis.superfluid.SuperfluidIntermediaryAccountInfo"; - value: Uint8Array; -} -export interface SuperfluidIntermediaryAccountInfoAmino { - denom?: string; - val_addr?: string; - gauge_id?: string; - address?: string; -} -export interface SuperfluidIntermediaryAccountInfoAminoMsg { - type: "osmosis/superfluid-intermediary-account-info"; - value: SuperfluidIntermediaryAccountInfoAmino; -} -export interface SuperfluidIntermediaryAccountInfoSDKType { - denom: string; - val_addr: string; - gauge_id: bigint; - address: string; -} -export interface AllIntermediaryAccountsRequest { - pagination?: PageRequest | undefined; -} -export interface AllIntermediaryAccountsRequestProtoMsg { - typeUrl: "/osmosis.superfluid.AllIntermediaryAccountsRequest"; - value: Uint8Array; -} -export interface AllIntermediaryAccountsRequestAmino { - pagination?: PageRequestAmino | undefined; -} -export interface AllIntermediaryAccountsRequestAminoMsg { - type: "osmosis/all-intermediary-accounts-request"; - value: AllIntermediaryAccountsRequestAmino; -} -export interface AllIntermediaryAccountsRequestSDKType { - pagination?: PageRequestSDKType | undefined; -} -export interface AllIntermediaryAccountsResponse { - accounts: SuperfluidIntermediaryAccountInfo[]; - pagination?: PageResponse | undefined; -} -export interface AllIntermediaryAccountsResponseProtoMsg { - typeUrl: "/osmosis.superfluid.AllIntermediaryAccountsResponse"; - value: Uint8Array; -} -export interface AllIntermediaryAccountsResponseAmino { - accounts?: SuperfluidIntermediaryAccountInfoAmino[]; - pagination?: PageResponseAmino | undefined; -} -export interface AllIntermediaryAccountsResponseAminoMsg { - type: "osmosis/all-intermediary-accounts-response"; - value: AllIntermediaryAccountsResponseAmino; -} -export interface AllIntermediaryAccountsResponseSDKType { - accounts: SuperfluidIntermediaryAccountInfoSDKType[]; - pagination?: PageResponseSDKType | undefined; -} -export interface ConnectedIntermediaryAccountRequest { - lockId: bigint; -} -export interface ConnectedIntermediaryAccountRequestProtoMsg { - typeUrl: "/osmosis.superfluid.ConnectedIntermediaryAccountRequest"; - value: Uint8Array; -} -export interface ConnectedIntermediaryAccountRequestAmino { - lock_id?: string; -} -export interface ConnectedIntermediaryAccountRequestAminoMsg { - type: "osmosis/connected-intermediary-account-request"; - value: ConnectedIntermediaryAccountRequestAmino; -} -export interface ConnectedIntermediaryAccountRequestSDKType { - lock_id: bigint; -} -export interface ConnectedIntermediaryAccountResponse { - account?: SuperfluidIntermediaryAccountInfo | undefined; -} -export interface ConnectedIntermediaryAccountResponseProtoMsg { - typeUrl: "/osmosis.superfluid.ConnectedIntermediaryAccountResponse"; - value: Uint8Array; -} -export interface ConnectedIntermediaryAccountResponseAmino { - account?: SuperfluidIntermediaryAccountInfoAmino | undefined; -} -export interface ConnectedIntermediaryAccountResponseAminoMsg { - type: "osmosis/connected-intermediary-account-response"; - value: ConnectedIntermediaryAccountResponseAmino; -} -export interface ConnectedIntermediaryAccountResponseSDKType { - account?: SuperfluidIntermediaryAccountInfoSDKType | undefined; -} -export interface QueryTotalDelegationByValidatorForDenomRequest { - denom: string; -} -export interface QueryTotalDelegationByValidatorForDenomRequestProtoMsg { - typeUrl: "/osmosis.superfluid.QueryTotalDelegationByValidatorForDenomRequest"; - value: Uint8Array; -} -export interface QueryTotalDelegationByValidatorForDenomRequestAmino { - denom?: string; -} -export interface QueryTotalDelegationByValidatorForDenomRequestAminoMsg { - type: "osmosis/query-total-delegation-by-validator-for-denom-request"; - value: QueryTotalDelegationByValidatorForDenomRequestAmino; -} -export interface QueryTotalDelegationByValidatorForDenomRequestSDKType { - denom: string; -} -export interface QueryTotalDelegationByValidatorForDenomResponse { - assets: Delegations[]; -} -export interface QueryTotalDelegationByValidatorForDenomResponseProtoMsg { - typeUrl: "/osmosis.superfluid.QueryTotalDelegationByValidatorForDenomResponse"; - value: Uint8Array; -} -export interface QueryTotalDelegationByValidatorForDenomResponseAmino { - assets?: DelegationsAmino[]; -} -export interface QueryTotalDelegationByValidatorForDenomResponseAminoMsg { - type: "osmosis/query-total-delegation-by-validator-for-denom-response"; - value: QueryTotalDelegationByValidatorForDenomResponseAmino; -} -export interface QueryTotalDelegationByValidatorForDenomResponseSDKType { - assets: DelegationsSDKType[]; -} -export interface Delegations { - valAddr: string; - amountSfsd: string; - osmoEquivalent: string; -} -export interface DelegationsProtoMsg { - typeUrl: "/osmosis.superfluid.Delegations"; - value: Uint8Array; -} -export interface DelegationsAmino { - val_addr?: string; - amount_sfsd?: string; - osmo_equivalent?: string; -} -export interface DelegationsAminoMsg { - type: "osmosis/delegations"; - value: DelegationsAmino; -} -export interface DelegationsSDKType { - val_addr: string; - amount_sfsd: string; - osmo_equivalent: string; -} -export interface TotalSuperfluidDelegationsRequest { -} -export interface TotalSuperfluidDelegationsRequestProtoMsg { - typeUrl: "/osmosis.superfluid.TotalSuperfluidDelegationsRequest"; - value: Uint8Array; -} -export interface TotalSuperfluidDelegationsRequestAmino { -} -export interface TotalSuperfluidDelegationsRequestAminoMsg { - type: "osmosis/total-superfluid-delegations-request"; - value: TotalSuperfluidDelegationsRequestAmino; -} -export interface TotalSuperfluidDelegationsRequestSDKType { -} -export interface TotalSuperfluidDelegationsResponse { - totalDelegations: string; -} -export interface TotalSuperfluidDelegationsResponseProtoMsg { - typeUrl: "/osmosis.superfluid.TotalSuperfluidDelegationsResponse"; - value: Uint8Array; -} -export interface TotalSuperfluidDelegationsResponseAmino { - total_delegations?: string; -} -export interface TotalSuperfluidDelegationsResponseAminoMsg { - type: "osmosis/total-superfluid-delegations-response"; - value: TotalSuperfluidDelegationsResponseAmino; -} -export interface TotalSuperfluidDelegationsResponseSDKType { - total_delegations: string; -} -export interface SuperfluidDelegationAmountRequest { - delegatorAddress: string; - validatorAddress: string; - denom: string; -} -export interface SuperfluidDelegationAmountRequestProtoMsg { - typeUrl: "/osmosis.superfluid.SuperfluidDelegationAmountRequest"; - value: Uint8Array; -} -export interface SuperfluidDelegationAmountRequestAmino { - delegator_address?: string; - validator_address?: string; - denom?: string; -} -export interface SuperfluidDelegationAmountRequestAminoMsg { - type: "osmosis/superfluid-delegation-amount-request"; - value: SuperfluidDelegationAmountRequestAmino; -} -export interface SuperfluidDelegationAmountRequestSDKType { - delegator_address: string; - validator_address: string; - denom: string; -} -export interface SuperfluidDelegationAmountResponse { - amount: Coin[]; -} -export interface SuperfluidDelegationAmountResponseProtoMsg { - typeUrl: "/osmosis.superfluid.SuperfluidDelegationAmountResponse"; - value: Uint8Array; -} -export interface SuperfluidDelegationAmountResponseAmino { - amount?: CoinAmino[]; -} -export interface SuperfluidDelegationAmountResponseAminoMsg { - type: "osmosis/superfluid-delegation-amount-response"; - value: SuperfluidDelegationAmountResponseAmino; -} -export interface SuperfluidDelegationAmountResponseSDKType { - amount: CoinSDKType[]; -} -export interface SuperfluidDelegationsByDelegatorRequest { - delegatorAddress: string; -} -export interface SuperfluidDelegationsByDelegatorRequestProtoMsg { - typeUrl: "/osmosis.superfluid.SuperfluidDelegationsByDelegatorRequest"; - value: Uint8Array; -} -export interface SuperfluidDelegationsByDelegatorRequestAmino { - delegator_address?: string; -} -export interface SuperfluidDelegationsByDelegatorRequestAminoMsg { - type: "osmosis/superfluid-delegations-by-delegator-request"; - value: SuperfluidDelegationsByDelegatorRequestAmino; -} -export interface SuperfluidDelegationsByDelegatorRequestSDKType { - delegator_address: string; -} -export interface SuperfluidDelegationsByDelegatorResponse { - superfluidDelegationRecords: SuperfluidDelegationRecord[]; - totalDelegatedCoins: Coin[]; - totalEquivalentStakedAmount: Coin | undefined; -} -export interface SuperfluidDelegationsByDelegatorResponseProtoMsg { - typeUrl: "/osmosis.superfluid.SuperfluidDelegationsByDelegatorResponse"; - value: Uint8Array; -} -export interface SuperfluidDelegationsByDelegatorResponseAmino { - superfluid_delegation_records?: SuperfluidDelegationRecordAmino[]; - total_delegated_coins?: CoinAmino[]; - total_equivalent_staked_amount?: CoinAmino | undefined; -} -export interface SuperfluidDelegationsByDelegatorResponseAminoMsg { - type: "osmosis/superfluid-delegations-by-delegator-response"; - value: SuperfluidDelegationsByDelegatorResponseAmino; -} -export interface SuperfluidDelegationsByDelegatorResponseSDKType { - superfluid_delegation_records: SuperfluidDelegationRecordSDKType[]; - total_delegated_coins: CoinSDKType[]; - total_equivalent_staked_amount: CoinSDKType | undefined; -} -export interface SuperfluidUndelegationsByDelegatorRequest { - delegatorAddress: string; - denom: string; -} -export interface SuperfluidUndelegationsByDelegatorRequestProtoMsg { - typeUrl: "/osmosis.superfluid.SuperfluidUndelegationsByDelegatorRequest"; - value: Uint8Array; -} -export interface SuperfluidUndelegationsByDelegatorRequestAmino { - delegator_address?: string; - denom?: string; -} -export interface SuperfluidUndelegationsByDelegatorRequestAminoMsg { - type: "osmosis/superfluid-undelegations-by-delegator-request"; - value: SuperfluidUndelegationsByDelegatorRequestAmino; -} -export interface SuperfluidUndelegationsByDelegatorRequestSDKType { - delegator_address: string; - denom: string; -} -export interface SuperfluidUndelegationsByDelegatorResponse { - superfluidDelegationRecords: SuperfluidDelegationRecord[]; - totalUndelegatedCoins: Coin[]; - syntheticLocks: SyntheticLock[]; -} -export interface SuperfluidUndelegationsByDelegatorResponseProtoMsg { - typeUrl: "/osmosis.superfluid.SuperfluidUndelegationsByDelegatorResponse"; - value: Uint8Array; -} -export interface SuperfluidUndelegationsByDelegatorResponseAmino { - superfluid_delegation_records?: SuperfluidDelegationRecordAmino[]; - total_undelegated_coins?: CoinAmino[]; - synthetic_locks?: SyntheticLockAmino[]; -} -export interface SuperfluidUndelegationsByDelegatorResponseAminoMsg { - type: "osmosis/superfluid-undelegations-by-delegator-response"; - value: SuperfluidUndelegationsByDelegatorResponseAmino; -} -export interface SuperfluidUndelegationsByDelegatorResponseSDKType { - superfluid_delegation_records: SuperfluidDelegationRecordSDKType[]; - total_undelegated_coins: CoinSDKType[]; - synthetic_locks: SyntheticLockSDKType[]; -} -export interface SuperfluidDelegationsByValidatorDenomRequest { - validatorAddress: string; - denom: string; -} -export interface SuperfluidDelegationsByValidatorDenomRequestProtoMsg { - typeUrl: "/osmosis.superfluid.SuperfluidDelegationsByValidatorDenomRequest"; - value: Uint8Array; -} -export interface SuperfluidDelegationsByValidatorDenomRequestAmino { - validator_address?: string; - denom?: string; -} -export interface SuperfluidDelegationsByValidatorDenomRequestAminoMsg { - type: "osmosis/superfluid-delegations-by-validator-denom-request"; - value: SuperfluidDelegationsByValidatorDenomRequestAmino; -} -export interface SuperfluidDelegationsByValidatorDenomRequestSDKType { - validator_address: string; - denom: string; -} -export interface SuperfluidDelegationsByValidatorDenomResponse { - superfluidDelegationRecords: SuperfluidDelegationRecord[]; -} -export interface SuperfluidDelegationsByValidatorDenomResponseProtoMsg { - typeUrl: "/osmosis.superfluid.SuperfluidDelegationsByValidatorDenomResponse"; - value: Uint8Array; -} -export interface SuperfluidDelegationsByValidatorDenomResponseAmino { - superfluid_delegation_records?: SuperfluidDelegationRecordAmino[]; -} -export interface SuperfluidDelegationsByValidatorDenomResponseAminoMsg { - type: "osmosis/superfluid-delegations-by-validator-denom-response"; - value: SuperfluidDelegationsByValidatorDenomResponseAmino; -} -export interface SuperfluidDelegationsByValidatorDenomResponseSDKType { - superfluid_delegation_records: SuperfluidDelegationRecordSDKType[]; -} -export interface EstimateSuperfluidDelegatedAmountByValidatorDenomRequest { - validatorAddress: string; - denom: string; -} -export interface EstimateSuperfluidDelegatedAmountByValidatorDenomRequestProtoMsg { - typeUrl: "/osmosis.superfluid.EstimateSuperfluidDelegatedAmountByValidatorDenomRequest"; - value: Uint8Array; -} -export interface EstimateSuperfluidDelegatedAmountByValidatorDenomRequestAmino { - validator_address?: string; - denom?: string; -} -export interface EstimateSuperfluidDelegatedAmountByValidatorDenomRequestAminoMsg { - type: "osmosis/estimate-superfluid-delegated-amount-by-validator-denom-request"; - value: EstimateSuperfluidDelegatedAmountByValidatorDenomRequestAmino; -} -export interface EstimateSuperfluidDelegatedAmountByValidatorDenomRequestSDKType { - validator_address: string; - denom: string; -} -export interface EstimateSuperfluidDelegatedAmountByValidatorDenomResponse { - totalDelegatedCoins: Coin[]; -} -export interface EstimateSuperfluidDelegatedAmountByValidatorDenomResponseProtoMsg { - typeUrl: "/osmosis.superfluid.EstimateSuperfluidDelegatedAmountByValidatorDenomResponse"; - value: Uint8Array; -} -export interface EstimateSuperfluidDelegatedAmountByValidatorDenomResponseAmino { - total_delegated_coins?: CoinAmino[]; -} -export interface EstimateSuperfluidDelegatedAmountByValidatorDenomResponseAminoMsg { - type: "osmosis/estimate-superfluid-delegated-amount-by-validator-denom-response"; - value: EstimateSuperfluidDelegatedAmountByValidatorDenomResponseAmino; -} -export interface EstimateSuperfluidDelegatedAmountByValidatorDenomResponseSDKType { - total_delegated_coins: CoinSDKType[]; -} -export interface QueryTotalDelegationByDelegatorRequest { - delegatorAddress: string; -} -export interface QueryTotalDelegationByDelegatorRequestProtoMsg { - typeUrl: "/osmosis.superfluid.QueryTotalDelegationByDelegatorRequest"; - value: Uint8Array; -} -export interface QueryTotalDelegationByDelegatorRequestAmino { - delegator_address?: string; -} -export interface QueryTotalDelegationByDelegatorRequestAminoMsg { - type: "osmosis/query-total-delegation-by-delegator-request"; - value: QueryTotalDelegationByDelegatorRequestAmino; -} -export interface QueryTotalDelegationByDelegatorRequestSDKType { - delegator_address: string; -} -export interface QueryTotalDelegationByDelegatorResponse { - superfluidDelegationRecords: SuperfluidDelegationRecord[]; - delegationResponse: DelegationResponse[]; - totalDelegatedCoins: Coin[]; - totalEquivalentStakedAmount: Coin | undefined; -} -export interface QueryTotalDelegationByDelegatorResponseProtoMsg { - typeUrl: "/osmosis.superfluid.QueryTotalDelegationByDelegatorResponse"; - value: Uint8Array; -} -export interface QueryTotalDelegationByDelegatorResponseAmino { - superfluid_delegation_records?: SuperfluidDelegationRecordAmino[]; - delegation_response?: DelegationResponseAmino[]; - total_delegated_coins?: CoinAmino[]; - total_equivalent_staked_amount?: CoinAmino | undefined; -} -export interface QueryTotalDelegationByDelegatorResponseAminoMsg { - type: "osmosis/query-total-delegation-by-delegator-response"; - value: QueryTotalDelegationByDelegatorResponseAmino; -} -export interface QueryTotalDelegationByDelegatorResponseSDKType { - superfluid_delegation_records: SuperfluidDelegationRecordSDKType[]; - delegation_response: DelegationResponseSDKType[]; - total_delegated_coins: CoinSDKType[]; - total_equivalent_staked_amount: CoinSDKType | undefined; -} -export interface QueryUnpoolWhitelistRequest { -} -export interface QueryUnpoolWhitelistRequestProtoMsg { - typeUrl: "/osmosis.superfluid.QueryUnpoolWhitelistRequest"; - value: Uint8Array; -} -export interface QueryUnpoolWhitelistRequestAmino { -} -export interface QueryUnpoolWhitelistRequestAminoMsg { - type: "osmosis/query-unpool-whitelist-request"; - value: QueryUnpoolWhitelistRequestAmino; -} -export interface QueryUnpoolWhitelistRequestSDKType { -} -export interface QueryUnpoolWhitelistResponse { - poolIds: bigint[]; -} -export interface QueryUnpoolWhitelistResponseProtoMsg { - typeUrl: "/osmosis.superfluid.QueryUnpoolWhitelistResponse"; - value: Uint8Array; -} -export interface QueryUnpoolWhitelistResponseAmino { - pool_ids?: string[]; -} -export interface QueryUnpoolWhitelistResponseAminoMsg { - type: "osmosis/query-unpool-whitelist-response"; - value: QueryUnpoolWhitelistResponseAmino; -} -export interface QueryUnpoolWhitelistResponseSDKType { - pool_ids: bigint[]; -} -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: DeepPartial): QueryParamsRequest; - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const AssetTypeRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AssetTypeRequest; - isSDK(o: any): o is AssetTypeRequestSDKType; - isAmino(o: any): o is AssetTypeRequestAmino; - encode(message: AssetTypeRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AssetTypeRequest; - fromJSON(object: any): AssetTypeRequest; - toJSON(message: AssetTypeRequest): unknown; - fromPartial(object: DeepPartial): AssetTypeRequest; - fromSDK(object: AssetTypeRequestSDKType): AssetTypeRequest; - toSDK(message: AssetTypeRequest): AssetTypeRequestSDKType; - fromAmino(object: AssetTypeRequestAmino): AssetTypeRequest; - toAmino(message: AssetTypeRequest): AssetTypeRequestAmino; - fromAminoMsg(object: AssetTypeRequestAminoMsg): AssetTypeRequest; - toAminoMsg(message: AssetTypeRequest): AssetTypeRequestAminoMsg; - fromProtoMsg(message: AssetTypeRequestProtoMsg): AssetTypeRequest; - toProto(message: AssetTypeRequest): Uint8Array; - toProtoMsg(message: AssetTypeRequest): AssetTypeRequestProtoMsg; -}; -export declare const AssetTypeResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AssetTypeResponse; - isSDK(o: any): o is AssetTypeResponseSDKType; - isAmino(o: any): o is AssetTypeResponseAmino; - encode(message: AssetTypeResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AssetTypeResponse; - fromJSON(object: any): AssetTypeResponse; - toJSON(message: AssetTypeResponse): unknown; - fromPartial(object: DeepPartial): AssetTypeResponse; - fromSDK(object: AssetTypeResponseSDKType): AssetTypeResponse; - toSDK(message: AssetTypeResponse): AssetTypeResponseSDKType; - fromAmino(object: AssetTypeResponseAmino): AssetTypeResponse; - toAmino(message: AssetTypeResponse): AssetTypeResponseAmino; - fromAminoMsg(object: AssetTypeResponseAminoMsg): AssetTypeResponse; - toAminoMsg(message: AssetTypeResponse): AssetTypeResponseAminoMsg; - fromProtoMsg(message: AssetTypeResponseProtoMsg): AssetTypeResponse; - toProto(message: AssetTypeResponse): Uint8Array; - toProtoMsg(message: AssetTypeResponse): AssetTypeResponseProtoMsg; -}; -export declare const AllAssetsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AllAssetsRequest; - isSDK(o: any): o is AllAssetsRequestSDKType; - isAmino(o: any): o is AllAssetsRequestAmino; - encode(_: AllAssetsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AllAssetsRequest; - fromJSON(_: any): AllAssetsRequest; - toJSON(_: AllAssetsRequest): unknown; - fromPartial(_: DeepPartial): AllAssetsRequest; - fromSDK(_: AllAssetsRequestSDKType): AllAssetsRequest; - toSDK(_: AllAssetsRequest): AllAssetsRequestSDKType; - fromAmino(_: AllAssetsRequestAmino): AllAssetsRequest; - toAmino(_: AllAssetsRequest): AllAssetsRequestAmino; - fromAminoMsg(object: AllAssetsRequestAminoMsg): AllAssetsRequest; - toAminoMsg(message: AllAssetsRequest): AllAssetsRequestAminoMsg; - fromProtoMsg(message: AllAssetsRequestProtoMsg): AllAssetsRequest; - toProto(message: AllAssetsRequest): Uint8Array; - toProtoMsg(message: AllAssetsRequest): AllAssetsRequestProtoMsg; -}; -export declare const AllAssetsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AllAssetsResponse; - isSDK(o: any): o is AllAssetsResponseSDKType; - isAmino(o: any): o is AllAssetsResponseAmino; - encode(message: AllAssetsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AllAssetsResponse; - fromJSON(object: any): AllAssetsResponse; - toJSON(message: AllAssetsResponse): unknown; - fromPartial(object: DeepPartial): AllAssetsResponse; - fromSDK(object: AllAssetsResponseSDKType): AllAssetsResponse; - toSDK(message: AllAssetsResponse): AllAssetsResponseSDKType; - fromAmino(object: AllAssetsResponseAmino): AllAssetsResponse; - toAmino(message: AllAssetsResponse): AllAssetsResponseAmino; - fromAminoMsg(object: AllAssetsResponseAminoMsg): AllAssetsResponse; - toAminoMsg(message: AllAssetsResponse): AllAssetsResponseAminoMsg; - fromProtoMsg(message: AllAssetsResponseProtoMsg): AllAssetsResponse; - toProto(message: AllAssetsResponse): Uint8Array; - toProtoMsg(message: AllAssetsResponse): AllAssetsResponseProtoMsg; -}; -export declare const AssetMultiplierRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AssetMultiplierRequest; - isSDK(o: any): o is AssetMultiplierRequestSDKType; - isAmino(o: any): o is AssetMultiplierRequestAmino; - encode(message: AssetMultiplierRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AssetMultiplierRequest; - fromJSON(object: any): AssetMultiplierRequest; - toJSON(message: AssetMultiplierRequest): unknown; - fromPartial(object: DeepPartial): AssetMultiplierRequest; - fromSDK(object: AssetMultiplierRequestSDKType): AssetMultiplierRequest; - toSDK(message: AssetMultiplierRequest): AssetMultiplierRequestSDKType; - fromAmino(object: AssetMultiplierRequestAmino): AssetMultiplierRequest; - toAmino(message: AssetMultiplierRequest): AssetMultiplierRequestAmino; - fromAminoMsg(object: AssetMultiplierRequestAminoMsg): AssetMultiplierRequest; - toAminoMsg(message: AssetMultiplierRequest): AssetMultiplierRequestAminoMsg; - fromProtoMsg(message: AssetMultiplierRequestProtoMsg): AssetMultiplierRequest; - toProto(message: AssetMultiplierRequest): Uint8Array; - toProtoMsg(message: AssetMultiplierRequest): AssetMultiplierRequestProtoMsg; -}; -export declare const AssetMultiplierResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AssetMultiplierResponse; - isSDK(o: any): o is AssetMultiplierResponseSDKType; - isAmino(o: any): o is AssetMultiplierResponseAmino; - encode(message: AssetMultiplierResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AssetMultiplierResponse; - fromJSON(object: any): AssetMultiplierResponse; - toJSON(message: AssetMultiplierResponse): unknown; - fromPartial(object: DeepPartial): AssetMultiplierResponse; - fromSDK(object: AssetMultiplierResponseSDKType): AssetMultiplierResponse; - toSDK(message: AssetMultiplierResponse): AssetMultiplierResponseSDKType; - fromAmino(object: AssetMultiplierResponseAmino): AssetMultiplierResponse; - toAmino(message: AssetMultiplierResponse): AssetMultiplierResponseAmino; - fromAminoMsg(object: AssetMultiplierResponseAminoMsg): AssetMultiplierResponse; - toAminoMsg(message: AssetMultiplierResponse): AssetMultiplierResponseAminoMsg; - fromProtoMsg(message: AssetMultiplierResponseProtoMsg): AssetMultiplierResponse; - toProto(message: AssetMultiplierResponse): Uint8Array; - toProtoMsg(message: AssetMultiplierResponse): AssetMultiplierResponseProtoMsg; -}; -export declare const SuperfluidIntermediaryAccountInfo: { - typeUrl: string; - aminoType: string; - is(o: any): o is SuperfluidIntermediaryAccountInfo; - isSDK(o: any): o is SuperfluidIntermediaryAccountInfoSDKType; - isAmino(o: any): o is SuperfluidIntermediaryAccountInfoAmino; - encode(message: SuperfluidIntermediaryAccountInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SuperfluidIntermediaryAccountInfo; - fromJSON(object: any): SuperfluidIntermediaryAccountInfo; - toJSON(message: SuperfluidIntermediaryAccountInfo): unknown; - fromPartial(object: DeepPartial): SuperfluidIntermediaryAccountInfo; - fromSDK(object: SuperfluidIntermediaryAccountInfoSDKType): SuperfluidIntermediaryAccountInfo; - toSDK(message: SuperfluidIntermediaryAccountInfo): SuperfluidIntermediaryAccountInfoSDKType; - fromAmino(object: SuperfluidIntermediaryAccountInfoAmino): SuperfluidIntermediaryAccountInfo; - toAmino(message: SuperfluidIntermediaryAccountInfo): SuperfluidIntermediaryAccountInfoAmino; - fromAminoMsg(object: SuperfluidIntermediaryAccountInfoAminoMsg): SuperfluidIntermediaryAccountInfo; - toAminoMsg(message: SuperfluidIntermediaryAccountInfo): SuperfluidIntermediaryAccountInfoAminoMsg; - fromProtoMsg(message: SuperfluidIntermediaryAccountInfoProtoMsg): SuperfluidIntermediaryAccountInfo; - toProto(message: SuperfluidIntermediaryAccountInfo): Uint8Array; - toProtoMsg(message: SuperfluidIntermediaryAccountInfo): SuperfluidIntermediaryAccountInfoProtoMsg; -}; -export declare const AllIntermediaryAccountsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is AllIntermediaryAccountsRequest; - isSDK(o: any): o is AllIntermediaryAccountsRequestSDKType; - isAmino(o: any): o is AllIntermediaryAccountsRequestAmino; - encode(message: AllIntermediaryAccountsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AllIntermediaryAccountsRequest; - fromJSON(object: any): AllIntermediaryAccountsRequest; - toJSON(message: AllIntermediaryAccountsRequest): unknown; - fromPartial(object: DeepPartial): AllIntermediaryAccountsRequest; - fromSDK(object: AllIntermediaryAccountsRequestSDKType): AllIntermediaryAccountsRequest; - toSDK(message: AllIntermediaryAccountsRequest): AllIntermediaryAccountsRequestSDKType; - fromAmino(object: AllIntermediaryAccountsRequestAmino): AllIntermediaryAccountsRequest; - toAmino(message: AllIntermediaryAccountsRequest): AllIntermediaryAccountsRequestAmino; - fromAminoMsg(object: AllIntermediaryAccountsRequestAminoMsg): AllIntermediaryAccountsRequest; - toAminoMsg(message: AllIntermediaryAccountsRequest): AllIntermediaryAccountsRequestAminoMsg; - fromProtoMsg(message: AllIntermediaryAccountsRequestProtoMsg): AllIntermediaryAccountsRequest; - toProto(message: AllIntermediaryAccountsRequest): Uint8Array; - toProtoMsg(message: AllIntermediaryAccountsRequest): AllIntermediaryAccountsRequestProtoMsg; -}; -export declare const AllIntermediaryAccountsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is AllIntermediaryAccountsResponse; - isSDK(o: any): o is AllIntermediaryAccountsResponseSDKType; - isAmino(o: any): o is AllIntermediaryAccountsResponseAmino; - encode(message: AllIntermediaryAccountsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): AllIntermediaryAccountsResponse; - fromJSON(object: any): AllIntermediaryAccountsResponse; - toJSON(message: AllIntermediaryAccountsResponse): unknown; - fromPartial(object: DeepPartial): AllIntermediaryAccountsResponse; - fromSDK(object: AllIntermediaryAccountsResponseSDKType): AllIntermediaryAccountsResponse; - toSDK(message: AllIntermediaryAccountsResponse): AllIntermediaryAccountsResponseSDKType; - fromAmino(object: AllIntermediaryAccountsResponseAmino): AllIntermediaryAccountsResponse; - toAmino(message: AllIntermediaryAccountsResponse): AllIntermediaryAccountsResponseAmino; - fromAminoMsg(object: AllIntermediaryAccountsResponseAminoMsg): AllIntermediaryAccountsResponse; - toAminoMsg(message: AllIntermediaryAccountsResponse): AllIntermediaryAccountsResponseAminoMsg; - fromProtoMsg(message: AllIntermediaryAccountsResponseProtoMsg): AllIntermediaryAccountsResponse; - toProto(message: AllIntermediaryAccountsResponse): Uint8Array; - toProtoMsg(message: AllIntermediaryAccountsResponse): AllIntermediaryAccountsResponseProtoMsg; -}; -export declare const ConnectedIntermediaryAccountRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is ConnectedIntermediaryAccountRequest; - isSDK(o: any): o is ConnectedIntermediaryAccountRequestSDKType; - isAmino(o: any): o is ConnectedIntermediaryAccountRequestAmino; - encode(message: ConnectedIntermediaryAccountRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ConnectedIntermediaryAccountRequest; - fromJSON(object: any): ConnectedIntermediaryAccountRequest; - toJSON(message: ConnectedIntermediaryAccountRequest): unknown; - fromPartial(object: DeepPartial): ConnectedIntermediaryAccountRequest; - fromSDK(object: ConnectedIntermediaryAccountRequestSDKType): ConnectedIntermediaryAccountRequest; - toSDK(message: ConnectedIntermediaryAccountRequest): ConnectedIntermediaryAccountRequestSDKType; - fromAmino(object: ConnectedIntermediaryAccountRequestAmino): ConnectedIntermediaryAccountRequest; - toAmino(message: ConnectedIntermediaryAccountRequest): ConnectedIntermediaryAccountRequestAmino; - fromAminoMsg(object: ConnectedIntermediaryAccountRequestAminoMsg): ConnectedIntermediaryAccountRequest; - toAminoMsg(message: ConnectedIntermediaryAccountRequest): ConnectedIntermediaryAccountRequestAminoMsg; - fromProtoMsg(message: ConnectedIntermediaryAccountRequestProtoMsg): ConnectedIntermediaryAccountRequest; - toProto(message: ConnectedIntermediaryAccountRequest): Uint8Array; - toProtoMsg(message: ConnectedIntermediaryAccountRequest): ConnectedIntermediaryAccountRequestProtoMsg; -}; -export declare const ConnectedIntermediaryAccountResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is ConnectedIntermediaryAccountResponse; - isSDK(o: any): o is ConnectedIntermediaryAccountResponseSDKType; - isAmino(o: any): o is ConnectedIntermediaryAccountResponseAmino; - encode(message: ConnectedIntermediaryAccountResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ConnectedIntermediaryAccountResponse; - fromJSON(object: any): ConnectedIntermediaryAccountResponse; - toJSON(message: ConnectedIntermediaryAccountResponse): unknown; - fromPartial(object: DeepPartial): ConnectedIntermediaryAccountResponse; - fromSDK(object: ConnectedIntermediaryAccountResponseSDKType): ConnectedIntermediaryAccountResponse; - toSDK(message: ConnectedIntermediaryAccountResponse): ConnectedIntermediaryAccountResponseSDKType; - fromAmino(object: ConnectedIntermediaryAccountResponseAmino): ConnectedIntermediaryAccountResponse; - toAmino(message: ConnectedIntermediaryAccountResponse): ConnectedIntermediaryAccountResponseAmino; - fromAminoMsg(object: ConnectedIntermediaryAccountResponseAminoMsg): ConnectedIntermediaryAccountResponse; - toAminoMsg(message: ConnectedIntermediaryAccountResponse): ConnectedIntermediaryAccountResponseAminoMsg; - fromProtoMsg(message: ConnectedIntermediaryAccountResponseProtoMsg): ConnectedIntermediaryAccountResponse; - toProto(message: ConnectedIntermediaryAccountResponse): Uint8Array; - toProtoMsg(message: ConnectedIntermediaryAccountResponse): ConnectedIntermediaryAccountResponseProtoMsg; -}; -export declare const QueryTotalDelegationByValidatorForDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryTotalDelegationByValidatorForDenomRequest; - isSDK(o: any): o is QueryTotalDelegationByValidatorForDenomRequestSDKType; - isAmino(o: any): o is QueryTotalDelegationByValidatorForDenomRequestAmino; - encode(message: QueryTotalDelegationByValidatorForDenomRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryTotalDelegationByValidatorForDenomRequest; - fromJSON(object: any): QueryTotalDelegationByValidatorForDenomRequest; - toJSON(message: QueryTotalDelegationByValidatorForDenomRequest): unknown; - fromPartial(object: DeepPartial): QueryTotalDelegationByValidatorForDenomRequest; - fromSDK(object: QueryTotalDelegationByValidatorForDenomRequestSDKType): QueryTotalDelegationByValidatorForDenomRequest; - toSDK(message: QueryTotalDelegationByValidatorForDenomRequest): QueryTotalDelegationByValidatorForDenomRequestSDKType; - fromAmino(object: QueryTotalDelegationByValidatorForDenomRequestAmino): QueryTotalDelegationByValidatorForDenomRequest; - toAmino(message: QueryTotalDelegationByValidatorForDenomRequest): QueryTotalDelegationByValidatorForDenomRequestAmino; - fromAminoMsg(object: QueryTotalDelegationByValidatorForDenomRequestAminoMsg): QueryTotalDelegationByValidatorForDenomRequest; - toAminoMsg(message: QueryTotalDelegationByValidatorForDenomRequest): QueryTotalDelegationByValidatorForDenomRequestAminoMsg; - fromProtoMsg(message: QueryTotalDelegationByValidatorForDenomRequestProtoMsg): QueryTotalDelegationByValidatorForDenomRequest; - toProto(message: QueryTotalDelegationByValidatorForDenomRequest): Uint8Array; - toProtoMsg(message: QueryTotalDelegationByValidatorForDenomRequest): QueryTotalDelegationByValidatorForDenomRequestProtoMsg; -}; -export declare const QueryTotalDelegationByValidatorForDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryTotalDelegationByValidatorForDenomResponse; - isSDK(o: any): o is QueryTotalDelegationByValidatorForDenomResponseSDKType; - isAmino(o: any): o is QueryTotalDelegationByValidatorForDenomResponseAmino; - encode(message: QueryTotalDelegationByValidatorForDenomResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryTotalDelegationByValidatorForDenomResponse; - fromJSON(object: any): QueryTotalDelegationByValidatorForDenomResponse; - toJSON(message: QueryTotalDelegationByValidatorForDenomResponse): unknown; - fromPartial(object: DeepPartial): QueryTotalDelegationByValidatorForDenomResponse; - fromSDK(object: QueryTotalDelegationByValidatorForDenomResponseSDKType): QueryTotalDelegationByValidatorForDenomResponse; - toSDK(message: QueryTotalDelegationByValidatorForDenomResponse): QueryTotalDelegationByValidatorForDenomResponseSDKType; - fromAmino(object: QueryTotalDelegationByValidatorForDenomResponseAmino): QueryTotalDelegationByValidatorForDenomResponse; - toAmino(message: QueryTotalDelegationByValidatorForDenomResponse): QueryTotalDelegationByValidatorForDenomResponseAmino; - fromAminoMsg(object: QueryTotalDelegationByValidatorForDenomResponseAminoMsg): QueryTotalDelegationByValidatorForDenomResponse; - toAminoMsg(message: QueryTotalDelegationByValidatorForDenomResponse): QueryTotalDelegationByValidatorForDenomResponseAminoMsg; - fromProtoMsg(message: QueryTotalDelegationByValidatorForDenomResponseProtoMsg): QueryTotalDelegationByValidatorForDenomResponse; - toProto(message: QueryTotalDelegationByValidatorForDenomResponse): Uint8Array; - toProtoMsg(message: QueryTotalDelegationByValidatorForDenomResponse): QueryTotalDelegationByValidatorForDenomResponseProtoMsg; -}; -export declare const Delegations: { - typeUrl: string; - aminoType: string; - is(o: any): o is Delegations; - isSDK(o: any): o is DelegationsSDKType; - isAmino(o: any): o is DelegationsAmino; - encode(message: Delegations, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Delegations; - fromJSON(object: any): Delegations; - toJSON(message: Delegations): unknown; - fromPartial(object: DeepPartial): Delegations; - fromSDK(object: DelegationsSDKType): Delegations; - toSDK(message: Delegations): DelegationsSDKType; - fromAmino(object: DelegationsAmino): Delegations; - toAmino(message: Delegations): DelegationsAmino; - fromAminoMsg(object: DelegationsAminoMsg): Delegations; - toAminoMsg(message: Delegations): DelegationsAminoMsg; - fromProtoMsg(message: DelegationsProtoMsg): Delegations; - toProto(message: Delegations): Uint8Array; - toProtoMsg(message: Delegations): DelegationsProtoMsg; -}; -export declare const TotalSuperfluidDelegationsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is TotalSuperfluidDelegationsRequest; - isSDK(o: any): o is TotalSuperfluidDelegationsRequestSDKType; - isAmino(o: any): o is TotalSuperfluidDelegationsRequestAmino; - encode(_: TotalSuperfluidDelegationsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TotalSuperfluidDelegationsRequest; - fromJSON(_: any): TotalSuperfluidDelegationsRequest; - toJSON(_: TotalSuperfluidDelegationsRequest): unknown; - fromPartial(_: DeepPartial): TotalSuperfluidDelegationsRequest; - fromSDK(_: TotalSuperfluidDelegationsRequestSDKType): TotalSuperfluidDelegationsRequest; - toSDK(_: TotalSuperfluidDelegationsRequest): TotalSuperfluidDelegationsRequestSDKType; - fromAmino(_: TotalSuperfluidDelegationsRequestAmino): TotalSuperfluidDelegationsRequest; - toAmino(_: TotalSuperfluidDelegationsRequest): TotalSuperfluidDelegationsRequestAmino; - fromAminoMsg(object: TotalSuperfluidDelegationsRequestAminoMsg): TotalSuperfluidDelegationsRequest; - toAminoMsg(message: TotalSuperfluidDelegationsRequest): TotalSuperfluidDelegationsRequestAminoMsg; - fromProtoMsg(message: TotalSuperfluidDelegationsRequestProtoMsg): TotalSuperfluidDelegationsRequest; - toProto(message: TotalSuperfluidDelegationsRequest): Uint8Array; - toProtoMsg(message: TotalSuperfluidDelegationsRequest): TotalSuperfluidDelegationsRequestProtoMsg; -}; -export declare const TotalSuperfluidDelegationsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is TotalSuperfluidDelegationsResponse; - isSDK(o: any): o is TotalSuperfluidDelegationsResponseSDKType; - isAmino(o: any): o is TotalSuperfluidDelegationsResponseAmino; - encode(message: TotalSuperfluidDelegationsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TotalSuperfluidDelegationsResponse; - fromJSON(object: any): TotalSuperfluidDelegationsResponse; - toJSON(message: TotalSuperfluidDelegationsResponse): unknown; - fromPartial(object: DeepPartial): TotalSuperfluidDelegationsResponse; - fromSDK(object: TotalSuperfluidDelegationsResponseSDKType): TotalSuperfluidDelegationsResponse; - toSDK(message: TotalSuperfluidDelegationsResponse): TotalSuperfluidDelegationsResponseSDKType; - fromAmino(object: TotalSuperfluidDelegationsResponseAmino): TotalSuperfluidDelegationsResponse; - toAmino(message: TotalSuperfluidDelegationsResponse): TotalSuperfluidDelegationsResponseAmino; - fromAminoMsg(object: TotalSuperfluidDelegationsResponseAminoMsg): TotalSuperfluidDelegationsResponse; - toAminoMsg(message: TotalSuperfluidDelegationsResponse): TotalSuperfluidDelegationsResponseAminoMsg; - fromProtoMsg(message: TotalSuperfluidDelegationsResponseProtoMsg): TotalSuperfluidDelegationsResponse; - toProto(message: TotalSuperfluidDelegationsResponse): Uint8Array; - toProtoMsg(message: TotalSuperfluidDelegationsResponse): TotalSuperfluidDelegationsResponseProtoMsg; -}; -export declare const SuperfluidDelegationAmountRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is SuperfluidDelegationAmountRequest; - isSDK(o: any): o is SuperfluidDelegationAmountRequestSDKType; - isAmino(o: any): o is SuperfluidDelegationAmountRequestAmino; - encode(message: SuperfluidDelegationAmountRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SuperfluidDelegationAmountRequest; - fromJSON(object: any): SuperfluidDelegationAmountRequest; - toJSON(message: SuperfluidDelegationAmountRequest): unknown; - fromPartial(object: DeepPartial): SuperfluidDelegationAmountRequest; - fromSDK(object: SuperfluidDelegationAmountRequestSDKType): SuperfluidDelegationAmountRequest; - toSDK(message: SuperfluidDelegationAmountRequest): SuperfluidDelegationAmountRequestSDKType; - fromAmino(object: SuperfluidDelegationAmountRequestAmino): SuperfluidDelegationAmountRequest; - toAmino(message: SuperfluidDelegationAmountRequest): SuperfluidDelegationAmountRequestAmino; - fromAminoMsg(object: SuperfluidDelegationAmountRequestAminoMsg): SuperfluidDelegationAmountRequest; - toAminoMsg(message: SuperfluidDelegationAmountRequest): SuperfluidDelegationAmountRequestAminoMsg; - fromProtoMsg(message: SuperfluidDelegationAmountRequestProtoMsg): SuperfluidDelegationAmountRequest; - toProto(message: SuperfluidDelegationAmountRequest): Uint8Array; - toProtoMsg(message: SuperfluidDelegationAmountRequest): SuperfluidDelegationAmountRequestProtoMsg; -}; -export declare const SuperfluidDelegationAmountResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is SuperfluidDelegationAmountResponse; - isSDK(o: any): o is SuperfluidDelegationAmountResponseSDKType; - isAmino(o: any): o is SuperfluidDelegationAmountResponseAmino; - encode(message: SuperfluidDelegationAmountResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SuperfluidDelegationAmountResponse; - fromJSON(object: any): SuperfluidDelegationAmountResponse; - toJSON(message: SuperfluidDelegationAmountResponse): unknown; - fromPartial(object: DeepPartial): SuperfluidDelegationAmountResponse; - fromSDK(object: SuperfluidDelegationAmountResponseSDKType): SuperfluidDelegationAmountResponse; - toSDK(message: SuperfluidDelegationAmountResponse): SuperfluidDelegationAmountResponseSDKType; - fromAmino(object: SuperfluidDelegationAmountResponseAmino): SuperfluidDelegationAmountResponse; - toAmino(message: SuperfluidDelegationAmountResponse): SuperfluidDelegationAmountResponseAmino; - fromAminoMsg(object: SuperfluidDelegationAmountResponseAminoMsg): SuperfluidDelegationAmountResponse; - toAminoMsg(message: SuperfluidDelegationAmountResponse): SuperfluidDelegationAmountResponseAminoMsg; - fromProtoMsg(message: SuperfluidDelegationAmountResponseProtoMsg): SuperfluidDelegationAmountResponse; - toProto(message: SuperfluidDelegationAmountResponse): Uint8Array; - toProtoMsg(message: SuperfluidDelegationAmountResponse): SuperfluidDelegationAmountResponseProtoMsg; -}; -export declare const SuperfluidDelegationsByDelegatorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is SuperfluidDelegationsByDelegatorRequest; - isSDK(o: any): o is SuperfluidDelegationsByDelegatorRequestSDKType; - isAmino(o: any): o is SuperfluidDelegationsByDelegatorRequestAmino; - encode(message: SuperfluidDelegationsByDelegatorRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SuperfluidDelegationsByDelegatorRequest; - fromJSON(object: any): SuperfluidDelegationsByDelegatorRequest; - toJSON(message: SuperfluidDelegationsByDelegatorRequest): unknown; - fromPartial(object: DeepPartial): SuperfluidDelegationsByDelegatorRequest; - fromSDK(object: SuperfluidDelegationsByDelegatorRequestSDKType): SuperfluidDelegationsByDelegatorRequest; - toSDK(message: SuperfluidDelegationsByDelegatorRequest): SuperfluidDelegationsByDelegatorRequestSDKType; - fromAmino(object: SuperfluidDelegationsByDelegatorRequestAmino): SuperfluidDelegationsByDelegatorRequest; - toAmino(message: SuperfluidDelegationsByDelegatorRequest): SuperfluidDelegationsByDelegatorRequestAmino; - fromAminoMsg(object: SuperfluidDelegationsByDelegatorRequestAminoMsg): SuperfluidDelegationsByDelegatorRequest; - toAminoMsg(message: SuperfluidDelegationsByDelegatorRequest): SuperfluidDelegationsByDelegatorRequestAminoMsg; - fromProtoMsg(message: SuperfluidDelegationsByDelegatorRequestProtoMsg): SuperfluidDelegationsByDelegatorRequest; - toProto(message: SuperfluidDelegationsByDelegatorRequest): Uint8Array; - toProtoMsg(message: SuperfluidDelegationsByDelegatorRequest): SuperfluidDelegationsByDelegatorRequestProtoMsg; -}; -export declare const SuperfluidDelegationsByDelegatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is SuperfluidDelegationsByDelegatorResponse; - isSDK(o: any): o is SuperfluidDelegationsByDelegatorResponseSDKType; - isAmino(o: any): o is SuperfluidDelegationsByDelegatorResponseAmino; - encode(message: SuperfluidDelegationsByDelegatorResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SuperfluidDelegationsByDelegatorResponse; - fromJSON(object: any): SuperfluidDelegationsByDelegatorResponse; - toJSON(message: SuperfluidDelegationsByDelegatorResponse): unknown; - fromPartial(object: DeepPartial): SuperfluidDelegationsByDelegatorResponse; - fromSDK(object: SuperfluidDelegationsByDelegatorResponseSDKType): SuperfluidDelegationsByDelegatorResponse; - toSDK(message: SuperfluidDelegationsByDelegatorResponse): SuperfluidDelegationsByDelegatorResponseSDKType; - fromAmino(object: SuperfluidDelegationsByDelegatorResponseAmino): SuperfluidDelegationsByDelegatorResponse; - toAmino(message: SuperfluidDelegationsByDelegatorResponse): SuperfluidDelegationsByDelegatorResponseAmino; - fromAminoMsg(object: SuperfluidDelegationsByDelegatorResponseAminoMsg): SuperfluidDelegationsByDelegatorResponse; - toAminoMsg(message: SuperfluidDelegationsByDelegatorResponse): SuperfluidDelegationsByDelegatorResponseAminoMsg; - fromProtoMsg(message: SuperfluidDelegationsByDelegatorResponseProtoMsg): SuperfluidDelegationsByDelegatorResponse; - toProto(message: SuperfluidDelegationsByDelegatorResponse): Uint8Array; - toProtoMsg(message: SuperfluidDelegationsByDelegatorResponse): SuperfluidDelegationsByDelegatorResponseProtoMsg; -}; -export declare const SuperfluidUndelegationsByDelegatorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is SuperfluidUndelegationsByDelegatorRequest; - isSDK(o: any): o is SuperfluidUndelegationsByDelegatorRequestSDKType; - isAmino(o: any): o is SuperfluidUndelegationsByDelegatorRequestAmino; - encode(message: SuperfluidUndelegationsByDelegatorRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SuperfluidUndelegationsByDelegatorRequest; - fromJSON(object: any): SuperfluidUndelegationsByDelegatorRequest; - toJSON(message: SuperfluidUndelegationsByDelegatorRequest): unknown; - fromPartial(object: DeepPartial): SuperfluidUndelegationsByDelegatorRequest; - fromSDK(object: SuperfluidUndelegationsByDelegatorRequestSDKType): SuperfluidUndelegationsByDelegatorRequest; - toSDK(message: SuperfluidUndelegationsByDelegatorRequest): SuperfluidUndelegationsByDelegatorRequestSDKType; - fromAmino(object: SuperfluidUndelegationsByDelegatorRequestAmino): SuperfluidUndelegationsByDelegatorRequest; - toAmino(message: SuperfluidUndelegationsByDelegatorRequest): SuperfluidUndelegationsByDelegatorRequestAmino; - fromAminoMsg(object: SuperfluidUndelegationsByDelegatorRequestAminoMsg): SuperfluidUndelegationsByDelegatorRequest; - toAminoMsg(message: SuperfluidUndelegationsByDelegatorRequest): SuperfluidUndelegationsByDelegatorRequestAminoMsg; - fromProtoMsg(message: SuperfluidUndelegationsByDelegatorRequestProtoMsg): SuperfluidUndelegationsByDelegatorRequest; - toProto(message: SuperfluidUndelegationsByDelegatorRequest): Uint8Array; - toProtoMsg(message: SuperfluidUndelegationsByDelegatorRequest): SuperfluidUndelegationsByDelegatorRequestProtoMsg; -}; -export declare const SuperfluidUndelegationsByDelegatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is SuperfluidUndelegationsByDelegatorResponse; - isSDK(o: any): o is SuperfluidUndelegationsByDelegatorResponseSDKType; - isAmino(o: any): o is SuperfluidUndelegationsByDelegatorResponseAmino; - encode(message: SuperfluidUndelegationsByDelegatorResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SuperfluidUndelegationsByDelegatorResponse; - fromJSON(object: any): SuperfluidUndelegationsByDelegatorResponse; - toJSON(message: SuperfluidUndelegationsByDelegatorResponse): unknown; - fromPartial(object: DeepPartial): SuperfluidUndelegationsByDelegatorResponse; - fromSDK(object: SuperfluidUndelegationsByDelegatorResponseSDKType): SuperfluidUndelegationsByDelegatorResponse; - toSDK(message: SuperfluidUndelegationsByDelegatorResponse): SuperfluidUndelegationsByDelegatorResponseSDKType; - fromAmino(object: SuperfluidUndelegationsByDelegatorResponseAmino): SuperfluidUndelegationsByDelegatorResponse; - toAmino(message: SuperfluidUndelegationsByDelegatorResponse): SuperfluidUndelegationsByDelegatorResponseAmino; - fromAminoMsg(object: SuperfluidUndelegationsByDelegatorResponseAminoMsg): SuperfluidUndelegationsByDelegatorResponse; - toAminoMsg(message: SuperfluidUndelegationsByDelegatorResponse): SuperfluidUndelegationsByDelegatorResponseAminoMsg; - fromProtoMsg(message: SuperfluidUndelegationsByDelegatorResponseProtoMsg): SuperfluidUndelegationsByDelegatorResponse; - toProto(message: SuperfluidUndelegationsByDelegatorResponse): Uint8Array; - toProtoMsg(message: SuperfluidUndelegationsByDelegatorResponse): SuperfluidUndelegationsByDelegatorResponseProtoMsg; -}; -export declare const SuperfluidDelegationsByValidatorDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is SuperfluidDelegationsByValidatorDenomRequest; - isSDK(o: any): o is SuperfluidDelegationsByValidatorDenomRequestSDKType; - isAmino(o: any): o is SuperfluidDelegationsByValidatorDenomRequestAmino; - encode(message: SuperfluidDelegationsByValidatorDenomRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SuperfluidDelegationsByValidatorDenomRequest; - fromJSON(object: any): SuperfluidDelegationsByValidatorDenomRequest; - toJSON(message: SuperfluidDelegationsByValidatorDenomRequest): unknown; - fromPartial(object: DeepPartial): SuperfluidDelegationsByValidatorDenomRequest; - fromSDK(object: SuperfluidDelegationsByValidatorDenomRequestSDKType): SuperfluidDelegationsByValidatorDenomRequest; - toSDK(message: SuperfluidDelegationsByValidatorDenomRequest): SuperfluidDelegationsByValidatorDenomRequestSDKType; - fromAmino(object: SuperfluidDelegationsByValidatorDenomRequestAmino): SuperfluidDelegationsByValidatorDenomRequest; - toAmino(message: SuperfluidDelegationsByValidatorDenomRequest): SuperfluidDelegationsByValidatorDenomRequestAmino; - fromAminoMsg(object: SuperfluidDelegationsByValidatorDenomRequestAminoMsg): SuperfluidDelegationsByValidatorDenomRequest; - toAminoMsg(message: SuperfluidDelegationsByValidatorDenomRequest): SuperfluidDelegationsByValidatorDenomRequestAminoMsg; - fromProtoMsg(message: SuperfluidDelegationsByValidatorDenomRequestProtoMsg): SuperfluidDelegationsByValidatorDenomRequest; - toProto(message: SuperfluidDelegationsByValidatorDenomRequest): Uint8Array; - toProtoMsg(message: SuperfluidDelegationsByValidatorDenomRequest): SuperfluidDelegationsByValidatorDenomRequestProtoMsg; -}; -export declare const SuperfluidDelegationsByValidatorDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is SuperfluidDelegationsByValidatorDenomResponse; - isSDK(o: any): o is SuperfluidDelegationsByValidatorDenomResponseSDKType; - isAmino(o: any): o is SuperfluidDelegationsByValidatorDenomResponseAmino; - encode(message: SuperfluidDelegationsByValidatorDenomResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SuperfluidDelegationsByValidatorDenomResponse; - fromJSON(object: any): SuperfluidDelegationsByValidatorDenomResponse; - toJSON(message: SuperfluidDelegationsByValidatorDenomResponse): unknown; - fromPartial(object: DeepPartial): SuperfluidDelegationsByValidatorDenomResponse; - fromSDK(object: SuperfluidDelegationsByValidatorDenomResponseSDKType): SuperfluidDelegationsByValidatorDenomResponse; - toSDK(message: SuperfluidDelegationsByValidatorDenomResponse): SuperfluidDelegationsByValidatorDenomResponseSDKType; - fromAmino(object: SuperfluidDelegationsByValidatorDenomResponseAmino): SuperfluidDelegationsByValidatorDenomResponse; - toAmino(message: SuperfluidDelegationsByValidatorDenomResponse): SuperfluidDelegationsByValidatorDenomResponseAmino; - fromAminoMsg(object: SuperfluidDelegationsByValidatorDenomResponseAminoMsg): SuperfluidDelegationsByValidatorDenomResponse; - toAminoMsg(message: SuperfluidDelegationsByValidatorDenomResponse): SuperfluidDelegationsByValidatorDenomResponseAminoMsg; - fromProtoMsg(message: SuperfluidDelegationsByValidatorDenomResponseProtoMsg): SuperfluidDelegationsByValidatorDenomResponse; - toProto(message: SuperfluidDelegationsByValidatorDenomResponse): Uint8Array; - toProtoMsg(message: SuperfluidDelegationsByValidatorDenomResponse): SuperfluidDelegationsByValidatorDenomResponseProtoMsg; -}; -export declare const EstimateSuperfluidDelegatedAmountByValidatorDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - isSDK(o: any): o is EstimateSuperfluidDelegatedAmountByValidatorDenomRequestSDKType; - isAmino(o: any): o is EstimateSuperfluidDelegatedAmountByValidatorDenomRequestAmino; - encode(message: EstimateSuperfluidDelegatedAmountByValidatorDenomRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - fromJSON(object: any): EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - toJSON(message: EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): unknown; - fromPartial(object: DeepPartial): EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - fromSDK(object: EstimateSuperfluidDelegatedAmountByValidatorDenomRequestSDKType): EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - toSDK(message: EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): EstimateSuperfluidDelegatedAmountByValidatorDenomRequestSDKType; - fromAmino(object: EstimateSuperfluidDelegatedAmountByValidatorDenomRequestAmino): EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - toAmino(message: EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): EstimateSuperfluidDelegatedAmountByValidatorDenomRequestAmino; - fromAminoMsg(object: EstimateSuperfluidDelegatedAmountByValidatorDenomRequestAminoMsg): EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - toAminoMsg(message: EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): EstimateSuperfluidDelegatedAmountByValidatorDenomRequestAminoMsg; - fromProtoMsg(message: EstimateSuperfluidDelegatedAmountByValidatorDenomRequestProtoMsg): EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; - toProto(message: EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): Uint8Array; - toProtoMsg(message: EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): EstimateSuperfluidDelegatedAmountByValidatorDenomRequestProtoMsg; -}; -export declare const EstimateSuperfluidDelegatedAmountByValidatorDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - isSDK(o: any): o is EstimateSuperfluidDelegatedAmountByValidatorDenomResponseSDKType; - isAmino(o: any): o is EstimateSuperfluidDelegatedAmountByValidatorDenomResponseAmino; - encode(message: EstimateSuperfluidDelegatedAmountByValidatorDenomResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - fromJSON(object: any): EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - toJSON(message: EstimateSuperfluidDelegatedAmountByValidatorDenomResponse): unknown; - fromPartial(object: DeepPartial): EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - fromSDK(object: EstimateSuperfluidDelegatedAmountByValidatorDenomResponseSDKType): EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - toSDK(message: EstimateSuperfluidDelegatedAmountByValidatorDenomResponse): EstimateSuperfluidDelegatedAmountByValidatorDenomResponseSDKType; - fromAmino(object: EstimateSuperfluidDelegatedAmountByValidatorDenomResponseAmino): EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - toAmino(message: EstimateSuperfluidDelegatedAmountByValidatorDenomResponse): EstimateSuperfluidDelegatedAmountByValidatorDenomResponseAmino; - fromAminoMsg(object: EstimateSuperfluidDelegatedAmountByValidatorDenomResponseAminoMsg): EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - toAminoMsg(message: EstimateSuperfluidDelegatedAmountByValidatorDenomResponse): EstimateSuperfluidDelegatedAmountByValidatorDenomResponseAminoMsg; - fromProtoMsg(message: EstimateSuperfluidDelegatedAmountByValidatorDenomResponseProtoMsg): EstimateSuperfluidDelegatedAmountByValidatorDenomResponse; - toProto(message: EstimateSuperfluidDelegatedAmountByValidatorDenomResponse): Uint8Array; - toProtoMsg(message: EstimateSuperfluidDelegatedAmountByValidatorDenomResponse): EstimateSuperfluidDelegatedAmountByValidatorDenomResponseProtoMsg; -}; -export declare const QueryTotalDelegationByDelegatorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryTotalDelegationByDelegatorRequest; - isSDK(o: any): o is QueryTotalDelegationByDelegatorRequestSDKType; - isAmino(o: any): o is QueryTotalDelegationByDelegatorRequestAmino; - encode(message: QueryTotalDelegationByDelegatorRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryTotalDelegationByDelegatorRequest; - fromJSON(object: any): QueryTotalDelegationByDelegatorRequest; - toJSON(message: QueryTotalDelegationByDelegatorRequest): unknown; - fromPartial(object: DeepPartial): QueryTotalDelegationByDelegatorRequest; - fromSDK(object: QueryTotalDelegationByDelegatorRequestSDKType): QueryTotalDelegationByDelegatorRequest; - toSDK(message: QueryTotalDelegationByDelegatorRequest): QueryTotalDelegationByDelegatorRequestSDKType; - fromAmino(object: QueryTotalDelegationByDelegatorRequestAmino): QueryTotalDelegationByDelegatorRequest; - toAmino(message: QueryTotalDelegationByDelegatorRequest): QueryTotalDelegationByDelegatorRequestAmino; - fromAminoMsg(object: QueryTotalDelegationByDelegatorRequestAminoMsg): QueryTotalDelegationByDelegatorRequest; - toAminoMsg(message: QueryTotalDelegationByDelegatorRequest): QueryTotalDelegationByDelegatorRequestAminoMsg; - fromProtoMsg(message: QueryTotalDelegationByDelegatorRequestProtoMsg): QueryTotalDelegationByDelegatorRequest; - toProto(message: QueryTotalDelegationByDelegatorRequest): Uint8Array; - toProtoMsg(message: QueryTotalDelegationByDelegatorRequest): QueryTotalDelegationByDelegatorRequestProtoMsg; -}; -export declare const QueryTotalDelegationByDelegatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryTotalDelegationByDelegatorResponse; - isSDK(o: any): o is QueryTotalDelegationByDelegatorResponseSDKType; - isAmino(o: any): o is QueryTotalDelegationByDelegatorResponseAmino; - encode(message: QueryTotalDelegationByDelegatorResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryTotalDelegationByDelegatorResponse; - fromJSON(object: any): QueryTotalDelegationByDelegatorResponse; - toJSON(message: QueryTotalDelegationByDelegatorResponse): unknown; - fromPartial(object: DeepPartial): QueryTotalDelegationByDelegatorResponse; - fromSDK(object: QueryTotalDelegationByDelegatorResponseSDKType): QueryTotalDelegationByDelegatorResponse; - toSDK(message: QueryTotalDelegationByDelegatorResponse): QueryTotalDelegationByDelegatorResponseSDKType; - fromAmino(object: QueryTotalDelegationByDelegatorResponseAmino): QueryTotalDelegationByDelegatorResponse; - toAmino(message: QueryTotalDelegationByDelegatorResponse): QueryTotalDelegationByDelegatorResponseAmino; - fromAminoMsg(object: QueryTotalDelegationByDelegatorResponseAminoMsg): QueryTotalDelegationByDelegatorResponse; - toAminoMsg(message: QueryTotalDelegationByDelegatorResponse): QueryTotalDelegationByDelegatorResponseAminoMsg; - fromProtoMsg(message: QueryTotalDelegationByDelegatorResponseProtoMsg): QueryTotalDelegationByDelegatorResponse; - toProto(message: QueryTotalDelegationByDelegatorResponse): Uint8Array; - toProtoMsg(message: QueryTotalDelegationByDelegatorResponse): QueryTotalDelegationByDelegatorResponseProtoMsg; -}; -export declare const QueryUnpoolWhitelistRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryUnpoolWhitelistRequest; - isSDK(o: any): o is QueryUnpoolWhitelistRequestSDKType; - isAmino(o: any): o is QueryUnpoolWhitelistRequestAmino; - encode(_: QueryUnpoolWhitelistRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryUnpoolWhitelistRequest; - fromJSON(_: any): QueryUnpoolWhitelistRequest; - toJSON(_: QueryUnpoolWhitelistRequest): unknown; - fromPartial(_: DeepPartial): QueryUnpoolWhitelistRequest; - fromSDK(_: QueryUnpoolWhitelistRequestSDKType): QueryUnpoolWhitelistRequest; - toSDK(_: QueryUnpoolWhitelistRequest): QueryUnpoolWhitelistRequestSDKType; - fromAmino(_: QueryUnpoolWhitelistRequestAmino): QueryUnpoolWhitelistRequest; - toAmino(_: QueryUnpoolWhitelistRequest): QueryUnpoolWhitelistRequestAmino; - fromAminoMsg(object: QueryUnpoolWhitelistRequestAminoMsg): QueryUnpoolWhitelistRequest; - toAminoMsg(message: QueryUnpoolWhitelistRequest): QueryUnpoolWhitelistRequestAminoMsg; - fromProtoMsg(message: QueryUnpoolWhitelistRequestProtoMsg): QueryUnpoolWhitelistRequest; - toProto(message: QueryUnpoolWhitelistRequest): Uint8Array; - toProtoMsg(message: QueryUnpoolWhitelistRequest): QueryUnpoolWhitelistRequestProtoMsg; -}; -export declare const QueryUnpoolWhitelistResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryUnpoolWhitelistResponse; - isSDK(o: any): o is QueryUnpoolWhitelistResponseSDKType; - isAmino(o: any): o is QueryUnpoolWhitelistResponseAmino; - encode(message: QueryUnpoolWhitelistResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryUnpoolWhitelistResponse; - fromJSON(object: any): QueryUnpoolWhitelistResponse; - toJSON(message: QueryUnpoolWhitelistResponse): unknown; - fromPartial(object: DeepPartial): QueryUnpoolWhitelistResponse; - fromSDK(object: QueryUnpoolWhitelistResponseSDKType): QueryUnpoolWhitelistResponse; - toSDK(message: QueryUnpoolWhitelistResponse): QueryUnpoolWhitelistResponseSDKType; - fromAmino(object: QueryUnpoolWhitelistResponseAmino): QueryUnpoolWhitelistResponse; - toAmino(message: QueryUnpoolWhitelistResponse): QueryUnpoolWhitelistResponseAmino; - fromAminoMsg(object: QueryUnpoolWhitelistResponseAminoMsg): QueryUnpoolWhitelistResponse; - toAminoMsg(message: QueryUnpoolWhitelistResponse): QueryUnpoolWhitelistResponseAminoMsg; - fromProtoMsg(message: QueryUnpoolWhitelistResponseProtoMsg): QueryUnpoolWhitelistResponse; - toProto(message: QueryUnpoolWhitelistResponse): Uint8Array; - toProtoMsg(message: QueryUnpoolWhitelistResponse): QueryUnpoolWhitelistResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/superfluid/query.rpc.Query.d.ts b/examples/authz/types/codegen/osmosis/superfluid/query.rpc.Query.d.ts deleted file mode 100644 index b6ce7a21..00000000 --- a/examples/authz/types/codegen/osmosis/superfluid/query.rpc.Query.d.ts +++ /dev/null @@ -1,270 +0,0 @@ -import { TxRpc } from "../../types"; -import { ReactQueryParams } from "../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../mobx"; -import { QueryParamsRequest, QueryParamsResponse, AssetTypeRequest, AssetTypeResponse, AllAssetsRequest, AllAssetsResponse, AssetMultiplierRequest, AssetMultiplierResponse, AllIntermediaryAccountsRequest, AllIntermediaryAccountsResponse, ConnectedIntermediaryAccountRequest, ConnectedIntermediaryAccountResponse, QueryTotalDelegationByValidatorForDenomRequest, QueryTotalDelegationByValidatorForDenomResponse, TotalSuperfluidDelegationsRequest, TotalSuperfluidDelegationsResponse, SuperfluidDelegationAmountRequest, SuperfluidDelegationAmountResponse, SuperfluidDelegationsByDelegatorRequest, SuperfluidDelegationsByDelegatorResponse, SuperfluidUndelegationsByDelegatorRequest, SuperfluidUndelegationsByDelegatorResponse, SuperfluidDelegationsByValidatorDenomRequest, SuperfluidDelegationsByValidatorDenomResponse, EstimateSuperfluidDelegatedAmountByValidatorDenomRequest, EstimateSuperfluidDelegatedAmountByValidatorDenomResponse, QueryTotalDelegationByDelegatorRequest, QueryTotalDelegationByDelegatorResponse, QueryUnpoolWhitelistRequest, QueryUnpoolWhitelistResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Params returns the total set of superfluid parameters. */ - params(request?: QueryParamsRequest): Promise; - /** - * Returns superfluid asset type, whether if it's a native asset or an lp - * share. - */ - assetType(request: AssetTypeRequest): Promise; - /** Returns all registered superfluid assets. */ - allAssets(request?: AllAssetsRequest): Promise; - /** Returns the osmo equivalent multiplier used in the most recent epoch. */ - assetMultiplier(request: AssetMultiplierRequest): Promise; - /** Returns all superfluid intermediary accounts. */ - allIntermediaryAccounts(request?: AllIntermediaryAccountsRequest): Promise; - /** Returns intermediary account connected to a superfluid staked lock by id */ - connectedIntermediaryAccount(request: ConnectedIntermediaryAccountRequest): Promise; - /** Returns the amount of delegations of specific denom for all validators */ - totalDelegationByValidatorForDenom(request: QueryTotalDelegationByValidatorForDenomRequest): Promise; - /** - * Returns the total amount of osmo superfluidly staked. - * Response is denominated in uosmo. - */ - totalSuperfluidDelegations(request?: TotalSuperfluidDelegationsRequest): Promise; - /** - * Returns the coins superfluid delegated for the delegator, validator, denom - * triplet - */ - superfluidDelegationAmount(request: SuperfluidDelegationAmountRequest): Promise; - /** Returns all the delegated superfluid poistions for a specific delegator. */ - superfluidDelegationsByDelegator(request: SuperfluidDelegationsByDelegatorRequest): Promise; - /** Returns all the undelegating superfluid poistions for a specific delegator. */ - superfluidUndelegationsByDelegator(request: SuperfluidUndelegationsByDelegatorRequest): Promise; - /** - * Returns all the superfluid positions of a specific denom delegated to one - * validator - */ - superfluidDelegationsByValidatorDenom(request: SuperfluidDelegationsByValidatorDenomRequest): Promise; - /** - * Returns the amount of a specific denom delegated to a specific validator - * This is labeled an estimate, because the way it calculates the amount can - * lead rounding errors from the true delegated amount - */ - estimateSuperfluidDelegatedAmountByValidatorDenom(request: EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): Promise; - /** Returns the specified delegations for a specific delegator */ - totalDelegationByDelegator(request: QueryTotalDelegationByDelegatorRequest): Promise; - /** Returns a list of whitelisted pool ids to unpool. */ - unpoolWhitelist(request?: QueryUnpoolWhitelistRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - params: (request?: QueryParamsRequest) => Promise; - assetType: (request: AssetTypeRequest) => Promise; - allAssets: (request?: AllAssetsRequest) => Promise; - assetMultiplier: (request: AssetMultiplierRequest) => Promise; - allIntermediaryAccounts: (request?: AllIntermediaryAccountsRequest) => Promise; - connectedIntermediaryAccount: (request: ConnectedIntermediaryAccountRequest) => Promise; - totalDelegationByValidatorForDenom: (request: QueryTotalDelegationByValidatorForDenomRequest) => Promise; - totalSuperfluidDelegations: (request?: TotalSuperfluidDelegationsRequest) => Promise; - superfluidDelegationAmount: (request: SuperfluidDelegationAmountRequest) => Promise; - superfluidDelegationsByDelegator: (request: SuperfluidDelegationsByDelegatorRequest) => Promise; - superfluidUndelegationsByDelegator: (request: SuperfluidUndelegationsByDelegatorRequest) => Promise; - superfluidDelegationsByValidatorDenom: (request: SuperfluidDelegationsByValidatorDenomRequest) => Promise; - estimateSuperfluidDelegatedAmountByValidatorDenom: (request: EstimateSuperfluidDelegatedAmountByValidatorDenomRequest) => Promise; - totalDelegationByDelegator: (request: QueryTotalDelegationByDelegatorRequest) => Promise; - unpoolWhitelist: (request?: QueryUnpoolWhitelistRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseParamsQuery extends ReactQueryParams { - request?: QueryParamsRequest; -} -export interface UseAssetTypeQuery extends ReactQueryParams { - request: AssetTypeRequest; -} -export interface UseAllAssetsQuery extends ReactQueryParams { - request?: AllAssetsRequest; -} -export interface UseAssetMultiplierQuery extends ReactQueryParams { - request: AssetMultiplierRequest; -} -export interface UseAllIntermediaryAccountsQuery extends ReactQueryParams { - request?: AllIntermediaryAccountsRequest; -} -export interface UseConnectedIntermediaryAccountQuery extends ReactQueryParams { - request: ConnectedIntermediaryAccountRequest; -} -export interface UseTotalDelegationByValidatorForDenomQuery extends ReactQueryParams { - request: QueryTotalDelegationByValidatorForDenomRequest; -} -export interface UseTotalSuperfluidDelegationsQuery extends ReactQueryParams { - request?: TotalSuperfluidDelegationsRequest; -} -export interface UseSuperfluidDelegationAmountQuery extends ReactQueryParams { - request: SuperfluidDelegationAmountRequest; -} -export interface UseSuperfluidDelegationsByDelegatorQuery extends ReactQueryParams { - request: SuperfluidDelegationsByDelegatorRequest; -} -export interface UseSuperfluidUndelegationsByDelegatorQuery extends ReactQueryParams { - request: SuperfluidUndelegationsByDelegatorRequest; -} -export interface UseSuperfluidDelegationsByValidatorDenomQuery extends ReactQueryParams { - request: SuperfluidDelegationsByValidatorDenomRequest; -} -export interface UseEstimateSuperfluidDelegatedAmountByValidatorDenomQuery extends ReactQueryParams { - request: EstimateSuperfluidDelegatedAmountByValidatorDenomRequest; -} -export interface UseTotalDelegationByDelegatorQuery extends ReactQueryParams { - request: QueryTotalDelegationByDelegatorRequest; -} -export interface UseUnpoolWhitelistQuery extends ReactQueryParams { - request?: QueryUnpoolWhitelistRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** Params returns the total set of superfluid parameters. */ useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * Returns superfluid asset type, whether if it's a native asset or an lp - * share. - */ - useAssetType: ({ request, options }: UseAssetTypeQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns all registered superfluid assets. */ useAllAssets: ({ request, options }: UseAllAssetsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns the osmo equivalent multiplier used in the most recent epoch. */ useAssetMultiplier: ({ request, options }: UseAssetMultiplierQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns all superfluid intermediary accounts. */ useAllIntermediaryAccounts: ({ request, options }: UseAllIntermediaryAccountsQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns intermediary account connected to a superfluid staked lock by id */ useConnectedIntermediaryAccount: ({ request, options }: UseConnectedIntermediaryAccountQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns the amount of delegations of specific denom for all validators */ useTotalDelegationByValidatorForDenom: ({ request, options }: UseTotalDelegationByValidatorForDenomQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * Returns the total amount of osmo superfluidly staked. - * Response is denominated in uosmo. - */ - useTotalSuperfluidDelegations: ({ request, options }: UseTotalSuperfluidDelegationsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * Returns the coins superfluid delegated for the delegator, validator, denom - * triplet - */ - useSuperfluidDelegationAmount: ({ request, options }: UseSuperfluidDelegationAmountQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns all the delegated superfluid poistions for a specific delegator. */ useSuperfluidDelegationsByDelegator: ({ request, options }: UseSuperfluidDelegationsByDelegatorQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns all the undelegating superfluid poistions for a specific delegator. */ useSuperfluidUndelegationsByDelegator: ({ request, options }: UseSuperfluidUndelegationsByDelegatorQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * Returns all the superfluid positions of a specific denom delegated to one - * validator - */ - useSuperfluidDelegationsByValidatorDenom: ({ request, options }: UseSuperfluidDelegationsByValidatorDenomQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * Returns the amount of a specific denom delegated to a specific validator - * This is labeled an estimate, because the way it calculates the amount can - * lead rounding errors from the true delegated amount - */ - useEstimateSuperfluidDelegatedAmountByValidatorDenom: ({ request, options }: UseEstimateSuperfluidDelegatedAmountByValidatorDenomQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns the specified delegations for a specific delegator */ useTotalDelegationByDelegator: ({ request, options }: UseTotalDelegationByDelegatorQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns a list of whitelisted pool ids to unpool. */ useUnpoolWhitelist: ({ request, options }: UseUnpoolWhitelistQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** Params returns the total set of superfluid parameters. */ QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../mobx").MobxResponse; - }; - }; - /** - * Returns superfluid asset type, whether if it's a native asset or an lp - * share. - */ - QueryAssetTypeStore: { - new (): { - store: QueryStore; - assetType(request: AssetTypeRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns all registered superfluid assets. */ QueryAllAssetsStore: { - new (): { - store: QueryStore; - allAssets(request: AllAssetsRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns the osmo equivalent multiplier used in the most recent epoch. */ QueryAssetMultiplierStore: { - new (): { - store: QueryStore; - assetMultiplier(request: AssetMultiplierRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns all superfluid intermediary accounts. */ QueryAllIntermediaryAccountsStore: { - new (): { - store: QueryStore; - allIntermediaryAccounts(request: AllIntermediaryAccountsRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns intermediary account connected to a superfluid staked lock by id */ QueryConnectedIntermediaryAccountStore: { - new (): { - store: QueryStore; - connectedIntermediaryAccount(request: ConnectedIntermediaryAccountRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns the amount of delegations of specific denom for all validators */ QueryTotalDelegationByValidatorForDenomStore: { - new (): { - store: QueryStore; - totalDelegationByValidatorForDenom(request: QueryTotalDelegationByValidatorForDenomRequest): import("../../mobx").MobxResponse; - }; - }; - /** - * Returns the total amount of osmo superfluidly staked. - * Response is denominated in uosmo. - */ - QueryTotalSuperfluidDelegationsStore: { - new (): { - store: QueryStore; - totalSuperfluidDelegations(request: TotalSuperfluidDelegationsRequest): import("../../mobx").MobxResponse; - }; - }; - /** - * Returns the coins superfluid delegated for the delegator, validator, denom - * triplet - */ - QuerySuperfluidDelegationAmountStore: { - new (): { - store: QueryStore; - superfluidDelegationAmount(request: SuperfluidDelegationAmountRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns all the delegated superfluid poistions for a specific delegator. */ QuerySuperfluidDelegationsByDelegatorStore: { - new (): { - store: QueryStore; - superfluidDelegationsByDelegator(request: SuperfluidDelegationsByDelegatorRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns all the undelegating superfluid poistions for a specific delegator. */ QuerySuperfluidUndelegationsByDelegatorStore: { - new (): { - store: QueryStore; - superfluidUndelegationsByDelegator(request: SuperfluidUndelegationsByDelegatorRequest): import("../../mobx").MobxResponse; - }; - }; - /** - * Returns all the superfluid positions of a specific denom delegated to one - * validator - */ - QuerySuperfluidDelegationsByValidatorDenomStore: { - new (): { - store: QueryStore; - superfluidDelegationsByValidatorDenom(request: SuperfluidDelegationsByValidatorDenomRequest): import("../../mobx").MobxResponse; - }; - }; - /** - * Returns the amount of a specific denom delegated to a specific validator - * This is labeled an estimate, because the way it calculates the amount can - * lead rounding errors from the true delegated amount - */ - QueryEstimateSuperfluidDelegatedAmountByValidatorDenomStore: { - new (): { - store: QueryStore; - estimateSuperfluidDelegatedAmountByValidatorDenom(request: EstimateSuperfluidDelegatedAmountByValidatorDenomRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns the specified delegations for a specific delegator */ QueryTotalDelegationByDelegatorStore: { - new (): { - store: QueryStore; - totalDelegationByDelegator(request: QueryTotalDelegationByDelegatorRequest): import("../../mobx").MobxResponse; - }; - }; - /** Returns a list of whitelisted pool ids to unpool. */ QueryUnpoolWhitelistStore: { - new (): { - store: QueryStore; - unpoolWhitelist(request: QueryUnpoolWhitelistRequest): import("../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/superfluid/superfluid.d.ts b/examples/authz/types/codegen/osmosis/superfluid/superfluid.d.ts deleted file mode 100644 index 89015af4..00000000 --- a/examples/authz/types/codegen/osmosis/superfluid/superfluid.d.ts +++ /dev/null @@ -1,357 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../cosmos/base/v1beta1/coin"; -import { DeepPartial } from "../../helpers"; -import { BinaryReader, BinaryWriter } from "../../binary"; -/** - * SuperfluidAssetType indicates whether the superfluid asset is - * a native token itself or the lp share of a pool. - */ -export declare enum SuperfluidAssetType { - SuperfluidAssetTypeNative = 0, - SuperfluidAssetTypeLPShare = 1, - UNRECOGNIZED = -1 -} -export declare const SuperfluidAssetTypeSDKType: typeof SuperfluidAssetType; -export declare const SuperfluidAssetTypeAmino: typeof SuperfluidAssetType; -export declare function superfluidAssetTypeFromJSON(object: any): SuperfluidAssetType; -export declare function superfluidAssetTypeToJSON(object: SuperfluidAssetType): string; -/** SuperfluidAsset stores the pair of superfluid asset type and denom pair */ -export interface SuperfluidAsset { - denom: string; - /** - * AssetType indicates whether the superfluid asset is a native token or an lp - * share - */ - assetType: SuperfluidAssetType; -} -export interface SuperfluidAssetProtoMsg { - typeUrl: "/osmosis.superfluid.SuperfluidAsset"; - value: Uint8Array; -} -/** SuperfluidAsset stores the pair of superfluid asset type and denom pair */ -export interface SuperfluidAssetAmino { - denom?: string; - /** - * AssetType indicates whether the superfluid asset is a native token or an lp - * share - */ - asset_type?: SuperfluidAssetType; -} -export interface SuperfluidAssetAminoMsg { - type: "osmosis/superfluid-asset"; - value: SuperfluidAssetAmino; -} -/** SuperfluidAsset stores the pair of superfluid asset type and denom pair */ -export interface SuperfluidAssetSDKType { - denom: string; - asset_type: SuperfluidAssetType; -} -/** - * SuperfluidIntermediaryAccount takes the role of intermediary between LP token - * and OSMO tokens for superfluid staking. The intermediary account is the - * actual account responsible for delegation, not the validator account itself. - */ -export interface SuperfluidIntermediaryAccount { - /** Denom indicates the denom of the superfluid asset. */ - denom: string; - valAddr: string; - /** perpetual gauge for rewards distribution */ - gaugeId: bigint; -} -export interface SuperfluidIntermediaryAccountProtoMsg { - typeUrl: "/osmosis.superfluid.SuperfluidIntermediaryAccount"; - value: Uint8Array; -} -/** - * SuperfluidIntermediaryAccount takes the role of intermediary between LP token - * and OSMO tokens for superfluid staking. The intermediary account is the - * actual account responsible for delegation, not the validator account itself. - */ -export interface SuperfluidIntermediaryAccountAmino { - /** Denom indicates the denom of the superfluid asset. */ - denom?: string; - val_addr?: string; - /** perpetual gauge for rewards distribution */ - gauge_id?: string; -} -export interface SuperfluidIntermediaryAccountAminoMsg { - type: "osmosis/superfluid-intermediary-account"; - value: SuperfluidIntermediaryAccountAmino; -} -/** - * SuperfluidIntermediaryAccount takes the role of intermediary between LP token - * and OSMO tokens for superfluid staking. The intermediary account is the - * actual account responsible for delegation, not the validator account itself. - */ -export interface SuperfluidIntermediaryAccountSDKType { - denom: string; - val_addr: string; - gauge_id: bigint; -} -/** - * The Osmo-Equivalent-Multiplier Record for epoch N refers to the osmo worth we - * treat an LP share as having, for all of epoch N. Eventually this is intended - * to be set as the Time-weighted-average-osmo-backing for the entire duration - * of epoch N-1. (Thereby locking whats in use for epoch N as based on the prior - * epochs rewards) However for now, this is not the TWAP but instead the spot - * price at the boundary. For different types of assets in the future, it could - * change. - */ -export interface OsmoEquivalentMultiplierRecord { - epochNumber: bigint; - /** superfluid asset denom, can be LP token or native token */ - denom: string; - multiplier: string; -} -export interface OsmoEquivalentMultiplierRecordProtoMsg { - typeUrl: "/osmosis.superfluid.OsmoEquivalentMultiplierRecord"; - value: Uint8Array; -} -/** - * The Osmo-Equivalent-Multiplier Record for epoch N refers to the osmo worth we - * treat an LP share as having, for all of epoch N. Eventually this is intended - * to be set as the Time-weighted-average-osmo-backing for the entire duration - * of epoch N-1. (Thereby locking whats in use for epoch N as based on the prior - * epochs rewards) However for now, this is not the TWAP but instead the spot - * price at the boundary. For different types of assets in the future, it could - * change. - */ -export interface OsmoEquivalentMultiplierRecordAmino { - epoch_number?: string; - /** superfluid asset denom, can be LP token or native token */ - denom?: string; - multiplier?: string; -} -export interface OsmoEquivalentMultiplierRecordAminoMsg { - type: "osmosis/osmo-equivalent-multiplier-record"; - value: OsmoEquivalentMultiplierRecordAmino; -} -/** - * The Osmo-Equivalent-Multiplier Record for epoch N refers to the osmo worth we - * treat an LP share as having, for all of epoch N. Eventually this is intended - * to be set as the Time-weighted-average-osmo-backing for the entire duration - * of epoch N-1. (Thereby locking whats in use for epoch N as based on the prior - * epochs rewards) However for now, this is not the TWAP but instead the spot - * price at the boundary. For different types of assets in the future, it could - * change. - */ -export interface OsmoEquivalentMultiplierRecordSDKType { - epoch_number: bigint; - denom: string; - multiplier: string; -} -/** - * SuperfluidDelegationRecord is a struct used to indicate superfluid - * delegations of an account in the state machine in a user friendly form. - */ -export interface SuperfluidDelegationRecord { - delegatorAddress: string; - validatorAddress: string; - delegationAmount: Coin | undefined; - equivalentStakedAmount?: Coin | undefined; -} -export interface SuperfluidDelegationRecordProtoMsg { - typeUrl: "/osmosis.superfluid.SuperfluidDelegationRecord"; - value: Uint8Array; -} -/** - * SuperfluidDelegationRecord is a struct used to indicate superfluid - * delegations of an account in the state machine in a user friendly form. - */ -export interface SuperfluidDelegationRecordAmino { - delegator_address?: string; - validator_address?: string; - delegation_amount?: CoinAmino | undefined; - equivalent_staked_amount?: CoinAmino | undefined; -} -export interface SuperfluidDelegationRecordAminoMsg { - type: "osmosis/superfluid-delegation-record"; - value: SuperfluidDelegationRecordAmino; -} -/** - * SuperfluidDelegationRecord is a struct used to indicate superfluid - * delegations of an account in the state machine in a user friendly form. - */ -export interface SuperfluidDelegationRecordSDKType { - delegator_address: string; - validator_address: string; - delegation_amount: CoinSDKType | undefined; - equivalent_staked_amount?: CoinSDKType | undefined; -} -/** - * LockIdIntermediaryAccountConnection is a struct used to indicate the - * relationship between the underlying lock id and superfluid delegation done - * via lp shares. - */ -export interface LockIdIntermediaryAccountConnection { - lockId: bigint; - intermediaryAccount: string; -} -export interface LockIdIntermediaryAccountConnectionProtoMsg { - typeUrl: "/osmosis.superfluid.LockIdIntermediaryAccountConnection"; - value: Uint8Array; -} -/** - * LockIdIntermediaryAccountConnection is a struct used to indicate the - * relationship between the underlying lock id and superfluid delegation done - * via lp shares. - */ -export interface LockIdIntermediaryAccountConnectionAmino { - lock_id?: string; - intermediary_account?: string; -} -export interface LockIdIntermediaryAccountConnectionAminoMsg { - type: "osmosis/lock-id-intermediary-account-connection"; - value: LockIdIntermediaryAccountConnectionAmino; -} -/** - * LockIdIntermediaryAccountConnection is a struct used to indicate the - * relationship between the underlying lock id and superfluid delegation done - * via lp shares. - */ -export interface LockIdIntermediaryAccountConnectionSDKType { - lock_id: bigint; - intermediary_account: string; -} -export interface UnpoolWhitelistedPools { - ids: bigint[]; -} -export interface UnpoolWhitelistedPoolsProtoMsg { - typeUrl: "/osmosis.superfluid.UnpoolWhitelistedPools"; - value: Uint8Array; -} -export interface UnpoolWhitelistedPoolsAmino { - ids?: string[]; -} -export interface UnpoolWhitelistedPoolsAminoMsg { - type: "osmosis/unpool-whitelisted-pools"; - value: UnpoolWhitelistedPoolsAmino; -} -export interface UnpoolWhitelistedPoolsSDKType { - ids: bigint[]; -} -export declare const SuperfluidAsset: { - typeUrl: string; - aminoType: string; - is(o: any): o is SuperfluidAsset; - isSDK(o: any): o is SuperfluidAssetSDKType; - isAmino(o: any): o is SuperfluidAssetAmino; - encode(message: SuperfluidAsset, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SuperfluidAsset; - fromJSON(object: any): SuperfluidAsset; - toJSON(message: SuperfluidAsset): unknown; - fromPartial(object: DeepPartial): SuperfluidAsset; - fromSDK(object: SuperfluidAssetSDKType): SuperfluidAsset; - toSDK(message: SuperfluidAsset): SuperfluidAssetSDKType; - fromAmino(object: SuperfluidAssetAmino): SuperfluidAsset; - toAmino(message: SuperfluidAsset): SuperfluidAssetAmino; - fromAminoMsg(object: SuperfluidAssetAminoMsg): SuperfluidAsset; - toAminoMsg(message: SuperfluidAsset): SuperfluidAssetAminoMsg; - fromProtoMsg(message: SuperfluidAssetProtoMsg): SuperfluidAsset; - toProto(message: SuperfluidAsset): Uint8Array; - toProtoMsg(message: SuperfluidAsset): SuperfluidAssetProtoMsg; -}; -export declare const SuperfluidIntermediaryAccount: { - typeUrl: string; - aminoType: string; - is(o: any): o is SuperfluidIntermediaryAccount; - isSDK(o: any): o is SuperfluidIntermediaryAccountSDKType; - isAmino(o: any): o is SuperfluidIntermediaryAccountAmino; - encode(message: SuperfluidIntermediaryAccount, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SuperfluidIntermediaryAccount; - fromJSON(object: any): SuperfluidIntermediaryAccount; - toJSON(message: SuperfluidIntermediaryAccount): unknown; - fromPartial(object: DeepPartial): SuperfluidIntermediaryAccount; - fromSDK(object: SuperfluidIntermediaryAccountSDKType): SuperfluidIntermediaryAccount; - toSDK(message: SuperfluidIntermediaryAccount): SuperfluidIntermediaryAccountSDKType; - fromAmino(object: SuperfluidIntermediaryAccountAmino): SuperfluidIntermediaryAccount; - toAmino(message: SuperfluidIntermediaryAccount): SuperfluidIntermediaryAccountAmino; - fromAminoMsg(object: SuperfluidIntermediaryAccountAminoMsg): SuperfluidIntermediaryAccount; - toAminoMsg(message: SuperfluidIntermediaryAccount): SuperfluidIntermediaryAccountAminoMsg; - fromProtoMsg(message: SuperfluidIntermediaryAccountProtoMsg): SuperfluidIntermediaryAccount; - toProto(message: SuperfluidIntermediaryAccount): Uint8Array; - toProtoMsg(message: SuperfluidIntermediaryAccount): SuperfluidIntermediaryAccountProtoMsg; -}; -export declare const OsmoEquivalentMultiplierRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is OsmoEquivalentMultiplierRecord; - isSDK(o: any): o is OsmoEquivalentMultiplierRecordSDKType; - isAmino(o: any): o is OsmoEquivalentMultiplierRecordAmino; - encode(message: OsmoEquivalentMultiplierRecord, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): OsmoEquivalentMultiplierRecord; - fromJSON(object: any): OsmoEquivalentMultiplierRecord; - toJSON(message: OsmoEquivalentMultiplierRecord): unknown; - fromPartial(object: DeepPartial): OsmoEquivalentMultiplierRecord; - fromSDK(object: OsmoEquivalentMultiplierRecordSDKType): OsmoEquivalentMultiplierRecord; - toSDK(message: OsmoEquivalentMultiplierRecord): OsmoEquivalentMultiplierRecordSDKType; - fromAmino(object: OsmoEquivalentMultiplierRecordAmino): OsmoEquivalentMultiplierRecord; - toAmino(message: OsmoEquivalentMultiplierRecord): OsmoEquivalentMultiplierRecordAmino; - fromAminoMsg(object: OsmoEquivalentMultiplierRecordAminoMsg): OsmoEquivalentMultiplierRecord; - toAminoMsg(message: OsmoEquivalentMultiplierRecord): OsmoEquivalentMultiplierRecordAminoMsg; - fromProtoMsg(message: OsmoEquivalentMultiplierRecordProtoMsg): OsmoEquivalentMultiplierRecord; - toProto(message: OsmoEquivalentMultiplierRecord): Uint8Array; - toProtoMsg(message: OsmoEquivalentMultiplierRecord): OsmoEquivalentMultiplierRecordProtoMsg; -}; -export declare const SuperfluidDelegationRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is SuperfluidDelegationRecord; - isSDK(o: any): o is SuperfluidDelegationRecordSDKType; - isAmino(o: any): o is SuperfluidDelegationRecordAmino; - encode(message: SuperfluidDelegationRecord, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SuperfluidDelegationRecord; - fromJSON(object: any): SuperfluidDelegationRecord; - toJSON(message: SuperfluidDelegationRecord): unknown; - fromPartial(object: DeepPartial): SuperfluidDelegationRecord; - fromSDK(object: SuperfluidDelegationRecordSDKType): SuperfluidDelegationRecord; - toSDK(message: SuperfluidDelegationRecord): SuperfluidDelegationRecordSDKType; - fromAmino(object: SuperfluidDelegationRecordAmino): SuperfluidDelegationRecord; - toAmino(message: SuperfluidDelegationRecord): SuperfluidDelegationRecordAmino; - fromAminoMsg(object: SuperfluidDelegationRecordAminoMsg): SuperfluidDelegationRecord; - toAminoMsg(message: SuperfluidDelegationRecord): SuperfluidDelegationRecordAminoMsg; - fromProtoMsg(message: SuperfluidDelegationRecordProtoMsg): SuperfluidDelegationRecord; - toProto(message: SuperfluidDelegationRecord): Uint8Array; - toProtoMsg(message: SuperfluidDelegationRecord): SuperfluidDelegationRecordProtoMsg; -}; -export declare const LockIdIntermediaryAccountConnection: { - typeUrl: string; - aminoType: string; - is(o: any): o is LockIdIntermediaryAccountConnection; - isSDK(o: any): o is LockIdIntermediaryAccountConnectionSDKType; - isAmino(o: any): o is LockIdIntermediaryAccountConnectionAmino; - encode(message: LockIdIntermediaryAccountConnection, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): LockIdIntermediaryAccountConnection; - fromJSON(object: any): LockIdIntermediaryAccountConnection; - toJSON(message: LockIdIntermediaryAccountConnection): unknown; - fromPartial(object: DeepPartial): LockIdIntermediaryAccountConnection; - fromSDK(object: LockIdIntermediaryAccountConnectionSDKType): LockIdIntermediaryAccountConnection; - toSDK(message: LockIdIntermediaryAccountConnection): LockIdIntermediaryAccountConnectionSDKType; - fromAmino(object: LockIdIntermediaryAccountConnectionAmino): LockIdIntermediaryAccountConnection; - toAmino(message: LockIdIntermediaryAccountConnection): LockIdIntermediaryAccountConnectionAmino; - fromAminoMsg(object: LockIdIntermediaryAccountConnectionAminoMsg): LockIdIntermediaryAccountConnection; - toAminoMsg(message: LockIdIntermediaryAccountConnection): LockIdIntermediaryAccountConnectionAminoMsg; - fromProtoMsg(message: LockIdIntermediaryAccountConnectionProtoMsg): LockIdIntermediaryAccountConnection; - toProto(message: LockIdIntermediaryAccountConnection): Uint8Array; - toProtoMsg(message: LockIdIntermediaryAccountConnection): LockIdIntermediaryAccountConnectionProtoMsg; -}; -export declare const UnpoolWhitelistedPools: { - typeUrl: string; - aminoType: string; - is(o: any): o is UnpoolWhitelistedPools; - isSDK(o: any): o is UnpoolWhitelistedPoolsSDKType; - isAmino(o: any): o is UnpoolWhitelistedPoolsAmino; - encode(message: UnpoolWhitelistedPools, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): UnpoolWhitelistedPools; - fromJSON(object: any): UnpoolWhitelistedPools; - toJSON(message: UnpoolWhitelistedPools): unknown; - fromPartial(object: DeepPartial): UnpoolWhitelistedPools; - fromSDK(object: UnpoolWhitelistedPoolsSDKType): UnpoolWhitelistedPools; - toSDK(message: UnpoolWhitelistedPools): UnpoolWhitelistedPoolsSDKType; - fromAmino(object: UnpoolWhitelistedPoolsAmino): UnpoolWhitelistedPools; - toAmino(message: UnpoolWhitelistedPools): UnpoolWhitelistedPoolsAmino; - fromAminoMsg(object: UnpoolWhitelistedPoolsAminoMsg): UnpoolWhitelistedPools; - toAminoMsg(message: UnpoolWhitelistedPools): UnpoolWhitelistedPoolsAminoMsg; - fromProtoMsg(message: UnpoolWhitelistedPoolsProtoMsg): UnpoolWhitelistedPools; - toProto(message: UnpoolWhitelistedPools): Uint8Array; - toProtoMsg(message: UnpoolWhitelistedPools): UnpoolWhitelistedPoolsProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/superfluid/tx.amino.d.ts b/examples/authz/types/codegen/osmosis/superfluid/tx.amino.d.ts deleted file mode 100644 index 58922981..00000000 --- a/examples/authz/types/codegen/osmosis/superfluid/tx.amino.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { MsgSuperfluidDelegate, MsgSuperfluidUndelegate, MsgSuperfluidUnbondLock, MsgLockAndSuperfluidDelegate, MsgUnPoolWhitelistedPool } from "./tx"; -export declare const AminoConverter: { - "/osmosis.superfluid.MsgSuperfluidDelegate": { - aminoType: string; - toAmino: (message: MsgSuperfluidDelegate) => import("./tx").MsgSuperfluidDelegateAmino; - fromAmino: (object: import("./tx").MsgSuperfluidDelegateAmino) => MsgSuperfluidDelegate; - }; - "/osmosis.superfluid.MsgSuperfluidUndelegate": { - aminoType: string; - toAmino: (message: MsgSuperfluidUndelegate) => import("./tx").MsgSuperfluidUndelegateAmino; - fromAmino: (object: import("./tx").MsgSuperfluidUndelegateAmino) => MsgSuperfluidUndelegate; - }; - "/osmosis.superfluid.MsgSuperfluidUnbondLock": { - aminoType: string; - toAmino: (message: MsgSuperfluidUnbondLock) => import("./tx").MsgSuperfluidUnbondLockAmino; - fromAmino: (object: import("./tx").MsgSuperfluidUnbondLockAmino) => MsgSuperfluidUnbondLock; - }; - "/osmosis.superfluid.MsgLockAndSuperfluidDelegate": { - aminoType: string; - toAmino: (message: MsgLockAndSuperfluidDelegate) => import("./tx").MsgLockAndSuperfluidDelegateAmino; - fromAmino: (object: import("./tx").MsgLockAndSuperfluidDelegateAmino) => MsgLockAndSuperfluidDelegate; - }; - "/osmosis.superfluid.MsgUnPoolWhitelistedPool": { - aminoType: string; - toAmino: (message: MsgUnPoolWhitelistedPool) => import("./tx").MsgUnPoolWhitelistedPoolAmino; - fromAmino: (object: import("./tx").MsgUnPoolWhitelistedPoolAmino) => MsgUnPoolWhitelistedPool; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/superfluid/tx.d.ts b/examples/authz/types/codegen/osmosis/superfluid/tx.d.ts deleted file mode 100644 index c08822c0..00000000 --- a/examples/authz/types/codegen/osmosis/superfluid/tx.d.ts +++ /dev/null @@ -1,440 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../cosmos/base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -export interface MsgSuperfluidDelegate { - sender: string; - lockId: bigint; - valAddr: string; -} -export interface MsgSuperfluidDelegateProtoMsg { - typeUrl: "/osmosis.superfluid.MsgSuperfluidDelegate"; - value: Uint8Array; -} -export interface MsgSuperfluidDelegateAmino { - sender?: string; - lock_id?: string; - val_addr?: string; -} -export interface MsgSuperfluidDelegateAminoMsg { - type: "osmosis/superfluid-delegate"; - value: MsgSuperfluidDelegateAmino; -} -export interface MsgSuperfluidDelegateSDKType { - sender: string; - lock_id: bigint; - val_addr: string; -} -export interface MsgSuperfluidDelegateResponse { -} -export interface MsgSuperfluidDelegateResponseProtoMsg { - typeUrl: "/osmosis.superfluid.MsgSuperfluidDelegateResponse"; - value: Uint8Array; -} -export interface MsgSuperfluidDelegateResponseAmino { -} -export interface MsgSuperfluidDelegateResponseAminoMsg { - type: "osmosis/superfluid-delegate-response"; - value: MsgSuperfluidDelegateResponseAmino; -} -export interface MsgSuperfluidDelegateResponseSDKType { -} -export interface MsgSuperfluidUndelegate { - sender: string; - lockId: bigint; -} -export interface MsgSuperfluidUndelegateProtoMsg { - typeUrl: "/osmosis.superfluid.MsgSuperfluidUndelegate"; - value: Uint8Array; -} -export interface MsgSuperfluidUndelegateAmino { - sender?: string; - lock_id?: string; -} -export interface MsgSuperfluidUndelegateAminoMsg { - type: "osmosis/superfluid-undelegate"; - value: MsgSuperfluidUndelegateAmino; -} -export interface MsgSuperfluidUndelegateSDKType { - sender: string; - lock_id: bigint; -} -export interface MsgSuperfluidUndelegateResponse { -} -export interface MsgSuperfluidUndelegateResponseProtoMsg { - typeUrl: "/osmosis.superfluid.MsgSuperfluidUndelegateResponse"; - value: Uint8Array; -} -export interface MsgSuperfluidUndelegateResponseAmino { -} -export interface MsgSuperfluidUndelegateResponseAminoMsg { - type: "osmosis/superfluid-undelegate-response"; - value: MsgSuperfluidUndelegateResponseAmino; -} -export interface MsgSuperfluidUndelegateResponseSDKType { -} -export interface MsgSuperfluidUnbondLock { - sender: string; - lockId: bigint; -} -export interface MsgSuperfluidUnbondLockProtoMsg { - typeUrl: "/osmosis.superfluid.MsgSuperfluidUnbondLock"; - value: Uint8Array; -} -export interface MsgSuperfluidUnbondLockAmino { - sender?: string; - lock_id?: string; -} -export interface MsgSuperfluidUnbondLockAminoMsg { - type: "osmosis/superfluid-unbond-lock"; - value: MsgSuperfluidUnbondLockAmino; -} -export interface MsgSuperfluidUnbondLockSDKType { - sender: string; - lock_id: bigint; -} -export interface MsgSuperfluidUnbondLockResponse { -} -export interface MsgSuperfluidUnbondLockResponseProtoMsg { - typeUrl: "/osmosis.superfluid.MsgSuperfluidUnbondLockResponse"; - value: Uint8Array; -} -export interface MsgSuperfluidUnbondLockResponseAmino { -} -export interface MsgSuperfluidUnbondLockResponseAminoMsg { - type: "osmosis/superfluid-unbond-lock-response"; - value: MsgSuperfluidUnbondLockResponseAmino; -} -export interface MsgSuperfluidUnbondLockResponseSDKType { -} -/** - * MsgLockAndSuperfluidDelegate locks coins with the unbonding period duration, - * and then does a superfluid lock from the newly created lockup, to the - * specified validator addr. - */ -export interface MsgLockAndSuperfluidDelegate { - sender: string; - coins: Coin[]; - valAddr: string; -} -export interface MsgLockAndSuperfluidDelegateProtoMsg { - typeUrl: "/osmosis.superfluid.MsgLockAndSuperfluidDelegate"; - value: Uint8Array; -} -/** - * MsgLockAndSuperfluidDelegate locks coins with the unbonding period duration, - * and then does a superfluid lock from the newly created lockup, to the - * specified validator addr. - */ -export interface MsgLockAndSuperfluidDelegateAmino { - sender?: string; - coins?: CoinAmino[]; - val_addr?: string; -} -export interface MsgLockAndSuperfluidDelegateAminoMsg { - type: "osmosis/lock-and-superfluid-delegate"; - value: MsgLockAndSuperfluidDelegateAmino; -} -/** - * MsgLockAndSuperfluidDelegate locks coins with the unbonding period duration, - * and then does a superfluid lock from the newly created lockup, to the - * specified validator addr. - */ -export interface MsgLockAndSuperfluidDelegateSDKType { - sender: string; - coins: CoinSDKType[]; - val_addr: string; -} -export interface MsgLockAndSuperfluidDelegateResponse { - ID: bigint; -} -export interface MsgLockAndSuperfluidDelegateResponseProtoMsg { - typeUrl: "/osmosis.superfluid.MsgLockAndSuperfluidDelegateResponse"; - value: Uint8Array; -} -export interface MsgLockAndSuperfluidDelegateResponseAmino { - ID?: string; -} -export interface MsgLockAndSuperfluidDelegateResponseAminoMsg { - type: "osmosis/lock-and-superfluid-delegate-response"; - value: MsgLockAndSuperfluidDelegateResponseAmino; -} -export interface MsgLockAndSuperfluidDelegateResponseSDKType { - ID: bigint; -} -/** - * MsgUnPoolWhitelistedPool Unpools every lock the sender has, that is - * associated with pool pool_id. If pool_id is not approved for unpooling by - * governance, this is a no-op. Unpooling takes the locked gamm shares, and runs - * "ExitPool" on it, to get the constituent tokens. e.g. z gamm/pool/1 tokens - * ExitPools into constituent tokens x uatom, y uosmo. Then it creates a new - * lock for every constituent token, with the duration associated with the lock. - * If the lock was unbonding, the new lockup durations should be the time left - * until unbond completion. - */ -export interface MsgUnPoolWhitelistedPool { - sender: string; - poolId: bigint; -} -export interface MsgUnPoolWhitelistedPoolProtoMsg { - typeUrl: "/osmosis.superfluid.MsgUnPoolWhitelistedPool"; - value: Uint8Array; -} -/** - * MsgUnPoolWhitelistedPool Unpools every lock the sender has, that is - * associated with pool pool_id. If pool_id is not approved for unpooling by - * governance, this is a no-op. Unpooling takes the locked gamm shares, and runs - * "ExitPool" on it, to get the constituent tokens. e.g. z gamm/pool/1 tokens - * ExitPools into constituent tokens x uatom, y uosmo. Then it creates a new - * lock for every constituent token, with the duration associated with the lock. - * If the lock was unbonding, the new lockup durations should be the time left - * until unbond completion. - */ -export interface MsgUnPoolWhitelistedPoolAmino { - sender?: string; - pool_id?: string; -} -export interface MsgUnPoolWhitelistedPoolAminoMsg { - type: "osmosis/unpool-whitelisted-pool"; - value: MsgUnPoolWhitelistedPoolAmino; -} -/** - * MsgUnPoolWhitelistedPool Unpools every lock the sender has, that is - * associated with pool pool_id. If pool_id is not approved for unpooling by - * governance, this is a no-op. Unpooling takes the locked gamm shares, and runs - * "ExitPool" on it, to get the constituent tokens. e.g. z gamm/pool/1 tokens - * ExitPools into constituent tokens x uatom, y uosmo. Then it creates a new - * lock for every constituent token, with the duration associated with the lock. - * If the lock was unbonding, the new lockup durations should be the time left - * until unbond completion. - */ -export interface MsgUnPoolWhitelistedPoolSDKType { - sender: string; - pool_id: bigint; -} -export interface MsgUnPoolWhitelistedPoolResponse { - exitedLockIds: bigint[]; -} -export interface MsgUnPoolWhitelistedPoolResponseProtoMsg { - typeUrl: "/osmosis.superfluid.MsgUnPoolWhitelistedPoolResponse"; - value: Uint8Array; -} -export interface MsgUnPoolWhitelistedPoolResponseAmino { - exited_lock_ids?: string[]; -} -export interface MsgUnPoolWhitelistedPoolResponseAminoMsg { - type: "osmosis/un-pool-whitelisted-pool-response"; - value: MsgUnPoolWhitelistedPoolResponseAmino; -} -export interface MsgUnPoolWhitelistedPoolResponseSDKType { - exited_lock_ids: bigint[]; -} -export declare const MsgSuperfluidDelegate: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSuperfluidDelegate; - isSDK(o: any): o is MsgSuperfluidDelegateSDKType; - isAmino(o: any): o is MsgSuperfluidDelegateAmino; - encode(message: MsgSuperfluidDelegate, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSuperfluidDelegate; - fromJSON(object: any): MsgSuperfluidDelegate; - toJSON(message: MsgSuperfluidDelegate): unknown; - fromPartial(object: DeepPartial): MsgSuperfluidDelegate; - fromSDK(object: MsgSuperfluidDelegateSDKType): MsgSuperfluidDelegate; - toSDK(message: MsgSuperfluidDelegate): MsgSuperfluidDelegateSDKType; - fromAmino(object: MsgSuperfluidDelegateAmino): MsgSuperfluidDelegate; - toAmino(message: MsgSuperfluidDelegate): MsgSuperfluidDelegateAmino; - fromAminoMsg(object: MsgSuperfluidDelegateAminoMsg): MsgSuperfluidDelegate; - toAminoMsg(message: MsgSuperfluidDelegate): MsgSuperfluidDelegateAminoMsg; - fromProtoMsg(message: MsgSuperfluidDelegateProtoMsg): MsgSuperfluidDelegate; - toProto(message: MsgSuperfluidDelegate): Uint8Array; - toProtoMsg(message: MsgSuperfluidDelegate): MsgSuperfluidDelegateProtoMsg; -}; -export declare const MsgSuperfluidDelegateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSuperfluidDelegateResponse; - isSDK(o: any): o is MsgSuperfluidDelegateResponseSDKType; - isAmino(o: any): o is MsgSuperfluidDelegateResponseAmino; - encode(_: MsgSuperfluidDelegateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSuperfluidDelegateResponse; - fromJSON(_: any): MsgSuperfluidDelegateResponse; - toJSON(_: MsgSuperfluidDelegateResponse): unknown; - fromPartial(_: DeepPartial): MsgSuperfluidDelegateResponse; - fromSDK(_: MsgSuperfluidDelegateResponseSDKType): MsgSuperfluidDelegateResponse; - toSDK(_: MsgSuperfluidDelegateResponse): MsgSuperfluidDelegateResponseSDKType; - fromAmino(_: MsgSuperfluidDelegateResponseAmino): MsgSuperfluidDelegateResponse; - toAmino(_: MsgSuperfluidDelegateResponse): MsgSuperfluidDelegateResponseAmino; - fromAminoMsg(object: MsgSuperfluidDelegateResponseAminoMsg): MsgSuperfluidDelegateResponse; - toAminoMsg(message: MsgSuperfluidDelegateResponse): MsgSuperfluidDelegateResponseAminoMsg; - fromProtoMsg(message: MsgSuperfluidDelegateResponseProtoMsg): MsgSuperfluidDelegateResponse; - toProto(message: MsgSuperfluidDelegateResponse): Uint8Array; - toProtoMsg(message: MsgSuperfluidDelegateResponse): MsgSuperfluidDelegateResponseProtoMsg; -}; -export declare const MsgSuperfluidUndelegate: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSuperfluidUndelegate; - isSDK(o: any): o is MsgSuperfluidUndelegateSDKType; - isAmino(o: any): o is MsgSuperfluidUndelegateAmino; - encode(message: MsgSuperfluidUndelegate, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSuperfluidUndelegate; - fromJSON(object: any): MsgSuperfluidUndelegate; - toJSON(message: MsgSuperfluidUndelegate): unknown; - fromPartial(object: DeepPartial): MsgSuperfluidUndelegate; - fromSDK(object: MsgSuperfluidUndelegateSDKType): MsgSuperfluidUndelegate; - toSDK(message: MsgSuperfluidUndelegate): MsgSuperfluidUndelegateSDKType; - fromAmino(object: MsgSuperfluidUndelegateAmino): MsgSuperfluidUndelegate; - toAmino(message: MsgSuperfluidUndelegate): MsgSuperfluidUndelegateAmino; - fromAminoMsg(object: MsgSuperfluidUndelegateAminoMsg): MsgSuperfluidUndelegate; - toAminoMsg(message: MsgSuperfluidUndelegate): MsgSuperfluidUndelegateAminoMsg; - fromProtoMsg(message: MsgSuperfluidUndelegateProtoMsg): MsgSuperfluidUndelegate; - toProto(message: MsgSuperfluidUndelegate): Uint8Array; - toProtoMsg(message: MsgSuperfluidUndelegate): MsgSuperfluidUndelegateProtoMsg; -}; -export declare const MsgSuperfluidUndelegateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSuperfluidUndelegateResponse; - isSDK(o: any): o is MsgSuperfluidUndelegateResponseSDKType; - isAmino(o: any): o is MsgSuperfluidUndelegateResponseAmino; - encode(_: MsgSuperfluidUndelegateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSuperfluidUndelegateResponse; - fromJSON(_: any): MsgSuperfluidUndelegateResponse; - toJSON(_: MsgSuperfluidUndelegateResponse): unknown; - fromPartial(_: DeepPartial): MsgSuperfluidUndelegateResponse; - fromSDK(_: MsgSuperfluidUndelegateResponseSDKType): MsgSuperfluidUndelegateResponse; - toSDK(_: MsgSuperfluidUndelegateResponse): MsgSuperfluidUndelegateResponseSDKType; - fromAmino(_: MsgSuperfluidUndelegateResponseAmino): MsgSuperfluidUndelegateResponse; - toAmino(_: MsgSuperfluidUndelegateResponse): MsgSuperfluidUndelegateResponseAmino; - fromAminoMsg(object: MsgSuperfluidUndelegateResponseAminoMsg): MsgSuperfluidUndelegateResponse; - toAminoMsg(message: MsgSuperfluidUndelegateResponse): MsgSuperfluidUndelegateResponseAminoMsg; - fromProtoMsg(message: MsgSuperfluidUndelegateResponseProtoMsg): MsgSuperfluidUndelegateResponse; - toProto(message: MsgSuperfluidUndelegateResponse): Uint8Array; - toProtoMsg(message: MsgSuperfluidUndelegateResponse): MsgSuperfluidUndelegateResponseProtoMsg; -}; -export declare const MsgSuperfluidUnbondLock: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSuperfluidUnbondLock; - isSDK(o: any): o is MsgSuperfluidUnbondLockSDKType; - isAmino(o: any): o is MsgSuperfluidUnbondLockAmino; - encode(message: MsgSuperfluidUnbondLock, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSuperfluidUnbondLock; - fromJSON(object: any): MsgSuperfluidUnbondLock; - toJSON(message: MsgSuperfluidUnbondLock): unknown; - fromPartial(object: DeepPartial): MsgSuperfluidUnbondLock; - fromSDK(object: MsgSuperfluidUnbondLockSDKType): MsgSuperfluidUnbondLock; - toSDK(message: MsgSuperfluidUnbondLock): MsgSuperfluidUnbondLockSDKType; - fromAmino(object: MsgSuperfluidUnbondLockAmino): MsgSuperfluidUnbondLock; - toAmino(message: MsgSuperfluidUnbondLock): MsgSuperfluidUnbondLockAmino; - fromAminoMsg(object: MsgSuperfluidUnbondLockAminoMsg): MsgSuperfluidUnbondLock; - toAminoMsg(message: MsgSuperfluidUnbondLock): MsgSuperfluidUnbondLockAminoMsg; - fromProtoMsg(message: MsgSuperfluidUnbondLockProtoMsg): MsgSuperfluidUnbondLock; - toProto(message: MsgSuperfluidUnbondLock): Uint8Array; - toProtoMsg(message: MsgSuperfluidUnbondLock): MsgSuperfluidUnbondLockProtoMsg; -}; -export declare const MsgSuperfluidUnbondLockResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSuperfluidUnbondLockResponse; - isSDK(o: any): o is MsgSuperfluidUnbondLockResponseSDKType; - isAmino(o: any): o is MsgSuperfluidUnbondLockResponseAmino; - encode(_: MsgSuperfluidUnbondLockResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSuperfluidUnbondLockResponse; - fromJSON(_: any): MsgSuperfluidUnbondLockResponse; - toJSON(_: MsgSuperfluidUnbondLockResponse): unknown; - fromPartial(_: DeepPartial): MsgSuperfluidUnbondLockResponse; - fromSDK(_: MsgSuperfluidUnbondLockResponseSDKType): MsgSuperfluidUnbondLockResponse; - toSDK(_: MsgSuperfluidUnbondLockResponse): MsgSuperfluidUnbondLockResponseSDKType; - fromAmino(_: MsgSuperfluidUnbondLockResponseAmino): MsgSuperfluidUnbondLockResponse; - toAmino(_: MsgSuperfluidUnbondLockResponse): MsgSuperfluidUnbondLockResponseAmino; - fromAminoMsg(object: MsgSuperfluidUnbondLockResponseAminoMsg): MsgSuperfluidUnbondLockResponse; - toAminoMsg(message: MsgSuperfluidUnbondLockResponse): MsgSuperfluidUnbondLockResponseAminoMsg; - fromProtoMsg(message: MsgSuperfluidUnbondLockResponseProtoMsg): MsgSuperfluidUnbondLockResponse; - toProto(message: MsgSuperfluidUnbondLockResponse): Uint8Array; - toProtoMsg(message: MsgSuperfluidUnbondLockResponse): MsgSuperfluidUnbondLockResponseProtoMsg; -}; -export declare const MsgLockAndSuperfluidDelegate: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgLockAndSuperfluidDelegate; - isSDK(o: any): o is MsgLockAndSuperfluidDelegateSDKType; - isAmino(o: any): o is MsgLockAndSuperfluidDelegateAmino; - encode(message: MsgLockAndSuperfluidDelegate, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgLockAndSuperfluidDelegate; - fromJSON(object: any): MsgLockAndSuperfluidDelegate; - toJSON(message: MsgLockAndSuperfluidDelegate): unknown; - fromPartial(object: DeepPartial): MsgLockAndSuperfluidDelegate; - fromSDK(object: MsgLockAndSuperfluidDelegateSDKType): MsgLockAndSuperfluidDelegate; - toSDK(message: MsgLockAndSuperfluidDelegate): MsgLockAndSuperfluidDelegateSDKType; - fromAmino(object: MsgLockAndSuperfluidDelegateAmino): MsgLockAndSuperfluidDelegate; - toAmino(message: MsgLockAndSuperfluidDelegate): MsgLockAndSuperfluidDelegateAmino; - fromAminoMsg(object: MsgLockAndSuperfluidDelegateAminoMsg): MsgLockAndSuperfluidDelegate; - toAminoMsg(message: MsgLockAndSuperfluidDelegate): MsgLockAndSuperfluidDelegateAminoMsg; - fromProtoMsg(message: MsgLockAndSuperfluidDelegateProtoMsg): MsgLockAndSuperfluidDelegate; - toProto(message: MsgLockAndSuperfluidDelegate): Uint8Array; - toProtoMsg(message: MsgLockAndSuperfluidDelegate): MsgLockAndSuperfluidDelegateProtoMsg; -}; -export declare const MsgLockAndSuperfluidDelegateResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgLockAndSuperfluidDelegateResponse; - isSDK(o: any): o is MsgLockAndSuperfluidDelegateResponseSDKType; - isAmino(o: any): o is MsgLockAndSuperfluidDelegateResponseAmino; - encode(message: MsgLockAndSuperfluidDelegateResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgLockAndSuperfluidDelegateResponse; - fromJSON(object: any): MsgLockAndSuperfluidDelegateResponse; - toJSON(message: MsgLockAndSuperfluidDelegateResponse): unknown; - fromPartial(object: DeepPartial): MsgLockAndSuperfluidDelegateResponse; - fromSDK(object: MsgLockAndSuperfluidDelegateResponseSDKType): MsgLockAndSuperfluidDelegateResponse; - toSDK(message: MsgLockAndSuperfluidDelegateResponse): MsgLockAndSuperfluidDelegateResponseSDKType; - fromAmino(object: MsgLockAndSuperfluidDelegateResponseAmino): MsgLockAndSuperfluidDelegateResponse; - toAmino(message: MsgLockAndSuperfluidDelegateResponse): MsgLockAndSuperfluidDelegateResponseAmino; - fromAminoMsg(object: MsgLockAndSuperfluidDelegateResponseAminoMsg): MsgLockAndSuperfluidDelegateResponse; - toAminoMsg(message: MsgLockAndSuperfluidDelegateResponse): MsgLockAndSuperfluidDelegateResponseAminoMsg; - fromProtoMsg(message: MsgLockAndSuperfluidDelegateResponseProtoMsg): MsgLockAndSuperfluidDelegateResponse; - toProto(message: MsgLockAndSuperfluidDelegateResponse): Uint8Array; - toProtoMsg(message: MsgLockAndSuperfluidDelegateResponse): MsgLockAndSuperfluidDelegateResponseProtoMsg; -}; -export declare const MsgUnPoolWhitelistedPool: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUnPoolWhitelistedPool; - isSDK(o: any): o is MsgUnPoolWhitelistedPoolSDKType; - isAmino(o: any): o is MsgUnPoolWhitelistedPoolAmino; - encode(message: MsgUnPoolWhitelistedPool, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUnPoolWhitelistedPool; - fromJSON(object: any): MsgUnPoolWhitelistedPool; - toJSON(message: MsgUnPoolWhitelistedPool): unknown; - fromPartial(object: DeepPartial): MsgUnPoolWhitelistedPool; - fromSDK(object: MsgUnPoolWhitelistedPoolSDKType): MsgUnPoolWhitelistedPool; - toSDK(message: MsgUnPoolWhitelistedPool): MsgUnPoolWhitelistedPoolSDKType; - fromAmino(object: MsgUnPoolWhitelistedPoolAmino): MsgUnPoolWhitelistedPool; - toAmino(message: MsgUnPoolWhitelistedPool): MsgUnPoolWhitelistedPoolAmino; - fromAminoMsg(object: MsgUnPoolWhitelistedPoolAminoMsg): MsgUnPoolWhitelistedPool; - toAminoMsg(message: MsgUnPoolWhitelistedPool): MsgUnPoolWhitelistedPoolAminoMsg; - fromProtoMsg(message: MsgUnPoolWhitelistedPoolProtoMsg): MsgUnPoolWhitelistedPool; - toProto(message: MsgUnPoolWhitelistedPool): Uint8Array; - toProtoMsg(message: MsgUnPoolWhitelistedPool): MsgUnPoolWhitelistedPoolProtoMsg; -}; -export declare const MsgUnPoolWhitelistedPoolResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgUnPoolWhitelistedPoolResponse; - isSDK(o: any): o is MsgUnPoolWhitelistedPoolResponseSDKType; - isAmino(o: any): o is MsgUnPoolWhitelistedPoolResponseAmino; - encode(message: MsgUnPoolWhitelistedPoolResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgUnPoolWhitelistedPoolResponse; - fromJSON(object: any): MsgUnPoolWhitelistedPoolResponse; - toJSON(message: MsgUnPoolWhitelistedPoolResponse): unknown; - fromPartial(object: DeepPartial): MsgUnPoolWhitelistedPoolResponse; - fromSDK(object: MsgUnPoolWhitelistedPoolResponseSDKType): MsgUnPoolWhitelistedPoolResponse; - toSDK(message: MsgUnPoolWhitelistedPoolResponse): MsgUnPoolWhitelistedPoolResponseSDKType; - fromAmino(object: MsgUnPoolWhitelistedPoolResponseAmino): MsgUnPoolWhitelistedPoolResponse; - toAmino(message: MsgUnPoolWhitelistedPoolResponse): MsgUnPoolWhitelistedPoolResponseAmino; - fromAminoMsg(object: MsgUnPoolWhitelistedPoolResponseAminoMsg): MsgUnPoolWhitelistedPoolResponse; - toAminoMsg(message: MsgUnPoolWhitelistedPoolResponse): MsgUnPoolWhitelistedPoolResponseAminoMsg; - fromProtoMsg(message: MsgUnPoolWhitelistedPoolResponseProtoMsg): MsgUnPoolWhitelistedPoolResponse; - toProto(message: MsgUnPoolWhitelistedPoolResponse): Uint8Array; - toProtoMsg(message: MsgUnPoolWhitelistedPoolResponse): MsgUnPoolWhitelistedPoolResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/superfluid/tx.registry.d.ts b/examples/authz/types/codegen/osmosis/superfluid/tx.registry.d.ts deleted file mode 100644 index 4ba04230..00000000 --- a/examples/authz/types/codegen/osmosis/superfluid/tx.registry.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -import { TelescopeGeneratedType } from "../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgSuperfluidDelegate, MsgSuperfluidUndelegate, MsgSuperfluidUnbondLock, MsgLockAndSuperfluidDelegate, MsgUnPoolWhitelistedPool } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - superfluidDelegate(value: MsgSuperfluidDelegate): { - typeUrl: string; - value: Uint8Array; - }; - superfluidUndelegate(value: MsgSuperfluidUndelegate): { - typeUrl: string; - value: Uint8Array; - }; - superfluidUnbondLock(value: MsgSuperfluidUnbondLock): { - typeUrl: string; - value: Uint8Array; - }; - lockAndSuperfluidDelegate(value: MsgLockAndSuperfluidDelegate): { - typeUrl: string; - value: Uint8Array; - }; - unPoolWhitelistedPool(value: MsgUnPoolWhitelistedPool): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - superfluidDelegate(value: MsgSuperfluidDelegate): { - typeUrl: string; - value: MsgSuperfluidDelegate; - }; - superfluidUndelegate(value: MsgSuperfluidUndelegate): { - typeUrl: string; - value: MsgSuperfluidUndelegate; - }; - superfluidUnbondLock(value: MsgSuperfluidUnbondLock): { - typeUrl: string; - value: MsgSuperfluidUnbondLock; - }; - lockAndSuperfluidDelegate(value: MsgLockAndSuperfluidDelegate): { - typeUrl: string; - value: MsgLockAndSuperfluidDelegate; - }; - unPoolWhitelistedPool(value: MsgUnPoolWhitelistedPool): { - typeUrl: string; - value: MsgUnPoolWhitelistedPool; - }; - }; - toJSON: { - superfluidDelegate(value: MsgSuperfluidDelegate): { - typeUrl: string; - value: unknown; - }; - superfluidUndelegate(value: MsgSuperfluidUndelegate): { - typeUrl: string; - value: unknown; - }; - superfluidUnbondLock(value: MsgSuperfluidUnbondLock): { - typeUrl: string; - value: unknown; - }; - lockAndSuperfluidDelegate(value: MsgLockAndSuperfluidDelegate): { - typeUrl: string; - value: unknown; - }; - unPoolWhitelistedPool(value: MsgUnPoolWhitelistedPool): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - superfluidDelegate(value: any): { - typeUrl: string; - value: MsgSuperfluidDelegate; - }; - superfluidUndelegate(value: any): { - typeUrl: string; - value: MsgSuperfluidUndelegate; - }; - superfluidUnbondLock(value: any): { - typeUrl: string; - value: MsgSuperfluidUnbondLock; - }; - lockAndSuperfluidDelegate(value: any): { - typeUrl: string; - value: MsgLockAndSuperfluidDelegate; - }; - unPoolWhitelistedPool(value: any): { - typeUrl: string; - value: MsgUnPoolWhitelistedPool; - }; - }; - fromPartial: { - superfluidDelegate(value: MsgSuperfluidDelegate): { - typeUrl: string; - value: MsgSuperfluidDelegate; - }; - superfluidUndelegate(value: MsgSuperfluidUndelegate): { - typeUrl: string; - value: MsgSuperfluidUndelegate; - }; - superfluidUnbondLock(value: MsgSuperfluidUnbondLock): { - typeUrl: string; - value: MsgSuperfluidUnbondLock; - }; - lockAndSuperfluidDelegate(value: MsgLockAndSuperfluidDelegate): { - typeUrl: string; - value: MsgLockAndSuperfluidDelegate; - }; - unPoolWhitelistedPool(value: MsgUnPoolWhitelistedPool): { - typeUrl: string; - value: MsgUnPoolWhitelistedPool; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/superfluid/tx.rpc.msg.d.ts b/examples/authz/types/codegen/osmosis/superfluid/tx.rpc.msg.d.ts deleted file mode 100644 index 0afc38ec..00000000 --- a/examples/authz/types/codegen/osmosis/superfluid/tx.rpc.msg.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../types"; -import { MsgSuperfluidDelegate, MsgSuperfluidUndelegate, MsgSuperfluidUnbondLock, MsgLockAndSuperfluidDelegate, MsgUnPoolWhitelistedPool } from "./tx"; -/** Msg defines the Msg service. */ -export interface Msg { - /** Execute superfluid delegation for a lockup */ - superfluidDelegate(signerAddress: string, message: MsgSuperfluidDelegate, fee: number | StdFee | "auto", memo: string): Promise; - /** Execute superfluid undelegation for a lockup */ - superfluidUndelegate(signerAddress: string, message: MsgSuperfluidUndelegate, fee: number | StdFee | "auto", memo: string): Promise; - /** - * For a given lock that is being superfluidly undelegated, - * also unbond the underlying lock. - */ - superfluidUnbondLock(signerAddress: string, message: MsgSuperfluidUnbondLock, fee: number | StdFee | "auto", memo: string): Promise; - /** Execute lockup lock and superfluid delegation in a single msg */ - lockAndSuperfluidDelegate(signerAddress: string, message: MsgLockAndSuperfluidDelegate, fee: number | StdFee | "auto", memo: string): Promise; - unPoolWhitelistedPool(signerAddress: string, message: MsgUnPoolWhitelistedPool, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - superfluidDelegate: (signerAddress: string, message: MsgSuperfluidDelegate, fee?: number | StdFee | "auto", memo?: string) => Promise; - superfluidUndelegate: (signerAddress: string, message: MsgSuperfluidUndelegate, fee?: number | StdFee | "auto", memo?: string) => Promise; - superfluidUnbondLock: (signerAddress: string, message: MsgSuperfluidUnbondLock, fee?: number | StdFee | "auto", memo?: string) => Promise; - lockAndSuperfluidDelegate: (signerAddress: string, message: MsgLockAndSuperfluidDelegate, fee?: number | StdFee | "auto", memo?: string) => Promise; - unPoolWhitelistedPool: (signerAddress: string, message: MsgUnPoolWhitelistedPool, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/osmosis/superfluid/v1beta1/gov.d.ts b/examples/authz/types/codegen/osmosis/superfluid/v1beta1/gov.d.ts deleted file mode 100644 index 0bfc5fc0..00000000 --- a/examples/authz/types/codegen/osmosis/superfluid/v1beta1/gov.d.ts +++ /dev/null @@ -1,180 +0,0 @@ -import { SuperfluidAsset, SuperfluidAssetAmino, SuperfluidAssetSDKType } from "../superfluid"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * SetSuperfluidAssetsProposal is a gov Content type to update the superfluid - * assets - */ -export interface SetSuperfluidAssetsProposal { - $typeUrl?: "/osmosis.superfluid.v1beta1.SetSuperfluidAssetsProposal"; - title: string; - description: string; - assets: SuperfluidAsset[]; -} -export interface SetSuperfluidAssetsProposalProtoMsg { - typeUrl: "/osmosis.superfluid.v1beta1.SetSuperfluidAssetsProposal"; - value: Uint8Array; -} -/** - * SetSuperfluidAssetsProposal is a gov Content type to update the superfluid - * assets - */ -export interface SetSuperfluidAssetsProposalAmino { - title?: string; - description?: string; - assets?: SuperfluidAssetAmino[]; -} -export interface SetSuperfluidAssetsProposalAminoMsg { - type: "osmosis/v1beta1/set-superfluid-assets-proposal"; - value: SetSuperfluidAssetsProposalAmino; -} -/** - * SetSuperfluidAssetsProposal is a gov Content type to update the superfluid - * assets - */ -export interface SetSuperfluidAssetsProposalSDKType { - $typeUrl?: "/osmosis.superfluid.v1beta1.SetSuperfluidAssetsProposal"; - title: string; - description: string; - assets: SuperfluidAssetSDKType[]; -} -/** - * RemoveSuperfluidAssetsProposal is a gov Content type to remove the superfluid - * assets by denom - */ -export interface RemoveSuperfluidAssetsProposal { - $typeUrl?: "/osmosis.superfluid.v1beta1.RemoveSuperfluidAssetsProposal"; - title: string; - description: string; - superfluidAssetDenoms: string[]; -} -export interface RemoveSuperfluidAssetsProposalProtoMsg { - typeUrl: "/osmosis.superfluid.v1beta1.RemoveSuperfluidAssetsProposal"; - value: Uint8Array; -} -/** - * RemoveSuperfluidAssetsProposal is a gov Content type to remove the superfluid - * assets by denom - */ -export interface RemoveSuperfluidAssetsProposalAmino { - title?: string; - description?: string; - superfluid_asset_denoms?: string[]; -} -export interface RemoveSuperfluidAssetsProposalAminoMsg { - type: "osmosis/v1beta1/remove-superfluid-assets-proposal"; - value: RemoveSuperfluidAssetsProposalAmino; -} -/** - * RemoveSuperfluidAssetsProposal is a gov Content type to remove the superfluid - * assets by denom - */ -export interface RemoveSuperfluidAssetsProposalSDKType { - $typeUrl?: "/osmosis.superfluid.v1beta1.RemoveSuperfluidAssetsProposal"; - title: string; - description: string; - superfluid_asset_denoms: string[]; -} -/** - * UpdateUnpoolWhiteListProposal is a gov Content type to update the - * allowed list of pool ids. - */ -export interface UpdateUnpoolWhiteListProposal { - $typeUrl?: "/osmosis.superfluid.v1beta1.UpdateUnpoolWhiteListProposal"; - title: string; - description: string; - ids: bigint[]; - isOverwrite: boolean; -} -export interface UpdateUnpoolWhiteListProposalProtoMsg { - typeUrl: "/osmosis.superfluid.v1beta1.UpdateUnpoolWhiteListProposal"; - value: Uint8Array; -} -/** - * UpdateUnpoolWhiteListProposal is a gov Content type to update the - * allowed list of pool ids. - */ -export interface UpdateUnpoolWhiteListProposalAmino { - title?: string; - description?: string; - ids?: string[]; - is_overwrite?: boolean; -} -export interface UpdateUnpoolWhiteListProposalAminoMsg { - type: "osmosis/v1beta1/update-unpool-white-list-proposal"; - value: UpdateUnpoolWhiteListProposalAmino; -} -/** - * UpdateUnpoolWhiteListProposal is a gov Content type to update the - * allowed list of pool ids. - */ -export interface UpdateUnpoolWhiteListProposalSDKType { - $typeUrl?: "/osmosis.superfluid.v1beta1.UpdateUnpoolWhiteListProposal"; - title: string; - description: string; - ids: bigint[]; - is_overwrite: boolean; -} -export declare const SetSuperfluidAssetsProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is SetSuperfluidAssetsProposal; - isSDK(o: any): o is SetSuperfluidAssetsProposalSDKType; - isAmino(o: any): o is SetSuperfluidAssetsProposalAmino; - encode(message: SetSuperfluidAssetsProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SetSuperfluidAssetsProposal; - fromJSON(object: any): SetSuperfluidAssetsProposal; - toJSON(message: SetSuperfluidAssetsProposal): unknown; - fromPartial(object: DeepPartial): SetSuperfluidAssetsProposal; - fromSDK(object: SetSuperfluidAssetsProposalSDKType): SetSuperfluidAssetsProposal; - toSDK(message: SetSuperfluidAssetsProposal): SetSuperfluidAssetsProposalSDKType; - fromAmino(object: SetSuperfluidAssetsProposalAmino): SetSuperfluidAssetsProposal; - toAmino(message: SetSuperfluidAssetsProposal): SetSuperfluidAssetsProposalAmino; - fromAminoMsg(object: SetSuperfluidAssetsProposalAminoMsg): SetSuperfluidAssetsProposal; - toAminoMsg(message: SetSuperfluidAssetsProposal): SetSuperfluidAssetsProposalAminoMsg; - fromProtoMsg(message: SetSuperfluidAssetsProposalProtoMsg): SetSuperfluidAssetsProposal; - toProto(message: SetSuperfluidAssetsProposal): Uint8Array; - toProtoMsg(message: SetSuperfluidAssetsProposal): SetSuperfluidAssetsProposalProtoMsg; -}; -export declare const RemoveSuperfluidAssetsProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is RemoveSuperfluidAssetsProposal; - isSDK(o: any): o is RemoveSuperfluidAssetsProposalSDKType; - isAmino(o: any): o is RemoveSuperfluidAssetsProposalAmino; - encode(message: RemoveSuperfluidAssetsProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RemoveSuperfluidAssetsProposal; - fromJSON(object: any): RemoveSuperfluidAssetsProposal; - toJSON(message: RemoveSuperfluidAssetsProposal): unknown; - fromPartial(object: DeepPartial): RemoveSuperfluidAssetsProposal; - fromSDK(object: RemoveSuperfluidAssetsProposalSDKType): RemoveSuperfluidAssetsProposal; - toSDK(message: RemoveSuperfluidAssetsProposal): RemoveSuperfluidAssetsProposalSDKType; - fromAmino(object: RemoveSuperfluidAssetsProposalAmino): RemoveSuperfluidAssetsProposal; - toAmino(message: RemoveSuperfluidAssetsProposal): RemoveSuperfluidAssetsProposalAmino; - fromAminoMsg(object: RemoveSuperfluidAssetsProposalAminoMsg): RemoveSuperfluidAssetsProposal; - toAminoMsg(message: RemoveSuperfluidAssetsProposal): RemoveSuperfluidAssetsProposalAminoMsg; - fromProtoMsg(message: RemoveSuperfluidAssetsProposalProtoMsg): RemoveSuperfluidAssetsProposal; - toProto(message: RemoveSuperfluidAssetsProposal): Uint8Array; - toProtoMsg(message: RemoveSuperfluidAssetsProposal): RemoveSuperfluidAssetsProposalProtoMsg; -}; -export declare const UpdateUnpoolWhiteListProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is UpdateUnpoolWhiteListProposal; - isSDK(o: any): o is UpdateUnpoolWhiteListProposalSDKType; - isAmino(o: any): o is UpdateUnpoolWhiteListProposalAmino; - encode(message: UpdateUnpoolWhiteListProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): UpdateUnpoolWhiteListProposal; - fromJSON(object: any): UpdateUnpoolWhiteListProposal; - toJSON(message: UpdateUnpoolWhiteListProposal): unknown; - fromPartial(object: DeepPartial): UpdateUnpoolWhiteListProposal; - fromSDK(object: UpdateUnpoolWhiteListProposalSDKType): UpdateUnpoolWhiteListProposal; - toSDK(message: UpdateUnpoolWhiteListProposal): UpdateUnpoolWhiteListProposalSDKType; - fromAmino(object: UpdateUnpoolWhiteListProposalAmino): UpdateUnpoolWhiteListProposal; - toAmino(message: UpdateUnpoolWhiteListProposal): UpdateUnpoolWhiteListProposalAmino; - fromAminoMsg(object: UpdateUnpoolWhiteListProposalAminoMsg): UpdateUnpoolWhiteListProposal; - toAminoMsg(message: UpdateUnpoolWhiteListProposal): UpdateUnpoolWhiteListProposalAminoMsg; - fromProtoMsg(message: UpdateUnpoolWhiteListProposalProtoMsg): UpdateUnpoolWhiteListProposal; - toProto(message: UpdateUnpoolWhiteListProposal): Uint8Array; - toProtoMsg(message: UpdateUnpoolWhiteListProposal): UpdateUnpoolWhiteListProposalProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.d.ts b/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.d.ts deleted file mode 100644 index d5b19817..00000000 --- a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * DenomAuthorityMetadata specifies metadata for addresses that have specific - * capabilities over a token factory denom. Right now there is only one Admin - * permission, but is planned to be extended to the future. - */ -export interface DenomAuthorityMetadata { - /** Can be empty for no admin, or a valid osmosis address */ - admin: string; -} -export interface DenomAuthorityMetadataProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.DenomAuthorityMetadata"; - value: Uint8Array; -} -/** - * DenomAuthorityMetadata specifies metadata for addresses that have specific - * capabilities over a token factory denom. Right now there is only one Admin - * permission, but is planned to be extended to the future. - */ -export interface DenomAuthorityMetadataAmino { - /** Can be empty for no admin, or a valid osmosis address */ - admin?: string; -} -export interface DenomAuthorityMetadataAminoMsg { - type: "osmosis/tokenfactory/denom-authority-metadata"; - value: DenomAuthorityMetadataAmino; -} -/** - * DenomAuthorityMetadata specifies metadata for addresses that have specific - * capabilities over a token factory denom. Right now there is only one Admin - * permission, but is planned to be extended to the future. - */ -export interface DenomAuthorityMetadataSDKType { - admin: string; -} -export declare const DenomAuthorityMetadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is DenomAuthorityMetadata; - isSDK(o: any): o is DenomAuthorityMetadataSDKType; - isAmino(o: any): o is DenomAuthorityMetadataAmino; - encode(message: DenomAuthorityMetadata, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DenomAuthorityMetadata; - fromJSON(object: any): DenomAuthorityMetadata; - toJSON(message: DenomAuthorityMetadata): unknown; - fromPartial(object: DeepPartial): DenomAuthorityMetadata; - fromSDK(object: DenomAuthorityMetadataSDKType): DenomAuthorityMetadata; - toSDK(message: DenomAuthorityMetadata): DenomAuthorityMetadataSDKType; - fromAmino(object: DenomAuthorityMetadataAmino): DenomAuthorityMetadata; - toAmino(message: DenomAuthorityMetadata): DenomAuthorityMetadataAmino; - fromAminoMsg(object: DenomAuthorityMetadataAminoMsg): DenomAuthorityMetadata; - toAminoMsg(message: DenomAuthorityMetadata): DenomAuthorityMetadataAminoMsg; - fromProtoMsg(message: DenomAuthorityMetadataProtoMsg): DenomAuthorityMetadata; - toProto(message: DenomAuthorityMetadata): Uint8Array; - toProtoMsg(message: DenomAuthorityMetadata): DenomAuthorityMetadataProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/genesis.d.ts b/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/genesis.d.ts deleted file mode 100644 index 5e8b7ad4..00000000 --- a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/genesis.d.ts +++ /dev/null @@ -1,106 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType } from "./params"; -import { DenomAuthorityMetadata, DenomAuthorityMetadataAmino, DenomAuthorityMetadataSDKType } from "./authorityMetadata"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the tokenfactory module's genesis state. */ -export interface GenesisState { - /** params defines the paramaters of the module. */ - params: Params | undefined; - factoryDenoms: GenesisDenom[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the tokenfactory module's genesis state. */ -export interface GenesisStateAmino { - /** params defines the paramaters of the module. */ - params?: ParamsAmino | undefined; - factory_denoms?: GenesisDenomAmino[]; -} -export interface GenesisStateAminoMsg { - type: "osmosis/tokenfactory/genesis-state"; - value: GenesisStateAmino; -} -/** GenesisState defines the tokenfactory module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType | undefined; - factory_denoms: GenesisDenomSDKType[]; -} -/** - * GenesisDenom defines a tokenfactory denom that is defined within genesis - * state. The structure contains DenomAuthorityMetadata which defines the - * denom's admin. - */ -export interface GenesisDenom { - denom: string; - authorityMetadata: DenomAuthorityMetadata | undefined; -} -export interface GenesisDenomProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.GenesisDenom"; - value: Uint8Array; -} -/** - * GenesisDenom defines a tokenfactory denom that is defined within genesis - * state. The structure contains DenomAuthorityMetadata which defines the - * denom's admin. - */ -export interface GenesisDenomAmino { - denom?: string; - authority_metadata?: DenomAuthorityMetadataAmino | undefined; -} -export interface GenesisDenomAminoMsg { - type: "osmosis/tokenfactory/genesis-denom"; - value: GenesisDenomAmino; -} -/** - * GenesisDenom defines a tokenfactory denom that is defined within genesis - * state. The structure contains DenomAuthorityMetadata which defines the - * denom's admin. - */ -export interface GenesisDenomSDKType { - denom: string; - authority_metadata: DenomAuthorityMetadataSDKType | undefined; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; -export declare const GenesisDenom: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisDenom; - isSDK(o: any): o is GenesisDenomSDKType; - isAmino(o: any): o is GenesisDenomAmino; - encode(message: GenesisDenom, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisDenom; - fromJSON(object: any): GenesisDenom; - toJSON(message: GenesisDenom): unknown; - fromPartial(object: DeepPartial): GenesisDenom; - fromSDK(object: GenesisDenomSDKType): GenesisDenom; - toSDK(message: GenesisDenom): GenesisDenomSDKType; - fromAmino(object: GenesisDenomAmino): GenesisDenom; - toAmino(message: GenesisDenom): GenesisDenomAmino; - fromAminoMsg(object: GenesisDenomAminoMsg): GenesisDenom; - toAminoMsg(message: GenesisDenom): GenesisDenomAminoMsg; - fromProtoMsg(message: GenesisDenomProtoMsg): GenesisDenom; - toProto(message: GenesisDenom): Uint8Array; - toProtoMsg(message: GenesisDenom): GenesisDenomProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/params.d.ts b/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/params.d.ts deleted file mode 100644 index 6655996f..00000000 --- a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/params.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** Params defines the parameters for the tokenfactory module. */ -export interface Params { - denomCreationFee: Coin[]; -} -export interface ParamsProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.Params"; - value: Uint8Array; -} -/** Params defines the parameters for the tokenfactory module. */ -export interface ParamsAmino { - denom_creation_fee?: CoinAmino[]; -} -export interface ParamsAminoMsg { - type: "osmosis/tokenfactory/params"; - value: ParamsAmino; -} -/** Params defines the parameters for the tokenfactory module. */ -export interface ParamsSDKType { - denom_creation_fee: CoinSDKType[]; -} -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/query.d.ts b/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/query.d.ts deleted file mode 100644 index 11a6dec5..00000000 --- a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/query.d.ts +++ /dev/null @@ -1,285 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType } from "./params"; -import { DenomAuthorityMetadata, DenomAuthorityMetadataAmino, DenomAuthorityMetadataSDKType } from "./authorityMetadata"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { -} -export interface QueryParamsRequestAminoMsg { - type: "osmosis/tokenfactory/query-params-request"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params: Params | undefined; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino | undefined; -} -export interface QueryParamsResponseAminoMsg { - type: "osmosis/tokenfactory/query-params-response"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType | undefined; -} -/** - * QueryDenomAuthorityMetadataRequest defines the request structure for the - * DenomAuthorityMetadata gRPC query. - */ -export interface QueryDenomAuthorityMetadataRequest { - denom: string; -} -export interface QueryDenomAuthorityMetadataRequestProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.QueryDenomAuthorityMetadataRequest"; - value: Uint8Array; -} -/** - * QueryDenomAuthorityMetadataRequest defines the request structure for the - * DenomAuthorityMetadata gRPC query. - */ -export interface QueryDenomAuthorityMetadataRequestAmino { - denom?: string; -} -export interface QueryDenomAuthorityMetadataRequestAminoMsg { - type: "osmosis/tokenfactory/query-denom-authority-metadata-request"; - value: QueryDenomAuthorityMetadataRequestAmino; -} -/** - * QueryDenomAuthorityMetadataRequest defines the request structure for the - * DenomAuthorityMetadata gRPC query. - */ -export interface QueryDenomAuthorityMetadataRequestSDKType { - denom: string; -} -/** - * QueryDenomAuthorityMetadataResponse defines the response structure for the - * DenomAuthorityMetadata gRPC query. - */ -export interface QueryDenomAuthorityMetadataResponse { - authorityMetadata: DenomAuthorityMetadata | undefined; -} -export interface QueryDenomAuthorityMetadataResponseProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.QueryDenomAuthorityMetadataResponse"; - value: Uint8Array; -} -/** - * QueryDenomAuthorityMetadataResponse defines the response structure for the - * DenomAuthorityMetadata gRPC query. - */ -export interface QueryDenomAuthorityMetadataResponseAmino { - authority_metadata?: DenomAuthorityMetadataAmino | undefined; -} -export interface QueryDenomAuthorityMetadataResponseAminoMsg { - type: "osmosis/tokenfactory/query-denom-authority-metadata-response"; - value: QueryDenomAuthorityMetadataResponseAmino; -} -/** - * QueryDenomAuthorityMetadataResponse defines the response structure for the - * DenomAuthorityMetadata gRPC query. - */ -export interface QueryDenomAuthorityMetadataResponseSDKType { - authority_metadata: DenomAuthorityMetadataSDKType | undefined; -} -/** - * QueryDenomsFromCreatorRequest defines the request structure for the - * DenomsFromCreator gRPC query. - */ -export interface QueryDenomsFromCreatorRequest { - creator: string; -} -export interface QueryDenomsFromCreatorRequestProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.QueryDenomsFromCreatorRequest"; - value: Uint8Array; -} -/** - * QueryDenomsFromCreatorRequest defines the request structure for the - * DenomsFromCreator gRPC query. - */ -export interface QueryDenomsFromCreatorRequestAmino { - creator?: string; -} -export interface QueryDenomsFromCreatorRequestAminoMsg { - type: "osmosis/tokenfactory/query-denoms-from-creator-request"; - value: QueryDenomsFromCreatorRequestAmino; -} -/** - * QueryDenomsFromCreatorRequest defines the request structure for the - * DenomsFromCreator gRPC query. - */ -export interface QueryDenomsFromCreatorRequestSDKType { - creator: string; -} -/** - * QueryDenomsFromCreatorRequest defines the response structure for the - * DenomsFromCreator gRPC query. - */ -export interface QueryDenomsFromCreatorResponse { - denoms: string[]; -} -export interface QueryDenomsFromCreatorResponseProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.QueryDenomsFromCreatorResponse"; - value: Uint8Array; -} -/** - * QueryDenomsFromCreatorRequest defines the response structure for the - * DenomsFromCreator gRPC query. - */ -export interface QueryDenomsFromCreatorResponseAmino { - denoms?: string[]; -} -export interface QueryDenomsFromCreatorResponseAminoMsg { - type: "osmosis/tokenfactory/query-denoms-from-creator-response"; - value: QueryDenomsFromCreatorResponseAmino; -} -/** - * QueryDenomsFromCreatorRequest defines the response structure for the - * DenomsFromCreator gRPC query. - */ -export interface QueryDenomsFromCreatorResponseSDKType { - denoms: string[]; -} -export declare const QueryParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsRequest; - isSDK(o: any): o is QueryParamsRequestSDKType; - isAmino(o: any): o is QueryParamsRequestAmino; - encode(_: QueryParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest; - fromJSON(_: any): QueryParamsRequest; - toJSON(_: QueryParamsRequest): unknown; - fromPartial(_: DeepPartial): QueryParamsRequest; - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest; - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType; - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest; - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino; - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest; - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg; - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest; - toProto(message: QueryParamsRequest): Uint8Array; - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg; -}; -export declare const QueryParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryParamsResponse; - isSDK(o: any): o is QueryParamsResponseSDKType; - isAmino(o: any): o is QueryParamsResponseAmino; - encode(message: QueryParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse; - fromJSON(object: any): QueryParamsResponse; - toJSON(message: QueryParamsResponse): unknown; - fromPartial(object: DeepPartial): QueryParamsResponse; - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse; - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType; - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse; - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino; - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse; - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg; - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse; - toProto(message: QueryParamsResponse): Uint8Array; - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg; -}; -export declare const QueryDenomAuthorityMetadataRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomAuthorityMetadataRequest; - isSDK(o: any): o is QueryDenomAuthorityMetadataRequestSDKType; - isAmino(o: any): o is QueryDenomAuthorityMetadataRequestAmino; - encode(message: QueryDenomAuthorityMetadataRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomAuthorityMetadataRequest; - fromJSON(object: any): QueryDenomAuthorityMetadataRequest; - toJSON(message: QueryDenomAuthorityMetadataRequest): unknown; - fromPartial(object: DeepPartial): QueryDenomAuthorityMetadataRequest; - fromSDK(object: QueryDenomAuthorityMetadataRequestSDKType): QueryDenomAuthorityMetadataRequest; - toSDK(message: QueryDenomAuthorityMetadataRequest): QueryDenomAuthorityMetadataRequestSDKType; - fromAmino(object: QueryDenomAuthorityMetadataRequestAmino): QueryDenomAuthorityMetadataRequest; - toAmino(message: QueryDenomAuthorityMetadataRequest): QueryDenomAuthorityMetadataRequestAmino; - fromAminoMsg(object: QueryDenomAuthorityMetadataRequestAminoMsg): QueryDenomAuthorityMetadataRequest; - toAminoMsg(message: QueryDenomAuthorityMetadataRequest): QueryDenomAuthorityMetadataRequestAminoMsg; - fromProtoMsg(message: QueryDenomAuthorityMetadataRequestProtoMsg): QueryDenomAuthorityMetadataRequest; - toProto(message: QueryDenomAuthorityMetadataRequest): Uint8Array; - toProtoMsg(message: QueryDenomAuthorityMetadataRequest): QueryDenomAuthorityMetadataRequestProtoMsg; -}; -export declare const QueryDenomAuthorityMetadataResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomAuthorityMetadataResponse; - isSDK(o: any): o is QueryDenomAuthorityMetadataResponseSDKType; - isAmino(o: any): o is QueryDenomAuthorityMetadataResponseAmino; - encode(message: QueryDenomAuthorityMetadataResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomAuthorityMetadataResponse; - fromJSON(object: any): QueryDenomAuthorityMetadataResponse; - toJSON(message: QueryDenomAuthorityMetadataResponse): unknown; - fromPartial(object: DeepPartial): QueryDenomAuthorityMetadataResponse; - fromSDK(object: QueryDenomAuthorityMetadataResponseSDKType): QueryDenomAuthorityMetadataResponse; - toSDK(message: QueryDenomAuthorityMetadataResponse): QueryDenomAuthorityMetadataResponseSDKType; - fromAmino(object: QueryDenomAuthorityMetadataResponseAmino): QueryDenomAuthorityMetadataResponse; - toAmino(message: QueryDenomAuthorityMetadataResponse): QueryDenomAuthorityMetadataResponseAmino; - fromAminoMsg(object: QueryDenomAuthorityMetadataResponseAminoMsg): QueryDenomAuthorityMetadataResponse; - toAminoMsg(message: QueryDenomAuthorityMetadataResponse): QueryDenomAuthorityMetadataResponseAminoMsg; - fromProtoMsg(message: QueryDenomAuthorityMetadataResponseProtoMsg): QueryDenomAuthorityMetadataResponse; - toProto(message: QueryDenomAuthorityMetadataResponse): Uint8Array; - toProtoMsg(message: QueryDenomAuthorityMetadataResponse): QueryDenomAuthorityMetadataResponseProtoMsg; -}; -export declare const QueryDenomsFromCreatorRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomsFromCreatorRequest; - isSDK(o: any): o is QueryDenomsFromCreatorRequestSDKType; - isAmino(o: any): o is QueryDenomsFromCreatorRequestAmino; - encode(message: QueryDenomsFromCreatorRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomsFromCreatorRequest; - fromJSON(object: any): QueryDenomsFromCreatorRequest; - toJSON(message: QueryDenomsFromCreatorRequest): unknown; - fromPartial(object: DeepPartial): QueryDenomsFromCreatorRequest; - fromSDK(object: QueryDenomsFromCreatorRequestSDKType): QueryDenomsFromCreatorRequest; - toSDK(message: QueryDenomsFromCreatorRequest): QueryDenomsFromCreatorRequestSDKType; - fromAmino(object: QueryDenomsFromCreatorRequestAmino): QueryDenomsFromCreatorRequest; - toAmino(message: QueryDenomsFromCreatorRequest): QueryDenomsFromCreatorRequestAmino; - fromAminoMsg(object: QueryDenomsFromCreatorRequestAminoMsg): QueryDenomsFromCreatorRequest; - toAminoMsg(message: QueryDenomsFromCreatorRequest): QueryDenomsFromCreatorRequestAminoMsg; - fromProtoMsg(message: QueryDenomsFromCreatorRequestProtoMsg): QueryDenomsFromCreatorRequest; - toProto(message: QueryDenomsFromCreatorRequest): Uint8Array; - toProtoMsg(message: QueryDenomsFromCreatorRequest): QueryDenomsFromCreatorRequestProtoMsg; -}; -export declare const QueryDenomsFromCreatorResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomsFromCreatorResponse; - isSDK(o: any): o is QueryDenomsFromCreatorResponseSDKType; - isAmino(o: any): o is QueryDenomsFromCreatorResponseAmino; - encode(message: QueryDenomsFromCreatorResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomsFromCreatorResponse; - fromJSON(object: any): QueryDenomsFromCreatorResponse; - toJSON(message: QueryDenomsFromCreatorResponse): unknown; - fromPartial(object: DeepPartial): QueryDenomsFromCreatorResponse; - fromSDK(object: QueryDenomsFromCreatorResponseSDKType): QueryDenomsFromCreatorResponse; - toSDK(message: QueryDenomsFromCreatorResponse): QueryDenomsFromCreatorResponseSDKType; - fromAmino(object: QueryDenomsFromCreatorResponseAmino): QueryDenomsFromCreatorResponse; - toAmino(message: QueryDenomsFromCreatorResponse): QueryDenomsFromCreatorResponseAmino; - fromAminoMsg(object: QueryDenomsFromCreatorResponseAminoMsg): QueryDenomsFromCreatorResponse; - toAminoMsg(message: QueryDenomsFromCreatorResponse): QueryDenomsFromCreatorResponseAminoMsg; - fromProtoMsg(message: QueryDenomsFromCreatorResponseProtoMsg): QueryDenomsFromCreatorResponse; - toProto(message: QueryDenomsFromCreatorResponse): Uint8Array; - toProtoMsg(message: QueryDenomsFromCreatorResponse): QueryDenomsFromCreatorResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index aef3c006..00000000 --- a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryParamsRequest, QueryParamsResponse, QueryDenomAuthorityMetadataRequest, QueryDenomAuthorityMetadataResponse, QueryDenomsFromCreatorRequest, QueryDenomsFromCreatorResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** - * Params defines a gRPC query method that returns the tokenfactory module's - * parameters. - */ - params(request?: QueryParamsRequest): Promise; - /** - * DenomAuthorityMetadata defines a gRPC query method for fetching - * DenomAuthorityMetadata for a particular denom. - */ - denomAuthorityMetadata(request: QueryDenomAuthorityMetadataRequest): Promise; - /** - * DenomsFromCreator defines a gRPC query method for fetching all - * denominations created by a specific admin/creator. - */ - denomsFromCreator(request: QueryDenomsFromCreatorRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - params: (request?: QueryParamsRequest) => Promise; - denomAuthorityMetadata: (request: QueryDenomAuthorityMetadataRequest) => Promise; - denomsFromCreator: (request: QueryDenomsFromCreatorRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseParamsQuery extends ReactQueryParams { - request?: QueryParamsRequest; -} -export interface UseDenomAuthorityMetadataQuery extends ReactQueryParams { - request: QueryDenomAuthorityMetadataRequest; -} -export interface UseDenomsFromCreatorQuery extends ReactQueryParams { - request: QueryDenomsFromCreatorRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** - * Params defines a gRPC query method that returns the tokenfactory module's - * parameters. - */ - useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * DenomAuthorityMetadata defines a gRPC query method for fetching - * DenomAuthorityMetadata for a particular denom. - */ - useDenomAuthorityMetadata: ({ request, options }: UseDenomAuthorityMetadataQuery) => import("@tanstack/react-query").UseQueryResult; - /** - * DenomsFromCreator defines a gRPC query method for fetching all - * denominations created by a specific admin/creator. - */ - useDenomsFromCreator: ({ request, options }: UseDenomsFromCreatorQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** - * Params defines a gRPC query method that returns the tokenfactory module's - * parameters. - */ - QueryParamsStore: { - new (): { - store: QueryStore; - params(request: QueryParamsRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * DenomAuthorityMetadata defines a gRPC query method for fetching - * DenomAuthorityMetadata for a particular denom. - */ - QueryDenomAuthorityMetadataStore: { - new (): { - store: QueryStore; - denomAuthorityMetadata(request: QueryDenomAuthorityMetadataRequest): import("../../../mobx").MobxResponse; - }; - }; - /** - * DenomsFromCreator defines a gRPC query method for fetching all - * denominations created by a specific admin/creator. - */ - QueryDenomsFromCreatorStore: { - new (): { - store: QueryStore; - denomsFromCreator(request: QueryDenomsFromCreatorRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.amino.d.ts b/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.amino.d.ts deleted file mode 100644 index 431a0af1..00000000 --- a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.amino.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { MsgCreateDenom, MsgMint, MsgBurn, MsgChangeAdmin, MsgSetDenomMetadata } from "./tx"; -export declare const AminoConverter: { - "/osmosis.tokenfactory.v1beta1.MsgCreateDenom": { - aminoType: string; - toAmino: (message: MsgCreateDenom) => import("./tx").MsgCreateDenomAmino; - fromAmino: (object: import("./tx").MsgCreateDenomAmino) => MsgCreateDenom; - }; - "/osmosis.tokenfactory.v1beta1.MsgMint": { - aminoType: string; - toAmino: (message: MsgMint) => import("./tx").MsgMintAmino; - fromAmino: (object: import("./tx").MsgMintAmino) => MsgMint; - }; - "/osmosis.tokenfactory.v1beta1.MsgBurn": { - aminoType: string; - toAmino: (message: MsgBurn) => import("./tx").MsgBurnAmino; - fromAmino: (object: import("./tx").MsgBurnAmino) => MsgBurn; - }; - "/osmosis.tokenfactory.v1beta1.MsgChangeAdmin": { - aminoType: string; - toAmino: (message: MsgChangeAdmin) => import("./tx").MsgChangeAdminAmino; - fromAmino: (object: import("./tx").MsgChangeAdminAmino) => MsgChangeAdmin; - }; - "/osmosis.tokenfactory.v1beta1.MsgSetDenomMetadata": { - aminoType: string; - toAmino: (message: MsgSetDenomMetadata) => import("./tx").MsgSetDenomMetadataAmino; - fromAmino: (object: import("./tx").MsgSetDenomMetadataAmino) => MsgSetDenomMetadata; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.d.ts b/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.d.ts deleted file mode 100644 index 8a674bb2..00000000 --- a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.d.ts +++ /dev/null @@ -1,509 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { Metadata, MetadataAmino, MetadataSDKType } from "../../../cosmos/bank/v1beta1/bank"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * MsgCreateDenom defines the message structure for the CreateDenom gRPC service - * method. It allows an account to create a new denom. It requires a sender - * address and a sub denomination. The (sender_address, sub_denomination) tuple - * must be unique and cannot be re-used. - * - * The resulting denom created is defined as - * . The resulting denom's admin is - * originally set to be the creator, but this can be changed later. The token - * denom does not indicate the current admin. - */ -export interface MsgCreateDenom { - sender: string; - /** subdenom can be up to 44 "alphanumeric" characters long. */ - subdenom: string; -} -export interface MsgCreateDenomProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.MsgCreateDenom"; - value: Uint8Array; -} -/** - * MsgCreateDenom defines the message structure for the CreateDenom gRPC service - * method. It allows an account to create a new denom. It requires a sender - * address and a sub denomination. The (sender_address, sub_denomination) tuple - * must be unique and cannot be re-used. - * - * The resulting denom created is defined as - * . The resulting denom's admin is - * originally set to be the creator, but this can be changed later. The token - * denom does not indicate the current admin. - */ -export interface MsgCreateDenomAmino { - sender?: string; - /** subdenom can be up to 44 "alphanumeric" characters long. */ - subdenom?: string; -} -export interface MsgCreateDenomAminoMsg { - type: "osmosis/tokenfactory/create-denom"; - value: MsgCreateDenomAmino; -} -/** - * MsgCreateDenom defines the message structure for the CreateDenom gRPC service - * method. It allows an account to create a new denom. It requires a sender - * address and a sub denomination. The (sender_address, sub_denomination) tuple - * must be unique and cannot be re-used. - * - * The resulting denom created is defined as - * . The resulting denom's admin is - * originally set to be the creator, but this can be changed later. The token - * denom does not indicate the current admin. - */ -export interface MsgCreateDenomSDKType { - sender: string; - subdenom: string; -} -/** - * MsgCreateDenomResponse is the return value of MsgCreateDenom - * It returns the full string of the newly created denom - */ -export interface MsgCreateDenomResponse { - newTokenDenom: string; -} -export interface MsgCreateDenomResponseProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.MsgCreateDenomResponse"; - value: Uint8Array; -} -/** - * MsgCreateDenomResponse is the return value of MsgCreateDenom - * It returns the full string of the newly created denom - */ -export interface MsgCreateDenomResponseAmino { - new_token_denom?: string; -} -export interface MsgCreateDenomResponseAminoMsg { - type: "osmosis/tokenfactory/create-denom-response"; - value: MsgCreateDenomResponseAmino; -} -/** - * MsgCreateDenomResponse is the return value of MsgCreateDenom - * It returns the full string of the newly created denom - */ -export interface MsgCreateDenomResponseSDKType { - new_token_denom: string; -} -/** - * MsgMint is the sdk.Msg type for allowing an admin account to mint - * more of a token. For now, we only support minting to the sender account - */ -export interface MsgMint { - sender: string; - amount: Coin | undefined; -} -export interface MsgMintProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.MsgMint"; - value: Uint8Array; -} -/** - * MsgMint is the sdk.Msg type for allowing an admin account to mint - * more of a token. For now, we only support minting to the sender account - */ -export interface MsgMintAmino { - sender?: string; - amount?: CoinAmino | undefined; -} -export interface MsgMintAminoMsg { - type: "osmosis/tokenfactory/mint"; - value: MsgMintAmino; -} -/** - * MsgMint is the sdk.Msg type for allowing an admin account to mint - * more of a token. For now, we only support minting to the sender account - */ -export interface MsgMintSDKType { - sender: string; - amount: CoinSDKType | undefined; -} -export interface MsgMintResponse { -} -export interface MsgMintResponseProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.MsgMintResponse"; - value: Uint8Array; -} -export interface MsgMintResponseAmino { -} -export interface MsgMintResponseAminoMsg { - type: "osmosis/tokenfactory/mint-response"; - value: MsgMintResponseAmino; -} -export interface MsgMintResponseSDKType { -} -/** - * MsgBurn is the sdk.Msg type for allowing an admin account to burn - * a token. For now, we only support burning from the sender account. - */ -export interface MsgBurn { - sender: string; - amount: Coin | undefined; -} -export interface MsgBurnProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.MsgBurn"; - value: Uint8Array; -} -/** - * MsgBurn is the sdk.Msg type for allowing an admin account to burn - * a token. For now, we only support burning from the sender account. - */ -export interface MsgBurnAmino { - sender?: string; - amount?: CoinAmino | undefined; -} -export interface MsgBurnAminoMsg { - type: "osmosis/tokenfactory/burn"; - value: MsgBurnAmino; -} -/** - * MsgBurn is the sdk.Msg type for allowing an admin account to burn - * a token. For now, we only support burning from the sender account. - */ -export interface MsgBurnSDKType { - sender: string; - amount: CoinSDKType | undefined; -} -export interface MsgBurnResponse { -} -export interface MsgBurnResponseProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.MsgBurnResponse"; - value: Uint8Array; -} -export interface MsgBurnResponseAmino { -} -export interface MsgBurnResponseAminoMsg { - type: "osmosis/tokenfactory/burn-response"; - value: MsgBurnResponseAmino; -} -export interface MsgBurnResponseSDKType { -} -/** - * MsgChangeAdmin is the sdk.Msg type for allowing an admin account to reassign - * adminship of a denom to a new account - */ -export interface MsgChangeAdmin { - sender: string; - denom: string; - newAdmin: string; -} -export interface MsgChangeAdminProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.MsgChangeAdmin"; - value: Uint8Array; -} -/** - * MsgChangeAdmin is the sdk.Msg type for allowing an admin account to reassign - * adminship of a denom to a new account - */ -export interface MsgChangeAdminAmino { - sender?: string; - denom?: string; - new_admin?: string; -} -export interface MsgChangeAdminAminoMsg { - type: "osmosis/tokenfactory/change-admin"; - value: MsgChangeAdminAmino; -} -/** - * MsgChangeAdmin is the sdk.Msg type for allowing an admin account to reassign - * adminship of a denom to a new account - */ -export interface MsgChangeAdminSDKType { - sender: string; - denom: string; - new_admin: string; -} -/** - * MsgChangeAdminResponse defines the response structure for an executed - * MsgChangeAdmin message. - */ -export interface MsgChangeAdminResponse { -} -export interface MsgChangeAdminResponseProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.MsgChangeAdminResponse"; - value: Uint8Array; -} -/** - * MsgChangeAdminResponse defines the response structure for an executed - * MsgChangeAdmin message. - */ -export interface MsgChangeAdminResponseAmino { -} -export interface MsgChangeAdminResponseAminoMsg { - type: "osmosis/tokenfactory/change-admin-response"; - value: MsgChangeAdminResponseAmino; -} -/** - * MsgChangeAdminResponse defines the response structure for an executed - * MsgChangeAdmin message. - */ -export interface MsgChangeAdminResponseSDKType { -} -/** - * MsgSetDenomMetadata is the sdk.Msg type for allowing an admin account to set - * the denom's bank metadata - */ -export interface MsgSetDenomMetadata { - sender: string; - metadata: Metadata | undefined; -} -export interface MsgSetDenomMetadataProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.MsgSetDenomMetadata"; - value: Uint8Array; -} -/** - * MsgSetDenomMetadata is the sdk.Msg type for allowing an admin account to set - * the denom's bank metadata - */ -export interface MsgSetDenomMetadataAmino { - sender?: string; - metadata?: MetadataAmino | undefined; -} -export interface MsgSetDenomMetadataAminoMsg { - type: "osmosis/tokenfactory/set-denom-metadata"; - value: MsgSetDenomMetadataAmino; -} -/** - * MsgSetDenomMetadata is the sdk.Msg type for allowing an admin account to set - * the denom's bank metadata - */ -export interface MsgSetDenomMetadataSDKType { - sender: string; - metadata: MetadataSDKType | undefined; -} -/** - * MsgSetDenomMetadataResponse defines the response structure for an executed - * MsgSetDenomMetadata message. - */ -export interface MsgSetDenomMetadataResponse { -} -export interface MsgSetDenomMetadataResponseProtoMsg { - typeUrl: "/osmosis.tokenfactory.v1beta1.MsgSetDenomMetadataResponse"; - value: Uint8Array; -} -/** - * MsgSetDenomMetadataResponse defines the response structure for an executed - * MsgSetDenomMetadata message. - */ -export interface MsgSetDenomMetadataResponseAmino { -} -export interface MsgSetDenomMetadataResponseAminoMsg { - type: "osmosis/tokenfactory/set-denom-metadata-response"; - value: MsgSetDenomMetadataResponseAmino; -} -/** - * MsgSetDenomMetadataResponse defines the response structure for an executed - * MsgSetDenomMetadata message. - */ -export interface MsgSetDenomMetadataResponseSDKType { -} -export declare const MsgCreateDenom: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateDenom; - isSDK(o: any): o is MsgCreateDenomSDKType; - isAmino(o: any): o is MsgCreateDenomAmino; - encode(message: MsgCreateDenom, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateDenom; - fromJSON(object: any): MsgCreateDenom; - toJSON(message: MsgCreateDenom): unknown; - fromPartial(object: DeepPartial): MsgCreateDenom; - fromSDK(object: MsgCreateDenomSDKType): MsgCreateDenom; - toSDK(message: MsgCreateDenom): MsgCreateDenomSDKType; - fromAmino(object: MsgCreateDenomAmino): MsgCreateDenom; - toAmino(message: MsgCreateDenom): MsgCreateDenomAmino; - fromAminoMsg(object: MsgCreateDenomAminoMsg): MsgCreateDenom; - toAminoMsg(message: MsgCreateDenom): MsgCreateDenomAminoMsg; - fromProtoMsg(message: MsgCreateDenomProtoMsg): MsgCreateDenom; - toProto(message: MsgCreateDenom): Uint8Array; - toProtoMsg(message: MsgCreateDenom): MsgCreateDenomProtoMsg; -}; -export declare const MsgCreateDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgCreateDenomResponse; - isSDK(o: any): o is MsgCreateDenomResponseSDKType; - isAmino(o: any): o is MsgCreateDenomResponseAmino; - encode(message: MsgCreateDenomResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateDenomResponse; - fromJSON(object: any): MsgCreateDenomResponse; - toJSON(message: MsgCreateDenomResponse): unknown; - fromPartial(object: DeepPartial): MsgCreateDenomResponse; - fromSDK(object: MsgCreateDenomResponseSDKType): MsgCreateDenomResponse; - toSDK(message: MsgCreateDenomResponse): MsgCreateDenomResponseSDKType; - fromAmino(object: MsgCreateDenomResponseAmino): MsgCreateDenomResponse; - toAmino(message: MsgCreateDenomResponse): MsgCreateDenomResponseAmino; - fromAminoMsg(object: MsgCreateDenomResponseAminoMsg): MsgCreateDenomResponse; - toAminoMsg(message: MsgCreateDenomResponse): MsgCreateDenomResponseAminoMsg; - fromProtoMsg(message: MsgCreateDenomResponseProtoMsg): MsgCreateDenomResponse; - toProto(message: MsgCreateDenomResponse): Uint8Array; - toProtoMsg(message: MsgCreateDenomResponse): MsgCreateDenomResponseProtoMsg; -}; -export declare const MsgMint: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgMint; - isSDK(o: any): o is MsgMintSDKType; - isAmino(o: any): o is MsgMintAmino; - encode(message: MsgMint, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgMint; - fromJSON(object: any): MsgMint; - toJSON(message: MsgMint): unknown; - fromPartial(object: DeepPartial): MsgMint; - fromSDK(object: MsgMintSDKType): MsgMint; - toSDK(message: MsgMint): MsgMintSDKType; - fromAmino(object: MsgMintAmino): MsgMint; - toAmino(message: MsgMint): MsgMintAmino; - fromAminoMsg(object: MsgMintAminoMsg): MsgMint; - toAminoMsg(message: MsgMint): MsgMintAminoMsg; - fromProtoMsg(message: MsgMintProtoMsg): MsgMint; - toProto(message: MsgMint): Uint8Array; - toProtoMsg(message: MsgMint): MsgMintProtoMsg; -}; -export declare const MsgMintResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgMintResponse; - isSDK(o: any): o is MsgMintResponseSDKType; - isAmino(o: any): o is MsgMintResponseAmino; - encode(_: MsgMintResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgMintResponse; - fromJSON(_: any): MsgMintResponse; - toJSON(_: MsgMintResponse): unknown; - fromPartial(_: DeepPartial): MsgMintResponse; - fromSDK(_: MsgMintResponseSDKType): MsgMintResponse; - toSDK(_: MsgMintResponse): MsgMintResponseSDKType; - fromAmino(_: MsgMintResponseAmino): MsgMintResponse; - toAmino(_: MsgMintResponse): MsgMintResponseAmino; - fromAminoMsg(object: MsgMintResponseAminoMsg): MsgMintResponse; - toAminoMsg(message: MsgMintResponse): MsgMintResponseAminoMsg; - fromProtoMsg(message: MsgMintResponseProtoMsg): MsgMintResponse; - toProto(message: MsgMintResponse): Uint8Array; - toProtoMsg(message: MsgMintResponse): MsgMintResponseProtoMsg; -}; -export declare const MsgBurn: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgBurn; - isSDK(o: any): o is MsgBurnSDKType; - isAmino(o: any): o is MsgBurnAmino; - encode(message: MsgBurn, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgBurn; - fromJSON(object: any): MsgBurn; - toJSON(message: MsgBurn): unknown; - fromPartial(object: DeepPartial): MsgBurn; - fromSDK(object: MsgBurnSDKType): MsgBurn; - toSDK(message: MsgBurn): MsgBurnSDKType; - fromAmino(object: MsgBurnAmino): MsgBurn; - toAmino(message: MsgBurn): MsgBurnAmino; - fromAminoMsg(object: MsgBurnAminoMsg): MsgBurn; - toAminoMsg(message: MsgBurn): MsgBurnAminoMsg; - fromProtoMsg(message: MsgBurnProtoMsg): MsgBurn; - toProto(message: MsgBurn): Uint8Array; - toProtoMsg(message: MsgBurn): MsgBurnProtoMsg; -}; -export declare const MsgBurnResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgBurnResponse; - isSDK(o: any): o is MsgBurnResponseSDKType; - isAmino(o: any): o is MsgBurnResponseAmino; - encode(_: MsgBurnResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgBurnResponse; - fromJSON(_: any): MsgBurnResponse; - toJSON(_: MsgBurnResponse): unknown; - fromPartial(_: DeepPartial): MsgBurnResponse; - fromSDK(_: MsgBurnResponseSDKType): MsgBurnResponse; - toSDK(_: MsgBurnResponse): MsgBurnResponseSDKType; - fromAmino(_: MsgBurnResponseAmino): MsgBurnResponse; - toAmino(_: MsgBurnResponse): MsgBurnResponseAmino; - fromAminoMsg(object: MsgBurnResponseAminoMsg): MsgBurnResponse; - toAminoMsg(message: MsgBurnResponse): MsgBurnResponseAminoMsg; - fromProtoMsg(message: MsgBurnResponseProtoMsg): MsgBurnResponse; - toProto(message: MsgBurnResponse): Uint8Array; - toProtoMsg(message: MsgBurnResponse): MsgBurnResponseProtoMsg; -}; -export declare const MsgChangeAdmin: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgChangeAdmin; - isSDK(o: any): o is MsgChangeAdminSDKType; - isAmino(o: any): o is MsgChangeAdminAmino; - encode(message: MsgChangeAdmin, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgChangeAdmin; - fromJSON(object: any): MsgChangeAdmin; - toJSON(message: MsgChangeAdmin): unknown; - fromPartial(object: DeepPartial): MsgChangeAdmin; - fromSDK(object: MsgChangeAdminSDKType): MsgChangeAdmin; - toSDK(message: MsgChangeAdmin): MsgChangeAdminSDKType; - fromAmino(object: MsgChangeAdminAmino): MsgChangeAdmin; - toAmino(message: MsgChangeAdmin): MsgChangeAdminAmino; - fromAminoMsg(object: MsgChangeAdminAminoMsg): MsgChangeAdmin; - toAminoMsg(message: MsgChangeAdmin): MsgChangeAdminAminoMsg; - fromProtoMsg(message: MsgChangeAdminProtoMsg): MsgChangeAdmin; - toProto(message: MsgChangeAdmin): Uint8Array; - toProtoMsg(message: MsgChangeAdmin): MsgChangeAdminProtoMsg; -}; -export declare const MsgChangeAdminResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgChangeAdminResponse; - isSDK(o: any): o is MsgChangeAdminResponseSDKType; - isAmino(o: any): o is MsgChangeAdminResponseAmino; - encode(_: MsgChangeAdminResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgChangeAdminResponse; - fromJSON(_: any): MsgChangeAdminResponse; - toJSON(_: MsgChangeAdminResponse): unknown; - fromPartial(_: DeepPartial): MsgChangeAdminResponse; - fromSDK(_: MsgChangeAdminResponseSDKType): MsgChangeAdminResponse; - toSDK(_: MsgChangeAdminResponse): MsgChangeAdminResponseSDKType; - fromAmino(_: MsgChangeAdminResponseAmino): MsgChangeAdminResponse; - toAmino(_: MsgChangeAdminResponse): MsgChangeAdminResponseAmino; - fromAminoMsg(object: MsgChangeAdminResponseAminoMsg): MsgChangeAdminResponse; - toAminoMsg(message: MsgChangeAdminResponse): MsgChangeAdminResponseAminoMsg; - fromProtoMsg(message: MsgChangeAdminResponseProtoMsg): MsgChangeAdminResponse; - toProto(message: MsgChangeAdminResponse): Uint8Array; - toProtoMsg(message: MsgChangeAdminResponse): MsgChangeAdminResponseProtoMsg; -}; -export declare const MsgSetDenomMetadata: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSetDenomMetadata; - isSDK(o: any): o is MsgSetDenomMetadataSDKType; - isAmino(o: any): o is MsgSetDenomMetadataAmino; - encode(message: MsgSetDenomMetadata, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSetDenomMetadata; - fromJSON(object: any): MsgSetDenomMetadata; - toJSON(message: MsgSetDenomMetadata): unknown; - fromPartial(object: DeepPartial): MsgSetDenomMetadata; - fromSDK(object: MsgSetDenomMetadataSDKType): MsgSetDenomMetadata; - toSDK(message: MsgSetDenomMetadata): MsgSetDenomMetadataSDKType; - fromAmino(object: MsgSetDenomMetadataAmino): MsgSetDenomMetadata; - toAmino(message: MsgSetDenomMetadata): MsgSetDenomMetadataAmino; - fromAminoMsg(object: MsgSetDenomMetadataAminoMsg): MsgSetDenomMetadata; - toAminoMsg(message: MsgSetDenomMetadata): MsgSetDenomMetadataAminoMsg; - fromProtoMsg(message: MsgSetDenomMetadataProtoMsg): MsgSetDenomMetadata; - toProto(message: MsgSetDenomMetadata): Uint8Array; - toProtoMsg(message: MsgSetDenomMetadata): MsgSetDenomMetadataProtoMsg; -}; -export declare const MsgSetDenomMetadataResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is MsgSetDenomMetadataResponse; - isSDK(o: any): o is MsgSetDenomMetadataResponseSDKType; - isAmino(o: any): o is MsgSetDenomMetadataResponseAmino; - encode(_: MsgSetDenomMetadataResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): MsgSetDenomMetadataResponse; - fromJSON(_: any): MsgSetDenomMetadataResponse; - toJSON(_: MsgSetDenomMetadataResponse): unknown; - fromPartial(_: DeepPartial): MsgSetDenomMetadataResponse; - fromSDK(_: MsgSetDenomMetadataResponseSDKType): MsgSetDenomMetadataResponse; - toSDK(_: MsgSetDenomMetadataResponse): MsgSetDenomMetadataResponseSDKType; - fromAmino(_: MsgSetDenomMetadataResponseAmino): MsgSetDenomMetadataResponse; - toAmino(_: MsgSetDenomMetadataResponse): MsgSetDenomMetadataResponseAmino; - fromAminoMsg(object: MsgSetDenomMetadataResponseAminoMsg): MsgSetDenomMetadataResponse; - toAminoMsg(message: MsgSetDenomMetadataResponse): MsgSetDenomMetadataResponseAminoMsg; - fromProtoMsg(message: MsgSetDenomMetadataResponseProtoMsg): MsgSetDenomMetadataResponse; - toProto(message: MsgSetDenomMetadataResponse): Uint8Array; - toProtoMsg(message: MsgSetDenomMetadataResponse): MsgSetDenomMetadataResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.registry.d.ts b/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.registry.d.ts deleted file mode 100644 index 680bbff7..00000000 --- a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.registry.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -import { TelescopeGeneratedType } from "../../../types"; -import { Registry } from "@cosmjs/proto-signing"; -import { MsgCreateDenom, MsgMint, MsgBurn, MsgChangeAdmin, MsgSetDenomMetadata } from "./tx"; -export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType]>; -export declare const load: (protoRegistry: Registry) => void; -export declare const MessageComposer: { - encoded: { - createDenom(value: MsgCreateDenom): { - typeUrl: string; - value: Uint8Array; - }; - mint(value: MsgMint): { - typeUrl: string; - value: Uint8Array; - }; - burn(value: MsgBurn): { - typeUrl: string; - value: Uint8Array; - }; - changeAdmin(value: MsgChangeAdmin): { - typeUrl: string; - value: Uint8Array; - }; - setDenomMetadata(value: MsgSetDenomMetadata): { - typeUrl: string; - value: Uint8Array; - }; - }; - withTypeUrl: { - createDenom(value: MsgCreateDenom): { - typeUrl: string; - value: MsgCreateDenom; - }; - mint(value: MsgMint): { - typeUrl: string; - value: MsgMint; - }; - burn(value: MsgBurn): { - typeUrl: string; - value: MsgBurn; - }; - changeAdmin(value: MsgChangeAdmin): { - typeUrl: string; - value: MsgChangeAdmin; - }; - setDenomMetadata(value: MsgSetDenomMetadata): { - typeUrl: string; - value: MsgSetDenomMetadata; - }; - }; - toJSON: { - createDenom(value: MsgCreateDenom): { - typeUrl: string; - value: unknown; - }; - mint(value: MsgMint): { - typeUrl: string; - value: unknown; - }; - burn(value: MsgBurn): { - typeUrl: string; - value: unknown; - }; - changeAdmin(value: MsgChangeAdmin): { - typeUrl: string; - value: unknown; - }; - setDenomMetadata(value: MsgSetDenomMetadata): { - typeUrl: string; - value: unknown; - }; - }; - fromJSON: { - createDenom(value: any): { - typeUrl: string; - value: MsgCreateDenom; - }; - mint(value: any): { - typeUrl: string; - value: MsgMint; - }; - burn(value: any): { - typeUrl: string; - value: MsgBurn; - }; - changeAdmin(value: any): { - typeUrl: string; - value: MsgChangeAdmin; - }; - setDenomMetadata(value: any): { - typeUrl: string; - value: MsgSetDenomMetadata; - }; - }; - fromPartial: { - createDenom(value: MsgCreateDenom): { - typeUrl: string; - value: MsgCreateDenom; - }; - mint(value: MsgMint): { - typeUrl: string; - value: MsgMint; - }; - burn(value: MsgBurn): { - typeUrl: string; - value: MsgBurn; - }; - changeAdmin(value: MsgChangeAdmin): { - typeUrl: string; - value: MsgChangeAdmin; - }; - setDenomMetadata(value: MsgSetDenomMetadata): { - typeUrl: string; - value: MsgSetDenomMetadata; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.d.ts b/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 8df384ee..00000000 --- a/examples/authz/types/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { DeliverTxResponse, StdFee, TxRpc } from "../../../types"; -import { MsgCreateDenom, MsgMint, MsgBurn, MsgChangeAdmin, MsgSetDenomMetadata } from "./tx"; -/** Msg defines the tokefactory module's gRPC message service. */ -export interface Msg { - createDenom(signerAddress: string, message: MsgCreateDenom, fee: number | StdFee | "auto", memo: string): Promise; - mint(signerAddress: string, message: MsgMint, fee: number | StdFee | "auto", memo: string): Promise; - burn(signerAddress: string, message: MsgBurn, fee: number | StdFee | "auto", memo: string): Promise; - changeAdmin(signerAddress: string, message: MsgChangeAdmin, fee: number | StdFee | "auto", memo: string): Promise; - setDenomMetadata(signerAddress: string, message: MsgSetDenomMetadata, fee: number | StdFee | "auto", memo: string): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: TxRpc); - createDenom: (signerAddress: string, message: MsgCreateDenom, fee?: number | StdFee | "auto", memo?: string) => Promise; - mint: (signerAddress: string, message: MsgMint, fee?: number | StdFee | "auto", memo?: string) => Promise; - burn: (signerAddress: string, message: MsgBurn, fee?: number | StdFee | "auto", memo?: string) => Promise; - changeAdmin: (signerAddress: string, message: MsgChangeAdmin, fee?: number | StdFee | "auto", memo?: string) => Promise; - setDenomMetadata: (signerAddress: string, message: MsgSetDenomMetadata, fee?: number | StdFee | "auto", memo?: string) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; diff --git a/examples/authz/types/codegen/osmosis/twap/v1beta1/genesis.d.ts b/examples/authz/types/codegen/osmosis/twap/v1beta1/genesis.d.ts deleted file mode 100644 index 1ac35a84..00000000 --- a/examples/authz/types/codegen/osmosis/twap/v1beta1/genesis.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { TwapRecord, TwapRecordAmino, TwapRecordSDKType } from "./twap_record"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** Params holds parameters for the twap module */ -export interface Params { - pruneEpochIdentifier: string; - recordHistoryKeepPeriod: Duration | undefined; -} -export interface ParamsProtoMsg { - typeUrl: "/osmosis.twap.v1beta1.Params"; - value: Uint8Array; -} -/** Params holds parameters for the twap module */ -export interface ParamsAmino { - prune_epoch_identifier?: string; - record_history_keep_period?: DurationAmino | undefined; -} -export interface ParamsAminoMsg { - type: "osmosis/twap/params"; - value: ParamsAmino; -} -/** Params holds parameters for the twap module */ -export interface ParamsSDKType { - prune_epoch_identifier: string; - record_history_keep_period: DurationSDKType | undefined; -} -/** GenesisState defines the twap module's genesis state. */ -export interface GenesisState { - /** twaps is the collection of all twap records. */ - twaps: TwapRecord[]; - /** params is the container of twap parameters. */ - params: Params | undefined; -} -export interface GenesisStateProtoMsg { - typeUrl: "/osmosis.twap.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the twap module's genesis state. */ -export interface GenesisStateAmino { - /** twaps is the collection of all twap records. */ - twaps?: TwapRecordAmino[]; - /** params is the container of twap parameters. */ - params?: ParamsAmino | undefined; -} -export interface GenesisStateAminoMsg { - type: "osmosis/twap/genesis-state"; - value: GenesisStateAmino; -} -/** GenesisState defines the twap module's genesis state. */ -export interface GenesisStateSDKType { - twaps: TwapRecordSDKType[]; - params: ParamsSDKType | undefined; -} -export declare const Params: { - typeUrl: string; - aminoType: string; - is(o: any): o is Params; - isSDK(o: any): o is ParamsSDKType; - isAmino(o: any): o is ParamsAmino; - encode(message: Params, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Params; - fromJSON(object: any): Params; - toJSON(message: Params): unknown; - fromPartial(object: DeepPartial): Params; - fromSDK(object: ParamsSDKType): Params; - toSDK(message: Params): ParamsSDKType; - fromAmino(object: ParamsAmino): Params; - toAmino(message: Params): ParamsAmino; - fromAminoMsg(object: ParamsAminoMsg): Params; - toAminoMsg(message: Params): ParamsAminoMsg; - fromProtoMsg(message: ParamsProtoMsg): Params; - toProto(message: Params): Uint8Array; - toProtoMsg(message: Params): ParamsProtoMsg; -}; -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/twap/v1beta1/query.d.ts b/examples/authz/types/codegen/osmosis/twap/v1beta1/query.d.ts deleted file mode 100644 index 665135e1..00000000 --- a/examples/authz/types/codegen/osmosis/twap/v1beta1/query.d.ts +++ /dev/null @@ -1,249 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType } from "./genesis"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -export interface ArithmeticTwapRequest { - poolId: bigint; - baseAsset: string; - quoteAsset: string; - startTime: Date | undefined; - endTime?: Date | undefined; -} -export interface ArithmeticTwapRequestProtoMsg { - typeUrl: "/osmosis.twap.v1beta1.ArithmeticTwapRequest"; - value: Uint8Array; -} -export interface ArithmeticTwapRequestAmino { - pool_id?: string; - base_asset?: string; - quote_asset?: string; - start_time?: string | undefined; - end_time?: string | undefined; -} -export interface ArithmeticTwapRequestAminoMsg { - type: "osmosis/twap/arithmetic-twap-request"; - value: ArithmeticTwapRequestAmino; -} -export interface ArithmeticTwapRequestSDKType { - pool_id: bigint; - base_asset: string; - quote_asset: string; - start_time: Date | undefined; - end_time?: Date | undefined; -} -export interface ArithmeticTwapResponse { - arithmeticTwap: string; -} -export interface ArithmeticTwapResponseProtoMsg { - typeUrl: "/osmosis.twap.v1beta1.ArithmeticTwapResponse"; - value: Uint8Array; -} -export interface ArithmeticTwapResponseAmino { - arithmetic_twap?: string; -} -export interface ArithmeticTwapResponseAminoMsg { - type: "osmosis/twap/arithmetic-twap-response"; - value: ArithmeticTwapResponseAmino; -} -export interface ArithmeticTwapResponseSDKType { - arithmetic_twap: string; -} -export interface ArithmeticTwapToNowRequest { - poolId: bigint; - baseAsset: string; - quoteAsset: string; - startTime: Date | undefined; -} -export interface ArithmeticTwapToNowRequestProtoMsg { - typeUrl: "/osmosis.twap.v1beta1.ArithmeticTwapToNowRequest"; - value: Uint8Array; -} -export interface ArithmeticTwapToNowRequestAmino { - pool_id?: string; - base_asset?: string; - quote_asset?: string; - start_time?: string | undefined; -} -export interface ArithmeticTwapToNowRequestAminoMsg { - type: "osmosis/twap/arithmetic-twap-to-now-request"; - value: ArithmeticTwapToNowRequestAmino; -} -export interface ArithmeticTwapToNowRequestSDKType { - pool_id: bigint; - base_asset: string; - quote_asset: string; - start_time: Date | undefined; -} -export interface ArithmeticTwapToNowResponse { - arithmeticTwap: string; -} -export interface ArithmeticTwapToNowResponseProtoMsg { - typeUrl: "/osmosis.twap.v1beta1.ArithmeticTwapToNowResponse"; - value: Uint8Array; -} -export interface ArithmeticTwapToNowResponseAmino { - arithmetic_twap?: string; -} -export interface ArithmeticTwapToNowResponseAminoMsg { - type: "osmosis/twap/arithmetic-twap-to-now-response"; - value: ArithmeticTwapToNowResponseAmino; -} -export interface ArithmeticTwapToNowResponseSDKType { - arithmetic_twap: string; -} -export interface ParamsRequest { -} -export interface ParamsRequestProtoMsg { - typeUrl: "/osmosis.twap.v1beta1.ParamsRequest"; - value: Uint8Array; -} -export interface ParamsRequestAmino { -} -export interface ParamsRequestAminoMsg { - type: "osmosis/twap/params-request"; - value: ParamsRequestAmino; -} -export interface ParamsRequestSDKType { -} -export interface ParamsResponse { - params: Params | undefined; -} -export interface ParamsResponseProtoMsg { - typeUrl: "/osmosis.twap.v1beta1.ParamsResponse"; - value: Uint8Array; -} -export interface ParamsResponseAmino { - params?: ParamsAmino | undefined; -} -export interface ParamsResponseAminoMsg { - type: "osmosis/twap/params-response"; - value: ParamsResponseAmino; -} -export interface ParamsResponseSDKType { - params: ParamsSDKType | undefined; -} -export declare const ArithmeticTwapRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is ArithmeticTwapRequest; - isSDK(o: any): o is ArithmeticTwapRequestSDKType; - isAmino(o: any): o is ArithmeticTwapRequestAmino; - encode(message: ArithmeticTwapRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ArithmeticTwapRequest; - fromJSON(object: any): ArithmeticTwapRequest; - toJSON(message: ArithmeticTwapRequest): unknown; - fromPartial(object: DeepPartial): ArithmeticTwapRequest; - fromSDK(object: ArithmeticTwapRequestSDKType): ArithmeticTwapRequest; - toSDK(message: ArithmeticTwapRequest): ArithmeticTwapRequestSDKType; - fromAmino(object: ArithmeticTwapRequestAmino): ArithmeticTwapRequest; - toAmino(message: ArithmeticTwapRequest): ArithmeticTwapRequestAmino; - fromAminoMsg(object: ArithmeticTwapRequestAminoMsg): ArithmeticTwapRequest; - toAminoMsg(message: ArithmeticTwapRequest): ArithmeticTwapRequestAminoMsg; - fromProtoMsg(message: ArithmeticTwapRequestProtoMsg): ArithmeticTwapRequest; - toProto(message: ArithmeticTwapRequest): Uint8Array; - toProtoMsg(message: ArithmeticTwapRequest): ArithmeticTwapRequestProtoMsg; -}; -export declare const ArithmeticTwapResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is ArithmeticTwapResponse; - isSDK(o: any): o is ArithmeticTwapResponseSDKType; - isAmino(o: any): o is ArithmeticTwapResponseAmino; - encode(message: ArithmeticTwapResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ArithmeticTwapResponse; - fromJSON(object: any): ArithmeticTwapResponse; - toJSON(message: ArithmeticTwapResponse): unknown; - fromPartial(object: DeepPartial): ArithmeticTwapResponse; - fromSDK(object: ArithmeticTwapResponseSDKType): ArithmeticTwapResponse; - toSDK(message: ArithmeticTwapResponse): ArithmeticTwapResponseSDKType; - fromAmino(object: ArithmeticTwapResponseAmino): ArithmeticTwapResponse; - toAmino(message: ArithmeticTwapResponse): ArithmeticTwapResponseAmino; - fromAminoMsg(object: ArithmeticTwapResponseAminoMsg): ArithmeticTwapResponse; - toAminoMsg(message: ArithmeticTwapResponse): ArithmeticTwapResponseAminoMsg; - fromProtoMsg(message: ArithmeticTwapResponseProtoMsg): ArithmeticTwapResponse; - toProto(message: ArithmeticTwapResponse): Uint8Array; - toProtoMsg(message: ArithmeticTwapResponse): ArithmeticTwapResponseProtoMsg; -}; -export declare const ArithmeticTwapToNowRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is ArithmeticTwapToNowRequest; - isSDK(o: any): o is ArithmeticTwapToNowRequestSDKType; - isAmino(o: any): o is ArithmeticTwapToNowRequestAmino; - encode(message: ArithmeticTwapToNowRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ArithmeticTwapToNowRequest; - fromJSON(object: any): ArithmeticTwapToNowRequest; - toJSON(message: ArithmeticTwapToNowRequest): unknown; - fromPartial(object: DeepPartial): ArithmeticTwapToNowRequest; - fromSDK(object: ArithmeticTwapToNowRequestSDKType): ArithmeticTwapToNowRequest; - toSDK(message: ArithmeticTwapToNowRequest): ArithmeticTwapToNowRequestSDKType; - fromAmino(object: ArithmeticTwapToNowRequestAmino): ArithmeticTwapToNowRequest; - toAmino(message: ArithmeticTwapToNowRequest): ArithmeticTwapToNowRequestAmino; - fromAminoMsg(object: ArithmeticTwapToNowRequestAminoMsg): ArithmeticTwapToNowRequest; - toAminoMsg(message: ArithmeticTwapToNowRequest): ArithmeticTwapToNowRequestAminoMsg; - fromProtoMsg(message: ArithmeticTwapToNowRequestProtoMsg): ArithmeticTwapToNowRequest; - toProto(message: ArithmeticTwapToNowRequest): Uint8Array; - toProtoMsg(message: ArithmeticTwapToNowRequest): ArithmeticTwapToNowRequestProtoMsg; -}; -export declare const ArithmeticTwapToNowResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is ArithmeticTwapToNowResponse; - isSDK(o: any): o is ArithmeticTwapToNowResponseSDKType; - isAmino(o: any): o is ArithmeticTwapToNowResponseAmino; - encode(message: ArithmeticTwapToNowResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ArithmeticTwapToNowResponse; - fromJSON(object: any): ArithmeticTwapToNowResponse; - toJSON(message: ArithmeticTwapToNowResponse): unknown; - fromPartial(object: DeepPartial): ArithmeticTwapToNowResponse; - fromSDK(object: ArithmeticTwapToNowResponseSDKType): ArithmeticTwapToNowResponse; - toSDK(message: ArithmeticTwapToNowResponse): ArithmeticTwapToNowResponseSDKType; - fromAmino(object: ArithmeticTwapToNowResponseAmino): ArithmeticTwapToNowResponse; - toAmino(message: ArithmeticTwapToNowResponse): ArithmeticTwapToNowResponseAmino; - fromAminoMsg(object: ArithmeticTwapToNowResponseAminoMsg): ArithmeticTwapToNowResponse; - toAminoMsg(message: ArithmeticTwapToNowResponse): ArithmeticTwapToNowResponseAminoMsg; - fromProtoMsg(message: ArithmeticTwapToNowResponseProtoMsg): ArithmeticTwapToNowResponse; - toProto(message: ArithmeticTwapToNowResponse): Uint8Array; - toProtoMsg(message: ArithmeticTwapToNowResponse): ArithmeticTwapToNowResponseProtoMsg; -}; -export declare const ParamsRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is ParamsRequest; - isSDK(o: any): o is ParamsRequestSDKType; - isAmino(o: any): o is ParamsRequestAmino; - encode(_: ParamsRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ParamsRequest; - fromJSON(_: any): ParamsRequest; - toJSON(_: ParamsRequest): unknown; - fromPartial(_: DeepPartial): ParamsRequest; - fromSDK(_: ParamsRequestSDKType): ParamsRequest; - toSDK(_: ParamsRequest): ParamsRequestSDKType; - fromAmino(_: ParamsRequestAmino): ParamsRequest; - toAmino(_: ParamsRequest): ParamsRequestAmino; - fromAminoMsg(object: ParamsRequestAminoMsg): ParamsRequest; - toAminoMsg(message: ParamsRequest): ParamsRequestAminoMsg; - fromProtoMsg(message: ParamsRequestProtoMsg): ParamsRequest; - toProto(message: ParamsRequest): Uint8Array; - toProtoMsg(message: ParamsRequest): ParamsRequestProtoMsg; -}; -export declare const ParamsResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is ParamsResponse; - isSDK(o: any): o is ParamsResponseSDKType; - isAmino(o: any): o is ParamsResponseAmino; - encode(message: ParamsResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ParamsResponse; - fromJSON(object: any): ParamsResponse; - toJSON(message: ParamsResponse): unknown; - fromPartial(object: DeepPartial): ParamsResponse; - fromSDK(object: ParamsResponseSDKType): ParamsResponse; - toSDK(message: ParamsResponse): ParamsResponseSDKType; - fromAmino(object: ParamsResponseAmino): ParamsResponse; - toAmino(message: ParamsResponse): ParamsResponseAmino; - fromAminoMsg(object: ParamsResponseAminoMsg): ParamsResponse; - toAminoMsg(message: ParamsResponse): ParamsResponseAminoMsg; - fromProtoMsg(message: ParamsResponseProtoMsg): ParamsResponse; - toProto(message: ParamsResponse): Uint8Array; - toProtoMsg(message: ParamsResponse): ParamsResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/twap/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/osmosis/twap/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 226698fb..00000000 --- a/examples/authz/types/codegen/osmosis/twap/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { ParamsRequest, ParamsResponse, ArithmeticTwapRequest, ArithmeticTwapResponse, ArithmeticTwapToNowRequest, ArithmeticTwapToNowResponse } from "./query"; -export interface Query { - params(request?: ParamsRequest): Promise; - arithmeticTwap(request: ArithmeticTwapRequest): Promise; - arithmeticTwapToNow(request: ArithmeticTwapToNowRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - params: (request?: ParamsRequest) => Promise; - arithmeticTwap: (request: ArithmeticTwapRequest) => Promise; - arithmeticTwapToNow: (request: ArithmeticTwapToNowRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseParamsQuery extends ReactQueryParams { - request?: ParamsRequest; -} -export interface UseArithmeticTwapQuery extends ReactQueryParams { - request: ArithmeticTwapRequest; -} -export interface UseArithmeticTwapToNowQuery extends ReactQueryParams { - request: ArithmeticTwapToNowRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - useParams: ({ request, options }: UseParamsQuery) => import("@tanstack/react-query").UseQueryResult; - useArithmeticTwap: ({ request, options }: UseArithmeticTwapQuery) => import("@tanstack/react-query").UseQueryResult; - useArithmeticTwapToNow: ({ request, options }: UseArithmeticTwapToNowQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - QueryParamsStore: { - new (): { - store: QueryStore; - params(request: ParamsRequest): import("../../../mobx").MobxResponse; - }; - }; - QueryArithmeticTwapStore: { - new (): { - store: QueryStore; - arithmeticTwap(request: ArithmeticTwapRequest): import("../../../mobx").MobxResponse; - }; - }; - QueryArithmeticTwapToNowStore: { - new (): { - store: QueryStore; - arithmeticTwapToNow(request: ArithmeticTwapToNowRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/osmosis/twap/v1beta1/twap_record.d.ts b/examples/authz/types/codegen/osmosis/twap/v1beta1/twap_record.d.ts deleted file mode 100644 index 18d67461..00000000 --- a/examples/authz/types/codegen/osmosis/twap/v1beta1/twap_record.d.ts +++ /dev/null @@ -1,126 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * A TWAP record should be indexed in state by pool_id, (asset pair), timestamp - * The asset pair assets should be lexicographically sorted. - * Technically (pool_id, asset_0_denom, asset_1_denom, height) do not need to - * appear in the struct however we view this as the wrong performance tradeoff - * given SDK today. Would rather we optimize for readability and correctness, - * than an optimal state storage format. The system bottleneck is elsewhere for - * now. - */ -export interface TwapRecord { - poolId: bigint; - /** Lexicographically smaller denom of the pair */ - asset0Denom: string; - /** Lexicographically larger denom of the pair */ - asset1Denom: string; - /** height this record corresponds to, for debugging purposes */ - height: bigint; - /** - * This field should only exist until we have a global registry in the state - * machine, mapping prior block heights within {TIME RANGE} to times. - */ - time: Date | undefined; - /** - * We store the last spot prices in the struct, so that we can interpolate - * accumulator values for times between when accumulator records are stored. - */ - p0LastSpotPrice: string; - p1LastSpotPrice: string; - p0ArithmeticTwapAccumulator: string; - p1ArithmeticTwapAccumulator: string; - /** - * This field contains the time in which the last spot price error occured. - * It is used to alert the caller if they are getting a potentially erroneous - * TWAP, due to an unforeseen underlying error. - */ - lastErrorTime: Date | undefined; -} -export interface TwapRecordProtoMsg { - typeUrl: "/osmosis.twap.v1beta1.TwapRecord"; - value: Uint8Array; -} -/** - * A TWAP record should be indexed in state by pool_id, (asset pair), timestamp - * The asset pair assets should be lexicographically sorted. - * Technically (pool_id, asset_0_denom, asset_1_denom, height) do not need to - * appear in the struct however we view this as the wrong performance tradeoff - * given SDK today. Would rather we optimize for readability and correctness, - * than an optimal state storage format. The system bottleneck is elsewhere for - * now. - */ -export interface TwapRecordAmino { - pool_id?: string; - /** Lexicographically smaller denom of the pair */ - asset0_denom?: string; - /** Lexicographically larger denom of the pair */ - asset1_denom?: string; - /** height this record corresponds to, for debugging purposes */ - height?: string; - /** - * This field should only exist until we have a global registry in the state - * machine, mapping prior block heights within {TIME RANGE} to times. - */ - time?: string | undefined; - /** - * We store the last spot prices in the struct, so that we can interpolate - * accumulator values for times between when accumulator records are stored. - */ - p0_last_spot_price?: string; - p1_last_spot_price?: string; - p0_arithmetic_twap_accumulator?: string; - p1_arithmetic_twap_accumulator?: string; - /** - * This field contains the time in which the last spot price error occured. - * It is used to alert the caller if they are getting a potentially erroneous - * TWAP, due to an unforeseen underlying error. - */ - last_error_time?: string | undefined; -} -export interface TwapRecordAminoMsg { - type: "osmosis/twap/twap-record"; - value: TwapRecordAmino; -} -/** - * A TWAP record should be indexed in state by pool_id, (asset pair), timestamp - * The asset pair assets should be lexicographically sorted. - * Technically (pool_id, asset_0_denom, asset_1_denom, height) do not need to - * appear in the struct however we view this as the wrong performance tradeoff - * given SDK today. Would rather we optimize for readability and correctness, - * than an optimal state storage format. The system bottleneck is elsewhere for - * now. - */ -export interface TwapRecordSDKType { - pool_id: bigint; - asset0_denom: string; - asset1_denom: string; - height: bigint; - time: Date | undefined; - p0_last_spot_price: string; - p1_last_spot_price: string; - p0_arithmetic_twap_accumulator: string; - p1_arithmetic_twap_accumulator: string; - last_error_time: Date | undefined; -} -export declare const TwapRecord: { - typeUrl: string; - aminoType: string; - is(o: any): o is TwapRecord; - isSDK(o: any): o is TwapRecordSDKType; - isAmino(o: any): o is TwapRecordAmino; - encode(message: TwapRecord, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TwapRecord; - fromJSON(object: any): TwapRecord; - toJSON(message: TwapRecord): unknown; - fromPartial(object: DeepPartial): TwapRecord; - fromSDK(object: TwapRecordSDKType): TwapRecord; - toSDK(message: TwapRecord): TwapRecordSDKType; - fromAmino(object: TwapRecordAmino): TwapRecord; - toAmino(message: TwapRecord): TwapRecordAmino; - fromAminoMsg(object: TwapRecordAminoMsg): TwapRecord; - toAminoMsg(message: TwapRecord): TwapRecordAminoMsg; - fromProtoMsg(message: TwapRecordProtoMsg): TwapRecord; - toProto(message: TwapRecord): Uint8Array; - toProtoMsg(message: TwapRecord): TwapRecordProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/txfees/v1beta1/feetoken.d.ts b/examples/authz/types/codegen/osmosis/txfees/v1beta1/feetoken.d.ts deleted file mode 100644 index edc362a4..00000000 --- a/examples/authz/types/codegen/osmosis/txfees/v1beta1/feetoken.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * FeeToken is a struct that specifies a coin denom, and pool ID pair. - * This marks the token as eligible for use as a tx fee asset in Osmosis. - * Its price in osmo is derived through looking at the provided pool ID. - * The pool ID must have osmo as one of its assets. - */ -export interface FeeToken { - denom: string; - poolID: bigint; -} -export interface FeeTokenProtoMsg { - typeUrl: "/osmosis.txfees.v1beta1.FeeToken"; - value: Uint8Array; -} -/** - * FeeToken is a struct that specifies a coin denom, and pool ID pair. - * This marks the token as eligible for use as a tx fee asset in Osmosis. - * Its price in osmo is derived through looking at the provided pool ID. - * The pool ID must have osmo as one of its assets. - */ -export interface FeeTokenAmino { - denom?: string; - poolID?: string; -} -export interface FeeTokenAminoMsg { - type: "osmosis/txfees/fee-token"; - value: FeeTokenAmino; -} -/** - * FeeToken is a struct that specifies a coin denom, and pool ID pair. - * This marks the token as eligible for use as a tx fee asset in Osmosis. - * Its price in osmo is derived through looking at the provided pool ID. - * The pool ID must have osmo as one of its assets. - */ -export interface FeeTokenSDKType { - denom: string; - poolID: bigint; -} -export declare const FeeToken: { - typeUrl: string; - aminoType: string; - is(o: any): o is FeeToken; - isSDK(o: any): o is FeeTokenSDKType; - isAmino(o: any): o is FeeTokenAmino; - encode(message: FeeToken, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): FeeToken; - fromJSON(object: any): FeeToken; - toJSON(message: FeeToken): unknown; - fromPartial(object: DeepPartial): FeeToken; - fromSDK(object: FeeTokenSDKType): FeeToken; - toSDK(message: FeeToken): FeeTokenSDKType; - fromAmino(object: FeeTokenAmino): FeeToken; - toAmino(message: FeeToken): FeeTokenAmino; - fromAminoMsg(object: FeeTokenAminoMsg): FeeToken; - toAminoMsg(message: FeeToken): FeeTokenAminoMsg; - fromProtoMsg(message: FeeTokenProtoMsg): FeeToken; - toProto(message: FeeToken): Uint8Array; - toProtoMsg(message: FeeToken): FeeTokenProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/txfees/v1beta1/genesis.d.ts b/examples/authz/types/codegen/osmosis/txfees/v1beta1/genesis.d.ts deleted file mode 100644 index 4635aa00..00000000 --- a/examples/authz/types/codegen/osmosis/txfees/v1beta1/genesis.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { FeeToken, FeeTokenAmino, FeeTokenSDKType } from "./feetoken"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the txfees module's genesis state. */ -export interface GenesisState { - basedenom: string; - feetokens: FeeToken[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/osmosis.txfees.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the txfees module's genesis state. */ -export interface GenesisStateAmino { - basedenom?: string; - feetokens?: FeeTokenAmino[]; -} -export interface GenesisStateAminoMsg { - type: "osmosis/txfees/genesis-state"; - value: GenesisStateAmino; -} -/** GenesisState defines the txfees module's genesis state. */ -export interface GenesisStateSDKType { - basedenom: string; - feetokens: FeeTokenSDKType[]; -} -export declare const GenesisState: { - typeUrl: string; - aminoType: string; - is(o: any): o is GenesisState; - isSDK(o: any): o is GenesisStateSDKType; - isAmino(o: any): o is GenesisStateAmino; - encode(message: GenesisState, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): GenesisState; - fromJSON(object: any): GenesisState; - toJSON(message: GenesisState): unknown; - fromPartial(object: DeepPartial): GenesisState; - fromSDK(object: GenesisStateSDKType): GenesisState; - toSDK(message: GenesisState): GenesisStateSDKType; - fromAmino(object: GenesisStateAmino): GenesisState; - toAmino(message: GenesisState): GenesisStateAmino; - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState; - toAminoMsg(message: GenesisState): GenesisStateAminoMsg; - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState; - toProto(message: GenesisState): Uint8Array; - toProtoMsg(message: GenesisState): GenesisStateProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/txfees/v1beta1/gov.d.ts b/examples/authz/types/codegen/osmosis/txfees/v1beta1/gov.d.ts deleted file mode 100644 index 96c7a424..00000000 --- a/examples/authz/types/codegen/osmosis/txfees/v1beta1/gov.d.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { FeeToken, FeeTokenAmino, FeeTokenSDKType } from "./feetoken"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -/** - * UpdateFeeTokenProposal is a gov Content type for adding a new whitelisted fee - * token. It must specify a denom along with gamm pool ID to use as a spot price - * calculator. It can be used to add a new denom to the whitelist It can also be - * used to update the Pool to associate with the denom. If Pool ID is set to 0, - * it will remove the denom from the whitelisted set. - */ -export interface UpdateFeeTokenProposal { - $typeUrl?: "/osmosis.txfees.v1beta1.UpdateFeeTokenProposal"; - title: string; - description: string; - feetoken: FeeToken | undefined; -} -export interface UpdateFeeTokenProposalProtoMsg { - typeUrl: "/osmosis.txfees.v1beta1.UpdateFeeTokenProposal"; - value: Uint8Array; -} -/** - * UpdateFeeTokenProposal is a gov Content type for adding a new whitelisted fee - * token. It must specify a denom along with gamm pool ID to use as a spot price - * calculator. It can be used to add a new denom to the whitelist It can also be - * used to update the Pool to associate with the denom. If Pool ID is set to 0, - * it will remove the denom from the whitelisted set. - */ -export interface UpdateFeeTokenProposalAmino { - title?: string; - description?: string; - feetoken?: FeeTokenAmino | undefined; -} -export interface UpdateFeeTokenProposalAminoMsg { - type: "osmosis/txfees/update-fee-token-proposal"; - value: UpdateFeeTokenProposalAmino; -} -/** - * UpdateFeeTokenProposal is a gov Content type for adding a new whitelisted fee - * token. It must specify a denom along with gamm pool ID to use as a spot price - * calculator. It can be used to add a new denom to the whitelist It can also be - * used to update the Pool to associate with the denom. If Pool ID is set to 0, - * it will remove the denom from the whitelisted set. - */ -export interface UpdateFeeTokenProposalSDKType { - $typeUrl?: "/osmosis.txfees.v1beta1.UpdateFeeTokenProposal"; - title: string; - description: string; - feetoken: FeeTokenSDKType | undefined; -} -export declare const UpdateFeeTokenProposal: { - typeUrl: string; - aminoType: string; - is(o: any): o is UpdateFeeTokenProposal; - isSDK(o: any): o is UpdateFeeTokenProposalSDKType; - isAmino(o: any): o is UpdateFeeTokenProposalAmino; - encode(message: UpdateFeeTokenProposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): UpdateFeeTokenProposal; - fromJSON(object: any): UpdateFeeTokenProposal; - toJSON(message: UpdateFeeTokenProposal): unknown; - fromPartial(object: DeepPartial): UpdateFeeTokenProposal; - fromSDK(object: UpdateFeeTokenProposalSDKType): UpdateFeeTokenProposal; - toSDK(message: UpdateFeeTokenProposal): UpdateFeeTokenProposalSDKType; - fromAmino(object: UpdateFeeTokenProposalAmino): UpdateFeeTokenProposal; - toAmino(message: UpdateFeeTokenProposal): UpdateFeeTokenProposalAmino; - fromAminoMsg(object: UpdateFeeTokenProposalAminoMsg): UpdateFeeTokenProposal; - toAminoMsg(message: UpdateFeeTokenProposal): UpdateFeeTokenProposalAminoMsg; - fromProtoMsg(message: UpdateFeeTokenProposalProtoMsg): UpdateFeeTokenProposal; - toProto(message: UpdateFeeTokenProposal): Uint8Array; - toProtoMsg(message: UpdateFeeTokenProposal): UpdateFeeTokenProposalProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/txfees/v1beta1/query.d.ts b/examples/authz/types/codegen/osmosis/txfees/v1beta1/query.d.ts deleted file mode 100644 index db9e2679..00000000 --- a/examples/authz/types/codegen/osmosis/txfees/v1beta1/query.d.ts +++ /dev/null @@ -1,328 +0,0 @@ -import { FeeToken, FeeTokenAmino, FeeTokenSDKType } from "./feetoken"; -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -export interface QueryFeeTokensRequest { -} -export interface QueryFeeTokensRequestProtoMsg { - typeUrl: "/osmosis.txfees.v1beta1.QueryFeeTokensRequest"; - value: Uint8Array; -} -export interface QueryFeeTokensRequestAmino { -} -export interface QueryFeeTokensRequestAminoMsg { - type: "osmosis/txfees/query-fee-tokens-request"; - value: QueryFeeTokensRequestAmino; -} -export interface QueryFeeTokensRequestSDKType { -} -export interface QueryFeeTokensResponse { - feeTokens: FeeToken[]; -} -export interface QueryFeeTokensResponseProtoMsg { - typeUrl: "/osmosis.txfees.v1beta1.QueryFeeTokensResponse"; - value: Uint8Array; -} -export interface QueryFeeTokensResponseAmino { - fee_tokens?: FeeTokenAmino[]; -} -export interface QueryFeeTokensResponseAminoMsg { - type: "osmosis/txfees/query-fee-tokens-response"; - value: QueryFeeTokensResponseAmino; -} -export interface QueryFeeTokensResponseSDKType { - fee_tokens: FeeTokenSDKType[]; -} -/** - * QueryDenomSpotPriceRequest defines grpc request structure for querying spot - * price for the specified tx fee denom - */ -export interface QueryDenomSpotPriceRequest { - denom: string; -} -export interface QueryDenomSpotPriceRequestProtoMsg { - typeUrl: "/osmosis.txfees.v1beta1.QueryDenomSpotPriceRequest"; - value: Uint8Array; -} -/** - * QueryDenomSpotPriceRequest defines grpc request structure for querying spot - * price for the specified tx fee denom - */ -export interface QueryDenomSpotPriceRequestAmino { - denom?: string; -} -export interface QueryDenomSpotPriceRequestAminoMsg { - type: "osmosis/txfees/query-denom-spot-price-request"; - value: QueryDenomSpotPriceRequestAmino; -} -/** - * QueryDenomSpotPriceRequest defines grpc request structure for querying spot - * price for the specified tx fee denom - */ -export interface QueryDenomSpotPriceRequestSDKType { - denom: string; -} -/** - * QueryDenomSpotPriceRequest defines grpc response structure for querying spot - * price for the specified tx fee denom - */ -export interface QueryDenomSpotPriceResponse { - poolID: bigint; - spotPrice: string; -} -export interface QueryDenomSpotPriceResponseProtoMsg { - typeUrl: "/osmosis.txfees.v1beta1.QueryDenomSpotPriceResponse"; - value: Uint8Array; -} -/** - * QueryDenomSpotPriceRequest defines grpc response structure for querying spot - * price for the specified tx fee denom - */ -export interface QueryDenomSpotPriceResponseAmino { - poolID?: string; - spot_price?: string; -} -export interface QueryDenomSpotPriceResponseAminoMsg { - type: "osmosis/txfees/query-denom-spot-price-response"; - value: QueryDenomSpotPriceResponseAmino; -} -/** - * QueryDenomSpotPriceRequest defines grpc response structure for querying spot - * price for the specified tx fee denom - */ -export interface QueryDenomSpotPriceResponseSDKType { - poolID: bigint; - spot_price: string; -} -export interface QueryDenomPoolIdRequest { - denom: string; -} -export interface QueryDenomPoolIdRequestProtoMsg { - typeUrl: "/osmosis.txfees.v1beta1.QueryDenomPoolIdRequest"; - value: Uint8Array; -} -export interface QueryDenomPoolIdRequestAmino { - denom?: string; -} -export interface QueryDenomPoolIdRequestAminoMsg { - type: "osmosis/txfees/query-denom-pool-id-request"; - value: QueryDenomPoolIdRequestAmino; -} -export interface QueryDenomPoolIdRequestSDKType { - denom: string; -} -export interface QueryDenomPoolIdResponse { - poolID: bigint; -} -export interface QueryDenomPoolIdResponseProtoMsg { - typeUrl: "/osmosis.txfees.v1beta1.QueryDenomPoolIdResponse"; - value: Uint8Array; -} -export interface QueryDenomPoolIdResponseAmino { - poolID?: string; -} -export interface QueryDenomPoolIdResponseAminoMsg { - type: "osmosis/txfees/query-denom-pool-id-response"; - value: QueryDenomPoolIdResponseAmino; -} -export interface QueryDenomPoolIdResponseSDKType { - poolID: bigint; -} -export interface QueryBaseDenomRequest { -} -export interface QueryBaseDenomRequestProtoMsg { - typeUrl: "/osmosis.txfees.v1beta1.QueryBaseDenomRequest"; - value: Uint8Array; -} -export interface QueryBaseDenomRequestAmino { -} -export interface QueryBaseDenomRequestAminoMsg { - type: "osmosis/txfees/query-base-denom-request"; - value: QueryBaseDenomRequestAmino; -} -export interface QueryBaseDenomRequestSDKType { -} -export interface QueryBaseDenomResponse { - baseDenom: string; -} -export interface QueryBaseDenomResponseProtoMsg { - typeUrl: "/osmosis.txfees.v1beta1.QueryBaseDenomResponse"; - value: Uint8Array; -} -export interface QueryBaseDenomResponseAmino { - base_denom?: string; -} -export interface QueryBaseDenomResponseAminoMsg { - type: "osmosis/txfees/query-base-denom-response"; - value: QueryBaseDenomResponseAmino; -} -export interface QueryBaseDenomResponseSDKType { - base_denom: string; -} -export declare const QueryFeeTokensRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryFeeTokensRequest; - isSDK(o: any): o is QueryFeeTokensRequestSDKType; - isAmino(o: any): o is QueryFeeTokensRequestAmino; - encode(_: QueryFeeTokensRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryFeeTokensRequest; - fromJSON(_: any): QueryFeeTokensRequest; - toJSON(_: QueryFeeTokensRequest): unknown; - fromPartial(_: DeepPartial): QueryFeeTokensRequest; - fromSDK(_: QueryFeeTokensRequestSDKType): QueryFeeTokensRequest; - toSDK(_: QueryFeeTokensRequest): QueryFeeTokensRequestSDKType; - fromAmino(_: QueryFeeTokensRequestAmino): QueryFeeTokensRequest; - toAmino(_: QueryFeeTokensRequest): QueryFeeTokensRequestAmino; - fromAminoMsg(object: QueryFeeTokensRequestAminoMsg): QueryFeeTokensRequest; - toAminoMsg(message: QueryFeeTokensRequest): QueryFeeTokensRequestAminoMsg; - fromProtoMsg(message: QueryFeeTokensRequestProtoMsg): QueryFeeTokensRequest; - toProto(message: QueryFeeTokensRequest): Uint8Array; - toProtoMsg(message: QueryFeeTokensRequest): QueryFeeTokensRequestProtoMsg; -}; -export declare const QueryFeeTokensResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryFeeTokensResponse; - isSDK(o: any): o is QueryFeeTokensResponseSDKType; - isAmino(o: any): o is QueryFeeTokensResponseAmino; - encode(message: QueryFeeTokensResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryFeeTokensResponse; - fromJSON(object: any): QueryFeeTokensResponse; - toJSON(message: QueryFeeTokensResponse): unknown; - fromPartial(object: DeepPartial): QueryFeeTokensResponse; - fromSDK(object: QueryFeeTokensResponseSDKType): QueryFeeTokensResponse; - toSDK(message: QueryFeeTokensResponse): QueryFeeTokensResponseSDKType; - fromAmino(object: QueryFeeTokensResponseAmino): QueryFeeTokensResponse; - toAmino(message: QueryFeeTokensResponse): QueryFeeTokensResponseAmino; - fromAminoMsg(object: QueryFeeTokensResponseAminoMsg): QueryFeeTokensResponse; - toAminoMsg(message: QueryFeeTokensResponse): QueryFeeTokensResponseAminoMsg; - fromProtoMsg(message: QueryFeeTokensResponseProtoMsg): QueryFeeTokensResponse; - toProto(message: QueryFeeTokensResponse): Uint8Array; - toProtoMsg(message: QueryFeeTokensResponse): QueryFeeTokensResponseProtoMsg; -}; -export declare const QueryDenomSpotPriceRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomSpotPriceRequest; - isSDK(o: any): o is QueryDenomSpotPriceRequestSDKType; - isAmino(o: any): o is QueryDenomSpotPriceRequestAmino; - encode(message: QueryDenomSpotPriceRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomSpotPriceRequest; - fromJSON(object: any): QueryDenomSpotPriceRequest; - toJSON(message: QueryDenomSpotPriceRequest): unknown; - fromPartial(object: DeepPartial): QueryDenomSpotPriceRequest; - fromSDK(object: QueryDenomSpotPriceRequestSDKType): QueryDenomSpotPriceRequest; - toSDK(message: QueryDenomSpotPriceRequest): QueryDenomSpotPriceRequestSDKType; - fromAmino(object: QueryDenomSpotPriceRequestAmino): QueryDenomSpotPriceRequest; - toAmino(message: QueryDenomSpotPriceRequest): QueryDenomSpotPriceRequestAmino; - fromAminoMsg(object: QueryDenomSpotPriceRequestAminoMsg): QueryDenomSpotPriceRequest; - toAminoMsg(message: QueryDenomSpotPriceRequest): QueryDenomSpotPriceRequestAminoMsg; - fromProtoMsg(message: QueryDenomSpotPriceRequestProtoMsg): QueryDenomSpotPriceRequest; - toProto(message: QueryDenomSpotPriceRequest): Uint8Array; - toProtoMsg(message: QueryDenomSpotPriceRequest): QueryDenomSpotPriceRequestProtoMsg; -}; -export declare const QueryDenomSpotPriceResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomSpotPriceResponse; - isSDK(o: any): o is QueryDenomSpotPriceResponseSDKType; - isAmino(o: any): o is QueryDenomSpotPriceResponseAmino; - encode(message: QueryDenomSpotPriceResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomSpotPriceResponse; - fromJSON(object: any): QueryDenomSpotPriceResponse; - toJSON(message: QueryDenomSpotPriceResponse): unknown; - fromPartial(object: DeepPartial): QueryDenomSpotPriceResponse; - fromSDK(object: QueryDenomSpotPriceResponseSDKType): QueryDenomSpotPriceResponse; - toSDK(message: QueryDenomSpotPriceResponse): QueryDenomSpotPriceResponseSDKType; - fromAmino(object: QueryDenomSpotPriceResponseAmino): QueryDenomSpotPriceResponse; - toAmino(message: QueryDenomSpotPriceResponse): QueryDenomSpotPriceResponseAmino; - fromAminoMsg(object: QueryDenomSpotPriceResponseAminoMsg): QueryDenomSpotPriceResponse; - toAminoMsg(message: QueryDenomSpotPriceResponse): QueryDenomSpotPriceResponseAminoMsg; - fromProtoMsg(message: QueryDenomSpotPriceResponseProtoMsg): QueryDenomSpotPriceResponse; - toProto(message: QueryDenomSpotPriceResponse): Uint8Array; - toProtoMsg(message: QueryDenomSpotPriceResponse): QueryDenomSpotPriceResponseProtoMsg; -}; -export declare const QueryDenomPoolIdRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomPoolIdRequest; - isSDK(o: any): o is QueryDenomPoolIdRequestSDKType; - isAmino(o: any): o is QueryDenomPoolIdRequestAmino; - encode(message: QueryDenomPoolIdRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomPoolIdRequest; - fromJSON(object: any): QueryDenomPoolIdRequest; - toJSON(message: QueryDenomPoolIdRequest): unknown; - fromPartial(object: DeepPartial): QueryDenomPoolIdRequest; - fromSDK(object: QueryDenomPoolIdRequestSDKType): QueryDenomPoolIdRequest; - toSDK(message: QueryDenomPoolIdRequest): QueryDenomPoolIdRequestSDKType; - fromAmino(object: QueryDenomPoolIdRequestAmino): QueryDenomPoolIdRequest; - toAmino(message: QueryDenomPoolIdRequest): QueryDenomPoolIdRequestAmino; - fromAminoMsg(object: QueryDenomPoolIdRequestAminoMsg): QueryDenomPoolIdRequest; - toAminoMsg(message: QueryDenomPoolIdRequest): QueryDenomPoolIdRequestAminoMsg; - fromProtoMsg(message: QueryDenomPoolIdRequestProtoMsg): QueryDenomPoolIdRequest; - toProto(message: QueryDenomPoolIdRequest): Uint8Array; - toProtoMsg(message: QueryDenomPoolIdRequest): QueryDenomPoolIdRequestProtoMsg; -}; -export declare const QueryDenomPoolIdResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryDenomPoolIdResponse; - isSDK(o: any): o is QueryDenomPoolIdResponseSDKType; - isAmino(o: any): o is QueryDenomPoolIdResponseAmino; - encode(message: QueryDenomPoolIdResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryDenomPoolIdResponse; - fromJSON(object: any): QueryDenomPoolIdResponse; - toJSON(message: QueryDenomPoolIdResponse): unknown; - fromPartial(object: DeepPartial): QueryDenomPoolIdResponse; - fromSDK(object: QueryDenomPoolIdResponseSDKType): QueryDenomPoolIdResponse; - toSDK(message: QueryDenomPoolIdResponse): QueryDenomPoolIdResponseSDKType; - fromAmino(object: QueryDenomPoolIdResponseAmino): QueryDenomPoolIdResponse; - toAmino(message: QueryDenomPoolIdResponse): QueryDenomPoolIdResponseAmino; - fromAminoMsg(object: QueryDenomPoolIdResponseAminoMsg): QueryDenomPoolIdResponse; - toAminoMsg(message: QueryDenomPoolIdResponse): QueryDenomPoolIdResponseAminoMsg; - fromProtoMsg(message: QueryDenomPoolIdResponseProtoMsg): QueryDenomPoolIdResponse; - toProto(message: QueryDenomPoolIdResponse): Uint8Array; - toProtoMsg(message: QueryDenomPoolIdResponse): QueryDenomPoolIdResponseProtoMsg; -}; -export declare const QueryBaseDenomRequest: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryBaseDenomRequest; - isSDK(o: any): o is QueryBaseDenomRequestSDKType; - isAmino(o: any): o is QueryBaseDenomRequestAmino; - encode(_: QueryBaseDenomRequest, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryBaseDenomRequest; - fromJSON(_: any): QueryBaseDenomRequest; - toJSON(_: QueryBaseDenomRequest): unknown; - fromPartial(_: DeepPartial): QueryBaseDenomRequest; - fromSDK(_: QueryBaseDenomRequestSDKType): QueryBaseDenomRequest; - toSDK(_: QueryBaseDenomRequest): QueryBaseDenomRequestSDKType; - fromAmino(_: QueryBaseDenomRequestAmino): QueryBaseDenomRequest; - toAmino(_: QueryBaseDenomRequest): QueryBaseDenomRequestAmino; - fromAminoMsg(object: QueryBaseDenomRequestAminoMsg): QueryBaseDenomRequest; - toAminoMsg(message: QueryBaseDenomRequest): QueryBaseDenomRequestAminoMsg; - fromProtoMsg(message: QueryBaseDenomRequestProtoMsg): QueryBaseDenomRequest; - toProto(message: QueryBaseDenomRequest): Uint8Array; - toProtoMsg(message: QueryBaseDenomRequest): QueryBaseDenomRequestProtoMsg; -}; -export declare const QueryBaseDenomResponse: { - typeUrl: string; - aminoType: string; - is(o: any): o is QueryBaseDenomResponse; - isSDK(o: any): o is QueryBaseDenomResponseSDKType; - isAmino(o: any): o is QueryBaseDenomResponseAmino; - encode(message: QueryBaseDenomResponse, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): QueryBaseDenomResponse; - fromJSON(object: any): QueryBaseDenomResponse; - toJSON(message: QueryBaseDenomResponse): unknown; - fromPartial(object: DeepPartial): QueryBaseDenomResponse; - fromSDK(object: QueryBaseDenomResponseSDKType): QueryBaseDenomResponse; - toSDK(message: QueryBaseDenomResponse): QueryBaseDenomResponseSDKType; - fromAmino(object: QueryBaseDenomResponseAmino): QueryBaseDenomResponse; - toAmino(message: QueryBaseDenomResponse): QueryBaseDenomResponseAmino; - fromAminoMsg(object: QueryBaseDenomResponseAminoMsg): QueryBaseDenomResponse; - toAminoMsg(message: QueryBaseDenomResponse): QueryBaseDenomResponseAminoMsg; - fromProtoMsg(message: QueryBaseDenomResponseProtoMsg): QueryBaseDenomResponse; - toProto(message: QueryBaseDenomResponse): Uint8Array; - toProtoMsg(message: QueryBaseDenomResponse): QueryBaseDenomResponseProtoMsg; -}; diff --git a/examples/authz/types/codegen/osmosis/txfees/v1beta1/query.rpc.Query.d.ts b/examples/authz/types/codegen/osmosis/txfees/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index b91f26bf..00000000 --- a/examples/authz/types/codegen/osmosis/txfees/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { TxRpc } from "../../../types"; -import { ReactQueryParams } from "../../../react-query"; -import { ProtobufRpcClient } from "@cosmjs/stargate"; -import { QueryStore } from "../../../mobx"; -import { QueryFeeTokensRequest, QueryFeeTokensResponse, QueryDenomSpotPriceRequest, QueryDenomSpotPriceResponse, QueryDenomPoolIdRequest, QueryDenomPoolIdResponse, QueryBaseDenomRequest, QueryBaseDenomResponse } from "./query"; -export interface Query { - /** - * FeeTokens returns a list of all the whitelisted fee tokens and their - * corresponding pools. It does not include the BaseDenom, which has its own - * query endpoint - */ - feeTokens(request?: QueryFeeTokensRequest): Promise; - /** DenomSpotPrice returns all spot prices by each registered token denom. */ - denomSpotPrice(request: QueryDenomSpotPriceRequest): Promise; - /** Returns the poolID for a specified denom input. */ - denomPoolId(request: QueryDenomPoolIdRequest): Promise; - /** Returns a list of all base denom tokens and their corresponding pools. */ - baseDenom(request?: QueryBaseDenomRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: TxRpc); - feeTokens: (request?: QueryFeeTokensRequest) => Promise; - denomSpotPrice: (request: QueryDenomSpotPriceRequest) => Promise; - denomPoolId: (request: QueryDenomPoolIdRequest) => Promise; - baseDenom: (request?: QueryBaseDenomRequest) => Promise; -} -export declare const createClientImpl: (rpc: TxRpc) => QueryClientImpl; -export interface UseFeeTokensQuery extends ReactQueryParams { - request?: QueryFeeTokensRequest; -} -export interface UseDenomSpotPriceQuery extends ReactQueryParams { - request: QueryDenomSpotPriceRequest; -} -export interface UseDenomPoolIdQuery extends ReactQueryParams { - request: QueryDenomPoolIdRequest; -} -export interface UseBaseDenomQuery extends ReactQueryParams { - request?: QueryBaseDenomRequest; -} -export declare const createRpcQueryHooks: (rpc: ProtobufRpcClient | undefined) => { - /** - * FeeTokens returns a list of all the whitelisted fee tokens and their - * corresponding pools. It does not include the BaseDenom, which has its own - * query endpoint - */ - useFeeTokens: ({ request, options }: UseFeeTokensQuery) => import("@tanstack/react-query").UseQueryResult; - /** DenomSpotPrice returns all spot prices by each registered token denom. */ useDenomSpotPrice: ({ request, options }: UseDenomSpotPriceQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns the poolID for a specified denom input. */ useDenomPoolId: ({ request, options }: UseDenomPoolIdQuery) => import("@tanstack/react-query").UseQueryResult; - /** Returns a list of all base denom tokens and their corresponding pools. */ useBaseDenom: ({ request, options }: UseBaseDenomQuery) => import("@tanstack/react-query").UseQueryResult; -}; -export declare const createRpcQueryMobxStores: (rpc: ProtobufRpcClient | undefined) => { - /** - * FeeTokens returns a list of all the whitelisted fee tokens and their - * corresponding pools. It does not include the BaseDenom, which has its own - * query endpoint - */ - QueryFeeTokensStore: { - new (): { - store: QueryStore; - feeTokens(request: QueryFeeTokensRequest): import("../../../mobx").MobxResponse; - }; - }; - /** DenomSpotPrice returns all spot prices by each registered token denom. */ QueryDenomSpotPriceStore: { - new (): { - store: QueryStore; - denomSpotPrice(request: QueryDenomSpotPriceRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Returns the poolID for a specified denom input. */ QueryDenomPoolIdStore: { - new (): { - store: QueryStore; - denomPoolId(request: QueryDenomPoolIdRequest): import("../../../mobx").MobxResponse; - }; - }; - /** Returns a list of all base denom tokens and their corresponding pools. */ QueryBaseDenomStore: { - new (): { - store: QueryStore; - baseDenom(request: QueryBaseDenomRequest): import("../../../mobx").MobxResponse; - }; - }; -}; diff --git a/examples/authz/types/codegen/react-query.d.ts b/examples/authz/types/codegen/react-query.d.ts deleted file mode 100644 index 82759fe2..00000000 --- a/examples/authz/types/codegen/react-query.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.3.2 -* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain -* and run the transpile command or yarn proto command to regenerate this bundle. -*/ -import { UseQueryOptions } from '@tanstack/react-query'; -import { HttpEndpoint, ProtobufRpcClient } from '@cosmjs/stargate'; -import { Tendermint34Client } from '@cosmjs/tendermint-rpc'; -export interface ReactQueryParams { - options?: UseQueryOptions; -} -export interface UseRpcClientQuery extends ReactQueryParams { - rpcEndpoint: string | HttpEndpoint; -} -export interface UseRpcEndpointQuery extends ReactQueryParams { - getter: () => Promise; -} -export declare const useRpcEndpoint: ({ getter, options, }: UseRpcEndpointQuery) => import("@tanstack/react-query").UseQueryResult; -export declare const useRpcClient: ({ rpcEndpoint, options, }: UseRpcClientQuery) => import("@tanstack/react-query").UseQueryResult; -interface UseTendermintClient extends ReactQueryParams { - rpcEndpoint: string | HttpEndpoint; -} -/** - * Hook that uses react-query to cache a connected tendermint client. - */ -export declare const useTendermintClient: ({ rpcEndpoint, options, }: UseTendermintClient) => { - client: Tendermint34Client; -}; -export {}; diff --git a/examples/authz/types/codegen/registry.d.ts b/examples/authz/types/codegen/registry.d.ts deleted file mode 100644 index 92651c49..00000000 --- a/examples/authz/types/codegen/registry.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.3.2 -* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain -* and run the transpile command or yarn proto command to regenerate this bundle. -*/ -import { BinaryReader } from "./binary"; -import { Any, AnyAmino } from "./google/protobuf/any"; -import { TelescopeGeneratedCodec } from "./types"; -export declare class GlobalDecoderRegistry { - static registry: { - [key: string]: TelescopeGeneratedCodec; - }; - static aminoProtoMapping: { - [key: string]: string; - }; - static registerAminoProtoMapping(aminoType: string, typeUrl: any): void; - static register(key: string, decoder: TelescopeGeneratedCodec): void; - static getDecoder(key: string): TelescopeGeneratedCodec; - static getDecoderByInstance(obj: unknown): TelescopeGeneratedCodec | null; - static getDecoderByAminoType(type: string): TelescopeGeneratedCodec | null; - static wrapAny(obj: unknown): Any; - static unwrapAny(input: BinaryReader | Uint8Array | Any): any; - static fromJSON(object: any): T; - static toJSON(message: T): any; - static fromPartial(object: unknown): T; - static fromSDK(object: SDK): T; - static fromSDKJSON(object: any): SDK; - static toSDK(object: T): SDK; - static fromAmino(object: Amino): T; - static fromAminoMsg(object: AnyAmino): T; - static toAmino(object: T): Amino; - static toAminoMsg(object: T): AnyAmino; -} diff --git a/examples/authz/types/codegen/tendermint/abci/types.d.ts b/examples/authz/types/codegen/tendermint/abci/types.d.ts deleted file mode 100644 index 301eff7e..00000000 --- a/examples/authz/types/codegen/tendermint/abci/types.d.ts +++ /dev/null @@ -1,2097 +0,0 @@ -import { Header, HeaderAmino, HeaderSDKType } from "../types/types"; -import { ProofOps, ProofOpsAmino, ProofOpsSDKType } from "../crypto/proof"; -import { EvidenceParams, EvidenceParamsAmino, EvidenceParamsSDKType, ValidatorParams, ValidatorParamsAmino, ValidatorParamsSDKType, VersionParams, VersionParamsAmino, VersionParamsSDKType } from "../types/params"; -import { PublicKey, PublicKeyAmino, PublicKeySDKType } from "../crypto/keys"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -export declare enum CheckTxType { - NEW = 0, - RECHECK = 1, - UNRECOGNIZED = -1 -} -export declare const CheckTxTypeSDKType: typeof CheckTxType; -export declare const CheckTxTypeAmino: typeof CheckTxType; -export declare function checkTxTypeFromJSON(object: any): CheckTxType; -export declare function checkTxTypeToJSON(object: CheckTxType): string; -export declare enum ResponseOfferSnapshot_Result { - /** UNKNOWN - Unknown result, abort all snapshot restoration */ - UNKNOWN = 0, - /** ACCEPT - Snapshot accepted, apply chunks */ - ACCEPT = 1, - /** ABORT - Abort all snapshot restoration */ - ABORT = 2, - /** REJECT - Reject this specific snapshot, try others */ - REJECT = 3, - /** REJECT_FORMAT - Reject all snapshots of this format, try others */ - REJECT_FORMAT = 4, - /** REJECT_SENDER - Reject all snapshots from the sender(s), try others */ - REJECT_SENDER = 5, - UNRECOGNIZED = -1 -} -export declare const ResponseOfferSnapshot_ResultSDKType: typeof ResponseOfferSnapshot_Result; -export declare const ResponseOfferSnapshot_ResultAmino: typeof ResponseOfferSnapshot_Result; -export declare function responseOfferSnapshot_ResultFromJSON(object: any): ResponseOfferSnapshot_Result; -export declare function responseOfferSnapshot_ResultToJSON(object: ResponseOfferSnapshot_Result): string; -export declare enum ResponseApplySnapshotChunk_Result { - /** UNKNOWN - Unknown result, abort all snapshot restoration */ - UNKNOWN = 0, - /** ACCEPT - Chunk successfully accepted */ - ACCEPT = 1, - /** ABORT - Abort all snapshot restoration */ - ABORT = 2, - /** RETRY - Retry chunk (combine with refetch and reject) */ - RETRY = 3, - /** RETRY_SNAPSHOT - Retry snapshot (combine with refetch and reject) */ - RETRY_SNAPSHOT = 4, - /** REJECT_SNAPSHOT - Reject this snapshot, try others */ - REJECT_SNAPSHOT = 5, - UNRECOGNIZED = -1 -} -export declare const ResponseApplySnapshotChunk_ResultSDKType: typeof ResponseApplySnapshotChunk_Result; -export declare const ResponseApplySnapshotChunk_ResultAmino: typeof ResponseApplySnapshotChunk_Result; -export declare function responseApplySnapshotChunk_ResultFromJSON(object: any): ResponseApplySnapshotChunk_Result; -export declare function responseApplySnapshotChunk_ResultToJSON(object: ResponseApplySnapshotChunk_Result): string; -export declare enum EvidenceType { - UNKNOWN = 0, - DUPLICATE_VOTE = 1, - LIGHT_CLIENT_ATTACK = 2, - UNRECOGNIZED = -1 -} -export declare const EvidenceTypeSDKType: typeof EvidenceType; -export declare const EvidenceTypeAmino: typeof EvidenceType; -export declare function evidenceTypeFromJSON(object: any): EvidenceType; -export declare function evidenceTypeToJSON(object: EvidenceType): string; -export interface Request { - echo?: RequestEcho | undefined; - flush?: RequestFlush | undefined; - info?: RequestInfo | undefined; - setOption?: RequestSetOption | undefined; - initChain?: RequestInitChain | undefined; - query?: RequestQuery | undefined; - beginBlock?: RequestBeginBlock | undefined; - checkTx?: RequestCheckTx | undefined; - deliverTx?: RequestDeliverTx | undefined; - endBlock?: RequestEndBlock | undefined; - commit?: RequestCommit | undefined; - listSnapshots?: RequestListSnapshots | undefined; - offerSnapshot?: RequestOfferSnapshot | undefined; - loadSnapshotChunk?: RequestLoadSnapshotChunk | undefined; - applySnapshotChunk?: RequestApplySnapshotChunk | undefined; -} -export interface RequestProtoMsg { - typeUrl: "/tendermint.abci.Request"; - value: Uint8Array; -} -export interface RequestAmino { - echo?: RequestEchoAmino | undefined; - flush?: RequestFlushAmino | undefined; - info?: RequestInfoAmino | undefined; - set_option?: RequestSetOptionAmino | undefined; - init_chain?: RequestInitChainAmino | undefined; - query?: RequestQueryAmino | undefined; - begin_block?: RequestBeginBlockAmino | undefined; - check_tx?: RequestCheckTxAmino | undefined; - deliver_tx?: RequestDeliverTxAmino | undefined; - end_block?: RequestEndBlockAmino | undefined; - commit?: RequestCommitAmino | undefined; - list_snapshots?: RequestListSnapshotsAmino | undefined; - offer_snapshot?: RequestOfferSnapshotAmino | undefined; - load_snapshot_chunk?: RequestLoadSnapshotChunkAmino | undefined; - apply_snapshot_chunk?: RequestApplySnapshotChunkAmino | undefined; -} -export interface RequestAminoMsg { - type: "/tendermint.abci.Request"; - value: RequestAmino; -} -export interface RequestSDKType { - echo?: RequestEchoSDKType | undefined; - flush?: RequestFlushSDKType | undefined; - info?: RequestInfoSDKType | undefined; - set_option?: RequestSetOptionSDKType | undefined; - init_chain?: RequestInitChainSDKType | undefined; - query?: RequestQuerySDKType | undefined; - begin_block?: RequestBeginBlockSDKType | undefined; - check_tx?: RequestCheckTxSDKType | undefined; - deliver_tx?: RequestDeliverTxSDKType | undefined; - end_block?: RequestEndBlockSDKType | undefined; - commit?: RequestCommitSDKType | undefined; - list_snapshots?: RequestListSnapshotsSDKType | undefined; - offer_snapshot?: RequestOfferSnapshotSDKType | undefined; - load_snapshot_chunk?: RequestLoadSnapshotChunkSDKType | undefined; - apply_snapshot_chunk?: RequestApplySnapshotChunkSDKType | undefined; -} -export interface RequestEcho { - message: string; -} -export interface RequestEchoProtoMsg { - typeUrl: "/tendermint.abci.RequestEcho"; - value: Uint8Array; -} -export interface RequestEchoAmino { - message?: string; -} -export interface RequestEchoAminoMsg { - type: "/tendermint.abci.RequestEcho"; - value: RequestEchoAmino; -} -export interface RequestEchoSDKType { - message: string; -} -export interface RequestFlush { -} -export interface RequestFlushProtoMsg { - typeUrl: "/tendermint.abci.RequestFlush"; - value: Uint8Array; -} -export interface RequestFlushAmino { -} -export interface RequestFlushAminoMsg { - type: "/tendermint.abci.RequestFlush"; - value: RequestFlushAmino; -} -export interface RequestFlushSDKType { -} -export interface RequestInfo { - version: string; - blockVersion: bigint; - p2pVersion: bigint; -} -export interface RequestInfoProtoMsg { - typeUrl: "/tendermint.abci.RequestInfo"; - value: Uint8Array; -} -export interface RequestInfoAmino { - version?: string; - block_version?: string; - p2p_version?: string; -} -export interface RequestInfoAminoMsg { - type: "/tendermint.abci.RequestInfo"; - value: RequestInfoAmino; -} -export interface RequestInfoSDKType { - version: string; - block_version: bigint; - p2p_version: bigint; -} -/** nondeterministic */ -export interface RequestSetOption { - key: string; - value: string; -} -export interface RequestSetOptionProtoMsg { - typeUrl: "/tendermint.abci.RequestSetOption"; - value: Uint8Array; -} -/** nondeterministic */ -export interface RequestSetOptionAmino { - key?: string; - value?: string; -} -export interface RequestSetOptionAminoMsg { - type: "/tendermint.abci.RequestSetOption"; - value: RequestSetOptionAmino; -} -/** nondeterministic */ -export interface RequestSetOptionSDKType { - key: string; - value: string; -} -export interface RequestInitChain { - time: Date | undefined; - chainId: string; - consensusParams?: ConsensusParams | undefined; - validators: ValidatorUpdate[]; - appStateBytes: Uint8Array; - initialHeight: bigint; -} -export interface RequestInitChainProtoMsg { - typeUrl: "/tendermint.abci.RequestInitChain"; - value: Uint8Array; -} -export interface RequestInitChainAmino { - time?: string | undefined; - chain_id?: string; - consensus_params?: ConsensusParamsAmino | undefined; - validators?: ValidatorUpdateAmino[]; - app_state_bytes?: string; - initial_height?: string; -} -export interface RequestInitChainAminoMsg { - type: "/tendermint.abci.RequestInitChain"; - value: RequestInitChainAmino; -} -export interface RequestInitChainSDKType { - time: Date | undefined; - chain_id: string; - consensus_params?: ConsensusParamsSDKType | undefined; - validators: ValidatorUpdateSDKType[]; - app_state_bytes: Uint8Array; - initial_height: bigint; -} -export interface RequestQuery { - data: Uint8Array; - path: string; - height: bigint; - prove: boolean; -} -export interface RequestQueryProtoMsg { - typeUrl: "/tendermint.abci.RequestQuery"; - value: Uint8Array; -} -export interface RequestQueryAmino { - data?: string; - path?: string; - height?: string; - prove?: boolean; -} -export interface RequestQueryAminoMsg { - type: "/tendermint.abci.RequestQuery"; - value: RequestQueryAmino; -} -export interface RequestQuerySDKType { - data: Uint8Array; - path: string; - height: bigint; - prove: boolean; -} -export interface RequestBeginBlock { - hash: Uint8Array; - header: Header | undefined; - lastCommitInfo: LastCommitInfo | undefined; - byzantineValidators: Evidence[]; -} -export interface RequestBeginBlockProtoMsg { - typeUrl: "/tendermint.abci.RequestBeginBlock"; - value: Uint8Array; -} -export interface RequestBeginBlockAmino { - hash?: string; - header?: HeaderAmino | undefined; - last_commit_info?: LastCommitInfoAmino | undefined; - byzantine_validators?: EvidenceAmino[]; -} -export interface RequestBeginBlockAminoMsg { - type: "/tendermint.abci.RequestBeginBlock"; - value: RequestBeginBlockAmino; -} -export interface RequestBeginBlockSDKType { - hash: Uint8Array; - header: HeaderSDKType | undefined; - last_commit_info: LastCommitInfoSDKType | undefined; - byzantine_validators: EvidenceSDKType[]; -} -export interface RequestCheckTx { - tx: Uint8Array; - type: CheckTxType; -} -export interface RequestCheckTxProtoMsg { - typeUrl: "/tendermint.abci.RequestCheckTx"; - value: Uint8Array; -} -export interface RequestCheckTxAmino { - tx?: string; - type?: CheckTxType; -} -export interface RequestCheckTxAminoMsg { - type: "/tendermint.abci.RequestCheckTx"; - value: RequestCheckTxAmino; -} -export interface RequestCheckTxSDKType { - tx: Uint8Array; - type: CheckTxType; -} -export interface RequestDeliverTx { - tx: Uint8Array; -} -export interface RequestDeliverTxProtoMsg { - typeUrl: "/tendermint.abci.RequestDeliverTx"; - value: Uint8Array; -} -export interface RequestDeliverTxAmino { - tx?: string; -} -export interface RequestDeliverTxAminoMsg { - type: "/tendermint.abci.RequestDeliverTx"; - value: RequestDeliverTxAmino; -} -export interface RequestDeliverTxSDKType { - tx: Uint8Array; -} -export interface RequestEndBlock { - height: bigint; -} -export interface RequestEndBlockProtoMsg { - typeUrl: "/tendermint.abci.RequestEndBlock"; - value: Uint8Array; -} -export interface RequestEndBlockAmino { - height?: string; -} -export interface RequestEndBlockAminoMsg { - type: "/tendermint.abci.RequestEndBlock"; - value: RequestEndBlockAmino; -} -export interface RequestEndBlockSDKType { - height: bigint; -} -export interface RequestCommit { -} -export interface RequestCommitProtoMsg { - typeUrl: "/tendermint.abci.RequestCommit"; - value: Uint8Array; -} -export interface RequestCommitAmino { -} -export interface RequestCommitAminoMsg { - type: "/tendermint.abci.RequestCommit"; - value: RequestCommitAmino; -} -export interface RequestCommitSDKType { -} -/** lists available snapshots */ -export interface RequestListSnapshots { -} -export interface RequestListSnapshotsProtoMsg { - typeUrl: "/tendermint.abci.RequestListSnapshots"; - value: Uint8Array; -} -/** lists available snapshots */ -export interface RequestListSnapshotsAmino { -} -export interface RequestListSnapshotsAminoMsg { - type: "/tendermint.abci.RequestListSnapshots"; - value: RequestListSnapshotsAmino; -} -/** lists available snapshots */ -export interface RequestListSnapshotsSDKType { -} -/** offers a snapshot to the application */ -export interface RequestOfferSnapshot { - /** snapshot offered by peers */ - snapshot?: Snapshot | undefined; - /** light client-verified app hash for snapshot height */ - appHash: Uint8Array; -} -export interface RequestOfferSnapshotProtoMsg { - typeUrl: "/tendermint.abci.RequestOfferSnapshot"; - value: Uint8Array; -} -/** offers a snapshot to the application */ -export interface RequestOfferSnapshotAmino { - /** snapshot offered by peers */ - snapshot?: SnapshotAmino | undefined; - /** light client-verified app hash for snapshot height */ - app_hash?: string; -} -export interface RequestOfferSnapshotAminoMsg { - type: "/tendermint.abci.RequestOfferSnapshot"; - value: RequestOfferSnapshotAmino; -} -/** offers a snapshot to the application */ -export interface RequestOfferSnapshotSDKType { - snapshot?: SnapshotSDKType | undefined; - app_hash: Uint8Array; -} -/** loads a snapshot chunk */ -export interface RequestLoadSnapshotChunk { - height: bigint; - format: number; - chunk: number; -} -export interface RequestLoadSnapshotChunkProtoMsg { - typeUrl: "/tendermint.abci.RequestLoadSnapshotChunk"; - value: Uint8Array; -} -/** loads a snapshot chunk */ -export interface RequestLoadSnapshotChunkAmino { - height?: string; - format?: number; - chunk?: number; -} -export interface RequestLoadSnapshotChunkAminoMsg { - type: "/tendermint.abci.RequestLoadSnapshotChunk"; - value: RequestLoadSnapshotChunkAmino; -} -/** loads a snapshot chunk */ -export interface RequestLoadSnapshotChunkSDKType { - height: bigint; - format: number; - chunk: number; -} -/** Applies a snapshot chunk */ -export interface RequestApplySnapshotChunk { - index: number; - chunk: Uint8Array; - sender: string; -} -export interface RequestApplySnapshotChunkProtoMsg { - typeUrl: "/tendermint.abci.RequestApplySnapshotChunk"; - value: Uint8Array; -} -/** Applies a snapshot chunk */ -export interface RequestApplySnapshotChunkAmino { - index?: number; - chunk?: string; - sender?: string; -} -export interface RequestApplySnapshotChunkAminoMsg { - type: "/tendermint.abci.RequestApplySnapshotChunk"; - value: RequestApplySnapshotChunkAmino; -} -/** Applies a snapshot chunk */ -export interface RequestApplySnapshotChunkSDKType { - index: number; - chunk: Uint8Array; - sender: string; -} -export interface Response { - exception?: ResponseException | undefined; - echo?: ResponseEcho | undefined; - flush?: ResponseFlush | undefined; - info?: ResponseInfo | undefined; - setOption?: ResponseSetOption | undefined; - initChain?: ResponseInitChain | undefined; - query?: ResponseQuery | undefined; - beginBlock?: ResponseBeginBlock | undefined; - checkTx?: ResponseCheckTx | undefined; - deliverTx?: ResponseDeliverTx | undefined; - endBlock?: ResponseEndBlock | undefined; - commit?: ResponseCommit | undefined; - listSnapshots?: ResponseListSnapshots | undefined; - offerSnapshot?: ResponseOfferSnapshot | undefined; - loadSnapshotChunk?: ResponseLoadSnapshotChunk | undefined; - applySnapshotChunk?: ResponseApplySnapshotChunk | undefined; -} -export interface ResponseProtoMsg { - typeUrl: "/tendermint.abci.Response"; - value: Uint8Array; -} -export interface ResponseAmino { - exception?: ResponseExceptionAmino | undefined; - echo?: ResponseEchoAmino | undefined; - flush?: ResponseFlushAmino | undefined; - info?: ResponseInfoAmino | undefined; - set_option?: ResponseSetOptionAmino | undefined; - init_chain?: ResponseInitChainAmino | undefined; - query?: ResponseQueryAmino | undefined; - begin_block?: ResponseBeginBlockAmino | undefined; - check_tx?: ResponseCheckTxAmino | undefined; - deliver_tx?: ResponseDeliverTxAmino | undefined; - end_block?: ResponseEndBlockAmino | undefined; - commit?: ResponseCommitAmino | undefined; - list_snapshots?: ResponseListSnapshotsAmino | undefined; - offer_snapshot?: ResponseOfferSnapshotAmino | undefined; - load_snapshot_chunk?: ResponseLoadSnapshotChunkAmino | undefined; - apply_snapshot_chunk?: ResponseApplySnapshotChunkAmino | undefined; -} -export interface ResponseAminoMsg { - type: "/tendermint.abci.Response"; - value: ResponseAmino; -} -export interface ResponseSDKType { - exception?: ResponseExceptionSDKType | undefined; - echo?: ResponseEchoSDKType | undefined; - flush?: ResponseFlushSDKType | undefined; - info?: ResponseInfoSDKType | undefined; - set_option?: ResponseSetOptionSDKType | undefined; - init_chain?: ResponseInitChainSDKType | undefined; - query?: ResponseQuerySDKType | undefined; - begin_block?: ResponseBeginBlockSDKType | undefined; - check_tx?: ResponseCheckTxSDKType | undefined; - deliver_tx?: ResponseDeliverTxSDKType | undefined; - end_block?: ResponseEndBlockSDKType | undefined; - commit?: ResponseCommitSDKType | undefined; - list_snapshots?: ResponseListSnapshotsSDKType | undefined; - offer_snapshot?: ResponseOfferSnapshotSDKType | undefined; - load_snapshot_chunk?: ResponseLoadSnapshotChunkSDKType | undefined; - apply_snapshot_chunk?: ResponseApplySnapshotChunkSDKType | undefined; -} -/** nondeterministic */ -export interface ResponseException { - error: string; -} -export interface ResponseExceptionProtoMsg { - typeUrl: "/tendermint.abci.ResponseException"; - value: Uint8Array; -} -/** nondeterministic */ -export interface ResponseExceptionAmino { - error?: string; -} -export interface ResponseExceptionAminoMsg { - type: "/tendermint.abci.ResponseException"; - value: ResponseExceptionAmino; -} -/** nondeterministic */ -export interface ResponseExceptionSDKType { - error: string; -} -export interface ResponseEcho { - message: string; -} -export interface ResponseEchoProtoMsg { - typeUrl: "/tendermint.abci.ResponseEcho"; - value: Uint8Array; -} -export interface ResponseEchoAmino { - message?: string; -} -export interface ResponseEchoAminoMsg { - type: "/tendermint.abci.ResponseEcho"; - value: ResponseEchoAmino; -} -export interface ResponseEchoSDKType { - message: string; -} -export interface ResponseFlush { -} -export interface ResponseFlushProtoMsg { - typeUrl: "/tendermint.abci.ResponseFlush"; - value: Uint8Array; -} -export interface ResponseFlushAmino { -} -export interface ResponseFlushAminoMsg { - type: "/tendermint.abci.ResponseFlush"; - value: ResponseFlushAmino; -} -export interface ResponseFlushSDKType { -} -export interface ResponseInfo { - data: string; - version: string; - appVersion: bigint; - lastBlockHeight: bigint; - lastBlockAppHash: Uint8Array; -} -export interface ResponseInfoProtoMsg { - typeUrl: "/tendermint.abci.ResponseInfo"; - value: Uint8Array; -} -export interface ResponseInfoAmino { - data?: string; - version?: string; - app_version?: string; - last_block_height?: string; - last_block_app_hash?: string; -} -export interface ResponseInfoAminoMsg { - type: "/tendermint.abci.ResponseInfo"; - value: ResponseInfoAmino; -} -export interface ResponseInfoSDKType { - data: string; - version: string; - app_version: bigint; - last_block_height: bigint; - last_block_app_hash: Uint8Array; -} -/** nondeterministic */ -export interface ResponseSetOption { - code: number; - /** bytes data = 2; */ - log: string; - info: string; -} -export interface ResponseSetOptionProtoMsg { - typeUrl: "/tendermint.abci.ResponseSetOption"; - value: Uint8Array; -} -/** nondeterministic */ -export interface ResponseSetOptionAmino { - code?: number; - /** bytes data = 2; */ - log?: string; - info?: string; -} -export interface ResponseSetOptionAminoMsg { - type: "/tendermint.abci.ResponseSetOption"; - value: ResponseSetOptionAmino; -} -/** nondeterministic */ -export interface ResponseSetOptionSDKType { - code: number; - log: string; - info: string; -} -export interface ResponseInitChain { - consensusParams?: ConsensusParams | undefined; - validators: ValidatorUpdate[]; - appHash: Uint8Array; -} -export interface ResponseInitChainProtoMsg { - typeUrl: "/tendermint.abci.ResponseInitChain"; - value: Uint8Array; -} -export interface ResponseInitChainAmino { - consensus_params?: ConsensusParamsAmino | undefined; - validators?: ValidatorUpdateAmino[]; - app_hash?: string; -} -export interface ResponseInitChainAminoMsg { - type: "/tendermint.abci.ResponseInitChain"; - value: ResponseInitChainAmino; -} -export interface ResponseInitChainSDKType { - consensus_params?: ConsensusParamsSDKType | undefined; - validators: ValidatorUpdateSDKType[]; - app_hash: Uint8Array; -} -export interface ResponseQuery { - code: number; - /** bytes data = 2; // use "value" instead. */ - log: string; - /** nondeterministic */ - info: string; - index: bigint; - key: Uint8Array; - value: Uint8Array; - proofOps?: ProofOps | undefined; - height: bigint; - codespace: string; -} -export interface ResponseQueryProtoMsg { - typeUrl: "/tendermint.abci.ResponseQuery"; - value: Uint8Array; -} -export interface ResponseQueryAmino { - code?: number; - /** bytes data = 2; // use "value" instead. */ - log?: string; - /** nondeterministic */ - info?: string; - index?: string; - key?: string; - value?: string; - proof_ops?: ProofOpsAmino | undefined; - height?: string; - codespace?: string; -} -export interface ResponseQueryAminoMsg { - type: "/tendermint.abci.ResponseQuery"; - value: ResponseQueryAmino; -} -export interface ResponseQuerySDKType { - code: number; - log: string; - info: string; - index: bigint; - key: Uint8Array; - value: Uint8Array; - proof_ops?: ProofOpsSDKType | undefined; - height: bigint; - codespace: string; -} -export interface ResponseBeginBlock { - events: Event[]; -} -export interface ResponseBeginBlockProtoMsg { - typeUrl: "/tendermint.abci.ResponseBeginBlock"; - value: Uint8Array; -} -export interface ResponseBeginBlockAmino { - events?: EventAmino[]; -} -export interface ResponseBeginBlockAminoMsg { - type: "/tendermint.abci.ResponseBeginBlock"; - value: ResponseBeginBlockAmino; -} -export interface ResponseBeginBlockSDKType { - events: EventSDKType[]; -} -export interface ResponseCheckTx { - code: number; - data: Uint8Array; - /** nondeterministic */ - log: string; - /** nondeterministic */ - info: string; - gasWanted: bigint; - gasUsed: bigint; - events: Event[]; - codespace: string; -} -export interface ResponseCheckTxProtoMsg { - typeUrl: "/tendermint.abci.ResponseCheckTx"; - value: Uint8Array; -} -export interface ResponseCheckTxAmino { - code?: number; - data?: string; - /** nondeterministic */ - log?: string; - /** nondeterministic */ - info?: string; - gas_wanted?: string; - gas_used?: string; - events?: EventAmino[]; - codespace?: string; -} -export interface ResponseCheckTxAminoMsg { - type: "/tendermint.abci.ResponseCheckTx"; - value: ResponseCheckTxAmino; -} -export interface ResponseCheckTxSDKType { - code: number; - data: Uint8Array; - log: string; - info: string; - gas_wanted: bigint; - gas_used: bigint; - events: EventSDKType[]; - codespace: string; -} -export interface ResponseDeliverTx { - code: number; - data: Uint8Array; - /** nondeterministic */ - log: string; - /** nondeterministic */ - info: string; - gasWanted: bigint; - gasUsed: bigint; - events: Event[]; - codespace: string; -} -export interface ResponseDeliverTxProtoMsg { - typeUrl: "/tendermint.abci.ResponseDeliverTx"; - value: Uint8Array; -} -export interface ResponseDeliverTxAmino { - code?: number; - data?: string; - /** nondeterministic */ - log?: string; - /** nondeterministic */ - info?: string; - gas_wanted?: string; - gas_used?: string; - events?: EventAmino[]; - codespace?: string; -} -export interface ResponseDeliverTxAminoMsg { - type: "/tendermint.abci.ResponseDeliverTx"; - value: ResponseDeliverTxAmino; -} -export interface ResponseDeliverTxSDKType { - code: number; - data: Uint8Array; - log: string; - info: string; - gas_wanted: bigint; - gas_used: bigint; - events: EventSDKType[]; - codespace: string; -} -export interface ResponseEndBlock { - validatorUpdates: ValidatorUpdate[]; - consensusParamUpdates?: ConsensusParams | undefined; - events: Event[]; -} -export interface ResponseEndBlockProtoMsg { - typeUrl: "/tendermint.abci.ResponseEndBlock"; - value: Uint8Array; -} -export interface ResponseEndBlockAmino { - validator_updates?: ValidatorUpdateAmino[]; - consensus_param_updates?: ConsensusParamsAmino | undefined; - events?: EventAmino[]; -} -export interface ResponseEndBlockAminoMsg { - type: "/tendermint.abci.ResponseEndBlock"; - value: ResponseEndBlockAmino; -} -export interface ResponseEndBlockSDKType { - validator_updates: ValidatorUpdateSDKType[]; - consensus_param_updates?: ConsensusParamsSDKType | undefined; - events: EventSDKType[]; -} -export interface ResponseCommit { - /** reserve 1 */ - data: Uint8Array; - retainHeight: bigint; -} -export interface ResponseCommitProtoMsg { - typeUrl: "/tendermint.abci.ResponseCommit"; - value: Uint8Array; -} -export interface ResponseCommitAmino { - /** reserve 1 */ - data?: string; - retain_height?: string; -} -export interface ResponseCommitAminoMsg { - type: "/tendermint.abci.ResponseCommit"; - value: ResponseCommitAmino; -} -export interface ResponseCommitSDKType { - data: Uint8Array; - retain_height: bigint; -} -export interface ResponseListSnapshots { - snapshots: Snapshot[]; -} -export interface ResponseListSnapshotsProtoMsg { - typeUrl: "/tendermint.abci.ResponseListSnapshots"; - value: Uint8Array; -} -export interface ResponseListSnapshotsAmino { - snapshots?: SnapshotAmino[]; -} -export interface ResponseListSnapshotsAminoMsg { - type: "/tendermint.abci.ResponseListSnapshots"; - value: ResponseListSnapshotsAmino; -} -export interface ResponseListSnapshotsSDKType { - snapshots: SnapshotSDKType[]; -} -export interface ResponseOfferSnapshot { - result: ResponseOfferSnapshot_Result; -} -export interface ResponseOfferSnapshotProtoMsg { - typeUrl: "/tendermint.abci.ResponseOfferSnapshot"; - value: Uint8Array; -} -export interface ResponseOfferSnapshotAmino { - result?: ResponseOfferSnapshot_Result; -} -export interface ResponseOfferSnapshotAminoMsg { - type: "/tendermint.abci.ResponseOfferSnapshot"; - value: ResponseOfferSnapshotAmino; -} -export interface ResponseOfferSnapshotSDKType { - result: ResponseOfferSnapshot_Result; -} -export interface ResponseLoadSnapshotChunk { - chunk: Uint8Array; -} -export interface ResponseLoadSnapshotChunkProtoMsg { - typeUrl: "/tendermint.abci.ResponseLoadSnapshotChunk"; - value: Uint8Array; -} -export interface ResponseLoadSnapshotChunkAmino { - chunk?: string; -} -export interface ResponseLoadSnapshotChunkAminoMsg { - type: "/tendermint.abci.ResponseLoadSnapshotChunk"; - value: ResponseLoadSnapshotChunkAmino; -} -export interface ResponseLoadSnapshotChunkSDKType { - chunk: Uint8Array; -} -export interface ResponseApplySnapshotChunk { - result: ResponseApplySnapshotChunk_Result; - /** Chunks to refetch and reapply */ - refetchChunks: number[]; - /** Chunk senders to reject and ban */ - rejectSenders: string[]; -} -export interface ResponseApplySnapshotChunkProtoMsg { - typeUrl: "/tendermint.abci.ResponseApplySnapshotChunk"; - value: Uint8Array; -} -export interface ResponseApplySnapshotChunkAmino { - result?: ResponseApplySnapshotChunk_Result; - /** Chunks to refetch and reapply */ - refetch_chunks?: number[]; - /** Chunk senders to reject and ban */ - reject_senders?: string[]; -} -export interface ResponseApplySnapshotChunkAminoMsg { - type: "/tendermint.abci.ResponseApplySnapshotChunk"; - value: ResponseApplySnapshotChunkAmino; -} -export interface ResponseApplySnapshotChunkSDKType { - result: ResponseApplySnapshotChunk_Result; - refetch_chunks: number[]; - reject_senders: string[]; -} -/** - * ConsensusParams contains all consensus-relevant parameters - * that can be adjusted by the abci app - */ -export interface ConsensusParams { - block?: BlockParams | undefined; - evidence?: EvidenceParams | undefined; - validator?: ValidatorParams | undefined; - version?: VersionParams | undefined; -} -export interface ConsensusParamsProtoMsg { - typeUrl: "/tendermint.abci.ConsensusParams"; - value: Uint8Array; -} -/** - * ConsensusParams contains all consensus-relevant parameters - * that can be adjusted by the abci app - */ -export interface ConsensusParamsAmino { - block?: BlockParamsAmino | undefined; - evidence?: EvidenceParamsAmino | undefined; - validator?: ValidatorParamsAmino | undefined; - version?: VersionParamsAmino | undefined; -} -export interface ConsensusParamsAminoMsg { - type: "/tendermint.abci.ConsensusParams"; - value: ConsensusParamsAmino; -} -/** - * ConsensusParams contains all consensus-relevant parameters - * that can be adjusted by the abci app - */ -export interface ConsensusParamsSDKType { - block?: BlockParamsSDKType | undefined; - evidence?: EvidenceParamsSDKType | undefined; - validator?: ValidatorParamsSDKType | undefined; - version?: VersionParamsSDKType | undefined; -} -/** BlockParams contains limits on the block size. */ -export interface BlockParams { - /** Note: must be greater than 0 */ - maxBytes: bigint; - /** Note: must be greater or equal to -1 */ - maxGas: bigint; -} -export interface BlockParamsProtoMsg { - typeUrl: "/tendermint.abci.BlockParams"; - value: Uint8Array; -} -/** BlockParams contains limits on the block size. */ -export interface BlockParamsAmino { - /** Note: must be greater than 0 */ - max_bytes?: string; - /** Note: must be greater or equal to -1 */ - max_gas?: string; -} -export interface BlockParamsAminoMsg { - type: "/tendermint.abci.BlockParams"; - value: BlockParamsAmino; -} -/** BlockParams contains limits on the block size. */ -export interface BlockParamsSDKType { - max_bytes: bigint; - max_gas: bigint; -} -export interface LastCommitInfo { - round: number; - votes: VoteInfo[]; -} -export interface LastCommitInfoProtoMsg { - typeUrl: "/tendermint.abci.LastCommitInfo"; - value: Uint8Array; -} -export interface LastCommitInfoAmino { - round?: number; - votes?: VoteInfoAmino[]; -} -export interface LastCommitInfoAminoMsg { - type: "/tendermint.abci.LastCommitInfo"; - value: LastCommitInfoAmino; -} -export interface LastCommitInfoSDKType { - round: number; - votes: VoteInfoSDKType[]; -} -/** - * Event allows application developers to attach additional information to - * ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. - * Later, transactions may be queried using these events. - */ -export interface Event { - type: string; - attributes: EventAttribute[]; -} -export interface EventProtoMsg { - typeUrl: "/tendermint.abci.Event"; - value: Uint8Array; -} -/** - * Event allows application developers to attach additional information to - * ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. - * Later, transactions may be queried using these events. - */ -export interface EventAmino { - type?: string; - attributes?: EventAttributeAmino[]; -} -export interface EventAminoMsg { - type: "/tendermint.abci.Event"; - value: EventAmino; -} -/** - * Event allows application developers to attach additional information to - * ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. - * Later, transactions may be queried using these events. - */ -export interface EventSDKType { - type: string; - attributes: EventAttributeSDKType[]; -} -/** EventAttribute is a single key-value pair, associated with an event. */ -export interface EventAttribute { - key: Uint8Array; - value: Uint8Array; - /** nondeterministic */ - index: boolean; -} -export interface EventAttributeProtoMsg { - typeUrl: "/tendermint.abci.EventAttribute"; - value: Uint8Array; -} -/** EventAttribute is a single key-value pair, associated with an event. */ -export interface EventAttributeAmino { - key?: string; - value?: string; - /** nondeterministic */ - index?: boolean; -} -export interface EventAttributeAminoMsg { - type: "/tendermint.abci.EventAttribute"; - value: EventAttributeAmino; -} -/** EventAttribute is a single key-value pair, associated with an event. */ -export interface EventAttributeSDKType { - key: Uint8Array; - value: Uint8Array; - index: boolean; -} -/** - * TxResult contains results of executing the transaction. - * - * One usage is indexing transaction results. - */ -export interface TxResult { - height: bigint; - index: number; - tx: Uint8Array; - result: ResponseDeliverTx | undefined; -} -export interface TxResultProtoMsg { - typeUrl: "/tendermint.abci.TxResult"; - value: Uint8Array; -} -/** - * TxResult contains results of executing the transaction. - * - * One usage is indexing transaction results. - */ -export interface TxResultAmino { - height?: string; - index?: number; - tx?: string; - result?: ResponseDeliverTxAmino | undefined; -} -export interface TxResultAminoMsg { - type: "/tendermint.abci.TxResult"; - value: TxResultAmino; -} -/** - * TxResult contains results of executing the transaction. - * - * One usage is indexing transaction results. - */ -export interface TxResultSDKType { - height: bigint; - index: number; - tx: Uint8Array; - result: ResponseDeliverTxSDKType | undefined; -} -/** Validator */ -export interface Validator { - /** - * The first 20 bytes of SHA256(public key) - * PubKey pub_key = 2 [(gogoproto.nullable)=false]; - */ - address: Uint8Array; - /** The voting power */ - power: bigint; -} -export interface ValidatorProtoMsg { - typeUrl: "/tendermint.abci.Validator"; - value: Uint8Array; -} -/** Validator */ -export interface ValidatorAmino { - /** - * The first 20 bytes of SHA256(public key) - * PubKey pub_key = 2 [(gogoproto.nullable)=false]; - */ - address?: string; - /** The voting power */ - power?: string; -} -export interface ValidatorAminoMsg { - type: "/tendermint.abci.Validator"; - value: ValidatorAmino; -} -/** Validator */ -export interface ValidatorSDKType { - address: Uint8Array; - power: bigint; -} -/** ValidatorUpdate */ -export interface ValidatorUpdate { - pubKey: PublicKey | undefined; - power: bigint; -} -export interface ValidatorUpdateProtoMsg { - typeUrl: "/tendermint.abci.ValidatorUpdate"; - value: Uint8Array; -} -/** ValidatorUpdate */ -export interface ValidatorUpdateAmino { - pub_key?: PublicKeyAmino | undefined; - power?: string; -} -export interface ValidatorUpdateAminoMsg { - type: "/tendermint.abci.ValidatorUpdate"; - value: ValidatorUpdateAmino; -} -/** ValidatorUpdate */ -export interface ValidatorUpdateSDKType { - pub_key: PublicKeySDKType | undefined; - power: bigint; -} -/** VoteInfo */ -export interface VoteInfo { - validator: Validator | undefined; - signedLastBlock: boolean; -} -export interface VoteInfoProtoMsg { - typeUrl: "/tendermint.abci.VoteInfo"; - value: Uint8Array; -} -/** VoteInfo */ -export interface VoteInfoAmino { - validator?: ValidatorAmino | undefined; - signed_last_block?: boolean; -} -export interface VoteInfoAminoMsg { - type: "/tendermint.abci.VoteInfo"; - value: VoteInfoAmino; -} -/** VoteInfo */ -export interface VoteInfoSDKType { - validator: ValidatorSDKType | undefined; - signed_last_block: boolean; -} -export interface Evidence { - type: EvidenceType; - /** The offending validator */ - validator: Validator | undefined; - /** The height when the offense occurred */ - height: bigint; - /** The corresponding time where the offense occurred */ - time: Date | undefined; - /** - * Total voting power of the validator set in case the ABCI application does - * not store historical validators. - * https://github.com/tendermint/tendermint/issues/4581 - */ - totalVotingPower: bigint; -} -export interface EvidenceProtoMsg { - typeUrl: "/tendermint.abci.Evidence"; - value: Uint8Array; -} -export interface EvidenceAmino { - type?: EvidenceType; - /** The offending validator */ - validator?: ValidatorAmino | undefined; - /** The height when the offense occurred */ - height?: string; - /** The corresponding time where the offense occurred */ - time?: string | undefined; - /** - * Total voting power of the validator set in case the ABCI application does - * not store historical validators. - * https://github.com/tendermint/tendermint/issues/4581 - */ - total_voting_power?: string; -} -export interface EvidenceAminoMsg { - type: "/tendermint.abci.Evidence"; - value: EvidenceAmino; -} -export interface EvidenceSDKType { - type: EvidenceType; - validator: ValidatorSDKType | undefined; - height: bigint; - time: Date | undefined; - total_voting_power: bigint; -} -export interface Snapshot { - /** The height at which the snapshot was taken */ - height: bigint; - /** The application-specific snapshot format */ - format: number; - /** Number of chunks in the snapshot */ - chunks: number; - /** Arbitrary snapshot hash, equal only if identical */ - hash: Uint8Array; - /** Arbitrary application metadata */ - metadata: Uint8Array; -} -export interface SnapshotProtoMsg { - typeUrl: "/tendermint.abci.Snapshot"; - value: Uint8Array; -} -export interface SnapshotAmino { - /** The height at which the snapshot was taken */ - height?: string; - /** The application-specific snapshot format */ - format?: number; - /** Number of chunks in the snapshot */ - chunks?: number; - /** Arbitrary snapshot hash, equal only if identical */ - hash?: string; - /** Arbitrary application metadata */ - metadata?: string; -} -export interface SnapshotAminoMsg { - type: "/tendermint.abci.Snapshot"; - value: SnapshotAmino; -} -export interface SnapshotSDKType { - height: bigint; - format: number; - chunks: number; - hash: Uint8Array; - metadata: Uint8Array; -} -export declare const Request: { - typeUrl: string; - is(o: any): o is Request; - isSDK(o: any): o is RequestSDKType; - isAmino(o: any): o is RequestAmino; - encode(message: Request, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Request; - fromJSON(object: any): Request; - toJSON(message: Request): unknown; - fromPartial(object: DeepPartial): Request; - fromSDK(object: RequestSDKType): Request; - toSDK(message: Request): RequestSDKType; - fromAmino(object: RequestAmino): Request; - toAmino(message: Request): RequestAmino; - fromAminoMsg(object: RequestAminoMsg): Request; - fromProtoMsg(message: RequestProtoMsg): Request; - toProto(message: Request): Uint8Array; - toProtoMsg(message: Request): RequestProtoMsg; -}; -export declare const RequestEcho: { - typeUrl: string; - is(o: any): o is RequestEcho; - isSDK(o: any): o is RequestEchoSDKType; - isAmino(o: any): o is RequestEchoAmino; - encode(message: RequestEcho, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RequestEcho; - fromJSON(object: any): RequestEcho; - toJSON(message: RequestEcho): unknown; - fromPartial(object: DeepPartial): RequestEcho; - fromSDK(object: RequestEchoSDKType): RequestEcho; - toSDK(message: RequestEcho): RequestEchoSDKType; - fromAmino(object: RequestEchoAmino): RequestEcho; - toAmino(message: RequestEcho): RequestEchoAmino; - fromAminoMsg(object: RequestEchoAminoMsg): RequestEcho; - fromProtoMsg(message: RequestEchoProtoMsg): RequestEcho; - toProto(message: RequestEcho): Uint8Array; - toProtoMsg(message: RequestEcho): RequestEchoProtoMsg; -}; -export declare const RequestFlush: { - typeUrl: string; - is(o: any): o is RequestFlush; - isSDK(o: any): o is RequestFlushSDKType; - isAmino(o: any): o is RequestFlushAmino; - encode(_: RequestFlush, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RequestFlush; - fromJSON(_: any): RequestFlush; - toJSON(_: RequestFlush): unknown; - fromPartial(_: DeepPartial): RequestFlush; - fromSDK(_: RequestFlushSDKType): RequestFlush; - toSDK(_: RequestFlush): RequestFlushSDKType; - fromAmino(_: RequestFlushAmino): RequestFlush; - toAmino(_: RequestFlush): RequestFlushAmino; - fromAminoMsg(object: RequestFlushAminoMsg): RequestFlush; - fromProtoMsg(message: RequestFlushProtoMsg): RequestFlush; - toProto(message: RequestFlush): Uint8Array; - toProtoMsg(message: RequestFlush): RequestFlushProtoMsg; -}; -export declare const RequestInfo: { - typeUrl: string; - is(o: any): o is RequestInfo; - isSDK(o: any): o is RequestInfoSDKType; - isAmino(o: any): o is RequestInfoAmino; - encode(message: RequestInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RequestInfo; - fromJSON(object: any): RequestInfo; - toJSON(message: RequestInfo): unknown; - fromPartial(object: DeepPartial): RequestInfo; - fromSDK(object: RequestInfoSDKType): RequestInfo; - toSDK(message: RequestInfo): RequestInfoSDKType; - fromAmino(object: RequestInfoAmino): RequestInfo; - toAmino(message: RequestInfo): RequestInfoAmino; - fromAminoMsg(object: RequestInfoAminoMsg): RequestInfo; - fromProtoMsg(message: RequestInfoProtoMsg): RequestInfo; - toProto(message: RequestInfo): Uint8Array; - toProtoMsg(message: RequestInfo): RequestInfoProtoMsg; -}; -export declare const RequestSetOption: { - typeUrl: string; - is(o: any): o is RequestSetOption; - isSDK(o: any): o is RequestSetOptionSDKType; - isAmino(o: any): o is RequestSetOptionAmino; - encode(message: RequestSetOption, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RequestSetOption; - fromJSON(object: any): RequestSetOption; - toJSON(message: RequestSetOption): unknown; - fromPartial(object: DeepPartial): RequestSetOption; - fromSDK(object: RequestSetOptionSDKType): RequestSetOption; - toSDK(message: RequestSetOption): RequestSetOptionSDKType; - fromAmino(object: RequestSetOptionAmino): RequestSetOption; - toAmino(message: RequestSetOption): RequestSetOptionAmino; - fromAminoMsg(object: RequestSetOptionAminoMsg): RequestSetOption; - fromProtoMsg(message: RequestSetOptionProtoMsg): RequestSetOption; - toProto(message: RequestSetOption): Uint8Array; - toProtoMsg(message: RequestSetOption): RequestSetOptionProtoMsg; -}; -export declare const RequestInitChain: { - typeUrl: string; - is(o: any): o is RequestInitChain; - isSDK(o: any): o is RequestInitChainSDKType; - isAmino(o: any): o is RequestInitChainAmino; - encode(message: RequestInitChain, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RequestInitChain; - fromJSON(object: any): RequestInitChain; - toJSON(message: RequestInitChain): unknown; - fromPartial(object: DeepPartial): RequestInitChain; - fromSDK(object: RequestInitChainSDKType): RequestInitChain; - toSDK(message: RequestInitChain): RequestInitChainSDKType; - fromAmino(object: RequestInitChainAmino): RequestInitChain; - toAmino(message: RequestInitChain): RequestInitChainAmino; - fromAminoMsg(object: RequestInitChainAminoMsg): RequestInitChain; - fromProtoMsg(message: RequestInitChainProtoMsg): RequestInitChain; - toProto(message: RequestInitChain): Uint8Array; - toProtoMsg(message: RequestInitChain): RequestInitChainProtoMsg; -}; -export declare const RequestQuery: { - typeUrl: string; - is(o: any): o is RequestQuery; - isSDK(o: any): o is RequestQuerySDKType; - isAmino(o: any): o is RequestQueryAmino; - encode(message: RequestQuery, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RequestQuery; - fromJSON(object: any): RequestQuery; - toJSON(message: RequestQuery): unknown; - fromPartial(object: DeepPartial): RequestQuery; - fromSDK(object: RequestQuerySDKType): RequestQuery; - toSDK(message: RequestQuery): RequestQuerySDKType; - fromAmino(object: RequestQueryAmino): RequestQuery; - toAmino(message: RequestQuery): RequestQueryAmino; - fromAminoMsg(object: RequestQueryAminoMsg): RequestQuery; - fromProtoMsg(message: RequestQueryProtoMsg): RequestQuery; - toProto(message: RequestQuery): Uint8Array; - toProtoMsg(message: RequestQuery): RequestQueryProtoMsg; -}; -export declare const RequestBeginBlock: { - typeUrl: string; - is(o: any): o is RequestBeginBlock; - isSDK(o: any): o is RequestBeginBlockSDKType; - isAmino(o: any): o is RequestBeginBlockAmino; - encode(message: RequestBeginBlock, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RequestBeginBlock; - fromJSON(object: any): RequestBeginBlock; - toJSON(message: RequestBeginBlock): unknown; - fromPartial(object: DeepPartial): RequestBeginBlock; - fromSDK(object: RequestBeginBlockSDKType): RequestBeginBlock; - toSDK(message: RequestBeginBlock): RequestBeginBlockSDKType; - fromAmino(object: RequestBeginBlockAmino): RequestBeginBlock; - toAmino(message: RequestBeginBlock): RequestBeginBlockAmino; - fromAminoMsg(object: RequestBeginBlockAminoMsg): RequestBeginBlock; - fromProtoMsg(message: RequestBeginBlockProtoMsg): RequestBeginBlock; - toProto(message: RequestBeginBlock): Uint8Array; - toProtoMsg(message: RequestBeginBlock): RequestBeginBlockProtoMsg; -}; -export declare const RequestCheckTx: { - typeUrl: string; - is(o: any): o is RequestCheckTx; - isSDK(o: any): o is RequestCheckTxSDKType; - isAmino(o: any): o is RequestCheckTxAmino; - encode(message: RequestCheckTx, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RequestCheckTx; - fromJSON(object: any): RequestCheckTx; - toJSON(message: RequestCheckTx): unknown; - fromPartial(object: DeepPartial): RequestCheckTx; - fromSDK(object: RequestCheckTxSDKType): RequestCheckTx; - toSDK(message: RequestCheckTx): RequestCheckTxSDKType; - fromAmino(object: RequestCheckTxAmino): RequestCheckTx; - toAmino(message: RequestCheckTx): RequestCheckTxAmino; - fromAminoMsg(object: RequestCheckTxAminoMsg): RequestCheckTx; - fromProtoMsg(message: RequestCheckTxProtoMsg): RequestCheckTx; - toProto(message: RequestCheckTx): Uint8Array; - toProtoMsg(message: RequestCheckTx): RequestCheckTxProtoMsg; -}; -export declare const RequestDeliverTx: { - typeUrl: string; - is(o: any): o is RequestDeliverTx; - isSDK(o: any): o is RequestDeliverTxSDKType; - isAmino(o: any): o is RequestDeliverTxAmino; - encode(message: RequestDeliverTx, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RequestDeliverTx; - fromJSON(object: any): RequestDeliverTx; - toJSON(message: RequestDeliverTx): unknown; - fromPartial(object: DeepPartial): RequestDeliverTx; - fromSDK(object: RequestDeliverTxSDKType): RequestDeliverTx; - toSDK(message: RequestDeliverTx): RequestDeliverTxSDKType; - fromAmino(object: RequestDeliverTxAmino): RequestDeliverTx; - toAmino(message: RequestDeliverTx): RequestDeliverTxAmino; - fromAminoMsg(object: RequestDeliverTxAminoMsg): RequestDeliverTx; - fromProtoMsg(message: RequestDeliverTxProtoMsg): RequestDeliverTx; - toProto(message: RequestDeliverTx): Uint8Array; - toProtoMsg(message: RequestDeliverTx): RequestDeliverTxProtoMsg; -}; -export declare const RequestEndBlock: { - typeUrl: string; - is(o: any): o is RequestEndBlock; - isSDK(o: any): o is RequestEndBlockSDKType; - isAmino(o: any): o is RequestEndBlockAmino; - encode(message: RequestEndBlock, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RequestEndBlock; - fromJSON(object: any): RequestEndBlock; - toJSON(message: RequestEndBlock): unknown; - fromPartial(object: DeepPartial): RequestEndBlock; - fromSDK(object: RequestEndBlockSDKType): RequestEndBlock; - toSDK(message: RequestEndBlock): RequestEndBlockSDKType; - fromAmino(object: RequestEndBlockAmino): RequestEndBlock; - toAmino(message: RequestEndBlock): RequestEndBlockAmino; - fromAminoMsg(object: RequestEndBlockAminoMsg): RequestEndBlock; - fromProtoMsg(message: RequestEndBlockProtoMsg): RequestEndBlock; - toProto(message: RequestEndBlock): Uint8Array; - toProtoMsg(message: RequestEndBlock): RequestEndBlockProtoMsg; -}; -export declare const RequestCommit: { - typeUrl: string; - is(o: any): o is RequestCommit; - isSDK(o: any): o is RequestCommitSDKType; - isAmino(o: any): o is RequestCommitAmino; - encode(_: RequestCommit, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RequestCommit; - fromJSON(_: any): RequestCommit; - toJSON(_: RequestCommit): unknown; - fromPartial(_: DeepPartial): RequestCommit; - fromSDK(_: RequestCommitSDKType): RequestCommit; - toSDK(_: RequestCommit): RequestCommitSDKType; - fromAmino(_: RequestCommitAmino): RequestCommit; - toAmino(_: RequestCommit): RequestCommitAmino; - fromAminoMsg(object: RequestCommitAminoMsg): RequestCommit; - fromProtoMsg(message: RequestCommitProtoMsg): RequestCommit; - toProto(message: RequestCommit): Uint8Array; - toProtoMsg(message: RequestCommit): RequestCommitProtoMsg; -}; -export declare const RequestListSnapshots: { - typeUrl: string; - is(o: any): o is RequestListSnapshots; - isSDK(o: any): o is RequestListSnapshotsSDKType; - isAmino(o: any): o is RequestListSnapshotsAmino; - encode(_: RequestListSnapshots, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RequestListSnapshots; - fromJSON(_: any): RequestListSnapshots; - toJSON(_: RequestListSnapshots): unknown; - fromPartial(_: DeepPartial): RequestListSnapshots; - fromSDK(_: RequestListSnapshotsSDKType): RequestListSnapshots; - toSDK(_: RequestListSnapshots): RequestListSnapshotsSDKType; - fromAmino(_: RequestListSnapshotsAmino): RequestListSnapshots; - toAmino(_: RequestListSnapshots): RequestListSnapshotsAmino; - fromAminoMsg(object: RequestListSnapshotsAminoMsg): RequestListSnapshots; - fromProtoMsg(message: RequestListSnapshotsProtoMsg): RequestListSnapshots; - toProto(message: RequestListSnapshots): Uint8Array; - toProtoMsg(message: RequestListSnapshots): RequestListSnapshotsProtoMsg; -}; -export declare const RequestOfferSnapshot: { - typeUrl: string; - is(o: any): o is RequestOfferSnapshot; - isSDK(o: any): o is RequestOfferSnapshotSDKType; - isAmino(o: any): o is RequestOfferSnapshotAmino; - encode(message: RequestOfferSnapshot, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RequestOfferSnapshot; - fromJSON(object: any): RequestOfferSnapshot; - toJSON(message: RequestOfferSnapshot): unknown; - fromPartial(object: DeepPartial): RequestOfferSnapshot; - fromSDK(object: RequestOfferSnapshotSDKType): RequestOfferSnapshot; - toSDK(message: RequestOfferSnapshot): RequestOfferSnapshotSDKType; - fromAmino(object: RequestOfferSnapshotAmino): RequestOfferSnapshot; - toAmino(message: RequestOfferSnapshot): RequestOfferSnapshotAmino; - fromAminoMsg(object: RequestOfferSnapshotAminoMsg): RequestOfferSnapshot; - fromProtoMsg(message: RequestOfferSnapshotProtoMsg): RequestOfferSnapshot; - toProto(message: RequestOfferSnapshot): Uint8Array; - toProtoMsg(message: RequestOfferSnapshot): RequestOfferSnapshotProtoMsg; -}; -export declare const RequestLoadSnapshotChunk: { - typeUrl: string; - is(o: any): o is RequestLoadSnapshotChunk; - isSDK(o: any): o is RequestLoadSnapshotChunkSDKType; - isAmino(o: any): o is RequestLoadSnapshotChunkAmino; - encode(message: RequestLoadSnapshotChunk, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RequestLoadSnapshotChunk; - fromJSON(object: any): RequestLoadSnapshotChunk; - toJSON(message: RequestLoadSnapshotChunk): unknown; - fromPartial(object: DeepPartial): RequestLoadSnapshotChunk; - fromSDK(object: RequestLoadSnapshotChunkSDKType): RequestLoadSnapshotChunk; - toSDK(message: RequestLoadSnapshotChunk): RequestLoadSnapshotChunkSDKType; - fromAmino(object: RequestLoadSnapshotChunkAmino): RequestLoadSnapshotChunk; - toAmino(message: RequestLoadSnapshotChunk): RequestLoadSnapshotChunkAmino; - fromAminoMsg(object: RequestLoadSnapshotChunkAminoMsg): RequestLoadSnapshotChunk; - fromProtoMsg(message: RequestLoadSnapshotChunkProtoMsg): RequestLoadSnapshotChunk; - toProto(message: RequestLoadSnapshotChunk): Uint8Array; - toProtoMsg(message: RequestLoadSnapshotChunk): RequestLoadSnapshotChunkProtoMsg; -}; -export declare const RequestApplySnapshotChunk: { - typeUrl: string; - is(o: any): o is RequestApplySnapshotChunk; - isSDK(o: any): o is RequestApplySnapshotChunkSDKType; - isAmino(o: any): o is RequestApplySnapshotChunkAmino; - encode(message: RequestApplySnapshotChunk, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): RequestApplySnapshotChunk; - fromJSON(object: any): RequestApplySnapshotChunk; - toJSON(message: RequestApplySnapshotChunk): unknown; - fromPartial(object: DeepPartial): RequestApplySnapshotChunk; - fromSDK(object: RequestApplySnapshotChunkSDKType): RequestApplySnapshotChunk; - toSDK(message: RequestApplySnapshotChunk): RequestApplySnapshotChunkSDKType; - fromAmino(object: RequestApplySnapshotChunkAmino): RequestApplySnapshotChunk; - toAmino(message: RequestApplySnapshotChunk): RequestApplySnapshotChunkAmino; - fromAminoMsg(object: RequestApplySnapshotChunkAminoMsg): RequestApplySnapshotChunk; - fromProtoMsg(message: RequestApplySnapshotChunkProtoMsg): RequestApplySnapshotChunk; - toProto(message: RequestApplySnapshotChunk): Uint8Array; - toProtoMsg(message: RequestApplySnapshotChunk): RequestApplySnapshotChunkProtoMsg; -}; -export declare const Response: { - typeUrl: string; - is(o: any): o is Response; - isSDK(o: any): o is ResponseSDKType; - isAmino(o: any): o is ResponseAmino; - encode(message: Response, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Response; - fromJSON(object: any): Response; - toJSON(message: Response): unknown; - fromPartial(object: DeepPartial): Response; - fromSDK(object: ResponseSDKType): Response; - toSDK(message: Response): ResponseSDKType; - fromAmino(object: ResponseAmino): Response; - toAmino(message: Response): ResponseAmino; - fromAminoMsg(object: ResponseAminoMsg): Response; - fromProtoMsg(message: ResponseProtoMsg): Response; - toProto(message: Response): Uint8Array; - toProtoMsg(message: Response): ResponseProtoMsg; -}; -export declare const ResponseException: { - typeUrl: string; - is(o: any): o is ResponseException; - isSDK(o: any): o is ResponseExceptionSDKType; - isAmino(o: any): o is ResponseExceptionAmino; - encode(message: ResponseException, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseException; - fromJSON(object: any): ResponseException; - toJSON(message: ResponseException): unknown; - fromPartial(object: DeepPartial): ResponseException; - fromSDK(object: ResponseExceptionSDKType): ResponseException; - toSDK(message: ResponseException): ResponseExceptionSDKType; - fromAmino(object: ResponseExceptionAmino): ResponseException; - toAmino(message: ResponseException): ResponseExceptionAmino; - fromAminoMsg(object: ResponseExceptionAminoMsg): ResponseException; - fromProtoMsg(message: ResponseExceptionProtoMsg): ResponseException; - toProto(message: ResponseException): Uint8Array; - toProtoMsg(message: ResponseException): ResponseExceptionProtoMsg; -}; -export declare const ResponseEcho: { - typeUrl: string; - is(o: any): o is ResponseEcho; - isSDK(o: any): o is ResponseEchoSDKType; - isAmino(o: any): o is ResponseEchoAmino; - encode(message: ResponseEcho, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseEcho; - fromJSON(object: any): ResponseEcho; - toJSON(message: ResponseEcho): unknown; - fromPartial(object: DeepPartial): ResponseEcho; - fromSDK(object: ResponseEchoSDKType): ResponseEcho; - toSDK(message: ResponseEcho): ResponseEchoSDKType; - fromAmino(object: ResponseEchoAmino): ResponseEcho; - toAmino(message: ResponseEcho): ResponseEchoAmino; - fromAminoMsg(object: ResponseEchoAminoMsg): ResponseEcho; - fromProtoMsg(message: ResponseEchoProtoMsg): ResponseEcho; - toProto(message: ResponseEcho): Uint8Array; - toProtoMsg(message: ResponseEcho): ResponseEchoProtoMsg; -}; -export declare const ResponseFlush: { - typeUrl: string; - is(o: any): o is ResponseFlush; - isSDK(o: any): o is ResponseFlushSDKType; - isAmino(o: any): o is ResponseFlushAmino; - encode(_: ResponseFlush, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseFlush; - fromJSON(_: any): ResponseFlush; - toJSON(_: ResponseFlush): unknown; - fromPartial(_: DeepPartial): ResponseFlush; - fromSDK(_: ResponseFlushSDKType): ResponseFlush; - toSDK(_: ResponseFlush): ResponseFlushSDKType; - fromAmino(_: ResponseFlushAmino): ResponseFlush; - toAmino(_: ResponseFlush): ResponseFlushAmino; - fromAminoMsg(object: ResponseFlushAminoMsg): ResponseFlush; - fromProtoMsg(message: ResponseFlushProtoMsg): ResponseFlush; - toProto(message: ResponseFlush): Uint8Array; - toProtoMsg(message: ResponseFlush): ResponseFlushProtoMsg; -}; -export declare const ResponseInfo: { - typeUrl: string; - is(o: any): o is ResponseInfo; - isSDK(o: any): o is ResponseInfoSDKType; - isAmino(o: any): o is ResponseInfoAmino; - encode(message: ResponseInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseInfo; - fromJSON(object: any): ResponseInfo; - toJSON(message: ResponseInfo): unknown; - fromPartial(object: DeepPartial): ResponseInfo; - fromSDK(object: ResponseInfoSDKType): ResponseInfo; - toSDK(message: ResponseInfo): ResponseInfoSDKType; - fromAmino(object: ResponseInfoAmino): ResponseInfo; - toAmino(message: ResponseInfo): ResponseInfoAmino; - fromAminoMsg(object: ResponseInfoAminoMsg): ResponseInfo; - fromProtoMsg(message: ResponseInfoProtoMsg): ResponseInfo; - toProto(message: ResponseInfo): Uint8Array; - toProtoMsg(message: ResponseInfo): ResponseInfoProtoMsg; -}; -export declare const ResponseSetOption: { - typeUrl: string; - is(o: any): o is ResponseSetOption; - isSDK(o: any): o is ResponseSetOptionSDKType; - isAmino(o: any): o is ResponseSetOptionAmino; - encode(message: ResponseSetOption, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseSetOption; - fromJSON(object: any): ResponseSetOption; - toJSON(message: ResponseSetOption): unknown; - fromPartial(object: DeepPartial): ResponseSetOption; - fromSDK(object: ResponseSetOptionSDKType): ResponseSetOption; - toSDK(message: ResponseSetOption): ResponseSetOptionSDKType; - fromAmino(object: ResponseSetOptionAmino): ResponseSetOption; - toAmino(message: ResponseSetOption): ResponseSetOptionAmino; - fromAminoMsg(object: ResponseSetOptionAminoMsg): ResponseSetOption; - fromProtoMsg(message: ResponseSetOptionProtoMsg): ResponseSetOption; - toProto(message: ResponseSetOption): Uint8Array; - toProtoMsg(message: ResponseSetOption): ResponseSetOptionProtoMsg; -}; -export declare const ResponseInitChain: { - typeUrl: string; - is(o: any): o is ResponseInitChain; - isSDK(o: any): o is ResponseInitChainSDKType; - isAmino(o: any): o is ResponseInitChainAmino; - encode(message: ResponseInitChain, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseInitChain; - fromJSON(object: any): ResponseInitChain; - toJSON(message: ResponseInitChain): unknown; - fromPartial(object: DeepPartial): ResponseInitChain; - fromSDK(object: ResponseInitChainSDKType): ResponseInitChain; - toSDK(message: ResponseInitChain): ResponseInitChainSDKType; - fromAmino(object: ResponseInitChainAmino): ResponseInitChain; - toAmino(message: ResponseInitChain): ResponseInitChainAmino; - fromAminoMsg(object: ResponseInitChainAminoMsg): ResponseInitChain; - fromProtoMsg(message: ResponseInitChainProtoMsg): ResponseInitChain; - toProto(message: ResponseInitChain): Uint8Array; - toProtoMsg(message: ResponseInitChain): ResponseInitChainProtoMsg; -}; -export declare const ResponseQuery: { - typeUrl: string; - is(o: any): o is ResponseQuery; - isSDK(o: any): o is ResponseQuerySDKType; - isAmino(o: any): o is ResponseQueryAmino; - encode(message: ResponseQuery, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseQuery; - fromJSON(object: any): ResponseQuery; - toJSON(message: ResponseQuery): unknown; - fromPartial(object: DeepPartial): ResponseQuery; - fromSDK(object: ResponseQuerySDKType): ResponseQuery; - toSDK(message: ResponseQuery): ResponseQuerySDKType; - fromAmino(object: ResponseQueryAmino): ResponseQuery; - toAmino(message: ResponseQuery): ResponseQueryAmino; - fromAminoMsg(object: ResponseQueryAminoMsg): ResponseQuery; - fromProtoMsg(message: ResponseQueryProtoMsg): ResponseQuery; - toProto(message: ResponseQuery): Uint8Array; - toProtoMsg(message: ResponseQuery): ResponseQueryProtoMsg; -}; -export declare const ResponseBeginBlock: { - typeUrl: string; - is(o: any): o is ResponseBeginBlock; - isSDK(o: any): o is ResponseBeginBlockSDKType; - isAmino(o: any): o is ResponseBeginBlockAmino; - encode(message: ResponseBeginBlock, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseBeginBlock; - fromJSON(object: any): ResponseBeginBlock; - toJSON(message: ResponseBeginBlock): unknown; - fromPartial(object: DeepPartial): ResponseBeginBlock; - fromSDK(object: ResponseBeginBlockSDKType): ResponseBeginBlock; - toSDK(message: ResponseBeginBlock): ResponseBeginBlockSDKType; - fromAmino(object: ResponseBeginBlockAmino): ResponseBeginBlock; - toAmino(message: ResponseBeginBlock): ResponseBeginBlockAmino; - fromAminoMsg(object: ResponseBeginBlockAminoMsg): ResponseBeginBlock; - fromProtoMsg(message: ResponseBeginBlockProtoMsg): ResponseBeginBlock; - toProto(message: ResponseBeginBlock): Uint8Array; - toProtoMsg(message: ResponseBeginBlock): ResponseBeginBlockProtoMsg; -}; -export declare const ResponseCheckTx: { - typeUrl: string; - is(o: any): o is ResponseCheckTx; - isSDK(o: any): o is ResponseCheckTxSDKType; - isAmino(o: any): o is ResponseCheckTxAmino; - encode(message: ResponseCheckTx, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseCheckTx; - fromJSON(object: any): ResponseCheckTx; - toJSON(message: ResponseCheckTx): unknown; - fromPartial(object: DeepPartial): ResponseCheckTx; - fromSDK(object: ResponseCheckTxSDKType): ResponseCheckTx; - toSDK(message: ResponseCheckTx): ResponseCheckTxSDKType; - fromAmino(object: ResponseCheckTxAmino): ResponseCheckTx; - toAmino(message: ResponseCheckTx): ResponseCheckTxAmino; - fromAminoMsg(object: ResponseCheckTxAminoMsg): ResponseCheckTx; - fromProtoMsg(message: ResponseCheckTxProtoMsg): ResponseCheckTx; - toProto(message: ResponseCheckTx): Uint8Array; - toProtoMsg(message: ResponseCheckTx): ResponseCheckTxProtoMsg; -}; -export declare const ResponseDeliverTx: { - typeUrl: string; - is(o: any): o is ResponseDeliverTx; - isSDK(o: any): o is ResponseDeliverTxSDKType; - isAmino(o: any): o is ResponseDeliverTxAmino; - encode(message: ResponseDeliverTx, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseDeliverTx; - fromJSON(object: any): ResponseDeliverTx; - toJSON(message: ResponseDeliverTx): unknown; - fromPartial(object: DeepPartial): ResponseDeliverTx; - fromSDK(object: ResponseDeliverTxSDKType): ResponseDeliverTx; - toSDK(message: ResponseDeliverTx): ResponseDeliverTxSDKType; - fromAmino(object: ResponseDeliverTxAmino): ResponseDeliverTx; - toAmino(message: ResponseDeliverTx): ResponseDeliverTxAmino; - fromAminoMsg(object: ResponseDeliverTxAminoMsg): ResponseDeliverTx; - fromProtoMsg(message: ResponseDeliverTxProtoMsg): ResponseDeliverTx; - toProto(message: ResponseDeliverTx): Uint8Array; - toProtoMsg(message: ResponseDeliverTx): ResponseDeliverTxProtoMsg; -}; -export declare const ResponseEndBlock: { - typeUrl: string; - is(o: any): o is ResponseEndBlock; - isSDK(o: any): o is ResponseEndBlockSDKType; - isAmino(o: any): o is ResponseEndBlockAmino; - encode(message: ResponseEndBlock, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseEndBlock; - fromJSON(object: any): ResponseEndBlock; - toJSON(message: ResponseEndBlock): unknown; - fromPartial(object: DeepPartial): ResponseEndBlock; - fromSDK(object: ResponseEndBlockSDKType): ResponseEndBlock; - toSDK(message: ResponseEndBlock): ResponseEndBlockSDKType; - fromAmino(object: ResponseEndBlockAmino): ResponseEndBlock; - toAmino(message: ResponseEndBlock): ResponseEndBlockAmino; - fromAminoMsg(object: ResponseEndBlockAminoMsg): ResponseEndBlock; - fromProtoMsg(message: ResponseEndBlockProtoMsg): ResponseEndBlock; - toProto(message: ResponseEndBlock): Uint8Array; - toProtoMsg(message: ResponseEndBlock): ResponseEndBlockProtoMsg; -}; -export declare const ResponseCommit: { - typeUrl: string; - is(o: any): o is ResponseCommit; - isSDK(o: any): o is ResponseCommitSDKType; - isAmino(o: any): o is ResponseCommitAmino; - encode(message: ResponseCommit, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseCommit; - fromJSON(object: any): ResponseCommit; - toJSON(message: ResponseCommit): unknown; - fromPartial(object: DeepPartial): ResponseCommit; - fromSDK(object: ResponseCommitSDKType): ResponseCommit; - toSDK(message: ResponseCommit): ResponseCommitSDKType; - fromAmino(object: ResponseCommitAmino): ResponseCommit; - toAmino(message: ResponseCommit): ResponseCommitAmino; - fromAminoMsg(object: ResponseCommitAminoMsg): ResponseCommit; - fromProtoMsg(message: ResponseCommitProtoMsg): ResponseCommit; - toProto(message: ResponseCommit): Uint8Array; - toProtoMsg(message: ResponseCommit): ResponseCommitProtoMsg; -}; -export declare const ResponseListSnapshots: { - typeUrl: string; - is(o: any): o is ResponseListSnapshots; - isSDK(o: any): o is ResponseListSnapshotsSDKType; - isAmino(o: any): o is ResponseListSnapshotsAmino; - encode(message: ResponseListSnapshots, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseListSnapshots; - fromJSON(object: any): ResponseListSnapshots; - toJSON(message: ResponseListSnapshots): unknown; - fromPartial(object: DeepPartial): ResponseListSnapshots; - fromSDK(object: ResponseListSnapshotsSDKType): ResponseListSnapshots; - toSDK(message: ResponseListSnapshots): ResponseListSnapshotsSDKType; - fromAmino(object: ResponseListSnapshotsAmino): ResponseListSnapshots; - toAmino(message: ResponseListSnapshots): ResponseListSnapshotsAmino; - fromAminoMsg(object: ResponseListSnapshotsAminoMsg): ResponseListSnapshots; - fromProtoMsg(message: ResponseListSnapshotsProtoMsg): ResponseListSnapshots; - toProto(message: ResponseListSnapshots): Uint8Array; - toProtoMsg(message: ResponseListSnapshots): ResponseListSnapshotsProtoMsg; -}; -export declare const ResponseOfferSnapshot: { - typeUrl: string; - is(o: any): o is ResponseOfferSnapshot; - isSDK(o: any): o is ResponseOfferSnapshotSDKType; - isAmino(o: any): o is ResponseOfferSnapshotAmino; - encode(message: ResponseOfferSnapshot, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseOfferSnapshot; - fromJSON(object: any): ResponseOfferSnapshot; - toJSON(message: ResponseOfferSnapshot): unknown; - fromPartial(object: DeepPartial): ResponseOfferSnapshot; - fromSDK(object: ResponseOfferSnapshotSDKType): ResponseOfferSnapshot; - toSDK(message: ResponseOfferSnapshot): ResponseOfferSnapshotSDKType; - fromAmino(object: ResponseOfferSnapshotAmino): ResponseOfferSnapshot; - toAmino(message: ResponseOfferSnapshot): ResponseOfferSnapshotAmino; - fromAminoMsg(object: ResponseOfferSnapshotAminoMsg): ResponseOfferSnapshot; - fromProtoMsg(message: ResponseOfferSnapshotProtoMsg): ResponseOfferSnapshot; - toProto(message: ResponseOfferSnapshot): Uint8Array; - toProtoMsg(message: ResponseOfferSnapshot): ResponseOfferSnapshotProtoMsg; -}; -export declare const ResponseLoadSnapshotChunk: { - typeUrl: string; - is(o: any): o is ResponseLoadSnapshotChunk; - isSDK(o: any): o is ResponseLoadSnapshotChunkSDKType; - isAmino(o: any): o is ResponseLoadSnapshotChunkAmino; - encode(message: ResponseLoadSnapshotChunk, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseLoadSnapshotChunk; - fromJSON(object: any): ResponseLoadSnapshotChunk; - toJSON(message: ResponseLoadSnapshotChunk): unknown; - fromPartial(object: DeepPartial): ResponseLoadSnapshotChunk; - fromSDK(object: ResponseLoadSnapshotChunkSDKType): ResponseLoadSnapshotChunk; - toSDK(message: ResponseLoadSnapshotChunk): ResponseLoadSnapshotChunkSDKType; - fromAmino(object: ResponseLoadSnapshotChunkAmino): ResponseLoadSnapshotChunk; - toAmino(message: ResponseLoadSnapshotChunk): ResponseLoadSnapshotChunkAmino; - fromAminoMsg(object: ResponseLoadSnapshotChunkAminoMsg): ResponseLoadSnapshotChunk; - fromProtoMsg(message: ResponseLoadSnapshotChunkProtoMsg): ResponseLoadSnapshotChunk; - toProto(message: ResponseLoadSnapshotChunk): Uint8Array; - toProtoMsg(message: ResponseLoadSnapshotChunk): ResponseLoadSnapshotChunkProtoMsg; -}; -export declare const ResponseApplySnapshotChunk: { - typeUrl: string; - is(o: any): o is ResponseApplySnapshotChunk; - isSDK(o: any): o is ResponseApplySnapshotChunkSDKType; - isAmino(o: any): o is ResponseApplySnapshotChunkAmino; - encode(message: ResponseApplySnapshotChunk, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ResponseApplySnapshotChunk; - fromJSON(object: any): ResponseApplySnapshotChunk; - toJSON(message: ResponseApplySnapshotChunk): unknown; - fromPartial(object: DeepPartial): ResponseApplySnapshotChunk; - fromSDK(object: ResponseApplySnapshotChunkSDKType): ResponseApplySnapshotChunk; - toSDK(message: ResponseApplySnapshotChunk): ResponseApplySnapshotChunkSDKType; - fromAmino(object: ResponseApplySnapshotChunkAmino): ResponseApplySnapshotChunk; - toAmino(message: ResponseApplySnapshotChunk): ResponseApplySnapshotChunkAmino; - fromAminoMsg(object: ResponseApplySnapshotChunkAminoMsg): ResponseApplySnapshotChunk; - fromProtoMsg(message: ResponseApplySnapshotChunkProtoMsg): ResponseApplySnapshotChunk; - toProto(message: ResponseApplySnapshotChunk): Uint8Array; - toProtoMsg(message: ResponseApplySnapshotChunk): ResponseApplySnapshotChunkProtoMsg; -}; -export declare const ConsensusParams: { - typeUrl: string; - is(o: any): o is ConsensusParams; - isSDK(o: any): o is ConsensusParamsSDKType; - isAmino(o: any): o is ConsensusParamsAmino; - encode(message: ConsensusParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ConsensusParams; - fromJSON(object: any): ConsensusParams; - toJSON(message: ConsensusParams): unknown; - fromPartial(object: DeepPartial): ConsensusParams; - fromSDK(object: ConsensusParamsSDKType): ConsensusParams; - toSDK(message: ConsensusParams): ConsensusParamsSDKType; - fromAmino(object: ConsensusParamsAmino): ConsensusParams; - toAmino(message: ConsensusParams): ConsensusParamsAmino; - fromAminoMsg(object: ConsensusParamsAminoMsg): ConsensusParams; - fromProtoMsg(message: ConsensusParamsProtoMsg): ConsensusParams; - toProto(message: ConsensusParams): Uint8Array; - toProtoMsg(message: ConsensusParams): ConsensusParamsProtoMsg; -}; -export declare const BlockParams: { - typeUrl: string; - is(o: any): o is BlockParams; - isSDK(o: any): o is BlockParamsSDKType; - isAmino(o: any): o is BlockParamsAmino; - encode(message: BlockParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): BlockParams; - fromJSON(object: any): BlockParams; - toJSON(message: BlockParams): unknown; - fromPartial(object: DeepPartial): BlockParams; - fromSDK(object: BlockParamsSDKType): BlockParams; - toSDK(message: BlockParams): BlockParamsSDKType; - fromAmino(object: BlockParamsAmino): BlockParams; - toAmino(message: BlockParams): BlockParamsAmino; - fromAminoMsg(object: BlockParamsAminoMsg): BlockParams; - fromProtoMsg(message: BlockParamsProtoMsg): BlockParams; - toProto(message: BlockParams): Uint8Array; - toProtoMsg(message: BlockParams): BlockParamsProtoMsg; -}; -export declare const LastCommitInfo: { - typeUrl: string; - is(o: any): o is LastCommitInfo; - isSDK(o: any): o is LastCommitInfoSDKType; - isAmino(o: any): o is LastCommitInfoAmino; - encode(message: LastCommitInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): LastCommitInfo; - fromJSON(object: any): LastCommitInfo; - toJSON(message: LastCommitInfo): unknown; - fromPartial(object: DeepPartial): LastCommitInfo; - fromSDK(object: LastCommitInfoSDKType): LastCommitInfo; - toSDK(message: LastCommitInfo): LastCommitInfoSDKType; - fromAmino(object: LastCommitInfoAmino): LastCommitInfo; - toAmino(message: LastCommitInfo): LastCommitInfoAmino; - fromAminoMsg(object: LastCommitInfoAminoMsg): LastCommitInfo; - fromProtoMsg(message: LastCommitInfoProtoMsg): LastCommitInfo; - toProto(message: LastCommitInfo): Uint8Array; - toProtoMsg(message: LastCommitInfo): LastCommitInfoProtoMsg; -}; -export declare const Event: { - typeUrl: string; - is(o: any): o is Event; - isSDK(o: any): o is EventSDKType; - isAmino(o: any): o is EventAmino; - encode(message: Event, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Event; - fromJSON(object: any): Event; - toJSON(message: Event): unknown; - fromPartial(object: DeepPartial): Event; - fromSDK(object: EventSDKType): Event; - toSDK(message: Event): EventSDKType; - fromAmino(object: EventAmino): Event; - toAmino(message: Event): EventAmino; - fromAminoMsg(object: EventAminoMsg): Event; - fromProtoMsg(message: EventProtoMsg): Event; - toProto(message: Event): Uint8Array; - toProtoMsg(message: Event): EventProtoMsg; -}; -export declare const EventAttribute: { - typeUrl: string; - is(o: any): o is EventAttribute; - isSDK(o: any): o is EventAttributeSDKType; - isAmino(o: any): o is EventAttributeAmino; - encode(message: EventAttribute, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EventAttribute; - fromJSON(object: any): EventAttribute; - toJSON(message: EventAttribute): unknown; - fromPartial(object: DeepPartial): EventAttribute; - fromSDK(object: EventAttributeSDKType): EventAttribute; - toSDK(message: EventAttribute): EventAttributeSDKType; - fromAmino(object: EventAttributeAmino): EventAttribute; - toAmino(message: EventAttribute): EventAttributeAmino; - fromAminoMsg(object: EventAttributeAminoMsg): EventAttribute; - fromProtoMsg(message: EventAttributeProtoMsg): EventAttribute; - toProto(message: EventAttribute): Uint8Array; - toProtoMsg(message: EventAttribute): EventAttributeProtoMsg; -}; -export declare const TxResult: { - typeUrl: string; - is(o: any): o is TxResult; - isSDK(o: any): o is TxResultSDKType; - isAmino(o: any): o is TxResultAmino; - encode(message: TxResult, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TxResult; - fromJSON(object: any): TxResult; - toJSON(message: TxResult): unknown; - fromPartial(object: DeepPartial): TxResult; - fromSDK(object: TxResultSDKType): TxResult; - toSDK(message: TxResult): TxResultSDKType; - fromAmino(object: TxResultAmino): TxResult; - toAmino(message: TxResult): TxResultAmino; - fromAminoMsg(object: TxResultAminoMsg): TxResult; - fromProtoMsg(message: TxResultProtoMsg): TxResult; - toProto(message: TxResult): Uint8Array; - toProtoMsg(message: TxResult): TxResultProtoMsg; -}; -export declare const Validator: { - typeUrl: string; - is(o: any): o is Validator; - isSDK(o: any): o is ValidatorSDKType; - isAmino(o: any): o is ValidatorAmino; - encode(message: Validator, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Validator; - fromJSON(object: any): Validator; - toJSON(message: Validator): unknown; - fromPartial(object: DeepPartial): Validator; - fromSDK(object: ValidatorSDKType): Validator; - toSDK(message: Validator): ValidatorSDKType; - fromAmino(object: ValidatorAmino): Validator; - toAmino(message: Validator): ValidatorAmino; - fromAminoMsg(object: ValidatorAminoMsg): Validator; - fromProtoMsg(message: ValidatorProtoMsg): Validator; - toProto(message: Validator): Uint8Array; - toProtoMsg(message: Validator): ValidatorProtoMsg; -}; -export declare const ValidatorUpdate: { - typeUrl: string; - is(o: any): o is ValidatorUpdate; - isSDK(o: any): o is ValidatorUpdateSDKType; - isAmino(o: any): o is ValidatorUpdateAmino; - encode(message: ValidatorUpdate, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorUpdate; - fromJSON(object: any): ValidatorUpdate; - toJSON(message: ValidatorUpdate): unknown; - fromPartial(object: DeepPartial): ValidatorUpdate; - fromSDK(object: ValidatorUpdateSDKType): ValidatorUpdate; - toSDK(message: ValidatorUpdate): ValidatorUpdateSDKType; - fromAmino(object: ValidatorUpdateAmino): ValidatorUpdate; - toAmino(message: ValidatorUpdate): ValidatorUpdateAmino; - fromAminoMsg(object: ValidatorUpdateAminoMsg): ValidatorUpdate; - fromProtoMsg(message: ValidatorUpdateProtoMsg): ValidatorUpdate; - toProto(message: ValidatorUpdate): Uint8Array; - toProtoMsg(message: ValidatorUpdate): ValidatorUpdateProtoMsg; -}; -export declare const VoteInfo: { - typeUrl: string; - is(o: any): o is VoteInfo; - isSDK(o: any): o is VoteInfoSDKType; - isAmino(o: any): o is VoteInfoAmino; - encode(message: VoteInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): VoteInfo; - fromJSON(object: any): VoteInfo; - toJSON(message: VoteInfo): unknown; - fromPartial(object: DeepPartial): VoteInfo; - fromSDK(object: VoteInfoSDKType): VoteInfo; - toSDK(message: VoteInfo): VoteInfoSDKType; - fromAmino(object: VoteInfoAmino): VoteInfo; - toAmino(message: VoteInfo): VoteInfoAmino; - fromAminoMsg(object: VoteInfoAminoMsg): VoteInfo; - fromProtoMsg(message: VoteInfoProtoMsg): VoteInfo; - toProto(message: VoteInfo): Uint8Array; - toProtoMsg(message: VoteInfo): VoteInfoProtoMsg; -}; -export declare const Evidence: { - typeUrl: string; - is(o: any): o is Evidence; - isSDK(o: any): o is EvidenceSDKType; - isAmino(o: any): o is EvidenceAmino; - encode(message: Evidence, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Evidence; - fromJSON(object: any): Evidence; - toJSON(message: Evidence): unknown; - fromPartial(object: DeepPartial): Evidence; - fromSDK(object: EvidenceSDKType): Evidence; - toSDK(message: Evidence): EvidenceSDKType; - fromAmino(object: EvidenceAmino): Evidence; - toAmino(message: Evidence): EvidenceAmino; - fromAminoMsg(object: EvidenceAminoMsg): Evidence; - fromProtoMsg(message: EvidenceProtoMsg): Evidence; - toProto(message: Evidence): Uint8Array; - toProtoMsg(message: Evidence): EvidenceProtoMsg; -}; -export declare const Snapshot: { - typeUrl: string; - is(o: any): o is Snapshot; - isSDK(o: any): o is SnapshotSDKType; - isAmino(o: any): o is SnapshotAmino; - encode(message: Snapshot, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Snapshot; - fromJSON(object: any): Snapshot; - toJSON(message: Snapshot): unknown; - fromPartial(object: DeepPartial): Snapshot; - fromSDK(object: SnapshotSDKType): Snapshot; - toSDK(message: Snapshot): SnapshotSDKType; - fromAmino(object: SnapshotAmino): Snapshot; - toAmino(message: Snapshot): SnapshotAmino; - fromAminoMsg(object: SnapshotAminoMsg): Snapshot; - fromProtoMsg(message: SnapshotProtoMsg): Snapshot; - toProto(message: Snapshot): Uint8Array; - toProtoMsg(message: Snapshot): SnapshotProtoMsg; -}; diff --git a/examples/authz/types/codegen/tendermint/bundle.d.ts b/examples/authz/types/codegen/tendermint/bundle.d.ts deleted file mode 100644 index c48a681a..00000000 --- a/examples/authz/types/codegen/tendermint/bundle.d.ts +++ /dev/null @@ -1,3261 +0,0 @@ -import * as _179 from "./abci/types"; -import * as _180 from "./crypto/keys"; -import * as _181 from "./crypto/proof"; -import * as _182 from "./libs/bits/types"; -import * as _183 from "./p2p/types"; -import * as _184 from "./types/block"; -import * as _185 from "./types/evidence"; -import * as _186 from "./types/params"; -import * as _187 from "./types/types"; -import * as _188 from "./types/validator"; -import * as _189 from "./version/types"; -export declare namespace tendermint { - const abci: { - checkTxTypeFromJSON(object: any): _179.CheckTxType; - checkTxTypeToJSON(object: _179.CheckTxType): string; - responseOfferSnapshot_ResultFromJSON(object: any): _179.ResponseOfferSnapshot_Result; - responseOfferSnapshot_ResultToJSON(object: _179.ResponseOfferSnapshot_Result): string; - responseApplySnapshotChunk_ResultFromJSON(object: any): _179.ResponseApplySnapshotChunk_Result; - responseApplySnapshotChunk_ResultToJSON(object: _179.ResponseApplySnapshotChunk_Result): string; - evidenceTypeFromJSON(object: any): _179.EvidenceType; - evidenceTypeToJSON(object: _179.EvidenceType): string; - CheckTxType: typeof _179.CheckTxType; - CheckTxTypeSDKType: typeof _179.CheckTxType; - CheckTxTypeAmino: typeof _179.CheckTxType; - ResponseOfferSnapshot_Result: typeof _179.ResponseOfferSnapshot_Result; - ResponseOfferSnapshot_ResultSDKType: typeof _179.ResponseOfferSnapshot_Result; - ResponseOfferSnapshot_ResultAmino: typeof _179.ResponseOfferSnapshot_Result; - ResponseApplySnapshotChunk_Result: typeof _179.ResponseApplySnapshotChunk_Result; - ResponseApplySnapshotChunk_ResultSDKType: typeof _179.ResponseApplySnapshotChunk_Result; - ResponseApplySnapshotChunk_ResultAmino: typeof _179.ResponseApplySnapshotChunk_Result; - EvidenceType: typeof _179.EvidenceType; - EvidenceTypeSDKType: typeof _179.EvidenceType; - EvidenceTypeAmino: typeof _179.EvidenceType; - Request: { - typeUrl: string; - is(o: any): o is _179.Request; - isSDK(o: any): o is _179.RequestSDKType; - isAmino(o: any): o is _179.RequestAmino; - encode(message: _179.Request, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.Request; - fromJSON(object: any): _179.Request; - toJSON(message: _179.Request): unknown; - fromPartial(object: { - echo?: { - message?: string; - }; - flush?: {}; - info?: { - version?: string; - blockVersion?: bigint; - p2pVersion?: bigint; - }; - setOption?: { - key?: string; - value?: string; - }; - initChain?: { - time?: Date; - chainId?: string; - consensusParams?: { - block?: { - maxBytes?: bigint; - maxGas?: bigint; - }; - evidence?: { - maxAgeNumBlocks?: bigint; - maxAgeDuration?: { - seconds?: bigint; - nanos?: number; - }; - maxBytes?: bigint; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: bigint; - }; - }; - validators?: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - power?: bigint; - }[]; - appStateBytes?: Uint8Array; - initialHeight?: bigint; - }; - query?: { - data?: Uint8Array; - path?: string; - height?: bigint; - prove?: boolean; - }; - beginBlock?: { - hash?: Uint8Array; - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - lastCommitInfo?: { - round?: number; - votes?: { - validator?: { - address?: Uint8Array; - power?: bigint; - }; - signedLastBlock?: boolean; - }[]; - }; - byzantineValidators?: { - type?: _179.EvidenceType; - validator?: { - address?: Uint8Array; - power?: bigint; - }; - height?: bigint; - time?: Date; - totalVotingPower?: bigint; - }[]; - }; - checkTx?: { - tx?: Uint8Array; - type?: _179.CheckTxType; - }; - deliverTx?: { - tx?: Uint8Array; - }; - endBlock?: { - height?: bigint; - }; - commit?: {}; - listSnapshots?: {}; - offerSnapshot?: { - snapshot?: { - height?: bigint; - format?: number; - chunks?: number; - hash?: Uint8Array; - metadata?: Uint8Array; - }; - appHash?: Uint8Array; - }; - loadSnapshotChunk?: { - height?: bigint; - format?: number; - chunk?: number; - }; - applySnapshotChunk?: { - index?: number; - chunk?: Uint8Array; - sender?: string; - }; - }): _179.Request; - fromSDK(object: _179.RequestSDKType): _179.Request; - toSDK(message: _179.Request): _179.RequestSDKType; - fromAmino(object: _179.RequestAmino): _179.Request; - toAmino(message: _179.Request): _179.RequestAmino; - fromAminoMsg(object: _179.RequestAminoMsg): _179.Request; - fromProtoMsg(message: _179.RequestProtoMsg): _179.Request; - toProto(message: _179.Request): Uint8Array; - toProtoMsg(message: _179.Request): _179.RequestProtoMsg; - }; - RequestEcho: { - typeUrl: string; - is(o: any): o is _179.RequestEcho; - isSDK(o: any): o is _179.RequestEchoSDKType; - isAmino(o: any): o is _179.RequestEchoAmino; - encode(message: _179.RequestEcho, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.RequestEcho; - fromJSON(object: any): _179.RequestEcho; - toJSON(message: _179.RequestEcho): unknown; - fromPartial(object: { - message?: string; - }): _179.RequestEcho; - fromSDK(object: _179.RequestEchoSDKType): _179.RequestEcho; - toSDK(message: _179.RequestEcho): _179.RequestEchoSDKType; - fromAmino(object: _179.RequestEchoAmino): _179.RequestEcho; - toAmino(message: _179.RequestEcho): _179.RequestEchoAmino; - fromAminoMsg(object: _179.RequestEchoAminoMsg): _179.RequestEcho; - fromProtoMsg(message: _179.RequestEchoProtoMsg): _179.RequestEcho; - toProto(message: _179.RequestEcho): Uint8Array; - toProtoMsg(message: _179.RequestEcho): _179.RequestEchoProtoMsg; - }; - RequestFlush: { - typeUrl: string; - is(o: any): o is _179.RequestFlush; - isSDK(o: any): o is _179.RequestFlushSDKType; - isAmino(o: any): o is _179.RequestFlushAmino; - encode(_: _179.RequestFlush, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.RequestFlush; - fromJSON(_: any): _179.RequestFlush; - toJSON(_: _179.RequestFlush): unknown; - fromPartial(_: {}): _179.RequestFlush; - fromSDK(_: _179.RequestFlushSDKType): _179.RequestFlush; - toSDK(_: _179.RequestFlush): _179.RequestFlushSDKType; - fromAmino(_: _179.RequestFlushAmino): _179.RequestFlush; - toAmino(_: _179.RequestFlush): _179.RequestFlushAmino; - fromAminoMsg(object: _179.RequestFlushAminoMsg): _179.RequestFlush; - fromProtoMsg(message: _179.RequestFlushProtoMsg): _179.RequestFlush; - toProto(message: _179.RequestFlush): Uint8Array; - toProtoMsg(message: _179.RequestFlush): _179.RequestFlushProtoMsg; - }; - RequestInfo: { - typeUrl: string; - is(o: any): o is _179.RequestInfo; - isSDK(o: any): o is _179.RequestInfoSDKType; - isAmino(o: any): o is _179.RequestInfoAmino; - encode(message: _179.RequestInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.RequestInfo; - fromJSON(object: any): _179.RequestInfo; - toJSON(message: _179.RequestInfo): unknown; - fromPartial(object: { - version?: string; - blockVersion?: bigint; - p2pVersion?: bigint; - }): _179.RequestInfo; - fromSDK(object: _179.RequestInfoSDKType): _179.RequestInfo; - toSDK(message: _179.RequestInfo): _179.RequestInfoSDKType; - fromAmino(object: _179.RequestInfoAmino): _179.RequestInfo; - toAmino(message: _179.RequestInfo): _179.RequestInfoAmino; - fromAminoMsg(object: _179.RequestInfoAminoMsg): _179.RequestInfo; - fromProtoMsg(message: _179.RequestInfoProtoMsg): _179.RequestInfo; - toProto(message: _179.RequestInfo): Uint8Array; - toProtoMsg(message: _179.RequestInfo): _179.RequestInfoProtoMsg; - }; - RequestSetOption: { - typeUrl: string; - is(o: any): o is _179.RequestSetOption; - isSDK(o: any): o is _179.RequestSetOptionSDKType; - isAmino(o: any): o is _179.RequestSetOptionAmino; - encode(message: _179.RequestSetOption, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.RequestSetOption; - fromJSON(object: any): _179.RequestSetOption; - toJSON(message: _179.RequestSetOption): unknown; - fromPartial(object: { - key?: string; - value?: string; - }): _179.RequestSetOption; - fromSDK(object: _179.RequestSetOptionSDKType): _179.RequestSetOption; - toSDK(message: _179.RequestSetOption): _179.RequestSetOptionSDKType; - fromAmino(object: _179.RequestSetOptionAmino): _179.RequestSetOption; - toAmino(message: _179.RequestSetOption): _179.RequestSetOptionAmino; - fromAminoMsg(object: _179.RequestSetOptionAminoMsg): _179.RequestSetOption; - fromProtoMsg(message: _179.RequestSetOptionProtoMsg): _179.RequestSetOption; - toProto(message: _179.RequestSetOption): Uint8Array; - toProtoMsg(message: _179.RequestSetOption): _179.RequestSetOptionProtoMsg; - }; - RequestInitChain: { - typeUrl: string; - is(o: any): o is _179.RequestInitChain; - isSDK(o: any): o is _179.RequestInitChainSDKType; - isAmino(o: any): o is _179.RequestInitChainAmino; - encode(message: _179.RequestInitChain, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.RequestInitChain; - fromJSON(object: any): _179.RequestInitChain; - toJSON(message: _179.RequestInitChain): unknown; - fromPartial(object: { - time?: Date; - chainId?: string; - consensusParams?: { - block?: { - maxBytes?: bigint; - maxGas?: bigint; - }; - evidence?: { - maxAgeNumBlocks?: bigint; - maxAgeDuration?: { - seconds?: bigint; - nanos?: number; - }; - maxBytes?: bigint; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: bigint; - }; - }; - validators?: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - power?: bigint; - }[]; - appStateBytes?: Uint8Array; - initialHeight?: bigint; - }): _179.RequestInitChain; - fromSDK(object: _179.RequestInitChainSDKType): _179.RequestInitChain; - toSDK(message: _179.RequestInitChain): _179.RequestInitChainSDKType; - fromAmino(object: _179.RequestInitChainAmino): _179.RequestInitChain; - toAmino(message: _179.RequestInitChain): _179.RequestInitChainAmino; - fromAminoMsg(object: _179.RequestInitChainAminoMsg): _179.RequestInitChain; - fromProtoMsg(message: _179.RequestInitChainProtoMsg): _179.RequestInitChain; - toProto(message: _179.RequestInitChain): Uint8Array; - toProtoMsg(message: _179.RequestInitChain): _179.RequestInitChainProtoMsg; - }; - RequestQuery: { - typeUrl: string; - is(o: any): o is _179.RequestQuery; - isSDK(o: any): o is _179.RequestQuerySDKType; - isAmino(o: any): o is _179.RequestQueryAmino; - encode(message: _179.RequestQuery, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.RequestQuery; - fromJSON(object: any): _179.RequestQuery; - toJSON(message: _179.RequestQuery): unknown; - fromPartial(object: { - data?: Uint8Array; - path?: string; - height?: bigint; - prove?: boolean; - }): _179.RequestQuery; - fromSDK(object: _179.RequestQuerySDKType): _179.RequestQuery; - toSDK(message: _179.RequestQuery): _179.RequestQuerySDKType; - fromAmino(object: _179.RequestQueryAmino): _179.RequestQuery; - toAmino(message: _179.RequestQuery): _179.RequestQueryAmino; - fromAminoMsg(object: _179.RequestQueryAminoMsg): _179.RequestQuery; - fromProtoMsg(message: _179.RequestQueryProtoMsg): _179.RequestQuery; - toProto(message: _179.RequestQuery): Uint8Array; - toProtoMsg(message: _179.RequestQuery): _179.RequestQueryProtoMsg; - }; - RequestBeginBlock: { - typeUrl: string; - is(o: any): o is _179.RequestBeginBlock; - isSDK(o: any): o is _179.RequestBeginBlockSDKType; - isAmino(o: any): o is _179.RequestBeginBlockAmino; - encode(message: _179.RequestBeginBlock, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.RequestBeginBlock; - fromJSON(object: any): _179.RequestBeginBlock; - toJSON(message: _179.RequestBeginBlock): unknown; - fromPartial(object: { - hash?: Uint8Array; - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - lastCommitInfo?: { - round?: number; - votes?: { - validator?: { - address?: Uint8Array; - power?: bigint; - }; - signedLastBlock?: boolean; - }[]; - }; - byzantineValidators?: { - type?: _179.EvidenceType; - validator?: { - address?: Uint8Array; - power?: bigint; - }; - height?: bigint; - time?: Date; - totalVotingPower?: bigint; - }[]; - }): _179.RequestBeginBlock; - fromSDK(object: _179.RequestBeginBlockSDKType): _179.RequestBeginBlock; - toSDK(message: _179.RequestBeginBlock): _179.RequestBeginBlockSDKType; - fromAmino(object: _179.RequestBeginBlockAmino): _179.RequestBeginBlock; - toAmino(message: _179.RequestBeginBlock): _179.RequestBeginBlockAmino; - fromAminoMsg(object: _179.RequestBeginBlockAminoMsg): _179.RequestBeginBlock; - fromProtoMsg(message: _179.RequestBeginBlockProtoMsg): _179.RequestBeginBlock; - toProto(message: _179.RequestBeginBlock): Uint8Array; - toProtoMsg(message: _179.RequestBeginBlock): _179.RequestBeginBlockProtoMsg; - }; - RequestCheckTx: { - typeUrl: string; - is(o: any): o is _179.RequestCheckTx; - isSDK(o: any): o is _179.RequestCheckTxSDKType; - isAmino(o: any): o is _179.RequestCheckTxAmino; - encode(message: _179.RequestCheckTx, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.RequestCheckTx; - fromJSON(object: any): _179.RequestCheckTx; - toJSON(message: _179.RequestCheckTx): unknown; - fromPartial(object: { - tx?: Uint8Array; - type?: _179.CheckTxType; - }): _179.RequestCheckTx; - fromSDK(object: _179.RequestCheckTxSDKType): _179.RequestCheckTx; - toSDK(message: _179.RequestCheckTx): _179.RequestCheckTxSDKType; - fromAmino(object: _179.RequestCheckTxAmino): _179.RequestCheckTx; - toAmino(message: _179.RequestCheckTx): _179.RequestCheckTxAmino; - fromAminoMsg(object: _179.RequestCheckTxAminoMsg): _179.RequestCheckTx; - fromProtoMsg(message: _179.RequestCheckTxProtoMsg): _179.RequestCheckTx; - toProto(message: _179.RequestCheckTx): Uint8Array; - toProtoMsg(message: _179.RequestCheckTx): _179.RequestCheckTxProtoMsg; - }; - RequestDeliverTx: { - typeUrl: string; - is(o: any): o is _179.RequestDeliverTx; - isSDK(o: any): o is _179.RequestDeliverTxSDKType; - isAmino(o: any): o is _179.RequestDeliverTxAmino; - encode(message: _179.RequestDeliverTx, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.RequestDeliverTx; - fromJSON(object: any): _179.RequestDeliverTx; - toJSON(message: _179.RequestDeliverTx): unknown; - fromPartial(object: { - tx?: Uint8Array; - }): _179.RequestDeliverTx; - fromSDK(object: _179.RequestDeliverTxSDKType): _179.RequestDeliverTx; - toSDK(message: _179.RequestDeliverTx): _179.RequestDeliverTxSDKType; - fromAmino(object: _179.RequestDeliverTxAmino): _179.RequestDeliverTx; - toAmino(message: _179.RequestDeliverTx): _179.RequestDeliverTxAmino; - fromAminoMsg(object: _179.RequestDeliverTxAminoMsg): _179.RequestDeliverTx; - fromProtoMsg(message: _179.RequestDeliverTxProtoMsg): _179.RequestDeliverTx; - toProto(message: _179.RequestDeliverTx): Uint8Array; - toProtoMsg(message: _179.RequestDeliverTx): _179.RequestDeliverTxProtoMsg; - }; - RequestEndBlock: { - typeUrl: string; - is(o: any): o is _179.RequestEndBlock; - isSDK(o: any): o is _179.RequestEndBlockSDKType; - isAmino(o: any): o is _179.RequestEndBlockAmino; - encode(message: _179.RequestEndBlock, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.RequestEndBlock; - fromJSON(object: any): _179.RequestEndBlock; - toJSON(message: _179.RequestEndBlock): unknown; - fromPartial(object: { - height?: bigint; - }): _179.RequestEndBlock; - fromSDK(object: _179.RequestEndBlockSDKType): _179.RequestEndBlock; - toSDK(message: _179.RequestEndBlock): _179.RequestEndBlockSDKType; - fromAmino(object: _179.RequestEndBlockAmino): _179.RequestEndBlock; - toAmino(message: _179.RequestEndBlock): _179.RequestEndBlockAmino; - fromAminoMsg(object: _179.RequestEndBlockAminoMsg): _179.RequestEndBlock; - fromProtoMsg(message: _179.RequestEndBlockProtoMsg): _179.RequestEndBlock; - toProto(message: _179.RequestEndBlock): Uint8Array; - toProtoMsg(message: _179.RequestEndBlock): _179.RequestEndBlockProtoMsg; - }; - RequestCommit: { - typeUrl: string; - is(o: any): o is _179.RequestCommit; - isSDK(o: any): o is _179.RequestCommitSDKType; - isAmino(o: any): o is _179.RequestCommitAmino; - encode(_: _179.RequestCommit, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.RequestCommit; - fromJSON(_: any): _179.RequestCommit; - toJSON(_: _179.RequestCommit): unknown; - fromPartial(_: {}): _179.RequestCommit; - fromSDK(_: _179.RequestCommitSDKType): _179.RequestCommit; - toSDK(_: _179.RequestCommit): _179.RequestCommitSDKType; - fromAmino(_: _179.RequestCommitAmino): _179.RequestCommit; - toAmino(_: _179.RequestCommit): _179.RequestCommitAmino; - fromAminoMsg(object: _179.RequestCommitAminoMsg): _179.RequestCommit; - fromProtoMsg(message: _179.RequestCommitProtoMsg): _179.RequestCommit; - toProto(message: _179.RequestCommit): Uint8Array; - toProtoMsg(message: _179.RequestCommit): _179.RequestCommitProtoMsg; - }; - RequestListSnapshots: { - typeUrl: string; - is(o: any): o is _179.RequestListSnapshots; - isSDK(o: any): o is _179.RequestListSnapshotsSDKType; - isAmino(o: any): o is _179.RequestListSnapshotsAmino; - encode(_: _179.RequestListSnapshots, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.RequestListSnapshots; - fromJSON(_: any): _179.RequestListSnapshots; - toJSON(_: _179.RequestListSnapshots): unknown; - fromPartial(_: {}): _179.RequestListSnapshots; - fromSDK(_: _179.RequestListSnapshotsSDKType): _179.RequestListSnapshots; - toSDK(_: _179.RequestListSnapshots): _179.RequestListSnapshotsSDKType; - fromAmino(_: _179.RequestListSnapshotsAmino): _179.RequestListSnapshots; - toAmino(_: _179.RequestListSnapshots): _179.RequestListSnapshotsAmino; - fromAminoMsg(object: _179.RequestListSnapshotsAminoMsg): _179.RequestListSnapshots; - fromProtoMsg(message: _179.RequestListSnapshotsProtoMsg): _179.RequestListSnapshots; - toProto(message: _179.RequestListSnapshots): Uint8Array; - toProtoMsg(message: _179.RequestListSnapshots): _179.RequestListSnapshotsProtoMsg; - }; - RequestOfferSnapshot: { - typeUrl: string; - is(o: any): o is _179.RequestOfferSnapshot; - isSDK(o: any): o is _179.RequestOfferSnapshotSDKType; - isAmino(o: any): o is _179.RequestOfferSnapshotAmino; - encode(message: _179.RequestOfferSnapshot, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.RequestOfferSnapshot; - fromJSON(object: any): _179.RequestOfferSnapshot; - toJSON(message: _179.RequestOfferSnapshot): unknown; - fromPartial(object: { - snapshot?: { - height?: bigint; - format?: number; - chunks?: number; - hash?: Uint8Array; - metadata?: Uint8Array; - }; - appHash?: Uint8Array; - }): _179.RequestOfferSnapshot; - fromSDK(object: _179.RequestOfferSnapshotSDKType): _179.RequestOfferSnapshot; - toSDK(message: _179.RequestOfferSnapshot): _179.RequestOfferSnapshotSDKType; - fromAmino(object: _179.RequestOfferSnapshotAmino): _179.RequestOfferSnapshot; - toAmino(message: _179.RequestOfferSnapshot): _179.RequestOfferSnapshotAmino; - fromAminoMsg(object: _179.RequestOfferSnapshotAminoMsg): _179.RequestOfferSnapshot; - fromProtoMsg(message: _179.RequestOfferSnapshotProtoMsg): _179.RequestOfferSnapshot; - toProto(message: _179.RequestOfferSnapshot): Uint8Array; - toProtoMsg(message: _179.RequestOfferSnapshot): _179.RequestOfferSnapshotProtoMsg; - }; - RequestLoadSnapshotChunk: { - typeUrl: string; - is(o: any): o is _179.RequestLoadSnapshotChunk; - isSDK(o: any): o is _179.RequestLoadSnapshotChunkSDKType; - isAmino(o: any): o is _179.RequestLoadSnapshotChunkAmino; - encode(message: _179.RequestLoadSnapshotChunk, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.RequestLoadSnapshotChunk; - fromJSON(object: any): _179.RequestLoadSnapshotChunk; - toJSON(message: _179.RequestLoadSnapshotChunk): unknown; - fromPartial(object: { - height?: bigint; - format?: number; - chunk?: number; - }): _179.RequestLoadSnapshotChunk; - fromSDK(object: _179.RequestLoadSnapshotChunkSDKType): _179.RequestLoadSnapshotChunk; - toSDK(message: _179.RequestLoadSnapshotChunk): _179.RequestLoadSnapshotChunkSDKType; - fromAmino(object: _179.RequestLoadSnapshotChunkAmino): _179.RequestLoadSnapshotChunk; - toAmino(message: _179.RequestLoadSnapshotChunk): _179.RequestLoadSnapshotChunkAmino; - fromAminoMsg(object: _179.RequestLoadSnapshotChunkAminoMsg): _179.RequestLoadSnapshotChunk; - fromProtoMsg(message: _179.RequestLoadSnapshotChunkProtoMsg): _179.RequestLoadSnapshotChunk; - toProto(message: _179.RequestLoadSnapshotChunk): Uint8Array; - toProtoMsg(message: _179.RequestLoadSnapshotChunk): _179.RequestLoadSnapshotChunkProtoMsg; - }; - RequestApplySnapshotChunk: { - typeUrl: string; - is(o: any): o is _179.RequestApplySnapshotChunk; - isSDK(o: any): o is _179.RequestApplySnapshotChunkSDKType; - isAmino(o: any): o is _179.RequestApplySnapshotChunkAmino; - encode(message: _179.RequestApplySnapshotChunk, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.RequestApplySnapshotChunk; - fromJSON(object: any): _179.RequestApplySnapshotChunk; - toJSON(message: _179.RequestApplySnapshotChunk): unknown; - fromPartial(object: { - index?: number; - chunk?: Uint8Array; - sender?: string; - }): _179.RequestApplySnapshotChunk; - fromSDK(object: _179.RequestApplySnapshotChunkSDKType): _179.RequestApplySnapshotChunk; - toSDK(message: _179.RequestApplySnapshotChunk): _179.RequestApplySnapshotChunkSDKType; - fromAmino(object: _179.RequestApplySnapshotChunkAmino): _179.RequestApplySnapshotChunk; - toAmino(message: _179.RequestApplySnapshotChunk): _179.RequestApplySnapshotChunkAmino; - fromAminoMsg(object: _179.RequestApplySnapshotChunkAminoMsg): _179.RequestApplySnapshotChunk; - fromProtoMsg(message: _179.RequestApplySnapshotChunkProtoMsg): _179.RequestApplySnapshotChunk; - toProto(message: _179.RequestApplySnapshotChunk): Uint8Array; - toProtoMsg(message: _179.RequestApplySnapshotChunk): _179.RequestApplySnapshotChunkProtoMsg; - }; - Response: { - typeUrl: string; - is(o: any): o is _179.Response; - isSDK(o: any): o is _179.ResponseSDKType; - isAmino(o: any): o is _179.ResponseAmino; - encode(message: _179.Response, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.Response; - fromJSON(object: any): _179.Response; - toJSON(message: _179.Response): unknown; - fromPartial(object: { - exception?: { - error?: string; - }; - echo?: { - message?: string; - }; - flush?: {}; - info?: { - data?: string; - version?: string; - appVersion?: bigint; - lastBlockHeight?: bigint; - lastBlockAppHash?: Uint8Array; - }; - setOption?: { - code?: number; - log?: string; - info?: string; - }; - initChain?: { - consensusParams?: { - block?: { - maxBytes?: bigint; - maxGas?: bigint; - }; - evidence?: { - maxAgeNumBlocks?: bigint; - maxAgeDuration?: { - seconds?: bigint; - nanos?: number; - }; - maxBytes?: bigint; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: bigint; - }; - }; - validators?: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - power?: bigint; - }[]; - appHash?: Uint8Array; - }; - query?: { - code?: number; - log?: string; - info?: string; - index?: bigint; - key?: Uint8Array; - value?: Uint8Array; - proofOps?: { - ops?: { - type?: string; - key?: Uint8Array; - data?: Uint8Array; - }[]; - }; - height?: bigint; - codespace?: string; - }; - beginBlock?: { - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }; - checkTx?: { - code?: number; - data?: Uint8Array; - log?: string; - info?: string; - gasWanted?: bigint; - gasUsed?: bigint; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - codespace?: string; - }; - deliverTx?: { - code?: number; - data?: Uint8Array; - log?: string; - info?: string; - gasWanted?: bigint; - gasUsed?: bigint; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - codespace?: string; - }; - endBlock?: { - validatorUpdates?: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - power?: bigint; - }[]; - consensusParamUpdates?: { - block?: { - maxBytes?: bigint; - maxGas?: bigint; - }; - evidence?: { - maxAgeNumBlocks?: bigint; - maxAgeDuration?: { - seconds?: bigint; - nanos?: number; - }; - maxBytes?: bigint; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: bigint; - }; - }; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }; - commit?: { - data?: Uint8Array; - retainHeight?: bigint; - }; - listSnapshots?: { - snapshots?: { - height?: bigint; - format?: number; - chunks?: number; - hash?: Uint8Array; - metadata?: Uint8Array; - }[]; - }; - offerSnapshot?: { - result?: _179.ResponseOfferSnapshot_Result; - }; - loadSnapshotChunk?: { - chunk?: Uint8Array; - }; - applySnapshotChunk?: { - result?: _179.ResponseApplySnapshotChunk_Result; - refetchChunks?: number[]; - rejectSenders?: string[]; - }; - }): _179.Response; - fromSDK(object: _179.ResponseSDKType): _179.Response; - toSDK(message: _179.Response): _179.ResponseSDKType; - fromAmino(object: _179.ResponseAmino): _179.Response; - toAmino(message: _179.Response): _179.ResponseAmino; - fromAminoMsg(object: _179.ResponseAminoMsg): _179.Response; - fromProtoMsg(message: _179.ResponseProtoMsg): _179.Response; - toProto(message: _179.Response): Uint8Array; - toProtoMsg(message: _179.Response): _179.ResponseProtoMsg; - }; - ResponseException: { - typeUrl: string; - is(o: any): o is _179.ResponseException; - isSDK(o: any): o is _179.ResponseExceptionSDKType; - isAmino(o: any): o is _179.ResponseExceptionAmino; - encode(message: _179.ResponseException, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseException; - fromJSON(object: any): _179.ResponseException; - toJSON(message: _179.ResponseException): unknown; - fromPartial(object: { - error?: string; - }): _179.ResponseException; - fromSDK(object: _179.ResponseExceptionSDKType): _179.ResponseException; - toSDK(message: _179.ResponseException): _179.ResponseExceptionSDKType; - fromAmino(object: _179.ResponseExceptionAmino): _179.ResponseException; - toAmino(message: _179.ResponseException): _179.ResponseExceptionAmino; - fromAminoMsg(object: _179.ResponseExceptionAminoMsg): _179.ResponseException; - fromProtoMsg(message: _179.ResponseExceptionProtoMsg): _179.ResponseException; - toProto(message: _179.ResponseException): Uint8Array; - toProtoMsg(message: _179.ResponseException): _179.ResponseExceptionProtoMsg; - }; - ResponseEcho: { - typeUrl: string; - is(o: any): o is _179.ResponseEcho; - isSDK(o: any): o is _179.ResponseEchoSDKType; - isAmino(o: any): o is _179.ResponseEchoAmino; - encode(message: _179.ResponseEcho, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseEcho; - fromJSON(object: any): _179.ResponseEcho; - toJSON(message: _179.ResponseEcho): unknown; - fromPartial(object: { - message?: string; - }): _179.ResponseEcho; - fromSDK(object: _179.ResponseEchoSDKType): _179.ResponseEcho; - toSDK(message: _179.ResponseEcho): _179.ResponseEchoSDKType; - fromAmino(object: _179.ResponseEchoAmino): _179.ResponseEcho; - toAmino(message: _179.ResponseEcho): _179.ResponseEchoAmino; - fromAminoMsg(object: _179.ResponseEchoAminoMsg): _179.ResponseEcho; - fromProtoMsg(message: _179.ResponseEchoProtoMsg): _179.ResponseEcho; - toProto(message: _179.ResponseEcho): Uint8Array; - toProtoMsg(message: _179.ResponseEcho): _179.ResponseEchoProtoMsg; - }; - ResponseFlush: { - typeUrl: string; - is(o: any): o is _179.ResponseFlush; - isSDK(o: any): o is _179.ResponseFlushSDKType; - isAmino(o: any): o is _179.ResponseFlushAmino; - encode(_: _179.ResponseFlush, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseFlush; - fromJSON(_: any): _179.ResponseFlush; - toJSON(_: _179.ResponseFlush): unknown; - fromPartial(_: {}): _179.ResponseFlush; - fromSDK(_: _179.ResponseFlushSDKType): _179.ResponseFlush; - toSDK(_: _179.ResponseFlush): _179.ResponseFlushSDKType; - fromAmino(_: _179.ResponseFlushAmino): _179.ResponseFlush; - toAmino(_: _179.ResponseFlush): _179.ResponseFlushAmino; - fromAminoMsg(object: _179.ResponseFlushAminoMsg): _179.ResponseFlush; - fromProtoMsg(message: _179.ResponseFlushProtoMsg): _179.ResponseFlush; - toProto(message: _179.ResponseFlush): Uint8Array; - toProtoMsg(message: _179.ResponseFlush): _179.ResponseFlushProtoMsg; - }; - ResponseInfo: { - typeUrl: string; - is(o: any): o is _179.ResponseInfo; - isSDK(o: any): o is _179.ResponseInfoSDKType; - isAmino(o: any): o is _179.ResponseInfoAmino; - encode(message: _179.ResponseInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseInfo; - fromJSON(object: any): _179.ResponseInfo; - toJSON(message: _179.ResponseInfo): unknown; - fromPartial(object: { - data?: string; - version?: string; - appVersion?: bigint; - lastBlockHeight?: bigint; - lastBlockAppHash?: Uint8Array; - }): _179.ResponseInfo; - fromSDK(object: _179.ResponseInfoSDKType): _179.ResponseInfo; - toSDK(message: _179.ResponseInfo): _179.ResponseInfoSDKType; - fromAmino(object: _179.ResponseInfoAmino): _179.ResponseInfo; - toAmino(message: _179.ResponseInfo): _179.ResponseInfoAmino; - fromAminoMsg(object: _179.ResponseInfoAminoMsg): _179.ResponseInfo; - fromProtoMsg(message: _179.ResponseInfoProtoMsg): _179.ResponseInfo; - toProto(message: _179.ResponseInfo): Uint8Array; - toProtoMsg(message: _179.ResponseInfo): _179.ResponseInfoProtoMsg; - }; - ResponseSetOption: { - typeUrl: string; - is(o: any): o is _179.ResponseSetOption; - isSDK(o: any): o is _179.ResponseSetOptionSDKType; - isAmino(o: any): o is _179.ResponseSetOptionAmino; - encode(message: _179.ResponseSetOption, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseSetOption; - fromJSON(object: any): _179.ResponseSetOption; - toJSON(message: _179.ResponseSetOption): unknown; - fromPartial(object: { - code?: number; - log?: string; - info?: string; - }): _179.ResponseSetOption; - fromSDK(object: _179.ResponseSetOptionSDKType): _179.ResponseSetOption; - toSDK(message: _179.ResponseSetOption): _179.ResponseSetOptionSDKType; - fromAmino(object: _179.ResponseSetOptionAmino): _179.ResponseSetOption; - toAmino(message: _179.ResponseSetOption): _179.ResponseSetOptionAmino; - fromAminoMsg(object: _179.ResponseSetOptionAminoMsg): _179.ResponseSetOption; - fromProtoMsg(message: _179.ResponseSetOptionProtoMsg): _179.ResponseSetOption; - toProto(message: _179.ResponseSetOption): Uint8Array; - toProtoMsg(message: _179.ResponseSetOption): _179.ResponseSetOptionProtoMsg; - }; - ResponseInitChain: { - typeUrl: string; - is(o: any): o is _179.ResponseInitChain; - isSDK(o: any): o is _179.ResponseInitChainSDKType; - isAmino(o: any): o is _179.ResponseInitChainAmino; - encode(message: _179.ResponseInitChain, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseInitChain; - fromJSON(object: any): _179.ResponseInitChain; - toJSON(message: _179.ResponseInitChain): unknown; - fromPartial(object: { - consensusParams?: { - block?: { - maxBytes?: bigint; - maxGas?: bigint; - }; - evidence?: { - maxAgeNumBlocks?: bigint; - maxAgeDuration?: { - seconds?: bigint; - nanos?: number; - }; - maxBytes?: bigint; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: bigint; - }; - }; - validators?: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - power?: bigint; - }[]; - appHash?: Uint8Array; - }): _179.ResponseInitChain; - fromSDK(object: _179.ResponseInitChainSDKType): _179.ResponseInitChain; - toSDK(message: _179.ResponseInitChain): _179.ResponseInitChainSDKType; - fromAmino(object: _179.ResponseInitChainAmino): _179.ResponseInitChain; - toAmino(message: _179.ResponseInitChain): _179.ResponseInitChainAmino; - fromAminoMsg(object: _179.ResponseInitChainAminoMsg): _179.ResponseInitChain; - fromProtoMsg(message: _179.ResponseInitChainProtoMsg): _179.ResponseInitChain; - toProto(message: _179.ResponseInitChain): Uint8Array; - toProtoMsg(message: _179.ResponseInitChain): _179.ResponseInitChainProtoMsg; - }; - ResponseQuery: { - typeUrl: string; - is(o: any): o is _179.ResponseQuery; - isSDK(o: any): o is _179.ResponseQuerySDKType; - isAmino(o: any): o is _179.ResponseQueryAmino; - encode(message: _179.ResponseQuery, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseQuery; - fromJSON(object: any): _179.ResponseQuery; - toJSON(message: _179.ResponseQuery): unknown; - fromPartial(object: { - code?: number; - log?: string; - info?: string; - index?: bigint; - key?: Uint8Array; - value?: Uint8Array; - proofOps?: { - ops?: { - type?: string; - key?: Uint8Array; - data?: Uint8Array; - }[]; - }; - height?: bigint; - codespace?: string; - }): _179.ResponseQuery; - fromSDK(object: _179.ResponseQuerySDKType): _179.ResponseQuery; - toSDK(message: _179.ResponseQuery): _179.ResponseQuerySDKType; - fromAmino(object: _179.ResponseQueryAmino): _179.ResponseQuery; - toAmino(message: _179.ResponseQuery): _179.ResponseQueryAmino; - fromAminoMsg(object: _179.ResponseQueryAminoMsg): _179.ResponseQuery; - fromProtoMsg(message: _179.ResponseQueryProtoMsg): _179.ResponseQuery; - toProto(message: _179.ResponseQuery): Uint8Array; - toProtoMsg(message: _179.ResponseQuery): _179.ResponseQueryProtoMsg; - }; - ResponseBeginBlock: { - typeUrl: string; - is(o: any): o is _179.ResponseBeginBlock; - isSDK(o: any): o is _179.ResponseBeginBlockSDKType; - isAmino(o: any): o is _179.ResponseBeginBlockAmino; - encode(message: _179.ResponseBeginBlock, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseBeginBlock; - fromJSON(object: any): _179.ResponseBeginBlock; - toJSON(message: _179.ResponseBeginBlock): unknown; - fromPartial(object: { - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }): _179.ResponseBeginBlock; - fromSDK(object: _179.ResponseBeginBlockSDKType): _179.ResponseBeginBlock; - toSDK(message: _179.ResponseBeginBlock): _179.ResponseBeginBlockSDKType; - fromAmino(object: _179.ResponseBeginBlockAmino): _179.ResponseBeginBlock; - toAmino(message: _179.ResponseBeginBlock): _179.ResponseBeginBlockAmino; - fromAminoMsg(object: _179.ResponseBeginBlockAminoMsg): _179.ResponseBeginBlock; - fromProtoMsg(message: _179.ResponseBeginBlockProtoMsg): _179.ResponseBeginBlock; - toProto(message: _179.ResponseBeginBlock): Uint8Array; - toProtoMsg(message: _179.ResponseBeginBlock): _179.ResponseBeginBlockProtoMsg; - }; - ResponseCheckTx: { - typeUrl: string; - is(o: any): o is _179.ResponseCheckTx; - isSDK(o: any): o is _179.ResponseCheckTxSDKType; - isAmino(o: any): o is _179.ResponseCheckTxAmino; - encode(message: _179.ResponseCheckTx, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseCheckTx; - fromJSON(object: any): _179.ResponseCheckTx; - toJSON(message: _179.ResponseCheckTx): unknown; - fromPartial(object: { - code?: number; - data?: Uint8Array; - log?: string; - info?: string; - gasWanted?: bigint; - gasUsed?: bigint; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - codespace?: string; - }): _179.ResponseCheckTx; - fromSDK(object: _179.ResponseCheckTxSDKType): _179.ResponseCheckTx; - toSDK(message: _179.ResponseCheckTx): _179.ResponseCheckTxSDKType; - fromAmino(object: _179.ResponseCheckTxAmino): _179.ResponseCheckTx; - toAmino(message: _179.ResponseCheckTx): _179.ResponseCheckTxAmino; - fromAminoMsg(object: _179.ResponseCheckTxAminoMsg): _179.ResponseCheckTx; - fromProtoMsg(message: _179.ResponseCheckTxProtoMsg): _179.ResponseCheckTx; - toProto(message: _179.ResponseCheckTx): Uint8Array; - toProtoMsg(message: _179.ResponseCheckTx): _179.ResponseCheckTxProtoMsg; - }; - ResponseDeliverTx: { - typeUrl: string; - is(o: any): o is _179.ResponseDeliverTx; - isSDK(o: any): o is _179.ResponseDeliverTxSDKType; - isAmino(o: any): o is _179.ResponseDeliverTxAmino; - encode(message: _179.ResponseDeliverTx, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseDeliverTx; - fromJSON(object: any): _179.ResponseDeliverTx; - toJSON(message: _179.ResponseDeliverTx): unknown; - fromPartial(object: { - code?: number; - data?: Uint8Array; - log?: string; - info?: string; - gasWanted?: bigint; - gasUsed?: bigint; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - codespace?: string; - }): _179.ResponseDeliverTx; - fromSDK(object: _179.ResponseDeliverTxSDKType): _179.ResponseDeliverTx; - toSDK(message: _179.ResponseDeliverTx): _179.ResponseDeliverTxSDKType; - fromAmino(object: _179.ResponseDeliverTxAmino): _179.ResponseDeliverTx; - toAmino(message: _179.ResponseDeliverTx): _179.ResponseDeliverTxAmino; - fromAminoMsg(object: _179.ResponseDeliverTxAminoMsg): _179.ResponseDeliverTx; - fromProtoMsg(message: _179.ResponseDeliverTxProtoMsg): _179.ResponseDeliverTx; - toProto(message: _179.ResponseDeliverTx): Uint8Array; - toProtoMsg(message: _179.ResponseDeliverTx): _179.ResponseDeliverTxProtoMsg; - }; - ResponseEndBlock: { - typeUrl: string; - is(o: any): o is _179.ResponseEndBlock; - isSDK(o: any): o is _179.ResponseEndBlockSDKType; - isAmino(o: any): o is _179.ResponseEndBlockAmino; - encode(message: _179.ResponseEndBlock, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseEndBlock; - fromJSON(object: any): _179.ResponseEndBlock; - toJSON(message: _179.ResponseEndBlock): unknown; - fromPartial(object: { - validatorUpdates?: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - power?: bigint; - }[]; - consensusParamUpdates?: { - block?: { - maxBytes?: bigint; - maxGas?: bigint; - }; - evidence?: { - maxAgeNumBlocks?: bigint; - maxAgeDuration?: { - seconds?: bigint; - nanos?: number; - }; - maxBytes?: bigint; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: bigint; - }; - }; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }): _179.ResponseEndBlock; - fromSDK(object: _179.ResponseEndBlockSDKType): _179.ResponseEndBlock; - toSDK(message: _179.ResponseEndBlock): _179.ResponseEndBlockSDKType; - fromAmino(object: _179.ResponseEndBlockAmino): _179.ResponseEndBlock; - toAmino(message: _179.ResponseEndBlock): _179.ResponseEndBlockAmino; - fromAminoMsg(object: _179.ResponseEndBlockAminoMsg): _179.ResponseEndBlock; - fromProtoMsg(message: _179.ResponseEndBlockProtoMsg): _179.ResponseEndBlock; - toProto(message: _179.ResponseEndBlock): Uint8Array; - toProtoMsg(message: _179.ResponseEndBlock): _179.ResponseEndBlockProtoMsg; - }; - ResponseCommit: { - typeUrl: string; - is(o: any): o is _179.ResponseCommit; - isSDK(o: any): o is _179.ResponseCommitSDKType; - isAmino(o: any): o is _179.ResponseCommitAmino; - encode(message: _179.ResponseCommit, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseCommit; - fromJSON(object: any): _179.ResponseCommit; - toJSON(message: _179.ResponseCommit): unknown; - fromPartial(object: { - data?: Uint8Array; - retainHeight?: bigint; - }): _179.ResponseCommit; - fromSDK(object: _179.ResponseCommitSDKType): _179.ResponseCommit; - toSDK(message: _179.ResponseCommit): _179.ResponseCommitSDKType; - fromAmino(object: _179.ResponseCommitAmino): _179.ResponseCommit; - toAmino(message: _179.ResponseCommit): _179.ResponseCommitAmino; - fromAminoMsg(object: _179.ResponseCommitAminoMsg): _179.ResponseCommit; - fromProtoMsg(message: _179.ResponseCommitProtoMsg): _179.ResponseCommit; - toProto(message: _179.ResponseCommit): Uint8Array; - toProtoMsg(message: _179.ResponseCommit): _179.ResponseCommitProtoMsg; - }; - ResponseListSnapshots: { - typeUrl: string; - is(o: any): o is _179.ResponseListSnapshots; - isSDK(o: any): o is _179.ResponseListSnapshotsSDKType; - isAmino(o: any): o is _179.ResponseListSnapshotsAmino; - encode(message: _179.ResponseListSnapshots, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseListSnapshots; - fromJSON(object: any): _179.ResponseListSnapshots; - toJSON(message: _179.ResponseListSnapshots): unknown; - fromPartial(object: { - snapshots?: { - height?: bigint; - format?: number; - chunks?: number; - hash?: Uint8Array; - metadata?: Uint8Array; - }[]; - }): _179.ResponseListSnapshots; - fromSDK(object: _179.ResponseListSnapshotsSDKType): _179.ResponseListSnapshots; - toSDK(message: _179.ResponseListSnapshots): _179.ResponseListSnapshotsSDKType; - fromAmino(object: _179.ResponseListSnapshotsAmino): _179.ResponseListSnapshots; - toAmino(message: _179.ResponseListSnapshots): _179.ResponseListSnapshotsAmino; - fromAminoMsg(object: _179.ResponseListSnapshotsAminoMsg): _179.ResponseListSnapshots; - fromProtoMsg(message: _179.ResponseListSnapshotsProtoMsg): _179.ResponseListSnapshots; - toProto(message: _179.ResponseListSnapshots): Uint8Array; - toProtoMsg(message: _179.ResponseListSnapshots): _179.ResponseListSnapshotsProtoMsg; - }; - ResponseOfferSnapshot: { - typeUrl: string; - is(o: any): o is _179.ResponseOfferSnapshot; - isSDK(o: any): o is _179.ResponseOfferSnapshotSDKType; - isAmino(o: any): o is _179.ResponseOfferSnapshotAmino; - encode(message: _179.ResponseOfferSnapshot, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseOfferSnapshot; - fromJSON(object: any): _179.ResponseOfferSnapshot; - toJSON(message: _179.ResponseOfferSnapshot): unknown; - fromPartial(object: { - result?: _179.ResponseOfferSnapshot_Result; - }): _179.ResponseOfferSnapshot; - fromSDK(object: _179.ResponseOfferSnapshotSDKType): _179.ResponseOfferSnapshot; - toSDK(message: _179.ResponseOfferSnapshot): _179.ResponseOfferSnapshotSDKType; - fromAmino(object: _179.ResponseOfferSnapshotAmino): _179.ResponseOfferSnapshot; - toAmino(message: _179.ResponseOfferSnapshot): _179.ResponseOfferSnapshotAmino; - fromAminoMsg(object: _179.ResponseOfferSnapshotAminoMsg): _179.ResponseOfferSnapshot; - fromProtoMsg(message: _179.ResponseOfferSnapshotProtoMsg): _179.ResponseOfferSnapshot; - toProto(message: _179.ResponseOfferSnapshot): Uint8Array; - toProtoMsg(message: _179.ResponseOfferSnapshot): _179.ResponseOfferSnapshotProtoMsg; - }; - ResponseLoadSnapshotChunk: { - typeUrl: string; - is(o: any): o is _179.ResponseLoadSnapshotChunk; - isSDK(o: any): o is _179.ResponseLoadSnapshotChunkSDKType; - isAmino(o: any): o is _179.ResponseLoadSnapshotChunkAmino; - encode(message: _179.ResponseLoadSnapshotChunk, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseLoadSnapshotChunk; - fromJSON(object: any): _179.ResponseLoadSnapshotChunk; - toJSON(message: _179.ResponseLoadSnapshotChunk): unknown; - fromPartial(object: { - chunk?: Uint8Array; - }): _179.ResponseLoadSnapshotChunk; - fromSDK(object: _179.ResponseLoadSnapshotChunkSDKType): _179.ResponseLoadSnapshotChunk; - toSDK(message: _179.ResponseLoadSnapshotChunk): _179.ResponseLoadSnapshotChunkSDKType; - fromAmino(object: _179.ResponseLoadSnapshotChunkAmino): _179.ResponseLoadSnapshotChunk; - toAmino(message: _179.ResponseLoadSnapshotChunk): _179.ResponseLoadSnapshotChunkAmino; - fromAminoMsg(object: _179.ResponseLoadSnapshotChunkAminoMsg): _179.ResponseLoadSnapshotChunk; - fromProtoMsg(message: _179.ResponseLoadSnapshotChunkProtoMsg): _179.ResponseLoadSnapshotChunk; - toProto(message: _179.ResponseLoadSnapshotChunk): Uint8Array; - toProtoMsg(message: _179.ResponseLoadSnapshotChunk): _179.ResponseLoadSnapshotChunkProtoMsg; - }; - ResponseApplySnapshotChunk: { - typeUrl: string; - is(o: any): o is _179.ResponseApplySnapshotChunk; - isSDK(o: any): o is _179.ResponseApplySnapshotChunkSDKType; - isAmino(o: any): o is _179.ResponseApplySnapshotChunkAmino; - encode(message: _179.ResponseApplySnapshotChunk, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ResponseApplySnapshotChunk; - fromJSON(object: any): _179.ResponseApplySnapshotChunk; - toJSON(message: _179.ResponseApplySnapshotChunk): unknown; - fromPartial(object: { - result?: _179.ResponseApplySnapshotChunk_Result; - refetchChunks?: number[]; - rejectSenders?: string[]; - }): _179.ResponseApplySnapshotChunk; - fromSDK(object: _179.ResponseApplySnapshotChunkSDKType): _179.ResponseApplySnapshotChunk; - toSDK(message: _179.ResponseApplySnapshotChunk): _179.ResponseApplySnapshotChunkSDKType; - fromAmino(object: _179.ResponseApplySnapshotChunkAmino): _179.ResponseApplySnapshotChunk; - toAmino(message: _179.ResponseApplySnapshotChunk): _179.ResponseApplySnapshotChunkAmino; - fromAminoMsg(object: _179.ResponseApplySnapshotChunkAminoMsg): _179.ResponseApplySnapshotChunk; - fromProtoMsg(message: _179.ResponseApplySnapshotChunkProtoMsg): _179.ResponseApplySnapshotChunk; - toProto(message: _179.ResponseApplySnapshotChunk): Uint8Array; - toProtoMsg(message: _179.ResponseApplySnapshotChunk): _179.ResponseApplySnapshotChunkProtoMsg; - }; - ConsensusParams: { - typeUrl: string; - is(o: any): o is _179.ConsensusParams; - isSDK(o: any): o is _179.ConsensusParamsSDKType; - isAmino(o: any): o is _179.ConsensusParamsAmino; - encode(message: _179.ConsensusParams, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ConsensusParams; - fromJSON(object: any): _179.ConsensusParams; - toJSON(message: _179.ConsensusParams): unknown; - fromPartial(object: { - block?: { - maxBytes?: bigint; - maxGas?: bigint; - }; - evidence?: { - maxAgeNumBlocks?: bigint; - maxAgeDuration?: { - seconds?: bigint; - nanos?: number; - }; - maxBytes?: bigint; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: bigint; - }; - }): _179.ConsensusParams; - fromSDK(object: _179.ConsensusParamsSDKType): _179.ConsensusParams; - toSDK(message: _179.ConsensusParams): _179.ConsensusParamsSDKType; - fromAmino(object: _179.ConsensusParamsAmino): _179.ConsensusParams; - toAmino(message: _179.ConsensusParams): _179.ConsensusParamsAmino; - fromAminoMsg(object: _179.ConsensusParamsAminoMsg): _179.ConsensusParams; - fromProtoMsg(message: _179.ConsensusParamsProtoMsg): _179.ConsensusParams; - toProto(message: _179.ConsensusParams): Uint8Array; - toProtoMsg(message: _179.ConsensusParams): _179.ConsensusParamsProtoMsg; - }; - BlockParams: { - typeUrl: string; - is(o: any): o is _179.BlockParams; - isSDK(o: any): o is _179.BlockParamsSDKType; - isAmino(o: any): o is _179.BlockParamsAmino; - encode(message: _179.BlockParams, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.BlockParams; - fromJSON(object: any): _179.BlockParams; - toJSON(message: _179.BlockParams): unknown; - fromPartial(object: { - maxBytes?: bigint; - maxGas?: bigint; - }): _179.BlockParams; - fromSDK(object: _179.BlockParamsSDKType): _179.BlockParams; - toSDK(message: _179.BlockParams): _179.BlockParamsSDKType; - fromAmino(object: _179.BlockParamsAmino): _179.BlockParams; - toAmino(message: _179.BlockParams): _179.BlockParamsAmino; - fromAminoMsg(object: _179.BlockParamsAminoMsg): _179.BlockParams; - fromProtoMsg(message: _179.BlockParamsProtoMsg): _179.BlockParams; - toProto(message: _179.BlockParams): Uint8Array; - toProtoMsg(message: _179.BlockParams): _179.BlockParamsProtoMsg; - }; - LastCommitInfo: { - typeUrl: string; - is(o: any): o is _179.LastCommitInfo; - isSDK(o: any): o is _179.LastCommitInfoSDKType; - isAmino(o: any): o is _179.LastCommitInfoAmino; - encode(message: _179.LastCommitInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.LastCommitInfo; - fromJSON(object: any): _179.LastCommitInfo; - toJSON(message: _179.LastCommitInfo): unknown; - fromPartial(object: { - round?: number; - votes?: { - validator?: { - address?: Uint8Array; - power?: bigint; - }; - signedLastBlock?: boolean; - }[]; - }): _179.LastCommitInfo; - fromSDK(object: _179.LastCommitInfoSDKType): _179.LastCommitInfo; - toSDK(message: _179.LastCommitInfo): _179.LastCommitInfoSDKType; - fromAmino(object: _179.LastCommitInfoAmino): _179.LastCommitInfo; - toAmino(message: _179.LastCommitInfo): _179.LastCommitInfoAmino; - fromAminoMsg(object: _179.LastCommitInfoAminoMsg): _179.LastCommitInfo; - fromProtoMsg(message: _179.LastCommitInfoProtoMsg): _179.LastCommitInfo; - toProto(message: _179.LastCommitInfo): Uint8Array; - toProtoMsg(message: _179.LastCommitInfo): _179.LastCommitInfoProtoMsg; - }; - Event: { - typeUrl: string; - is(o: any): o is _179.Event; - isSDK(o: any): o is _179.EventSDKType; - isAmino(o: any): o is _179.EventAmino; - encode(message: _179.Event, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.Event; - fromJSON(object: any): _179.Event; - toJSON(message: _179.Event): unknown; - fromPartial(object: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }): _179.Event; - fromSDK(object: _179.EventSDKType): _179.Event; - toSDK(message: _179.Event): _179.EventSDKType; - fromAmino(object: _179.EventAmino): _179.Event; - toAmino(message: _179.Event): _179.EventAmino; - fromAminoMsg(object: _179.EventAminoMsg): _179.Event; - fromProtoMsg(message: _179.EventProtoMsg): _179.Event; - toProto(message: _179.Event): Uint8Array; - toProtoMsg(message: _179.Event): _179.EventProtoMsg; - }; - EventAttribute: { - typeUrl: string; - is(o: any): o is _179.EventAttribute; - isSDK(o: any): o is _179.EventAttributeSDKType; - isAmino(o: any): o is _179.EventAttributeAmino; - encode(message: _179.EventAttribute, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.EventAttribute; - fromJSON(object: any): _179.EventAttribute; - toJSON(message: _179.EventAttribute): unknown; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }): _179.EventAttribute; - fromSDK(object: _179.EventAttributeSDKType): _179.EventAttribute; - toSDK(message: _179.EventAttribute): _179.EventAttributeSDKType; - fromAmino(object: _179.EventAttributeAmino): _179.EventAttribute; - toAmino(message: _179.EventAttribute): _179.EventAttributeAmino; - fromAminoMsg(object: _179.EventAttributeAminoMsg): _179.EventAttribute; - fromProtoMsg(message: _179.EventAttributeProtoMsg): _179.EventAttribute; - toProto(message: _179.EventAttribute): Uint8Array; - toProtoMsg(message: _179.EventAttribute): _179.EventAttributeProtoMsg; - }; - TxResult: { - typeUrl: string; - is(o: any): o is _179.TxResult; - isSDK(o: any): o is _179.TxResultSDKType; - isAmino(o: any): o is _179.TxResultAmino; - encode(message: _179.TxResult, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.TxResult; - fromJSON(object: any): _179.TxResult; - toJSON(message: _179.TxResult): unknown; - fromPartial(object: { - height?: bigint; - index?: number; - tx?: Uint8Array; - result?: { - code?: number; - data?: Uint8Array; - log?: string; - info?: string; - gasWanted?: bigint; - gasUsed?: bigint; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - codespace?: string; - }; - }): _179.TxResult; - fromSDK(object: _179.TxResultSDKType): _179.TxResult; - toSDK(message: _179.TxResult): _179.TxResultSDKType; - fromAmino(object: _179.TxResultAmino): _179.TxResult; - toAmino(message: _179.TxResult): _179.TxResultAmino; - fromAminoMsg(object: _179.TxResultAminoMsg): _179.TxResult; - fromProtoMsg(message: _179.TxResultProtoMsg): _179.TxResult; - toProto(message: _179.TxResult): Uint8Array; - toProtoMsg(message: _179.TxResult): _179.TxResultProtoMsg; - }; - Validator: { - typeUrl: string; - is(o: any): o is _179.Validator; - isSDK(o: any): o is _179.ValidatorSDKType; - isAmino(o: any): o is _179.ValidatorAmino; - encode(message: _179.Validator, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.Validator; - fromJSON(object: any): _179.Validator; - toJSON(message: _179.Validator): unknown; - fromPartial(object: { - address?: Uint8Array; - power?: bigint; - }): _179.Validator; - fromSDK(object: _179.ValidatorSDKType): _179.Validator; - toSDK(message: _179.Validator): _179.ValidatorSDKType; - fromAmino(object: _179.ValidatorAmino): _179.Validator; - toAmino(message: _179.Validator): _179.ValidatorAmino; - fromAminoMsg(object: _179.ValidatorAminoMsg): _179.Validator; - fromProtoMsg(message: _179.ValidatorProtoMsg): _179.Validator; - toProto(message: _179.Validator): Uint8Array; - toProtoMsg(message: _179.Validator): _179.ValidatorProtoMsg; - }; - ValidatorUpdate: { - typeUrl: string; - is(o: any): o is _179.ValidatorUpdate; - isSDK(o: any): o is _179.ValidatorUpdateSDKType; - isAmino(o: any): o is _179.ValidatorUpdateAmino; - encode(message: _179.ValidatorUpdate, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.ValidatorUpdate; - fromJSON(object: any): _179.ValidatorUpdate; - toJSON(message: _179.ValidatorUpdate): unknown; - fromPartial(object: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - power?: bigint; - }): _179.ValidatorUpdate; - fromSDK(object: _179.ValidatorUpdateSDKType): _179.ValidatorUpdate; - toSDK(message: _179.ValidatorUpdate): _179.ValidatorUpdateSDKType; - fromAmino(object: _179.ValidatorUpdateAmino): _179.ValidatorUpdate; - toAmino(message: _179.ValidatorUpdate): _179.ValidatorUpdateAmino; - fromAminoMsg(object: _179.ValidatorUpdateAminoMsg): _179.ValidatorUpdate; - fromProtoMsg(message: _179.ValidatorUpdateProtoMsg): _179.ValidatorUpdate; - toProto(message: _179.ValidatorUpdate): Uint8Array; - toProtoMsg(message: _179.ValidatorUpdate): _179.ValidatorUpdateProtoMsg; - }; - VoteInfo: { - typeUrl: string; - is(o: any): o is _179.VoteInfo; - isSDK(o: any): o is _179.VoteInfoSDKType; - isAmino(o: any): o is _179.VoteInfoAmino; - encode(message: _179.VoteInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.VoteInfo; - fromJSON(object: any): _179.VoteInfo; - toJSON(message: _179.VoteInfo): unknown; - fromPartial(object: { - validator?: { - address?: Uint8Array; - power?: bigint; - }; - signedLastBlock?: boolean; - }): _179.VoteInfo; - fromSDK(object: _179.VoteInfoSDKType): _179.VoteInfo; - toSDK(message: _179.VoteInfo): _179.VoteInfoSDKType; - fromAmino(object: _179.VoteInfoAmino): _179.VoteInfo; - toAmino(message: _179.VoteInfo): _179.VoteInfoAmino; - fromAminoMsg(object: _179.VoteInfoAminoMsg): _179.VoteInfo; - fromProtoMsg(message: _179.VoteInfoProtoMsg): _179.VoteInfo; - toProto(message: _179.VoteInfo): Uint8Array; - toProtoMsg(message: _179.VoteInfo): _179.VoteInfoProtoMsg; - }; - Evidence: { - typeUrl: string; - is(o: any): o is _179.Evidence; - isSDK(o: any): o is _179.EvidenceSDKType; - isAmino(o: any): o is _179.EvidenceAmino; - encode(message: _179.Evidence, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.Evidence; - fromJSON(object: any): _179.Evidence; - toJSON(message: _179.Evidence): unknown; - fromPartial(object: { - type?: _179.EvidenceType; - validator?: { - address?: Uint8Array; - power?: bigint; - }; - height?: bigint; - time?: Date; - totalVotingPower?: bigint; - }): _179.Evidence; - fromSDK(object: _179.EvidenceSDKType): _179.Evidence; - toSDK(message: _179.Evidence): _179.EvidenceSDKType; - fromAmino(object: _179.EvidenceAmino): _179.Evidence; - toAmino(message: _179.Evidence): _179.EvidenceAmino; - fromAminoMsg(object: _179.EvidenceAminoMsg): _179.Evidence; - fromProtoMsg(message: _179.EvidenceProtoMsg): _179.Evidence; - toProto(message: _179.Evidence): Uint8Array; - toProtoMsg(message: _179.Evidence): _179.EvidenceProtoMsg; - }; - Snapshot: { - typeUrl: string; - is(o: any): o is _179.Snapshot; - isSDK(o: any): o is _179.SnapshotSDKType; - isAmino(o: any): o is _179.SnapshotAmino; - encode(message: _179.Snapshot, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _179.Snapshot; - fromJSON(object: any): _179.Snapshot; - toJSON(message: _179.Snapshot): unknown; - fromPartial(object: { - height?: bigint; - format?: number; - chunks?: number; - hash?: Uint8Array; - metadata?: Uint8Array; - }): _179.Snapshot; - fromSDK(object: _179.SnapshotSDKType): _179.Snapshot; - toSDK(message: _179.Snapshot): _179.SnapshotSDKType; - fromAmino(object: _179.SnapshotAmino): _179.Snapshot; - toAmino(message: _179.Snapshot): _179.SnapshotAmino; - fromAminoMsg(object: _179.SnapshotAminoMsg): _179.Snapshot; - fromProtoMsg(message: _179.SnapshotProtoMsg): _179.Snapshot; - toProto(message: _179.Snapshot): Uint8Array; - toProtoMsg(message: _179.Snapshot): _179.SnapshotProtoMsg; - }; - }; - const crypto: { - Proof: { - typeUrl: string; - is(o: any): o is _181.Proof; - isSDK(o: any): o is _181.ProofSDKType; - isAmino(o: any): o is _181.ProofAmino; - encode(message: _181.Proof, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _181.Proof; - fromJSON(object: any): _181.Proof; - toJSON(message: _181.Proof): unknown; - fromPartial(object: { - total?: bigint; - index?: bigint; - leafHash?: Uint8Array; - aunts?: Uint8Array[]; - }): _181.Proof; - fromSDK(object: _181.ProofSDKType): _181.Proof; - toSDK(message: _181.Proof): _181.ProofSDKType; - fromAmino(object: _181.ProofAmino): _181.Proof; - toAmino(message: _181.Proof): _181.ProofAmino; - fromAminoMsg(object: _181.ProofAminoMsg): _181.Proof; - fromProtoMsg(message: _181.ProofProtoMsg): _181.Proof; - toProto(message: _181.Proof): Uint8Array; - toProtoMsg(message: _181.Proof): _181.ProofProtoMsg; - }; - ValueOp: { - typeUrl: string; - is(o: any): o is _181.ValueOp; - isSDK(o: any): o is _181.ValueOpSDKType; - isAmino(o: any): o is _181.ValueOpAmino; - encode(message: _181.ValueOp, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _181.ValueOp; - fromJSON(object: any): _181.ValueOp; - toJSON(message: _181.ValueOp): unknown; - fromPartial(object: { - key?: Uint8Array; - proof?: { - total?: bigint; - index?: bigint; - leafHash?: Uint8Array; - aunts?: Uint8Array[]; - }; - }): _181.ValueOp; - fromSDK(object: _181.ValueOpSDKType): _181.ValueOp; - toSDK(message: _181.ValueOp): _181.ValueOpSDKType; - fromAmino(object: _181.ValueOpAmino): _181.ValueOp; - toAmino(message: _181.ValueOp): _181.ValueOpAmino; - fromAminoMsg(object: _181.ValueOpAminoMsg): _181.ValueOp; - fromProtoMsg(message: _181.ValueOpProtoMsg): _181.ValueOp; - toProto(message: _181.ValueOp): Uint8Array; - toProtoMsg(message: _181.ValueOp): _181.ValueOpProtoMsg; - }; - DominoOp: { - typeUrl: string; - is(o: any): o is _181.DominoOp; - isSDK(o: any): o is _181.DominoOpSDKType; - isAmino(o: any): o is _181.DominoOpAmino; - encode(message: _181.DominoOp, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _181.DominoOp; - fromJSON(object: any): _181.DominoOp; - toJSON(message: _181.DominoOp): unknown; - fromPartial(object: { - key?: string; - input?: string; - output?: string; - }): _181.DominoOp; - fromSDK(object: _181.DominoOpSDKType): _181.DominoOp; - toSDK(message: _181.DominoOp): _181.DominoOpSDKType; - fromAmino(object: _181.DominoOpAmino): _181.DominoOp; - toAmino(message: _181.DominoOp): _181.DominoOpAmino; - fromAminoMsg(object: _181.DominoOpAminoMsg): _181.DominoOp; - fromProtoMsg(message: _181.DominoOpProtoMsg): _181.DominoOp; - toProto(message: _181.DominoOp): Uint8Array; - toProtoMsg(message: _181.DominoOp): _181.DominoOpProtoMsg; - }; - ProofOp: { - typeUrl: string; - is(o: any): o is _181.ProofOp; - isSDK(o: any): o is _181.ProofOpSDKType; - isAmino(o: any): o is _181.ProofOpAmino; - encode(message: _181.ProofOp, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _181.ProofOp; - fromJSON(object: any): _181.ProofOp; - toJSON(message: _181.ProofOp): unknown; - fromPartial(object: { - type?: string; - key?: Uint8Array; - data?: Uint8Array; - }): _181.ProofOp; - fromSDK(object: _181.ProofOpSDKType): _181.ProofOp; - toSDK(message: _181.ProofOp): _181.ProofOpSDKType; - fromAmino(object: _181.ProofOpAmino): _181.ProofOp; - toAmino(message: _181.ProofOp): _181.ProofOpAmino; - fromAminoMsg(object: _181.ProofOpAminoMsg): _181.ProofOp; - fromProtoMsg(message: _181.ProofOpProtoMsg): _181.ProofOp; - toProto(message: _181.ProofOp): Uint8Array; - toProtoMsg(message: _181.ProofOp): _181.ProofOpProtoMsg; - }; - ProofOps: { - typeUrl: string; - is(o: any): o is _181.ProofOps; - isSDK(o: any): o is _181.ProofOpsSDKType; - isAmino(o: any): o is _181.ProofOpsAmino; - encode(message: _181.ProofOps, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _181.ProofOps; - fromJSON(object: any): _181.ProofOps; - toJSON(message: _181.ProofOps): unknown; - fromPartial(object: { - ops?: { - type?: string; - key?: Uint8Array; - data?: Uint8Array; - }[]; - }): _181.ProofOps; - fromSDK(object: _181.ProofOpsSDKType): _181.ProofOps; - toSDK(message: _181.ProofOps): _181.ProofOpsSDKType; - fromAmino(object: _181.ProofOpsAmino): _181.ProofOps; - toAmino(message: _181.ProofOps): _181.ProofOpsAmino; - fromAminoMsg(object: _181.ProofOpsAminoMsg): _181.ProofOps; - fromProtoMsg(message: _181.ProofOpsProtoMsg): _181.ProofOps; - toProto(message: _181.ProofOps): Uint8Array; - toProtoMsg(message: _181.ProofOps): _181.ProofOpsProtoMsg; - }; - PublicKey: { - typeUrl: string; - is(o: any): o is _180.PublicKey; - isSDK(o: any): o is _180.PublicKeySDKType; - isAmino(o: any): o is _180.PublicKeyAmino; - encode(message: _180.PublicKey, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _180.PublicKey; - fromJSON(object: any): _180.PublicKey; - toJSON(message: _180.PublicKey): unknown; - fromPartial(object: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }): _180.PublicKey; - fromSDK(object: _180.PublicKeySDKType): _180.PublicKey; - toSDK(message: _180.PublicKey): _180.PublicKeySDKType; - fromAmino(object: _180.PublicKeyAmino): _180.PublicKey; - toAmino(message: _180.PublicKey): _180.PublicKeyAmino; - fromAminoMsg(object: _180.PublicKeyAminoMsg): _180.PublicKey; - fromProtoMsg(message: _180.PublicKeyProtoMsg): _180.PublicKey; - toProto(message: _180.PublicKey): Uint8Array; - toProtoMsg(message: _180.PublicKey): _180.PublicKeyProtoMsg; - }; - }; - namespace libs { - const bits: { - BitArray: { - typeUrl: string; - is(o: any): o is _182.BitArray; - isSDK(o: any): o is _182.BitArraySDKType; - isAmino(o: any): o is _182.BitArrayAmino; - encode(message: _182.BitArray, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _182.BitArray; - fromJSON(object: any): _182.BitArray; - toJSON(message: _182.BitArray): unknown; - fromPartial(object: { - bits?: bigint; - elems?: bigint[]; - }): _182.BitArray; - fromSDK(object: _182.BitArraySDKType): _182.BitArray; - toSDK(message: _182.BitArray): _182.BitArraySDKType; - fromAmino(object: _182.BitArrayAmino): _182.BitArray; - toAmino(message: _182.BitArray): _182.BitArrayAmino; - fromAminoMsg(object: _182.BitArrayAminoMsg): _182.BitArray; - fromProtoMsg(message: _182.BitArrayProtoMsg): _182.BitArray; - toProto(message: _182.BitArray): Uint8Array; - toProtoMsg(message: _182.BitArray): _182.BitArrayProtoMsg; - }; - }; - } - const p2p: { - ProtocolVersion: { - typeUrl: string; - is(o: any): o is _183.ProtocolVersion; - isSDK(o: any): o is _183.ProtocolVersionSDKType; - isAmino(o: any): o is _183.ProtocolVersionAmino; - encode(message: _183.ProtocolVersion, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _183.ProtocolVersion; - fromJSON(object: any): _183.ProtocolVersion; - toJSON(message: _183.ProtocolVersion): unknown; - fromPartial(object: { - p2p?: bigint; - block?: bigint; - app?: bigint; - }): _183.ProtocolVersion; - fromSDK(object: _183.ProtocolVersionSDKType): _183.ProtocolVersion; - toSDK(message: _183.ProtocolVersion): _183.ProtocolVersionSDKType; - fromAmino(object: _183.ProtocolVersionAmino): _183.ProtocolVersion; - toAmino(message: _183.ProtocolVersion): _183.ProtocolVersionAmino; - fromAminoMsg(object: _183.ProtocolVersionAminoMsg): _183.ProtocolVersion; - fromProtoMsg(message: _183.ProtocolVersionProtoMsg): _183.ProtocolVersion; - toProto(message: _183.ProtocolVersion): Uint8Array; - toProtoMsg(message: _183.ProtocolVersion): _183.ProtocolVersionProtoMsg; - }; - NodeInfo: { - typeUrl: string; - is(o: any): o is _183.NodeInfo; - isSDK(o: any): o is _183.NodeInfoSDKType; - isAmino(o: any): o is _183.NodeInfoAmino; - encode(message: _183.NodeInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _183.NodeInfo; - fromJSON(object: any): _183.NodeInfo; - toJSON(message: _183.NodeInfo): unknown; - fromPartial(object: { - protocolVersion?: { - p2p?: bigint; - block?: bigint; - app?: bigint; - }; - nodeId?: string; - listenAddr?: string; - network?: string; - version?: string; - channels?: Uint8Array; - moniker?: string; - other?: { - txIndex?: string; - rpcAddress?: string; - }; - }): _183.NodeInfo; - fromSDK(object: _183.NodeInfoSDKType): _183.NodeInfo; - toSDK(message: _183.NodeInfo): _183.NodeInfoSDKType; - fromAmino(object: _183.NodeInfoAmino): _183.NodeInfo; - toAmino(message: _183.NodeInfo): _183.NodeInfoAmino; - fromAminoMsg(object: _183.NodeInfoAminoMsg): _183.NodeInfo; - fromProtoMsg(message: _183.NodeInfoProtoMsg): _183.NodeInfo; - toProto(message: _183.NodeInfo): Uint8Array; - toProtoMsg(message: _183.NodeInfo): _183.NodeInfoProtoMsg; - }; - NodeInfoOther: { - typeUrl: string; - is(o: any): o is _183.NodeInfoOther; - isSDK(o: any): o is _183.NodeInfoOtherSDKType; - isAmino(o: any): o is _183.NodeInfoOtherAmino; - encode(message: _183.NodeInfoOther, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _183.NodeInfoOther; - fromJSON(object: any): _183.NodeInfoOther; - toJSON(message: _183.NodeInfoOther): unknown; - fromPartial(object: { - txIndex?: string; - rpcAddress?: string; - }): _183.NodeInfoOther; - fromSDK(object: _183.NodeInfoOtherSDKType): _183.NodeInfoOther; - toSDK(message: _183.NodeInfoOther): _183.NodeInfoOtherSDKType; - fromAmino(object: _183.NodeInfoOtherAmino): _183.NodeInfoOther; - toAmino(message: _183.NodeInfoOther): _183.NodeInfoOtherAmino; - fromAminoMsg(object: _183.NodeInfoOtherAminoMsg): _183.NodeInfoOther; - fromProtoMsg(message: _183.NodeInfoOtherProtoMsg): _183.NodeInfoOther; - toProto(message: _183.NodeInfoOther): Uint8Array; - toProtoMsg(message: _183.NodeInfoOther): _183.NodeInfoOtherProtoMsg; - }; - PeerInfo: { - typeUrl: string; - is(o: any): o is _183.PeerInfo; - isSDK(o: any): o is _183.PeerInfoSDKType; - isAmino(o: any): o is _183.PeerInfoAmino; - encode(message: _183.PeerInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _183.PeerInfo; - fromJSON(object: any): _183.PeerInfo; - toJSON(message: _183.PeerInfo): unknown; - fromPartial(object: { - id?: string; - addressInfo?: { - address?: string; - lastDialSuccess?: Date; - lastDialFailure?: Date; - dialFailures?: number; - }[]; - lastConnected?: Date; - }): _183.PeerInfo; - fromSDK(object: _183.PeerInfoSDKType): _183.PeerInfo; - toSDK(message: _183.PeerInfo): _183.PeerInfoSDKType; - fromAmino(object: _183.PeerInfoAmino): _183.PeerInfo; - toAmino(message: _183.PeerInfo): _183.PeerInfoAmino; - fromAminoMsg(object: _183.PeerInfoAminoMsg): _183.PeerInfo; - fromProtoMsg(message: _183.PeerInfoProtoMsg): _183.PeerInfo; - toProto(message: _183.PeerInfo): Uint8Array; - toProtoMsg(message: _183.PeerInfo): _183.PeerInfoProtoMsg; - }; - PeerAddressInfo: { - typeUrl: string; - is(o: any): o is _183.PeerAddressInfo; - isSDK(o: any): o is _183.PeerAddressInfoSDKType; - isAmino(o: any): o is _183.PeerAddressInfoAmino; - encode(message: _183.PeerAddressInfo, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _183.PeerAddressInfo; - fromJSON(object: any): _183.PeerAddressInfo; - toJSON(message: _183.PeerAddressInfo): unknown; - fromPartial(object: { - address?: string; - lastDialSuccess?: Date; - lastDialFailure?: Date; - dialFailures?: number; - }): _183.PeerAddressInfo; - fromSDK(object: _183.PeerAddressInfoSDKType): _183.PeerAddressInfo; - toSDK(message: _183.PeerAddressInfo): _183.PeerAddressInfoSDKType; - fromAmino(object: _183.PeerAddressInfoAmino): _183.PeerAddressInfo; - toAmino(message: _183.PeerAddressInfo): _183.PeerAddressInfoAmino; - fromAminoMsg(object: _183.PeerAddressInfoAminoMsg): _183.PeerAddressInfo; - fromProtoMsg(message: _183.PeerAddressInfoProtoMsg): _183.PeerAddressInfo; - toProto(message: _183.PeerAddressInfo): Uint8Array; - toProtoMsg(message: _183.PeerAddressInfo): _183.PeerAddressInfoProtoMsg; - }; - }; - const types: { - ValidatorSet: { - typeUrl: string; - is(o: any): o is _188.ValidatorSet; - isSDK(o: any): o is _188.ValidatorSetSDKType; - isAmino(o: any): o is _188.ValidatorSetAmino; - encode(message: _188.ValidatorSet, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _188.ValidatorSet; - fromJSON(object: any): _188.ValidatorSet; - toJSON(message: _188.ValidatorSet): unknown; - fromPartial(object: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }; - totalVotingPower?: bigint; - }): _188.ValidatorSet; - fromSDK(object: _188.ValidatorSetSDKType): _188.ValidatorSet; - toSDK(message: _188.ValidatorSet): _188.ValidatorSetSDKType; - fromAmino(object: _188.ValidatorSetAmino): _188.ValidatorSet; - toAmino(message: _188.ValidatorSet): _188.ValidatorSetAmino; - fromAminoMsg(object: _188.ValidatorSetAminoMsg): _188.ValidatorSet; - fromProtoMsg(message: _188.ValidatorSetProtoMsg): _188.ValidatorSet; - toProto(message: _188.ValidatorSet): Uint8Array; - toProtoMsg(message: _188.ValidatorSet): _188.ValidatorSetProtoMsg; - }; - Validator: { - typeUrl: string; - is(o: any): o is _188.Validator; - isSDK(o: any): o is _188.ValidatorSDKType; - isAmino(o: any): o is _188.ValidatorAmino; - encode(message: _188.Validator, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _188.Validator; - fromJSON(object: any): _188.Validator; - toJSON(message: _188.Validator): unknown; - fromPartial(object: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }): _188.Validator; - fromSDK(object: _188.ValidatorSDKType): _188.Validator; - toSDK(message: _188.Validator): _188.ValidatorSDKType; - fromAmino(object: _188.ValidatorAmino): _188.Validator; - toAmino(message: _188.Validator): _188.ValidatorAmino; - fromAminoMsg(object: _188.ValidatorAminoMsg): _188.Validator; - fromProtoMsg(message: _188.ValidatorProtoMsg): _188.Validator; - toProto(message: _188.Validator): Uint8Array; - toProtoMsg(message: _188.Validator): _188.ValidatorProtoMsg; - }; - SimpleValidator: { - typeUrl: string; - is(o: any): o is _188.SimpleValidator; - isSDK(o: any): o is _188.SimpleValidatorSDKType; - isAmino(o: any): o is _188.SimpleValidatorAmino; - encode(message: _188.SimpleValidator, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _188.SimpleValidator; - fromJSON(object: any): _188.SimpleValidator; - toJSON(message: _188.SimpleValidator): unknown; - fromPartial(object: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - }): _188.SimpleValidator; - fromSDK(object: _188.SimpleValidatorSDKType): _188.SimpleValidator; - toSDK(message: _188.SimpleValidator): _188.SimpleValidatorSDKType; - fromAmino(object: _188.SimpleValidatorAmino): _188.SimpleValidator; - toAmino(message: _188.SimpleValidator): _188.SimpleValidatorAmino; - fromAminoMsg(object: _188.SimpleValidatorAminoMsg): _188.SimpleValidator; - fromProtoMsg(message: _188.SimpleValidatorProtoMsg): _188.SimpleValidator; - toProto(message: _188.SimpleValidator): Uint8Array; - toProtoMsg(message: _188.SimpleValidator): _188.SimpleValidatorProtoMsg; - }; - blockIDFlagFromJSON(object: any): _187.BlockIDFlag; - blockIDFlagToJSON(object: _187.BlockIDFlag): string; - signedMsgTypeFromJSON(object: any): _187.SignedMsgType; - signedMsgTypeToJSON(object: _187.SignedMsgType): string; - BlockIDFlag: typeof _187.BlockIDFlag; - BlockIDFlagSDKType: typeof _187.BlockIDFlag; - BlockIDFlagAmino: typeof _187.BlockIDFlag; - SignedMsgType: typeof _187.SignedMsgType; - SignedMsgTypeSDKType: typeof _187.SignedMsgType; - SignedMsgTypeAmino: typeof _187.SignedMsgType; - PartSetHeader: { - typeUrl: string; - is(o: any): o is _187.PartSetHeader; - isSDK(o: any): o is _187.PartSetHeaderSDKType; - isAmino(o: any): o is _187.PartSetHeaderAmino; - encode(message: _187.PartSetHeader, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _187.PartSetHeader; - fromJSON(object: any): _187.PartSetHeader; - toJSON(message: _187.PartSetHeader): unknown; - fromPartial(object: { - total?: number; - hash?: Uint8Array; - }): _187.PartSetHeader; - fromSDK(object: _187.PartSetHeaderSDKType): _187.PartSetHeader; - toSDK(message: _187.PartSetHeader): _187.PartSetHeaderSDKType; - fromAmino(object: _187.PartSetHeaderAmino): _187.PartSetHeader; - toAmino(message: _187.PartSetHeader): _187.PartSetHeaderAmino; - fromAminoMsg(object: _187.PartSetHeaderAminoMsg): _187.PartSetHeader; - fromProtoMsg(message: _187.PartSetHeaderProtoMsg): _187.PartSetHeader; - toProto(message: _187.PartSetHeader): Uint8Array; - toProtoMsg(message: _187.PartSetHeader): _187.PartSetHeaderProtoMsg; - }; - Part: { - typeUrl: string; - is(o: any): o is _187.Part; - isSDK(o: any): o is _187.PartSDKType; - isAmino(o: any): o is _187.PartAmino; - encode(message: _187.Part, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _187.Part; - fromJSON(object: any): _187.Part; - toJSON(message: _187.Part): unknown; - fromPartial(object: { - index?: number; - bytes?: Uint8Array; - proof?: { - total?: bigint; - index?: bigint; - leafHash?: Uint8Array; - aunts?: Uint8Array[]; - }; - }): _187.Part; - fromSDK(object: _187.PartSDKType): _187.Part; - toSDK(message: _187.Part): _187.PartSDKType; - fromAmino(object: _187.PartAmino): _187.Part; - toAmino(message: _187.Part): _187.PartAmino; - fromAminoMsg(object: _187.PartAminoMsg): _187.Part; - fromProtoMsg(message: _187.PartProtoMsg): _187.Part; - toProto(message: _187.Part): Uint8Array; - toProtoMsg(message: _187.Part): _187.PartProtoMsg; - }; - BlockID: { - typeUrl: string; - is(o: any): o is _187.BlockID; - isSDK(o: any): o is _187.BlockIDSDKType; - isAmino(o: any): o is _187.BlockIDAmino; - encode(message: _187.BlockID, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _187.BlockID; - fromJSON(object: any): _187.BlockID; - toJSON(message: _187.BlockID): unknown; - fromPartial(object: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }): _187.BlockID; - fromSDK(object: _187.BlockIDSDKType): _187.BlockID; - toSDK(message: _187.BlockID): _187.BlockIDSDKType; - fromAmino(object: _187.BlockIDAmino): _187.BlockID; - toAmino(message: _187.BlockID): _187.BlockIDAmino; - fromAminoMsg(object: _187.BlockIDAminoMsg): _187.BlockID; - fromProtoMsg(message: _187.BlockIDProtoMsg): _187.BlockID; - toProto(message: _187.BlockID): Uint8Array; - toProtoMsg(message: _187.BlockID): _187.BlockIDProtoMsg; - }; - Header: { - typeUrl: string; - is(o: any): o is _187.Header; - isSDK(o: any): o is _187.HeaderSDKType; - isAmino(o: any): o is _187.HeaderAmino; - encode(message: _187.Header, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _187.Header; - fromJSON(object: any): _187.Header; - toJSON(message: _187.Header): unknown; - fromPartial(object: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }): _187.Header; - fromSDK(object: _187.HeaderSDKType): _187.Header; - toSDK(message: _187.Header): _187.HeaderSDKType; - fromAmino(object: _187.HeaderAmino): _187.Header; - toAmino(message: _187.Header): _187.HeaderAmino; - fromAminoMsg(object: _187.HeaderAminoMsg): _187.Header; - fromProtoMsg(message: _187.HeaderProtoMsg): _187.Header; - toProto(message: _187.Header): Uint8Array; - toProtoMsg(message: _187.Header): _187.HeaderProtoMsg; - }; - Data: { - typeUrl: string; - is(o: any): o is _187.Data; - isSDK(o: any): o is _187.DataSDKType; - isAmino(o: any): o is _187.DataAmino; - encode(message: _187.Data, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _187.Data; - fromJSON(object: any): _187.Data; - toJSON(message: _187.Data): unknown; - fromPartial(object: { - txs?: Uint8Array[]; - }): _187.Data; - fromSDK(object: _187.DataSDKType): _187.Data; - toSDK(message: _187.Data): _187.DataSDKType; - fromAmino(object: _187.DataAmino): _187.Data; - toAmino(message: _187.Data): _187.DataAmino; - fromAminoMsg(object: _187.DataAminoMsg): _187.Data; - fromProtoMsg(message: _187.DataProtoMsg): _187.Data; - toProto(message: _187.Data): Uint8Array; - toProtoMsg(message: _187.Data): _187.DataProtoMsg; - }; - Vote: { - typeUrl: string; - is(o: any): o is _187.Vote; - isSDK(o: any): o is _187.VoteSDKType; - isAmino(o: any): o is _187.VoteAmino; - encode(message: _187.Vote, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _187.Vote; - fromJSON(object: any): _187.Vote; - toJSON(message: _187.Vote): unknown; - fromPartial(object: { - type?: _187.SignedMsgType; - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }): _187.Vote; - fromSDK(object: _187.VoteSDKType): _187.Vote; - toSDK(message: _187.Vote): _187.VoteSDKType; - fromAmino(object: _187.VoteAmino): _187.Vote; - toAmino(message: _187.Vote): _187.VoteAmino; - fromAminoMsg(object: _187.VoteAminoMsg): _187.Vote; - fromProtoMsg(message: _187.VoteProtoMsg): _187.Vote; - toProto(message: _187.Vote): Uint8Array; - toProtoMsg(message: _187.Vote): _187.VoteProtoMsg; - }; - Commit: { - typeUrl: string; - is(o: any): o is _187.Commit; - isSDK(o: any): o is _187.CommitSDKType; - isAmino(o: any): o is _187.CommitAmino; - encode(message: _187.Commit, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _187.Commit; - fromJSON(object: any): _187.Commit; - toJSON(message: _187.Commit): unknown; - fromPartial(object: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _187.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }): _187.Commit; - fromSDK(object: _187.CommitSDKType): _187.Commit; - toSDK(message: _187.Commit): _187.CommitSDKType; - fromAmino(object: _187.CommitAmino): _187.Commit; - toAmino(message: _187.Commit): _187.CommitAmino; - fromAminoMsg(object: _187.CommitAminoMsg): _187.Commit; - fromProtoMsg(message: _187.CommitProtoMsg): _187.Commit; - toProto(message: _187.Commit): Uint8Array; - toProtoMsg(message: _187.Commit): _187.CommitProtoMsg; - }; - CommitSig: { - typeUrl: string; - is(o: any): o is _187.CommitSig; - isSDK(o: any): o is _187.CommitSigSDKType; - isAmino(o: any): o is _187.CommitSigAmino; - encode(message: _187.CommitSig, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _187.CommitSig; - fromJSON(object: any): _187.CommitSig; - toJSON(message: _187.CommitSig): unknown; - fromPartial(object: { - blockIdFlag?: _187.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }): _187.CommitSig; - fromSDK(object: _187.CommitSigSDKType): _187.CommitSig; - toSDK(message: _187.CommitSig): _187.CommitSigSDKType; - fromAmino(object: _187.CommitSigAmino): _187.CommitSig; - toAmino(message: _187.CommitSig): _187.CommitSigAmino; - fromAminoMsg(object: _187.CommitSigAminoMsg): _187.CommitSig; - fromProtoMsg(message: _187.CommitSigProtoMsg): _187.CommitSig; - toProto(message: _187.CommitSig): Uint8Array; - toProtoMsg(message: _187.CommitSig): _187.CommitSigProtoMsg; - }; - Proposal: { - typeUrl: string; - is(o: any): o is _187.Proposal; - isSDK(o: any): o is _187.ProposalSDKType; - isAmino(o: any): o is _187.ProposalAmino; - encode(message: _187.Proposal, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _187.Proposal; - fromJSON(object: any): _187.Proposal; - toJSON(message: _187.Proposal): unknown; - fromPartial(object: { - type?: _187.SignedMsgType; - height?: bigint; - round?: number; - polRound?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - signature?: Uint8Array; - }): _187.Proposal; - fromSDK(object: _187.ProposalSDKType): _187.Proposal; - toSDK(message: _187.Proposal): _187.ProposalSDKType; - fromAmino(object: _187.ProposalAmino): _187.Proposal; - toAmino(message: _187.Proposal): _187.ProposalAmino; - fromAminoMsg(object: _187.ProposalAminoMsg): _187.Proposal; - fromProtoMsg(message: _187.ProposalProtoMsg): _187.Proposal; - toProto(message: _187.Proposal): Uint8Array; - toProtoMsg(message: _187.Proposal): _187.ProposalProtoMsg; - }; - SignedHeader: { - typeUrl: string; - is(o: any): o is _187.SignedHeader; - isSDK(o: any): o is _187.SignedHeaderSDKType; - isAmino(o: any): o is _187.SignedHeaderAmino; - encode(message: _187.SignedHeader, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _187.SignedHeader; - fromJSON(object: any): _187.SignedHeader; - toJSON(message: _187.SignedHeader): unknown; - fromPartial(object: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _187.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }): _187.SignedHeader; - fromSDK(object: _187.SignedHeaderSDKType): _187.SignedHeader; - toSDK(message: _187.SignedHeader): _187.SignedHeaderSDKType; - fromAmino(object: _187.SignedHeaderAmino): _187.SignedHeader; - toAmino(message: _187.SignedHeader): _187.SignedHeaderAmino; - fromAminoMsg(object: _187.SignedHeaderAminoMsg): _187.SignedHeader; - fromProtoMsg(message: _187.SignedHeaderProtoMsg): _187.SignedHeader; - toProto(message: _187.SignedHeader): Uint8Array; - toProtoMsg(message: _187.SignedHeader): _187.SignedHeaderProtoMsg; - }; - LightBlock: { - typeUrl: string; - is(o: any): o is _187.LightBlock; - isSDK(o: any): o is _187.LightBlockSDKType; - isAmino(o: any): o is _187.LightBlockAmino; - encode(message: _187.LightBlock, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _187.LightBlock; - fromJSON(object: any): _187.LightBlock; - toJSON(message: _187.LightBlock): unknown; - fromPartial(object: { - signedHeader?: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _187.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }; - totalVotingPower?: bigint; - }; - }): _187.LightBlock; - fromSDK(object: _187.LightBlockSDKType): _187.LightBlock; - toSDK(message: _187.LightBlock): _187.LightBlockSDKType; - fromAmino(object: _187.LightBlockAmino): _187.LightBlock; - toAmino(message: _187.LightBlock): _187.LightBlockAmino; - fromAminoMsg(object: _187.LightBlockAminoMsg): _187.LightBlock; - fromProtoMsg(message: _187.LightBlockProtoMsg): _187.LightBlock; - toProto(message: _187.LightBlock): Uint8Array; - toProtoMsg(message: _187.LightBlock): _187.LightBlockProtoMsg; - }; - BlockMeta: { - typeUrl: string; - is(o: any): o is _187.BlockMeta; - isSDK(o: any): o is _187.BlockMetaSDKType; - isAmino(o: any): o is _187.BlockMetaAmino; - encode(message: _187.BlockMeta, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _187.BlockMeta; - fromJSON(object: any): _187.BlockMeta; - toJSON(message: _187.BlockMeta): unknown; - fromPartial(object: { - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - blockSize?: bigint; - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - numTxs?: bigint; - }): _187.BlockMeta; - fromSDK(object: _187.BlockMetaSDKType): _187.BlockMeta; - toSDK(message: _187.BlockMeta): _187.BlockMetaSDKType; - fromAmino(object: _187.BlockMetaAmino): _187.BlockMeta; - toAmino(message: _187.BlockMeta): _187.BlockMetaAmino; - fromAminoMsg(object: _187.BlockMetaAminoMsg): _187.BlockMeta; - fromProtoMsg(message: _187.BlockMetaProtoMsg): _187.BlockMeta; - toProto(message: _187.BlockMeta): Uint8Array; - toProtoMsg(message: _187.BlockMeta): _187.BlockMetaProtoMsg; - }; - TxProof: { - typeUrl: string; - is(o: any): o is _187.TxProof; - isSDK(o: any): o is _187.TxProofSDKType; - isAmino(o: any): o is _187.TxProofAmino; - encode(message: _187.TxProof, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _187.TxProof; - fromJSON(object: any): _187.TxProof; - toJSON(message: _187.TxProof): unknown; - fromPartial(object: { - rootHash?: Uint8Array; - data?: Uint8Array; - proof?: { - total?: bigint; - index?: bigint; - leafHash?: Uint8Array; - aunts?: Uint8Array[]; - }; - }): _187.TxProof; - fromSDK(object: _187.TxProofSDKType): _187.TxProof; - toSDK(message: _187.TxProof): _187.TxProofSDKType; - fromAmino(object: _187.TxProofAmino): _187.TxProof; - toAmino(message: _187.TxProof): _187.TxProofAmino; - fromAminoMsg(object: _187.TxProofAminoMsg): _187.TxProof; - fromProtoMsg(message: _187.TxProofProtoMsg): _187.TxProof; - toProto(message: _187.TxProof): Uint8Array; - toProtoMsg(message: _187.TxProof): _187.TxProofProtoMsg; - }; - ConsensusParams: { - typeUrl: string; - is(o: any): o is _186.ConsensusParams; - isSDK(o: any): o is _186.ConsensusParamsSDKType; - isAmino(o: any): o is _186.ConsensusParamsAmino; - encode(message: _186.ConsensusParams, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _186.ConsensusParams; - fromJSON(object: any): _186.ConsensusParams; - toJSON(message: _186.ConsensusParams): unknown; - fromPartial(object: { - block?: { - maxBytes?: bigint; - maxGas?: bigint; - timeIotaMs?: bigint; - }; - evidence?: { - maxAgeNumBlocks?: bigint; - maxAgeDuration?: { - seconds?: bigint; - nanos?: number; - }; - maxBytes?: bigint; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: bigint; - }; - }): _186.ConsensusParams; - fromSDK(object: _186.ConsensusParamsSDKType): _186.ConsensusParams; - toSDK(message: _186.ConsensusParams): _186.ConsensusParamsSDKType; - fromAmino(object: _186.ConsensusParamsAmino): _186.ConsensusParams; - toAmino(message: _186.ConsensusParams): _186.ConsensusParamsAmino; - fromAminoMsg(object: _186.ConsensusParamsAminoMsg): _186.ConsensusParams; - fromProtoMsg(message: _186.ConsensusParamsProtoMsg): _186.ConsensusParams; - toProto(message: _186.ConsensusParams): Uint8Array; - toProtoMsg(message: _186.ConsensusParams): _186.ConsensusParamsProtoMsg; - }; - BlockParams: { - typeUrl: string; - is(o: any): o is _186.BlockParams; - isSDK(o: any): o is _186.BlockParamsSDKType; - isAmino(o: any): o is _186.BlockParamsAmino; - encode(message: _186.BlockParams, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _186.BlockParams; - fromJSON(object: any): _186.BlockParams; - toJSON(message: _186.BlockParams): unknown; - fromPartial(object: { - maxBytes?: bigint; - maxGas?: bigint; - timeIotaMs?: bigint; - }): _186.BlockParams; - fromSDK(object: _186.BlockParamsSDKType): _186.BlockParams; - toSDK(message: _186.BlockParams): _186.BlockParamsSDKType; - fromAmino(object: _186.BlockParamsAmino): _186.BlockParams; - toAmino(message: _186.BlockParams): _186.BlockParamsAmino; - fromAminoMsg(object: _186.BlockParamsAminoMsg): _186.BlockParams; - fromProtoMsg(message: _186.BlockParamsProtoMsg): _186.BlockParams; - toProto(message: _186.BlockParams): Uint8Array; - toProtoMsg(message: _186.BlockParams): _186.BlockParamsProtoMsg; - }; - EvidenceParams: { - typeUrl: string; - is(o: any): o is _186.EvidenceParams; - isSDK(o: any): o is _186.EvidenceParamsSDKType; - isAmino(o: any): o is _186.EvidenceParamsAmino; - encode(message: _186.EvidenceParams, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _186.EvidenceParams; - fromJSON(object: any): _186.EvidenceParams; - toJSON(message: _186.EvidenceParams): unknown; - fromPartial(object: { - maxAgeNumBlocks?: bigint; - maxAgeDuration?: { - seconds?: bigint; - nanos?: number; - }; - maxBytes?: bigint; - }): _186.EvidenceParams; - fromSDK(object: _186.EvidenceParamsSDKType): _186.EvidenceParams; - toSDK(message: _186.EvidenceParams): _186.EvidenceParamsSDKType; - fromAmino(object: _186.EvidenceParamsAmino): _186.EvidenceParams; - toAmino(message: _186.EvidenceParams): _186.EvidenceParamsAmino; - fromAminoMsg(object: _186.EvidenceParamsAminoMsg): _186.EvidenceParams; - fromProtoMsg(message: _186.EvidenceParamsProtoMsg): _186.EvidenceParams; - toProto(message: _186.EvidenceParams): Uint8Array; - toProtoMsg(message: _186.EvidenceParams): _186.EvidenceParamsProtoMsg; - }; - ValidatorParams: { - typeUrl: string; - is(o: any): o is _186.ValidatorParams; - isSDK(o: any): o is _186.ValidatorParamsSDKType; - isAmino(o: any): o is _186.ValidatorParamsAmino; - encode(message: _186.ValidatorParams, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _186.ValidatorParams; - fromJSON(object: any): _186.ValidatorParams; - toJSON(message: _186.ValidatorParams): unknown; - fromPartial(object: { - pubKeyTypes?: string[]; - }): _186.ValidatorParams; - fromSDK(object: _186.ValidatorParamsSDKType): _186.ValidatorParams; - toSDK(message: _186.ValidatorParams): _186.ValidatorParamsSDKType; - fromAmino(object: _186.ValidatorParamsAmino): _186.ValidatorParams; - toAmino(message: _186.ValidatorParams): _186.ValidatorParamsAmino; - fromAminoMsg(object: _186.ValidatorParamsAminoMsg): _186.ValidatorParams; - fromProtoMsg(message: _186.ValidatorParamsProtoMsg): _186.ValidatorParams; - toProto(message: _186.ValidatorParams): Uint8Array; - toProtoMsg(message: _186.ValidatorParams): _186.ValidatorParamsProtoMsg; - }; - VersionParams: { - typeUrl: string; - is(o: any): o is _186.VersionParams; - isSDK(o: any): o is _186.VersionParamsSDKType; - isAmino(o: any): o is _186.VersionParamsAmino; - encode(message: _186.VersionParams, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _186.VersionParams; - fromJSON(object: any): _186.VersionParams; - toJSON(message: _186.VersionParams): unknown; - fromPartial(object: { - appVersion?: bigint; - }): _186.VersionParams; - fromSDK(object: _186.VersionParamsSDKType): _186.VersionParams; - toSDK(message: _186.VersionParams): _186.VersionParamsSDKType; - fromAmino(object: _186.VersionParamsAmino): _186.VersionParams; - toAmino(message: _186.VersionParams): _186.VersionParamsAmino; - fromAminoMsg(object: _186.VersionParamsAminoMsg): _186.VersionParams; - fromProtoMsg(message: _186.VersionParamsProtoMsg): _186.VersionParams; - toProto(message: _186.VersionParams): Uint8Array; - toProtoMsg(message: _186.VersionParams): _186.VersionParamsProtoMsg; - }; - HashedParams: { - typeUrl: string; - is(o: any): o is _186.HashedParams; - isSDK(o: any): o is _186.HashedParamsSDKType; - isAmino(o: any): o is _186.HashedParamsAmino; - encode(message: _186.HashedParams, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _186.HashedParams; - fromJSON(object: any): _186.HashedParams; - toJSON(message: _186.HashedParams): unknown; - fromPartial(object: { - blockMaxBytes?: bigint; - blockMaxGas?: bigint; - }): _186.HashedParams; - fromSDK(object: _186.HashedParamsSDKType): _186.HashedParams; - toSDK(message: _186.HashedParams): _186.HashedParamsSDKType; - fromAmino(object: _186.HashedParamsAmino): _186.HashedParams; - toAmino(message: _186.HashedParams): _186.HashedParamsAmino; - fromAminoMsg(object: _186.HashedParamsAminoMsg): _186.HashedParams; - fromProtoMsg(message: _186.HashedParamsProtoMsg): _186.HashedParams; - toProto(message: _186.HashedParams): Uint8Array; - toProtoMsg(message: _186.HashedParams): _186.HashedParamsProtoMsg; - }; - Evidence: { - typeUrl: string; - is(o: any): o is _185.Evidence; - isSDK(o: any): o is _185.EvidenceSDKType; - isAmino(o: any): o is _185.EvidenceAmino; - encode(message: _185.Evidence, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _185.Evidence; - fromJSON(object: any): _185.Evidence; - toJSON(message: _185.Evidence): unknown; - fromPartial(object: { - duplicateVoteEvidence?: { - voteA?: { - type?: _187.SignedMsgType; - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - voteB?: { - type?: _187.SignedMsgType; - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - totalVotingPower?: bigint; - validatorPower?: bigint; - timestamp?: Date; - }; - lightClientAttackEvidence?: { - conflictingBlock?: { - signedHeader?: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _187.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }; - totalVotingPower?: bigint; - }; - }; - commonHeight?: bigint; - byzantineValidators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - totalVotingPower?: bigint; - timestamp?: Date; - }; - }): _185.Evidence; - fromSDK(object: _185.EvidenceSDKType): _185.Evidence; - toSDK(message: _185.Evidence): _185.EvidenceSDKType; - fromAmino(object: _185.EvidenceAmino): _185.Evidence; - toAmino(message: _185.Evidence): _185.EvidenceAmino; - fromAminoMsg(object: _185.EvidenceAminoMsg): _185.Evidence; - fromProtoMsg(message: _185.EvidenceProtoMsg): _185.Evidence; - toProto(message: _185.Evidence): Uint8Array; - toProtoMsg(message: _185.Evidence): _185.EvidenceProtoMsg; - }; - DuplicateVoteEvidence: { - typeUrl: string; - is(o: any): o is _185.DuplicateVoteEvidence; - isSDK(o: any): o is _185.DuplicateVoteEvidenceSDKType; - isAmino(o: any): o is _185.DuplicateVoteEvidenceAmino; - encode(message: _185.DuplicateVoteEvidence, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _185.DuplicateVoteEvidence; - fromJSON(object: any): _185.DuplicateVoteEvidence; - toJSON(message: _185.DuplicateVoteEvidence): unknown; - fromPartial(object: { - voteA?: { - type?: _187.SignedMsgType; - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - voteB?: { - type?: _187.SignedMsgType; - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - totalVotingPower?: bigint; - validatorPower?: bigint; - timestamp?: Date; - }): _185.DuplicateVoteEvidence; - fromSDK(object: _185.DuplicateVoteEvidenceSDKType): _185.DuplicateVoteEvidence; - toSDK(message: _185.DuplicateVoteEvidence): _185.DuplicateVoteEvidenceSDKType; - fromAmino(object: _185.DuplicateVoteEvidenceAmino): _185.DuplicateVoteEvidence; - toAmino(message: _185.DuplicateVoteEvidence): _185.DuplicateVoteEvidenceAmino; - fromAminoMsg(object: _185.DuplicateVoteEvidenceAminoMsg): _185.DuplicateVoteEvidence; - fromProtoMsg(message: _185.DuplicateVoteEvidenceProtoMsg): _185.DuplicateVoteEvidence; - toProto(message: _185.DuplicateVoteEvidence): Uint8Array; - toProtoMsg(message: _185.DuplicateVoteEvidence): _185.DuplicateVoteEvidenceProtoMsg; - }; - LightClientAttackEvidence: { - typeUrl: string; - is(o: any): o is _185.LightClientAttackEvidence; - isSDK(o: any): o is _185.LightClientAttackEvidenceSDKType; - isAmino(o: any): o is _185.LightClientAttackEvidenceAmino; - encode(message: _185.LightClientAttackEvidence, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _185.LightClientAttackEvidence; - fromJSON(object: any): _185.LightClientAttackEvidence; - toJSON(message: _185.LightClientAttackEvidence): unknown; - fromPartial(object: { - conflictingBlock?: { - signedHeader?: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _187.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }; - totalVotingPower?: bigint; - }; - }; - commonHeight?: bigint; - byzantineValidators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - totalVotingPower?: bigint; - timestamp?: Date; - }): _185.LightClientAttackEvidence; - fromSDK(object: _185.LightClientAttackEvidenceSDKType): _185.LightClientAttackEvidence; - toSDK(message: _185.LightClientAttackEvidence): _185.LightClientAttackEvidenceSDKType; - fromAmino(object: _185.LightClientAttackEvidenceAmino): _185.LightClientAttackEvidence; - toAmino(message: _185.LightClientAttackEvidence): _185.LightClientAttackEvidenceAmino; - fromAminoMsg(object: _185.LightClientAttackEvidenceAminoMsg): _185.LightClientAttackEvidence; - fromProtoMsg(message: _185.LightClientAttackEvidenceProtoMsg): _185.LightClientAttackEvidence; - toProto(message: _185.LightClientAttackEvidence): Uint8Array; - toProtoMsg(message: _185.LightClientAttackEvidence): _185.LightClientAttackEvidenceProtoMsg; - }; - EvidenceList: { - typeUrl: string; - is(o: any): o is _185.EvidenceList; - isSDK(o: any): o is _185.EvidenceListSDKType; - isAmino(o: any): o is _185.EvidenceListAmino; - encode(message: _185.EvidenceList, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _185.EvidenceList; - fromJSON(object: any): _185.EvidenceList; - toJSON(message: _185.EvidenceList): unknown; - fromPartial(object: { - evidence?: { - duplicateVoteEvidence?: { - voteA?: { - type?: _187.SignedMsgType; - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - voteB?: { - type?: _187.SignedMsgType; - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - totalVotingPower?: bigint; - validatorPower?: bigint; - timestamp?: Date; - }; - lightClientAttackEvidence?: { - conflictingBlock?: { - signedHeader?: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _187.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }; - totalVotingPower?: bigint; - }; - }; - commonHeight?: bigint; - byzantineValidators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - totalVotingPower?: bigint; - timestamp?: Date; - }; - }[]; - }): _185.EvidenceList; - fromSDK(object: _185.EvidenceListSDKType): _185.EvidenceList; - toSDK(message: _185.EvidenceList): _185.EvidenceListSDKType; - fromAmino(object: _185.EvidenceListAmino): _185.EvidenceList; - toAmino(message: _185.EvidenceList): _185.EvidenceListAmino; - fromAminoMsg(object: _185.EvidenceListAminoMsg): _185.EvidenceList; - fromProtoMsg(message: _185.EvidenceListProtoMsg): _185.EvidenceList; - toProto(message: _185.EvidenceList): Uint8Array; - toProtoMsg(message: _185.EvidenceList): _185.EvidenceListProtoMsg; - }; - Block: { - typeUrl: string; - is(o: any): o is _184.Block; - isSDK(o: any): o is _184.BlockSDKType; - isAmino(o: any): o is _184.BlockAmino; - encode(message: _184.Block, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _184.Block; - fromJSON(object: any): _184.Block; - toJSON(message: _184.Block): unknown; - fromPartial(object: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - data?: { - txs?: Uint8Array[]; - }; - evidence?: { - evidence?: { - duplicateVoteEvidence?: { - voteA?: { - type?: _187.SignedMsgType; - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - voteB?: { - type?: _187.SignedMsgType; - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - totalVotingPower?: bigint; - validatorPower?: bigint; - timestamp?: Date; - }; - lightClientAttackEvidence?: { - conflictingBlock?: { - signedHeader?: { - header?: { - version?: { - block?: bigint; - app?: bigint; - }; - chainId?: string; - height?: bigint; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _187.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }; - totalVotingPower?: bigint; - }; - }; - commonHeight?: bigint; - byzantineValidators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: bigint; - proposerPriority?: bigint; - }[]; - totalVotingPower?: bigint; - timestamp?: Date; - }; - }[]; - }; - lastCommit?: { - height?: bigint; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _187.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }): _184.Block; - fromSDK(object: _184.BlockSDKType): _184.Block; - toSDK(message: _184.Block): _184.BlockSDKType; - fromAmino(object: _184.BlockAmino): _184.Block; - toAmino(message: _184.Block): _184.BlockAmino; - fromAminoMsg(object: _184.BlockAminoMsg): _184.Block; - fromProtoMsg(message: _184.BlockProtoMsg): _184.Block; - toProto(message: _184.Block): Uint8Array; - toProtoMsg(message: _184.Block): _184.BlockProtoMsg; - }; - }; - const version: { - App: { - typeUrl: string; - is(o: any): o is _189.App; - isSDK(o: any): o is _189.AppSDKType; - isAmino(o: any): o is _189.AppAmino; - encode(message: _189.App, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _189.App; - fromJSON(object: any): _189.App; - toJSON(message: _189.App): unknown; - fromPartial(object: { - protocol?: bigint; - software?: string; - }): _189.App; - fromSDK(object: _189.AppSDKType): _189.App; - toSDK(message: _189.App): _189.AppSDKType; - fromAmino(object: _189.AppAmino): _189.App; - toAmino(message: _189.App): _189.AppAmino; - fromAminoMsg(object: _189.AppAminoMsg): _189.App; - fromProtoMsg(message: _189.AppProtoMsg): _189.App; - toProto(message: _189.App): Uint8Array; - toProtoMsg(message: _189.App): _189.AppProtoMsg; - }; - Consensus: { - typeUrl: string; - is(o: any): o is _189.Consensus; - isSDK(o: any): o is _189.ConsensusSDKType; - isAmino(o: any): o is _189.ConsensusAmino; - encode(message: _189.Consensus, writer?: import("..").BinaryWriter): import("..").BinaryWriter; - decode(input: Uint8Array | import("..").BinaryReader, length?: number): _189.Consensus; - fromJSON(object: any): _189.Consensus; - toJSON(message: _189.Consensus): unknown; - fromPartial(object: { - block?: bigint; - app?: bigint; - }): _189.Consensus; - fromSDK(object: _189.ConsensusSDKType): _189.Consensus; - toSDK(message: _189.Consensus): _189.ConsensusSDKType; - fromAmino(object: _189.ConsensusAmino): _189.Consensus; - toAmino(message: _189.Consensus): _189.ConsensusAmino; - fromAminoMsg(object: _189.ConsensusAminoMsg): _189.Consensus; - fromProtoMsg(message: _189.ConsensusProtoMsg): _189.Consensus; - toProto(message: _189.Consensus): Uint8Array; - toProtoMsg(message: _189.Consensus): _189.ConsensusProtoMsg; - }; - }; -} diff --git a/examples/authz/types/codegen/tendermint/crypto/keys.d.ts b/examples/authz/types/codegen/tendermint/crypto/keys.d.ts deleted file mode 100644 index 50c878ec..00000000 --- a/examples/authz/types/codegen/tendermint/crypto/keys.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** PublicKey defines the keys available for use with Tendermint Validators */ -export interface PublicKey { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; -} -export interface PublicKeyProtoMsg { - typeUrl: "/tendermint.crypto.PublicKey"; - value: Uint8Array; -} -/** PublicKey defines the keys available for use with Tendermint Validators */ -export interface PublicKeyAmino { - ed25519?: string; - secp256k1?: string; -} -export interface PublicKeyAminoMsg { - type: "/tendermint.crypto.PublicKey"; - value: PublicKeyAmino; -} -/** PublicKey defines the keys available for use with Tendermint Validators */ -export interface PublicKeySDKType { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; -} -export declare const PublicKey: { - typeUrl: string; - is(o: any): o is PublicKey; - isSDK(o: any): o is PublicKeySDKType; - isAmino(o: any): o is PublicKeyAmino; - encode(message: PublicKey, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PublicKey; - fromJSON(object: any): PublicKey; - toJSON(message: PublicKey): unknown; - fromPartial(object: DeepPartial): PublicKey; - fromSDK(object: PublicKeySDKType): PublicKey; - toSDK(message: PublicKey): PublicKeySDKType; - fromAmino(object: PublicKeyAmino): PublicKey; - toAmino(message: PublicKey): PublicKeyAmino; - fromAminoMsg(object: PublicKeyAminoMsg): PublicKey; - fromProtoMsg(message: PublicKeyProtoMsg): PublicKey; - toProto(message: PublicKey): Uint8Array; - toProtoMsg(message: PublicKey): PublicKeyProtoMsg; -}; diff --git a/examples/authz/types/codegen/tendermint/crypto/proof.d.ts b/examples/authz/types/codegen/tendermint/crypto/proof.d.ts deleted file mode 100644 index 30d20a79..00000000 --- a/examples/authz/types/codegen/tendermint/crypto/proof.d.ts +++ /dev/null @@ -1,228 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -export interface Proof { - total: bigint; - index: bigint; - leafHash: Uint8Array; - aunts: Uint8Array[]; -} -export interface ProofProtoMsg { - typeUrl: "/tendermint.crypto.Proof"; - value: Uint8Array; -} -export interface ProofAmino { - total?: string; - index?: string; - leaf_hash?: string; - aunts?: string[]; -} -export interface ProofAminoMsg { - type: "/tendermint.crypto.Proof"; - value: ProofAmino; -} -export interface ProofSDKType { - total: bigint; - index: bigint; - leaf_hash: Uint8Array; - aunts: Uint8Array[]; -} -export interface ValueOp { - /** Encoded in ProofOp.Key. */ - key: Uint8Array; - /** To encode in ProofOp.Data */ - proof?: Proof | undefined; -} -export interface ValueOpProtoMsg { - typeUrl: "/tendermint.crypto.ValueOp"; - value: Uint8Array; -} -export interface ValueOpAmino { - /** Encoded in ProofOp.Key. */ - key?: string; - /** To encode in ProofOp.Data */ - proof?: ProofAmino | undefined; -} -export interface ValueOpAminoMsg { - type: "/tendermint.crypto.ValueOp"; - value: ValueOpAmino; -} -export interface ValueOpSDKType { - key: Uint8Array; - proof?: ProofSDKType | undefined; -} -export interface DominoOp { - key: string; - input: string; - output: string; -} -export interface DominoOpProtoMsg { - typeUrl: "/tendermint.crypto.DominoOp"; - value: Uint8Array; -} -export interface DominoOpAmino { - key?: string; - input?: string; - output?: string; -} -export interface DominoOpAminoMsg { - type: "/tendermint.crypto.DominoOp"; - value: DominoOpAmino; -} -export interface DominoOpSDKType { - key: string; - input: string; - output: string; -} -/** - * ProofOp defines an operation used for calculating Merkle root - * The data could be arbitrary format, providing nessecary data - * for example neighbouring node hash - */ -export interface ProofOp { - type: string; - key: Uint8Array; - data: Uint8Array; -} -export interface ProofOpProtoMsg { - typeUrl: "/tendermint.crypto.ProofOp"; - value: Uint8Array; -} -/** - * ProofOp defines an operation used for calculating Merkle root - * The data could be arbitrary format, providing nessecary data - * for example neighbouring node hash - */ -export interface ProofOpAmino { - type?: string; - key?: string; - data?: string; -} -export interface ProofOpAminoMsg { - type: "/tendermint.crypto.ProofOp"; - value: ProofOpAmino; -} -/** - * ProofOp defines an operation used for calculating Merkle root - * The data could be arbitrary format, providing nessecary data - * for example neighbouring node hash - */ -export interface ProofOpSDKType { - type: string; - key: Uint8Array; - data: Uint8Array; -} -/** ProofOps is Merkle proof defined by the list of ProofOps */ -export interface ProofOps { - ops: ProofOp[]; -} -export interface ProofOpsProtoMsg { - typeUrl: "/tendermint.crypto.ProofOps"; - value: Uint8Array; -} -/** ProofOps is Merkle proof defined by the list of ProofOps */ -export interface ProofOpsAmino { - ops?: ProofOpAmino[]; -} -export interface ProofOpsAminoMsg { - type: "/tendermint.crypto.ProofOps"; - value: ProofOpsAmino; -} -/** ProofOps is Merkle proof defined by the list of ProofOps */ -export interface ProofOpsSDKType { - ops: ProofOpSDKType[]; -} -export declare const Proof: { - typeUrl: string; - is(o: any): o is Proof; - isSDK(o: any): o is ProofSDKType; - isAmino(o: any): o is ProofAmino; - encode(message: Proof, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Proof; - fromJSON(object: any): Proof; - toJSON(message: Proof): unknown; - fromPartial(object: DeepPartial): Proof; - fromSDK(object: ProofSDKType): Proof; - toSDK(message: Proof): ProofSDKType; - fromAmino(object: ProofAmino): Proof; - toAmino(message: Proof): ProofAmino; - fromAminoMsg(object: ProofAminoMsg): Proof; - fromProtoMsg(message: ProofProtoMsg): Proof; - toProto(message: Proof): Uint8Array; - toProtoMsg(message: Proof): ProofProtoMsg; -}; -export declare const ValueOp: { - typeUrl: string; - is(o: any): o is ValueOp; - isSDK(o: any): o is ValueOpSDKType; - isAmino(o: any): o is ValueOpAmino; - encode(message: ValueOp, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValueOp; - fromJSON(object: any): ValueOp; - toJSON(message: ValueOp): unknown; - fromPartial(object: DeepPartial): ValueOp; - fromSDK(object: ValueOpSDKType): ValueOp; - toSDK(message: ValueOp): ValueOpSDKType; - fromAmino(object: ValueOpAmino): ValueOp; - toAmino(message: ValueOp): ValueOpAmino; - fromAminoMsg(object: ValueOpAminoMsg): ValueOp; - fromProtoMsg(message: ValueOpProtoMsg): ValueOp; - toProto(message: ValueOp): Uint8Array; - toProtoMsg(message: ValueOp): ValueOpProtoMsg; -}; -export declare const DominoOp: { - typeUrl: string; - is(o: any): o is DominoOp; - isSDK(o: any): o is DominoOpSDKType; - isAmino(o: any): o is DominoOpAmino; - encode(message: DominoOp, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DominoOp; - fromJSON(object: any): DominoOp; - toJSON(message: DominoOp): unknown; - fromPartial(object: DeepPartial): DominoOp; - fromSDK(object: DominoOpSDKType): DominoOp; - toSDK(message: DominoOp): DominoOpSDKType; - fromAmino(object: DominoOpAmino): DominoOp; - toAmino(message: DominoOp): DominoOpAmino; - fromAminoMsg(object: DominoOpAminoMsg): DominoOp; - fromProtoMsg(message: DominoOpProtoMsg): DominoOp; - toProto(message: DominoOp): Uint8Array; - toProtoMsg(message: DominoOp): DominoOpProtoMsg; -}; -export declare const ProofOp: { - typeUrl: string; - is(o: any): o is ProofOp; - isSDK(o: any): o is ProofOpSDKType; - isAmino(o: any): o is ProofOpAmino; - encode(message: ProofOp, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ProofOp; - fromJSON(object: any): ProofOp; - toJSON(message: ProofOp): unknown; - fromPartial(object: DeepPartial): ProofOp; - fromSDK(object: ProofOpSDKType): ProofOp; - toSDK(message: ProofOp): ProofOpSDKType; - fromAmino(object: ProofOpAmino): ProofOp; - toAmino(message: ProofOp): ProofOpAmino; - fromAminoMsg(object: ProofOpAminoMsg): ProofOp; - fromProtoMsg(message: ProofOpProtoMsg): ProofOp; - toProto(message: ProofOp): Uint8Array; - toProtoMsg(message: ProofOp): ProofOpProtoMsg; -}; -export declare const ProofOps: { - typeUrl: string; - is(o: any): o is ProofOps; - isSDK(o: any): o is ProofOpsSDKType; - isAmino(o: any): o is ProofOpsAmino; - encode(message: ProofOps, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ProofOps; - fromJSON(object: any): ProofOps; - toJSON(message: ProofOps): unknown; - fromPartial(object: DeepPartial): ProofOps; - fromSDK(object: ProofOpsSDKType): ProofOps; - toSDK(message: ProofOps): ProofOpsSDKType; - fromAmino(object: ProofOpsAmino): ProofOps; - toAmino(message: ProofOps): ProofOpsAmino; - fromAminoMsg(object: ProofOpsAminoMsg): ProofOps; - fromProtoMsg(message: ProofOpsProtoMsg): ProofOps; - toProto(message: ProofOps): Uint8Array; - toProtoMsg(message: ProofOps): ProofOpsProtoMsg; -}; diff --git a/examples/authz/types/codegen/tendermint/libs/bits/types.d.ts b/examples/authz/types/codegen/tendermint/libs/bits/types.d.ts deleted file mode 100644 index 9de1552a..00000000 --- a/examples/authz/types/codegen/tendermint/libs/bits/types.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../../binary"; -import { DeepPartial } from "../../../helpers"; -export interface BitArray { - bits: bigint; - elems: bigint[]; -} -export interface BitArrayProtoMsg { - typeUrl: "/tendermint.libs.bits.BitArray"; - value: Uint8Array; -} -export interface BitArrayAmino { - bits?: string; - elems?: string[]; -} -export interface BitArrayAminoMsg { - type: "/tendermint.libs.bits.BitArray"; - value: BitArrayAmino; -} -export interface BitArraySDKType { - bits: bigint; - elems: bigint[]; -} -export declare const BitArray: { - typeUrl: string; - is(o: any): o is BitArray; - isSDK(o: any): o is BitArraySDKType; - isAmino(o: any): o is BitArrayAmino; - encode(message: BitArray, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): BitArray; - fromJSON(object: any): BitArray; - toJSON(message: BitArray): unknown; - fromPartial(object: DeepPartial): BitArray; - fromSDK(object: BitArraySDKType): BitArray; - toSDK(message: BitArray): BitArraySDKType; - fromAmino(object: BitArrayAmino): BitArray; - toAmino(message: BitArray): BitArrayAmino; - fromAminoMsg(object: BitArrayAminoMsg): BitArray; - fromProtoMsg(message: BitArrayProtoMsg): BitArray; - toProto(message: BitArray): Uint8Array; - toProtoMsg(message: BitArray): BitArrayProtoMsg; -}; diff --git a/examples/authz/types/codegen/tendermint/p2p/types.d.ts b/examples/authz/types/codegen/tendermint/p2p/types.d.ts deleted file mode 100644 index c094d770..00000000 --- a/examples/authz/types/codegen/tendermint/p2p/types.d.ts +++ /dev/null @@ -1,227 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -export interface ProtocolVersion { - p2p: bigint; - block: bigint; - app: bigint; -} -export interface ProtocolVersionProtoMsg { - typeUrl: "/tendermint.p2p.ProtocolVersion"; - value: Uint8Array; -} -export interface ProtocolVersionAmino { - p2p?: string; - block?: string; - app?: string; -} -export interface ProtocolVersionAminoMsg { - type: "/tendermint.p2p.ProtocolVersion"; - value: ProtocolVersionAmino; -} -export interface ProtocolVersionSDKType { - p2p: bigint; - block: bigint; - app: bigint; -} -export interface NodeInfo { - protocolVersion: ProtocolVersion | undefined; - nodeId: string; - listenAddr: string; - network: string; - version: string; - channels: Uint8Array; - moniker: string; - other: NodeInfoOther | undefined; -} -export interface NodeInfoProtoMsg { - typeUrl: "/tendermint.p2p.NodeInfo"; - value: Uint8Array; -} -export interface NodeInfoAmino { - protocol_version?: ProtocolVersionAmino | undefined; - node_id?: string; - listen_addr?: string; - network?: string; - version?: string; - channels?: string; - moniker?: string; - other?: NodeInfoOtherAmino | undefined; -} -export interface NodeInfoAminoMsg { - type: "/tendermint.p2p.NodeInfo"; - value: NodeInfoAmino; -} -export interface NodeInfoSDKType { - protocol_version: ProtocolVersionSDKType | undefined; - node_id: string; - listen_addr: string; - network: string; - version: string; - channels: Uint8Array; - moniker: string; - other: NodeInfoOtherSDKType | undefined; -} -export interface NodeInfoOther { - txIndex: string; - rpcAddress: string; -} -export interface NodeInfoOtherProtoMsg { - typeUrl: "/tendermint.p2p.NodeInfoOther"; - value: Uint8Array; -} -export interface NodeInfoOtherAmino { - tx_index?: string; - rpc_address?: string; -} -export interface NodeInfoOtherAminoMsg { - type: "/tendermint.p2p.NodeInfoOther"; - value: NodeInfoOtherAmino; -} -export interface NodeInfoOtherSDKType { - tx_index: string; - rpc_address: string; -} -export interface PeerInfo { - id: string; - addressInfo: PeerAddressInfo[]; - lastConnected?: Date | undefined; -} -export interface PeerInfoProtoMsg { - typeUrl: "/tendermint.p2p.PeerInfo"; - value: Uint8Array; -} -export interface PeerInfoAmino { - id?: string; - address_info?: PeerAddressInfoAmino[]; - last_connected?: string | undefined; -} -export interface PeerInfoAminoMsg { - type: "/tendermint.p2p.PeerInfo"; - value: PeerInfoAmino; -} -export interface PeerInfoSDKType { - id: string; - address_info: PeerAddressInfoSDKType[]; - last_connected?: Date | undefined; -} -export interface PeerAddressInfo { - address: string; - lastDialSuccess?: Date | undefined; - lastDialFailure?: Date | undefined; - dialFailures: number; -} -export interface PeerAddressInfoProtoMsg { - typeUrl: "/tendermint.p2p.PeerAddressInfo"; - value: Uint8Array; -} -export interface PeerAddressInfoAmino { - address?: string; - last_dial_success?: string | undefined; - last_dial_failure?: string | undefined; - dial_failures?: number; -} -export interface PeerAddressInfoAminoMsg { - type: "/tendermint.p2p.PeerAddressInfo"; - value: PeerAddressInfoAmino; -} -export interface PeerAddressInfoSDKType { - address: string; - last_dial_success?: Date | undefined; - last_dial_failure?: Date | undefined; - dial_failures: number; -} -export declare const ProtocolVersion: { - typeUrl: string; - is(o: any): o is ProtocolVersion; - isSDK(o: any): o is ProtocolVersionSDKType; - isAmino(o: any): o is ProtocolVersionAmino; - encode(message: ProtocolVersion, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ProtocolVersion; - fromJSON(object: any): ProtocolVersion; - toJSON(message: ProtocolVersion): unknown; - fromPartial(object: DeepPartial): ProtocolVersion; - fromSDK(object: ProtocolVersionSDKType): ProtocolVersion; - toSDK(message: ProtocolVersion): ProtocolVersionSDKType; - fromAmino(object: ProtocolVersionAmino): ProtocolVersion; - toAmino(message: ProtocolVersion): ProtocolVersionAmino; - fromAminoMsg(object: ProtocolVersionAminoMsg): ProtocolVersion; - fromProtoMsg(message: ProtocolVersionProtoMsg): ProtocolVersion; - toProto(message: ProtocolVersion): Uint8Array; - toProtoMsg(message: ProtocolVersion): ProtocolVersionProtoMsg; -}; -export declare const NodeInfo: { - typeUrl: string; - is(o: any): o is NodeInfo; - isSDK(o: any): o is NodeInfoSDKType; - isAmino(o: any): o is NodeInfoAmino; - encode(message: NodeInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): NodeInfo; - fromJSON(object: any): NodeInfo; - toJSON(message: NodeInfo): unknown; - fromPartial(object: DeepPartial): NodeInfo; - fromSDK(object: NodeInfoSDKType): NodeInfo; - toSDK(message: NodeInfo): NodeInfoSDKType; - fromAmino(object: NodeInfoAmino): NodeInfo; - toAmino(message: NodeInfo): NodeInfoAmino; - fromAminoMsg(object: NodeInfoAminoMsg): NodeInfo; - fromProtoMsg(message: NodeInfoProtoMsg): NodeInfo; - toProto(message: NodeInfo): Uint8Array; - toProtoMsg(message: NodeInfo): NodeInfoProtoMsg; -}; -export declare const NodeInfoOther: { - typeUrl: string; - is(o: any): o is NodeInfoOther; - isSDK(o: any): o is NodeInfoOtherSDKType; - isAmino(o: any): o is NodeInfoOtherAmino; - encode(message: NodeInfoOther, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): NodeInfoOther; - fromJSON(object: any): NodeInfoOther; - toJSON(message: NodeInfoOther): unknown; - fromPartial(object: DeepPartial): NodeInfoOther; - fromSDK(object: NodeInfoOtherSDKType): NodeInfoOther; - toSDK(message: NodeInfoOther): NodeInfoOtherSDKType; - fromAmino(object: NodeInfoOtherAmino): NodeInfoOther; - toAmino(message: NodeInfoOther): NodeInfoOtherAmino; - fromAminoMsg(object: NodeInfoOtherAminoMsg): NodeInfoOther; - fromProtoMsg(message: NodeInfoOtherProtoMsg): NodeInfoOther; - toProto(message: NodeInfoOther): Uint8Array; - toProtoMsg(message: NodeInfoOther): NodeInfoOtherProtoMsg; -}; -export declare const PeerInfo: { - typeUrl: string; - is(o: any): o is PeerInfo; - isSDK(o: any): o is PeerInfoSDKType; - isAmino(o: any): o is PeerInfoAmino; - encode(message: PeerInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PeerInfo; - fromJSON(object: any): PeerInfo; - toJSON(message: PeerInfo): unknown; - fromPartial(object: DeepPartial): PeerInfo; - fromSDK(object: PeerInfoSDKType): PeerInfo; - toSDK(message: PeerInfo): PeerInfoSDKType; - fromAmino(object: PeerInfoAmino): PeerInfo; - toAmino(message: PeerInfo): PeerInfoAmino; - fromAminoMsg(object: PeerInfoAminoMsg): PeerInfo; - fromProtoMsg(message: PeerInfoProtoMsg): PeerInfo; - toProto(message: PeerInfo): Uint8Array; - toProtoMsg(message: PeerInfo): PeerInfoProtoMsg; -}; -export declare const PeerAddressInfo: { - typeUrl: string; - is(o: any): o is PeerAddressInfo; - isSDK(o: any): o is PeerAddressInfoSDKType; - isAmino(o: any): o is PeerAddressInfoAmino; - encode(message: PeerAddressInfo, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PeerAddressInfo; - fromJSON(object: any): PeerAddressInfo; - toJSON(message: PeerAddressInfo): unknown; - fromPartial(object: DeepPartial): PeerAddressInfo; - fromSDK(object: PeerAddressInfoSDKType): PeerAddressInfo; - toSDK(message: PeerAddressInfo): PeerAddressInfoSDKType; - fromAmino(object: PeerAddressInfoAmino): PeerAddressInfo; - toAmino(message: PeerAddressInfo): PeerAddressInfoAmino; - fromAminoMsg(object: PeerAddressInfoAminoMsg): PeerAddressInfo; - fromProtoMsg(message: PeerAddressInfoProtoMsg): PeerAddressInfo; - toProto(message: PeerAddressInfo): Uint8Array; - toProtoMsg(message: PeerAddressInfo): PeerAddressInfoProtoMsg; -}; diff --git a/examples/authz/types/codegen/tendermint/types/block.d.ts b/examples/authz/types/codegen/tendermint/types/block.d.ts deleted file mode 100644 index 33004fe3..00000000 --- a/examples/authz/types/codegen/tendermint/types/block.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { Header, HeaderAmino, HeaderSDKType, Data, DataAmino, DataSDKType, Commit, CommitAmino, CommitSDKType } from "./types"; -import { EvidenceList, EvidenceListAmino, EvidenceListSDKType } from "./evidence"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -export interface Block { - header: Header | undefined; - data: Data | undefined; - evidence: EvidenceList | undefined; - lastCommit?: Commit | undefined; -} -export interface BlockProtoMsg { - typeUrl: "/tendermint.types.Block"; - value: Uint8Array; -} -export interface BlockAmino { - header?: HeaderAmino | undefined; - data?: DataAmino | undefined; - evidence?: EvidenceListAmino | undefined; - last_commit?: CommitAmino | undefined; -} -export interface BlockAminoMsg { - type: "/tendermint.types.Block"; - value: BlockAmino; -} -export interface BlockSDKType { - header: HeaderSDKType | undefined; - data: DataSDKType | undefined; - evidence: EvidenceListSDKType | undefined; - last_commit?: CommitSDKType | undefined; -} -export declare const Block: { - typeUrl: string; - is(o: any): o is Block; - isSDK(o: any): o is BlockSDKType; - isAmino(o: any): o is BlockAmino; - encode(message: Block, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Block; - fromJSON(object: any): Block; - toJSON(message: Block): unknown; - fromPartial(object: DeepPartial): Block; - fromSDK(object: BlockSDKType): Block; - toSDK(message: Block): BlockSDKType; - fromAmino(object: BlockAmino): Block; - toAmino(message: Block): BlockAmino; - fromAminoMsg(object: BlockAminoMsg): Block; - fromProtoMsg(message: BlockProtoMsg): Block; - toProto(message: Block): Uint8Array; - toProtoMsg(message: Block): BlockProtoMsg; -}; diff --git a/examples/authz/types/codegen/tendermint/types/evidence.d.ts b/examples/authz/types/codegen/tendermint/types/evidence.d.ts deleted file mode 100644 index a39ce5b9..00000000 --- a/examples/authz/types/codegen/tendermint/types/evidence.d.ts +++ /dev/null @@ -1,181 +0,0 @@ -import { Vote, VoteAmino, VoteSDKType, LightBlock, LightBlockAmino, LightBlockSDKType } from "./types"; -import { Validator, ValidatorAmino, ValidatorSDKType } from "./validator"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -export interface Evidence { - duplicateVoteEvidence?: DuplicateVoteEvidence | undefined; - lightClientAttackEvidence?: LightClientAttackEvidence | undefined; -} -export interface EvidenceProtoMsg { - typeUrl: "/tendermint.types.Evidence"; - value: Uint8Array; -} -export interface EvidenceAmino { - duplicate_vote_evidence?: DuplicateVoteEvidenceAmino | undefined; - light_client_attack_evidence?: LightClientAttackEvidenceAmino | undefined; -} -export interface EvidenceAminoMsg { - type: "/tendermint.types.Evidence"; - value: EvidenceAmino; -} -export interface EvidenceSDKType { - duplicate_vote_evidence?: DuplicateVoteEvidenceSDKType | undefined; - light_client_attack_evidence?: LightClientAttackEvidenceSDKType | undefined; -} -/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ -export interface DuplicateVoteEvidence { - voteA?: Vote | undefined; - voteB?: Vote | undefined; - totalVotingPower: bigint; - validatorPower: bigint; - timestamp: Date | undefined; -} -export interface DuplicateVoteEvidenceProtoMsg { - typeUrl: "/tendermint.types.DuplicateVoteEvidence"; - value: Uint8Array; -} -/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ -export interface DuplicateVoteEvidenceAmino { - vote_a?: VoteAmino | undefined; - vote_b?: VoteAmino | undefined; - total_voting_power?: string; - validator_power?: string; - timestamp?: string | undefined; -} -export interface DuplicateVoteEvidenceAminoMsg { - type: "/tendermint.types.DuplicateVoteEvidence"; - value: DuplicateVoteEvidenceAmino; -} -/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ -export interface DuplicateVoteEvidenceSDKType { - vote_a?: VoteSDKType | undefined; - vote_b?: VoteSDKType | undefined; - total_voting_power: bigint; - validator_power: bigint; - timestamp: Date | undefined; -} -/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ -export interface LightClientAttackEvidence { - conflictingBlock?: LightBlock | undefined; - commonHeight: bigint; - byzantineValidators: Validator[]; - totalVotingPower: bigint; - timestamp: Date | undefined; -} -export interface LightClientAttackEvidenceProtoMsg { - typeUrl: "/tendermint.types.LightClientAttackEvidence"; - value: Uint8Array; -} -/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ -export interface LightClientAttackEvidenceAmino { - conflicting_block?: LightBlockAmino | undefined; - common_height?: string; - byzantine_validators?: ValidatorAmino[]; - total_voting_power?: string; - timestamp?: string | undefined; -} -export interface LightClientAttackEvidenceAminoMsg { - type: "/tendermint.types.LightClientAttackEvidence"; - value: LightClientAttackEvidenceAmino; -} -/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ -export interface LightClientAttackEvidenceSDKType { - conflicting_block?: LightBlockSDKType | undefined; - common_height: bigint; - byzantine_validators: ValidatorSDKType[]; - total_voting_power: bigint; - timestamp: Date | undefined; -} -export interface EvidenceList { - evidence: Evidence[]; -} -export interface EvidenceListProtoMsg { - typeUrl: "/tendermint.types.EvidenceList"; - value: Uint8Array; -} -export interface EvidenceListAmino { - evidence?: EvidenceAmino[]; -} -export interface EvidenceListAminoMsg { - type: "/tendermint.types.EvidenceList"; - value: EvidenceListAmino; -} -export interface EvidenceListSDKType { - evidence: EvidenceSDKType[]; -} -export declare const Evidence: { - typeUrl: string; - is(o: any): o is Evidence; - isSDK(o: any): o is EvidenceSDKType; - isAmino(o: any): o is EvidenceAmino; - encode(message: Evidence, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Evidence; - fromJSON(object: any): Evidence; - toJSON(message: Evidence): unknown; - fromPartial(object: DeepPartial): Evidence; - fromSDK(object: EvidenceSDKType): Evidence; - toSDK(message: Evidence): EvidenceSDKType; - fromAmino(object: EvidenceAmino): Evidence; - toAmino(message: Evidence): EvidenceAmino; - fromAminoMsg(object: EvidenceAminoMsg): Evidence; - fromProtoMsg(message: EvidenceProtoMsg): Evidence; - toProto(message: Evidence): Uint8Array; - toProtoMsg(message: Evidence): EvidenceProtoMsg; -}; -export declare const DuplicateVoteEvidence: { - typeUrl: string; - is(o: any): o is DuplicateVoteEvidence; - isSDK(o: any): o is DuplicateVoteEvidenceSDKType; - isAmino(o: any): o is DuplicateVoteEvidenceAmino; - encode(message: DuplicateVoteEvidence, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): DuplicateVoteEvidence; - fromJSON(object: any): DuplicateVoteEvidence; - toJSON(message: DuplicateVoteEvidence): unknown; - fromPartial(object: DeepPartial): DuplicateVoteEvidence; - fromSDK(object: DuplicateVoteEvidenceSDKType): DuplicateVoteEvidence; - toSDK(message: DuplicateVoteEvidence): DuplicateVoteEvidenceSDKType; - fromAmino(object: DuplicateVoteEvidenceAmino): DuplicateVoteEvidence; - toAmino(message: DuplicateVoteEvidence): DuplicateVoteEvidenceAmino; - fromAminoMsg(object: DuplicateVoteEvidenceAminoMsg): DuplicateVoteEvidence; - fromProtoMsg(message: DuplicateVoteEvidenceProtoMsg): DuplicateVoteEvidence; - toProto(message: DuplicateVoteEvidence): Uint8Array; - toProtoMsg(message: DuplicateVoteEvidence): DuplicateVoteEvidenceProtoMsg; -}; -export declare const LightClientAttackEvidence: { - typeUrl: string; - is(o: any): o is LightClientAttackEvidence; - isSDK(o: any): o is LightClientAttackEvidenceSDKType; - isAmino(o: any): o is LightClientAttackEvidenceAmino; - encode(message: LightClientAttackEvidence, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): LightClientAttackEvidence; - fromJSON(object: any): LightClientAttackEvidence; - toJSON(message: LightClientAttackEvidence): unknown; - fromPartial(object: DeepPartial): LightClientAttackEvidence; - fromSDK(object: LightClientAttackEvidenceSDKType): LightClientAttackEvidence; - toSDK(message: LightClientAttackEvidence): LightClientAttackEvidenceSDKType; - fromAmino(object: LightClientAttackEvidenceAmino): LightClientAttackEvidence; - toAmino(message: LightClientAttackEvidence): LightClientAttackEvidenceAmino; - fromAminoMsg(object: LightClientAttackEvidenceAminoMsg): LightClientAttackEvidence; - fromProtoMsg(message: LightClientAttackEvidenceProtoMsg): LightClientAttackEvidence; - toProto(message: LightClientAttackEvidence): Uint8Array; - toProtoMsg(message: LightClientAttackEvidence): LightClientAttackEvidenceProtoMsg; -}; -export declare const EvidenceList: { - typeUrl: string; - is(o: any): o is EvidenceList; - isSDK(o: any): o is EvidenceListSDKType; - isAmino(o: any): o is EvidenceListAmino; - encode(message: EvidenceList, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EvidenceList; - fromJSON(object: any): EvidenceList; - toJSON(message: EvidenceList): unknown; - fromPartial(object: DeepPartial): EvidenceList; - fromSDK(object: EvidenceListSDKType): EvidenceList; - toSDK(message: EvidenceList): EvidenceListSDKType; - fromAmino(object: EvidenceListAmino): EvidenceList; - toAmino(message: EvidenceList): EvidenceListAmino; - fromAminoMsg(object: EvidenceListAminoMsg): EvidenceList; - fromProtoMsg(message: EvidenceListProtoMsg): EvidenceList; - toProto(message: EvidenceList): Uint8Array; - toProtoMsg(message: EvidenceList): EvidenceListProtoMsg; -}; diff --git a/examples/authz/types/codegen/tendermint/types/params.d.ts b/examples/authz/types/codegen/tendermint/types/params.d.ts deleted file mode 100644 index f05e077a..00000000 --- a/examples/authz/types/codegen/tendermint/types/params.d.ts +++ /dev/null @@ -1,355 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../google/protobuf/duration"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** - * ConsensusParams contains consensus critical parameters that determine the - * validity of blocks. - */ -export interface ConsensusParams { - block: BlockParams | undefined; - evidence: EvidenceParams | undefined; - validator: ValidatorParams | undefined; - version: VersionParams | undefined; -} -export interface ConsensusParamsProtoMsg { - typeUrl: "/tendermint.types.ConsensusParams"; - value: Uint8Array; -} -/** - * ConsensusParams contains consensus critical parameters that determine the - * validity of blocks. - */ -export interface ConsensusParamsAmino { - block?: BlockParamsAmino | undefined; - evidence?: EvidenceParamsAmino | undefined; - validator?: ValidatorParamsAmino | undefined; - version?: VersionParamsAmino | undefined; -} -export interface ConsensusParamsAminoMsg { - type: "/tendermint.types.ConsensusParams"; - value: ConsensusParamsAmino; -} -/** - * ConsensusParams contains consensus critical parameters that determine the - * validity of blocks. - */ -export interface ConsensusParamsSDKType { - block: BlockParamsSDKType | undefined; - evidence: EvidenceParamsSDKType | undefined; - validator: ValidatorParamsSDKType | undefined; - version: VersionParamsSDKType | undefined; -} -/** BlockParams contains limits on the block size. */ -export interface BlockParams { - /** - * Max block size, in bytes. - * Note: must be greater than 0 - */ - maxBytes: bigint; - /** - * Max gas per block. - * Note: must be greater or equal to -1 - */ - maxGas: bigint; - /** - * Minimum time increment between consecutive blocks (in milliseconds) If the - * block header timestamp is ahead of the system clock, decrease this value. - * - * Not exposed to the application. - */ - timeIotaMs: bigint; -} -export interface BlockParamsProtoMsg { - typeUrl: "/tendermint.types.BlockParams"; - value: Uint8Array; -} -/** BlockParams contains limits on the block size. */ -export interface BlockParamsAmino { - /** - * Max block size, in bytes. - * Note: must be greater than 0 - */ - max_bytes?: string; - /** - * Max gas per block. - * Note: must be greater or equal to -1 - */ - max_gas?: string; - /** - * Minimum time increment between consecutive blocks (in milliseconds) If the - * block header timestamp is ahead of the system clock, decrease this value. - * - * Not exposed to the application. - */ - time_iota_ms?: string; -} -export interface BlockParamsAminoMsg { - type: "/tendermint.types.BlockParams"; - value: BlockParamsAmino; -} -/** BlockParams contains limits on the block size. */ -export interface BlockParamsSDKType { - max_bytes: bigint; - max_gas: bigint; - time_iota_ms: bigint; -} -/** EvidenceParams determine how we handle evidence of malfeasance. */ -export interface EvidenceParams { - /** - * Max age of evidence, in blocks. - * - * The basic formula for calculating this is: MaxAgeDuration / {average block - * time}. - */ - maxAgeNumBlocks: bigint; - /** - * Max age of evidence, in time. - * - * It should correspond with an app's "unbonding period" or other similar - * mechanism for handling [Nothing-At-Stake - * attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). - */ - maxAgeDuration: Duration | undefined; - /** - * This sets the maximum size of total evidence in bytes that can be committed in a single block. - * and should fall comfortably under the max block bytes. - * Default is 1048576 or 1MB - */ - maxBytes: bigint; -} -export interface EvidenceParamsProtoMsg { - typeUrl: "/tendermint.types.EvidenceParams"; - value: Uint8Array; -} -/** EvidenceParams determine how we handle evidence of malfeasance. */ -export interface EvidenceParamsAmino { - /** - * Max age of evidence, in blocks. - * - * The basic formula for calculating this is: MaxAgeDuration / {average block - * time}. - */ - max_age_num_blocks?: string; - /** - * Max age of evidence, in time. - * - * It should correspond with an app's "unbonding period" or other similar - * mechanism for handling [Nothing-At-Stake - * attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). - */ - max_age_duration?: DurationAmino | undefined; - /** - * This sets the maximum size of total evidence in bytes that can be committed in a single block. - * and should fall comfortably under the max block bytes. - * Default is 1048576 or 1MB - */ - max_bytes?: string; -} -export interface EvidenceParamsAminoMsg { - type: "/tendermint.types.EvidenceParams"; - value: EvidenceParamsAmino; -} -/** EvidenceParams determine how we handle evidence of malfeasance. */ -export interface EvidenceParamsSDKType { - max_age_num_blocks: bigint; - max_age_duration: DurationSDKType | undefined; - max_bytes: bigint; -} -/** - * ValidatorParams restrict the public key types validators can use. - * NOTE: uses ABCI pubkey naming, not Amino names. - */ -export interface ValidatorParams { - pubKeyTypes: string[]; -} -export interface ValidatorParamsProtoMsg { - typeUrl: "/tendermint.types.ValidatorParams"; - value: Uint8Array; -} -/** - * ValidatorParams restrict the public key types validators can use. - * NOTE: uses ABCI pubkey naming, not Amino names. - */ -export interface ValidatorParamsAmino { - pub_key_types?: string[]; -} -export interface ValidatorParamsAminoMsg { - type: "/tendermint.types.ValidatorParams"; - value: ValidatorParamsAmino; -} -/** - * ValidatorParams restrict the public key types validators can use. - * NOTE: uses ABCI pubkey naming, not Amino names. - */ -export interface ValidatorParamsSDKType { - pub_key_types: string[]; -} -/** VersionParams contains the ABCI application version. */ -export interface VersionParams { - appVersion: bigint; -} -export interface VersionParamsProtoMsg { - typeUrl: "/tendermint.types.VersionParams"; - value: Uint8Array; -} -/** VersionParams contains the ABCI application version. */ -export interface VersionParamsAmino { - app_version?: string; -} -export interface VersionParamsAminoMsg { - type: "/tendermint.types.VersionParams"; - value: VersionParamsAmino; -} -/** VersionParams contains the ABCI application version. */ -export interface VersionParamsSDKType { - app_version: bigint; -} -/** - * HashedParams is a subset of ConsensusParams. - * - * It is hashed into the Header.ConsensusHash. - */ -export interface HashedParams { - blockMaxBytes: bigint; - blockMaxGas: bigint; -} -export interface HashedParamsProtoMsg { - typeUrl: "/tendermint.types.HashedParams"; - value: Uint8Array; -} -/** - * HashedParams is a subset of ConsensusParams. - * - * It is hashed into the Header.ConsensusHash. - */ -export interface HashedParamsAmino { - block_max_bytes?: string; - block_max_gas?: string; -} -export interface HashedParamsAminoMsg { - type: "/tendermint.types.HashedParams"; - value: HashedParamsAmino; -} -/** - * HashedParams is a subset of ConsensusParams. - * - * It is hashed into the Header.ConsensusHash. - */ -export interface HashedParamsSDKType { - block_max_bytes: bigint; - block_max_gas: bigint; -} -export declare const ConsensusParams: { - typeUrl: string; - is(o: any): o is ConsensusParams; - isSDK(o: any): o is ConsensusParamsSDKType; - isAmino(o: any): o is ConsensusParamsAmino; - encode(message: ConsensusParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ConsensusParams; - fromJSON(object: any): ConsensusParams; - toJSON(message: ConsensusParams): unknown; - fromPartial(object: DeepPartial): ConsensusParams; - fromSDK(object: ConsensusParamsSDKType): ConsensusParams; - toSDK(message: ConsensusParams): ConsensusParamsSDKType; - fromAmino(object: ConsensusParamsAmino): ConsensusParams; - toAmino(message: ConsensusParams): ConsensusParamsAmino; - fromAminoMsg(object: ConsensusParamsAminoMsg): ConsensusParams; - fromProtoMsg(message: ConsensusParamsProtoMsg): ConsensusParams; - toProto(message: ConsensusParams): Uint8Array; - toProtoMsg(message: ConsensusParams): ConsensusParamsProtoMsg; -}; -export declare const BlockParams: { - typeUrl: string; - is(o: any): o is BlockParams; - isSDK(o: any): o is BlockParamsSDKType; - isAmino(o: any): o is BlockParamsAmino; - encode(message: BlockParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): BlockParams; - fromJSON(object: any): BlockParams; - toJSON(message: BlockParams): unknown; - fromPartial(object: DeepPartial): BlockParams; - fromSDK(object: BlockParamsSDKType): BlockParams; - toSDK(message: BlockParams): BlockParamsSDKType; - fromAmino(object: BlockParamsAmino): BlockParams; - toAmino(message: BlockParams): BlockParamsAmino; - fromAminoMsg(object: BlockParamsAminoMsg): BlockParams; - fromProtoMsg(message: BlockParamsProtoMsg): BlockParams; - toProto(message: BlockParams): Uint8Array; - toProtoMsg(message: BlockParams): BlockParamsProtoMsg; -}; -export declare const EvidenceParams: { - typeUrl: string; - is(o: any): o is EvidenceParams; - isSDK(o: any): o is EvidenceParamsSDKType; - isAmino(o: any): o is EvidenceParamsAmino; - encode(message: EvidenceParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): EvidenceParams; - fromJSON(object: any): EvidenceParams; - toJSON(message: EvidenceParams): unknown; - fromPartial(object: DeepPartial): EvidenceParams; - fromSDK(object: EvidenceParamsSDKType): EvidenceParams; - toSDK(message: EvidenceParams): EvidenceParamsSDKType; - fromAmino(object: EvidenceParamsAmino): EvidenceParams; - toAmino(message: EvidenceParams): EvidenceParamsAmino; - fromAminoMsg(object: EvidenceParamsAminoMsg): EvidenceParams; - fromProtoMsg(message: EvidenceParamsProtoMsg): EvidenceParams; - toProto(message: EvidenceParams): Uint8Array; - toProtoMsg(message: EvidenceParams): EvidenceParamsProtoMsg; -}; -export declare const ValidatorParams: { - typeUrl: string; - is(o: any): o is ValidatorParams; - isSDK(o: any): o is ValidatorParamsSDKType; - isAmino(o: any): o is ValidatorParamsAmino; - encode(message: ValidatorParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorParams; - fromJSON(object: any): ValidatorParams; - toJSON(message: ValidatorParams): unknown; - fromPartial(object: DeepPartial): ValidatorParams; - fromSDK(object: ValidatorParamsSDKType): ValidatorParams; - toSDK(message: ValidatorParams): ValidatorParamsSDKType; - fromAmino(object: ValidatorParamsAmino): ValidatorParams; - toAmino(message: ValidatorParams): ValidatorParamsAmino; - fromAminoMsg(object: ValidatorParamsAminoMsg): ValidatorParams; - fromProtoMsg(message: ValidatorParamsProtoMsg): ValidatorParams; - toProto(message: ValidatorParams): Uint8Array; - toProtoMsg(message: ValidatorParams): ValidatorParamsProtoMsg; -}; -export declare const VersionParams: { - typeUrl: string; - is(o: any): o is VersionParams; - isSDK(o: any): o is VersionParamsSDKType; - isAmino(o: any): o is VersionParamsAmino; - encode(message: VersionParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): VersionParams; - fromJSON(object: any): VersionParams; - toJSON(message: VersionParams): unknown; - fromPartial(object: DeepPartial): VersionParams; - fromSDK(object: VersionParamsSDKType): VersionParams; - toSDK(message: VersionParams): VersionParamsSDKType; - fromAmino(object: VersionParamsAmino): VersionParams; - toAmino(message: VersionParams): VersionParamsAmino; - fromAminoMsg(object: VersionParamsAminoMsg): VersionParams; - fromProtoMsg(message: VersionParamsProtoMsg): VersionParams; - toProto(message: VersionParams): Uint8Array; - toProtoMsg(message: VersionParams): VersionParamsProtoMsg; -}; -export declare const HashedParams: { - typeUrl: string; - is(o: any): o is HashedParams; - isSDK(o: any): o is HashedParamsSDKType; - isAmino(o: any): o is HashedParamsAmino; - encode(message: HashedParams, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): HashedParams; - fromJSON(object: any): HashedParams; - toJSON(message: HashedParams): unknown; - fromPartial(object: DeepPartial): HashedParams; - fromSDK(object: HashedParamsSDKType): HashedParams; - toSDK(message: HashedParams): HashedParamsSDKType; - fromAmino(object: HashedParamsAmino): HashedParams; - toAmino(message: HashedParams): HashedParamsAmino; - fromAminoMsg(object: HashedParamsAminoMsg): HashedParams; - fromProtoMsg(message: HashedParamsProtoMsg): HashedParams; - toProto(message: HashedParams): Uint8Array; - toProtoMsg(message: HashedParams): HashedParamsProtoMsg; -}; diff --git a/examples/authz/types/codegen/tendermint/types/types.d.ts b/examples/authz/types/codegen/tendermint/types/types.d.ts deleted file mode 100644 index de6e634c..00000000 --- a/examples/authz/types/codegen/tendermint/types/types.d.ts +++ /dev/null @@ -1,691 +0,0 @@ -import { Proof, ProofAmino, ProofSDKType } from "../crypto/proof"; -import { Consensus, ConsensusAmino, ConsensusSDKType } from "../version/types"; -import { ValidatorSet, ValidatorSetAmino, ValidatorSetSDKType } from "./validator"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** BlockIdFlag indicates which BlcokID the signature is for */ -export declare enum BlockIDFlag { - BLOCK_ID_FLAG_UNKNOWN = 0, - BLOCK_ID_FLAG_ABSENT = 1, - BLOCK_ID_FLAG_COMMIT = 2, - BLOCK_ID_FLAG_NIL = 3, - UNRECOGNIZED = -1 -} -export declare const BlockIDFlagSDKType: typeof BlockIDFlag; -export declare const BlockIDFlagAmino: typeof BlockIDFlag; -export declare function blockIDFlagFromJSON(object: any): BlockIDFlag; -export declare function blockIDFlagToJSON(object: BlockIDFlag): string; -/** SignedMsgType is a type of signed message in the consensus. */ -export declare enum SignedMsgType { - SIGNED_MSG_TYPE_UNKNOWN = 0, - /** SIGNED_MSG_TYPE_PREVOTE - Votes */ - SIGNED_MSG_TYPE_PREVOTE = 1, - SIGNED_MSG_TYPE_PRECOMMIT = 2, - /** SIGNED_MSG_TYPE_PROPOSAL - Proposals */ - SIGNED_MSG_TYPE_PROPOSAL = 32, - UNRECOGNIZED = -1 -} -export declare const SignedMsgTypeSDKType: typeof SignedMsgType; -export declare const SignedMsgTypeAmino: typeof SignedMsgType; -export declare function signedMsgTypeFromJSON(object: any): SignedMsgType; -export declare function signedMsgTypeToJSON(object: SignedMsgType): string; -/** PartsetHeader */ -export interface PartSetHeader { - total: number; - hash: Uint8Array; -} -export interface PartSetHeaderProtoMsg { - typeUrl: "/tendermint.types.PartSetHeader"; - value: Uint8Array; -} -/** PartsetHeader */ -export interface PartSetHeaderAmino { - total?: number; - hash?: string; -} -export interface PartSetHeaderAminoMsg { - type: "/tendermint.types.PartSetHeader"; - value: PartSetHeaderAmino; -} -/** PartsetHeader */ -export interface PartSetHeaderSDKType { - total: number; - hash: Uint8Array; -} -export interface Part { - index: number; - bytes: Uint8Array; - proof: Proof | undefined; -} -export interface PartProtoMsg { - typeUrl: "/tendermint.types.Part"; - value: Uint8Array; -} -export interface PartAmino { - index?: number; - bytes?: string; - proof?: ProofAmino | undefined; -} -export interface PartAminoMsg { - type: "/tendermint.types.Part"; - value: PartAmino; -} -export interface PartSDKType { - index: number; - bytes: Uint8Array; - proof: ProofSDKType | undefined; -} -/** BlockID */ -export interface BlockID { - hash: Uint8Array; - partSetHeader: PartSetHeader | undefined; -} -export interface BlockIDProtoMsg { - typeUrl: "/tendermint.types.BlockID"; - value: Uint8Array; -} -/** BlockID */ -export interface BlockIDAmino { - hash?: string; - part_set_header?: PartSetHeaderAmino | undefined; -} -export interface BlockIDAminoMsg { - type: "/tendermint.types.BlockID"; - value: BlockIDAmino; -} -/** BlockID */ -export interface BlockIDSDKType { - hash: Uint8Array; - part_set_header: PartSetHeaderSDKType | undefined; -} -/** Header defines the structure of a Tendermint block header. */ -export interface Header { - /** basic block info */ - version: Consensus | undefined; - chainId: string; - height: bigint; - time: Date | undefined; - /** prev block info */ - lastBlockId: BlockID | undefined; - /** hashes of block data */ - lastCommitHash: Uint8Array; - dataHash: Uint8Array; - /** hashes from the app output from the prev block */ - validatorsHash: Uint8Array; - /** validators for the next block */ - nextValidatorsHash: Uint8Array; - /** consensus params for current block */ - consensusHash: Uint8Array; - /** state after txs from the previous block */ - appHash: Uint8Array; - lastResultsHash: Uint8Array; - /** consensus info */ - evidenceHash: Uint8Array; - /** original proposer of the block */ - proposerAddress: Uint8Array; -} -export interface HeaderProtoMsg { - typeUrl: "/tendermint.types.Header"; - value: Uint8Array; -} -/** Header defines the structure of a Tendermint block header. */ -export interface HeaderAmino { - /** basic block info */ - version?: ConsensusAmino | undefined; - chain_id?: string; - height?: string; - time?: string | undefined; - /** prev block info */ - last_block_id?: BlockIDAmino | undefined; - /** hashes of block data */ - last_commit_hash?: string; - data_hash?: string; - /** hashes from the app output from the prev block */ - validators_hash?: string; - /** validators for the next block */ - next_validators_hash?: string; - /** consensus params for current block */ - consensus_hash?: string; - /** state after txs from the previous block */ - app_hash?: string; - last_results_hash?: string; - /** consensus info */ - evidence_hash?: string; - /** original proposer of the block */ - proposer_address?: string; -} -export interface HeaderAminoMsg { - type: "/tendermint.types.Header"; - value: HeaderAmino; -} -/** Header defines the structure of a Tendermint block header. */ -export interface HeaderSDKType { - version: ConsensusSDKType | undefined; - chain_id: string; - height: bigint; - time: Date | undefined; - last_block_id: BlockIDSDKType | undefined; - last_commit_hash: Uint8Array; - data_hash: Uint8Array; - validators_hash: Uint8Array; - next_validators_hash: Uint8Array; - consensus_hash: Uint8Array; - app_hash: Uint8Array; - last_results_hash: Uint8Array; - evidence_hash: Uint8Array; - proposer_address: Uint8Array; -} -/** Data contains the set of transactions included in the block */ -export interface Data { - /** - * Txs that will be applied by state @ block.Height+1. - * NOTE: not all txs here are valid. We're just agreeing on the order first. - * This means that block.AppHash does not include these txs. - */ - txs: Uint8Array[]; -} -export interface DataProtoMsg { - typeUrl: "/tendermint.types.Data"; - value: Uint8Array; -} -/** Data contains the set of transactions included in the block */ -export interface DataAmino { - /** - * Txs that will be applied by state @ block.Height+1. - * NOTE: not all txs here are valid. We're just agreeing on the order first. - * This means that block.AppHash does not include these txs. - */ - txs?: string[]; -} -export interface DataAminoMsg { - type: "/tendermint.types.Data"; - value: DataAmino; -} -/** Data contains the set of transactions included in the block */ -export interface DataSDKType { - txs: Uint8Array[]; -} -/** - * Vote represents a prevote, precommit, or commit vote from validators for - * consensus. - */ -export interface Vote { - type: SignedMsgType; - height: bigint; - round: number; - /** zero if vote is nil. */ - blockId: BlockID | undefined; - timestamp: Date | undefined; - validatorAddress: Uint8Array; - validatorIndex: number; - signature: Uint8Array; -} -export interface VoteProtoMsg { - typeUrl: "/tendermint.types.Vote"; - value: Uint8Array; -} -/** - * Vote represents a prevote, precommit, or commit vote from validators for - * consensus. - */ -export interface VoteAmino { - type?: SignedMsgType; - height?: string; - round?: number; - /** zero if vote is nil. */ - block_id?: BlockIDAmino | undefined; - timestamp?: string | undefined; - validator_address?: string; - validator_index?: number; - signature?: string; -} -export interface VoteAminoMsg { - type: "/tendermint.types.Vote"; - value: VoteAmino; -} -/** - * Vote represents a prevote, precommit, or commit vote from validators for - * consensus. - */ -export interface VoteSDKType { - type: SignedMsgType; - height: bigint; - round: number; - block_id: BlockIDSDKType | undefined; - timestamp: Date | undefined; - validator_address: Uint8Array; - validator_index: number; - signature: Uint8Array; -} -/** Commit contains the evidence that a block was committed by a set of validators. */ -export interface Commit { - height: bigint; - round: number; - blockId: BlockID | undefined; - signatures: CommitSig[]; -} -export interface CommitProtoMsg { - typeUrl: "/tendermint.types.Commit"; - value: Uint8Array; -} -/** Commit contains the evidence that a block was committed by a set of validators. */ -export interface CommitAmino { - height?: string; - round?: number; - block_id?: BlockIDAmino | undefined; - signatures?: CommitSigAmino[]; -} -export interface CommitAminoMsg { - type: "/tendermint.types.Commit"; - value: CommitAmino; -} -/** Commit contains the evidence that a block was committed by a set of validators. */ -export interface CommitSDKType { - height: bigint; - round: number; - block_id: BlockIDSDKType | undefined; - signatures: CommitSigSDKType[]; -} -/** CommitSig is a part of the Vote included in a Commit. */ -export interface CommitSig { - blockIdFlag: BlockIDFlag; - validatorAddress: Uint8Array; - timestamp: Date | undefined; - signature: Uint8Array; -} -export interface CommitSigProtoMsg { - typeUrl: "/tendermint.types.CommitSig"; - value: Uint8Array; -} -/** CommitSig is a part of the Vote included in a Commit. */ -export interface CommitSigAmino { - block_id_flag?: BlockIDFlag; - validator_address?: string; - timestamp?: string | undefined; - signature?: string; -} -export interface CommitSigAminoMsg { - type: "/tendermint.types.CommitSig"; - value: CommitSigAmino; -} -/** CommitSig is a part of the Vote included in a Commit. */ -export interface CommitSigSDKType { - block_id_flag: BlockIDFlag; - validator_address: Uint8Array; - timestamp: Date | undefined; - signature: Uint8Array; -} -export interface Proposal { - type: SignedMsgType; - height: bigint; - round: number; - polRound: number; - blockId: BlockID | undefined; - timestamp: Date | undefined; - signature: Uint8Array; -} -export interface ProposalProtoMsg { - typeUrl: "/tendermint.types.Proposal"; - value: Uint8Array; -} -export interface ProposalAmino { - type?: SignedMsgType; - height?: string; - round?: number; - pol_round?: number; - block_id?: BlockIDAmino | undefined; - timestamp?: string | undefined; - signature?: string; -} -export interface ProposalAminoMsg { - type: "/tendermint.types.Proposal"; - value: ProposalAmino; -} -export interface ProposalSDKType { - type: SignedMsgType; - height: bigint; - round: number; - pol_round: number; - block_id: BlockIDSDKType | undefined; - timestamp: Date | undefined; - signature: Uint8Array; -} -export interface SignedHeader { - header?: Header | undefined; - commit?: Commit | undefined; -} -export interface SignedHeaderProtoMsg { - typeUrl: "/tendermint.types.SignedHeader"; - value: Uint8Array; -} -export interface SignedHeaderAmino { - header?: HeaderAmino | undefined; - commit?: CommitAmino | undefined; -} -export interface SignedHeaderAminoMsg { - type: "/tendermint.types.SignedHeader"; - value: SignedHeaderAmino; -} -export interface SignedHeaderSDKType { - header?: HeaderSDKType | undefined; - commit?: CommitSDKType | undefined; -} -export interface LightBlock { - signedHeader?: SignedHeader | undefined; - validatorSet?: ValidatorSet | undefined; -} -export interface LightBlockProtoMsg { - typeUrl: "/tendermint.types.LightBlock"; - value: Uint8Array; -} -export interface LightBlockAmino { - signed_header?: SignedHeaderAmino | undefined; - validator_set?: ValidatorSetAmino | undefined; -} -export interface LightBlockAminoMsg { - type: "/tendermint.types.LightBlock"; - value: LightBlockAmino; -} -export interface LightBlockSDKType { - signed_header?: SignedHeaderSDKType | undefined; - validator_set?: ValidatorSetSDKType | undefined; -} -export interface BlockMeta { - blockId: BlockID | undefined; - blockSize: bigint; - header: Header | undefined; - numTxs: bigint; -} -export interface BlockMetaProtoMsg { - typeUrl: "/tendermint.types.BlockMeta"; - value: Uint8Array; -} -export interface BlockMetaAmino { - block_id?: BlockIDAmino | undefined; - block_size?: string; - header?: HeaderAmino | undefined; - num_txs?: string; -} -export interface BlockMetaAminoMsg { - type: "/tendermint.types.BlockMeta"; - value: BlockMetaAmino; -} -export interface BlockMetaSDKType { - block_id: BlockIDSDKType | undefined; - block_size: bigint; - header: HeaderSDKType | undefined; - num_txs: bigint; -} -/** TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. */ -export interface TxProof { - rootHash: Uint8Array; - data: Uint8Array; - proof?: Proof | undefined; -} -export interface TxProofProtoMsg { - typeUrl: "/tendermint.types.TxProof"; - value: Uint8Array; -} -/** TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. */ -export interface TxProofAmino { - root_hash?: string; - data?: string; - proof?: ProofAmino | undefined; -} -export interface TxProofAminoMsg { - type: "/tendermint.types.TxProof"; - value: TxProofAmino; -} -/** TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. */ -export interface TxProofSDKType { - root_hash: Uint8Array; - data: Uint8Array; - proof?: ProofSDKType | undefined; -} -export declare const PartSetHeader: { - typeUrl: string; - is(o: any): o is PartSetHeader; - isSDK(o: any): o is PartSetHeaderSDKType; - isAmino(o: any): o is PartSetHeaderAmino; - encode(message: PartSetHeader, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): PartSetHeader; - fromJSON(object: any): PartSetHeader; - toJSON(message: PartSetHeader): unknown; - fromPartial(object: DeepPartial): PartSetHeader; - fromSDK(object: PartSetHeaderSDKType): PartSetHeader; - toSDK(message: PartSetHeader): PartSetHeaderSDKType; - fromAmino(object: PartSetHeaderAmino): PartSetHeader; - toAmino(message: PartSetHeader): PartSetHeaderAmino; - fromAminoMsg(object: PartSetHeaderAminoMsg): PartSetHeader; - fromProtoMsg(message: PartSetHeaderProtoMsg): PartSetHeader; - toProto(message: PartSetHeader): Uint8Array; - toProtoMsg(message: PartSetHeader): PartSetHeaderProtoMsg; -}; -export declare const Part: { - typeUrl: string; - is(o: any): o is Part; - isSDK(o: any): o is PartSDKType; - isAmino(o: any): o is PartAmino; - encode(message: Part, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Part; - fromJSON(object: any): Part; - toJSON(message: Part): unknown; - fromPartial(object: DeepPartial): Part; - fromSDK(object: PartSDKType): Part; - toSDK(message: Part): PartSDKType; - fromAmino(object: PartAmino): Part; - toAmino(message: Part): PartAmino; - fromAminoMsg(object: PartAminoMsg): Part; - fromProtoMsg(message: PartProtoMsg): Part; - toProto(message: Part): Uint8Array; - toProtoMsg(message: Part): PartProtoMsg; -}; -export declare const BlockID: { - typeUrl: string; - is(o: any): o is BlockID; - isSDK(o: any): o is BlockIDSDKType; - isAmino(o: any): o is BlockIDAmino; - encode(message: BlockID, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): BlockID; - fromJSON(object: any): BlockID; - toJSON(message: BlockID): unknown; - fromPartial(object: DeepPartial): BlockID; - fromSDK(object: BlockIDSDKType): BlockID; - toSDK(message: BlockID): BlockIDSDKType; - fromAmino(object: BlockIDAmino): BlockID; - toAmino(message: BlockID): BlockIDAmino; - fromAminoMsg(object: BlockIDAminoMsg): BlockID; - fromProtoMsg(message: BlockIDProtoMsg): BlockID; - toProto(message: BlockID): Uint8Array; - toProtoMsg(message: BlockID): BlockIDProtoMsg; -}; -export declare const Header: { - typeUrl: string; - is(o: any): o is Header; - isSDK(o: any): o is HeaderSDKType; - isAmino(o: any): o is HeaderAmino; - encode(message: Header, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Header; - fromJSON(object: any): Header; - toJSON(message: Header): unknown; - fromPartial(object: DeepPartial
): Header; - fromSDK(object: HeaderSDKType): Header; - toSDK(message: Header): HeaderSDKType; - fromAmino(object: HeaderAmino): Header; - toAmino(message: Header): HeaderAmino; - fromAminoMsg(object: HeaderAminoMsg): Header; - fromProtoMsg(message: HeaderProtoMsg): Header; - toProto(message: Header): Uint8Array; - toProtoMsg(message: Header): HeaderProtoMsg; -}; -export declare const Data: { - typeUrl: string; - is(o: any): o is Data; - isSDK(o: any): o is DataSDKType; - isAmino(o: any): o is DataAmino; - encode(message: Data, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Data; - fromJSON(object: any): Data; - toJSON(message: Data): unknown; - fromPartial(object: DeepPartial): Data; - fromSDK(object: DataSDKType): Data; - toSDK(message: Data): DataSDKType; - fromAmino(object: DataAmino): Data; - toAmino(message: Data): DataAmino; - fromAminoMsg(object: DataAminoMsg): Data; - fromProtoMsg(message: DataProtoMsg): Data; - toProto(message: Data): Uint8Array; - toProtoMsg(message: Data): DataProtoMsg; -}; -export declare const Vote: { - typeUrl: string; - is(o: any): o is Vote; - isSDK(o: any): o is VoteSDKType; - isAmino(o: any): o is VoteAmino; - encode(message: Vote, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Vote; - fromJSON(object: any): Vote; - toJSON(message: Vote): unknown; - fromPartial(object: DeepPartial): Vote; - fromSDK(object: VoteSDKType): Vote; - toSDK(message: Vote): VoteSDKType; - fromAmino(object: VoteAmino): Vote; - toAmino(message: Vote): VoteAmino; - fromAminoMsg(object: VoteAminoMsg): Vote; - fromProtoMsg(message: VoteProtoMsg): Vote; - toProto(message: Vote): Uint8Array; - toProtoMsg(message: Vote): VoteProtoMsg; -}; -export declare const Commit: { - typeUrl: string; - is(o: any): o is Commit; - isSDK(o: any): o is CommitSDKType; - isAmino(o: any): o is CommitAmino; - encode(message: Commit, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Commit; - fromJSON(object: any): Commit; - toJSON(message: Commit): unknown; - fromPartial(object: DeepPartial): Commit; - fromSDK(object: CommitSDKType): Commit; - toSDK(message: Commit): CommitSDKType; - fromAmino(object: CommitAmino): Commit; - toAmino(message: Commit): CommitAmino; - fromAminoMsg(object: CommitAminoMsg): Commit; - fromProtoMsg(message: CommitProtoMsg): Commit; - toProto(message: Commit): Uint8Array; - toProtoMsg(message: Commit): CommitProtoMsg; -}; -export declare const CommitSig: { - typeUrl: string; - is(o: any): o is CommitSig; - isSDK(o: any): o is CommitSigSDKType; - isAmino(o: any): o is CommitSigAmino; - encode(message: CommitSig, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): CommitSig; - fromJSON(object: any): CommitSig; - toJSON(message: CommitSig): unknown; - fromPartial(object: DeepPartial): CommitSig; - fromSDK(object: CommitSigSDKType): CommitSig; - toSDK(message: CommitSig): CommitSigSDKType; - fromAmino(object: CommitSigAmino): CommitSig; - toAmino(message: CommitSig): CommitSigAmino; - fromAminoMsg(object: CommitSigAminoMsg): CommitSig; - fromProtoMsg(message: CommitSigProtoMsg): CommitSig; - toProto(message: CommitSig): Uint8Array; - toProtoMsg(message: CommitSig): CommitSigProtoMsg; -}; -export declare const Proposal: { - typeUrl: string; - is(o: any): o is Proposal; - isSDK(o: any): o is ProposalSDKType; - isAmino(o: any): o is ProposalAmino; - encode(message: Proposal, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Proposal; - fromJSON(object: any): Proposal; - toJSON(message: Proposal): unknown; - fromPartial(object: DeepPartial): Proposal; - fromSDK(object: ProposalSDKType): Proposal; - toSDK(message: Proposal): ProposalSDKType; - fromAmino(object: ProposalAmino): Proposal; - toAmino(message: Proposal): ProposalAmino; - fromAminoMsg(object: ProposalAminoMsg): Proposal; - fromProtoMsg(message: ProposalProtoMsg): Proposal; - toProto(message: Proposal): Uint8Array; - toProtoMsg(message: Proposal): ProposalProtoMsg; -}; -export declare const SignedHeader: { - typeUrl: string; - is(o: any): o is SignedHeader; - isSDK(o: any): o is SignedHeaderSDKType; - isAmino(o: any): o is SignedHeaderAmino; - encode(message: SignedHeader, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SignedHeader; - fromJSON(object: any): SignedHeader; - toJSON(message: SignedHeader): unknown; - fromPartial(object: DeepPartial): SignedHeader; - fromSDK(object: SignedHeaderSDKType): SignedHeader; - toSDK(message: SignedHeader): SignedHeaderSDKType; - fromAmino(object: SignedHeaderAmino): SignedHeader; - toAmino(message: SignedHeader): SignedHeaderAmino; - fromAminoMsg(object: SignedHeaderAminoMsg): SignedHeader; - fromProtoMsg(message: SignedHeaderProtoMsg): SignedHeader; - toProto(message: SignedHeader): Uint8Array; - toProtoMsg(message: SignedHeader): SignedHeaderProtoMsg; -}; -export declare const LightBlock: { - typeUrl: string; - is(o: any): o is LightBlock; - isSDK(o: any): o is LightBlockSDKType; - isAmino(o: any): o is LightBlockAmino; - encode(message: LightBlock, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): LightBlock; - fromJSON(object: any): LightBlock; - toJSON(message: LightBlock): unknown; - fromPartial(object: DeepPartial): LightBlock; - fromSDK(object: LightBlockSDKType): LightBlock; - toSDK(message: LightBlock): LightBlockSDKType; - fromAmino(object: LightBlockAmino): LightBlock; - toAmino(message: LightBlock): LightBlockAmino; - fromAminoMsg(object: LightBlockAminoMsg): LightBlock; - fromProtoMsg(message: LightBlockProtoMsg): LightBlock; - toProto(message: LightBlock): Uint8Array; - toProtoMsg(message: LightBlock): LightBlockProtoMsg; -}; -export declare const BlockMeta: { - typeUrl: string; - is(o: any): o is BlockMeta; - isSDK(o: any): o is BlockMetaSDKType; - isAmino(o: any): o is BlockMetaAmino; - encode(message: BlockMeta, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): BlockMeta; - fromJSON(object: any): BlockMeta; - toJSON(message: BlockMeta): unknown; - fromPartial(object: DeepPartial): BlockMeta; - fromSDK(object: BlockMetaSDKType): BlockMeta; - toSDK(message: BlockMeta): BlockMetaSDKType; - fromAmino(object: BlockMetaAmino): BlockMeta; - toAmino(message: BlockMeta): BlockMetaAmino; - fromAminoMsg(object: BlockMetaAminoMsg): BlockMeta; - fromProtoMsg(message: BlockMetaProtoMsg): BlockMeta; - toProto(message: BlockMeta): Uint8Array; - toProtoMsg(message: BlockMeta): BlockMetaProtoMsg; -}; -export declare const TxProof: { - typeUrl: string; - is(o: any): o is TxProof; - isSDK(o: any): o is TxProofSDKType; - isAmino(o: any): o is TxProofAmino; - encode(message: TxProof, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): TxProof; - fromJSON(object: any): TxProof; - toJSON(message: TxProof): unknown; - fromPartial(object: DeepPartial): TxProof; - fromSDK(object: TxProofSDKType): TxProof; - toSDK(message: TxProof): TxProofSDKType; - fromAmino(object: TxProofAmino): TxProof; - toAmino(message: TxProof): TxProofAmino; - fromAminoMsg(object: TxProofAminoMsg): TxProof; - fromProtoMsg(message: TxProofProtoMsg): TxProof; - toProto(message: TxProof): Uint8Array; - toProtoMsg(message: TxProof): TxProofProtoMsg; -}; diff --git a/examples/authz/types/codegen/tendermint/types/validator.d.ts b/examples/authz/types/codegen/tendermint/types/validator.d.ts deleted file mode 100644 index f04e5588..00000000 --- a/examples/authz/types/codegen/tendermint/types/validator.d.ts +++ /dev/null @@ -1,129 +0,0 @@ -import { PublicKey, PublicKeyAmino, PublicKeySDKType } from "../crypto/keys"; -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -export interface ValidatorSet { - validators: Validator[]; - proposer?: Validator | undefined; - totalVotingPower: bigint; -} -export interface ValidatorSetProtoMsg { - typeUrl: "/tendermint.types.ValidatorSet"; - value: Uint8Array; -} -export interface ValidatorSetAmino { - validators?: ValidatorAmino[]; - proposer?: ValidatorAmino | undefined; - total_voting_power?: string; -} -export interface ValidatorSetAminoMsg { - type: "/tendermint.types.ValidatorSet"; - value: ValidatorSetAmino; -} -export interface ValidatorSetSDKType { - validators: ValidatorSDKType[]; - proposer?: ValidatorSDKType | undefined; - total_voting_power: bigint; -} -export interface Validator { - address: Uint8Array; - pubKey: PublicKey | undefined; - votingPower: bigint; - proposerPriority: bigint; -} -export interface ValidatorProtoMsg { - typeUrl: "/tendermint.types.Validator"; - value: Uint8Array; -} -export interface ValidatorAmino { - address?: string; - pub_key?: PublicKeyAmino | undefined; - voting_power?: string; - proposer_priority?: string; -} -export interface ValidatorAminoMsg { - type: "/tendermint.types.Validator"; - value: ValidatorAmino; -} -export interface ValidatorSDKType { - address: Uint8Array; - pub_key: PublicKeySDKType | undefined; - voting_power: bigint; - proposer_priority: bigint; -} -export interface SimpleValidator { - pubKey?: PublicKey | undefined; - votingPower: bigint; -} -export interface SimpleValidatorProtoMsg { - typeUrl: "/tendermint.types.SimpleValidator"; - value: Uint8Array; -} -export interface SimpleValidatorAmino { - pub_key?: PublicKeyAmino | undefined; - voting_power?: string; -} -export interface SimpleValidatorAminoMsg { - type: "/tendermint.types.SimpleValidator"; - value: SimpleValidatorAmino; -} -export interface SimpleValidatorSDKType { - pub_key?: PublicKeySDKType | undefined; - voting_power: bigint; -} -export declare const ValidatorSet: { - typeUrl: string; - is(o: any): o is ValidatorSet; - isSDK(o: any): o is ValidatorSetSDKType; - isAmino(o: any): o is ValidatorSetAmino; - encode(message: ValidatorSet, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): ValidatorSet; - fromJSON(object: any): ValidatorSet; - toJSON(message: ValidatorSet): unknown; - fromPartial(object: DeepPartial): ValidatorSet; - fromSDK(object: ValidatorSetSDKType): ValidatorSet; - toSDK(message: ValidatorSet): ValidatorSetSDKType; - fromAmino(object: ValidatorSetAmino): ValidatorSet; - toAmino(message: ValidatorSet): ValidatorSetAmino; - fromAminoMsg(object: ValidatorSetAminoMsg): ValidatorSet; - fromProtoMsg(message: ValidatorSetProtoMsg): ValidatorSet; - toProto(message: ValidatorSet): Uint8Array; - toProtoMsg(message: ValidatorSet): ValidatorSetProtoMsg; -}; -export declare const Validator: { - typeUrl: string; - is(o: any): o is Validator; - isSDK(o: any): o is ValidatorSDKType; - isAmino(o: any): o is ValidatorAmino; - encode(message: Validator, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Validator; - fromJSON(object: any): Validator; - toJSON(message: Validator): unknown; - fromPartial(object: DeepPartial): Validator; - fromSDK(object: ValidatorSDKType): Validator; - toSDK(message: Validator): ValidatorSDKType; - fromAmino(object: ValidatorAmino): Validator; - toAmino(message: Validator): ValidatorAmino; - fromAminoMsg(object: ValidatorAminoMsg): Validator; - fromProtoMsg(message: ValidatorProtoMsg): Validator; - toProto(message: Validator): Uint8Array; - toProtoMsg(message: Validator): ValidatorProtoMsg; -}; -export declare const SimpleValidator: { - typeUrl: string; - is(o: any): o is SimpleValidator; - isSDK(o: any): o is SimpleValidatorSDKType; - isAmino(o: any): o is SimpleValidatorAmino; - encode(message: SimpleValidator, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): SimpleValidator; - fromJSON(object: any): SimpleValidator; - toJSON(message: SimpleValidator): unknown; - fromPartial(object: DeepPartial): SimpleValidator; - fromSDK(object: SimpleValidatorSDKType): SimpleValidator; - toSDK(message: SimpleValidator): SimpleValidatorSDKType; - fromAmino(object: SimpleValidatorAmino): SimpleValidator; - toAmino(message: SimpleValidator): SimpleValidatorAmino; - fromAminoMsg(object: SimpleValidatorAminoMsg): SimpleValidator; - fromProtoMsg(message: SimpleValidatorProtoMsg): SimpleValidator; - toProto(message: SimpleValidator): Uint8Array; - toProtoMsg(message: SimpleValidator): SimpleValidatorProtoMsg; -}; diff --git a/examples/authz/types/codegen/tendermint/version/types.d.ts b/examples/authz/types/codegen/tendermint/version/types.d.ts deleted file mode 100644 index c007465b..00000000 --- a/examples/authz/types/codegen/tendermint/version/types.d.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { BinaryReader, BinaryWriter } from "../../binary"; -import { DeepPartial } from "../../helpers"; -/** - * App includes the protocol and software version for the application. - * This information is included in ResponseInfo. The App.Protocol can be - * updated in ResponseEndBlock. - */ -export interface App { - protocol: bigint; - software: string; -} -export interface AppProtoMsg { - typeUrl: "/tendermint.version.App"; - value: Uint8Array; -} -/** - * App includes the protocol and software version for the application. - * This information is included in ResponseInfo. The App.Protocol can be - * updated in ResponseEndBlock. - */ -export interface AppAmino { - protocol?: string; - software?: string; -} -export interface AppAminoMsg { - type: "/tendermint.version.App"; - value: AppAmino; -} -/** - * App includes the protocol and software version for the application. - * This information is included in ResponseInfo. The App.Protocol can be - * updated in ResponseEndBlock. - */ -export interface AppSDKType { - protocol: bigint; - software: string; -} -/** - * Consensus captures the consensus rules for processing a block in the blockchain, - * including all blockchain data structures and the rules of the application's - * state transition machine. - */ -export interface Consensus { - block: bigint; - app: bigint; -} -export interface ConsensusProtoMsg { - typeUrl: "/tendermint.version.Consensus"; - value: Uint8Array; -} -/** - * Consensus captures the consensus rules for processing a block in the blockchain, - * including all blockchain data structures and the rules of the application's - * state transition machine. - */ -export interface ConsensusAmino { - block?: string; - app?: string; -} -export interface ConsensusAminoMsg { - type: "/tendermint.version.Consensus"; - value: ConsensusAmino; -} -/** - * Consensus captures the consensus rules for processing a block in the blockchain, - * including all blockchain data structures and the rules of the application's - * state transition machine. - */ -export interface ConsensusSDKType { - block: bigint; - app: bigint; -} -export declare const App: { - typeUrl: string; - is(o: any): o is App; - isSDK(o: any): o is AppSDKType; - isAmino(o: any): o is AppAmino; - encode(message: App, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): App; - fromJSON(object: any): App; - toJSON(message: App): unknown; - fromPartial(object: DeepPartial): App; - fromSDK(object: AppSDKType): App; - toSDK(message: App): AppSDKType; - fromAmino(object: AppAmino): App; - toAmino(message: App): AppAmino; - fromAminoMsg(object: AppAminoMsg): App; - fromProtoMsg(message: AppProtoMsg): App; - toProto(message: App): Uint8Array; - toProtoMsg(message: App): AppProtoMsg; -}; -export declare const Consensus: { - typeUrl: string; - is(o: any): o is Consensus; - isSDK(o: any): o is ConsensusSDKType; - isAmino(o: any): o is ConsensusAmino; - encode(message: Consensus, writer?: BinaryWriter): BinaryWriter; - decode(input: BinaryReader | Uint8Array, length?: number): Consensus; - fromJSON(object: any): Consensus; - toJSON(message: Consensus): unknown; - fromPartial(object: DeepPartial): Consensus; - fromSDK(object: ConsensusSDKType): Consensus; - toSDK(message: Consensus): ConsensusSDKType; - fromAmino(object: ConsensusAmino): Consensus; - toAmino(message: Consensus): ConsensusAmino; - fromAminoMsg(object: ConsensusAminoMsg): Consensus; - fromProtoMsg(message: ConsensusProtoMsg): Consensus; - toProto(message: Consensus): Uint8Array; - toProtoMsg(message: Consensus): ConsensusProtoMsg; -}; diff --git a/examples/authz/types/codegen/types.d.ts b/examples/authz/types/codegen/types.d.ts deleted file mode 100644 index 273f8979..00000000 --- a/examples/authz/types/codegen/types.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -/** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.3.2 -* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain -* and run the transpile command or yarn proto command to regenerate this bundle. -*/ -import { IBinaryReader, IBinaryWriter } from "./binary"; -import { Any } from "./google/protobuf/any"; -export type ProtoMsg = Omit & { - typeUrl: any; -}; -export interface IAminoMsg { - type: any; - value: Amino; -} -export interface IProtoType { - $typeUrl?: any; -} -/** - * A type generated by Telescope 1.0. - */ -export interface TelescopeGeneratedCodec { - readonly typeUrl: string; - readonly aminoType?: string; - is?(o: unknown): o is T; - isSDK?(o: unknown): o is SDK; - isAmino?(o: unknown): o is Amino; - encode: (message: T, writer?: IBinaryWriter | any) => IBinaryWriter | any; - decode: (input: IBinaryReader | Uint8Array | any, length?: number) => T; - fromPartial: (object: any) => T | any; - fromJSON: (object: any) => T | any; - toJSON: (message: T | any) => any; - fromSDK?: (sdk: SDK) => T; - fromSDKJSON?: (object: any) => SDK; - toSDK?: (message: T) => SDK; - fromAmino?: (amino: Amino) => T; - toAmino?: (message: T) => Amino; - fromAminoMsg?: (aminoMsg: IAminoMsg) => T; - toAminoMsg?: (message: T) => IAminoMsg; - toProto?: (message: T) => Uint8Array; - fromProtoMsg?: (message: ProtoMsg) => T; - toProtoMsg?: (message: T) => Any; -} -export type TelescopeGeneratedType = TelescopeGeneratedCodec; -export type GeneratedType = TelescopeGeneratedCodec; -/** - * Coin defines a token with a denomination and an amount. - * - * NOTE: The amount field is an Int which implements the custom method - * signatures required by gogoproto. - */ -export interface Coin { - denom: string; - amount: string; -} -export type EncodeObject = Message; -export interface Message { - typeUrl: string; - value: T; -} -export interface StdFee { - amount: Coin[]; - gas: string; - /** The granter address that is used for paying with feegrants */ - granter?: string; - /** The fee payer address. The payer must have signed the transaction. */ - payer?: string; -} -export interface MsgData { - msgType: string; - data: Uint8Array; -} -export interface Attribute { - key: string; - value: string; -} -export interface Event { - type: string; - attributes: Attribute[]; -} -/** - * The response after successfully broadcasting a transaction. - * Success or failure refer to the execution result. - */ -export interface DeliverTxResponse { - height: number; - /** The position of the transaction within the block. This is a 0-based index. */ - txIndex: number; - /** Error code. The transaction suceeded if and only if code is 0. */ - code: number; - transactionHash: string; - events: Event[]; - /** - * A string-based log document. - * - * This currently seems to merge attributes of multiple events into one event per type - * (https://github.com/tendermint/tendermint/issues/9595). You might want to use the `events` - * field instead. - */ - rawLog?: string; - /** @deprecated Use `msgResponses` instead. */ - data?: MsgData[]; - /** - * The message responses of the [TxMsgData](https://github.com/cosmos/cosmos-sdk/blob/v0.46.3/proto/cosmos/base/abci/v1beta1/abci.proto#L128-L140) - * as `Any`s. - * This field is an empty list for chains running Cosmos SDK < 0.46. - */ - msgResponses: Array<{ - typeUrl: string; - value: Uint8Array; - }>; - gasUsed: bigint; - gasWanted: bigint; -} -export interface TxRpc { - request(service: string, method: string, data: Uint8Array): Promise; - signAndBroadcast?(signerAddress: string, messages: EncodeObject[], fee: StdFee | "auto" | number, memo: string): Promise; -} diff --git a/examples/authz/types/codegen/utf8.d.ts b/examples/authz/types/codegen/utf8.d.ts deleted file mode 100644 index c13a0cb2..00000000 --- a/examples/authz/types/codegen/utf8.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.3.2 -* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain -* and run the transpile command or yarn proto command to regenerate this bundle. -*/ -/** - * Calculates the UTF8 byte length of a string. - * @param {string} string String - * @returns {number} Byte length - */ -export declare function utf8Length(str: string): number; -/** - * Reads UTF8 bytes as a string. - * @param {Uint8Array} buffer Source buffer - * @param {number} start Source start - * @param {number} end Source end - * @returns {string} String read - */ -export declare function utf8Read(buffer: ArrayLike, start: number, end: number): string; -/** - * Writes a string as UTF8 bytes. - * @param {string} string Source string - * @param {Uint8Array} buffer Destination buffer - * @param {number} offset Destination offset - * @returns {number} Bytes written - */ -export declare function utf8Write(str: string, buffer: Uint8Array | Array, offset: number): number; diff --git a/examples/authz/types/codegen/varint.d.ts b/examples/authz/types/codegen/varint.d.ts deleted file mode 100644 index a702c657..00000000 --- a/examples/authz/types/codegen/varint.d.ts +++ /dev/null @@ -1,105 +0,0 @@ -/** -* This file and any referenced files were automatically generated by @cosmology/telescope@1.3.2 -* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain -* and run the transpile command or yarn proto command to regenerate this bundle. -*/ -/** - * Read a 64 bit varint as two JS numbers. - * - * Returns tuple: - * [0]: low bits - * [1]: high bits - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L175 - */ -export declare function varint64read(this: ReaderLike): [number, number]; -/** - * Write a 64 bit varint, given as two JS numbers, to the given bytes array. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/writer.js#L344 - */ -export declare function varint64write(lo: number, hi: number, bytes: number[]): void; -/** - * Parse decimal string of 64 bit integer value as two JS numbers. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10 - */ -export declare function int64FromString(dec: string): { - lo: number; - hi: number; -}; -/** - * Losslessly converts a 64-bit signed integer in 32:32 split representation - * into a decimal string. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10 - */ -export declare function int64ToString(lo: number, hi: number): string; -/** - * Losslessly converts a 64-bit unsigned integer in 32:32 split representation - * into a decimal string. - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf-javascript/blob/a428c58273abad07c66071d9753bc4d1289de426/experimental/runtime/int64.js#L10 - */ -export declare function uInt64ToString(lo: number, hi: number): string; -/** - * Write a 32 bit varint, signed or unsigned. Same as `varint64write(0, value, bytes)` - * - * Copyright 2008 Google Inc. All rights reserved. - * - * See https://github.com/protocolbuffers/protobuf/blob/1b18833f4f2a2f681f4e4a25cdf3b0a43115ec26/js/binary/encoder.js#L144 - */ -export declare function varint32write(value: number, bytes: number[]): void; -/** - * Read an unsigned 32 bit varint. - * - * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L220 - */ -export declare function varint32read(this: ReaderLike): number; -type ReaderLike = { - buf: Uint8Array; - pos: number; - len: number; - assertBounds(): void; -}; -/** - * encode zig zag - */ -export declare function zzEncode(lo: number, hi: number): number[]; -/** - * decode zig zag - */ -export declare function zzDecode(lo: number, hi: number): number[]; -/** - * unsigned int32 without moving pos. - */ -export declare function readUInt32(buf: Uint8Array, pos: number): number; -/** - * signed int32 without moving pos. - */ -export declare function readInt32(buf: Uint8Array, pos: number): number; -/** - * writing varint32 to pos - */ -export declare function writeVarint32(val: number, buf: Uint8Array | number[], pos: number): void; -/** - * writing varint64 to pos - */ -export declare function writeVarint64(val: { - lo: number; - hi: number; -}, buf: Uint8Array | number[], pos: number): void; -export declare function int64Length(lo: number, hi: number): 1 | 2 | 4 | 3 | 6 | 7 | 10 | 8 | 9 | 5; -export declare function writeFixed32(val: number, buf: Uint8Array | number[], pos: number): void; -export declare function writeByte(val: number, buf: Uint8Array | number[], pos: number): void; -export {}; diff --git a/examples/authz/types/config.d.ts b/examples/authz/types/config.d.ts deleted file mode 100644 index 0e8e04de..00000000 --- a/examples/authz/types/config.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { ChainRegistryFetcher } from '@chain-registry/client'; -import { StargateClient } from '@cosmjs/stargate'; -export declare const Config: { - registry: any; - configFile: any; - setConfigFile: any; - setRegistry: any; -}; -export declare const useRegistry: (configFile: any) => Promise; -export declare const useChain: (chainName: any, signingOptions?: any) => { - chain: any; - chainInfo: any; - getCoin: () => any; - getRpcEndpoint: () => string; - getRestEndpoint: () => string; - getGenesisMnemonic: () => Promise; - getStargateClient: () => Promise; - creditFromFaucet: (address: any, denom?: any) => Promise; -}; diff --git a/examples/authz/types/index.d.ts b/examples/authz/types/index.d.ts deleted file mode 100644 index f0e4d176..00000000 --- a/examples/authz/types/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './config'; -export * from './utils'; -export * from './codegen'; diff --git a/examples/authz/types/utils.d.ts b/examples/authz/types/utils.d.ts deleted file mode 100644 index d5b6cc64..00000000 --- a/examples/authz/types/utils.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export declare const calcShareOutAmount: (poolInfo: any, coinsNeeded: any) => any; -export declare const waitUntil: (date: any, timeout?: number) => Promise; -export declare const transferIbcTokens: (fromChain: any, toChain: any, toAddress: any, amount: any) => Promise<{ - denom: any; - amount: any; -}>; diff --git a/examples/authz/yarn.lock b/examples/authz/yarn.lock index d1c67be4..98915ae8 100644 --- a/examples/authz/yarn.lock +++ b/examples/authz/yarn.lock @@ -2451,14 +2451,14 @@ __metadata: "@cosmjson/wasmswap": "npm:^0.0.9" "@cosmology/lcd": "npm:^0.12.0" "@cosmology/telescope": "npm:1.11.7" - "@interchain-kit/core": "npm:0.2.222" - "@interchain-kit/keplr-extension": "npm:0.2.222" - "@interchain-kit/leap-extension": "npm:0.2.222" - "@interchain-kit/react": "npm:0.2.222" + "@interchain-kit/core": "npm:0.3.17" + "@interchain-kit/keplr-extension": "npm:0.3.17" + "@interchain-kit/leap-extension": "npm:0.3.17" + "@interchain-kit/react": "npm:0.3.17" "@interchain-ui/react": "npm:1.23.22" "@interchain-ui/react-no-ssr": "npm:^0.1.6" - "@interchainjs/cosmos": "npm:1.11.0" - "@interchainjs/react": "npm:1.11.0" + "@interchainjs/cosmos": "npm:1.11.2" + "@interchainjs/react": "npm:1.11.2" "@protobufs/cosmos": "npm:^0.1.0" "@protobufs/cosmwasm": "npm:^0.1.1" "@protobufs/ibc": "npm:^0.1.0" @@ -2475,7 +2475,7 @@ __metadata: eslint-config-next: "npm:13.0.5" fast-fuzzy: "npm:^1.12.0" generate-lockfile: "npm:0.0.12" - interchain-kit: "npm:0.2.222" + interchain-kit: "npm:0.3.17" jest: "npm:^29.5.0" jest-in-case: "npm:^1.0.2" next: "npm:^13" @@ -2491,15 +2491,15 @@ __metadata: languageName: unknown linkType: soft -"@interchain-kit/core@npm:0.2.222": - version: 0.2.222 - resolution: "@interchain-kit/core@npm:0.2.222" +"@interchain-kit/core@npm:0.3.17": + version: 0.3.17 + resolution: "@interchain-kit/core@npm:0.3.17" dependencies: "@chain-registry/v2": "npm:^1.71.71" "@chain-registry/v2-keplr": "npm:^0.0.72" "@chain-registry/v2-types": "npm:^0.53.40" - "@interchainjs/cosmos": "npm:1.10.1" - "@interchainjs/cosmos-types": "npm:1.10.1" + "@interchainjs/cosmos": "npm:1.11.5" + "@interchainjs/cosmos-types": "npm:1.11.5" "@ledgerhq/hw-app-cosmos": "npm:^6.30.4" "@ledgerhq/hw-transport": "npm:^6.31.4" "@ledgerhq/hw-transport-webhid": "npm:^6.30.0" @@ -2509,49 +2509,50 @@ __metadata: "@walletconnect/universal-provider": "npm:^2.19.1" bowser: "npm:^2.11.0" buffer: "npm:^6.0.3" - interchainjs: "npm:1.10.1" + interchainjs: "npm:1.11.5" long: "npm:^5.2.3" - checksum: 10c0/31fdb42d6af8b1299beb50f5714cd62ac613217fd3093986d7255f76134b11cabcb2c1cd4f6bba04fbe53c82681a01f659c95682c95b3003a9ae58ccd913c513 + checksum: 10c0/1001bf2455350aa3f1d1250413d2e91eac92dd495217d46c542831eb0c9062c625026927708804b0668c4b15a0a6070fd2e9786b254309cfac0a437ffb56b622 languageName: node linkType: hard -"@interchain-kit/keplr-extension@npm:0.2.222": - version: 0.2.222 - resolution: "@interchain-kit/keplr-extension@npm:0.2.222" +"@interchain-kit/keplr-extension@npm:0.3.17": + version: 0.3.17 + resolution: "@interchain-kit/keplr-extension@npm:0.3.17" dependencies: - "@interchain-kit/core": "npm:0.2.222" + "@interchain-kit/core": "npm:0.3.17" "@keplr-wallet/provider-extension": "npm:^0.12.102" - checksum: 10c0/73ceeccb522039540be99a0ad69d0446ad1715806a2ebd49112082115ea1f07a5bdd36fcf3ce82cd05dbe21dcca2a81171fd4a6cede43e53d5266f39c58485d5 + checksum: 10c0/a8471ad2db25ae8c8b0fb8e2c82b5e57aecd34377cfbe0b3407c111bbb96c318472423697fcc7e6d0ee44aff590adb72d5b7eb7fffd6e9c182d2b23eb33622c3 languageName: node linkType: hard -"@interchain-kit/leap-extension@npm:0.2.222": - version: 0.2.222 - resolution: "@interchain-kit/leap-extension@npm:0.2.222" +"@interchain-kit/leap-extension@npm:0.3.17": + version: 0.3.17 + resolution: "@interchain-kit/leap-extension@npm:0.3.17" dependencies: - "@interchain-kit/core": "npm:0.2.222" - checksum: 10c0/6c61978c4073947a4864918940a33fb117736a2a6d357eb9d6276829e51bfb1b542e9b039fcb38afbb73555f7525d71778d22ec08f4548a42ef8bd6d54c49987 + "@interchain-kit/core": "npm:0.3.17" + checksum: 10c0/f128333dddd61bafb06b1afd85d8c88992e1e0f7e0659333757ac38a2a12955962652d6de511376ae2b16013b25f38807e905f5fa7fe920948b6eb460b91de64 languageName: node linkType: hard -"@interchain-kit/react@npm:0.2.222": - version: 0.2.222 - resolution: "@interchain-kit/react@npm:0.2.222" +"@interchain-kit/react@npm:0.3.17": + version: 0.3.17 + resolution: "@interchain-kit/react@npm:0.3.17" dependencies: "@chain-registry/v2-types": "npm:^0.53.40" - "@interchain-kit/core": "npm:0.2.222" + "@interchain-kit/core": "npm:0.3.17" "@interchain-ui/react": "npm:1.26.1" - "@interchainjs/cosmos": "npm:1.10.1" - "@interchainjs/cosmos-types": "npm:1.10.1" + "@interchainjs/cosmos": "npm:1.11.5" + "@interchainjs/cosmos-types": "npm:1.11.5" "@react-icons/all-files": "npm:^4.1.0" - "@types/react": "npm:^18.3.3" - "@types/react-dom": "npm:^18.3.0" "@walletconnect/types": "npm:^2.17.3" - interchainjs: "npm:1.10.1" - react: "npm:^18.3.1" - react-dom: "npm:^18.3.1" + interchainjs: "npm:1.11.5" zustand: "npm:^5.0.3" - checksum: 10c0/d476c72daef35ddf6e056fd0b9fa6317c0b47e4dd356e55868050677954d8ca7e360ec4cff64fdd00ffab19b98c9e26ef3ed067292f2c60d220a61d65f9f35cf + peerDependencies: + "@types/react": ^19.0.0 + "@types/react-dom": ^19.0.0 + react: ^19.0.0 + react-dom: ^19.0.0 + checksum: 10c0/c83a564d78605deee06a117efb6bd6e685b46fb899232b18b5173b12801052f2c7f171ad3819b627d8b1067c01da401eeb7f5db5b6e28db7181a9d79aa8e77d8 languageName: node linkType: hard @@ -2636,271 +2637,269 @@ __metadata: languageName: node linkType: hard -"@interchainjs/amino@npm:1.10.1": - version: 1.10.1 - resolution: "@interchainjs/amino@npm:1.10.1" +"@interchainjs/amino@npm:1.11.2": + version: 1.11.2 + resolution: "@interchainjs/amino@npm:1.11.2" dependencies: - "@interchainjs/crypto": "npm:1.10.1" - "@interchainjs/encoding": "npm:1.10.1" - "@interchainjs/math": "npm:1.10.1" - "@interchainjs/utils": "npm:1.10.1" - checksum: 10c0/57d973e9a4712d89d92461d6863d957186f92df02f65a9c11eb49095938f8988a0da3ac180fc2467e5af8eb6806380d72fcbb9c225cb80b6cac0f6c7acf31bac + "@interchainjs/crypto": "npm:1.11.2" + "@interchainjs/encoding": "npm:1.11.2" + "@interchainjs/math": "npm:1.11.2" + "@interchainjs/utils": "npm:1.11.2" + checksum: 10c0/a56b818cf517231094e7f2752601220ad92ee2ae8bd15638405f5383c6eb18b8e93c7352d9093174e9a700c787d2ba68defb59c8d9516d845bb5a560547f5571 languageName: node linkType: hard -"@interchainjs/amino@npm:1.11.0": - version: 1.11.0 - resolution: "@interchainjs/amino@npm:1.11.0" +"@interchainjs/amino@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/amino@npm:1.11.5" dependencies: - "@interchainjs/crypto": "npm:1.11.0" - "@interchainjs/encoding": "npm:1.11.0" - "@interchainjs/math": "npm:1.11.0" - "@interchainjs/utils": "npm:1.11.0" - checksum: 10c0/8c2157c5da8e58d4acfec5c7a15ff0d3bb21b0009c2a23fa8c5b5ca0787292fac2730eff0f9fc8d0326a08e5f42e6d3beb794842f6f67b7446fb6253ef0c3b7e + "@interchainjs/crypto": "npm:1.11.5" + "@interchainjs/encoding": "npm:1.11.5" + "@interchainjs/math": "npm:1.11.5" + "@interchainjs/utils": "npm:1.11.5" + checksum: 10c0/558f5f96e3bfefad3c342cdde0e0e873fa27f2dc3454a2ffa3f6eb8a64d098a12c0f1b86da55314ae67bc133686ffb0204a73928eb6e624e7f81deec69355dbe languageName: node linkType: hard -"@interchainjs/auth@npm:1.10.1": - version: 1.10.1 - resolution: "@interchainjs/auth@npm:1.10.1" +"@interchainjs/auth@npm:1.11.2": + version: 1.11.2 + resolution: "@interchainjs/auth@npm:1.11.2" dependencies: - "@interchainjs/types": "npm:1.10.1" - "@interchainjs/utils": "npm:1.10.1" + "@interchainjs/types": "npm:1.11.2" + "@interchainjs/utils": "npm:1.11.2" "@noble/curves": "npm:^1.1.0" "@noble/hashes": "npm:^1.3.1" "@scure/bip32": "npm:^1.0.10" ethers: "npm:^6.5.1" - checksum: 10c0/37514f26458ce9a545589fc511c05fec19feecdb724f75b9bc130b3d9d866b0d70fcd6ab3ec5a5e0c16f826214cf41849e360bd4cca3e995d4c0c0b7013634d3 + checksum: 10c0/dba55491bb8933d681330779d9c23a86ec2bbee17fcac3998cd1941274c30ce050814bd8ff21b8b694af39c5aba8e1faaed6bfa50e4f5e359a156b29768f9dd8 languageName: node linkType: hard -"@interchainjs/auth@npm:1.11.0": - version: 1.11.0 - resolution: "@interchainjs/auth@npm:1.11.0" +"@interchainjs/auth@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/auth@npm:1.11.5" dependencies: - "@interchainjs/types": "npm:1.11.0" - "@interchainjs/utils": "npm:1.11.0" + "@interchainjs/types": "npm:1.11.5" + "@interchainjs/utils": "npm:1.11.5" "@noble/curves": "npm:^1.1.0" "@noble/hashes": "npm:^1.3.1" "@scure/bip32": "npm:^1.0.10" ethers: "npm:^6.5.1" - checksum: 10c0/e66bf57dfbaef412909577c4d06dd0e2928580a7b84127b94c3491183c912f8a9ea970d78ef3218ecfac373ce354a22aac90f66e50e6ae495e886061ef065c63 + checksum: 10c0/aba05379eda5feac5f8c81c67810e44fa1bcae6716ff094e68dd2fdd747f3bb283dd03154ebd49355ea62c1a70e01210b3ae4ba8edd2ba2c647e4c2871928d47 languageName: node linkType: hard -"@interchainjs/cosmos-types@npm:1.10.1": - version: 1.10.1 - resolution: "@interchainjs/cosmos-types@npm:1.10.1" +"@interchainjs/cosmos-types@npm:1.11.2": + version: 1.11.2 + resolution: "@interchainjs/cosmos-types@npm:1.11.2" dependencies: - "@interchainjs/types": "npm:1.10.1" - "@interchainjs/utils": "npm:1.10.1" - checksum: 10c0/123ce210a0f098eccb5abbc32a6ee6272fc1304ed5ac567846e11827c6ffadcb790c1e77a6cd4bdd4aae2f0a904c4dfca40303f30383a14654e320af8b363d7e + "@interchainjs/types": "npm:1.11.2" + "@interchainjs/utils": "npm:1.11.2" + checksum: 10c0/7866752c4b88ced3b38ddfeb9ab6091235657abb0c5a1bf470d0d5df4a5bab1bc5cf315d2f36405d75e895abe178b9ea11bb3c7fdf7679441fa2ff88abedb04e languageName: node linkType: hard -"@interchainjs/cosmos-types@npm:1.11.0": - version: 1.11.0 - resolution: "@interchainjs/cosmos-types@npm:1.11.0" +"@interchainjs/cosmos-types@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/cosmos-types@npm:1.11.5" dependencies: - "@interchainjs/types": "npm:1.11.0" - "@interchainjs/utils": "npm:1.11.0" - checksum: 10c0/7fbb41dc2d1770552eb94808a95decd46798053c90d74fc9796bc50c27248684fdec8be047c6232431ff03487b678407154f326fd99e674988ad498975e15139 + "@interchainjs/types": "npm:1.11.5" + "@interchainjs/utils": "npm:1.11.5" + checksum: 10c0/c7ef08ae0dcb0149a9e4805ab36c5abf15cb4891260d8fc810b491bc1da5825d93f1610fed83db2a2e9e893c8e3e552c8cdf1b717261a8cfaf9c843ea0a167b0 languageName: node linkType: hard -"@interchainjs/cosmos@npm:1.10.1": - version: 1.10.1 - resolution: "@interchainjs/cosmos@npm:1.10.1" +"@interchainjs/cosmos@npm:1.11.2": + version: 1.11.2 + resolution: "@interchainjs/cosmos@npm:1.11.2" dependencies: "@chain-registry/v2": "npm:^1.65.6" "@chain-registry/v2-types": "npm:0.53.68" - "@interchainjs/auth": "npm:1.10.1" - "@interchainjs/cosmos-types": "npm:1.10.1" - "@interchainjs/types": "npm:1.10.1" - "@interchainjs/utils": "npm:1.10.1" + "@interchainjs/auth": "npm:1.11.2" + "@interchainjs/cosmos-types": "npm:1.11.2" + "@interchainjs/types": "npm:1.11.2" + "@interchainjs/utils": "npm:1.11.2" "@noble/curves": "npm:^1.1.0" "@noble/hashes": "npm:^1.3.1" decimal.js: "npm:^10.4.3" - checksum: 10c0/b785d028f9f487d63232b46e6a609811d6b7311ff14e115e9a9e2f4fe7e2310da6004351df8c08aa198afc2c8bcbcfcfb25f420b3d4df84981bf2ef2552b4ed6 + checksum: 10c0/a5ab154374c1aea5a2939229d82a794388de5867cf448bd96b6206147e15f99b9496dea26945e2919bf2a02f0a69ddfd05e8333676490e9ffae9740eb6890688 languageName: node linkType: hard -"@interchainjs/cosmos@npm:1.11.0": - version: 1.11.0 - resolution: "@interchainjs/cosmos@npm:1.11.0" +"@interchainjs/cosmos@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/cosmos@npm:1.11.5" dependencies: - "@chain-registry/v2": "npm:^1.65.6" - "@chain-registry/v2-types": "npm:0.53.68" - "@interchainjs/auth": "npm:1.11.0" - "@interchainjs/cosmos-types": "npm:1.11.0" - "@interchainjs/types": "npm:1.11.0" - "@interchainjs/utils": "npm:1.11.0" + "@interchainjs/auth": "npm:1.11.5" + "@interchainjs/cosmos-types": "npm:1.11.5" + "@interchainjs/types": "npm:1.11.5" + "@interchainjs/utils": "npm:1.11.5" "@noble/curves": "npm:^1.1.0" "@noble/hashes": "npm:^1.3.1" decimal.js: "npm:^10.4.3" - checksum: 10c0/ee32397c852801a334d24955ceca456c6dfa9b03e2d30ca52c5c3392820a66efbadc5b3590bccce8aa9b9dbb9602ffc49a1f84349885f68565573a44c400b87e + checksum: 10c0/2e078bcccf4b3d9d68ca210dd746514b609004163d1472e6e32629d673b08d7677249c944862280c5627dc09d61be1b23d543692420719f4f1a9e2cd781b06e0 languageName: node linkType: hard -"@interchainjs/crypto@npm:1.10.1": - version: 1.10.1 - resolution: "@interchainjs/crypto@npm:1.10.1" +"@interchainjs/crypto@npm:1.11.2": + version: 1.11.2 + resolution: "@interchainjs/crypto@npm:1.11.2" dependencies: - "@interchainjs/encoding": "npm:1.10.1" - "@interchainjs/math": "npm:1.10.1" - "@interchainjs/utils": "npm:1.10.1" + "@interchainjs/encoding": "npm:1.11.2" + "@interchainjs/math": "npm:1.11.2" + "@interchainjs/utils": "npm:1.11.2" "@noble/hashes": "npm:^1" bn.js: "npm:^5.2.0" elliptic: "npm:^6.5.4" libsodium-wrappers-sumo: "npm:^0.7.11" - checksum: 10c0/1fccfb809f13bab1692ce8e1e03186324420debc244d59171cb8f2dd1e8fb7d1ba8c7fdf2ea71b287d2378681538e9046f5a4395fb3d0e5d5d00b5093ba1967e + checksum: 10c0/24943d0dcf22ae2afacadcc4ff2765d13bd4de73df2b0552ea29ae98a0c29e9e044bb7552968aff08fd99df2e7b2277f648d0a6fd2063c47a252ac2655f5a21a languageName: node linkType: hard -"@interchainjs/crypto@npm:1.11.0": - version: 1.11.0 - resolution: "@interchainjs/crypto@npm:1.11.0" +"@interchainjs/crypto@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/crypto@npm:1.11.5" dependencies: - "@interchainjs/encoding": "npm:1.11.0" - "@interchainjs/math": "npm:1.11.0" - "@interchainjs/utils": "npm:1.11.0" + "@interchainjs/encoding": "npm:1.11.5" + "@interchainjs/math": "npm:1.11.5" + "@interchainjs/utils": "npm:1.11.5" "@noble/hashes": "npm:^1" bn.js: "npm:^5.2.0" elliptic: "npm:^6.5.4" libsodium-wrappers-sumo: "npm:^0.7.11" - checksum: 10c0/524cb93891197a476bc5946658db53458fe8634a081ffbc846b8fac3b62ed0a62f71cbd8e7753c8cb201d63038dfe39b454c3f26d4b9eb6aee609765feab484f + checksum: 10c0/f5d6a3eef693780f18a099333d918e5bcd4c065045c7cc45dc0c09d7246c5c39b74f69b310fd6a13cc37207a6f9e6355c43e8b34f699b587f1c0c54f1b107d14 languageName: node linkType: hard -"@interchainjs/encoding@npm:1.10.1": - version: 1.10.1 - resolution: "@interchainjs/encoding@npm:1.10.1" +"@interchainjs/encoding@npm:1.11.2": + version: 1.11.2 + resolution: "@interchainjs/encoding@npm:1.11.2" dependencies: - "@interchainjs/math": "npm:1.10.1" + "@interchainjs/math": "npm:1.11.2" base64-js: "npm:^1.3.0" bech32: "npm:^1.1.4" readonly-date: "npm:^1.0.0" - checksum: 10c0/aec64cbcea7639727385f6d19d215fa285ef68e80a7be8b25e2a40832e175dabd5508ca6b7bb965b17ce200a919d6d2f09073faef2410f3e20c8ccefb176a15a + checksum: 10c0/524f9591933288e7d9cc194b24a067c21c205e2aacddbe6b686b5f05b0817ea9d0301f54783718029366445783b65b4262d99a00398af9e4dcc2671ed3681c46 languageName: node linkType: hard -"@interchainjs/encoding@npm:1.11.0": - version: 1.11.0 - resolution: "@interchainjs/encoding@npm:1.11.0" +"@interchainjs/encoding@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/encoding@npm:1.11.5" dependencies: - "@interchainjs/math": "npm:1.11.0" + "@interchainjs/math": "npm:1.11.5" base64-js: "npm:^1.3.0" bech32: "npm:^1.1.4" readonly-date: "npm:^1.0.0" - checksum: 10c0/8c29f3a258475a3ad9c7eb8f037eeb7390ca29e4c23acd2bdaf3bceb08438df587aedad491874780dffe470715ba09261b867ad2b7fec1e210306ac12075381d + checksum: 10c0/84e42df0112292f5004251ef25eb0424cda1e8687c9ccf0b54a028395a5225874ccd968f8531e21289b0f9f764c712bd313986e2ed241ad5b3b4b3b5e9ff1ac0 languageName: node linkType: hard -"@interchainjs/math@npm:1.10.1": - version: 1.10.1 - resolution: "@interchainjs/math@npm:1.10.1" +"@interchainjs/math@npm:1.11.2": + version: 1.11.2 + resolution: "@interchainjs/math@npm:1.11.2" dependencies: bn.js: "npm:^5.2.0" - checksum: 10c0/918a845f00f19943571317e3d78a425e8871e3d9b02f9ec2901faf40dd9e0bfd0d4160c36ef345be4d6a655e3f7e6f8d75cef79817766bcfeeabc48a5bda0de1 + checksum: 10c0/f99e2f604d2ad03e658a8f0c1ca7f864f3f906b0b93b03458aa7c77777f82096e207263499908e74e324bbb37f222d92b4e28ada0591817ab0356332a5b3a875 languageName: node linkType: hard -"@interchainjs/math@npm:1.11.0": - version: 1.11.0 - resolution: "@interchainjs/math@npm:1.11.0" +"@interchainjs/math@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/math@npm:1.11.5" dependencies: bn.js: "npm:^5.2.0" - checksum: 10c0/74b4a680d6fd83c49a0d4fd457238af67ad5fb584d247660db58a1a0cd0f1e7960c035175359adad545d3e896bbd2a360e14455aa71ff95e047d1f6791334088 + checksum: 10c0/434d832a655579e09e7a69876283f992e299eab19cdaf3cc8beb1f293cac4d8e57ba0b9201fd3f34ce8b845f56f2514fec24f51046b1acc15e1325efeefe7ad2 languageName: node linkType: hard -"@interchainjs/pubkey@npm:1.10.1": - version: 1.10.1 - resolution: "@interchainjs/pubkey@npm:1.10.1" +"@interchainjs/pubkey@npm:1.11.2": + version: 1.11.2 + resolution: "@interchainjs/pubkey@npm:1.11.2" dependencies: - "@interchainjs/amino": "npm:1.10.1" - "@interchainjs/cosmos-types": "npm:1.10.1" - "@interchainjs/encoding": "npm:1.10.1" - "@interchainjs/math": "npm:1.10.1" - "@interchainjs/types": "npm:1.10.1" - checksum: 10c0/d6c9ace8840f03446e535cfbdaef965c7ecc0ca7365427b5a1525fc9077376c8e34b096cc5e7b36973a762e025d64f2b903a0cea59f37cf69973f8822b9a3cf0 + "@interchainjs/amino": "npm:1.11.2" + "@interchainjs/cosmos-types": "npm:1.11.2" + "@interchainjs/encoding": "npm:1.11.2" + "@interchainjs/math": "npm:1.11.2" + "@interchainjs/types": "npm:1.11.2" + checksum: 10c0/c93812e032e94cdc1d8f3bf2ed05cdc2ffdf9e207e0801355eba15fd672f47b41fcd418a93083de572575060f050839e354aca479308b7f57943407d6b4c96ee languageName: node linkType: hard -"@interchainjs/pubkey@npm:1.11.0": - version: 1.11.0 - resolution: "@interchainjs/pubkey@npm:1.11.0" +"@interchainjs/pubkey@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/pubkey@npm:1.11.5" dependencies: - "@interchainjs/amino": "npm:1.11.0" - "@interchainjs/cosmos-types": "npm:1.11.0" - "@interchainjs/encoding": "npm:1.11.0" - "@interchainjs/math": "npm:1.11.0" - "@interchainjs/types": "npm:1.11.0" - checksum: 10c0/bc5fb26349cd4f9f22e7fbff927be97910d0c31822fdafd92a2c847fd327e3aaf655d792ea1b509343a46be15868a5cc8ed03d934b8adde7f5c1721af5af5928 + "@interchainjs/amino": "npm:1.11.5" + "@interchainjs/cosmos-types": "npm:1.11.5" + "@interchainjs/encoding": "npm:1.11.5" + "@interchainjs/math": "npm:1.11.5" + "@interchainjs/types": "npm:1.11.5" + checksum: 10c0/0019e678102da91590e4a2b26620fa99ae3465ba1b44b1afb5739d7d65ff5e766e1692aa99a948a1dd1d472bfe55370cc99c15b4cae9af0b8b841882ac83fdf2 languageName: node linkType: hard -"@interchainjs/react@npm:1.11.0": - version: 1.11.0 - resolution: "@interchainjs/react@npm:1.11.0" - dependencies: - "@interchainjs/cosmos": "npm:1.11.0" - "@interchainjs/cosmos-types": "npm:1.11.0" - "@interchainjs/encoding": "npm:1.11.0" - "@interchainjs/pubkey": "npm:1.11.0" - "@interchainjs/types": "npm:1.11.0" - "@interchainjs/utils": "npm:1.11.0" +"@interchainjs/react@npm:1.11.2": + version: 1.11.2 + resolution: "@interchainjs/react@npm:1.11.2" + dependencies: + "@interchainjs/cosmos": "npm:1.11.2" + "@interchainjs/cosmos-types": "npm:1.11.2" + "@interchainjs/encoding": "npm:1.11.2" + "@interchainjs/pubkey": "npm:1.11.2" + "@interchainjs/types": "npm:1.11.2" + "@interchainjs/utils": "npm:1.11.2" "@noble/hashes": "npm:^1.3.1" decimal.js: "npm:^10.4.3" peerDependencies: "@tanstack/react-query": 4.29.1 - checksum: 10c0/047b2f8e8386f2b015f212f9044554ec60fe16fb0047f1882385d22881a759269432051353840852185856b7d3fa2196a9f78a958a9167b48d0dad77e43bf8cf + checksum: 10c0/1b7d67228faee53f0145b33e3fee8255ccf8dd1043495fa647e77c81ae194c249f8b2c4360ff383c20cf4f6ea8267c42109055e26451b68731769b1f271f62b8 languageName: node linkType: hard -"@interchainjs/types@npm:1.10.1": - version: 1.10.1 - resolution: "@interchainjs/types@npm:1.10.1" +"@interchainjs/types@npm:1.11.2": + version: 1.11.2 + resolution: "@interchainjs/types@npm:1.11.2" dependencies: decimal.js: "npm:^10.4.3" - checksum: 10c0/20911851115ff4e2e39327bd884bace9a227b570a3a54450c75230450bb10642565db178db123e711794317590c120e7defb7b9153d8a24caa7d8beb1065689f + checksum: 10c0/2a9a63be831246a4cb763b48d486aca64bfb5e0f8405bac6b9f8eed802ab97103e8178934eddc55bc2fb3d0eb86a2cc5c464ebc9c3acf36a4bc759505330ecc5 languageName: node linkType: hard -"@interchainjs/types@npm:1.11.0": - version: 1.11.0 - resolution: "@interchainjs/types@npm:1.11.0" +"@interchainjs/types@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/types@npm:1.11.5" dependencies: decimal.js: "npm:^10.4.3" - checksum: 10c0/64e488dcc783a581686d96574e945f33c275b54fdea3826a18016b14ba89a8ec6fec419c64545b5520587cbd8640fc25a01355bdf91183175beaa79847cd49f1 + checksum: 10c0/d1e98d33ab224b09a88a274c41111c3bcd5a0b2ba5974b1e7e7c75d6e363ca2be3032019d5ea0053fc5c1b3e7fa517fdde993d6f28f41ac419c39ee1ea0ad6be languageName: node linkType: hard -"@interchainjs/utils@npm:1.10.1": - version: 1.10.1 - resolution: "@interchainjs/utils@npm:1.10.1" +"@interchainjs/utils@npm:1.11.2": + version: 1.11.2 + resolution: "@interchainjs/utils@npm:1.11.2" dependencies: - "@interchainjs/types": "npm:1.10.1" + "@interchainjs/types": "npm:1.11.2" bech32: "npm:^2.0.0" decimal.js: "npm:^10.4.3" peerDependencies: "@chain-registry/v2": 1.71.71 "@chain-registry/v2-types": 0.53.72 - checksum: 10c0/312ba471a873cfea898d1ba6fd45674bc1170f530c04767548835c335a233474a088a2686938611db8d911df976fde9bdc84d84408d37da1f43d8195e7cc22d5 + checksum: 10c0/46119fd88cde56a0ab24671f34271e7fd620fdd9269027520b116dd484ea279133f78201933833dea3cf7e47d434988acf7fcde7021add6e84f2caf5de8186ce languageName: node linkType: hard -"@interchainjs/utils@npm:1.11.0": - version: 1.11.0 - resolution: "@interchainjs/utils@npm:1.11.0" +"@interchainjs/utils@npm:1.11.5": + version: 1.11.5 + resolution: "@interchainjs/utils@npm:1.11.5" dependencies: - "@interchainjs/types": "npm:1.11.0" + "@interchainjs/types": "npm:1.11.5" bech32: "npm:^2.0.0" decimal.js: "npm:^10.4.3" peerDependencies: - "@chain-registry/v2": 1.71.71 - "@chain-registry/v2-types": 0.53.72 - checksum: 10c0/16a58b09c023fff805e00ea31ce64f9e887ab9fa04384f29b6a1babf8cacdfd779f1721e664e50235ee145cb5c90c2057858502fac0292146e37a6b810cee878 + "@chain-registry/v2": ^1.71.186 + "@chain-registry/v2-types": ^0.53.115 + checksum: 10c0/bba5d59dce665f50228fe2ca0e3427cde08a1a5e16913cad13775ca8f3fdabe2a8799111dcdc67e7538b4000c1e52805ded7547a955262c204acbe90413ff14b languageName: node linkType: hard @@ -11525,26 +11524,26 @@ __metadata: languageName: node linkType: hard -"interchain-kit@npm:0.2.222": - version: 0.2.222 - resolution: "interchain-kit@npm:0.2.222" - checksum: 10c0/51eda3fef9287d081a6bc8c3d40e4c7bc205c0b296563a99be52505edf987ba183bd07002e9b4e80848dfddb4b5e2563a863372f56a363a8b474d1b6b133debd +"interchain-kit@npm:0.3.17": + version: 0.3.17 + resolution: "interchain-kit@npm:0.3.17" + checksum: 10c0/5777b0edc0dac33208b01997825a68376075b371fa8b6e517351a314a37a972738b7b21618ebfb021656cba34de75d9378e700a60a16c008ce908283d3580670 languageName: node linkType: hard -"interchainjs@npm:1.10.1": - version: 1.10.1 - resolution: "interchainjs@npm:1.10.1" - dependencies: - "@interchainjs/cosmos": "npm:1.10.1" - "@interchainjs/cosmos-types": "npm:1.10.1" - "@interchainjs/encoding": "npm:1.10.1" - "@interchainjs/pubkey": "npm:1.10.1" - "@interchainjs/types": "npm:1.10.1" - "@interchainjs/utils": "npm:1.10.1" +"interchainjs@npm:1.11.5": + version: 1.11.5 + resolution: "interchainjs@npm:1.11.5" + dependencies: + "@interchainjs/cosmos": "npm:1.11.5" + "@interchainjs/cosmos-types": "npm:1.11.5" + "@interchainjs/encoding": "npm:1.11.5" + "@interchainjs/pubkey": "npm:1.11.5" + "@interchainjs/types": "npm:1.11.5" + "@interchainjs/utils": "npm:1.11.5" "@noble/hashes": "npm:^1.3.1" decimal.js: "npm:^10.4.3" - checksum: 10c0/024c18c92e278beb0bc381beae5a0167ef949782c3108d058d0a4a00735355dfb3a2514258115e454f2c5cd7b09727eaa51474e75a474f59220790997b4fe39e + checksum: 10c0/f3c8b445061f33fc29826707413b4df5e7b83b6acadbab991941189b5c6cf5a820f62206feca10b4ae1f0311e499631e61ade2eb1ed21c0fe36d5e81421fb0d2 languageName: node linkType: hard