juno-network 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -4
- package/main/codegen/JunoSwap.client.js +44 -42
- package/module/codegen/JunoSwap.client.js +180 -0
- package/module/codegen/JunoSwap.types.js +1 -0
- package/module/codegen/confio/proofs.js +1152 -0
- package/module/codegen/contracts.js +18 -0
- package/module/codegen/cosmos/app/v1alpha1/config.js +148 -0
- package/module/codegen/cosmos/app/v1alpha1/module.js +227 -0
- package/module/codegen/cosmos/app/v1alpha1/query.js +104 -0
- package/module/codegen/cosmos/app/v1alpha1/query.rpc.query.js +20 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +297 -0
- package/module/codegen/cosmos/auth/v1beta1/genesis.js +82 -0
- package/module/codegen/cosmos/auth/v1beta1/query.js +806 -0
- package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +73 -0
- package/module/codegen/cosmos/auth/v1beta1/query.rpc.query.js +62 -0
- package/module/codegen/cosmos/authz/v1beta1/authz.js +236 -0
- package/module/codegen/cosmos/authz/v1beta1/event.js +135 -0
- package/module/codegen/cosmos/authz/v1beta1/genesis.js +49 -0
- package/module/codegen/cosmos/authz/v1beta1/query.js +365 -0
- package/module/codegen/cosmos/authz/v1beta1/query.lcd.js +76 -0
- package/module/codegen/cosmos/authz/v1beta1/query.rpc.query.js +53 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +91 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.js +309 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +124 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +34 -0
- package/module/codegen/cosmos/bank/v1beta1/authz.js +49 -0
- package/module/codegen/cosmos/bank/v1beta1/bank.js +461 -0
- package/module/codegen/cosmos/bank/v1beta1/genesis.js +137 -0
- package/module/codegen/cosmos/bank/v1beta1/query.js +972 -0
- package/module/codegen/cosmos/bank/v1beta1/query.lcd.js +147 -0
- package/module/codegen/cosmos/bank/v1beta1/query.rpc.query.js +123 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +78 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.js +195 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.registry.js +57 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +27 -0
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +754 -0
- package/module/codegen/cosmos/base/kv/v1beta1/kv.js +139 -0
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +155 -0
- package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +235 -0
- package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1281 -0
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +712 -0
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +225 -0
- package/module/codegen/cosmos/base/store/v1beta1/listening.js +104 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1091 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +72 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.js +55 -0
- package/module/codegen/cosmos/base/v1beta1/coin.js +209 -0
- package/module/codegen/cosmos/bundle.js +190 -0
- package/module/codegen/cosmos/capability/v1beta1/capability.js +199 -0
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +150 -0
- package/module/codegen/cosmos/client.js +44 -0
- package/module/codegen/cosmos/crisis/v1beta1/genesis.js +61 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +27 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.js +129 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/crypto/ed25519/keys.js +95 -0
- package/module/codegen/cosmos/crypto/hd/v1/hd.js +88 -0
- package/module/codegen/cosmos/crypto/keyring/v1/record.js +270 -0
- package/module/codegen/cosmos/crypto/multisig/keys.js +59 -0
- package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +105 -0
- package/module/codegen/cosmos/crypto/secp256k1/keys.js +95 -0
- package/module/codegen/cosmos/crypto/secp256r1/keys.js +95 -0
- package/module/codegen/cosmos/distribution/v1beta1/distribution.js +728 -0
- package/module/codegen/cosmos/distribution/v1beta1/genesis.js +585 -0
- package/module/codegen/cosmos/distribution/v1beta1/query.js +880 -0
- package/module/codegen/cosmos/distribution/v1beta1/query.lcd.js +101 -0
- package/module/codegen/cosmos/distribution/v1beta1/query.rpc.query.js +119 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +88 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.js +382 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.registry.js +99 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +41 -0
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +102 -0
- package/module/codegen/cosmos/evidence/v1beta1/genesis.js +67 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.js +255 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +36 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.rpc.query.js +27 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +29 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.js +137 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +365 -0
- package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +67 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.js +429 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.lcd.js +50 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.query.js +34 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +54 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.js +247 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +89 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +27 -0
- package/module/codegen/cosmos/genutil/v1beta1/genesis.js +68 -0
- package/module/codegen/cosmos/gov/v1/genesis.js +111 -0
- package/module/codegen/cosmos/gov/v1/gov.js +750 -0
- package/module/codegen/cosmos/gov/v1/query.js +859 -0
- package/module/codegen/cosmos/gov/v1/query.lcd.js +112 -0
- package/module/codegen/cosmos/gov/v1/query.rpc.query.js +108 -0
- package/module/codegen/cosmos/gov/v1/tx.amino.js +167 -0
- package/module/codegen/cosmos/gov/v1/tx.js +545 -0
- package/module/codegen/cosmos/gov/v1/tx.registry.js +120 -0
- package/module/codegen/cosmos/gov/v1/tx.rpc.msg.js +48 -0
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +111 -0
- package/module/codegen/cosmos/gov/v1beta1/gov.js +801 -0
- package/module/codegen/cosmos/gov/v1beta1/query.js +859 -0
- package/module/codegen/cosmos/gov/v1beta1/query.lcd.js +112 -0
- package/module/codegen/cosmos/gov/v1beta1/query.rpc.query.js +108 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +128 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.js +424 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.registry.js +99 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +41 -0
- package/module/codegen/cosmos/group/v1/events.js +549 -0
- package/module/codegen/cosmos/group/v1/genesis.js +175 -0
- package/module/codegen/cosmos/group/v1/query.js +1769 -0
- package/module/codegen/cosmos/group/v1/query.lcd.js +167 -0
- package/module/codegen/cosmos/group/v1/query.rpc.query.js +104 -0
- package/module/codegen/cosmos/group/v1/tx.amino.js +429 -0
- package/module/codegen/cosmos/group/v1/tx.js +1969 -0
- package/module/codegen/cosmos/group/v1/tx.registry.js +509 -0
- package/module/codegen/cosmos/group/v1/tx.rpc.msg.js +111 -0
- package/module/codegen/cosmos/group/v1/types.js +1350 -0
- package/module/codegen/cosmos/lcd.js +50 -0
- package/module/codegen/cosmos/mint/v1beta1/genesis.js +73 -0
- package/module/codegen/cosmos/mint/v1beta1/mint.js +193 -0
- package/module/codegen/cosmos/mint/v1beta1/query.js +308 -0
- package/module/codegen/cosmos/mint/v1beta1/query.lcd.js +32 -0
- package/module/codegen/cosmos/mint/v1beta1/query.rpc.query.js +34 -0
- package/module/codegen/cosmos/msg/v1/msg.js +1 -0
- package/module/codegen/cosmos/nft/v1beta1/event.js +264 -0
- package/module/codegen/cosmos/nft/v1beta1/genesis.js +163 -0
- package/module/codegen/cosmos/nft/v1beta1/nft.js +242 -0
- package/module/codegen/cosmos/nft/v1beta1/query.js +917 -0
- package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +88 -0
- package/module/codegen/cosmos/nft/v1beta1/query.rpc.query.js +62 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +31 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.js +141 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/orm/v1/orm.js +305 -0
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +225 -0
- package/module/codegen/cosmos/params/v1beta1/params.js +175 -0
- package/module/codegen/cosmos/params/v1beta1/query.js +317 -0
- package/module/codegen/cosmos/params/v1beta1/query.lcd.js +38 -0
- package/module/codegen/cosmos/params/v1beta1/query.rpc.query.js +27 -0
- package/module/codegen/cosmos/rpc.query.js +34 -0
- package/module/codegen/cosmos/rpc.tx.js +25 -0
- package/module/codegen/cosmos/slashing/v1beta1/genesis.js +317 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.js +355 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +43 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.rpc.query.js +34 -0
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +234 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +19 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.js +105 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +54 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +20 -0
- package/module/codegen/cosmos/staking/v1beta1/authz.js +204 -0
- package/module/codegen/cosmos/staking/v1beta1/genesis.js +178 -0
- package/module/codegen/cosmos/staking/v1beta1/query.js +1469 -0
- package/module/codegen/cosmos/staking/v1beta1/query.lcd.js +196 -0
- package/module/codegen/cosmos/staking/v1beta1/query.rpc.query.js +174 -0
- package/module/codegen/cosmos/staking/v1beta1/staking.js +1446 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +216 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.js +598 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.registry.js +120 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +48 -0
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +378 -0
- package/module/codegen/cosmos/tx/v1beta1/service.js +714 -0
- package/module/codegen/cosmos/tx/v1beta1/service.lcd.js +62 -0
- package/module/codegen/cosmos/tx/v1beta1/service.rpc.svc.js +75 -0
- package/module/codegen/cosmos/tx/v1beta1/tx.js +903 -0
- package/module/codegen/cosmos/upgrade/v1beta1/query.js +445 -0
- package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +66 -0
- package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.query.js +75 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +59 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.js +174 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.registry.js +57 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +27 -0
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +273 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +114 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +440 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +124 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +34 -0
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +480 -0
- package/module/codegen/cosmos_proto/bundle.js +8 -0
- package/module/codegen/cosmos_proto/cosmos.js +194 -0
- package/module/codegen/cosmwasm/bundle.js +31 -0
- package/module/codegen/cosmwasm/client.js +39 -0
- package/module/codegen/cosmwasm/lcd.js +57 -0
- package/module/codegen/cosmwasm/rpc.query.js +39 -0
- package/module/codegen/cosmwasm/rpc.tx.js +30 -0
- package/module/codegen/cosmwasm/wasm/v1/genesis.js +358 -0
- package/module/codegen/cosmwasm/wasm/v1/ibc.js +127 -0
- package/module/codegen/cosmwasm/wasm/v1/proposal.js +772 -0
- package/module/codegen/cosmwasm/wasm/v1/query.js +1046 -0
- package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +128 -0
- package/module/codegen/cosmwasm/wasm/v1/query.rpc.query.js +123 -0
- package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +189 -0
- package/module/codegen/cosmwasm/wasm/v1/tx.js +711 -0
- package/module/codegen/cosmwasm/wasm/v1/tx.registry.js +141 -0
- package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +55 -0
- package/module/codegen/cosmwasm/wasm/v1/types.js +668 -0
- package/module/codegen/gogoproto/bundle.js +8 -0
- package/module/codegen/gogoproto/gogo.js +1 -0
- package/module/codegen/google/api/annotations.js +1 -0
- package/module/codegen/google/api/http.js +328 -0
- package/module/codegen/google/bundle.js +19 -0
- package/module/codegen/google/protobuf/any.js +58 -0
- package/module/codegen/google/protobuf/descriptor.js +2775 -0
- package/module/codegen/google/protobuf/duration.js +119 -0
- package/module/codegen/google/protobuf/empty.js +35 -0
- package/module/codegen/google/protobuf/field_mask.js +48 -0
- package/module/codegen/google/protobuf/struct.js +310 -0
- package/module/codegen/google/protobuf/timestamp.js +143 -0
- package/module/codegen/google/protobuf/wrappers.js +426 -0
- package/module/codegen/ibc/applications/transfer/v1/genesis.js +69 -0
- package/module/codegen/ibc/applications/transfer/v1/query.js +276 -0
- package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +46 -0
- package/module/codegen/ibc/applications/transfer/v1/query.rpc.query.js +55 -0
- package/module/codegen/ibc/applications/transfer/v1/transfer.js +115 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +58 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.js +150 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.registry.js +36 -0
- package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +20 -0
- package/module/codegen/ibc/applications/transfer/v2/packet.js +78 -0
- package/module/codegen/ibc/bundle.js +120 -0
- package/module/codegen/ibc/client.js +45 -0
- package/module/codegen/ibc/core/channel/v1/channel.js +646 -0
- package/module/codegen/ibc/core/channel/v1/genesis.js +188 -0
- package/module/codegen/ibc/core/channel/v1/query.js +1759 -0
- package/module/codegen/ibc/core/channel/v1/query.lcd.js +162 -0
- package/module/codegen/ibc/core/channel/v1/query.rpc.query.js +165 -0
- package/module/codegen/ibc/core/channel/v1/tx.amino.js +530 -0
- package/module/codegen/ibc/core/channel/v1/tx.js +1218 -0
- package/module/codegen/ibc/core/channel/v1/tx.registry.js +225 -0
- package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +83 -0
- package/module/codegen/ibc/core/client/v1/client.js +433 -0
- package/module/codegen/ibc/core/client/v1/genesis.js +215 -0
- package/module/codegen/ibc/core/client/v1/query.js +814 -0
- package/module/codegen/ibc/core/client/v1/query.lcd.js +104 -0
- package/module/codegen/ibc/core/client/v1/query.rpc.query.js +110 -0
- package/module/codegen/ibc/core/client/v1/tx.amino.js +150 -0
- package/module/codegen/ibc/core/client/v1/tx.js +436 -0
- package/module/codegen/ibc/core/client/v1/tx.registry.js +99 -0
- package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/ibc/core/commitment/v1/commitment.js +190 -0
- package/module/codegen/ibc/core/connection/v1/connection.js +537 -0
- package/module/codegen/ibc/core/connection/v1/genesis.js +81 -0
- package/module/codegen/ibc/core/connection/v1/query.js +608 -0
- package/module/codegen/ibc/core/connection/v1/query.lcd.js +65 -0
- package/module/codegen/ibc/core/connection/v1/query.rpc.query.js +77 -0
- package/module/codegen/ibc/core/connection/v1/tx.amino.js +269 -0
- package/module/codegen/ibc/core/connection/v1/tx.js +603 -0
- package/module/codegen/ibc/core/connection/v1/tx.registry.js +99 -0
- package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/ibc/core/port/v1/query.js +182 -0
- package/module/codegen/ibc/core/port/v1/query.rpc.query.js +20 -0
- package/module/codegen/ibc/core/types/v1/genesis.js +87 -0
- package/module/codegen/ibc/lcd.js +76 -0
- package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +59 -0
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +1166 -0
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +1166 -0
- package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +424 -0
- package/module/codegen/ibc/rpc.query.js +52 -0
- package/module/codegen/ibc/rpc.tx.js +43 -0
- package/module/codegen/ics23/bundle.js +8 -0
- package/module/codegen/index.js +18 -0
- package/module/codegen/juno/bundle.js +20 -0
- package/module/codegen/juno/lcd.js +55 -0
- package/module/codegen/juno/mint/genesis.js +57 -0
- package/module/codegen/juno/mint/mint.js +137 -0
- package/module/codegen/juno/mint/query.js +243 -0
- package/module/codegen/juno/mint/query.lcd.js +35 -0
- package/module/codegen/juno/mint/query.rpc.query.js +53 -0
- package/module/codegen/juno/rpc.query.js +37 -0
- package/module/codegen/tendermint/abci/types.js +3341 -0
- package/module/codegen/tendermint/bundle.js +36 -0
- package/module/codegen/tendermint/crypto/keys.js +58 -0
- package/module/codegen/tendermint/crypto/proof.js +317 -0
- package/module/codegen/tendermint/libs/bits/types.js +71 -0
- package/module/codegen/tendermint/p2p/types.js +386 -0
- package/module/codegen/tendermint/types/block.js +78 -0
- package/module/codegen/tendermint/types/evidence.js +281 -0
- package/module/codegen/tendermint/types/params.js +361 -0
- package/module/codegen/tendermint/types/types.js +1172 -0
- package/module/codegen/tendermint/types/validator.js +202 -0
- package/module/codegen/tendermint/version/types.js +119 -0
- package/module/index.js +1 -0
- package/package.json +9 -4
- package/src/codegen/JunoSwap.client.ts +299 -0
- package/src/codegen/JunoSwap.types.ts +143 -0
- package/src/codegen/confio/proofs.ts +1521 -0
- package/src/codegen/contracts.ts +13 -0
- package/src/codegen/cosmos/app/v1alpha1/config.ts +172 -0
- package/src/codegen/cosmos/app/v1alpha1/module.ts +308 -0
- package/src/codegen/cosmos/app/v1alpha1/query.rpc.query.ts +26 -0
- package/src/codegen/cosmos/app/v1alpha1/query.ts +112 -0
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +316 -0
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +88 -0
- package/src/codegen/cosmos/auth/v1beta1/query.lcd.ts +72 -0
- package/src/codegen/cosmos/auth/v1beta1/query.rpc.query.ts +90 -0
- package/src/codegen/cosmos/auth/v1beta1/query.ts +865 -0
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +306 -0
- package/src/codegen/cosmos/authz/v1beta1/event.ts +180 -0
- package/src/codegen/cosmos/authz/v1beta1/genesis.ts +58 -0
- package/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +79 -0
- package/src/codegen/cosmos/authz/v1beta1/query.rpc.query.ts +68 -0
- package/src/codegen/cosmos/authz/v1beta1/query.ts +464 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +131 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +127 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +51 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +396 -0
- package/src/codegen/cosmos/bank/v1beta1/authz.ts +68 -0
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +666 -0
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +194 -0
- package/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +150 -0
- package/src/codegen/cosmos/bank/v1beta1/query.rpc.query.ts +155 -0
- package/src/codegen/cosmos/bank/v1beta1/query.ts +1301 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +110 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +58 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +35 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.ts +230 -0
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +1106 -0
- package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +145 -0
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +282 -0
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +254 -0
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +1708 -0
- package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +759 -0
- package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +242 -0
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +112 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +74 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.ts +80 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1181 -0
- package/src/codegen/cosmos/base/v1beta1/coin.ts +266 -0
- package/src/codegen/cosmos/bundle.ts +214 -0
- package/src/codegen/cosmos/capability/v1beta1/capability.ts +216 -0
- package/src/codegen/cosmos/capability/v1beta1/genesis.ts +168 -0
- package/src/codegen/cosmos/client.ts +51 -0
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +69 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +37 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +55 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +25 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.ts +136 -0
- package/src/codegen/cosmos/crypto/ed25519/keys.ts +130 -0
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +129 -0
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +349 -0
- package/src/codegen/cosmos/crypto/multisig/keys.ts +78 -0
- package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +142 -0
- package/src/codegen/cosmos/crypto/secp256k1/keys.ts +124 -0
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +122 -0
- package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +945 -0
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +800 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +104 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.rpc.query.ts +149 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +1187 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +120 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +100 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +59 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.ts +473 -0
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +107 -0
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +72 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts +39 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.rpc.query.ts +37 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +283 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +42 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +56 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +27 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +144 -0
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +421 -0
- package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +71 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +52 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.rpc.query.ts +48 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +467 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +75 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +91 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +38 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +269 -0
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +71 -0
- package/src/codegen/cosmos/gov/v1/genesis.ts +156 -0
- package/src/codegen/cosmos/gov/v1/gov.ts +983 -0
- package/src/codegen/cosmos/gov/v1/query.lcd.ts +115 -0
- package/src/codegen/cosmos/gov/v1/query.rpc.query.ts +134 -0
- package/src/codegen/cosmos/gov/v1/query.ts +1114 -0
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +226 -0
- package/src/codegen/cosmos/gov/v1/tx.registry.ts +121 -0
- package/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +66 -0
- package/src/codegen/cosmos/gov/v1/tx.ts +661 -0
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +156 -0
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +1064 -0
- package/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +115 -0
- package/src/codegen/cosmos/gov/v1beta1/query.rpc.query.ts +134 -0
- package/src/codegen/cosmos/gov/v1beta1/query.ts +1114 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +174 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +100 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +57 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +518 -0
- package/src/codegen/cosmos/group/v1/events.ts +600 -0
- package/src/codegen/cosmos/group/v1/genesis.ts +208 -0
- package/src/codegen/cosmos/group/v1/query.lcd.ts +159 -0
- package/src/codegen/cosmos/group/v1/query.rpc.query.ts +147 -0
- package/src/codegen/cosmos/group/v1/query.ts +1945 -0
- package/src/codegen/cosmos/group/v1/tx.amino.ts +585 -0
- package/src/codegen/cosmos/group/v1/tx.registry.ts +512 -0
- package/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +157 -0
- package/src/codegen/cosmos/group/v1/tx.ts +2197 -0
- package/src/codegen/cosmos/group/v1/types.ts +1577 -0
- package/src/codegen/cosmos/lcd.ts +52 -0
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +81 -0
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +218 -0
- package/src/codegen/cosmos/mint/v1beta1/query.lcd.ts +33 -0
- package/src/codegen/cosmos/mint/v1beta1/query.rpc.query.ts +46 -0
- package/src/codegen/cosmos/mint/v1beta1/query.ts +339 -0
- package/src/codegen/cosmos/msg/v1/msg.ts +1 -0
- package/src/codegen/cosmos/nft/v1beta1/event.ts +279 -0
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +174 -0
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +279 -0
- package/src/codegen/cosmos/nft/v1beta1/query.lcd.ts +86 -0
- package/src/codegen/cosmos/nft/v1beta1/query.rpc.query.ts +88 -0
- package/src/codegen/cosmos/nft/v1beta1/query.ts +976 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +42 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +55 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +25 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +156 -0
- package/src/codegen/cosmos/orm/v1/orm.ts +392 -0
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +289 -0
- package/src/codegen/cosmos/params/v1beta1/params.ts +187 -0
- package/src/codegen/cosmos/params/v1beta1/query.lcd.ts +40 -0
- package/src/codegen/cosmos/params/v1beta1/query.rpc.query.ts +37 -0
- package/src/codegen/cosmos/params/v1beta1/query.ts +348 -0
- package/src/codegen/cosmos/rpc.query.ts +36 -0
- package/src/codegen/cosmos/rpc.tx.ts +28 -0
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +356 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts +45 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.rpc.query.ts +47 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +394 -0
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +268 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +27 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +55 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +27 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.ts +110 -0
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +265 -0
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +253 -0
- package/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +199 -0
- package/src/codegen/cosmos/staking/v1beta1/query.rpc.query.ts +222 -0
- package/src/codegen/cosmos/staking/v1beta1/query.ts +1970 -0
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +1957 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +294 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +121 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +68 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +735 -0
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +528 -0
- package/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +65 -0
- package/src/codegen/cosmos/tx/v1beta1/service.rpc.svc.ts +94 -0
- package/src/codegen/cosmos/tx/v1beta1/service.ts +984 -0
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +1497 -0
- package/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +69 -0
- package/src/codegen/cosmos/upgrade/v1beta1/query.rpc.query.ts +99 -0
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +631 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +86 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +58 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +40 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +245 -0
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +432 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +157 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +127 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +50 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +475 -0
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +527 -0
- package/src/codegen/cosmos_proto/bundle.ts +3 -0
- package/src/codegen/cosmos_proto/cosmos.ts +289 -0
- package/src/codegen/cosmwasm/bundle.ts +34 -0
- package/src/codegen/cosmwasm/client.ts +44 -0
- package/src/codegen/cosmwasm/lcd.ts +59 -0
- package/src/codegen/cosmwasm/rpc.query.ts +41 -0
- package/src/codegen/cosmwasm/rpc.tx.ts +33 -0
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +433 -0
- package/src/codegen/cosmwasm/wasm/v1/ibc.ts +180 -0
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +1083 -0
- package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +131 -0
- package/src/codegen/cosmwasm/wasm/v1/query.rpc.query.ts +152 -0
- package/src/codegen/cosmwasm/wasm/v1/query.ts +1378 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +252 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +142 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +75 -0
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +944 -0
- package/src/codegen/cosmwasm/wasm/v1/types.ts +861 -0
- package/src/codegen/gogoproto/bundle.ts +3 -0
- package/src/codegen/gogoproto/gogo.ts +1 -0
- package/src/codegen/google/api/annotations.ts +1 -0
- package/src/codegen/google/api/http.ts +683 -0
- package/src/codegen/google/bundle.ts +19 -0
- package/src/codegen/google/protobuf/any.ts +291 -0
- package/src/codegen/google/protobuf/descriptor.ts +4317 -0
- package/src/codegen/google/protobuf/duration.ts +215 -0
- package/src/codegen/google/protobuf/empty.ts +62 -0
- package/src/codegen/google/protobuf/field_mask.ts +459 -0
- package/src/codegen/google/protobuf/struct.ts +420 -0
- package/src/codegen/google/protobuf/timestamp.ts +259 -0
- package/src/codegen/google/protobuf/wrappers.ts +587 -0
- package/src/codegen/ibc/applications/transfer/v1/genesis.ts +82 -0
- package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +49 -0
- package/src/codegen/ibc/applications/transfer/v1/query.rpc.query.ts +66 -0
- package/src/codegen/ibc/applications/transfer/v1/query.ts +369 -0
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +182 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +73 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +37 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +25 -0
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +217 -0
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +115 -0
- package/src/codegen/ibc/bundle.ts +125 -0
- package/src/codegen/ibc/client.ts +53 -0
- package/src/codegen/ibc/core/channel/v1/channel.ts +923 -0
- package/src/codegen/ibc/core/channel/v1/genesis.ts +231 -0
- package/src/codegen/ibc/core/channel/v1/query.lcd.ts +165 -0
- package/src/codegen/ibc/core/channel/v1/query.rpc.query.ts +214 -0
- package/src/codegen/ibc/core/channel/v1/query.ts +2444 -0
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +670 -0
- package/src/codegen/ibc/core/channel/v1/tx.registry.ts +226 -0
- package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +116 -0
- package/src/codegen/ibc/core/channel/v1/tx.ts +1492 -0
- package/src/codegen/ibc/core/client/v1/client.ts +629 -0
- package/src/codegen/ibc/core/client/v1/genesis.ts +288 -0
- package/src/codegen/ibc/core/client/v1/query.lcd.ts +107 -0
- package/src/codegen/ibc/core/client/v1/query.rpc.query.ts +138 -0
- package/src/codegen/ibc/core/client/v1/query.ts +1130 -0
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +205 -0
- package/src/codegen/ibc/core/client/v1/tx.registry.ts +100 -0
- package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +55 -0
- package/src/codegen/ibc/core/client/v1/tx.ts +603 -0
- package/src/codegen/ibc/core/commitment/v1/commitment.ts +257 -0
- package/src/codegen/ibc/core/connection/v1/connection.ts +758 -0
- package/src/codegen/ibc/core/connection/v1/genesis.ts +98 -0
- package/src/codegen/ibc/core/connection/v1/query.lcd.ts +68 -0
- package/src/codegen/ibc/core/connection/v1/query.rpc.query.ts +97 -0
- package/src/codegen/ibc/core/connection/v1/query.ts +836 -0
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +343 -0
- package/src/codegen/ibc/core/connection/v1/tx.registry.ts +100 -0
- package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +56 -0
- package/src/codegen/ibc/core/connection/v1/tx.ts +795 -0
- package/src/codegen/ibc/core/port/v1/query.rpc.query.ts +26 -0
- package/src/codegen/ibc/core/port/v1/query.ts +204 -0
- package/src/codegen/ibc/core/types/v1/genesis.ts +98 -0
- package/src/codegen/ibc/lcd.ts +78 -0
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +82 -0
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1499 -0
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1499 -0
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +626 -0
- package/src/codegen/ibc/rpc.query.ts +54 -0
- package/src/codegen/ibc/rpc.tx.ts +46 -0
- package/src/codegen/ics23/bundle.ts +3 -0
- package/src/codegen/index.ts +19 -0
- package/src/codegen/juno/bundle.ts +18 -0
- package/src/codegen/juno/lcd.ts +57 -0
- package/src/codegen/juno/mint/genesis.ts +76 -0
- package/src/codegen/juno/mint/mint.ts +172 -0
- package/src/codegen/juno/mint/query.lcd.ts +38 -0
- package/src/codegen/juno/mint/query.rpc.query.ts +64 -0
- package/src/codegen/juno/mint/query.ts +312 -0
- package/src/codegen/juno/rpc.query.ts +39 -0
- package/src/codegen/tendermint/abci/types.ts +3943 -0
- package/src/codegen/tendermint/bundle.ts +32 -0
- package/src/codegen/tendermint/crypto/keys.ts +69 -0
- package/src/codegen/tendermint/crypto/proof.ts +375 -0
- package/src/codegen/tendermint/libs/bits/types.ts +77 -0
- package/src/codegen/tendermint/p2p/types.ts +438 -0
- package/src/codegen/tendermint/types/block.ts +91 -0
- package/src/codegen/tendermint/types/evidence.ts +325 -0
- package/src/codegen/tendermint/types/params.ts +521 -0
- package/src/codegen/tendermint/types/types.ts +1399 -0
- package/src/codegen/tendermint/types/validator.ts +228 -0
- package/src/codegen/tendermint/version/types.ts +152 -0
- package/src/index.ts +1 -0
- package/types/codegen/JunoSwap.client.d.ts +29 -27
- package/types/codegen/JunoSwap.types.d.ts +43 -25
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +3 -3
- package/types/codegen/cosmos/authz/v1beta1/query.rpc.query.d.ts +10 -10
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +3 -3
- package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +7 -7
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +9 -9
- package/types/codegen/cosmos/bank/v1beta1/query.rpc.query.d.ts +28 -28
- package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +2 -2
- package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +5 -5
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +6 -6
- package/types/codegen/cosmos/bundle.d.ts +214 -214
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +9 -9
- package/types/codegen/cosmos/distribution/v1beta1/query.rpc.query.d.ts +28 -28
- package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +4 -4
- package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +9 -9
- package/types/codegen/cosmos/gov/v1/query.d.ts +8 -8
- package/types/codegen/cosmos/gov/v1/query.rpc.query.d.ts +25 -25
- package/types/codegen/cosmos/gov/v1/tx.d.ts +5 -5
- package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +11 -11
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +8 -8
- package/types/codegen/cosmos/gov/v1beta1/query.rpc.query.d.ts +25 -25
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +4 -4
- package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +9 -9
- package/types/codegen/cosmos/rpc.query.d.ts +61 -61
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +14 -14
- package/types/codegen/cosmos/staking/v1beta1/query.rpc.query.d.ts +43 -43
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +5 -5
- package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +11 -11
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +5 -5
- package/types/codegen/cosmos/tx/v1beta1/service.rpc.svc.d.ts +16 -16
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +5 -5
- package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.query.d.ts +16 -16
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +2 -2
- package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +5 -5
- package/types/codegen/cosmwasm/bundle.d.ts +94 -94
- package/types/codegen/cosmwasm/rpc.query.d.ts +70 -70
- package/types/codegen/cosmwasm/wasm/v1/query.d.ts +9 -9
- package/types/codegen/cosmwasm/wasm/v1/query.rpc.query.d.ts +28 -28
- package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +6 -6
- package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +13 -13
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +3 -3
- package/types/codegen/ibc/applications/transfer/v1/query.rpc.query.d.ts +10 -10
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +1 -1
- package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +3 -3
- package/types/codegen/ibc/bundle.d.ts +167 -167
- package/types/codegen/ibc/core/channel/v1/query.d.ts +13 -13
- package/types/codegen/ibc/core/channel/v1/query.rpc.query.d.ts +40 -40
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +10 -10
- package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +21 -21
- package/types/codegen/ibc/core/client/v1/query.d.ts +8 -8
- package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +25 -25
- package/types/codegen/ibc/core/client/v1/tx.d.ts +4 -4
- package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +9 -9
- package/types/codegen/ibc/core/connection/v1/query.d.ts +5 -5
- package/types/codegen/ibc/core/connection/v1/query.rpc.query.d.ts +16 -16
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +4 -4
- package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +9 -9
- package/types/codegen/ibc/rpc.query.d.ts +90 -90
- package/types/codegen/index.d.ts +1 -1
- package/types/codegen/juno/bundle.d.ts +70 -70
- package/types/codegen/juno/mint/query.d.ts +3 -3
- package/types/codegen/juno/mint/query.rpc.query.d.ts +10 -10
- package/types/codegen/juno/rpc.query.d.ts +64 -64
- package/types/codegen/tendermint/abci/types.d.ts +15 -15
- package/types/codegen/tendermint/bundle.d.ts +15 -15
@@ -0,0 +1,1130 @@
|
|
1
|
+
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination";
|
2
|
+
import { Any, AnySDKType } from "../../../../google/protobuf/any";
|
3
|
+
import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightSDKType, Params, ParamsSDKType } from "./client";
|
4
|
+
import * as _m0 from "protobufjs/minimal";
|
5
|
+
import { DeepPartial, Long } from "@osmonauts/helpers";
|
6
|
+
/**
|
7
|
+
* QueryClientStateRequest is the request type for the Query/ClientState RPC
|
8
|
+
* method
|
9
|
+
*/
|
10
|
+
|
11
|
+
export interface QueryClientStateRequest {
|
12
|
+
/** client state unique identifier */
|
13
|
+
clientId: string;
|
14
|
+
}
|
15
|
+
/**
|
16
|
+
* QueryClientStateRequest is the request type for the Query/ClientState RPC
|
17
|
+
* method
|
18
|
+
*/
|
19
|
+
|
20
|
+
export interface QueryClientStateRequestSDKType {
|
21
|
+
/** client state unique identifier */
|
22
|
+
client_id: string;
|
23
|
+
}
|
24
|
+
/**
|
25
|
+
* QueryClientStateResponse is the response type for the Query/ClientState RPC
|
26
|
+
* method. Besides the client state, it includes a proof and the height from
|
27
|
+
* which the proof was retrieved.
|
28
|
+
*/
|
29
|
+
|
30
|
+
export interface QueryClientStateResponse {
|
31
|
+
/** client state associated with the request identifier */
|
32
|
+
clientState: Any;
|
33
|
+
/** merkle proof of existence */
|
34
|
+
|
35
|
+
proof: Uint8Array;
|
36
|
+
/** height at which the proof was retrieved */
|
37
|
+
|
38
|
+
proofHeight: Height;
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* QueryClientStateResponse is the response type for the Query/ClientState RPC
|
42
|
+
* method. Besides the client state, it includes a proof and the height from
|
43
|
+
* which the proof was retrieved.
|
44
|
+
*/
|
45
|
+
|
46
|
+
export interface QueryClientStateResponseSDKType {
|
47
|
+
/** client state associated with the request identifier */
|
48
|
+
client_state: AnySDKType;
|
49
|
+
/** merkle proof of existence */
|
50
|
+
|
51
|
+
proof: Uint8Array;
|
52
|
+
/** height at which the proof was retrieved */
|
53
|
+
|
54
|
+
proof_height: HeightSDKType;
|
55
|
+
}
|
56
|
+
/**
|
57
|
+
* QueryClientStatesRequest is the request type for the Query/ClientStates RPC
|
58
|
+
* method
|
59
|
+
*/
|
60
|
+
|
61
|
+
export interface QueryClientStatesRequest {
|
62
|
+
/** pagination request */
|
63
|
+
pagination?: PageRequest;
|
64
|
+
}
|
65
|
+
/**
|
66
|
+
* QueryClientStatesRequest is the request type for the Query/ClientStates RPC
|
67
|
+
* method
|
68
|
+
*/
|
69
|
+
|
70
|
+
export interface QueryClientStatesRequestSDKType {
|
71
|
+
/** pagination request */
|
72
|
+
pagination?: PageRequestSDKType;
|
73
|
+
}
|
74
|
+
/**
|
75
|
+
* QueryClientStatesResponse is the response type for the Query/ClientStates RPC
|
76
|
+
* method.
|
77
|
+
*/
|
78
|
+
|
79
|
+
export interface QueryClientStatesResponse {
|
80
|
+
/** list of stored ClientStates of the chain. */
|
81
|
+
clientStates: IdentifiedClientState[];
|
82
|
+
/** pagination response */
|
83
|
+
|
84
|
+
pagination?: PageResponse;
|
85
|
+
}
|
86
|
+
/**
|
87
|
+
* QueryClientStatesResponse is the response type for the Query/ClientStates RPC
|
88
|
+
* method.
|
89
|
+
*/
|
90
|
+
|
91
|
+
export interface QueryClientStatesResponseSDKType {
|
92
|
+
/** list of stored ClientStates of the chain. */
|
93
|
+
client_states: IdentifiedClientStateSDKType[];
|
94
|
+
/** pagination response */
|
95
|
+
|
96
|
+
pagination?: PageResponseSDKType;
|
97
|
+
}
|
98
|
+
/**
|
99
|
+
* QueryConsensusStateRequest is the request type for the Query/ConsensusState
|
100
|
+
* RPC method. Besides the consensus state, it includes a proof and the height
|
101
|
+
* from which the proof was retrieved.
|
102
|
+
*/
|
103
|
+
|
104
|
+
export interface QueryConsensusStateRequest {
|
105
|
+
/** client identifier */
|
106
|
+
clientId: string;
|
107
|
+
/** consensus state revision number */
|
108
|
+
|
109
|
+
revisionNumber: Long;
|
110
|
+
/** consensus state revision height */
|
111
|
+
|
112
|
+
revisionHeight: Long;
|
113
|
+
/**
|
114
|
+
* latest_height overrrides the height field and queries the latest stored
|
115
|
+
* ConsensusState
|
116
|
+
*/
|
117
|
+
|
118
|
+
latestHeight?: boolean;
|
119
|
+
}
|
120
|
+
/**
|
121
|
+
* QueryConsensusStateRequest is the request type for the Query/ConsensusState
|
122
|
+
* RPC method. Besides the consensus state, it includes a proof and the height
|
123
|
+
* from which the proof was retrieved.
|
124
|
+
*/
|
125
|
+
|
126
|
+
export interface QueryConsensusStateRequestSDKType {
|
127
|
+
/** client identifier */
|
128
|
+
client_id: string;
|
129
|
+
/** consensus state revision number */
|
130
|
+
|
131
|
+
revision_number: Long;
|
132
|
+
/** consensus state revision height */
|
133
|
+
|
134
|
+
revision_height: Long;
|
135
|
+
/**
|
136
|
+
* latest_height overrrides the height field and queries the latest stored
|
137
|
+
* ConsensusState
|
138
|
+
*/
|
139
|
+
|
140
|
+
latest_height?: boolean;
|
141
|
+
}
|
142
|
+
/**
|
143
|
+
* QueryConsensusStateResponse is the response type for the Query/ConsensusState
|
144
|
+
* RPC method
|
145
|
+
*/
|
146
|
+
|
147
|
+
export interface QueryConsensusStateResponse {
|
148
|
+
/** consensus state associated with the client identifier at the given height */
|
149
|
+
consensusState: Any;
|
150
|
+
/** merkle proof of existence */
|
151
|
+
|
152
|
+
proof: Uint8Array;
|
153
|
+
/** height at which the proof was retrieved */
|
154
|
+
|
155
|
+
proofHeight: Height;
|
156
|
+
}
|
157
|
+
/**
|
158
|
+
* QueryConsensusStateResponse is the response type for the Query/ConsensusState
|
159
|
+
* RPC method
|
160
|
+
*/
|
161
|
+
|
162
|
+
export interface QueryConsensusStateResponseSDKType {
|
163
|
+
/** consensus state associated with the client identifier at the given height */
|
164
|
+
consensus_state: AnySDKType;
|
165
|
+
/** merkle proof of existence */
|
166
|
+
|
167
|
+
proof: Uint8Array;
|
168
|
+
/** height at which the proof was retrieved */
|
169
|
+
|
170
|
+
proof_height: HeightSDKType;
|
171
|
+
}
|
172
|
+
/**
|
173
|
+
* QueryConsensusStatesRequest is the request type for the Query/ConsensusStates
|
174
|
+
* RPC method.
|
175
|
+
*/
|
176
|
+
|
177
|
+
export interface QueryConsensusStatesRequest {
|
178
|
+
/** client identifier */
|
179
|
+
clientId: string;
|
180
|
+
/** pagination request */
|
181
|
+
|
182
|
+
pagination?: PageRequest;
|
183
|
+
}
|
184
|
+
/**
|
185
|
+
* QueryConsensusStatesRequest is the request type for the Query/ConsensusStates
|
186
|
+
* RPC method.
|
187
|
+
*/
|
188
|
+
|
189
|
+
export interface QueryConsensusStatesRequestSDKType {
|
190
|
+
/** client identifier */
|
191
|
+
client_id: string;
|
192
|
+
/** pagination request */
|
193
|
+
|
194
|
+
pagination?: PageRequestSDKType;
|
195
|
+
}
|
196
|
+
/**
|
197
|
+
* QueryConsensusStatesResponse is the response type for the
|
198
|
+
* Query/ConsensusStates RPC method
|
199
|
+
*/
|
200
|
+
|
201
|
+
export interface QueryConsensusStatesResponse {
|
202
|
+
/** consensus states associated with the identifier */
|
203
|
+
consensusStates: ConsensusStateWithHeight[];
|
204
|
+
/** pagination response */
|
205
|
+
|
206
|
+
pagination?: PageResponse;
|
207
|
+
}
|
208
|
+
/**
|
209
|
+
* QueryConsensusStatesResponse is the response type for the
|
210
|
+
* Query/ConsensusStates RPC method
|
211
|
+
*/
|
212
|
+
|
213
|
+
export interface QueryConsensusStatesResponseSDKType {
|
214
|
+
/** consensus states associated with the identifier */
|
215
|
+
consensus_states: ConsensusStateWithHeightSDKType[];
|
216
|
+
/** pagination response */
|
217
|
+
|
218
|
+
pagination?: PageResponseSDKType;
|
219
|
+
}
|
220
|
+
/**
|
221
|
+
* QueryClientStatusRequest is the request type for the Query/ClientStatus RPC
|
222
|
+
* method
|
223
|
+
*/
|
224
|
+
|
225
|
+
export interface QueryClientStatusRequest {
|
226
|
+
/** client unique identifier */
|
227
|
+
clientId: string;
|
228
|
+
}
|
229
|
+
/**
|
230
|
+
* QueryClientStatusRequest is the request type for the Query/ClientStatus RPC
|
231
|
+
* method
|
232
|
+
*/
|
233
|
+
|
234
|
+
export interface QueryClientStatusRequestSDKType {
|
235
|
+
/** client unique identifier */
|
236
|
+
client_id: string;
|
237
|
+
}
|
238
|
+
/**
|
239
|
+
* QueryClientStatusResponse is the response type for the Query/ClientStatus RPC
|
240
|
+
* method. It returns the current status of the IBC client.
|
241
|
+
*/
|
242
|
+
|
243
|
+
export interface QueryClientStatusResponse {
|
244
|
+
status: string;
|
245
|
+
}
|
246
|
+
/**
|
247
|
+
* QueryClientStatusResponse is the response type for the Query/ClientStatus RPC
|
248
|
+
* method. It returns the current status of the IBC client.
|
249
|
+
*/
|
250
|
+
|
251
|
+
export interface QueryClientStatusResponseSDKType {
|
252
|
+
status: string;
|
253
|
+
}
|
254
|
+
/**
|
255
|
+
* QueryClientParamsRequest is the request type for the Query/ClientParams RPC
|
256
|
+
* method.
|
257
|
+
*/
|
258
|
+
|
259
|
+
export interface QueryClientParamsRequest {}
|
260
|
+
/**
|
261
|
+
* QueryClientParamsRequest is the request type for the Query/ClientParams RPC
|
262
|
+
* method.
|
263
|
+
*/
|
264
|
+
|
265
|
+
export interface QueryClientParamsRequestSDKType {}
|
266
|
+
/**
|
267
|
+
* QueryClientParamsResponse is the response type for the Query/ClientParams RPC
|
268
|
+
* method.
|
269
|
+
*/
|
270
|
+
|
271
|
+
export interface QueryClientParamsResponse {
|
272
|
+
/** params defines the parameters of the module. */
|
273
|
+
params: Params;
|
274
|
+
}
|
275
|
+
/**
|
276
|
+
* QueryClientParamsResponse is the response type for the Query/ClientParams RPC
|
277
|
+
* method.
|
278
|
+
*/
|
279
|
+
|
280
|
+
export interface QueryClientParamsResponseSDKType {
|
281
|
+
/** params defines the parameters of the module. */
|
282
|
+
params: ParamsSDKType;
|
283
|
+
}
|
284
|
+
/**
|
285
|
+
* QueryUpgradedClientStateRequest is the request type for the
|
286
|
+
* Query/UpgradedClientState RPC method
|
287
|
+
*/
|
288
|
+
|
289
|
+
export interface QueryUpgradedClientStateRequest {}
|
290
|
+
/**
|
291
|
+
* QueryUpgradedClientStateRequest is the request type for the
|
292
|
+
* Query/UpgradedClientState RPC method
|
293
|
+
*/
|
294
|
+
|
295
|
+
export interface QueryUpgradedClientStateRequestSDKType {}
|
296
|
+
/**
|
297
|
+
* QueryUpgradedClientStateResponse is the response type for the
|
298
|
+
* Query/UpgradedClientState RPC method.
|
299
|
+
*/
|
300
|
+
|
301
|
+
export interface QueryUpgradedClientStateResponse {
|
302
|
+
/** client state associated with the request identifier */
|
303
|
+
upgradedClientState: Any;
|
304
|
+
}
|
305
|
+
/**
|
306
|
+
* QueryUpgradedClientStateResponse is the response type for the
|
307
|
+
* Query/UpgradedClientState RPC method.
|
308
|
+
*/
|
309
|
+
|
310
|
+
export interface QueryUpgradedClientStateResponseSDKType {
|
311
|
+
/** client state associated with the request identifier */
|
312
|
+
upgraded_client_state: AnySDKType;
|
313
|
+
}
|
314
|
+
/**
|
315
|
+
* QueryUpgradedConsensusStateRequest is the request type for the
|
316
|
+
* Query/UpgradedConsensusState RPC method
|
317
|
+
*/
|
318
|
+
|
319
|
+
export interface QueryUpgradedConsensusStateRequest {}
|
320
|
+
/**
|
321
|
+
* QueryUpgradedConsensusStateRequest is the request type for the
|
322
|
+
* Query/UpgradedConsensusState RPC method
|
323
|
+
*/
|
324
|
+
|
325
|
+
export interface QueryUpgradedConsensusStateRequestSDKType {}
|
326
|
+
/**
|
327
|
+
* QueryUpgradedConsensusStateResponse is the response type for the
|
328
|
+
* Query/UpgradedConsensusState RPC method.
|
329
|
+
*/
|
330
|
+
|
331
|
+
export interface QueryUpgradedConsensusStateResponse {
|
332
|
+
/** Consensus state associated with the request identifier */
|
333
|
+
upgradedConsensusState: Any;
|
334
|
+
}
|
335
|
+
/**
|
336
|
+
* QueryUpgradedConsensusStateResponse is the response type for the
|
337
|
+
* Query/UpgradedConsensusState RPC method.
|
338
|
+
*/
|
339
|
+
|
340
|
+
export interface QueryUpgradedConsensusStateResponseSDKType {
|
341
|
+
/** Consensus state associated with the request identifier */
|
342
|
+
upgraded_consensus_state: AnySDKType;
|
343
|
+
}
|
344
|
+
|
345
|
+
function createBaseQueryClientStateRequest(): QueryClientStateRequest {
|
346
|
+
return {
|
347
|
+
clientId: ""
|
348
|
+
};
|
349
|
+
}
|
350
|
+
|
351
|
+
export const QueryClientStateRequest = {
|
352
|
+
encode(message: QueryClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
353
|
+
if (message.clientId !== "") {
|
354
|
+
writer.uint32(10).string(message.clientId);
|
355
|
+
}
|
356
|
+
|
357
|
+
return writer;
|
358
|
+
},
|
359
|
+
|
360
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateRequest {
|
361
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
362
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
363
|
+
const message = createBaseQueryClientStateRequest();
|
364
|
+
|
365
|
+
while (reader.pos < end) {
|
366
|
+
const tag = reader.uint32();
|
367
|
+
|
368
|
+
switch (tag >>> 3) {
|
369
|
+
case 1:
|
370
|
+
message.clientId = reader.string();
|
371
|
+
break;
|
372
|
+
|
373
|
+
default:
|
374
|
+
reader.skipType(tag & 7);
|
375
|
+
break;
|
376
|
+
}
|
377
|
+
}
|
378
|
+
|
379
|
+
return message;
|
380
|
+
},
|
381
|
+
|
382
|
+
fromPartial(object: DeepPartial<QueryClientStateRequest>): QueryClientStateRequest {
|
383
|
+
const message = createBaseQueryClientStateRequest();
|
384
|
+
message.clientId = object.clientId ?? "";
|
385
|
+
return message;
|
386
|
+
}
|
387
|
+
|
388
|
+
};
|
389
|
+
|
390
|
+
function createBaseQueryClientStateResponse(): QueryClientStateResponse {
|
391
|
+
return {
|
392
|
+
clientState: undefined,
|
393
|
+
proof: new Uint8Array(),
|
394
|
+
proofHeight: undefined
|
395
|
+
};
|
396
|
+
}
|
397
|
+
|
398
|
+
export const QueryClientStateResponse = {
|
399
|
+
encode(message: QueryClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
400
|
+
if (message.clientState !== undefined) {
|
401
|
+
Any.encode(message.clientState, writer.uint32(10).fork()).ldelim();
|
402
|
+
}
|
403
|
+
|
404
|
+
if (message.proof.length !== 0) {
|
405
|
+
writer.uint32(18).bytes(message.proof);
|
406
|
+
}
|
407
|
+
|
408
|
+
if (message.proofHeight !== undefined) {
|
409
|
+
Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
|
410
|
+
}
|
411
|
+
|
412
|
+
return writer;
|
413
|
+
},
|
414
|
+
|
415
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponse {
|
416
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
417
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
418
|
+
const message = createBaseQueryClientStateResponse();
|
419
|
+
|
420
|
+
while (reader.pos < end) {
|
421
|
+
const tag = reader.uint32();
|
422
|
+
|
423
|
+
switch (tag >>> 3) {
|
424
|
+
case 1:
|
425
|
+
message.clientState = Any.decode(reader, reader.uint32());
|
426
|
+
break;
|
427
|
+
|
428
|
+
case 2:
|
429
|
+
message.proof = reader.bytes();
|
430
|
+
break;
|
431
|
+
|
432
|
+
case 3:
|
433
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
434
|
+
break;
|
435
|
+
|
436
|
+
default:
|
437
|
+
reader.skipType(tag & 7);
|
438
|
+
break;
|
439
|
+
}
|
440
|
+
}
|
441
|
+
|
442
|
+
return message;
|
443
|
+
},
|
444
|
+
|
445
|
+
fromPartial(object: DeepPartial<QueryClientStateResponse>): QueryClientStateResponse {
|
446
|
+
const message = createBaseQueryClientStateResponse();
|
447
|
+
message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined;
|
448
|
+
message.proof = object.proof ?? new Uint8Array();
|
449
|
+
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
450
|
+
return message;
|
451
|
+
}
|
452
|
+
|
453
|
+
};
|
454
|
+
|
455
|
+
function createBaseQueryClientStatesRequest(): QueryClientStatesRequest {
|
456
|
+
return {
|
457
|
+
pagination: undefined
|
458
|
+
};
|
459
|
+
}
|
460
|
+
|
461
|
+
export const QueryClientStatesRequest = {
|
462
|
+
encode(message: QueryClientStatesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
463
|
+
if (message.pagination !== undefined) {
|
464
|
+
PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
|
465
|
+
}
|
466
|
+
|
467
|
+
return writer;
|
468
|
+
},
|
469
|
+
|
470
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesRequest {
|
471
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
472
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
473
|
+
const message = createBaseQueryClientStatesRequest();
|
474
|
+
|
475
|
+
while (reader.pos < end) {
|
476
|
+
const tag = reader.uint32();
|
477
|
+
|
478
|
+
switch (tag >>> 3) {
|
479
|
+
case 1:
|
480
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
481
|
+
break;
|
482
|
+
|
483
|
+
default:
|
484
|
+
reader.skipType(tag & 7);
|
485
|
+
break;
|
486
|
+
}
|
487
|
+
}
|
488
|
+
|
489
|
+
return message;
|
490
|
+
},
|
491
|
+
|
492
|
+
fromPartial(object: DeepPartial<QueryClientStatesRequest>): QueryClientStatesRequest {
|
493
|
+
const message = createBaseQueryClientStatesRequest();
|
494
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
495
|
+
return message;
|
496
|
+
}
|
497
|
+
|
498
|
+
};
|
499
|
+
|
500
|
+
function createBaseQueryClientStatesResponse(): QueryClientStatesResponse {
|
501
|
+
return {
|
502
|
+
clientStates: [],
|
503
|
+
pagination: undefined
|
504
|
+
};
|
505
|
+
}
|
506
|
+
|
507
|
+
export const QueryClientStatesResponse = {
|
508
|
+
encode(message: QueryClientStatesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
509
|
+
for (const v of message.clientStates) {
|
510
|
+
IdentifiedClientState.encode(v!, writer.uint32(10).fork()).ldelim();
|
511
|
+
}
|
512
|
+
|
513
|
+
if (message.pagination !== undefined) {
|
514
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
515
|
+
}
|
516
|
+
|
517
|
+
return writer;
|
518
|
+
},
|
519
|
+
|
520
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponse {
|
521
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
522
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
523
|
+
const message = createBaseQueryClientStatesResponse();
|
524
|
+
|
525
|
+
while (reader.pos < end) {
|
526
|
+
const tag = reader.uint32();
|
527
|
+
|
528
|
+
switch (tag >>> 3) {
|
529
|
+
case 1:
|
530
|
+
message.clientStates.push(IdentifiedClientState.decode(reader, reader.uint32()));
|
531
|
+
break;
|
532
|
+
|
533
|
+
case 2:
|
534
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
535
|
+
break;
|
536
|
+
|
537
|
+
default:
|
538
|
+
reader.skipType(tag & 7);
|
539
|
+
break;
|
540
|
+
}
|
541
|
+
}
|
542
|
+
|
543
|
+
return message;
|
544
|
+
},
|
545
|
+
|
546
|
+
fromPartial(object: DeepPartial<QueryClientStatesResponse>): QueryClientStatesResponse {
|
547
|
+
const message = createBaseQueryClientStatesResponse();
|
548
|
+
message.clientStates = object.clientStates?.map(e => IdentifiedClientState.fromPartial(e)) || [];
|
549
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
550
|
+
return message;
|
551
|
+
}
|
552
|
+
|
553
|
+
};
|
554
|
+
|
555
|
+
function createBaseQueryConsensusStateRequest(): QueryConsensusStateRequest {
|
556
|
+
return {
|
557
|
+
clientId: "",
|
558
|
+
revisionNumber: Long.UZERO,
|
559
|
+
revisionHeight: Long.UZERO,
|
560
|
+
latestHeight: false
|
561
|
+
};
|
562
|
+
}
|
563
|
+
|
564
|
+
export const QueryConsensusStateRequest = {
|
565
|
+
encode(message: QueryConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
566
|
+
if (message.clientId !== "") {
|
567
|
+
writer.uint32(10).string(message.clientId);
|
568
|
+
}
|
569
|
+
|
570
|
+
if (!message.revisionNumber.isZero()) {
|
571
|
+
writer.uint32(16).uint64(message.revisionNumber);
|
572
|
+
}
|
573
|
+
|
574
|
+
if (!message.revisionHeight.isZero()) {
|
575
|
+
writer.uint32(24).uint64(message.revisionHeight);
|
576
|
+
}
|
577
|
+
|
578
|
+
if (message.latestHeight === true) {
|
579
|
+
writer.uint32(32).bool(message.latestHeight);
|
580
|
+
}
|
581
|
+
|
582
|
+
return writer;
|
583
|
+
},
|
584
|
+
|
585
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateRequest {
|
586
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
587
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
588
|
+
const message = createBaseQueryConsensusStateRequest();
|
589
|
+
|
590
|
+
while (reader.pos < end) {
|
591
|
+
const tag = reader.uint32();
|
592
|
+
|
593
|
+
switch (tag >>> 3) {
|
594
|
+
case 1:
|
595
|
+
message.clientId = reader.string();
|
596
|
+
break;
|
597
|
+
|
598
|
+
case 2:
|
599
|
+
message.revisionNumber = (reader.uint64() as Long);
|
600
|
+
break;
|
601
|
+
|
602
|
+
case 3:
|
603
|
+
message.revisionHeight = (reader.uint64() as Long);
|
604
|
+
break;
|
605
|
+
|
606
|
+
case 4:
|
607
|
+
message.latestHeight = reader.bool();
|
608
|
+
break;
|
609
|
+
|
610
|
+
default:
|
611
|
+
reader.skipType(tag & 7);
|
612
|
+
break;
|
613
|
+
}
|
614
|
+
}
|
615
|
+
|
616
|
+
return message;
|
617
|
+
},
|
618
|
+
|
619
|
+
fromPartial(object: DeepPartial<QueryConsensusStateRequest>): QueryConsensusStateRequest {
|
620
|
+
const message = createBaseQueryConsensusStateRequest();
|
621
|
+
message.clientId = object.clientId ?? "";
|
622
|
+
message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? Long.fromValue(object.revisionNumber) : Long.UZERO;
|
623
|
+
message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? Long.fromValue(object.revisionHeight) : Long.UZERO;
|
624
|
+
message.latestHeight = object.latestHeight ?? false;
|
625
|
+
return message;
|
626
|
+
}
|
627
|
+
|
628
|
+
};
|
629
|
+
|
630
|
+
function createBaseQueryConsensusStateResponse(): QueryConsensusStateResponse {
|
631
|
+
return {
|
632
|
+
consensusState: undefined,
|
633
|
+
proof: new Uint8Array(),
|
634
|
+
proofHeight: undefined
|
635
|
+
};
|
636
|
+
}
|
637
|
+
|
638
|
+
export const QueryConsensusStateResponse = {
|
639
|
+
encode(message: QueryConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
640
|
+
if (message.consensusState !== undefined) {
|
641
|
+
Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim();
|
642
|
+
}
|
643
|
+
|
644
|
+
if (message.proof.length !== 0) {
|
645
|
+
writer.uint32(18).bytes(message.proof);
|
646
|
+
}
|
647
|
+
|
648
|
+
if (message.proofHeight !== undefined) {
|
649
|
+
Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
|
650
|
+
}
|
651
|
+
|
652
|
+
return writer;
|
653
|
+
},
|
654
|
+
|
655
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponse {
|
656
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
657
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
658
|
+
const message = createBaseQueryConsensusStateResponse();
|
659
|
+
|
660
|
+
while (reader.pos < end) {
|
661
|
+
const tag = reader.uint32();
|
662
|
+
|
663
|
+
switch (tag >>> 3) {
|
664
|
+
case 1:
|
665
|
+
message.consensusState = Any.decode(reader, reader.uint32());
|
666
|
+
break;
|
667
|
+
|
668
|
+
case 2:
|
669
|
+
message.proof = reader.bytes();
|
670
|
+
break;
|
671
|
+
|
672
|
+
case 3:
|
673
|
+
message.proofHeight = Height.decode(reader, reader.uint32());
|
674
|
+
break;
|
675
|
+
|
676
|
+
default:
|
677
|
+
reader.skipType(tag & 7);
|
678
|
+
break;
|
679
|
+
}
|
680
|
+
}
|
681
|
+
|
682
|
+
return message;
|
683
|
+
},
|
684
|
+
|
685
|
+
fromPartial(object: DeepPartial<QueryConsensusStateResponse>): QueryConsensusStateResponse {
|
686
|
+
const message = createBaseQueryConsensusStateResponse();
|
687
|
+
message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined;
|
688
|
+
message.proof = object.proof ?? new Uint8Array();
|
689
|
+
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
690
|
+
return message;
|
691
|
+
}
|
692
|
+
|
693
|
+
};
|
694
|
+
|
695
|
+
function createBaseQueryConsensusStatesRequest(): QueryConsensusStatesRequest {
|
696
|
+
return {
|
697
|
+
clientId: "",
|
698
|
+
pagination: undefined
|
699
|
+
};
|
700
|
+
}
|
701
|
+
|
702
|
+
export const QueryConsensusStatesRequest = {
|
703
|
+
encode(message: QueryConsensusStatesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
704
|
+
if (message.clientId !== "") {
|
705
|
+
writer.uint32(10).string(message.clientId);
|
706
|
+
}
|
707
|
+
|
708
|
+
if (message.pagination !== undefined) {
|
709
|
+
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
710
|
+
}
|
711
|
+
|
712
|
+
return writer;
|
713
|
+
},
|
714
|
+
|
715
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesRequest {
|
716
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
717
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
718
|
+
const message = createBaseQueryConsensusStatesRequest();
|
719
|
+
|
720
|
+
while (reader.pos < end) {
|
721
|
+
const tag = reader.uint32();
|
722
|
+
|
723
|
+
switch (tag >>> 3) {
|
724
|
+
case 1:
|
725
|
+
message.clientId = reader.string();
|
726
|
+
break;
|
727
|
+
|
728
|
+
case 2:
|
729
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
730
|
+
break;
|
731
|
+
|
732
|
+
default:
|
733
|
+
reader.skipType(tag & 7);
|
734
|
+
break;
|
735
|
+
}
|
736
|
+
}
|
737
|
+
|
738
|
+
return message;
|
739
|
+
},
|
740
|
+
|
741
|
+
fromPartial(object: DeepPartial<QueryConsensusStatesRequest>): QueryConsensusStatesRequest {
|
742
|
+
const message = createBaseQueryConsensusStatesRequest();
|
743
|
+
message.clientId = object.clientId ?? "";
|
744
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
745
|
+
return message;
|
746
|
+
}
|
747
|
+
|
748
|
+
};
|
749
|
+
|
750
|
+
function createBaseQueryConsensusStatesResponse(): QueryConsensusStatesResponse {
|
751
|
+
return {
|
752
|
+
consensusStates: [],
|
753
|
+
pagination: undefined
|
754
|
+
};
|
755
|
+
}
|
756
|
+
|
757
|
+
export const QueryConsensusStatesResponse = {
|
758
|
+
encode(message: QueryConsensusStatesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
759
|
+
for (const v of message.consensusStates) {
|
760
|
+
ConsensusStateWithHeight.encode(v!, writer.uint32(10).fork()).ldelim();
|
761
|
+
}
|
762
|
+
|
763
|
+
if (message.pagination !== undefined) {
|
764
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
765
|
+
}
|
766
|
+
|
767
|
+
return writer;
|
768
|
+
},
|
769
|
+
|
770
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponse {
|
771
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
772
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
773
|
+
const message = createBaseQueryConsensusStatesResponse();
|
774
|
+
|
775
|
+
while (reader.pos < end) {
|
776
|
+
const tag = reader.uint32();
|
777
|
+
|
778
|
+
switch (tag >>> 3) {
|
779
|
+
case 1:
|
780
|
+
message.consensusStates.push(ConsensusStateWithHeight.decode(reader, reader.uint32()));
|
781
|
+
break;
|
782
|
+
|
783
|
+
case 2:
|
784
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
785
|
+
break;
|
786
|
+
|
787
|
+
default:
|
788
|
+
reader.skipType(tag & 7);
|
789
|
+
break;
|
790
|
+
}
|
791
|
+
}
|
792
|
+
|
793
|
+
return message;
|
794
|
+
},
|
795
|
+
|
796
|
+
fromPartial(object: DeepPartial<QueryConsensusStatesResponse>): QueryConsensusStatesResponse {
|
797
|
+
const message = createBaseQueryConsensusStatesResponse();
|
798
|
+
message.consensusStates = object.consensusStates?.map(e => ConsensusStateWithHeight.fromPartial(e)) || [];
|
799
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
800
|
+
return message;
|
801
|
+
}
|
802
|
+
|
803
|
+
};
|
804
|
+
|
805
|
+
function createBaseQueryClientStatusRequest(): QueryClientStatusRequest {
|
806
|
+
return {
|
807
|
+
clientId: ""
|
808
|
+
};
|
809
|
+
}
|
810
|
+
|
811
|
+
export const QueryClientStatusRequest = {
|
812
|
+
encode(message: QueryClientStatusRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
813
|
+
if (message.clientId !== "") {
|
814
|
+
writer.uint32(10).string(message.clientId);
|
815
|
+
}
|
816
|
+
|
817
|
+
return writer;
|
818
|
+
},
|
819
|
+
|
820
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusRequest {
|
821
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
822
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
823
|
+
const message = createBaseQueryClientStatusRequest();
|
824
|
+
|
825
|
+
while (reader.pos < end) {
|
826
|
+
const tag = reader.uint32();
|
827
|
+
|
828
|
+
switch (tag >>> 3) {
|
829
|
+
case 1:
|
830
|
+
message.clientId = reader.string();
|
831
|
+
break;
|
832
|
+
|
833
|
+
default:
|
834
|
+
reader.skipType(tag & 7);
|
835
|
+
break;
|
836
|
+
}
|
837
|
+
}
|
838
|
+
|
839
|
+
return message;
|
840
|
+
},
|
841
|
+
|
842
|
+
fromPartial(object: DeepPartial<QueryClientStatusRequest>): QueryClientStatusRequest {
|
843
|
+
const message = createBaseQueryClientStatusRequest();
|
844
|
+
message.clientId = object.clientId ?? "";
|
845
|
+
return message;
|
846
|
+
}
|
847
|
+
|
848
|
+
};
|
849
|
+
|
850
|
+
function createBaseQueryClientStatusResponse(): QueryClientStatusResponse {
|
851
|
+
return {
|
852
|
+
status: ""
|
853
|
+
};
|
854
|
+
}
|
855
|
+
|
856
|
+
export const QueryClientStatusResponse = {
|
857
|
+
encode(message: QueryClientStatusResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
858
|
+
if (message.status !== "") {
|
859
|
+
writer.uint32(10).string(message.status);
|
860
|
+
}
|
861
|
+
|
862
|
+
return writer;
|
863
|
+
},
|
864
|
+
|
865
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponse {
|
866
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
867
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
868
|
+
const message = createBaseQueryClientStatusResponse();
|
869
|
+
|
870
|
+
while (reader.pos < end) {
|
871
|
+
const tag = reader.uint32();
|
872
|
+
|
873
|
+
switch (tag >>> 3) {
|
874
|
+
case 1:
|
875
|
+
message.status = reader.string();
|
876
|
+
break;
|
877
|
+
|
878
|
+
default:
|
879
|
+
reader.skipType(tag & 7);
|
880
|
+
break;
|
881
|
+
}
|
882
|
+
}
|
883
|
+
|
884
|
+
return message;
|
885
|
+
},
|
886
|
+
|
887
|
+
fromPartial(object: DeepPartial<QueryClientStatusResponse>): QueryClientStatusResponse {
|
888
|
+
const message = createBaseQueryClientStatusResponse();
|
889
|
+
message.status = object.status ?? "";
|
890
|
+
return message;
|
891
|
+
}
|
892
|
+
|
893
|
+
};
|
894
|
+
|
895
|
+
function createBaseQueryClientParamsRequest(): QueryClientParamsRequest {
|
896
|
+
return {};
|
897
|
+
}
|
898
|
+
|
899
|
+
export const QueryClientParamsRequest = {
|
900
|
+
encode(_: QueryClientParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
901
|
+
return writer;
|
902
|
+
},
|
903
|
+
|
904
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsRequest {
|
905
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
906
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
907
|
+
const message = createBaseQueryClientParamsRequest();
|
908
|
+
|
909
|
+
while (reader.pos < end) {
|
910
|
+
const tag = reader.uint32();
|
911
|
+
|
912
|
+
switch (tag >>> 3) {
|
913
|
+
default:
|
914
|
+
reader.skipType(tag & 7);
|
915
|
+
break;
|
916
|
+
}
|
917
|
+
}
|
918
|
+
|
919
|
+
return message;
|
920
|
+
},
|
921
|
+
|
922
|
+
fromPartial(_: DeepPartial<QueryClientParamsRequest>): QueryClientParamsRequest {
|
923
|
+
const message = createBaseQueryClientParamsRequest();
|
924
|
+
return message;
|
925
|
+
}
|
926
|
+
|
927
|
+
};
|
928
|
+
|
929
|
+
function createBaseQueryClientParamsResponse(): QueryClientParamsResponse {
|
930
|
+
return {
|
931
|
+
params: undefined
|
932
|
+
};
|
933
|
+
}
|
934
|
+
|
935
|
+
export const QueryClientParamsResponse = {
|
936
|
+
encode(message: QueryClientParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
937
|
+
if (message.params !== undefined) {
|
938
|
+
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
939
|
+
}
|
940
|
+
|
941
|
+
return writer;
|
942
|
+
},
|
943
|
+
|
944
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponse {
|
945
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
946
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
947
|
+
const message = createBaseQueryClientParamsResponse();
|
948
|
+
|
949
|
+
while (reader.pos < end) {
|
950
|
+
const tag = reader.uint32();
|
951
|
+
|
952
|
+
switch (tag >>> 3) {
|
953
|
+
case 1:
|
954
|
+
message.params = Params.decode(reader, reader.uint32());
|
955
|
+
break;
|
956
|
+
|
957
|
+
default:
|
958
|
+
reader.skipType(tag & 7);
|
959
|
+
break;
|
960
|
+
}
|
961
|
+
}
|
962
|
+
|
963
|
+
return message;
|
964
|
+
},
|
965
|
+
|
966
|
+
fromPartial(object: DeepPartial<QueryClientParamsResponse>): QueryClientParamsResponse {
|
967
|
+
const message = createBaseQueryClientParamsResponse();
|
968
|
+
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
969
|
+
return message;
|
970
|
+
}
|
971
|
+
|
972
|
+
};
|
973
|
+
|
974
|
+
function createBaseQueryUpgradedClientStateRequest(): QueryUpgradedClientStateRequest {
|
975
|
+
return {};
|
976
|
+
}
|
977
|
+
|
978
|
+
export const QueryUpgradedClientStateRequest = {
|
979
|
+
encode(_: QueryUpgradedClientStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
980
|
+
return writer;
|
981
|
+
},
|
982
|
+
|
983
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateRequest {
|
984
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
985
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
986
|
+
const message = createBaseQueryUpgradedClientStateRequest();
|
987
|
+
|
988
|
+
while (reader.pos < end) {
|
989
|
+
const tag = reader.uint32();
|
990
|
+
|
991
|
+
switch (tag >>> 3) {
|
992
|
+
default:
|
993
|
+
reader.skipType(tag & 7);
|
994
|
+
break;
|
995
|
+
}
|
996
|
+
}
|
997
|
+
|
998
|
+
return message;
|
999
|
+
},
|
1000
|
+
|
1001
|
+
fromPartial(_: DeepPartial<QueryUpgradedClientStateRequest>): QueryUpgradedClientStateRequest {
|
1002
|
+
const message = createBaseQueryUpgradedClientStateRequest();
|
1003
|
+
return message;
|
1004
|
+
}
|
1005
|
+
|
1006
|
+
};
|
1007
|
+
|
1008
|
+
function createBaseQueryUpgradedClientStateResponse(): QueryUpgradedClientStateResponse {
|
1009
|
+
return {
|
1010
|
+
upgradedClientState: undefined
|
1011
|
+
};
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
export const QueryUpgradedClientStateResponse = {
|
1015
|
+
encode(message: QueryUpgradedClientStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1016
|
+
if (message.upgradedClientState !== undefined) {
|
1017
|
+
Any.encode(message.upgradedClientState, writer.uint32(10).fork()).ldelim();
|
1018
|
+
}
|
1019
|
+
|
1020
|
+
return writer;
|
1021
|
+
},
|
1022
|
+
|
1023
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponse {
|
1024
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1025
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1026
|
+
const message = createBaseQueryUpgradedClientStateResponse();
|
1027
|
+
|
1028
|
+
while (reader.pos < end) {
|
1029
|
+
const tag = reader.uint32();
|
1030
|
+
|
1031
|
+
switch (tag >>> 3) {
|
1032
|
+
case 1:
|
1033
|
+
message.upgradedClientState = Any.decode(reader, reader.uint32());
|
1034
|
+
break;
|
1035
|
+
|
1036
|
+
default:
|
1037
|
+
reader.skipType(tag & 7);
|
1038
|
+
break;
|
1039
|
+
}
|
1040
|
+
}
|
1041
|
+
|
1042
|
+
return message;
|
1043
|
+
},
|
1044
|
+
|
1045
|
+
fromPartial(object: DeepPartial<QueryUpgradedClientStateResponse>): QueryUpgradedClientStateResponse {
|
1046
|
+
const message = createBaseQueryUpgradedClientStateResponse();
|
1047
|
+
message.upgradedClientState = object.upgradedClientState !== undefined && object.upgradedClientState !== null ? Any.fromPartial(object.upgradedClientState) : undefined;
|
1048
|
+
return message;
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
};
|
1052
|
+
|
1053
|
+
function createBaseQueryUpgradedConsensusStateRequest(): QueryUpgradedConsensusStateRequest {
|
1054
|
+
return {};
|
1055
|
+
}
|
1056
|
+
|
1057
|
+
export const QueryUpgradedConsensusStateRequest = {
|
1058
|
+
encode(_: QueryUpgradedConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1059
|
+
return writer;
|
1060
|
+
},
|
1061
|
+
|
1062
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest {
|
1063
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1064
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1065
|
+
const message = createBaseQueryUpgradedConsensusStateRequest();
|
1066
|
+
|
1067
|
+
while (reader.pos < end) {
|
1068
|
+
const tag = reader.uint32();
|
1069
|
+
|
1070
|
+
switch (tag >>> 3) {
|
1071
|
+
default:
|
1072
|
+
reader.skipType(tag & 7);
|
1073
|
+
break;
|
1074
|
+
}
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
return message;
|
1078
|
+
},
|
1079
|
+
|
1080
|
+
fromPartial(_: DeepPartial<QueryUpgradedConsensusStateRequest>): QueryUpgradedConsensusStateRequest {
|
1081
|
+
const message = createBaseQueryUpgradedConsensusStateRequest();
|
1082
|
+
return message;
|
1083
|
+
}
|
1084
|
+
|
1085
|
+
};
|
1086
|
+
|
1087
|
+
function createBaseQueryUpgradedConsensusStateResponse(): QueryUpgradedConsensusStateResponse {
|
1088
|
+
return {
|
1089
|
+
upgradedConsensusState: undefined
|
1090
|
+
};
|
1091
|
+
}
|
1092
|
+
|
1093
|
+
export const QueryUpgradedConsensusStateResponse = {
|
1094
|
+
encode(message: QueryUpgradedConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1095
|
+
if (message.upgradedConsensusState !== undefined) {
|
1096
|
+
Any.encode(message.upgradedConsensusState, writer.uint32(10).fork()).ldelim();
|
1097
|
+
}
|
1098
|
+
|
1099
|
+
return writer;
|
1100
|
+
},
|
1101
|
+
|
1102
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse {
|
1103
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1104
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1105
|
+
const message = createBaseQueryUpgradedConsensusStateResponse();
|
1106
|
+
|
1107
|
+
while (reader.pos < end) {
|
1108
|
+
const tag = reader.uint32();
|
1109
|
+
|
1110
|
+
switch (tag >>> 3) {
|
1111
|
+
case 1:
|
1112
|
+
message.upgradedConsensusState = Any.decode(reader, reader.uint32());
|
1113
|
+
break;
|
1114
|
+
|
1115
|
+
default:
|
1116
|
+
reader.skipType(tag & 7);
|
1117
|
+
break;
|
1118
|
+
}
|
1119
|
+
}
|
1120
|
+
|
1121
|
+
return message;
|
1122
|
+
},
|
1123
|
+
|
1124
|
+
fromPartial(object: DeepPartial<QueryUpgradedConsensusStateResponse>): QueryUpgradedConsensusStateResponse {
|
1125
|
+
const message = createBaseQueryUpgradedConsensusStateResponse();
|
1126
|
+
message.upgradedConsensusState = object.upgradedConsensusState !== undefined && object.upgradedConsensusState !== null ? Any.fromPartial(object.upgradedConsensusState) : undefined;
|
1127
|
+
return message;
|
1128
|
+
}
|
1129
|
+
|
1130
|
+
};
|