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,41 +1,66 @@
|
|
|
1
|
-
import { Description, DescriptionSDKType, CommissionRates, CommissionRatesSDKType } from "./staking";
|
|
2
|
-
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
|
3
|
-
import { Coin, CoinSDKType } from "../../base/v1beta1/coin";
|
|
1
|
+
import { Description, DescriptionAmino, DescriptionSDKType, CommissionRates, CommissionRatesAmino, CommissionRatesSDKType } from "./staking";
|
|
2
|
+
import { Any, AnyAmino, AnySDKType } from "../../../google/protobuf/any";
|
|
3
|
+
import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin";
|
|
4
4
|
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
5
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
6
|
+
import { encodePubkey, decodePubkey } from "@cosmjs/proto-signing";
|
|
7
|
+
import { Decimal } from "@cosmjs/math";
|
|
8
|
+
import { toTimestamp, fromTimestamp } from "../../../helpers";
|
|
7
9
|
/** MsgCreateValidator defines a SDK message for creating a new validator. */
|
|
8
|
-
|
|
9
10
|
export interface MsgCreateValidator {
|
|
10
|
-
description
|
|
11
|
-
commission
|
|
11
|
+
description: Description;
|
|
12
|
+
commission: CommissionRates;
|
|
12
13
|
minSelfDelegation: string;
|
|
13
14
|
delegatorAddress: string;
|
|
14
15
|
validatorAddress: string;
|
|
15
16
|
pubkey?: Any;
|
|
16
|
-
value
|
|
17
|
+
value: Coin;
|
|
18
|
+
}
|
|
19
|
+
export interface MsgCreateValidatorProtoMsg {
|
|
20
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator";
|
|
21
|
+
value: Uint8Array;
|
|
22
|
+
}
|
|
23
|
+
/** MsgCreateValidator defines a SDK message for creating a new validator. */
|
|
24
|
+
export interface MsgCreateValidatorAmino {
|
|
25
|
+
description?: DescriptionAmino;
|
|
26
|
+
commission?: CommissionRatesAmino;
|
|
27
|
+
min_self_delegation?: string;
|
|
28
|
+
delegator_address?: string;
|
|
29
|
+
validator_address?: string;
|
|
30
|
+
pubkey?: AnyAmino;
|
|
31
|
+
value?: CoinAmino;
|
|
32
|
+
}
|
|
33
|
+
export interface MsgCreateValidatorAminoMsg {
|
|
34
|
+
type: "cosmos-sdk/MsgCreateValidator";
|
|
35
|
+
value: MsgCreateValidatorAmino;
|
|
17
36
|
}
|
|
18
37
|
/** MsgCreateValidator defines a SDK message for creating a new validator. */
|
|
19
|
-
|
|
20
38
|
export interface MsgCreateValidatorSDKType {
|
|
21
|
-
description
|
|
22
|
-
commission
|
|
39
|
+
description: DescriptionSDKType;
|
|
40
|
+
commission: CommissionRatesSDKType;
|
|
23
41
|
min_self_delegation: string;
|
|
24
42
|
delegator_address: string;
|
|
25
43
|
validator_address: string;
|
|
26
44
|
pubkey?: AnySDKType;
|
|
27
|
-
value
|
|
45
|
+
value: CoinSDKType;
|
|
28
46
|
}
|
|
29
47
|
/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */
|
|
30
|
-
|
|
31
48
|
export interface MsgCreateValidatorResponse {}
|
|
49
|
+
export interface MsgCreateValidatorResponseProtoMsg {
|
|
50
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidatorResponse";
|
|
51
|
+
value: Uint8Array;
|
|
52
|
+
}
|
|
53
|
+
/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */
|
|
54
|
+
export interface MsgCreateValidatorResponseAmino {}
|
|
55
|
+
export interface MsgCreateValidatorResponseAminoMsg {
|
|
56
|
+
type: "cosmos-sdk/MsgCreateValidatorResponse";
|
|
57
|
+
value: MsgCreateValidatorResponseAmino;
|
|
58
|
+
}
|
|
32
59
|
/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */
|
|
33
|
-
|
|
34
60
|
export interface MsgCreateValidatorResponseSDKType {}
|
|
35
61
|
/** MsgEditValidator defines a SDK message for editing an existing validator. */
|
|
36
|
-
|
|
37
62
|
export interface MsgEditValidator {
|
|
38
|
-
description
|
|
63
|
+
description: Description;
|
|
39
64
|
validatorAddress: string;
|
|
40
65
|
/**
|
|
41
66
|
* We pass a reference to the new commission rate and min self delegation as
|
|
@@ -43,212 +68,286 @@ export interface MsgEditValidator {
|
|
|
43
68
|
* zero with no way to distinguish if an update was intended.
|
|
44
69
|
* REF: #2373
|
|
45
70
|
*/
|
|
46
|
-
|
|
47
71
|
commissionRate: string;
|
|
48
72
|
minSelfDelegation: string;
|
|
49
73
|
}
|
|
74
|
+
export interface MsgEditValidatorProtoMsg {
|
|
75
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator";
|
|
76
|
+
value: Uint8Array;
|
|
77
|
+
}
|
|
50
78
|
/** MsgEditValidator defines a SDK message for editing an existing validator. */
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
validator_address: string;
|
|
79
|
+
export interface MsgEditValidatorAmino {
|
|
80
|
+
description?: DescriptionAmino;
|
|
81
|
+
validator_address?: string;
|
|
55
82
|
/**
|
|
56
83
|
* We pass a reference to the new commission rate and min self delegation as
|
|
57
84
|
* it's not mandatory to update. If not updated, the deserialized rate will be
|
|
58
85
|
* zero with no way to distinguish if an update was intended.
|
|
59
86
|
* REF: #2373
|
|
60
87
|
*/
|
|
61
|
-
|
|
88
|
+
commission_rate?: string;
|
|
89
|
+
min_self_delegation?: string;
|
|
90
|
+
}
|
|
91
|
+
export interface MsgEditValidatorAminoMsg {
|
|
92
|
+
type: "cosmos-sdk/MsgEditValidator";
|
|
93
|
+
value: MsgEditValidatorAmino;
|
|
94
|
+
}
|
|
95
|
+
/** MsgEditValidator defines a SDK message for editing an existing validator. */
|
|
96
|
+
export interface MsgEditValidatorSDKType {
|
|
97
|
+
description: DescriptionSDKType;
|
|
98
|
+
validator_address: string;
|
|
62
99
|
commission_rate: string;
|
|
63
100
|
min_self_delegation: string;
|
|
64
101
|
}
|
|
65
102
|
/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */
|
|
66
|
-
|
|
67
103
|
export interface MsgEditValidatorResponse {}
|
|
104
|
+
export interface MsgEditValidatorResponseProtoMsg {
|
|
105
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgEditValidatorResponse";
|
|
106
|
+
value: Uint8Array;
|
|
107
|
+
}
|
|
108
|
+
/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */
|
|
109
|
+
export interface MsgEditValidatorResponseAmino {}
|
|
110
|
+
export interface MsgEditValidatorResponseAminoMsg {
|
|
111
|
+
type: "cosmos-sdk/MsgEditValidatorResponse";
|
|
112
|
+
value: MsgEditValidatorResponseAmino;
|
|
113
|
+
}
|
|
68
114
|
/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */
|
|
69
|
-
|
|
70
115
|
export interface MsgEditValidatorResponseSDKType {}
|
|
71
116
|
/**
|
|
72
117
|
* MsgDelegate defines a SDK message for performing a delegation of coins
|
|
73
118
|
* from a delegator to a validator.
|
|
74
119
|
*/
|
|
75
|
-
|
|
76
120
|
export interface MsgDelegate {
|
|
77
121
|
delegatorAddress: string;
|
|
78
122
|
validatorAddress: string;
|
|
79
|
-
amount
|
|
123
|
+
amount: Coin;
|
|
124
|
+
}
|
|
125
|
+
export interface MsgDelegateProtoMsg {
|
|
126
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgDelegate";
|
|
127
|
+
value: Uint8Array;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* MsgDelegate defines a SDK message for performing a delegation of coins
|
|
131
|
+
* from a delegator to a validator.
|
|
132
|
+
*/
|
|
133
|
+
export interface MsgDelegateAmino {
|
|
134
|
+
delegator_address?: string;
|
|
135
|
+
validator_address?: string;
|
|
136
|
+
amount?: CoinAmino;
|
|
137
|
+
}
|
|
138
|
+
export interface MsgDelegateAminoMsg {
|
|
139
|
+
type: "cosmos-sdk/MsgDelegate";
|
|
140
|
+
value: MsgDelegateAmino;
|
|
80
141
|
}
|
|
81
142
|
/**
|
|
82
143
|
* MsgDelegate defines a SDK message for performing a delegation of coins
|
|
83
144
|
* from a delegator to a validator.
|
|
84
145
|
*/
|
|
85
|
-
|
|
86
146
|
export interface MsgDelegateSDKType {
|
|
87
147
|
delegator_address: string;
|
|
88
148
|
validator_address: string;
|
|
89
|
-
amount
|
|
149
|
+
amount: CoinSDKType;
|
|
90
150
|
}
|
|
91
151
|
/** MsgDelegateResponse defines the Msg/Delegate response type. */
|
|
92
|
-
|
|
93
152
|
export interface MsgDelegateResponse {}
|
|
153
|
+
export interface MsgDelegateResponseProtoMsg {
|
|
154
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgDelegateResponse";
|
|
155
|
+
value: Uint8Array;
|
|
156
|
+
}
|
|
157
|
+
/** MsgDelegateResponse defines the Msg/Delegate response type. */
|
|
158
|
+
export interface MsgDelegateResponseAmino {}
|
|
159
|
+
export interface MsgDelegateResponseAminoMsg {
|
|
160
|
+
type: "cosmos-sdk/MsgDelegateResponse";
|
|
161
|
+
value: MsgDelegateResponseAmino;
|
|
162
|
+
}
|
|
94
163
|
/** MsgDelegateResponse defines the Msg/Delegate response type. */
|
|
95
|
-
|
|
96
164
|
export interface MsgDelegateResponseSDKType {}
|
|
97
165
|
/**
|
|
98
166
|
* MsgBeginRedelegate defines a SDK message for performing a redelegation
|
|
99
167
|
* of coins from a delegator and source validator to a destination validator.
|
|
100
168
|
*/
|
|
101
|
-
|
|
102
169
|
export interface MsgBeginRedelegate {
|
|
103
170
|
delegatorAddress: string;
|
|
104
171
|
validatorSrcAddress: string;
|
|
105
172
|
validatorDstAddress: string;
|
|
106
|
-
amount
|
|
173
|
+
amount: Coin;
|
|
174
|
+
}
|
|
175
|
+
export interface MsgBeginRedelegateProtoMsg {
|
|
176
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate";
|
|
177
|
+
value: Uint8Array;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* MsgBeginRedelegate defines a SDK message for performing a redelegation
|
|
181
|
+
* of coins from a delegator and source validator to a destination validator.
|
|
182
|
+
*/
|
|
183
|
+
export interface MsgBeginRedelegateAmino {
|
|
184
|
+
delegator_address?: string;
|
|
185
|
+
validator_src_address?: string;
|
|
186
|
+
validator_dst_address?: string;
|
|
187
|
+
amount?: CoinAmino;
|
|
188
|
+
}
|
|
189
|
+
export interface MsgBeginRedelegateAminoMsg {
|
|
190
|
+
type: "cosmos-sdk/MsgBeginRedelegate";
|
|
191
|
+
value: MsgBeginRedelegateAmino;
|
|
107
192
|
}
|
|
108
193
|
/**
|
|
109
194
|
* MsgBeginRedelegate defines a SDK message for performing a redelegation
|
|
110
195
|
* of coins from a delegator and source validator to a destination validator.
|
|
111
196
|
*/
|
|
112
|
-
|
|
113
197
|
export interface MsgBeginRedelegateSDKType {
|
|
114
198
|
delegator_address: string;
|
|
115
199
|
validator_src_address: string;
|
|
116
200
|
validator_dst_address: string;
|
|
117
|
-
amount
|
|
201
|
+
amount: CoinSDKType;
|
|
118
202
|
}
|
|
119
203
|
/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */
|
|
120
|
-
|
|
121
204
|
export interface MsgBeginRedelegateResponse {
|
|
122
|
-
completionTime
|
|
205
|
+
completionTime: Date;
|
|
206
|
+
}
|
|
207
|
+
export interface MsgBeginRedelegateResponseProtoMsg {
|
|
208
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegateResponse";
|
|
209
|
+
value: Uint8Array;
|
|
210
|
+
}
|
|
211
|
+
/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */
|
|
212
|
+
export interface MsgBeginRedelegateResponseAmino {
|
|
213
|
+
completion_time?: string;
|
|
214
|
+
}
|
|
215
|
+
export interface MsgBeginRedelegateResponseAminoMsg {
|
|
216
|
+
type: "cosmos-sdk/MsgBeginRedelegateResponse";
|
|
217
|
+
value: MsgBeginRedelegateResponseAmino;
|
|
123
218
|
}
|
|
124
219
|
/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */
|
|
125
|
-
|
|
126
220
|
export interface MsgBeginRedelegateResponseSDKType {
|
|
127
|
-
completion_time
|
|
221
|
+
completion_time: Date;
|
|
128
222
|
}
|
|
129
223
|
/**
|
|
130
224
|
* MsgUndelegate defines a SDK message for performing an undelegation from a
|
|
131
225
|
* delegate and a validator.
|
|
132
226
|
*/
|
|
133
|
-
|
|
134
227
|
export interface MsgUndelegate {
|
|
135
228
|
delegatorAddress: string;
|
|
136
229
|
validatorAddress: string;
|
|
137
|
-
amount
|
|
230
|
+
amount: Coin;
|
|
231
|
+
}
|
|
232
|
+
export interface MsgUndelegateProtoMsg {
|
|
233
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate";
|
|
234
|
+
value: Uint8Array;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* MsgUndelegate defines a SDK message for performing an undelegation from a
|
|
238
|
+
* delegate and a validator.
|
|
239
|
+
*/
|
|
240
|
+
export interface MsgUndelegateAmino {
|
|
241
|
+
delegator_address?: string;
|
|
242
|
+
validator_address?: string;
|
|
243
|
+
amount?: CoinAmino;
|
|
244
|
+
}
|
|
245
|
+
export interface MsgUndelegateAminoMsg {
|
|
246
|
+
type: "cosmos-sdk/MsgUndelegate";
|
|
247
|
+
value: MsgUndelegateAmino;
|
|
138
248
|
}
|
|
139
249
|
/**
|
|
140
250
|
* MsgUndelegate defines a SDK message for performing an undelegation from a
|
|
141
251
|
* delegate and a validator.
|
|
142
252
|
*/
|
|
143
|
-
|
|
144
253
|
export interface MsgUndelegateSDKType {
|
|
145
254
|
delegator_address: string;
|
|
146
255
|
validator_address: string;
|
|
147
|
-
amount
|
|
256
|
+
amount: CoinSDKType;
|
|
148
257
|
}
|
|
149
258
|
/** MsgUndelegateResponse defines the Msg/Undelegate response type. */
|
|
150
|
-
|
|
151
259
|
export interface MsgUndelegateResponse {
|
|
152
|
-
completionTime
|
|
260
|
+
completionTime: Date;
|
|
261
|
+
}
|
|
262
|
+
export interface MsgUndelegateResponseProtoMsg {
|
|
263
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgUndelegateResponse";
|
|
264
|
+
value: Uint8Array;
|
|
265
|
+
}
|
|
266
|
+
/** MsgUndelegateResponse defines the Msg/Undelegate response type. */
|
|
267
|
+
export interface MsgUndelegateResponseAmino {
|
|
268
|
+
completion_time?: string;
|
|
269
|
+
}
|
|
270
|
+
export interface MsgUndelegateResponseAminoMsg {
|
|
271
|
+
type: "cosmos-sdk/MsgUndelegateResponse";
|
|
272
|
+
value: MsgUndelegateResponseAmino;
|
|
153
273
|
}
|
|
154
274
|
/** MsgUndelegateResponse defines the Msg/Undelegate response type. */
|
|
155
|
-
|
|
156
275
|
export interface MsgUndelegateResponseSDKType {
|
|
157
|
-
completion_time
|
|
276
|
+
completion_time: Date;
|
|
158
277
|
}
|
|
159
|
-
|
|
160
278
|
function createBaseMsgCreateValidator(): MsgCreateValidator {
|
|
161
279
|
return {
|
|
162
|
-
description:
|
|
163
|
-
commission:
|
|
280
|
+
description: Description.fromPartial({}),
|
|
281
|
+
commission: CommissionRates.fromPartial({}),
|
|
164
282
|
minSelfDelegation: "",
|
|
165
283
|
delegatorAddress: "",
|
|
166
284
|
validatorAddress: "",
|
|
167
285
|
pubkey: undefined,
|
|
168
|
-
value:
|
|
286
|
+
value: Coin.fromPartial({})
|
|
169
287
|
};
|
|
170
288
|
}
|
|
171
|
-
|
|
172
289
|
export const MsgCreateValidator = {
|
|
173
|
-
|
|
290
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator",
|
|
291
|
+
encode(message: MsgCreateValidator, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
174
292
|
if (message.description !== undefined) {
|
|
175
293
|
Description.encode(message.description, writer.uint32(10).fork()).ldelim();
|
|
176
294
|
}
|
|
177
|
-
|
|
178
295
|
if (message.commission !== undefined) {
|
|
179
296
|
CommissionRates.encode(message.commission, writer.uint32(18).fork()).ldelim();
|
|
180
297
|
}
|
|
181
|
-
|
|
182
298
|
if (message.minSelfDelegation !== "") {
|
|
183
299
|
writer.uint32(26).string(message.minSelfDelegation);
|
|
184
300
|
}
|
|
185
|
-
|
|
186
301
|
if (message.delegatorAddress !== "") {
|
|
187
302
|
writer.uint32(34).string(message.delegatorAddress);
|
|
188
303
|
}
|
|
189
|
-
|
|
190
304
|
if (message.validatorAddress !== "") {
|
|
191
305
|
writer.uint32(42).string(message.validatorAddress);
|
|
192
306
|
}
|
|
193
|
-
|
|
194
307
|
if (message.pubkey !== undefined) {
|
|
195
308
|
Any.encode(message.pubkey, writer.uint32(50).fork()).ldelim();
|
|
196
309
|
}
|
|
197
|
-
|
|
198
310
|
if (message.value !== undefined) {
|
|
199
311
|
Coin.encode(message.value, writer.uint32(58).fork()).ldelim();
|
|
200
312
|
}
|
|
201
|
-
|
|
202
313
|
return writer;
|
|
203
314
|
},
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
315
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateValidator {
|
|
316
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
207
317
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
208
318
|
const message = createBaseMsgCreateValidator();
|
|
209
|
-
|
|
210
319
|
while (reader.pos < end) {
|
|
211
320
|
const tag = reader.uint32();
|
|
212
|
-
|
|
213
321
|
switch (tag >>> 3) {
|
|
214
322
|
case 1:
|
|
215
323
|
message.description = Description.decode(reader, reader.uint32());
|
|
216
324
|
break;
|
|
217
|
-
|
|
218
325
|
case 2:
|
|
219
326
|
message.commission = CommissionRates.decode(reader, reader.uint32());
|
|
220
327
|
break;
|
|
221
|
-
|
|
222
328
|
case 3:
|
|
223
329
|
message.minSelfDelegation = reader.string();
|
|
224
330
|
break;
|
|
225
|
-
|
|
226
331
|
case 4:
|
|
227
332
|
message.delegatorAddress = reader.string();
|
|
228
333
|
break;
|
|
229
|
-
|
|
230
334
|
case 5:
|
|
231
335
|
message.validatorAddress = reader.string();
|
|
232
336
|
break;
|
|
233
|
-
|
|
234
337
|
case 6:
|
|
235
338
|
message.pubkey = Any.decode(reader, reader.uint32());
|
|
236
339
|
break;
|
|
237
|
-
|
|
238
340
|
case 7:
|
|
239
341
|
message.value = Coin.decode(reader, reader.uint32());
|
|
240
342
|
break;
|
|
241
|
-
|
|
242
343
|
default:
|
|
243
344
|
reader.skipType(tag & 7);
|
|
244
345
|
break;
|
|
245
346
|
}
|
|
246
347
|
}
|
|
247
|
-
|
|
248
348
|
return message;
|
|
249
349
|
},
|
|
250
|
-
|
|
251
|
-
fromPartial(object: DeepPartial<MsgCreateValidator>): MsgCreateValidator {
|
|
350
|
+
fromPartial(object: Partial<MsgCreateValidator>): MsgCreateValidator {
|
|
252
351
|
const message = createBaseMsgCreateValidator();
|
|
253
352
|
message.description = object.description !== undefined && object.description !== null ? Description.fromPartial(object.description) : undefined;
|
|
254
353
|
message.commission = object.commission !== undefined && object.commission !== null ? CommissionRates.fromPartial(object.commission) : undefined;
|
|
@@ -258,478 +357,764 @@ export const MsgCreateValidator = {
|
|
|
258
357
|
message.pubkey = object.pubkey !== undefined && object.pubkey !== null ? Any.fromPartial(object.pubkey) : undefined;
|
|
259
358
|
message.value = object.value !== undefined && object.value !== null ? Coin.fromPartial(object.value) : undefined;
|
|
260
359
|
return message;
|
|
360
|
+
},
|
|
361
|
+
fromAmino(object: MsgCreateValidatorAmino): MsgCreateValidator {
|
|
362
|
+
const message = createBaseMsgCreateValidator();
|
|
363
|
+
if (object.description !== undefined && object.description !== null) {
|
|
364
|
+
message.description = Description.fromAmino(object.description);
|
|
365
|
+
}
|
|
366
|
+
if (object.commission !== undefined && object.commission !== null) {
|
|
367
|
+
message.commission = CommissionRates.fromAmino(object.commission);
|
|
368
|
+
}
|
|
369
|
+
if (object.min_self_delegation !== undefined && object.min_self_delegation !== null) {
|
|
370
|
+
message.minSelfDelegation = object.min_self_delegation;
|
|
371
|
+
}
|
|
372
|
+
if (object.delegator_address !== undefined && object.delegator_address !== null) {
|
|
373
|
+
message.delegatorAddress = object.delegator_address;
|
|
374
|
+
}
|
|
375
|
+
if (object.validator_address !== undefined && object.validator_address !== null) {
|
|
376
|
+
message.validatorAddress = object.validator_address;
|
|
377
|
+
}
|
|
378
|
+
if (object.pubkey !== undefined && object.pubkey !== null) {
|
|
379
|
+
message.pubkey = encodePubkey(object.pubkey);
|
|
380
|
+
}
|
|
381
|
+
if (object.value !== undefined && object.value !== null) {
|
|
382
|
+
message.value = Coin.fromAmino(object.value);
|
|
383
|
+
}
|
|
384
|
+
return message;
|
|
385
|
+
},
|
|
386
|
+
toAmino(message: MsgCreateValidator): MsgCreateValidatorAmino {
|
|
387
|
+
const obj: any = {};
|
|
388
|
+
obj.description = message.description ? Description.toAmino(message.description) : undefined;
|
|
389
|
+
obj.commission = message.commission ? CommissionRates.toAmino(message.commission) : undefined;
|
|
390
|
+
obj.min_self_delegation = message.minSelfDelegation;
|
|
391
|
+
obj.delegator_address = message.delegatorAddress;
|
|
392
|
+
obj.validator_address = message.validatorAddress;
|
|
393
|
+
obj.pubkey = message.pubkey ? decodePubkey(message.pubkey) : undefined;
|
|
394
|
+
obj.value = message.value ? Coin.toAmino(message.value) : undefined;
|
|
395
|
+
return obj;
|
|
396
|
+
},
|
|
397
|
+
fromAminoMsg(object: MsgCreateValidatorAminoMsg): MsgCreateValidator {
|
|
398
|
+
return MsgCreateValidator.fromAmino(object.value);
|
|
399
|
+
},
|
|
400
|
+
toAminoMsg(message: MsgCreateValidator): MsgCreateValidatorAminoMsg {
|
|
401
|
+
return {
|
|
402
|
+
type: "cosmos-sdk/MsgCreateValidator",
|
|
403
|
+
value: MsgCreateValidator.toAmino(message)
|
|
404
|
+
};
|
|
405
|
+
},
|
|
406
|
+
fromProtoMsg(message: MsgCreateValidatorProtoMsg): MsgCreateValidator {
|
|
407
|
+
return MsgCreateValidator.decode(message.value);
|
|
408
|
+
},
|
|
409
|
+
toProto(message: MsgCreateValidator): Uint8Array {
|
|
410
|
+
return MsgCreateValidator.encode(message).finish();
|
|
411
|
+
},
|
|
412
|
+
toProtoMsg(message: MsgCreateValidator): MsgCreateValidatorProtoMsg {
|
|
413
|
+
return {
|
|
414
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator",
|
|
415
|
+
value: MsgCreateValidator.encode(message).finish()
|
|
416
|
+
};
|
|
261
417
|
}
|
|
262
|
-
|
|
263
418
|
};
|
|
264
|
-
|
|
265
419
|
function createBaseMsgCreateValidatorResponse(): MsgCreateValidatorResponse {
|
|
266
420
|
return {};
|
|
267
421
|
}
|
|
268
|
-
|
|
269
422
|
export const MsgCreateValidatorResponse = {
|
|
270
|
-
|
|
423
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidatorResponse",
|
|
424
|
+
encode(_: MsgCreateValidatorResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
271
425
|
return writer;
|
|
272
426
|
},
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
427
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgCreateValidatorResponse {
|
|
428
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
276
429
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
277
430
|
const message = createBaseMsgCreateValidatorResponse();
|
|
278
|
-
|
|
279
431
|
while (reader.pos < end) {
|
|
280
432
|
const tag = reader.uint32();
|
|
281
|
-
|
|
282
433
|
switch (tag >>> 3) {
|
|
283
434
|
default:
|
|
284
435
|
reader.skipType(tag & 7);
|
|
285
436
|
break;
|
|
286
437
|
}
|
|
287
438
|
}
|
|
288
|
-
|
|
289
439
|
return message;
|
|
290
440
|
},
|
|
291
|
-
|
|
292
|
-
|
|
441
|
+
fromPartial(_: Partial<MsgCreateValidatorResponse>): MsgCreateValidatorResponse {
|
|
442
|
+
const message = createBaseMsgCreateValidatorResponse();
|
|
443
|
+
return message;
|
|
444
|
+
},
|
|
445
|
+
fromAmino(_: MsgCreateValidatorResponseAmino): MsgCreateValidatorResponse {
|
|
293
446
|
const message = createBaseMsgCreateValidatorResponse();
|
|
294
447
|
return message;
|
|
448
|
+
},
|
|
449
|
+
toAmino(_: MsgCreateValidatorResponse): MsgCreateValidatorResponseAmino {
|
|
450
|
+
const obj: any = {};
|
|
451
|
+
return obj;
|
|
452
|
+
},
|
|
453
|
+
fromAminoMsg(object: MsgCreateValidatorResponseAminoMsg): MsgCreateValidatorResponse {
|
|
454
|
+
return MsgCreateValidatorResponse.fromAmino(object.value);
|
|
455
|
+
},
|
|
456
|
+
toAminoMsg(message: MsgCreateValidatorResponse): MsgCreateValidatorResponseAminoMsg {
|
|
457
|
+
return {
|
|
458
|
+
type: "cosmos-sdk/MsgCreateValidatorResponse",
|
|
459
|
+
value: MsgCreateValidatorResponse.toAmino(message)
|
|
460
|
+
};
|
|
461
|
+
},
|
|
462
|
+
fromProtoMsg(message: MsgCreateValidatorResponseProtoMsg): MsgCreateValidatorResponse {
|
|
463
|
+
return MsgCreateValidatorResponse.decode(message.value);
|
|
464
|
+
},
|
|
465
|
+
toProto(message: MsgCreateValidatorResponse): Uint8Array {
|
|
466
|
+
return MsgCreateValidatorResponse.encode(message).finish();
|
|
467
|
+
},
|
|
468
|
+
toProtoMsg(message: MsgCreateValidatorResponse): MsgCreateValidatorResponseProtoMsg {
|
|
469
|
+
return {
|
|
470
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidatorResponse",
|
|
471
|
+
value: MsgCreateValidatorResponse.encode(message).finish()
|
|
472
|
+
};
|
|
295
473
|
}
|
|
296
|
-
|
|
297
474
|
};
|
|
298
|
-
|
|
299
475
|
function createBaseMsgEditValidator(): MsgEditValidator {
|
|
300
476
|
return {
|
|
301
|
-
description:
|
|
477
|
+
description: Description.fromPartial({}),
|
|
302
478
|
validatorAddress: "",
|
|
303
479
|
commissionRate: "",
|
|
304
480
|
minSelfDelegation: ""
|
|
305
481
|
};
|
|
306
482
|
}
|
|
307
|
-
|
|
308
483
|
export const MsgEditValidator = {
|
|
309
|
-
|
|
484
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator",
|
|
485
|
+
encode(message: MsgEditValidator, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
310
486
|
if (message.description !== undefined) {
|
|
311
487
|
Description.encode(message.description, writer.uint32(10).fork()).ldelim();
|
|
312
488
|
}
|
|
313
|
-
|
|
314
489
|
if (message.validatorAddress !== "") {
|
|
315
490
|
writer.uint32(18).string(message.validatorAddress);
|
|
316
491
|
}
|
|
317
|
-
|
|
318
492
|
if (message.commissionRate !== "") {
|
|
319
|
-
writer.uint32(26).string(message.commissionRate);
|
|
493
|
+
writer.uint32(26).string(Decimal.fromUserInput(message.commissionRate, 18).atomics);
|
|
320
494
|
}
|
|
321
|
-
|
|
322
495
|
if (message.minSelfDelegation !== "") {
|
|
323
496
|
writer.uint32(34).string(message.minSelfDelegation);
|
|
324
497
|
}
|
|
325
|
-
|
|
326
498
|
return writer;
|
|
327
499
|
},
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
500
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgEditValidator {
|
|
501
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
331
502
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
332
503
|
const message = createBaseMsgEditValidator();
|
|
333
|
-
|
|
334
504
|
while (reader.pos < end) {
|
|
335
505
|
const tag = reader.uint32();
|
|
336
|
-
|
|
337
506
|
switch (tag >>> 3) {
|
|
338
507
|
case 1:
|
|
339
508
|
message.description = Description.decode(reader, reader.uint32());
|
|
340
509
|
break;
|
|
341
|
-
|
|
342
510
|
case 2:
|
|
343
511
|
message.validatorAddress = reader.string();
|
|
344
512
|
break;
|
|
345
|
-
|
|
346
513
|
case 3:
|
|
347
|
-
message.commissionRate = reader.string();
|
|
514
|
+
message.commissionRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
348
515
|
break;
|
|
349
|
-
|
|
350
516
|
case 4:
|
|
351
517
|
message.minSelfDelegation = reader.string();
|
|
352
518
|
break;
|
|
353
|
-
|
|
354
519
|
default:
|
|
355
520
|
reader.skipType(tag & 7);
|
|
356
521
|
break;
|
|
357
522
|
}
|
|
358
523
|
}
|
|
359
|
-
|
|
360
524
|
return message;
|
|
361
525
|
},
|
|
362
|
-
|
|
363
|
-
fromPartial(object: DeepPartial<MsgEditValidator>): MsgEditValidator {
|
|
526
|
+
fromPartial(object: Partial<MsgEditValidator>): MsgEditValidator {
|
|
364
527
|
const message = createBaseMsgEditValidator();
|
|
365
528
|
message.description = object.description !== undefined && object.description !== null ? Description.fromPartial(object.description) : undefined;
|
|
366
529
|
message.validatorAddress = object.validatorAddress ?? "";
|
|
367
530
|
message.commissionRate = object.commissionRate ?? "";
|
|
368
531
|
message.minSelfDelegation = object.minSelfDelegation ?? "";
|
|
369
532
|
return message;
|
|
533
|
+
},
|
|
534
|
+
fromAmino(object: MsgEditValidatorAmino): MsgEditValidator {
|
|
535
|
+
const message = createBaseMsgEditValidator();
|
|
536
|
+
if (object.description !== undefined && object.description !== null) {
|
|
537
|
+
message.description = Description.fromAmino(object.description);
|
|
538
|
+
}
|
|
539
|
+
if (object.validator_address !== undefined && object.validator_address !== null) {
|
|
540
|
+
message.validatorAddress = object.validator_address;
|
|
541
|
+
}
|
|
542
|
+
if (object.commission_rate !== undefined && object.commission_rate !== null) {
|
|
543
|
+
message.commissionRate = object.commission_rate;
|
|
544
|
+
}
|
|
545
|
+
if (object.min_self_delegation !== undefined && object.min_self_delegation !== null) {
|
|
546
|
+
message.minSelfDelegation = object.min_self_delegation;
|
|
547
|
+
}
|
|
548
|
+
return message;
|
|
549
|
+
},
|
|
550
|
+
toAmino(message: MsgEditValidator): MsgEditValidatorAmino {
|
|
551
|
+
const obj: any = {};
|
|
552
|
+
obj.description = message.description ? Description.toAmino(message.description) : undefined;
|
|
553
|
+
obj.validator_address = message.validatorAddress;
|
|
554
|
+
obj.commission_rate = message.commissionRate;
|
|
555
|
+
obj.min_self_delegation = message.minSelfDelegation;
|
|
556
|
+
return obj;
|
|
557
|
+
},
|
|
558
|
+
fromAminoMsg(object: MsgEditValidatorAminoMsg): MsgEditValidator {
|
|
559
|
+
return MsgEditValidator.fromAmino(object.value);
|
|
560
|
+
},
|
|
561
|
+
toAminoMsg(message: MsgEditValidator): MsgEditValidatorAminoMsg {
|
|
562
|
+
return {
|
|
563
|
+
type: "cosmos-sdk/MsgEditValidator",
|
|
564
|
+
value: MsgEditValidator.toAmino(message)
|
|
565
|
+
};
|
|
566
|
+
},
|
|
567
|
+
fromProtoMsg(message: MsgEditValidatorProtoMsg): MsgEditValidator {
|
|
568
|
+
return MsgEditValidator.decode(message.value);
|
|
569
|
+
},
|
|
570
|
+
toProto(message: MsgEditValidator): Uint8Array {
|
|
571
|
+
return MsgEditValidator.encode(message).finish();
|
|
572
|
+
},
|
|
573
|
+
toProtoMsg(message: MsgEditValidator): MsgEditValidatorProtoMsg {
|
|
574
|
+
return {
|
|
575
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator",
|
|
576
|
+
value: MsgEditValidator.encode(message).finish()
|
|
577
|
+
};
|
|
370
578
|
}
|
|
371
|
-
|
|
372
579
|
};
|
|
373
|
-
|
|
374
580
|
function createBaseMsgEditValidatorResponse(): MsgEditValidatorResponse {
|
|
375
581
|
return {};
|
|
376
582
|
}
|
|
377
|
-
|
|
378
583
|
export const MsgEditValidatorResponse = {
|
|
379
|
-
|
|
584
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgEditValidatorResponse",
|
|
585
|
+
encode(_: MsgEditValidatorResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
380
586
|
return writer;
|
|
381
587
|
},
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
588
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgEditValidatorResponse {
|
|
589
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
385
590
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
386
591
|
const message = createBaseMsgEditValidatorResponse();
|
|
387
|
-
|
|
388
592
|
while (reader.pos < end) {
|
|
389
593
|
const tag = reader.uint32();
|
|
390
|
-
|
|
391
594
|
switch (tag >>> 3) {
|
|
392
595
|
default:
|
|
393
596
|
reader.skipType(tag & 7);
|
|
394
597
|
break;
|
|
395
598
|
}
|
|
396
599
|
}
|
|
397
|
-
|
|
398
600
|
return message;
|
|
399
601
|
},
|
|
400
|
-
|
|
401
|
-
fromPartial(_: DeepPartial<MsgEditValidatorResponse>): MsgEditValidatorResponse {
|
|
602
|
+
fromPartial(_: Partial<MsgEditValidatorResponse>): MsgEditValidatorResponse {
|
|
402
603
|
const message = createBaseMsgEditValidatorResponse();
|
|
403
604
|
return message;
|
|
605
|
+
},
|
|
606
|
+
fromAmino(_: MsgEditValidatorResponseAmino): MsgEditValidatorResponse {
|
|
607
|
+
const message = createBaseMsgEditValidatorResponse();
|
|
608
|
+
return message;
|
|
609
|
+
},
|
|
610
|
+
toAmino(_: MsgEditValidatorResponse): MsgEditValidatorResponseAmino {
|
|
611
|
+
const obj: any = {};
|
|
612
|
+
return obj;
|
|
613
|
+
},
|
|
614
|
+
fromAminoMsg(object: MsgEditValidatorResponseAminoMsg): MsgEditValidatorResponse {
|
|
615
|
+
return MsgEditValidatorResponse.fromAmino(object.value);
|
|
616
|
+
},
|
|
617
|
+
toAminoMsg(message: MsgEditValidatorResponse): MsgEditValidatorResponseAminoMsg {
|
|
618
|
+
return {
|
|
619
|
+
type: "cosmos-sdk/MsgEditValidatorResponse",
|
|
620
|
+
value: MsgEditValidatorResponse.toAmino(message)
|
|
621
|
+
};
|
|
622
|
+
},
|
|
623
|
+
fromProtoMsg(message: MsgEditValidatorResponseProtoMsg): MsgEditValidatorResponse {
|
|
624
|
+
return MsgEditValidatorResponse.decode(message.value);
|
|
625
|
+
},
|
|
626
|
+
toProto(message: MsgEditValidatorResponse): Uint8Array {
|
|
627
|
+
return MsgEditValidatorResponse.encode(message).finish();
|
|
628
|
+
},
|
|
629
|
+
toProtoMsg(message: MsgEditValidatorResponse): MsgEditValidatorResponseProtoMsg {
|
|
630
|
+
return {
|
|
631
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgEditValidatorResponse",
|
|
632
|
+
value: MsgEditValidatorResponse.encode(message).finish()
|
|
633
|
+
};
|
|
404
634
|
}
|
|
405
|
-
|
|
406
635
|
};
|
|
407
|
-
|
|
408
636
|
function createBaseMsgDelegate(): MsgDelegate {
|
|
409
637
|
return {
|
|
410
638
|
delegatorAddress: "",
|
|
411
639
|
validatorAddress: "",
|
|
412
|
-
amount:
|
|
640
|
+
amount: Coin.fromPartial({})
|
|
413
641
|
};
|
|
414
642
|
}
|
|
415
|
-
|
|
416
643
|
export const MsgDelegate = {
|
|
417
|
-
|
|
644
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgDelegate",
|
|
645
|
+
encode(message: MsgDelegate, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
418
646
|
if (message.delegatorAddress !== "") {
|
|
419
647
|
writer.uint32(10).string(message.delegatorAddress);
|
|
420
648
|
}
|
|
421
|
-
|
|
422
649
|
if (message.validatorAddress !== "") {
|
|
423
650
|
writer.uint32(18).string(message.validatorAddress);
|
|
424
651
|
}
|
|
425
|
-
|
|
426
652
|
if (message.amount !== undefined) {
|
|
427
653
|
Coin.encode(message.amount, writer.uint32(26).fork()).ldelim();
|
|
428
654
|
}
|
|
429
|
-
|
|
430
655
|
return writer;
|
|
431
656
|
},
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
657
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgDelegate {
|
|
658
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
435
659
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
436
660
|
const message = createBaseMsgDelegate();
|
|
437
|
-
|
|
438
661
|
while (reader.pos < end) {
|
|
439
662
|
const tag = reader.uint32();
|
|
440
|
-
|
|
441
663
|
switch (tag >>> 3) {
|
|
442
664
|
case 1:
|
|
443
665
|
message.delegatorAddress = reader.string();
|
|
444
666
|
break;
|
|
445
|
-
|
|
446
667
|
case 2:
|
|
447
668
|
message.validatorAddress = reader.string();
|
|
448
669
|
break;
|
|
449
|
-
|
|
450
670
|
case 3:
|
|
451
671
|
message.amount = Coin.decode(reader, reader.uint32());
|
|
452
672
|
break;
|
|
453
|
-
|
|
454
673
|
default:
|
|
455
674
|
reader.skipType(tag & 7);
|
|
456
675
|
break;
|
|
457
676
|
}
|
|
458
677
|
}
|
|
459
|
-
|
|
460
678
|
return message;
|
|
461
679
|
},
|
|
462
|
-
|
|
463
|
-
fromPartial(object: DeepPartial<MsgDelegate>): MsgDelegate {
|
|
680
|
+
fromPartial(object: Partial<MsgDelegate>): MsgDelegate {
|
|
464
681
|
const message = createBaseMsgDelegate();
|
|
465
682
|
message.delegatorAddress = object.delegatorAddress ?? "";
|
|
466
683
|
message.validatorAddress = object.validatorAddress ?? "";
|
|
467
684
|
message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined;
|
|
468
685
|
return message;
|
|
686
|
+
},
|
|
687
|
+
fromAmino(object: MsgDelegateAmino): MsgDelegate {
|
|
688
|
+
const message = createBaseMsgDelegate();
|
|
689
|
+
if (object.delegator_address !== undefined && object.delegator_address !== null) {
|
|
690
|
+
message.delegatorAddress = object.delegator_address;
|
|
691
|
+
}
|
|
692
|
+
if (object.validator_address !== undefined && object.validator_address !== null) {
|
|
693
|
+
message.validatorAddress = object.validator_address;
|
|
694
|
+
}
|
|
695
|
+
if (object.amount !== undefined && object.amount !== null) {
|
|
696
|
+
message.amount = Coin.fromAmino(object.amount);
|
|
697
|
+
}
|
|
698
|
+
return message;
|
|
699
|
+
},
|
|
700
|
+
toAmino(message: MsgDelegate): MsgDelegateAmino {
|
|
701
|
+
const obj: any = {};
|
|
702
|
+
obj.delegator_address = message.delegatorAddress;
|
|
703
|
+
obj.validator_address = message.validatorAddress;
|
|
704
|
+
obj.amount = message.amount ? Coin.toAmino(message.amount) : undefined;
|
|
705
|
+
return obj;
|
|
706
|
+
},
|
|
707
|
+
fromAminoMsg(object: MsgDelegateAminoMsg): MsgDelegate {
|
|
708
|
+
return MsgDelegate.fromAmino(object.value);
|
|
709
|
+
},
|
|
710
|
+
toAminoMsg(message: MsgDelegate): MsgDelegateAminoMsg {
|
|
711
|
+
return {
|
|
712
|
+
type: "cosmos-sdk/MsgDelegate",
|
|
713
|
+
value: MsgDelegate.toAmino(message)
|
|
714
|
+
};
|
|
715
|
+
},
|
|
716
|
+
fromProtoMsg(message: MsgDelegateProtoMsg): MsgDelegate {
|
|
717
|
+
return MsgDelegate.decode(message.value);
|
|
718
|
+
},
|
|
719
|
+
toProto(message: MsgDelegate): Uint8Array {
|
|
720
|
+
return MsgDelegate.encode(message).finish();
|
|
721
|
+
},
|
|
722
|
+
toProtoMsg(message: MsgDelegate): MsgDelegateProtoMsg {
|
|
723
|
+
return {
|
|
724
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgDelegate",
|
|
725
|
+
value: MsgDelegate.encode(message).finish()
|
|
726
|
+
};
|
|
469
727
|
}
|
|
470
|
-
|
|
471
728
|
};
|
|
472
|
-
|
|
473
729
|
function createBaseMsgDelegateResponse(): MsgDelegateResponse {
|
|
474
730
|
return {};
|
|
475
731
|
}
|
|
476
|
-
|
|
477
732
|
export const MsgDelegateResponse = {
|
|
478
|
-
|
|
733
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgDelegateResponse",
|
|
734
|
+
encode(_: MsgDelegateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
479
735
|
return writer;
|
|
480
736
|
},
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
737
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgDelegateResponse {
|
|
738
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
484
739
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
485
740
|
const message = createBaseMsgDelegateResponse();
|
|
486
|
-
|
|
487
741
|
while (reader.pos < end) {
|
|
488
742
|
const tag = reader.uint32();
|
|
489
|
-
|
|
490
743
|
switch (tag >>> 3) {
|
|
491
744
|
default:
|
|
492
745
|
reader.skipType(tag & 7);
|
|
493
746
|
break;
|
|
494
747
|
}
|
|
495
748
|
}
|
|
496
|
-
|
|
497
749
|
return message;
|
|
498
750
|
},
|
|
499
|
-
|
|
500
|
-
fromPartial(_: DeepPartial<MsgDelegateResponse>): MsgDelegateResponse {
|
|
751
|
+
fromPartial(_: Partial<MsgDelegateResponse>): MsgDelegateResponse {
|
|
501
752
|
const message = createBaseMsgDelegateResponse();
|
|
502
753
|
return message;
|
|
754
|
+
},
|
|
755
|
+
fromAmino(_: MsgDelegateResponseAmino): MsgDelegateResponse {
|
|
756
|
+
const message = createBaseMsgDelegateResponse();
|
|
757
|
+
return message;
|
|
758
|
+
},
|
|
759
|
+
toAmino(_: MsgDelegateResponse): MsgDelegateResponseAmino {
|
|
760
|
+
const obj: any = {};
|
|
761
|
+
return obj;
|
|
762
|
+
},
|
|
763
|
+
fromAminoMsg(object: MsgDelegateResponseAminoMsg): MsgDelegateResponse {
|
|
764
|
+
return MsgDelegateResponse.fromAmino(object.value);
|
|
765
|
+
},
|
|
766
|
+
toAminoMsg(message: MsgDelegateResponse): MsgDelegateResponseAminoMsg {
|
|
767
|
+
return {
|
|
768
|
+
type: "cosmos-sdk/MsgDelegateResponse",
|
|
769
|
+
value: MsgDelegateResponse.toAmino(message)
|
|
770
|
+
};
|
|
771
|
+
},
|
|
772
|
+
fromProtoMsg(message: MsgDelegateResponseProtoMsg): MsgDelegateResponse {
|
|
773
|
+
return MsgDelegateResponse.decode(message.value);
|
|
774
|
+
},
|
|
775
|
+
toProto(message: MsgDelegateResponse): Uint8Array {
|
|
776
|
+
return MsgDelegateResponse.encode(message).finish();
|
|
777
|
+
},
|
|
778
|
+
toProtoMsg(message: MsgDelegateResponse): MsgDelegateResponseProtoMsg {
|
|
779
|
+
return {
|
|
780
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgDelegateResponse",
|
|
781
|
+
value: MsgDelegateResponse.encode(message).finish()
|
|
782
|
+
};
|
|
503
783
|
}
|
|
504
|
-
|
|
505
784
|
};
|
|
506
|
-
|
|
507
785
|
function createBaseMsgBeginRedelegate(): MsgBeginRedelegate {
|
|
508
786
|
return {
|
|
509
787
|
delegatorAddress: "",
|
|
510
788
|
validatorSrcAddress: "",
|
|
511
789
|
validatorDstAddress: "",
|
|
512
|
-
amount:
|
|
790
|
+
amount: Coin.fromPartial({})
|
|
513
791
|
};
|
|
514
792
|
}
|
|
515
|
-
|
|
516
793
|
export const MsgBeginRedelegate = {
|
|
517
|
-
|
|
794
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate",
|
|
795
|
+
encode(message: MsgBeginRedelegate, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
518
796
|
if (message.delegatorAddress !== "") {
|
|
519
797
|
writer.uint32(10).string(message.delegatorAddress);
|
|
520
798
|
}
|
|
521
|
-
|
|
522
799
|
if (message.validatorSrcAddress !== "") {
|
|
523
800
|
writer.uint32(18).string(message.validatorSrcAddress);
|
|
524
801
|
}
|
|
525
|
-
|
|
526
802
|
if (message.validatorDstAddress !== "") {
|
|
527
803
|
writer.uint32(26).string(message.validatorDstAddress);
|
|
528
804
|
}
|
|
529
|
-
|
|
530
805
|
if (message.amount !== undefined) {
|
|
531
806
|
Coin.encode(message.amount, writer.uint32(34).fork()).ldelim();
|
|
532
807
|
}
|
|
533
|
-
|
|
534
808
|
return writer;
|
|
535
809
|
},
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
810
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgBeginRedelegate {
|
|
811
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
539
812
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
540
813
|
const message = createBaseMsgBeginRedelegate();
|
|
541
|
-
|
|
542
814
|
while (reader.pos < end) {
|
|
543
815
|
const tag = reader.uint32();
|
|
544
|
-
|
|
545
816
|
switch (tag >>> 3) {
|
|
546
817
|
case 1:
|
|
547
818
|
message.delegatorAddress = reader.string();
|
|
548
819
|
break;
|
|
549
|
-
|
|
550
820
|
case 2:
|
|
551
821
|
message.validatorSrcAddress = reader.string();
|
|
552
822
|
break;
|
|
553
|
-
|
|
554
823
|
case 3:
|
|
555
824
|
message.validatorDstAddress = reader.string();
|
|
556
825
|
break;
|
|
557
|
-
|
|
558
826
|
case 4:
|
|
559
827
|
message.amount = Coin.decode(reader, reader.uint32());
|
|
560
828
|
break;
|
|
561
|
-
|
|
562
829
|
default:
|
|
563
830
|
reader.skipType(tag & 7);
|
|
564
831
|
break;
|
|
565
832
|
}
|
|
566
833
|
}
|
|
567
|
-
|
|
568
834
|
return message;
|
|
569
835
|
},
|
|
570
|
-
|
|
571
|
-
fromPartial(object: DeepPartial<MsgBeginRedelegate>): MsgBeginRedelegate {
|
|
836
|
+
fromPartial(object: Partial<MsgBeginRedelegate>): MsgBeginRedelegate {
|
|
572
837
|
const message = createBaseMsgBeginRedelegate();
|
|
573
838
|
message.delegatorAddress = object.delegatorAddress ?? "";
|
|
574
839
|
message.validatorSrcAddress = object.validatorSrcAddress ?? "";
|
|
575
840
|
message.validatorDstAddress = object.validatorDstAddress ?? "";
|
|
576
841
|
message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined;
|
|
577
842
|
return message;
|
|
843
|
+
},
|
|
844
|
+
fromAmino(object: MsgBeginRedelegateAmino): MsgBeginRedelegate {
|
|
845
|
+
const message = createBaseMsgBeginRedelegate();
|
|
846
|
+
if (object.delegator_address !== undefined && object.delegator_address !== null) {
|
|
847
|
+
message.delegatorAddress = object.delegator_address;
|
|
848
|
+
}
|
|
849
|
+
if (object.validator_src_address !== undefined && object.validator_src_address !== null) {
|
|
850
|
+
message.validatorSrcAddress = object.validator_src_address;
|
|
851
|
+
}
|
|
852
|
+
if (object.validator_dst_address !== undefined && object.validator_dst_address !== null) {
|
|
853
|
+
message.validatorDstAddress = object.validator_dst_address;
|
|
854
|
+
}
|
|
855
|
+
if (object.amount !== undefined && object.amount !== null) {
|
|
856
|
+
message.amount = Coin.fromAmino(object.amount);
|
|
857
|
+
}
|
|
858
|
+
return message;
|
|
859
|
+
},
|
|
860
|
+
toAmino(message: MsgBeginRedelegate): MsgBeginRedelegateAmino {
|
|
861
|
+
const obj: any = {};
|
|
862
|
+
obj.delegator_address = message.delegatorAddress;
|
|
863
|
+
obj.validator_src_address = message.validatorSrcAddress;
|
|
864
|
+
obj.validator_dst_address = message.validatorDstAddress;
|
|
865
|
+
obj.amount = message.amount ? Coin.toAmino(message.amount) : undefined;
|
|
866
|
+
return obj;
|
|
867
|
+
},
|
|
868
|
+
fromAminoMsg(object: MsgBeginRedelegateAminoMsg): MsgBeginRedelegate {
|
|
869
|
+
return MsgBeginRedelegate.fromAmino(object.value);
|
|
870
|
+
},
|
|
871
|
+
toAminoMsg(message: MsgBeginRedelegate): MsgBeginRedelegateAminoMsg {
|
|
872
|
+
return {
|
|
873
|
+
type: "cosmos-sdk/MsgBeginRedelegate",
|
|
874
|
+
value: MsgBeginRedelegate.toAmino(message)
|
|
875
|
+
};
|
|
876
|
+
},
|
|
877
|
+
fromProtoMsg(message: MsgBeginRedelegateProtoMsg): MsgBeginRedelegate {
|
|
878
|
+
return MsgBeginRedelegate.decode(message.value);
|
|
879
|
+
},
|
|
880
|
+
toProto(message: MsgBeginRedelegate): Uint8Array {
|
|
881
|
+
return MsgBeginRedelegate.encode(message).finish();
|
|
882
|
+
},
|
|
883
|
+
toProtoMsg(message: MsgBeginRedelegate): MsgBeginRedelegateProtoMsg {
|
|
884
|
+
return {
|
|
885
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate",
|
|
886
|
+
value: MsgBeginRedelegate.encode(message).finish()
|
|
887
|
+
};
|
|
578
888
|
}
|
|
579
|
-
|
|
580
889
|
};
|
|
581
|
-
|
|
582
890
|
function createBaseMsgBeginRedelegateResponse(): MsgBeginRedelegateResponse {
|
|
583
891
|
return {
|
|
584
|
-
completionTime:
|
|
892
|
+
completionTime: new Date()
|
|
585
893
|
};
|
|
586
894
|
}
|
|
587
|
-
|
|
588
895
|
export const MsgBeginRedelegateResponse = {
|
|
589
|
-
|
|
896
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegateResponse",
|
|
897
|
+
encode(message: MsgBeginRedelegateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
590
898
|
if (message.completionTime !== undefined) {
|
|
591
899
|
Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim();
|
|
592
900
|
}
|
|
593
|
-
|
|
594
901
|
return writer;
|
|
595
902
|
},
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
903
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgBeginRedelegateResponse {
|
|
904
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
599
905
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
600
906
|
const message = createBaseMsgBeginRedelegateResponse();
|
|
601
|
-
|
|
602
907
|
while (reader.pos < end) {
|
|
603
908
|
const tag = reader.uint32();
|
|
604
|
-
|
|
605
909
|
switch (tag >>> 3) {
|
|
606
910
|
case 1:
|
|
607
911
|
message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
608
912
|
break;
|
|
609
|
-
|
|
610
913
|
default:
|
|
611
914
|
reader.skipType(tag & 7);
|
|
612
915
|
break;
|
|
613
916
|
}
|
|
614
917
|
}
|
|
615
|
-
|
|
616
918
|
return message;
|
|
617
919
|
},
|
|
618
|
-
|
|
619
|
-
fromPartial(object: DeepPartial<MsgBeginRedelegateResponse>): MsgBeginRedelegateResponse {
|
|
920
|
+
fromPartial(object: Partial<MsgBeginRedelegateResponse>): MsgBeginRedelegateResponse {
|
|
620
921
|
const message = createBaseMsgBeginRedelegateResponse();
|
|
621
922
|
message.completionTime = object.completionTime ?? undefined;
|
|
622
923
|
return message;
|
|
924
|
+
},
|
|
925
|
+
fromAmino(object: MsgBeginRedelegateResponseAmino): MsgBeginRedelegateResponse {
|
|
926
|
+
const message = createBaseMsgBeginRedelegateResponse();
|
|
927
|
+
if (object.completion_time !== undefined && object.completion_time !== null) {
|
|
928
|
+
message.completionTime = fromTimestamp(Timestamp.fromAmino(object.completion_time));
|
|
929
|
+
}
|
|
930
|
+
return message;
|
|
931
|
+
},
|
|
932
|
+
toAmino(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseAmino {
|
|
933
|
+
const obj: any = {};
|
|
934
|
+
obj.completion_time = message.completionTime ? Timestamp.toAmino(toTimestamp(message.completionTime)) : undefined;
|
|
935
|
+
return obj;
|
|
936
|
+
},
|
|
937
|
+
fromAminoMsg(object: MsgBeginRedelegateResponseAminoMsg): MsgBeginRedelegateResponse {
|
|
938
|
+
return MsgBeginRedelegateResponse.fromAmino(object.value);
|
|
939
|
+
},
|
|
940
|
+
toAminoMsg(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseAminoMsg {
|
|
941
|
+
return {
|
|
942
|
+
type: "cosmos-sdk/MsgBeginRedelegateResponse",
|
|
943
|
+
value: MsgBeginRedelegateResponse.toAmino(message)
|
|
944
|
+
};
|
|
945
|
+
},
|
|
946
|
+
fromProtoMsg(message: MsgBeginRedelegateResponseProtoMsg): MsgBeginRedelegateResponse {
|
|
947
|
+
return MsgBeginRedelegateResponse.decode(message.value);
|
|
948
|
+
},
|
|
949
|
+
toProto(message: MsgBeginRedelegateResponse): Uint8Array {
|
|
950
|
+
return MsgBeginRedelegateResponse.encode(message).finish();
|
|
951
|
+
},
|
|
952
|
+
toProtoMsg(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseProtoMsg {
|
|
953
|
+
return {
|
|
954
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegateResponse",
|
|
955
|
+
value: MsgBeginRedelegateResponse.encode(message).finish()
|
|
956
|
+
};
|
|
623
957
|
}
|
|
624
|
-
|
|
625
958
|
};
|
|
626
|
-
|
|
627
959
|
function createBaseMsgUndelegate(): MsgUndelegate {
|
|
628
960
|
return {
|
|
629
961
|
delegatorAddress: "",
|
|
630
962
|
validatorAddress: "",
|
|
631
|
-
amount:
|
|
963
|
+
amount: Coin.fromPartial({})
|
|
632
964
|
};
|
|
633
965
|
}
|
|
634
|
-
|
|
635
966
|
export const MsgUndelegate = {
|
|
636
|
-
|
|
967
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate",
|
|
968
|
+
encode(message: MsgUndelegate, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
637
969
|
if (message.delegatorAddress !== "") {
|
|
638
970
|
writer.uint32(10).string(message.delegatorAddress);
|
|
639
971
|
}
|
|
640
|
-
|
|
641
972
|
if (message.validatorAddress !== "") {
|
|
642
973
|
writer.uint32(18).string(message.validatorAddress);
|
|
643
974
|
}
|
|
644
|
-
|
|
645
975
|
if (message.amount !== undefined) {
|
|
646
976
|
Coin.encode(message.amount, writer.uint32(26).fork()).ldelim();
|
|
647
977
|
}
|
|
648
|
-
|
|
649
978
|
return writer;
|
|
650
979
|
},
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
980
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgUndelegate {
|
|
981
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
654
982
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
655
983
|
const message = createBaseMsgUndelegate();
|
|
656
|
-
|
|
657
984
|
while (reader.pos < end) {
|
|
658
985
|
const tag = reader.uint32();
|
|
659
|
-
|
|
660
986
|
switch (tag >>> 3) {
|
|
661
987
|
case 1:
|
|
662
988
|
message.delegatorAddress = reader.string();
|
|
663
989
|
break;
|
|
664
|
-
|
|
665
990
|
case 2:
|
|
666
991
|
message.validatorAddress = reader.string();
|
|
667
992
|
break;
|
|
668
|
-
|
|
669
993
|
case 3:
|
|
670
994
|
message.amount = Coin.decode(reader, reader.uint32());
|
|
671
995
|
break;
|
|
672
|
-
|
|
673
996
|
default:
|
|
674
997
|
reader.skipType(tag & 7);
|
|
675
998
|
break;
|
|
676
999
|
}
|
|
677
1000
|
}
|
|
678
|
-
|
|
679
1001
|
return message;
|
|
680
1002
|
},
|
|
681
|
-
|
|
682
|
-
fromPartial(object: DeepPartial<MsgUndelegate>): MsgUndelegate {
|
|
1003
|
+
fromPartial(object: Partial<MsgUndelegate>): MsgUndelegate {
|
|
683
1004
|
const message = createBaseMsgUndelegate();
|
|
684
1005
|
message.delegatorAddress = object.delegatorAddress ?? "";
|
|
685
1006
|
message.validatorAddress = object.validatorAddress ?? "";
|
|
686
1007
|
message.amount = object.amount !== undefined && object.amount !== null ? Coin.fromPartial(object.amount) : undefined;
|
|
687
1008
|
return message;
|
|
1009
|
+
},
|
|
1010
|
+
fromAmino(object: MsgUndelegateAmino): MsgUndelegate {
|
|
1011
|
+
const message = createBaseMsgUndelegate();
|
|
1012
|
+
if (object.delegator_address !== undefined && object.delegator_address !== null) {
|
|
1013
|
+
message.delegatorAddress = object.delegator_address;
|
|
1014
|
+
}
|
|
1015
|
+
if (object.validator_address !== undefined && object.validator_address !== null) {
|
|
1016
|
+
message.validatorAddress = object.validator_address;
|
|
1017
|
+
}
|
|
1018
|
+
if (object.amount !== undefined && object.amount !== null) {
|
|
1019
|
+
message.amount = Coin.fromAmino(object.amount);
|
|
1020
|
+
}
|
|
1021
|
+
return message;
|
|
1022
|
+
},
|
|
1023
|
+
toAmino(message: MsgUndelegate): MsgUndelegateAmino {
|
|
1024
|
+
const obj: any = {};
|
|
1025
|
+
obj.delegator_address = message.delegatorAddress;
|
|
1026
|
+
obj.validator_address = message.validatorAddress;
|
|
1027
|
+
obj.amount = message.amount ? Coin.toAmino(message.amount) : undefined;
|
|
1028
|
+
return obj;
|
|
1029
|
+
},
|
|
1030
|
+
fromAminoMsg(object: MsgUndelegateAminoMsg): MsgUndelegate {
|
|
1031
|
+
return MsgUndelegate.fromAmino(object.value);
|
|
1032
|
+
},
|
|
1033
|
+
toAminoMsg(message: MsgUndelegate): MsgUndelegateAminoMsg {
|
|
1034
|
+
return {
|
|
1035
|
+
type: "cosmos-sdk/MsgUndelegate",
|
|
1036
|
+
value: MsgUndelegate.toAmino(message)
|
|
1037
|
+
};
|
|
1038
|
+
},
|
|
1039
|
+
fromProtoMsg(message: MsgUndelegateProtoMsg): MsgUndelegate {
|
|
1040
|
+
return MsgUndelegate.decode(message.value);
|
|
1041
|
+
},
|
|
1042
|
+
toProto(message: MsgUndelegate): Uint8Array {
|
|
1043
|
+
return MsgUndelegate.encode(message).finish();
|
|
1044
|
+
},
|
|
1045
|
+
toProtoMsg(message: MsgUndelegate): MsgUndelegateProtoMsg {
|
|
1046
|
+
return {
|
|
1047
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate",
|
|
1048
|
+
value: MsgUndelegate.encode(message).finish()
|
|
1049
|
+
};
|
|
688
1050
|
}
|
|
689
|
-
|
|
690
1051
|
};
|
|
691
|
-
|
|
692
1052
|
function createBaseMsgUndelegateResponse(): MsgUndelegateResponse {
|
|
693
1053
|
return {
|
|
694
|
-
completionTime:
|
|
1054
|
+
completionTime: new Date()
|
|
695
1055
|
};
|
|
696
1056
|
}
|
|
697
|
-
|
|
698
1057
|
export const MsgUndelegateResponse = {
|
|
699
|
-
|
|
1058
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgUndelegateResponse",
|
|
1059
|
+
encode(message: MsgUndelegateResponse, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
700
1060
|
if (message.completionTime !== undefined) {
|
|
701
1061
|
Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim();
|
|
702
1062
|
}
|
|
703
|
-
|
|
704
1063
|
return writer;
|
|
705
1064
|
},
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1065
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgUndelegateResponse {
|
|
1066
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
709
1067
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
710
1068
|
const message = createBaseMsgUndelegateResponse();
|
|
711
|
-
|
|
712
1069
|
while (reader.pos < end) {
|
|
713
1070
|
const tag = reader.uint32();
|
|
714
|
-
|
|
715
1071
|
switch (tag >>> 3) {
|
|
716
1072
|
case 1:
|
|
717
1073
|
message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
718
1074
|
break;
|
|
719
|
-
|
|
720
1075
|
default:
|
|
721
1076
|
reader.skipType(tag & 7);
|
|
722
1077
|
break;
|
|
723
1078
|
}
|
|
724
1079
|
}
|
|
725
|
-
|
|
726
1080
|
return message;
|
|
727
1081
|
},
|
|
728
|
-
|
|
729
|
-
fromPartial(object: DeepPartial<MsgUndelegateResponse>): MsgUndelegateResponse {
|
|
1082
|
+
fromPartial(object: Partial<MsgUndelegateResponse>): MsgUndelegateResponse {
|
|
730
1083
|
const message = createBaseMsgUndelegateResponse();
|
|
731
1084
|
message.completionTime = object.completionTime ?? undefined;
|
|
732
1085
|
return message;
|
|
1086
|
+
},
|
|
1087
|
+
fromAmino(object: MsgUndelegateResponseAmino): MsgUndelegateResponse {
|
|
1088
|
+
const message = createBaseMsgUndelegateResponse();
|
|
1089
|
+
if (object.completion_time !== undefined && object.completion_time !== null) {
|
|
1090
|
+
message.completionTime = fromTimestamp(Timestamp.fromAmino(object.completion_time));
|
|
1091
|
+
}
|
|
1092
|
+
return message;
|
|
1093
|
+
},
|
|
1094
|
+
toAmino(message: MsgUndelegateResponse): MsgUndelegateResponseAmino {
|
|
1095
|
+
const obj: any = {};
|
|
1096
|
+
obj.completion_time = message.completionTime ? Timestamp.toAmino(toTimestamp(message.completionTime)) : undefined;
|
|
1097
|
+
return obj;
|
|
1098
|
+
},
|
|
1099
|
+
fromAminoMsg(object: MsgUndelegateResponseAminoMsg): MsgUndelegateResponse {
|
|
1100
|
+
return MsgUndelegateResponse.fromAmino(object.value);
|
|
1101
|
+
},
|
|
1102
|
+
toAminoMsg(message: MsgUndelegateResponse): MsgUndelegateResponseAminoMsg {
|
|
1103
|
+
return {
|
|
1104
|
+
type: "cosmos-sdk/MsgUndelegateResponse",
|
|
1105
|
+
value: MsgUndelegateResponse.toAmino(message)
|
|
1106
|
+
};
|
|
1107
|
+
},
|
|
1108
|
+
fromProtoMsg(message: MsgUndelegateResponseProtoMsg): MsgUndelegateResponse {
|
|
1109
|
+
return MsgUndelegateResponse.decode(message.value);
|
|
1110
|
+
},
|
|
1111
|
+
toProto(message: MsgUndelegateResponse): Uint8Array {
|
|
1112
|
+
return MsgUndelegateResponse.encode(message).finish();
|
|
1113
|
+
},
|
|
1114
|
+
toProtoMsg(message: MsgUndelegateResponse): MsgUndelegateResponseProtoMsg {
|
|
1115
|
+
return {
|
|
1116
|
+
typeUrl: "/cosmos.staking.v1beta1.MsgUndelegateResponse",
|
|
1117
|
+
value: MsgUndelegateResponse.encode(message).finish()
|
|
1118
|
+
};
|
|
733
1119
|
}
|
|
734
|
-
|
|
735
1120
|
};
|