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
|
@@ -3,27 +3,21 @@ import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
|
3
3
|
import { Any } from "../../../google/protobuf/any";
|
|
4
4
|
import { Duration } from "../../../google/protobuf/duration";
|
|
5
5
|
import { Coin } from "../../base/v1beta1/coin";
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
6
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
7
|
+
import { Decimal } from "@cosmjs/math";
|
|
8
|
+
import { toTimestamp, fromTimestamp } from "../../../helpers";
|
|
9
|
+
import { encodePubkey, decodePubkey } from "@cosmjs/proto-signing";
|
|
8
10
|
/** BondStatus is the status of a validator. */
|
|
9
|
-
|
|
10
|
-
export let BondStatus;
|
|
11
|
-
/** BondStatus is the status of a validator. */
|
|
12
|
-
(function (BondStatus) {
|
|
11
|
+
export let BondStatus = /*#__PURE__*/function (BondStatus) {
|
|
13
12
|
BondStatus[BondStatus["BOND_STATUS_UNSPECIFIED"] = 0] = "BOND_STATUS_UNSPECIFIED";
|
|
14
13
|
BondStatus[BondStatus["BOND_STATUS_UNBONDED"] = 1] = "BOND_STATUS_UNBONDED";
|
|
15
14
|
BondStatus[BondStatus["BOND_STATUS_UNBONDING"] = 2] = "BOND_STATUS_UNBONDING";
|
|
16
15
|
BondStatus[BondStatus["BOND_STATUS_BONDED"] = 3] = "BOND_STATUS_BONDED";
|
|
17
16
|
BondStatus[BondStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
BondStatusSDKType[BondStatusSDKType["BOND_STATUS_UNBONDED"] = 1] = "BOND_STATUS_UNBONDED";
|
|
23
|
-
BondStatusSDKType[BondStatusSDKType["BOND_STATUS_UNBONDING"] = 2] = "BOND_STATUS_UNBONDING";
|
|
24
|
-
BondStatusSDKType[BondStatusSDKType["BOND_STATUS_BONDED"] = 3] = "BOND_STATUS_BONDED";
|
|
25
|
-
BondStatusSDKType[BondStatusSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
26
|
-
})(BondStatusSDKType || (BondStatusSDKType = {}));
|
|
17
|
+
return BondStatus;
|
|
18
|
+
}({});
|
|
19
|
+
export const BondStatusSDKType = BondStatus;
|
|
20
|
+
export const BondStatusAmino = BondStatus;
|
|
27
21
|
export function bondStatusFromJSON(object) {
|
|
28
22
|
switch (object) {
|
|
29
23
|
case 0:
|
|
@@ -66,14 +60,278 @@ export function bondStatusToJSON(object) {
|
|
|
66
60
|
* (`n` is set by the staking module's `historical_entries` parameter).
|
|
67
61
|
*/
|
|
68
62
|
|
|
63
|
+
/**
|
|
64
|
+
* HistoricalInfo contains header and validator information for a given block.
|
|
65
|
+
* It is stored as part of staking module's state, which persists the `n` most
|
|
66
|
+
* recent HistoricalInfo
|
|
67
|
+
* (`n` is set by the staking module's `historical_entries` parameter).
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* HistoricalInfo contains header and validator information for a given block.
|
|
72
|
+
* It is stored as part of staking module's state, which persists the `n` most
|
|
73
|
+
* recent HistoricalInfo
|
|
74
|
+
* (`n` is set by the staking module's `historical_entries` parameter).
|
|
75
|
+
*/
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* CommissionRates defines the initial commission rates to be used for creating
|
|
79
|
+
* a validator.
|
|
80
|
+
*/
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* CommissionRates defines the initial commission rates to be used for creating
|
|
84
|
+
* a validator.
|
|
85
|
+
*/
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* CommissionRates defines the initial commission rates to be used for creating
|
|
89
|
+
* a validator.
|
|
90
|
+
*/
|
|
91
|
+
|
|
92
|
+
/** Commission defines commission parameters for a given validator. */
|
|
93
|
+
|
|
94
|
+
/** Commission defines commission parameters for a given validator. */
|
|
95
|
+
|
|
96
|
+
/** Commission defines commission parameters for a given validator. */
|
|
97
|
+
|
|
98
|
+
/** Description defines a validator description. */
|
|
99
|
+
|
|
100
|
+
/** Description defines a validator description. */
|
|
101
|
+
|
|
102
|
+
/** Description defines a validator description. */
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Validator defines a validator, together with the total amount of the
|
|
106
|
+
* Validator's bond shares and their exchange rate to coins. Slashing results in
|
|
107
|
+
* a decrease in the exchange rate, allowing correct calculation of future
|
|
108
|
+
* undelegations without iterating over delegators. When coins are delegated to
|
|
109
|
+
* this validator, the validator is credited with a delegation whose number of
|
|
110
|
+
* bond shares is based on the amount of coins delegated divided by the current
|
|
111
|
+
* exchange rate. Voting power can be calculated as total bonded shares
|
|
112
|
+
* multiplied by exchange rate.
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Validator defines a validator, together with the total amount of the
|
|
117
|
+
* Validator's bond shares and their exchange rate to coins. Slashing results in
|
|
118
|
+
* a decrease in the exchange rate, allowing correct calculation of future
|
|
119
|
+
* undelegations without iterating over delegators. When coins are delegated to
|
|
120
|
+
* this validator, the validator is credited with a delegation whose number of
|
|
121
|
+
* bond shares is based on the amount of coins delegated divided by the current
|
|
122
|
+
* exchange rate. Voting power can be calculated as total bonded shares
|
|
123
|
+
* multiplied by exchange rate.
|
|
124
|
+
*/
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Validator defines a validator, together with the total amount of the
|
|
128
|
+
* Validator's bond shares and their exchange rate to coins. Slashing results in
|
|
129
|
+
* a decrease in the exchange rate, allowing correct calculation of future
|
|
130
|
+
* undelegations without iterating over delegators. When coins are delegated to
|
|
131
|
+
* this validator, the validator is credited with a delegation whose number of
|
|
132
|
+
* bond shares is based on the amount of coins delegated divided by the current
|
|
133
|
+
* exchange rate. Voting power can be calculated as total bonded shares
|
|
134
|
+
* multiplied by exchange rate.
|
|
135
|
+
*/
|
|
136
|
+
|
|
137
|
+
/** ValAddresses defines a repeated set of validator addresses. */
|
|
138
|
+
|
|
139
|
+
/** ValAddresses defines a repeated set of validator addresses. */
|
|
140
|
+
|
|
141
|
+
/** ValAddresses defines a repeated set of validator addresses. */
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* DVPair is struct that just has a delegator-validator pair with no other data.
|
|
145
|
+
* It is intended to be used as a marshalable pointer. For example, a DVPair can
|
|
146
|
+
* be used to construct the key to getting an UnbondingDelegation from state.
|
|
147
|
+
*/
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* DVPair is struct that just has a delegator-validator pair with no other data.
|
|
151
|
+
* It is intended to be used as a marshalable pointer. For example, a DVPair can
|
|
152
|
+
* be used to construct the key to getting an UnbondingDelegation from state.
|
|
153
|
+
*/
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* DVPair is struct that just has a delegator-validator pair with no other data.
|
|
157
|
+
* It is intended to be used as a marshalable pointer. For example, a DVPair can
|
|
158
|
+
* be used to construct the key to getting an UnbondingDelegation from state.
|
|
159
|
+
*/
|
|
160
|
+
|
|
161
|
+
/** DVPairs defines an array of DVPair objects. */
|
|
162
|
+
|
|
163
|
+
/** DVPairs defines an array of DVPair objects. */
|
|
164
|
+
|
|
165
|
+
/** DVPairs defines an array of DVPair objects. */
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* DVVTriplet is struct that just has a delegator-validator-validator triplet
|
|
169
|
+
* with no other data. It is intended to be used as a marshalable pointer. For
|
|
170
|
+
* example, a DVVTriplet can be used to construct the key to getting a
|
|
171
|
+
* Redelegation from state.
|
|
172
|
+
*/
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* DVVTriplet is struct that just has a delegator-validator-validator triplet
|
|
176
|
+
* with no other data. It is intended to be used as a marshalable pointer. For
|
|
177
|
+
* example, a DVVTriplet can be used to construct the key to getting a
|
|
178
|
+
* Redelegation from state.
|
|
179
|
+
*/
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* DVVTriplet is struct that just has a delegator-validator-validator triplet
|
|
183
|
+
* with no other data. It is intended to be used as a marshalable pointer. For
|
|
184
|
+
* example, a DVVTriplet can be used to construct the key to getting a
|
|
185
|
+
* Redelegation from state.
|
|
186
|
+
*/
|
|
187
|
+
|
|
188
|
+
/** DVVTriplets defines an array of DVVTriplet objects. */
|
|
189
|
+
|
|
190
|
+
/** DVVTriplets defines an array of DVVTriplet objects. */
|
|
191
|
+
|
|
192
|
+
/** DVVTriplets defines an array of DVVTriplet objects. */
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Delegation represents the bond with tokens held by an account. It is
|
|
196
|
+
* owned by one delegator, and is associated with the voting power of one
|
|
197
|
+
* validator.
|
|
198
|
+
*/
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Delegation represents the bond with tokens held by an account. It is
|
|
202
|
+
* owned by one delegator, and is associated with the voting power of one
|
|
203
|
+
* validator.
|
|
204
|
+
*/
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Delegation represents the bond with tokens held by an account. It is
|
|
208
|
+
* owned by one delegator, and is associated with the voting power of one
|
|
209
|
+
* validator.
|
|
210
|
+
*/
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* UnbondingDelegation stores all of a single delegator's unbonding bonds
|
|
214
|
+
* for a single validator in an time-ordered list.
|
|
215
|
+
*/
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* UnbondingDelegation stores all of a single delegator's unbonding bonds
|
|
219
|
+
* for a single validator in an time-ordered list.
|
|
220
|
+
*/
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* UnbondingDelegation stores all of a single delegator's unbonding bonds
|
|
224
|
+
* for a single validator in an time-ordered list.
|
|
225
|
+
*/
|
|
226
|
+
|
|
227
|
+
/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */
|
|
228
|
+
|
|
229
|
+
/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */
|
|
230
|
+
|
|
231
|
+
/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */
|
|
232
|
+
|
|
233
|
+
/** RedelegationEntry defines a redelegation object with relevant metadata. */
|
|
234
|
+
|
|
235
|
+
/** RedelegationEntry defines a redelegation object with relevant metadata. */
|
|
236
|
+
|
|
237
|
+
/** RedelegationEntry defines a redelegation object with relevant metadata. */
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Redelegation contains the list of a particular delegator's redelegating bonds
|
|
241
|
+
* from a particular source validator to a particular destination validator.
|
|
242
|
+
*/
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Redelegation contains the list of a particular delegator's redelegating bonds
|
|
246
|
+
* from a particular source validator to a particular destination validator.
|
|
247
|
+
*/
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Redelegation contains the list of a particular delegator's redelegating bonds
|
|
251
|
+
* from a particular source validator to a particular destination validator.
|
|
252
|
+
*/
|
|
253
|
+
|
|
254
|
+
/** Params defines the parameters for the staking module. */
|
|
255
|
+
|
|
256
|
+
/** Params defines the parameters for the staking module. */
|
|
257
|
+
|
|
258
|
+
/** Params defines the parameters for the staking module. */
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* DelegationResponse is equivalent to Delegation except that it contains a
|
|
262
|
+
* balance in addition to shares which is more suitable for client responses.
|
|
263
|
+
*/
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* DelegationResponse is equivalent to Delegation except that it contains a
|
|
267
|
+
* balance in addition to shares which is more suitable for client responses.
|
|
268
|
+
*/
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* DelegationResponse is equivalent to Delegation except that it contains a
|
|
272
|
+
* balance in addition to shares which is more suitable for client responses.
|
|
273
|
+
*/
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* RedelegationEntryResponse is equivalent to a RedelegationEntry except that it
|
|
277
|
+
* contains a balance in addition to shares which is more suitable for client
|
|
278
|
+
* responses.
|
|
279
|
+
*/
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* RedelegationEntryResponse is equivalent to a RedelegationEntry except that it
|
|
283
|
+
* contains a balance in addition to shares which is more suitable for client
|
|
284
|
+
* responses.
|
|
285
|
+
*/
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* RedelegationEntryResponse is equivalent to a RedelegationEntry except that it
|
|
289
|
+
* contains a balance in addition to shares which is more suitable for client
|
|
290
|
+
* responses.
|
|
291
|
+
*/
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* RedelegationResponse is equivalent to a Redelegation except that its entries
|
|
295
|
+
* contain a balance in addition to shares which is more suitable for client
|
|
296
|
+
* responses.
|
|
297
|
+
*/
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* RedelegationResponse is equivalent to a Redelegation except that its entries
|
|
301
|
+
* contain a balance in addition to shares which is more suitable for client
|
|
302
|
+
* responses.
|
|
303
|
+
*/
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* RedelegationResponse is equivalent to a Redelegation except that its entries
|
|
307
|
+
* contain a balance in addition to shares which is more suitable for client
|
|
308
|
+
* responses.
|
|
309
|
+
*/
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Pool is used for tracking bonded and not-bonded token supply of the bond
|
|
313
|
+
* denomination.
|
|
314
|
+
*/
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Pool is used for tracking bonded and not-bonded token supply of the bond
|
|
318
|
+
* denomination.
|
|
319
|
+
*/
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Pool is used for tracking bonded and not-bonded token supply of the bond
|
|
323
|
+
* denomination.
|
|
324
|
+
*/
|
|
325
|
+
|
|
69
326
|
function createBaseHistoricalInfo() {
|
|
70
327
|
return {
|
|
71
|
-
header:
|
|
328
|
+
header: Header.fromPartial({}),
|
|
72
329
|
valset: []
|
|
73
330
|
};
|
|
74
331
|
}
|
|
75
332
|
export const HistoricalInfo = {
|
|
76
|
-
|
|
333
|
+
typeUrl: "/cosmos.staking.v1beta1.HistoricalInfo",
|
|
334
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
77
335
|
if (message.header !== undefined) {
|
|
78
336
|
Header.encode(message.header, writer.uint32(10).fork()).ldelim();
|
|
79
337
|
}
|
|
@@ -83,7 +341,7 @@ export const HistoricalInfo = {
|
|
|
83
341
|
return writer;
|
|
84
342
|
},
|
|
85
343
|
decode(input, length) {
|
|
86
|
-
const reader = input instanceof
|
|
344
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
87
345
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
88
346
|
const message = createBaseHistoricalInfo();
|
|
89
347
|
while (reader.pos < end) {
|
|
@@ -108,6 +366,46 @@ export const HistoricalInfo = {
|
|
|
108
366
|
message.header = object.header !== undefined && object.header !== null ? Header.fromPartial(object.header) : undefined;
|
|
109
367
|
message.valset = ((_object$valset = object.valset) === null || _object$valset === void 0 ? void 0 : _object$valset.map(e => Validator.fromPartial(e))) || [];
|
|
110
368
|
return message;
|
|
369
|
+
},
|
|
370
|
+
fromAmino(object) {
|
|
371
|
+
var _object$valset2;
|
|
372
|
+
const message = createBaseHistoricalInfo();
|
|
373
|
+
if (object.header !== undefined && object.header !== null) {
|
|
374
|
+
message.header = Header.fromAmino(object.header);
|
|
375
|
+
}
|
|
376
|
+
message.valset = ((_object$valset2 = object.valset) === null || _object$valset2 === void 0 ? void 0 : _object$valset2.map(e => Validator.fromAmino(e))) || [];
|
|
377
|
+
return message;
|
|
378
|
+
},
|
|
379
|
+
toAmino(message) {
|
|
380
|
+
const obj = {};
|
|
381
|
+
obj.header = message.header ? Header.toAmino(message.header) : undefined;
|
|
382
|
+
if (message.valset) {
|
|
383
|
+
obj.valset = message.valset.map(e => e ? Validator.toAmino(e) : undefined);
|
|
384
|
+
} else {
|
|
385
|
+
obj.valset = [];
|
|
386
|
+
}
|
|
387
|
+
return obj;
|
|
388
|
+
},
|
|
389
|
+
fromAminoMsg(object) {
|
|
390
|
+
return HistoricalInfo.fromAmino(object.value);
|
|
391
|
+
},
|
|
392
|
+
toAminoMsg(message) {
|
|
393
|
+
return {
|
|
394
|
+
type: "cosmos-sdk/HistoricalInfo",
|
|
395
|
+
value: HistoricalInfo.toAmino(message)
|
|
396
|
+
};
|
|
397
|
+
},
|
|
398
|
+
fromProtoMsg(message) {
|
|
399
|
+
return HistoricalInfo.decode(message.value);
|
|
400
|
+
},
|
|
401
|
+
toProto(message) {
|
|
402
|
+
return HistoricalInfo.encode(message).finish();
|
|
403
|
+
},
|
|
404
|
+
toProtoMsg(message) {
|
|
405
|
+
return {
|
|
406
|
+
typeUrl: "/cosmos.staking.v1beta1.HistoricalInfo",
|
|
407
|
+
value: HistoricalInfo.encode(message).finish()
|
|
408
|
+
};
|
|
111
409
|
}
|
|
112
410
|
};
|
|
113
411
|
function createBaseCommissionRates() {
|
|
@@ -118,33 +416,34 @@ function createBaseCommissionRates() {
|
|
|
118
416
|
};
|
|
119
417
|
}
|
|
120
418
|
export const CommissionRates = {
|
|
121
|
-
|
|
419
|
+
typeUrl: "/cosmos.staking.v1beta1.CommissionRates",
|
|
420
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
122
421
|
if (message.rate !== "") {
|
|
123
|
-
writer.uint32(10).string(message.rate);
|
|
422
|
+
writer.uint32(10).string(Decimal.fromUserInput(message.rate, 18).atomics);
|
|
124
423
|
}
|
|
125
424
|
if (message.maxRate !== "") {
|
|
126
|
-
writer.uint32(18).string(message.maxRate);
|
|
425
|
+
writer.uint32(18).string(Decimal.fromUserInput(message.maxRate, 18).atomics);
|
|
127
426
|
}
|
|
128
427
|
if (message.maxChangeRate !== "") {
|
|
129
|
-
writer.uint32(26).string(message.maxChangeRate);
|
|
428
|
+
writer.uint32(26).string(Decimal.fromUserInput(message.maxChangeRate, 18).atomics);
|
|
130
429
|
}
|
|
131
430
|
return writer;
|
|
132
431
|
},
|
|
133
432
|
decode(input, length) {
|
|
134
|
-
const reader = input instanceof
|
|
433
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
135
434
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
136
435
|
const message = createBaseCommissionRates();
|
|
137
436
|
while (reader.pos < end) {
|
|
138
437
|
const tag = reader.uint32();
|
|
139
438
|
switch (tag >>> 3) {
|
|
140
439
|
case 1:
|
|
141
|
-
message.rate = reader.string();
|
|
440
|
+
message.rate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
142
441
|
break;
|
|
143
442
|
case 2:
|
|
144
|
-
message.maxRate = reader.string();
|
|
443
|
+
message.maxRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
145
444
|
break;
|
|
146
445
|
case 3:
|
|
147
|
-
message.maxChangeRate = reader.string();
|
|
446
|
+
message.maxChangeRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
148
447
|
break;
|
|
149
448
|
default:
|
|
150
449
|
reader.skipType(tag & 7);
|
|
@@ -160,16 +459,58 @@ export const CommissionRates = {
|
|
|
160
459
|
message.maxRate = (_object$maxRate = object.maxRate) !== null && _object$maxRate !== void 0 ? _object$maxRate : "";
|
|
161
460
|
message.maxChangeRate = (_object$maxChangeRate = object.maxChangeRate) !== null && _object$maxChangeRate !== void 0 ? _object$maxChangeRate : "";
|
|
162
461
|
return message;
|
|
462
|
+
},
|
|
463
|
+
fromAmino(object) {
|
|
464
|
+
const message = createBaseCommissionRates();
|
|
465
|
+
if (object.rate !== undefined && object.rate !== null) {
|
|
466
|
+
message.rate = object.rate;
|
|
467
|
+
}
|
|
468
|
+
if (object.max_rate !== undefined && object.max_rate !== null) {
|
|
469
|
+
message.maxRate = object.max_rate;
|
|
470
|
+
}
|
|
471
|
+
if (object.max_change_rate !== undefined && object.max_change_rate !== null) {
|
|
472
|
+
message.maxChangeRate = object.max_change_rate;
|
|
473
|
+
}
|
|
474
|
+
return message;
|
|
475
|
+
},
|
|
476
|
+
toAmino(message) {
|
|
477
|
+
const obj = {};
|
|
478
|
+
obj.rate = message.rate;
|
|
479
|
+
obj.max_rate = message.maxRate;
|
|
480
|
+
obj.max_change_rate = message.maxChangeRate;
|
|
481
|
+
return obj;
|
|
482
|
+
},
|
|
483
|
+
fromAminoMsg(object) {
|
|
484
|
+
return CommissionRates.fromAmino(object.value);
|
|
485
|
+
},
|
|
486
|
+
toAminoMsg(message) {
|
|
487
|
+
return {
|
|
488
|
+
type: "cosmos-sdk/CommissionRates",
|
|
489
|
+
value: CommissionRates.toAmino(message)
|
|
490
|
+
};
|
|
491
|
+
},
|
|
492
|
+
fromProtoMsg(message) {
|
|
493
|
+
return CommissionRates.decode(message.value);
|
|
494
|
+
},
|
|
495
|
+
toProto(message) {
|
|
496
|
+
return CommissionRates.encode(message).finish();
|
|
497
|
+
},
|
|
498
|
+
toProtoMsg(message) {
|
|
499
|
+
return {
|
|
500
|
+
typeUrl: "/cosmos.staking.v1beta1.CommissionRates",
|
|
501
|
+
value: CommissionRates.encode(message).finish()
|
|
502
|
+
};
|
|
163
503
|
}
|
|
164
504
|
};
|
|
165
505
|
function createBaseCommission() {
|
|
166
506
|
return {
|
|
167
|
-
commissionRates:
|
|
168
|
-
updateTime:
|
|
507
|
+
commissionRates: CommissionRates.fromPartial({}),
|
|
508
|
+
updateTime: new Date()
|
|
169
509
|
};
|
|
170
510
|
}
|
|
171
511
|
export const Commission = {
|
|
172
|
-
|
|
512
|
+
typeUrl: "/cosmos.staking.v1beta1.Commission",
|
|
513
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
173
514
|
if (message.commissionRates !== undefined) {
|
|
174
515
|
CommissionRates.encode(message.commissionRates, writer.uint32(10).fork()).ldelim();
|
|
175
516
|
}
|
|
@@ -179,7 +520,7 @@ export const Commission = {
|
|
|
179
520
|
return writer;
|
|
180
521
|
},
|
|
181
522
|
decode(input, length) {
|
|
182
|
-
const reader = input instanceof
|
|
523
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
183
524
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
184
525
|
const message = createBaseCommission();
|
|
185
526
|
while (reader.pos < end) {
|
|
@@ -204,6 +545,43 @@ export const Commission = {
|
|
|
204
545
|
message.commissionRates = object.commissionRates !== undefined && object.commissionRates !== null ? CommissionRates.fromPartial(object.commissionRates) : undefined;
|
|
205
546
|
message.updateTime = (_object$updateTime = object.updateTime) !== null && _object$updateTime !== void 0 ? _object$updateTime : undefined;
|
|
206
547
|
return message;
|
|
548
|
+
},
|
|
549
|
+
fromAmino(object) {
|
|
550
|
+
const message = createBaseCommission();
|
|
551
|
+
if (object.commission_rates !== undefined && object.commission_rates !== null) {
|
|
552
|
+
message.commissionRates = CommissionRates.fromAmino(object.commission_rates);
|
|
553
|
+
}
|
|
554
|
+
if (object.update_time !== undefined && object.update_time !== null) {
|
|
555
|
+
message.updateTime = fromTimestamp(Timestamp.fromAmino(object.update_time));
|
|
556
|
+
}
|
|
557
|
+
return message;
|
|
558
|
+
},
|
|
559
|
+
toAmino(message) {
|
|
560
|
+
const obj = {};
|
|
561
|
+
obj.commission_rates = message.commissionRates ? CommissionRates.toAmino(message.commissionRates) : undefined;
|
|
562
|
+
obj.update_time = message.updateTime ? Timestamp.toAmino(toTimestamp(message.updateTime)) : undefined;
|
|
563
|
+
return obj;
|
|
564
|
+
},
|
|
565
|
+
fromAminoMsg(object) {
|
|
566
|
+
return Commission.fromAmino(object.value);
|
|
567
|
+
},
|
|
568
|
+
toAminoMsg(message) {
|
|
569
|
+
return {
|
|
570
|
+
type: "cosmos-sdk/Commission",
|
|
571
|
+
value: Commission.toAmino(message)
|
|
572
|
+
};
|
|
573
|
+
},
|
|
574
|
+
fromProtoMsg(message) {
|
|
575
|
+
return Commission.decode(message.value);
|
|
576
|
+
},
|
|
577
|
+
toProto(message) {
|
|
578
|
+
return Commission.encode(message).finish();
|
|
579
|
+
},
|
|
580
|
+
toProtoMsg(message) {
|
|
581
|
+
return {
|
|
582
|
+
typeUrl: "/cosmos.staking.v1beta1.Commission",
|
|
583
|
+
value: Commission.encode(message).finish()
|
|
584
|
+
};
|
|
207
585
|
}
|
|
208
586
|
};
|
|
209
587
|
function createBaseDescription() {
|
|
@@ -216,7 +594,8 @@ function createBaseDescription() {
|
|
|
216
594
|
};
|
|
217
595
|
}
|
|
218
596
|
export const Description = {
|
|
219
|
-
|
|
597
|
+
typeUrl: "/cosmos.staking.v1beta1.Description",
|
|
598
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
220
599
|
if (message.moniker !== "") {
|
|
221
600
|
writer.uint32(10).string(message.moniker);
|
|
222
601
|
}
|
|
@@ -235,7 +614,7 @@ export const Description = {
|
|
|
235
614
|
return writer;
|
|
236
615
|
},
|
|
237
616
|
decode(input, length) {
|
|
238
|
-
const reader = input instanceof
|
|
617
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
239
618
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
240
619
|
const message = createBaseDescription();
|
|
241
620
|
while (reader.pos < end) {
|
|
@@ -272,6 +651,55 @@ export const Description = {
|
|
|
272
651
|
message.securityContact = (_object$securityConta = object.securityContact) !== null && _object$securityConta !== void 0 ? _object$securityConta : "";
|
|
273
652
|
message.details = (_object$details = object.details) !== null && _object$details !== void 0 ? _object$details : "";
|
|
274
653
|
return message;
|
|
654
|
+
},
|
|
655
|
+
fromAmino(object) {
|
|
656
|
+
const message = createBaseDescription();
|
|
657
|
+
if (object.moniker !== undefined && object.moniker !== null) {
|
|
658
|
+
message.moniker = object.moniker;
|
|
659
|
+
}
|
|
660
|
+
if (object.identity !== undefined && object.identity !== null) {
|
|
661
|
+
message.identity = object.identity;
|
|
662
|
+
}
|
|
663
|
+
if (object.website !== undefined && object.website !== null) {
|
|
664
|
+
message.website = object.website;
|
|
665
|
+
}
|
|
666
|
+
if (object.security_contact !== undefined && object.security_contact !== null) {
|
|
667
|
+
message.securityContact = object.security_contact;
|
|
668
|
+
}
|
|
669
|
+
if (object.details !== undefined && object.details !== null) {
|
|
670
|
+
message.details = object.details;
|
|
671
|
+
}
|
|
672
|
+
return message;
|
|
673
|
+
},
|
|
674
|
+
toAmino(message) {
|
|
675
|
+
const obj = {};
|
|
676
|
+
obj.moniker = message.moniker;
|
|
677
|
+
obj.identity = message.identity;
|
|
678
|
+
obj.website = message.website;
|
|
679
|
+
obj.security_contact = message.securityContact;
|
|
680
|
+
obj.details = message.details;
|
|
681
|
+
return obj;
|
|
682
|
+
},
|
|
683
|
+
fromAminoMsg(object) {
|
|
684
|
+
return Description.fromAmino(object.value);
|
|
685
|
+
},
|
|
686
|
+
toAminoMsg(message) {
|
|
687
|
+
return {
|
|
688
|
+
type: "cosmos-sdk/Description",
|
|
689
|
+
value: Description.toAmino(message)
|
|
690
|
+
};
|
|
691
|
+
},
|
|
692
|
+
fromProtoMsg(message) {
|
|
693
|
+
return Description.decode(message.value);
|
|
694
|
+
},
|
|
695
|
+
toProto(message) {
|
|
696
|
+
return Description.encode(message).finish();
|
|
697
|
+
},
|
|
698
|
+
toProtoMsg(message) {
|
|
699
|
+
return {
|
|
700
|
+
typeUrl: "/cosmos.staking.v1beta1.Description",
|
|
701
|
+
value: Description.encode(message).finish()
|
|
702
|
+
};
|
|
275
703
|
}
|
|
276
704
|
};
|
|
277
705
|
function createBaseValidator() {
|
|
@@ -282,15 +710,16 @@ function createBaseValidator() {
|
|
|
282
710
|
status: 0,
|
|
283
711
|
tokens: "",
|
|
284
712
|
delegatorShares: "",
|
|
285
|
-
description:
|
|
286
|
-
unbondingHeight:
|
|
287
|
-
unbondingTime:
|
|
288
|
-
commission:
|
|
713
|
+
description: Description.fromPartial({}),
|
|
714
|
+
unbondingHeight: BigInt(0),
|
|
715
|
+
unbondingTime: new Date(),
|
|
716
|
+
commission: Commission.fromPartial({}),
|
|
289
717
|
minSelfDelegation: ""
|
|
290
718
|
};
|
|
291
719
|
}
|
|
292
720
|
export const Validator = {
|
|
293
|
-
|
|
721
|
+
typeUrl: "/cosmos.staking.v1beta1.Validator",
|
|
722
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
294
723
|
if (message.operatorAddress !== "") {
|
|
295
724
|
writer.uint32(10).string(message.operatorAddress);
|
|
296
725
|
}
|
|
@@ -307,12 +736,12 @@ export const Validator = {
|
|
|
307
736
|
writer.uint32(42).string(message.tokens);
|
|
308
737
|
}
|
|
309
738
|
if (message.delegatorShares !== "") {
|
|
310
|
-
writer.uint32(50).string(message.delegatorShares);
|
|
739
|
+
writer.uint32(50).string(Decimal.fromUserInput(message.delegatorShares, 18).atomics);
|
|
311
740
|
}
|
|
312
741
|
if (message.description !== undefined) {
|
|
313
742
|
Description.encode(message.description, writer.uint32(58).fork()).ldelim();
|
|
314
743
|
}
|
|
315
|
-
if (
|
|
744
|
+
if (message.unbondingHeight !== BigInt(0)) {
|
|
316
745
|
writer.uint32(64).int64(message.unbondingHeight);
|
|
317
746
|
}
|
|
318
747
|
if (message.unbondingTime !== undefined) {
|
|
@@ -327,7 +756,7 @@ export const Validator = {
|
|
|
327
756
|
return writer;
|
|
328
757
|
},
|
|
329
758
|
decode(input, length) {
|
|
330
|
-
const reader = input instanceof
|
|
759
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
331
760
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
332
761
|
const message = createBaseValidator();
|
|
333
762
|
while (reader.pos < end) {
|
|
@@ -349,7 +778,7 @@ export const Validator = {
|
|
|
349
778
|
message.tokens = reader.string();
|
|
350
779
|
break;
|
|
351
780
|
case 6:
|
|
352
|
-
message.delegatorShares = reader.string();
|
|
781
|
+
message.delegatorShares = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
353
782
|
break;
|
|
354
783
|
case 7:
|
|
355
784
|
message.description = Description.decode(reader, reader.uint32());
|
|
@@ -383,11 +812,84 @@ export const Validator = {
|
|
|
383
812
|
message.tokens = (_object$tokens = object.tokens) !== null && _object$tokens !== void 0 ? _object$tokens : "";
|
|
384
813
|
message.delegatorShares = (_object$delegatorShar = object.delegatorShares) !== null && _object$delegatorShar !== void 0 ? _object$delegatorShar : "";
|
|
385
814
|
message.description = object.description !== undefined && object.description !== null ? Description.fromPartial(object.description) : undefined;
|
|
386
|
-
message.unbondingHeight = object.unbondingHeight !== undefined && object.unbondingHeight !== null ?
|
|
815
|
+
message.unbondingHeight = object.unbondingHeight !== undefined && object.unbondingHeight !== null ? BigInt(object.unbondingHeight.toString()) : BigInt(0);
|
|
387
816
|
message.unbondingTime = (_object$unbondingTime = object.unbondingTime) !== null && _object$unbondingTime !== void 0 ? _object$unbondingTime : undefined;
|
|
388
817
|
message.commission = object.commission !== undefined && object.commission !== null ? Commission.fromPartial(object.commission) : undefined;
|
|
389
818
|
message.minSelfDelegation = (_object$minSelfDelega = object.minSelfDelegation) !== null && _object$minSelfDelega !== void 0 ? _object$minSelfDelega : "";
|
|
390
819
|
return message;
|
|
820
|
+
},
|
|
821
|
+
fromAmino(object) {
|
|
822
|
+
const message = createBaseValidator();
|
|
823
|
+
if (object.operator_address !== undefined && object.operator_address !== null) {
|
|
824
|
+
message.operatorAddress = object.operator_address;
|
|
825
|
+
}
|
|
826
|
+
if (object.consensus_pubkey !== undefined && object.consensus_pubkey !== null) {
|
|
827
|
+
message.consensusPubkey = encodePubkey(object.consensus_pubkey);
|
|
828
|
+
}
|
|
829
|
+
if (object.jailed !== undefined && object.jailed !== null) {
|
|
830
|
+
message.jailed = object.jailed;
|
|
831
|
+
}
|
|
832
|
+
if (object.status !== undefined && object.status !== null) {
|
|
833
|
+
message.status = bondStatusFromJSON(object.status);
|
|
834
|
+
}
|
|
835
|
+
if (object.tokens !== undefined && object.tokens !== null) {
|
|
836
|
+
message.tokens = object.tokens;
|
|
837
|
+
}
|
|
838
|
+
if (object.delegator_shares !== undefined && object.delegator_shares !== null) {
|
|
839
|
+
message.delegatorShares = object.delegator_shares;
|
|
840
|
+
}
|
|
841
|
+
if (object.description !== undefined && object.description !== null) {
|
|
842
|
+
message.description = Description.fromAmino(object.description);
|
|
843
|
+
}
|
|
844
|
+
if (object.unbonding_height !== undefined && object.unbonding_height !== null) {
|
|
845
|
+
message.unbondingHeight = BigInt(object.unbonding_height);
|
|
846
|
+
}
|
|
847
|
+
if (object.unbonding_time !== undefined && object.unbonding_time !== null) {
|
|
848
|
+
message.unbondingTime = fromTimestamp(Timestamp.fromAmino(object.unbonding_time));
|
|
849
|
+
}
|
|
850
|
+
if (object.commission !== undefined && object.commission !== null) {
|
|
851
|
+
message.commission = Commission.fromAmino(object.commission);
|
|
852
|
+
}
|
|
853
|
+
if (object.min_self_delegation !== undefined && object.min_self_delegation !== null) {
|
|
854
|
+
message.minSelfDelegation = object.min_self_delegation;
|
|
855
|
+
}
|
|
856
|
+
return message;
|
|
857
|
+
},
|
|
858
|
+
toAmino(message) {
|
|
859
|
+
const obj = {};
|
|
860
|
+
obj.operator_address = message.operatorAddress;
|
|
861
|
+
obj.consensus_pubkey = message.consensusPubkey ? decodePubkey(message.consensusPubkey) : undefined;
|
|
862
|
+
obj.jailed = message.jailed;
|
|
863
|
+
obj.status = bondStatusToJSON(message.status);
|
|
864
|
+
obj.tokens = message.tokens;
|
|
865
|
+
obj.delegator_shares = message.delegatorShares;
|
|
866
|
+
obj.description = message.description ? Description.toAmino(message.description) : undefined;
|
|
867
|
+
obj.unbonding_height = message.unbondingHeight ? message.unbondingHeight.toString() : undefined;
|
|
868
|
+
obj.unbonding_time = message.unbondingTime ? Timestamp.toAmino(toTimestamp(message.unbondingTime)) : undefined;
|
|
869
|
+
obj.commission = message.commission ? Commission.toAmino(message.commission) : undefined;
|
|
870
|
+
obj.min_self_delegation = message.minSelfDelegation;
|
|
871
|
+
return obj;
|
|
872
|
+
},
|
|
873
|
+
fromAminoMsg(object) {
|
|
874
|
+
return Validator.fromAmino(object.value);
|
|
875
|
+
},
|
|
876
|
+
toAminoMsg(message) {
|
|
877
|
+
return {
|
|
878
|
+
type: "cosmos-sdk/Validator",
|
|
879
|
+
value: Validator.toAmino(message)
|
|
880
|
+
};
|
|
881
|
+
},
|
|
882
|
+
fromProtoMsg(message) {
|
|
883
|
+
return Validator.decode(message.value);
|
|
884
|
+
},
|
|
885
|
+
toProto(message) {
|
|
886
|
+
return Validator.encode(message).finish();
|
|
887
|
+
},
|
|
888
|
+
toProtoMsg(message) {
|
|
889
|
+
return {
|
|
890
|
+
typeUrl: "/cosmos.staking.v1beta1.Validator",
|
|
891
|
+
value: Validator.encode(message).finish()
|
|
892
|
+
};
|
|
391
893
|
}
|
|
392
894
|
};
|
|
393
895
|
function createBaseValAddresses() {
|
|
@@ -396,14 +898,15 @@ function createBaseValAddresses() {
|
|
|
396
898
|
};
|
|
397
899
|
}
|
|
398
900
|
export const ValAddresses = {
|
|
399
|
-
|
|
901
|
+
typeUrl: "/cosmos.staking.v1beta1.ValAddresses",
|
|
902
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
400
903
|
for (const v of message.addresses) {
|
|
401
904
|
writer.uint32(10).string(v);
|
|
402
905
|
}
|
|
403
906
|
return writer;
|
|
404
907
|
},
|
|
405
908
|
decode(input, length) {
|
|
406
|
-
const reader = input instanceof
|
|
909
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
407
910
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
408
911
|
const message = createBaseValAddresses();
|
|
409
912
|
while (reader.pos < end) {
|
|
@@ -424,6 +927,42 @@ export const ValAddresses = {
|
|
|
424
927
|
const message = createBaseValAddresses();
|
|
425
928
|
message.addresses = ((_object$addresses = object.addresses) === null || _object$addresses === void 0 ? void 0 : _object$addresses.map(e => e)) || [];
|
|
426
929
|
return message;
|
|
930
|
+
},
|
|
931
|
+
fromAmino(object) {
|
|
932
|
+
var _object$addresses2;
|
|
933
|
+
const message = createBaseValAddresses();
|
|
934
|
+
message.addresses = ((_object$addresses2 = object.addresses) === null || _object$addresses2 === void 0 ? void 0 : _object$addresses2.map(e => e)) || [];
|
|
935
|
+
return message;
|
|
936
|
+
},
|
|
937
|
+
toAmino(message) {
|
|
938
|
+
const obj = {};
|
|
939
|
+
if (message.addresses) {
|
|
940
|
+
obj.addresses = message.addresses.map(e => e);
|
|
941
|
+
} else {
|
|
942
|
+
obj.addresses = [];
|
|
943
|
+
}
|
|
944
|
+
return obj;
|
|
945
|
+
},
|
|
946
|
+
fromAminoMsg(object) {
|
|
947
|
+
return ValAddresses.fromAmino(object.value);
|
|
948
|
+
},
|
|
949
|
+
toAminoMsg(message) {
|
|
950
|
+
return {
|
|
951
|
+
type: "cosmos-sdk/ValAddresses",
|
|
952
|
+
value: ValAddresses.toAmino(message)
|
|
953
|
+
};
|
|
954
|
+
},
|
|
955
|
+
fromProtoMsg(message) {
|
|
956
|
+
return ValAddresses.decode(message.value);
|
|
957
|
+
},
|
|
958
|
+
toProto(message) {
|
|
959
|
+
return ValAddresses.encode(message).finish();
|
|
960
|
+
},
|
|
961
|
+
toProtoMsg(message) {
|
|
962
|
+
return {
|
|
963
|
+
typeUrl: "/cosmos.staking.v1beta1.ValAddresses",
|
|
964
|
+
value: ValAddresses.encode(message).finish()
|
|
965
|
+
};
|
|
427
966
|
}
|
|
428
967
|
};
|
|
429
968
|
function createBaseDVPair() {
|
|
@@ -433,7 +972,8 @@ function createBaseDVPair() {
|
|
|
433
972
|
};
|
|
434
973
|
}
|
|
435
974
|
export const DVPair = {
|
|
436
|
-
|
|
975
|
+
typeUrl: "/cosmos.staking.v1beta1.DVPair",
|
|
976
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
437
977
|
if (message.delegatorAddress !== "") {
|
|
438
978
|
writer.uint32(10).string(message.delegatorAddress);
|
|
439
979
|
}
|
|
@@ -443,7 +983,7 @@ export const DVPair = {
|
|
|
443
983
|
return writer;
|
|
444
984
|
},
|
|
445
985
|
decode(input, length) {
|
|
446
|
-
const reader = input instanceof
|
|
986
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
447
987
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
448
988
|
const message = createBaseDVPair();
|
|
449
989
|
while (reader.pos < end) {
|
|
@@ -468,6 +1008,43 @@ export const DVPair = {
|
|
|
468
1008
|
message.delegatorAddress = (_object$delegatorAddr = object.delegatorAddress) !== null && _object$delegatorAddr !== void 0 ? _object$delegatorAddr : "";
|
|
469
1009
|
message.validatorAddress = (_object$validatorAddr = object.validatorAddress) !== null && _object$validatorAddr !== void 0 ? _object$validatorAddr : "";
|
|
470
1010
|
return message;
|
|
1011
|
+
},
|
|
1012
|
+
fromAmino(object) {
|
|
1013
|
+
const message = createBaseDVPair();
|
|
1014
|
+
if (object.delegator_address !== undefined && object.delegator_address !== null) {
|
|
1015
|
+
message.delegatorAddress = object.delegator_address;
|
|
1016
|
+
}
|
|
1017
|
+
if (object.validator_address !== undefined && object.validator_address !== null) {
|
|
1018
|
+
message.validatorAddress = object.validator_address;
|
|
1019
|
+
}
|
|
1020
|
+
return message;
|
|
1021
|
+
},
|
|
1022
|
+
toAmino(message) {
|
|
1023
|
+
const obj = {};
|
|
1024
|
+
obj.delegator_address = message.delegatorAddress;
|
|
1025
|
+
obj.validator_address = message.validatorAddress;
|
|
1026
|
+
return obj;
|
|
1027
|
+
},
|
|
1028
|
+
fromAminoMsg(object) {
|
|
1029
|
+
return DVPair.fromAmino(object.value);
|
|
1030
|
+
},
|
|
1031
|
+
toAminoMsg(message) {
|
|
1032
|
+
return {
|
|
1033
|
+
type: "cosmos-sdk/DVPair",
|
|
1034
|
+
value: DVPair.toAmino(message)
|
|
1035
|
+
};
|
|
1036
|
+
},
|
|
1037
|
+
fromProtoMsg(message) {
|
|
1038
|
+
return DVPair.decode(message.value);
|
|
1039
|
+
},
|
|
1040
|
+
toProto(message) {
|
|
1041
|
+
return DVPair.encode(message).finish();
|
|
1042
|
+
},
|
|
1043
|
+
toProtoMsg(message) {
|
|
1044
|
+
return {
|
|
1045
|
+
typeUrl: "/cosmos.staking.v1beta1.DVPair",
|
|
1046
|
+
value: DVPair.encode(message).finish()
|
|
1047
|
+
};
|
|
471
1048
|
}
|
|
472
1049
|
};
|
|
473
1050
|
function createBaseDVPairs() {
|
|
@@ -476,14 +1053,15 @@ function createBaseDVPairs() {
|
|
|
476
1053
|
};
|
|
477
1054
|
}
|
|
478
1055
|
export const DVPairs = {
|
|
479
|
-
|
|
1056
|
+
typeUrl: "/cosmos.staking.v1beta1.DVPairs",
|
|
1057
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
480
1058
|
for (const v of message.pairs) {
|
|
481
1059
|
DVPair.encode(v, writer.uint32(10).fork()).ldelim();
|
|
482
1060
|
}
|
|
483
1061
|
return writer;
|
|
484
1062
|
},
|
|
485
1063
|
decode(input, length) {
|
|
486
|
-
const reader = input instanceof
|
|
1064
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
487
1065
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
488
1066
|
const message = createBaseDVPairs();
|
|
489
1067
|
while (reader.pos < end) {
|
|
@@ -504,6 +1082,42 @@ export const DVPairs = {
|
|
|
504
1082
|
const message = createBaseDVPairs();
|
|
505
1083
|
message.pairs = ((_object$pairs = object.pairs) === null || _object$pairs === void 0 ? void 0 : _object$pairs.map(e => DVPair.fromPartial(e))) || [];
|
|
506
1084
|
return message;
|
|
1085
|
+
},
|
|
1086
|
+
fromAmino(object) {
|
|
1087
|
+
var _object$pairs2;
|
|
1088
|
+
const message = createBaseDVPairs();
|
|
1089
|
+
message.pairs = ((_object$pairs2 = object.pairs) === null || _object$pairs2 === void 0 ? void 0 : _object$pairs2.map(e => DVPair.fromAmino(e))) || [];
|
|
1090
|
+
return message;
|
|
1091
|
+
},
|
|
1092
|
+
toAmino(message) {
|
|
1093
|
+
const obj = {};
|
|
1094
|
+
if (message.pairs) {
|
|
1095
|
+
obj.pairs = message.pairs.map(e => e ? DVPair.toAmino(e) : undefined);
|
|
1096
|
+
} else {
|
|
1097
|
+
obj.pairs = [];
|
|
1098
|
+
}
|
|
1099
|
+
return obj;
|
|
1100
|
+
},
|
|
1101
|
+
fromAminoMsg(object) {
|
|
1102
|
+
return DVPairs.fromAmino(object.value);
|
|
1103
|
+
},
|
|
1104
|
+
toAminoMsg(message) {
|
|
1105
|
+
return {
|
|
1106
|
+
type: "cosmos-sdk/DVPairs",
|
|
1107
|
+
value: DVPairs.toAmino(message)
|
|
1108
|
+
};
|
|
1109
|
+
},
|
|
1110
|
+
fromProtoMsg(message) {
|
|
1111
|
+
return DVPairs.decode(message.value);
|
|
1112
|
+
},
|
|
1113
|
+
toProto(message) {
|
|
1114
|
+
return DVPairs.encode(message).finish();
|
|
1115
|
+
},
|
|
1116
|
+
toProtoMsg(message) {
|
|
1117
|
+
return {
|
|
1118
|
+
typeUrl: "/cosmos.staking.v1beta1.DVPairs",
|
|
1119
|
+
value: DVPairs.encode(message).finish()
|
|
1120
|
+
};
|
|
507
1121
|
}
|
|
508
1122
|
};
|
|
509
1123
|
function createBaseDVVTriplet() {
|
|
@@ -514,7 +1128,8 @@ function createBaseDVVTriplet() {
|
|
|
514
1128
|
};
|
|
515
1129
|
}
|
|
516
1130
|
export const DVVTriplet = {
|
|
517
|
-
|
|
1131
|
+
typeUrl: "/cosmos.staking.v1beta1.DVVTriplet",
|
|
1132
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
518
1133
|
if (message.delegatorAddress !== "") {
|
|
519
1134
|
writer.uint32(10).string(message.delegatorAddress);
|
|
520
1135
|
}
|
|
@@ -527,7 +1142,7 @@ export const DVVTriplet = {
|
|
|
527
1142
|
return writer;
|
|
528
1143
|
},
|
|
529
1144
|
decode(input, length) {
|
|
530
|
-
const reader = input instanceof
|
|
1145
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
531
1146
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
532
1147
|
const message = createBaseDVVTriplet();
|
|
533
1148
|
while (reader.pos < end) {
|
|
@@ -556,6 +1171,47 @@ export const DVVTriplet = {
|
|
|
556
1171
|
message.validatorSrcAddress = (_object$validatorSrcA = object.validatorSrcAddress) !== null && _object$validatorSrcA !== void 0 ? _object$validatorSrcA : "";
|
|
557
1172
|
message.validatorDstAddress = (_object$validatorDstA = object.validatorDstAddress) !== null && _object$validatorDstA !== void 0 ? _object$validatorDstA : "";
|
|
558
1173
|
return message;
|
|
1174
|
+
},
|
|
1175
|
+
fromAmino(object) {
|
|
1176
|
+
const message = createBaseDVVTriplet();
|
|
1177
|
+
if (object.delegator_address !== undefined && object.delegator_address !== null) {
|
|
1178
|
+
message.delegatorAddress = object.delegator_address;
|
|
1179
|
+
}
|
|
1180
|
+
if (object.validator_src_address !== undefined && object.validator_src_address !== null) {
|
|
1181
|
+
message.validatorSrcAddress = object.validator_src_address;
|
|
1182
|
+
}
|
|
1183
|
+
if (object.validator_dst_address !== undefined && object.validator_dst_address !== null) {
|
|
1184
|
+
message.validatorDstAddress = object.validator_dst_address;
|
|
1185
|
+
}
|
|
1186
|
+
return message;
|
|
1187
|
+
},
|
|
1188
|
+
toAmino(message) {
|
|
1189
|
+
const obj = {};
|
|
1190
|
+
obj.delegator_address = message.delegatorAddress;
|
|
1191
|
+
obj.validator_src_address = message.validatorSrcAddress;
|
|
1192
|
+
obj.validator_dst_address = message.validatorDstAddress;
|
|
1193
|
+
return obj;
|
|
1194
|
+
},
|
|
1195
|
+
fromAminoMsg(object) {
|
|
1196
|
+
return DVVTriplet.fromAmino(object.value);
|
|
1197
|
+
},
|
|
1198
|
+
toAminoMsg(message) {
|
|
1199
|
+
return {
|
|
1200
|
+
type: "cosmos-sdk/DVVTriplet",
|
|
1201
|
+
value: DVVTriplet.toAmino(message)
|
|
1202
|
+
};
|
|
1203
|
+
},
|
|
1204
|
+
fromProtoMsg(message) {
|
|
1205
|
+
return DVVTriplet.decode(message.value);
|
|
1206
|
+
},
|
|
1207
|
+
toProto(message) {
|
|
1208
|
+
return DVVTriplet.encode(message).finish();
|
|
1209
|
+
},
|
|
1210
|
+
toProtoMsg(message) {
|
|
1211
|
+
return {
|
|
1212
|
+
typeUrl: "/cosmos.staking.v1beta1.DVVTriplet",
|
|
1213
|
+
value: DVVTriplet.encode(message).finish()
|
|
1214
|
+
};
|
|
559
1215
|
}
|
|
560
1216
|
};
|
|
561
1217
|
function createBaseDVVTriplets() {
|
|
@@ -564,14 +1220,15 @@ function createBaseDVVTriplets() {
|
|
|
564
1220
|
};
|
|
565
1221
|
}
|
|
566
1222
|
export const DVVTriplets = {
|
|
567
|
-
|
|
1223
|
+
typeUrl: "/cosmos.staking.v1beta1.DVVTriplets",
|
|
1224
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
568
1225
|
for (const v of message.triplets) {
|
|
569
1226
|
DVVTriplet.encode(v, writer.uint32(10).fork()).ldelim();
|
|
570
1227
|
}
|
|
571
1228
|
return writer;
|
|
572
1229
|
},
|
|
573
1230
|
decode(input, length) {
|
|
574
|
-
const reader = input instanceof
|
|
1231
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
575
1232
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
576
1233
|
const message = createBaseDVVTriplets();
|
|
577
1234
|
while (reader.pos < end) {
|
|
@@ -592,6 +1249,42 @@ export const DVVTriplets = {
|
|
|
592
1249
|
const message = createBaseDVVTriplets();
|
|
593
1250
|
message.triplets = ((_object$triplets = object.triplets) === null || _object$triplets === void 0 ? void 0 : _object$triplets.map(e => DVVTriplet.fromPartial(e))) || [];
|
|
594
1251
|
return message;
|
|
1252
|
+
},
|
|
1253
|
+
fromAmino(object) {
|
|
1254
|
+
var _object$triplets2;
|
|
1255
|
+
const message = createBaseDVVTriplets();
|
|
1256
|
+
message.triplets = ((_object$triplets2 = object.triplets) === null || _object$triplets2 === void 0 ? void 0 : _object$triplets2.map(e => DVVTriplet.fromAmino(e))) || [];
|
|
1257
|
+
return message;
|
|
1258
|
+
},
|
|
1259
|
+
toAmino(message) {
|
|
1260
|
+
const obj = {};
|
|
1261
|
+
if (message.triplets) {
|
|
1262
|
+
obj.triplets = message.triplets.map(e => e ? DVVTriplet.toAmino(e) : undefined);
|
|
1263
|
+
} else {
|
|
1264
|
+
obj.triplets = [];
|
|
1265
|
+
}
|
|
1266
|
+
return obj;
|
|
1267
|
+
},
|
|
1268
|
+
fromAminoMsg(object) {
|
|
1269
|
+
return DVVTriplets.fromAmino(object.value);
|
|
1270
|
+
},
|
|
1271
|
+
toAminoMsg(message) {
|
|
1272
|
+
return {
|
|
1273
|
+
type: "cosmos-sdk/DVVTriplets",
|
|
1274
|
+
value: DVVTriplets.toAmino(message)
|
|
1275
|
+
};
|
|
1276
|
+
},
|
|
1277
|
+
fromProtoMsg(message) {
|
|
1278
|
+
return DVVTriplets.decode(message.value);
|
|
1279
|
+
},
|
|
1280
|
+
toProto(message) {
|
|
1281
|
+
return DVVTriplets.encode(message).finish();
|
|
1282
|
+
},
|
|
1283
|
+
toProtoMsg(message) {
|
|
1284
|
+
return {
|
|
1285
|
+
typeUrl: "/cosmos.staking.v1beta1.DVVTriplets",
|
|
1286
|
+
value: DVVTriplets.encode(message).finish()
|
|
1287
|
+
};
|
|
595
1288
|
}
|
|
596
1289
|
};
|
|
597
1290
|
function createBaseDelegation() {
|
|
@@ -602,7 +1295,8 @@ function createBaseDelegation() {
|
|
|
602
1295
|
};
|
|
603
1296
|
}
|
|
604
1297
|
export const Delegation = {
|
|
605
|
-
|
|
1298
|
+
typeUrl: "/cosmos.staking.v1beta1.Delegation",
|
|
1299
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
606
1300
|
if (message.delegatorAddress !== "") {
|
|
607
1301
|
writer.uint32(10).string(message.delegatorAddress);
|
|
608
1302
|
}
|
|
@@ -610,12 +1304,12 @@ export const Delegation = {
|
|
|
610
1304
|
writer.uint32(18).string(message.validatorAddress);
|
|
611
1305
|
}
|
|
612
1306
|
if (message.shares !== "") {
|
|
613
|
-
writer.uint32(26).string(message.shares);
|
|
1307
|
+
writer.uint32(26).string(Decimal.fromUserInput(message.shares, 18).atomics);
|
|
614
1308
|
}
|
|
615
1309
|
return writer;
|
|
616
1310
|
},
|
|
617
1311
|
decode(input, length) {
|
|
618
|
-
const reader = input instanceof
|
|
1312
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
619
1313
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
620
1314
|
const message = createBaseDelegation();
|
|
621
1315
|
while (reader.pos < end) {
|
|
@@ -628,7 +1322,7 @@ export const Delegation = {
|
|
|
628
1322
|
message.validatorAddress = reader.string();
|
|
629
1323
|
break;
|
|
630
1324
|
case 3:
|
|
631
|
-
message.shares = reader.string();
|
|
1325
|
+
message.shares = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
632
1326
|
break;
|
|
633
1327
|
default:
|
|
634
1328
|
reader.skipType(tag & 7);
|
|
@@ -644,6 +1338,47 @@ export const Delegation = {
|
|
|
644
1338
|
message.validatorAddress = (_object$validatorAddr2 = object.validatorAddress) !== null && _object$validatorAddr2 !== void 0 ? _object$validatorAddr2 : "";
|
|
645
1339
|
message.shares = (_object$shares = object.shares) !== null && _object$shares !== void 0 ? _object$shares : "";
|
|
646
1340
|
return message;
|
|
1341
|
+
},
|
|
1342
|
+
fromAmino(object) {
|
|
1343
|
+
const message = createBaseDelegation();
|
|
1344
|
+
if (object.delegator_address !== undefined && object.delegator_address !== null) {
|
|
1345
|
+
message.delegatorAddress = object.delegator_address;
|
|
1346
|
+
}
|
|
1347
|
+
if (object.validator_address !== undefined && object.validator_address !== null) {
|
|
1348
|
+
message.validatorAddress = object.validator_address;
|
|
1349
|
+
}
|
|
1350
|
+
if (object.shares !== undefined && object.shares !== null) {
|
|
1351
|
+
message.shares = object.shares;
|
|
1352
|
+
}
|
|
1353
|
+
return message;
|
|
1354
|
+
},
|
|
1355
|
+
toAmino(message) {
|
|
1356
|
+
const obj = {};
|
|
1357
|
+
obj.delegator_address = message.delegatorAddress;
|
|
1358
|
+
obj.validator_address = message.validatorAddress;
|
|
1359
|
+
obj.shares = message.shares;
|
|
1360
|
+
return obj;
|
|
1361
|
+
},
|
|
1362
|
+
fromAminoMsg(object) {
|
|
1363
|
+
return Delegation.fromAmino(object.value);
|
|
1364
|
+
},
|
|
1365
|
+
toAminoMsg(message) {
|
|
1366
|
+
return {
|
|
1367
|
+
type: "cosmos-sdk/Delegation",
|
|
1368
|
+
value: Delegation.toAmino(message)
|
|
1369
|
+
};
|
|
1370
|
+
},
|
|
1371
|
+
fromProtoMsg(message) {
|
|
1372
|
+
return Delegation.decode(message.value);
|
|
1373
|
+
},
|
|
1374
|
+
toProto(message) {
|
|
1375
|
+
return Delegation.encode(message).finish();
|
|
1376
|
+
},
|
|
1377
|
+
toProtoMsg(message) {
|
|
1378
|
+
return {
|
|
1379
|
+
typeUrl: "/cosmos.staking.v1beta1.Delegation",
|
|
1380
|
+
value: Delegation.encode(message).finish()
|
|
1381
|
+
};
|
|
647
1382
|
}
|
|
648
1383
|
};
|
|
649
1384
|
function createBaseUnbondingDelegation() {
|
|
@@ -654,7 +1389,8 @@ function createBaseUnbondingDelegation() {
|
|
|
654
1389
|
};
|
|
655
1390
|
}
|
|
656
1391
|
export const UnbondingDelegation = {
|
|
657
|
-
|
|
1392
|
+
typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegation",
|
|
1393
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
658
1394
|
if (message.delegatorAddress !== "") {
|
|
659
1395
|
writer.uint32(10).string(message.delegatorAddress);
|
|
660
1396
|
}
|
|
@@ -667,7 +1403,7 @@ export const UnbondingDelegation = {
|
|
|
667
1403
|
return writer;
|
|
668
1404
|
},
|
|
669
1405
|
decode(input, length) {
|
|
670
|
-
const reader = input instanceof
|
|
1406
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
671
1407
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
672
1408
|
const message = createBaseUnbondingDelegation();
|
|
673
1409
|
while (reader.pos < end) {
|
|
@@ -696,19 +1432,64 @@ export const UnbondingDelegation = {
|
|
|
696
1432
|
message.validatorAddress = (_object$validatorAddr3 = object.validatorAddress) !== null && _object$validatorAddr3 !== void 0 ? _object$validatorAddr3 : "";
|
|
697
1433
|
message.entries = ((_object$entries = object.entries) === null || _object$entries === void 0 ? void 0 : _object$entries.map(e => UnbondingDelegationEntry.fromPartial(e))) || [];
|
|
698
1434
|
return message;
|
|
1435
|
+
},
|
|
1436
|
+
fromAmino(object) {
|
|
1437
|
+
var _object$entries2;
|
|
1438
|
+
const message = createBaseUnbondingDelegation();
|
|
1439
|
+
if (object.delegator_address !== undefined && object.delegator_address !== null) {
|
|
1440
|
+
message.delegatorAddress = object.delegator_address;
|
|
1441
|
+
}
|
|
1442
|
+
if (object.validator_address !== undefined && object.validator_address !== null) {
|
|
1443
|
+
message.validatorAddress = object.validator_address;
|
|
1444
|
+
}
|
|
1445
|
+
message.entries = ((_object$entries2 = object.entries) === null || _object$entries2 === void 0 ? void 0 : _object$entries2.map(e => UnbondingDelegationEntry.fromAmino(e))) || [];
|
|
1446
|
+
return message;
|
|
1447
|
+
},
|
|
1448
|
+
toAmino(message) {
|
|
1449
|
+
const obj = {};
|
|
1450
|
+
obj.delegator_address = message.delegatorAddress;
|
|
1451
|
+
obj.validator_address = message.validatorAddress;
|
|
1452
|
+
if (message.entries) {
|
|
1453
|
+
obj.entries = message.entries.map(e => e ? UnbondingDelegationEntry.toAmino(e) : undefined);
|
|
1454
|
+
} else {
|
|
1455
|
+
obj.entries = [];
|
|
1456
|
+
}
|
|
1457
|
+
return obj;
|
|
1458
|
+
},
|
|
1459
|
+
fromAminoMsg(object) {
|
|
1460
|
+
return UnbondingDelegation.fromAmino(object.value);
|
|
1461
|
+
},
|
|
1462
|
+
toAminoMsg(message) {
|
|
1463
|
+
return {
|
|
1464
|
+
type: "cosmos-sdk/UnbondingDelegation",
|
|
1465
|
+
value: UnbondingDelegation.toAmino(message)
|
|
1466
|
+
};
|
|
1467
|
+
},
|
|
1468
|
+
fromProtoMsg(message) {
|
|
1469
|
+
return UnbondingDelegation.decode(message.value);
|
|
1470
|
+
},
|
|
1471
|
+
toProto(message) {
|
|
1472
|
+
return UnbondingDelegation.encode(message).finish();
|
|
1473
|
+
},
|
|
1474
|
+
toProtoMsg(message) {
|
|
1475
|
+
return {
|
|
1476
|
+
typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegation",
|
|
1477
|
+
value: UnbondingDelegation.encode(message).finish()
|
|
1478
|
+
};
|
|
699
1479
|
}
|
|
700
1480
|
};
|
|
701
1481
|
function createBaseUnbondingDelegationEntry() {
|
|
702
1482
|
return {
|
|
703
|
-
creationHeight:
|
|
704
|
-
completionTime:
|
|
1483
|
+
creationHeight: BigInt(0),
|
|
1484
|
+
completionTime: new Date(),
|
|
705
1485
|
initialBalance: "",
|
|
706
1486
|
balance: ""
|
|
707
1487
|
};
|
|
708
1488
|
}
|
|
709
1489
|
export const UnbondingDelegationEntry = {
|
|
710
|
-
|
|
711
|
-
|
|
1490
|
+
typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegationEntry",
|
|
1491
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1492
|
+
if (message.creationHeight !== BigInt(0)) {
|
|
712
1493
|
writer.uint32(8).int64(message.creationHeight);
|
|
713
1494
|
}
|
|
714
1495
|
if (message.completionTime !== undefined) {
|
|
@@ -723,7 +1504,7 @@ export const UnbondingDelegationEntry = {
|
|
|
723
1504
|
return writer;
|
|
724
1505
|
},
|
|
725
1506
|
decode(input, length) {
|
|
726
|
-
const reader = input instanceof
|
|
1507
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
727
1508
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
728
1509
|
const message = createBaseUnbondingDelegationEntry();
|
|
729
1510
|
while (reader.pos < end) {
|
|
@@ -751,24 +1532,70 @@ export const UnbondingDelegationEntry = {
|
|
|
751
1532
|
fromPartial(object) {
|
|
752
1533
|
var _object$completionTim, _object$initialBalanc, _object$balance;
|
|
753
1534
|
const message = createBaseUnbondingDelegationEntry();
|
|
754
|
-
message.creationHeight = object.creationHeight !== undefined && object.creationHeight !== null ?
|
|
1535
|
+
message.creationHeight = object.creationHeight !== undefined && object.creationHeight !== null ? BigInt(object.creationHeight.toString()) : BigInt(0);
|
|
755
1536
|
message.completionTime = (_object$completionTim = object.completionTime) !== null && _object$completionTim !== void 0 ? _object$completionTim : undefined;
|
|
756
1537
|
message.initialBalance = (_object$initialBalanc = object.initialBalance) !== null && _object$initialBalanc !== void 0 ? _object$initialBalanc : "";
|
|
757
1538
|
message.balance = (_object$balance = object.balance) !== null && _object$balance !== void 0 ? _object$balance : "";
|
|
758
1539
|
return message;
|
|
1540
|
+
},
|
|
1541
|
+
fromAmino(object) {
|
|
1542
|
+
const message = createBaseUnbondingDelegationEntry();
|
|
1543
|
+
if (object.creation_height !== undefined && object.creation_height !== null) {
|
|
1544
|
+
message.creationHeight = BigInt(object.creation_height);
|
|
1545
|
+
}
|
|
1546
|
+
if (object.completion_time !== undefined && object.completion_time !== null) {
|
|
1547
|
+
message.completionTime = fromTimestamp(Timestamp.fromAmino(object.completion_time));
|
|
1548
|
+
}
|
|
1549
|
+
if (object.initial_balance !== undefined && object.initial_balance !== null) {
|
|
1550
|
+
message.initialBalance = object.initial_balance;
|
|
1551
|
+
}
|
|
1552
|
+
if (object.balance !== undefined && object.balance !== null) {
|
|
1553
|
+
message.balance = object.balance;
|
|
1554
|
+
}
|
|
1555
|
+
return message;
|
|
1556
|
+
},
|
|
1557
|
+
toAmino(message) {
|
|
1558
|
+
const obj = {};
|
|
1559
|
+
obj.creation_height = message.creationHeight ? message.creationHeight.toString() : undefined;
|
|
1560
|
+
obj.completion_time = message.completionTime ? Timestamp.toAmino(toTimestamp(message.completionTime)) : undefined;
|
|
1561
|
+
obj.initial_balance = message.initialBalance;
|
|
1562
|
+
obj.balance = message.balance;
|
|
1563
|
+
return obj;
|
|
1564
|
+
},
|
|
1565
|
+
fromAminoMsg(object) {
|
|
1566
|
+
return UnbondingDelegationEntry.fromAmino(object.value);
|
|
1567
|
+
},
|
|
1568
|
+
toAminoMsg(message) {
|
|
1569
|
+
return {
|
|
1570
|
+
type: "cosmos-sdk/UnbondingDelegationEntry",
|
|
1571
|
+
value: UnbondingDelegationEntry.toAmino(message)
|
|
1572
|
+
};
|
|
1573
|
+
},
|
|
1574
|
+
fromProtoMsg(message) {
|
|
1575
|
+
return UnbondingDelegationEntry.decode(message.value);
|
|
1576
|
+
},
|
|
1577
|
+
toProto(message) {
|
|
1578
|
+
return UnbondingDelegationEntry.encode(message).finish();
|
|
1579
|
+
},
|
|
1580
|
+
toProtoMsg(message) {
|
|
1581
|
+
return {
|
|
1582
|
+
typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegationEntry",
|
|
1583
|
+
value: UnbondingDelegationEntry.encode(message).finish()
|
|
1584
|
+
};
|
|
759
1585
|
}
|
|
760
1586
|
};
|
|
761
1587
|
function createBaseRedelegationEntry() {
|
|
762
1588
|
return {
|
|
763
|
-
creationHeight:
|
|
764
|
-
completionTime:
|
|
1589
|
+
creationHeight: BigInt(0),
|
|
1590
|
+
completionTime: new Date(),
|
|
765
1591
|
initialBalance: "",
|
|
766
1592
|
sharesDst: ""
|
|
767
1593
|
};
|
|
768
1594
|
}
|
|
769
1595
|
export const RedelegationEntry = {
|
|
770
|
-
|
|
771
|
-
|
|
1596
|
+
typeUrl: "/cosmos.staking.v1beta1.RedelegationEntry",
|
|
1597
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1598
|
+
if (message.creationHeight !== BigInt(0)) {
|
|
772
1599
|
writer.uint32(8).int64(message.creationHeight);
|
|
773
1600
|
}
|
|
774
1601
|
if (message.completionTime !== undefined) {
|
|
@@ -778,12 +1605,12 @@ export const RedelegationEntry = {
|
|
|
778
1605
|
writer.uint32(26).string(message.initialBalance);
|
|
779
1606
|
}
|
|
780
1607
|
if (message.sharesDst !== "") {
|
|
781
|
-
writer.uint32(34).string(message.sharesDst);
|
|
1608
|
+
writer.uint32(34).string(Decimal.fromUserInput(message.sharesDst, 18).atomics);
|
|
782
1609
|
}
|
|
783
1610
|
return writer;
|
|
784
1611
|
},
|
|
785
1612
|
decode(input, length) {
|
|
786
|
-
const reader = input instanceof
|
|
1613
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
787
1614
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
788
1615
|
const message = createBaseRedelegationEntry();
|
|
789
1616
|
while (reader.pos < end) {
|
|
@@ -799,7 +1626,7 @@ export const RedelegationEntry = {
|
|
|
799
1626
|
message.initialBalance = reader.string();
|
|
800
1627
|
break;
|
|
801
1628
|
case 4:
|
|
802
|
-
message.sharesDst = reader.string();
|
|
1629
|
+
message.sharesDst = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
803
1630
|
break;
|
|
804
1631
|
default:
|
|
805
1632
|
reader.skipType(tag & 7);
|
|
@@ -811,11 +1638,56 @@ export const RedelegationEntry = {
|
|
|
811
1638
|
fromPartial(object) {
|
|
812
1639
|
var _object$completionTim2, _object$initialBalanc2, _object$sharesDst;
|
|
813
1640
|
const message = createBaseRedelegationEntry();
|
|
814
|
-
message.creationHeight = object.creationHeight !== undefined && object.creationHeight !== null ?
|
|
1641
|
+
message.creationHeight = object.creationHeight !== undefined && object.creationHeight !== null ? BigInt(object.creationHeight.toString()) : BigInt(0);
|
|
815
1642
|
message.completionTime = (_object$completionTim2 = object.completionTime) !== null && _object$completionTim2 !== void 0 ? _object$completionTim2 : undefined;
|
|
816
1643
|
message.initialBalance = (_object$initialBalanc2 = object.initialBalance) !== null && _object$initialBalanc2 !== void 0 ? _object$initialBalanc2 : "";
|
|
817
1644
|
message.sharesDst = (_object$sharesDst = object.sharesDst) !== null && _object$sharesDst !== void 0 ? _object$sharesDst : "";
|
|
818
1645
|
return message;
|
|
1646
|
+
},
|
|
1647
|
+
fromAmino(object) {
|
|
1648
|
+
const message = createBaseRedelegationEntry();
|
|
1649
|
+
if (object.creation_height !== undefined && object.creation_height !== null) {
|
|
1650
|
+
message.creationHeight = BigInt(object.creation_height);
|
|
1651
|
+
}
|
|
1652
|
+
if (object.completion_time !== undefined && object.completion_time !== null) {
|
|
1653
|
+
message.completionTime = fromTimestamp(Timestamp.fromAmino(object.completion_time));
|
|
1654
|
+
}
|
|
1655
|
+
if (object.initial_balance !== undefined && object.initial_balance !== null) {
|
|
1656
|
+
message.initialBalance = object.initial_balance;
|
|
1657
|
+
}
|
|
1658
|
+
if (object.shares_dst !== undefined && object.shares_dst !== null) {
|
|
1659
|
+
message.sharesDst = object.shares_dst;
|
|
1660
|
+
}
|
|
1661
|
+
return message;
|
|
1662
|
+
},
|
|
1663
|
+
toAmino(message) {
|
|
1664
|
+
const obj = {};
|
|
1665
|
+
obj.creation_height = message.creationHeight ? message.creationHeight.toString() : undefined;
|
|
1666
|
+
obj.completion_time = message.completionTime ? Timestamp.toAmino(toTimestamp(message.completionTime)) : undefined;
|
|
1667
|
+
obj.initial_balance = message.initialBalance;
|
|
1668
|
+
obj.shares_dst = message.sharesDst;
|
|
1669
|
+
return obj;
|
|
1670
|
+
},
|
|
1671
|
+
fromAminoMsg(object) {
|
|
1672
|
+
return RedelegationEntry.fromAmino(object.value);
|
|
1673
|
+
},
|
|
1674
|
+
toAminoMsg(message) {
|
|
1675
|
+
return {
|
|
1676
|
+
type: "cosmos-sdk/RedelegationEntry",
|
|
1677
|
+
value: RedelegationEntry.toAmino(message)
|
|
1678
|
+
};
|
|
1679
|
+
},
|
|
1680
|
+
fromProtoMsg(message) {
|
|
1681
|
+
return RedelegationEntry.decode(message.value);
|
|
1682
|
+
},
|
|
1683
|
+
toProto(message) {
|
|
1684
|
+
return RedelegationEntry.encode(message).finish();
|
|
1685
|
+
},
|
|
1686
|
+
toProtoMsg(message) {
|
|
1687
|
+
return {
|
|
1688
|
+
typeUrl: "/cosmos.staking.v1beta1.RedelegationEntry",
|
|
1689
|
+
value: RedelegationEntry.encode(message).finish()
|
|
1690
|
+
};
|
|
819
1691
|
}
|
|
820
1692
|
};
|
|
821
1693
|
function createBaseRedelegation() {
|
|
@@ -827,7 +1699,8 @@ function createBaseRedelegation() {
|
|
|
827
1699
|
};
|
|
828
1700
|
}
|
|
829
1701
|
export const Redelegation = {
|
|
830
|
-
|
|
1702
|
+
typeUrl: "/cosmos.staking.v1beta1.Redelegation",
|
|
1703
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
831
1704
|
if (message.delegatorAddress !== "") {
|
|
832
1705
|
writer.uint32(10).string(message.delegatorAddress);
|
|
833
1706
|
}
|
|
@@ -843,7 +1716,7 @@ export const Redelegation = {
|
|
|
843
1716
|
return writer;
|
|
844
1717
|
},
|
|
845
1718
|
decode(input, length) {
|
|
846
|
-
const reader = input instanceof
|
|
1719
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
847
1720
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
848
1721
|
const message = createBaseRedelegation();
|
|
849
1722
|
while (reader.pos < end) {
|
|
@@ -869,18 +1742,66 @@ export const Redelegation = {
|
|
|
869
1742
|
return message;
|
|
870
1743
|
},
|
|
871
1744
|
fromPartial(object) {
|
|
872
|
-
var _object$delegatorAddr5, _object$validatorSrcA2, _object$validatorDstA2, _object$
|
|
1745
|
+
var _object$delegatorAddr5, _object$validatorSrcA2, _object$validatorDstA2, _object$entries3;
|
|
873
1746
|
const message = createBaseRedelegation();
|
|
874
1747
|
message.delegatorAddress = (_object$delegatorAddr5 = object.delegatorAddress) !== null && _object$delegatorAddr5 !== void 0 ? _object$delegatorAddr5 : "";
|
|
875
1748
|
message.validatorSrcAddress = (_object$validatorSrcA2 = object.validatorSrcAddress) !== null && _object$validatorSrcA2 !== void 0 ? _object$validatorSrcA2 : "";
|
|
876
1749
|
message.validatorDstAddress = (_object$validatorDstA2 = object.validatorDstAddress) !== null && _object$validatorDstA2 !== void 0 ? _object$validatorDstA2 : "";
|
|
877
|
-
message.entries = ((_object$
|
|
1750
|
+
message.entries = ((_object$entries3 = object.entries) === null || _object$entries3 === void 0 ? void 0 : _object$entries3.map(e => RedelegationEntry.fromPartial(e))) || [];
|
|
878
1751
|
return message;
|
|
1752
|
+
},
|
|
1753
|
+
fromAmino(object) {
|
|
1754
|
+
var _object$entries4;
|
|
1755
|
+
const message = createBaseRedelegation();
|
|
1756
|
+
if (object.delegator_address !== undefined && object.delegator_address !== null) {
|
|
1757
|
+
message.delegatorAddress = object.delegator_address;
|
|
1758
|
+
}
|
|
1759
|
+
if (object.validator_src_address !== undefined && object.validator_src_address !== null) {
|
|
1760
|
+
message.validatorSrcAddress = object.validator_src_address;
|
|
1761
|
+
}
|
|
1762
|
+
if (object.validator_dst_address !== undefined && object.validator_dst_address !== null) {
|
|
1763
|
+
message.validatorDstAddress = object.validator_dst_address;
|
|
1764
|
+
}
|
|
1765
|
+
message.entries = ((_object$entries4 = object.entries) === null || _object$entries4 === void 0 ? void 0 : _object$entries4.map(e => RedelegationEntry.fromAmino(e))) || [];
|
|
1766
|
+
return message;
|
|
1767
|
+
},
|
|
1768
|
+
toAmino(message) {
|
|
1769
|
+
const obj = {};
|
|
1770
|
+
obj.delegator_address = message.delegatorAddress;
|
|
1771
|
+
obj.validator_src_address = message.validatorSrcAddress;
|
|
1772
|
+
obj.validator_dst_address = message.validatorDstAddress;
|
|
1773
|
+
if (message.entries) {
|
|
1774
|
+
obj.entries = message.entries.map(e => e ? RedelegationEntry.toAmino(e) : undefined);
|
|
1775
|
+
} else {
|
|
1776
|
+
obj.entries = [];
|
|
1777
|
+
}
|
|
1778
|
+
return obj;
|
|
1779
|
+
},
|
|
1780
|
+
fromAminoMsg(object) {
|
|
1781
|
+
return Redelegation.fromAmino(object.value);
|
|
1782
|
+
},
|
|
1783
|
+
toAminoMsg(message) {
|
|
1784
|
+
return {
|
|
1785
|
+
type: "cosmos-sdk/Redelegation",
|
|
1786
|
+
value: Redelegation.toAmino(message)
|
|
1787
|
+
};
|
|
1788
|
+
},
|
|
1789
|
+
fromProtoMsg(message) {
|
|
1790
|
+
return Redelegation.decode(message.value);
|
|
1791
|
+
},
|
|
1792
|
+
toProto(message) {
|
|
1793
|
+
return Redelegation.encode(message).finish();
|
|
1794
|
+
},
|
|
1795
|
+
toProtoMsg(message) {
|
|
1796
|
+
return {
|
|
1797
|
+
typeUrl: "/cosmos.staking.v1beta1.Redelegation",
|
|
1798
|
+
value: Redelegation.encode(message).finish()
|
|
1799
|
+
};
|
|
879
1800
|
}
|
|
880
1801
|
};
|
|
881
1802
|
function createBaseParams() {
|
|
882
1803
|
return {
|
|
883
|
-
unbondingTime:
|
|
1804
|
+
unbondingTime: Duration.fromPartial({}),
|
|
884
1805
|
maxValidators: 0,
|
|
885
1806
|
maxEntries: 0,
|
|
886
1807
|
historicalEntries: 0,
|
|
@@ -889,7 +1810,8 @@ function createBaseParams() {
|
|
|
889
1810
|
};
|
|
890
1811
|
}
|
|
891
1812
|
export const Params = {
|
|
892
|
-
|
|
1813
|
+
typeUrl: "/cosmos.staking.v1beta1.Params",
|
|
1814
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
893
1815
|
if (message.unbondingTime !== undefined) {
|
|
894
1816
|
Duration.encode(message.unbondingTime, writer.uint32(10).fork()).ldelim();
|
|
895
1817
|
}
|
|
@@ -906,12 +1828,12 @@ export const Params = {
|
|
|
906
1828
|
writer.uint32(42).string(message.bondDenom);
|
|
907
1829
|
}
|
|
908
1830
|
if (message.minCommissionRate !== "") {
|
|
909
|
-
writer.uint32(50).string(message.minCommissionRate);
|
|
1831
|
+
writer.uint32(50).string(Decimal.fromUserInput(message.minCommissionRate, 18).atomics);
|
|
910
1832
|
}
|
|
911
1833
|
return writer;
|
|
912
1834
|
},
|
|
913
1835
|
decode(input, length) {
|
|
914
|
-
const reader = input instanceof
|
|
1836
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
915
1837
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
916
1838
|
const message = createBaseParams();
|
|
917
1839
|
while (reader.pos < end) {
|
|
@@ -933,7 +1855,7 @@ export const Params = {
|
|
|
933
1855
|
message.bondDenom = reader.string();
|
|
934
1856
|
break;
|
|
935
1857
|
case 6:
|
|
936
|
-
message.minCommissionRate = reader.string();
|
|
1858
|
+
message.minCommissionRate = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
937
1859
|
break;
|
|
938
1860
|
default:
|
|
939
1861
|
reader.skipType(tag & 7);
|
|
@@ -952,16 +1874,70 @@ export const Params = {
|
|
|
952
1874
|
message.bondDenom = (_object$bondDenom = object.bondDenom) !== null && _object$bondDenom !== void 0 ? _object$bondDenom : "";
|
|
953
1875
|
message.minCommissionRate = (_object$minCommission = object.minCommissionRate) !== null && _object$minCommission !== void 0 ? _object$minCommission : "";
|
|
954
1876
|
return message;
|
|
1877
|
+
},
|
|
1878
|
+
fromAmino(object) {
|
|
1879
|
+
const message = createBaseParams();
|
|
1880
|
+
if (object.unbonding_time !== undefined && object.unbonding_time !== null) {
|
|
1881
|
+
message.unbondingTime = Duration.fromAmino(object.unbonding_time);
|
|
1882
|
+
}
|
|
1883
|
+
if (object.max_validators !== undefined && object.max_validators !== null) {
|
|
1884
|
+
message.maxValidators = object.max_validators;
|
|
1885
|
+
}
|
|
1886
|
+
if (object.max_entries !== undefined && object.max_entries !== null) {
|
|
1887
|
+
message.maxEntries = object.max_entries;
|
|
1888
|
+
}
|
|
1889
|
+
if (object.historical_entries !== undefined && object.historical_entries !== null) {
|
|
1890
|
+
message.historicalEntries = object.historical_entries;
|
|
1891
|
+
}
|
|
1892
|
+
if (object.bond_denom !== undefined && object.bond_denom !== null) {
|
|
1893
|
+
message.bondDenom = object.bond_denom;
|
|
1894
|
+
}
|
|
1895
|
+
if (object.min_commission_rate !== undefined && object.min_commission_rate !== null) {
|
|
1896
|
+
message.minCommissionRate = object.min_commission_rate;
|
|
1897
|
+
}
|
|
1898
|
+
return message;
|
|
1899
|
+
},
|
|
1900
|
+
toAmino(message) {
|
|
1901
|
+
const obj = {};
|
|
1902
|
+
obj.unbonding_time = message.unbondingTime ? Duration.toAmino(message.unbondingTime) : undefined;
|
|
1903
|
+
obj.max_validators = message.maxValidators;
|
|
1904
|
+
obj.max_entries = message.maxEntries;
|
|
1905
|
+
obj.historical_entries = message.historicalEntries;
|
|
1906
|
+
obj.bond_denom = message.bondDenom;
|
|
1907
|
+
obj.min_commission_rate = message.minCommissionRate;
|
|
1908
|
+
return obj;
|
|
1909
|
+
},
|
|
1910
|
+
fromAminoMsg(object) {
|
|
1911
|
+
return Params.fromAmino(object.value);
|
|
1912
|
+
},
|
|
1913
|
+
toAminoMsg(message) {
|
|
1914
|
+
return {
|
|
1915
|
+
type: "cosmos-sdk/Params",
|
|
1916
|
+
value: Params.toAmino(message)
|
|
1917
|
+
};
|
|
1918
|
+
},
|
|
1919
|
+
fromProtoMsg(message) {
|
|
1920
|
+
return Params.decode(message.value);
|
|
1921
|
+
},
|
|
1922
|
+
toProto(message) {
|
|
1923
|
+
return Params.encode(message).finish();
|
|
1924
|
+
},
|
|
1925
|
+
toProtoMsg(message) {
|
|
1926
|
+
return {
|
|
1927
|
+
typeUrl: "/cosmos.staking.v1beta1.Params",
|
|
1928
|
+
value: Params.encode(message).finish()
|
|
1929
|
+
};
|
|
955
1930
|
}
|
|
956
1931
|
};
|
|
957
1932
|
function createBaseDelegationResponse() {
|
|
958
1933
|
return {
|
|
959
|
-
delegation:
|
|
960
|
-
balance:
|
|
1934
|
+
delegation: Delegation.fromPartial({}),
|
|
1935
|
+
balance: Coin.fromPartial({})
|
|
961
1936
|
};
|
|
962
1937
|
}
|
|
963
1938
|
export const DelegationResponse = {
|
|
964
|
-
|
|
1939
|
+
typeUrl: "/cosmos.staking.v1beta1.DelegationResponse",
|
|
1940
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
965
1941
|
if (message.delegation !== undefined) {
|
|
966
1942
|
Delegation.encode(message.delegation, writer.uint32(10).fork()).ldelim();
|
|
967
1943
|
}
|
|
@@ -971,7 +1947,7 @@ export const DelegationResponse = {
|
|
|
971
1947
|
return writer;
|
|
972
1948
|
},
|
|
973
1949
|
decode(input, length) {
|
|
974
|
-
const reader = input instanceof
|
|
1950
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
975
1951
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
976
1952
|
const message = createBaseDelegationResponse();
|
|
977
1953
|
while (reader.pos < end) {
|
|
@@ -995,16 +1971,54 @@ export const DelegationResponse = {
|
|
|
995
1971
|
message.delegation = object.delegation !== undefined && object.delegation !== null ? Delegation.fromPartial(object.delegation) : undefined;
|
|
996
1972
|
message.balance = object.balance !== undefined && object.balance !== null ? Coin.fromPartial(object.balance) : undefined;
|
|
997
1973
|
return message;
|
|
1974
|
+
},
|
|
1975
|
+
fromAmino(object) {
|
|
1976
|
+
const message = createBaseDelegationResponse();
|
|
1977
|
+
if (object.delegation !== undefined && object.delegation !== null) {
|
|
1978
|
+
message.delegation = Delegation.fromAmino(object.delegation);
|
|
1979
|
+
}
|
|
1980
|
+
if (object.balance !== undefined && object.balance !== null) {
|
|
1981
|
+
message.balance = Coin.fromAmino(object.balance);
|
|
1982
|
+
}
|
|
1983
|
+
return message;
|
|
1984
|
+
},
|
|
1985
|
+
toAmino(message) {
|
|
1986
|
+
const obj = {};
|
|
1987
|
+
obj.delegation = message.delegation ? Delegation.toAmino(message.delegation) : undefined;
|
|
1988
|
+
obj.balance = message.balance ? Coin.toAmino(message.balance) : undefined;
|
|
1989
|
+
return obj;
|
|
1990
|
+
},
|
|
1991
|
+
fromAminoMsg(object) {
|
|
1992
|
+
return DelegationResponse.fromAmino(object.value);
|
|
1993
|
+
},
|
|
1994
|
+
toAminoMsg(message) {
|
|
1995
|
+
return {
|
|
1996
|
+
type: "cosmos-sdk/DelegationResponse",
|
|
1997
|
+
value: DelegationResponse.toAmino(message)
|
|
1998
|
+
};
|
|
1999
|
+
},
|
|
2000
|
+
fromProtoMsg(message) {
|
|
2001
|
+
return DelegationResponse.decode(message.value);
|
|
2002
|
+
},
|
|
2003
|
+
toProto(message) {
|
|
2004
|
+
return DelegationResponse.encode(message).finish();
|
|
2005
|
+
},
|
|
2006
|
+
toProtoMsg(message) {
|
|
2007
|
+
return {
|
|
2008
|
+
typeUrl: "/cosmos.staking.v1beta1.DelegationResponse",
|
|
2009
|
+
value: DelegationResponse.encode(message).finish()
|
|
2010
|
+
};
|
|
998
2011
|
}
|
|
999
2012
|
};
|
|
1000
2013
|
function createBaseRedelegationEntryResponse() {
|
|
1001
2014
|
return {
|
|
1002
|
-
redelegationEntry:
|
|
2015
|
+
redelegationEntry: RedelegationEntry.fromPartial({}),
|
|
1003
2016
|
balance: ""
|
|
1004
2017
|
};
|
|
1005
2018
|
}
|
|
1006
2019
|
export const RedelegationEntryResponse = {
|
|
1007
|
-
|
|
2020
|
+
typeUrl: "/cosmos.staking.v1beta1.RedelegationEntryResponse",
|
|
2021
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1008
2022
|
if (message.redelegationEntry !== undefined) {
|
|
1009
2023
|
RedelegationEntry.encode(message.redelegationEntry, writer.uint32(10).fork()).ldelim();
|
|
1010
2024
|
}
|
|
@@ -1014,7 +2028,7 @@ export const RedelegationEntryResponse = {
|
|
|
1014
2028
|
return writer;
|
|
1015
2029
|
},
|
|
1016
2030
|
decode(input, length) {
|
|
1017
|
-
const reader = input instanceof
|
|
2031
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1018
2032
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1019
2033
|
const message = createBaseRedelegationEntryResponse();
|
|
1020
2034
|
while (reader.pos < end) {
|
|
@@ -1039,16 +2053,54 @@ export const RedelegationEntryResponse = {
|
|
|
1039
2053
|
message.redelegationEntry = object.redelegationEntry !== undefined && object.redelegationEntry !== null ? RedelegationEntry.fromPartial(object.redelegationEntry) : undefined;
|
|
1040
2054
|
message.balance = (_object$balance2 = object.balance) !== null && _object$balance2 !== void 0 ? _object$balance2 : "";
|
|
1041
2055
|
return message;
|
|
2056
|
+
},
|
|
2057
|
+
fromAmino(object) {
|
|
2058
|
+
const message = createBaseRedelegationEntryResponse();
|
|
2059
|
+
if (object.redelegation_entry !== undefined && object.redelegation_entry !== null) {
|
|
2060
|
+
message.redelegationEntry = RedelegationEntry.fromAmino(object.redelegation_entry);
|
|
2061
|
+
}
|
|
2062
|
+
if (object.balance !== undefined && object.balance !== null) {
|
|
2063
|
+
message.balance = object.balance;
|
|
2064
|
+
}
|
|
2065
|
+
return message;
|
|
2066
|
+
},
|
|
2067
|
+
toAmino(message) {
|
|
2068
|
+
const obj = {};
|
|
2069
|
+
obj.redelegation_entry = message.redelegationEntry ? RedelegationEntry.toAmino(message.redelegationEntry) : undefined;
|
|
2070
|
+
obj.balance = message.balance;
|
|
2071
|
+
return obj;
|
|
2072
|
+
},
|
|
2073
|
+
fromAminoMsg(object) {
|
|
2074
|
+
return RedelegationEntryResponse.fromAmino(object.value);
|
|
2075
|
+
},
|
|
2076
|
+
toAminoMsg(message) {
|
|
2077
|
+
return {
|
|
2078
|
+
type: "cosmos-sdk/RedelegationEntryResponse",
|
|
2079
|
+
value: RedelegationEntryResponse.toAmino(message)
|
|
2080
|
+
};
|
|
2081
|
+
},
|
|
2082
|
+
fromProtoMsg(message) {
|
|
2083
|
+
return RedelegationEntryResponse.decode(message.value);
|
|
2084
|
+
},
|
|
2085
|
+
toProto(message) {
|
|
2086
|
+
return RedelegationEntryResponse.encode(message).finish();
|
|
2087
|
+
},
|
|
2088
|
+
toProtoMsg(message) {
|
|
2089
|
+
return {
|
|
2090
|
+
typeUrl: "/cosmos.staking.v1beta1.RedelegationEntryResponse",
|
|
2091
|
+
value: RedelegationEntryResponse.encode(message).finish()
|
|
2092
|
+
};
|
|
1042
2093
|
}
|
|
1043
2094
|
};
|
|
1044
2095
|
function createBaseRedelegationResponse() {
|
|
1045
2096
|
return {
|
|
1046
|
-
redelegation:
|
|
2097
|
+
redelegation: Redelegation.fromPartial({}),
|
|
1047
2098
|
entries: []
|
|
1048
2099
|
};
|
|
1049
2100
|
}
|
|
1050
2101
|
export const RedelegationResponse = {
|
|
1051
|
-
|
|
2102
|
+
typeUrl: "/cosmos.staking.v1beta1.RedelegationResponse",
|
|
2103
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1052
2104
|
if (message.redelegation !== undefined) {
|
|
1053
2105
|
Redelegation.encode(message.redelegation, writer.uint32(10).fork()).ldelim();
|
|
1054
2106
|
}
|
|
@@ -1058,7 +2110,7 @@ export const RedelegationResponse = {
|
|
|
1058
2110
|
return writer;
|
|
1059
2111
|
},
|
|
1060
2112
|
decode(input, length) {
|
|
1061
|
-
const reader = input instanceof
|
|
2113
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1062
2114
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1063
2115
|
const message = createBaseRedelegationResponse();
|
|
1064
2116
|
while (reader.pos < end) {
|
|
@@ -1078,11 +2130,51 @@ export const RedelegationResponse = {
|
|
|
1078
2130
|
return message;
|
|
1079
2131
|
},
|
|
1080
2132
|
fromPartial(object) {
|
|
1081
|
-
var _object$
|
|
2133
|
+
var _object$entries5;
|
|
1082
2134
|
const message = createBaseRedelegationResponse();
|
|
1083
2135
|
message.redelegation = object.redelegation !== undefined && object.redelegation !== null ? Redelegation.fromPartial(object.redelegation) : undefined;
|
|
1084
|
-
message.entries = ((_object$
|
|
2136
|
+
message.entries = ((_object$entries5 = object.entries) === null || _object$entries5 === void 0 ? void 0 : _object$entries5.map(e => RedelegationEntryResponse.fromPartial(e))) || [];
|
|
2137
|
+
return message;
|
|
2138
|
+
},
|
|
2139
|
+
fromAmino(object) {
|
|
2140
|
+
var _object$entries6;
|
|
2141
|
+
const message = createBaseRedelegationResponse();
|
|
2142
|
+
if (object.redelegation !== undefined && object.redelegation !== null) {
|
|
2143
|
+
message.redelegation = Redelegation.fromAmino(object.redelegation);
|
|
2144
|
+
}
|
|
2145
|
+
message.entries = ((_object$entries6 = object.entries) === null || _object$entries6 === void 0 ? void 0 : _object$entries6.map(e => RedelegationEntryResponse.fromAmino(e))) || [];
|
|
1085
2146
|
return message;
|
|
2147
|
+
},
|
|
2148
|
+
toAmino(message) {
|
|
2149
|
+
const obj = {};
|
|
2150
|
+
obj.redelegation = message.redelegation ? Redelegation.toAmino(message.redelegation) : undefined;
|
|
2151
|
+
if (message.entries) {
|
|
2152
|
+
obj.entries = message.entries.map(e => e ? RedelegationEntryResponse.toAmino(e) : undefined);
|
|
2153
|
+
} else {
|
|
2154
|
+
obj.entries = [];
|
|
2155
|
+
}
|
|
2156
|
+
return obj;
|
|
2157
|
+
},
|
|
2158
|
+
fromAminoMsg(object) {
|
|
2159
|
+
return RedelegationResponse.fromAmino(object.value);
|
|
2160
|
+
},
|
|
2161
|
+
toAminoMsg(message) {
|
|
2162
|
+
return {
|
|
2163
|
+
type: "cosmos-sdk/RedelegationResponse",
|
|
2164
|
+
value: RedelegationResponse.toAmino(message)
|
|
2165
|
+
};
|
|
2166
|
+
},
|
|
2167
|
+
fromProtoMsg(message) {
|
|
2168
|
+
return RedelegationResponse.decode(message.value);
|
|
2169
|
+
},
|
|
2170
|
+
toProto(message) {
|
|
2171
|
+
return RedelegationResponse.encode(message).finish();
|
|
2172
|
+
},
|
|
2173
|
+
toProtoMsg(message) {
|
|
2174
|
+
return {
|
|
2175
|
+
typeUrl: "/cosmos.staking.v1beta1.RedelegationResponse",
|
|
2176
|
+
value: RedelegationResponse.encode(message).finish()
|
|
2177
|
+
};
|
|
1086
2178
|
}
|
|
1087
2179
|
};
|
|
1088
2180
|
function createBasePool() {
|
|
@@ -1092,7 +2184,8 @@ function createBasePool() {
|
|
|
1092
2184
|
};
|
|
1093
2185
|
}
|
|
1094
2186
|
export const Pool = {
|
|
1095
|
-
|
|
2187
|
+
typeUrl: "/cosmos.staking.v1beta1.Pool",
|
|
2188
|
+
encode(message, writer = BinaryWriter.create()) {
|
|
1096
2189
|
if (message.notBondedTokens !== "") {
|
|
1097
2190
|
writer.uint32(10).string(message.notBondedTokens);
|
|
1098
2191
|
}
|
|
@@ -1102,7 +2195,7 @@ export const Pool = {
|
|
|
1102
2195
|
return writer;
|
|
1103
2196
|
},
|
|
1104
2197
|
decode(input, length) {
|
|
1105
|
-
const reader = input instanceof
|
|
2198
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1106
2199
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1107
2200
|
const message = createBasePool();
|
|
1108
2201
|
while (reader.pos < end) {
|
|
@@ -1127,5 +2220,42 @@ export const Pool = {
|
|
|
1127
2220
|
message.notBondedTokens = (_object$notBondedToke = object.notBondedTokens) !== null && _object$notBondedToke !== void 0 ? _object$notBondedToke : "";
|
|
1128
2221
|
message.bondedTokens = (_object$bondedTokens = object.bondedTokens) !== null && _object$bondedTokens !== void 0 ? _object$bondedTokens : "";
|
|
1129
2222
|
return message;
|
|
2223
|
+
},
|
|
2224
|
+
fromAmino(object) {
|
|
2225
|
+
const message = createBasePool();
|
|
2226
|
+
if (object.not_bonded_tokens !== undefined && object.not_bonded_tokens !== null) {
|
|
2227
|
+
message.notBondedTokens = object.not_bonded_tokens;
|
|
2228
|
+
}
|
|
2229
|
+
if (object.bonded_tokens !== undefined && object.bonded_tokens !== null) {
|
|
2230
|
+
message.bondedTokens = object.bonded_tokens;
|
|
2231
|
+
}
|
|
2232
|
+
return message;
|
|
2233
|
+
},
|
|
2234
|
+
toAmino(message) {
|
|
2235
|
+
const obj = {};
|
|
2236
|
+
obj.not_bonded_tokens = message.notBondedTokens;
|
|
2237
|
+
obj.bonded_tokens = message.bondedTokens;
|
|
2238
|
+
return obj;
|
|
2239
|
+
},
|
|
2240
|
+
fromAminoMsg(object) {
|
|
2241
|
+
return Pool.fromAmino(object.value);
|
|
2242
|
+
},
|
|
2243
|
+
toAminoMsg(message) {
|
|
2244
|
+
return {
|
|
2245
|
+
type: "cosmos-sdk/Pool",
|
|
2246
|
+
value: Pool.toAmino(message)
|
|
2247
|
+
};
|
|
2248
|
+
},
|
|
2249
|
+
fromProtoMsg(message) {
|
|
2250
|
+
return Pool.decode(message.value);
|
|
2251
|
+
},
|
|
2252
|
+
toProto(message) {
|
|
2253
|
+
return Pool.encode(message).finish();
|
|
2254
|
+
},
|
|
2255
|
+
toProtoMsg(message) {
|
|
2256
|
+
return {
|
|
2257
|
+
typeUrl: "/cosmos.staking.v1beta1.Pool",
|
|
2258
|
+
value: Pool.encode(message).finish()
|
|
2259
|
+
};
|
|
1130
2260
|
}
|
|
1131
2261
|
};
|