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,1970 @@
|
|
1
|
+
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination";
|
2
|
+
import { Validator, ValidatorSDKType, DelegationResponse, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoSDKType, Pool, PoolSDKType, Params, ParamsSDKType } from "./staking";
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
4
|
+
import { DeepPartial, Long } from "@osmonauts/helpers";
|
5
|
+
/** QueryValidatorsRequest is request type for Query/Validators RPC method. */
|
6
|
+
|
7
|
+
export interface QueryValidatorsRequest {
|
8
|
+
/** status enables to query for validators matching a given status. */
|
9
|
+
status?: string;
|
10
|
+
/** pagination defines an optional pagination for the request. */
|
11
|
+
|
12
|
+
pagination?: PageRequest;
|
13
|
+
}
|
14
|
+
/** QueryValidatorsRequest is request type for Query/Validators RPC method. */
|
15
|
+
|
16
|
+
export interface QueryValidatorsRequestSDKType {
|
17
|
+
/** status enables to query for validators matching a given status. */
|
18
|
+
status?: string;
|
19
|
+
/** pagination defines an optional pagination for the request. */
|
20
|
+
|
21
|
+
pagination?: PageRequestSDKType;
|
22
|
+
}
|
23
|
+
/** QueryValidatorsResponse is response type for the Query/Validators RPC method */
|
24
|
+
|
25
|
+
export interface QueryValidatorsResponse {
|
26
|
+
/** validators contains all the queried validators. */
|
27
|
+
validators: Validator[];
|
28
|
+
/** pagination defines the pagination in the response. */
|
29
|
+
|
30
|
+
pagination?: PageResponse;
|
31
|
+
}
|
32
|
+
/** QueryValidatorsResponse is response type for the Query/Validators RPC method */
|
33
|
+
|
34
|
+
export interface QueryValidatorsResponseSDKType {
|
35
|
+
/** validators contains all the queried validators. */
|
36
|
+
validators: ValidatorSDKType[];
|
37
|
+
/** pagination defines the pagination in the response. */
|
38
|
+
|
39
|
+
pagination?: PageResponseSDKType;
|
40
|
+
}
|
41
|
+
/** QueryValidatorRequest is response type for the Query/Validator RPC method */
|
42
|
+
|
43
|
+
export interface QueryValidatorRequest {
|
44
|
+
/** validator_addr defines the validator address to query for. */
|
45
|
+
validatorAddr: string;
|
46
|
+
}
|
47
|
+
/** QueryValidatorRequest is response type for the Query/Validator RPC method */
|
48
|
+
|
49
|
+
export interface QueryValidatorRequestSDKType {
|
50
|
+
/** validator_addr defines the validator address to query for. */
|
51
|
+
validator_addr: string;
|
52
|
+
}
|
53
|
+
/** QueryValidatorResponse is response type for the Query/Validator RPC method */
|
54
|
+
|
55
|
+
export interface QueryValidatorResponse {
|
56
|
+
/** validator defines the the validator info. */
|
57
|
+
validator: Validator;
|
58
|
+
}
|
59
|
+
/** QueryValidatorResponse is response type for the Query/Validator RPC method */
|
60
|
+
|
61
|
+
export interface QueryValidatorResponseSDKType {
|
62
|
+
/** validator defines the the validator info. */
|
63
|
+
validator: ValidatorSDKType;
|
64
|
+
}
|
65
|
+
/**
|
66
|
+
* QueryValidatorDelegationsRequest is request type for the
|
67
|
+
* Query/ValidatorDelegations RPC method
|
68
|
+
*/
|
69
|
+
|
70
|
+
export interface QueryValidatorDelegationsRequest {
|
71
|
+
/** validator_addr defines the validator address to query for. */
|
72
|
+
validatorAddr: string;
|
73
|
+
/** pagination defines an optional pagination for the request. */
|
74
|
+
|
75
|
+
pagination?: PageRequest;
|
76
|
+
}
|
77
|
+
/**
|
78
|
+
* QueryValidatorDelegationsRequest is request type for the
|
79
|
+
* Query/ValidatorDelegations RPC method
|
80
|
+
*/
|
81
|
+
|
82
|
+
export interface QueryValidatorDelegationsRequestSDKType {
|
83
|
+
/** validator_addr defines the validator address to query for. */
|
84
|
+
validator_addr: string;
|
85
|
+
/** pagination defines an optional pagination for the request. */
|
86
|
+
|
87
|
+
pagination?: PageRequestSDKType;
|
88
|
+
}
|
89
|
+
/**
|
90
|
+
* QueryValidatorDelegationsResponse is response type for the
|
91
|
+
* Query/ValidatorDelegations RPC method
|
92
|
+
*/
|
93
|
+
|
94
|
+
export interface QueryValidatorDelegationsResponse {
|
95
|
+
delegationResponses: DelegationResponse[];
|
96
|
+
/** pagination defines the pagination in the response. */
|
97
|
+
|
98
|
+
pagination?: PageResponse;
|
99
|
+
}
|
100
|
+
/**
|
101
|
+
* QueryValidatorDelegationsResponse is response type for the
|
102
|
+
* Query/ValidatorDelegations RPC method
|
103
|
+
*/
|
104
|
+
|
105
|
+
export interface QueryValidatorDelegationsResponseSDKType {
|
106
|
+
delegation_responses: DelegationResponseSDKType[];
|
107
|
+
/** pagination defines the pagination in the response. */
|
108
|
+
|
109
|
+
pagination?: PageResponseSDKType;
|
110
|
+
}
|
111
|
+
/**
|
112
|
+
* QueryValidatorUnbondingDelegationsRequest is required type for the
|
113
|
+
* Query/ValidatorUnbondingDelegations RPC method
|
114
|
+
*/
|
115
|
+
|
116
|
+
export interface QueryValidatorUnbondingDelegationsRequest {
|
117
|
+
/** validator_addr defines the validator address to query for. */
|
118
|
+
validatorAddr: string;
|
119
|
+
/** pagination defines an optional pagination for the request. */
|
120
|
+
|
121
|
+
pagination?: PageRequest;
|
122
|
+
}
|
123
|
+
/**
|
124
|
+
* QueryValidatorUnbondingDelegationsRequest is required type for the
|
125
|
+
* Query/ValidatorUnbondingDelegations RPC method
|
126
|
+
*/
|
127
|
+
|
128
|
+
export interface QueryValidatorUnbondingDelegationsRequestSDKType {
|
129
|
+
/** validator_addr defines the validator address to query for. */
|
130
|
+
validator_addr: string;
|
131
|
+
/** pagination defines an optional pagination for the request. */
|
132
|
+
|
133
|
+
pagination?: PageRequestSDKType;
|
134
|
+
}
|
135
|
+
/**
|
136
|
+
* QueryValidatorUnbondingDelegationsResponse is response type for the
|
137
|
+
* Query/ValidatorUnbondingDelegations RPC method.
|
138
|
+
*/
|
139
|
+
|
140
|
+
export interface QueryValidatorUnbondingDelegationsResponse {
|
141
|
+
unbondingResponses: UnbondingDelegation[];
|
142
|
+
/** pagination defines the pagination in the response. */
|
143
|
+
|
144
|
+
pagination?: PageResponse;
|
145
|
+
}
|
146
|
+
/**
|
147
|
+
* QueryValidatorUnbondingDelegationsResponse is response type for the
|
148
|
+
* Query/ValidatorUnbondingDelegations RPC method.
|
149
|
+
*/
|
150
|
+
|
151
|
+
export interface QueryValidatorUnbondingDelegationsResponseSDKType {
|
152
|
+
unbonding_responses: UnbondingDelegationSDKType[];
|
153
|
+
/** pagination defines the pagination in the response. */
|
154
|
+
|
155
|
+
pagination?: PageResponseSDKType;
|
156
|
+
}
|
157
|
+
/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */
|
158
|
+
|
159
|
+
export interface QueryDelegationRequest {
|
160
|
+
/** delegator_addr defines the delegator address to query for. */
|
161
|
+
delegatorAddr: string;
|
162
|
+
/** validator_addr defines the validator address to query for. */
|
163
|
+
|
164
|
+
validatorAddr: string;
|
165
|
+
}
|
166
|
+
/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */
|
167
|
+
|
168
|
+
export interface QueryDelegationRequestSDKType {
|
169
|
+
/** delegator_addr defines the delegator address to query for. */
|
170
|
+
delegator_addr: string;
|
171
|
+
/** validator_addr defines the validator address to query for. */
|
172
|
+
|
173
|
+
validator_addr: string;
|
174
|
+
}
|
175
|
+
/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */
|
176
|
+
|
177
|
+
export interface QueryDelegationResponse {
|
178
|
+
/** delegation_responses defines the delegation info of a delegation. */
|
179
|
+
delegationResponse: DelegationResponse;
|
180
|
+
}
|
181
|
+
/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */
|
182
|
+
|
183
|
+
export interface QueryDelegationResponseSDKType {
|
184
|
+
/** delegation_responses defines the delegation info of a delegation. */
|
185
|
+
delegation_response: DelegationResponseSDKType;
|
186
|
+
}
|
187
|
+
/**
|
188
|
+
* QueryUnbondingDelegationRequest is request type for the
|
189
|
+
* Query/UnbondingDelegation RPC method.
|
190
|
+
*/
|
191
|
+
|
192
|
+
export interface QueryUnbondingDelegationRequest {
|
193
|
+
/** delegator_addr defines the delegator address to query for. */
|
194
|
+
delegatorAddr: string;
|
195
|
+
/** validator_addr defines the validator address to query for. */
|
196
|
+
|
197
|
+
validatorAddr: string;
|
198
|
+
}
|
199
|
+
/**
|
200
|
+
* QueryUnbondingDelegationRequest is request type for the
|
201
|
+
* Query/UnbondingDelegation RPC method.
|
202
|
+
*/
|
203
|
+
|
204
|
+
export interface QueryUnbondingDelegationRequestSDKType {
|
205
|
+
/** delegator_addr defines the delegator address to query for. */
|
206
|
+
delegator_addr: string;
|
207
|
+
/** validator_addr defines the validator address to query for. */
|
208
|
+
|
209
|
+
validator_addr: string;
|
210
|
+
}
|
211
|
+
/**
|
212
|
+
* QueryDelegationResponse is response type for the Query/UnbondingDelegation
|
213
|
+
* RPC method.
|
214
|
+
*/
|
215
|
+
|
216
|
+
export interface QueryUnbondingDelegationResponse {
|
217
|
+
/** unbond defines the unbonding information of a delegation. */
|
218
|
+
unbond: UnbondingDelegation;
|
219
|
+
}
|
220
|
+
/**
|
221
|
+
* QueryDelegationResponse is response type for the Query/UnbondingDelegation
|
222
|
+
* RPC method.
|
223
|
+
*/
|
224
|
+
|
225
|
+
export interface QueryUnbondingDelegationResponseSDKType {
|
226
|
+
/** unbond defines the unbonding information of a delegation. */
|
227
|
+
unbond: UnbondingDelegationSDKType;
|
228
|
+
}
|
229
|
+
/**
|
230
|
+
* QueryDelegatorDelegationsRequest is request type for the
|
231
|
+
* Query/DelegatorDelegations RPC method.
|
232
|
+
*/
|
233
|
+
|
234
|
+
export interface QueryDelegatorDelegationsRequest {
|
235
|
+
/** delegator_addr defines the delegator address to query for. */
|
236
|
+
delegatorAddr: string;
|
237
|
+
/** pagination defines an optional pagination for the request. */
|
238
|
+
|
239
|
+
pagination?: PageRequest;
|
240
|
+
}
|
241
|
+
/**
|
242
|
+
* QueryDelegatorDelegationsRequest is request type for the
|
243
|
+
* Query/DelegatorDelegations RPC method.
|
244
|
+
*/
|
245
|
+
|
246
|
+
export interface QueryDelegatorDelegationsRequestSDKType {
|
247
|
+
/** delegator_addr defines the delegator address to query for. */
|
248
|
+
delegator_addr: string;
|
249
|
+
/** pagination defines an optional pagination for the request. */
|
250
|
+
|
251
|
+
pagination?: PageRequestSDKType;
|
252
|
+
}
|
253
|
+
/**
|
254
|
+
* QueryDelegatorDelegationsResponse is response type for the
|
255
|
+
* Query/DelegatorDelegations RPC method.
|
256
|
+
*/
|
257
|
+
|
258
|
+
export interface QueryDelegatorDelegationsResponse {
|
259
|
+
/** delegation_responses defines all the delegations' info of a delegator. */
|
260
|
+
delegationResponses: DelegationResponse[];
|
261
|
+
/** pagination defines the pagination in the response. */
|
262
|
+
|
263
|
+
pagination?: PageResponse;
|
264
|
+
}
|
265
|
+
/**
|
266
|
+
* QueryDelegatorDelegationsResponse is response type for the
|
267
|
+
* Query/DelegatorDelegations RPC method.
|
268
|
+
*/
|
269
|
+
|
270
|
+
export interface QueryDelegatorDelegationsResponseSDKType {
|
271
|
+
/** delegation_responses defines all the delegations' info of a delegator. */
|
272
|
+
delegation_responses: DelegationResponseSDKType[];
|
273
|
+
/** pagination defines the pagination in the response. */
|
274
|
+
|
275
|
+
pagination?: PageResponseSDKType;
|
276
|
+
}
|
277
|
+
/**
|
278
|
+
* QueryDelegatorUnbondingDelegationsRequest is request type for the
|
279
|
+
* Query/DelegatorUnbondingDelegations RPC method.
|
280
|
+
*/
|
281
|
+
|
282
|
+
export interface QueryDelegatorUnbondingDelegationsRequest {
|
283
|
+
/** delegator_addr defines the delegator address to query for. */
|
284
|
+
delegatorAddr: string;
|
285
|
+
/** pagination defines an optional pagination for the request. */
|
286
|
+
|
287
|
+
pagination?: PageRequest;
|
288
|
+
}
|
289
|
+
/**
|
290
|
+
* QueryDelegatorUnbondingDelegationsRequest is request type for the
|
291
|
+
* Query/DelegatorUnbondingDelegations RPC method.
|
292
|
+
*/
|
293
|
+
|
294
|
+
export interface QueryDelegatorUnbondingDelegationsRequestSDKType {
|
295
|
+
/** delegator_addr defines the delegator address to query for. */
|
296
|
+
delegator_addr: string;
|
297
|
+
/** pagination defines an optional pagination for the request. */
|
298
|
+
|
299
|
+
pagination?: PageRequestSDKType;
|
300
|
+
}
|
301
|
+
/**
|
302
|
+
* QueryUnbondingDelegatorDelegationsResponse is response type for the
|
303
|
+
* Query/UnbondingDelegatorDelegations RPC method.
|
304
|
+
*/
|
305
|
+
|
306
|
+
export interface QueryDelegatorUnbondingDelegationsResponse {
|
307
|
+
unbondingResponses: UnbondingDelegation[];
|
308
|
+
/** pagination defines the pagination in the response. */
|
309
|
+
|
310
|
+
pagination?: PageResponse;
|
311
|
+
}
|
312
|
+
/**
|
313
|
+
* QueryUnbondingDelegatorDelegationsResponse is response type for the
|
314
|
+
* Query/UnbondingDelegatorDelegations RPC method.
|
315
|
+
*/
|
316
|
+
|
317
|
+
export interface QueryDelegatorUnbondingDelegationsResponseSDKType {
|
318
|
+
unbonding_responses: UnbondingDelegationSDKType[];
|
319
|
+
/** pagination defines the pagination in the response. */
|
320
|
+
|
321
|
+
pagination?: PageResponseSDKType;
|
322
|
+
}
|
323
|
+
/**
|
324
|
+
* QueryRedelegationsRequest is request type for the Query/Redelegations RPC
|
325
|
+
* method.
|
326
|
+
*/
|
327
|
+
|
328
|
+
export interface QueryRedelegationsRequest {
|
329
|
+
/** delegator_addr defines the delegator address to query for. */
|
330
|
+
delegatorAddr: string;
|
331
|
+
/** src_validator_addr defines the validator address to redelegate from. */
|
332
|
+
|
333
|
+
srcValidatorAddr?: string;
|
334
|
+
/** dst_validator_addr defines the validator address to redelegate to. */
|
335
|
+
|
336
|
+
dstValidatorAddr?: string;
|
337
|
+
/** pagination defines an optional pagination for the request. */
|
338
|
+
|
339
|
+
pagination?: PageRequest;
|
340
|
+
}
|
341
|
+
/**
|
342
|
+
* QueryRedelegationsRequest is request type for the Query/Redelegations RPC
|
343
|
+
* method.
|
344
|
+
*/
|
345
|
+
|
346
|
+
export interface QueryRedelegationsRequestSDKType {
|
347
|
+
/** delegator_addr defines the delegator address to query for. */
|
348
|
+
delegator_addr: string;
|
349
|
+
/** src_validator_addr defines the validator address to redelegate from. */
|
350
|
+
|
351
|
+
src_validator_addr?: string;
|
352
|
+
/** dst_validator_addr defines the validator address to redelegate to. */
|
353
|
+
|
354
|
+
dst_validator_addr?: string;
|
355
|
+
/** pagination defines an optional pagination for the request. */
|
356
|
+
|
357
|
+
pagination?: PageRequestSDKType;
|
358
|
+
}
|
359
|
+
/**
|
360
|
+
* QueryRedelegationsResponse is response type for the Query/Redelegations RPC
|
361
|
+
* method.
|
362
|
+
*/
|
363
|
+
|
364
|
+
export interface QueryRedelegationsResponse {
|
365
|
+
redelegationResponses: RedelegationResponse[];
|
366
|
+
/** pagination defines the pagination in the response. */
|
367
|
+
|
368
|
+
pagination?: PageResponse;
|
369
|
+
}
|
370
|
+
/**
|
371
|
+
* QueryRedelegationsResponse is response type for the Query/Redelegations RPC
|
372
|
+
* method.
|
373
|
+
*/
|
374
|
+
|
375
|
+
export interface QueryRedelegationsResponseSDKType {
|
376
|
+
redelegation_responses: RedelegationResponseSDKType[];
|
377
|
+
/** pagination defines the pagination in the response. */
|
378
|
+
|
379
|
+
pagination?: PageResponseSDKType;
|
380
|
+
}
|
381
|
+
/**
|
382
|
+
* QueryDelegatorValidatorsRequest is request type for the
|
383
|
+
* Query/DelegatorValidators RPC method.
|
384
|
+
*/
|
385
|
+
|
386
|
+
export interface QueryDelegatorValidatorsRequest {
|
387
|
+
/** delegator_addr defines the delegator address to query for. */
|
388
|
+
delegatorAddr: string;
|
389
|
+
/** pagination defines an optional pagination for the request. */
|
390
|
+
|
391
|
+
pagination?: PageRequest;
|
392
|
+
}
|
393
|
+
/**
|
394
|
+
* QueryDelegatorValidatorsRequest is request type for the
|
395
|
+
* Query/DelegatorValidators RPC method.
|
396
|
+
*/
|
397
|
+
|
398
|
+
export interface QueryDelegatorValidatorsRequestSDKType {
|
399
|
+
/** delegator_addr defines the delegator address to query for. */
|
400
|
+
delegator_addr: string;
|
401
|
+
/** pagination defines an optional pagination for the request. */
|
402
|
+
|
403
|
+
pagination?: PageRequestSDKType;
|
404
|
+
}
|
405
|
+
/**
|
406
|
+
* QueryDelegatorValidatorsResponse is response type for the
|
407
|
+
* Query/DelegatorValidators RPC method.
|
408
|
+
*/
|
409
|
+
|
410
|
+
export interface QueryDelegatorValidatorsResponse {
|
411
|
+
/** validators defines the the validators' info of a delegator. */
|
412
|
+
validators: Validator[];
|
413
|
+
/** pagination defines the pagination in the response. */
|
414
|
+
|
415
|
+
pagination?: PageResponse;
|
416
|
+
}
|
417
|
+
/**
|
418
|
+
* QueryDelegatorValidatorsResponse is response type for the
|
419
|
+
* Query/DelegatorValidators RPC method.
|
420
|
+
*/
|
421
|
+
|
422
|
+
export interface QueryDelegatorValidatorsResponseSDKType {
|
423
|
+
/** validators defines the the validators' info of a delegator. */
|
424
|
+
validators: ValidatorSDKType[];
|
425
|
+
/** pagination defines the pagination in the response. */
|
426
|
+
|
427
|
+
pagination?: PageResponseSDKType;
|
428
|
+
}
|
429
|
+
/**
|
430
|
+
* QueryDelegatorValidatorRequest is request type for the
|
431
|
+
* Query/DelegatorValidator RPC method.
|
432
|
+
*/
|
433
|
+
|
434
|
+
export interface QueryDelegatorValidatorRequest {
|
435
|
+
/** delegator_addr defines the delegator address to query for. */
|
436
|
+
delegatorAddr: string;
|
437
|
+
/** validator_addr defines the validator address to query for. */
|
438
|
+
|
439
|
+
validatorAddr: string;
|
440
|
+
}
|
441
|
+
/**
|
442
|
+
* QueryDelegatorValidatorRequest is request type for the
|
443
|
+
* Query/DelegatorValidator RPC method.
|
444
|
+
*/
|
445
|
+
|
446
|
+
export interface QueryDelegatorValidatorRequestSDKType {
|
447
|
+
/** delegator_addr defines the delegator address to query for. */
|
448
|
+
delegator_addr: string;
|
449
|
+
/** validator_addr defines the validator address to query for. */
|
450
|
+
|
451
|
+
validator_addr: string;
|
452
|
+
}
|
453
|
+
/**
|
454
|
+
* QueryDelegatorValidatorResponse response type for the
|
455
|
+
* Query/DelegatorValidator RPC method.
|
456
|
+
*/
|
457
|
+
|
458
|
+
export interface QueryDelegatorValidatorResponse {
|
459
|
+
/** validator defines the the validator info. */
|
460
|
+
validator: Validator;
|
461
|
+
}
|
462
|
+
/**
|
463
|
+
* QueryDelegatorValidatorResponse response type for the
|
464
|
+
* Query/DelegatorValidator RPC method.
|
465
|
+
*/
|
466
|
+
|
467
|
+
export interface QueryDelegatorValidatorResponseSDKType {
|
468
|
+
/** validator defines the the validator info. */
|
469
|
+
validator: ValidatorSDKType;
|
470
|
+
}
|
471
|
+
/**
|
472
|
+
* QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC
|
473
|
+
* method.
|
474
|
+
*/
|
475
|
+
|
476
|
+
export interface QueryHistoricalInfoRequest {
|
477
|
+
/** height defines at which height to query the historical info. */
|
478
|
+
height: Long;
|
479
|
+
}
|
480
|
+
/**
|
481
|
+
* QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC
|
482
|
+
* method.
|
483
|
+
*/
|
484
|
+
|
485
|
+
export interface QueryHistoricalInfoRequestSDKType {
|
486
|
+
/** height defines at which height to query the historical info. */
|
487
|
+
height: Long;
|
488
|
+
}
|
489
|
+
/**
|
490
|
+
* QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC
|
491
|
+
* method.
|
492
|
+
*/
|
493
|
+
|
494
|
+
export interface QueryHistoricalInfoResponse {
|
495
|
+
/** hist defines the historical info at the given height. */
|
496
|
+
hist: HistoricalInfo;
|
497
|
+
}
|
498
|
+
/**
|
499
|
+
* QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC
|
500
|
+
* method.
|
501
|
+
*/
|
502
|
+
|
503
|
+
export interface QueryHistoricalInfoResponseSDKType {
|
504
|
+
/** hist defines the historical info at the given height. */
|
505
|
+
hist: HistoricalInfoSDKType;
|
506
|
+
}
|
507
|
+
/** QueryPoolRequest is request type for the Query/Pool RPC method. */
|
508
|
+
|
509
|
+
export interface QueryPoolRequest {}
|
510
|
+
/** QueryPoolRequest is request type for the Query/Pool RPC method. */
|
511
|
+
|
512
|
+
export interface QueryPoolRequestSDKType {}
|
513
|
+
/** QueryPoolResponse is response type for the Query/Pool RPC method. */
|
514
|
+
|
515
|
+
export interface QueryPoolResponse {
|
516
|
+
/** pool defines the pool info. */
|
517
|
+
pool: Pool;
|
518
|
+
}
|
519
|
+
/** QueryPoolResponse is response type for the Query/Pool RPC method. */
|
520
|
+
|
521
|
+
export interface QueryPoolResponseSDKType {
|
522
|
+
/** pool defines the pool info. */
|
523
|
+
pool: PoolSDKType;
|
524
|
+
}
|
525
|
+
/** QueryParamsRequest is request type for the Query/Params RPC method. */
|
526
|
+
|
527
|
+
export interface QueryParamsRequest {}
|
528
|
+
/** QueryParamsRequest is request type for the Query/Params RPC method. */
|
529
|
+
|
530
|
+
export interface QueryParamsRequestSDKType {}
|
531
|
+
/** QueryParamsResponse is response type for the Query/Params RPC method. */
|
532
|
+
|
533
|
+
export interface QueryParamsResponse {
|
534
|
+
/** params holds all the parameters of this module. */
|
535
|
+
params: Params;
|
536
|
+
}
|
537
|
+
/** QueryParamsResponse is response type for the Query/Params RPC method. */
|
538
|
+
|
539
|
+
export interface QueryParamsResponseSDKType {
|
540
|
+
/** params holds all the parameters of this module. */
|
541
|
+
params: ParamsSDKType;
|
542
|
+
}
|
543
|
+
|
544
|
+
function createBaseQueryValidatorsRequest(): QueryValidatorsRequest {
|
545
|
+
return {
|
546
|
+
status: "",
|
547
|
+
pagination: undefined
|
548
|
+
};
|
549
|
+
}
|
550
|
+
|
551
|
+
export const QueryValidatorsRequest = {
|
552
|
+
encode(message: QueryValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
553
|
+
if (message.status !== "") {
|
554
|
+
writer.uint32(10).string(message.status);
|
555
|
+
}
|
556
|
+
|
557
|
+
if (message.pagination !== undefined) {
|
558
|
+
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
559
|
+
}
|
560
|
+
|
561
|
+
return writer;
|
562
|
+
},
|
563
|
+
|
564
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsRequest {
|
565
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
566
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
567
|
+
const message = createBaseQueryValidatorsRequest();
|
568
|
+
|
569
|
+
while (reader.pos < end) {
|
570
|
+
const tag = reader.uint32();
|
571
|
+
|
572
|
+
switch (tag >>> 3) {
|
573
|
+
case 1:
|
574
|
+
message.status = reader.string();
|
575
|
+
break;
|
576
|
+
|
577
|
+
case 2:
|
578
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
579
|
+
break;
|
580
|
+
|
581
|
+
default:
|
582
|
+
reader.skipType(tag & 7);
|
583
|
+
break;
|
584
|
+
}
|
585
|
+
}
|
586
|
+
|
587
|
+
return message;
|
588
|
+
},
|
589
|
+
|
590
|
+
fromPartial(object: DeepPartial<QueryValidatorsRequest>): QueryValidatorsRequest {
|
591
|
+
const message = createBaseQueryValidatorsRequest();
|
592
|
+
message.status = object.status ?? "";
|
593
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
594
|
+
return message;
|
595
|
+
}
|
596
|
+
|
597
|
+
};
|
598
|
+
|
599
|
+
function createBaseQueryValidatorsResponse(): QueryValidatorsResponse {
|
600
|
+
return {
|
601
|
+
validators: [],
|
602
|
+
pagination: undefined
|
603
|
+
};
|
604
|
+
}
|
605
|
+
|
606
|
+
export const QueryValidatorsResponse = {
|
607
|
+
encode(message: QueryValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
608
|
+
for (const v of message.validators) {
|
609
|
+
Validator.encode(v!, writer.uint32(10).fork()).ldelim();
|
610
|
+
}
|
611
|
+
|
612
|
+
if (message.pagination !== undefined) {
|
613
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
614
|
+
}
|
615
|
+
|
616
|
+
return writer;
|
617
|
+
},
|
618
|
+
|
619
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponse {
|
620
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
621
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
622
|
+
const message = createBaseQueryValidatorsResponse();
|
623
|
+
|
624
|
+
while (reader.pos < end) {
|
625
|
+
const tag = reader.uint32();
|
626
|
+
|
627
|
+
switch (tag >>> 3) {
|
628
|
+
case 1:
|
629
|
+
message.validators.push(Validator.decode(reader, reader.uint32()));
|
630
|
+
break;
|
631
|
+
|
632
|
+
case 2:
|
633
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
634
|
+
break;
|
635
|
+
|
636
|
+
default:
|
637
|
+
reader.skipType(tag & 7);
|
638
|
+
break;
|
639
|
+
}
|
640
|
+
}
|
641
|
+
|
642
|
+
return message;
|
643
|
+
},
|
644
|
+
|
645
|
+
fromPartial(object: DeepPartial<QueryValidatorsResponse>): QueryValidatorsResponse {
|
646
|
+
const message = createBaseQueryValidatorsResponse();
|
647
|
+
message.validators = object.validators?.map(e => Validator.fromPartial(e)) || [];
|
648
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
649
|
+
return message;
|
650
|
+
}
|
651
|
+
|
652
|
+
};
|
653
|
+
|
654
|
+
function createBaseQueryValidatorRequest(): QueryValidatorRequest {
|
655
|
+
return {
|
656
|
+
validatorAddr: ""
|
657
|
+
};
|
658
|
+
}
|
659
|
+
|
660
|
+
export const QueryValidatorRequest = {
|
661
|
+
encode(message: QueryValidatorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
662
|
+
if (message.validatorAddr !== "") {
|
663
|
+
writer.uint32(10).string(message.validatorAddr);
|
664
|
+
}
|
665
|
+
|
666
|
+
return writer;
|
667
|
+
},
|
668
|
+
|
669
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorRequest {
|
670
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
671
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
672
|
+
const message = createBaseQueryValidatorRequest();
|
673
|
+
|
674
|
+
while (reader.pos < end) {
|
675
|
+
const tag = reader.uint32();
|
676
|
+
|
677
|
+
switch (tag >>> 3) {
|
678
|
+
case 1:
|
679
|
+
message.validatorAddr = reader.string();
|
680
|
+
break;
|
681
|
+
|
682
|
+
default:
|
683
|
+
reader.skipType(tag & 7);
|
684
|
+
break;
|
685
|
+
}
|
686
|
+
}
|
687
|
+
|
688
|
+
return message;
|
689
|
+
},
|
690
|
+
|
691
|
+
fromPartial(object: DeepPartial<QueryValidatorRequest>): QueryValidatorRequest {
|
692
|
+
const message = createBaseQueryValidatorRequest();
|
693
|
+
message.validatorAddr = object.validatorAddr ?? "";
|
694
|
+
return message;
|
695
|
+
}
|
696
|
+
|
697
|
+
};
|
698
|
+
|
699
|
+
function createBaseQueryValidatorResponse(): QueryValidatorResponse {
|
700
|
+
return {
|
701
|
+
validator: undefined
|
702
|
+
};
|
703
|
+
}
|
704
|
+
|
705
|
+
export const QueryValidatorResponse = {
|
706
|
+
encode(message: QueryValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
707
|
+
if (message.validator !== undefined) {
|
708
|
+
Validator.encode(message.validator, writer.uint32(10).fork()).ldelim();
|
709
|
+
}
|
710
|
+
|
711
|
+
return writer;
|
712
|
+
},
|
713
|
+
|
714
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponse {
|
715
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
716
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
717
|
+
const message = createBaseQueryValidatorResponse();
|
718
|
+
|
719
|
+
while (reader.pos < end) {
|
720
|
+
const tag = reader.uint32();
|
721
|
+
|
722
|
+
switch (tag >>> 3) {
|
723
|
+
case 1:
|
724
|
+
message.validator = Validator.decode(reader, reader.uint32());
|
725
|
+
break;
|
726
|
+
|
727
|
+
default:
|
728
|
+
reader.skipType(tag & 7);
|
729
|
+
break;
|
730
|
+
}
|
731
|
+
}
|
732
|
+
|
733
|
+
return message;
|
734
|
+
},
|
735
|
+
|
736
|
+
fromPartial(object: DeepPartial<QueryValidatorResponse>): QueryValidatorResponse {
|
737
|
+
const message = createBaseQueryValidatorResponse();
|
738
|
+
message.validator = object.validator !== undefined && object.validator !== null ? Validator.fromPartial(object.validator) : undefined;
|
739
|
+
return message;
|
740
|
+
}
|
741
|
+
|
742
|
+
};
|
743
|
+
|
744
|
+
function createBaseQueryValidatorDelegationsRequest(): QueryValidatorDelegationsRequest {
|
745
|
+
return {
|
746
|
+
validatorAddr: "",
|
747
|
+
pagination: undefined
|
748
|
+
};
|
749
|
+
}
|
750
|
+
|
751
|
+
export const QueryValidatorDelegationsRequest = {
|
752
|
+
encode(message: QueryValidatorDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
753
|
+
if (message.validatorAddr !== "") {
|
754
|
+
writer.uint32(10).string(message.validatorAddr);
|
755
|
+
}
|
756
|
+
|
757
|
+
if (message.pagination !== undefined) {
|
758
|
+
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
759
|
+
}
|
760
|
+
|
761
|
+
return writer;
|
762
|
+
},
|
763
|
+
|
764
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsRequest {
|
765
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
766
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
767
|
+
const message = createBaseQueryValidatorDelegationsRequest();
|
768
|
+
|
769
|
+
while (reader.pos < end) {
|
770
|
+
const tag = reader.uint32();
|
771
|
+
|
772
|
+
switch (tag >>> 3) {
|
773
|
+
case 1:
|
774
|
+
message.validatorAddr = reader.string();
|
775
|
+
break;
|
776
|
+
|
777
|
+
case 2:
|
778
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
779
|
+
break;
|
780
|
+
|
781
|
+
default:
|
782
|
+
reader.skipType(tag & 7);
|
783
|
+
break;
|
784
|
+
}
|
785
|
+
}
|
786
|
+
|
787
|
+
return message;
|
788
|
+
},
|
789
|
+
|
790
|
+
fromPartial(object: DeepPartial<QueryValidatorDelegationsRequest>): QueryValidatorDelegationsRequest {
|
791
|
+
const message = createBaseQueryValidatorDelegationsRequest();
|
792
|
+
message.validatorAddr = object.validatorAddr ?? "";
|
793
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
794
|
+
return message;
|
795
|
+
}
|
796
|
+
|
797
|
+
};
|
798
|
+
|
799
|
+
function createBaseQueryValidatorDelegationsResponse(): QueryValidatorDelegationsResponse {
|
800
|
+
return {
|
801
|
+
delegationResponses: [],
|
802
|
+
pagination: undefined
|
803
|
+
};
|
804
|
+
}
|
805
|
+
|
806
|
+
export const QueryValidatorDelegationsResponse = {
|
807
|
+
encode(message: QueryValidatorDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
808
|
+
for (const v of message.delegationResponses) {
|
809
|
+
DelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim();
|
810
|
+
}
|
811
|
+
|
812
|
+
if (message.pagination !== undefined) {
|
813
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
814
|
+
}
|
815
|
+
|
816
|
+
return writer;
|
817
|
+
},
|
818
|
+
|
819
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponse {
|
820
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
821
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
822
|
+
const message = createBaseQueryValidatorDelegationsResponse();
|
823
|
+
|
824
|
+
while (reader.pos < end) {
|
825
|
+
const tag = reader.uint32();
|
826
|
+
|
827
|
+
switch (tag >>> 3) {
|
828
|
+
case 1:
|
829
|
+
message.delegationResponses.push(DelegationResponse.decode(reader, reader.uint32()));
|
830
|
+
break;
|
831
|
+
|
832
|
+
case 2:
|
833
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
834
|
+
break;
|
835
|
+
|
836
|
+
default:
|
837
|
+
reader.skipType(tag & 7);
|
838
|
+
break;
|
839
|
+
}
|
840
|
+
}
|
841
|
+
|
842
|
+
return message;
|
843
|
+
},
|
844
|
+
|
845
|
+
fromPartial(object: DeepPartial<QueryValidatorDelegationsResponse>): QueryValidatorDelegationsResponse {
|
846
|
+
const message = createBaseQueryValidatorDelegationsResponse();
|
847
|
+
message.delegationResponses = object.delegationResponses?.map(e => DelegationResponse.fromPartial(e)) || [];
|
848
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
849
|
+
return message;
|
850
|
+
}
|
851
|
+
|
852
|
+
};
|
853
|
+
|
854
|
+
function createBaseQueryValidatorUnbondingDelegationsRequest(): QueryValidatorUnbondingDelegationsRequest {
|
855
|
+
return {
|
856
|
+
validatorAddr: "",
|
857
|
+
pagination: undefined
|
858
|
+
};
|
859
|
+
}
|
860
|
+
|
861
|
+
export const QueryValidatorUnbondingDelegationsRequest = {
|
862
|
+
encode(message: QueryValidatorUnbondingDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
863
|
+
if (message.validatorAddr !== "") {
|
864
|
+
writer.uint32(10).string(message.validatorAddr);
|
865
|
+
}
|
866
|
+
|
867
|
+
if (message.pagination !== undefined) {
|
868
|
+
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
869
|
+
}
|
870
|
+
|
871
|
+
return writer;
|
872
|
+
},
|
873
|
+
|
874
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsRequest {
|
875
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
876
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
877
|
+
const message = createBaseQueryValidatorUnbondingDelegationsRequest();
|
878
|
+
|
879
|
+
while (reader.pos < end) {
|
880
|
+
const tag = reader.uint32();
|
881
|
+
|
882
|
+
switch (tag >>> 3) {
|
883
|
+
case 1:
|
884
|
+
message.validatorAddr = reader.string();
|
885
|
+
break;
|
886
|
+
|
887
|
+
case 2:
|
888
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
889
|
+
break;
|
890
|
+
|
891
|
+
default:
|
892
|
+
reader.skipType(tag & 7);
|
893
|
+
break;
|
894
|
+
}
|
895
|
+
}
|
896
|
+
|
897
|
+
return message;
|
898
|
+
},
|
899
|
+
|
900
|
+
fromPartial(object: DeepPartial<QueryValidatorUnbondingDelegationsRequest>): QueryValidatorUnbondingDelegationsRequest {
|
901
|
+
const message = createBaseQueryValidatorUnbondingDelegationsRequest();
|
902
|
+
message.validatorAddr = object.validatorAddr ?? "";
|
903
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
904
|
+
return message;
|
905
|
+
}
|
906
|
+
|
907
|
+
};
|
908
|
+
|
909
|
+
function createBaseQueryValidatorUnbondingDelegationsResponse(): QueryValidatorUnbondingDelegationsResponse {
|
910
|
+
return {
|
911
|
+
unbondingResponses: [],
|
912
|
+
pagination: undefined
|
913
|
+
};
|
914
|
+
}
|
915
|
+
|
916
|
+
export const QueryValidatorUnbondingDelegationsResponse = {
|
917
|
+
encode(message: QueryValidatorUnbondingDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
918
|
+
for (const v of message.unbondingResponses) {
|
919
|
+
UnbondingDelegation.encode(v!, writer.uint32(10).fork()).ldelim();
|
920
|
+
}
|
921
|
+
|
922
|
+
if (message.pagination !== undefined) {
|
923
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
924
|
+
}
|
925
|
+
|
926
|
+
return writer;
|
927
|
+
},
|
928
|
+
|
929
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponse {
|
930
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
931
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
932
|
+
const message = createBaseQueryValidatorUnbondingDelegationsResponse();
|
933
|
+
|
934
|
+
while (reader.pos < end) {
|
935
|
+
const tag = reader.uint32();
|
936
|
+
|
937
|
+
switch (tag >>> 3) {
|
938
|
+
case 1:
|
939
|
+
message.unbondingResponses.push(UnbondingDelegation.decode(reader, reader.uint32()));
|
940
|
+
break;
|
941
|
+
|
942
|
+
case 2:
|
943
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
944
|
+
break;
|
945
|
+
|
946
|
+
default:
|
947
|
+
reader.skipType(tag & 7);
|
948
|
+
break;
|
949
|
+
}
|
950
|
+
}
|
951
|
+
|
952
|
+
return message;
|
953
|
+
},
|
954
|
+
|
955
|
+
fromPartial(object: DeepPartial<QueryValidatorUnbondingDelegationsResponse>): QueryValidatorUnbondingDelegationsResponse {
|
956
|
+
const message = createBaseQueryValidatorUnbondingDelegationsResponse();
|
957
|
+
message.unbondingResponses = object.unbondingResponses?.map(e => UnbondingDelegation.fromPartial(e)) || [];
|
958
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
959
|
+
return message;
|
960
|
+
}
|
961
|
+
|
962
|
+
};
|
963
|
+
|
964
|
+
function createBaseQueryDelegationRequest(): QueryDelegationRequest {
|
965
|
+
return {
|
966
|
+
delegatorAddr: "",
|
967
|
+
validatorAddr: ""
|
968
|
+
};
|
969
|
+
}
|
970
|
+
|
971
|
+
export const QueryDelegationRequest = {
|
972
|
+
encode(message: QueryDelegationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
973
|
+
if (message.delegatorAddr !== "") {
|
974
|
+
writer.uint32(10).string(message.delegatorAddr);
|
975
|
+
}
|
976
|
+
|
977
|
+
if (message.validatorAddr !== "") {
|
978
|
+
writer.uint32(18).string(message.validatorAddr);
|
979
|
+
}
|
980
|
+
|
981
|
+
return writer;
|
982
|
+
},
|
983
|
+
|
984
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRequest {
|
985
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
986
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
987
|
+
const message = createBaseQueryDelegationRequest();
|
988
|
+
|
989
|
+
while (reader.pos < end) {
|
990
|
+
const tag = reader.uint32();
|
991
|
+
|
992
|
+
switch (tag >>> 3) {
|
993
|
+
case 1:
|
994
|
+
message.delegatorAddr = reader.string();
|
995
|
+
break;
|
996
|
+
|
997
|
+
case 2:
|
998
|
+
message.validatorAddr = reader.string();
|
999
|
+
break;
|
1000
|
+
|
1001
|
+
default:
|
1002
|
+
reader.skipType(tag & 7);
|
1003
|
+
break;
|
1004
|
+
}
|
1005
|
+
}
|
1006
|
+
|
1007
|
+
return message;
|
1008
|
+
},
|
1009
|
+
|
1010
|
+
fromPartial(object: DeepPartial<QueryDelegationRequest>): QueryDelegationRequest {
|
1011
|
+
const message = createBaseQueryDelegationRequest();
|
1012
|
+
message.delegatorAddr = object.delegatorAddr ?? "";
|
1013
|
+
message.validatorAddr = object.validatorAddr ?? "";
|
1014
|
+
return message;
|
1015
|
+
}
|
1016
|
+
|
1017
|
+
};
|
1018
|
+
|
1019
|
+
function createBaseQueryDelegationResponse(): QueryDelegationResponse {
|
1020
|
+
return {
|
1021
|
+
delegationResponse: undefined
|
1022
|
+
};
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
export const QueryDelegationResponse = {
|
1026
|
+
encode(message: QueryDelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1027
|
+
if (message.delegationResponse !== undefined) {
|
1028
|
+
DelegationResponse.encode(message.delegationResponse, writer.uint32(10).fork()).ldelim();
|
1029
|
+
}
|
1030
|
+
|
1031
|
+
return writer;
|
1032
|
+
},
|
1033
|
+
|
1034
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponse {
|
1035
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1036
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1037
|
+
const message = createBaseQueryDelegationResponse();
|
1038
|
+
|
1039
|
+
while (reader.pos < end) {
|
1040
|
+
const tag = reader.uint32();
|
1041
|
+
|
1042
|
+
switch (tag >>> 3) {
|
1043
|
+
case 1:
|
1044
|
+
message.delegationResponse = DelegationResponse.decode(reader, reader.uint32());
|
1045
|
+
break;
|
1046
|
+
|
1047
|
+
default:
|
1048
|
+
reader.skipType(tag & 7);
|
1049
|
+
break;
|
1050
|
+
}
|
1051
|
+
}
|
1052
|
+
|
1053
|
+
return message;
|
1054
|
+
},
|
1055
|
+
|
1056
|
+
fromPartial(object: DeepPartial<QueryDelegationResponse>): QueryDelegationResponse {
|
1057
|
+
const message = createBaseQueryDelegationResponse();
|
1058
|
+
message.delegationResponse = object.delegationResponse !== undefined && object.delegationResponse !== null ? DelegationResponse.fromPartial(object.delegationResponse) : undefined;
|
1059
|
+
return message;
|
1060
|
+
}
|
1061
|
+
|
1062
|
+
};
|
1063
|
+
|
1064
|
+
function createBaseQueryUnbondingDelegationRequest(): QueryUnbondingDelegationRequest {
|
1065
|
+
return {
|
1066
|
+
delegatorAddr: "",
|
1067
|
+
validatorAddr: ""
|
1068
|
+
};
|
1069
|
+
}
|
1070
|
+
|
1071
|
+
export const QueryUnbondingDelegationRequest = {
|
1072
|
+
encode(message: QueryUnbondingDelegationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1073
|
+
if (message.delegatorAddr !== "") {
|
1074
|
+
writer.uint32(10).string(message.delegatorAddr);
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
if (message.validatorAddr !== "") {
|
1078
|
+
writer.uint32(18).string(message.validatorAddr);
|
1079
|
+
}
|
1080
|
+
|
1081
|
+
return writer;
|
1082
|
+
},
|
1083
|
+
|
1084
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationRequest {
|
1085
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1086
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1087
|
+
const message = createBaseQueryUnbondingDelegationRequest();
|
1088
|
+
|
1089
|
+
while (reader.pos < end) {
|
1090
|
+
const tag = reader.uint32();
|
1091
|
+
|
1092
|
+
switch (tag >>> 3) {
|
1093
|
+
case 1:
|
1094
|
+
message.delegatorAddr = reader.string();
|
1095
|
+
break;
|
1096
|
+
|
1097
|
+
case 2:
|
1098
|
+
message.validatorAddr = reader.string();
|
1099
|
+
break;
|
1100
|
+
|
1101
|
+
default:
|
1102
|
+
reader.skipType(tag & 7);
|
1103
|
+
break;
|
1104
|
+
}
|
1105
|
+
}
|
1106
|
+
|
1107
|
+
return message;
|
1108
|
+
},
|
1109
|
+
|
1110
|
+
fromPartial(object: DeepPartial<QueryUnbondingDelegationRequest>): QueryUnbondingDelegationRequest {
|
1111
|
+
const message = createBaseQueryUnbondingDelegationRequest();
|
1112
|
+
message.delegatorAddr = object.delegatorAddr ?? "";
|
1113
|
+
message.validatorAddr = object.validatorAddr ?? "";
|
1114
|
+
return message;
|
1115
|
+
}
|
1116
|
+
|
1117
|
+
};
|
1118
|
+
|
1119
|
+
function createBaseQueryUnbondingDelegationResponse(): QueryUnbondingDelegationResponse {
|
1120
|
+
return {
|
1121
|
+
unbond: undefined
|
1122
|
+
};
|
1123
|
+
}
|
1124
|
+
|
1125
|
+
export const QueryUnbondingDelegationResponse = {
|
1126
|
+
encode(message: QueryUnbondingDelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1127
|
+
if (message.unbond !== undefined) {
|
1128
|
+
UnbondingDelegation.encode(message.unbond, writer.uint32(10).fork()).ldelim();
|
1129
|
+
}
|
1130
|
+
|
1131
|
+
return writer;
|
1132
|
+
},
|
1133
|
+
|
1134
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponse {
|
1135
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1136
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1137
|
+
const message = createBaseQueryUnbondingDelegationResponse();
|
1138
|
+
|
1139
|
+
while (reader.pos < end) {
|
1140
|
+
const tag = reader.uint32();
|
1141
|
+
|
1142
|
+
switch (tag >>> 3) {
|
1143
|
+
case 1:
|
1144
|
+
message.unbond = UnbondingDelegation.decode(reader, reader.uint32());
|
1145
|
+
break;
|
1146
|
+
|
1147
|
+
default:
|
1148
|
+
reader.skipType(tag & 7);
|
1149
|
+
break;
|
1150
|
+
}
|
1151
|
+
}
|
1152
|
+
|
1153
|
+
return message;
|
1154
|
+
},
|
1155
|
+
|
1156
|
+
fromPartial(object: DeepPartial<QueryUnbondingDelegationResponse>): QueryUnbondingDelegationResponse {
|
1157
|
+
const message = createBaseQueryUnbondingDelegationResponse();
|
1158
|
+
message.unbond = object.unbond !== undefined && object.unbond !== null ? UnbondingDelegation.fromPartial(object.unbond) : undefined;
|
1159
|
+
return message;
|
1160
|
+
}
|
1161
|
+
|
1162
|
+
};
|
1163
|
+
|
1164
|
+
function createBaseQueryDelegatorDelegationsRequest(): QueryDelegatorDelegationsRequest {
|
1165
|
+
return {
|
1166
|
+
delegatorAddr: "",
|
1167
|
+
pagination: undefined
|
1168
|
+
};
|
1169
|
+
}
|
1170
|
+
|
1171
|
+
export const QueryDelegatorDelegationsRequest = {
|
1172
|
+
encode(message: QueryDelegatorDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1173
|
+
if (message.delegatorAddr !== "") {
|
1174
|
+
writer.uint32(10).string(message.delegatorAddr);
|
1175
|
+
}
|
1176
|
+
|
1177
|
+
if (message.pagination !== undefined) {
|
1178
|
+
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
1179
|
+
}
|
1180
|
+
|
1181
|
+
return writer;
|
1182
|
+
},
|
1183
|
+
|
1184
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsRequest {
|
1185
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1186
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1187
|
+
const message = createBaseQueryDelegatorDelegationsRequest();
|
1188
|
+
|
1189
|
+
while (reader.pos < end) {
|
1190
|
+
const tag = reader.uint32();
|
1191
|
+
|
1192
|
+
switch (tag >>> 3) {
|
1193
|
+
case 1:
|
1194
|
+
message.delegatorAddr = reader.string();
|
1195
|
+
break;
|
1196
|
+
|
1197
|
+
case 2:
|
1198
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
1199
|
+
break;
|
1200
|
+
|
1201
|
+
default:
|
1202
|
+
reader.skipType(tag & 7);
|
1203
|
+
break;
|
1204
|
+
}
|
1205
|
+
}
|
1206
|
+
|
1207
|
+
return message;
|
1208
|
+
},
|
1209
|
+
|
1210
|
+
fromPartial(object: DeepPartial<QueryDelegatorDelegationsRequest>): QueryDelegatorDelegationsRequest {
|
1211
|
+
const message = createBaseQueryDelegatorDelegationsRequest();
|
1212
|
+
message.delegatorAddr = object.delegatorAddr ?? "";
|
1213
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
1214
|
+
return message;
|
1215
|
+
}
|
1216
|
+
|
1217
|
+
};
|
1218
|
+
|
1219
|
+
function createBaseQueryDelegatorDelegationsResponse(): QueryDelegatorDelegationsResponse {
|
1220
|
+
return {
|
1221
|
+
delegationResponses: [],
|
1222
|
+
pagination: undefined
|
1223
|
+
};
|
1224
|
+
}
|
1225
|
+
|
1226
|
+
export const QueryDelegatorDelegationsResponse = {
|
1227
|
+
encode(message: QueryDelegatorDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1228
|
+
for (const v of message.delegationResponses) {
|
1229
|
+
DelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim();
|
1230
|
+
}
|
1231
|
+
|
1232
|
+
if (message.pagination !== undefined) {
|
1233
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
1234
|
+
}
|
1235
|
+
|
1236
|
+
return writer;
|
1237
|
+
},
|
1238
|
+
|
1239
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponse {
|
1240
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1241
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1242
|
+
const message = createBaseQueryDelegatorDelegationsResponse();
|
1243
|
+
|
1244
|
+
while (reader.pos < end) {
|
1245
|
+
const tag = reader.uint32();
|
1246
|
+
|
1247
|
+
switch (tag >>> 3) {
|
1248
|
+
case 1:
|
1249
|
+
message.delegationResponses.push(DelegationResponse.decode(reader, reader.uint32()));
|
1250
|
+
break;
|
1251
|
+
|
1252
|
+
case 2:
|
1253
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
1254
|
+
break;
|
1255
|
+
|
1256
|
+
default:
|
1257
|
+
reader.skipType(tag & 7);
|
1258
|
+
break;
|
1259
|
+
}
|
1260
|
+
}
|
1261
|
+
|
1262
|
+
return message;
|
1263
|
+
},
|
1264
|
+
|
1265
|
+
fromPartial(object: DeepPartial<QueryDelegatorDelegationsResponse>): QueryDelegatorDelegationsResponse {
|
1266
|
+
const message = createBaseQueryDelegatorDelegationsResponse();
|
1267
|
+
message.delegationResponses = object.delegationResponses?.map(e => DelegationResponse.fromPartial(e)) || [];
|
1268
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
1269
|
+
return message;
|
1270
|
+
}
|
1271
|
+
|
1272
|
+
};
|
1273
|
+
|
1274
|
+
function createBaseQueryDelegatorUnbondingDelegationsRequest(): QueryDelegatorUnbondingDelegationsRequest {
|
1275
|
+
return {
|
1276
|
+
delegatorAddr: "",
|
1277
|
+
pagination: undefined
|
1278
|
+
};
|
1279
|
+
}
|
1280
|
+
|
1281
|
+
export const QueryDelegatorUnbondingDelegationsRequest = {
|
1282
|
+
encode(message: QueryDelegatorUnbondingDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1283
|
+
if (message.delegatorAddr !== "") {
|
1284
|
+
writer.uint32(10).string(message.delegatorAddr);
|
1285
|
+
}
|
1286
|
+
|
1287
|
+
if (message.pagination !== undefined) {
|
1288
|
+
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
1289
|
+
}
|
1290
|
+
|
1291
|
+
return writer;
|
1292
|
+
},
|
1293
|
+
|
1294
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsRequest {
|
1295
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1296
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1297
|
+
const message = createBaseQueryDelegatorUnbondingDelegationsRequest();
|
1298
|
+
|
1299
|
+
while (reader.pos < end) {
|
1300
|
+
const tag = reader.uint32();
|
1301
|
+
|
1302
|
+
switch (tag >>> 3) {
|
1303
|
+
case 1:
|
1304
|
+
message.delegatorAddr = reader.string();
|
1305
|
+
break;
|
1306
|
+
|
1307
|
+
case 2:
|
1308
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
1309
|
+
break;
|
1310
|
+
|
1311
|
+
default:
|
1312
|
+
reader.skipType(tag & 7);
|
1313
|
+
break;
|
1314
|
+
}
|
1315
|
+
}
|
1316
|
+
|
1317
|
+
return message;
|
1318
|
+
},
|
1319
|
+
|
1320
|
+
fromPartial(object: DeepPartial<QueryDelegatorUnbondingDelegationsRequest>): QueryDelegatorUnbondingDelegationsRequest {
|
1321
|
+
const message = createBaseQueryDelegatorUnbondingDelegationsRequest();
|
1322
|
+
message.delegatorAddr = object.delegatorAddr ?? "";
|
1323
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
1324
|
+
return message;
|
1325
|
+
}
|
1326
|
+
|
1327
|
+
};
|
1328
|
+
|
1329
|
+
function createBaseQueryDelegatorUnbondingDelegationsResponse(): QueryDelegatorUnbondingDelegationsResponse {
|
1330
|
+
return {
|
1331
|
+
unbondingResponses: [],
|
1332
|
+
pagination: undefined
|
1333
|
+
};
|
1334
|
+
}
|
1335
|
+
|
1336
|
+
export const QueryDelegatorUnbondingDelegationsResponse = {
|
1337
|
+
encode(message: QueryDelegatorUnbondingDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1338
|
+
for (const v of message.unbondingResponses) {
|
1339
|
+
UnbondingDelegation.encode(v!, writer.uint32(10).fork()).ldelim();
|
1340
|
+
}
|
1341
|
+
|
1342
|
+
if (message.pagination !== undefined) {
|
1343
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
1344
|
+
}
|
1345
|
+
|
1346
|
+
return writer;
|
1347
|
+
},
|
1348
|
+
|
1349
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponse {
|
1350
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1351
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1352
|
+
const message = createBaseQueryDelegatorUnbondingDelegationsResponse();
|
1353
|
+
|
1354
|
+
while (reader.pos < end) {
|
1355
|
+
const tag = reader.uint32();
|
1356
|
+
|
1357
|
+
switch (tag >>> 3) {
|
1358
|
+
case 1:
|
1359
|
+
message.unbondingResponses.push(UnbondingDelegation.decode(reader, reader.uint32()));
|
1360
|
+
break;
|
1361
|
+
|
1362
|
+
case 2:
|
1363
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
1364
|
+
break;
|
1365
|
+
|
1366
|
+
default:
|
1367
|
+
reader.skipType(tag & 7);
|
1368
|
+
break;
|
1369
|
+
}
|
1370
|
+
}
|
1371
|
+
|
1372
|
+
return message;
|
1373
|
+
},
|
1374
|
+
|
1375
|
+
fromPartial(object: DeepPartial<QueryDelegatorUnbondingDelegationsResponse>): QueryDelegatorUnbondingDelegationsResponse {
|
1376
|
+
const message = createBaseQueryDelegatorUnbondingDelegationsResponse();
|
1377
|
+
message.unbondingResponses = object.unbondingResponses?.map(e => UnbondingDelegation.fromPartial(e)) || [];
|
1378
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
1379
|
+
return message;
|
1380
|
+
}
|
1381
|
+
|
1382
|
+
};
|
1383
|
+
|
1384
|
+
function createBaseQueryRedelegationsRequest(): QueryRedelegationsRequest {
|
1385
|
+
return {
|
1386
|
+
delegatorAddr: "",
|
1387
|
+
srcValidatorAddr: "",
|
1388
|
+
dstValidatorAddr: "",
|
1389
|
+
pagination: undefined
|
1390
|
+
};
|
1391
|
+
}
|
1392
|
+
|
1393
|
+
export const QueryRedelegationsRequest = {
|
1394
|
+
encode(message: QueryRedelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1395
|
+
if (message.delegatorAddr !== "") {
|
1396
|
+
writer.uint32(10).string(message.delegatorAddr);
|
1397
|
+
}
|
1398
|
+
|
1399
|
+
if (message.srcValidatorAddr !== "") {
|
1400
|
+
writer.uint32(18).string(message.srcValidatorAddr);
|
1401
|
+
}
|
1402
|
+
|
1403
|
+
if (message.dstValidatorAddr !== "") {
|
1404
|
+
writer.uint32(26).string(message.dstValidatorAddr);
|
1405
|
+
}
|
1406
|
+
|
1407
|
+
if (message.pagination !== undefined) {
|
1408
|
+
PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim();
|
1409
|
+
}
|
1410
|
+
|
1411
|
+
return writer;
|
1412
|
+
},
|
1413
|
+
|
1414
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsRequest {
|
1415
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1416
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1417
|
+
const message = createBaseQueryRedelegationsRequest();
|
1418
|
+
|
1419
|
+
while (reader.pos < end) {
|
1420
|
+
const tag = reader.uint32();
|
1421
|
+
|
1422
|
+
switch (tag >>> 3) {
|
1423
|
+
case 1:
|
1424
|
+
message.delegatorAddr = reader.string();
|
1425
|
+
break;
|
1426
|
+
|
1427
|
+
case 2:
|
1428
|
+
message.srcValidatorAddr = reader.string();
|
1429
|
+
break;
|
1430
|
+
|
1431
|
+
case 3:
|
1432
|
+
message.dstValidatorAddr = reader.string();
|
1433
|
+
break;
|
1434
|
+
|
1435
|
+
case 4:
|
1436
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
1437
|
+
break;
|
1438
|
+
|
1439
|
+
default:
|
1440
|
+
reader.skipType(tag & 7);
|
1441
|
+
break;
|
1442
|
+
}
|
1443
|
+
}
|
1444
|
+
|
1445
|
+
return message;
|
1446
|
+
},
|
1447
|
+
|
1448
|
+
fromPartial(object: DeepPartial<QueryRedelegationsRequest>): QueryRedelegationsRequest {
|
1449
|
+
const message = createBaseQueryRedelegationsRequest();
|
1450
|
+
message.delegatorAddr = object.delegatorAddr ?? "";
|
1451
|
+
message.srcValidatorAddr = object.srcValidatorAddr ?? "";
|
1452
|
+
message.dstValidatorAddr = object.dstValidatorAddr ?? "";
|
1453
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
1454
|
+
return message;
|
1455
|
+
}
|
1456
|
+
|
1457
|
+
};
|
1458
|
+
|
1459
|
+
function createBaseQueryRedelegationsResponse(): QueryRedelegationsResponse {
|
1460
|
+
return {
|
1461
|
+
redelegationResponses: [],
|
1462
|
+
pagination: undefined
|
1463
|
+
};
|
1464
|
+
}
|
1465
|
+
|
1466
|
+
export const QueryRedelegationsResponse = {
|
1467
|
+
encode(message: QueryRedelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1468
|
+
for (const v of message.redelegationResponses) {
|
1469
|
+
RedelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim();
|
1470
|
+
}
|
1471
|
+
|
1472
|
+
if (message.pagination !== undefined) {
|
1473
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
1474
|
+
}
|
1475
|
+
|
1476
|
+
return writer;
|
1477
|
+
},
|
1478
|
+
|
1479
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponse {
|
1480
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1481
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1482
|
+
const message = createBaseQueryRedelegationsResponse();
|
1483
|
+
|
1484
|
+
while (reader.pos < end) {
|
1485
|
+
const tag = reader.uint32();
|
1486
|
+
|
1487
|
+
switch (tag >>> 3) {
|
1488
|
+
case 1:
|
1489
|
+
message.redelegationResponses.push(RedelegationResponse.decode(reader, reader.uint32()));
|
1490
|
+
break;
|
1491
|
+
|
1492
|
+
case 2:
|
1493
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
1494
|
+
break;
|
1495
|
+
|
1496
|
+
default:
|
1497
|
+
reader.skipType(tag & 7);
|
1498
|
+
break;
|
1499
|
+
}
|
1500
|
+
}
|
1501
|
+
|
1502
|
+
return message;
|
1503
|
+
},
|
1504
|
+
|
1505
|
+
fromPartial(object: DeepPartial<QueryRedelegationsResponse>): QueryRedelegationsResponse {
|
1506
|
+
const message = createBaseQueryRedelegationsResponse();
|
1507
|
+
message.redelegationResponses = object.redelegationResponses?.map(e => RedelegationResponse.fromPartial(e)) || [];
|
1508
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
1509
|
+
return message;
|
1510
|
+
}
|
1511
|
+
|
1512
|
+
};
|
1513
|
+
|
1514
|
+
function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest {
|
1515
|
+
return {
|
1516
|
+
delegatorAddr: "",
|
1517
|
+
pagination: undefined
|
1518
|
+
};
|
1519
|
+
}
|
1520
|
+
|
1521
|
+
export const QueryDelegatorValidatorsRequest = {
|
1522
|
+
encode(message: QueryDelegatorValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1523
|
+
if (message.delegatorAddr !== "") {
|
1524
|
+
writer.uint32(10).string(message.delegatorAddr);
|
1525
|
+
}
|
1526
|
+
|
1527
|
+
if (message.pagination !== undefined) {
|
1528
|
+
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
1529
|
+
}
|
1530
|
+
|
1531
|
+
return writer;
|
1532
|
+
},
|
1533
|
+
|
1534
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest {
|
1535
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1536
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1537
|
+
const message = createBaseQueryDelegatorValidatorsRequest();
|
1538
|
+
|
1539
|
+
while (reader.pos < end) {
|
1540
|
+
const tag = reader.uint32();
|
1541
|
+
|
1542
|
+
switch (tag >>> 3) {
|
1543
|
+
case 1:
|
1544
|
+
message.delegatorAddr = reader.string();
|
1545
|
+
break;
|
1546
|
+
|
1547
|
+
case 2:
|
1548
|
+
message.pagination = PageRequest.decode(reader, reader.uint32());
|
1549
|
+
break;
|
1550
|
+
|
1551
|
+
default:
|
1552
|
+
reader.skipType(tag & 7);
|
1553
|
+
break;
|
1554
|
+
}
|
1555
|
+
}
|
1556
|
+
|
1557
|
+
return message;
|
1558
|
+
},
|
1559
|
+
|
1560
|
+
fromPartial(object: DeepPartial<QueryDelegatorValidatorsRequest>): QueryDelegatorValidatorsRequest {
|
1561
|
+
const message = createBaseQueryDelegatorValidatorsRequest();
|
1562
|
+
message.delegatorAddr = object.delegatorAddr ?? "";
|
1563
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
1564
|
+
return message;
|
1565
|
+
}
|
1566
|
+
|
1567
|
+
};
|
1568
|
+
|
1569
|
+
function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse {
|
1570
|
+
return {
|
1571
|
+
validators: [],
|
1572
|
+
pagination: undefined
|
1573
|
+
};
|
1574
|
+
}
|
1575
|
+
|
1576
|
+
export const QueryDelegatorValidatorsResponse = {
|
1577
|
+
encode(message: QueryDelegatorValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1578
|
+
for (const v of message.validators) {
|
1579
|
+
Validator.encode(v!, writer.uint32(10).fork()).ldelim();
|
1580
|
+
}
|
1581
|
+
|
1582
|
+
if (message.pagination !== undefined) {
|
1583
|
+
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
1584
|
+
}
|
1585
|
+
|
1586
|
+
return writer;
|
1587
|
+
},
|
1588
|
+
|
1589
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse {
|
1590
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1591
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1592
|
+
const message = createBaseQueryDelegatorValidatorsResponse();
|
1593
|
+
|
1594
|
+
while (reader.pos < end) {
|
1595
|
+
const tag = reader.uint32();
|
1596
|
+
|
1597
|
+
switch (tag >>> 3) {
|
1598
|
+
case 1:
|
1599
|
+
message.validators.push(Validator.decode(reader, reader.uint32()));
|
1600
|
+
break;
|
1601
|
+
|
1602
|
+
case 2:
|
1603
|
+
message.pagination = PageResponse.decode(reader, reader.uint32());
|
1604
|
+
break;
|
1605
|
+
|
1606
|
+
default:
|
1607
|
+
reader.skipType(tag & 7);
|
1608
|
+
break;
|
1609
|
+
}
|
1610
|
+
}
|
1611
|
+
|
1612
|
+
return message;
|
1613
|
+
},
|
1614
|
+
|
1615
|
+
fromPartial(object: DeepPartial<QueryDelegatorValidatorsResponse>): QueryDelegatorValidatorsResponse {
|
1616
|
+
const message = createBaseQueryDelegatorValidatorsResponse();
|
1617
|
+
message.validators = object.validators?.map(e => Validator.fromPartial(e)) || [];
|
1618
|
+
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
1619
|
+
return message;
|
1620
|
+
}
|
1621
|
+
|
1622
|
+
};
|
1623
|
+
|
1624
|
+
function createBaseQueryDelegatorValidatorRequest(): QueryDelegatorValidatorRequest {
|
1625
|
+
return {
|
1626
|
+
delegatorAddr: "",
|
1627
|
+
validatorAddr: ""
|
1628
|
+
};
|
1629
|
+
}
|
1630
|
+
|
1631
|
+
export const QueryDelegatorValidatorRequest = {
|
1632
|
+
encode(message: QueryDelegatorValidatorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1633
|
+
if (message.delegatorAddr !== "") {
|
1634
|
+
writer.uint32(10).string(message.delegatorAddr);
|
1635
|
+
}
|
1636
|
+
|
1637
|
+
if (message.validatorAddr !== "") {
|
1638
|
+
writer.uint32(18).string(message.validatorAddr);
|
1639
|
+
}
|
1640
|
+
|
1641
|
+
return writer;
|
1642
|
+
},
|
1643
|
+
|
1644
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorRequest {
|
1645
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1646
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1647
|
+
const message = createBaseQueryDelegatorValidatorRequest();
|
1648
|
+
|
1649
|
+
while (reader.pos < end) {
|
1650
|
+
const tag = reader.uint32();
|
1651
|
+
|
1652
|
+
switch (tag >>> 3) {
|
1653
|
+
case 1:
|
1654
|
+
message.delegatorAddr = reader.string();
|
1655
|
+
break;
|
1656
|
+
|
1657
|
+
case 2:
|
1658
|
+
message.validatorAddr = reader.string();
|
1659
|
+
break;
|
1660
|
+
|
1661
|
+
default:
|
1662
|
+
reader.skipType(tag & 7);
|
1663
|
+
break;
|
1664
|
+
}
|
1665
|
+
}
|
1666
|
+
|
1667
|
+
return message;
|
1668
|
+
},
|
1669
|
+
|
1670
|
+
fromPartial(object: DeepPartial<QueryDelegatorValidatorRequest>): QueryDelegatorValidatorRequest {
|
1671
|
+
const message = createBaseQueryDelegatorValidatorRequest();
|
1672
|
+
message.delegatorAddr = object.delegatorAddr ?? "";
|
1673
|
+
message.validatorAddr = object.validatorAddr ?? "";
|
1674
|
+
return message;
|
1675
|
+
}
|
1676
|
+
|
1677
|
+
};
|
1678
|
+
|
1679
|
+
function createBaseQueryDelegatorValidatorResponse(): QueryDelegatorValidatorResponse {
|
1680
|
+
return {
|
1681
|
+
validator: undefined
|
1682
|
+
};
|
1683
|
+
}
|
1684
|
+
|
1685
|
+
export const QueryDelegatorValidatorResponse = {
|
1686
|
+
encode(message: QueryDelegatorValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1687
|
+
if (message.validator !== undefined) {
|
1688
|
+
Validator.encode(message.validator, writer.uint32(10).fork()).ldelim();
|
1689
|
+
}
|
1690
|
+
|
1691
|
+
return writer;
|
1692
|
+
},
|
1693
|
+
|
1694
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponse {
|
1695
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1696
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1697
|
+
const message = createBaseQueryDelegatorValidatorResponse();
|
1698
|
+
|
1699
|
+
while (reader.pos < end) {
|
1700
|
+
const tag = reader.uint32();
|
1701
|
+
|
1702
|
+
switch (tag >>> 3) {
|
1703
|
+
case 1:
|
1704
|
+
message.validator = Validator.decode(reader, reader.uint32());
|
1705
|
+
break;
|
1706
|
+
|
1707
|
+
default:
|
1708
|
+
reader.skipType(tag & 7);
|
1709
|
+
break;
|
1710
|
+
}
|
1711
|
+
}
|
1712
|
+
|
1713
|
+
return message;
|
1714
|
+
},
|
1715
|
+
|
1716
|
+
fromPartial(object: DeepPartial<QueryDelegatorValidatorResponse>): QueryDelegatorValidatorResponse {
|
1717
|
+
const message = createBaseQueryDelegatorValidatorResponse();
|
1718
|
+
message.validator = object.validator !== undefined && object.validator !== null ? Validator.fromPartial(object.validator) : undefined;
|
1719
|
+
return message;
|
1720
|
+
}
|
1721
|
+
|
1722
|
+
};
|
1723
|
+
|
1724
|
+
function createBaseQueryHistoricalInfoRequest(): QueryHistoricalInfoRequest {
|
1725
|
+
return {
|
1726
|
+
height: Long.ZERO
|
1727
|
+
};
|
1728
|
+
}
|
1729
|
+
|
1730
|
+
export const QueryHistoricalInfoRequest = {
|
1731
|
+
encode(message: QueryHistoricalInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1732
|
+
if (!message.height.isZero()) {
|
1733
|
+
writer.uint32(8).int64(message.height);
|
1734
|
+
}
|
1735
|
+
|
1736
|
+
return writer;
|
1737
|
+
},
|
1738
|
+
|
1739
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoRequest {
|
1740
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1741
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1742
|
+
const message = createBaseQueryHistoricalInfoRequest();
|
1743
|
+
|
1744
|
+
while (reader.pos < end) {
|
1745
|
+
const tag = reader.uint32();
|
1746
|
+
|
1747
|
+
switch (tag >>> 3) {
|
1748
|
+
case 1:
|
1749
|
+
message.height = (reader.int64() as Long);
|
1750
|
+
break;
|
1751
|
+
|
1752
|
+
default:
|
1753
|
+
reader.skipType(tag & 7);
|
1754
|
+
break;
|
1755
|
+
}
|
1756
|
+
}
|
1757
|
+
|
1758
|
+
return message;
|
1759
|
+
},
|
1760
|
+
|
1761
|
+
fromPartial(object: DeepPartial<QueryHistoricalInfoRequest>): QueryHistoricalInfoRequest {
|
1762
|
+
const message = createBaseQueryHistoricalInfoRequest();
|
1763
|
+
message.height = object.height !== undefined && object.height !== null ? Long.fromValue(object.height) : Long.ZERO;
|
1764
|
+
return message;
|
1765
|
+
}
|
1766
|
+
|
1767
|
+
};
|
1768
|
+
|
1769
|
+
function createBaseQueryHistoricalInfoResponse(): QueryHistoricalInfoResponse {
|
1770
|
+
return {
|
1771
|
+
hist: undefined
|
1772
|
+
};
|
1773
|
+
}
|
1774
|
+
|
1775
|
+
export const QueryHistoricalInfoResponse = {
|
1776
|
+
encode(message: QueryHistoricalInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1777
|
+
if (message.hist !== undefined) {
|
1778
|
+
HistoricalInfo.encode(message.hist, writer.uint32(10).fork()).ldelim();
|
1779
|
+
}
|
1780
|
+
|
1781
|
+
return writer;
|
1782
|
+
},
|
1783
|
+
|
1784
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponse {
|
1785
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1786
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1787
|
+
const message = createBaseQueryHistoricalInfoResponse();
|
1788
|
+
|
1789
|
+
while (reader.pos < end) {
|
1790
|
+
const tag = reader.uint32();
|
1791
|
+
|
1792
|
+
switch (tag >>> 3) {
|
1793
|
+
case 1:
|
1794
|
+
message.hist = HistoricalInfo.decode(reader, reader.uint32());
|
1795
|
+
break;
|
1796
|
+
|
1797
|
+
default:
|
1798
|
+
reader.skipType(tag & 7);
|
1799
|
+
break;
|
1800
|
+
}
|
1801
|
+
}
|
1802
|
+
|
1803
|
+
return message;
|
1804
|
+
},
|
1805
|
+
|
1806
|
+
fromPartial(object: DeepPartial<QueryHistoricalInfoResponse>): QueryHistoricalInfoResponse {
|
1807
|
+
const message = createBaseQueryHistoricalInfoResponse();
|
1808
|
+
message.hist = object.hist !== undefined && object.hist !== null ? HistoricalInfo.fromPartial(object.hist) : undefined;
|
1809
|
+
return message;
|
1810
|
+
}
|
1811
|
+
|
1812
|
+
};
|
1813
|
+
|
1814
|
+
function createBaseQueryPoolRequest(): QueryPoolRequest {
|
1815
|
+
return {};
|
1816
|
+
}
|
1817
|
+
|
1818
|
+
export const QueryPoolRequest = {
|
1819
|
+
encode(_: QueryPoolRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1820
|
+
return writer;
|
1821
|
+
},
|
1822
|
+
|
1823
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolRequest {
|
1824
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1825
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1826
|
+
const message = createBaseQueryPoolRequest();
|
1827
|
+
|
1828
|
+
while (reader.pos < end) {
|
1829
|
+
const tag = reader.uint32();
|
1830
|
+
|
1831
|
+
switch (tag >>> 3) {
|
1832
|
+
default:
|
1833
|
+
reader.skipType(tag & 7);
|
1834
|
+
break;
|
1835
|
+
}
|
1836
|
+
}
|
1837
|
+
|
1838
|
+
return message;
|
1839
|
+
},
|
1840
|
+
|
1841
|
+
fromPartial(_: DeepPartial<QueryPoolRequest>): QueryPoolRequest {
|
1842
|
+
const message = createBaseQueryPoolRequest();
|
1843
|
+
return message;
|
1844
|
+
}
|
1845
|
+
|
1846
|
+
};
|
1847
|
+
|
1848
|
+
function createBaseQueryPoolResponse(): QueryPoolResponse {
|
1849
|
+
return {
|
1850
|
+
pool: undefined
|
1851
|
+
};
|
1852
|
+
}
|
1853
|
+
|
1854
|
+
export const QueryPoolResponse = {
|
1855
|
+
encode(message: QueryPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1856
|
+
if (message.pool !== undefined) {
|
1857
|
+
Pool.encode(message.pool, writer.uint32(10).fork()).ldelim();
|
1858
|
+
}
|
1859
|
+
|
1860
|
+
return writer;
|
1861
|
+
},
|
1862
|
+
|
1863
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponse {
|
1864
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1865
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1866
|
+
const message = createBaseQueryPoolResponse();
|
1867
|
+
|
1868
|
+
while (reader.pos < end) {
|
1869
|
+
const tag = reader.uint32();
|
1870
|
+
|
1871
|
+
switch (tag >>> 3) {
|
1872
|
+
case 1:
|
1873
|
+
message.pool = Pool.decode(reader, reader.uint32());
|
1874
|
+
break;
|
1875
|
+
|
1876
|
+
default:
|
1877
|
+
reader.skipType(tag & 7);
|
1878
|
+
break;
|
1879
|
+
}
|
1880
|
+
}
|
1881
|
+
|
1882
|
+
return message;
|
1883
|
+
},
|
1884
|
+
|
1885
|
+
fromPartial(object: DeepPartial<QueryPoolResponse>): QueryPoolResponse {
|
1886
|
+
const message = createBaseQueryPoolResponse();
|
1887
|
+
message.pool = object.pool !== undefined && object.pool !== null ? Pool.fromPartial(object.pool) : undefined;
|
1888
|
+
return message;
|
1889
|
+
}
|
1890
|
+
|
1891
|
+
};
|
1892
|
+
|
1893
|
+
function createBaseQueryParamsRequest(): QueryParamsRequest {
|
1894
|
+
return {};
|
1895
|
+
}
|
1896
|
+
|
1897
|
+
export const QueryParamsRequest = {
|
1898
|
+
encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1899
|
+
return writer;
|
1900
|
+
},
|
1901
|
+
|
1902
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest {
|
1903
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1904
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1905
|
+
const message = createBaseQueryParamsRequest();
|
1906
|
+
|
1907
|
+
while (reader.pos < end) {
|
1908
|
+
const tag = reader.uint32();
|
1909
|
+
|
1910
|
+
switch (tag >>> 3) {
|
1911
|
+
default:
|
1912
|
+
reader.skipType(tag & 7);
|
1913
|
+
break;
|
1914
|
+
}
|
1915
|
+
}
|
1916
|
+
|
1917
|
+
return message;
|
1918
|
+
},
|
1919
|
+
|
1920
|
+
fromPartial(_: DeepPartial<QueryParamsRequest>): QueryParamsRequest {
|
1921
|
+
const message = createBaseQueryParamsRequest();
|
1922
|
+
return message;
|
1923
|
+
}
|
1924
|
+
|
1925
|
+
};
|
1926
|
+
|
1927
|
+
function createBaseQueryParamsResponse(): QueryParamsResponse {
|
1928
|
+
return {
|
1929
|
+
params: undefined
|
1930
|
+
};
|
1931
|
+
}
|
1932
|
+
|
1933
|
+
export const QueryParamsResponse = {
|
1934
|
+
encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
1935
|
+
if (message.params !== undefined) {
|
1936
|
+
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
1937
|
+
}
|
1938
|
+
|
1939
|
+
return writer;
|
1940
|
+
},
|
1941
|
+
|
1942
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse {
|
1943
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1944
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
1945
|
+
const message = createBaseQueryParamsResponse();
|
1946
|
+
|
1947
|
+
while (reader.pos < end) {
|
1948
|
+
const tag = reader.uint32();
|
1949
|
+
|
1950
|
+
switch (tag >>> 3) {
|
1951
|
+
case 1:
|
1952
|
+
message.params = Params.decode(reader, reader.uint32());
|
1953
|
+
break;
|
1954
|
+
|
1955
|
+
default:
|
1956
|
+
reader.skipType(tag & 7);
|
1957
|
+
break;
|
1958
|
+
}
|
1959
|
+
}
|
1960
|
+
|
1961
|
+
return message;
|
1962
|
+
},
|
1963
|
+
|
1964
|
+
fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse {
|
1965
|
+
const message = createBaseQueryParamsResponse();
|
1966
|
+
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
1967
|
+
return message;
|
1968
|
+
}
|
1969
|
+
|
1970
|
+
};
|