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