juno-network 0.15.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -4
- package/main/codegen/JunoSwap.client.js +165 -184
- package/main/codegen/amino/amino.js +5 -0
- package/main/codegen/amino/bundle.js +16 -0
- package/main/codegen/binary.js +478 -0
- package/main/codegen/confio/proofs.js +836 -72
- package/main/codegen/contracts.js +8 -4
- package/main/codegen/cosmos/app/v1alpha1/config.js +221 -0
- package/main/codegen/cosmos/app/v1alpha1/module.js +324 -0
- package/main/codegen/cosmos/app/v1alpha1/query.js +149 -0
- package/main/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +45 -0
- package/main/codegen/cosmos/auth/v1beta1/auth.js +382 -0
- package/main/codegen/cosmos/auth/v1beta1/genesis.js +120 -0
- package/main/codegen/cosmos/auth/v1beta1/query.js +1133 -0
- package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +223 -0
- package/main/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +128 -0
- package/main/codegen/cosmos/authz/v1beta1/authz.js +220 -13
- package/main/codegen/cosmos/authz/v1beta1/event.js +101 -8
- package/main/codegen/cosmos/authz/v1beta1/genesis.js +51 -7
- package/main/codegen/cosmos/authz/v1beta1/query.js +311 -21
- package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +65 -69
- package/main/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +5 -7
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +25 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.js +312 -18
- package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +83 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +5 -7
- package/main/codegen/cosmos/bank/v1beta1/authz.js +66 -7
- package/main/codegen/cosmos/bank/v1beta1/bank.js +425 -21
- package/main/codegen/cosmos/bank/v1beta1/genesis.js +138 -10
- package/main/codegen/cosmos/bank/v1beta1/query.js +964 -49
- package/main/codegen/cosmos/bank/v1beta1/query.lcd.js +148 -163
- package/main/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +11 -13
- package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -86
- package/main/codegen/cosmos/bank/v1beta1/tx.js +194 -13
- package/main/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +4 -6
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +677 -60
- package/main/codegen/cosmos/base/kv/v1beta1/kv.js +197 -0
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +162 -17
- package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +362 -0
- package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1230 -57
- package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +916 -0
- package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +326 -0
- package/main/codegen/cosmos/base/store/v1beta1/listening.js +140 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1431 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +202 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +115 -0
- package/main/codegen/cosmos/base/v1beta1/coin.js +207 -12
- package/main/codegen/cosmos/bundle.js +274 -105
- package/main/codegen/cosmos/capability/v1beta1/capability.js +300 -0
- package/main/codegen/cosmos/capability/v1beta1/genesis.js +208 -0
- package/main/codegen/cosmos/client.js +37 -23
- package/main/codegen/cosmos/crisis/v1beta1/genesis.js +85 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.js +173 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/crypto/ed25519/keys.js +113 -8
- package/main/codegen/cosmos/crypto/hd/v1/hd.js +59 -6
- package/main/codegen/cosmos/crypto/keyring/v1/record.js +236 -14
- package/main/codegen/cosmos/crypto/multisig/keys.js +67 -7
- package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +125 -9
- package/main/codegen/cosmos/crypto/secp256k1/keys.js +104 -8
- package/main/codegen/cosmos/crypto/secp256r1/keys.js +86 -8
- package/main/codegen/cosmos/distribution/v1beta1/distribution.js +788 -56
- package/main/codegen/cosmos/distribution/v1beta1/genesis.js +514 -38
- package/main/codegen/cosmos/distribution/v1beta1/query.js +970 -53
- package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +107 -124
- package/main/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +11 -13
- package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -70
- package/main/codegen/cosmos/distribution/v1beta1/tx.js +403 -25
- package/main/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +6 -8
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +132 -0
- package/main/codegen/cosmos/evidence/v1beta1/genesis.js +107 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.js +371 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +87 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +60 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.js +186 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +512 -0
- package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +107 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.js +575 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.lcd.js +114 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +70 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +20 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.js +337 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +65 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +43 -0
- package/main/codegen/cosmos/genutil/v1beta1/genesis.js +107 -0
- package/main/codegen/cosmos/gov/v1/genesis.js +90 -11
- package/main/codegen/cosmos/gov/v1/gov.js +497 -58
- package/main/codegen/cosmos/gov/v1/query.js +770 -56
- package/main/codegen/cosmos/gov/v1/query.lcd.js +107 -123
- package/main/codegen/cosmos/gov/v1/query.rpc.Query.js +10 -12
- package/main/codegen/cosmos/gov/v1/tx.amino.js +11 -156
- package/main/codegen/cosmos/gov/v1/tx.js +511 -38
- package/main/codegen/cosmos/gov/v1/tx.rpc.msg.js +7 -9
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +93 -14
- package/main/codegen/cosmos/gov/v1beta1/gov.js +560 -69
- package/main/codegen/cosmos/gov/v1beta1/query.js +777 -63
- package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +107 -123
- package/main/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +10 -12
- package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -118
- package/main/codegen/cosmos/gov/v1beta1/tx.js +424 -34
- package/main/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +6 -8
- package/main/codegen/cosmos/group/v1/events.js +729 -0
- package/main/codegen/cosmos/group/v1/genesis.js +259 -0
- package/main/codegen/cosmos/group/v1/query.js +2377 -0
- package/main/codegen/cosmos/group/v1/query.lcd.js +398 -0
- package/main/codegen/cosmos/group/v1/query.rpc.Query.js +200 -0
- package/main/codegen/cosmos/group/v1/tx.amino.js +80 -0
- package/main/codegen/cosmos/group/v1/tx.js +2590 -0
- package/main/codegen/cosmos/group/v1/tx.registry.js +281 -0
- package/main/codegen/cosmos/group/v1/tx.rpc.msg.js +163 -0
- package/main/codegen/cosmos/group/v1/types.js +1607 -0
- package/main/codegen/cosmos/lcd.js +255 -128
- package/main/codegen/cosmos/mint/v1beta1/genesis.js +97 -0
- package/main/codegen/cosmos/mint/v1beta1/mint.js +236 -0
- package/main/codegen/cosmos/mint/v1beta1/query.js +461 -0
- package/main/codegen/cosmos/mint/v1beta1/query.lcd.js +108 -0
- package/main/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +73 -0
- package/main/codegen/cosmos/msg/v1/msg.js +5 -0
- package/main/codegen/cosmos/nft/v1beta1/event.js +325 -0
- package/main/codegen/cosmos/nft/v1beta1/genesis.js +244 -0
- package/main/codegen/cosmos/nft/v1beta1/nft.js +284 -0
- package/main/codegen/cosmos/nft/v1beta1/query.js +1219 -0
- package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +226 -0
- package/main/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +125 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.js +185 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/orm/v1/orm.js +400 -0
- package/main/codegen/cosmos/orm/v1alpha1/schema.js +278 -0
- package/main/codegen/cosmos/params/v1beta1/params.js +241 -0
- package/main/codegen/cosmos/params/v1beta1/query.js +473 -0
- package/main/codegen/cosmos/params/v1beta1/query.lcd.js +87 -0
- package/main/codegen/cosmos/params/v1beta1/query.rpc.Query.js +58 -0
- package/main/codegen/cosmos/rpc.query.js +198 -97
- package/main/codegen/cosmos/rpc.tx.js +178 -96
- package/main/codegen/cosmos/slashing/v1beta1/genesis.js +445 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.js +529 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +115 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +74 -0
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +283 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.js +149 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/staking/v1beta1/authz.js +120 -26
- package/main/codegen/cosmos/staking/v1beta1/genesis.js +153 -13
- package/main/codegen/cosmos/staking/v1beta1/query.js +1467 -72
- package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +205 -229
- package/main/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +16 -18
- package/main/codegen/cosmos/staking/v1beta1/staking.js +1257 -98
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -189
- package/main/codegen/cosmos/staking/v1beta1/tx.js +513 -35
- package/main/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +7 -9
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +273 -43
- package/main/codegen/cosmos/tx/v1beta1/service.js +603 -54
- package/main/codegen/cosmos/tx/v1beta1/service.lcd.js +52 -57
- package/main/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +7 -9
- package/main/codegen/cosmos/tx/v1beta1/tx.js +856 -53
- package/main/codegen/cosmos/upgrade/v1beta1/query.js +523 -31
- package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +69 -77
- package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +7 -9
- package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -47
- package/main/codegen/cosmos/upgrade/v1beta1/tx.js +214 -13
- package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +4 -6
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +248 -20
- package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +25 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +636 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +83 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +53 -0
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +718 -0
- package/main/codegen/cosmos_proto/bundle.js +6 -6
- package/main/codegen/cosmos_proto/cosmos.js +129 -21
- package/main/codegen/cosmwasm/bundle.js +21 -21
- package/main/codegen/cosmwasm/client.js +21 -23
- package/main/codegen/cosmwasm/lcd.js +272 -145
- package/main/codegen/cosmwasm/rpc.query.js +211 -110
- package/main/codegen/cosmwasm/rpc.tx.js +193 -111
- package/main/codegen/cosmwasm/wasm/v1/authz.js +534 -34
- package/main/codegen/cosmwasm/wasm/v1/genesis.js +320 -24
- package/main/codegen/cosmwasm/wasm/v1/ibc.js +103 -14
- package/main/codegen/cosmwasm/wasm/v1/proposal.js +841 -45
- package/main/codegen/cosmwasm/wasm/v1/query.js +1232 -64
- package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +153 -175
- package/main/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +13 -15
- package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -217
- package/main/codegen/cosmwasm/wasm/v1/tx.js +742 -49
- package/main/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +9 -11
- package/main/codegen/cosmwasm/wasm/v1/types.js +447 -61
- package/main/codegen/gaia/bundle.js +12 -12
- package/main/codegen/gaia/globalfee/v1beta1/genesis.js +82 -10
- package/main/codegen/gaia/globalfee/v1beta1/query.js +95 -9
- package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +11 -13
- package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +3 -5
- package/main/codegen/gaia/lcd.js +272 -145
- package/main/codegen/gaia/rpc.query.js +211 -110
- package/main/codegen/gogoproto/bundle.js +6 -6
- package/main/codegen/google/api/annotations.js +5 -0
- package/main/codegen/google/api/http.js +1216 -0
- package/main/codegen/google/bundle.js +13 -10
- package/main/codegen/google/protobuf/any.js +278 -6
- package/main/codegen/google/protobuf/descriptor.js +1691 -171
- package/main/codegen/google/protobuf/duration.js +215 -10
- package/main/codegen/google/protobuf/empty.js +63 -6
- package/main/codegen/google/protobuf/timestamp.js +283 -9
- package/main/codegen/helpers.js +19 -53
- package/main/codegen/ibc/applications/transfer/v1/genesis.js +60 -8
- package/main/codegen/ibc/applications/transfer/v1/query.js +297 -17
- package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +40 -46
- package/main/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +5 -7
- package/main/codegen/ibc/applications/transfer/v1/transfer.js +117 -8
- package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -50
- package/main/codegen/ibc/applications/transfer/v1/tx.js +122 -14
- package/main/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +3 -5
- package/main/codegen/ibc/applications/transfer/v2/packet.js +67 -6
- package/main/codegen/ibc/bundle.js +71 -60
- package/main/codegen/ibc/client.js +21 -23
- package/main/codegen/ibc/core/channel/v1/channel.js +438 -57
- package/main/codegen/ibc/core/channel/v1/genesis.js +180 -16
- package/main/codegen/ibc/core/channel/v1/query.js +1604 -97
- package/main/codegen/ibc/core/channel/v1/query.lcd.js +184 -202
- package/main/codegen/ibc/core/channel/v1/query.rpc.Query.js +15 -17
- package/main/codegen/ibc/core/channel/v1/tx.amino.js +21 -470
- package/main/codegen/ibc/core/channel/v1/tx.js +1053 -64
- package/main/codegen/ibc/core/channel/v1/tx.rpc.msg.js +12 -14
- package/main/codegen/ibc/core/client/v1/client.js +438 -28
- package/main/codegen/ibc/core/client/v1/genesis.js +204 -15
- package/main/codegen/ibc/core/client/v1/query.js +874 -45
- package/main/codegen/ibc/core/client/v1/query.lcd.js +110 -124
- package/main/codegen/ibc/core/client/v1/query.rpc.Query.js +10 -12
- package/main/codegen/ibc/core/client/v1/tx.amino.js +9 -128
- package/main/codegen/ibc/core/client/v1/tx.js +402 -20
- package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +6 -8
- package/main/codegen/ibc/core/commitment/v1/commitment.js +236 -13
- package/main/codegen/ibc/core/connection/v1/connection.js +434 -52
- package/main/codegen/ibc/core/connection/v1/genesis.js +73 -12
- package/main/codegen/ibc/core/connection/v1/query.js +592 -36
- package/main/codegen/ibc/core/connection/v1/query.lcd.js +68 -75
- package/main/codegen/ibc/core/connection/v1/query.rpc.Query.js +7 -9
- package/main/codegen/ibc/core/connection/v1/tx.amino.js +9 -248
- package/main/codegen/ibc/core/connection/v1/tx.js +504 -34
- package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +6 -8
- package/main/codegen/ibc/core/port/v1/query.js +224 -0
- package/main/codegen/ibc/core/port/v1/query.rpc.Query.js +44 -0
- package/main/codegen/ibc/core/types/v1/genesis.js +111 -0
- package/main/codegen/ibc/lcd.js +320 -193
- package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -7
- package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +933 -91
- package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +930 -88
- package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +378 -30
- package/main/codegen/ibc/rpc.query.js +257 -146
- package/main/codegen/ibc/rpc.tx.js +235 -153
- package/main/codegen/ics23/bundle.js +6 -6
- package/main/codegen/index.js +74 -41
- package/main/codegen/juno/bundle.js +77 -24
- package/main/codegen/juno/client.js +33 -25
- package/main/codegen/juno/clock/v1/genesis.js +183 -0
- package/main/codegen/juno/clock/v1/query.js +288 -0
- package/main/codegen/juno/clock/v1/query.lcd.js +80 -0
- package/main/codegen/juno/clock/v1/query.rpc.Query.js +59 -0
- package/main/codegen/juno/clock/v1/tx.amino.js +15 -0
- package/main/codegen/juno/clock/v1/tx.js +177 -0
- package/main/codegen/juno/clock/v1/tx.registry.js +47 -0
- package/main/codegen/juno/clock/v1/tx.rpc.msg.js +33 -0
- package/main/codegen/juno/cwhooks/v1/genesis.js +212 -0
- package/main/codegen/juno/cwhooks/v1/query.js +436 -0
- package/main/codegen/juno/cwhooks/v1/query.lcd.js +108 -0
- package/main/codegen/juno/cwhooks/v1/query.rpc.Query.js +73 -0
- package/main/codegen/juno/cwhooks/v1/tx.amino.js +35 -0
- package/main/codegen/juno/cwhooks/v1/tx.js +745 -0
- package/main/codegen/juno/cwhooks/v1/tx.registry.js +119 -0
- package/main/codegen/juno/cwhooks/v1/tx.rpc.msg.js +73 -0
- package/main/codegen/juno/drip/v1/genesis.js +183 -0
- package/main/codegen/juno/drip/v1/query.js +137 -0
- package/main/codegen/juno/drip/v1/query.lcd.js +52 -0
- package/main/codegen/juno/drip/v1/query.rpc.Query.js +45 -0
- package/main/codegen/juno/drip/v1/tx.amino.js +20 -0
- package/main/codegen/juno/drip/v1/tx.js +326 -0
- package/main/codegen/juno/drip/v1/tx.registry.js +65 -0
- package/main/codegen/juno/drip/v1/tx.rpc.msg.js +43 -0
- package/main/codegen/juno/feepay/v1/feepay.js +217 -0
- package/main/codegen/juno/feepay/v1/genesis.js +185 -0
- package/main/codegen/juno/feepay/v1/query.js +769 -0
- package/main/codegen/juno/feepay/v1/query.lcd.js +165 -0
- package/main/codegen/juno/feepay/v1/query.rpc.Query.js +100 -0
- package/main/codegen/juno/feepay/v1/tx.amino.js +35 -0
- package/main/codegen/juno/feepay/v1/tx.js +792 -0
- package/main/codegen/juno/feepay/v1/tx.registry.js +119 -0
- package/main/codegen/juno/feepay/v1/tx.rpc.msg.js +73 -0
- package/main/codegen/juno/feeshare/v1/feeshare.js +54 -6
- package/main/codegen/juno/feeshare/v1/genesis.js +104 -12
- package/main/codegen/juno/feeshare/v1/query.js +446 -27
- package/main/codegen/juno/feeshare/v1/query.lcd.js +78 -86
- package/main/codegen/juno/feeshare/v1/query.rpc.Query.js +7 -9
- package/main/codegen/juno/feeshare/v1/tx.amino.js +12 -56
- package/main/codegen/juno/feeshare/v1/tx.js +406 -18
- package/main/codegen/juno/feeshare/v1/tx.registry.js +19 -1
- package/main/codegen/juno/feeshare/v1/tx.rpc.msg.js +15 -7
- package/main/codegen/juno/lcd.js +339 -156
- package/main/codegen/juno/mint/genesis.js +43 -8
- package/main/codegen/juno/mint/mint.js +117 -24
- package/main/codegen/juno/mint/query.js +384 -19
- package/main/codegen/juno/mint/query.lcd.js +61 -39
- package/main/codegen/juno/mint/query.rpc.Query.js +19 -7
- package/main/codegen/juno/mint/tx.amino.js +15 -0
- package/main/codegen/juno/mint/tx.js +177 -0
- package/main/codegen/juno/mint/tx.registry.js +47 -0
- package/main/codegen/juno/mint/tx.rpc.msg.js +33 -0
- package/main/codegen/juno/rpc.query.js +258 -117
- package/main/codegen/juno/rpc.tx.js +250 -111
- package/main/codegen/osmosis/bundle.js +19 -19
- package/main/codegen/osmosis/client.js +21 -23
- package/main/codegen/osmosis/lcd.js +272 -145
- package/main/codegen/osmosis/rpc.query.js +211 -110
- package/main/codegen/osmosis/rpc.tx.js +193 -111
- package/main/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -6
- package/main/codegen/osmosis/tokenfactory/v1beta1/genesis.js +115 -11
- package/main/codegen/osmosis/tokenfactory/v1beta1/params.js +64 -8
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.js +295 -19
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +37 -41
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +5 -7
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -165
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +785 -34
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +19 -1
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +18 -10
- package/main/codegen/router/bundle.js +12 -12
- package/main/codegen/router/lcd.js +269 -142
- package/main/codegen/router/rpc.query.js +208 -107
- package/main/codegen/router/v1/genesis.js +221 -24
- package/main/codegen/router/v1/query.js +69 -8
- package/main/codegen/router/v1/query.lcd.js +11 -13
- package/main/codegen/router/v1/query.rpc.Query.js +3 -5
- package/main/codegen/tendermint/abci/types.js +2058 -229
- package/main/codegen/tendermint/bundle.js +21 -21
- package/main/codegen/tendermint/crypto/keys.js +42 -6
- package/main/codegen/tendermint/crypto/proof.js +228 -21
- package/main/codegen/tendermint/libs/bits/types.js +47 -12
- package/main/codegen/tendermint/p2p/types.js +230 -26
- package/main/codegen/tendermint/types/block.js +46 -9
- package/main/codegen/tendermint/types/evidence.js +198 -27
- package/main/codegen/tendermint/types/params.js +316 -47
- package/main/codegen/tendermint/types/types.js +680 -87
- package/main/codegen/tendermint/types/validator.js +136 -24
- package/main/codegen/tendermint/version/types.js +114 -18
- package/main/codegen/utf8.js +129 -0
- package/main/codegen/varint.js +440 -0
- package/module/codegen/amino/amino.js +1 -0
- package/module/codegen/amino/bundle.js +5 -0
- package/module/codegen/binary.js +374 -0
- package/module/codegen/confio/proofs.js +806 -67
- package/module/codegen/contracts.js +2 -2
- package/module/codegen/cosmos/app/v1alpha1/config.js +193 -0
- package/module/codegen/cosmos/app/v1alpha1/module.js +279 -0
- package/module/codegen/cosmos/app/v1alpha1/query.js +139 -0
- package/module/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +27 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +352 -0
- package/module/codegen/cosmos/auth/v1beta1/genesis.js +94 -0
- package/module/codegen/cosmos/auth/v1beta1/query.js +1066 -0
- package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +62 -0
- package/module/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +83 -0
- package/module/codegen/cosmos/authz/v1beta1/authz.js +210 -9
- package/module/codegen/cosmos/authz/v1beta1/event.js +101 -5
- package/module/codegen/cosmos/authz/v1beta1/genesis.js +46 -3
- package/module/codegen/cosmos/authz/v1beta1/query.js +298 -17
- package/module/codegen/cosmos/authz/v1beta1/query.lcd.js +0 -3
- package/module/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +4 -4
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +18 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.js +303 -14
- package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +69 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +4 -4
- package/module/codegen/cosmos/bank/v1beta1/authz.js +61 -3
- package/module/codegen/cosmos/bank/v1beta1/bank.js +400 -17
- package/module/codegen/cosmos/bank/v1beta1/genesis.js +121 -6
- package/module/codegen/cosmos/bank/v1beta1/query.js +943 -45
- package/module/codegen/cosmos/bank/v1beta1/query.lcd.js +0 -9
- package/module/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +10 -10
- package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -70
- package/module/codegen/cosmos/bank/v1beta1/tx.js +181 -9
- package/module/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +3 -3
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +636 -57
- package/module/codegen/cosmos/base/kv/v1beta1/kv.js +169 -0
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +153 -15
- package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +315 -0
- package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1197 -53
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +859 -0
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +296 -0
- package/module/codegen/cosmos/base/store/v1beta1/listening.js +132 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1347 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +60 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +74 -0
- package/module/codegen/cosmos/base/v1beta1/coin.js +207 -9
- package/module/codegen/cosmos/bundle.js +272 -103
- package/module/codegen/cosmos/capability/v1beta1/capability.js +270 -0
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +180 -0
- package/module/codegen/cosmos/client.js +21 -5
- package/module/codegen/cosmos/crisis/v1beta1/genesis.js +77 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.js +163 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/crypto/ed25519/keys.js +113 -5
- package/module/codegen/cosmos/crypto/hd/v1/hd.js +59 -3
- package/module/codegen/cosmos/crypto/keyring/v1/record.js +236 -11
- package/module/codegen/cosmos/crypto/multisig/keys.js +62 -3
- package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +120 -5
- package/module/codegen/cosmos/crypto/secp256k1/keys.js +104 -5
- package/module/codegen/cosmos/crypto/secp256r1/keys.js +86 -5
- package/module/codegen/cosmos/distribution/v1beta1/distribution.js +753 -52
- package/module/codegen/cosmos/distribution/v1beta1/genesis.js +475 -34
- package/module/codegen/cosmos/distribution/v1beta1/query.js +943 -49
- package/module/codegen/cosmos/distribution/v1beta1/query.lcd.js +0 -9
- package/module/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +10 -10
- package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -74
- package/module/codegen/cosmos/distribution/v1beta1/tx.js +390 -21
- package/module/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +5 -5
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +124 -0
- package/module/codegen/cosmos/evidence/v1beta1/genesis.js +81 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.js +339 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +30 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +38 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.js +176 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +435 -0
- package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +81 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.js +524 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.lcd.js +41 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +13 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.js +323 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +51 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +23 -0
- package/module/codegen/cosmos/genutil/v1beta1/genesis.js +81 -0
- package/module/codegen/cosmos/gov/v1/genesis.js +75 -7
- package/module/codegen/cosmos/gov/v1/gov.js +471 -56
- package/module/codegen/cosmos/gov/v1/query.js +756 -53
- package/module/codegen/cosmos/gov/v1/query.lcd.js +0 -8
- package/module/codegen/cosmos/gov/v1/query.rpc.Query.js +9 -9
- package/module/codegen/cosmos/gov/v1/tx.amino.js +11 -150
- package/module/codegen/cosmos/gov/v1/tx.js +490 -35
- package/module/codegen/cosmos/gov/v1/tx.rpc.msg.js +6 -6
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +78 -10
- package/module/codegen/cosmos/gov/v1beta1/gov.js +538 -67
- package/module/codegen/cosmos/gov/v1beta1/query.js +763 -60
- package/module/codegen/cosmos/gov/v1beta1/query.lcd.js +0 -8
- package/module/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +9 -9
- package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -114
- package/module/codegen/cosmos/gov/v1beta1/tx.js +407 -31
- package/module/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +5 -5
- package/module/codegen/cosmos/group/v1/events.js +705 -0
- package/module/codegen/cosmos/group/v1/genesis.js +173 -0
- package/module/codegen/cosmos/group/v1/query.js +2196 -0
- package/module/codegen/cosmos/group/v1/query.lcd.js +136 -0
- package/module/codegen/cosmos/group/v1/query.rpc.Query.js +135 -0
- package/module/codegen/cosmos/group/v1/tx.amino.js +73 -0
- package/module/codegen/cosmos/group/v1/tx.js +2445 -0
- package/module/codegen/cosmos/group/v1/tx.registry.js +267 -0
- package/module/codegen/cosmos/group/v1/tx.rpc.msg.js +95 -0
- package/module/codegen/cosmos/group/v1/types.js +1511 -0
- package/module/codegen/cosmos/lcd.js +48 -1
- package/module/codegen/cosmos/mint/v1beta1/genesis.js +89 -0
- package/module/codegen/cosmos/mint/v1beta1/mint.js +226 -0
- package/module/codegen/cosmos/mint/v1beta1/query.js +443 -0
- package/module/codegen/cosmos/mint/v1beta1/query.lcd.js +27 -0
- package/module/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/cosmos/msg/v1/msg.js +1 -0
- package/module/codegen/cosmos/nft/v1beta1/event.js +313 -0
- package/module/codegen/cosmos/nft/v1beta1/genesis.js +186 -0
- package/module/codegen/cosmos/nft/v1beta1/nft.js +274 -0
- package/module/codegen/cosmos/nft/v1beta1/query.js +1152 -0
- package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +73 -0
- package/module/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +83 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.js +175 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/orm/v1/orm.js +368 -0
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +245 -0
- package/module/codegen/cosmos/params/v1beta1/params.js +213 -0
- package/module/codegen/cosmos/params/v1beta1/query.js +424 -0
- package/module/codegen/cosmos/params/v1beta1/query.lcd.js +31 -0
- package/module/codegen/cosmos/params/v1beta1/query.rpc.Query.js +36 -0
- package/module/codegen/cosmos/rpc.query.js +32 -0
- package/module/codegen/cosmos/rpc.tx.js +21 -0
- package/module/codegen/cosmos/slashing/v1beta1/genesis.js +383 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.js +493 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +36 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +47 -0
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +273 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.js +139 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/staking/v1beta1/authz.js +111 -22
- package/module/codegen/cosmos/staking/v1beta1/genesis.js +131 -10
- package/module/codegen/cosmos/staking/v1beta1/query.js +1436 -68
- package/module/codegen/cosmos/staking/v1beta1/query.lcd.js +0 -14
- package/module/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +15 -15
- package/module/codegen/cosmos/staking/v1beta1/staking.js +1225 -95
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -199
- package/module/codegen/cosmos/staking/v1beta1/tx.js +511 -32
- package/module/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +6 -6
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +261 -40
- package/module/codegen/cosmos/tx/v1beta1/service.js +581 -52
- package/module/codegen/cosmos/tx/v1beta1/service.lcd.js +0 -3
- package/module/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +6 -6
- package/module/codegen/cosmos/tx/v1beta1/tx.js +818 -50
- package/module/codegen/cosmos/upgrade/v1beta1/query.js +514 -28
- package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +0 -5
- package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +6 -6
- package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -51
- package/module/codegen/cosmos/upgrade/v1beta1/tx.js +214 -10
- package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +3 -3
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +247 -18
- package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +18 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +570 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +69 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +29 -0
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +622 -0
- package/module/codegen/cosmos_proto/bundle.js +4 -4
- package/module/codegen/cosmos_proto/cosmos.js +121 -15
- package/module/codegen/cosmwasm/bundle.js +19 -19
- package/module/codegen/cosmwasm/client.js +3 -3
- package/module/codegen/cosmwasm/lcd.js +48 -1
- package/module/codegen/cosmwasm/rpc.query.js +32 -0
- package/module/codegen/cosmwasm/rpc.tx.js +21 -0
- package/module/codegen/cosmwasm/wasm/v1/authz.js +504 -30
- package/module/codegen/cosmwasm/wasm/v1/genesis.js +294 -21
- package/module/codegen/cosmwasm/wasm/v1/ibc.js +102 -12
- package/module/codegen/cosmwasm/wasm/v1/proposal.js +815 -42
- package/module/codegen/cosmwasm/wasm/v1/query.js +1203 -61
- package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +0 -11
- package/module/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +12 -12
- package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -219
- package/module/codegen/cosmwasm/wasm/v1/tx.js +728 -46
- package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +8 -8
- package/module/codegen/cosmwasm/wasm/v1/types.js +437 -59
- package/module/codegen/gaia/bundle.js +10 -10
- package/module/codegen/gaia/globalfee/v1beta1/genesis.js +77 -6
- package/module/codegen/gaia/globalfee/v1beta1/query.js +90 -5
- package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +0 -1
- package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +2 -2
- package/module/codegen/gaia/lcd.js +48 -1
- package/module/codegen/gaia/rpc.query.js +32 -0
- package/module/codegen/gogoproto/bundle.js +4 -4
- package/module/codegen/google/api/annotations.js +1 -0
- package/module/codegen/google/api/http.js +1171 -0
- package/module/codegen/google/bundle.js +11 -8
- package/module/codegen/google/protobuf/any.js +278 -3
- package/module/codegen/google/protobuf/descriptor.js +1534 -165
- package/module/codegen/google/protobuf/duration.js +154 -7
- package/module/codegen/google/protobuf/empty.js +63 -3
- package/module/codegen/google/protobuf/timestamp.js +199 -7
- package/module/codegen/helpers.js +19 -46
- package/module/codegen/ibc/applications/transfer/v1/genesis.js +55 -4
- package/module/codegen/ibc/applications/transfer/v1/query.js +292 -13
- package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +0 -3
- package/module/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +4 -4
- package/module/codegen/ibc/applications/transfer/v1/transfer.js +117 -5
- package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -52
- package/module/codegen/ibc/applications/transfer/v1/tx.js +116 -11
- package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +2 -2
- package/module/codegen/ibc/applications/transfer/v2/packet.js +67 -3
- package/module/codegen/ibc/bundle.js +69 -58
- package/module/codegen/ibc/client.js +3 -3
- package/module/codegen/ibc/core/channel/v1/channel.js +424 -55
- package/module/codegen/ibc/core/channel/v1/genesis.js +149 -12
- package/module/codegen/ibc/core/channel/v1/query.js +1565 -93
- package/module/codegen/ibc/core/channel/v1/query.lcd.js +0 -13
- package/module/codegen/ibc/core/channel/v1/query.rpc.Query.js +14 -14
- package/module/codegen/ibc/core/channel/v1/tx.amino.js +21 -490
- package/module/codegen/ibc/core/channel/v1/tx.js +1049 -62
- package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +11 -11
- package/module/codegen/ibc/core/client/v1/client.js +424 -24
- package/module/codegen/ibc/core/client/v1/genesis.js +186 -12
- package/module/codegen/ibc/core/client/v1/query.js +861 -42
- package/module/codegen/ibc/core/client/v1/query.lcd.js +0 -8
- package/module/codegen/ibc/core/client/v1/query.rpc.Query.js +9 -9
- package/module/codegen/ibc/core/client/v1/tx.amino.js +9 -136
- package/module/codegen/ibc/core/client/v1/tx.js +402 -17
- package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +5 -5
- package/module/codegen/ibc/core/commitment/v1/commitment.js +227 -9
- package/module/codegen/ibc/core/connection/v1/connection.js +409 -48
- package/module/codegen/ibc/core/connection/v1/genesis.js +62 -8
- package/module/codegen/ibc/core/connection/v1/query.js +579 -33
- package/module/codegen/ibc/core/connection/v1/query.lcd.js +0 -5
- package/module/codegen/ibc/core/connection/v1/query.rpc.Query.js +6 -6
- package/module/codegen/ibc/core/connection/v1/tx.amino.js +9 -252
- package/module/codegen/ibc/core/connection/v1/tx.js +495 -31
- package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +5 -5
- package/module/codegen/ibc/core/port/v1/query.js +214 -0
- package/module/codegen/ibc/core/port/v1/query.rpc.Query.js +27 -0
- package/module/codegen/ibc/core/types/v1/genesis.js +103 -0
- package/module/codegen/ibc/lcd.js +48 -1
- package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -4
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +930 -89
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +927 -86
- package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +365 -27
- package/module/codegen/ibc/rpc.query.js +35 -0
- package/module/codegen/ibc/rpc.tx.js +21 -0
- package/module/codegen/ics23/bundle.js +4 -4
- package/module/codegen/index.js +5 -2
- package/module/codegen/juno/bundle.js +75 -22
- package/module/codegen/juno/client.js +15 -5
- package/module/codegen/juno/clock/v1/genesis.js +155 -0
- package/module/codegen/juno/clock/v1/query.js +256 -0
- package/module/codegen/juno/clock/v1/query.lcd.js +21 -0
- package/module/codegen/juno/clock/v1/query.rpc.Query.js +36 -0
- package/module/codegen/juno/clock/v1/tx.amino.js +8 -0
- package/module/codegen/juno/clock/v1/tx.js +167 -0
- package/module/codegen/juno/clock/v1/tx.registry.js +33 -0
- package/module/codegen/juno/clock/v1/tx.rpc.msg.js +17 -0
- package/module/codegen/juno/cwhooks/v1/genesis.js +169 -0
- package/module/codegen/juno/cwhooks/v1/query.js +385 -0
- package/module/codegen/juno/cwhooks/v1/query.lcd.js +27 -0
- package/module/codegen/juno/cwhooks/v1/query.rpc.Query.js +45 -0
- package/module/codegen/juno/cwhooks/v1/tx.amino.js +28 -0
- package/module/codegen/juno/cwhooks/v1/tx.js +719 -0
- package/module/codegen/juno/cwhooks/v1/tx.registry.js +105 -0
- package/module/codegen/juno/cwhooks/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/juno/drip/v1/genesis.js +155 -0
- package/module/codegen/juno/drip/v1/query.js +127 -0
- package/module/codegen/juno/drip/v1/query.lcd.js +15 -0
- package/module/codegen/juno/drip/v1/query.rpc.Query.js +27 -0
- package/module/codegen/juno/drip/v1/tx.amino.js +13 -0
- package/module/codegen/juno/drip/v1/tx.js +294 -0
- package/module/codegen/juno/drip/v1/tx.registry.js +51 -0
- package/module/codegen/juno/drip/v1/tx.rpc.msg.js +23 -0
- package/module/codegen/juno/feepay/v1/feepay.js +207 -0
- package/module/codegen/juno/feepay/v1/genesis.js +157 -0
- package/module/codegen/juno/feepay/v1/query.js +725 -0
- package/module/codegen/juno/feepay/v1/query.lcd.js +48 -0
- package/module/codegen/juno/feepay/v1/query.rpc.Query.js +65 -0
- package/module/codegen/juno/feepay/v1/tx.amino.js +28 -0
- package/module/codegen/juno/feepay/v1/tx.js +748 -0
- package/module/codegen/juno/feepay/v1/tx.registry.js +105 -0
- package/module/codegen/juno/feepay/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/juno/feeshare/v1/feeshare.js +54 -3
- package/module/codegen/juno/feeshare/v1/genesis.js +95 -8
- package/module/codegen/juno/feeshare/v1/query.js +433 -23
- package/module/codegen/juno/feeshare/v1/query.lcd.js +0 -5
- package/module/codegen/juno/feeshare/v1/query.rpc.Query.js +6 -6
- package/module/codegen/juno/feeshare/v1/tx.amino.js +12 -62
- package/module/codegen/juno/feeshare/v1/tx.js +400 -13
- package/module/codegen/juno/feeshare/v1/tx.registry.js +20 -2
- package/module/codegen/juno/feeshare/v1/tx.rpc.msg.js +11 -5
- package/module/codegen/juno/lcd.js +68 -1
- package/module/codegen/juno/mint/genesis.js +43 -5
- package/module/codegen/juno/mint/mint.js +115 -21
- package/module/codegen/juno/mint/query.js +378 -14
- package/module/codegen/juno/mint/query.lcd.js +6 -3
- package/module/codegen/juno/mint/query.rpc.Query.js +14 -5
- package/module/codegen/juno/mint/tx.amino.js +8 -0
- package/module/codegen/juno/mint/tx.js +167 -0
- package/module/codegen/juno/mint/tx.registry.js +33 -0
- package/module/codegen/juno/mint/tx.rpc.msg.js +17 -0
- package/module/codegen/juno/rpc.query.js +44 -0
- package/module/codegen/juno/rpc.tx.js +35 -1
- package/module/codegen/osmosis/bundle.js +17 -17
- package/module/codegen/osmosis/client.js +3 -3
- package/module/codegen/osmosis/lcd.js +48 -1
- package/module/codegen/osmosis/rpc.query.js +32 -0
- package/module/codegen/osmosis/rpc.tx.js +21 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -3
- package/module/codegen/osmosis/tokenfactory/v1beta1/genesis.js +110 -7
- package/module/codegen/osmosis/tokenfactory/v1beta1/params.js +59 -4
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.js +290 -15
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +0 -3
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +4 -4
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -173
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +780 -30
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +20 -2
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +14 -8
- package/module/codegen/router/bundle.js +10 -10
- package/module/codegen/router/lcd.js +48 -1
- package/module/codegen/router/rpc.query.js +32 -0
- package/module/codegen/router/v1/genesis.js +217 -22
- package/module/codegen/router/v1/query.js +69 -5
- package/module/codegen/router/v1/query.lcd.js +0 -1
- package/module/codegen/router/v1/query.rpc.Query.js +2 -2
- package/module/codegen/tendermint/abci/types.js +1996 -220
- package/module/codegen/tendermint/bundle.js +19 -19
- package/module/codegen/tendermint/crypto/keys.js +42 -3
- package/module/codegen/tendermint/crypto/proof.js +221 -18
- package/module/codegen/tendermint/libs/bits/types.js +42 -8
- package/module/codegen/tendermint/p2p/types.js +226 -23
- package/module/codegen/tendermint/types/block.js +46 -6
- package/module/codegen/tendermint/types/evidence.js +191 -24
- package/module/codegen/tendermint/types/params.js +306 -43
- package/module/codegen/tendermint/types/types.js +666 -85
- package/module/codegen/tendermint/types/validator.js +132 -21
- package/module/codegen/tendermint/version/types.js +108 -15
- package/module/codegen/utf8.js +121 -0
- package/module/codegen/varint.js +420 -0
- package/package.json +8 -9
- package/src/codegen/amino/amino.ts +1 -0
- package/src/codegen/amino/bundle.ts +4 -0
- package/src/codegen/binary.ts +534 -0
- package/src/codegen/confio/proofs.ts +828 -387
- package/src/codegen/cosmos/app/v1alpha1/config.ts +255 -0
- package/src/codegen/cosmos/app/v1alpha1/module.ts +454 -0
- package/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts +30 -0
- package/src/codegen/cosmos/app/v1alpha1/query.ts +163 -0
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +418 -0
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +113 -0
- package/src/codegen/cosmos/auth/v1beta1/query.lcd.ts +65 -0
- package/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts +102 -0
- package/src/codegen/cosmos/auth/v1beta1/query.ts +1249 -0
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +238 -81
- package/src/codegen/cosmos/authz/v1beta1/event.ts +127 -56
- package/src/codegen/cosmos/authz/v1beta1/genesis.ts +54 -19
- package/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +1 -18
- package/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts +4 -15
- package/src/codegen/cosmos/authz/v1beta1/query.ts +359 -140
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +18 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +70 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +4 -12
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +336 -113
- package/src/codegen/cosmos/bank/v1beta1/authz.ts +59 -19
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +454 -172
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +142 -60
- package/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +1 -35
- package/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts +10 -39
- package/src/codegen/cosmos/bank/v1beta1/query.ts +1075 -385
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +4 -101
- package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +0 -6
- package/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +3 -9
- package/src/codegen/cosmos/bank/v1beta1/tx.ts +212 -70
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +767 -356
- package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +197 -0
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +166 -77
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +364 -0
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +1406 -501
- package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +1023 -0
- package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +343 -0
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +158 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +63 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +87 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1606 -0
- package/src/codegen/cosmos/base/v1beta1/coin.ts +221 -70
- package/src/codegen/cosmos/bundle.ts +439 -157
- package/src/codegen/cosmos/capability/v1beta1/capability.ts +312 -0
- package/src/codegen/cosmos/capability/v1beta1/genesis.ts +226 -0
- package/src/codegen/cosmos/client.ts +31 -5
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +99 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +20 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.ts +190 -0
- package/src/codegen/cosmos/crypto/ed25519/keys.ts +111 -34
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +76 -39
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +280 -108
- package/src/codegen/cosmos/crypto/multisig/keys.ts +63 -21
- package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +118 -36
- package/src/codegen/cosmos/crypto/secp256k1/keys.ts +108 -34
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +104 -36
- package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +778 -261
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +591 -274
- package/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +1 -25
- package/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts +10 -39
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +1022 -353
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +8 -105
- package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +0 -12
- package/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +5 -15
- package/src/codegen/cosmos/distribution/v1beta1/tx.ts +423 -133
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +146 -0
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +95 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts +33 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts +43 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +405 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +23 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +207 -0
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +560 -0
- package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +93 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +44 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts +55 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +634 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +13 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +52 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +34 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +384 -0
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +95 -0
- package/src/codegen/cosmos/gov/v1/genesis.ts +100 -55
- package/src/codegen/cosmos/gov/v1/gov.ts +560 -306
- package/src/codegen/cosmos/gov/v1/query.lcd.ts +1 -28
- package/src/codegen/cosmos/gov/v1/query.rpc.Query.ts +9 -35
- package/src/codegen/cosmos/gov/v1/query.ts +929 -365
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +10 -208
- package/src/codegen/cosmos/gov/v1/tx.registry.ts +0 -15
- package/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +6 -18
- package/src/codegen/cosmos/gov/v1/tx.ts +582 -213
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +107 -62
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +641 -348
- package/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +1 -28
- package/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts +9 -35
- package/src/codegen/cosmos/gov/v1beta1/query.ts +948 -384
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +8 -159
- package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +0 -12
- package/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +5 -15
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +468 -168
- package/src/codegen/cosmos/group/v1/events.ts +855 -0
- package/src/codegen/cosmos/group/v1/genesis.ts +240 -0
- package/src/codegen/cosmos/group/v1/query.lcd.ts +139 -0
- package/src/codegen/cosmos/group/v1/query.rpc.Query.ts +162 -0
- package/src/codegen/cosmos/group/v1/query.ts +2674 -0
- package/src/codegen/cosmos/group/v1/tx.amino.ts +73 -0
- package/src/codegen/cosmos/group/v1/tx.registry.ts +268 -0
- package/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +124 -0
- package/src/codegen/cosmos/group/v1/tx.ts +2998 -0
- package/src/codegen/cosmos/group/v1/types.ts +1964 -0
- package/src/codegen/cosmos/lcd.ts +48 -1
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +110 -0
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +286 -0
- package/src/codegen/cosmos/mint/v1beta1/query.lcd.ts +30 -0
- package/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts +52 -0
- package/src/codegen/cosmos/mint/v1beta1/query.ts +513 -0
- package/src/codegen/cosmos/msg/v1/msg.ts +1 -0
- package/src/codegen/cosmos/nft/v1beta1/event.ts +373 -0
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +222 -0
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +354 -0
- package/src/codegen/cosmos/nft/v1beta1/query.lcd.ts +76 -0
- package/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts +101 -0
- package/src/codegen/cosmos/nft/v1beta1/query.ts +1360 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +20 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +213 -0
- package/src/codegen/cosmos/orm/v1/orm.ts +566 -0
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +348 -0
- package/src/codegen/cosmos/params/v1beta1/params.ts +250 -0
- package/src/codegen/cosmos/params/v1beta1/query.lcd.ts +34 -0
- package/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts +44 -0
- package/src/codegen/cosmos/params/v1beta1/query.ts +495 -0
- package/src/codegen/cosmos/rpc.query.ts +32 -0
- package/src/codegen/cosmos/rpc.tx.ts +21 -0
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +478 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts +39 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts +54 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +577 -0
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +356 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +24 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.ts +160 -0
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +130 -84
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +170 -82
- package/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +1 -48
- package/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts +15 -59
- package/src/codegen/cosmos/staking/v1beta1/query.ts +1616 -586
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +1395 -616
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +10 -276
- package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +0 -15
- package/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +6 -18
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +609 -224
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +306 -181
- package/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +1 -15
- package/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts +6 -23
- package/src/codegen/cosmos/tx/v1beta1/service.ts +635 -293
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +930 -405
- package/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +1 -15
- package/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts +6 -23
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +550 -182
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +4 -77
- package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +0 -6
- package/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +3 -9
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +217 -73
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +284 -124
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +18 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +70 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +45 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +657 -0
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +724 -0
- package/src/codegen/cosmos_proto/bundle.ts +3 -2
- package/src/codegen/cosmos_proto/cosmos.ts +125 -67
- package/src/codegen/cosmwasm/bundle.ts +32 -30
- package/src/codegen/cosmwasm/client.ts +5 -3
- package/src/codegen/cosmwasm/lcd.ts +48 -1
- package/src/codegen/cosmwasm/rpc.query.ts +32 -0
- package/src/codegen/cosmwasm/rpc.tx.ts +21 -0
- package/src/codegen/cosmwasm/wasm/v1/authz.ts +528 -180
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +356 -134
- package/src/codegen/cosmwasm/wasm/v1/ibc.ts +131 -60
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +987 -497
- package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +1 -37
- package/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts +12 -47
- package/src/codegen/cosmwasm/wasm/v1/query.ts +1352 -486
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +14 -298
- package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +0 -21
- package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +8 -24
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +893 -386
- package/src/codegen/cosmwasm/wasm/v1/types.ts +541 -300
- package/src/codegen/gaia/bundle.ts +14 -12
- package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +97 -40
- package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +1 -5
- package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +2 -7
- package/src/codegen/gaia/globalfee/v1beta1/query.ts +92 -33
- package/src/codegen/gaia/lcd.ts +48 -1
- package/src/codegen/gaia/rpc.query.ts +32 -0
- package/src/codegen/gogoproto/bundle.ts +3 -2
- package/src/codegen/google/api/annotations.ts +1 -0
- package/src/codegen/google/api/http.ts +1351 -0
- package/src/codegen/google/bundle.ts +17 -10
- package/src/codegen/google/protobuf/any.ts +131 -24
- package/src/codegen/google/protobuf/descriptor.ts +1890 -1033
- package/src/codegen/google/protobuf/duration.ts +106 -41
- package/src/codegen/google/protobuf/empty.ts +49 -16
- package/src/codegen/google/protobuf/timestamp.ts +127 -39
- package/src/codegen/helpers.ts +174 -166
- package/src/codegen/ibc/applications/transfer/v1/genesis.ts +67 -26
- package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +1 -11
- package/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts +4 -15
- package/src/codegen/ibc/applications/transfer/v1/query.ts +322 -108
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +123 -46
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +2 -67
- package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +0 -3
- package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +2 -6
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +148 -75
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +74 -34
- package/src/codegen/ibc/bundle.ts +115 -90
- package/src/codegen/ibc/client.ts +5 -3
- package/src/codegen/ibc/core/channel/v1/channel.ts +489 -301
- package/src/codegen/ibc/core/channel/v1/genesis.ts +177 -68
- package/src/codegen/ibc/core/channel/v1/query.lcd.ts +1 -38
- package/src/codegen/ibc/core/channel/v1/query.rpc.Query.ts +14 -55
- package/src/codegen/ibc/core/channel/v1/query.ts +1799 -794
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +20 -637
- package/src/codegen/ibc/core/channel/v1/tx.registry.ts +0 -30
- package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +11 -33
- package/src/codegen/ibc/core/channel/v1/tx.ts +1224 -442
- package/src/codegen/ibc/core/client/v1/client.ts +463 -184
- package/src/codegen/ibc/core/client/v1/genesis.ts +218 -91
- package/src/codegen/ibc/core/client/v1/query.lcd.ts +1 -25
- package/src/codegen/ibc/core/client/v1/query.rpc.Query.ts +9 -35
- package/src/codegen/ibc/core/client/v1/query.ts +929 -333
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +8 -190
- package/src/codegen/ibc/core/client/v1/tx.registry.ts +0 -12
- package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +5 -15
- package/src/codegen/ibc/core/client/v1/tx.ts +461 -182
- package/src/codegen/ibc/core/commitment/v1/commitment.ts +224 -67
- package/src/codegen/ibc/core/connection/v1/connection.ts +485 -246
- package/src/codegen/ibc/core/connection/v1/genesis.ts +81 -37
- package/src/codegen/ibc/core/connection/v1/query.lcd.ts +1 -15
- package/src/codegen/ibc/core/connection/v1/query.rpc.Query.ts +6 -23
- package/src/codegen/ibc/core/connection/v1/query.ts +653 -261
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +8 -328
- package/src/codegen/ibc/core/connection/v1/tx.registry.ts +0 -12
- package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +5 -15
- package/src/codegen/ibc/core/connection/v1/tx.ts +583 -242
- package/src/codegen/ibc/core/port/v1/query.rpc.Query.ts +30 -0
- package/src/codegen/ibc/core/port/v1/query.ts +269 -0
- package/src/codegen/ibc/core/types/v1/genesis.ts +135 -0
- package/src/codegen/ibc/lcd.ts +48 -1
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +65 -28
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1061 -473
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1056 -468
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +419 -189
- package/src/codegen/ibc/rpc.query.ts +35 -0
- package/src/codegen/ibc/rpc.tx.ts +21 -0
- package/src/codegen/ics23/bundle.ts +3 -2
- package/src/codegen/index.ts +5 -2
- package/src/codegen/juno/bundle.ts +127 -34
- package/src/codegen/juno/client.ts +21 -4
- package/src/codegen/juno/clock/v1/genesis.ts +188 -0
- package/src/codegen/juno/clock/v1/query.lcd.ts +24 -0
- package/src/codegen/juno/clock/v1/query.rpc.Query.ts +41 -0
- package/src/codegen/juno/clock/v1/query.ts +298 -0
- package/src/codegen/juno/clock/v1/tx.amino.ts +8 -0
- package/src/codegen/juno/clock/v1/tx.registry.ts +34 -0
- package/src/codegen/juno/clock/v1/tx.rpc.msg.ts +25 -0
- package/src/codegen/juno/clock/v1/tx.ts +203 -0
- package/src/codegen/juno/cwhooks/v1/genesis.ts +209 -0
- package/src/codegen/juno/cwhooks/v1/query.lcd.ts +30 -0
- package/src/codegen/juno/cwhooks/v1/query.rpc.Query.ts +52 -0
- package/src/codegen/juno/cwhooks/v1/query.ts +447 -0
- package/src/codegen/juno/cwhooks/v1/tx.amino.ts +28 -0
- package/src/codegen/juno/cwhooks/v1/tx.registry.ts +106 -0
- package/src/codegen/juno/cwhooks/v1/tx.rpc.msg.ts +57 -0
- package/src/codegen/juno/cwhooks/v1/tx.ts +851 -0
- package/src/codegen/juno/drip/v1/genesis.ts +190 -0
- package/src/codegen/juno/drip/v1/query.lcd.ts +18 -0
- package/src/codegen/juno/drip/v1/query.rpc.Query.ts +30 -0
- package/src/codegen/juno/drip/v1/query.ts +151 -0
- package/src/codegen/juno/drip/v1/tx.amino.ts +13 -0
- package/src/codegen/juno/drip/v1/tx.registry.ts +52 -0
- package/src/codegen/juno/drip/v1/tx.rpc.msg.ts +27 -0
- package/src/codegen/juno/drip/v1/tx.ts +360 -0
- package/src/codegen/juno/feepay/v1/feepay.ts +257 -0
- package/src/codegen/juno/feepay/v1/genesis.ts +191 -0
- package/src/codegen/juno/feepay/v1/query.lcd.ts +51 -0
- package/src/codegen/juno/feepay/v1/query.rpc.Query.ts +76 -0
- package/src/codegen/juno/feepay/v1/query.ts +886 -0
- package/src/codegen/juno/feepay/v1/tx.amino.ts +28 -0
- package/src/codegen/juno/feepay/v1/tx.registry.ts +106 -0
- package/src/codegen/juno/feepay/v1/tx.rpc.msg.ts +52 -0
- package/src/codegen/juno/feepay/v1/tx.ts +905 -0
- package/src/codegen/juno/feeshare/v1/feeshare.ts +61 -29
- package/src/codegen/juno/feeshare/v1/genesis.ts +119 -56
- package/src/codegen/juno/feeshare/v1/query.lcd.ts +1 -19
- package/src/codegen/juno/feeshare/v1/query.rpc.Query.ts +6 -23
- package/src/codegen/juno/feeshare/v1/query.ts +504 -203
- package/src/codegen/juno/feeshare/v1/tx.amino.ts +12 -87
- package/src/codegen/juno/feeshare/v1/tx.registry.ts +20 -11
- package/src/codegen/juno/feeshare/v1/tx.rpc.msg.ts +13 -13
- package/src/codegen/juno/feeshare/v1/tx.ts +485 -120
- package/src/codegen/juno/lcd.ts +68 -1
- package/src/codegen/juno/mint/genesis.ts +58 -30
- package/src/codegen/juno/mint/mint.ts +152 -73
- package/src/codegen/juno/mint/query.lcd.ts +8 -10
- package/src/codegen/juno/mint/query.rpc.Query.ts +16 -16
- package/src/codegen/juno/mint/query.ts +431 -99
- package/src/codegen/juno/mint/tx.amino.ts +8 -0
- package/src/codegen/juno/mint/tx.registry.ts +34 -0
- package/src/codegen/juno/mint/tx.rpc.msg.ts +25 -0
- package/src/codegen/juno/mint/tx.ts +203 -0
- package/src/codegen/juno/rpc.query.ts +44 -0
- package/src/codegen/juno/rpc.tx.ts +35 -1
- package/src/codegen/osmosis/bundle.ts +28 -26
- package/src/codegen/osmosis/client.ts +5 -3
- package/src/codegen/osmosis/lcd.ts +48 -1
- package/src/codegen/osmosis/rpc.query.ts +32 -0
- package/src/codegen/osmosis/rpc.tx.ts +21 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +56 -19
- package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +126 -47
- package/src/codegen/osmosis/tokenfactory/v1beta1/params.ts +80 -20
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +1 -9
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.ts +4 -15
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +318 -105
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +18 -244
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +20 -20
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +21 -17
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +881 -215
- package/src/codegen/router/bundle.ts +14 -12
- package/src/codegen/router/lcd.ts +48 -1
- package/src/codegen/router/rpc.query.ts +32 -0
- package/src/codegen/router/v1/genesis.ts +276 -119
- package/src/codegen/router/v1/query.lcd.ts +1 -5
- package/src/codegen/router/v1/query.rpc.Query.ts +2 -7
- package/src/codegen/router/v1/query.ts +85 -34
- package/src/codegen/tendermint/abci/types.ts +2651 -1184
- package/src/codegen/tendermint/bundle.ts +28 -22
- package/src/codegen/tendermint/crypto/keys.ts +51 -20
- package/src/codegen/tendermint/crypto/proof.ts +281 -108
- package/src/codegen/tendermint/libs/bits/types.ts +62 -32
- package/src/codegen/tendermint/p2p/types.ts +318 -126
- package/src/codegen/tendermint/types/block.ts +70 -33
- package/src/codegen/tendermint/types/evidence.ts +257 -112
- package/src/codegen/tendermint/types/params.ts +383 -188
- package/src/codegen/tendermint/types/types.ts +886 -437
- package/src/codegen/tendermint/types/validator.ts +191 -84
- package/src/codegen/tendermint/version/types.ts +125 -56
- package/src/codegen/utf8.ts +148 -0
- package/src/codegen/varint.ts +488 -0
- package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +1 -1
- package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +1 -1
- package/types/codegen/gaia/globalfee/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/helpers.d.ts +1 -1
- package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +1 -1
- package/types/codegen/index.d.ts +1 -1
- package/types/codegen/juno/feeshare/v1/query.lcd.d.ts +1 -1
- package/types/codegen/juno/mint/query.lcd.d.ts +1 -1
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/router/v1/query.lcd.d.ts +1 -1
|
@@ -1,72 +1,43 @@
|
|
|
1
|
-
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
4
|
+
import { toUtf8, fromUtf8 } from "@cosmjs/encoding";
|
|
4
5
|
/** AccessType permission types */
|
|
5
|
-
|
|
6
6
|
export enum AccessType {
|
|
7
7
|
/** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */
|
|
8
8
|
ACCESS_TYPE_UNSPECIFIED = 0,
|
|
9
|
-
|
|
10
9
|
/** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */
|
|
11
10
|
ACCESS_TYPE_NOBODY = 1,
|
|
12
|
-
|
|
13
11
|
/**
|
|
14
12
|
* ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to a single address
|
|
15
13
|
* Deprecated: use AccessTypeAnyOfAddresses instead
|
|
16
14
|
*/
|
|
17
15
|
ACCESS_TYPE_ONLY_ADDRESS = 2,
|
|
18
|
-
|
|
19
16
|
/** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */
|
|
20
17
|
ACCESS_TYPE_EVERYBODY = 3,
|
|
21
|
-
|
|
22
|
-
/** ACCESS_TYPE_ANY_OF_ADDRESSES - AccessTypeAnyOfAddresses allow any of the addresses */
|
|
23
|
-
ACCESS_TYPE_ANY_OF_ADDRESSES = 4,
|
|
24
|
-
UNRECOGNIZED = -1,
|
|
25
|
-
}
|
|
26
|
-
/** AccessType permission types */
|
|
27
|
-
|
|
28
|
-
export enum AccessTypeSDKType {
|
|
29
|
-
/** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */
|
|
30
|
-
ACCESS_TYPE_UNSPECIFIED = 0,
|
|
31
|
-
|
|
32
|
-
/** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */
|
|
33
|
-
ACCESS_TYPE_NOBODY = 1,
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to a single address
|
|
37
|
-
* Deprecated: use AccessTypeAnyOfAddresses instead
|
|
38
|
-
*/
|
|
39
|
-
ACCESS_TYPE_ONLY_ADDRESS = 2,
|
|
40
|
-
|
|
41
|
-
/** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */
|
|
42
|
-
ACCESS_TYPE_EVERYBODY = 3,
|
|
43
|
-
|
|
44
18
|
/** ACCESS_TYPE_ANY_OF_ADDRESSES - AccessTypeAnyOfAddresses allow any of the addresses */
|
|
45
19
|
ACCESS_TYPE_ANY_OF_ADDRESSES = 4,
|
|
46
20
|
UNRECOGNIZED = -1,
|
|
47
21
|
}
|
|
22
|
+
export const AccessTypeSDKType = AccessType;
|
|
23
|
+
export const AccessTypeAmino = AccessType;
|
|
48
24
|
export function accessTypeFromJSON(object: any): AccessType {
|
|
49
25
|
switch (object) {
|
|
50
26
|
case 0:
|
|
51
27
|
case "ACCESS_TYPE_UNSPECIFIED":
|
|
52
28
|
return AccessType.ACCESS_TYPE_UNSPECIFIED;
|
|
53
|
-
|
|
54
29
|
case 1:
|
|
55
30
|
case "ACCESS_TYPE_NOBODY":
|
|
56
31
|
return AccessType.ACCESS_TYPE_NOBODY;
|
|
57
|
-
|
|
58
32
|
case 2:
|
|
59
33
|
case "ACCESS_TYPE_ONLY_ADDRESS":
|
|
60
34
|
return AccessType.ACCESS_TYPE_ONLY_ADDRESS;
|
|
61
|
-
|
|
62
35
|
case 3:
|
|
63
36
|
case "ACCESS_TYPE_EVERYBODY":
|
|
64
37
|
return AccessType.ACCESS_TYPE_EVERYBODY;
|
|
65
|
-
|
|
66
38
|
case 4:
|
|
67
39
|
case "ACCESS_TYPE_ANY_OF_ADDRESSES":
|
|
68
40
|
return AccessType.ACCESS_TYPE_ANY_OF_ADDRESSES;
|
|
69
|
-
|
|
70
41
|
case -1:
|
|
71
42
|
case "UNRECOGNIZED":
|
|
72
43
|
default:
|
|
@@ -77,74 +48,47 @@ export function accessTypeToJSON(object: AccessType): string {
|
|
|
77
48
|
switch (object) {
|
|
78
49
|
case AccessType.ACCESS_TYPE_UNSPECIFIED:
|
|
79
50
|
return "ACCESS_TYPE_UNSPECIFIED";
|
|
80
|
-
|
|
81
51
|
case AccessType.ACCESS_TYPE_NOBODY:
|
|
82
52
|
return "ACCESS_TYPE_NOBODY";
|
|
83
|
-
|
|
84
53
|
case AccessType.ACCESS_TYPE_ONLY_ADDRESS:
|
|
85
54
|
return "ACCESS_TYPE_ONLY_ADDRESS";
|
|
86
|
-
|
|
87
55
|
case AccessType.ACCESS_TYPE_EVERYBODY:
|
|
88
56
|
return "ACCESS_TYPE_EVERYBODY";
|
|
89
|
-
|
|
90
57
|
case AccessType.ACCESS_TYPE_ANY_OF_ADDRESSES:
|
|
91
58
|
return "ACCESS_TYPE_ANY_OF_ADDRESSES";
|
|
92
|
-
|
|
93
59
|
case AccessType.UNRECOGNIZED:
|
|
94
60
|
default:
|
|
95
61
|
return "UNRECOGNIZED";
|
|
96
62
|
}
|
|
97
63
|
}
|
|
98
64
|
/** ContractCodeHistoryOperationType actions that caused a code change */
|
|
99
|
-
|
|
100
65
|
export enum ContractCodeHistoryOperationType {
|
|
101
66
|
/** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */
|
|
102
67
|
CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0,
|
|
103
|
-
|
|
104
|
-
/** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */
|
|
105
|
-
CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1,
|
|
106
|
-
|
|
107
|
-
/** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */
|
|
108
|
-
CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2,
|
|
109
|
-
|
|
110
|
-
/** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */
|
|
111
|
-
CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3,
|
|
112
|
-
UNRECOGNIZED = -1,
|
|
113
|
-
}
|
|
114
|
-
/** ContractCodeHistoryOperationType actions that caused a code change */
|
|
115
|
-
|
|
116
|
-
export enum ContractCodeHistoryOperationTypeSDKType {
|
|
117
|
-
/** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */
|
|
118
|
-
CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0,
|
|
119
|
-
|
|
120
68
|
/** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */
|
|
121
69
|
CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1,
|
|
122
|
-
|
|
123
70
|
/** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */
|
|
124
71
|
CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2,
|
|
125
|
-
|
|
126
72
|
/** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */
|
|
127
73
|
CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3,
|
|
128
74
|
UNRECOGNIZED = -1,
|
|
129
75
|
}
|
|
76
|
+
export const ContractCodeHistoryOperationTypeSDKType = ContractCodeHistoryOperationType;
|
|
77
|
+
export const ContractCodeHistoryOperationTypeAmino = ContractCodeHistoryOperationType;
|
|
130
78
|
export function contractCodeHistoryOperationTypeFromJSON(object: any): ContractCodeHistoryOperationType {
|
|
131
79
|
switch (object) {
|
|
132
80
|
case 0:
|
|
133
81
|
case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED":
|
|
134
82
|
return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED;
|
|
135
|
-
|
|
136
83
|
case 1:
|
|
137
84
|
case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT":
|
|
138
85
|
return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT;
|
|
139
|
-
|
|
140
86
|
case 2:
|
|
141
87
|
case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE":
|
|
142
88
|
return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE;
|
|
143
|
-
|
|
144
89
|
case 3:
|
|
145
90
|
case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS":
|
|
146
91
|
return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS;
|
|
147
|
-
|
|
148
92
|
case -1:
|
|
149
93
|
case "UNRECOGNIZED":
|
|
150
94
|
default:
|
|
@@ -155,162 +99,212 @@ export function contractCodeHistoryOperationTypeToJSON(object: ContractCodeHisto
|
|
|
155
99
|
switch (object) {
|
|
156
100
|
case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED:
|
|
157
101
|
return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED";
|
|
158
|
-
|
|
159
102
|
case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT:
|
|
160
103
|
return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT";
|
|
161
|
-
|
|
162
104
|
case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE:
|
|
163
105
|
return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE";
|
|
164
|
-
|
|
165
106
|
case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS:
|
|
166
107
|
return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS";
|
|
167
|
-
|
|
168
108
|
case ContractCodeHistoryOperationType.UNRECOGNIZED:
|
|
169
109
|
default:
|
|
170
110
|
return "UNRECOGNIZED";
|
|
171
111
|
}
|
|
172
112
|
}
|
|
173
113
|
/** AccessTypeParam */
|
|
174
|
-
|
|
175
114
|
export interface AccessTypeParam {
|
|
176
115
|
value: AccessType;
|
|
177
116
|
}
|
|
117
|
+
export interface AccessTypeParamProtoMsg {
|
|
118
|
+
typeUrl: "/cosmwasm.wasm.v1.AccessTypeParam";
|
|
119
|
+
value: Uint8Array;
|
|
120
|
+
}
|
|
121
|
+
/** AccessTypeParam */
|
|
122
|
+
export interface AccessTypeParamAmino {
|
|
123
|
+
value?: AccessType;
|
|
124
|
+
}
|
|
125
|
+
export interface AccessTypeParamAminoMsg {
|
|
126
|
+
type: "wasm/AccessTypeParam";
|
|
127
|
+
value: AccessTypeParamAmino;
|
|
128
|
+
}
|
|
178
129
|
/** AccessTypeParam */
|
|
179
|
-
|
|
180
130
|
export interface AccessTypeParamSDKType {
|
|
181
|
-
value:
|
|
131
|
+
value: AccessType;
|
|
182
132
|
}
|
|
183
133
|
/** AccessConfig access control type. */
|
|
184
|
-
|
|
185
134
|
export interface AccessConfig {
|
|
186
135
|
permission: AccessType;
|
|
187
136
|
/**
|
|
188
137
|
* Address
|
|
189
138
|
* Deprecated: replaced by addresses
|
|
190
139
|
*/
|
|
191
|
-
|
|
192
140
|
address: string;
|
|
193
141
|
addresses: string[];
|
|
194
142
|
}
|
|
143
|
+
export interface AccessConfigProtoMsg {
|
|
144
|
+
typeUrl: "/cosmwasm.wasm.v1.AccessConfig";
|
|
145
|
+
value: Uint8Array;
|
|
146
|
+
}
|
|
195
147
|
/** AccessConfig access control type. */
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
permission: AccessTypeSDKType;
|
|
148
|
+
export interface AccessConfigAmino {
|
|
149
|
+
permission?: AccessType;
|
|
199
150
|
/**
|
|
200
151
|
* Address
|
|
201
152
|
* Deprecated: replaced by addresses
|
|
202
153
|
*/
|
|
203
|
-
|
|
154
|
+
address?: string;
|
|
155
|
+
addresses?: string[];
|
|
156
|
+
}
|
|
157
|
+
export interface AccessConfigAminoMsg {
|
|
158
|
+
type: "wasm/AccessConfig";
|
|
159
|
+
value: AccessConfigAmino;
|
|
160
|
+
}
|
|
161
|
+
/** AccessConfig access control type. */
|
|
162
|
+
export interface AccessConfigSDKType {
|
|
163
|
+
permission: AccessType;
|
|
204
164
|
address: string;
|
|
205
165
|
addresses: string[];
|
|
206
166
|
}
|
|
207
167
|
/** Params defines the set of wasm parameters. */
|
|
208
|
-
|
|
209
168
|
export interface Params {
|
|
210
|
-
codeUploadAccess
|
|
169
|
+
codeUploadAccess: AccessConfig;
|
|
211
170
|
instantiateDefaultPermission: AccessType;
|
|
212
171
|
}
|
|
172
|
+
export interface ParamsProtoMsg {
|
|
173
|
+
typeUrl: "/cosmwasm.wasm.v1.Params";
|
|
174
|
+
value: Uint8Array;
|
|
175
|
+
}
|
|
176
|
+
/** Params defines the set of wasm parameters. */
|
|
177
|
+
export interface ParamsAmino {
|
|
178
|
+
code_upload_access?: AccessConfigAmino;
|
|
179
|
+
instantiate_default_permission?: AccessType;
|
|
180
|
+
}
|
|
181
|
+
export interface ParamsAminoMsg {
|
|
182
|
+
type: "wasm/Params";
|
|
183
|
+
value: ParamsAmino;
|
|
184
|
+
}
|
|
213
185
|
/** Params defines the set of wasm parameters. */
|
|
214
|
-
|
|
215
186
|
export interface ParamsSDKType {
|
|
216
|
-
code_upload_access
|
|
217
|
-
instantiate_default_permission:
|
|
187
|
+
code_upload_access: AccessConfigSDKType;
|
|
188
|
+
instantiate_default_permission: AccessType;
|
|
218
189
|
}
|
|
219
190
|
/** CodeInfo is data for the uploaded contract WASM code */
|
|
220
|
-
|
|
221
191
|
export interface CodeInfo {
|
|
222
192
|
/** CodeHash is the unique identifier created by wasmvm */
|
|
223
193
|
codeHash: Uint8Array;
|
|
224
194
|
/** Creator address who initially stored the code */
|
|
225
|
-
|
|
226
195
|
creator: string;
|
|
227
196
|
/** InstantiateConfig access control to apply on contract creation, optional */
|
|
228
|
-
|
|
229
|
-
|
|
197
|
+
instantiateConfig: AccessConfig;
|
|
198
|
+
}
|
|
199
|
+
export interface CodeInfoProtoMsg {
|
|
200
|
+
typeUrl: "/cosmwasm.wasm.v1.CodeInfo";
|
|
201
|
+
value: Uint8Array;
|
|
230
202
|
}
|
|
231
203
|
/** CodeInfo is data for the uploaded contract WASM code */
|
|
232
|
-
|
|
233
|
-
export interface CodeInfoSDKType {
|
|
204
|
+
export interface CodeInfoAmino {
|
|
234
205
|
/** CodeHash is the unique identifier created by wasmvm */
|
|
235
|
-
code_hash
|
|
206
|
+
code_hash?: string;
|
|
236
207
|
/** Creator address who initially stored the code */
|
|
237
|
-
|
|
238
|
-
creator: string;
|
|
208
|
+
creator?: string;
|
|
239
209
|
/** InstantiateConfig access control to apply on contract creation, optional */
|
|
240
|
-
|
|
241
|
-
|
|
210
|
+
instantiate_config?: AccessConfigAmino;
|
|
211
|
+
}
|
|
212
|
+
export interface CodeInfoAminoMsg {
|
|
213
|
+
type: "wasm/CodeInfo";
|
|
214
|
+
value: CodeInfoAmino;
|
|
215
|
+
}
|
|
216
|
+
/** CodeInfo is data for the uploaded contract WASM code */
|
|
217
|
+
export interface CodeInfoSDKType {
|
|
218
|
+
code_hash: Uint8Array;
|
|
219
|
+
creator: string;
|
|
220
|
+
instantiate_config: AccessConfigSDKType;
|
|
242
221
|
}
|
|
243
222
|
/** ContractInfo stores a WASM contract instance */
|
|
244
|
-
|
|
245
223
|
export interface ContractInfo {
|
|
246
224
|
/** CodeID is the reference to the stored Wasm code */
|
|
247
|
-
codeId:
|
|
225
|
+
codeId: bigint;
|
|
248
226
|
/** Creator address who initially instantiated the contract */
|
|
249
|
-
|
|
250
227
|
creator: string;
|
|
251
228
|
/** Admin is an optional address that can execute migrations */
|
|
252
|
-
|
|
253
229
|
admin: string;
|
|
254
230
|
/** Label is optional metadata to be stored with a contract instance. */
|
|
255
|
-
|
|
256
231
|
label: string;
|
|
257
232
|
/** Created Tx position when the contract was instantiated. */
|
|
258
|
-
|
|
259
233
|
created?: AbsoluteTxPosition;
|
|
260
234
|
ibcPortId: string;
|
|
261
235
|
/**
|
|
262
236
|
* Extension is an extension point to store custom metadata within the
|
|
263
237
|
* persistence model.
|
|
264
238
|
*/
|
|
265
|
-
|
|
266
239
|
extension?: Any;
|
|
267
240
|
}
|
|
241
|
+
export interface ContractInfoProtoMsg {
|
|
242
|
+
typeUrl: "/cosmwasm.wasm.v1.ContractInfo";
|
|
243
|
+
value: Uint8Array;
|
|
244
|
+
}
|
|
268
245
|
/** ContractInfo stores a WASM contract instance */
|
|
269
|
-
|
|
270
|
-
export interface ContractInfoSDKType {
|
|
246
|
+
export interface ContractInfoAmino {
|
|
271
247
|
/** CodeID is the reference to the stored Wasm code */
|
|
272
|
-
code_id
|
|
248
|
+
code_id?: string;
|
|
273
249
|
/** Creator address who initially instantiated the contract */
|
|
274
|
-
|
|
275
|
-
creator: string;
|
|
250
|
+
creator?: string;
|
|
276
251
|
/** Admin is an optional address that can execute migrations */
|
|
277
|
-
|
|
278
|
-
admin: string;
|
|
252
|
+
admin?: string;
|
|
279
253
|
/** Label is optional metadata to be stored with a contract instance. */
|
|
280
|
-
|
|
281
|
-
label: string;
|
|
254
|
+
label?: string;
|
|
282
255
|
/** Created Tx position when the contract was instantiated. */
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
ibc_port_id: string;
|
|
256
|
+
created?: AbsoluteTxPositionAmino;
|
|
257
|
+
ibc_port_id?: string;
|
|
286
258
|
/**
|
|
287
259
|
* Extension is an extension point to store custom metadata within the
|
|
288
260
|
* persistence model.
|
|
289
261
|
*/
|
|
290
|
-
|
|
262
|
+
extension?: AnyAmino;
|
|
263
|
+
}
|
|
264
|
+
export interface ContractInfoAminoMsg {
|
|
265
|
+
type: "wasm/ContractInfo";
|
|
266
|
+
value: ContractInfoAmino;
|
|
267
|
+
}
|
|
268
|
+
/** ContractInfo stores a WASM contract instance */
|
|
269
|
+
export interface ContractInfoSDKType {
|
|
270
|
+
code_id: bigint;
|
|
271
|
+
creator: string;
|
|
272
|
+
admin: string;
|
|
273
|
+
label: string;
|
|
274
|
+
created?: AbsoluteTxPositionSDKType;
|
|
275
|
+
ibc_port_id: string;
|
|
291
276
|
extension?: AnySDKType;
|
|
292
277
|
}
|
|
293
278
|
/** ContractCodeHistoryEntry metadata to a contract. */
|
|
294
|
-
|
|
295
279
|
export interface ContractCodeHistoryEntry {
|
|
296
280
|
operation: ContractCodeHistoryOperationType;
|
|
297
281
|
/** CodeID is the reference to the stored WASM code */
|
|
298
|
-
|
|
299
|
-
codeId: Long;
|
|
282
|
+
codeId: bigint;
|
|
300
283
|
/** Updated Tx position when the operation was executed. */
|
|
301
|
-
|
|
302
284
|
updated?: AbsoluteTxPosition;
|
|
303
285
|
msg: Uint8Array;
|
|
304
286
|
}
|
|
287
|
+
export interface ContractCodeHistoryEntryProtoMsg {
|
|
288
|
+
typeUrl: "/cosmwasm.wasm.v1.ContractCodeHistoryEntry";
|
|
289
|
+
value: Uint8Array;
|
|
290
|
+
}
|
|
305
291
|
/** ContractCodeHistoryEntry metadata to a contract. */
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
operation: ContractCodeHistoryOperationTypeSDKType;
|
|
292
|
+
export interface ContractCodeHistoryEntryAmino {
|
|
293
|
+
operation?: ContractCodeHistoryOperationType;
|
|
309
294
|
/** CodeID is the reference to the stored WASM code */
|
|
310
|
-
|
|
311
|
-
code_id: Long;
|
|
295
|
+
code_id?: string;
|
|
312
296
|
/** Updated Tx position when the operation was executed. */
|
|
313
|
-
|
|
297
|
+
updated?: AbsoluteTxPositionAmino;
|
|
298
|
+
msg?: any;
|
|
299
|
+
}
|
|
300
|
+
export interface ContractCodeHistoryEntryAminoMsg {
|
|
301
|
+
type: "wasm/ContractCodeHistoryEntry";
|
|
302
|
+
value: ContractCodeHistoryEntryAmino;
|
|
303
|
+
}
|
|
304
|
+
/** ContractCodeHistoryEntry metadata to a contract. */
|
|
305
|
+
export interface ContractCodeHistoryEntrySDKType {
|
|
306
|
+
operation: ContractCodeHistoryOperationType;
|
|
307
|
+
code_id: bigint;
|
|
314
308
|
updated?: AbsoluteTxPositionSDKType;
|
|
315
309
|
msg: Uint8Array;
|
|
316
310
|
}
|
|
@@ -318,96 +312,140 @@ export interface ContractCodeHistoryEntrySDKType {
|
|
|
318
312
|
* AbsoluteTxPosition is a unique transaction position that allows for global
|
|
319
313
|
* ordering of transactions.
|
|
320
314
|
*/
|
|
321
|
-
|
|
322
315
|
export interface AbsoluteTxPosition {
|
|
323
316
|
/** BlockHeight is the block the contract was created at */
|
|
324
|
-
blockHeight:
|
|
317
|
+
blockHeight: bigint;
|
|
325
318
|
/**
|
|
326
319
|
* TxIndex is a monotonic counter within the block (actual transaction index,
|
|
327
320
|
* or gas consumed)
|
|
328
321
|
*/
|
|
329
|
-
|
|
330
|
-
|
|
322
|
+
txIndex: bigint;
|
|
323
|
+
}
|
|
324
|
+
export interface AbsoluteTxPositionProtoMsg {
|
|
325
|
+
typeUrl: "/cosmwasm.wasm.v1.AbsoluteTxPosition";
|
|
326
|
+
value: Uint8Array;
|
|
331
327
|
}
|
|
332
328
|
/**
|
|
333
329
|
* AbsoluteTxPosition is a unique transaction position that allows for global
|
|
334
330
|
* ordering of transactions.
|
|
335
331
|
*/
|
|
336
|
-
|
|
337
|
-
export interface AbsoluteTxPositionSDKType {
|
|
332
|
+
export interface AbsoluteTxPositionAmino {
|
|
338
333
|
/** BlockHeight is the block the contract was created at */
|
|
339
|
-
block_height
|
|
334
|
+
block_height?: string;
|
|
340
335
|
/**
|
|
341
336
|
* TxIndex is a monotonic counter within the block (actual transaction index,
|
|
342
337
|
* or gas consumed)
|
|
343
338
|
*/
|
|
344
|
-
|
|
345
|
-
|
|
339
|
+
tx_index?: string;
|
|
340
|
+
}
|
|
341
|
+
export interface AbsoluteTxPositionAminoMsg {
|
|
342
|
+
type: "wasm/AbsoluteTxPosition";
|
|
343
|
+
value: AbsoluteTxPositionAmino;
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* AbsoluteTxPosition is a unique transaction position that allows for global
|
|
347
|
+
* ordering of transactions.
|
|
348
|
+
*/
|
|
349
|
+
export interface AbsoluteTxPositionSDKType {
|
|
350
|
+
block_height: bigint;
|
|
351
|
+
tx_index: bigint;
|
|
346
352
|
}
|
|
347
353
|
/** Model is a struct that holds a KV pair */
|
|
348
|
-
|
|
349
354
|
export interface Model {
|
|
350
355
|
/** hex-encode key to read it better (this is often ascii) */
|
|
351
356
|
key: Uint8Array;
|
|
352
357
|
/** base64-encode raw value */
|
|
353
|
-
|
|
358
|
+
value: Uint8Array;
|
|
359
|
+
}
|
|
360
|
+
export interface ModelProtoMsg {
|
|
361
|
+
typeUrl: "/cosmwasm.wasm.v1.Model";
|
|
354
362
|
value: Uint8Array;
|
|
355
363
|
}
|
|
356
364
|
/** Model is a struct that holds a KV pair */
|
|
357
|
-
|
|
358
|
-
export interface ModelSDKType {
|
|
365
|
+
export interface ModelAmino {
|
|
359
366
|
/** hex-encode key to read it better (this is often ascii) */
|
|
360
|
-
key
|
|
367
|
+
key?: string;
|
|
361
368
|
/** base64-encode raw value */
|
|
362
|
-
|
|
369
|
+
value?: string;
|
|
370
|
+
}
|
|
371
|
+
export interface ModelAminoMsg {
|
|
372
|
+
type: "wasm/Model";
|
|
373
|
+
value: ModelAmino;
|
|
374
|
+
}
|
|
375
|
+
/** Model is a struct that holds a KV pair */
|
|
376
|
+
export interface ModelSDKType {
|
|
377
|
+
key: Uint8Array;
|
|
363
378
|
value: Uint8Array;
|
|
364
379
|
}
|
|
365
|
-
|
|
366
380
|
function createBaseAccessTypeParam(): AccessTypeParam {
|
|
367
381
|
return {
|
|
368
382
|
value: 0
|
|
369
383
|
};
|
|
370
384
|
}
|
|
371
|
-
|
|
372
385
|
export const AccessTypeParam = {
|
|
373
|
-
|
|
386
|
+
typeUrl: "/cosmwasm.wasm.v1.AccessTypeParam",
|
|
387
|
+
encode(message: AccessTypeParam, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
374
388
|
if (message.value !== 0) {
|
|
375
389
|
writer.uint32(8).int32(message.value);
|
|
376
390
|
}
|
|
377
|
-
|
|
378
391
|
return writer;
|
|
379
392
|
},
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
393
|
+
decode(input: BinaryReader | Uint8Array, length?: number): AccessTypeParam {
|
|
394
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
383
395
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
384
396
|
const message = createBaseAccessTypeParam();
|
|
385
|
-
|
|
386
397
|
while (reader.pos < end) {
|
|
387
398
|
const tag = reader.uint32();
|
|
388
|
-
|
|
389
399
|
switch (tag >>> 3) {
|
|
390
400
|
case 1:
|
|
391
401
|
message.value = (reader.int32() as any);
|
|
392
402
|
break;
|
|
393
|
-
|
|
394
403
|
default:
|
|
395
404
|
reader.skipType(tag & 7);
|
|
396
405
|
break;
|
|
397
406
|
}
|
|
398
407
|
}
|
|
399
|
-
|
|
400
408
|
return message;
|
|
401
409
|
},
|
|
402
|
-
|
|
403
|
-
fromPartial(object: DeepPartial<AccessTypeParam>): AccessTypeParam {
|
|
410
|
+
fromPartial(object: Partial<AccessTypeParam>): AccessTypeParam {
|
|
404
411
|
const message = createBaseAccessTypeParam();
|
|
405
412
|
message.value = object.value ?? 0;
|
|
406
413
|
return message;
|
|
414
|
+
},
|
|
415
|
+
fromAmino(object: AccessTypeParamAmino): AccessTypeParam {
|
|
416
|
+
const message = createBaseAccessTypeParam();
|
|
417
|
+
if (object.value !== undefined && object.value !== null) {
|
|
418
|
+
message.value = accessTypeFromJSON(object.value);
|
|
419
|
+
}
|
|
420
|
+
return message;
|
|
421
|
+
},
|
|
422
|
+
toAmino(message: AccessTypeParam): AccessTypeParamAmino {
|
|
423
|
+
const obj: any = {};
|
|
424
|
+
obj.value = accessTypeToJSON(message.value);
|
|
425
|
+
return obj;
|
|
426
|
+
},
|
|
427
|
+
fromAminoMsg(object: AccessTypeParamAminoMsg): AccessTypeParam {
|
|
428
|
+
return AccessTypeParam.fromAmino(object.value);
|
|
429
|
+
},
|
|
430
|
+
toAminoMsg(message: AccessTypeParam): AccessTypeParamAminoMsg {
|
|
431
|
+
return {
|
|
432
|
+
type: "wasm/AccessTypeParam",
|
|
433
|
+
value: AccessTypeParam.toAmino(message)
|
|
434
|
+
};
|
|
435
|
+
},
|
|
436
|
+
fromProtoMsg(message: AccessTypeParamProtoMsg): AccessTypeParam {
|
|
437
|
+
return AccessTypeParam.decode(message.value);
|
|
438
|
+
},
|
|
439
|
+
toProto(message: AccessTypeParam): Uint8Array {
|
|
440
|
+
return AccessTypeParam.encode(message).finish();
|
|
441
|
+
},
|
|
442
|
+
toProtoMsg(message: AccessTypeParam): AccessTypeParamProtoMsg {
|
|
443
|
+
return {
|
|
444
|
+
typeUrl: "/cosmwasm.wasm.v1.AccessTypeParam",
|
|
445
|
+
value: AccessTypeParam.encode(message).finish()
|
|
446
|
+
};
|
|
407
447
|
}
|
|
408
|
-
|
|
409
448
|
};
|
|
410
|
-
|
|
411
449
|
function createBaseAccessConfig(): AccessConfig {
|
|
412
450
|
return {
|
|
413
451
|
permission: 0,
|
|
@@ -415,187 +453,271 @@ function createBaseAccessConfig(): AccessConfig {
|
|
|
415
453
|
addresses: []
|
|
416
454
|
};
|
|
417
455
|
}
|
|
418
|
-
|
|
419
456
|
export const AccessConfig = {
|
|
420
|
-
|
|
457
|
+
typeUrl: "/cosmwasm.wasm.v1.AccessConfig",
|
|
458
|
+
encode(message: AccessConfig, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
421
459
|
if (message.permission !== 0) {
|
|
422
460
|
writer.uint32(8).int32(message.permission);
|
|
423
461
|
}
|
|
424
|
-
|
|
425
462
|
if (message.address !== "") {
|
|
426
463
|
writer.uint32(18).string(message.address);
|
|
427
464
|
}
|
|
428
|
-
|
|
429
465
|
for (const v of message.addresses) {
|
|
430
466
|
writer.uint32(26).string(v!);
|
|
431
467
|
}
|
|
432
|
-
|
|
433
468
|
return writer;
|
|
434
469
|
},
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
470
|
+
decode(input: BinaryReader | Uint8Array, length?: number): AccessConfig {
|
|
471
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
438
472
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
439
473
|
const message = createBaseAccessConfig();
|
|
440
|
-
|
|
441
474
|
while (reader.pos < end) {
|
|
442
475
|
const tag = reader.uint32();
|
|
443
|
-
|
|
444
476
|
switch (tag >>> 3) {
|
|
445
477
|
case 1:
|
|
446
478
|
message.permission = (reader.int32() as any);
|
|
447
479
|
break;
|
|
448
|
-
|
|
449
480
|
case 2:
|
|
450
481
|
message.address = reader.string();
|
|
451
482
|
break;
|
|
452
|
-
|
|
453
483
|
case 3:
|
|
454
484
|
message.addresses.push(reader.string());
|
|
455
485
|
break;
|
|
456
|
-
|
|
457
486
|
default:
|
|
458
487
|
reader.skipType(tag & 7);
|
|
459
488
|
break;
|
|
460
489
|
}
|
|
461
490
|
}
|
|
462
|
-
|
|
463
491
|
return message;
|
|
464
492
|
},
|
|
465
|
-
|
|
466
|
-
fromPartial(object: DeepPartial<AccessConfig>): AccessConfig {
|
|
493
|
+
fromPartial(object: Partial<AccessConfig>): AccessConfig {
|
|
467
494
|
const message = createBaseAccessConfig();
|
|
468
495
|
message.permission = object.permission ?? 0;
|
|
469
496
|
message.address = object.address ?? "";
|
|
470
497
|
message.addresses = object.addresses?.map(e => e) || [];
|
|
471
498
|
return message;
|
|
499
|
+
},
|
|
500
|
+
fromAmino(object: AccessConfigAmino): AccessConfig {
|
|
501
|
+
const message = createBaseAccessConfig();
|
|
502
|
+
if (object.permission !== undefined && object.permission !== null) {
|
|
503
|
+
message.permission = accessTypeFromJSON(object.permission);
|
|
504
|
+
}
|
|
505
|
+
if (object.address !== undefined && object.address !== null) {
|
|
506
|
+
message.address = object.address;
|
|
507
|
+
}
|
|
508
|
+
message.addresses = object.addresses?.map(e => e) || [];
|
|
509
|
+
return message;
|
|
510
|
+
},
|
|
511
|
+
toAmino(message: AccessConfig): AccessConfigAmino {
|
|
512
|
+
const obj: any = {};
|
|
513
|
+
obj.permission = accessTypeToJSON(message.permission);
|
|
514
|
+
obj.address = message.address;
|
|
515
|
+
if (message.addresses) {
|
|
516
|
+
obj.addresses = message.addresses.map(e => e);
|
|
517
|
+
} else {
|
|
518
|
+
obj.addresses = [];
|
|
519
|
+
}
|
|
520
|
+
return obj;
|
|
521
|
+
},
|
|
522
|
+
fromAminoMsg(object: AccessConfigAminoMsg): AccessConfig {
|
|
523
|
+
return AccessConfig.fromAmino(object.value);
|
|
524
|
+
},
|
|
525
|
+
toAminoMsg(message: AccessConfig): AccessConfigAminoMsg {
|
|
526
|
+
return {
|
|
527
|
+
type: "wasm/AccessConfig",
|
|
528
|
+
value: AccessConfig.toAmino(message)
|
|
529
|
+
};
|
|
530
|
+
},
|
|
531
|
+
fromProtoMsg(message: AccessConfigProtoMsg): AccessConfig {
|
|
532
|
+
return AccessConfig.decode(message.value);
|
|
533
|
+
},
|
|
534
|
+
toProto(message: AccessConfig): Uint8Array {
|
|
535
|
+
return AccessConfig.encode(message).finish();
|
|
536
|
+
},
|
|
537
|
+
toProtoMsg(message: AccessConfig): AccessConfigProtoMsg {
|
|
538
|
+
return {
|
|
539
|
+
typeUrl: "/cosmwasm.wasm.v1.AccessConfig",
|
|
540
|
+
value: AccessConfig.encode(message).finish()
|
|
541
|
+
};
|
|
472
542
|
}
|
|
473
|
-
|
|
474
543
|
};
|
|
475
|
-
|
|
476
544
|
function createBaseParams(): Params {
|
|
477
545
|
return {
|
|
478
|
-
codeUploadAccess:
|
|
546
|
+
codeUploadAccess: AccessConfig.fromPartial({}),
|
|
479
547
|
instantiateDefaultPermission: 0
|
|
480
548
|
};
|
|
481
549
|
}
|
|
482
|
-
|
|
483
550
|
export const Params = {
|
|
484
|
-
|
|
551
|
+
typeUrl: "/cosmwasm.wasm.v1.Params",
|
|
552
|
+
encode(message: Params, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
485
553
|
if (message.codeUploadAccess !== undefined) {
|
|
486
554
|
AccessConfig.encode(message.codeUploadAccess, writer.uint32(10).fork()).ldelim();
|
|
487
555
|
}
|
|
488
|
-
|
|
489
556
|
if (message.instantiateDefaultPermission !== 0) {
|
|
490
557
|
writer.uint32(16).int32(message.instantiateDefaultPermission);
|
|
491
558
|
}
|
|
492
|
-
|
|
493
559
|
return writer;
|
|
494
560
|
},
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
561
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Params {
|
|
562
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
498
563
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
499
564
|
const message = createBaseParams();
|
|
500
|
-
|
|
501
565
|
while (reader.pos < end) {
|
|
502
566
|
const tag = reader.uint32();
|
|
503
|
-
|
|
504
567
|
switch (tag >>> 3) {
|
|
505
568
|
case 1:
|
|
506
569
|
message.codeUploadAccess = AccessConfig.decode(reader, reader.uint32());
|
|
507
570
|
break;
|
|
508
|
-
|
|
509
571
|
case 2:
|
|
510
572
|
message.instantiateDefaultPermission = (reader.int32() as any);
|
|
511
573
|
break;
|
|
512
|
-
|
|
513
574
|
default:
|
|
514
575
|
reader.skipType(tag & 7);
|
|
515
576
|
break;
|
|
516
577
|
}
|
|
517
578
|
}
|
|
518
|
-
|
|
519
579
|
return message;
|
|
520
580
|
},
|
|
521
|
-
|
|
522
|
-
fromPartial(object: DeepPartial<Params>): Params {
|
|
581
|
+
fromPartial(object: Partial<Params>): Params {
|
|
523
582
|
const message = createBaseParams();
|
|
524
583
|
message.codeUploadAccess = object.codeUploadAccess !== undefined && object.codeUploadAccess !== null ? AccessConfig.fromPartial(object.codeUploadAccess) : undefined;
|
|
525
584
|
message.instantiateDefaultPermission = object.instantiateDefaultPermission ?? 0;
|
|
526
585
|
return message;
|
|
586
|
+
},
|
|
587
|
+
fromAmino(object: ParamsAmino): Params {
|
|
588
|
+
const message = createBaseParams();
|
|
589
|
+
if (object.code_upload_access !== undefined && object.code_upload_access !== null) {
|
|
590
|
+
message.codeUploadAccess = AccessConfig.fromAmino(object.code_upload_access);
|
|
591
|
+
}
|
|
592
|
+
if (object.instantiate_default_permission !== undefined && object.instantiate_default_permission !== null) {
|
|
593
|
+
message.instantiateDefaultPermission = accessTypeFromJSON(object.instantiate_default_permission);
|
|
594
|
+
}
|
|
595
|
+
return message;
|
|
596
|
+
},
|
|
597
|
+
toAmino(message: Params): ParamsAmino {
|
|
598
|
+
const obj: any = {};
|
|
599
|
+
obj.code_upload_access = message.codeUploadAccess ? AccessConfig.toAmino(message.codeUploadAccess) : undefined;
|
|
600
|
+
obj.instantiate_default_permission = accessTypeToJSON(message.instantiateDefaultPermission);
|
|
601
|
+
return obj;
|
|
602
|
+
},
|
|
603
|
+
fromAminoMsg(object: ParamsAminoMsg): Params {
|
|
604
|
+
return Params.fromAmino(object.value);
|
|
605
|
+
},
|
|
606
|
+
toAminoMsg(message: Params): ParamsAminoMsg {
|
|
607
|
+
return {
|
|
608
|
+
type: "wasm/Params",
|
|
609
|
+
value: Params.toAmino(message)
|
|
610
|
+
};
|
|
611
|
+
},
|
|
612
|
+
fromProtoMsg(message: ParamsProtoMsg): Params {
|
|
613
|
+
return Params.decode(message.value);
|
|
614
|
+
},
|
|
615
|
+
toProto(message: Params): Uint8Array {
|
|
616
|
+
return Params.encode(message).finish();
|
|
617
|
+
},
|
|
618
|
+
toProtoMsg(message: Params): ParamsProtoMsg {
|
|
619
|
+
return {
|
|
620
|
+
typeUrl: "/cosmwasm.wasm.v1.Params",
|
|
621
|
+
value: Params.encode(message).finish()
|
|
622
|
+
};
|
|
527
623
|
}
|
|
528
|
-
|
|
529
624
|
};
|
|
530
|
-
|
|
531
625
|
function createBaseCodeInfo(): CodeInfo {
|
|
532
626
|
return {
|
|
533
627
|
codeHash: new Uint8Array(),
|
|
534
628
|
creator: "",
|
|
535
|
-
instantiateConfig:
|
|
629
|
+
instantiateConfig: AccessConfig.fromPartial({})
|
|
536
630
|
};
|
|
537
631
|
}
|
|
538
|
-
|
|
539
632
|
export const CodeInfo = {
|
|
540
|
-
|
|
633
|
+
typeUrl: "/cosmwasm.wasm.v1.CodeInfo",
|
|
634
|
+
encode(message: CodeInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
541
635
|
if (message.codeHash.length !== 0) {
|
|
542
636
|
writer.uint32(10).bytes(message.codeHash);
|
|
543
637
|
}
|
|
544
|
-
|
|
545
638
|
if (message.creator !== "") {
|
|
546
639
|
writer.uint32(18).string(message.creator);
|
|
547
640
|
}
|
|
548
|
-
|
|
549
641
|
if (message.instantiateConfig !== undefined) {
|
|
550
642
|
AccessConfig.encode(message.instantiateConfig, writer.uint32(42).fork()).ldelim();
|
|
551
643
|
}
|
|
552
|
-
|
|
553
644
|
return writer;
|
|
554
645
|
},
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
646
|
+
decode(input: BinaryReader | Uint8Array, length?: number): CodeInfo {
|
|
647
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
558
648
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
559
649
|
const message = createBaseCodeInfo();
|
|
560
|
-
|
|
561
650
|
while (reader.pos < end) {
|
|
562
651
|
const tag = reader.uint32();
|
|
563
|
-
|
|
564
652
|
switch (tag >>> 3) {
|
|
565
653
|
case 1:
|
|
566
654
|
message.codeHash = reader.bytes();
|
|
567
655
|
break;
|
|
568
|
-
|
|
569
656
|
case 2:
|
|
570
657
|
message.creator = reader.string();
|
|
571
658
|
break;
|
|
572
|
-
|
|
573
659
|
case 5:
|
|
574
660
|
message.instantiateConfig = AccessConfig.decode(reader, reader.uint32());
|
|
575
661
|
break;
|
|
576
|
-
|
|
577
662
|
default:
|
|
578
663
|
reader.skipType(tag & 7);
|
|
579
664
|
break;
|
|
580
665
|
}
|
|
581
666
|
}
|
|
582
|
-
|
|
583
667
|
return message;
|
|
584
668
|
},
|
|
585
|
-
|
|
586
|
-
fromPartial(object: DeepPartial<CodeInfo>): CodeInfo {
|
|
669
|
+
fromPartial(object: Partial<CodeInfo>): CodeInfo {
|
|
587
670
|
const message = createBaseCodeInfo();
|
|
588
671
|
message.codeHash = object.codeHash ?? new Uint8Array();
|
|
589
672
|
message.creator = object.creator ?? "";
|
|
590
673
|
message.instantiateConfig = object.instantiateConfig !== undefined && object.instantiateConfig !== null ? AccessConfig.fromPartial(object.instantiateConfig) : undefined;
|
|
591
674
|
return message;
|
|
675
|
+
},
|
|
676
|
+
fromAmino(object: CodeInfoAmino): CodeInfo {
|
|
677
|
+
const message = createBaseCodeInfo();
|
|
678
|
+
if (object.code_hash !== undefined && object.code_hash !== null) {
|
|
679
|
+
message.codeHash = bytesFromBase64(object.code_hash);
|
|
680
|
+
}
|
|
681
|
+
if (object.creator !== undefined && object.creator !== null) {
|
|
682
|
+
message.creator = object.creator;
|
|
683
|
+
}
|
|
684
|
+
if (object.instantiate_config !== undefined && object.instantiate_config !== null) {
|
|
685
|
+
message.instantiateConfig = AccessConfig.fromAmino(object.instantiate_config);
|
|
686
|
+
}
|
|
687
|
+
return message;
|
|
688
|
+
},
|
|
689
|
+
toAmino(message: CodeInfo): CodeInfoAmino {
|
|
690
|
+
const obj: any = {};
|
|
691
|
+
obj.code_hash = message.codeHash ? base64FromBytes(message.codeHash) : undefined;
|
|
692
|
+
obj.creator = message.creator;
|
|
693
|
+
obj.instantiate_config = message.instantiateConfig ? AccessConfig.toAmino(message.instantiateConfig) : undefined;
|
|
694
|
+
return obj;
|
|
695
|
+
},
|
|
696
|
+
fromAminoMsg(object: CodeInfoAminoMsg): CodeInfo {
|
|
697
|
+
return CodeInfo.fromAmino(object.value);
|
|
698
|
+
},
|
|
699
|
+
toAminoMsg(message: CodeInfo): CodeInfoAminoMsg {
|
|
700
|
+
return {
|
|
701
|
+
type: "wasm/CodeInfo",
|
|
702
|
+
value: CodeInfo.toAmino(message)
|
|
703
|
+
};
|
|
704
|
+
},
|
|
705
|
+
fromProtoMsg(message: CodeInfoProtoMsg): CodeInfo {
|
|
706
|
+
return CodeInfo.decode(message.value);
|
|
707
|
+
},
|
|
708
|
+
toProto(message: CodeInfo): Uint8Array {
|
|
709
|
+
return CodeInfo.encode(message).finish();
|
|
710
|
+
},
|
|
711
|
+
toProtoMsg(message: CodeInfo): CodeInfoProtoMsg {
|
|
712
|
+
return {
|
|
713
|
+
typeUrl: "/cosmwasm.wasm.v1.CodeInfo",
|
|
714
|
+
value: CodeInfo.encode(message).finish()
|
|
715
|
+
};
|
|
592
716
|
}
|
|
593
|
-
|
|
594
717
|
};
|
|
595
|
-
|
|
596
718
|
function createBaseContractInfo(): ContractInfo {
|
|
597
719
|
return {
|
|
598
|
-
codeId:
|
|
720
|
+
codeId: BigInt(0),
|
|
599
721
|
creator: "",
|
|
600
722
|
admin: "",
|
|
601
723
|
label: "",
|
|
@@ -604,89 +726,70 @@ function createBaseContractInfo(): ContractInfo {
|
|
|
604
726
|
extension: undefined
|
|
605
727
|
};
|
|
606
728
|
}
|
|
607
|
-
|
|
608
729
|
export const ContractInfo = {
|
|
609
|
-
|
|
610
|
-
|
|
730
|
+
typeUrl: "/cosmwasm.wasm.v1.ContractInfo",
|
|
731
|
+
encode(message: ContractInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
732
|
+
if (message.codeId !== BigInt(0)) {
|
|
611
733
|
writer.uint32(8).uint64(message.codeId);
|
|
612
734
|
}
|
|
613
|
-
|
|
614
735
|
if (message.creator !== "") {
|
|
615
736
|
writer.uint32(18).string(message.creator);
|
|
616
737
|
}
|
|
617
|
-
|
|
618
738
|
if (message.admin !== "") {
|
|
619
739
|
writer.uint32(26).string(message.admin);
|
|
620
740
|
}
|
|
621
|
-
|
|
622
741
|
if (message.label !== "") {
|
|
623
742
|
writer.uint32(34).string(message.label);
|
|
624
743
|
}
|
|
625
|
-
|
|
626
744
|
if (message.created !== undefined) {
|
|
627
745
|
AbsoluteTxPosition.encode(message.created, writer.uint32(42).fork()).ldelim();
|
|
628
746
|
}
|
|
629
|
-
|
|
630
747
|
if (message.ibcPortId !== "") {
|
|
631
748
|
writer.uint32(50).string(message.ibcPortId);
|
|
632
749
|
}
|
|
633
|
-
|
|
634
750
|
if (message.extension !== undefined) {
|
|
635
751
|
Any.encode(message.extension, writer.uint32(58).fork()).ldelim();
|
|
636
752
|
}
|
|
637
|
-
|
|
638
753
|
return writer;
|
|
639
754
|
},
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
755
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ContractInfo {
|
|
756
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
643
757
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
644
758
|
const message = createBaseContractInfo();
|
|
645
|
-
|
|
646
759
|
while (reader.pos < end) {
|
|
647
760
|
const tag = reader.uint32();
|
|
648
|
-
|
|
649
761
|
switch (tag >>> 3) {
|
|
650
762
|
case 1:
|
|
651
|
-
message.codeId =
|
|
763
|
+
message.codeId = reader.uint64();
|
|
652
764
|
break;
|
|
653
|
-
|
|
654
765
|
case 2:
|
|
655
766
|
message.creator = reader.string();
|
|
656
767
|
break;
|
|
657
|
-
|
|
658
768
|
case 3:
|
|
659
769
|
message.admin = reader.string();
|
|
660
770
|
break;
|
|
661
|
-
|
|
662
771
|
case 4:
|
|
663
772
|
message.label = reader.string();
|
|
664
773
|
break;
|
|
665
|
-
|
|
666
774
|
case 5:
|
|
667
775
|
message.created = AbsoluteTxPosition.decode(reader, reader.uint32());
|
|
668
776
|
break;
|
|
669
|
-
|
|
670
777
|
case 6:
|
|
671
778
|
message.ibcPortId = reader.string();
|
|
672
779
|
break;
|
|
673
|
-
|
|
674
780
|
case 7:
|
|
675
781
|
message.extension = Any.decode(reader, reader.uint32());
|
|
676
782
|
break;
|
|
677
|
-
|
|
678
783
|
default:
|
|
679
784
|
reader.skipType(tag & 7);
|
|
680
785
|
break;
|
|
681
786
|
}
|
|
682
787
|
}
|
|
683
|
-
|
|
684
788
|
return message;
|
|
685
789
|
},
|
|
686
|
-
|
|
687
|
-
fromPartial(object: DeepPartial<ContractInfo>): ContractInfo {
|
|
790
|
+
fromPartial(object: Partial<ContractInfo>): ContractInfo {
|
|
688
791
|
const message = createBaseContractInfo();
|
|
689
|
-
message.codeId = object.codeId !== undefined && object.codeId !== null ?
|
|
792
|
+
message.codeId = object.codeId !== undefined && object.codeId !== null ? BigInt(object.codeId.toString()) : BigInt(0);
|
|
690
793
|
message.creator = object.creator ?? "";
|
|
691
794
|
message.admin = object.admin ?? "";
|
|
692
795
|
message.label = object.label ?? "";
|
|
@@ -694,191 +797,329 @@ export const ContractInfo = {
|
|
|
694
797
|
message.ibcPortId = object.ibcPortId ?? "";
|
|
695
798
|
message.extension = object.extension !== undefined && object.extension !== null ? Any.fromPartial(object.extension) : undefined;
|
|
696
799
|
return message;
|
|
800
|
+
},
|
|
801
|
+
fromAmino(object: ContractInfoAmino): ContractInfo {
|
|
802
|
+
const message = createBaseContractInfo();
|
|
803
|
+
if (object.code_id !== undefined && object.code_id !== null) {
|
|
804
|
+
message.codeId = BigInt(object.code_id);
|
|
805
|
+
}
|
|
806
|
+
if (object.creator !== undefined && object.creator !== null) {
|
|
807
|
+
message.creator = object.creator;
|
|
808
|
+
}
|
|
809
|
+
if (object.admin !== undefined && object.admin !== null) {
|
|
810
|
+
message.admin = object.admin;
|
|
811
|
+
}
|
|
812
|
+
if (object.label !== undefined && object.label !== null) {
|
|
813
|
+
message.label = object.label;
|
|
814
|
+
}
|
|
815
|
+
if (object.created !== undefined && object.created !== null) {
|
|
816
|
+
message.created = AbsoluteTxPosition.fromAmino(object.created);
|
|
817
|
+
}
|
|
818
|
+
if (object.ibc_port_id !== undefined && object.ibc_port_id !== null) {
|
|
819
|
+
message.ibcPortId = object.ibc_port_id;
|
|
820
|
+
}
|
|
821
|
+
if (object.extension !== undefined && object.extension !== null) {
|
|
822
|
+
message.extension = Any.fromAmino(object.extension);
|
|
823
|
+
}
|
|
824
|
+
return message;
|
|
825
|
+
},
|
|
826
|
+
toAmino(message: ContractInfo): ContractInfoAmino {
|
|
827
|
+
const obj: any = {};
|
|
828
|
+
obj.code_id = message.codeId ? message.codeId.toString() : undefined;
|
|
829
|
+
obj.creator = message.creator;
|
|
830
|
+
obj.admin = message.admin;
|
|
831
|
+
obj.label = message.label;
|
|
832
|
+
obj.created = message.created ? AbsoluteTxPosition.toAmino(message.created) : undefined;
|
|
833
|
+
obj.ibc_port_id = message.ibcPortId;
|
|
834
|
+
obj.extension = message.extension ? Any.toAmino(message.extension) : undefined;
|
|
835
|
+
return obj;
|
|
836
|
+
},
|
|
837
|
+
fromAminoMsg(object: ContractInfoAminoMsg): ContractInfo {
|
|
838
|
+
return ContractInfo.fromAmino(object.value);
|
|
839
|
+
},
|
|
840
|
+
toAminoMsg(message: ContractInfo): ContractInfoAminoMsg {
|
|
841
|
+
return {
|
|
842
|
+
type: "wasm/ContractInfo",
|
|
843
|
+
value: ContractInfo.toAmino(message)
|
|
844
|
+
};
|
|
845
|
+
},
|
|
846
|
+
fromProtoMsg(message: ContractInfoProtoMsg): ContractInfo {
|
|
847
|
+
return ContractInfo.decode(message.value);
|
|
848
|
+
},
|
|
849
|
+
toProto(message: ContractInfo): Uint8Array {
|
|
850
|
+
return ContractInfo.encode(message).finish();
|
|
851
|
+
},
|
|
852
|
+
toProtoMsg(message: ContractInfo): ContractInfoProtoMsg {
|
|
853
|
+
return {
|
|
854
|
+
typeUrl: "/cosmwasm.wasm.v1.ContractInfo",
|
|
855
|
+
value: ContractInfo.encode(message).finish()
|
|
856
|
+
};
|
|
697
857
|
}
|
|
698
|
-
|
|
699
858
|
};
|
|
700
|
-
|
|
701
859
|
function createBaseContractCodeHistoryEntry(): ContractCodeHistoryEntry {
|
|
702
860
|
return {
|
|
703
861
|
operation: 0,
|
|
704
|
-
codeId:
|
|
862
|
+
codeId: BigInt(0),
|
|
705
863
|
updated: undefined,
|
|
706
864
|
msg: new Uint8Array()
|
|
707
865
|
};
|
|
708
866
|
}
|
|
709
|
-
|
|
710
867
|
export const ContractCodeHistoryEntry = {
|
|
711
|
-
|
|
868
|
+
typeUrl: "/cosmwasm.wasm.v1.ContractCodeHistoryEntry",
|
|
869
|
+
encode(message: ContractCodeHistoryEntry, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
712
870
|
if (message.operation !== 0) {
|
|
713
871
|
writer.uint32(8).int32(message.operation);
|
|
714
872
|
}
|
|
715
|
-
|
|
716
|
-
if (!message.codeId.isZero()) {
|
|
873
|
+
if (message.codeId !== BigInt(0)) {
|
|
717
874
|
writer.uint32(16).uint64(message.codeId);
|
|
718
875
|
}
|
|
719
|
-
|
|
720
876
|
if (message.updated !== undefined) {
|
|
721
877
|
AbsoluteTxPosition.encode(message.updated, writer.uint32(26).fork()).ldelim();
|
|
722
878
|
}
|
|
723
|
-
|
|
724
879
|
if (message.msg.length !== 0) {
|
|
725
880
|
writer.uint32(34).bytes(message.msg);
|
|
726
881
|
}
|
|
727
|
-
|
|
728
882
|
return writer;
|
|
729
883
|
},
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
884
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ContractCodeHistoryEntry {
|
|
885
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
733
886
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
734
887
|
const message = createBaseContractCodeHistoryEntry();
|
|
735
|
-
|
|
736
888
|
while (reader.pos < end) {
|
|
737
889
|
const tag = reader.uint32();
|
|
738
|
-
|
|
739
890
|
switch (tag >>> 3) {
|
|
740
891
|
case 1:
|
|
741
892
|
message.operation = (reader.int32() as any);
|
|
742
893
|
break;
|
|
743
|
-
|
|
744
894
|
case 2:
|
|
745
|
-
message.codeId =
|
|
895
|
+
message.codeId = reader.uint64();
|
|
746
896
|
break;
|
|
747
|
-
|
|
748
897
|
case 3:
|
|
749
898
|
message.updated = AbsoluteTxPosition.decode(reader, reader.uint32());
|
|
750
899
|
break;
|
|
751
|
-
|
|
752
900
|
case 4:
|
|
753
901
|
message.msg = reader.bytes();
|
|
754
902
|
break;
|
|
755
|
-
|
|
756
903
|
default:
|
|
757
904
|
reader.skipType(tag & 7);
|
|
758
905
|
break;
|
|
759
906
|
}
|
|
760
907
|
}
|
|
761
|
-
|
|
762
908
|
return message;
|
|
763
909
|
},
|
|
764
|
-
|
|
765
|
-
fromPartial(object: DeepPartial<ContractCodeHistoryEntry>): ContractCodeHistoryEntry {
|
|
910
|
+
fromPartial(object: Partial<ContractCodeHistoryEntry>): ContractCodeHistoryEntry {
|
|
766
911
|
const message = createBaseContractCodeHistoryEntry();
|
|
767
912
|
message.operation = object.operation ?? 0;
|
|
768
|
-
message.codeId = object.codeId !== undefined && object.codeId !== null ?
|
|
913
|
+
message.codeId = object.codeId !== undefined && object.codeId !== null ? BigInt(object.codeId.toString()) : BigInt(0);
|
|
769
914
|
message.updated = object.updated !== undefined && object.updated !== null ? AbsoluteTxPosition.fromPartial(object.updated) : undefined;
|
|
770
915
|
message.msg = object.msg ?? new Uint8Array();
|
|
771
916
|
return message;
|
|
917
|
+
},
|
|
918
|
+
fromAmino(object: ContractCodeHistoryEntryAmino): ContractCodeHistoryEntry {
|
|
919
|
+
const message = createBaseContractCodeHistoryEntry();
|
|
920
|
+
if (object.operation !== undefined && object.operation !== null) {
|
|
921
|
+
message.operation = contractCodeHistoryOperationTypeFromJSON(object.operation);
|
|
922
|
+
}
|
|
923
|
+
if (object.code_id !== undefined && object.code_id !== null) {
|
|
924
|
+
message.codeId = BigInt(object.code_id);
|
|
925
|
+
}
|
|
926
|
+
if (object.updated !== undefined && object.updated !== null) {
|
|
927
|
+
message.updated = AbsoluteTxPosition.fromAmino(object.updated);
|
|
928
|
+
}
|
|
929
|
+
if (object.msg !== undefined && object.msg !== null) {
|
|
930
|
+
message.msg = toUtf8(JSON.stringify(object.msg));
|
|
931
|
+
}
|
|
932
|
+
return message;
|
|
933
|
+
},
|
|
934
|
+
toAmino(message: ContractCodeHistoryEntry): ContractCodeHistoryEntryAmino {
|
|
935
|
+
const obj: any = {};
|
|
936
|
+
obj.operation = contractCodeHistoryOperationTypeToJSON(message.operation);
|
|
937
|
+
obj.code_id = message.codeId ? message.codeId.toString() : undefined;
|
|
938
|
+
obj.updated = message.updated ? AbsoluteTxPosition.toAmino(message.updated) : undefined;
|
|
939
|
+
obj.msg = message.msg ? JSON.parse(fromUtf8(message.msg)) : undefined;
|
|
940
|
+
return obj;
|
|
941
|
+
},
|
|
942
|
+
fromAminoMsg(object: ContractCodeHistoryEntryAminoMsg): ContractCodeHistoryEntry {
|
|
943
|
+
return ContractCodeHistoryEntry.fromAmino(object.value);
|
|
944
|
+
},
|
|
945
|
+
toAminoMsg(message: ContractCodeHistoryEntry): ContractCodeHistoryEntryAminoMsg {
|
|
946
|
+
return {
|
|
947
|
+
type: "wasm/ContractCodeHistoryEntry",
|
|
948
|
+
value: ContractCodeHistoryEntry.toAmino(message)
|
|
949
|
+
};
|
|
950
|
+
},
|
|
951
|
+
fromProtoMsg(message: ContractCodeHistoryEntryProtoMsg): ContractCodeHistoryEntry {
|
|
952
|
+
return ContractCodeHistoryEntry.decode(message.value);
|
|
953
|
+
},
|
|
954
|
+
toProto(message: ContractCodeHistoryEntry): Uint8Array {
|
|
955
|
+
return ContractCodeHistoryEntry.encode(message).finish();
|
|
956
|
+
},
|
|
957
|
+
toProtoMsg(message: ContractCodeHistoryEntry): ContractCodeHistoryEntryProtoMsg {
|
|
958
|
+
return {
|
|
959
|
+
typeUrl: "/cosmwasm.wasm.v1.ContractCodeHistoryEntry",
|
|
960
|
+
value: ContractCodeHistoryEntry.encode(message).finish()
|
|
961
|
+
};
|
|
772
962
|
}
|
|
773
|
-
|
|
774
963
|
};
|
|
775
|
-
|
|
776
964
|
function createBaseAbsoluteTxPosition(): AbsoluteTxPosition {
|
|
777
965
|
return {
|
|
778
|
-
blockHeight:
|
|
779
|
-
txIndex:
|
|
966
|
+
blockHeight: BigInt(0),
|
|
967
|
+
txIndex: BigInt(0)
|
|
780
968
|
};
|
|
781
969
|
}
|
|
782
|
-
|
|
783
970
|
export const AbsoluteTxPosition = {
|
|
784
|
-
|
|
785
|
-
|
|
971
|
+
typeUrl: "/cosmwasm.wasm.v1.AbsoluteTxPosition",
|
|
972
|
+
encode(message: AbsoluteTxPosition, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
973
|
+
if (message.blockHeight !== BigInt(0)) {
|
|
786
974
|
writer.uint32(8).uint64(message.blockHeight);
|
|
787
975
|
}
|
|
788
|
-
|
|
789
|
-
if (!message.txIndex.isZero()) {
|
|
976
|
+
if (message.txIndex !== BigInt(0)) {
|
|
790
977
|
writer.uint32(16).uint64(message.txIndex);
|
|
791
978
|
}
|
|
792
|
-
|
|
793
979
|
return writer;
|
|
794
980
|
},
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
981
|
+
decode(input: BinaryReader | Uint8Array, length?: number): AbsoluteTxPosition {
|
|
982
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
798
983
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
799
984
|
const message = createBaseAbsoluteTxPosition();
|
|
800
|
-
|
|
801
985
|
while (reader.pos < end) {
|
|
802
986
|
const tag = reader.uint32();
|
|
803
|
-
|
|
804
987
|
switch (tag >>> 3) {
|
|
805
988
|
case 1:
|
|
806
|
-
message.blockHeight =
|
|
989
|
+
message.blockHeight = reader.uint64();
|
|
807
990
|
break;
|
|
808
|
-
|
|
809
991
|
case 2:
|
|
810
|
-
message.txIndex =
|
|
992
|
+
message.txIndex = reader.uint64();
|
|
811
993
|
break;
|
|
812
|
-
|
|
813
994
|
default:
|
|
814
995
|
reader.skipType(tag & 7);
|
|
815
996
|
break;
|
|
816
997
|
}
|
|
817
998
|
}
|
|
818
|
-
|
|
819
999
|
return message;
|
|
820
1000
|
},
|
|
821
|
-
|
|
822
|
-
|
|
1001
|
+
fromPartial(object: Partial<AbsoluteTxPosition>): AbsoluteTxPosition {
|
|
1002
|
+
const message = createBaseAbsoluteTxPosition();
|
|
1003
|
+
message.blockHeight = object.blockHeight !== undefined && object.blockHeight !== null ? BigInt(object.blockHeight.toString()) : BigInt(0);
|
|
1004
|
+
message.txIndex = object.txIndex !== undefined && object.txIndex !== null ? BigInt(object.txIndex.toString()) : BigInt(0);
|
|
1005
|
+
return message;
|
|
1006
|
+
},
|
|
1007
|
+
fromAmino(object: AbsoluteTxPositionAmino): AbsoluteTxPosition {
|
|
823
1008
|
const message = createBaseAbsoluteTxPosition();
|
|
824
|
-
|
|
825
|
-
|
|
1009
|
+
if (object.block_height !== undefined && object.block_height !== null) {
|
|
1010
|
+
message.blockHeight = BigInt(object.block_height);
|
|
1011
|
+
}
|
|
1012
|
+
if (object.tx_index !== undefined && object.tx_index !== null) {
|
|
1013
|
+
message.txIndex = BigInt(object.tx_index);
|
|
1014
|
+
}
|
|
826
1015
|
return message;
|
|
1016
|
+
},
|
|
1017
|
+
toAmino(message: AbsoluteTxPosition): AbsoluteTxPositionAmino {
|
|
1018
|
+
const obj: any = {};
|
|
1019
|
+
obj.block_height = message.blockHeight ? message.blockHeight.toString() : undefined;
|
|
1020
|
+
obj.tx_index = message.txIndex ? message.txIndex.toString() : undefined;
|
|
1021
|
+
return obj;
|
|
1022
|
+
},
|
|
1023
|
+
fromAminoMsg(object: AbsoluteTxPositionAminoMsg): AbsoluteTxPosition {
|
|
1024
|
+
return AbsoluteTxPosition.fromAmino(object.value);
|
|
1025
|
+
},
|
|
1026
|
+
toAminoMsg(message: AbsoluteTxPosition): AbsoluteTxPositionAminoMsg {
|
|
1027
|
+
return {
|
|
1028
|
+
type: "wasm/AbsoluteTxPosition",
|
|
1029
|
+
value: AbsoluteTxPosition.toAmino(message)
|
|
1030
|
+
};
|
|
1031
|
+
},
|
|
1032
|
+
fromProtoMsg(message: AbsoluteTxPositionProtoMsg): AbsoluteTxPosition {
|
|
1033
|
+
return AbsoluteTxPosition.decode(message.value);
|
|
1034
|
+
},
|
|
1035
|
+
toProto(message: AbsoluteTxPosition): Uint8Array {
|
|
1036
|
+
return AbsoluteTxPosition.encode(message).finish();
|
|
1037
|
+
},
|
|
1038
|
+
toProtoMsg(message: AbsoluteTxPosition): AbsoluteTxPositionProtoMsg {
|
|
1039
|
+
return {
|
|
1040
|
+
typeUrl: "/cosmwasm.wasm.v1.AbsoluteTxPosition",
|
|
1041
|
+
value: AbsoluteTxPosition.encode(message).finish()
|
|
1042
|
+
};
|
|
827
1043
|
}
|
|
828
|
-
|
|
829
1044
|
};
|
|
830
|
-
|
|
831
1045
|
function createBaseModel(): Model {
|
|
832
1046
|
return {
|
|
833
1047
|
key: new Uint8Array(),
|
|
834
1048
|
value: new Uint8Array()
|
|
835
1049
|
};
|
|
836
1050
|
}
|
|
837
|
-
|
|
838
1051
|
export const Model = {
|
|
839
|
-
|
|
1052
|
+
typeUrl: "/cosmwasm.wasm.v1.Model",
|
|
1053
|
+
encode(message: Model, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
840
1054
|
if (message.key.length !== 0) {
|
|
841
1055
|
writer.uint32(10).bytes(message.key);
|
|
842
1056
|
}
|
|
843
|
-
|
|
844
1057
|
if (message.value.length !== 0) {
|
|
845
1058
|
writer.uint32(18).bytes(message.value);
|
|
846
1059
|
}
|
|
847
|
-
|
|
848
1060
|
return writer;
|
|
849
1061
|
},
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1062
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Model {
|
|
1063
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
853
1064
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
854
1065
|
const message = createBaseModel();
|
|
855
|
-
|
|
856
1066
|
while (reader.pos < end) {
|
|
857
1067
|
const tag = reader.uint32();
|
|
858
|
-
|
|
859
1068
|
switch (tag >>> 3) {
|
|
860
1069
|
case 1:
|
|
861
1070
|
message.key = reader.bytes();
|
|
862
1071
|
break;
|
|
863
|
-
|
|
864
1072
|
case 2:
|
|
865
1073
|
message.value = reader.bytes();
|
|
866
1074
|
break;
|
|
867
|
-
|
|
868
1075
|
default:
|
|
869
1076
|
reader.skipType(tag & 7);
|
|
870
1077
|
break;
|
|
871
1078
|
}
|
|
872
1079
|
}
|
|
873
|
-
|
|
874
1080
|
return message;
|
|
875
1081
|
},
|
|
876
|
-
|
|
877
|
-
fromPartial(object: DeepPartial<Model>): Model {
|
|
1082
|
+
fromPartial(object: Partial<Model>): Model {
|
|
878
1083
|
const message = createBaseModel();
|
|
879
1084
|
message.key = object.key ?? new Uint8Array();
|
|
880
1085
|
message.value = object.value ?? new Uint8Array();
|
|
881
1086
|
return message;
|
|
1087
|
+
},
|
|
1088
|
+
fromAmino(object: ModelAmino): Model {
|
|
1089
|
+
const message = createBaseModel();
|
|
1090
|
+
if (object.key !== undefined && object.key !== null) {
|
|
1091
|
+
message.key = bytesFromBase64(object.key);
|
|
1092
|
+
}
|
|
1093
|
+
if (object.value !== undefined && object.value !== null) {
|
|
1094
|
+
message.value = bytesFromBase64(object.value);
|
|
1095
|
+
}
|
|
1096
|
+
return message;
|
|
1097
|
+
},
|
|
1098
|
+
toAmino(message: Model): ModelAmino {
|
|
1099
|
+
const obj: any = {};
|
|
1100
|
+
obj.key = message.key ? base64FromBytes(message.key) : undefined;
|
|
1101
|
+
obj.value = message.value ? base64FromBytes(message.value) : undefined;
|
|
1102
|
+
return obj;
|
|
1103
|
+
},
|
|
1104
|
+
fromAminoMsg(object: ModelAminoMsg): Model {
|
|
1105
|
+
return Model.fromAmino(object.value);
|
|
1106
|
+
},
|
|
1107
|
+
toAminoMsg(message: Model): ModelAminoMsg {
|
|
1108
|
+
return {
|
|
1109
|
+
type: "wasm/Model",
|
|
1110
|
+
value: Model.toAmino(message)
|
|
1111
|
+
};
|
|
1112
|
+
},
|
|
1113
|
+
fromProtoMsg(message: ModelProtoMsg): Model {
|
|
1114
|
+
return Model.decode(message.value);
|
|
1115
|
+
},
|
|
1116
|
+
toProto(message: Model): Uint8Array {
|
|
1117
|
+
return Model.encode(message).finish();
|
|
1118
|
+
},
|
|
1119
|
+
toProtoMsg(message: Model): ModelProtoMsg {
|
|
1120
|
+
return {
|
|
1121
|
+
typeUrl: "/cosmwasm.wasm.v1.Model",
|
|
1122
|
+
value: Model.encode(message).finish()
|
|
1123
|
+
};
|
|
882
1124
|
}
|
|
883
|
-
|
|
884
1125
|
};
|