juno-network 0.15.0 → 0.17.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 +1 -4
- package/main/codegen/JunoSwap.client.js +165 -184
- package/main/codegen/amino/amino.js +5 -0
- package/main/codegen/amino/bundle.js +16 -0
- package/main/codegen/binary.js +478 -0
- package/main/codegen/confio/proofs.js +836 -72
- package/main/codegen/contracts.js +8 -4
- package/main/codegen/cosmos/app/v1alpha1/config.js +221 -0
- package/main/codegen/cosmos/app/v1alpha1/module.js +324 -0
- package/main/codegen/cosmos/app/v1alpha1/query.js +149 -0
- package/main/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +45 -0
- package/main/codegen/cosmos/auth/v1beta1/auth.js +382 -0
- package/main/codegen/cosmos/auth/v1beta1/genesis.js +120 -0
- package/main/codegen/cosmos/auth/v1beta1/query.js +1133 -0
- package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +223 -0
- package/main/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +128 -0
- package/main/codegen/cosmos/authz/v1beta1/authz.js +220 -13
- package/main/codegen/cosmos/authz/v1beta1/event.js +101 -8
- package/main/codegen/cosmos/authz/v1beta1/genesis.js +51 -7
- package/main/codegen/cosmos/authz/v1beta1/query.js +311 -21
- package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +65 -69
- package/main/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +5 -7
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +25 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.js +312 -18
- package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +83 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +5 -7
- package/main/codegen/cosmos/bank/v1beta1/authz.js +66 -7
- package/main/codegen/cosmos/bank/v1beta1/bank.js +425 -21
- package/main/codegen/cosmos/bank/v1beta1/genesis.js +138 -10
- package/main/codegen/cosmos/bank/v1beta1/query.js +964 -49
- package/main/codegen/cosmos/bank/v1beta1/query.lcd.js +148 -163
- package/main/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +11 -13
- package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -86
- package/main/codegen/cosmos/bank/v1beta1/tx.js +194 -13
- package/main/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +4 -6
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +677 -60
- package/main/codegen/cosmos/base/kv/v1beta1/kv.js +197 -0
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +162 -17
- package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +362 -0
- package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1230 -57
- package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +916 -0
- package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +326 -0
- package/main/codegen/cosmos/base/store/v1beta1/listening.js +140 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1431 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +202 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +115 -0
- package/main/codegen/cosmos/base/v1beta1/coin.js +207 -12
- package/main/codegen/cosmos/bundle.js +274 -105
- package/main/codegen/cosmos/capability/v1beta1/capability.js +300 -0
- package/main/codegen/cosmos/capability/v1beta1/genesis.js +208 -0
- package/main/codegen/cosmos/client.js +37 -23
- package/main/codegen/cosmos/crisis/v1beta1/genesis.js +85 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.js +173 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/crypto/ed25519/keys.js +113 -8
- package/main/codegen/cosmos/crypto/hd/v1/hd.js +59 -6
- package/main/codegen/cosmos/crypto/keyring/v1/record.js +236 -14
- package/main/codegen/cosmos/crypto/multisig/keys.js +67 -7
- package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +125 -9
- package/main/codegen/cosmos/crypto/secp256k1/keys.js +104 -8
- package/main/codegen/cosmos/crypto/secp256r1/keys.js +86 -8
- package/main/codegen/cosmos/distribution/v1beta1/distribution.js +788 -56
- package/main/codegen/cosmos/distribution/v1beta1/genesis.js +514 -38
- package/main/codegen/cosmos/distribution/v1beta1/query.js +970 -53
- package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +107 -124
- package/main/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +11 -13
- package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -70
- package/main/codegen/cosmos/distribution/v1beta1/tx.js +403 -25
- package/main/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +6 -8
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +132 -0
- package/main/codegen/cosmos/evidence/v1beta1/genesis.js +107 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.js +371 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +87 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +60 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.js +186 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +512 -0
- package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +107 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.js +575 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.lcd.js +114 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +70 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +20 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.js +337 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +65 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +43 -0
- package/main/codegen/cosmos/genutil/v1beta1/genesis.js +107 -0
- package/main/codegen/cosmos/gov/v1/genesis.js +90 -11
- package/main/codegen/cosmos/gov/v1/gov.js +497 -58
- package/main/codegen/cosmos/gov/v1/query.js +770 -56
- package/main/codegen/cosmos/gov/v1/query.lcd.js +107 -123
- package/main/codegen/cosmos/gov/v1/query.rpc.Query.js +10 -12
- package/main/codegen/cosmos/gov/v1/tx.amino.js +11 -156
- package/main/codegen/cosmos/gov/v1/tx.js +511 -38
- package/main/codegen/cosmos/gov/v1/tx.rpc.msg.js +7 -9
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +93 -14
- package/main/codegen/cosmos/gov/v1beta1/gov.js +560 -69
- package/main/codegen/cosmos/gov/v1beta1/query.js +777 -63
- package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +107 -123
- package/main/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +10 -12
- package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -118
- package/main/codegen/cosmos/gov/v1beta1/tx.js +424 -34
- package/main/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +6 -8
- package/main/codegen/cosmos/group/v1/events.js +729 -0
- package/main/codegen/cosmos/group/v1/genesis.js +259 -0
- package/main/codegen/cosmos/group/v1/query.js +2377 -0
- package/main/codegen/cosmos/group/v1/query.lcd.js +398 -0
- package/main/codegen/cosmos/group/v1/query.rpc.Query.js +200 -0
- package/main/codegen/cosmos/group/v1/tx.amino.js +80 -0
- package/main/codegen/cosmos/group/v1/tx.js +2590 -0
- package/main/codegen/cosmos/group/v1/tx.registry.js +281 -0
- package/main/codegen/cosmos/group/v1/tx.rpc.msg.js +163 -0
- package/main/codegen/cosmos/group/v1/types.js +1607 -0
- package/main/codegen/cosmos/lcd.js +255 -128
- package/main/codegen/cosmos/mint/v1beta1/genesis.js +97 -0
- package/main/codegen/cosmos/mint/v1beta1/mint.js +236 -0
- package/main/codegen/cosmos/mint/v1beta1/query.js +461 -0
- package/main/codegen/cosmos/mint/v1beta1/query.lcd.js +108 -0
- package/main/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +73 -0
- package/main/codegen/cosmos/msg/v1/msg.js +5 -0
- package/main/codegen/cosmos/nft/v1beta1/event.js +325 -0
- package/main/codegen/cosmos/nft/v1beta1/genesis.js +244 -0
- package/main/codegen/cosmos/nft/v1beta1/nft.js +284 -0
- package/main/codegen/cosmos/nft/v1beta1/query.js +1219 -0
- package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +226 -0
- package/main/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +125 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.js +185 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/orm/v1/orm.js +400 -0
- package/main/codegen/cosmos/orm/v1alpha1/schema.js +278 -0
- package/main/codegen/cosmos/params/v1beta1/params.js +241 -0
- package/main/codegen/cosmos/params/v1beta1/query.js +473 -0
- package/main/codegen/cosmos/params/v1beta1/query.lcd.js +87 -0
- package/main/codegen/cosmos/params/v1beta1/query.rpc.Query.js +58 -0
- package/main/codegen/cosmos/rpc.query.js +198 -97
- package/main/codegen/cosmos/rpc.tx.js +178 -96
- package/main/codegen/cosmos/slashing/v1beta1/genesis.js +445 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.js +529 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +115 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +74 -0
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +283 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.js +149 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/staking/v1beta1/authz.js +120 -26
- package/main/codegen/cosmos/staking/v1beta1/genesis.js +153 -13
- package/main/codegen/cosmos/staking/v1beta1/query.js +1467 -72
- package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +205 -229
- package/main/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +16 -18
- package/main/codegen/cosmos/staking/v1beta1/staking.js +1257 -98
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -189
- package/main/codegen/cosmos/staking/v1beta1/tx.js +513 -35
- package/main/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +7 -9
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +273 -43
- package/main/codegen/cosmos/tx/v1beta1/service.js +603 -54
- package/main/codegen/cosmos/tx/v1beta1/service.lcd.js +52 -57
- package/main/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +7 -9
- package/main/codegen/cosmos/tx/v1beta1/tx.js +856 -53
- package/main/codegen/cosmos/upgrade/v1beta1/query.js +523 -31
- package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +69 -77
- package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +7 -9
- package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -47
- package/main/codegen/cosmos/upgrade/v1beta1/tx.js +214 -13
- package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +4 -6
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +248 -20
- package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +25 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +636 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +83 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +53 -0
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +718 -0
- package/main/codegen/cosmos_proto/bundle.js +6 -6
- package/main/codegen/cosmos_proto/cosmos.js +129 -21
- package/main/codegen/cosmwasm/bundle.js +21 -21
- package/main/codegen/cosmwasm/client.js +21 -23
- package/main/codegen/cosmwasm/lcd.js +272 -145
- package/main/codegen/cosmwasm/rpc.query.js +211 -110
- package/main/codegen/cosmwasm/rpc.tx.js +193 -111
- package/main/codegen/cosmwasm/wasm/v1/authz.js +534 -34
- package/main/codegen/cosmwasm/wasm/v1/genesis.js +320 -24
- package/main/codegen/cosmwasm/wasm/v1/ibc.js +103 -14
- package/main/codegen/cosmwasm/wasm/v1/proposal.js +841 -45
- package/main/codegen/cosmwasm/wasm/v1/query.js +1232 -64
- package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +153 -175
- package/main/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +13 -15
- package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -217
- package/main/codegen/cosmwasm/wasm/v1/tx.js +742 -49
- package/main/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +9 -11
- package/main/codegen/cosmwasm/wasm/v1/types.js +447 -61
- package/main/codegen/gaia/bundle.js +12 -12
- package/main/codegen/gaia/globalfee/v1beta1/genesis.js +82 -10
- package/main/codegen/gaia/globalfee/v1beta1/query.js +95 -9
- package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +11 -13
- package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +3 -5
- package/main/codegen/gaia/lcd.js +272 -145
- package/main/codegen/gaia/rpc.query.js +211 -110
- package/main/codegen/gogoproto/bundle.js +6 -6
- package/main/codegen/google/api/annotations.js +5 -0
- package/main/codegen/google/api/http.js +1216 -0
- package/main/codegen/google/bundle.js +13 -10
- package/main/codegen/google/protobuf/any.js +278 -6
- package/main/codegen/google/protobuf/descriptor.js +1691 -171
- package/main/codegen/google/protobuf/duration.js +215 -10
- package/main/codegen/google/protobuf/empty.js +63 -6
- package/main/codegen/google/protobuf/timestamp.js +283 -9
- package/main/codegen/helpers.js +19 -53
- package/main/codegen/ibc/applications/transfer/v1/genesis.js +60 -8
- package/main/codegen/ibc/applications/transfer/v1/query.js +297 -17
- package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +40 -46
- package/main/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +5 -7
- package/main/codegen/ibc/applications/transfer/v1/transfer.js +117 -8
- package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -50
- package/main/codegen/ibc/applications/transfer/v1/tx.js +122 -14
- package/main/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +3 -5
- package/main/codegen/ibc/applications/transfer/v2/packet.js +67 -6
- package/main/codegen/ibc/bundle.js +71 -60
- package/main/codegen/ibc/client.js +21 -23
- package/main/codegen/ibc/core/channel/v1/channel.js +438 -57
- package/main/codegen/ibc/core/channel/v1/genesis.js +180 -16
- package/main/codegen/ibc/core/channel/v1/query.js +1604 -97
- package/main/codegen/ibc/core/channel/v1/query.lcd.js +184 -202
- package/main/codegen/ibc/core/channel/v1/query.rpc.Query.js +15 -17
- package/main/codegen/ibc/core/channel/v1/tx.amino.js +21 -470
- package/main/codegen/ibc/core/channel/v1/tx.js +1053 -64
- package/main/codegen/ibc/core/channel/v1/tx.rpc.msg.js +12 -14
- package/main/codegen/ibc/core/client/v1/client.js +438 -28
- package/main/codegen/ibc/core/client/v1/genesis.js +204 -15
- package/main/codegen/ibc/core/client/v1/query.js +874 -45
- package/main/codegen/ibc/core/client/v1/query.lcd.js +110 -124
- package/main/codegen/ibc/core/client/v1/query.rpc.Query.js +10 -12
- package/main/codegen/ibc/core/client/v1/tx.amino.js +9 -128
- package/main/codegen/ibc/core/client/v1/tx.js +402 -20
- package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +6 -8
- package/main/codegen/ibc/core/commitment/v1/commitment.js +236 -13
- package/main/codegen/ibc/core/connection/v1/connection.js +434 -52
- package/main/codegen/ibc/core/connection/v1/genesis.js +73 -12
- package/main/codegen/ibc/core/connection/v1/query.js +592 -36
- package/main/codegen/ibc/core/connection/v1/query.lcd.js +68 -75
- package/main/codegen/ibc/core/connection/v1/query.rpc.Query.js +7 -9
- package/main/codegen/ibc/core/connection/v1/tx.amino.js +9 -248
- package/main/codegen/ibc/core/connection/v1/tx.js +504 -34
- package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +6 -8
- package/main/codegen/ibc/core/port/v1/query.js +224 -0
- package/main/codegen/ibc/core/port/v1/query.rpc.Query.js +44 -0
- package/main/codegen/ibc/core/types/v1/genesis.js +111 -0
- package/main/codegen/ibc/lcd.js +320 -193
- package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -7
- package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +933 -91
- package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +930 -88
- package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +378 -30
- package/main/codegen/ibc/rpc.query.js +257 -146
- package/main/codegen/ibc/rpc.tx.js +235 -153
- package/main/codegen/ics23/bundle.js +6 -6
- package/main/codegen/index.js +74 -41
- package/main/codegen/juno/bundle.js +77 -24
- package/main/codegen/juno/client.js +33 -25
- package/main/codegen/juno/clock/v1/genesis.js +183 -0
- package/main/codegen/juno/clock/v1/query.js +288 -0
- package/main/codegen/juno/clock/v1/query.lcd.js +80 -0
- package/main/codegen/juno/clock/v1/query.rpc.Query.js +59 -0
- package/main/codegen/juno/clock/v1/tx.amino.js +15 -0
- package/main/codegen/juno/clock/v1/tx.js +177 -0
- package/main/codegen/juno/clock/v1/tx.registry.js +47 -0
- package/main/codegen/juno/clock/v1/tx.rpc.msg.js +33 -0
- package/main/codegen/juno/cwhooks/v1/genesis.js +212 -0
- package/main/codegen/juno/cwhooks/v1/query.js +436 -0
- package/main/codegen/juno/cwhooks/v1/query.lcd.js +108 -0
- package/main/codegen/juno/cwhooks/v1/query.rpc.Query.js +73 -0
- package/main/codegen/juno/cwhooks/v1/tx.amino.js +35 -0
- package/main/codegen/juno/cwhooks/v1/tx.js +745 -0
- package/main/codegen/juno/cwhooks/v1/tx.registry.js +119 -0
- package/main/codegen/juno/cwhooks/v1/tx.rpc.msg.js +73 -0
- package/main/codegen/juno/drip/v1/genesis.js +183 -0
- package/main/codegen/juno/drip/v1/query.js +137 -0
- package/main/codegen/juno/drip/v1/query.lcd.js +52 -0
- package/main/codegen/juno/drip/v1/query.rpc.Query.js +45 -0
- package/main/codegen/juno/drip/v1/tx.amino.js +20 -0
- package/main/codegen/juno/drip/v1/tx.js +326 -0
- package/main/codegen/juno/drip/v1/tx.registry.js +65 -0
- package/main/codegen/juno/drip/v1/tx.rpc.msg.js +43 -0
- package/main/codegen/juno/feepay/v1/feepay.js +217 -0
- package/main/codegen/juno/feepay/v1/genesis.js +185 -0
- package/main/codegen/juno/feepay/v1/query.js +769 -0
- package/main/codegen/juno/feepay/v1/query.lcd.js +165 -0
- package/main/codegen/juno/feepay/v1/query.rpc.Query.js +100 -0
- package/main/codegen/juno/feepay/v1/tx.amino.js +35 -0
- package/main/codegen/juno/feepay/v1/tx.js +792 -0
- package/main/codegen/juno/feepay/v1/tx.registry.js +119 -0
- package/main/codegen/juno/feepay/v1/tx.rpc.msg.js +73 -0
- package/main/codegen/juno/feeshare/v1/feeshare.js +54 -6
- package/main/codegen/juno/feeshare/v1/genesis.js +104 -12
- package/main/codegen/juno/feeshare/v1/query.js +446 -27
- package/main/codegen/juno/feeshare/v1/query.lcd.js +78 -86
- package/main/codegen/juno/feeshare/v1/query.rpc.Query.js +7 -9
- package/main/codegen/juno/feeshare/v1/tx.amino.js +12 -56
- package/main/codegen/juno/feeshare/v1/tx.js +406 -18
- package/main/codegen/juno/feeshare/v1/tx.registry.js +19 -1
- package/main/codegen/juno/feeshare/v1/tx.rpc.msg.js +15 -7
- package/main/codegen/juno/lcd.js +339 -156
- package/main/codegen/juno/mint/genesis.js +43 -8
- package/main/codegen/juno/mint/mint.js +117 -24
- package/main/codegen/juno/mint/query.js +384 -19
- package/main/codegen/juno/mint/query.lcd.js +61 -39
- package/main/codegen/juno/mint/query.rpc.Query.js +19 -7
- package/main/codegen/juno/mint/tx.amino.js +15 -0
- package/main/codegen/juno/mint/tx.js +177 -0
- package/main/codegen/juno/mint/tx.registry.js +47 -0
- package/main/codegen/juno/mint/tx.rpc.msg.js +33 -0
- package/main/codegen/juno/rpc.query.js +258 -117
- package/main/codegen/juno/rpc.tx.js +250 -111
- package/main/codegen/osmosis/bundle.js +19 -19
- package/main/codegen/osmosis/client.js +21 -23
- package/main/codegen/osmosis/lcd.js +272 -145
- package/main/codegen/osmosis/rpc.query.js +211 -110
- package/main/codegen/osmosis/rpc.tx.js +193 -111
- package/main/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -6
- package/main/codegen/osmosis/tokenfactory/v1beta1/genesis.js +115 -11
- package/main/codegen/osmosis/tokenfactory/v1beta1/params.js +64 -8
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.js +295 -19
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +37 -41
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +5 -7
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -165
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +785 -34
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +19 -1
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +18 -10
- package/main/codegen/router/bundle.js +12 -12
- package/main/codegen/router/lcd.js +269 -142
- package/main/codegen/router/rpc.query.js +208 -107
- package/main/codegen/router/v1/genesis.js +221 -24
- package/main/codegen/router/v1/query.js +69 -8
- package/main/codegen/router/v1/query.lcd.js +11 -13
- package/main/codegen/router/v1/query.rpc.Query.js +3 -5
- package/main/codegen/tendermint/abci/types.js +2058 -229
- package/main/codegen/tendermint/bundle.js +21 -21
- package/main/codegen/tendermint/crypto/keys.js +42 -6
- package/main/codegen/tendermint/crypto/proof.js +228 -21
- package/main/codegen/tendermint/libs/bits/types.js +47 -12
- package/main/codegen/tendermint/p2p/types.js +230 -26
- package/main/codegen/tendermint/types/block.js +46 -9
- package/main/codegen/tendermint/types/evidence.js +198 -27
- package/main/codegen/tendermint/types/params.js +316 -47
- package/main/codegen/tendermint/types/types.js +680 -87
- package/main/codegen/tendermint/types/validator.js +136 -24
- package/main/codegen/tendermint/version/types.js +114 -18
- package/main/codegen/utf8.js +129 -0
- package/main/codegen/varint.js +440 -0
- package/module/codegen/amino/amino.js +1 -0
- package/module/codegen/amino/bundle.js +5 -0
- package/module/codegen/binary.js +374 -0
- package/module/codegen/confio/proofs.js +806 -67
- package/module/codegen/contracts.js +2 -2
- package/module/codegen/cosmos/app/v1alpha1/config.js +193 -0
- package/module/codegen/cosmos/app/v1alpha1/module.js +279 -0
- package/module/codegen/cosmos/app/v1alpha1/query.js +139 -0
- package/module/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +27 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +352 -0
- package/module/codegen/cosmos/auth/v1beta1/genesis.js +94 -0
- package/module/codegen/cosmos/auth/v1beta1/query.js +1066 -0
- package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +62 -0
- package/module/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +83 -0
- package/module/codegen/cosmos/authz/v1beta1/authz.js +210 -9
- package/module/codegen/cosmos/authz/v1beta1/event.js +101 -5
- package/module/codegen/cosmos/authz/v1beta1/genesis.js +46 -3
- package/module/codegen/cosmos/authz/v1beta1/query.js +298 -17
- package/module/codegen/cosmos/authz/v1beta1/query.lcd.js +0 -3
- package/module/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +4 -4
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +18 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.js +303 -14
- package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +69 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +4 -4
- package/module/codegen/cosmos/bank/v1beta1/authz.js +61 -3
- package/module/codegen/cosmos/bank/v1beta1/bank.js +400 -17
- package/module/codegen/cosmos/bank/v1beta1/genesis.js +121 -6
- package/module/codegen/cosmos/bank/v1beta1/query.js +943 -45
- package/module/codegen/cosmos/bank/v1beta1/query.lcd.js +0 -9
- package/module/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +10 -10
- package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -70
- package/module/codegen/cosmos/bank/v1beta1/tx.js +181 -9
- package/module/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +3 -3
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +636 -57
- package/module/codegen/cosmos/base/kv/v1beta1/kv.js +169 -0
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +153 -15
- package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +315 -0
- package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1197 -53
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +859 -0
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +296 -0
- package/module/codegen/cosmos/base/store/v1beta1/listening.js +132 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1347 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +60 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +74 -0
- package/module/codegen/cosmos/base/v1beta1/coin.js +207 -9
- package/module/codegen/cosmos/bundle.js +272 -103
- package/module/codegen/cosmos/capability/v1beta1/capability.js +270 -0
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +180 -0
- package/module/codegen/cosmos/client.js +21 -5
- package/module/codegen/cosmos/crisis/v1beta1/genesis.js +77 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.js +163 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/crypto/ed25519/keys.js +113 -5
- package/module/codegen/cosmos/crypto/hd/v1/hd.js +59 -3
- package/module/codegen/cosmos/crypto/keyring/v1/record.js +236 -11
- package/module/codegen/cosmos/crypto/multisig/keys.js +62 -3
- package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +120 -5
- package/module/codegen/cosmos/crypto/secp256k1/keys.js +104 -5
- package/module/codegen/cosmos/crypto/secp256r1/keys.js +86 -5
- package/module/codegen/cosmos/distribution/v1beta1/distribution.js +753 -52
- package/module/codegen/cosmos/distribution/v1beta1/genesis.js +475 -34
- package/module/codegen/cosmos/distribution/v1beta1/query.js +943 -49
- package/module/codegen/cosmos/distribution/v1beta1/query.lcd.js +0 -9
- package/module/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +10 -10
- package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -74
- package/module/codegen/cosmos/distribution/v1beta1/tx.js +390 -21
- package/module/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +5 -5
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +124 -0
- package/module/codegen/cosmos/evidence/v1beta1/genesis.js +81 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.js +339 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +30 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +38 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.js +176 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +435 -0
- package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +81 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.js +524 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.lcd.js +41 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +13 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.js +323 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +51 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +23 -0
- package/module/codegen/cosmos/genutil/v1beta1/genesis.js +81 -0
- package/module/codegen/cosmos/gov/v1/genesis.js +75 -7
- package/module/codegen/cosmos/gov/v1/gov.js +471 -56
- package/module/codegen/cosmos/gov/v1/query.js +756 -53
- package/module/codegen/cosmos/gov/v1/query.lcd.js +0 -8
- package/module/codegen/cosmos/gov/v1/query.rpc.Query.js +9 -9
- package/module/codegen/cosmos/gov/v1/tx.amino.js +11 -150
- package/module/codegen/cosmos/gov/v1/tx.js +490 -35
- package/module/codegen/cosmos/gov/v1/tx.rpc.msg.js +6 -6
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +78 -10
- package/module/codegen/cosmos/gov/v1beta1/gov.js +538 -67
- package/module/codegen/cosmos/gov/v1beta1/query.js +763 -60
- package/module/codegen/cosmos/gov/v1beta1/query.lcd.js +0 -8
- package/module/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +9 -9
- package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -114
- package/module/codegen/cosmos/gov/v1beta1/tx.js +407 -31
- package/module/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +5 -5
- package/module/codegen/cosmos/group/v1/events.js +705 -0
- package/module/codegen/cosmos/group/v1/genesis.js +173 -0
- package/module/codegen/cosmos/group/v1/query.js +2196 -0
- package/module/codegen/cosmos/group/v1/query.lcd.js +136 -0
- package/module/codegen/cosmos/group/v1/query.rpc.Query.js +135 -0
- package/module/codegen/cosmos/group/v1/tx.amino.js +73 -0
- package/module/codegen/cosmos/group/v1/tx.js +2445 -0
- package/module/codegen/cosmos/group/v1/tx.registry.js +267 -0
- package/module/codegen/cosmos/group/v1/tx.rpc.msg.js +95 -0
- package/module/codegen/cosmos/group/v1/types.js +1511 -0
- package/module/codegen/cosmos/lcd.js +48 -1
- package/module/codegen/cosmos/mint/v1beta1/genesis.js +89 -0
- package/module/codegen/cosmos/mint/v1beta1/mint.js +226 -0
- package/module/codegen/cosmos/mint/v1beta1/query.js +443 -0
- package/module/codegen/cosmos/mint/v1beta1/query.lcd.js +27 -0
- package/module/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/cosmos/msg/v1/msg.js +1 -0
- package/module/codegen/cosmos/nft/v1beta1/event.js +313 -0
- package/module/codegen/cosmos/nft/v1beta1/genesis.js +186 -0
- package/module/codegen/cosmos/nft/v1beta1/nft.js +274 -0
- package/module/codegen/cosmos/nft/v1beta1/query.js +1152 -0
- package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +73 -0
- package/module/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +83 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.js +175 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/orm/v1/orm.js +368 -0
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +245 -0
- package/module/codegen/cosmos/params/v1beta1/params.js +213 -0
- package/module/codegen/cosmos/params/v1beta1/query.js +424 -0
- package/module/codegen/cosmos/params/v1beta1/query.lcd.js +31 -0
- package/module/codegen/cosmos/params/v1beta1/query.rpc.Query.js +36 -0
- package/module/codegen/cosmos/rpc.query.js +32 -0
- package/module/codegen/cosmos/rpc.tx.js +21 -0
- package/module/codegen/cosmos/slashing/v1beta1/genesis.js +383 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.js +493 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +36 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +47 -0
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +273 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.js +139 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/staking/v1beta1/authz.js +111 -22
- package/module/codegen/cosmos/staking/v1beta1/genesis.js +131 -10
- package/module/codegen/cosmos/staking/v1beta1/query.js +1436 -68
- package/module/codegen/cosmos/staking/v1beta1/query.lcd.js +0 -14
- package/module/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +15 -15
- package/module/codegen/cosmos/staking/v1beta1/staking.js +1225 -95
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -199
- package/module/codegen/cosmos/staking/v1beta1/tx.js +511 -32
- package/module/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +6 -6
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +261 -40
- package/module/codegen/cosmos/tx/v1beta1/service.js +581 -52
- package/module/codegen/cosmos/tx/v1beta1/service.lcd.js +0 -3
- package/module/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +6 -6
- package/module/codegen/cosmos/tx/v1beta1/tx.js +818 -50
- package/module/codegen/cosmos/upgrade/v1beta1/query.js +514 -28
- package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +0 -5
- package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +6 -6
- package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -51
- package/module/codegen/cosmos/upgrade/v1beta1/tx.js +214 -10
- package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +3 -3
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +247 -18
- package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +18 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +570 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +69 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +29 -0
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +622 -0
- package/module/codegen/cosmos_proto/bundle.js +4 -4
- package/module/codegen/cosmos_proto/cosmos.js +121 -15
- package/module/codegen/cosmwasm/bundle.js +19 -19
- package/module/codegen/cosmwasm/client.js +3 -3
- package/module/codegen/cosmwasm/lcd.js +48 -1
- package/module/codegen/cosmwasm/rpc.query.js +32 -0
- package/module/codegen/cosmwasm/rpc.tx.js +21 -0
- package/module/codegen/cosmwasm/wasm/v1/authz.js +504 -30
- package/module/codegen/cosmwasm/wasm/v1/genesis.js +294 -21
- package/module/codegen/cosmwasm/wasm/v1/ibc.js +102 -12
- package/module/codegen/cosmwasm/wasm/v1/proposal.js +815 -42
- package/module/codegen/cosmwasm/wasm/v1/query.js +1203 -61
- package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +0 -11
- package/module/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +12 -12
- package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -219
- package/module/codegen/cosmwasm/wasm/v1/tx.js +728 -46
- package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +8 -8
- package/module/codegen/cosmwasm/wasm/v1/types.js +437 -59
- package/module/codegen/gaia/bundle.js +10 -10
- package/module/codegen/gaia/globalfee/v1beta1/genesis.js +77 -6
- package/module/codegen/gaia/globalfee/v1beta1/query.js +90 -5
- package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +0 -1
- package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +2 -2
- package/module/codegen/gaia/lcd.js +48 -1
- package/module/codegen/gaia/rpc.query.js +32 -0
- package/module/codegen/gogoproto/bundle.js +4 -4
- package/module/codegen/google/api/annotations.js +1 -0
- package/module/codegen/google/api/http.js +1171 -0
- package/module/codegen/google/bundle.js +11 -8
- package/module/codegen/google/protobuf/any.js +278 -3
- package/module/codegen/google/protobuf/descriptor.js +1534 -165
- package/module/codegen/google/protobuf/duration.js +154 -7
- package/module/codegen/google/protobuf/empty.js +63 -3
- package/module/codegen/google/protobuf/timestamp.js +199 -7
- package/module/codegen/helpers.js +19 -46
- package/module/codegen/ibc/applications/transfer/v1/genesis.js +55 -4
- package/module/codegen/ibc/applications/transfer/v1/query.js +292 -13
- package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +0 -3
- package/module/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +4 -4
- package/module/codegen/ibc/applications/transfer/v1/transfer.js +117 -5
- package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -52
- package/module/codegen/ibc/applications/transfer/v1/tx.js +116 -11
- package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +2 -2
- package/module/codegen/ibc/applications/transfer/v2/packet.js +67 -3
- package/module/codegen/ibc/bundle.js +69 -58
- package/module/codegen/ibc/client.js +3 -3
- package/module/codegen/ibc/core/channel/v1/channel.js +424 -55
- package/module/codegen/ibc/core/channel/v1/genesis.js +149 -12
- package/module/codegen/ibc/core/channel/v1/query.js +1565 -93
- package/module/codegen/ibc/core/channel/v1/query.lcd.js +0 -13
- package/module/codegen/ibc/core/channel/v1/query.rpc.Query.js +14 -14
- package/module/codegen/ibc/core/channel/v1/tx.amino.js +21 -490
- package/module/codegen/ibc/core/channel/v1/tx.js +1049 -62
- package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +11 -11
- package/module/codegen/ibc/core/client/v1/client.js +424 -24
- package/module/codegen/ibc/core/client/v1/genesis.js +186 -12
- package/module/codegen/ibc/core/client/v1/query.js +861 -42
- package/module/codegen/ibc/core/client/v1/query.lcd.js +0 -8
- package/module/codegen/ibc/core/client/v1/query.rpc.Query.js +9 -9
- package/module/codegen/ibc/core/client/v1/tx.amino.js +9 -136
- package/module/codegen/ibc/core/client/v1/tx.js +402 -17
- package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +5 -5
- package/module/codegen/ibc/core/commitment/v1/commitment.js +227 -9
- package/module/codegen/ibc/core/connection/v1/connection.js +409 -48
- package/module/codegen/ibc/core/connection/v1/genesis.js +62 -8
- package/module/codegen/ibc/core/connection/v1/query.js +579 -33
- package/module/codegen/ibc/core/connection/v1/query.lcd.js +0 -5
- package/module/codegen/ibc/core/connection/v1/query.rpc.Query.js +6 -6
- package/module/codegen/ibc/core/connection/v1/tx.amino.js +9 -252
- package/module/codegen/ibc/core/connection/v1/tx.js +495 -31
- package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +5 -5
- package/module/codegen/ibc/core/port/v1/query.js +214 -0
- package/module/codegen/ibc/core/port/v1/query.rpc.Query.js +27 -0
- package/module/codegen/ibc/core/types/v1/genesis.js +103 -0
- package/module/codegen/ibc/lcd.js +48 -1
- package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -4
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +930 -89
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +927 -86
- package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +365 -27
- package/module/codegen/ibc/rpc.query.js +35 -0
- package/module/codegen/ibc/rpc.tx.js +21 -0
- package/module/codegen/ics23/bundle.js +4 -4
- package/module/codegen/index.js +5 -2
- package/module/codegen/juno/bundle.js +75 -22
- package/module/codegen/juno/client.js +15 -5
- package/module/codegen/juno/clock/v1/genesis.js +155 -0
- package/module/codegen/juno/clock/v1/query.js +256 -0
- package/module/codegen/juno/clock/v1/query.lcd.js +21 -0
- package/module/codegen/juno/clock/v1/query.rpc.Query.js +36 -0
- package/module/codegen/juno/clock/v1/tx.amino.js +8 -0
- package/module/codegen/juno/clock/v1/tx.js +167 -0
- package/module/codegen/juno/clock/v1/tx.registry.js +33 -0
- package/module/codegen/juno/clock/v1/tx.rpc.msg.js +17 -0
- package/module/codegen/juno/cwhooks/v1/genesis.js +169 -0
- package/module/codegen/juno/cwhooks/v1/query.js +385 -0
- package/module/codegen/juno/cwhooks/v1/query.lcd.js +27 -0
- package/module/codegen/juno/cwhooks/v1/query.rpc.Query.js +45 -0
- package/module/codegen/juno/cwhooks/v1/tx.amino.js +28 -0
- package/module/codegen/juno/cwhooks/v1/tx.js +719 -0
- package/module/codegen/juno/cwhooks/v1/tx.registry.js +105 -0
- package/module/codegen/juno/cwhooks/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/juno/drip/v1/genesis.js +155 -0
- package/module/codegen/juno/drip/v1/query.js +127 -0
- package/module/codegen/juno/drip/v1/query.lcd.js +15 -0
- package/module/codegen/juno/drip/v1/query.rpc.Query.js +27 -0
- package/module/codegen/juno/drip/v1/tx.amino.js +13 -0
- package/module/codegen/juno/drip/v1/tx.js +294 -0
- package/module/codegen/juno/drip/v1/tx.registry.js +51 -0
- package/module/codegen/juno/drip/v1/tx.rpc.msg.js +23 -0
- package/module/codegen/juno/feepay/v1/feepay.js +207 -0
- package/module/codegen/juno/feepay/v1/genesis.js +157 -0
- package/module/codegen/juno/feepay/v1/query.js +725 -0
- package/module/codegen/juno/feepay/v1/query.lcd.js +48 -0
- package/module/codegen/juno/feepay/v1/query.rpc.Query.js +65 -0
- package/module/codegen/juno/feepay/v1/tx.amino.js +28 -0
- package/module/codegen/juno/feepay/v1/tx.js +748 -0
- package/module/codegen/juno/feepay/v1/tx.registry.js +105 -0
- package/module/codegen/juno/feepay/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/juno/feeshare/v1/feeshare.js +54 -3
- package/module/codegen/juno/feeshare/v1/genesis.js +95 -8
- package/module/codegen/juno/feeshare/v1/query.js +433 -23
- package/module/codegen/juno/feeshare/v1/query.lcd.js +0 -5
- package/module/codegen/juno/feeshare/v1/query.rpc.Query.js +6 -6
- package/module/codegen/juno/feeshare/v1/tx.amino.js +12 -62
- package/module/codegen/juno/feeshare/v1/tx.js +400 -13
- package/module/codegen/juno/feeshare/v1/tx.registry.js +20 -2
- package/module/codegen/juno/feeshare/v1/tx.rpc.msg.js +11 -5
- package/module/codegen/juno/lcd.js +68 -1
- package/module/codegen/juno/mint/genesis.js +43 -5
- package/module/codegen/juno/mint/mint.js +115 -21
- package/module/codegen/juno/mint/query.js +378 -14
- package/module/codegen/juno/mint/query.lcd.js +6 -3
- package/module/codegen/juno/mint/query.rpc.Query.js +14 -5
- package/module/codegen/juno/mint/tx.amino.js +8 -0
- package/module/codegen/juno/mint/tx.js +167 -0
- package/module/codegen/juno/mint/tx.registry.js +33 -0
- package/module/codegen/juno/mint/tx.rpc.msg.js +17 -0
- package/module/codegen/juno/rpc.query.js +44 -0
- package/module/codegen/juno/rpc.tx.js +35 -1
- package/module/codegen/osmosis/bundle.js +17 -17
- package/module/codegen/osmosis/client.js +3 -3
- package/module/codegen/osmosis/lcd.js +48 -1
- package/module/codegen/osmosis/rpc.query.js +32 -0
- package/module/codegen/osmosis/rpc.tx.js +21 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -3
- package/module/codegen/osmosis/tokenfactory/v1beta1/genesis.js +110 -7
- package/module/codegen/osmosis/tokenfactory/v1beta1/params.js +59 -4
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.js +290 -15
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +0 -3
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +4 -4
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -173
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +780 -30
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +20 -2
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +14 -8
- package/module/codegen/router/bundle.js +10 -10
- package/module/codegen/router/lcd.js +48 -1
- package/module/codegen/router/rpc.query.js +32 -0
- package/module/codegen/router/v1/genesis.js +217 -22
- package/module/codegen/router/v1/query.js +69 -5
- package/module/codegen/router/v1/query.lcd.js +0 -1
- package/module/codegen/router/v1/query.rpc.Query.js +2 -2
- package/module/codegen/tendermint/abci/types.js +1996 -220
- package/module/codegen/tendermint/bundle.js +19 -19
- package/module/codegen/tendermint/crypto/keys.js +42 -3
- package/module/codegen/tendermint/crypto/proof.js +221 -18
- package/module/codegen/tendermint/libs/bits/types.js +42 -8
- package/module/codegen/tendermint/p2p/types.js +226 -23
- package/module/codegen/tendermint/types/block.js +46 -6
- package/module/codegen/tendermint/types/evidence.js +191 -24
- package/module/codegen/tendermint/types/params.js +306 -43
- package/module/codegen/tendermint/types/types.js +666 -85
- package/module/codegen/tendermint/types/validator.js +132 -21
- package/module/codegen/tendermint/version/types.js +108 -15
- package/module/codegen/utf8.js +121 -0
- package/module/codegen/varint.js +420 -0
- package/package.json +8 -9
- package/src/codegen/amino/amino.ts +1 -0
- package/src/codegen/amino/bundle.ts +4 -0
- package/src/codegen/binary.ts +534 -0
- package/src/codegen/confio/proofs.ts +828 -387
- package/src/codegen/cosmos/app/v1alpha1/config.ts +255 -0
- package/src/codegen/cosmos/app/v1alpha1/module.ts +454 -0
- package/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts +30 -0
- package/src/codegen/cosmos/app/v1alpha1/query.ts +163 -0
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +418 -0
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +113 -0
- package/src/codegen/cosmos/auth/v1beta1/query.lcd.ts +65 -0
- package/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts +102 -0
- package/src/codegen/cosmos/auth/v1beta1/query.ts +1249 -0
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +238 -81
- package/src/codegen/cosmos/authz/v1beta1/event.ts +127 -56
- package/src/codegen/cosmos/authz/v1beta1/genesis.ts +54 -19
- package/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +1 -18
- package/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts +4 -15
- package/src/codegen/cosmos/authz/v1beta1/query.ts +359 -140
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +18 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +70 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +4 -12
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +336 -113
- package/src/codegen/cosmos/bank/v1beta1/authz.ts +59 -19
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +454 -172
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +142 -60
- package/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +1 -35
- package/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts +10 -39
- package/src/codegen/cosmos/bank/v1beta1/query.ts +1075 -385
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +4 -101
- package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +0 -6
- package/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +3 -9
- package/src/codegen/cosmos/bank/v1beta1/tx.ts +212 -70
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +767 -356
- package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +197 -0
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +166 -77
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +364 -0
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +1406 -501
- package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +1023 -0
- package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +343 -0
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +158 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +63 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +87 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1606 -0
- package/src/codegen/cosmos/base/v1beta1/coin.ts +221 -70
- package/src/codegen/cosmos/bundle.ts +439 -157
- package/src/codegen/cosmos/capability/v1beta1/capability.ts +312 -0
- package/src/codegen/cosmos/capability/v1beta1/genesis.ts +226 -0
- package/src/codegen/cosmos/client.ts +31 -5
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +99 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +20 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.ts +190 -0
- package/src/codegen/cosmos/crypto/ed25519/keys.ts +111 -34
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +76 -39
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +280 -108
- package/src/codegen/cosmos/crypto/multisig/keys.ts +63 -21
- package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +118 -36
- package/src/codegen/cosmos/crypto/secp256k1/keys.ts +108 -34
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +104 -36
- package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +778 -261
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +591 -274
- package/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +1 -25
- package/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts +10 -39
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +1022 -353
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +8 -105
- package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +0 -12
- package/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +5 -15
- package/src/codegen/cosmos/distribution/v1beta1/tx.ts +423 -133
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +146 -0
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +95 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts +33 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts +43 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +405 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +23 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +207 -0
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +560 -0
- package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +93 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +44 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts +55 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +634 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +13 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +52 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +34 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +384 -0
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +95 -0
- package/src/codegen/cosmos/gov/v1/genesis.ts +100 -55
- package/src/codegen/cosmos/gov/v1/gov.ts +560 -306
- package/src/codegen/cosmos/gov/v1/query.lcd.ts +1 -28
- package/src/codegen/cosmos/gov/v1/query.rpc.Query.ts +9 -35
- package/src/codegen/cosmos/gov/v1/query.ts +929 -365
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +10 -208
- package/src/codegen/cosmos/gov/v1/tx.registry.ts +0 -15
- package/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +6 -18
- package/src/codegen/cosmos/gov/v1/tx.ts +582 -213
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +107 -62
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +641 -348
- package/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +1 -28
- package/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts +9 -35
- package/src/codegen/cosmos/gov/v1beta1/query.ts +948 -384
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +8 -159
- package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +0 -12
- package/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +5 -15
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +468 -168
- package/src/codegen/cosmos/group/v1/events.ts +855 -0
- package/src/codegen/cosmos/group/v1/genesis.ts +240 -0
- package/src/codegen/cosmos/group/v1/query.lcd.ts +139 -0
- package/src/codegen/cosmos/group/v1/query.rpc.Query.ts +162 -0
- package/src/codegen/cosmos/group/v1/query.ts +2674 -0
- package/src/codegen/cosmos/group/v1/tx.amino.ts +73 -0
- package/src/codegen/cosmos/group/v1/tx.registry.ts +268 -0
- package/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +124 -0
- package/src/codegen/cosmos/group/v1/tx.ts +2998 -0
- package/src/codegen/cosmos/group/v1/types.ts +1964 -0
- package/src/codegen/cosmos/lcd.ts +48 -1
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +110 -0
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +286 -0
- package/src/codegen/cosmos/mint/v1beta1/query.lcd.ts +30 -0
- package/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts +52 -0
- package/src/codegen/cosmos/mint/v1beta1/query.ts +513 -0
- package/src/codegen/cosmos/msg/v1/msg.ts +1 -0
- package/src/codegen/cosmos/nft/v1beta1/event.ts +373 -0
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +222 -0
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +354 -0
- package/src/codegen/cosmos/nft/v1beta1/query.lcd.ts +76 -0
- package/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts +101 -0
- package/src/codegen/cosmos/nft/v1beta1/query.ts +1360 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +20 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +213 -0
- package/src/codegen/cosmos/orm/v1/orm.ts +566 -0
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +348 -0
- package/src/codegen/cosmos/params/v1beta1/params.ts +250 -0
- package/src/codegen/cosmos/params/v1beta1/query.lcd.ts +34 -0
- package/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts +44 -0
- package/src/codegen/cosmos/params/v1beta1/query.ts +495 -0
- package/src/codegen/cosmos/rpc.query.ts +32 -0
- package/src/codegen/cosmos/rpc.tx.ts +21 -0
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +478 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts +39 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts +54 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +577 -0
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +356 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +24 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.ts +160 -0
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +130 -84
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +170 -82
- package/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +1 -48
- package/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts +15 -59
- package/src/codegen/cosmos/staking/v1beta1/query.ts +1616 -586
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +1395 -616
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +10 -276
- package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +0 -15
- package/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +6 -18
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +609 -224
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +306 -181
- package/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +1 -15
- package/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts +6 -23
- package/src/codegen/cosmos/tx/v1beta1/service.ts +635 -293
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +930 -405
- package/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +1 -15
- package/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts +6 -23
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +550 -182
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +4 -77
- package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +0 -6
- package/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +3 -9
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +217 -73
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +284 -124
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +18 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +70 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +45 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +657 -0
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +724 -0
- package/src/codegen/cosmos_proto/bundle.ts +3 -2
- package/src/codegen/cosmos_proto/cosmos.ts +125 -67
- package/src/codegen/cosmwasm/bundle.ts +32 -30
- package/src/codegen/cosmwasm/client.ts +5 -3
- package/src/codegen/cosmwasm/lcd.ts +48 -1
- package/src/codegen/cosmwasm/rpc.query.ts +32 -0
- package/src/codegen/cosmwasm/rpc.tx.ts +21 -0
- package/src/codegen/cosmwasm/wasm/v1/authz.ts +528 -180
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +356 -134
- package/src/codegen/cosmwasm/wasm/v1/ibc.ts +131 -60
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +987 -497
- package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +1 -37
- package/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts +12 -47
- package/src/codegen/cosmwasm/wasm/v1/query.ts +1352 -486
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +14 -298
- package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +0 -21
- package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +8 -24
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +893 -386
- package/src/codegen/cosmwasm/wasm/v1/types.ts +541 -300
- package/src/codegen/gaia/bundle.ts +14 -12
- package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +97 -40
- package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +1 -5
- package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +2 -7
- package/src/codegen/gaia/globalfee/v1beta1/query.ts +92 -33
- package/src/codegen/gaia/lcd.ts +48 -1
- package/src/codegen/gaia/rpc.query.ts +32 -0
- package/src/codegen/gogoproto/bundle.ts +3 -2
- package/src/codegen/google/api/annotations.ts +1 -0
- package/src/codegen/google/api/http.ts +1351 -0
- package/src/codegen/google/bundle.ts +17 -10
- package/src/codegen/google/protobuf/any.ts +131 -24
- package/src/codegen/google/protobuf/descriptor.ts +1890 -1033
- package/src/codegen/google/protobuf/duration.ts +106 -41
- package/src/codegen/google/protobuf/empty.ts +49 -16
- package/src/codegen/google/protobuf/timestamp.ts +127 -39
- package/src/codegen/helpers.ts +174 -166
- package/src/codegen/ibc/applications/transfer/v1/genesis.ts +67 -26
- package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +1 -11
- package/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts +4 -15
- package/src/codegen/ibc/applications/transfer/v1/query.ts +322 -108
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +123 -46
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +2 -67
- package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +0 -3
- package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +2 -6
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +148 -75
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +74 -34
- package/src/codegen/ibc/bundle.ts +115 -90
- package/src/codegen/ibc/client.ts +5 -3
- package/src/codegen/ibc/core/channel/v1/channel.ts +489 -301
- package/src/codegen/ibc/core/channel/v1/genesis.ts +177 -68
- package/src/codegen/ibc/core/channel/v1/query.lcd.ts +1 -38
- package/src/codegen/ibc/core/channel/v1/query.rpc.Query.ts +14 -55
- package/src/codegen/ibc/core/channel/v1/query.ts +1799 -794
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +20 -637
- package/src/codegen/ibc/core/channel/v1/tx.registry.ts +0 -30
- package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +11 -33
- package/src/codegen/ibc/core/channel/v1/tx.ts +1224 -442
- package/src/codegen/ibc/core/client/v1/client.ts +463 -184
- package/src/codegen/ibc/core/client/v1/genesis.ts +218 -91
- package/src/codegen/ibc/core/client/v1/query.lcd.ts +1 -25
- package/src/codegen/ibc/core/client/v1/query.rpc.Query.ts +9 -35
- package/src/codegen/ibc/core/client/v1/query.ts +929 -333
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +8 -190
- package/src/codegen/ibc/core/client/v1/tx.registry.ts +0 -12
- package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +5 -15
- package/src/codegen/ibc/core/client/v1/tx.ts +461 -182
- package/src/codegen/ibc/core/commitment/v1/commitment.ts +224 -67
- package/src/codegen/ibc/core/connection/v1/connection.ts +485 -246
- package/src/codegen/ibc/core/connection/v1/genesis.ts +81 -37
- package/src/codegen/ibc/core/connection/v1/query.lcd.ts +1 -15
- package/src/codegen/ibc/core/connection/v1/query.rpc.Query.ts +6 -23
- package/src/codegen/ibc/core/connection/v1/query.ts +653 -261
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +8 -328
- package/src/codegen/ibc/core/connection/v1/tx.registry.ts +0 -12
- package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +5 -15
- package/src/codegen/ibc/core/connection/v1/tx.ts +583 -242
- package/src/codegen/ibc/core/port/v1/query.rpc.Query.ts +30 -0
- package/src/codegen/ibc/core/port/v1/query.ts +269 -0
- package/src/codegen/ibc/core/types/v1/genesis.ts +135 -0
- package/src/codegen/ibc/lcd.ts +48 -1
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +65 -28
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1061 -473
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1056 -468
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +419 -189
- package/src/codegen/ibc/rpc.query.ts +35 -0
- package/src/codegen/ibc/rpc.tx.ts +21 -0
- package/src/codegen/ics23/bundle.ts +3 -2
- package/src/codegen/index.ts +5 -2
- package/src/codegen/juno/bundle.ts +127 -34
- package/src/codegen/juno/client.ts +21 -4
- package/src/codegen/juno/clock/v1/genesis.ts +188 -0
- package/src/codegen/juno/clock/v1/query.lcd.ts +24 -0
- package/src/codegen/juno/clock/v1/query.rpc.Query.ts +41 -0
- package/src/codegen/juno/clock/v1/query.ts +298 -0
- package/src/codegen/juno/clock/v1/tx.amino.ts +8 -0
- package/src/codegen/juno/clock/v1/tx.registry.ts +34 -0
- package/src/codegen/juno/clock/v1/tx.rpc.msg.ts +25 -0
- package/src/codegen/juno/clock/v1/tx.ts +203 -0
- package/src/codegen/juno/cwhooks/v1/genesis.ts +209 -0
- package/src/codegen/juno/cwhooks/v1/query.lcd.ts +30 -0
- package/src/codegen/juno/cwhooks/v1/query.rpc.Query.ts +52 -0
- package/src/codegen/juno/cwhooks/v1/query.ts +447 -0
- package/src/codegen/juno/cwhooks/v1/tx.amino.ts +28 -0
- package/src/codegen/juno/cwhooks/v1/tx.registry.ts +106 -0
- package/src/codegen/juno/cwhooks/v1/tx.rpc.msg.ts +57 -0
- package/src/codegen/juno/cwhooks/v1/tx.ts +851 -0
- package/src/codegen/juno/drip/v1/genesis.ts +190 -0
- package/src/codegen/juno/drip/v1/query.lcd.ts +18 -0
- package/src/codegen/juno/drip/v1/query.rpc.Query.ts +30 -0
- package/src/codegen/juno/drip/v1/query.ts +151 -0
- package/src/codegen/juno/drip/v1/tx.amino.ts +13 -0
- package/src/codegen/juno/drip/v1/tx.registry.ts +52 -0
- package/src/codegen/juno/drip/v1/tx.rpc.msg.ts +27 -0
- package/src/codegen/juno/drip/v1/tx.ts +360 -0
- package/src/codegen/juno/feepay/v1/feepay.ts +257 -0
- package/src/codegen/juno/feepay/v1/genesis.ts +191 -0
- package/src/codegen/juno/feepay/v1/query.lcd.ts +51 -0
- package/src/codegen/juno/feepay/v1/query.rpc.Query.ts +76 -0
- package/src/codegen/juno/feepay/v1/query.ts +886 -0
- package/src/codegen/juno/feepay/v1/tx.amino.ts +28 -0
- package/src/codegen/juno/feepay/v1/tx.registry.ts +106 -0
- package/src/codegen/juno/feepay/v1/tx.rpc.msg.ts +52 -0
- package/src/codegen/juno/feepay/v1/tx.ts +905 -0
- package/src/codegen/juno/feeshare/v1/feeshare.ts +61 -29
- package/src/codegen/juno/feeshare/v1/genesis.ts +119 -56
- package/src/codegen/juno/feeshare/v1/query.lcd.ts +1 -19
- package/src/codegen/juno/feeshare/v1/query.rpc.Query.ts +6 -23
- package/src/codegen/juno/feeshare/v1/query.ts +504 -203
- package/src/codegen/juno/feeshare/v1/tx.amino.ts +12 -87
- package/src/codegen/juno/feeshare/v1/tx.registry.ts +20 -11
- package/src/codegen/juno/feeshare/v1/tx.rpc.msg.ts +13 -13
- package/src/codegen/juno/feeshare/v1/tx.ts +485 -120
- package/src/codegen/juno/lcd.ts +68 -1
- package/src/codegen/juno/mint/genesis.ts +58 -30
- package/src/codegen/juno/mint/mint.ts +152 -73
- package/src/codegen/juno/mint/query.lcd.ts +8 -10
- package/src/codegen/juno/mint/query.rpc.Query.ts +16 -16
- package/src/codegen/juno/mint/query.ts +431 -99
- package/src/codegen/juno/mint/tx.amino.ts +8 -0
- package/src/codegen/juno/mint/tx.registry.ts +34 -0
- package/src/codegen/juno/mint/tx.rpc.msg.ts +25 -0
- package/src/codegen/juno/mint/tx.ts +203 -0
- package/src/codegen/juno/rpc.query.ts +44 -0
- package/src/codegen/juno/rpc.tx.ts +35 -1
- package/src/codegen/osmosis/bundle.ts +28 -26
- package/src/codegen/osmosis/client.ts +5 -3
- package/src/codegen/osmosis/lcd.ts +48 -1
- package/src/codegen/osmosis/rpc.query.ts +32 -0
- package/src/codegen/osmosis/rpc.tx.ts +21 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +56 -19
- package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +126 -47
- package/src/codegen/osmosis/tokenfactory/v1beta1/params.ts +80 -20
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +1 -9
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.ts +4 -15
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +318 -105
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +18 -244
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +20 -20
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +21 -17
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +881 -215
- package/src/codegen/router/bundle.ts +14 -12
- package/src/codegen/router/lcd.ts +48 -1
- package/src/codegen/router/rpc.query.ts +32 -0
- package/src/codegen/router/v1/genesis.ts +276 -119
- package/src/codegen/router/v1/query.lcd.ts +1 -5
- package/src/codegen/router/v1/query.rpc.Query.ts +2 -7
- package/src/codegen/router/v1/query.ts +85 -34
- package/src/codegen/tendermint/abci/types.ts +2651 -1184
- package/src/codegen/tendermint/bundle.ts +28 -22
- package/src/codegen/tendermint/crypto/keys.ts +51 -20
- package/src/codegen/tendermint/crypto/proof.ts +281 -108
- package/src/codegen/tendermint/libs/bits/types.ts +62 -32
- package/src/codegen/tendermint/p2p/types.ts +318 -126
- package/src/codegen/tendermint/types/block.ts +70 -33
- package/src/codegen/tendermint/types/evidence.ts +257 -112
- package/src/codegen/tendermint/types/params.ts +383 -188
- package/src/codegen/tendermint/types/types.ts +886 -437
- package/src/codegen/tendermint/types/validator.ts +191 -84
- package/src/codegen/tendermint/version/types.ts +125 -56
- package/src/codegen/utf8.ts +148 -0
- package/src/codegen/varint.ts +488 -0
- package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +1 -1
- package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +1 -1
- package/types/codegen/gaia/globalfee/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/helpers.d.ts +1 -1
- package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +1 -1
- package/types/codegen/index.d.ts +1 -1
- package/types/codegen/juno/feeshare/v1/query.lcd.d.ts +1 -1
- package/types/codegen/juno/mint/query.lcd.d.ts +1 -1
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/router/v1/query.lcd.d.ts +1 -1
|
@@ -1,24 +1,37 @@
|
|
|
1
|
-
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination";
|
|
2
|
-
import { Any, AnySDKType } from "../../../../google/protobuf/any";
|
|
3
|
-
import { Height, HeightSDKType, IdentifiedClientState, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightSDKType, Params, ParamsSDKType } from "./client";
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
1
|
+
import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../../cosmos/base/query/v1beta1/pagination";
|
|
2
|
+
import { Any, AnyAmino, AnySDKType } from "../../../../google/protobuf/any";
|
|
3
|
+
import { Height, HeightAmino, HeightSDKType, IdentifiedClientState, IdentifiedClientStateAmino, IdentifiedClientStateSDKType, ConsensusStateWithHeight, ConsensusStateWithHeightAmino, ConsensusStateWithHeightSDKType, Params, ParamsAmino, ParamsSDKType } from "./client";
|
|
4
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
5
|
+
import { bytesFromBase64, base64FromBytes } from "../../../../helpers";
|
|
6
6
|
/**
|
|
7
7
|
* QueryClientStateRequest is the request type for the Query/ClientState RPC
|
|
8
8
|
* method
|
|
9
9
|
*/
|
|
10
|
-
|
|
11
10
|
export interface QueryClientStateRequest {
|
|
12
11
|
/** client state unique identifier */
|
|
13
12
|
clientId: string;
|
|
14
13
|
}
|
|
14
|
+
export interface QueryClientStateRequestProtoMsg {
|
|
15
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStateRequest";
|
|
16
|
+
value: Uint8Array;
|
|
17
|
+
}
|
|
15
18
|
/**
|
|
16
19
|
* QueryClientStateRequest is the request type for the Query/ClientState RPC
|
|
17
20
|
* method
|
|
18
21
|
*/
|
|
19
|
-
|
|
20
|
-
export interface QueryClientStateRequestSDKType {
|
|
22
|
+
export interface QueryClientStateRequestAmino {
|
|
21
23
|
/** client state unique identifier */
|
|
24
|
+
client_id?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface QueryClientStateRequestAminoMsg {
|
|
27
|
+
type: "cosmos-sdk/QueryClientStateRequest";
|
|
28
|
+
value: QueryClientStateRequestAmino;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* QueryClientStateRequest is the request type for the Query/ClientState RPC
|
|
32
|
+
* method
|
|
33
|
+
*/
|
|
34
|
+
export interface QueryClientStateRequestSDKType {
|
|
22
35
|
client_id: string;
|
|
23
36
|
}
|
|
24
37
|
/**
|
|
@@ -26,73 +39,110 @@ export interface QueryClientStateRequestSDKType {
|
|
|
26
39
|
* method. Besides the client state, it includes a proof and the height from
|
|
27
40
|
* which the proof was retrieved.
|
|
28
41
|
*/
|
|
29
|
-
|
|
30
42
|
export interface QueryClientStateResponse {
|
|
31
43
|
/** client state associated with the request identifier */
|
|
32
44
|
clientState?: Any;
|
|
33
45
|
/** merkle proof of existence */
|
|
34
|
-
|
|
35
46
|
proof: Uint8Array;
|
|
36
47
|
/** height at which the proof was retrieved */
|
|
37
|
-
|
|
38
|
-
|
|
48
|
+
proofHeight: Height;
|
|
49
|
+
}
|
|
50
|
+
export interface QueryClientStateResponseProtoMsg {
|
|
51
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStateResponse";
|
|
52
|
+
value: Uint8Array;
|
|
39
53
|
}
|
|
40
54
|
/**
|
|
41
55
|
* QueryClientStateResponse is the response type for the Query/ClientState RPC
|
|
42
56
|
* method. Besides the client state, it includes a proof and the height from
|
|
43
57
|
* which the proof was retrieved.
|
|
44
58
|
*/
|
|
45
|
-
|
|
46
|
-
export interface QueryClientStateResponseSDKType {
|
|
59
|
+
export interface QueryClientStateResponseAmino {
|
|
47
60
|
/** client state associated with the request identifier */
|
|
48
|
-
client_state?:
|
|
61
|
+
client_state?: AnyAmino;
|
|
49
62
|
/** merkle proof of existence */
|
|
50
|
-
|
|
51
|
-
proof: Uint8Array;
|
|
63
|
+
proof?: string;
|
|
52
64
|
/** height at which the proof was retrieved */
|
|
53
|
-
|
|
54
|
-
|
|
65
|
+
proof_height?: HeightAmino;
|
|
66
|
+
}
|
|
67
|
+
export interface QueryClientStateResponseAminoMsg {
|
|
68
|
+
type: "cosmos-sdk/QueryClientStateResponse";
|
|
69
|
+
value: QueryClientStateResponseAmino;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* QueryClientStateResponse is the response type for the Query/ClientState RPC
|
|
73
|
+
* method. Besides the client state, it includes a proof and the height from
|
|
74
|
+
* which the proof was retrieved.
|
|
75
|
+
*/
|
|
76
|
+
export interface QueryClientStateResponseSDKType {
|
|
77
|
+
client_state?: AnySDKType;
|
|
78
|
+
proof: Uint8Array;
|
|
79
|
+
proof_height: HeightSDKType;
|
|
55
80
|
}
|
|
56
81
|
/**
|
|
57
82
|
* QueryClientStatesRequest is the request type for the Query/ClientStates RPC
|
|
58
83
|
* method
|
|
59
84
|
*/
|
|
60
|
-
|
|
61
85
|
export interface QueryClientStatesRequest {
|
|
62
86
|
/** pagination request */
|
|
63
87
|
pagination?: PageRequest;
|
|
64
88
|
}
|
|
89
|
+
export interface QueryClientStatesRequestProtoMsg {
|
|
90
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatesRequest";
|
|
91
|
+
value: Uint8Array;
|
|
92
|
+
}
|
|
65
93
|
/**
|
|
66
94
|
* QueryClientStatesRequest is the request type for the Query/ClientStates RPC
|
|
67
95
|
* method
|
|
68
96
|
*/
|
|
69
|
-
|
|
70
|
-
export interface QueryClientStatesRequestSDKType {
|
|
97
|
+
export interface QueryClientStatesRequestAmino {
|
|
71
98
|
/** pagination request */
|
|
99
|
+
pagination?: PageRequestAmino;
|
|
100
|
+
}
|
|
101
|
+
export interface QueryClientStatesRequestAminoMsg {
|
|
102
|
+
type: "cosmos-sdk/QueryClientStatesRequest";
|
|
103
|
+
value: QueryClientStatesRequestAmino;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* QueryClientStatesRequest is the request type for the Query/ClientStates RPC
|
|
107
|
+
* method
|
|
108
|
+
*/
|
|
109
|
+
export interface QueryClientStatesRequestSDKType {
|
|
72
110
|
pagination?: PageRequestSDKType;
|
|
73
111
|
}
|
|
74
112
|
/**
|
|
75
113
|
* QueryClientStatesResponse is the response type for the Query/ClientStates RPC
|
|
76
114
|
* method.
|
|
77
115
|
*/
|
|
78
|
-
|
|
79
116
|
export interface QueryClientStatesResponse {
|
|
80
117
|
/** list of stored ClientStates of the chain. */
|
|
81
118
|
clientStates: IdentifiedClientState[];
|
|
82
119
|
/** pagination response */
|
|
83
|
-
|
|
84
120
|
pagination?: PageResponse;
|
|
85
121
|
}
|
|
122
|
+
export interface QueryClientStatesResponseProtoMsg {
|
|
123
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatesResponse";
|
|
124
|
+
value: Uint8Array;
|
|
125
|
+
}
|
|
86
126
|
/**
|
|
87
127
|
* QueryClientStatesResponse is the response type for the Query/ClientStates RPC
|
|
88
128
|
* method.
|
|
89
129
|
*/
|
|
90
|
-
|
|
91
|
-
export interface QueryClientStatesResponseSDKType {
|
|
130
|
+
export interface QueryClientStatesResponseAmino {
|
|
92
131
|
/** list of stored ClientStates of the chain. */
|
|
93
|
-
client_states
|
|
132
|
+
client_states?: IdentifiedClientStateAmino[];
|
|
94
133
|
/** pagination response */
|
|
95
|
-
|
|
134
|
+
pagination?: PageResponseAmino;
|
|
135
|
+
}
|
|
136
|
+
export interface QueryClientStatesResponseAminoMsg {
|
|
137
|
+
type: "cosmos-sdk/QueryClientStatesResponse";
|
|
138
|
+
value: QueryClientStatesResponseAmino;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* QueryClientStatesResponse is the response type for the Query/ClientStates RPC
|
|
142
|
+
* method.
|
|
143
|
+
*/
|
|
144
|
+
export interface QueryClientStatesResponseSDKType {
|
|
145
|
+
client_states: IdentifiedClientStateSDKType[];
|
|
96
146
|
pagination?: PageResponseSDKType;
|
|
97
147
|
}
|
|
98
148
|
/**
|
|
@@ -100,154 +150,226 @@ export interface QueryClientStatesResponseSDKType {
|
|
|
100
150
|
* RPC method. Besides the consensus state, it includes a proof and the height
|
|
101
151
|
* from which the proof was retrieved.
|
|
102
152
|
*/
|
|
103
|
-
|
|
104
153
|
export interface QueryConsensusStateRequest {
|
|
105
154
|
/** client identifier */
|
|
106
155
|
clientId: string;
|
|
107
156
|
/** consensus state revision number */
|
|
108
|
-
|
|
109
|
-
revisionNumber: Long;
|
|
157
|
+
revisionNumber: bigint;
|
|
110
158
|
/** consensus state revision height */
|
|
111
|
-
|
|
112
|
-
revisionHeight: Long;
|
|
159
|
+
revisionHeight: bigint;
|
|
113
160
|
/**
|
|
114
161
|
* latest_height overrrides the height field and queries the latest stored
|
|
115
162
|
* ConsensusState
|
|
116
163
|
*/
|
|
117
|
-
|
|
118
164
|
latestHeight: boolean;
|
|
119
165
|
}
|
|
166
|
+
export interface QueryConsensusStateRequestProtoMsg {
|
|
167
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateRequest";
|
|
168
|
+
value: Uint8Array;
|
|
169
|
+
}
|
|
120
170
|
/**
|
|
121
171
|
* QueryConsensusStateRequest is the request type for the Query/ConsensusState
|
|
122
172
|
* RPC method. Besides the consensus state, it includes a proof and the height
|
|
123
173
|
* from which the proof was retrieved.
|
|
124
174
|
*/
|
|
125
|
-
|
|
126
|
-
export interface QueryConsensusStateRequestSDKType {
|
|
175
|
+
export interface QueryConsensusStateRequestAmino {
|
|
127
176
|
/** client identifier */
|
|
128
|
-
client_id
|
|
177
|
+
client_id?: string;
|
|
129
178
|
/** consensus state revision number */
|
|
130
|
-
|
|
131
|
-
revision_number: Long;
|
|
179
|
+
revision_number?: string;
|
|
132
180
|
/** consensus state revision height */
|
|
133
|
-
|
|
134
|
-
revision_height: Long;
|
|
181
|
+
revision_height?: string;
|
|
135
182
|
/**
|
|
136
183
|
* latest_height overrrides the height field and queries the latest stored
|
|
137
184
|
* ConsensusState
|
|
138
185
|
*/
|
|
139
|
-
|
|
186
|
+
latest_height?: boolean;
|
|
187
|
+
}
|
|
188
|
+
export interface QueryConsensusStateRequestAminoMsg {
|
|
189
|
+
type: "cosmos-sdk/QueryConsensusStateRequest";
|
|
190
|
+
value: QueryConsensusStateRequestAmino;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* QueryConsensusStateRequest is the request type for the Query/ConsensusState
|
|
194
|
+
* RPC method. Besides the consensus state, it includes a proof and the height
|
|
195
|
+
* from which the proof was retrieved.
|
|
196
|
+
*/
|
|
197
|
+
export interface QueryConsensusStateRequestSDKType {
|
|
198
|
+
client_id: string;
|
|
199
|
+
revision_number: bigint;
|
|
200
|
+
revision_height: bigint;
|
|
140
201
|
latest_height: boolean;
|
|
141
202
|
}
|
|
142
203
|
/**
|
|
143
204
|
* QueryConsensusStateResponse is the response type for the Query/ConsensusState
|
|
144
205
|
* RPC method
|
|
145
206
|
*/
|
|
146
|
-
|
|
147
207
|
export interface QueryConsensusStateResponse {
|
|
148
208
|
/** consensus state associated with the client identifier at the given height */
|
|
149
209
|
consensusState?: Any;
|
|
150
210
|
/** merkle proof of existence */
|
|
151
|
-
|
|
152
211
|
proof: Uint8Array;
|
|
153
212
|
/** height at which the proof was retrieved */
|
|
154
|
-
|
|
155
|
-
|
|
213
|
+
proofHeight: Height;
|
|
214
|
+
}
|
|
215
|
+
export interface QueryConsensusStateResponseProtoMsg {
|
|
216
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateResponse";
|
|
217
|
+
value: Uint8Array;
|
|
156
218
|
}
|
|
157
219
|
/**
|
|
158
220
|
* QueryConsensusStateResponse is the response type for the Query/ConsensusState
|
|
159
221
|
* RPC method
|
|
160
222
|
*/
|
|
161
|
-
|
|
162
|
-
export interface QueryConsensusStateResponseSDKType {
|
|
223
|
+
export interface QueryConsensusStateResponseAmino {
|
|
163
224
|
/** consensus state associated with the client identifier at the given height */
|
|
164
|
-
consensus_state?:
|
|
225
|
+
consensus_state?: AnyAmino;
|
|
165
226
|
/** merkle proof of existence */
|
|
166
|
-
|
|
167
|
-
proof: Uint8Array;
|
|
227
|
+
proof?: string;
|
|
168
228
|
/** height at which the proof was retrieved */
|
|
169
|
-
|
|
170
|
-
|
|
229
|
+
proof_height?: HeightAmino;
|
|
230
|
+
}
|
|
231
|
+
export interface QueryConsensusStateResponseAminoMsg {
|
|
232
|
+
type: "cosmos-sdk/QueryConsensusStateResponse";
|
|
233
|
+
value: QueryConsensusStateResponseAmino;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* QueryConsensusStateResponse is the response type for the Query/ConsensusState
|
|
237
|
+
* RPC method
|
|
238
|
+
*/
|
|
239
|
+
export interface QueryConsensusStateResponseSDKType {
|
|
240
|
+
consensus_state?: AnySDKType;
|
|
241
|
+
proof: Uint8Array;
|
|
242
|
+
proof_height: HeightSDKType;
|
|
171
243
|
}
|
|
172
244
|
/**
|
|
173
245
|
* QueryConsensusStatesRequest is the request type for the Query/ConsensusStates
|
|
174
246
|
* RPC method.
|
|
175
247
|
*/
|
|
176
|
-
|
|
177
248
|
export interface QueryConsensusStatesRequest {
|
|
178
249
|
/** client identifier */
|
|
179
250
|
clientId: string;
|
|
180
251
|
/** pagination request */
|
|
181
|
-
|
|
182
252
|
pagination?: PageRequest;
|
|
183
253
|
}
|
|
254
|
+
export interface QueryConsensusStatesRequestProtoMsg {
|
|
255
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStatesRequest";
|
|
256
|
+
value: Uint8Array;
|
|
257
|
+
}
|
|
184
258
|
/**
|
|
185
259
|
* QueryConsensusStatesRequest is the request type for the Query/ConsensusStates
|
|
186
260
|
* RPC method.
|
|
187
261
|
*/
|
|
188
|
-
|
|
189
|
-
export interface QueryConsensusStatesRequestSDKType {
|
|
262
|
+
export interface QueryConsensusStatesRequestAmino {
|
|
190
263
|
/** client identifier */
|
|
191
|
-
client_id
|
|
264
|
+
client_id?: string;
|
|
192
265
|
/** pagination request */
|
|
193
|
-
|
|
266
|
+
pagination?: PageRequestAmino;
|
|
267
|
+
}
|
|
268
|
+
export interface QueryConsensusStatesRequestAminoMsg {
|
|
269
|
+
type: "cosmos-sdk/QueryConsensusStatesRequest";
|
|
270
|
+
value: QueryConsensusStatesRequestAmino;
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* QueryConsensusStatesRequest is the request type for the Query/ConsensusStates
|
|
274
|
+
* RPC method.
|
|
275
|
+
*/
|
|
276
|
+
export interface QueryConsensusStatesRequestSDKType {
|
|
277
|
+
client_id: string;
|
|
194
278
|
pagination?: PageRequestSDKType;
|
|
195
279
|
}
|
|
196
280
|
/**
|
|
197
281
|
* QueryConsensusStatesResponse is the response type for the
|
|
198
282
|
* Query/ConsensusStates RPC method
|
|
199
283
|
*/
|
|
200
|
-
|
|
201
284
|
export interface QueryConsensusStatesResponse {
|
|
202
285
|
/** consensus states associated with the identifier */
|
|
203
286
|
consensusStates: ConsensusStateWithHeight[];
|
|
204
287
|
/** pagination response */
|
|
205
|
-
|
|
206
288
|
pagination?: PageResponse;
|
|
207
289
|
}
|
|
290
|
+
export interface QueryConsensusStatesResponseProtoMsg {
|
|
291
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStatesResponse";
|
|
292
|
+
value: Uint8Array;
|
|
293
|
+
}
|
|
208
294
|
/**
|
|
209
295
|
* QueryConsensusStatesResponse is the response type for the
|
|
210
296
|
* Query/ConsensusStates RPC method
|
|
211
297
|
*/
|
|
212
|
-
|
|
213
|
-
export interface QueryConsensusStatesResponseSDKType {
|
|
298
|
+
export interface QueryConsensusStatesResponseAmino {
|
|
214
299
|
/** consensus states associated with the identifier */
|
|
215
|
-
consensus_states
|
|
300
|
+
consensus_states?: ConsensusStateWithHeightAmino[];
|
|
216
301
|
/** pagination response */
|
|
217
|
-
|
|
302
|
+
pagination?: PageResponseAmino;
|
|
303
|
+
}
|
|
304
|
+
export interface QueryConsensusStatesResponseAminoMsg {
|
|
305
|
+
type: "cosmos-sdk/QueryConsensusStatesResponse";
|
|
306
|
+
value: QueryConsensusStatesResponseAmino;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* QueryConsensusStatesResponse is the response type for the
|
|
310
|
+
* Query/ConsensusStates RPC method
|
|
311
|
+
*/
|
|
312
|
+
export interface QueryConsensusStatesResponseSDKType {
|
|
313
|
+
consensus_states: ConsensusStateWithHeightSDKType[];
|
|
218
314
|
pagination?: PageResponseSDKType;
|
|
219
315
|
}
|
|
220
316
|
/**
|
|
221
317
|
* QueryClientStatusRequest is the request type for the Query/ClientStatus RPC
|
|
222
318
|
* method
|
|
223
319
|
*/
|
|
224
|
-
|
|
225
320
|
export interface QueryClientStatusRequest {
|
|
226
321
|
/** client unique identifier */
|
|
227
322
|
clientId: string;
|
|
228
323
|
}
|
|
324
|
+
export interface QueryClientStatusRequestProtoMsg {
|
|
325
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatusRequest";
|
|
326
|
+
value: Uint8Array;
|
|
327
|
+
}
|
|
229
328
|
/**
|
|
230
329
|
* QueryClientStatusRequest is the request type for the Query/ClientStatus RPC
|
|
231
330
|
* method
|
|
232
331
|
*/
|
|
233
|
-
|
|
234
|
-
export interface QueryClientStatusRequestSDKType {
|
|
332
|
+
export interface QueryClientStatusRequestAmino {
|
|
235
333
|
/** client unique identifier */
|
|
334
|
+
client_id?: string;
|
|
335
|
+
}
|
|
336
|
+
export interface QueryClientStatusRequestAminoMsg {
|
|
337
|
+
type: "cosmos-sdk/QueryClientStatusRequest";
|
|
338
|
+
value: QueryClientStatusRequestAmino;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* QueryClientStatusRequest is the request type for the Query/ClientStatus RPC
|
|
342
|
+
* method
|
|
343
|
+
*/
|
|
344
|
+
export interface QueryClientStatusRequestSDKType {
|
|
236
345
|
client_id: string;
|
|
237
346
|
}
|
|
238
347
|
/**
|
|
239
348
|
* QueryClientStatusResponse is the response type for the Query/ClientStatus RPC
|
|
240
349
|
* method. It returns the current status of the IBC client.
|
|
241
350
|
*/
|
|
242
|
-
|
|
243
351
|
export interface QueryClientStatusResponse {
|
|
244
352
|
status: string;
|
|
245
353
|
}
|
|
354
|
+
export interface QueryClientStatusResponseProtoMsg {
|
|
355
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatusResponse";
|
|
356
|
+
value: Uint8Array;
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* QueryClientStatusResponse is the response type for the Query/ClientStatus RPC
|
|
360
|
+
* method. It returns the current status of the IBC client.
|
|
361
|
+
*/
|
|
362
|
+
export interface QueryClientStatusResponseAmino {
|
|
363
|
+
status?: string;
|
|
364
|
+
}
|
|
365
|
+
export interface QueryClientStatusResponseAminoMsg {
|
|
366
|
+
type: "cosmos-sdk/QueryClientStatusResponse";
|
|
367
|
+
value: QueryClientStatusResponseAmino;
|
|
368
|
+
}
|
|
246
369
|
/**
|
|
247
370
|
* QueryClientStatusResponse is the response type for the Query/ClientStatus RPC
|
|
248
371
|
* method. It returns the current status of the IBC client.
|
|
249
372
|
*/
|
|
250
|
-
|
|
251
373
|
export interface QueryClientStatusResponseSDKType {
|
|
252
374
|
status: string;
|
|
253
375
|
}
|
|
@@ -255,876 +377,1350 @@ export interface QueryClientStatusResponseSDKType {
|
|
|
255
377
|
* QueryClientParamsRequest is the request type for the Query/ClientParams RPC
|
|
256
378
|
* method.
|
|
257
379
|
*/
|
|
258
|
-
|
|
259
380
|
export interface QueryClientParamsRequest {}
|
|
381
|
+
export interface QueryClientParamsRequestProtoMsg {
|
|
382
|
+
typeUrl: "/ibc.core.client.v1.QueryClientParamsRequest";
|
|
383
|
+
value: Uint8Array;
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* QueryClientParamsRequest is the request type for the Query/ClientParams RPC
|
|
387
|
+
* method.
|
|
388
|
+
*/
|
|
389
|
+
export interface QueryClientParamsRequestAmino {}
|
|
390
|
+
export interface QueryClientParamsRequestAminoMsg {
|
|
391
|
+
type: "cosmos-sdk/QueryClientParamsRequest";
|
|
392
|
+
value: QueryClientParamsRequestAmino;
|
|
393
|
+
}
|
|
260
394
|
/**
|
|
261
395
|
* QueryClientParamsRequest is the request type for the Query/ClientParams RPC
|
|
262
396
|
* method.
|
|
263
397
|
*/
|
|
264
|
-
|
|
265
398
|
export interface QueryClientParamsRequestSDKType {}
|
|
266
399
|
/**
|
|
267
400
|
* QueryClientParamsResponse is the response type for the Query/ClientParams RPC
|
|
268
401
|
* method.
|
|
269
402
|
*/
|
|
270
|
-
|
|
271
403
|
export interface QueryClientParamsResponse {
|
|
272
404
|
/** params defines the parameters of the module. */
|
|
273
405
|
params?: Params;
|
|
274
406
|
}
|
|
407
|
+
export interface QueryClientParamsResponseProtoMsg {
|
|
408
|
+
typeUrl: "/ibc.core.client.v1.QueryClientParamsResponse";
|
|
409
|
+
value: Uint8Array;
|
|
410
|
+
}
|
|
275
411
|
/**
|
|
276
412
|
* QueryClientParamsResponse is the response type for the Query/ClientParams RPC
|
|
277
413
|
* method.
|
|
278
414
|
*/
|
|
279
|
-
|
|
280
|
-
export interface QueryClientParamsResponseSDKType {
|
|
415
|
+
export interface QueryClientParamsResponseAmino {
|
|
281
416
|
/** params defines the parameters of the module. */
|
|
417
|
+
params?: ParamsAmino;
|
|
418
|
+
}
|
|
419
|
+
export interface QueryClientParamsResponseAminoMsg {
|
|
420
|
+
type: "cosmos-sdk/QueryClientParamsResponse";
|
|
421
|
+
value: QueryClientParamsResponseAmino;
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* QueryClientParamsResponse is the response type for the Query/ClientParams RPC
|
|
425
|
+
* method.
|
|
426
|
+
*/
|
|
427
|
+
export interface QueryClientParamsResponseSDKType {
|
|
282
428
|
params?: ParamsSDKType;
|
|
283
429
|
}
|
|
284
430
|
/**
|
|
285
431
|
* QueryUpgradedClientStateRequest is the request type for the
|
|
286
432
|
* Query/UpgradedClientState RPC method
|
|
287
433
|
*/
|
|
288
|
-
|
|
289
434
|
export interface QueryUpgradedClientStateRequest {}
|
|
435
|
+
export interface QueryUpgradedClientStateRequestProtoMsg {
|
|
436
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateRequest";
|
|
437
|
+
value: Uint8Array;
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* QueryUpgradedClientStateRequest is the request type for the
|
|
441
|
+
* Query/UpgradedClientState RPC method
|
|
442
|
+
*/
|
|
443
|
+
export interface QueryUpgradedClientStateRequestAmino {}
|
|
444
|
+
export interface QueryUpgradedClientStateRequestAminoMsg {
|
|
445
|
+
type: "cosmos-sdk/QueryUpgradedClientStateRequest";
|
|
446
|
+
value: QueryUpgradedClientStateRequestAmino;
|
|
447
|
+
}
|
|
290
448
|
/**
|
|
291
449
|
* QueryUpgradedClientStateRequest is the request type for the
|
|
292
450
|
* Query/UpgradedClientState RPC method
|
|
293
451
|
*/
|
|
294
|
-
|
|
295
452
|
export interface QueryUpgradedClientStateRequestSDKType {}
|
|
296
453
|
/**
|
|
297
454
|
* QueryUpgradedClientStateResponse is the response type for the
|
|
298
455
|
* Query/UpgradedClientState RPC method.
|
|
299
456
|
*/
|
|
300
|
-
|
|
301
457
|
export interface QueryUpgradedClientStateResponse {
|
|
302
458
|
/** client state associated with the request identifier */
|
|
303
459
|
upgradedClientState?: Any;
|
|
304
460
|
}
|
|
461
|
+
export interface QueryUpgradedClientStateResponseProtoMsg {
|
|
462
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateResponse";
|
|
463
|
+
value: Uint8Array;
|
|
464
|
+
}
|
|
305
465
|
/**
|
|
306
466
|
* QueryUpgradedClientStateResponse is the response type for the
|
|
307
467
|
* Query/UpgradedClientState RPC method.
|
|
308
468
|
*/
|
|
309
|
-
|
|
310
|
-
export interface QueryUpgradedClientStateResponseSDKType {
|
|
469
|
+
export interface QueryUpgradedClientStateResponseAmino {
|
|
311
470
|
/** client state associated with the request identifier */
|
|
471
|
+
upgraded_client_state?: AnyAmino;
|
|
472
|
+
}
|
|
473
|
+
export interface QueryUpgradedClientStateResponseAminoMsg {
|
|
474
|
+
type: "cosmos-sdk/QueryUpgradedClientStateResponse";
|
|
475
|
+
value: QueryUpgradedClientStateResponseAmino;
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* QueryUpgradedClientStateResponse is the response type for the
|
|
479
|
+
* Query/UpgradedClientState RPC method.
|
|
480
|
+
*/
|
|
481
|
+
export interface QueryUpgradedClientStateResponseSDKType {
|
|
312
482
|
upgraded_client_state?: AnySDKType;
|
|
313
483
|
}
|
|
314
484
|
/**
|
|
315
485
|
* QueryUpgradedConsensusStateRequest is the request type for the
|
|
316
486
|
* Query/UpgradedConsensusState RPC method
|
|
317
487
|
*/
|
|
318
|
-
|
|
319
488
|
export interface QueryUpgradedConsensusStateRequest {}
|
|
489
|
+
export interface QueryUpgradedConsensusStateRequestProtoMsg {
|
|
490
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateRequest";
|
|
491
|
+
value: Uint8Array;
|
|
492
|
+
}
|
|
493
|
+
/**
|
|
494
|
+
* QueryUpgradedConsensusStateRequest is the request type for the
|
|
495
|
+
* Query/UpgradedConsensusState RPC method
|
|
496
|
+
*/
|
|
497
|
+
export interface QueryUpgradedConsensusStateRequestAmino {}
|
|
498
|
+
export interface QueryUpgradedConsensusStateRequestAminoMsg {
|
|
499
|
+
type: "cosmos-sdk/QueryUpgradedConsensusStateRequest";
|
|
500
|
+
value: QueryUpgradedConsensusStateRequestAmino;
|
|
501
|
+
}
|
|
320
502
|
/**
|
|
321
503
|
* QueryUpgradedConsensusStateRequest is the request type for the
|
|
322
504
|
* Query/UpgradedConsensusState RPC method
|
|
323
505
|
*/
|
|
324
|
-
|
|
325
506
|
export interface QueryUpgradedConsensusStateRequestSDKType {}
|
|
326
507
|
/**
|
|
327
508
|
* QueryUpgradedConsensusStateResponse is the response type for the
|
|
328
509
|
* Query/UpgradedConsensusState RPC method.
|
|
329
510
|
*/
|
|
330
|
-
|
|
331
511
|
export interface QueryUpgradedConsensusStateResponse {
|
|
332
512
|
/** Consensus state associated with the request identifier */
|
|
333
513
|
upgradedConsensusState?: Any;
|
|
334
514
|
}
|
|
515
|
+
export interface QueryUpgradedConsensusStateResponseProtoMsg {
|
|
516
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateResponse";
|
|
517
|
+
value: Uint8Array;
|
|
518
|
+
}
|
|
335
519
|
/**
|
|
336
520
|
* QueryUpgradedConsensusStateResponse is the response type for the
|
|
337
521
|
* Query/UpgradedConsensusState RPC method.
|
|
338
522
|
*/
|
|
339
|
-
|
|
340
|
-
export interface QueryUpgradedConsensusStateResponseSDKType {
|
|
523
|
+
export interface QueryUpgradedConsensusStateResponseAmino {
|
|
341
524
|
/** Consensus state associated with the request identifier */
|
|
525
|
+
upgraded_consensus_state?: AnyAmino;
|
|
526
|
+
}
|
|
527
|
+
export interface QueryUpgradedConsensusStateResponseAminoMsg {
|
|
528
|
+
type: "cosmos-sdk/QueryUpgradedConsensusStateResponse";
|
|
529
|
+
value: QueryUpgradedConsensusStateResponseAmino;
|
|
530
|
+
}
|
|
531
|
+
/**
|
|
532
|
+
* QueryUpgradedConsensusStateResponse is the response type for the
|
|
533
|
+
* Query/UpgradedConsensusState RPC method.
|
|
534
|
+
*/
|
|
535
|
+
export interface QueryUpgradedConsensusStateResponseSDKType {
|
|
342
536
|
upgraded_consensus_state?: AnySDKType;
|
|
343
537
|
}
|
|
344
|
-
|
|
345
538
|
function createBaseQueryClientStateRequest(): QueryClientStateRequest {
|
|
346
539
|
return {
|
|
347
540
|
clientId: ""
|
|
348
541
|
};
|
|
349
542
|
}
|
|
350
|
-
|
|
351
543
|
export const QueryClientStateRequest = {
|
|
352
|
-
|
|
544
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStateRequest",
|
|
545
|
+
encode(message: QueryClientStateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
353
546
|
if (message.clientId !== "") {
|
|
354
547
|
writer.uint32(10).string(message.clientId);
|
|
355
548
|
}
|
|
356
|
-
|
|
357
549
|
return writer;
|
|
358
550
|
},
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
551
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStateRequest {
|
|
552
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
362
553
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
363
554
|
const message = createBaseQueryClientStateRequest();
|
|
364
|
-
|
|
365
555
|
while (reader.pos < end) {
|
|
366
556
|
const tag = reader.uint32();
|
|
367
|
-
|
|
368
557
|
switch (tag >>> 3) {
|
|
369
558
|
case 1:
|
|
370
559
|
message.clientId = reader.string();
|
|
371
560
|
break;
|
|
372
|
-
|
|
373
561
|
default:
|
|
374
562
|
reader.skipType(tag & 7);
|
|
375
563
|
break;
|
|
376
564
|
}
|
|
377
565
|
}
|
|
378
|
-
|
|
379
566
|
return message;
|
|
380
567
|
},
|
|
381
|
-
|
|
382
|
-
fromPartial(object: DeepPartial<QueryClientStateRequest>): QueryClientStateRequest {
|
|
568
|
+
fromPartial(object: Partial<QueryClientStateRequest>): QueryClientStateRequest {
|
|
383
569
|
const message = createBaseQueryClientStateRequest();
|
|
384
570
|
message.clientId = object.clientId ?? "";
|
|
385
571
|
return message;
|
|
572
|
+
},
|
|
573
|
+
fromAmino(object: QueryClientStateRequestAmino): QueryClientStateRequest {
|
|
574
|
+
const message = createBaseQueryClientStateRequest();
|
|
575
|
+
if (object.client_id !== undefined && object.client_id !== null) {
|
|
576
|
+
message.clientId = object.client_id;
|
|
577
|
+
}
|
|
578
|
+
return message;
|
|
579
|
+
},
|
|
580
|
+
toAmino(message: QueryClientStateRequest): QueryClientStateRequestAmino {
|
|
581
|
+
const obj: any = {};
|
|
582
|
+
obj.client_id = message.clientId;
|
|
583
|
+
return obj;
|
|
584
|
+
},
|
|
585
|
+
fromAminoMsg(object: QueryClientStateRequestAminoMsg): QueryClientStateRequest {
|
|
586
|
+
return QueryClientStateRequest.fromAmino(object.value);
|
|
587
|
+
},
|
|
588
|
+
toAminoMsg(message: QueryClientStateRequest): QueryClientStateRequestAminoMsg {
|
|
589
|
+
return {
|
|
590
|
+
type: "cosmos-sdk/QueryClientStateRequest",
|
|
591
|
+
value: QueryClientStateRequest.toAmino(message)
|
|
592
|
+
};
|
|
593
|
+
},
|
|
594
|
+
fromProtoMsg(message: QueryClientStateRequestProtoMsg): QueryClientStateRequest {
|
|
595
|
+
return QueryClientStateRequest.decode(message.value);
|
|
596
|
+
},
|
|
597
|
+
toProto(message: QueryClientStateRequest): Uint8Array {
|
|
598
|
+
return QueryClientStateRequest.encode(message).finish();
|
|
599
|
+
},
|
|
600
|
+
toProtoMsg(message: QueryClientStateRequest): QueryClientStateRequestProtoMsg {
|
|
601
|
+
return {
|
|
602
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStateRequest",
|
|
603
|
+
value: QueryClientStateRequest.encode(message).finish()
|
|
604
|
+
};
|
|
386
605
|
}
|
|
387
|
-
|
|
388
606
|
};
|
|
389
|
-
|
|
390
607
|
function createBaseQueryClientStateResponse(): QueryClientStateResponse {
|
|
391
608
|
return {
|
|
392
609
|
clientState: undefined,
|
|
393
610
|
proof: new Uint8Array(),
|
|
394
|
-
proofHeight:
|
|
611
|
+
proofHeight: Height.fromPartial({})
|
|
395
612
|
};
|
|
396
613
|
}
|
|
397
|
-
|
|
398
614
|
export const QueryClientStateResponse = {
|
|
399
|
-
|
|
615
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStateResponse",
|
|
616
|
+
encode(message: QueryClientStateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
400
617
|
if (message.clientState !== undefined) {
|
|
401
618
|
Any.encode(message.clientState, writer.uint32(10).fork()).ldelim();
|
|
402
619
|
}
|
|
403
|
-
|
|
404
620
|
if (message.proof.length !== 0) {
|
|
405
621
|
writer.uint32(18).bytes(message.proof);
|
|
406
622
|
}
|
|
407
|
-
|
|
408
623
|
if (message.proofHeight !== undefined) {
|
|
409
624
|
Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
|
|
410
625
|
}
|
|
411
|
-
|
|
412
626
|
return writer;
|
|
413
627
|
},
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
628
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStateResponse {
|
|
629
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
417
630
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
418
631
|
const message = createBaseQueryClientStateResponse();
|
|
419
|
-
|
|
420
632
|
while (reader.pos < end) {
|
|
421
633
|
const tag = reader.uint32();
|
|
422
|
-
|
|
423
634
|
switch (tag >>> 3) {
|
|
424
635
|
case 1:
|
|
425
636
|
message.clientState = Any.decode(reader, reader.uint32());
|
|
426
637
|
break;
|
|
427
|
-
|
|
428
638
|
case 2:
|
|
429
639
|
message.proof = reader.bytes();
|
|
430
640
|
break;
|
|
431
|
-
|
|
432
641
|
case 3:
|
|
433
642
|
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
434
643
|
break;
|
|
435
|
-
|
|
436
644
|
default:
|
|
437
645
|
reader.skipType(tag & 7);
|
|
438
646
|
break;
|
|
439
647
|
}
|
|
440
648
|
}
|
|
441
|
-
|
|
442
649
|
return message;
|
|
443
650
|
},
|
|
444
|
-
|
|
445
|
-
fromPartial(object: DeepPartial<QueryClientStateResponse>): QueryClientStateResponse {
|
|
651
|
+
fromPartial(object: Partial<QueryClientStateResponse>): QueryClientStateResponse {
|
|
446
652
|
const message = createBaseQueryClientStateResponse();
|
|
447
653
|
message.clientState = object.clientState !== undefined && object.clientState !== null ? Any.fromPartial(object.clientState) : undefined;
|
|
448
654
|
message.proof = object.proof ?? new Uint8Array();
|
|
449
655
|
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
450
656
|
return message;
|
|
657
|
+
},
|
|
658
|
+
fromAmino(object: QueryClientStateResponseAmino): QueryClientStateResponse {
|
|
659
|
+
const message = createBaseQueryClientStateResponse();
|
|
660
|
+
if (object.client_state !== undefined && object.client_state !== null) {
|
|
661
|
+
message.clientState = Any.fromAmino(object.client_state);
|
|
662
|
+
}
|
|
663
|
+
if (object.proof !== undefined && object.proof !== null) {
|
|
664
|
+
message.proof = bytesFromBase64(object.proof);
|
|
665
|
+
}
|
|
666
|
+
if (object.proof_height !== undefined && object.proof_height !== null) {
|
|
667
|
+
message.proofHeight = Height.fromAmino(object.proof_height);
|
|
668
|
+
}
|
|
669
|
+
return message;
|
|
670
|
+
},
|
|
671
|
+
toAmino(message: QueryClientStateResponse): QueryClientStateResponseAmino {
|
|
672
|
+
const obj: any = {};
|
|
673
|
+
obj.client_state = message.clientState ? Any.toAmino(message.clientState) : undefined;
|
|
674
|
+
obj.proof = message.proof ? base64FromBytes(message.proof) : undefined;
|
|
675
|
+
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
676
|
+
return obj;
|
|
677
|
+
},
|
|
678
|
+
fromAminoMsg(object: QueryClientStateResponseAminoMsg): QueryClientStateResponse {
|
|
679
|
+
return QueryClientStateResponse.fromAmino(object.value);
|
|
680
|
+
},
|
|
681
|
+
toAminoMsg(message: QueryClientStateResponse): QueryClientStateResponseAminoMsg {
|
|
682
|
+
return {
|
|
683
|
+
type: "cosmos-sdk/QueryClientStateResponse",
|
|
684
|
+
value: QueryClientStateResponse.toAmino(message)
|
|
685
|
+
};
|
|
686
|
+
},
|
|
687
|
+
fromProtoMsg(message: QueryClientStateResponseProtoMsg): QueryClientStateResponse {
|
|
688
|
+
return QueryClientStateResponse.decode(message.value);
|
|
689
|
+
},
|
|
690
|
+
toProto(message: QueryClientStateResponse): Uint8Array {
|
|
691
|
+
return QueryClientStateResponse.encode(message).finish();
|
|
692
|
+
},
|
|
693
|
+
toProtoMsg(message: QueryClientStateResponse): QueryClientStateResponseProtoMsg {
|
|
694
|
+
return {
|
|
695
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStateResponse",
|
|
696
|
+
value: QueryClientStateResponse.encode(message).finish()
|
|
697
|
+
};
|
|
451
698
|
}
|
|
452
|
-
|
|
453
699
|
};
|
|
454
|
-
|
|
455
700
|
function createBaseQueryClientStatesRequest(): QueryClientStatesRequest {
|
|
456
701
|
return {
|
|
457
702
|
pagination: undefined
|
|
458
703
|
};
|
|
459
704
|
}
|
|
460
|
-
|
|
461
705
|
export const QueryClientStatesRequest = {
|
|
462
|
-
|
|
706
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatesRequest",
|
|
707
|
+
encode(message: QueryClientStatesRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
463
708
|
if (message.pagination !== undefined) {
|
|
464
709
|
PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
|
|
465
710
|
}
|
|
466
|
-
|
|
467
711
|
return writer;
|
|
468
712
|
},
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
713
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatesRequest {
|
|
714
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
472
715
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
473
716
|
const message = createBaseQueryClientStatesRequest();
|
|
474
|
-
|
|
475
717
|
while (reader.pos < end) {
|
|
476
718
|
const tag = reader.uint32();
|
|
477
|
-
|
|
478
719
|
switch (tag >>> 3) {
|
|
479
720
|
case 1:
|
|
480
721
|
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
481
722
|
break;
|
|
482
|
-
|
|
483
723
|
default:
|
|
484
724
|
reader.skipType(tag & 7);
|
|
485
725
|
break;
|
|
486
726
|
}
|
|
487
727
|
}
|
|
488
|
-
|
|
489
728
|
return message;
|
|
490
729
|
},
|
|
491
|
-
|
|
492
|
-
fromPartial(object: DeepPartial<QueryClientStatesRequest>): QueryClientStatesRequest {
|
|
730
|
+
fromPartial(object: Partial<QueryClientStatesRequest>): QueryClientStatesRequest {
|
|
493
731
|
const message = createBaseQueryClientStatesRequest();
|
|
494
732
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
495
733
|
return message;
|
|
734
|
+
},
|
|
735
|
+
fromAmino(object: QueryClientStatesRequestAmino): QueryClientStatesRequest {
|
|
736
|
+
const message = createBaseQueryClientStatesRequest();
|
|
737
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
738
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
739
|
+
}
|
|
740
|
+
return message;
|
|
741
|
+
},
|
|
742
|
+
toAmino(message: QueryClientStatesRequest): QueryClientStatesRequestAmino {
|
|
743
|
+
const obj: any = {};
|
|
744
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
745
|
+
return obj;
|
|
746
|
+
},
|
|
747
|
+
fromAminoMsg(object: QueryClientStatesRequestAminoMsg): QueryClientStatesRequest {
|
|
748
|
+
return QueryClientStatesRequest.fromAmino(object.value);
|
|
749
|
+
},
|
|
750
|
+
toAminoMsg(message: QueryClientStatesRequest): QueryClientStatesRequestAminoMsg {
|
|
751
|
+
return {
|
|
752
|
+
type: "cosmos-sdk/QueryClientStatesRequest",
|
|
753
|
+
value: QueryClientStatesRequest.toAmino(message)
|
|
754
|
+
};
|
|
755
|
+
},
|
|
756
|
+
fromProtoMsg(message: QueryClientStatesRequestProtoMsg): QueryClientStatesRequest {
|
|
757
|
+
return QueryClientStatesRequest.decode(message.value);
|
|
758
|
+
},
|
|
759
|
+
toProto(message: QueryClientStatesRequest): Uint8Array {
|
|
760
|
+
return QueryClientStatesRequest.encode(message).finish();
|
|
761
|
+
},
|
|
762
|
+
toProtoMsg(message: QueryClientStatesRequest): QueryClientStatesRequestProtoMsg {
|
|
763
|
+
return {
|
|
764
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatesRequest",
|
|
765
|
+
value: QueryClientStatesRequest.encode(message).finish()
|
|
766
|
+
};
|
|
496
767
|
}
|
|
497
|
-
|
|
498
768
|
};
|
|
499
|
-
|
|
500
769
|
function createBaseQueryClientStatesResponse(): QueryClientStatesResponse {
|
|
501
770
|
return {
|
|
502
771
|
clientStates: [],
|
|
503
772
|
pagination: undefined
|
|
504
773
|
};
|
|
505
774
|
}
|
|
506
|
-
|
|
507
775
|
export const QueryClientStatesResponse = {
|
|
508
|
-
|
|
776
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatesResponse",
|
|
777
|
+
encode(message: QueryClientStatesResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
509
778
|
for (const v of message.clientStates) {
|
|
510
779
|
IdentifiedClientState.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
511
780
|
}
|
|
512
|
-
|
|
513
781
|
if (message.pagination !== undefined) {
|
|
514
782
|
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
515
783
|
}
|
|
516
|
-
|
|
517
784
|
return writer;
|
|
518
785
|
},
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
786
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatesResponse {
|
|
787
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
522
788
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
523
789
|
const message = createBaseQueryClientStatesResponse();
|
|
524
|
-
|
|
525
790
|
while (reader.pos < end) {
|
|
526
791
|
const tag = reader.uint32();
|
|
527
|
-
|
|
528
792
|
switch (tag >>> 3) {
|
|
529
793
|
case 1:
|
|
530
794
|
message.clientStates.push(IdentifiedClientState.decode(reader, reader.uint32()));
|
|
531
795
|
break;
|
|
532
|
-
|
|
533
796
|
case 2:
|
|
534
797
|
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
535
798
|
break;
|
|
536
|
-
|
|
537
799
|
default:
|
|
538
800
|
reader.skipType(tag & 7);
|
|
539
801
|
break;
|
|
540
802
|
}
|
|
541
803
|
}
|
|
542
|
-
|
|
543
804
|
return message;
|
|
544
805
|
},
|
|
545
|
-
|
|
546
|
-
fromPartial(object: DeepPartial<QueryClientStatesResponse>): QueryClientStatesResponse {
|
|
806
|
+
fromPartial(object: Partial<QueryClientStatesResponse>): QueryClientStatesResponse {
|
|
547
807
|
const message = createBaseQueryClientStatesResponse();
|
|
548
808
|
message.clientStates = object.clientStates?.map(e => IdentifiedClientState.fromPartial(e)) || [];
|
|
549
809
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
550
810
|
return message;
|
|
811
|
+
},
|
|
812
|
+
fromAmino(object: QueryClientStatesResponseAmino): QueryClientStatesResponse {
|
|
813
|
+
const message = createBaseQueryClientStatesResponse();
|
|
814
|
+
message.clientStates = object.client_states?.map(e => IdentifiedClientState.fromAmino(e)) || [];
|
|
815
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
816
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
817
|
+
}
|
|
818
|
+
return message;
|
|
819
|
+
},
|
|
820
|
+
toAmino(message: QueryClientStatesResponse): QueryClientStatesResponseAmino {
|
|
821
|
+
const obj: any = {};
|
|
822
|
+
if (message.clientStates) {
|
|
823
|
+
obj.client_states = message.clientStates.map(e => e ? IdentifiedClientState.toAmino(e) : undefined);
|
|
824
|
+
} else {
|
|
825
|
+
obj.client_states = [];
|
|
826
|
+
}
|
|
827
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
828
|
+
return obj;
|
|
829
|
+
},
|
|
830
|
+
fromAminoMsg(object: QueryClientStatesResponseAminoMsg): QueryClientStatesResponse {
|
|
831
|
+
return QueryClientStatesResponse.fromAmino(object.value);
|
|
832
|
+
},
|
|
833
|
+
toAminoMsg(message: QueryClientStatesResponse): QueryClientStatesResponseAminoMsg {
|
|
834
|
+
return {
|
|
835
|
+
type: "cosmos-sdk/QueryClientStatesResponse",
|
|
836
|
+
value: QueryClientStatesResponse.toAmino(message)
|
|
837
|
+
};
|
|
838
|
+
},
|
|
839
|
+
fromProtoMsg(message: QueryClientStatesResponseProtoMsg): QueryClientStatesResponse {
|
|
840
|
+
return QueryClientStatesResponse.decode(message.value);
|
|
841
|
+
},
|
|
842
|
+
toProto(message: QueryClientStatesResponse): Uint8Array {
|
|
843
|
+
return QueryClientStatesResponse.encode(message).finish();
|
|
844
|
+
},
|
|
845
|
+
toProtoMsg(message: QueryClientStatesResponse): QueryClientStatesResponseProtoMsg {
|
|
846
|
+
return {
|
|
847
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatesResponse",
|
|
848
|
+
value: QueryClientStatesResponse.encode(message).finish()
|
|
849
|
+
};
|
|
551
850
|
}
|
|
552
|
-
|
|
553
851
|
};
|
|
554
|
-
|
|
555
852
|
function createBaseQueryConsensusStateRequest(): QueryConsensusStateRequest {
|
|
556
853
|
return {
|
|
557
854
|
clientId: "",
|
|
558
|
-
revisionNumber:
|
|
559
|
-
revisionHeight:
|
|
855
|
+
revisionNumber: BigInt(0),
|
|
856
|
+
revisionHeight: BigInt(0),
|
|
560
857
|
latestHeight: false
|
|
561
858
|
};
|
|
562
859
|
}
|
|
563
|
-
|
|
564
860
|
export const QueryConsensusStateRequest = {
|
|
565
|
-
|
|
861
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateRequest",
|
|
862
|
+
encode(message: QueryConsensusStateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
566
863
|
if (message.clientId !== "") {
|
|
567
864
|
writer.uint32(10).string(message.clientId);
|
|
568
865
|
}
|
|
569
|
-
|
|
570
|
-
if (!message.revisionNumber.isZero()) {
|
|
866
|
+
if (message.revisionNumber !== BigInt(0)) {
|
|
571
867
|
writer.uint32(16).uint64(message.revisionNumber);
|
|
572
868
|
}
|
|
573
|
-
|
|
574
|
-
if (!message.revisionHeight.isZero()) {
|
|
869
|
+
if (message.revisionHeight !== BigInt(0)) {
|
|
575
870
|
writer.uint32(24).uint64(message.revisionHeight);
|
|
576
871
|
}
|
|
577
|
-
|
|
578
872
|
if (message.latestHeight === true) {
|
|
579
873
|
writer.uint32(32).bool(message.latestHeight);
|
|
580
874
|
}
|
|
581
|
-
|
|
582
875
|
return writer;
|
|
583
876
|
},
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
877
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStateRequest {
|
|
878
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
587
879
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
588
880
|
const message = createBaseQueryConsensusStateRequest();
|
|
589
|
-
|
|
590
881
|
while (reader.pos < end) {
|
|
591
882
|
const tag = reader.uint32();
|
|
592
|
-
|
|
593
883
|
switch (tag >>> 3) {
|
|
594
884
|
case 1:
|
|
595
885
|
message.clientId = reader.string();
|
|
596
886
|
break;
|
|
597
|
-
|
|
598
887
|
case 2:
|
|
599
|
-
message.revisionNumber =
|
|
888
|
+
message.revisionNumber = reader.uint64();
|
|
600
889
|
break;
|
|
601
|
-
|
|
602
890
|
case 3:
|
|
603
|
-
message.revisionHeight =
|
|
891
|
+
message.revisionHeight = reader.uint64();
|
|
604
892
|
break;
|
|
605
|
-
|
|
606
893
|
case 4:
|
|
607
894
|
message.latestHeight = reader.bool();
|
|
608
895
|
break;
|
|
609
|
-
|
|
610
896
|
default:
|
|
611
897
|
reader.skipType(tag & 7);
|
|
612
898
|
break;
|
|
613
899
|
}
|
|
614
900
|
}
|
|
615
|
-
|
|
616
901
|
return message;
|
|
617
902
|
},
|
|
618
|
-
|
|
619
|
-
fromPartial(object: DeepPartial<QueryConsensusStateRequest>): QueryConsensusStateRequest {
|
|
903
|
+
fromPartial(object: Partial<QueryConsensusStateRequest>): QueryConsensusStateRequest {
|
|
620
904
|
const message = createBaseQueryConsensusStateRequest();
|
|
621
905
|
message.clientId = object.clientId ?? "";
|
|
622
|
-
message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ?
|
|
623
|
-
message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ?
|
|
906
|
+
message.revisionNumber = object.revisionNumber !== undefined && object.revisionNumber !== null ? BigInt(object.revisionNumber.toString()) : BigInt(0);
|
|
907
|
+
message.revisionHeight = object.revisionHeight !== undefined && object.revisionHeight !== null ? BigInt(object.revisionHeight.toString()) : BigInt(0);
|
|
624
908
|
message.latestHeight = object.latestHeight ?? false;
|
|
625
909
|
return message;
|
|
910
|
+
},
|
|
911
|
+
fromAmino(object: QueryConsensusStateRequestAmino): QueryConsensusStateRequest {
|
|
912
|
+
const message = createBaseQueryConsensusStateRequest();
|
|
913
|
+
if (object.client_id !== undefined && object.client_id !== null) {
|
|
914
|
+
message.clientId = object.client_id;
|
|
915
|
+
}
|
|
916
|
+
if (object.revision_number !== undefined && object.revision_number !== null) {
|
|
917
|
+
message.revisionNumber = BigInt(object.revision_number);
|
|
918
|
+
}
|
|
919
|
+
if (object.revision_height !== undefined && object.revision_height !== null) {
|
|
920
|
+
message.revisionHeight = BigInt(object.revision_height);
|
|
921
|
+
}
|
|
922
|
+
if (object.latest_height !== undefined && object.latest_height !== null) {
|
|
923
|
+
message.latestHeight = object.latest_height;
|
|
924
|
+
}
|
|
925
|
+
return message;
|
|
926
|
+
},
|
|
927
|
+
toAmino(message: QueryConsensusStateRequest): QueryConsensusStateRequestAmino {
|
|
928
|
+
const obj: any = {};
|
|
929
|
+
obj.client_id = message.clientId;
|
|
930
|
+
obj.revision_number = message.revisionNumber ? message.revisionNumber.toString() : undefined;
|
|
931
|
+
obj.revision_height = message.revisionHeight ? message.revisionHeight.toString() : undefined;
|
|
932
|
+
obj.latest_height = message.latestHeight;
|
|
933
|
+
return obj;
|
|
934
|
+
},
|
|
935
|
+
fromAminoMsg(object: QueryConsensusStateRequestAminoMsg): QueryConsensusStateRequest {
|
|
936
|
+
return QueryConsensusStateRequest.fromAmino(object.value);
|
|
937
|
+
},
|
|
938
|
+
toAminoMsg(message: QueryConsensusStateRequest): QueryConsensusStateRequestAminoMsg {
|
|
939
|
+
return {
|
|
940
|
+
type: "cosmos-sdk/QueryConsensusStateRequest",
|
|
941
|
+
value: QueryConsensusStateRequest.toAmino(message)
|
|
942
|
+
};
|
|
943
|
+
},
|
|
944
|
+
fromProtoMsg(message: QueryConsensusStateRequestProtoMsg): QueryConsensusStateRequest {
|
|
945
|
+
return QueryConsensusStateRequest.decode(message.value);
|
|
946
|
+
},
|
|
947
|
+
toProto(message: QueryConsensusStateRequest): Uint8Array {
|
|
948
|
+
return QueryConsensusStateRequest.encode(message).finish();
|
|
949
|
+
},
|
|
950
|
+
toProtoMsg(message: QueryConsensusStateRequest): QueryConsensusStateRequestProtoMsg {
|
|
951
|
+
return {
|
|
952
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateRequest",
|
|
953
|
+
value: QueryConsensusStateRequest.encode(message).finish()
|
|
954
|
+
};
|
|
626
955
|
}
|
|
627
|
-
|
|
628
956
|
};
|
|
629
|
-
|
|
630
957
|
function createBaseQueryConsensusStateResponse(): QueryConsensusStateResponse {
|
|
631
958
|
return {
|
|
632
959
|
consensusState: undefined,
|
|
633
960
|
proof: new Uint8Array(),
|
|
634
|
-
proofHeight:
|
|
961
|
+
proofHeight: Height.fromPartial({})
|
|
635
962
|
};
|
|
636
963
|
}
|
|
637
|
-
|
|
638
964
|
export const QueryConsensusStateResponse = {
|
|
639
|
-
|
|
965
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateResponse",
|
|
966
|
+
encode(message: QueryConsensusStateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
640
967
|
if (message.consensusState !== undefined) {
|
|
641
968
|
Any.encode(message.consensusState, writer.uint32(10).fork()).ldelim();
|
|
642
969
|
}
|
|
643
|
-
|
|
644
970
|
if (message.proof.length !== 0) {
|
|
645
971
|
writer.uint32(18).bytes(message.proof);
|
|
646
972
|
}
|
|
647
|
-
|
|
648
973
|
if (message.proofHeight !== undefined) {
|
|
649
974
|
Height.encode(message.proofHeight, writer.uint32(26).fork()).ldelim();
|
|
650
975
|
}
|
|
651
|
-
|
|
652
976
|
return writer;
|
|
653
977
|
},
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
978
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStateResponse {
|
|
979
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
657
980
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
658
981
|
const message = createBaseQueryConsensusStateResponse();
|
|
659
|
-
|
|
660
982
|
while (reader.pos < end) {
|
|
661
983
|
const tag = reader.uint32();
|
|
662
|
-
|
|
663
984
|
switch (tag >>> 3) {
|
|
664
985
|
case 1:
|
|
665
986
|
message.consensusState = Any.decode(reader, reader.uint32());
|
|
666
987
|
break;
|
|
667
|
-
|
|
668
988
|
case 2:
|
|
669
989
|
message.proof = reader.bytes();
|
|
670
990
|
break;
|
|
671
|
-
|
|
672
991
|
case 3:
|
|
673
992
|
message.proofHeight = Height.decode(reader, reader.uint32());
|
|
674
993
|
break;
|
|
675
|
-
|
|
676
994
|
default:
|
|
677
995
|
reader.skipType(tag & 7);
|
|
678
996
|
break;
|
|
679
997
|
}
|
|
680
998
|
}
|
|
681
|
-
|
|
682
999
|
return message;
|
|
683
1000
|
},
|
|
684
|
-
|
|
685
|
-
fromPartial(object: DeepPartial<QueryConsensusStateResponse>): QueryConsensusStateResponse {
|
|
1001
|
+
fromPartial(object: Partial<QueryConsensusStateResponse>): QueryConsensusStateResponse {
|
|
686
1002
|
const message = createBaseQueryConsensusStateResponse();
|
|
687
1003
|
message.consensusState = object.consensusState !== undefined && object.consensusState !== null ? Any.fromPartial(object.consensusState) : undefined;
|
|
688
1004
|
message.proof = object.proof ?? new Uint8Array();
|
|
689
1005
|
message.proofHeight = object.proofHeight !== undefined && object.proofHeight !== null ? Height.fromPartial(object.proofHeight) : undefined;
|
|
690
1006
|
return message;
|
|
1007
|
+
},
|
|
1008
|
+
fromAmino(object: QueryConsensusStateResponseAmino): QueryConsensusStateResponse {
|
|
1009
|
+
const message = createBaseQueryConsensusStateResponse();
|
|
1010
|
+
if (object.consensus_state !== undefined && object.consensus_state !== null) {
|
|
1011
|
+
message.consensusState = Any.fromAmino(object.consensus_state);
|
|
1012
|
+
}
|
|
1013
|
+
if (object.proof !== undefined && object.proof !== null) {
|
|
1014
|
+
message.proof = bytesFromBase64(object.proof);
|
|
1015
|
+
}
|
|
1016
|
+
if (object.proof_height !== undefined && object.proof_height !== null) {
|
|
1017
|
+
message.proofHeight = Height.fromAmino(object.proof_height);
|
|
1018
|
+
}
|
|
1019
|
+
return message;
|
|
1020
|
+
},
|
|
1021
|
+
toAmino(message: QueryConsensusStateResponse): QueryConsensusStateResponseAmino {
|
|
1022
|
+
const obj: any = {};
|
|
1023
|
+
obj.consensus_state = message.consensusState ? Any.toAmino(message.consensusState) : undefined;
|
|
1024
|
+
obj.proof = message.proof ? base64FromBytes(message.proof) : undefined;
|
|
1025
|
+
obj.proof_height = message.proofHeight ? Height.toAmino(message.proofHeight) : {};
|
|
1026
|
+
return obj;
|
|
1027
|
+
},
|
|
1028
|
+
fromAminoMsg(object: QueryConsensusStateResponseAminoMsg): QueryConsensusStateResponse {
|
|
1029
|
+
return QueryConsensusStateResponse.fromAmino(object.value);
|
|
1030
|
+
},
|
|
1031
|
+
toAminoMsg(message: QueryConsensusStateResponse): QueryConsensusStateResponseAminoMsg {
|
|
1032
|
+
return {
|
|
1033
|
+
type: "cosmos-sdk/QueryConsensusStateResponse",
|
|
1034
|
+
value: QueryConsensusStateResponse.toAmino(message)
|
|
1035
|
+
};
|
|
1036
|
+
},
|
|
1037
|
+
fromProtoMsg(message: QueryConsensusStateResponseProtoMsg): QueryConsensusStateResponse {
|
|
1038
|
+
return QueryConsensusStateResponse.decode(message.value);
|
|
1039
|
+
},
|
|
1040
|
+
toProto(message: QueryConsensusStateResponse): Uint8Array {
|
|
1041
|
+
return QueryConsensusStateResponse.encode(message).finish();
|
|
1042
|
+
},
|
|
1043
|
+
toProtoMsg(message: QueryConsensusStateResponse): QueryConsensusStateResponseProtoMsg {
|
|
1044
|
+
return {
|
|
1045
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStateResponse",
|
|
1046
|
+
value: QueryConsensusStateResponse.encode(message).finish()
|
|
1047
|
+
};
|
|
691
1048
|
}
|
|
692
|
-
|
|
693
1049
|
};
|
|
694
|
-
|
|
695
1050
|
function createBaseQueryConsensusStatesRequest(): QueryConsensusStatesRequest {
|
|
696
1051
|
return {
|
|
697
1052
|
clientId: "",
|
|
698
1053
|
pagination: undefined
|
|
699
1054
|
};
|
|
700
1055
|
}
|
|
701
|
-
|
|
702
1056
|
export const QueryConsensusStatesRequest = {
|
|
703
|
-
|
|
1057
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStatesRequest",
|
|
1058
|
+
encode(message: QueryConsensusStatesRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
704
1059
|
if (message.clientId !== "") {
|
|
705
1060
|
writer.uint32(10).string(message.clientId);
|
|
706
1061
|
}
|
|
707
|
-
|
|
708
1062
|
if (message.pagination !== undefined) {
|
|
709
1063
|
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
710
1064
|
}
|
|
711
|
-
|
|
712
1065
|
return writer;
|
|
713
1066
|
},
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1067
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStatesRequest {
|
|
1068
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
717
1069
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
718
1070
|
const message = createBaseQueryConsensusStatesRequest();
|
|
719
|
-
|
|
720
1071
|
while (reader.pos < end) {
|
|
721
1072
|
const tag = reader.uint32();
|
|
722
|
-
|
|
723
1073
|
switch (tag >>> 3) {
|
|
724
1074
|
case 1:
|
|
725
1075
|
message.clientId = reader.string();
|
|
726
1076
|
break;
|
|
727
|
-
|
|
728
1077
|
case 2:
|
|
729
1078
|
message.pagination = PageRequest.decode(reader, reader.uint32());
|
|
730
1079
|
break;
|
|
731
|
-
|
|
732
1080
|
default:
|
|
733
1081
|
reader.skipType(tag & 7);
|
|
734
1082
|
break;
|
|
735
1083
|
}
|
|
736
1084
|
}
|
|
737
|
-
|
|
738
1085
|
return message;
|
|
739
1086
|
},
|
|
740
|
-
|
|
741
|
-
fromPartial(object: DeepPartial<QueryConsensusStatesRequest>): QueryConsensusStatesRequest {
|
|
1087
|
+
fromPartial(object: Partial<QueryConsensusStatesRequest>): QueryConsensusStatesRequest {
|
|
742
1088
|
const message = createBaseQueryConsensusStatesRequest();
|
|
743
1089
|
message.clientId = object.clientId ?? "";
|
|
744
1090
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
|
745
1091
|
return message;
|
|
1092
|
+
},
|
|
1093
|
+
fromAmino(object: QueryConsensusStatesRequestAmino): QueryConsensusStatesRequest {
|
|
1094
|
+
const message = createBaseQueryConsensusStatesRequest();
|
|
1095
|
+
if (object.client_id !== undefined && object.client_id !== null) {
|
|
1096
|
+
message.clientId = object.client_id;
|
|
1097
|
+
}
|
|
1098
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1099
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
|
1100
|
+
}
|
|
1101
|
+
return message;
|
|
1102
|
+
},
|
|
1103
|
+
toAmino(message: QueryConsensusStatesRequest): QueryConsensusStatesRequestAmino {
|
|
1104
|
+
const obj: any = {};
|
|
1105
|
+
obj.client_id = message.clientId;
|
|
1106
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
|
1107
|
+
return obj;
|
|
1108
|
+
},
|
|
1109
|
+
fromAminoMsg(object: QueryConsensusStatesRequestAminoMsg): QueryConsensusStatesRequest {
|
|
1110
|
+
return QueryConsensusStatesRequest.fromAmino(object.value);
|
|
1111
|
+
},
|
|
1112
|
+
toAminoMsg(message: QueryConsensusStatesRequest): QueryConsensusStatesRequestAminoMsg {
|
|
1113
|
+
return {
|
|
1114
|
+
type: "cosmos-sdk/QueryConsensusStatesRequest",
|
|
1115
|
+
value: QueryConsensusStatesRequest.toAmino(message)
|
|
1116
|
+
};
|
|
1117
|
+
},
|
|
1118
|
+
fromProtoMsg(message: QueryConsensusStatesRequestProtoMsg): QueryConsensusStatesRequest {
|
|
1119
|
+
return QueryConsensusStatesRequest.decode(message.value);
|
|
1120
|
+
},
|
|
1121
|
+
toProto(message: QueryConsensusStatesRequest): Uint8Array {
|
|
1122
|
+
return QueryConsensusStatesRequest.encode(message).finish();
|
|
1123
|
+
},
|
|
1124
|
+
toProtoMsg(message: QueryConsensusStatesRequest): QueryConsensusStatesRequestProtoMsg {
|
|
1125
|
+
return {
|
|
1126
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStatesRequest",
|
|
1127
|
+
value: QueryConsensusStatesRequest.encode(message).finish()
|
|
1128
|
+
};
|
|
746
1129
|
}
|
|
747
|
-
|
|
748
1130
|
};
|
|
749
|
-
|
|
750
1131
|
function createBaseQueryConsensusStatesResponse(): QueryConsensusStatesResponse {
|
|
751
1132
|
return {
|
|
752
1133
|
consensusStates: [],
|
|
753
1134
|
pagination: undefined
|
|
754
1135
|
};
|
|
755
1136
|
}
|
|
756
|
-
|
|
757
1137
|
export const QueryConsensusStatesResponse = {
|
|
758
|
-
|
|
1138
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStatesResponse",
|
|
1139
|
+
encode(message: QueryConsensusStatesResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
759
1140
|
for (const v of message.consensusStates) {
|
|
760
1141
|
ConsensusStateWithHeight.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
761
1142
|
}
|
|
762
|
-
|
|
763
1143
|
if (message.pagination !== undefined) {
|
|
764
1144
|
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
|
765
1145
|
}
|
|
766
|
-
|
|
767
1146
|
return writer;
|
|
768
1147
|
},
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1148
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryConsensusStatesResponse {
|
|
1149
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
772
1150
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
773
1151
|
const message = createBaseQueryConsensusStatesResponse();
|
|
774
|
-
|
|
775
1152
|
while (reader.pos < end) {
|
|
776
1153
|
const tag = reader.uint32();
|
|
777
|
-
|
|
778
1154
|
switch (tag >>> 3) {
|
|
779
1155
|
case 1:
|
|
780
1156
|
message.consensusStates.push(ConsensusStateWithHeight.decode(reader, reader.uint32()));
|
|
781
1157
|
break;
|
|
782
|
-
|
|
783
1158
|
case 2:
|
|
784
1159
|
message.pagination = PageResponse.decode(reader, reader.uint32());
|
|
785
1160
|
break;
|
|
786
|
-
|
|
787
1161
|
default:
|
|
788
1162
|
reader.skipType(tag & 7);
|
|
789
1163
|
break;
|
|
790
1164
|
}
|
|
791
1165
|
}
|
|
792
|
-
|
|
793
1166
|
return message;
|
|
794
1167
|
},
|
|
795
|
-
|
|
796
|
-
fromPartial(object: DeepPartial<QueryConsensusStatesResponse>): QueryConsensusStatesResponse {
|
|
1168
|
+
fromPartial(object: Partial<QueryConsensusStatesResponse>): QueryConsensusStatesResponse {
|
|
797
1169
|
const message = createBaseQueryConsensusStatesResponse();
|
|
798
1170
|
message.consensusStates = object.consensusStates?.map(e => ConsensusStateWithHeight.fromPartial(e)) || [];
|
|
799
1171
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
|
800
1172
|
return message;
|
|
1173
|
+
},
|
|
1174
|
+
fromAmino(object: QueryConsensusStatesResponseAmino): QueryConsensusStatesResponse {
|
|
1175
|
+
const message = createBaseQueryConsensusStatesResponse();
|
|
1176
|
+
message.consensusStates = object.consensus_states?.map(e => ConsensusStateWithHeight.fromAmino(e)) || [];
|
|
1177
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
|
1178
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
|
1179
|
+
}
|
|
1180
|
+
return message;
|
|
1181
|
+
},
|
|
1182
|
+
toAmino(message: QueryConsensusStatesResponse): QueryConsensusStatesResponseAmino {
|
|
1183
|
+
const obj: any = {};
|
|
1184
|
+
if (message.consensusStates) {
|
|
1185
|
+
obj.consensus_states = message.consensusStates.map(e => e ? ConsensusStateWithHeight.toAmino(e) : undefined);
|
|
1186
|
+
} else {
|
|
1187
|
+
obj.consensus_states = [];
|
|
1188
|
+
}
|
|
1189
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
|
1190
|
+
return obj;
|
|
1191
|
+
},
|
|
1192
|
+
fromAminoMsg(object: QueryConsensusStatesResponseAminoMsg): QueryConsensusStatesResponse {
|
|
1193
|
+
return QueryConsensusStatesResponse.fromAmino(object.value);
|
|
1194
|
+
},
|
|
1195
|
+
toAminoMsg(message: QueryConsensusStatesResponse): QueryConsensusStatesResponseAminoMsg {
|
|
1196
|
+
return {
|
|
1197
|
+
type: "cosmos-sdk/QueryConsensusStatesResponse",
|
|
1198
|
+
value: QueryConsensusStatesResponse.toAmino(message)
|
|
1199
|
+
};
|
|
1200
|
+
},
|
|
1201
|
+
fromProtoMsg(message: QueryConsensusStatesResponseProtoMsg): QueryConsensusStatesResponse {
|
|
1202
|
+
return QueryConsensusStatesResponse.decode(message.value);
|
|
1203
|
+
},
|
|
1204
|
+
toProto(message: QueryConsensusStatesResponse): Uint8Array {
|
|
1205
|
+
return QueryConsensusStatesResponse.encode(message).finish();
|
|
1206
|
+
},
|
|
1207
|
+
toProtoMsg(message: QueryConsensusStatesResponse): QueryConsensusStatesResponseProtoMsg {
|
|
1208
|
+
return {
|
|
1209
|
+
typeUrl: "/ibc.core.client.v1.QueryConsensusStatesResponse",
|
|
1210
|
+
value: QueryConsensusStatesResponse.encode(message).finish()
|
|
1211
|
+
};
|
|
801
1212
|
}
|
|
802
|
-
|
|
803
1213
|
};
|
|
804
|
-
|
|
805
1214
|
function createBaseQueryClientStatusRequest(): QueryClientStatusRequest {
|
|
806
1215
|
return {
|
|
807
1216
|
clientId: ""
|
|
808
1217
|
};
|
|
809
1218
|
}
|
|
810
|
-
|
|
811
1219
|
export const QueryClientStatusRequest = {
|
|
812
|
-
|
|
1220
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatusRequest",
|
|
1221
|
+
encode(message: QueryClientStatusRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
813
1222
|
if (message.clientId !== "") {
|
|
814
1223
|
writer.uint32(10).string(message.clientId);
|
|
815
1224
|
}
|
|
816
|
-
|
|
817
1225
|
return writer;
|
|
818
1226
|
},
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1227
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatusRequest {
|
|
1228
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
822
1229
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
823
1230
|
const message = createBaseQueryClientStatusRequest();
|
|
824
|
-
|
|
825
1231
|
while (reader.pos < end) {
|
|
826
1232
|
const tag = reader.uint32();
|
|
827
|
-
|
|
828
1233
|
switch (tag >>> 3) {
|
|
829
1234
|
case 1:
|
|
830
1235
|
message.clientId = reader.string();
|
|
831
1236
|
break;
|
|
832
|
-
|
|
833
1237
|
default:
|
|
834
1238
|
reader.skipType(tag & 7);
|
|
835
1239
|
break;
|
|
836
1240
|
}
|
|
837
1241
|
}
|
|
838
|
-
|
|
839
1242
|
return message;
|
|
840
1243
|
},
|
|
841
|
-
|
|
842
|
-
fromPartial(object: DeepPartial<QueryClientStatusRequest>): QueryClientStatusRequest {
|
|
1244
|
+
fromPartial(object: Partial<QueryClientStatusRequest>): QueryClientStatusRequest {
|
|
843
1245
|
const message = createBaseQueryClientStatusRequest();
|
|
844
1246
|
message.clientId = object.clientId ?? "";
|
|
845
1247
|
return message;
|
|
1248
|
+
},
|
|
1249
|
+
fromAmino(object: QueryClientStatusRequestAmino): QueryClientStatusRequest {
|
|
1250
|
+
const message = createBaseQueryClientStatusRequest();
|
|
1251
|
+
if (object.client_id !== undefined && object.client_id !== null) {
|
|
1252
|
+
message.clientId = object.client_id;
|
|
1253
|
+
}
|
|
1254
|
+
return message;
|
|
1255
|
+
},
|
|
1256
|
+
toAmino(message: QueryClientStatusRequest): QueryClientStatusRequestAmino {
|
|
1257
|
+
const obj: any = {};
|
|
1258
|
+
obj.client_id = message.clientId;
|
|
1259
|
+
return obj;
|
|
1260
|
+
},
|
|
1261
|
+
fromAminoMsg(object: QueryClientStatusRequestAminoMsg): QueryClientStatusRequest {
|
|
1262
|
+
return QueryClientStatusRequest.fromAmino(object.value);
|
|
1263
|
+
},
|
|
1264
|
+
toAminoMsg(message: QueryClientStatusRequest): QueryClientStatusRequestAminoMsg {
|
|
1265
|
+
return {
|
|
1266
|
+
type: "cosmos-sdk/QueryClientStatusRequest",
|
|
1267
|
+
value: QueryClientStatusRequest.toAmino(message)
|
|
1268
|
+
};
|
|
1269
|
+
},
|
|
1270
|
+
fromProtoMsg(message: QueryClientStatusRequestProtoMsg): QueryClientStatusRequest {
|
|
1271
|
+
return QueryClientStatusRequest.decode(message.value);
|
|
1272
|
+
},
|
|
1273
|
+
toProto(message: QueryClientStatusRequest): Uint8Array {
|
|
1274
|
+
return QueryClientStatusRequest.encode(message).finish();
|
|
1275
|
+
},
|
|
1276
|
+
toProtoMsg(message: QueryClientStatusRequest): QueryClientStatusRequestProtoMsg {
|
|
1277
|
+
return {
|
|
1278
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatusRequest",
|
|
1279
|
+
value: QueryClientStatusRequest.encode(message).finish()
|
|
1280
|
+
};
|
|
846
1281
|
}
|
|
847
|
-
|
|
848
1282
|
};
|
|
849
|
-
|
|
850
1283
|
function createBaseQueryClientStatusResponse(): QueryClientStatusResponse {
|
|
851
1284
|
return {
|
|
852
1285
|
status: ""
|
|
853
1286
|
};
|
|
854
1287
|
}
|
|
855
|
-
|
|
856
1288
|
export const QueryClientStatusResponse = {
|
|
857
|
-
|
|
1289
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatusResponse",
|
|
1290
|
+
encode(message: QueryClientStatusResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
858
1291
|
if (message.status !== "") {
|
|
859
1292
|
writer.uint32(10).string(message.status);
|
|
860
1293
|
}
|
|
861
|
-
|
|
862
1294
|
return writer;
|
|
863
1295
|
},
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1296
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientStatusResponse {
|
|
1297
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
867
1298
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
868
1299
|
const message = createBaseQueryClientStatusResponse();
|
|
869
|
-
|
|
870
1300
|
while (reader.pos < end) {
|
|
871
1301
|
const tag = reader.uint32();
|
|
872
|
-
|
|
873
1302
|
switch (tag >>> 3) {
|
|
874
1303
|
case 1:
|
|
875
1304
|
message.status = reader.string();
|
|
876
1305
|
break;
|
|
877
|
-
|
|
878
1306
|
default:
|
|
879
1307
|
reader.skipType(tag & 7);
|
|
880
1308
|
break;
|
|
881
1309
|
}
|
|
882
1310
|
}
|
|
883
|
-
|
|
884
1311
|
return message;
|
|
885
1312
|
},
|
|
886
|
-
|
|
887
|
-
fromPartial(object: DeepPartial<QueryClientStatusResponse>): QueryClientStatusResponse {
|
|
1313
|
+
fromPartial(object: Partial<QueryClientStatusResponse>): QueryClientStatusResponse {
|
|
888
1314
|
const message = createBaseQueryClientStatusResponse();
|
|
889
1315
|
message.status = object.status ?? "";
|
|
890
1316
|
return message;
|
|
1317
|
+
},
|
|
1318
|
+
fromAmino(object: QueryClientStatusResponseAmino): QueryClientStatusResponse {
|
|
1319
|
+
const message = createBaseQueryClientStatusResponse();
|
|
1320
|
+
if (object.status !== undefined && object.status !== null) {
|
|
1321
|
+
message.status = object.status;
|
|
1322
|
+
}
|
|
1323
|
+
return message;
|
|
1324
|
+
},
|
|
1325
|
+
toAmino(message: QueryClientStatusResponse): QueryClientStatusResponseAmino {
|
|
1326
|
+
const obj: any = {};
|
|
1327
|
+
obj.status = message.status;
|
|
1328
|
+
return obj;
|
|
1329
|
+
},
|
|
1330
|
+
fromAminoMsg(object: QueryClientStatusResponseAminoMsg): QueryClientStatusResponse {
|
|
1331
|
+
return QueryClientStatusResponse.fromAmino(object.value);
|
|
1332
|
+
},
|
|
1333
|
+
toAminoMsg(message: QueryClientStatusResponse): QueryClientStatusResponseAminoMsg {
|
|
1334
|
+
return {
|
|
1335
|
+
type: "cosmos-sdk/QueryClientStatusResponse",
|
|
1336
|
+
value: QueryClientStatusResponse.toAmino(message)
|
|
1337
|
+
};
|
|
1338
|
+
},
|
|
1339
|
+
fromProtoMsg(message: QueryClientStatusResponseProtoMsg): QueryClientStatusResponse {
|
|
1340
|
+
return QueryClientStatusResponse.decode(message.value);
|
|
1341
|
+
},
|
|
1342
|
+
toProto(message: QueryClientStatusResponse): Uint8Array {
|
|
1343
|
+
return QueryClientStatusResponse.encode(message).finish();
|
|
1344
|
+
},
|
|
1345
|
+
toProtoMsg(message: QueryClientStatusResponse): QueryClientStatusResponseProtoMsg {
|
|
1346
|
+
return {
|
|
1347
|
+
typeUrl: "/ibc.core.client.v1.QueryClientStatusResponse",
|
|
1348
|
+
value: QueryClientStatusResponse.encode(message).finish()
|
|
1349
|
+
};
|
|
891
1350
|
}
|
|
892
|
-
|
|
893
1351
|
};
|
|
894
|
-
|
|
895
1352
|
function createBaseQueryClientParamsRequest(): QueryClientParamsRequest {
|
|
896
1353
|
return {};
|
|
897
1354
|
}
|
|
898
|
-
|
|
899
1355
|
export const QueryClientParamsRequest = {
|
|
900
|
-
|
|
1356
|
+
typeUrl: "/ibc.core.client.v1.QueryClientParamsRequest",
|
|
1357
|
+
encode(_: QueryClientParamsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
901
1358
|
return writer;
|
|
902
1359
|
},
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1360
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientParamsRequest {
|
|
1361
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
906
1362
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
907
1363
|
const message = createBaseQueryClientParamsRequest();
|
|
908
|
-
|
|
909
1364
|
while (reader.pos < end) {
|
|
910
1365
|
const tag = reader.uint32();
|
|
911
|
-
|
|
912
1366
|
switch (tag >>> 3) {
|
|
913
1367
|
default:
|
|
914
1368
|
reader.skipType(tag & 7);
|
|
915
1369
|
break;
|
|
916
1370
|
}
|
|
917
1371
|
}
|
|
918
|
-
|
|
919
1372
|
return message;
|
|
920
1373
|
},
|
|
921
|
-
|
|
922
|
-
|
|
1374
|
+
fromPartial(_: Partial<QueryClientParamsRequest>): QueryClientParamsRequest {
|
|
1375
|
+
const message = createBaseQueryClientParamsRequest();
|
|
1376
|
+
return message;
|
|
1377
|
+
},
|
|
1378
|
+
fromAmino(_: QueryClientParamsRequestAmino): QueryClientParamsRequest {
|
|
923
1379
|
const message = createBaseQueryClientParamsRequest();
|
|
924
1380
|
return message;
|
|
1381
|
+
},
|
|
1382
|
+
toAmino(_: QueryClientParamsRequest): QueryClientParamsRequestAmino {
|
|
1383
|
+
const obj: any = {};
|
|
1384
|
+
return obj;
|
|
1385
|
+
},
|
|
1386
|
+
fromAminoMsg(object: QueryClientParamsRequestAminoMsg): QueryClientParamsRequest {
|
|
1387
|
+
return QueryClientParamsRequest.fromAmino(object.value);
|
|
1388
|
+
},
|
|
1389
|
+
toAminoMsg(message: QueryClientParamsRequest): QueryClientParamsRequestAminoMsg {
|
|
1390
|
+
return {
|
|
1391
|
+
type: "cosmos-sdk/QueryClientParamsRequest",
|
|
1392
|
+
value: QueryClientParamsRequest.toAmino(message)
|
|
1393
|
+
};
|
|
1394
|
+
},
|
|
1395
|
+
fromProtoMsg(message: QueryClientParamsRequestProtoMsg): QueryClientParamsRequest {
|
|
1396
|
+
return QueryClientParamsRequest.decode(message.value);
|
|
1397
|
+
},
|
|
1398
|
+
toProto(message: QueryClientParamsRequest): Uint8Array {
|
|
1399
|
+
return QueryClientParamsRequest.encode(message).finish();
|
|
1400
|
+
},
|
|
1401
|
+
toProtoMsg(message: QueryClientParamsRequest): QueryClientParamsRequestProtoMsg {
|
|
1402
|
+
return {
|
|
1403
|
+
typeUrl: "/ibc.core.client.v1.QueryClientParamsRequest",
|
|
1404
|
+
value: QueryClientParamsRequest.encode(message).finish()
|
|
1405
|
+
};
|
|
925
1406
|
}
|
|
926
|
-
|
|
927
1407
|
};
|
|
928
|
-
|
|
929
1408
|
function createBaseQueryClientParamsResponse(): QueryClientParamsResponse {
|
|
930
1409
|
return {
|
|
931
1410
|
params: undefined
|
|
932
1411
|
};
|
|
933
1412
|
}
|
|
934
|
-
|
|
935
1413
|
export const QueryClientParamsResponse = {
|
|
936
|
-
|
|
1414
|
+
typeUrl: "/ibc.core.client.v1.QueryClientParamsResponse",
|
|
1415
|
+
encode(message: QueryClientParamsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
937
1416
|
if (message.params !== undefined) {
|
|
938
1417
|
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
|
939
1418
|
}
|
|
940
|
-
|
|
941
1419
|
return writer;
|
|
942
1420
|
},
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1421
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryClientParamsResponse {
|
|
1422
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
946
1423
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
947
1424
|
const message = createBaseQueryClientParamsResponse();
|
|
948
|
-
|
|
949
1425
|
while (reader.pos < end) {
|
|
950
1426
|
const tag = reader.uint32();
|
|
951
|
-
|
|
952
1427
|
switch (tag >>> 3) {
|
|
953
1428
|
case 1:
|
|
954
1429
|
message.params = Params.decode(reader, reader.uint32());
|
|
955
1430
|
break;
|
|
956
|
-
|
|
957
1431
|
default:
|
|
958
1432
|
reader.skipType(tag & 7);
|
|
959
1433
|
break;
|
|
960
1434
|
}
|
|
961
1435
|
}
|
|
962
|
-
|
|
963
1436
|
return message;
|
|
964
1437
|
},
|
|
965
|
-
|
|
966
|
-
fromPartial(object: DeepPartial<QueryClientParamsResponse>): QueryClientParamsResponse {
|
|
1438
|
+
fromPartial(object: Partial<QueryClientParamsResponse>): QueryClientParamsResponse {
|
|
967
1439
|
const message = createBaseQueryClientParamsResponse();
|
|
968
1440
|
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
969
1441
|
return message;
|
|
1442
|
+
},
|
|
1443
|
+
fromAmino(object: QueryClientParamsResponseAmino): QueryClientParamsResponse {
|
|
1444
|
+
const message = createBaseQueryClientParamsResponse();
|
|
1445
|
+
if (object.params !== undefined && object.params !== null) {
|
|
1446
|
+
message.params = Params.fromAmino(object.params);
|
|
1447
|
+
}
|
|
1448
|
+
return message;
|
|
1449
|
+
},
|
|
1450
|
+
toAmino(message: QueryClientParamsResponse): QueryClientParamsResponseAmino {
|
|
1451
|
+
const obj: any = {};
|
|
1452
|
+
obj.params = message.params ? Params.toAmino(message.params) : undefined;
|
|
1453
|
+
return obj;
|
|
1454
|
+
},
|
|
1455
|
+
fromAminoMsg(object: QueryClientParamsResponseAminoMsg): QueryClientParamsResponse {
|
|
1456
|
+
return QueryClientParamsResponse.fromAmino(object.value);
|
|
1457
|
+
},
|
|
1458
|
+
toAminoMsg(message: QueryClientParamsResponse): QueryClientParamsResponseAminoMsg {
|
|
1459
|
+
return {
|
|
1460
|
+
type: "cosmos-sdk/QueryClientParamsResponse",
|
|
1461
|
+
value: QueryClientParamsResponse.toAmino(message)
|
|
1462
|
+
};
|
|
1463
|
+
},
|
|
1464
|
+
fromProtoMsg(message: QueryClientParamsResponseProtoMsg): QueryClientParamsResponse {
|
|
1465
|
+
return QueryClientParamsResponse.decode(message.value);
|
|
1466
|
+
},
|
|
1467
|
+
toProto(message: QueryClientParamsResponse): Uint8Array {
|
|
1468
|
+
return QueryClientParamsResponse.encode(message).finish();
|
|
1469
|
+
},
|
|
1470
|
+
toProtoMsg(message: QueryClientParamsResponse): QueryClientParamsResponseProtoMsg {
|
|
1471
|
+
return {
|
|
1472
|
+
typeUrl: "/ibc.core.client.v1.QueryClientParamsResponse",
|
|
1473
|
+
value: QueryClientParamsResponse.encode(message).finish()
|
|
1474
|
+
};
|
|
970
1475
|
}
|
|
971
|
-
|
|
972
1476
|
};
|
|
973
|
-
|
|
974
1477
|
function createBaseQueryUpgradedClientStateRequest(): QueryUpgradedClientStateRequest {
|
|
975
1478
|
return {};
|
|
976
1479
|
}
|
|
977
|
-
|
|
978
1480
|
export const QueryUpgradedClientStateRequest = {
|
|
979
|
-
|
|
1481
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateRequest",
|
|
1482
|
+
encode(_: QueryUpgradedClientStateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
980
1483
|
return writer;
|
|
981
1484
|
},
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1485
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedClientStateRequest {
|
|
1486
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
985
1487
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
986
1488
|
const message = createBaseQueryUpgradedClientStateRequest();
|
|
987
|
-
|
|
988
1489
|
while (reader.pos < end) {
|
|
989
1490
|
const tag = reader.uint32();
|
|
990
|
-
|
|
991
1491
|
switch (tag >>> 3) {
|
|
992
1492
|
default:
|
|
993
1493
|
reader.skipType(tag & 7);
|
|
994
1494
|
break;
|
|
995
1495
|
}
|
|
996
1496
|
}
|
|
997
|
-
|
|
998
1497
|
return message;
|
|
999
1498
|
},
|
|
1000
|
-
|
|
1001
|
-
fromPartial(_: DeepPartial<QueryUpgradedClientStateRequest>): QueryUpgradedClientStateRequest {
|
|
1499
|
+
fromPartial(_: Partial<QueryUpgradedClientStateRequest>): QueryUpgradedClientStateRequest {
|
|
1002
1500
|
const message = createBaseQueryUpgradedClientStateRequest();
|
|
1003
1501
|
return message;
|
|
1502
|
+
},
|
|
1503
|
+
fromAmino(_: QueryUpgradedClientStateRequestAmino): QueryUpgradedClientStateRequest {
|
|
1504
|
+
const message = createBaseQueryUpgradedClientStateRequest();
|
|
1505
|
+
return message;
|
|
1506
|
+
},
|
|
1507
|
+
toAmino(_: QueryUpgradedClientStateRequest): QueryUpgradedClientStateRequestAmino {
|
|
1508
|
+
const obj: any = {};
|
|
1509
|
+
return obj;
|
|
1510
|
+
},
|
|
1511
|
+
fromAminoMsg(object: QueryUpgradedClientStateRequestAminoMsg): QueryUpgradedClientStateRequest {
|
|
1512
|
+
return QueryUpgradedClientStateRequest.fromAmino(object.value);
|
|
1513
|
+
},
|
|
1514
|
+
toAminoMsg(message: QueryUpgradedClientStateRequest): QueryUpgradedClientStateRequestAminoMsg {
|
|
1515
|
+
return {
|
|
1516
|
+
type: "cosmos-sdk/QueryUpgradedClientStateRequest",
|
|
1517
|
+
value: QueryUpgradedClientStateRequest.toAmino(message)
|
|
1518
|
+
};
|
|
1519
|
+
},
|
|
1520
|
+
fromProtoMsg(message: QueryUpgradedClientStateRequestProtoMsg): QueryUpgradedClientStateRequest {
|
|
1521
|
+
return QueryUpgradedClientStateRequest.decode(message.value);
|
|
1522
|
+
},
|
|
1523
|
+
toProto(message: QueryUpgradedClientStateRequest): Uint8Array {
|
|
1524
|
+
return QueryUpgradedClientStateRequest.encode(message).finish();
|
|
1525
|
+
},
|
|
1526
|
+
toProtoMsg(message: QueryUpgradedClientStateRequest): QueryUpgradedClientStateRequestProtoMsg {
|
|
1527
|
+
return {
|
|
1528
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateRequest",
|
|
1529
|
+
value: QueryUpgradedClientStateRequest.encode(message).finish()
|
|
1530
|
+
};
|
|
1004
1531
|
}
|
|
1005
|
-
|
|
1006
1532
|
};
|
|
1007
|
-
|
|
1008
1533
|
function createBaseQueryUpgradedClientStateResponse(): QueryUpgradedClientStateResponse {
|
|
1009
1534
|
return {
|
|
1010
1535
|
upgradedClientState: undefined
|
|
1011
1536
|
};
|
|
1012
1537
|
}
|
|
1013
|
-
|
|
1014
1538
|
export const QueryUpgradedClientStateResponse = {
|
|
1015
|
-
|
|
1539
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateResponse",
|
|
1540
|
+
encode(message: QueryUpgradedClientStateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1016
1541
|
if (message.upgradedClientState !== undefined) {
|
|
1017
1542
|
Any.encode(message.upgradedClientState, writer.uint32(10).fork()).ldelim();
|
|
1018
1543
|
}
|
|
1019
|
-
|
|
1020
1544
|
return writer;
|
|
1021
1545
|
},
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1546
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedClientStateResponse {
|
|
1547
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1025
1548
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1026
1549
|
const message = createBaseQueryUpgradedClientStateResponse();
|
|
1027
|
-
|
|
1028
1550
|
while (reader.pos < end) {
|
|
1029
1551
|
const tag = reader.uint32();
|
|
1030
|
-
|
|
1031
1552
|
switch (tag >>> 3) {
|
|
1032
1553
|
case 1:
|
|
1033
1554
|
message.upgradedClientState = Any.decode(reader, reader.uint32());
|
|
1034
1555
|
break;
|
|
1035
|
-
|
|
1036
1556
|
default:
|
|
1037
1557
|
reader.skipType(tag & 7);
|
|
1038
1558
|
break;
|
|
1039
1559
|
}
|
|
1040
1560
|
}
|
|
1041
|
-
|
|
1042
1561
|
return message;
|
|
1043
1562
|
},
|
|
1044
|
-
|
|
1045
|
-
fromPartial(object: DeepPartial<QueryUpgradedClientStateResponse>): QueryUpgradedClientStateResponse {
|
|
1563
|
+
fromPartial(object: Partial<QueryUpgradedClientStateResponse>): QueryUpgradedClientStateResponse {
|
|
1046
1564
|
const message = createBaseQueryUpgradedClientStateResponse();
|
|
1047
1565
|
message.upgradedClientState = object.upgradedClientState !== undefined && object.upgradedClientState !== null ? Any.fromPartial(object.upgradedClientState) : undefined;
|
|
1048
1566
|
return message;
|
|
1567
|
+
},
|
|
1568
|
+
fromAmino(object: QueryUpgradedClientStateResponseAmino): QueryUpgradedClientStateResponse {
|
|
1569
|
+
const message = createBaseQueryUpgradedClientStateResponse();
|
|
1570
|
+
if (object.upgraded_client_state !== undefined && object.upgraded_client_state !== null) {
|
|
1571
|
+
message.upgradedClientState = Any.fromAmino(object.upgraded_client_state);
|
|
1572
|
+
}
|
|
1573
|
+
return message;
|
|
1574
|
+
},
|
|
1575
|
+
toAmino(message: QueryUpgradedClientStateResponse): QueryUpgradedClientStateResponseAmino {
|
|
1576
|
+
const obj: any = {};
|
|
1577
|
+
obj.upgraded_client_state = message.upgradedClientState ? Any.toAmino(message.upgradedClientState) : undefined;
|
|
1578
|
+
return obj;
|
|
1579
|
+
},
|
|
1580
|
+
fromAminoMsg(object: QueryUpgradedClientStateResponseAminoMsg): QueryUpgradedClientStateResponse {
|
|
1581
|
+
return QueryUpgradedClientStateResponse.fromAmino(object.value);
|
|
1582
|
+
},
|
|
1583
|
+
toAminoMsg(message: QueryUpgradedClientStateResponse): QueryUpgradedClientStateResponseAminoMsg {
|
|
1584
|
+
return {
|
|
1585
|
+
type: "cosmos-sdk/QueryUpgradedClientStateResponse",
|
|
1586
|
+
value: QueryUpgradedClientStateResponse.toAmino(message)
|
|
1587
|
+
};
|
|
1588
|
+
},
|
|
1589
|
+
fromProtoMsg(message: QueryUpgradedClientStateResponseProtoMsg): QueryUpgradedClientStateResponse {
|
|
1590
|
+
return QueryUpgradedClientStateResponse.decode(message.value);
|
|
1591
|
+
},
|
|
1592
|
+
toProto(message: QueryUpgradedClientStateResponse): Uint8Array {
|
|
1593
|
+
return QueryUpgradedClientStateResponse.encode(message).finish();
|
|
1594
|
+
},
|
|
1595
|
+
toProtoMsg(message: QueryUpgradedClientStateResponse): QueryUpgradedClientStateResponseProtoMsg {
|
|
1596
|
+
return {
|
|
1597
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedClientStateResponse",
|
|
1598
|
+
value: QueryUpgradedClientStateResponse.encode(message).finish()
|
|
1599
|
+
};
|
|
1049
1600
|
}
|
|
1050
|
-
|
|
1051
1601
|
};
|
|
1052
|
-
|
|
1053
1602
|
function createBaseQueryUpgradedConsensusStateRequest(): QueryUpgradedConsensusStateRequest {
|
|
1054
1603
|
return {};
|
|
1055
1604
|
}
|
|
1056
|
-
|
|
1057
1605
|
export const QueryUpgradedConsensusStateRequest = {
|
|
1058
|
-
|
|
1606
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateRequest",
|
|
1607
|
+
encode(_: QueryUpgradedConsensusStateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1059
1608
|
return writer;
|
|
1060
1609
|
},
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1610
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest {
|
|
1611
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1064
1612
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1065
1613
|
const message = createBaseQueryUpgradedConsensusStateRequest();
|
|
1066
|
-
|
|
1067
1614
|
while (reader.pos < end) {
|
|
1068
1615
|
const tag = reader.uint32();
|
|
1069
|
-
|
|
1070
1616
|
switch (tag >>> 3) {
|
|
1071
1617
|
default:
|
|
1072
1618
|
reader.skipType(tag & 7);
|
|
1073
1619
|
break;
|
|
1074
1620
|
}
|
|
1075
1621
|
}
|
|
1076
|
-
|
|
1077
1622
|
return message;
|
|
1078
1623
|
},
|
|
1079
|
-
|
|
1080
|
-
fromPartial(_: DeepPartial<QueryUpgradedConsensusStateRequest>): QueryUpgradedConsensusStateRequest {
|
|
1624
|
+
fromPartial(_: Partial<QueryUpgradedConsensusStateRequest>): QueryUpgradedConsensusStateRequest {
|
|
1081
1625
|
const message = createBaseQueryUpgradedConsensusStateRequest();
|
|
1082
1626
|
return message;
|
|
1627
|
+
},
|
|
1628
|
+
fromAmino(_: QueryUpgradedConsensusStateRequestAmino): QueryUpgradedConsensusStateRequest {
|
|
1629
|
+
const message = createBaseQueryUpgradedConsensusStateRequest();
|
|
1630
|
+
return message;
|
|
1631
|
+
},
|
|
1632
|
+
toAmino(_: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAmino {
|
|
1633
|
+
const obj: any = {};
|
|
1634
|
+
return obj;
|
|
1635
|
+
},
|
|
1636
|
+
fromAminoMsg(object: QueryUpgradedConsensusStateRequestAminoMsg): QueryUpgradedConsensusStateRequest {
|
|
1637
|
+
return QueryUpgradedConsensusStateRequest.fromAmino(object.value);
|
|
1638
|
+
},
|
|
1639
|
+
toAminoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAminoMsg {
|
|
1640
|
+
return {
|
|
1641
|
+
type: "cosmos-sdk/QueryUpgradedConsensusStateRequest",
|
|
1642
|
+
value: QueryUpgradedConsensusStateRequest.toAmino(message)
|
|
1643
|
+
};
|
|
1644
|
+
},
|
|
1645
|
+
fromProtoMsg(message: QueryUpgradedConsensusStateRequestProtoMsg): QueryUpgradedConsensusStateRequest {
|
|
1646
|
+
return QueryUpgradedConsensusStateRequest.decode(message.value);
|
|
1647
|
+
},
|
|
1648
|
+
toProto(message: QueryUpgradedConsensusStateRequest): Uint8Array {
|
|
1649
|
+
return QueryUpgradedConsensusStateRequest.encode(message).finish();
|
|
1650
|
+
},
|
|
1651
|
+
toProtoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestProtoMsg {
|
|
1652
|
+
return {
|
|
1653
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateRequest",
|
|
1654
|
+
value: QueryUpgradedConsensusStateRequest.encode(message).finish()
|
|
1655
|
+
};
|
|
1083
1656
|
}
|
|
1084
|
-
|
|
1085
1657
|
};
|
|
1086
|
-
|
|
1087
1658
|
function createBaseQueryUpgradedConsensusStateResponse(): QueryUpgradedConsensusStateResponse {
|
|
1088
1659
|
return {
|
|
1089
1660
|
upgradedConsensusState: undefined
|
|
1090
1661
|
};
|
|
1091
1662
|
}
|
|
1092
|
-
|
|
1093
1663
|
export const QueryUpgradedConsensusStateResponse = {
|
|
1094
|
-
|
|
1664
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateResponse",
|
|
1665
|
+
encode(message: QueryUpgradedConsensusStateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1095
1666
|
if (message.upgradedConsensusState !== undefined) {
|
|
1096
1667
|
Any.encode(message.upgradedConsensusState, writer.uint32(10).fork()).ldelim();
|
|
1097
1668
|
}
|
|
1098
|
-
|
|
1099
1669
|
return writer;
|
|
1100
1670
|
},
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1671
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse {
|
|
1672
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1104
1673
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1105
1674
|
const message = createBaseQueryUpgradedConsensusStateResponse();
|
|
1106
|
-
|
|
1107
1675
|
while (reader.pos < end) {
|
|
1108
1676
|
const tag = reader.uint32();
|
|
1109
|
-
|
|
1110
1677
|
switch (tag >>> 3) {
|
|
1111
1678
|
case 1:
|
|
1112
1679
|
message.upgradedConsensusState = Any.decode(reader, reader.uint32());
|
|
1113
1680
|
break;
|
|
1114
|
-
|
|
1115
1681
|
default:
|
|
1116
1682
|
reader.skipType(tag & 7);
|
|
1117
1683
|
break;
|
|
1118
1684
|
}
|
|
1119
1685
|
}
|
|
1120
|
-
|
|
1121
1686
|
return message;
|
|
1122
1687
|
},
|
|
1123
|
-
|
|
1124
|
-
fromPartial(object: DeepPartial<QueryUpgradedConsensusStateResponse>): QueryUpgradedConsensusStateResponse {
|
|
1688
|
+
fromPartial(object: Partial<QueryUpgradedConsensusStateResponse>): QueryUpgradedConsensusStateResponse {
|
|
1125
1689
|
const message = createBaseQueryUpgradedConsensusStateResponse();
|
|
1126
1690
|
message.upgradedConsensusState = object.upgradedConsensusState !== undefined && object.upgradedConsensusState !== null ? Any.fromPartial(object.upgradedConsensusState) : undefined;
|
|
1127
1691
|
return message;
|
|
1692
|
+
},
|
|
1693
|
+
fromAmino(object: QueryUpgradedConsensusStateResponseAmino): QueryUpgradedConsensusStateResponse {
|
|
1694
|
+
const message = createBaseQueryUpgradedConsensusStateResponse();
|
|
1695
|
+
if (object.upgraded_consensus_state !== undefined && object.upgraded_consensus_state !== null) {
|
|
1696
|
+
message.upgradedConsensusState = Any.fromAmino(object.upgraded_consensus_state);
|
|
1697
|
+
}
|
|
1698
|
+
return message;
|
|
1699
|
+
},
|
|
1700
|
+
toAmino(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAmino {
|
|
1701
|
+
const obj: any = {};
|
|
1702
|
+
obj.upgraded_consensus_state = message.upgradedConsensusState ? Any.toAmino(message.upgradedConsensusState) : undefined;
|
|
1703
|
+
return obj;
|
|
1704
|
+
},
|
|
1705
|
+
fromAminoMsg(object: QueryUpgradedConsensusStateResponseAminoMsg): QueryUpgradedConsensusStateResponse {
|
|
1706
|
+
return QueryUpgradedConsensusStateResponse.fromAmino(object.value);
|
|
1707
|
+
},
|
|
1708
|
+
toAminoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAminoMsg {
|
|
1709
|
+
return {
|
|
1710
|
+
type: "cosmos-sdk/QueryUpgradedConsensusStateResponse",
|
|
1711
|
+
value: QueryUpgradedConsensusStateResponse.toAmino(message)
|
|
1712
|
+
};
|
|
1713
|
+
},
|
|
1714
|
+
fromProtoMsg(message: QueryUpgradedConsensusStateResponseProtoMsg): QueryUpgradedConsensusStateResponse {
|
|
1715
|
+
return QueryUpgradedConsensusStateResponse.decode(message.value);
|
|
1716
|
+
},
|
|
1717
|
+
toProto(message: QueryUpgradedConsensusStateResponse): Uint8Array {
|
|
1718
|
+
return QueryUpgradedConsensusStateResponse.encode(message).finish();
|
|
1719
|
+
},
|
|
1720
|
+
toProtoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseProtoMsg {
|
|
1721
|
+
return {
|
|
1722
|
+
typeUrl: "/ibc.core.client.v1.QueryUpgradedConsensusStateResponse",
|
|
1723
|
+
value: QueryUpgradedConsensusStateResponse.encode(message).finish()
|
|
1724
|
+
};
|
|
1128
1725
|
}
|
|
1129
|
-
|
|
1130
1726
|
};
|