juno-network 0.15.1 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +0 -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 +254 -127
- 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 +271 -144
- 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 +271 -144
- 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 +319 -192
- 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 +338 -155
- 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 +271 -144
- 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 +268 -141
- 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 +47 -0
- 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 +47 -0
- 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 +47 -0
- 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 +47 -0
- 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 +67 -0
- 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 +47 -0
- 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 +47 -0
- 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 +6 -6
- 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 +0 -17
- 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 +0 -34
- 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 +0 -24
- 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 +0 -27
- 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 +0 -27
- 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 +47 -0
- 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 +0 -47
- 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 +0 -14
- 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 +0 -14
- 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 +47 -0
- 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 +0 -36
- 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 +0 -4
- 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 +47 -0
- 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 +180 -172
- package/src/codegen/ibc/applications/transfer/v1/genesis.ts +67 -26
- package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +0 -10
- 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 +0 -37
- 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 +0 -24
- 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 +0 -14
- 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 +47 -0
- 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 +6 -3
- 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 +0 -18
- 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 +67 -0
- 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 +7 -9
- 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 +47 -0
- 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 +0 -8
- 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 +47 -0
- 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 +0 -4
- 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
@@ -1,204 +1,320 @@
|
|
1
|
-
import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination";
|
2
|
-
import { ContractInfo, ContractInfoSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType, Model, ModelSDKType, AccessConfig, AccessConfigSDKType, Params, ParamsSDKType } from "./types";
|
3
|
-
import
|
4
|
-
import {
|
1
|
+
import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination";
|
2
|
+
import { ContractInfo, ContractInfoAmino, ContractInfoSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntryAmino, ContractCodeHistoryEntrySDKType, Model, ModelAmino, ModelSDKType, AccessConfig, AccessConfigAmino, AccessConfigSDKType, Params, ParamsAmino, ParamsSDKType } from "./types";
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
4
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
5
|
+
import { toUtf8, fromUtf8 } from "@cosmjs/encoding";
|
5
6
|
/**
|
6
7
|
* QueryContractInfoRequest is the request type for the Query/ContractInfo RPC
|
7
8
|
* method
|
8
9
|
*/
|
9
|
-
|
10
10
|
export interface QueryContractInfoRequest {
|
11
11
|
/** address is the address of the contract to query */
|
12
12
|
address: string;
|
13
13
|
}
|
14
|
+
export interface QueryContractInfoRequestProtoMsg {
|
15
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractInfoRequest";
|
16
|
+
value: Uint8Array;
|
17
|
+
}
|
14
18
|
/**
|
15
19
|
* QueryContractInfoRequest is the request type for the Query/ContractInfo RPC
|
16
20
|
* method
|
17
21
|
*/
|
18
|
-
|
19
|
-
export interface QueryContractInfoRequestSDKType {
|
22
|
+
export interface QueryContractInfoRequestAmino {
|
20
23
|
/** address is the address of the contract to query */
|
24
|
+
address?: string;
|
25
|
+
}
|
26
|
+
export interface QueryContractInfoRequestAminoMsg {
|
27
|
+
type: "wasm/QueryContractInfoRequest";
|
28
|
+
value: QueryContractInfoRequestAmino;
|
29
|
+
}
|
30
|
+
/**
|
31
|
+
* QueryContractInfoRequest is the request type for the Query/ContractInfo RPC
|
32
|
+
* method
|
33
|
+
*/
|
34
|
+
export interface QueryContractInfoRequestSDKType {
|
21
35
|
address: string;
|
22
36
|
}
|
23
37
|
/**
|
24
38
|
* QueryContractInfoResponse is the response type for the Query/ContractInfo RPC
|
25
39
|
* method
|
26
40
|
*/
|
27
|
-
|
28
41
|
export interface QueryContractInfoResponse {
|
29
42
|
/** address is the address of the contract */
|
30
43
|
address: string;
|
31
|
-
contractInfo
|
44
|
+
contractInfo: ContractInfo;
|
45
|
+
}
|
46
|
+
export interface QueryContractInfoResponseProtoMsg {
|
47
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractInfoResponse";
|
48
|
+
value: Uint8Array;
|
32
49
|
}
|
33
50
|
/**
|
34
51
|
* QueryContractInfoResponse is the response type for the Query/ContractInfo RPC
|
35
52
|
* method
|
36
53
|
*/
|
37
|
-
|
38
|
-
export interface QueryContractInfoResponseSDKType {
|
54
|
+
export interface QueryContractInfoResponseAmino {
|
39
55
|
/** address is the address of the contract */
|
56
|
+
address?: string;
|
57
|
+
contract_info?: ContractInfoAmino;
|
58
|
+
}
|
59
|
+
export interface QueryContractInfoResponseAminoMsg {
|
60
|
+
type: "wasm/QueryContractInfoResponse";
|
61
|
+
value: QueryContractInfoResponseAmino;
|
62
|
+
}
|
63
|
+
/**
|
64
|
+
* QueryContractInfoResponse is the response type for the Query/ContractInfo RPC
|
65
|
+
* method
|
66
|
+
*/
|
67
|
+
export interface QueryContractInfoResponseSDKType {
|
40
68
|
address: string;
|
41
|
-
contract_info
|
69
|
+
contract_info: ContractInfoSDKType;
|
42
70
|
}
|
43
71
|
/**
|
44
72
|
* QueryContractHistoryRequest is the request type for the Query/ContractHistory
|
45
73
|
* RPC method
|
46
74
|
*/
|
47
|
-
|
48
75
|
export interface QueryContractHistoryRequest {
|
49
76
|
/** address is the address of the contract to query */
|
50
77
|
address: string;
|
51
78
|
/** pagination defines an optional pagination for the request. */
|
52
|
-
|
53
79
|
pagination?: PageRequest;
|
54
80
|
}
|
81
|
+
export interface QueryContractHistoryRequestProtoMsg {
|
82
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractHistoryRequest";
|
83
|
+
value: Uint8Array;
|
84
|
+
}
|
55
85
|
/**
|
56
86
|
* QueryContractHistoryRequest is the request type for the Query/ContractHistory
|
57
87
|
* RPC method
|
58
88
|
*/
|
59
|
-
|
60
|
-
export interface QueryContractHistoryRequestSDKType {
|
89
|
+
export interface QueryContractHistoryRequestAmino {
|
61
90
|
/** address is the address of the contract to query */
|
62
|
-
address
|
91
|
+
address?: string;
|
63
92
|
/** pagination defines an optional pagination for the request. */
|
64
|
-
|
93
|
+
pagination?: PageRequestAmino;
|
94
|
+
}
|
95
|
+
export interface QueryContractHistoryRequestAminoMsg {
|
96
|
+
type: "wasm/QueryContractHistoryRequest";
|
97
|
+
value: QueryContractHistoryRequestAmino;
|
98
|
+
}
|
99
|
+
/**
|
100
|
+
* QueryContractHistoryRequest is the request type for the Query/ContractHistory
|
101
|
+
* RPC method
|
102
|
+
*/
|
103
|
+
export interface QueryContractHistoryRequestSDKType {
|
104
|
+
address: string;
|
65
105
|
pagination?: PageRequestSDKType;
|
66
106
|
}
|
67
107
|
/**
|
68
108
|
* QueryContractHistoryResponse is the response type for the
|
69
109
|
* Query/ContractHistory RPC method
|
70
110
|
*/
|
71
|
-
|
72
111
|
export interface QueryContractHistoryResponse {
|
73
112
|
entries: ContractCodeHistoryEntry[];
|
74
113
|
/** pagination defines the pagination in the response. */
|
75
|
-
|
76
114
|
pagination?: PageResponse;
|
77
115
|
}
|
116
|
+
export interface QueryContractHistoryResponseProtoMsg {
|
117
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractHistoryResponse";
|
118
|
+
value: Uint8Array;
|
119
|
+
}
|
120
|
+
/**
|
121
|
+
* QueryContractHistoryResponse is the response type for the
|
122
|
+
* Query/ContractHistory RPC method
|
123
|
+
*/
|
124
|
+
export interface QueryContractHistoryResponseAmino {
|
125
|
+
entries?: ContractCodeHistoryEntryAmino[];
|
126
|
+
/** pagination defines the pagination in the response. */
|
127
|
+
pagination?: PageResponseAmino;
|
128
|
+
}
|
129
|
+
export interface QueryContractHistoryResponseAminoMsg {
|
130
|
+
type: "wasm/QueryContractHistoryResponse";
|
131
|
+
value: QueryContractHistoryResponseAmino;
|
132
|
+
}
|
78
133
|
/**
|
79
134
|
* QueryContractHistoryResponse is the response type for the
|
80
135
|
* Query/ContractHistory RPC method
|
81
136
|
*/
|
82
|
-
|
83
137
|
export interface QueryContractHistoryResponseSDKType {
|
84
138
|
entries: ContractCodeHistoryEntrySDKType[];
|
85
|
-
/** pagination defines the pagination in the response. */
|
86
|
-
|
87
139
|
pagination?: PageResponseSDKType;
|
88
140
|
}
|
89
141
|
/**
|
90
142
|
* QueryContractsByCodeRequest is the request type for the Query/ContractsByCode
|
91
143
|
* RPC method
|
92
144
|
*/
|
93
|
-
|
94
145
|
export interface QueryContractsByCodeRequest {
|
95
146
|
/**
|
96
147
|
* grpc-gateway_out does not support Go style CodID
|
97
148
|
* pagination defines an optional pagination for the request.
|
98
149
|
*/
|
99
|
-
codeId:
|
150
|
+
codeId: bigint;
|
100
151
|
pagination?: PageRequest;
|
101
152
|
}
|
153
|
+
export interface QueryContractsByCodeRequestProtoMsg {
|
154
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCodeRequest";
|
155
|
+
value: Uint8Array;
|
156
|
+
}
|
102
157
|
/**
|
103
158
|
* QueryContractsByCodeRequest is the request type for the Query/ContractsByCode
|
104
159
|
* RPC method
|
105
160
|
*/
|
106
|
-
|
107
|
-
export interface QueryContractsByCodeRequestSDKType {
|
161
|
+
export interface QueryContractsByCodeRequestAmino {
|
108
162
|
/**
|
109
163
|
* grpc-gateway_out does not support Go style CodID
|
110
164
|
* pagination defines an optional pagination for the request.
|
111
165
|
*/
|
112
|
-
code_id
|
166
|
+
code_id?: string;
|
167
|
+
pagination?: PageRequestAmino;
|
168
|
+
}
|
169
|
+
export interface QueryContractsByCodeRequestAminoMsg {
|
170
|
+
type: "wasm/QueryContractsByCodeRequest";
|
171
|
+
value: QueryContractsByCodeRequestAmino;
|
172
|
+
}
|
173
|
+
/**
|
174
|
+
* QueryContractsByCodeRequest is the request type for the Query/ContractsByCode
|
175
|
+
* RPC method
|
176
|
+
*/
|
177
|
+
export interface QueryContractsByCodeRequestSDKType {
|
178
|
+
code_id: bigint;
|
113
179
|
pagination?: PageRequestSDKType;
|
114
180
|
}
|
115
181
|
/**
|
116
182
|
* QueryContractsByCodeResponse is the response type for the
|
117
183
|
* Query/ContractsByCode RPC method
|
118
184
|
*/
|
119
|
-
|
120
185
|
export interface QueryContractsByCodeResponse {
|
121
186
|
/** contracts are a set of contract addresses */
|
122
187
|
contracts: string[];
|
123
188
|
/** pagination defines the pagination in the response. */
|
124
|
-
|
125
189
|
pagination?: PageResponse;
|
126
190
|
}
|
191
|
+
export interface QueryContractsByCodeResponseProtoMsg {
|
192
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCodeResponse";
|
193
|
+
value: Uint8Array;
|
194
|
+
}
|
127
195
|
/**
|
128
196
|
* QueryContractsByCodeResponse is the response type for the
|
129
197
|
* Query/ContractsByCode RPC method
|
130
198
|
*/
|
131
|
-
|
132
|
-
export interface QueryContractsByCodeResponseSDKType {
|
199
|
+
export interface QueryContractsByCodeResponseAmino {
|
133
200
|
/** contracts are a set of contract addresses */
|
134
|
-
contracts
|
201
|
+
contracts?: string[];
|
135
202
|
/** pagination defines the pagination in the response. */
|
136
|
-
|
203
|
+
pagination?: PageResponseAmino;
|
204
|
+
}
|
205
|
+
export interface QueryContractsByCodeResponseAminoMsg {
|
206
|
+
type: "wasm/QueryContractsByCodeResponse";
|
207
|
+
value: QueryContractsByCodeResponseAmino;
|
208
|
+
}
|
209
|
+
/**
|
210
|
+
* QueryContractsByCodeResponse is the response type for the
|
211
|
+
* Query/ContractsByCode RPC method
|
212
|
+
*/
|
213
|
+
export interface QueryContractsByCodeResponseSDKType {
|
214
|
+
contracts: string[];
|
137
215
|
pagination?: PageResponseSDKType;
|
138
216
|
}
|
139
217
|
/**
|
140
218
|
* QueryAllContractStateRequest is the request type for the
|
141
219
|
* Query/AllContractState RPC method
|
142
220
|
*/
|
143
|
-
|
144
221
|
export interface QueryAllContractStateRequest {
|
145
222
|
/** address is the address of the contract */
|
146
223
|
address: string;
|
147
224
|
/** pagination defines an optional pagination for the request. */
|
148
|
-
|
149
225
|
pagination?: PageRequest;
|
150
226
|
}
|
227
|
+
export interface QueryAllContractStateRequestProtoMsg {
|
228
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryAllContractStateRequest";
|
229
|
+
value: Uint8Array;
|
230
|
+
}
|
151
231
|
/**
|
152
232
|
* QueryAllContractStateRequest is the request type for the
|
153
233
|
* Query/AllContractState RPC method
|
154
234
|
*/
|
155
|
-
|
156
|
-
export interface QueryAllContractStateRequestSDKType {
|
235
|
+
export interface QueryAllContractStateRequestAmino {
|
157
236
|
/** address is the address of the contract */
|
158
|
-
address
|
237
|
+
address?: string;
|
159
238
|
/** pagination defines an optional pagination for the request. */
|
160
|
-
|
239
|
+
pagination?: PageRequestAmino;
|
240
|
+
}
|
241
|
+
export interface QueryAllContractStateRequestAminoMsg {
|
242
|
+
type: "wasm/QueryAllContractStateRequest";
|
243
|
+
value: QueryAllContractStateRequestAmino;
|
244
|
+
}
|
245
|
+
/**
|
246
|
+
* QueryAllContractStateRequest is the request type for the
|
247
|
+
* Query/AllContractState RPC method
|
248
|
+
*/
|
249
|
+
export interface QueryAllContractStateRequestSDKType {
|
250
|
+
address: string;
|
161
251
|
pagination?: PageRequestSDKType;
|
162
252
|
}
|
163
253
|
/**
|
164
254
|
* QueryAllContractStateResponse is the response type for the
|
165
255
|
* Query/AllContractState RPC method
|
166
256
|
*/
|
167
|
-
|
168
257
|
export interface QueryAllContractStateResponse {
|
169
258
|
models: Model[];
|
170
259
|
/** pagination defines the pagination in the response. */
|
171
|
-
|
172
260
|
pagination?: PageResponse;
|
173
261
|
}
|
262
|
+
export interface QueryAllContractStateResponseProtoMsg {
|
263
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryAllContractStateResponse";
|
264
|
+
value: Uint8Array;
|
265
|
+
}
|
266
|
+
/**
|
267
|
+
* QueryAllContractStateResponse is the response type for the
|
268
|
+
* Query/AllContractState RPC method
|
269
|
+
*/
|
270
|
+
export interface QueryAllContractStateResponseAmino {
|
271
|
+
models?: ModelAmino[];
|
272
|
+
/** pagination defines the pagination in the response. */
|
273
|
+
pagination?: PageResponseAmino;
|
274
|
+
}
|
275
|
+
export interface QueryAllContractStateResponseAminoMsg {
|
276
|
+
type: "wasm/QueryAllContractStateResponse";
|
277
|
+
value: QueryAllContractStateResponseAmino;
|
278
|
+
}
|
174
279
|
/**
|
175
280
|
* QueryAllContractStateResponse is the response type for the
|
176
281
|
* Query/AllContractState RPC method
|
177
282
|
*/
|
178
|
-
|
179
283
|
export interface QueryAllContractStateResponseSDKType {
|
180
284
|
models: ModelSDKType[];
|
181
|
-
/** pagination defines the pagination in the response. */
|
182
|
-
|
183
285
|
pagination?: PageResponseSDKType;
|
184
286
|
}
|
185
287
|
/**
|
186
288
|
* QueryRawContractStateRequest is the request type for the
|
187
289
|
* Query/RawContractState RPC method
|
188
290
|
*/
|
189
|
-
|
190
291
|
export interface QueryRawContractStateRequest {
|
191
292
|
/** address is the address of the contract */
|
192
293
|
address: string;
|
193
294
|
queryData: Uint8Array;
|
194
295
|
}
|
296
|
+
export interface QueryRawContractStateRequestProtoMsg {
|
297
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryRawContractStateRequest";
|
298
|
+
value: Uint8Array;
|
299
|
+
}
|
195
300
|
/**
|
196
301
|
* QueryRawContractStateRequest is the request type for the
|
197
302
|
* Query/RawContractState RPC method
|
198
303
|
*/
|
199
|
-
|
200
|
-
export interface QueryRawContractStateRequestSDKType {
|
304
|
+
export interface QueryRawContractStateRequestAmino {
|
201
305
|
/** address is the address of the contract */
|
306
|
+
address?: string;
|
307
|
+
query_data?: string;
|
308
|
+
}
|
309
|
+
export interface QueryRawContractStateRequestAminoMsg {
|
310
|
+
type: "wasm/QueryRawContractStateRequest";
|
311
|
+
value: QueryRawContractStateRequestAmino;
|
312
|
+
}
|
313
|
+
/**
|
314
|
+
* QueryRawContractStateRequest is the request type for the
|
315
|
+
* Query/RawContractState RPC method
|
316
|
+
*/
|
317
|
+
export interface QueryRawContractStateRequestSDKType {
|
202
318
|
address: string;
|
203
319
|
query_data: Uint8Array;
|
204
320
|
}
|
@@ -206,1440 +322,2190 @@ export interface QueryRawContractStateRequestSDKType {
|
|
206
322
|
* QueryRawContractStateResponse is the response type for the
|
207
323
|
* Query/RawContractState RPC method
|
208
324
|
*/
|
209
|
-
|
210
325
|
export interface QueryRawContractStateResponse {
|
211
326
|
/** Data contains the raw store data */
|
212
327
|
data: Uint8Array;
|
213
328
|
}
|
329
|
+
export interface QueryRawContractStateResponseProtoMsg {
|
330
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryRawContractStateResponse";
|
331
|
+
value: Uint8Array;
|
332
|
+
}
|
214
333
|
/**
|
215
334
|
* QueryRawContractStateResponse is the response type for the
|
216
335
|
* Query/RawContractState RPC method
|
217
336
|
*/
|
218
|
-
|
219
|
-
export interface QueryRawContractStateResponseSDKType {
|
337
|
+
export interface QueryRawContractStateResponseAmino {
|
220
338
|
/** Data contains the raw store data */
|
339
|
+
data?: string;
|
340
|
+
}
|
341
|
+
export interface QueryRawContractStateResponseAminoMsg {
|
342
|
+
type: "wasm/QueryRawContractStateResponse";
|
343
|
+
value: QueryRawContractStateResponseAmino;
|
344
|
+
}
|
345
|
+
/**
|
346
|
+
* QueryRawContractStateResponse is the response type for the
|
347
|
+
* Query/RawContractState RPC method
|
348
|
+
*/
|
349
|
+
export interface QueryRawContractStateResponseSDKType {
|
221
350
|
data: Uint8Array;
|
222
351
|
}
|
223
352
|
/**
|
224
353
|
* QuerySmartContractStateRequest is the request type for the
|
225
354
|
* Query/SmartContractState RPC method
|
226
355
|
*/
|
227
|
-
|
228
356
|
export interface QuerySmartContractStateRequest {
|
229
357
|
/** address is the address of the contract */
|
230
358
|
address: string;
|
231
359
|
/** QueryData contains the query data passed to the contract */
|
232
|
-
|
233
360
|
queryData: Uint8Array;
|
234
361
|
}
|
362
|
+
export interface QuerySmartContractStateRequestProtoMsg {
|
363
|
+
typeUrl: "/cosmwasm.wasm.v1.QuerySmartContractStateRequest";
|
364
|
+
value: Uint8Array;
|
365
|
+
}
|
235
366
|
/**
|
236
367
|
* QuerySmartContractStateRequest is the request type for the
|
237
368
|
* Query/SmartContractState RPC method
|
238
369
|
*/
|
239
|
-
|
240
|
-
export interface QuerySmartContractStateRequestSDKType {
|
370
|
+
export interface QuerySmartContractStateRequestAmino {
|
241
371
|
/** address is the address of the contract */
|
242
|
-
address
|
372
|
+
address?: string;
|
243
373
|
/** QueryData contains the query data passed to the contract */
|
244
|
-
|
374
|
+
query_data?: any;
|
375
|
+
}
|
376
|
+
export interface QuerySmartContractStateRequestAminoMsg {
|
377
|
+
type: "wasm/QuerySmartContractStateRequest";
|
378
|
+
value: QuerySmartContractStateRequestAmino;
|
379
|
+
}
|
380
|
+
/**
|
381
|
+
* QuerySmartContractStateRequest is the request type for the
|
382
|
+
* Query/SmartContractState RPC method
|
383
|
+
*/
|
384
|
+
export interface QuerySmartContractStateRequestSDKType {
|
385
|
+
address: string;
|
245
386
|
query_data: Uint8Array;
|
246
387
|
}
|
247
388
|
/**
|
248
389
|
* QuerySmartContractStateResponse is the response type for the
|
249
390
|
* Query/SmartContractState RPC method
|
250
391
|
*/
|
251
|
-
|
252
392
|
export interface QuerySmartContractStateResponse {
|
253
393
|
/** Data contains the json data returned from the smart contract */
|
254
394
|
data: Uint8Array;
|
255
395
|
}
|
396
|
+
export interface QuerySmartContractStateResponseProtoMsg {
|
397
|
+
typeUrl: "/cosmwasm.wasm.v1.QuerySmartContractStateResponse";
|
398
|
+
value: Uint8Array;
|
399
|
+
}
|
256
400
|
/**
|
257
401
|
* QuerySmartContractStateResponse is the response type for the
|
258
402
|
* Query/SmartContractState RPC method
|
259
403
|
*/
|
260
|
-
|
261
|
-
export interface QuerySmartContractStateResponseSDKType {
|
404
|
+
export interface QuerySmartContractStateResponseAmino {
|
262
405
|
/** Data contains the json data returned from the smart contract */
|
406
|
+
data?: any;
|
407
|
+
}
|
408
|
+
export interface QuerySmartContractStateResponseAminoMsg {
|
409
|
+
type: "wasm/QuerySmartContractStateResponse";
|
410
|
+
value: QuerySmartContractStateResponseAmino;
|
411
|
+
}
|
412
|
+
/**
|
413
|
+
* QuerySmartContractStateResponse is the response type for the
|
414
|
+
* Query/SmartContractState RPC method
|
415
|
+
*/
|
416
|
+
export interface QuerySmartContractStateResponseSDKType {
|
263
417
|
data: Uint8Array;
|
264
418
|
}
|
265
419
|
/** QueryCodeRequest is the request type for the Query/Code RPC method */
|
266
|
-
|
267
420
|
export interface QueryCodeRequest {
|
268
421
|
/** grpc-gateway_out does not support Go style CodID */
|
269
|
-
codeId:
|
422
|
+
codeId: bigint;
|
423
|
+
}
|
424
|
+
export interface QueryCodeRequestProtoMsg {
|
425
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryCodeRequest";
|
426
|
+
value: Uint8Array;
|
427
|
+
}
|
428
|
+
/** QueryCodeRequest is the request type for the Query/Code RPC method */
|
429
|
+
export interface QueryCodeRequestAmino {
|
430
|
+
/** grpc-gateway_out does not support Go style CodID */
|
431
|
+
code_id?: string;
|
432
|
+
}
|
433
|
+
export interface QueryCodeRequestAminoMsg {
|
434
|
+
type: "wasm/QueryCodeRequest";
|
435
|
+
value: QueryCodeRequestAmino;
|
270
436
|
}
|
271
437
|
/** QueryCodeRequest is the request type for the Query/Code RPC method */
|
272
|
-
|
273
438
|
export interface QueryCodeRequestSDKType {
|
274
|
-
|
275
|
-
code_id: Long;
|
439
|
+
code_id: bigint;
|
276
440
|
}
|
277
441
|
/** CodeInfoResponse contains code meta data from CodeInfo */
|
278
|
-
|
279
442
|
export interface CodeInfoResponse {
|
280
|
-
codeId:
|
443
|
+
codeId: bigint;
|
281
444
|
creator: string;
|
282
445
|
dataHash: Uint8Array;
|
283
|
-
instantiatePermission
|
446
|
+
instantiatePermission: AccessConfig;
|
447
|
+
}
|
448
|
+
export interface CodeInfoResponseProtoMsg {
|
449
|
+
typeUrl: "/cosmwasm.wasm.v1.CodeInfoResponse";
|
450
|
+
value: Uint8Array;
|
451
|
+
}
|
452
|
+
/** CodeInfoResponse contains code meta data from CodeInfo */
|
453
|
+
export interface CodeInfoResponseAmino {
|
454
|
+
code_id?: string;
|
455
|
+
creator?: string;
|
456
|
+
data_hash?: string;
|
457
|
+
instantiate_permission?: AccessConfigAmino;
|
458
|
+
}
|
459
|
+
export interface CodeInfoResponseAminoMsg {
|
460
|
+
type: "wasm/CodeInfoResponse";
|
461
|
+
value: CodeInfoResponseAmino;
|
284
462
|
}
|
285
463
|
/** CodeInfoResponse contains code meta data from CodeInfo */
|
286
|
-
|
287
464
|
export interface CodeInfoResponseSDKType {
|
288
|
-
code_id:
|
465
|
+
code_id: bigint;
|
289
466
|
creator: string;
|
290
467
|
data_hash: Uint8Array;
|
291
|
-
instantiate_permission
|
468
|
+
instantiate_permission: AccessConfigSDKType;
|
292
469
|
}
|
293
470
|
/** QueryCodeResponse is the response type for the Query/Code RPC method */
|
294
|
-
|
295
471
|
export interface QueryCodeResponse {
|
296
472
|
codeInfo?: CodeInfoResponse;
|
297
473
|
data: Uint8Array;
|
298
474
|
}
|
475
|
+
export interface QueryCodeResponseProtoMsg {
|
476
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryCodeResponse";
|
477
|
+
value: Uint8Array;
|
478
|
+
}
|
479
|
+
/** QueryCodeResponse is the response type for the Query/Code RPC method */
|
480
|
+
export interface QueryCodeResponseAmino {
|
481
|
+
code_info?: CodeInfoResponseAmino;
|
482
|
+
data?: string;
|
483
|
+
}
|
484
|
+
export interface QueryCodeResponseAminoMsg {
|
485
|
+
type: "wasm/QueryCodeResponse";
|
486
|
+
value: QueryCodeResponseAmino;
|
487
|
+
}
|
299
488
|
/** QueryCodeResponse is the response type for the Query/Code RPC method */
|
300
|
-
|
301
489
|
export interface QueryCodeResponseSDKType {
|
302
490
|
code_info?: CodeInfoResponseSDKType;
|
303
491
|
data: Uint8Array;
|
304
492
|
}
|
305
493
|
/** QueryCodesRequest is the request type for the Query/Codes RPC method */
|
306
|
-
|
307
494
|
export interface QueryCodesRequest {
|
308
495
|
/** pagination defines an optional pagination for the request. */
|
309
496
|
pagination?: PageRequest;
|
310
497
|
}
|
498
|
+
export interface QueryCodesRequestProtoMsg {
|
499
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryCodesRequest";
|
500
|
+
value: Uint8Array;
|
501
|
+
}
|
311
502
|
/** QueryCodesRequest is the request type for the Query/Codes RPC method */
|
312
|
-
|
313
|
-
export interface QueryCodesRequestSDKType {
|
503
|
+
export interface QueryCodesRequestAmino {
|
314
504
|
/** pagination defines an optional pagination for the request. */
|
505
|
+
pagination?: PageRequestAmino;
|
506
|
+
}
|
507
|
+
export interface QueryCodesRequestAminoMsg {
|
508
|
+
type: "wasm/QueryCodesRequest";
|
509
|
+
value: QueryCodesRequestAmino;
|
510
|
+
}
|
511
|
+
/** QueryCodesRequest is the request type for the Query/Codes RPC method */
|
512
|
+
export interface QueryCodesRequestSDKType {
|
315
513
|
pagination?: PageRequestSDKType;
|
316
514
|
}
|
317
515
|
/** QueryCodesResponse is the response type for the Query/Codes RPC method */
|
318
|
-
|
319
516
|
export interface QueryCodesResponse {
|
320
517
|
codeInfos: CodeInfoResponse[];
|
321
518
|
/** pagination defines the pagination in the response. */
|
322
|
-
|
323
519
|
pagination?: PageResponse;
|
324
520
|
}
|
521
|
+
export interface QueryCodesResponseProtoMsg {
|
522
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryCodesResponse";
|
523
|
+
value: Uint8Array;
|
524
|
+
}
|
525
|
+
/** QueryCodesResponse is the response type for the Query/Codes RPC method */
|
526
|
+
export interface QueryCodesResponseAmino {
|
527
|
+
code_infos?: CodeInfoResponseAmino[];
|
528
|
+
/** pagination defines the pagination in the response. */
|
529
|
+
pagination?: PageResponseAmino;
|
530
|
+
}
|
531
|
+
export interface QueryCodesResponseAminoMsg {
|
532
|
+
type: "wasm/QueryCodesResponse";
|
533
|
+
value: QueryCodesResponseAmino;
|
534
|
+
}
|
325
535
|
/** QueryCodesResponse is the response type for the Query/Codes RPC method */
|
326
|
-
|
327
536
|
export interface QueryCodesResponseSDKType {
|
328
537
|
code_infos: CodeInfoResponseSDKType[];
|
329
|
-
/** pagination defines the pagination in the response. */
|
330
|
-
|
331
538
|
pagination?: PageResponseSDKType;
|
332
539
|
}
|
333
540
|
/**
|
334
541
|
* QueryPinnedCodesRequest is the request type for the Query/PinnedCodes
|
335
542
|
* RPC method
|
336
543
|
*/
|
337
|
-
|
338
544
|
export interface QueryPinnedCodesRequest {
|
339
545
|
/** pagination defines an optional pagination for the request. */
|
340
546
|
pagination?: PageRequest;
|
341
547
|
}
|
548
|
+
export interface QueryPinnedCodesRequestProtoMsg {
|
549
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryPinnedCodesRequest";
|
550
|
+
value: Uint8Array;
|
551
|
+
}
|
342
552
|
/**
|
343
553
|
* QueryPinnedCodesRequest is the request type for the Query/PinnedCodes
|
344
554
|
* RPC method
|
345
555
|
*/
|
346
|
-
|
347
|
-
export interface QueryPinnedCodesRequestSDKType {
|
556
|
+
export interface QueryPinnedCodesRequestAmino {
|
348
557
|
/** pagination defines an optional pagination for the request. */
|
558
|
+
pagination?: PageRequestAmino;
|
559
|
+
}
|
560
|
+
export interface QueryPinnedCodesRequestAminoMsg {
|
561
|
+
type: "wasm/QueryPinnedCodesRequest";
|
562
|
+
value: QueryPinnedCodesRequestAmino;
|
563
|
+
}
|
564
|
+
/**
|
565
|
+
* QueryPinnedCodesRequest is the request type for the Query/PinnedCodes
|
566
|
+
* RPC method
|
567
|
+
*/
|
568
|
+
export interface QueryPinnedCodesRequestSDKType {
|
349
569
|
pagination?: PageRequestSDKType;
|
350
570
|
}
|
351
571
|
/**
|
352
572
|
* QueryPinnedCodesResponse is the response type for the
|
353
573
|
* Query/PinnedCodes RPC method
|
354
574
|
*/
|
355
|
-
|
356
575
|
export interface QueryPinnedCodesResponse {
|
357
|
-
codeIds:
|
576
|
+
codeIds: bigint[];
|
358
577
|
/** pagination defines the pagination in the response. */
|
359
|
-
|
360
578
|
pagination?: PageResponse;
|
361
579
|
}
|
580
|
+
export interface QueryPinnedCodesResponseProtoMsg {
|
581
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryPinnedCodesResponse";
|
582
|
+
value: Uint8Array;
|
583
|
+
}
|
362
584
|
/**
|
363
585
|
* QueryPinnedCodesResponse is the response type for the
|
364
586
|
* Query/PinnedCodes RPC method
|
365
587
|
*/
|
366
|
-
|
367
|
-
|
368
|
-
code_ids: Long[];
|
588
|
+
export interface QueryPinnedCodesResponseAmino {
|
589
|
+
code_ids?: string[];
|
369
590
|
/** pagination defines the pagination in the response. */
|
370
|
-
|
591
|
+
pagination?: PageResponseAmino;
|
592
|
+
}
|
593
|
+
export interface QueryPinnedCodesResponseAminoMsg {
|
594
|
+
type: "wasm/QueryPinnedCodesResponse";
|
595
|
+
value: QueryPinnedCodesResponseAmino;
|
596
|
+
}
|
597
|
+
/**
|
598
|
+
* QueryPinnedCodesResponse is the response type for the
|
599
|
+
* Query/PinnedCodes RPC method
|
600
|
+
*/
|
601
|
+
export interface QueryPinnedCodesResponseSDKType {
|
602
|
+
code_ids: bigint[];
|
371
603
|
pagination?: PageResponseSDKType;
|
372
604
|
}
|
373
605
|
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
374
|
-
|
375
606
|
export interface QueryParamsRequest {}
|
607
|
+
export interface QueryParamsRequestProtoMsg {
|
608
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryParamsRequest";
|
609
|
+
value: Uint8Array;
|
610
|
+
}
|
611
|
+
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
612
|
+
export interface QueryParamsRequestAmino {}
|
613
|
+
export interface QueryParamsRequestAminoMsg {
|
614
|
+
type: "wasm/QueryParamsRequest";
|
615
|
+
value: QueryParamsRequestAmino;
|
616
|
+
}
|
376
617
|
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
377
|
-
|
378
618
|
export interface QueryParamsRequestSDKType {}
|
379
619
|
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
380
|
-
|
381
620
|
export interface QueryParamsResponse {
|
382
621
|
/** params defines the parameters of the module. */
|
383
|
-
params
|
622
|
+
params: Params;
|
623
|
+
}
|
624
|
+
export interface QueryParamsResponseProtoMsg {
|
625
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryParamsResponse";
|
626
|
+
value: Uint8Array;
|
384
627
|
}
|
385
628
|
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
386
|
-
|
387
|
-
export interface QueryParamsResponseSDKType {
|
629
|
+
export interface QueryParamsResponseAmino {
|
388
630
|
/** params defines the parameters of the module. */
|
389
|
-
params?:
|
631
|
+
params?: ParamsAmino;
|
632
|
+
}
|
633
|
+
export interface QueryParamsResponseAminoMsg {
|
634
|
+
type: "wasm/QueryParamsResponse";
|
635
|
+
value: QueryParamsResponseAmino;
|
636
|
+
}
|
637
|
+
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
638
|
+
export interface QueryParamsResponseSDKType {
|
639
|
+
params: ParamsSDKType;
|
390
640
|
}
|
391
641
|
/**
|
392
642
|
* QueryContractsByCreatorRequest is the request type for the
|
393
643
|
* Query/ContractsByCreator RPC method.
|
394
644
|
*/
|
395
|
-
|
396
645
|
export interface QueryContractsByCreatorRequest {
|
397
646
|
/** CreatorAddress is the address of contract creator */
|
398
647
|
creatorAddress: string;
|
399
648
|
/** Pagination defines an optional pagination for the request. */
|
400
|
-
|
401
649
|
pagination?: PageRequest;
|
402
650
|
}
|
651
|
+
export interface QueryContractsByCreatorRequestProtoMsg {
|
652
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCreatorRequest";
|
653
|
+
value: Uint8Array;
|
654
|
+
}
|
403
655
|
/**
|
404
656
|
* QueryContractsByCreatorRequest is the request type for the
|
405
657
|
* Query/ContractsByCreator RPC method.
|
406
658
|
*/
|
407
|
-
|
408
|
-
export interface QueryContractsByCreatorRequestSDKType {
|
659
|
+
export interface QueryContractsByCreatorRequestAmino {
|
409
660
|
/** CreatorAddress is the address of contract creator */
|
410
|
-
creator_address
|
661
|
+
creator_address?: string;
|
411
662
|
/** Pagination defines an optional pagination for the request. */
|
412
|
-
|
663
|
+
pagination?: PageRequestAmino;
|
664
|
+
}
|
665
|
+
export interface QueryContractsByCreatorRequestAminoMsg {
|
666
|
+
type: "wasm/QueryContractsByCreatorRequest";
|
667
|
+
value: QueryContractsByCreatorRequestAmino;
|
668
|
+
}
|
669
|
+
/**
|
670
|
+
* QueryContractsByCreatorRequest is the request type for the
|
671
|
+
* Query/ContractsByCreator RPC method.
|
672
|
+
*/
|
673
|
+
export interface QueryContractsByCreatorRequestSDKType {
|
674
|
+
creator_address: string;
|
413
675
|
pagination?: PageRequestSDKType;
|
414
676
|
}
|
415
677
|
/**
|
416
678
|
* QueryContractsByCreatorResponse is the response type for the
|
417
679
|
* Query/ContractsByCreator RPC method.
|
418
680
|
*/
|
419
|
-
|
420
681
|
export interface QueryContractsByCreatorResponse {
|
421
682
|
/** ContractAddresses result set */
|
422
683
|
contractAddresses: string[];
|
423
684
|
/** Pagination defines the pagination in the response. */
|
424
|
-
|
425
685
|
pagination?: PageResponse;
|
426
686
|
}
|
687
|
+
export interface QueryContractsByCreatorResponseProtoMsg {
|
688
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCreatorResponse";
|
689
|
+
value: Uint8Array;
|
690
|
+
}
|
427
691
|
/**
|
428
692
|
* QueryContractsByCreatorResponse is the response type for the
|
429
693
|
* Query/ContractsByCreator RPC method.
|
430
694
|
*/
|
431
|
-
|
432
|
-
export interface QueryContractsByCreatorResponseSDKType {
|
695
|
+
export interface QueryContractsByCreatorResponseAmino {
|
433
696
|
/** ContractAddresses result set */
|
434
|
-
contract_addresses
|
697
|
+
contract_addresses?: string[];
|
435
698
|
/** Pagination defines the pagination in the response. */
|
436
|
-
|
699
|
+
pagination?: PageResponseAmino;
|
700
|
+
}
|
701
|
+
export interface QueryContractsByCreatorResponseAminoMsg {
|
702
|
+
type: "wasm/QueryContractsByCreatorResponse";
|
703
|
+
value: QueryContractsByCreatorResponseAmino;
|
704
|
+
}
|
705
|
+
/**
|
706
|
+
* QueryContractsByCreatorResponse is the response type for the
|
707
|
+
* Query/ContractsByCreator RPC method.
|
708
|
+
*/
|
709
|
+
export interface QueryContractsByCreatorResponseSDKType {
|
710
|
+
contract_addresses: string[];
|
437
711
|
pagination?: PageResponseSDKType;
|
438
712
|
}
|
439
|
-
|
440
713
|
function createBaseQueryContractInfoRequest(): QueryContractInfoRequest {
|
441
714
|
return {
|
442
715
|
address: ""
|
443
716
|
};
|
444
717
|
}
|
445
|
-
|
446
718
|
export const QueryContractInfoRequest = {
|
447
|
-
|
719
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractInfoRequest",
|
720
|
+
encode(message: QueryContractInfoRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
448
721
|
if (message.address !== "") {
|
449
722
|
writer.uint32(10).string(message.address);
|
450
723
|
}
|
451
|
-
|
452
724
|
return writer;
|
453
725
|
},
|
454
|
-
|
455
|
-
|
456
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
726
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryContractInfoRequest {
|
727
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
457
728
|
let end = length === undefined ? reader.len : reader.pos + length;
|
458
729
|
const message = createBaseQueryContractInfoRequest();
|
459
|
-
|
460
730
|
while (reader.pos < end) {
|
461
731
|
const tag = reader.uint32();
|
462
|
-
|
463
732
|
switch (tag >>> 3) {
|
464
733
|
case 1:
|
465
734
|
message.address = reader.string();
|
466
735
|
break;
|
467
|
-
|
468
736
|
default:
|
469
737
|
reader.skipType(tag & 7);
|
470
738
|
break;
|
471
739
|
}
|
472
740
|
}
|
473
|
-
|
474
741
|
return message;
|
475
742
|
},
|
476
|
-
|
477
|
-
fromPartial(object: DeepPartial<QueryContractInfoRequest>): QueryContractInfoRequest {
|
743
|
+
fromPartial(object: Partial<QueryContractInfoRequest>): QueryContractInfoRequest {
|
478
744
|
const message = createBaseQueryContractInfoRequest();
|
479
745
|
message.address = object.address ?? "";
|
480
746
|
return message;
|
747
|
+
},
|
748
|
+
fromAmino(object: QueryContractInfoRequestAmino): QueryContractInfoRequest {
|
749
|
+
const message = createBaseQueryContractInfoRequest();
|
750
|
+
if (object.address !== undefined && object.address !== null) {
|
751
|
+
message.address = object.address;
|
752
|
+
}
|
753
|
+
return message;
|
754
|
+
},
|
755
|
+
toAmino(message: QueryContractInfoRequest): QueryContractInfoRequestAmino {
|
756
|
+
const obj: any = {};
|
757
|
+
obj.address = message.address;
|
758
|
+
return obj;
|
759
|
+
},
|
760
|
+
fromAminoMsg(object: QueryContractInfoRequestAminoMsg): QueryContractInfoRequest {
|
761
|
+
return QueryContractInfoRequest.fromAmino(object.value);
|
762
|
+
},
|
763
|
+
toAminoMsg(message: QueryContractInfoRequest): QueryContractInfoRequestAminoMsg {
|
764
|
+
return {
|
765
|
+
type: "wasm/QueryContractInfoRequest",
|
766
|
+
value: QueryContractInfoRequest.toAmino(message)
|
767
|
+
};
|
768
|
+
},
|
769
|
+
fromProtoMsg(message: QueryContractInfoRequestProtoMsg): QueryContractInfoRequest {
|
770
|
+
return QueryContractInfoRequest.decode(message.value);
|
771
|
+
},
|
772
|
+
toProto(message: QueryContractInfoRequest): Uint8Array {
|
773
|
+
return QueryContractInfoRequest.encode(message).finish();
|
774
|
+
},
|
775
|
+
toProtoMsg(message: QueryContractInfoRequest): QueryContractInfoRequestProtoMsg {
|
776
|
+
return {
|
777
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractInfoRequest",
|
778
|
+
value: QueryContractInfoRequest.encode(message).finish()
|
779
|
+
};
|
481
780
|
}
|
482
|
-
|
483
781
|
};
|
484
|
-
|
485
782
|
function createBaseQueryContractInfoResponse(): QueryContractInfoResponse {
|
486
783
|
return {
|
487
784
|
address: "",
|
488
|
-
contractInfo:
|
785
|
+
contractInfo: ContractInfo.fromPartial({})
|
489
786
|
};
|
490
787
|
}
|
491
|
-
|
492
788
|
export const QueryContractInfoResponse = {
|
493
|
-
|
789
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractInfoResponse",
|
790
|
+
encode(message: QueryContractInfoResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
494
791
|
if (message.address !== "") {
|
495
792
|
writer.uint32(10).string(message.address);
|
496
793
|
}
|
497
|
-
|
498
794
|
if (message.contractInfo !== undefined) {
|
499
795
|
ContractInfo.encode(message.contractInfo, writer.uint32(18).fork()).ldelim();
|
500
796
|
}
|
501
|
-
|
502
797
|
return writer;
|
503
798
|
},
|
504
|
-
|
505
|
-
|
506
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
799
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryContractInfoResponse {
|
800
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
507
801
|
let end = length === undefined ? reader.len : reader.pos + length;
|
508
802
|
const message = createBaseQueryContractInfoResponse();
|
509
|
-
|
510
803
|
while (reader.pos < end) {
|
511
804
|
const tag = reader.uint32();
|
512
|
-
|
513
805
|
switch (tag >>> 3) {
|
514
806
|
case 1:
|
515
807
|
message.address = reader.string();
|
516
808
|
break;
|
517
|
-
|
518
809
|
case 2:
|
519
810
|
message.contractInfo = ContractInfo.decode(reader, reader.uint32());
|
520
811
|
break;
|
521
|
-
|
522
812
|
default:
|
523
813
|
reader.skipType(tag & 7);
|
524
814
|
break;
|
525
815
|
}
|
526
816
|
}
|
527
|
-
|
528
817
|
return message;
|
529
818
|
},
|
530
|
-
|
531
|
-
fromPartial(object: DeepPartial<QueryContractInfoResponse>): QueryContractInfoResponse {
|
819
|
+
fromPartial(object: Partial<QueryContractInfoResponse>): QueryContractInfoResponse {
|
532
820
|
const message = createBaseQueryContractInfoResponse();
|
533
821
|
message.address = object.address ?? "";
|
534
822
|
message.contractInfo = object.contractInfo !== undefined && object.contractInfo !== null ? ContractInfo.fromPartial(object.contractInfo) : undefined;
|
535
823
|
return message;
|
824
|
+
},
|
825
|
+
fromAmino(object: QueryContractInfoResponseAmino): QueryContractInfoResponse {
|
826
|
+
const message = createBaseQueryContractInfoResponse();
|
827
|
+
if (object.address !== undefined && object.address !== null) {
|
828
|
+
message.address = object.address;
|
829
|
+
}
|
830
|
+
if (object.contract_info !== undefined && object.contract_info !== null) {
|
831
|
+
message.contractInfo = ContractInfo.fromAmino(object.contract_info);
|
832
|
+
}
|
833
|
+
return message;
|
834
|
+
},
|
835
|
+
toAmino(message: QueryContractInfoResponse): QueryContractInfoResponseAmino {
|
836
|
+
const obj: any = {};
|
837
|
+
obj.address = message.address;
|
838
|
+
obj.contract_info = message.contractInfo ? ContractInfo.toAmino(message.contractInfo) : undefined;
|
839
|
+
return obj;
|
840
|
+
},
|
841
|
+
fromAminoMsg(object: QueryContractInfoResponseAminoMsg): QueryContractInfoResponse {
|
842
|
+
return QueryContractInfoResponse.fromAmino(object.value);
|
843
|
+
},
|
844
|
+
toAminoMsg(message: QueryContractInfoResponse): QueryContractInfoResponseAminoMsg {
|
845
|
+
return {
|
846
|
+
type: "wasm/QueryContractInfoResponse",
|
847
|
+
value: QueryContractInfoResponse.toAmino(message)
|
848
|
+
};
|
849
|
+
},
|
850
|
+
fromProtoMsg(message: QueryContractInfoResponseProtoMsg): QueryContractInfoResponse {
|
851
|
+
return QueryContractInfoResponse.decode(message.value);
|
852
|
+
},
|
853
|
+
toProto(message: QueryContractInfoResponse): Uint8Array {
|
854
|
+
return QueryContractInfoResponse.encode(message).finish();
|
855
|
+
},
|
856
|
+
toProtoMsg(message: QueryContractInfoResponse): QueryContractInfoResponseProtoMsg {
|
857
|
+
return {
|
858
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractInfoResponse",
|
859
|
+
value: QueryContractInfoResponse.encode(message).finish()
|
860
|
+
};
|
536
861
|
}
|
537
|
-
|
538
862
|
};
|
539
|
-
|
540
863
|
function createBaseQueryContractHistoryRequest(): QueryContractHistoryRequest {
|
541
864
|
return {
|
542
865
|
address: "",
|
543
866
|
pagination: undefined
|
544
867
|
};
|
545
868
|
}
|
546
|
-
|
547
869
|
export const QueryContractHistoryRequest = {
|
548
|
-
|
870
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractHistoryRequest",
|
871
|
+
encode(message: QueryContractHistoryRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
549
872
|
if (message.address !== "") {
|
550
873
|
writer.uint32(10).string(message.address);
|
551
874
|
}
|
552
|
-
|
553
875
|
if (message.pagination !== undefined) {
|
554
876
|
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
555
877
|
}
|
556
|
-
|
557
878
|
return writer;
|
558
879
|
},
|
559
|
-
|
560
|
-
|
561
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
880
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryContractHistoryRequest {
|
881
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
562
882
|
let end = length === undefined ? reader.len : reader.pos + length;
|
563
883
|
const message = createBaseQueryContractHistoryRequest();
|
564
|
-
|
565
884
|
while (reader.pos < end) {
|
566
885
|
const tag = reader.uint32();
|
567
|
-
|
568
886
|
switch (tag >>> 3) {
|
569
887
|
case 1:
|
570
888
|
message.address = reader.string();
|
571
889
|
break;
|
572
|
-
|
573
890
|
case 2:
|
574
891
|
message.pagination = PageRequest.decode(reader, reader.uint32());
|
575
892
|
break;
|
576
|
-
|
577
893
|
default:
|
578
894
|
reader.skipType(tag & 7);
|
579
895
|
break;
|
580
896
|
}
|
581
897
|
}
|
582
|
-
|
583
898
|
return message;
|
584
899
|
},
|
585
|
-
|
586
|
-
fromPartial(object: DeepPartial<QueryContractHistoryRequest>): QueryContractHistoryRequest {
|
900
|
+
fromPartial(object: Partial<QueryContractHistoryRequest>): QueryContractHistoryRequest {
|
587
901
|
const message = createBaseQueryContractHistoryRequest();
|
588
902
|
message.address = object.address ?? "";
|
589
903
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
590
904
|
return message;
|
905
|
+
},
|
906
|
+
fromAmino(object: QueryContractHistoryRequestAmino): QueryContractHistoryRequest {
|
907
|
+
const message = createBaseQueryContractHistoryRequest();
|
908
|
+
if (object.address !== undefined && object.address !== null) {
|
909
|
+
message.address = object.address;
|
910
|
+
}
|
911
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
912
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
913
|
+
}
|
914
|
+
return message;
|
915
|
+
},
|
916
|
+
toAmino(message: QueryContractHistoryRequest): QueryContractHistoryRequestAmino {
|
917
|
+
const obj: any = {};
|
918
|
+
obj.address = message.address;
|
919
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
920
|
+
return obj;
|
921
|
+
},
|
922
|
+
fromAminoMsg(object: QueryContractHistoryRequestAminoMsg): QueryContractHistoryRequest {
|
923
|
+
return QueryContractHistoryRequest.fromAmino(object.value);
|
924
|
+
},
|
925
|
+
toAminoMsg(message: QueryContractHistoryRequest): QueryContractHistoryRequestAminoMsg {
|
926
|
+
return {
|
927
|
+
type: "wasm/QueryContractHistoryRequest",
|
928
|
+
value: QueryContractHistoryRequest.toAmino(message)
|
929
|
+
};
|
930
|
+
},
|
931
|
+
fromProtoMsg(message: QueryContractHistoryRequestProtoMsg): QueryContractHistoryRequest {
|
932
|
+
return QueryContractHistoryRequest.decode(message.value);
|
933
|
+
},
|
934
|
+
toProto(message: QueryContractHistoryRequest): Uint8Array {
|
935
|
+
return QueryContractHistoryRequest.encode(message).finish();
|
936
|
+
},
|
937
|
+
toProtoMsg(message: QueryContractHistoryRequest): QueryContractHistoryRequestProtoMsg {
|
938
|
+
return {
|
939
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractHistoryRequest",
|
940
|
+
value: QueryContractHistoryRequest.encode(message).finish()
|
941
|
+
};
|
591
942
|
}
|
592
|
-
|
593
943
|
};
|
594
|
-
|
595
944
|
function createBaseQueryContractHistoryResponse(): QueryContractHistoryResponse {
|
596
945
|
return {
|
597
946
|
entries: [],
|
598
947
|
pagination: undefined
|
599
948
|
};
|
600
949
|
}
|
601
|
-
|
602
950
|
export const QueryContractHistoryResponse = {
|
603
|
-
|
951
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractHistoryResponse",
|
952
|
+
encode(message: QueryContractHistoryResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
604
953
|
for (const v of message.entries) {
|
605
954
|
ContractCodeHistoryEntry.encode(v!, writer.uint32(10).fork()).ldelim();
|
606
955
|
}
|
607
|
-
|
608
956
|
if (message.pagination !== undefined) {
|
609
957
|
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
610
958
|
}
|
611
|
-
|
612
959
|
return writer;
|
613
960
|
},
|
614
|
-
|
615
|
-
|
616
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
961
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryContractHistoryResponse {
|
962
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
617
963
|
let end = length === undefined ? reader.len : reader.pos + length;
|
618
964
|
const message = createBaseQueryContractHistoryResponse();
|
619
|
-
|
620
965
|
while (reader.pos < end) {
|
621
966
|
const tag = reader.uint32();
|
622
|
-
|
623
967
|
switch (tag >>> 3) {
|
624
968
|
case 1:
|
625
969
|
message.entries.push(ContractCodeHistoryEntry.decode(reader, reader.uint32()));
|
626
970
|
break;
|
627
|
-
|
628
971
|
case 2:
|
629
972
|
message.pagination = PageResponse.decode(reader, reader.uint32());
|
630
973
|
break;
|
631
|
-
|
632
974
|
default:
|
633
975
|
reader.skipType(tag & 7);
|
634
976
|
break;
|
635
977
|
}
|
636
978
|
}
|
637
|
-
|
638
979
|
return message;
|
639
980
|
},
|
640
|
-
|
641
|
-
fromPartial(object: DeepPartial<QueryContractHistoryResponse>): QueryContractHistoryResponse {
|
981
|
+
fromPartial(object: Partial<QueryContractHistoryResponse>): QueryContractHistoryResponse {
|
642
982
|
const message = createBaseQueryContractHistoryResponse();
|
643
983
|
message.entries = object.entries?.map(e => ContractCodeHistoryEntry.fromPartial(e)) || [];
|
644
984
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
645
985
|
return message;
|
986
|
+
},
|
987
|
+
fromAmino(object: QueryContractHistoryResponseAmino): QueryContractHistoryResponse {
|
988
|
+
const message = createBaseQueryContractHistoryResponse();
|
989
|
+
message.entries = object.entries?.map(e => ContractCodeHistoryEntry.fromAmino(e)) || [];
|
990
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
991
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
992
|
+
}
|
993
|
+
return message;
|
994
|
+
},
|
995
|
+
toAmino(message: QueryContractHistoryResponse): QueryContractHistoryResponseAmino {
|
996
|
+
const obj: any = {};
|
997
|
+
if (message.entries) {
|
998
|
+
obj.entries = message.entries.map(e => e ? ContractCodeHistoryEntry.toAmino(e) : undefined);
|
999
|
+
} else {
|
1000
|
+
obj.entries = [];
|
1001
|
+
}
|
1002
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
1003
|
+
return obj;
|
1004
|
+
},
|
1005
|
+
fromAminoMsg(object: QueryContractHistoryResponseAminoMsg): QueryContractHistoryResponse {
|
1006
|
+
return QueryContractHistoryResponse.fromAmino(object.value);
|
1007
|
+
},
|
1008
|
+
toAminoMsg(message: QueryContractHistoryResponse): QueryContractHistoryResponseAminoMsg {
|
1009
|
+
return {
|
1010
|
+
type: "wasm/QueryContractHistoryResponse",
|
1011
|
+
value: QueryContractHistoryResponse.toAmino(message)
|
1012
|
+
};
|
1013
|
+
},
|
1014
|
+
fromProtoMsg(message: QueryContractHistoryResponseProtoMsg): QueryContractHistoryResponse {
|
1015
|
+
return QueryContractHistoryResponse.decode(message.value);
|
1016
|
+
},
|
1017
|
+
toProto(message: QueryContractHistoryResponse): Uint8Array {
|
1018
|
+
return QueryContractHistoryResponse.encode(message).finish();
|
1019
|
+
},
|
1020
|
+
toProtoMsg(message: QueryContractHistoryResponse): QueryContractHistoryResponseProtoMsg {
|
1021
|
+
return {
|
1022
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractHistoryResponse",
|
1023
|
+
value: QueryContractHistoryResponse.encode(message).finish()
|
1024
|
+
};
|
646
1025
|
}
|
647
|
-
|
648
1026
|
};
|
649
|
-
|
650
1027
|
function createBaseQueryContractsByCodeRequest(): QueryContractsByCodeRequest {
|
651
1028
|
return {
|
652
|
-
codeId:
|
1029
|
+
codeId: BigInt(0),
|
653
1030
|
pagination: undefined
|
654
1031
|
};
|
655
1032
|
}
|
656
|
-
|
657
1033
|
export const QueryContractsByCodeRequest = {
|
658
|
-
|
659
|
-
|
1034
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCodeRequest",
|
1035
|
+
encode(message: QueryContractsByCodeRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1036
|
+
if (message.codeId !== BigInt(0)) {
|
660
1037
|
writer.uint32(8).uint64(message.codeId);
|
661
1038
|
}
|
662
|
-
|
663
1039
|
if (message.pagination !== undefined) {
|
664
1040
|
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
665
1041
|
}
|
666
|
-
|
667
1042
|
return writer;
|
668
1043
|
},
|
669
|
-
|
670
|
-
|
671
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1044
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryContractsByCodeRequest {
|
1045
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
672
1046
|
let end = length === undefined ? reader.len : reader.pos + length;
|
673
1047
|
const message = createBaseQueryContractsByCodeRequest();
|
674
|
-
|
675
1048
|
while (reader.pos < end) {
|
676
1049
|
const tag = reader.uint32();
|
677
|
-
|
678
1050
|
switch (tag >>> 3) {
|
679
1051
|
case 1:
|
680
|
-
message.codeId =
|
1052
|
+
message.codeId = reader.uint64();
|
681
1053
|
break;
|
682
|
-
|
683
1054
|
case 2:
|
684
1055
|
message.pagination = PageRequest.decode(reader, reader.uint32());
|
685
1056
|
break;
|
686
|
-
|
687
1057
|
default:
|
688
1058
|
reader.skipType(tag & 7);
|
689
1059
|
break;
|
690
1060
|
}
|
691
1061
|
}
|
692
|
-
|
693
1062
|
return message;
|
694
1063
|
},
|
695
|
-
|
696
|
-
fromPartial(object: DeepPartial<QueryContractsByCodeRequest>): QueryContractsByCodeRequest {
|
1064
|
+
fromPartial(object: Partial<QueryContractsByCodeRequest>): QueryContractsByCodeRequest {
|
697
1065
|
const message = createBaseQueryContractsByCodeRequest();
|
698
|
-
message.codeId = object.codeId !== undefined && object.codeId !== null ?
|
1066
|
+
message.codeId = object.codeId !== undefined && object.codeId !== null ? BigInt(object.codeId.toString()) : BigInt(0);
|
699
1067
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
700
1068
|
return message;
|
1069
|
+
},
|
1070
|
+
fromAmino(object: QueryContractsByCodeRequestAmino): QueryContractsByCodeRequest {
|
1071
|
+
const message = createBaseQueryContractsByCodeRequest();
|
1072
|
+
if (object.code_id !== undefined && object.code_id !== null) {
|
1073
|
+
message.codeId = BigInt(object.code_id);
|
1074
|
+
}
|
1075
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
1076
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
1077
|
+
}
|
1078
|
+
return message;
|
1079
|
+
},
|
1080
|
+
toAmino(message: QueryContractsByCodeRequest): QueryContractsByCodeRequestAmino {
|
1081
|
+
const obj: any = {};
|
1082
|
+
obj.code_id = message.codeId ? message.codeId.toString() : undefined;
|
1083
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
1084
|
+
return obj;
|
1085
|
+
},
|
1086
|
+
fromAminoMsg(object: QueryContractsByCodeRequestAminoMsg): QueryContractsByCodeRequest {
|
1087
|
+
return QueryContractsByCodeRequest.fromAmino(object.value);
|
1088
|
+
},
|
1089
|
+
toAminoMsg(message: QueryContractsByCodeRequest): QueryContractsByCodeRequestAminoMsg {
|
1090
|
+
return {
|
1091
|
+
type: "wasm/QueryContractsByCodeRequest",
|
1092
|
+
value: QueryContractsByCodeRequest.toAmino(message)
|
1093
|
+
};
|
1094
|
+
},
|
1095
|
+
fromProtoMsg(message: QueryContractsByCodeRequestProtoMsg): QueryContractsByCodeRequest {
|
1096
|
+
return QueryContractsByCodeRequest.decode(message.value);
|
1097
|
+
},
|
1098
|
+
toProto(message: QueryContractsByCodeRequest): Uint8Array {
|
1099
|
+
return QueryContractsByCodeRequest.encode(message).finish();
|
1100
|
+
},
|
1101
|
+
toProtoMsg(message: QueryContractsByCodeRequest): QueryContractsByCodeRequestProtoMsg {
|
1102
|
+
return {
|
1103
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCodeRequest",
|
1104
|
+
value: QueryContractsByCodeRequest.encode(message).finish()
|
1105
|
+
};
|
701
1106
|
}
|
702
|
-
|
703
1107
|
};
|
704
|
-
|
705
1108
|
function createBaseQueryContractsByCodeResponse(): QueryContractsByCodeResponse {
|
706
1109
|
return {
|
707
1110
|
contracts: [],
|
708
1111
|
pagination: undefined
|
709
1112
|
};
|
710
1113
|
}
|
711
|
-
|
712
1114
|
export const QueryContractsByCodeResponse = {
|
713
|
-
|
1115
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCodeResponse",
|
1116
|
+
encode(message: QueryContractsByCodeResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
714
1117
|
for (const v of message.contracts) {
|
715
1118
|
writer.uint32(10).string(v!);
|
716
1119
|
}
|
717
|
-
|
718
1120
|
if (message.pagination !== undefined) {
|
719
1121
|
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
720
1122
|
}
|
721
|
-
|
722
1123
|
return writer;
|
723
1124
|
},
|
724
|
-
|
725
|
-
|
726
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1125
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryContractsByCodeResponse {
|
1126
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
727
1127
|
let end = length === undefined ? reader.len : reader.pos + length;
|
728
1128
|
const message = createBaseQueryContractsByCodeResponse();
|
729
|
-
|
730
1129
|
while (reader.pos < end) {
|
731
1130
|
const tag = reader.uint32();
|
732
|
-
|
733
1131
|
switch (tag >>> 3) {
|
734
1132
|
case 1:
|
735
1133
|
message.contracts.push(reader.string());
|
736
1134
|
break;
|
737
|
-
|
738
1135
|
case 2:
|
739
1136
|
message.pagination = PageResponse.decode(reader, reader.uint32());
|
740
1137
|
break;
|
741
|
-
|
742
1138
|
default:
|
743
1139
|
reader.skipType(tag & 7);
|
744
1140
|
break;
|
745
1141
|
}
|
746
1142
|
}
|
747
|
-
|
748
1143
|
return message;
|
749
1144
|
},
|
750
|
-
|
751
|
-
fromPartial(object: DeepPartial<QueryContractsByCodeResponse>): QueryContractsByCodeResponse {
|
1145
|
+
fromPartial(object: Partial<QueryContractsByCodeResponse>): QueryContractsByCodeResponse {
|
752
1146
|
const message = createBaseQueryContractsByCodeResponse();
|
753
1147
|
message.contracts = object.contracts?.map(e => e) || [];
|
754
1148
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
755
1149
|
return message;
|
1150
|
+
},
|
1151
|
+
fromAmino(object: QueryContractsByCodeResponseAmino): QueryContractsByCodeResponse {
|
1152
|
+
const message = createBaseQueryContractsByCodeResponse();
|
1153
|
+
message.contracts = object.contracts?.map(e => e) || [];
|
1154
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
1155
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
1156
|
+
}
|
1157
|
+
return message;
|
1158
|
+
},
|
1159
|
+
toAmino(message: QueryContractsByCodeResponse): QueryContractsByCodeResponseAmino {
|
1160
|
+
const obj: any = {};
|
1161
|
+
if (message.contracts) {
|
1162
|
+
obj.contracts = message.contracts.map(e => e);
|
1163
|
+
} else {
|
1164
|
+
obj.contracts = [];
|
1165
|
+
}
|
1166
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
1167
|
+
return obj;
|
1168
|
+
},
|
1169
|
+
fromAminoMsg(object: QueryContractsByCodeResponseAminoMsg): QueryContractsByCodeResponse {
|
1170
|
+
return QueryContractsByCodeResponse.fromAmino(object.value);
|
1171
|
+
},
|
1172
|
+
toAminoMsg(message: QueryContractsByCodeResponse): QueryContractsByCodeResponseAminoMsg {
|
1173
|
+
return {
|
1174
|
+
type: "wasm/QueryContractsByCodeResponse",
|
1175
|
+
value: QueryContractsByCodeResponse.toAmino(message)
|
1176
|
+
};
|
1177
|
+
},
|
1178
|
+
fromProtoMsg(message: QueryContractsByCodeResponseProtoMsg): QueryContractsByCodeResponse {
|
1179
|
+
return QueryContractsByCodeResponse.decode(message.value);
|
1180
|
+
},
|
1181
|
+
toProto(message: QueryContractsByCodeResponse): Uint8Array {
|
1182
|
+
return QueryContractsByCodeResponse.encode(message).finish();
|
1183
|
+
},
|
1184
|
+
toProtoMsg(message: QueryContractsByCodeResponse): QueryContractsByCodeResponseProtoMsg {
|
1185
|
+
return {
|
1186
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCodeResponse",
|
1187
|
+
value: QueryContractsByCodeResponse.encode(message).finish()
|
1188
|
+
};
|
756
1189
|
}
|
757
|
-
|
758
1190
|
};
|
759
|
-
|
760
1191
|
function createBaseQueryAllContractStateRequest(): QueryAllContractStateRequest {
|
761
1192
|
return {
|
762
1193
|
address: "",
|
763
1194
|
pagination: undefined
|
764
1195
|
};
|
765
1196
|
}
|
766
|
-
|
767
1197
|
export const QueryAllContractStateRequest = {
|
768
|
-
|
1198
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryAllContractStateRequest",
|
1199
|
+
encode(message: QueryAllContractStateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
769
1200
|
if (message.address !== "") {
|
770
1201
|
writer.uint32(10).string(message.address);
|
771
1202
|
}
|
772
|
-
|
773
1203
|
if (message.pagination !== undefined) {
|
774
1204
|
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
775
1205
|
}
|
776
|
-
|
777
1206
|
return writer;
|
778
1207
|
},
|
779
|
-
|
780
|
-
|
781
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1208
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryAllContractStateRequest {
|
1209
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
782
1210
|
let end = length === undefined ? reader.len : reader.pos + length;
|
783
1211
|
const message = createBaseQueryAllContractStateRequest();
|
784
|
-
|
785
1212
|
while (reader.pos < end) {
|
786
1213
|
const tag = reader.uint32();
|
787
|
-
|
788
1214
|
switch (tag >>> 3) {
|
789
1215
|
case 1:
|
790
1216
|
message.address = reader.string();
|
791
1217
|
break;
|
792
|
-
|
793
1218
|
case 2:
|
794
1219
|
message.pagination = PageRequest.decode(reader, reader.uint32());
|
795
1220
|
break;
|
796
|
-
|
797
1221
|
default:
|
798
1222
|
reader.skipType(tag & 7);
|
799
1223
|
break;
|
800
1224
|
}
|
801
1225
|
}
|
802
|
-
|
803
1226
|
return message;
|
804
1227
|
},
|
805
|
-
|
806
|
-
fromPartial(object: DeepPartial<QueryAllContractStateRequest>): QueryAllContractStateRequest {
|
1228
|
+
fromPartial(object: Partial<QueryAllContractStateRequest>): QueryAllContractStateRequest {
|
807
1229
|
const message = createBaseQueryAllContractStateRequest();
|
808
1230
|
message.address = object.address ?? "";
|
809
1231
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
810
1232
|
return message;
|
1233
|
+
},
|
1234
|
+
fromAmino(object: QueryAllContractStateRequestAmino): QueryAllContractStateRequest {
|
1235
|
+
const message = createBaseQueryAllContractStateRequest();
|
1236
|
+
if (object.address !== undefined && object.address !== null) {
|
1237
|
+
message.address = object.address;
|
1238
|
+
}
|
1239
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
1240
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
1241
|
+
}
|
1242
|
+
return message;
|
1243
|
+
},
|
1244
|
+
toAmino(message: QueryAllContractStateRequest): QueryAllContractStateRequestAmino {
|
1245
|
+
const obj: any = {};
|
1246
|
+
obj.address = message.address;
|
1247
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
1248
|
+
return obj;
|
1249
|
+
},
|
1250
|
+
fromAminoMsg(object: QueryAllContractStateRequestAminoMsg): QueryAllContractStateRequest {
|
1251
|
+
return QueryAllContractStateRequest.fromAmino(object.value);
|
1252
|
+
},
|
1253
|
+
toAminoMsg(message: QueryAllContractStateRequest): QueryAllContractStateRequestAminoMsg {
|
1254
|
+
return {
|
1255
|
+
type: "wasm/QueryAllContractStateRequest",
|
1256
|
+
value: QueryAllContractStateRequest.toAmino(message)
|
1257
|
+
};
|
1258
|
+
},
|
1259
|
+
fromProtoMsg(message: QueryAllContractStateRequestProtoMsg): QueryAllContractStateRequest {
|
1260
|
+
return QueryAllContractStateRequest.decode(message.value);
|
1261
|
+
},
|
1262
|
+
toProto(message: QueryAllContractStateRequest): Uint8Array {
|
1263
|
+
return QueryAllContractStateRequest.encode(message).finish();
|
1264
|
+
},
|
1265
|
+
toProtoMsg(message: QueryAllContractStateRequest): QueryAllContractStateRequestProtoMsg {
|
1266
|
+
return {
|
1267
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryAllContractStateRequest",
|
1268
|
+
value: QueryAllContractStateRequest.encode(message).finish()
|
1269
|
+
};
|
811
1270
|
}
|
812
|
-
|
813
1271
|
};
|
814
|
-
|
815
1272
|
function createBaseQueryAllContractStateResponse(): QueryAllContractStateResponse {
|
816
1273
|
return {
|
817
1274
|
models: [],
|
818
1275
|
pagination: undefined
|
819
1276
|
};
|
820
1277
|
}
|
821
|
-
|
822
1278
|
export const QueryAllContractStateResponse = {
|
823
|
-
|
1279
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryAllContractStateResponse",
|
1280
|
+
encode(message: QueryAllContractStateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
824
1281
|
for (const v of message.models) {
|
825
1282
|
Model.encode(v!, writer.uint32(10).fork()).ldelim();
|
826
1283
|
}
|
827
|
-
|
828
1284
|
if (message.pagination !== undefined) {
|
829
1285
|
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
830
1286
|
}
|
831
|
-
|
832
1287
|
return writer;
|
833
1288
|
},
|
834
|
-
|
835
|
-
|
836
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1289
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryAllContractStateResponse {
|
1290
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
837
1291
|
let end = length === undefined ? reader.len : reader.pos + length;
|
838
1292
|
const message = createBaseQueryAllContractStateResponse();
|
839
|
-
|
840
1293
|
while (reader.pos < end) {
|
841
1294
|
const tag = reader.uint32();
|
842
|
-
|
843
1295
|
switch (tag >>> 3) {
|
844
1296
|
case 1:
|
845
1297
|
message.models.push(Model.decode(reader, reader.uint32()));
|
846
1298
|
break;
|
847
|
-
|
848
1299
|
case 2:
|
849
1300
|
message.pagination = PageResponse.decode(reader, reader.uint32());
|
850
1301
|
break;
|
851
|
-
|
852
1302
|
default:
|
853
1303
|
reader.skipType(tag & 7);
|
854
1304
|
break;
|
855
1305
|
}
|
856
1306
|
}
|
857
|
-
|
858
1307
|
return message;
|
859
1308
|
},
|
860
|
-
|
861
|
-
fromPartial(object: DeepPartial<QueryAllContractStateResponse>): QueryAllContractStateResponse {
|
1309
|
+
fromPartial(object: Partial<QueryAllContractStateResponse>): QueryAllContractStateResponse {
|
862
1310
|
const message = createBaseQueryAllContractStateResponse();
|
863
1311
|
message.models = object.models?.map(e => Model.fromPartial(e)) || [];
|
864
1312
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
865
1313
|
return message;
|
1314
|
+
},
|
1315
|
+
fromAmino(object: QueryAllContractStateResponseAmino): QueryAllContractStateResponse {
|
1316
|
+
const message = createBaseQueryAllContractStateResponse();
|
1317
|
+
message.models = object.models?.map(e => Model.fromAmino(e)) || [];
|
1318
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
1319
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
1320
|
+
}
|
1321
|
+
return message;
|
1322
|
+
},
|
1323
|
+
toAmino(message: QueryAllContractStateResponse): QueryAllContractStateResponseAmino {
|
1324
|
+
const obj: any = {};
|
1325
|
+
if (message.models) {
|
1326
|
+
obj.models = message.models.map(e => e ? Model.toAmino(e) : undefined);
|
1327
|
+
} else {
|
1328
|
+
obj.models = [];
|
1329
|
+
}
|
1330
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
1331
|
+
return obj;
|
1332
|
+
},
|
1333
|
+
fromAminoMsg(object: QueryAllContractStateResponseAminoMsg): QueryAllContractStateResponse {
|
1334
|
+
return QueryAllContractStateResponse.fromAmino(object.value);
|
1335
|
+
},
|
1336
|
+
toAminoMsg(message: QueryAllContractStateResponse): QueryAllContractStateResponseAminoMsg {
|
1337
|
+
return {
|
1338
|
+
type: "wasm/QueryAllContractStateResponse",
|
1339
|
+
value: QueryAllContractStateResponse.toAmino(message)
|
1340
|
+
};
|
1341
|
+
},
|
1342
|
+
fromProtoMsg(message: QueryAllContractStateResponseProtoMsg): QueryAllContractStateResponse {
|
1343
|
+
return QueryAllContractStateResponse.decode(message.value);
|
1344
|
+
},
|
1345
|
+
toProto(message: QueryAllContractStateResponse): Uint8Array {
|
1346
|
+
return QueryAllContractStateResponse.encode(message).finish();
|
1347
|
+
},
|
1348
|
+
toProtoMsg(message: QueryAllContractStateResponse): QueryAllContractStateResponseProtoMsg {
|
1349
|
+
return {
|
1350
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryAllContractStateResponse",
|
1351
|
+
value: QueryAllContractStateResponse.encode(message).finish()
|
1352
|
+
};
|
866
1353
|
}
|
867
|
-
|
868
1354
|
};
|
869
|
-
|
870
1355
|
function createBaseQueryRawContractStateRequest(): QueryRawContractStateRequest {
|
871
1356
|
return {
|
872
1357
|
address: "",
|
873
1358
|
queryData: new Uint8Array()
|
874
1359
|
};
|
875
1360
|
}
|
876
|
-
|
877
1361
|
export const QueryRawContractStateRequest = {
|
878
|
-
|
1362
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryRawContractStateRequest",
|
1363
|
+
encode(message: QueryRawContractStateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
879
1364
|
if (message.address !== "") {
|
880
1365
|
writer.uint32(10).string(message.address);
|
881
1366
|
}
|
882
|
-
|
883
1367
|
if (message.queryData.length !== 0) {
|
884
1368
|
writer.uint32(18).bytes(message.queryData);
|
885
1369
|
}
|
886
|
-
|
887
1370
|
return writer;
|
888
1371
|
},
|
889
|
-
|
890
|
-
|
891
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1372
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryRawContractStateRequest {
|
1373
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
892
1374
|
let end = length === undefined ? reader.len : reader.pos + length;
|
893
1375
|
const message = createBaseQueryRawContractStateRequest();
|
894
|
-
|
895
1376
|
while (reader.pos < end) {
|
896
1377
|
const tag = reader.uint32();
|
897
|
-
|
898
1378
|
switch (tag >>> 3) {
|
899
1379
|
case 1:
|
900
1380
|
message.address = reader.string();
|
901
1381
|
break;
|
902
|
-
|
903
1382
|
case 2:
|
904
1383
|
message.queryData = reader.bytes();
|
905
1384
|
break;
|
906
|
-
|
907
1385
|
default:
|
908
1386
|
reader.skipType(tag & 7);
|
909
1387
|
break;
|
910
1388
|
}
|
911
1389
|
}
|
912
|
-
|
913
1390
|
return message;
|
914
1391
|
},
|
915
|
-
|
916
|
-
fromPartial(object: DeepPartial<QueryRawContractStateRequest>): QueryRawContractStateRequest {
|
1392
|
+
fromPartial(object: Partial<QueryRawContractStateRequest>): QueryRawContractStateRequest {
|
917
1393
|
const message = createBaseQueryRawContractStateRequest();
|
918
1394
|
message.address = object.address ?? "";
|
919
1395
|
message.queryData = object.queryData ?? new Uint8Array();
|
920
1396
|
return message;
|
1397
|
+
},
|
1398
|
+
fromAmino(object: QueryRawContractStateRequestAmino): QueryRawContractStateRequest {
|
1399
|
+
const message = createBaseQueryRawContractStateRequest();
|
1400
|
+
if (object.address !== undefined && object.address !== null) {
|
1401
|
+
message.address = object.address;
|
1402
|
+
}
|
1403
|
+
if (object.query_data !== undefined && object.query_data !== null) {
|
1404
|
+
message.queryData = bytesFromBase64(object.query_data);
|
1405
|
+
}
|
1406
|
+
return message;
|
1407
|
+
},
|
1408
|
+
toAmino(message: QueryRawContractStateRequest): QueryRawContractStateRequestAmino {
|
1409
|
+
const obj: any = {};
|
1410
|
+
obj.address = message.address;
|
1411
|
+
obj.query_data = message.queryData ? base64FromBytes(message.queryData) : undefined;
|
1412
|
+
return obj;
|
1413
|
+
},
|
1414
|
+
fromAminoMsg(object: QueryRawContractStateRequestAminoMsg): QueryRawContractStateRequest {
|
1415
|
+
return QueryRawContractStateRequest.fromAmino(object.value);
|
1416
|
+
},
|
1417
|
+
toAminoMsg(message: QueryRawContractStateRequest): QueryRawContractStateRequestAminoMsg {
|
1418
|
+
return {
|
1419
|
+
type: "wasm/QueryRawContractStateRequest",
|
1420
|
+
value: QueryRawContractStateRequest.toAmino(message)
|
1421
|
+
};
|
1422
|
+
},
|
1423
|
+
fromProtoMsg(message: QueryRawContractStateRequestProtoMsg): QueryRawContractStateRequest {
|
1424
|
+
return QueryRawContractStateRequest.decode(message.value);
|
1425
|
+
},
|
1426
|
+
toProto(message: QueryRawContractStateRequest): Uint8Array {
|
1427
|
+
return QueryRawContractStateRequest.encode(message).finish();
|
1428
|
+
},
|
1429
|
+
toProtoMsg(message: QueryRawContractStateRequest): QueryRawContractStateRequestProtoMsg {
|
1430
|
+
return {
|
1431
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryRawContractStateRequest",
|
1432
|
+
value: QueryRawContractStateRequest.encode(message).finish()
|
1433
|
+
};
|
921
1434
|
}
|
922
|
-
|
923
1435
|
};
|
924
|
-
|
925
1436
|
function createBaseQueryRawContractStateResponse(): QueryRawContractStateResponse {
|
926
1437
|
return {
|
927
1438
|
data: new Uint8Array()
|
928
1439
|
};
|
929
1440
|
}
|
930
|
-
|
931
1441
|
export const QueryRawContractStateResponse = {
|
932
|
-
|
1442
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryRawContractStateResponse",
|
1443
|
+
encode(message: QueryRawContractStateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
933
1444
|
if (message.data.length !== 0) {
|
934
1445
|
writer.uint32(10).bytes(message.data);
|
935
1446
|
}
|
936
|
-
|
937
1447
|
return writer;
|
938
1448
|
},
|
939
|
-
|
940
|
-
|
941
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1449
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryRawContractStateResponse {
|
1450
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
942
1451
|
let end = length === undefined ? reader.len : reader.pos + length;
|
943
1452
|
const message = createBaseQueryRawContractStateResponse();
|
944
|
-
|
945
1453
|
while (reader.pos < end) {
|
946
1454
|
const tag = reader.uint32();
|
947
|
-
|
948
1455
|
switch (tag >>> 3) {
|
949
1456
|
case 1:
|
950
1457
|
message.data = reader.bytes();
|
951
1458
|
break;
|
952
|
-
|
953
1459
|
default:
|
954
1460
|
reader.skipType(tag & 7);
|
955
1461
|
break;
|
956
1462
|
}
|
957
1463
|
}
|
958
|
-
|
959
1464
|
return message;
|
960
1465
|
},
|
961
|
-
|
962
|
-
fromPartial(object: DeepPartial<QueryRawContractStateResponse>): QueryRawContractStateResponse {
|
1466
|
+
fromPartial(object: Partial<QueryRawContractStateResponse>): QueryRawContractStateResponse {
|
963
1467
|
const message = createBaseQueryRawContractStateResponse();
|
964
1468
|
message.data = object.data ?? new Uint8Array();
|
965
1469
|
return message;
|
1470
|
+
},
|
1471
|
+
fromAmino(object: QueryRawContractStateResponseAmino): QueryRawContractStateResponse {
|
1472
|
+
const message = createBaseQueryRawContractStateResponse();
|
1473
|
+
if (object.data !== undefined && object.data !== null) {
|
1474
|
+
message.data = bytesFromBase64(object.data);
|
1475
|
+
}
|
1476
|
+
return message;
|
1477
|
+
},
|
1478
|
+
toAmino(message: QueryRawContractStateResponse): QueryRawContractStateResponseAmino {
|
1479
|
+
const obj: any = {};
|
1480
|
+
obj.data = message.data ? base64FromBytes(message.data) : undefined;
|
1481
|
+
return obj;
|
1482
|
+
},
|
1483
|
+
fromAminoMsg(object: QueryRawContractStateResponseAminoMsg): QueryRawContractStateResponse {
|
1484
|
+
return QueryRawContractStateResponse.fromAmino(object.value);
|
1485
|
+
},
|
1486
|
+
toAminoMsg(message: QueryRawContractStateResponse): QueryRawContractStateResponseAminoMsg {
|
1487
|
+
return {
|
1488
|
+
type: "wasm/QueryRawContractStateResponse",
|
1489
|
+
value: QueryRawContractStateResponse.toAmino(message)
|
1490
|
+
};
|
1491
|
+
},
|
1492
|
+
fromProtoMsg(message: QueryRawContractStateResponseProtoMsg): QueryRawContractStateResponse {
|
1493
|
+
return QueryRawContractStateResponse.decode(message.value);
|
1494
|
+
},
|
1495
|
+
toProto(message: QueryRawContractStateResponse): Uint8Array {
|
1496
|
+
return QueryRawContractStateResponse.encode(message).finish();
|
1497
|
+
},
|
1498
|
+
toProtoMsg(message: QueryRawContractStateResponse): QueryRawContractStateResponseProtoMsg {
|
1499
|
+
return {
|
1500
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryRawContractStateResponse",
|
1501
|
+
value: QueryRawContractStateResponse.encode(message).finish()
|
1502
|
+
};
|
966
1503
|
}
|
967
|
-
|
968
1504
|
};
|
969
|
-
|
970
1505
|
function createBaseQuerySmartContractStateRequest(): QuerySmartContractStateRequest {
|
971
1506
|
return {
|
972
1507
|
address: "",
|
973
1508
|
queryData: new Uint8Array()
|
974
1509
|
};
|
975
1510
|
}
|
976
|
-
|
977
1511
|
export const QuerySmartContractStateRequest = {
|
978
|
-
|
1512
|
+
typeUrl: "/cosmwasm.wasm.v1.QuerySmartContractStateRequest",
|
1513
|
+
encode(message: QuerySmartContractStateRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
979
1514
|
if (message.address !== "") {
|
980
1515
|
writer.uint32(10).string(message.address);
|
981
1516
|
}
|
982
|
-
|
983
1517
|
if (message.queryData.length !== 0) {
|
984
1518
|
writer.uint32(18).bytes(message.queryData);
|
985
1519
|
}
|
986
|
-
|
987
1520
|
return writer;
|
988
1521
|
},
|
989
|
-
|
990
|
-
|
991
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1522
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QuerySmartContractStateRequest {
|
1523
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
992
1524
|
let end = length === undefined ? reader.len : reader.pos + length;
|
993
1525
|
const message = createBaseQuerySmartContractStateRequest();
|
994
|
-
|
995
1526
|
while (reader.pos < end) {
|
996
1527
|
const tag = reader.uint32();
|
997
|
-
|
998
1528
|
switch (tag >>> 3) {
|
999
1529
|
case 1:
|
1000
1530
|
message.address = reader.string();
|
1001
1531
|
break;
|
1002
|
-
|
1003
1532
|
case 2:
|
1004
1533
|
message.queryData = reader.bytes();
|
1005
1534
|
break;
|
1006
|
-
|
1007
1535
|
default:
|
1008
1536
|
reader.skipType(tag & 7);
|
1009
1537
|
break;
|
1010
1538
|
}
|
1011
1539
|
}
|
1012
|
-
|
1013
1540
|
return message;
|
1014
1541
|
},
|
1015
|
-
|
1016
|
-
fromPartial(object: DeepPartial<QuerySmartContractStateRequest>): QuerySmartContractStateRequest {
|
1542
|
+
fromPartial(object: Partial<QuerySmartContractStateRequest>): QuerySmartContractStateRequest {
|
1017
1543
|
const message = createBaseQuerySmartContractStateRequest();
|
1018
1544
|
message.address = object.address ?? "";
|
1019
1545
|
message.queryData = object.queryData ?? new Uint8Array();
|
1020
1546
|
return message;
|
1547
|
+
},
|
1548
|
+
fromAmino(object: QuerySmartContractStateRequestAmino): QuerySmartContractStateRequest {
|
1549
|
+
const message = createBaseQuerySmartContractStateRequest();
|
1550
|
+
if (object.address !== undefined && object.address !== null) {
|
1551
|
+
message.address = object.address;
|
1552
|
+
}
|
1553
|
+
if (object.query_data !== undefined && object.query_data !== null) {
|
1554
|
+
message.queryData = toUtf8(JSON.stringify(object.query_data));
|
1555
|
+
}
|
1556
|
+
return message;
|
1557
|
+
},
|
1558
|
+
toAmino(message: QuerySmartContractStateRequest): QuerySmartContractStateRequestAmino {
|
1559
|
+
const obj: any = {};
|
1560
|
+
obj.address = message.address;
|
1561
|
+
obj.query_data = message.queryData ? JSON.parse(fromUtf8(message.queryData)) : undefined;
|
1562
|
+
return obj;
|
1563
|
+
},
|
1564
|
+
fromAminoMsg(object: QuerySmartContractStateRequestAminoMsg): QuerySmartContractStateRequest {
|
1565
|
+
return QuerySmartContractStateRequest.fromAmino(object.value);
|
1566
|
+
},
|
1567
|
+
toAminoMsg(message: QuerySmartContractStateRequest): QuerySmartContractStateRequestAminoMsg {
|
1568
|
+
return {
|
1569
|
+
type: "wasm/QuerySmartContractStateRequest",
|
1570
|
+
value: QuerySmartContractStateRequest.toAmino(message)
|
1571
|
+
};
|
1572
|
+
},
|
1573
|
+
fromProtoMsg(message: QuerySmartContractStateRequestProtoMsg): QuerySmartContractStateRequest {
|
1574
|
+
return QuerySmartContractStateRequest.decode(message.value);
|
1575
|
+
},
|
1576
|
+
toProto(message: QuerySmartContractStateRequest): Uint8Array {
|
1577
|
+
return QuerySmartContractStateRequest.encode(message).finish();
|
1578
|
+
},
|
1579
|
+
toProtoMsg(message: QuerySmartContractStateRequest): QuerySmartContractStateRequestProtoMsg {
|
1580
|
+
return {
|
1581
|
+
typeUrl: "/cosmwasm.wasm.v1.QuerySmartContractStateRequest",
|
1582
|
+
value: QuerySmartContractStateRequest.encode(message).finish()
|
1583
|
+
};
|
1021
1584
|
}
|
1022
|
-
|
1023
1585
|
};
|
1024
|
-
|
1025
1586
|
function createBaseQuerySmartContractStateResponse(): QuerySmartContractStateResponse {
|
1026
1587
|
return {
|
1027
1588
|
data: new Uint8Array()
|
1028
1589
|
};
|
1029
1590
|
}
|
1030
|
-
|
1031
1591
|
export const QuerySmartContractStateResponse = {
|
1032
|
-
|
1592
|
+
typeUrl: "/cosmwasm.wasm.v1.QuerySmartContractStateResponse",
|
1593
|
+
encode(message: QuerySmartContractStateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1033
1594
|
if (message.data.length !== 0) {
|
1034
1595
|
writer.uint32(10).bytes(message.data);
|
1035
1596
|
}
|
1036
|
-
|
1037
1597
|
return writer;
|
1038
1598
|
},
|
1039
|
-
|
1040
|
-
|
1041
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1599
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QuerySmartContractStateResponse {
|
1600
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1042
1601
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1043
1602
|
const message = createBaseQuerySmartContractStateResponse();
|
1044
|
-
|
1045
1603
|
while (reader.pos < end) {
|
1046
1604
|
const tag = reader.uint32();
|
1047
|
-
|
1048
1605
|
switch (tag >>> 3) {
|
1049
1606
|
case 1:
|
1050
1607
|
message.data = reader.bytes();
|
1051
1608
|
break;
|
1052
|
-
|
1053
1609
|
default:
|
1054
1610
|
reader.skipType(tag & 7);
|
1055
1611
|
break;
|
1056
1612
|
}
|
1057
1613
|
}
|
1058
|
-
|
1059
1614
|
return message;
|
1060
1615
|
},
|
1061
|
-
|
1062
|
-
fromPartial(object: DeepPartial<QuerySmartContractStateResponse>): QuerySmartContractStateResponse {
|
1616
|
+
fromPartial(object: Partial<QuerySmartContractStateResponse>): QuerySmartContractStateResponse {
|
1063
1617
|
const message = createBaseQuerySmartContractStateResponse();
|
1064
1618
|
message.data = object.data ?? new Uint8Array();
|
1065
1619
|
return message;
|
1620
|
+
},
|
1621
|
+
fromAmino(object: QuerySmartContractStateResponseAmino): QuerySmartContractStateResponse {
|
1622
|
+
const message = createBaseQuerySmartContractStateResponse();
|
1623
|
+
if (object.data !== undefined && object.data !== null) {
|
1624
|
+
message.data = toUtf8(JSON.stringify(object.data));
|
1625
|
+
}
|
1626
|
+
return message;
|
1627
|
+
},
|
1628
|
+
toAmino(message: QuerySmartContractStateResponse): QuerySmartContractStateResponseAmino {
|
1629
|
+
const obj: any = {};
|
1630
|
+
obj.data = message.data ? JSON.parse(fromUtf8(message.data)) : undefined;
|
1631
|
+
return obj;
|
1632
|
+
},
|
1633
|
+
fromAminoMsg(object: QuerySmartContractStateResponseAminoMsg): QuerySmartContractStateResponse {
|
1634
|
+
return QuerySmartContractStateResponse.fromAmino(object.value);
|
1635
|
+
},
|
1636
|
+
toAminoMsg(message: QuerySmartContractStateResponse): QuerySmartContractStateResponseAminoMsg {
|
1637
|
+
return {
|
1638
|
+
type: "wasm/QuerySmartContractStateResponse",
|
1639
|
+
value: QuerySmartContractStateResponse.toAmino(message)
|
1640
|
+
};
|
1641
|
+
},
|
1642
|
+
fromProtoMsg(message: QuerySmartContractStateResponseProtoMsg): QuerySmartContractStateResponse {
|
1643
|
+
return QuerySmartContractStateResponse.decode(message.value);
|
1644
|
+
},
|
1645
|
+
toProto(message: QuerySmartContractStateResponse): Uint8Array {
|
1646
|
+
return QuerySmartContractStateResponse.encode(message).finish();
|
1647
|
+
},
|
1648
|
+
toProtoMsg(message: QuerySmartContractStateResponse): QuerySmartContractStateResponseProtoMsg {
|
1649
|
+
return {
|
1650
|
+
typeUrl: "/cosmwasm.wasm.v1.QuerySmartContractStateResponse",
|
1651
|
+
value: QuerySmartContractStateResponse.encode(message).finish()
|
1652
|
+
};
|
1066
1653
|
}
|
1067
|
-
|
1068
1654
|
};
|
1069
|
-
|
1070
1655
|
function createBaseQueryCodeRequest(): QueryCodeRequest {
|
1071
1656
|
return {
|
1072
|
-
codeId:
|
1657
|
+
codeId: BigInt(0)
|
1073
1658
|
};
|
1074
1659
|
}
|
1075
|
-
|
1076
1660
|
export const QueryCodeRequest = {
|
1077
|
-
|
1078
|
-
|
1661
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryCodeRequest",
|
1662
|
+
encode(message: QueryCodeRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1663
|
+
if (message.codeId !== BigInt(0)) {
|
1079
1664
|
writer.uint32(8).uint64(message.codeId);
|
1080
1665
|
}
|
1081
|
-
|
1082
1666
|
return writer;
|
1083
1667
|
},
|
1084
|
-
|
1085
|
-
|
1086
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1668
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryCodeRequest {
|
1669
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1087
1670
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1088
1671
|
const message = createBaseQueryCodeRequest();
|
1089
|
-
|
1090
1672
|
while (reader.pos < end) {
|
1091
1673
|
const tag = reader.uint32();
|
1092
|
-
|
1093
1674
|
switch (tag >>> 3) {
|
1094
1675
|
case 1:
|
1095
|
-
message.codeId =
|
1676
|
+
message.codeId = reader.uint64();
|
1096
1677
|
break;
|
1097
|
-
|
1098
1678
|
default:
|
1099
1679
|
reader.skipType(tag & 7);
|
1100
1680
|
break;
|
1101
1681
|
}
|
1102
1682
|
}
|
1103
|
-
|
1104
1683
|
return message;
|
1105
1684
|
},
|
1106
|
-
|
1107
|
-
fromPartial(object: DeepPartial<QueryCodeRequest>): QueryCodeRequest {
|
1685
|
+
fromPartial(object: Partial<QueryCodeRequest>): QueryCodeRequest {
|
1108
1686
|
const message = createBaseQueryCodeRequest();
|
1109
|
-
message.codeId = object.codeId !== undefined && object.codeId !== null ?
|
1687
|
+
message.codeId = object.codeId !== undefined && object.codeId !== null ? BigInt(object.codeId.toString()) : BigInt(0);
|
1110
1688
|
return message;
|
1689
|
+
},
|
1690
|
+
fromAmino(object: QueryCodeRequestAmino): QueryCodeRequest {
|
1691
|
+
const message = createBaseQueryCodeRequest();
|
1692
|
+
if (object.code_id !== undefined && object.code_id !== null) {
|
1693
|
+
message.codeId = BigInt(object.code_id);
|
1694
|
+
}
|
1695
|
+
return message;
|
1696
|
+
},
|
1697
|
+
toAmino(message: QueryCodeRequest): QueryCodeRequestAmino {
|
1698
|
+
const obj: any = {};
|
1699
|
+
obj.code_id = message.codeId ? message.codeId.toString() : undefined;
|
1700
|
+
return obj;
|
1701
|
+
},
|
1702
|
+
fromAminoMsg(object: QueryCodeRequestAminoMsg): QueryCodeRequest {
|
1703
|
+
return QueryCodeRequest.fromAmino(object.value);
|
1704
|
+
},
|
1705
|
+
toAminoMsg(message: QueryCodeRequest): QueryCodeRequestAminoMsg {
|
1706
|
+
return {
|
1707
|
+
type: "wasm/QueryCodeRequest",
|
1708
|
+
value: QueryCodeRequest.toAmino(message)
|
1709
|
+
};
|
1710
|
+
},
|
1711
|
+
fromProtoMsg(message: QueryCodeRequestProtoMsg): QueryCodeRequest {
|
1712
|
+
return QueryCodeRequest.decode(message.value);
|
1713
|
+
},
|
1714
|
+
toProto(message: QueryCodeRequest): Uint8Array {
|
1715
|
+
return QueryCodeRequest.encode(message).finish();
|
1716
|
+
},
|
1717
|
+
toProtoMsg(message: QueryCodeRequest): QueryCodeRequestProtoMsg {
|
1718
|
+
return {
|
1719
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryCodeRequest",
|
1720
|
+
value: QueryCodeRequest.encode(message).finish()
|
1721
|
+
};
|
1111
1722
|
}
|
1112
|
-
|
1113
1723
|
};
|
1114
|
-
|
1115
1724
|
function createBaseCodeInfoResponse(): CodeInfoResponse {
|
1116
1725
|
return {
|
1117
|
-
codeId:
|
1726
|
+
codeId: BigInt(0),
|
1118
1727
|
creator: "",
|
1119
1728
|
dataHash: new Uint8Array(),
|
1120
|
-
instantiatePermission:
|
1729
|
+
instantiatePermission: AccessConfig.fromPartial({})
|
1121
1730
|
};
|
1122
1731
|
}
|
1123
|
-
|
1124
1732
|
export const CodeInfoResponse = {
|
1125
|
-
|
1126
|
-
|
1733
|
+
typeUrl: "/cosmwasm.wasm.v1.CodeInfoResponse",
|
1734
|
+
encode(message: CodeInfoResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1735
|
+
if (message.codeId !== BigInt(0)) {
|
1127
1736
|
writer.uint32(8).uint64(message.codeId);
|
1128
1737
|
}
|
1129
|
-
|
1130
1738
|
if (message.creator !== "") {
|
1131
1739
|
writer.uint32(18).string(message.creator);
|
1132
1740
|
}
|
1133
|
-
|
1134
1741
|
if (message.dataHash.length !== 0) {
|
1135
1742
|
writer.uint32(26).bytes(message.dataHash);
|
1136
1743
|
}
|
1137
|
-
|
1138
1744
|
if (message.instantiatePermission !== undefined) {
|
1139
1745
|
AccessConfig.encode(message.instantiatePermission, writer.uint32(50).fork()).ldelim();
|
1140
1746
|
}
|
1141
|
-
|
1142
1747
|
return writer;
|
1143
1748
|
},
|
1144
|
-
|
1145
|
-
|
1146
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1749
|
+
decode(input: BinaryReader | Uint8Array, length?: number): CodeInfoResponse {
|
1750
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1147
1751
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1148
1752
|
const message = createBaseCodeInfoResponse();
|
1149
|
-
|
1150
1753
|
while (reader.pos < end) {
|
1151
1754
|
const tag = reader.uint32();
|
1152
|
-
|
1153
1755
|
switch (tag >>> 3) {
|
1154
1756
|
case 1:
|
1155
|
-
message.codeId =
|
1757
|
+
message.codeId = reader.uint64();
|
1156
1758
|
break;
|
1157
|
-
|
1158
1759
|
case 2:
|
1159
1760
|
message.creator = reader.string();
|
1160
1761
|
break;
|
1161
|
-
|
1162
1762
|
case 3:
|
1163
1763
|
message.dataHash = reader.bytes();
|
1164
1764
|
break;
|
1165
|
-
|
1166
1765
|
case 6:
|
1167
1766
|
message.instantiatePermission = AccessConfig.decode(reader, reader.uint32());
|
1168
1767
|
break;
|
1169
|
-
|
1170
1768
|
default:
|
1171
1769
|
reader.skipType(tag & 7);
|
1172
1770
|
break;
|
1173
1771
|
}
|
1174
1772
|
}
|
1175
|
-
|
1176
1773
|
return message;
|
1177
1774
|
},
|
1178
|
-
|
1179
|
-
fromPartial(object: DeepPartial<CodeInfoResponse>): CodeInfoResponse {
|
1775
|
+
fromPartial(object: Partial<CodeInfoResponse>): CodeInfoResponse {
|
1180
1776
|
const message = createBaseCodeInfoResponse();
|
1181
|
-
message.codeId = object.codeId !== undefined && object.codeId !== null ?
|
1777
|
+
message.codeId = object.codeId !== undefined && object.codeId !== null ? BigInt(object.codeId.toString()) : BigInt(0);
|
1182
1778
|
message.creator = object.creator ?? "";
|
1183
1779
|
message.dataHash = object.dataHash ?? new Uint8Array();
|
1184
1780
|
message.instantiatePermission = object.instantiatePermission !== undefined && object.instantiatePermission !== null ? AccessConfig.fromPartial(object.instantiatePermission) : undefined;
|
1185
1781
|
return message;
|
1782
|
+
},
|
1783
|
+
fromAmino(object: CodeInfoResponseAmino): CodeInfoResponse {
|
1784
|
+
const message = createBaseCodeInfoResponse();
|
1785
|
+
if (object.code_id !== undefined && object.code_id !== null) {
|
1786
|
+
message.codeId = BigInt(object.code_id);
|
1787
|
+
}
|
1788
|
+
if (object.creator !== undefined && object.creator !== null) {
|
1789
|
+
message.creator = object.creator;
|
1790
|
+
}
|
1791
|
+
if (object.data_hash !== undefined && object.data_hash !== null) {
|
1792
|
+
message.dataHash = bytesFromBase64(object.data_hash);
|
1793
|
+
}
|
1794
|
+
if (object.instantiate_permission !== undefined && object.instantiate_permission !== null) {
|
1795
|
+
message.instantiatePermission = AccessConfig.fromAmino(object.instantiate_permission);
|
1796
|
+
}
|
1797
|
+
return message;
|
1798
|
+
},
|
1799
|
+
toAmino(message: CodeInfoResponse): CodeInfoResponseAmino {
|
1800
|
+
const obj: any = {};
|
1801
|
+
obj.code_id = message.codeId ? message.codeId.toString() : undefined;
|
1802
|
+
obj.creator = message.creator;
|
1803
|
+
obj.data_hash = message.dataHash ? base64FromBytes(message.dataHash) : undefined;
|
1804
|
+
obj.instantiate_permission = message.instantiatePermission ? AccessConfig.toAmino(message.instantiatePermission) : undefined;
|
1805
|
+
return obj;
|
1806
|
+
},
|
1807
|
+
fromAminoMsg(object: CodeInfoResponseAminoMsg): CodeInfoResponse {
|
1808
|
+
return CodeInfoResponse.fromAmino(object.value);
|
1809
|
+
},
|
1810
|
+
toAminoMsg(message: CodeInfoResponse): CodeInfoResponseAminoMsg {
|
1811
|
+
return {
|
1812
|
+
type: "wasm/CodeInfoResponse",
|
1813
|
+
value: CodeInfoResponse.toAmino(message)
|
1814
|
+
};
|
1815
|
+
},
|
1816
|
+
fromProtoMsg(message: CodeInfoResponseProtoMsg): CodeInfoResponse {
|
1817
|
+
return CodeInfoResponse.decode(message.value);
|
1818
|
+
},
|
1819
|
+
toProto(message: CodeInfoResponse): Uint8Array {
|
1820
|
+
return CodeInfoResponse.encode(message).finish();
|
1821
|
+
},
|
1822
|
+
toProtoMsg(message: CodeInfoResponse): CodeInfoResponseProtoMsg {
|
1823
|
+
return {
|
1824
|
+
typeUrl: "/cosmwasm.wasm.v1.CodeInfoResponse",
|
1825
|
+
value: CodeInfoResponse.encode(message).finish()
|
1826
|
+
};
|
1186
1827
|
}
|
1187
|
-
|
1188
1828
|
};
|
1189
|
-
|
1190
1829
|
function createBaseQueryCodeResponse(): QueryCodeResponse {
|
1191
1830
|
return {
|
1192
1831
|
codeInfo: undefined,
|
1193
1832
|
data: new Uint8Array()
|
1194
1833
|
};
|
1195
1834
|
}
|
1196
|
-
|
1197
1835
|
export const QueryCodeResponse = {
|
1198
|
-
|
1836
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryCodeResponse",
|
1837
|
+
encode(message: QueryCodeResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1199
1838
|
if (message.codeInfo !== undefined) {
|
1200
1839
|
CodeInfoResponse.encode(message.codeInfo, writer.uint32(10).fork()).ldelim();
|
1201
1840
|
}
|
1202
|
-
|
1203
1841
|
if (message.data.length !== 0) {
|
1204
1842
|
writer.uint32(18).bytes(message.data);
|
1205
1843
|
}
|
1206
|
-
|
1207
1844
|
return writer;
|
1208
1845
|
},
|
1209
|
-
|
1210
|
-
|
1211
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1846
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryCodeResponse {
|
1847
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1212
1848
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1213
1849
|
const message = createBaseQueryCodeResponse();
|
1214
|
-
|
1215
1850
|
while (reader.pos < end) {
|
1216
1851
|
const tag = reader.uint32();
|
1217
|
-
|
1218
1852
|
switch (tag >>> 3) {
|
1219
1853
|
case 1:
|
1220
1854
|
message.codeInfo = CodeInfoResponse.decode(reader, reader.uint32());
|
1221
1855
|
break;
|
1222
|
-
|
1223
1856
|
case 2:
|
1224
1857
|
message.data = reader.bytes();
|
1225
1858
|
break;
|
1226
|
-
|
1227
1859
|
default:
|
1228
1860
|
reader.skipType(tag & 7);
|
1229
1861
|
break;
|
1230
1862
|
}
|
1231
1863
|
}
|
1232
|
-
|
1233
1864
|
return message;
|
1234
1865
|
},
|
1235
|
-
|
1236
|
-
fromPartial(object: DeepPartial<QueryCodeResponse>): QueryCodeResponse {
|
1866
|
+
fromPartial(object: Partial<QueryCodeResponse>): QueryCodeResponse {
|
1237
1867
|
const message = createBaseQueryCodeResponse();
|
1238
1868
|
message.codeInfo = object.codeInfo !== undefined && object.codeInfo !== null ? CodeInfoResponse.fromPartial(object.codeInfo) : undefined;
|
1239
1869
|
message.data = object.data ?? new Uint8Array();
|
1240
1870
|
return message;
|
1871
|
+
},
|
1872
|
+
fromAmino(object: QueryCodeResponseAmino): QueryCodeResponse {
|
1873
|
+
const message = createBaseQueryCodeResponse();
|
1874
|
+
if (object.code_info !== undefined && object.code_info !== null) {
|
1875
|
+
message.codeInfo = CodeInfoResponse.fromAmino(object.code_info);
|
1876
|
+
}
|
1877
|
+
if (object.data !== undefined && object.data !== null) {
|
1878
|
+
message.data = bytesFromBase64(object.data);
|
1879
|
+
}
|
1880
|
+
return message;
|
1881
|
+
},
|
1882
|
+
toAmino(message: QueryCodeResponse): QueryCodeResponseAmino {
|
1883
|
+
const obj: any = {};
|
1884
|
+
obj.code_info = message.codeInfo ? CodeInfoResponse.toAmino(message.codeInfo) : undefined;
|
1885
|
+
obj.data = message.data ? base64FromBytes(message.data) : undefined;
|
1886
|
+
return obj;
|
1887
|
+
},
|
1888
|
+
fromAminoMsg(object: QueryCodeResponseAminoMsg): QueryCodeResponse {
|
1889
|
+
return QueryCodeResponse.fromAmino(object.value);
|
1890
|
+
},
|
1891
|
+
toAminoMsg(message: QueryCodeResponse): QueryCodeResponseAminoMsg {
|
1892
|
+
return {
|
1893
|
+
type: "wasm/QueryCodeResponse",
|
1894
|
+
value: QueryCodeResponse.toAmino(message)
|
1895
|
+
};
|
1896
|
+
},
|
1897
|
+
fromProtoMsg(message: QueryCodeResponseProtoMsg): QueryCodeResponse {
|
1898
|
+
return QueryCodeResponse.decode(message.value);
|
1899
|
+
},
|
1900
|
+
toProto(message: QueryCodeResponse): Uint8Array {
|
1901
|
+
return QueryCodeResponse.encode(message).finish();
|
1902
|
+
},
|
1903
|
+
toProtoMsg(message: QueryCodeResponse): QueryCodeResponseProtoMsg {
|
1904
|
+
return {
|
1905
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryCodeResponse",
|
1906
|
+
value: QueryCodeResponse.encode(message).finish()
|
1907
|
+
};
|
1241
1908
|
}
|
1242
|
-
|
1243
1909
|
};
|
1244
|
-
|
1245
1910
|
function createBaseQueryCodesRequest(): QueryCodesRequest {
|
1246
1911
|
return {
|
1247
1912
|
pagination: undefined
|
1248
1913
|
};
|
1249
1914
|
}
|
1250
|
-
|
1251
1915
|
export const QueryCodesRequest = {
|
1252
|
-
|
1916
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryCodesRequest",
|
1917
|
+
encode(message: QueryCodesRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1253
1918
|
if (message.pagination !== undefined) {
|
1254
1919
|
PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim();
|
1255
1920
|
}
|
1256
|
-
|
1257
1921
|
return writer;
|
1258
1922
|
},
|
1259
|
-
|
1260
|
-
|
1261
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1923
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryCodesRequest {
|
1924
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1262
1925
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1263
1926
|
const message = createBaseQueryCodesRequest();
|
1264
|
-
|
1265
1927
|
while (reader.pos < end) {
|
1266
1928
|
const tag = reader.uint32();
|
1267
|
-
|
1268
1929
|
switch (tag >>> 3) {
|
1269
1930
|
case 1:
|
1270
1931
|
message.pagination = PageRequest.decode(reader, reader.uint32());
|
1271
1932
|
break;
|
1272
|
-
|
1273
1933
|
default:
|
1274
1934
|
reader.skipType(tag & 7);
|
1275
1935
|
break;
|
1276
1936
|
}
|
1277
1937
|
}
|
1278
|
-
|
1279
1938
|
return message;
|
1280
1939
|
},
|
1281
|
-
|
1282
|
-
fromPartial(object: DeepPartial<QueryCodesRequest>): QueryCodesRequest {
|
1940
|
+
fromPartial(object: Partial<QueryCodesRequest>): QueryCodesRequest {
|
1283
1941
|
const message = createBaseQueryCodesRequest();
|
1284
1942
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
1285
1943
|
return message;
|
1944
|
+
},
|
1945
|
+
fromAmino(object: QueryCodesRequestAmino): QueryCodesRequest {
|
1946
|
+
const message = createBaseQueryCodesRequest();
|
1947
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
1948
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
1949
|
+
}
|
1950
|
+
return message;
|
1951
|
+
},
|
1952
|
+
toAmino(message: QueryCodesRequest): QueryCodesRequestAmino {
|
1953
|
+
const obj: any = {};
|
1954
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
1955
|
+
return obj;
|
1956
|
+
},
|
1957
|
+
fromAminoMsg(object: QueryCodesRequestAminoMsg): QueryCodesRequest {
|
1958
|
+
return QueryCodesRequest.fromAmino(object.value);
|
1959
|
+
},
|
1960
|
+
toAminoMsg(message: QueryCodesRequest): QueryCodesRequestAminoMsg {
|
1961
|
+
return {
|
1962
|
+
type: "wasm/QueryCodesRequest",
|
1963
|
+
value: QueryCodesRequest.toAmino(message)
|
1964
|
+
};
|
1965
|
+
},
|
1966
|
+
fromProtoMsg(message: QueryCodesRequestProtoMsg): QueryCodesRequest {
|
1967
|
+
return QueryCodesRequest.decode(message.value);
|
1968
|
+
},
|
1969
|
+
toProto(message: QueryCodesRequest): Uint8Array {
|
1970
|
+
return QueryCodesRequest.encode(message).finish();
|
1971
|
+
},
|
1972
|
+
toProtoMsg(message: QueryCodesRequest): QueryCodesRequestProtoMsg {
|
1973
|
+
return {
|
1974
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryCodesRequest",
|
1975
|
+
value: QueryCodesRequest.encode(message).finish()
|
1976
|
+
};
|
1286
1977
|
}
|
1287
|
-
|
1288
1978
|
};
|
1289
|
-
|
1290
1979
|
function createBaseQueryCodesResponse(): QueryCodesResponse {
|
1291
1980
|
return {
|
1292
1981
|
codeInfos: [],
|
1293
1982
|
pagination: undefined
|
1294
1983
|
};
|
1295
1984
|
}
|
1296
|
-
|
1297
1985
|
export const QueryCodesResponse = {
|
1298
|
-
|
1986
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryCodesResponse",
|
1987
|
+
encode(message: QueryCodesResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1299
1988
|
for (const v of message.codeInfos) {
|
1300
1989
|
CodeInfoResponse.encode(v!, writer.uint32(10).fork()).ldelim();
|
1301
1990
|
}
|
1302
|
-
|
1303
1991
|
if (message.pagination !== undefined) {
|
1304
1992
|
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
1305
1993
|
}
|
1306
|
-
|
1307
1994
|
return writer;
|
1308
1995
|
},
|
1309
|
-
|
1310
|
-
|
1311
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
1996
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryCodesResponse {
|
1997
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1312
1998
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1313
1999
|
const message = createBaseQueryCodesResponse();
|
1314
|
-
|
1315
2000
|
while (reader.pos < end) {
|
1316
2001
|
const tag = reader.uint32();
|
1317
|
-
|
1318
2002
|
switch (tag >>> 3) {
|
1319
2003
|
case 1:
|
1320
2004
|
message.codeInfos.push(CodeInfoResponse.decode(reader, reader.uint32()));
|
1321
2005
|
break;
|
1322
|
-
|
1323
2006
|
case 2:
|
1324
2007
|
message.pagination = PageResponse.decode(reader, reader.uint32());
|
1325
2008
|
break;
|
1326
|
-
|
1327
2009
|
default:
|
1328
2010
|
reader.skipType(tag & 7);
|
1329
2011
|
break;
|
1330
2012
|
}
|
1331
2013
|
}
|
1332
|
-
|
1333
2014
|
return message;
|
1334
2015
|
},
|
1335
|
-
|
1336
|
-
fromPartial(object: DeepPartial<QueryCodesResponse>): QueryCodesResponse {
|
2016
|
+
fromPartial(object: Partial<QueryCodesResponse>): QueryCodesResponse {
|
1337
2017
|
const message = createBaseQueryCodesResponse();
|
1338
2018
|
message.codeInfos = object.codeInfos?.map(e => CodeInfoResponse.fromPartial(e)) || [];
|
1339
2019
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
1340
2020
|
return message;
|
2021
|
+
},
|
2022
|
+
fromAmino(object: QueryCodesResponseAmino): QueryCodesResponse {
|
2023
|
+
const message = createBaseQueryCodesResponse();
|
2024
|
+
message.codeInfos = object.code_infos?.map(e => CodeInfoResponse.fromAmino(e)) || [];
|
2025
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
2026
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
2027
|
+
}
|
2028
|
+
return message;
|
2029
|
+
},
|
2030
|
+
toAmino(message: QueryCodesResponse): QueryCodesResponseAmino {
|
2031
|
+
const obj: any = {};
|
2032
|
+
if (message.codeInfos) {
|
2033
|
+
obj.code_infos = message.codeInfos.map(e => e ? CodeInfoResponse.toAmino(e) : undefined);
|
2034
|
+
} else {
|
2035
|
+
obj.code_infos = [];
|
2036
|
+
}
|
2037
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
2038
|
+
return obj;
|
2039
|
+
},
|
2040
|
+
fromAminoMsg(object: QueryCodesResponseAminoMsg): QueryCodesResponse {
|
2041
|
+
return QueryCodesResponse.fromAmino(object.value);
|
2042
|
+
},
|
2043
|
+
toAminoMsg(message: QueryCodesResponse): QueryCodesResponseAminoMsg {
|
2044
|
+
return {
|
2045
|
+
type: "wasm/QueryCodesResponse",
|
2046
|
+
value: QueryCodesResponse.toAmino(message)
|
2047
|
+
};
|
2048
|
+
},
|
2049
|
+
fromProtoMsg(message: QueryCodesResponseProtoMsg): QueryCodesResponse {
|
2050
|
+
return QueryCodesResponse.decode(message.value);
|
2051
|
+
},
|
2052
|
+
toProto(message: QueryCodesResponse): Uint8Array {
|
2053
|
+
return QueryCodesResponse.encode(message).finish();
|
2054
|
+
},
|
2055
|
+
toProtoMsg(message: QueryCodesResponse): QueryCodesResponseProtoMsg {
|
2056
|
+
return {
|
2057
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryCodesResponse",
|
2058
|
+
value: QueryCodesResponse.encode(message).finish()
|
2059
|
+
};
|
1341
2060
|
}
|
1342
|
-
|
1343
2061
|
};
|
1344
|
-
|
1345
2062
|
function createBaseQueryPinnedCodesRequest(): QueryPinnedCodesRequest {
|
1346
2063
|
return {
|
1347
2064
|
pagination: undefined
|
1348
2065
|
};
|
1349
2066
|
}
|
1350
|
-
|
1351
2067
|
export const QueryPinnedCodesRequest = {
|
1352
|
-
|
2068
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryPinnedCodesRequest",
|
2069
|
+
encode(message: QueryPinnedCodesRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1353
2070
|
if (message.pagination !== undefined) {
|
1354
2071
|
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
1355
2072
|
}
|
1356
|
-
|
1357
2073
|
return writer;
|
1358
2074
|
},
|
1359
|
-
|
1360
|
-
|
1361
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
2075
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryPinnedCodesRequest {
|
2076
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1362
2077
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1363
2078
|
const message = createBaseQueryPinnedCodesRequest();
|
1364
|
-
|
1365
2079
|
while (reader.pos < end) {
|
1366
2080
|
const tag = reader.uint32();
|
1367
|
-
|
1368
2081
|
switch (tag >>> 3) {
|
1369
2082
|
case 2:
|
1370
2083
|
message.pagination = PageRequest.decode(reader, reader.uint32());
|
1371
2084
|
break;
|
1372
|
-
|
1373
2085
|
default:
|
1374
2086
|
reader.skipType(tag & 7);
|
1375
2087
|
break;
|
1376
2088
|
}
|
1377
2089
|
}
|
1378
|
-
|
1379
2090
|
return message;
|
1380
2091
|
},
|
1381
|
-
|
1382
|
-
fromPartial(object: DeepPartial<QueryPinnedCodesRequest>): QueryPinnedCodesRequest {
|
2092
|
+
fromPartial(object: Partial<QueryPinnedCodesRequest>): QueryPinnedCodesRequest {
|
1383
2093
|
const message = createBaseQueryPinnedCodesRequest();
|
1384
2094
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
1385
2095
|
return message;
|
2096
|
+
},
|
2097
|
+
fromAmino(object: QueryPinnedCodesRequestAmino): QueryPinnedCodesRequest {
|
2098
|
+
const message = createBaseQueryPinnedCodesRequest();
|
2099
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
2100
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
2101
|
+
}
|
2102
|
+
return message;
|
2103
|
+
},
|
2104
|
+
toAmino(message: QueryPinnedCodesRequest): QueryPinnedCodesRequestAmino {
|
2105
|
+
const obj: any = {};
|
2106
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
2107
|
+
return obj;
|
2108
|
+
},
|
2109
|
+
fromAminoMsg(object: QueryPinnedCodesRequestAminoMsg): QueryPinnedCodesRequest {
|
2110
|
+
return QueryPinnedCodesRequest.fromAmino(object.value);
|
2111
|
+
},
|
2112
|
+
toAminoMsg(message: QueryPinnedCodesRequest): QueryPinnedCodesRequestAminoMsg {
|
2113
|
+
return {
|
2114
|
+
type: "wasm/QueryPinnedCodesRequest",
|
2115
|
+
value: QueryPinnedCodesRequest.toAmino(message)
|
2116
|
+
};
|
2117
|
+
},
|
2118
|
+
fromProtoMsg(message: QueryPinnedCodesRequestProtoMsg): QueryPinnedCodesRequest {
|
2119
|
+
return QueryPinnedCodesRequest.decode(message.value);
|
2120
|
+
},
|
2121
|
+
toProto(message: QueryPinnedCodesRequest): Uint8Array {
|
2122
|
+
return QueryPinnedCodesRequest.encode(message).finish();
|
2123
|
+
},
|
2124
|
+
toProtoMsg(message: QueryPinnedCodesRequest): QueryPinnedCodesRequestProtoMsg {
|
2125
|
+
return {
|
2126
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryPinnedCodesRequest",
|
2127
|
+
value: QueryPinnedCodesRequest.encode(message).finish()
|
2128
|
+
};
|
1386
2129
|
}
|
1387
|
-
|
1388
2130
|
};
|
1389
|
-
|
1390
2131
|
function createBaseQueryPinnedCodesResponse(): QueryPinnedCodesResponse {
|
1391
2132
|
return {
|
1392
2133
|
codeIds: [],
|
1393
2134
|
pagination: undefined
|
1394
2135
|
};
|
1395
2136
|
}
|
1396
|
-
|
1397
2137
|
export const QueryPinnedCodesResponse = {
|
1398
|
-
|
2138
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryPinnedCodesResponse",
|
2139
|
+
encode(message: QueryPinnedCodesResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1399
2140
|
writer.uint32(10).fork();
|
1400
|
-
|
1401
2141
|
for (const v of message.codeIds) {
|
1402
2142
|
writer.uint64(v);
|
1403
2143
|
}
|
1404
|
-
|
1405
2144
|
writer.ldelim();
|
1406
|
-
|
1407
2145
|
if (message.pagination !== undefined) {
|
1408
2146
|
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
1409
2147
|
}
|
1410
|
-
|
1411
2148
|
return writer;
|
1412
2149
|
},
|
1413
|
-
|
1414
|
-
|
1415
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
2150
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryPinnedCodesResponse {
|
2151
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1416
2152
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1417
2153
|
const message = createBaseQueryPinnedCodesResponse();
|
1418
|
-
|
1419
2154
|
while (reader.pos < end) {
|
1420
2155
|
const tag = reader.uint32();
|
1421
|
-
|
1422
2156
|
switch (tag >>> 3) {
|
1423
2157
|
case 1:
|
1424
2158
|
if ((tag & 7) === 2) {
|
1425
2159
|
const end2 = reader.uint32() + reader.pos;
|
1426
|
-
|
1427
2160
|
while (reader.pos < end2) {
|
1428
|
-
message.codeIds.push(
|
2161
|
+
message.codeIds.push(reader.uint64());
|
1429
2162
|
}
|
1430
2163
|
} else {
|
1431
|
-
message.codeIds.push(
|
2164
|
+
message.codeIds.push(reader.uint64());
|
1432
2165
|
}
|
1433
|
-
|
1434
2166
|
break;
|
1435
|
-
|
1436
2167
|
case 2:
|
1437
2168
|
message.pagination = PageResponse.decode(reader, reader.uint32());
|
1438
2169
|
break;
|
1439
|
-
|
1440
2170
|
default:
|
1441
2171
|
reader.skipType(tag & 7);
|
1442
2172
|
break;
|
1443
2173
|
}
|
1444
2174
|
}
|
1445
|
-
|
1446
2175
|
return message;
|
1447
2176
|
},
|
1448
|
-
|
1449
|
-
fromPartial(object: DeepPartial<QueryPinnedCodesResponse>): QueryPinnedCodesResponse {
|
2177
|
+
fromPartial(object: Partial<QueryPinnedCodesResponse>): QueryPinnedCodesResponse {
|
1450
2178
|
const message = createBaseQueryPinnedCodesResponse();
|
1451
|
-
message.codeIds = object.codeIds?.map(e =>
|
2179
|
+
message.codeIds = object.codeIds?.map(e => BigInt(e.toString())) || [];
|
1452
2180
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
1453
2181
|
return message;
|
2182
|
+
},
|
2183
|
+
fromAmino(object: QueryPinnedCodesResponseAmino): QueryPinnedCodesResponse {
|
2184
|
+
const message = createBaseQueryPinnedCodesResponse();
|
2185
|
+
message.codeIds = object.code_ids?.map(e => BigInt(e)) || [];
|
2186
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
2187
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
2188
|
+
}
|
2189
|
+
return message;
|
2190
|
+
},
|
2191
|
+
toAmino(message: QueryPinnedCodesResponse): QueryPinnedCodesResponseAmino {
|
2192
|
+
const obj: any = {};
|
2193
|
+
if (message.codeIds) {
|
2194
|
+
obj.code_ids = message.codeIds.map(e => e.toString());
|
2195
|
+
} else {
|
2196
|
+
obj.code_ids = [];
|
2197
|
+
}
|
2198
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
2199
|
+
return obj;
|
2200
|
+
},
|
2201
|
+
fromAminoMsg(object: QueryPinnedCodesResponseAminoMsg): QueryPinnedCodesResponse {
|
2202
|
+
return QueryPinnedCodesResponse.fromAmino(object.value);
|
2203
|
+
},
|
2204
|
+
toAminoMsg(message: QueryPinnedCodesResponse): QueryPinnedCodesResponseAminoMsg {
|
2205
|
+
return {
|
2206
|
+
type: "wasm/QueryPinnedCodesResponse",
|
2207
|
+
value: QueryPinnedCodesResponse.toAmino(message)
|
2208
|
+
};
|
2209
|
+
},
|
2210
|
+
fromProtoMsg(message: QueryPinnedCodesResponseProtoMsg): QueryPinnedCodesResponse {
|
2211
|
+
return QueryPinnedCodesResponse.decode(message.value);
|
2212
|
+
},
|
2213
|
+
toProto(message: QueryPinnedCodesResponse): Uint8Array {
|
2214
|
+
return QueryPinnedCodesResponse.encode(message).finish();
|
2215
|
+
},
|
2216
|
+
toProtoMsg(message: QueryPinnedCodesResponse): QueryPinnedCodesResponseProtoMsg {
|
2217
|
+
return {
|
2218
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryPinnedCodesResponse",
|
2219
|
+
value: QueryPinnedCodesResponse.encode(message).finish()
|
2220
|
+
};
|
1454
2221
|
}
|
1455
|
-
|
1456
2222
|
};
|
1457
|
-
|
1458
2223
|
function createBaseQueryParamsRequest(): QueryParamsRequest {
|
1459
2224
|
return {};
|
1460
2225
|
}
|
1461
|
-
|
1462
2226
|
export const QueryParamsRequest = {
|
1463
|
-
|
2227
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryParamsRequest",
|
2228
|
+
encode(_: QueryParamsRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1464
2229
|
return writer;
|
1465
2230
|
},
|
1466
|
-
|
1467
|
-
|
1468
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
2231
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsRequest {
|
2232
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1469
2233
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1470
2234
|
const message = createBaseQueryParamsRequest();
|
1471
|
-
|
1472
2235
|
while (reader.pos < end) {
|
1473
2236
|
const tag = reader.uint32();
|
1474
|
-
|
1475
2237
|
switch (tag >>> 3) {
|
1476
2238
|
default:
|
1477
2239
|
reader.skipType(tag & 7);
|
1478
2240
|
break;
|
1479
2241
|
}
|
1480
2242
|
}
|
1481
|
-
|
1482
2243
|
return message;
|
1483
2244
|
},
|
1484
|
-
|
1485
|
-
fromPartial(_: DeepPartial<QueryParamsRequest>): QueryParamsRequest {
|
2245
|
+
fromPartial(_: Partial<QueryParamsRequest>): QueryParamsRequest {
|
1486
2246
|
const message = createBaseQueryParamsRequest();
|
1487
2247
|
return message;
|
2248
|
+
},
|
2249
|
+
fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest {
|
2250
|
+
const message = createBaseQueryParamsRequest();
|
2251
|
+
return message;
|
2252
|
+
},
|
2253
|
+
toAmino(_: QueryParamsRequest): QueryParamsRequestAmino {
|
2254
|
+
const obj: any = {};
|
2255
|
+
return obj;
|
2256
|
+
},
|
2257
|
+
fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest {
|
2258
|
+
return QueryParamsRequest.fromAmino(object.value);
|
2259
|
+
},
|
2260
|
+
toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg {
|
2261
|
+
return {
|
2262
|
+
type: "wasm/QueryParamsRequest",
|
2263
|
+
value: QueryParamsRequest.toAmino(message)
|
2264
|
+
};
|
2265
|
+
},
|
2266
|
+
fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest {
|
2267
|
+
return QueryParamsRequest.decode(message.value);
|
2268
|
+
},
|
2269
|
+
toProto(message: QueryParamsRequest): Uint8Array {
|
2270
|
+
return QueryParamsRequest.encode(message).finish();
|
2271
|
+
},
|
2272
|
+
toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg {
|
2273
|
+
return {
|
2274
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryParamsRequest",
|
2275
|
+
value: QueryParamsRequest.encode(message).finish()
|
2276
|
+
};
|
1488
2277
|
}
|
1489
|
-
|
1490
2278
|
};
|
1491
|
-
|
1492
2279
|
function createBaseQueryParamsResponse(): QueryParamsResponse {
|
1493
2280
|
return {
|
1494
|
-
params:
|
2281
|
+
params: Params.fromPartial({})
|
1495
2282
|
};
|
1496
2283
|
}
|
1497
|
-
|
1498
2284
|
export const QueryParamsResponse = {
|
1499
|
-
|
2285
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryParamsResponse",
|
2286
|
+
encode(message: QueryParamsResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1500
2287
|
if (message.params !== undefined) {
|
1501
2288
|
Params.encode(message.params, writer.uint32(10).fork()).ldelim();
|
1502
2289
|
}
|
1503
|
-
|
1504
2290
|
return writer;
|
1505
2291
|
},
|
1506
|
-
|
1507
|
-
|
1508
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
2292
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryParamsResponse {
|
2293
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1509
2294
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1510
2295
|
const message = createBaseQueryParamsResponse();
|
1511
|
-
|
1512
2296
|
while (reader.pos < end) {
|
1513
2297
|
const tag = reader.uint32();
|
1514
|
-
|
1515
2298
|
switch (tag >>> 3) {
|
1516
2299
|
case 1:
|
1517
2300
|
message.params = Params.decode(reader, reader.uint32());
|
1518
2301
|
break;
|
1519
|
-
|
1520
2302
|
default:
|
1521
2303
|
reader.skipType(tag & 7);
|
1522
2304
|
break;
|
1523
2305
|
}
|
1524
2306
|
}
|
1525
|
-
|
1526
2307
|
return message;
|
1527
2308
|
},
|
1528
|
-
|
1529
|
-
fromPartial(object: DeepPartial<QueryParamsResponse>): QueryParamsResponse {
|
2309
|
+
fromPartial(object: Partial<QueryParamsResponse>): QueryParamsResponse {
|
1530
2310
|
const message = createBaseQueryParamsResponse();
|
1531
2311
|
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
1532
2312
|
return message;
|
2313
|
+
},
|
2314
|
+
fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse {
|
2315
|
+
const message = createBaseQueryParamsResponse();
|
2316
|
+
if (object.params !== undefined && object.params !== null) {
|
2317
|
+
message.params = Params.fromAmino(object.params);
|
2318
|
+
}
|
2319
|
+
return message;
|
2320
|
+
},
|
2321
|
+
toAmino(message: QueryParamsResponse): QueryParamsResponseAmino {
|
2322
|
+
const obj: any = {};
|
2323
|
+
obj.params = message.params ? Params.toAmino(message.params) : undefined;
|
2324
|
+
return obj;
|
2325
|
+
},
|
2326
|
+
fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse {
|
2327
|
+
return QueryParamsResponse.fromAmino(object.value);
|
2328
|
+
},
|
2329
|
+
toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg {
|
2330
|
+
return {
|
2331
|
+
type: "wasm/QueryParamsResponse",
|
2332
|
+
value: QueryParamsResponse.toAmino(message)
|
2333
|
+
};
|
2334
|
+
},
|
2335
|
+
fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse {
|
2336
|
+
return QueryParamsResponse.decode(message.value);
|
2337
|
+
},
|
2338
|
+
toProto(message: QueryParamsResponse): Uint8Array {
|
2339
|
+
return QueryParamsResponse.encode(message).finish();
|
2340
|
+
},
|
2341
|
+
toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg {
|
2342
|
+
return {
|
2343
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryParamsResponse",
|
2344
|
+
value: QueryParamsResponse.encode(message).finish()
|
2345
|
+
};
|
1533
2346
|
}
|
1534
|
-
|
1535
2347
|
};
|
1536
|
-
|
1537
2348
|
function createBaseQueryContractsByCreatorRequest(): QueryContractsByCreatorRequest {
|
1538
2349
|
return {
|
1539
2350
|
creatorAddress: "",
|
1540
2351
|
pagination: undefined
|
1541
2352
|
};
|
1542
2353
|
}
|
1543
|
-
|
1544
2354
|
export const QueryContractsByCreatorRequest = {
|
1545
|
-
|
2355
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCreatorRequest",
|
2356
|
+
encode(message: QueryContractsByCreatorRequest, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1546
2357
|
if (message.creatorAddress !== "") {
|
1547
2358
|
writer.uint32(10).string(message.creatorAddress);
|
1548
2359
|
}
|
1549
|
-
|
1550
2360
|
if (message.pagination !== undefined) {
|
1551
2361
|
PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
1552
2362
|
}
|
1553
|
-
|
1554
2363
|
return writer;
|
1555
2364
|
},
|
1556
|
-
|
1557
|
-
|
1558
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
2365
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryContractsByCreatorRequest {
|
2366
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1559
2367
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1560
2368
|
const message = createBaseQueryContractsByCreatorRequest();
|
1561
|
-
|
1562
2369
|
while (reader.pos < end) {
|
1563
2370
|
const tag = reader.uint32();
|
1564
|
-
|
1565
2371
|
switch (tag >>> 3) {
|
1566
2372
|
case 1:
|
1567
2373
|
message.creatorAddress = reader.string();
|
1568
2374
|
break;
|
1569
|
-
|
1570
2375
|
case 2:
|
1571
2376
|
message.pagination = PageRequest.decode(reader, reader.uint32());
|
1572
2377
|
break;
|
1573
|
-
|
1574
2378
|
default:
|
1575
2379
|
reader.skipType(tag & 7);
|
1576
2380
|
break;
|
1577
2381
|
}
|
1578
2382
|
}
|
1579
|
-
|
1580
2383
|
return message;
|
1581
2384
|
},
|
1582
|
-
|
1583
|
-
fromPartial(object: DeepPartial<QueryContractsByCreatorRequest>): QueryContractsByCreatorRequest {
|
2385
|
+
fromPartial(object: Partial<QueryContractsByCreatorRequest>): QueryContractsByCreatorRequest {
|
1584
2386
|
const message = createBaseQueryContractsByCreatorRequest();
|
1585
2387
|
message.creatorAddress = object.creatorAddress ?? "";
|
1586
2388
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined;
|
1587
2389
|
return message;
|
2390
|
+
},
|
2391
|
+
fromAmino(object: QueryContractsByCreatorRequestAmino): QueryContractsByCreatorRequest {
|
2392
|
+
const message = createBaseQueryContractsByCreatorRequest();
|
2393
|
+
if (object.creator_address !== undefined && object.creator_address !== null) {
|
2394
|
+
message.creatorAddress = object.creator_address;
|
2395
|
+
}
|
2396
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
2397
|
+
message.pagination = PageRequest.fromAmino(object.pagination);
|
2398
|
+
}
|
2399
|
+
return message;
|
2400
|
+
},
|
2401
|
+
toAmino(message: QueryContractsByCreatorRequest): QueryContractsByCreatorRequestAmino {
|
2402
|
+
const obj: any = {};
|
2403
|
+
obj.creator_address = message.creatorAddress;
|
2404
|
+
obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined;
|
2405
|
+
return obj;
|
2406
|
+
},
|
2407
|
+
fromAminoMsg(object: QueryContractsByCreatorRequestAminoMsg): QueryContractsByCreatorRequest {
|
2408
|
+
return QueryContractsByCreatorRequest.fromAmino(object.value);
|
2409
|
+
},
|
2410
|
+
toAminoMsg(message: QueryContractsByCreatorRequest): QueryContractsByCreatorRequestAminoMsg {
|
2411
|
+
return {
|
2412
|
+
type: "wasm/QueryContractsByCreatorRequest",
|
2413
|
+
value: QueryContractsByCreatorRequest.toAmino(message)
|
2414
|
+
};
|
2415
|
+
},
|
2416
|
+
fromProtoMsg(message: QueryContractsByCreatorRequestProtoMsg): QueryContractsByCreatorRequest {
|
2417
|
+
return QueryContractsByCreatorRequest.decode(message.value);
|
2418
|
+
},
|
2419
|
+
toProto(message: QueryContractsByCreatorRequest): Uint8Array {
|
2420
|
+
return QueryContractsByCreatorRequest.encode(message).finish();
|
2421
|
+
},
|
2422
|
+
toProtoMsg(message: QueryContractsByCreatorRequest): QueryContractsByCreatorRequestProtoMsg {
|
2423
|
+
return {
|
2424
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCreatorRequest",
|
2425
|
+
value: QueryContractsByCreatorRequest.encode(message).finish()
|
2426
|
+
};
|
1588
2427
|
}
|
1589
|
-
|
1590
2428
|
};
|
1591
|
-
|
1592
2429
|
function createBaseQueryContractsByCreatorResponse(): QueryContractsByCreatorResponse {
|
1593
2430
|
return {
|
1594
2431
|
contractAddresses: [],
|
1595
2432
|
pagination: undefined
|
1596
2433
|
};
|
1597
2434
|
}
|
1598
|
-
|
1599
2435
|
export const QueryContractsByCreatorResponse = {
|
1600
|
-
|
2436
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCreatorResponse",
|
2437
|
+
encode(message: QueryContractsByCreatorResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
1601
2438
|
for (const v of message.contractAddresses) {
|
1602
2439
|
writer.uint32(10).string(v!);
|
1603
2440
|
}
|
1604
|
-
|
1605
2441
|
if (message.pagination !== undefined) {
|
1606
2442
|
PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim();
|
1607
2443
|
}
|
1608
|
-
|
1609
2444
|
return writer;
|
1610
2445
|
},
|
1611
|
-
|
1612
|
-
|
1613
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
2446
|
+
decode(input: BinaryReader | Uint8Array, length?: number): QueryContractsByCreatorResponse {
|
2447
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
1614
2448
|
let end = length === undefined ? reader.len : reader.pos + length;
|
1615
2449
|
const message = createBaseQueryContractsByCreatorResponse();
|
1616
|
-
|
1617
2450
|
while (reader.pos < end) {
|
1618
2451
|
const tag = reader.uint32();
|
1619
|
-
|
1620
2452
|
switch (tag >>> 3) {
|
1621
2453
|
case 1:
|
1622
2454
|
message.contractAddresses.push(reader.string());
|
1623
2455
|
break;
|
1624
|
-
|
1625
2456
|
case 2:
|
1626
2457
|
message.pagination = PageResponse.decode(reader, reader.uint32());
|
1627
2458
|
break;
|
1628
|
-
|
1629
2459
|
default:
|
1630
2460
|
reader.skipType(tag & 7);
|
1631
2461
|
break;
|
1632
2462
|
}
|
1633
2463
|
}
|
1634
|
-
|
1635
2464
|
return message;
|
1636
2465
|
},
|
1637
|
-
|
1638
|
-
fromPartial(object: DeepPartial<QueryContractsByCreatorResponse>): QueryContractsByCreatorResponse {
|
2466
|
+
fromPartial(object: Partial<QueryContractsByCreatorResponse>): QueryContractsByCreatorResponse {
|
1639
2467
|
const message = createBaseQueryContractsByCreatorResponse();
|
1640
2468
|
message.contractAddresses = object.contractAddresses?.map(e => e) || [];
|
1641
2469
|
message.pagination = object.pagination !== undefined && object.pagination !== null ? PageResponse.fromPartial(object.pagination) : undefined;
|
1642
2470
|
return message;
|
2471
|
+
},
|
2472
|
+
fromAmino(object: QueryContractsByCreatorResponseAmino): QueryContractsByCreatorResponse {
|
2473
|
+
const message = createBaseQueryContractsByCreatorResponse();
|
2474
|
+
message.contractAddresses = object.contract_addresses?.map(e => e) || [];
|
2475
|
+
if (object.pagination !== undefined && object.pagination !== null) {
|
2476
|
+
message.pagination = PageResponse.fromAmino(object.pagination);
|
2477
|
+
}
|
2478
|
+
return message;
|
2479
|
+
},
|
2480
|
+
toAmino(message: QueryContractsByCreatorResponse): QueryContractsByCreatorResponseAmino {
|
2481
|
+
const obj: any = {};
|
2482
|
+
if (message.contractAddresses) {
|
2483
|
+
obj.contract_addresses = message.contractAddresses.map(e => e);
|
2484
|
+
} else {
|
2485
|
+
obj.contract_addresses = [];
|
2486
|
+
}
|
2487
|
+
obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined;
|
2488
|
+
return obj;
|
2489
|
+
},
|
2490
|
+
fromAminoMsg(object: QueryContractsByCreatorResponseAminoMsg): QueryContractsByCreatorResponse {
|
2491
|
+
return QueryContractsByCreatorResponse.fromAmino(object.value);
|
2492
|
+
},
|
2493
|
+
toAminoMsg(message: QueryContractsByCreatorResponse): QueryContractsByCreatorResponseAminoMsg {
|
2494
|
+
return {
|
2495
|
+
type: "wasm/QueryContractsByCreatorResponse",
|
2496
|
+
value: QueryContractsByCreatorResponse.toAmino(message)
|
2497
|
+
};
|
2498
|
+
},
|
2499
|
+
fromProtoMsg(message: QueryContractsByCreatorResponseProtoMsg): QueryContractsByCreatorResponse {
|
2500
|
+
return QueryContractsByCreatorResponse.decode(message.value);
|
2501
|
+
},
|
2502
|
+
toProto(message: QueryContractsByCreatorResponse): Uint8Array {
|
2503
|
+
return QueryContractsByCreatorResponse.encode(message).finish();
|
2504
|
+
},
|
2505
|
+
toProtoMsg(message: QueryContractsByCreatorResponse): QueryContractsByCreatorResponseProtoMsg {
|
2506
|
+
return {
|
2507
|
+
typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCreatorResponse",
|
2508
|
+
value: QueryContractsByCreatorResponse.encode(message).finish()
|
2509
|
+
};
|
1643
2510
|
}
|
1644
|
-
|
1645
2511
|
};
|