juno-network 0.15.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -4
- package/main/codegen/JunoSwap.client.js +165 -184
- package/main/codegen/amino/amino.js +5 -0
- package/main/codegen/amino/bundle.js +16 -0
- package/main/codegen/binary.js +478 -0
- package/main/codegen/confio/proofs.js +836 -72
- package/main/codegen/contracts.js +8 -4
- package/main/codegen/cosmos/app/v1alpha1/config.js +221 -0
- package/main/codegen/cosmos/app/v1alpha1/module.js +324 -0
- package/main/codegen/cosmos/app/v1alpha1/query.js +149 -0
- package/main/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +45 -0
- package/main/codegen/cosmos/auth/v1beta1/auth.js +382 -0
- package/main/codegen/cosmos/auth/v1beta1/genesis.js +120 -0
- package/main/codegen/cosmos/auth/v1beta1/query.js +1133 -0
- package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +223 -0
- package/main/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +128 -0
- package/main/codegen/cosmos/authz/v1beta1/authz.js +220 -13
- package/main/codegen/cosmos/authz/v1beta1/event.js +101 -8
- package/main/codegen/cosmos/authz/v1beta1/genesis.js +51 -7
- package/main/codegen/cosmos/authz/v1beta1/query.js +311 -21
- package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +65 -69
- package/main/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +5 -7
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +25 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.js +312 -18
- package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +83 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +5 -7
- package/main/codegen/cosmos/bank/v1beta1/authz.js +66 -7
- package/main/codegen/cosmos/bank/v1beta1/bank.js +425 -21
- package/main/codegen/cosmos/bank/v1beta1/genesis.js +138 -10
- package/main/codegen/cosmos/bank/v1beta1/query.js +964 -49
- package/main/codegen/cosmos/bank/v1beta1/query.lcd.js +148 -163
- package/main/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +11 -13
- package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -86
- package/main/codegen/cosmos/bank/v1beta1/tx.js +194 -13
- package/main/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +4 -6
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +677 -60
- package/main/codegen/cosmos/base/kv/v1beta1/kv.js +197 -0
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +162 -17
- package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +362 -0
- package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1230 -57
- package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +916 -0
- package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +326 -0
- package/main/codegen/cosmos/base/store/v1beta1/listening.js +140 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1431 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +202 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +115 -0
- package/main/codegen/cosmos/base/v1beta1/coin.js +207 -12
- package/main/codegen/cosmos/bundle.js +274 -105
- package/main/codegen/cosmos/capability/v1beta1/capability.js +300 -0
- package/main/codegen/cosmos/capability/v1beta1/genesis.js +208 -0
- package/main/codegen/cosmos/client.js +37 -23
- package/main/codegen/cosmos/crisis/v1beta1/genesis.js +85 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.js +173 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/crypto/ed25519/keys.js +113 -8
- package/main/codegen/cosmos/crypto/hd/v1/hd.js +59 -6
- package/main/codegen/cosmos/crypto/keyring/v1/record.js +236 -14
- package/main/codegen/cosmos/crypto/multisig/keys.js +67 -7
- package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +125 -9
- package/main/codegen/cosmos/crypto/secp256k1/keys.js +104 -8
- package/main/codegen/cosmos/crypto/secp256r1/keys.js +86 -8
- package/main/codegen/cosmos/distribution/v1beta1/distribution.js +788 -56
- package/main/codegen/cosmos/distribution/v1beta1/genesis.js +514 -38
- package/main/codegen/cosmos/distribution/v1beta1/query.js +970 -53
- package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +107 -124
- package/main/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +11 -13
- package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -70
- package/main/codegen/cosmos/distribution/v1beta1/tx.js +403 -25
- package/main/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +6 -8
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +132 -0
- package/main/codegen/cosmos/evidence/v1beta1/genesis.js +107 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.js +371 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +87 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +60 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.js +186 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +512 -0
- package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +107 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.js +575 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.lcd.js +114 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +70 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +20 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.js +337 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +65 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +43 -0
- package/main/codegen/cosmos/genutil/v1beta1/genesis.js +107 -0
- package/main/codegen/cosmos/gov/v1/genesis.js +90 -11
- package/main/codegen/cosmos/gov/v1/gov.js +497 -58
- package/main/codegen/cosmos/gov/v1/query.js +770 -56
- package/main/codegen/cosmos/gov/v1/query.lcd.js +107 -123
- package/main/codegen/cosmos/gov/v1/query.rpc.Query.js +10 -12
- package/main/codegen/cosmos/gov/v1/tx.amino.js +11 -156
- package/main/codegen/cosmos/gov/v1/tx.js +511 -38
- package/main/codegen/cosmos/gov/v1/tx.rpc.msg.js +7 -9
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +93 -14
- package/main/codegen/cosmos/gov/v1beta1/gov.js +560 -69
- package/main/codegen/cosmos/gov/v1beta1/query.js +777 -63
- package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +107 -123
- package/main/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +10 -12
- package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -118
- package/main/codegen/cosmos/gov/v1beta1/tx.js +424 -34
- package/main/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +6 -8
- package/main/codegen/cosmos/group/v1/events.js +729 -0
- package/main/codegen/cosmos/group/v1/genesis.js +259 -0
- package/main/codegen/cosmos/group/v1/query.js +2377 -0
- package/main/codegen/cosmos/group/v1/query.lcd.js +398 -0
- package/main/codegen/cosmos/group/v1/query.rpc.Query.js +200 -0
- package/main/codegen/cosmos/group/v1/tx.amino.js +80 -0
- package/main/codegen/cosmos/group/v1/tx.js +2590 -0
- package/main/codegen/cosmos/group/v1/tx.registry.js +281 -0
- package/main/codegen/cosmos/group/v1/tx.rpc.msg.js +163 -0
- package/main/codegen/cosmos/group/v1/types.js +1607 -0
- package/main/codegen/cosmos/lcd.js +255 -128
- package/main/codegen/cosmos/mint/v1beta1/genesis.js +97 -0
- package/main/codegen/cosmos/mint/v1beta1/mint.js +236 -0
- package/main/codegen/cosmos/mint/v1beta1/query.js +461 -0
- package/main/codegen/cosmos/mint/v1beta1/query.lcd.js +108 -0
- package/main/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +73 -0
- package/main/codegen/cosmos/msg/v1/msg.js +5 -0
- package/main/codegen/cosmos/nft/v1beta1/event.js +325 -0
- package/main/codegen/cosmos/nft/v1beta1/genesis.js +244 -0
- package/main/codegen/cosmos/nft/v1beta1/nft.js +284 -0
- package/main/codegen/cosmos/nft/v1beta1/query.js +1219 -0
- package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +226 -0
- package/main/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +125 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.js +185 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/orm/v1/orm.js +400 -0
- package/main/codegen/cosmos/orm/v1alpha1/schema.js +278 -0
- package/main/codegen/cosmos/params/v1beta1/params.js +241 -0
- package/main/codegen/cosmos/params/v1beta1/query.js +473 -0
- package/main/codegen/cosmos/params/v1beta1/query.lcd.js +87 -0
- package/main/codegen/cosmos/params/v1beta1/query.rpc.Query.js +58 -0
- package/main/codegen/cosmos/rpc.query.js +198 -97
- package/main/codegen/cosmos/rpc.tx.js +178 -96
- package/main/codegen/cosmos/slashing/v1beta1/genesis.js +445 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.js +529 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +115 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +74 -0
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +283 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +15 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.js +149 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +47 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +33 -0
- package/main/codegen/cosmos/staking/v1beta1/authz.js +120 -26
- package/main/codegen/cosmos/staking/v1beta1/genesis.js +153 -13
- package/main/codegen/cosmos/staking/v1beta1/query.js +1467 -72
- package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +205 -229
- package/main/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +16 -18
- package/main/codegen/cosmos/staking/v1beta1/staking.js +1257 -98
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -189
- package/main/codegen/cosmos/staking/v1beta1/tx.js +513 -35
- package/main/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +7 -9
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +273 -43
- package/main/codegen/cosmos/tx/v1beta1/service.js +603 -54
- package/main/codegen/cosmos/tx/v1beta1/service.lcd.js +52 -57
- package/main/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +7 -9
- package/main/codegen/cosmos/tx/v1beta1/tx.js +856 -53
- package/main/codegen/cosmos/upgrade/v1beta1/query.js +523 -31
- package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +69 -77
- package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +7 -9
- package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -47
- package/main/codegen/cosmos/upgrade/v1beta1/tx.js +214 -13
- package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +4 -6
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +248 -20
- package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +25 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +636 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +83 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +53 -0
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +718 -0
- package/main/codegen/cosmos_proto/bundle.js +6 -6
- package/main/codegen/cosmos_proto/cosmos.js +129 -21
- package/main/codegen/cosmwasm/bundle.js +21 -21
- package/main/codegen/cosmwasm/client.js +21 -23
- package/main/codegen/cosmwasm/lcd.js +272 -145
- package/main/codegen/cosmwasm/rpc.query.js +211 -110
- package/main/codegen/cosmwasm/rpc.tx.js +193 -111
- package/main/codegen/cosmwasm/wasm/v1/authz.js +534 -34
- package/main/codegen/cosmwasm/wasm/v1/genesis.js +320 -24
- package/main/codegen/cosmwasm/wasm/v1/ibc.js +103 -14
- package/main/codegen/cosmwasm/wasm/v1/proposal.js +841 -45
- package/main/codegen/cosmwasm/wasm/v1/query.js +1232 -64
- package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +153 -175
- package/main/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +13 -15
- package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -217
- package/main/codegen/cosmwasm/wasm/v1/tx.js +742 -49
- package/main/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +9 -11
- package/main/codegen/cosmwasm/wasm/v1/types.js +447 -61
- package/main/codegen/gaia/bundle.js +12 -12
- package/main/codegen/gaia/globalfee/v1beta1/genesis.js +82 -10
- package/main/codegen/gaia/globalfee/v1beta1/query.js +95 -9
- package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +11 -13
- package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +3 -5
- package/main/codegen/gaia/lcd.js +272 -145
- package/main/codegen/gaia/rpc.query.js +211 -110
- package/main/codegen/gogoproto/bundle.js +6 -6
- package/main/codegen/google/api/annotations.js +5 -0
- package/main/codegen/google/api/http.js +1216 -0
- package/main/codegen/google/bundle.js +13 -10
- package/main/codegen/google/protobuf/any.js +278 -6
- package/main/codegen/google/protobuf/descriptor.js +1691 -171
- package/main/codegen/google/protobuf/duration.js +215 -10
- package/main/codegen/google/protobuf/empty.js +63 -6
- package/main/codegen/google/protobuf/timestamp.js +283 -9
- package/main/codegen/helpers.js +19 -53
- package/main/codegen/ibc/applications/transfer/v1/genesis.js +60 -8
- package/main/codegen/ibc/applications/transfer/v1/query.js +297 -17
- package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +40 -46
- package/main/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +5 -7
- package/main/codegen/ibc/applications/transfer/v1/transfer.js +117 -8
- package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -50
- package/main/codegen/ibc/applications/transfer/v1/tx.js +122 -14
- package/main/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +3 -5
- package/main/codegen/ibc/applications/transfer/v2/packet.js +67 -6
- package/main/codegen/ibc/bundle.js +71 -60
- package/main/codegen/ibc/client.js +21 -23
- package/main/codegen/ibc/core/channel/v1/channel.js +438 -57
- package/main/codegen/ibc/core/channel/v1/genesis.js +180 -16
- package/main/codegen/ibc/core/channel/v1/query.js +1604 -97
- package/main/codegen/ibc/core/channel/v1/query.lcd.js +184 -202
- package/main/codegen/ibc/core/channel/v1/query.rpc.Query.js +15 -17
- package/main/codegen/ibc/core/channel/v1/tx.amino.js +21 -470
- package/main/codegen/ibc/core/channel/v1/tx.js +1053 -64
- package/main/codegen/ibc/core/channel/v1/tx.rpc.msg.js +12 -14
- package/main/codegen/ibc/core/client/v1/client.js +438 -28
- package/main/codegen/ibc/core/client/v1/genesis.js +204 -15
- package/main/codegen/ibc/core/client/v1/query.js +874 -45
- package/main/codegen/ibc/core/client/v1/query.lcd.js +110 -124
- package/main/codegen/ibc/core/client/v1/query.rpc.Query.js +10 -12
- package/main/codegen/ibc/core/client/v1/tx.amino.js +9 -128
- package/main/codegen/ibc/core/client/v1/tx.js +402 -20
- package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +6 -8
- package/main/codegen/ibc/core/commitment/v1/commitment.js +236 -13
- package/main/codegen/ibc/core/connection/v1/connection.js +434 -52
- package/main/codegen/ibc/core/connection/v1/genesis.js +73 -12
- package/main/codegen/ibc/core/connection/v1/query.js +592 -36
- package/main/codegen/ibc/core/connection/v1/query.lcd.js +68 -75
- package/main/codegen/ibc/core/connection/v1/query.rpc.Query.js +7 -9
- package/main/codegen/ibc/core/connection/v1/tx.amino.js +9 -248
- package/main/codegen/ibc/core/connection/v1/tx.js +504 -34
- package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +6 -8
- package/main/codegen/ibc/core/port/v1/query.js +224 -0
- package/main/codegen/ibc/core/port/v1/query.rpc.Query.js +44 -0
- package/main/codegen/ibc/core/types/v1/genesis.js +111 -0
- package/main/codegen/ibc/lcd.js +320 -193
- package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -7
- package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +933 -91
- package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +930 -88
- package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +378 -30
- package/main/codegen/ibc/rpc.query.js +257 -146
- package/main/codegen/ibc/rpc.tx.js +235 -153
- package/main/codegen/ics23/bundle.js +6 -6
- package/main/codegen/index.js +74 -41
- package/main/codegen/juno/bundle.js +77 -24
- package/main/codegen/juno/client.js +33 -25
- package/main/codegen/juno/clock/v1/genesis.js +183 -0
- package/main/codegen/juno/clock/v1/query.js +288 -0
- package/main/codegen/juno/clock/v1/query.lcd.js +80 -0
- package/main/codegen/juno/clock/v1/query.rpc.Query.js +59 -0
- package/main/codegen/juno/clock/v1/tx.amino.js +15 -0
- package/main/codegen/juno/clock/v1/tx.js +177 -0
- package/main/codegen/juno/clock/v1/tx.registry.js +47 -0
- package/main/codegen/juno/clock/v1/tx.rpc.msg.js +33 -0
- package/main/codegen/juno/cwhooks/v1/genesis.js +212 -0
- package/main/codegen/juno/cwhooks/v1/query.js +436 -0
- package/main/codegen/juno/cwhooks/v1/query.lcd.js +108 -0
- package/main/codegen/juno/cwhooks/v1/query.rpc.Query.js +73 -0
- package/main/codegen/juno/cwhooks/v1/tx.amino.js +35 -0
- package/main/codegen/juno/cwhooks/v1/tx.js +745 -0
- package/main/codegen/juno/cwhooks/v1/tx.registry.js +119 -0
- package/main/codegen/juno/cwhooks/v1/tx.rpc.msg.js +73 -0
- package/main/codegen/juno/drip/v1/genesis.js +183 -0
- package/main/codegen/juno/drip/v1/query.js +137 -0
- package/main/codegen/juno/drip/v1/query.lcd.js +52 -0
- package/main/codegen/juno/drip/v1/query.rpc.Query.js +45 -0
- package/main/codegen/juno/drip/v1/tx.amino.js +20 -0
- package/main/codegen/juno/drip/v1/tx.js +326 -0
- package/main/codegen/juno/drip/v1/tx.registry.js +65 -0
- package/main/codegen/juno/drip/v1/tx.rpc.msg.js +43 -0
- package/main/codegen/juno/feepay/v1/feepay.js +217 -0
- package/main/codegen/juno/feepay/v1/genesis.js +185 -0
- package/main/codegen/juno/feepay/v1/query.js +769 -0
- package/main/codegen/juno/feepay/v1/query.lcd.js +165 -0
- package/main/codegen/juno/feepay/v1/query.rpc.Query.js +100 -0
- package/main/codegen/juno/feepay/v1/tx.amino.js +35 -0
- package/main/codegen/juno/feepay/v1/tx.js +792 -0
- package/main/codegen/juno/feepay/v1/tx.registry.js +119 -0
- package/main/codegen/juno/feepay/v1/tx.rpc.msg.js +73 -0
- package/main/codegen/juno/feeshare/v1/feeshare.js +54 -6
- package/main/codegen/juno/feeshare/v1/genesis.js +104 -12
- package/main/codegen/juno/feeshare/v1/query.js +446 -27
- package/main/codegen/juno/feeshare/v1/query.lcd.js +78 -86
- package/main/codegen/juno/feeshare/v1/query.rpc.Query.js +7 -9
- package/main/codegen/juno/feeshare/v1/tx.amino.js +12 -56
- package/main/codegen/juno/feeshare/v1/tx.js +406 -18
- package/main/codegen/juno/feeshare/v1/tx.registry.js +19 -1
- package/main/codegen/juno/feeshare/v1/tx.rpc.msg.js +15 -7
- package/main/codegen/juno/lcd.js +339 -156
- package/main/codegen/juno/mint/genesis.js +43 -8
- package/main/codegen/juno/mint/mint.js +117 -24
- package/main/codegen/juno/mint/query.js +384 -19
- package/main/codegen/juno/mint/query.lcd.js +61 -39
- package/main/codegen/juno/mint/query.rpc.Query.js +19 -7
- package/main/codegen/juno/mint/tx.amino.js +15 -0
- package/main/codegen/juno/mint/tx.js +177 -0
- package/main/codegen/juno/mint/tx.registry.js +47 -0
- package/main/codegen/juno/mint/tx.rpc.msg.js +33 -0
- package/main/codegen/juno/rpc.query.js +258 -117
- package/main/codegen/juno/rpc.tx.js +250 -111
- package/main/codegen/osmosis/bundle.js +19 -19
- package/main/codegen/osmosis/client.js +21 -23
- package/main/codegen/osmosis/lcd.js +272 -145
- package/main/codegen/osmosis/rpc.query.js +211 -110
- package/main/codegen/osmosis/rpc.tx.js +193 -111
- package/main/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -6
- package/main/codegen/osmosis/tokenfactory/v1beta1/genesis.js +115 -11
- package/main/codegen/osmosis/tokenfactory/v1beta1/params.js +64 -8
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.js +295 -19
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +37 -41
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +5 -7
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -165
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +785 -34
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +19 -1
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +18 -10
- package/main/codegen/router/bundle.js +12 -12
- package/main/codegen/router/lcd.js +269 -142
- package/main/codegen/router/rpc.query.js +208 -107
- package/main/codegen/router/v1/genesis.js +221 -24
- package/main/codegen/router/v1/query.js +69 -8
- package/main/codegen/router/v1/query.lcd.js +11 -13
- package/main/codegen/router/v1/query.rpc.Query.js +3 -5
- package/main/codegen/tendermint/abci/types.js +2058 -229
- package/main/codegen/tendermint/bundle.js +21 -21
- package/main/codegen/tendermint/crypto/keys.js +42 -6
- package/main/codegen/tendermint/crypto/proof.js +228 -21
- package/main/codegen/tendermint/libs/bits/types.js +47 -12
- package/main/codegen/tendermint/p2p/types.js +230 -26
- package/main/codegen/tendermint/types/block.js +46 -9
- package/main/codegen/tendermint/types/evidence.js +198 -27
- package/main/codegen/tendermint/types/params.js +316 -47
- package/main/codegen/tendermint/types/types.js +680 -87
- package/main/codegen/tendermint/types/validator.js +136 -24
- package/main/codegen/tendermint/version/types.js +114 -18
- package/main/codegen/utf8.js +129 -0
- package/main/codegen/varint.js +440 -0
- package/module/codegen/amino/amino.js +1 -0
- package/module/codegen/amino/bundle.js +5 -0
- package/module/codegen/binary.js +374 -0
- package/module/codegen/confio/proofs.js +806 -67
- package/module/codegen/contracts.js +2 -2
- package/module/codegen/cosmos/app/v1alpha1/config.js +193 -0
- package/module/codegen/cosmos/app/v1alpha1/module.js +279 -0
- package/module/codegen/cosmos/app/v1alpha1/query.js +139 -0
- package/module/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +27 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +352 -0
- package/module/codegen/cosmos/auth/v1beta1/genesis.js +94 -0
- package/module/codegen/cosmos/auth/v1beta1/query.js +1066 -0
- package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +62 -0
- package/module/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +83 -0
- package/module/codegen/cosmos/authz/v1beta1/authz.js +210 -9
- package/module/codegen/cosmos/authz/v1beta1/event.js +101 -5
- package/module/codegen/cosmos/authz/v1beta1/genesis.js +46 -3
- package/module/codegen/cosmos/authz/v1beta1/query.js +298 -17
- package/module/codegen/cosmos/authz/v1beta1/query.lcd.js +0 -3
- package/module/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +4 -4
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +18 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.js +303 -14
- package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +69 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +4 -4
- package/module/codegen/cosmos/bank/v1beta1/authz.js +61 -3
- package/module/codegen/cosmos/bank/v1beta1/bank.js +400 -17
- package/module/codegen/cosmos/bank/v1beta1/genesis.js +121 -6
- package/module/codegen/cosmos/bank/v1beta1/query.js +943 -45
- package/module/codegen/cosmos/bank/v1beta1/query.lcd.js +0 -9
- package/module/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +10 -10
- package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -70
- package/module/codegen/cosmos/bank/v1beta1/tx.js +181 -9
- package/module/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +3 -3
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +636 -57
- package/module/codegen/cosmos/base/kv/v1beta1/kv.js +169 -0
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +153 -15
- package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +315 -0
- package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1197 -53
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +859 -0
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +296 -0
- package/module/codegen/cosmos/base/store/v1beta1/listening.js +132 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1347 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +60 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +74 -0
- package/module/codegen/cosmos/base/v1beta1/coin.js +207 -9
- package/module/codegen/cosmos/bundle.js +272 -103
- package/module/codegen/cosmos/capability/v1beta1/capability.js +270 -0
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +180 -0
- package/module/codegen/cosmos/client.js +21 -5
- package/module/codegen/cosmos/crisis/v1beta1/genesis.js +77 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.js +163 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/crypto/ed25519/keys.js +113 -5
- package/module/codegen/cosmos/crypto/hd/v1/hd.js +59 -3
- package/module/codegen/cosmos/crypto/keyring/v1/record.js +236 -11
- package/module/codegen/cosmos/crypto/multisig/keys.js +62 -3
- package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +120 -5
- package/module/codegen/cosmos/crypto/secp256k1/keys.js +104 -5
- package/module/codegen/cosmos/crypto/secp256r1/keys.js +86 -5
- package/module/codegen/cosmos/distribution/v1beta1/distribution.js +753 -52
- package/module/codegen/cosmos/distribution/v1beta1/genesis.js +475 -34
- package/module/codegen/cosmos/distribution/v1beta1/query.js +943 -49
- package/module/codegen/cosmos/distribution/v1beta1/query.lcd.js +0 -9
- package/module/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +10 -10
- package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -74
- package/module/codegen/cosmos/distribution/v1beta1/tx.js +390 -21
- package/module/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +5 -5
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +124 -0
- package/module/codegen/cosmos/evidence/v1beta1/genesis.js +81 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.js +339 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +30 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +38 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.js +176 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +435 -0
- package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +81 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.js +524 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.lcd.js +41 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +13 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.js +323 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +51 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +23 -0
- package/module/codegen/cosmos/genutil/v1beta1/genesis.js +81 -0
- package/module/codegen/cosmos/gov/v1/genesis.js +75 -7
- package/module/codegen/cosmos/gov/v1/gov.js +471 -56
- package/module/codegen/cosmos/gov/v1/query.js +756 -53
- package/module/codegen/cosmos/gov/v1/query.lcd.js +0 -8
- package/module/codegen/cosmos/gov/v1/query.rpc.Query.js +9 -9
- package/module/codegen/cosmos/gov/v1/tx.amino.js +11 -150
- package/module/codegen/cosmos/gov/v1/tx.js +490 -35
- package/module/codegen/cosmos/gov/v1/tx.rpc.msg.js +6 -6
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +78 -10
- package/module/codegen/cosmos/gov/v1beta1/gov.js +538 -67
- package/module/codegen/cosmos/gov/v1beta1/query.js +763 -60
- package/module/codegen/cosmos/gov/v1beta1/query.lcd.js +0 -8
- package/module/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +9 -9
- package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -114
- package/module/codegen/cosmos/gov/v1beta1/tx.js +407 -31
- package/module/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +5 -5
- package/module/codegen/cosmos/group/v1/events.js +705 -0
- package/module/codegen/cosmos/group/v1/genesis.js +173 -0
- package/module/codegen/cosmos/group/v1/query.js +2196 -0
- package/module/codegen/cosmos/group/v1/query.lcd.js +136 -0
- package/module/codegen/cosmos/group/v1/query.rpc.Query.js +135 -0
- package/module/codegen/cosmos/group/v1/tx.amino.js +73 -0
- package/module/codegen/cosmos/group/v1/tx.js +2445 -0
- package/module/codegen/cosmos/group/v1/tx.registry.js +267 -0
- package/module/codegen/cosmos/group/v1/tx.rpc.msg.js +95 -0
- package/module/codegen/cosmos/group/v1/types.js +1511 -0
- package/module/codegen/cosmos/lcd.js +48 -1
- package/module/codegen/cosmos/mint/v1beta1/genesis.js +89 -0
- package/module/codegen/cosmos/mint/v1beta1/mint.js +226 -0
- package/module/codegen/cosmos/mint/v1beta1/query.js +443 -0
- package/module/codegen/cosmos/mint/v1beta1/query.lcd.js +27 -0
- package/module/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/cosmos/msg/v1/msg.js +1 -0
- package/module/codegen/cosmos/nft/v1beta1/event.js +313 -0
- package/module/codegen/cosmos/nft/v1beta1/genesis.js +186 -0
- package/module/codegen/cosmos/nft/v1beta1/nft.js +274 -0
- package/module/codegen/cosmos/nft/v1beta1/query.js +1152 -0
- package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +73 -0
- package/module/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +83 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.js +175 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/orm/v1/orm.js +368 -0
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +245 -0
- package/module/codegen/cosmos/params/v1beta1/params.js +213 -0
- package/module/codegen/cosmos/params/v1beta1/query.js +424 -0
- package/module/codegen/cosmos/params/v1beta1/query.lcd.js +31 -0
- package/module/codegen/cosmos/params/v1beta1/query.rpc.Query.js +36 -0
- package/module/codegen/cosmos/rpc.query.js +32 -0
- package/module/codegen/cosmos/rpc.tx.js +21 -0
- package/module/codegen/cosmos/slashing/v1beta1/genesis.js +383 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.js +493 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +36 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +47 -0
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +273 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +8 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.js +139 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +33 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/staking/v1beta1/authz.js +111 -22
- package/module/codegen/cosmos/staking/v1beta1/genesis.js +131 -10
- package/module/codegen/cosmos/staking/v1beta1/query.js +1436 -68
- package/module/codegen/cosmos/staking/v1beta1/query.lcd.js +0 -14
- package/module/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +15 -15
- package/module/codegen/cosmos/staking/v1beta1/staking.js +1225 -95
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -199
- package/module/codegen/cosmos/staking/v1beta1/tx.js +511 -32
- package/module/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +6 -6
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +261 -40
- package/module/codegen/cosmos/tx/v1beta1/service.js +581 -52
- package/module/codegen/cosmos/tx/v1beta1/service.lcd.js +0 -3
- package/module/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +6 -6
- package/module/codegen/cosmos/tx/v1beta1/tx.js +818 -50
- package/module/codegen/cosmos/upgrade/v1beta1/query.js +514 -28
- package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +0 -5
- package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +6 -6
- package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -51
- package/module/codegen/cosmos/upgrade/v1beta1/tx.js +214 -10
- package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +3 -3
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +247 -18
- package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +18 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +570 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +69 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +29 -0
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +622 -0
- package/module/codegen/cosmos_proto/bundle.js +4 -4
- package/module/codegen/cosmos_proto/cosmos.js +121 -15
- package/module/codegen/cosmwasm/bundle.js +19 -19
- package/module/codegen/cosmwasm/client.js +3 -3
- package/module/codegen/cosmwasm/lcd.js +48 -1
- package/module/codegen/cosmwasm/rpc.query.js +32 -0
- package/module/codegen/cosmwasm/rpc.tx.js +21 -0
- package/module/codegen/cosmwasm/wasm/v1/authz.js +504 -30
- package/module/codegen/cosmwasm/wasm/v1/genesis.js +294 -21
- package/module/codegen/cosmwasm/wasm/v1/ibc.js +102 -12
- package/module/codegen/cosmwasm/wasm/v1/proposal.js +815 -42
- package/module/codegen/cosmwasm/wasm/v1/query.js +1203 -61
- package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +0 -11
- package/module/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +12 -12
- package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -219
- package/module/codegen/cosmwasm/wasm/v1/tx.js +728 -46
- package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +8 -8
- package/module/codegen/cosmwasm/wasm/v1/types.js +437 -59
- package/module/codegen/gaia/bundle.js +10 -10
- package/module/codegen/gaia/globalfee/v1beta1/genesis.js +77 -6
- package/module/codegen/gaia/globalfee/v1beta1/query.js +90 -5
- package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +0 -1
- package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +2 -2
- package/module/codegen/gaia/lcd.js +48 -1
- package/module/codegen/gaia/rpc.query.js +32 -0
- package/module/codegen/gogoproto/bundle.js +4 -4
- package/module/codegen/google/api/annotations.js +1 -0
- package/module/codegen/google/api/http.js +1171 -0
- package/module/codegen/google/bundle.js +11 -8
- package/module/codegen/google/protobuf/any.js +278 -3
- package/module/codegen/google/protobuf/descriptor.js +1534 -165
- package/module/codegen/google/protobuf/duration.js +154 -7
- package/module/codegen/google/protobuf/empty.js +63 -3
- package/module/codegen/google/protobuf/timestamp.js +199 -7
- package/module/codegen/helpers.js +19 -46
- package/module/codegen/ibc/applications/transfer/v1/genesis.js +55 -4
- package/module/codegen/ibc/applications/transfer/v1/query.js +292 -13
- package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +0 -3
- package/module/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +4 -4
- package/module/codegen/ibc/applications/transfer/v1/transfer.js +117 -5
- package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -52
- package/module/codegen/ibc/applications/transfer/v1/tx.js +116 -11
- package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +2 -2
- package/module/codegen/ibc/applications/transfer/v2/packet.js +67 -3
- package/module/codegen/ibc/bundle.js +69 -58
- package/module/codegen/ibc/client.js +3 -3
- package/module/codegen/ibc/core/channel/v1/channel.js +424 -55
- package/module/codegen/ibc/core/channel/v1/genesis.js +149 -12
- package/module/codegen/ibc/core/channel/v1/query.js +1565 -93
- package/module/codegen/ibc/core/channel/v1/query.lcd.js +0 -13
- package/module/codegen/ibc/core/channel/v1/query.rpc.Query.js +14 -14
- package/module/codegen/ibc/core/channel/v1/tx.amino.js +21 -490
- package/module/codegen/ibc/core/channel/v1/tx.js +1049 -62
- package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +11 -11
- package/module/codegen/ibc/core/client/v1/client.js +424 -24
- package/module/codegen/ibc/core/client/v1/genesis.js +186 -12
- package/module/codegen/ibc/core/client/v1/query.js +861 -42
- package/module/codegen/ibc/core/client/v1/query.lcd.js +0 -8
- package/module/codegen/ibc/core/client/v1/query.rpc.Query.js +9 -9
- package/module/codegen/ibc/core/client/v1/tx.amino.js +9 -136
- package/module/codegen/ibc/core/client/v1/tx.js +402 -17
- package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +5 -5
- package/module/codegen/ibc/core/commitment/v1/commitment.js +227 -9
- package/module/codegen/ibc/core/connection/v1/connection.js +409 -48
- package/module/codegen/ibc/core/connection/v1/genesis.js +62 -8
- package/module/codegen/ibc/core/connection/v1/query.js +579 -33
- package/module/codegen/ibc/core/connection/v1/query.lcd.js +0 -5
- package/module/codegen/ibc/core/connection/v1/query.rpc.Query.js +6 -6
- package/module/codegen/ibc/core/connection/v1/tx.amino.js +9 -252
- package/module/codegen/ibc/core/connection/v1/tx.js +495 -31
- package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +5 -5
- package/module/codegen/ibc/core/port/v1/query.js +214 -0
- package/module/codegen/ibc/core/port/v1/query.rpc.Query.js +27 -0
- package/module/codegen/ibc/core/types/v1/genesis.js +103 -0
- package/module/codegen/ibc/lcd.js +48 -1
- package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -4
- package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +930 -89
- package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +927 -86
- package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +365 -27
- package/module/codegen/ibc/rpc.query.js +35 -0
- package/module/codegen/ibc/rpc.tx.js +21 -0
- package/module/codegen/ics23/bundle.js +4 -4
- package/module/codegen/index.js +5 -2
- package/module/codegen/juno/bundle.js +75 -22
- package/module/codegen/juno/client.js +15 -5
- package/module/codegen/juno/clock/v1/genesis.js +155 -0
- package/module/codegen/juno/clock/v1/query.js +256 -0
- package/module/codegen/juno/clock/v1/query.lcd.js +21 -0
- package/module/codegen/juno/clock/v1/query.rpc.Query.js +36 -0
- package/module/codegen/juno/clock/v1/tx.amino.js +8 -0
- package/module/codegen/juno/clock/v1/tx.js +167 -0
- package/module/codegen/juno/clock/v1/tx.registry.js +33 -0
- package/module/codegen/juno/clock/v1/tx.rpc.msg.js +17 -0
- package/module/codegen/juno/cwhooks/v1/genesis.js +169 -0
- package/module/codegen/juno/cwhooks/v1/query.js +385 -0
- package/module/codegen/juno/cwhooks/v1/query.lcd.js +27 -0
- package/module/codegen/juno/cwhooks/v1/query.rpc.Query.js +45 -0
- package/module/codegen/juno/cwhooks/v1/tx.amino.js +28 -0
- package/module/codegen/juno/cwhooks/v1/tx.js +719 -0
- package/module/codegen/juno/cwhooks/v1/tx.registry.js +105 -0
- package/module/codegen/juno/cwhooks/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/juno/drip/v1/genesis.js +155 -0
- package/module/codegen/juno/drip/v1/query.js +127 -0
- package/module/codegen/juno/drip/v1/query.lcd.js +15 -0
- package/module/codegen/juno/drip/v1/query.rpc.Query.js +27 -0
- package/module/codegen/juno/drip/v1/tx.amino.js +13 -0
- package/module/codegen/juno/drip/v1/tx.js +294 -0
- package/module/codegen/juno/drip/v1/tx.registry.js +51 -0
- package/module/codegen/juno/drip/v1/tx.rpc.msg.js +23 -0
- package/module/codegen/juno/feepay/v1/feepay.js +207 -0
- package/module/codegen/juno/feepay/v1/genesis.js +157 -0
- package/module/codegen/juno/feepay/v1/query.js +725 -0
- package/module/codegen/juno/feepay/v1/query.lcd.js +48 -0
- package/module/codegen/juno/feepay/v1/query.rpc.Query.js +65 -0
- package/module/codegen/juno/feepay/v1/tx.amino.js +28 -0
- package/module/codegen/juno/feepay/v1/tx.js +748 -0
- package/module/codegen/juno/feepay/v1/tx.registry.js +105 -0
- package/module/codegen/juno/feepay/v1/tx.rpc.msg.js +41 -0
- package/module/codegen/juno/feeshare/v1/feeshare.js +54 -3
- package/module/codegen/juno/feeshare/v1/genesis.js +95 -8
- package/module/codegen/juno/feeshare/v1/query.js +433 -23
- package/module/codegen/juno/feeshare/v1/query.lcd.js +0 -5
- package/module/codegen/juno/feeshare/v1/query.rpc.Query.js +6 -6
- package/module/codegen/juno/feeshare/v1/tx.amino.js +12 -62
- package/module/codegen/juno/feeshare/v1/tx.js +400 -13
- package/module/codegen/juno/feeshare/v1/tx.registry.js +20 -2
- package/module/codegen/juno/feeshare/v1/tx.rpc.msg.js +11 -5
- package/module/codegen/juno/lcd.js +68 -1
- package/module/codegen/juno/mint/genesis.js +43 -5
- package/module/codegen/juno/mint/mint.js +115 -21
- package/module/codegen/juno/mint/query.js +378 -14
- package/module/codegen/juno/mint/query.lcd.js +6 -3
- package/module/codegen/juno/mint/query.rpc.Query.js +14 -5
- package/module/codegen/juno/mint/tx.amino.js +8 -0
- package/module/codegen/juno/mint/tx.js +167 -0
- package/module/codegen/juno/mint/tx.registry.js +33 -0
- package/module/codegen/juno/mint/tx.rpc.msg.js +17 -0
- package/module/codegen/juno/rpc.query.js +44 -0
- package/module/codegen/juno/rpc.tx.js +35 -1
- package/module/codegen/osmosis/bundle.js +17 -17
- package/module/codegen/osmosis/client.js +3 -3
- package/module/codegen/osmosis/lcd.js +48 -1
- package/module/codegen/osmosis/rpc.query.js +32 -0
- package/module/codegen/osmosis/rpc.tx.js +21 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -3
- package/module/codegen/osmosis/tokenfactory/v1beta1/genesis.js +110 -7
- package/module/codegen/osmosis/tokenfactory/v1beta1/params.js +59 -4
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.js +290 -15
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +0 -3
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +4 -4
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -173
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +780 -30
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +20 -2
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +14 -8
- package/module/codegen/router/bundle.js +10 -10
- package/module/codegen/router/lcd.js +48 -1
- package/module/codegen/router/rpc.query.js +32 -0
- package/module/codegen/router/v1/genesis.js +217 -22
- package/module/codegen/router/v1/query.js +69 -5
- package/module/codegen/router/v1/query.lcd.js +0 -1
- package/module/codegen/router/v1/query.rpc.Query.js +2 -2
- package/module/codegen/tendermint/abci/types.js +1996 -220
- package/module/codegen/tendermint/bundle.js +19 -19
- package/module/codegen/tendermint/crypto/keys.js +42 -3
- package/module/codegen/tendermint/crypto/proof.js +221 -18
- package/module/codegen/tendermint/libs/bits/types.js +42 -8
- package/module/codegen/tendermint/p2p/types.js +226 -23
- package/module/codegen/tendermint/types/block.js +46 -6
- package/module/codegen/tendermint/types/evidence.js +191 -24
- package/module/codegen/tendermint/types/params.js +306 -43
- package/module/codegen/tendermint/types/types.js +666 -85
- package/module/codegen/tendermint/types/validator.js +132 -21
- package/module/codegen/tendermint/version/types.js +108 -15
- package/module/codegen/utf8.js +121 -0
- package/module/codegen/varint.js +420 -0
- package/package.json +8 -9
- package/src/codegen/amino/amino.ts +1 -0
- package/src/codegen/amino/bundle.ts +4 -0
- package/src/codegen/binary.ts +534 -0
- package/src/codegen/confio/proofs.ts +828 -387
- package/src/codegen/cosmos/app/v1alpha1/config.ts +255 -0
- package/src/codegen/cosmos/app/v1alpha1/module.ts +454 -0
- package/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts +30 -0
- package/src/codegen/cosmos/app/v1alpha1/query.ts +163 -0
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +418 -0
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +113 -0
- package/src/codegen/cosmos/auth/v1beta1/query.lcd.ts +65 -0
- package/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts +102 -0
- package/src/codegen/cosmos/auth/v1beta1/query.ts +1249 -0
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +238 -81
- package/src/codegen/cosmos/authz/v1beta1/event.ts +127 -56
- package/src/codegen/cosmos/authz/v1beta1/genesis.ts +54 -19
- package/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +1 -18
- package/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts +4 -15
- package/src/codegen/cosmos/authz/v1beta1/query.ts +359 -140
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +18 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +70 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +4 -12
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +336 -113
- package/src/codegen/cosmos/bank/v1beta1/authz.ts +59 -19
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +454 -172
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +142 -60
- package/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +1 -35
- package/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts +10 -39
- package/src/codegen/cosmos/bank/v1beta1/query.ts +1075 -385
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +4 -101
- package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +0 -6
- package/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +3 -9
- package/src/codegen/cosmos/bank/v1beta1/tx.ts +212 -70
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +767 -356
- package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +197 -0
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +166 -77
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +364 -0
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +1406 -501
- package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +1023 -0
- package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +343 -0
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +158 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +63 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +87 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1606 -0
- package/src/codegen/cosmos/base/v1beta1/coin.ts +221 -70
- package/src/codegen/cosmos/bundle.ts +439 -157
- package/src/codegen/cosmos/capability/v1beta1/capability.ts +312 -0
- package/src/codegen/cosmos/capability/v1beta1/genesis.ts +226 -0
- package/src/codegen/cosmos/client.ts +31 -5
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +99 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +20 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.ts +190 -0
- package/src/codegen/cosmos/crypto/ed25519/keys.ts +111 -34
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +76 -39
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +280 -108
- package/src/codegen/cosmos/crypto/multisig/keys.ts +63 -21
- package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +118 -36
- package/src/codegen/cosmos/crypto/secp256k1/keys.ts +108 -34
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +104 -36
- package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +778 -261
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +591 -274
- package/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +1 -25
- package/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts +10 -39
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +1022 -353
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +8 -105
- package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +0 -12
- package/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +5 -15
- package/src/codegen/cosmos/distribution/v1beta1/tx.ts +423 -133
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +146 -0
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +95 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts +33 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts +43 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +405 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +23 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +207 -0
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +560 -0
- package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +93 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +44 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts +55 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +634 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +13 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +52 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +34 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +384 -0
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +95 -0
- package/src/codegen/cosmos/gov/v1/genesis.ts +100 -55
- package/src/codegen/cosmos/gov/v1/gov.ts +560 -306
- package/src/codegen/cosmos/gov/v1/query.lcd.ts +1 -28
- package/src/codegen/cosmos/gov/v1/query.rpc.Query.ts +9 -35
- package/src/codegen/cosmos/gov/v1/query.ts +929 -365
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +10 -208
- package/src/codegen/cosmos/gov/v1/tx.registry.ts +0 -15
- package/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +6 -18
- package/src/codegen/cosmos/gov/v1/tx.ts +582 -213
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +107 -62
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +641 -348
- package/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +1 -28
- package/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts +9 -35
- package/src/codegen/cosmos/gov/v1beta1/query.ts +948 -384
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +8 -159
- package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +0 -12
- package/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +5 -15
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +468 -168
- package/src/codegen/cosmos/group/v1/events.ts +855 -0
- package/src/codegen/cosmos/group/v1/genesis.ts +240 -0
- package/src/codegen/cosmos/group/v1/query.lcd.ts +139 -0
- package/src/codegen/cosmos/group/v1/query.rpc.Query.ts +162 -0
- package/src/codegen/cosmos/group/v1/query.ts +2674 -0
- package/src/codegen/cosmos/group/v1/tx.amino.ts +73 -0
- package/src/codegen/cosmos/group/v1/tx.registry.ts +268 -0
- package/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +124 -0
- package/src/codegen/cosmos/group/v1/tx.ts +2998 -0
- package/src/codegen/cosmos/group/v1/types.ts +1964 -0
- package/src/codegen/cosmos/lcd.ts +48 -1
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +110 -0
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +286 -0
- package/src/codegen/cosmos/mint/v1beta1/query.lcd.ts +30 -0
- package/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts +52 -0
- package/src/codegen/cosmos/mint/v1beta1/query.ts +513 -0
- package/src/codegen/cosmos/msg/v1/msg.ts +1 -0
- package/src/codegen/cosmos/nft/v1beta1/event.ts +373 -0
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +222 -0
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +354 -0
- package/src/codegen/cosmos/nft/v1beta1/query.lcd.ts +76 -0
- package/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts +101 -0
- package/src/codegen/cosmos/nft/v1beta1/query.ts +1360 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +20 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +213 -0
- package/src/codegen/cosmos/orm/v1/orm.ts +566 -0
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +348 -0
- package/src/codegen/cosmos/params/v1beta1/params.ts +250 -0
- package/src/codegen/cosmos/params/v1beta1/query.lcd.ts +34 -0
- package/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts +44 -0
- package/src/codegen/cosmos/params/v1beta1/query.ts +495 -0
- package/src/codegen/cosmos/rpc.query.ts +32 -0
- package/src/codegen/cosmos/rpc.tx.ts +21 -0
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +478 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts +39 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts +54 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +577 -0
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +356 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +8 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +34 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +24 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.ts +160 -0
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +130 -84
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +170 -82
- package/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +1 -48
- package/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts +15 -59
- package/src/codegen/cosmos/staking/v1beta1/query.ts +1616 -586
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +1395 -616
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +10 -276
- package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +0 -15
- package/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +6 -18
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +609 -224
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +306 -181
- package/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +1 -15
- package/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts +6 -23
- package/src/codegen/cosmos/tx/v1beta1/service.ts +635 -293
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +930 -405
- package/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +1 -15
- package/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts +6 -23
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +550 -182
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +4 -77
- package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +0 -6
- package/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +3 -9
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +217 -73
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +284 -124
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +18 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +70 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +45 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +657 -0
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +724 -0
- package/src/codegen/cosmos_proto/bundle.ts +3 -2
- package/src/codegen/cosmos_proto/cosmos.ts +125 -67
- package/src/codegen/cosmwasm/bundle.ts +32 -30
- package/src/codegen/cosmwasm/client.ts +5 -3
- package/src/codegen/cosmwasm/lcd.ts +48 -1
- package/src/codegen/cosmwasm/rpc.query.ts +32 -0
- package/src/codegen/cosmwasm/rpc.tx.ts +21 -0
- package/src/codegen/cosmwasm/wasm/v1/authz.ts +528 -180
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +356 -134
- package/src/codegen/cosmwasm/wasm/v1/ibc.ts +131 -60
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +987 -497
- package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +1 -37
- package/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts +12 -47
- package/src/codegen/cosmwasm/wasm/v1/query.ts +1352 -486
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +14 -298
- package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +0 -21
- package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +8 -24
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +893 -386
- package/src/codegen/cosmwasm/wasm/v1/types.ts +541 -300
- package/src/codegen/gaia/bundle.ts +14 -12
- package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +97 -40
- package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +1 -5
- package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +2 -7
- package/src/codegen/gaia/globalfee/v1beta1/query.ts +92 -33
- package/src/codegen/gaia/lcd.ts +48 -1
- package/src/codegen/gaia/rpc.query.ts +32 -0
- package/src/codegen/gogoproto/bundle.ts +3 -2
- package/src/codegen/google/api/annotations.ts +1 -0
- package/src/codegen/google/api/http.ts +1351 -0
- package/src/codegen/google/bundle.ts +17 -10
- package/src/codegen/google/protobuf/any.ts +131 -24
- package/src/codegen/google/protobuf/descriptor.ts +1890 -1033
- package/src/codegen/google/protobuf/duration.ts +106 -41
- package/src/codegen/google/protobuf/empty.ts +49 -16
- package/src/codegen/google/protobuf/timestamp.ts +127 -39
- package/src/codegen/helpers.ts +174 -166
- package/src/codegen/ibc/applications/transfer/v1/genesis.ts +67 -26
- package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +1 -11
- package/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts +4 -15
- package/src/codegen/ibc/applications/transfer/v1/query.ts +322 -108
- package/src/codegen/ibc/applications/transfer/v1/transfer.ts +123 -46
- package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +2 -67
- package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +0 -3
- package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +2 -6
- package/src/codegen/ibc/applications/transfer/v1/tx.ts +148 -75
- package/src/codegen/ibc/applications/transfer/v2/packet.ts +74 -34
- package/src/codegen/ibc/bundle.ts +115 -90
- package/src/codegen/ibc/client.ts +5 -3
- package/src/codegen/ibc/core/channel/v1/channel.ts +489 -301
- package/src/codegen/ibc/core/channel/v1/genesis.ts +177 -68
- package/src/codegen/ibc/core/channel/v1/query.lcd.ts +1 -38
- package/src/codegen/ibc/core/channel/v1/query.rpc.Query.ts +14 -55
- package/src/codegen/ibc/core/channel/v1/query.ts +1799 -794
- package/src/codegen/ibc/core/channel/v1/tx.amino.ts +20 -637
- package/src/codegen/ibc/core/channel/v1/tx.registry.ts +0 -30
- package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +11 -33
- package/src/codegen/ibc/core/channel/v1/tx.ts +1224 -442
- package/src/codegen/ibc/core/client/v1/client.ts +463 -184
- package/src/codegen/ibc/core/client/v1/genesis.ts +218 -91
- package/src/codegen/ibc/core/client/v1/query.lcd.ts +1 -25
- package/src/codegen/ibc/core/client/v1/query.rpc.Query.ts +9 -35
- package/src/codegen/ibc/core/client/v1/query.ts +929 -333
- package/src/codegen/ibc/core/client/v1/tx.amino.ts +8 -190
- package/src/codegen/ibc/core/client/v1/tx.registry.ts +0 -12
- package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +5 -15
- package/src/codegen/ibc/core/client/v1/tx.ts +461 -182
- package/src/codegen/ibc/core/commitment/v1/commitment.ts +224 -67
- package/src/codegen/ibc/core/connection/v1/connection.ts +485 -246
- package/src/codegen/ibc/core/connection/v1/genesis.ts +81 -37
- package/src/codegen/ibc/core/connection/v1/query.lcd.ts +1 -15
- package/src/codegen/ibc/core/connection/v1/query.rpc.Query.ts +6 -23
- package/src/codegen/ibc/core/connection/v1/query.ts +653 -261
- package/src/codegen/ibc/core/connection/v1/tx.amino.ts +8 -328
- package/src/codegen/ibc/core/connection/v1/tx.registry.ts +0 -12
- package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +5 -15
- package/src/codegen/ibc/core/connection/v1/tx.ts +583 -242
- package/src/codegen/ibc/core/port/v1/query.rpc.Query.ts +30 -0
- package/src/codegen/ibc/core/port/v1/query.ts +269 -0
- package/src/codegen/ibc/core/types/v1/genesis.ts +135 -0
- package/src/codegen/ibc/lcd.ts +48 -1
- package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +65 -28
- package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1061 -473
- package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1056 -468
- package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +419 -189
- package/src/codegen/ibc/rpc.query.ts +35 -0
- package/src/codegen/ibc/rpc.tx.ts +21 -0
- package/src/codegen/ics23/bundle.ts +3 -2
- package/src/codegen/index.ts +5 -2
- package/src/codegen/juno/bundle.ts +127 -34
- package/src/codegen/juno/client.ts +21 -4
- package/src/codegen/juno/clock/v1/genesis.ts +188 -0
- package/src/codegen/juno/clock/v1/query.lcd.ts +24 -0
- package/src/codegen/juno/clock/v1/query.rpc.Query.ts +41 -0
- package/src/codegen/juno/clock/v1/query.ts +298 -0
- package/src/codegen/juno/clock/v1/tx.amino.ts +8 -0
- package/src/codegen/juno/clock/v1/tx.registry.ts +34 -0
- package/src/codegen/juno/clock/v1/tx.rpc.msg.ts +25 -0
- package/src/codegen/juno/clock/v1/tx.ts +203 -0
- package/src/codegen/juno/cwhooks/v1/genesis.ts +209 -0
- package/src/codegen/juno/cwhooks/v1/query.lcd.ts +30 -0
- package/src/codegen/juno/cwhooks/v1/query.rpc.Query.ts +52 -0
- package/src/codegen/juno/cwhooks/v1/query.ts +447 -0
- package/src/codegen/juno/cwhooks/v1/tx.amino.ts +28 -0
- package/src/codegen/juno/cwhooks/v1/tx.registry.ts +106 -0
- package/src/codegen/juno/cwhooks/v1/tx.rpc.msg.ts +57 -0
- package/src/codegen/juno/cwhooks/v1/tx.ts +851 -0
- package/src/codegen/juno/drip/v1/genesis.ts +190 -0
- package/src/codegen/juno/drip/v1/query.lcd.ts +18 -0
- package/src/codegen/juno/drip/v1/query.rpc.Query.ts +30 -0
- package/src/codegen/juno/drip/v1/query.ts +151 -0
- package/src/codegen/juno/drip/v1/tx.amino.ts +13 -0
- package/src/codegen/juno/drip/v1/tx.registry.ts +52 -0
- package/src/codegen/juno/drip/v1/tx.rpc.msg.ts +27 -0
- package/src/codegen/juno/drip/v1/tx.ts +360 -0
- package/src/codegen/juno/feepay/v1/feepay.ts +257 -0
- package/src/codegen/juno/feepay/v1/genesis.ts +191 -0
- package/src/codegen/juno/feepay/v1/query.lcd.ts +51 -0
- package/src/codegen/juno/feepay/v1/query.rpc.Query.ts +76 -0
- package/src/codegen/juno/feepay/v1/query.ts +886 -0
- package/src/codegen/juno/feepay/v1/tx.amino.ts +28 -0
- package/src/codegen/juno/feepay/v1/tx.registry.ts +106 -0
- package/src/codegen/juno/feepay/v1/tx.rpc.msg.ts +52 -0
- package/src/codegen/juno/feepay/v1/tx.ts +905 -0
- package/src/codegen/juno/feeshare/v1/feeshare.ts +61 -29
- package/src/codegen/juno/feeshare/v1/genesis.ts +119 -56
- package/src/codegen/juno/feeshare/v1/query.lcd.ts +1 -19
- package/src/codegen/juno/feeshare/v1/query.rpc.Query.ts +6 -23
- package/src/codegen/juno/feeshare/v1/query.ts +504 -203
- package/src/codegen/juno/feeshare/v1/tx.amino.ts +12 -87
- package/src/codegen/juno/feeshare/v1/tx.registry.ts +20 -11
- package/src/codegen/juno/feeshare/v1/tx.rpc.msg.ts +13 -13
- package/src/codegen/juno/feeshare/v1/tx.ts +485 -120
- package/src/codegen/juno/lcd.ts +68 -1
- package/src/codegen/juno/mint/genesis.ts +58 -30
- package/src/codegen/juno/mint/mint.ts +152 -73
- package/src/codegen/juno/mint/query.lcd.ts +8 -10
- package/src/codegen/juno/mint/query.rpc.Query.ts +16 -16
- package/src/codegen/juno/mint/query.ts +431 -99
- package/src/codegen/juno/mint/tx.amino.ts +8 -0
- package/src/codegen/juno/mint/tx.registry.ts +34 -0
- package/src/codegen/juno/mint/tx.rpc.msg.ts +25 -0
- package/src/codegen/juno/mint/tx.ts +203 -0
- package/src/codegen/juno/rpc.query.ts +44 -0
- package/src/codegen/juno/rpc.tx.ts +35 -1
- package/src/codegen/osmosis/bundle.ts +28 -26
- package/src/codegen/osmosis/client.ts +5 -3
- package/src/codegen/osmosis/lcd.ts +48 -1
- package/src/codegen/osmosis/rpc.query.ts +32 -0
- package/src/codegen/osmosis/rpc.tx.ts +21 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +56 -19
- package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +126 -47
- package/src/codegen/osmosis/tokenfactory/v1beta1/params.ts +80 -20
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +1 -9
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.ts +4 -15
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +318 -105
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +18 -244
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +20 -20
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +21 -17
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +881 -215
- package/src/codegen/router/bundle.ts +14 -12
- package/src/codegen/router/lcd.ts +48 -1
- package/src/codegen/router/rpc.query.ts +32 -0
- package/src/codegen/router/v1/genesis.ts +276 -119
- package/src/codegen/router/v1/query.lcd.ts +1 -5
- package/src/codegen/router/v1/query.rpc.Query.ts +2 -7
- package/src/codegen/router/v1/query.ts +85 -34
- package/src/codegen/tendermint/abci/types.ts +2651 -1184
- package/src/codegen/tendermint/bundle.ts +28 -22
- package/src/codegen/tendermint/crypto/keys.ts +51 -20
- package/src/codegen/tendermint/crypto/proof.ts +281 -108
- package/src/codegen/tendermint/libs/bits/types.ts +62 -32
- package/src/codegen/tendermint/p2p/types.ts +318 -126
- package/src/codegen/tendermint/types/block.ts +70 -33
- package/src/codegen/tendermint/types/evidence.ts +257 -112
- package/src/codegen/tendermint/types/params.ts +383 -188
- package/src/codegen/tendermint/types/types.ts +886 -437
- package/src/codegen/tendermint/types/validator.ts +191 -84
- package/src/codegen/tendermint/version/types.ts +125 -56
- package/src/codegen/utf8.ts +148 -0
- package/src/codegen/varint.ts +488 -0
- package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +1 -1
- package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +1 -1
- package/types/codegen/gaia/globalfee/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/helpers.d.ts +1 -1
- package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +1 -1
- package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +1 -1
- package/types/codegen/index.d.ts +1 -1
- package/types/codegen/juno/feeshare/v1/query.lcd.d.ts +1 -1
- package/types/codegen/juno/mint/query.lcd.d.ts +1 -1
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.lcd.d.ts +1 -1
- package/types/codegen/router/v1/query.lcd.d.ts +1 -1
|
@@ -1,16 +1,29 @@
|
|
|
1
|
-
import { DecCoin, DecCoinSDKType, Coin, CoinSDKType } from "../../base/v1beta1/coin";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { DecCoin, DecCoinAmino, DecCoinSDKType, Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { Decimal } from "@cosmjs/math";
|
|
4
4
|
/** Params defines the set of params for the distribution module. */
|
|
5
|
-
|
|
6
5
|
export interface Params {
|
|
7
6
|
communityTax: string;
|
|
8
7
|
baseProposerReward: string;
|
|
9
8
|
bonusProposerReward: string;
|
|
10
9
|
withdrawAddrEnabled: boolean;
|
|
11
10
|
}
|
|
11
|
+
export interface ParamsProtoMsg {
|
|
12
|
+
typeUrl: "/cosmos.distribution.v1beta1.Params";
|
|
13
|
+
value: Uint8Array;
|
|
14
|
+
}
|
|
15
|
+
/** Params defines the set of params for the distribution module. */
|
|
16
|
+
export interface ParamsAmino {
|
|
17
|
+
community_tax?: string;
|
|
18
|
+
base_proposer_reward?: string;
|
|
19
|
+
bonus_proposer_reward?: string;
|
|
20
|
+
withdraw_addr_enabled?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface ParamsAminoMsg {
|
|
23
|
+
type: "cosmos-sdk/Params";
|
|
24
|
+
value: ParamsAmino;
|
|
25
|
+
}
|
|
12
26
|
/** Params defines the set of params for the distribution module. */
|
|
13
|
-
|
|
14
27
|
export interface ParamsSDKType {
|
|
15
28
|
community_tax: string;
|
|
16
29
|
base_proposer_reward: string;
|
|
@@ -31,11 +44,36 @@ export interface ParamsSDKType {
|
|
|
31
44
|
* read that record)
|
|
32
45
|
* + one per validator for the zeroeth period, set on initialization
|
|
33
46
|
*/
|
|
34
|
-
|
|
35
47
|
export interface ValidatorHistoricalRewards {
|
|
36
48
|
cumulativeRewardRatio: DecCoin[];
|
|
37
49
|
referenceCount: number;
|
|
38
50
|
}
|
|
51
|
+
export interface ValidatorHistoricalRewardsProtoMsg {
|
|
52
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewards";
|
|
53
|
+
value: Uint8Array;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* ValidatorHistoricalRewards represents historical rewards for a validator.
|
|
57
|
+
* Height is implicit within the store key.
|
|
58
|
+
* Cumulative reward ratio is the sum from the zeroeth period
|
|
59
|
+
* until this period of rewards / tokens, per the spec.
|
|
60
|
+
* The reference count indicates the number of objects
|
|
61
|
+
* which might need to reference this historical entry at any point.
|
|
62
|
+
* ReferenceCount =
|
|
63
|
+
* number of outstanding delegations which ended the associated period (and
|
|
64
|
+
* might need to read that record)
|
|
65
|
+
* + number of slashes which ended the associated period (and might need to
|
|
66
|
+
* read that record)
|
|
67
|
+
* + one per validator for the zeroeth period, set on initialization
|
|
68
|
+
*/
|
|
69
|
+
export interface ValidatorHistoricalRewardsAmino {
|
|
70
|
+
cumulative_reward_ratio?: DecCoinAmino[];
|
|
71
|
+
reference_count?: number;
|
|
72
|
+
}
|
|
73
|
+
export interface ValidatorHistoricalRewardsAminoMsg {
|
|
74
|
+
type: "cosmos-sdk/ValidatorHistoricalRewards";
|
|
75
|
+
value: ValidatorHistoricalRewardsAmino;
|
|
76
|
+
}
|
|
39
77
|
/**
|
|
40
78
|
* ValidatorHistoricalRewards represents historical rewards for a validator.
|
|
41
79
|
* Height is implicit within the store key.
|
|
@@ -50,7 +88,6 @@ export interface ValidatorHistoricalRewards {
|
|
|
50
88
|
* read that record)
|
|
51
89
|
* + one per validator for the zeroeth period, set on initialization
|
|
52
90
|
*/
|
|
53
|
-
|
|
54
91
|
export interface ValidatorHistoricalRewardsSDKType {
|
|
55
92
|
cumulative_reward_ratio: DecCoinSDKType[];
|
|
56
93
|
reference_count: number;
|
|
@@ -60,34 +97,62 @@ export interface ValidatorHistoricalRewardsSDKType {
|
|
|
60
97
|
* period for a validator kept as a running counter and incremented
|
|
61
98
|
* each block as long as the validator's tokens remain constant.
|
|
62
99
|
*/
|
|
63
|
-
|
|
64
100
|
export interface ValidatorCurrentRewards {
|
|
65
101
|
rewards: DecCoin[];
|
|
66
|
-
period:
|
|
102
|
+
period: bigint;
|
|
103
|
+
}
|
|
104
|
+
export interface ValidatorCurrentRewardsProtoMsg {
|
|
105
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewards";
|
|
106
|
+
value: Uint8Array;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* ValidatorCurrentRewards represents current rewards and current
|
|
110
|
+
* period for a validator kept as a running counter and incremented
|
|
111
|
+
* each block as long as the validator's tokens remain constant.
|
|
112
|
+
*/
|
|
113
|
+
export interface ValidatorCurrentRewardsAmino {
|
|
114
|
+
rewards?: DecCoinAmino[];
|
|
115
|
+
period?: string;
|
|
116
|
+
}
|
|
117
|
+
export interface ValidatorCurrentRewardsAminoMsg {
|
|
118
|
+
type: "cosmos-sdk/ValidatorCurrentRewards";
|
|
119
|
+
value: ValidatorCurrentRewardsAmino;
|
|
67
120
|
}
|
|
68
121
|
/**
|
|
69
122
|
* ValidatorCurrentRewards represents current rewards and current
|
|
70
123
|
* period for a validator kept as a running counter and incremented
|
|
71
124
|
* each block as long as the validator's tokens remain constant.
|
|
72
125
|
*/
|
|
73
|
-
|
|
74
126
|
export interface ValidatorCurrentRewardsSDKType {
|
|
75
127
|
rewards: DecCoinSDKType[];
|
|
76
|
-
period:
|
|
128
|
+
period: bigint;
|
|
77
129
|
}
|
|
78
130
|
/**
|
|
79
131
|
* ValidatorAccumulatedCommission represents accumulated commission
|
|
80
132
|
* for a validator kept as a running counter, can be withdrawn at any time.
|
|
81
133
|
*/
|
|
82
|
-
|
|
83
134
|
export interface ValidatorAccumulatedCommission {
|
|
84
135
|
commission: DecCoin[];
|
|
85
136
|
}
|
|
137
|
+
export interface ValidatorAccumulatedCommissionProtoMsg {
|
|
138
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission";
|
|
139
|
+
value: Uint8Array;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* ValidatorAccumulatedCommission represents accumulated commission
|
|
143
|
+
* for a validator kept as a running counter, can be withdrawn at any time.
|
|
144
|
+
*/
|
|
145
|
+
export interface ValidatorAccumulatedCommissionAmino {
|
|
146
|
+
commission?: DecCoinAmino[];
|
|
147
|
+
}
|
|
148
|
+
export interface ValidatorAccumulatedCommissionAminoMsg {
|
|
149
|
+
type: "cosmos-sdk/ValidatorAccumulatedCommission";
|
|
150
|
+
value: ValidatorAccumulatedCommissionAmino;
|
|
151
|
+
}
|
|
86
152
|
/**
|
|
87
153
|
* ValidatorAccumulatedCommission represents accumulated commission
|
|
88
154
|
* for a validator kept as a running counter, can be withdrawn at any time.
|
|
89
155
|
*/
|
|
90
|
-
|
|
91
156
|
export interface ValidatorAccumulatedCommissionSDKType {
|
|
92
157
|
commission: DecCoinSDKType[];
|
|
93
158
|
}
|
|
@@ -95,15 +160,28 @@ export interface ValidatorAccumulatedCommissionSDKType {
|
|
|
95
160
|
* ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards
|
|
96
161
|
* for a validator inexpensive to track, allows simple sanity checks.
|
|
97
162
|
*/
|
|
98
|
-
|
|
99
163
|
export interface ValidatorOutstandingRewards {
|
|
100
164
|
rewards: DecCoin[];
|
|
101
165
|
}
|
|
166
|
+
export interface ValidatorOutstandingRewardsProtoMsg {
|
|
167
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewards";
|
|
168
|
+
value: Uint8Array;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards
|
|
172
|
+
* for a validator inexpensive to track, allows simple sanity checks.
|
|
173
|
+
*/
|
|
174
|
+
export interface ValidatorOutstandingRewardsAmino {
|
|
175
|
+
rewards?: DecCoinAmino[];
|
|
176
|
+
}
|
|
177
|
+
export interface ValidatorOutstandingRewardsAminoMsg {
|
|
178
|
+
type: "cosmos-sdk/ValidatorOutstandingRewards";
|
|
179
|
+
value: ValidatorOutstandingRewardsAmino;
|
|
180
|
+
}
|
|
102
181
|
/**
|
|
103
182
|
* ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards
|
|
104
183
|
* for a validator inexpensive to track, allows simple sanity checks.
|
|
105
184
|
*/
|
|
106
|
-
|
|
107
185
|
export interface ValidatorOutstandingRewardsSDKType {
|
|
108
186
|
rewards: DecCoinSDKType[];
|
|
109
187
|
}
|
|
@@ -113,39 +191,75 @@ export interface ValidatorOutstandingRewardsSDKType {
|
|
|
113
191
|
* This is needed to calculate appropriate amount of staking tokens
|
|
114
192
|
* for delegations which are withdrawn after a slash has occurred.
|
|
115
193
|
*/
|
|
116
|
-
|
|
117
194
|
export interface ValidatorSlashEvent {
|
|
118
|
-
validatorPeriod:
|
|
195
|
+
validatorPeriod: bigint;
|
|
119
196
|
fraction: string;
|
|
120
197
|
}
|
|
198
|
+
export interface ValidatorSlashEventProtoMsg {
|
|
199
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvent";
|
|
200
|
+
value: Uint8Array;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* ValidatorSlashEvent represents a validator slash event.
|
|
204
|
+
* Height is implicit within the store key.
|
|
205
|
+
* This is needed to calculate appropriate amount of staking tokens
|
|
206
|
+
* for delegations which are withdrawn after a slash has occurred.
|
|
207
|
+
*/
|
|
208
|
+
export interface ValidatorSlashEventAmino {
|
|
209
|
+
validator_period?: string;
|
|
210
|
+
fraction?: string;
|
|
211
|
+
}
|
|
212
|
+
export interface ValidatorSlashEventAminoMsg {
|
|
213
|
+
type: "cosmos-sdk/ValidatorSlashEvent";
|
|
214
|
+
value: ValidatorSlashEventAmino;
|
|
215
|
+
}
|
|
121
216
|
/**
|
|
122
217
|
* ValidatorSlashEvent represents a validator slash event.
|
|
123
218
|
* Height is implicit within the store key.
|
|
124
219
|
* This is needed to calculate appropriate amount of staking tokens
|
|
125
220
|
* for delegations which are withdrawn after a slash has occurred.
|
|
126
221
|
*/
|
|
127
|
-
|
|
128
222
|
export interface ValidatorSlashEventSDKType {
|
|
129
|
-
validator_period:
|
|
223
|
+
validator_period: bigint;
|
|
130
224
|
fraction: string;
|
|
131
225
|
}
|
|
132
226
|
/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */
|
|
133
|
-
|
|
134
227
|
export interface ValidatorSlashEvents {
|
|
135
228
|
validatorSlashEvents: ValidatorSlashEvent[];
|
|
136
229
|
}
|
|
230
|
+
export interface ValidatorSlashEventsProtoMsg {
|
|
231
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvents";
|
|
232
|
+
value: Uint8Array;
|
|
233
|
+
}
|
|
234
|
+
/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */
|
|
235
|
+
export interface ValidatorSlashEventsAmino {
|
|
236
|
+
validator_slash_events?: ValidatorSlashEventAmino[];
|
|
237
|
+
}
|
|
238
|
+
export interface ValidatorSlashEventsAminoMsg {
|
|
239
|
+
type: "cosmos-sdk/ValidatorSlashEvents";
|
|
240
|
+
value: ValidatorSlashEventsAmino;
|
|
241
|
+
}
|
|
137
242
|
/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */
|
|
138
|
-
|
|
139
243
|
export interface ValidatorSlashEventsSDKType {
|
|
140
244
|
validator_slash_events: ValidatorSlashEventSDKType[];
|
|
141
245
|
}
|
|
142
246
|
/** FeePool is the global fee pool for distribution. */
|
|
143
|
-
|
|
144
247
|
export interface FeePool {
|
|
145
248
|
communityPool: DecCoin[];
|
|
146
249
|
}
|
|
250
|
+
export interface FeePoolProtoMsg {
|
|
251
|
+
typeUrl: "/cosmos.distribution.v1beta1.FeePool";
|
|
252
|
+
value: Uint8Array;
|
|
253
|
+
}
|
|
254
|
+
/** FeePool is the global fee pool for distribution. */
|
|
255
|
+
export interface FeePoolAmino {
|
|
256
|
+
community_pool?: DecCoinAmino[];
|
|
257
|
+
}
|
|
258
|
+
export interface FeePoolAminoMsg {
|
|
259
|
+
type: "cosmos-sdk/FeePool";
|
|
260
|
+
value: FeePoolAmino;
|
|
261
|
+
}
|
|
147
262
|
/** FeePool is the global fee pool for distribution. */
|
|
148
|
-
|
|
149
263
|
export interface FeePoolSDKType {
|
|
150
264
|
community_pool: DecCoinSDKType[];
|
|
151
265
|
}
|
|
@@ -154,19 +268,36 @@ export interface FeePoolSDKType {
|
|
|
154
268
|
* together with how many coins are proposed to be spent, and to which
|
|
155
269
|
* recipient account.
|
|
156
270
|
*/
|
|
157
|
-
|
|
158
271
|
export interface CommunityPoolSpendProposal {
|
|
159
272
|
title: string;
|
|
160
273
|
description: string;
|
|
161
274
|
recipient: string;
|
|
162
275
|
amount: Coin[];
|
|
163
276
|
}
|
|
277
|
+
export interface CommunityPoolSpendProposalProtoMsg {
|
|
278
|
+
typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal";
|
|
279
|
+
value: Uint8Array;
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* CommunityPoolSpendProposal details a proposal for use of community funds,
|
|
283
|
+
* together with how many coins are proposed to be spent, and to which
|
|
284
|
+
* recipient account.
|
|
285
|
+
*/
|
|
286
|
+
export interface CommunityPoolSpendProposalAmino {
|
|
287
|
+
title?: string;
|
|
288
|
+
description?: string;
|
|
289
|
+
recipient?: string;
|
|
290
|
+
amount?: CoinAmino[];
|
|
291
|
+
}
|
|
292
|
+
export interface CommunityPoolSpendProposalAminoMsg {
|
|
293
|
+
type: "cosmos-sdk/CommunityPoolSpendProposal";
|
|
294
|
+
value: CommunityPoolSpendProposalAmino;
|
|
295
|
+
}
|
|
164
296
|
/**
|
|
165
297
|
* CommunityPoolSpendProposal details a proposal for use of community funds,
|
|
166
298
|
* together with how many coins are proposed to be spent, and to which
|
|
167
299
|
* recipient account.
|
|
168
300
|
*/
|
|
169
|
-
|
|
170
301
|
export interface CommunityPoolSpendProposalSDKType {
|
|
171
302
|
title: string;
|
|
172
303
|
description: string;
|
|
@@ -181,11 +312,31 @@ export interface CommunityPoolSpendProposalSDKType {
|
|
|
181
312
|
* the delegators within the validator may be left with less than a full token,
|
|
182
313
|
* thus sdk.Dec is used.
|
|
183
314
|
*/
|
|
184
|
-
|
|
185
315
|
export interface DelegatorStartingInfo {
|
|
186
|
-
previousPeriod:
|
|
316
|
+
previousPeriod: bigint;
|
|
187
317
|
stake: string;
|
|
188
|
-
height:
|
|
318
|
+
height: bigint;
|
|
319
|
+
}
|
|
320
|
+
export interface DelegatorStartingInfoProtoMsg {
|
|
321
|
+
typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfo";
|
|
322
|
+
value: Uint8Array;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* DelegatorStartingInfo represents the starting info for a delegator reward
|
|
326
|
+
* period. It tracks the previous validator period, the delegation's amount of
|
|
327
|
+
* staking token, and the creation height (to check later on if any slashes have
|
|
328
|
+
* occurred). NOTE: Even though validators are slashed to whole staking tokens,
|
|
329
|
+
* the delegators within the validator may be left with less than a full token,
|
|
330
|
+
* thus sdk.Dec is used.
|
|
331
|
+
*/
|
|
332
|
+
export interface DelegatorStartingInfoAmino {
|
|
333
|
+
previous_period?: string;
|
|
334
|
+
stake?: string;
|
|
335
|
+
height?: string;
|
|
336
|
+
}
|
|
337
|
+
export interface DelegatorStartingInfoAminoMsg {
|
|
338
|
+
type: "cosmos-sdk/DelegatorStartingInfo";
|
|
339
|
+
value: DelegatorStartingInfoAmino;
|
|
189
340
|
}
|
|
190
341
|
/**
|
|
191
342
|
* DelegatorStartingInfo represents the starting info for a delegator reward
|
|
@@ -195,26 +346,39 @@ export interface DelegatorStartingInfo {
|
|
|
195
346
|
* the delegators within the validator may be left with less than a full token,
|
|
196
347
|
* thus sdk.Dec is used.
|
|
197
348
|
*/
|
|
198
|
-
|
|
199
349
|
export interface DelegatorStartingInfoSDKType {
|
|
200
|
-
previous_period:
|
|
350
|
+
previous_period: bigint;
|
|
201
351
|
stake: string;
|
|
202
|
-
height:
|
|
352
|
+
height: bigint;
|
|
203
353
|
}
|
|
204
354
|
/**
|
|
205
355
|
* DelegationDelegatorReward represents the properties
|
|
206
356
|
* of a delegator's delegation reward.
|
|
207
357
|
*/
|
|
208
|
-
|
|
209
358
|
export interface DelegationDelegatorReward {
|
|
210
359
|
validatorAddress: string;
|
|
211
360
|
reward: DecCoin[];
|
|
212
361
|
}
|
|
362
|
+
export interface DelegationDelegatorRewardProtoMsg {
|
|
363
|
+
typeUrl: "/cosmos.distribution.v1beta1.DelegationDelegatorReward";
|
|
364
|
+
value: Uint8Array;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* DelegationDelegatorReward represents the properties
|
|
368
|
+
* of a delegator's delegation reward.
|
|
369
|
+
*/
|
|
370
|
+
export interface DelegationDelegatorRewardAmino {
|
|
371
|
+
validator_address?: string;
|
|
372
|
+
reward?: DecCoinAmino[];
|
|
373
|
+
}
|
|
374
|
+
export interface DelegationDelegatorRewardAminoMsg {
|
|
375
|
+
type: "cosmos-sdk/DelegationDelegatorReward";
|
|
376
|
+
value: DelegationDelegatorRewardAmino;
|
|
377
|
+
}
|
|
213
378
|
/**
|
|
214
379
|
* DelegationDelegatorReward represents the properties
|
|
215
380
|
* of a delegator's delegation reward.
|
|
216
381
|
*/
|
|
217
|
-
|
|
218
382
|
export interface DelegationDelegatorRewardSDKType {
|
|
219
383
|
validator_address: string;
|
|
220
384
|
reward: DecCoinSDKType[];
|
|
@@ -223,7 +387,6 @@ export interface DelegationDelegatorRewardSDKType {
|
|
|
223
387
|
* CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal
|
|
224
388
|
* with a deposit
|
|
225
389
|
*/
|
|
226
|
-
|
|
227
390
|
export interface CommunityPoolSpendProposalWithDeposit {
|
|
228
391
|
title: string;
|
|
229
392
|
description: string;
|
|
@@ -231,11 +394,29 @@ export interface CommunityPoolSpendProposalWithDeposit {
|
|
|
231
394
|
amount: string;
|
|
232
395
|
deposit: string;
|
|
233
396
|
}
|
|
397
|
+
export interface CommunityPoolSpendProposalWithDepositProtoMsg {
|
|
398
|
+
typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit";
|
|
399
|
+
value: Uint8Array;
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal
|
|
403
|
+
* with a deposit
|
|
404
|
+
*/
|
|
405
|
+
export interface CommunityPoolSpendProposalWithDepositAmino {
|
|
406
|
+
title?: string;
|
|
407
|
+
description?: string;
|
|
408
|
+
recipient?: string;
|
|
409
|
+
amount?: string;
|
|
410
|
+
deposit?: string;
|
|
411
|
+
}
|
|
412
|
+
export interface CommunityPoolSpendProposalWithDepositAminoMsg {
|
|
413
|
+
type: "cosmos-sdk/CommunityPoolSpendProposalWithDeposit";
|
|
414
|
+
value: CommunityPoolSpendProposalWithDepositAmino;
|
|
415
|
+
}
|
|
234
416
|
/**
|
|
235
417
|
* CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal
|
|
236
418
|
* with a deposit
|
|
237
419
|
*/
|
|
238
|
-
|
|
239
420
|
export interface CommunityPoolSpendProposalWithDepositSDKType {
|
|
240
421
|
title: string;
|
|
241
422
|
description: string;
|
|
@@ -243,7 +424,6 @@ export interface CommunityPoolSpendProposalWithDepositSDKType {
|
|
|
243
424
|
amount: string;
|
|
244
425
|
deposit: string;
|
|
245
426
|
}
|
|
246
|
-
|
|
247
427
|
function createBaseParams(): Params {
|
|
248
428
|
return {
|
|
249
429
|
communityTax: "",
|
|
@@ -252,418 +432,634 @@ function createBaseParams(): Params {
|
|
|
252
432
|
withdrawAddrEnabled: false
|
|
253
433
|
};
|
|
254
434
|
}
|
|
255
|
-
|
|
256
435
|
export const Params = {
|
|
257
|
-
|
|
436
|
+
typeUrl: "/cosmos.distribution.v1beta1.Params",
|
|
437
|
+
encode(message: Params, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
258
438
|
if (message.communityTax !== "") {
|
|
259
|
-
writer.uint32(10).string(message.communityTax);
|
|
439
|
+
writer.uint32(10).string(Decimal.fromUserInput(message.communityTax, 18).atomics);
|
|
260
440
|
}
|
|
261
|
-
|
|
262
441
|
if (message.baseProposerReward !== "") {
|
|
263
|
-
writer.uint32(18).string(message.baseProposerReward);
|
|
442
|
+
writer.uint32(18).string(Decimal.fromUserInput(message.baseProposerReward, 18).atomics);
|
|
264
443
|
}
|
|
265
|
-
|
|
266
444
|
if (message.bonusProposerReward !== "") {
|
|
267
|
-
writer.uint32(26).string(message.bonusProposerReward);
|
|
445
|
+
writer.uint32(26).string(Decimal.fromUserInput(message.bonusProposerReward, 18).atomics);
|
|
268
446
|
}
|
|
269
|
-
|
|
270
447
|
if (message.withdrawAddrEnabled === true) {
|
|
271
448
|
writer.uint32(32).bool(message.withdrawAddrEnabled);
|
|
272
449
|
}
|
|
273
|
-
|
|
274
450
|
return writer;
|
|
275
451
|
},
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
452
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Params {
|
|
453
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
279
454
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
280
455
|
const message = createBaseParams();
|
|
281
|
-
|
|
282
456
|
while (reader.pos < end) {
|
|
283
457
|
const tag = reader.uint32();
|
|
284
|
-
|
|
285
458
|
switch (tag >>> 3) {
|
|
286
459
|
case 1:
|
|
287
|
-
message.communityTax = reader.string();
|
|
460
|
+
message.communityTax = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
288
461
|
break;
|
|
289
|
-
|
|
290
462
|
case 2:
|
|
291
|
-
message.baseProposerReward = reader.string();
|
|
463
|
+
message.baseProposerReward = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
292
464
|
break;
|
|
293
|
-
|
|
294
465
|
case 3:
|
|
295
|
-
message.bonusProposerReward = reader.string();
|
|
466
|
+
message.bonusProposerReward = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
296
467
|
break;
|
|
297
|
-
|
|
298
468
|
case 4:
|
|
299
469
|
message.withdrawAddrEnabled = reader.bool();
|
|
300
470
|
break;
|
|
301
|
-
|
|
302
471
|
default:
|
|
303
472
|
reader.skipType(tag & 7);
|
|
304
473
|
break;
|
|
305
474
|
}
|
|
306
475
|
}
|
|
307
|
-
|
|
308
476
|
return message;
|
|
309
477
|
},
|
|
310
|
-
|
|
311
|
-
fromPartial(object: DeepPartial<Params>): Params {
|
|
478
|
+
fromPartial(object: Partial<Params>): Params {
|
|
312
479
|
const message = createBaseParams();
|
|
313
480
|
message.communityTax = object.communityTax ?? "";
|
|
314
481
|
message.baseProposerReward = object.baseProposerReward ?? "";
|
|
315
482
|
message.bonusProposerReward = object.bonusProposerReward ?? "";
|
|
316
483
|
message.withdrawAddrEnabled = object.withdrawAddrEnabled ?? false;
|
|
317
484
|
return message;
|
|
485
|
+
},
|
|
486
|
+
fromAmino(object: ParamsAmino): Params {
|
|
487
|
+
const message = createBaseParams();
|
|
488
|
+
if (object.community_tax !== undefined && object.community_tax !== null) {
|
|
489
|
+
message.communityTax = object.community_tax;
|
|
490
|
+
}
|
|
491
|
+
if (object.base_proposer_reward !== undefined && object.base_proposer_reward !== null) {
|
|
492
|
+
message.baseProposerReward = object.base_proposer_reward;
|
|
493
|
+
}
|
|
494
|
+
if (object.bonus_proposer_reward !== undefined && object.bonus_proposer_reward !== null) {
|
|
495
|
+
message.bonusProposerReward = object.bonus_proposer_reward;
|
|
496
|
+
}
|
|
497
|
+
if (object.withdraw_addr_enabled !== undefined && object.withdraw_addr_enabled !== null) {
|
|
498
|
+
message.withdrawAddrEnabled = object.withdraw_addr_enabled;
|
|
499
|
+
}
|
|
500
|
+
return message;
|
|
501
|
+
},
|
|
502
|
+
toAmino(message: Params): ParamsAmino {
|
|
503
|
+
const obj: any = {};
|
|
504
|
+
obj.community_tax = message.communityTax;
|
|
505
|
+
obj.base_proposer_reward = message.baseProposerReward;
|
|
506
|
+
obj.bonus_proposer_reward = message.bonusProposerReward;
|
|
507
|
+
obj.withdraw_addr_enabled = message.withdrawAddrEnabled;
|
|
508
|
+
return obj;
|
|
509
|
+
},
|
|
510
|
+
fromAminoMsg(object: ParamsAminoMsg): Params {
|
|
511
|
+
return Params.fromAmino(object.value);
|
|
512
|
+
},
|
|
513
|
+
toAminoMsg(message: Params): ParamsAminoMsg {
|
|
514
|
+
return {
|
|
515
|
+
type: "cosmos-sdk/Params",
|
|
516
|
+
value: Params.toAmino(message)
|
|
517
|
+
};
|
|
518
|
+
},
|
|
519
|
+
fromProtoMsg(message: ParamsProtoMsg): Params {
|
|
520
|
+
return Params.decode(message.value);
|
|
521
|
+
},
|
|
522
|
+
toProto(message: Params): Uint8Array {
|
|
523
|
+
return Params.encode(message).finish();
|
|
524
|
+
},
|
|
525
|
+
toProtoMsg(message: Params): ParamsProtoMsg {
|
|
526
|
+
return {
|
|
527
|
+
typeUrl: "/cosmos.distribution.v1beta1.Params",
|
|
528
|
+
value: Params.encode(message).finish()
|
|
529
|
+
};
|
|
318
530
|
}
|
|
319
|
-
|
|
320
531
|
};
|
|
321
|
-
|
|
322
532
|
function createBaseValidatorHistoricalRewards(): ValidatorHistoricalRewards {
|
|
323
533
|
return {
|
|
324
534
|
cumulativeRewardRatio: [],
|
|
325
535
|
referenceCount: 0
|
|
326
536
|
};
|
|
327
537
|
}
|
|
328
|
-
|
|
329
538
|
export const ValidatorHistoricalRewards = {
|
|
330
|
-
|
|
539
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewards",
|
|
540
|
+
encode(message: ValidatorHistoricalRewards, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
331
541
|
for (const v of message.cumulativeRewardRatio) {
|
|
332
542
|
DecCoin.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
333
543
|
}
|
|
334
|
-
|
|
335
544
|
if (message.referenceCount !== 0) {
|
|
336
545
|
writer.uint32(16).uint32(message.referenceCount);
|
|
337
546
|
}
|
|
338
|
-
|
|
339
547
|
return writer;
|
|
340
548
|
},
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
549
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ValidatorHistoricalRewards {
|
|
550
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
344
551
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
345
552
|
const message = createBaseValidatorHistoricalRewards();
|
|
346
|
-
|
|
347
553
|
while (reader.pos < end) {
|
|
348
554
|
const tag = reader.uint32();
|
|
349
|
-
|
|
350
555
|
switch (tag >>> 3) {
|
|
351
556
|
case 1:
|
|
352
557
|
message.cumulativeRewardRatio.push(DecCoin.decode(reader, reader.uint32()));
|
|
353
558
|
break;
|
|
354
|
-
|
|
355
559
|
case 2:
|
|
356
560
|
message.referenceCount = reader.uint32();
|
|
357
561
|
break;
|
|
358
|
-
|
|
359
562
|
default:
|
|
360
563
|
reader.skipType(tag & 7);
|
|
361
564
|
break;
|
|
362
565
|
}
|
|
363
566
|
}
|
|
364
|
-
|
|
365
567
|
return message;
|
|
366
568
|
},
|
|
367
|
-
|
|
368
|
-
fromPartial(object: DeepPartial<ValidatorHistoricalRewards>): ValidatorHistoricalRewards {
|
|
569
|
+
fromPartial(object: Partial<ValidatorHistoricalRewards>): ValidatorHistoricalRewards {
|
|
369
570
|
const message = createBaseValidatorHistoricalRewards();
|
|
370
571
|
message.cumulativeRewardRatio = object.cumulativeRewardRatio?.map(e => DecCoin.fromPartial(e)) || [];
|
|
371
572
|
message.referenceCount = object.referenceCount ?? 0;
|
|
372
573
|
return message;
|
|
574
|
+
},
|
|
575
|
+
fromAmino(object: ValidatorHistoricalRewardsAmino): ValidatorHistoricalRewards {
|
|
576
|
+
const message = createBaseValidatorHistoricalRewards();
|
|
577
|
+
message.cumulativeRewardRatio = object.cumulative_reward_ratio?.map(e => DecCoin.fromAmino(e)) || [];
|
|
578
|
+
if (object.reference_count !== undefined && object.reference_count !== null) {
|
|
579
|
+
message.referenceCount = object.reference_count;
|
|
580
|
+
}
|
|
581
|
+
return message;
|
|
582
|
+
},
|
|
583
|
+
toAmino(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsAmino {
|
|
584
|
+
const obj: any = {};
|
|
585
|
+
if (message.cumulativeRewardRatio) {
|
|
586
|
+
obj.cumulative_reward_ratio = message.cumulativeRewardRatio.map(e => e ? DecCoin.toAmino(e) : undefined);
|
|
587
|
+
} else {
|
|
588
|
+
obj.cumulative_reward_ratio = [];
|
|
589
|
+
}
|
|
590
|
+
obj.reference_count = message.referenceCount;
|
|
591
|
+
return obj;
|
|
592
|
+
},
|
|
593
|
+
fromAminoMsg(object: ValidatorHistoricalRewardsAminoMsg): ValidatorHistoricalRewards {
|
|
594
|
+
return ValidatorHistoricalRewards.fromAmino(object.value);
|
|
595
|
+
},
|
|
596
|
+
toAminoMsg(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsAminoMsg {
|
|
597
|
+
return {
|
|
598
|
+
type: "cosmos-sdk/ValidatorHistoricalRewards",
|
|
599
|
+
value: ValidatorHistoricalRewards.toAmino(message)
|
|
600
|
+
};
|
|
601
|
+
},
|
|
602
|
+
fromProtoMsg(message: ValidatorHistoricalRewardsProtoMsg): ValidatorHistoricalRewards {
|
|
603
|
+
return ValidatorHistoricalRewards.decode(message.value);
|
|
604
|
+
},
|
|
605
|
+
toProto(message: ValidatorHistoricalRewards): Uint8Array {
|
|
606
|
+
return ValidatorHistoricalRewards.encode(message).finish();
|
|
607
|
+
},
|
|
608
|
+
toProtoMsg(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsProtoMsg {
|
|
609
|
+
return {
|
|
610
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewards",
|
|
611
|
+
value: ValidatorHistoricalRewards.encode(message).finish()
|
|
612
|
+
};
|
|
373
613
|
}
|
|
374
|
-
|
|
375
614
|
};
|
|
376
|
-
|
|
377
615
|
function createBaseValidatorCurrentRewards(): ValidatorCurrentRewards {
|
|
378
616
|
return {
|
|
379
617
|
rewards: [],
|
|
380
|
-
period:
|
|
618
|
+
period: BigInt(0)
|
|
381
619
|
};
|
|
382
620
|
}
|
|
383
|
-
|
|
384
621
|
export const ValidatorCurrentRewards = {
|
|
385
|
-
|
|
622
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewards",
|
|
623
|
+
encode(message: ValidatorCurrentRewards, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
386
624
|
for (const v of message.rewards) {
|
|
387
625
|
DecCoin.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
388
626
|
}
|
|
389
|
-
|
|
390
|
-
if (!message.period.isZero()) {
|
|
627
|
+
if (message.period !== BigInt(0)) {
|
|
391
628
|
writer.uint32(16).uint64(message.period);
|
|
392
629
|
}
|
|
393
|
-
|
|
394
630
|
return writer;
|
|
395
631
|
},
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
632
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ValidatorCurrentRewards {
|
|
633
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
399
634
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
400
635
|
const message = createBaseValidatorCurrentRewards();
|
|
401
|
-
|
|
402
636
|
while (reader.pos < end) {
|
|
403
637
|
const tag = reader.uint32();
|
|
404
|
-
|
|
405
638
|
switch (tag >>> 3) {
|
|
406
639
|
case 1:
|
|
407
640
|
message.rewards.push(DecCoin.decode(reader, reader.uint32()));
|
|
408
641
|
break;
|
|
409
|
-
|
|
410
642
|
case 2:
|
|
411
|
-
message.period =
|
|
643
|
+
message.period = reader.uint64();
|
|
412
644
|
break;
|
|
413
|
-
|
|
414
645
|
default:
|
|
415
646
|
reader.skipType(tag & 7);
|
|
416
647
|
break;
|
|
417
648
|
}
|
|
418
649
|
}
|
|
419
|
-
|
|
420
650
|
return message;
|
|
421
651
|
},
|
|
422
|
-
|
|
423
|
-
fromPartial(object: DeepPartial<ValidatorCurrentRewards>): ValidatorCurrentRewards {
|
|
652
|
+
fromPartial(object: Partial<ValidatorCurrentRewards>): ValidatorCurrentRewards {
|
|
424
653
|
const message = createBaseValidatorCurrentRewards();
|
|
425
654
|
message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || [];
|
|
426
|
-
message.period = object.period !== undefined && object.period !== null ?
|
|
655
|
+
message.period = object.period !== undefined && object.period !== null ? BigInt(object.period.toString()) : BigInt(0);
|
|
656
|
+
return message;
|
|
657
|
+
},
|
|
658
|
+
fromAmino(object: ValidatorCurrentRewardsAmino): ValidatorCurrentRewards {
|
|
659
|
+
const message = createBaseValidatorCurrentRewards();
|
|
660
|
+
message.rewards = object.rewards?.map(e => DecCoin.fromAmino(e)) || [];
|
|
661
|
+
if (object.period !== undefined && object.period !== null) {
|
|
662
|
+
message.period = BigInt(object.period);
|
|
663
|
+
}
|
|
427
664
|
return message;
|
|
665
|
+
},
|
|
666
|
+
toAmino(message: ValidatorCurrentRewards): ValidatorCurrentRewardsAmino {
|
|
667
|
+
const obj: any = {};
|
|
668
|
+
if (message.rewards) {
|
|
669
|
+
obj.rewards = message.rewards.map(e => e ? DecCoin.toAmino(e) : undefined);
|
|
670
|
+
} else {
|
|
671
|
+
obj.rewards = [];
|
|
672
|
+
}
|
|
673
|
+
obj.period = message.period ? message.period.toString() : undefined;
|
|
674
|
+
return obj;
|
|
675
|
+
},
|
|
676
|
+
fromAminoMsg(object: ValidatorCurrentRewardsAminoMsg): ValidatorCurrentRewards {
|
|
677
|
+
return ValidatorCurrentRewards.fromAmino(object.value);
|
|
678
|
+
},
|
|
679
|
+
toAminoMsg(message: ValidatorCurrentRewards): ValidatorCurrentRewardsAminoMsg {
|
|
680
|
+
return {
|
|
681
|
+
type: "cosmos-sdk/ValidatorCurrentRewards",
|
|
682
|
+
value: ValidatorCurrentRewards.toAmino(message)
|
|
683
|
+
};
|
|
684
|
+
},
|
|
685
|
+
fromProtoMsg(message: ValidatorCurrentRewardsProtoMsg): ValidatorCurrentRewards {
|
|
686
|
+
return ValidatorCurrentRewards.decode(message.value);
|
|
687
|
+
},
|
|
688
|
+
toProto(message: ValidatorCurrentRewards): Uint8Array {
|
|
689
|
+
return ValidatorCurrentRewards.encode(message).finish();
|
|
690
|
+
},
|
|
691
|
+
toProtoMsg(message: ValidatorCurrentRewards): ValidatorCurrentRewardsProtoMsg {
|
|
692
|
+
return {
|
|
693
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewards",
|
|
694
|
+
value: ValidatorCurrentRewards.encode(message).finish()
|
|
695
|
+
};
|
|
428
696
|
}
|
|
429
|
-
|
|
430
697
|
};
|
|
431
|
-
|
|
432
698
|
function createBaseValidatorAccumulatedCommission(): ValidatorAccumulatedCommission {
|
|
433
699
|
return {
|
|
434
700
|
commission: []
|
|
435
701
|
};
|
|
436
702
|
}
|
|
437
|
-
|
|
438
703
|
export const ValidatorAccumulatedCommission = {
|
|
439
|
-
|
|
704
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission",
|
|
705
|
+
encode(message: ValidatorAccumulatedCommission, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
440
706
|
for (const v of message.commission) {
|
|
441
707
|
DecCoin.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
442
708
|
}
|
|
443
|
-
|
|
444
709
|
return writer;
|
|
445
710
|
},
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
711
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ValidatorAccumulatedCommission {
|
|
712
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
449
713
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
450
714
|
const message = createBaseValidatorAccumulatedCommission();
|
|
451
|
-
|
|
452
715
|
while (reader.pos < end) {
|
|
453
716
|
const tag = reader.uint32();
|
|
454
|
-
|
|
455
717
|
switch (tag >>> 3) {
|
|
456
718
|
case 1:
|
|
457
719
|
message.commission.push(DecCoin.decode(reader, reader.uint32()));
|
|
458
720
|
break;
|
|
459
|
-
|
|
460
721
|
default:
|
|
461
722
|
reader.skipType(tag & 7);
|
|
462
723
|
break;
|
|
463
724
|
}
|
|
464
725
|
}
|
|
465
|
-
|
|
466
726
|
return message;
|
|
467
727
|
},
|
|
468
|
-
|
|
469
|
-
fromPartial(object: DeepPartial<ValidatorAccumulatedCommission>): ValidatorAccumulatedCommission {
|
|
728
|
+
fromPartial(object: Partial<ValidatorAccumulatedCommission>): ValidatorAccumulatedCommission {
|
|
470
729
|
const message = createBaseValidatorAccumulatedCommission();
|
|
471
730
|
message.commission = object.commission?.map(e => DecCoin.fromPartial(e)) || [];
|
|
472
731
|
return message;
|
|
732
|
+
},
|
|
733
|
+
fromAmino(object: ValidatorAccumulatedCommissionAmino): ValidatorAccumulatedCommission {
|
|
734
|
+
const message = createBaseValidatorAccumulatedCommission();
|
|
735
|
+
message.commission = object.commission?.map(e => DecCoin.fromAmino(e)) || [];
|
|
736
|
+
return message;
|
|
737
|
+
},
|
|
738
|
+
toAmino(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionAmino {
|
|
739
|
+
const obj: any = {};
|
|
740
|
+
if (message.commission) {
|
|
741
|
+
obj.commission = message.commission.map(e => e ? DecCoin.toAmino(e) : undefined);
|
|
742
|
+
} else {
|
|
743
|
+
obj.commission = [];
|
|
744
|
+
}
|
|
745
|
+
return obj;
|
|
746
|
+
},
|
|
747
|
+
fromAminoMsg(object: ValidatorAccumulatedCommissionAminoMsg): ValidatorAccumulatedCommission {
|
|
748
|
+
return ValidatorAccumulatedCommission.fromAmino(object.value);
|
|
749
|
+
},
|
|
750
|
+
toAminoMsg(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionAminoMsg {
|
|
751
|
+
return {
|
|
752
|
+
type: "cosmos-sdk/ValidatorAccumulatedCommission",
|
|
753
|
+
value: ValidatorAccumulatedCommission.toAmino(message)
|
|
754
|
+
};
|
|
755
|
+
},
|
|
756
|
+
fromProtoMsg(message: ValidatorAccumulatedCommissionProtoMsg): ValidatorAccumulatedCommission {
|
|
757
|
+
return ValidatorAccumulatedCommission.decode(message.value);
|
|
758
|
+
},
|
|
759
|
+
toProto(message: ValidatorAccumulatedCommission): Uint8Array {
|
|
760
|
+
return ValidatorAccumulatedCommission.encode(message).finish();
|
|
761
|
+
},
|
|
762
|
+
toProtoMsg(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionProtoMsg {
|
|
763
|
+
return {
|
|
764
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission",
|
|
765
|
+
value: ValidatorAccumulatedCommission.encode(message).finish()
|
|
766
|
+
};
|
|
473
767
|
}
|
|
474
|
-
|
|
475
768
|
};
|
|
476
|
-
|
|
477
769
|
function createBaseValidatorOutstandingRewards(): ValidatorOutstandingRewards {
|
|
478
770
|
return {
|
|
479
771
|
rewards: []
|
|
480
772
|
};
|
|
481
773
|
}
|
|
482
|
-
|
|
483
774
|
export const ValidatorOutstandingRewards = {
|
|
484
|
-
|
|
775
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewards",
|
|
776
|
+
encode(message: ValidatorOutstandingRewards, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
485
777
|
for (const v of message.rewards) {
|
|
486
778
|
DecCoin.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
487
779
|
}
|
|
488
|
-
|
|
489
780
|
return writer;
|
|
490
781
|
},
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
782
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ValidatorOutstandingRewards {
|
|
783
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
494
784
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
495
785
|
const message = createBaseValidatorOutstandingRewards();
|
|
496
|
-
|
|
497
786
|
while (reader.pos < end) {
|
|
498
787
|
const tag = reader.uint32();
|
|
499
|
-
|
|
500
788
|
switch (tag >>> 3) {
|
|
501
789
|
case 1:
|
|
502
790
|
message.rewards.push(DecCoin.decode(reader, reader.uint32()));
|
|
503
791
|
break;
|
|
504
|
-
|
|
505
792
|
default:
|
|
506
793
|
reader.skipType(tag & 7);
|
|
507
794
|
break;
|
|
508
795
|
}
|
|
509
796
|
}
|
|
510
|
-
|
|
511
797
|
return message;
|
|
512
798
|
},
|
|
513
|
-
|
|
514
|
-
fromPartial(object: DeepPartial<ValidatorOutstandingRewards>): ValidatorOutstandingRewards {
|
|
799
|
+
fromPartial(object: Partial<ValidatorOutstandingRewards>): ValidatorOutstandingRewards {
|
|
515
800
|
const message = createBaseValidatorOutstandingRewards();
|
|
516
801
|
message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || [];
|
|
517
802
|
return message;
|
|
803
|
+
},
|
|
804
|
+
fromAmino(object: ValidatorOutstandingRewardsAmino): ValidatorOutstandingRewards {
|
|
805
|
+
const message = createBaseValidatorOutstandingRewards();
|
|
806
|
+
message.rewards = object.rewards?.map(e => DecCoin.fromAmino(e)) || [];
|
|
807
|
+
return message;
|
|
808
|
+
},
|
|
809
|
+
toAmino(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsAmino {
|
|
810
|
+
const obj: any = {};
|
|
811
|
+
if (message.rewards) {
|
|
812
|
+
obj.rewards = message.rewards.map(e => e ? DecCoin.toAmino(e) : undefined);
|
|
813
|
+
} else {
|
|
814
|
+
obj.rewards = [];
|
|
815
|
+
}
|
|
816
|
+
return obj;
|
|
817
|
+
},
|
|
818
|
+
fromAminoMsg(object: ValidatorOutstandingRewardsAminoMsg): ValidatorOutstandingRewards {
|
|
819
|
+
return ValidatorOutstandingRewards.fromAmino(object.value);
|
|
820
|
+
},
|
|
821
|
+
toAminoMsg(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsAminoMsg {
|
|
822
|
+
return {
|
|
823
|
+
type: "cosmos-sdk/ValidatorOutstandingRewards",
|
|
824
|
+
value: ValidatorOutstandingRewards.toAmino(message)
|
|
825
|
+
};
|
|
826
|
+
},
|
|
827
|
+
fromProtoMsg(message: ValidatorOutstandingRewardsProtoMsg): ValidatorOutstandingRewards {
|
|
828
|
+
return ValidatorOutstandingRewards.decode(message.value);
|
|
829
|
+
},
|
|
830
|
+
toProto(message: ValidatorOutstandingRewards): Uint8Array {
|
|
831
|
+
return ValidatorOutstandingRewards.encode(message).finish();
|
|
832
|
+
},
|
|
833
|
+
toProtoMsg(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsProtoMsg {
|
|
834
|
+
return {
|
|
835
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewards",
|
|
836
|
+
value: ValidatorOutstandingRewards.encode(message).finish()
|
|
837
|
+
};
|
|
518
838
|
}
|
|
519
|
-
|
|
520
839
|
};
|
|
521
|
-
|
|
522
840
|
function createBaseValidatorSlashEvent(): ValidatorSlashEvent {
|
|
523
841
|
return {
|
|
524
|
-
validatorPeriod:
|
|
842
|
+
validatorPeriod: BigInt(0),
|
|
525
843
|
fraction: ""
|
|
526
844
|
};
|
|
527
845
|
}
|
|
528
|
-
|
|
529
846
|
export const ValidatorSlashEvent = {
|
|
530
|
-
|
|
531
|
-
|
|
847
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvent",
|
|
848
|
+
encode(message: ValidatorSlashEvent, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
849
|
+
if (message.validatorPeriod !== BigInt(0)) {
|
|
532
850
|
writer.uint32(8).uint64(message.validatorPeriod);
|
|
533
851
|
}
|
|
534
|
-
|
|
535
852
|
if (message.fraction !== "") {
|
|
536
|
-
writer.uint32(18).string(message.fraction);
|
|
853
|
+
writer.uint32(18).string(Decimal.fromUserInput(message.fraction, 18).atomics);
|
|
537
854
|
}
|
|
538
|
-
|
|
539
855
|
return writer;
|
|
540
856
|
},
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
857
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ValidatorSlashEvent {
|
|
858
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
544
859
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
545
860
|
const message = createBaseValidatorSlashEvent();
|
|
546
|
-
|
|
547
861
|
while (reader.pos < end) {
|
|
548
862
|
const tag = reader.uint32();
|
|
549
|
-
|
|
550
863
|
switch (tag >>> 3) {
|
|
551
864
|
case 1:
|
|
552
|
-
message.validatorPeriod =
|
|
865
|
+
message.validatorPeriod = reader.uint64();
|
|
553
866
|
break;
|
|
554
|
-
|
|
555
867
|
case 2:
|
|
556
|
-
message.fraction = reader.string();
|
|
868
|
+
message.fraction = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
557
869
|
break;
|
|
558
|
-
|
|
559
870
|
default:
|
|
560
871
|
reader.skipType(tag & 7);
|
|
561
872
|
break;
|
|
562
873
|
}
|
|
563
874
|
}
|
|
564
|
-
|
|
565
875
|
return message;
|
|
566
876
|
},
|
|
567
|
-
|
|
568
|
-
fromPartial(object: DeepPartial<ValidatorSlashEvent>): ValidatorSlashEvent {
|
|
877
|
+
fromPartial(object: Partial<ValidatorSlashEvent>): ValidatorSlashEvent {
|
|
569
878
|
const message = createBaseValidatorSlashEvent();
|
|
570
|
-
message.validatorPeriod = object.validatorPeriod !== undefined && object.validatorPeriod !== null ?
|
|
879
|
+
message.validatorPeriod = object.validatorPeriod !== undefined && object.validatorPeriod !== null ? BigInt(object.validatorPeriod.toString()) : BigInt(0);
|
|
571
880
|
message.fraction = object.fraction ?? "";
|
|
572
881
|
return message;
|
|
882
|
+
},
|
|
883
|
+
fromAmino(object: ValidatorSlashEventAmino): ValidatorSlashEvent {
|
|
884
|
+
const message = createBaseValidatorSlashEvent();
|
|
885
|
+
if (object.validator_period !== undefined && object.validator_period !== null) {
|
|
886
|
+
message.validatorPeriod = BigInt(object.validator_period);
|
|
887
|
+
}
|
|
888
|
+
if (object.fraction !== undefined && object.fraction !== null) {
|
|
889
|
+
message.fraction = object.fraction;
|
|
890
|
+
}
|
|
891
|
+
return message;
|
|
892
|
+
},
|
|
893
|
+
toAmino(message: ValidatorSlashEvent): ValidatorSlashEventAmino {
|
|
894
|
+
const obj: any = {};
|
|
895
|
+
obj.validator_period = message.validatorPeriod ? message.validatorPeriod.toString() : undefined;
|
|
896
|
+
obj.fraction = message.fraction;
|
|
897
|
+
return obj;
|
|
898
|
+
},
|
|
899
|
+
fromAminoMsg(object: ValidatorSlashEventAminoMsg): ValidatorSlashEvent {
|
|
900
|
+
return ValidatorSlashEvent.fromAmino(object.value);
|
|
901
|
+
},
|
|
902
|
+
toAminoMsg(message: ValidatorSlashEvent): ValidatorSlashEventAminoMsg {
|
|
903
|
+
return {
|
|
904
|
+
type: "cosmos-sdk/ValidatorSlashEvent",
|
|
905
|
+
value: ValidatorSlashEvent.toAmino(message)
|
|
906
|
+
};
|
|
907
|
+
},
|
|
908
|
+
fromProtoMsg(message: ValidatorSlashEventProtoMsg): ValidatorSlashEvent {
|
|
909
|
+
return ValidatorSlashEvent.decode(message.value);
|
|
910
|
+
},
|
|
911
|
+
toProto(message: ValidatorSlashEvent): Uint8Array {
|
|
912
|
+
return ValidatorSlashEvent.encode(message).finish();
|
|
913
|
+
},
|
|
914
|
+
toProtoMsg(message: ValidatorSlashEvent): ValidatorSlashEventProtoMsg {
|
|
915
|
+
return {
|
|
916
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvent",
|
|
917
|
+
value: ValidatorSlashEvent.encode(message).finish()
|
|
918
|
+
};
|
|
573
919
|
}
|
|
574
|
-
|
|
575
920
|
};
|
|
576
|
-
|
|
577
921
|
function createBaseValidatorSlashEvents(): ValidatorSlashEvents {
|
|
578
922
|
return {
|
|
579
923
|
validatorSlashEvents: []
|
|
580
924
|
};
|
|
581
925
|
}
|
|
582
|
-
|
|
583
926
|
export const ValidatorSlashEvents = {
|
|
584
|
-
|
|
927
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvents",
|
|
928
|
+
encode(message: ValidatorSlashEvents, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
585
929
|
for (const v of message.validatorSlashEvents) {
|
|
586
930
|
ValidatorSlashEvent.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
587
931
|
}
|
|
588
|
-
|
|
589
932
|
return writer;
|
|
590
933
|
},
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
934
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ValidatorSlashEvents {
|
|
935
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
594
936
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
595
937
|
const message = createBaseValidatorSlashEvents();
|
|
596
|
-
|
|
597
938
|
while (reader.pos < end) {
|
|
598
939
|
const tag = reader.uint32();
|
|
599
|
-
|
|
600
940
|
switch (tag >>> 3) {
|
|
601
941
|
case 1:
|
|
602
942
|
message.validatorSlashEvents.push(ValidatorSlashEvent.decode(reader, reader.uint32()));
|
|
603
943
|
break;
|
|
604
|
-
|
|
605
944
|
default:
|
|
606
945
|
reader.skipType(tag & 7);
|
|
607
946
|
break;
|
|
608
947
|
}
|
|
609
948
|
}
|
|
610
|
-
|
|
611
949
|
return message;
|
|
612
950
|
},
|
|
613
|
-
|
|
614
|
-
fromPartial(object: DeepPartial<ValidatorSlashEvents>): ValidatorSlashEvents {
|
|
951
|
+
fromPartial(object: Partial<ValidatorSlashEvents>): ValidatorSlashEvents {
|
|
615
952
|
const message = createBaseValidatorSlashEvents();
|
|
616
953
|
message.validatorSlashEvents = object.validatorSlashEvents?.map(e => ValidatorSlashEvent.fromPartial(e)) || [];
|
|
617
954
|
return message;
|
|
955
|
+
},
|
|
956
|
+
fromAmino(object: ValidatorSlashEventsAmino): ValidatorSlashEvents {
|
|
957
|
+
const message = createBaseValidatorSlashEvents();
|
|
958
|
+
message.validatorSlashEvents = object.validator_slash_events?.map(e => ValidatorSlashEvent.fromAmino(e)) || [];
|
|
959
|
+
return message;
|
|
960
|
+
},
|
|
961
|
+
toAmino(message: ValidatorSlashEvents): ValidatorSlashEventsAmino {
|
|
962
|
+
const obj: any = {};
|
|
963
|
+
if (message.validatorSlashEvents) {
|
|
964
|
+
obj.validator_slash_events = message.validatorSlashEvents.map(e => e ? ValidatorSlashEvent.toAmino(e) : undefined);
|
|
965
|
+
} else {
|
|
966
|
+
obj.validator_slash_events = [];
|
|
967
|
+
}
|
|
968
|
+
return obj;
|
|
969
|
+
},
|
|
970
|
+
fromAminoMsg(object: ValidatorSlashEventsAminoMsg): ValidatorSlashEvents {
|
|
971
|
+
return ValidatorSlashEvents.fromAmino(object.value);
|
|
972
|
+
},
|
|
973
|
+
toAminoMsg(message: ValidatorSlashEvents): ValidatorSlashEventsAminoMsg {
|
|
974
|
+
return {
|
|
975
|
+
type: "cosmos-sdk/ValidatorSlashEvents",
|
|
976
|
+
value: ValidatorSlashEvents.toAmino(message)
|
|
977
|
+
};
|
|
978
|
+
},
|
|
979
|
+
fromProtoMsg(message: ValidatorSlashEventsProtoMsg): ValidatorSlashEvents {
|
|
980
|
+
return ValidatorSlashEvents.decode(message.value);
|
|
981
|
+
},
|
|
982
|
+
toProto(message: ValidatorSlashEvents): Uint8Array {
|
|
983
|
+
return ValidatorSlashEvents.encode(message).finish();
|
|
984
|
+
},
|
|
985
|
+
toProtoMsg(message: ValidatorSlashEvents): ValidatorSlashEventsProtoMsg {
|
|
986
|
+
return {
|
|
987
|
+
typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvents",
|
|
988
|
+
value: ValidatorSlashEvents.encode(message).finish()
|
|
989
|
+
};
|
|
618
990
|
}
|
|
619
|
-
|
|
620
991
|
};
|
|
621
|
-
|
|
622
992
|
function createBaseFeePool(): FeePool {
|
|
623
993
|
return {
|
|
624
994
|
communityPool: []
|
|
625
995
|
};
|
|
626
996
|
}
|
|
627
|
-
|
|
628
997
|
export const FeePool = {
|
|
629
|
-
|
|
998
|
+
typeUrl: "/cosmos.distribution.v1beta1.FeePool",
|
|
999
|
+
encode(message: FeePool, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
630
1000
|
for (const v of message.communityPool) {
|
|
631
1001
|
DecCoin.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
632
1002
|
}
|
|
633
|
-
|
|
634
1003
|
return writer;
|
|
635
1004
|
},
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1005
|
+
decode(input: BinaryReader | Uint8Array, length?: number): FeePool {
|
|
1006
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
639
1007
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
640
1008
|
const message = createBaseFeePool();
|
|
641
|
-
|
|
642
1009
|
while (reader.pos < end) {
|
|
643
1010
|
const tag = reader.uint32();
|
|
644
|
-
|
|
645
1011
|
switch (tag >>> 3) {
|
|
646
1012
|
case 1:
|
|
647
1013
|
message.communityPool.push(DecCoin.decode(reader, reader.uint32()));
|
|
648
1014
|
break;
|
|
649
|
-
|
|
650
1015
|
default:
|
|
651
1016
|
reader.skipType(tag & 7);
|
|
652
1017
|
break;
|
|
653
1018
|
}
|
|
654
1019
|
}
|
|
655
|
-
|
|
656
1020
|
return message;
|
|
657
1021
|
},
|
|
658
|
-
|
|
659
|
-
fromPartial(object: DeepPartial<FeePool>): FeePool {
|
|
1022
|
+
fromPartial(object: Partial<FeePool>): FeePool {
|
|
660
1023
|
const message = createBaseFeePool();
|
|
661
1024
|
message.communityPool = object.communityPool?.map(e => DecCoin.fromPartial(e)) || [];
|
|
662
1025
|
return message;
|
|
1026
|
+
},
|
|
1027
|
+
fromAmino(object: FeePoolAmino): FeePool {
|
|
1028
|
+
const message = createBaseFeePool();
|
|
1029
|
+
message.communityPool = object.community_pool?.map(e => DecCoin.fromAmino(e)) || [];
|
|
1030
|
+
return message;
|
|
1031
|
+
},
|
|
1032
|
+
toAmino(message: FeePool): FeePoolAmino {
|
|
1033
|
+
const obj: any = {};
|
|
1034
|
+
if (message.communityPool) {
|
|
1035
|
+
obj.community_pool = message.communityPool.map(e => e ? DecCoin.toAmino(e) : undefined);
|
|
1036
|
+
} else {
|
|
1037
|
+
obj.community_pool = [];
|
|
1038
|
+
}
|
|
1039
|
+
return obj;
|
|
1040
|
+
},
|
|
1041
|
+
fromAminoMsg(object: FeePoolAminoMsg): FeePool {
|
|
1042
|
+
return FeePool.fromAmino(object.value);
|
|
1043
|
+
},
|
|
1044
|
+
toAminoMsg(message: FeePool): FeePoolAminoMsg {
|
|
1045
|
+
return {
|
|
1046
|
+
type: "cosmos-sdk/FeePool",
|
|
1047
|
+
value: FeePool.toAmino(message)
|
|
1048
|
+
};
|
|
1049
|
+
},
|
|
1050
|
+
fromProtoMsg(message: FeePoolProtoMsg): FeePool {
|
|
1051
|
+
return FeePool.decode(message.value);
|
|
1052
|
+
},
|
|
1053
|
+
toProto(message: FeePool): Uint8Array {
|
|
1054
|
+
return FeePool.encode(message).finish();
|
|
1055
|
+
},
|
|
1056
|
+
toProtoMsg(message: FeePool): FeePoolProtoMsg {
|
|
1057
|
+
return {
|
|
1058
|
+
typeUrl: "/cosmos.distribution.v1beta1.FeePool",
|
|
1059
|
+
value: FeePool.encode(message).finish()
|
|
1060
|
+
};
|
|
663
1061
|
}
|
|
664
|
-
|
|
665
1062
|
};
|
|
666
|
-
|
|
667
1063
|
function createBaseCommunityPoolSpendProposal(): CommunityPoolSpendProposal {
|
|
668
1064
|
return {
|
|
669
1065
|
title: "",
|
|
@@ -672,193 +1068,281 @@ function createBaseCommunityPoolSpendProposal(): CommunityPoolSpendProposal {
|
|
|
672
1068
|
amount: []
|
|
673
1069
|
};
|
|
674
1070
|
}
|
|
675
|
-
|
|
676
1071
|
export const CommunityPoolSpendProposal = {
|
|
677
|
-
|
|
1072
|
+
typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal",
|
|
1073
|
+
encode(message: CommunityPoolSpendProposal, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
678
1074
|
if (message.title !== "") {
|
|
679
1075
|
writer.uint32(10).string(message.title);
|
|
680
1076
|
}
|
|
681
|
-
|
|
682
1077
|
if (message.description !== "") {
|
|
683
1078
|
writer.uint32(18).string(message.description);
|
|
684
1079
|
}
|
|
685
|
-
|
|
686
1080
|
if (message.recipient !== "") {
|
|
687
1081
|
writer.uint32(26).string(message.recipient);
|
|
688
1082
|
}
|
|
689
|
-
|
|
690
1083
|
for (const v of message.amount) {
|
|
691
1084
|
Coin.encode(v!, writer.uint32(34).fork()).ldelim();
|
|
692
1085
|
}
|
|
693
|
-
|
|
694
1086
|
return writer;
|
|
695
1087
|
},
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1088
|
+
decode(input: BinaryReader | Uint8Array, length?: number): CommunityPoolSpendProposal {
|
|
1089
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
699
1090
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
700
1091
|
const message = createBaseCommunityPoolSpendProposal();
|
|
701
|
-
|
|
702
1092
|
while (reader.pos < end) {
|
|
703
1093
|
const tag = reader.uint32();
|
|
704
|
-
|
|
705
1094
|
switch (tag >>> 3) {
|
|
706
1095
|
case 1:
|
|
707
1096
|
message.title = reader.string();
|
|
708
1097
|
break;
|
|
709
|
-
|
|
710
1098
|
case 2:
|
|
711
1099
|
message.description = reader.string();
|
|
712
1100
|
break;
|
|
713
|
-
|
|
714
1101
|
case 3:
|
|
715
1102
|
message.recipient = reader.string();
|
|
716
1103
|
break;
|
|
717
|
-
|
|
718
1104
|
case 4:
|
|
719
1105
|
message.amount.push(Coin.decode(reader, reader.uint32()));
|
|
720
1106
|
break;
|
|
721
|
-
|
|
722
1107
|
default:
|
|
723
1108
|
reader.skipType(tag & 7);
|
|
724
1109
|
break;
|
|
725
1110
|
}
|
|
726
1111
|
}
|
|
727
|
-
|
|
728
1112
|
return message;
|
|
729
1113
|
},
|
|
730
|
-
|
|
731
|
-
fromPartial(object: DeepPartial<CommunityPoolSpendProposal>): CommunityPoolSpendProposal {
|
|
1114
|
+
fromPartial(object: Partial<CommunityPoolSpendProposal>): CommunityPoolSpendProposal {
|
|
732
1115
|
const message = createBaseCommunityPoolSpendProposal();
|
|
733
1116
|
message.title = object.title ?? "";
|
|
734
1117
|
message.description = object.description ?? "";
|
|
735
1118
|
message.recipient = object.recipient ?? "";
|
|
736
1119
|
message.amount = object.amount?.map(e => Coin.fromPartial(e)) || [];
|
|
737
1120
|
return message;
|
|
1121
|
+
},
|
|
1122
|
+
fromAmino(object: CommunityPoolSpendProposalAmino): CommunityPoolSpendProposal {
|
|
1123
|
+
const message = createBaseCommunityPoolSpendProposal();
|
|
1124
|
+
if (object.title !== undefined && object.title !== null) {
|
|
1125
|
+
message.title = object.title;
|
|
1126
|
+
}
|
|
1127
|
+
if (object.description !== undefined && object.description !== null) {
|
|
1128
|
+
message.description = object.description;
|
|
1129
|
+
}
|
|
1130
|
+
if (object.recipient !== undefined && object.recipient !== null) {
|
|
1131
|
+
message.recipient = object.recipient;
|
|
1132
|
+
}
|
|
1133
|
+
message.amount = object.amount?.map(e => Coin.fromAmino(e)) || [];
|
|
1134
|
+
return message;
|
|
1135
|
+
},
|
|
1136
|
+
toAmino(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalAmino {
|
|
1137
|
+
const obj: any = {};
|
|
1138
|
+
obj.title = message.title;
|
|
1139
|
+
obj.description = message.description;
|
|
1140
|
+
obj.recipient = message.recipient;
|
|
1141
|
+
if (message.amount) {
|
|
1142
|
+
obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined);
|
|
1143
|
+
} else {
|
|
1144
|
+
obj.amount = [];
|
|
1145
|
+
}
|
|
1146
|
+
return obj;
|
|
1147
|
+
},
|
|
1148
|
+
fromAminoMsg(object: CommunityPoolSpendProposalAminoMsg): CommunityPoolSpendProposal {
|
|
1149
|
+
return CommunityPoolSpendProposal.fromAmino(object.value);
|
|
1150
|
+
},
|
|
1151
|
+
toAminoMsg(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalAminoMsg {
|
|
1152
|
+
return {
|
|
1153
|
+
type: "cosmos-sdk/CommunityPoolSpendProposal",
|
|
1154
|
+
value: CommunityPoolSpendProposal.toAmino(message)
|
|
1155
|
+
};
|
|
1156
|
+
},
|
|
1157
|
+
fromProtoMsg(message: CommunityPoolSpendProposalProtoMsg): CommunityPoolSpendProposal {
|
|
1158
|
+
return CommunityPoolSpendProposal.decode(message.value);
|
|
1159
|
+
},
|
|
1160
|
+
toProto(message: CommunityPoolSpendProposal): Uint8Array {
|
|
1161
|
+
return CommunityPoolSpendProposal.encode(message).finish();
|
|
1162
|
+
},
|
|
1163
|
+
toProtoMsg(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalProtoMsg {
|
|
1164
|
+
return {
|
|
1165
|
+
typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal",
|
|
1166
|
+
value: CommunityPoolSpendProposal.encode(message).finish()
|
|
1167
|
+
};
|
|
738
1168
|
}
|
|
739
|
-
|
|
740
1169
|
};
|
|
741
|
-
|
|
742
1170
|
function createBaseDelegatorStartingInfo(): DelegatorStartingInfo {
|
|
743
1171
|
return {
|
|
744
|
-
previousPeriod:
|
|
1172
|
+
previousPeriod: BigInt(0),
|
|
745
1173
|
stake: "",
|
|
746
|
-
height:
|
|
1174
|
+
height: BigInt(0)
|
|
747
1175
|
};
|
|
748
1176
|
}
|
|
749
|
-
|
|
750
1177
|
export const DelegatorStartingInfo = {
|
|
751
|
-
|
|
752
|
-
|
|
1178
|
+
typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfo",
|
|
1179
|
+
encode(message: DelegatorStartingInfo, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1180
|
+
if (message.previousPeriod !== BigInt(0)) {
|
|
753
1181
|
writer.uint32(8).uint64(message.previousPeriod);
|
|
754
1182
|
}
|
|
755
|
-
|
|
756
1183
|
if (message.stake !== "") {
|
|
757
|
-
writer.uint32(18).string(message.stake);
|
|
1184
|
+
writer.uint32(18).string(Decimal.fromUserInput(message.stake, 18).atomics);
|
|
758
1185
|
}
|
|
759
|
-
|
|
760
|
-
if (!message.height.isZero()) {
|
|
1186
|
+
if (message.height !== BigInt(0)) {
|
|
761
1187
|
writer.uint32(24).uint64(message.height);
|
|
762
1188
|
}
|
|
763
|
-
|
|
764
1189
|
return writer;
|
|
765
1190
|
},
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1191
|
+
decode(input: BinaryReader | Uint8Array, length?: number): DelegatorStartingInfo {
|
|
1192
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
769
1193
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
770
1194
|
const message = createBaseDelegatorStartingInfo();
|
|
771
|
-
|
|
772
1195
|
while (reader.pos < end) {
|
|
773
1196
|
const tag = reader.uint32();
|
|
774
|
-
|
|
775
1197
|
switch (tag >>> 3) {
|
|
776
1198
|
case 1:
|
|
777
|
-
message.previousPeriod =
|
|
1199
|
+
message.previousPeriod = reader.uint64();
|
|
778
1200
|
break;
|
|
779
|
-
|
|
780
1201
|
case 2:
|
|
781
|
-
message.stake = reader.string();
|
|
1202
|
+
message.stake = Decimal.fromAtomics(reader.string(), 18).toString();
|
|
782
1203
|
break;
|
|
783
|
-
|
|
784
1204
|
case 3:
|
|
785
|
-
message.height =
|
|
1205
|
+
message.height = reader.uint64();
|
|
786
1206
|
break;
|
|
787
|
-
|
|
788
1207
|
default:
|
|
789
1208
|
reader.skipType(tag & 7);
|
|
790
1209
|
break;
|
|
791
1210
|
}
|
|
792
1211
|
}
|
|
793
|
-
|
|
794
1212
|
return message;
|
|
795
1213
|
},
|
|
796
|
-
|
|
797
|
-
fromPartial(object: DeepPartial<DelegatorStartingInfo>): DelegatorStartingInfo {
|
|
1214
|
+
fromPartial(object: Partial<DelegatorStartingInfo>): DelegatorStartingInfo {
|
|
798
1215
|
const message = createBaseDelegatorStartingInfo();
|
|
799
|
-
message.previousPeriod = object.previousPeriod !== undefined && object.previousPeriod !== null ?
|
|
1216
|
+
message.previousPeriod = object.previousPeriod !== undefined && object.previousPeriod !== null ? BigInt(object.previousPeriod.toString()) : BigInt(0);
|
|
800
1217
|
message.stake = object.stake ?? "";
|
|
801
|
-
message.height = object.height !== undefined && object.height !== null ?
|
|
1218
|
+
message.height = object.height !== undefined && object.height !== null ? BigInt(object.height.toString()) : BigInt(0);
|
|
1219
|
+
return message;
|
|
1220
|
+
},
|
|
1221
|
+
fromAmino(object: DelegatorStartingInfoAmino): DelegatorStartingInfo {
|
|
1222
|
+
const message = createBaseDelegatorStartingInfo();
|
|
1223
|
+
if (object.previous_period !== undefined && object.previous_period !== null) {
|
|
1224
|
+
message.previousPeriod = BigInt(object.previous_period);
|
|
1225
|
+
}
|
|
1226
|
+
if (object.stake !== undefined && object.stake !== null) {
|
|
1227
|
+
message.stake = object.stake;
|
|
1228
|
+
}
|
|
1229
|
+
if (object.height !== undefined && object.height !== null) {
|
|
1230
|
+
message.height = BigInt(object.height);
|
|
1231
|
+
}
|
|
802
1232
|
return message;
|
|
1233
|
+
},
|
|
1234
|
+
toAmino(message: DelegatorStartingInfo): DelegatorStartingInfoAmino {
|
|
1235
|
+
const obj: any = {};
|
|
1236
|
+
obj.previous_period = message.previousPeriod ? message.previousPeriod.toString() : undefined;
|
|
1237
|
+
obj.stake = message.stake;
|
|
1238
|
+
obj.height = message.height ? message.height.toString() : undefined;
|
|
1239
|
+
return obj;
|
|
1240
|
+
},
|
|
1241
|
+
fromAminoMsg(object: DelegatorStartingInfoAminoMsg): DelegatorStartingInfo {
|
|
1242
|
+
return DelegatorStartingInfo.fromAmino(object.value);
|
|
1243
|
+
},
|
|
1244
|
+
toAminoMsg(message: DelegatorStartingInfo): DelegatorStartingInfoAminoMsg {
|
|
1245
|
+
return {
|
|
1246
|
+
type: "cosmos-sdk/DelegatorStartingInfo",
|
|
1247
|
+
value: DelegatorStartingInfo.toAmino(message)
|
|
1248
|
+
};
|
|
1249
|
+
},
|
|
1250
|
+
fromProtoMsg(message: DelegatorStartingInfoProtoMsg): DelegatorStartingInfo {
|
|
1251
|
+
return DelegatorStartingInfo.decode(message.value);
|
|
1252
|
+
},
|
|
1253
|
+
toProto(message: DelegatorStartingInfo): Uint8Array {
|
|
1254
|
+
return DelegatorStartingInfo.encode(message).finish();
|
|
1255
|
+
},
|
|
1256
|
+
toProtoMsg(message: DelegatorStartingInfo): DelegatorStartingInfoProtoMsg {
|
|
1257
|
+
return {
|
|
1258
|
+
typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfo",
|
|
1259
|
+
value: DelegatorStartingInfo.encode(message).finish()
|
|
1260
|
+
};
|
|
803
1261
|
}
|
|
804
|
-
|
|
805
1262
|
};
|
|
806
|
-
|
|
807
1263
|
function createBaseDelegationDelegatorReward(): DelegationDelegatorReward {
|
|
808
1264
|
return {
|
|
809
1265
|
validatorAddress: "",
|
|
810
1266
|
reward: []
|
|
811
1267
|
};
|
|
812
1268
|
}
|
|
813
|
-
|
|
814
1269
|
export const DelegationDelegatorReward = {
|
|
815
|
-
|
|
1270
|
+
typeUrl: "/cosmos.distribution.v1beta1.DelegationDelegatorReward",
|
|
1271
|
+
encode(message: DelegationDelegatorReward, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
816
1272
|
if (message.validatorAddress !== "") {
|
|
817
1273
|
writer.uint32(10).string(message.validatorAddress);
|
|
818
1274
|
}
|
|
819
|
-
|
|
820
1275
|
for (const v of message.reward) {
|
|
821
1276
|
DecCoin.encode(v!, writer.uint32(18).fork()).ldelim();
|
|
822
1277
|
}
|
|
823
|
-
|
|
824
1278
|
return writer;
|
|
825
1279
|
},
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1280
|
+
decode(input: BinaryReader | Uint8Array, length?: number): DelegationDelegatorReward {
|
|
1281
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
829
1282
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
830
1283
|
const message = createBaseDelegationDelegatorReward();
|
|
831
|
-
|
|
832
1284
|
while (reader.pos < end) {
|
|
833
1285
|
const tag = reader.uint32();
|
|
834
|
-
|
|
835
1286
|
switch (tag >>> 3) {
|
|
836
1287
|
case 1:
|
|
837
1288
|
message.validatorAddress = reader.string();
|
|
838
1289
|
break;
|
|
839
|
-
|
|
840
1290
|
case 2:
|
|
841
1291
|
message.reward.push(DecCoin.decode(reader, reader.uint32()));
|
|
842
1292
|
break;
|
|
843
|
-
|
|
844
1293
|
default:
|
|
845
1294
|
reader.skipType(tag & 7);
|
|
846
1295
|
break;
|
|
847
1296
|
}
|
|
848
1297
|
}
|
|
849
|
-
|
|
850
1298
|
return message;
|
|
851
1299
|
},
|
|
852
|
-
|
|
853
|
-
fromPartial(object: DeepPartial<DelegationDelegatorReward>): DelegationDelegatorReward {
|
|
1300
|
+
fromPartial(object: Partial<DelegationDelegatorReward>): DelegationDelegatorReward {
|
|
854
1301
|
const message = createBaseDelegationDelegatorReward();
|
|
855
1302
|
message.validatorAddress = object.validatorAddress ?? "";
|
|
856
1303
|
message.reward = object.reward?.map(e => DecCoin.fromPartial(e)) || [];
|
|
857
1304
|
return message;
|
|
1305
|
+
},
|
|
1306
|
+
fromAmino(object: DelegationDelegatorRewardAmino): DelegationDelegatorReward {
|
|
1307
|
+
const message = createBaseDelegationDelegatorReward();
|
|
1308
|
+
if (object.validator_address !== undefined && object.validator_address !== null) {
|
|
1309
|
+
message.validatorAddress = object.validator_address;
|
|
1310
|
+
}
|
|
1311
|
+
message.reward = object.reward?.map(e => DecCoin.fromAmino(e)) || [];
|
|
1312
|
+
return message;
|
|
1313
|
+
},
|
|
1314
|
+
toAmino(message: DelegationDelegatorReward): DelegationDelegatorRewardAmino {
|
|
1315
|
+
const obj: any = {};
|
|
1316
|
+
obj.validator_address = message.validatorAddress;
|
|
1317
|
+
if (message.reward) {
|
|
1318
|
+
obj.reward = message.reward.map(e => e ? DecCoin.toAmino(e) : undefined);
|
|
1319
|
+
} else {
|
|
1320
|
+
obj.reward = [];
|
|
1321
|
+
}
|
|
1322
|
+
return obj;
|
|
1323
|
+
},
|
|
1324
|
+
fromAminoMsg(object: DelegationDelegatorRewardAminoMsg): DelegationDelegatorReward {
|
|
1325
|
+
return DelegationDelegatorReward.fromAmino(object.value);
|
|
1326
|
+
},
|
|
1327
|
+
toAminoMsg(message: DelegationDelegatorReward): DelegationDelegatorRewardAminoMsg {
|
|
1328
|
+
return {
|
|
1329
|
+
type: "cosmos-sdk/DelegationDelegatorReward",
|
|
1330
|
+
value: DelegationDelegatorReward.toAmino(message)
|
|
1331
|
+
};
|
|
1332
|
+
},
|
|
1333
|
+
fromProtoMsg(message: DelegationDelegatorRewardProtoMsg): DelegationDelegatorReward {
|
|
1334
|
+
return DelegationDelegatorReward.decode(message.value);
|
|
1335
|
+
},
|
|
1336
|
+
toProto(message: DelegationDelegatorReward): Uint8Array {
|
|
1337
|
+
return DelegationDelegatorReward.encode(message).finish();
|
|
1338
|
+
},
|
|
1339
|
+
toProtoMsg(message: DelegationDelegatorReward): DelegationDelegatorRewardProtoMsg {
|
|
1340
|
+
return {
|
|
1341
|
+
typeUrl: "/cosmos.distribution.v1beta1.DelegationDelegatorReward",
|
|
1342
|
+
value: DelegationDelegatorReward.encode(message).finish()
|
|
1343
|
+
};
|
|
858
1344
|
}
|
|
859
|
-
|
|
860
1345
|
};
|
|
861
|
-
|
|
862
1346
|
function createBaseCommunityPoolSpendProposalWithDeposit(): CommunityPoolSpendProposalWithDeposit {
|
|
863
1347
|
return {
|
|
864
1348
|
title: "",
|
|
@@ -868,71 +1352,56 @@ function createBaseCommunityPoolSpendProposalWithDeposit(): CommunityPoolSpendPr
|
|
|
868
1352
|
deposit: ""
|
|
869
1353
|
};
|
|
870
1354
|
}
|
|
871
|
-
|
|
872
1355
|
export const CommunityPoolSpendProposalWithDeposit = {
|
|
873
|
-
|
|
1356
|
+
typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit",
|
|
1357
|
+
encode(message: CommunityPoolSpendProposalWithDeposit, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
874
1358
|
if (message.title !== "") {
|
|
875
1359
|
writer.uint32(10).string(message.title);
|
|
876
1360
|
}
|
|
877
|
-
|
|
878
1361
|
if (message.description !== "") {
|
|
879
1362
|
writer.uint32(18).string(message.description);
|
|
880
1363
|
}
|
|
881
|
-
|
|
882
1364
|
if (message.recipient !== "") {
|
|
883
1365
|
writer.uint32(26).string(message.recipient);
|
|
884
1366
|
}
|
|
885
|
-
|
|
886
1367
|
if (message.amount !== "") {
|
|
887
1368
|
writer.uint32(34).string(message.amount);
|
|
888
1369
|
}
|
|
889
|
-
|
|
890
1370
|
if (message.deposit !== "") {
|
|
891
1371
|
writer.uint32(42).string(message.deposit);
|
|
892
1372
|
}
|
|
893
|
-
|
|
894
1373
|
return writer;
|
|
895
1374
|
},
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1375
|
+
decode(input: BinaryReader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit {
|
|
1376
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
899
1377
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
900
1378
|
const message = createBaseCommunityPoolSpendProposalWithDeposit();
|
|
901
|
-
|
|
902
1379
|
while (reader.pos < end) {
|
|
903
1380
|
const tag = reader.uint32();
|
|
904
|
-
|
|
905
1381
|
switch (tag >>> 3) {
|
|
906
1382
|
case 1:
|
|
907
1383
|
message.title = reader.string();
|
|
908
1384
|
break;
|
|
909
|
-
|
|
910
1385
|
case 2:
|
|
911
1386
|
message.description = reader.string();
|
|
912
1387
|
break;
|
|
913
|
-
|
|
914
1388
|
case 3:
|
|
915
1389
|
message.recipient = reader.string();
|
|
916
1390
|
break;
|
|
917
|
-
|
|
918
1391
|
case 4:
|
|
919
1392
|
message.amount = reader.string();
|
|
920
1393
|
break;
|
|
921
|
-
|
|
922
1394
|
case 5:
|
|
923
1395
|
message.deposit = reader.string();
|
|
924
1396
|
break;
|
|
925
|
-
|
|
926
1397
|
default:
|
|
927
1398
|
reader.skipType(tag & 7);
|
|
928
1399
|
break;
|
|
929
1400
|
}
|
|
930
1401
|
}
|
|
931
|
-
|
|
932
1402
|
return message;
|
|
933
1403
|
},
|
|
934
|
-
|
|
935
|
-
fromPartial(object: DeepPartial<CommunityPoolSpendProposalWithDeposit>): CommunityPoolSpendProposalWithDeposit {
|
|
1404
|
+
fromPartial(object: Partial<CommunityPoolSpendProposalWithDeposit>): CommunityPoolSpendProposalWithDeposit {
|
|
936
1405
|
const message = createBaseCommunityPoolSpendProposalWithDeposit();
|
|
937
1406
|
message.title = object.title ?? "";
|
|
938
1407
|
message.description = object.description ?? "";
|
|
@@ -940,6 +1409,54 @@ export const CommunityPoolSpendProposalWithDeposit = {
|
|
|
940
1409
|
message.amount = object.amount ?? "";
|
|
941
1410
|
message.deposit = object.deposit ?? "";
|
|
942
1411
|
return message;
|
|
1412
|
+
},
|
|
1413
|
+
fromAmino(object: CommunityPoolSpendProposalWithDepositAmino): CommunityPoolSpendProposalWithDeposit {
|
|
1414
|
+
const message = createBaseCommunityPoolSpendProposalWithDeposit();
|
|
1415
|
+
if (object.title !== undefined && object.title !== null) {
|
|
1416
|
+
message.title = object.title;
|
|
1417
|
+
}
|
|
1418
|
+
if (object.description !== undefined && object.description !== null) {
|
|
1419
|
+
message.description = object.description;
|
|
1420
|
+
}
|
|
1421
|
+
if (object.recipient !== undefined && object.recipient !== null) {
|
|
1422
|
+
message.recipient = object.recipient;
|
|
1423
|
+
}
|
|
1424
|
+
if (object.amount !== undefined && object.amount !== null) {
|
|
1425
|
+
message.amount = object.amount;
|
|
1426
|
+
}
|
|
1427
|
+
if (object.deposit !== undefined && object.deposit !== null) {
|
|
1428
|
+
message.deposit = object.deposit;
|
|
1429
|
+
}
|
|
1430
|
+
return message;
|
|
1431
|
+
},
|
|
1432
|
+
toAmino(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositAmino {
|
|
1433
|
+
const obj: any = {};
|
|
1434
|
+
obj.title = message.title;
|
|
1435
|
+
obj.description = message.description;
|
|
1436
|
+
obj.recipient = message.recipient;
|
|
1437
|
+
obj.amount = message.amount;
|
|
1438
|
+
obj.deposit = message.deposit;
|
|
1439
|
+
return obj;
|
|
1440
|
+
},
|
|
1441
|
+
fromAminoMsg(object: CommunityPoolSpendProposalWithDepositAminoMsg): CommunityPoolSpendProposalWithDeposit {
|
|
1442
|
+
return CommunityPoolSpendProposalWithDeposit.fromAmino(object.value);
|
|
1443
|
+
},
|
|
1444
|
+
toAminoMsg(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositAminoMsg {
|
|
1445
|
+
return {
|
|
1446
|
+
type: "cosmos-sdk/CommunityPoolSpendProposalWithDeposit",
|
|
1447
|
+
value: CommunityPoolSpendProposalWithDeposit.toAmino(message)
|
|
1448
|
+
};
|
|
1449
|
+
},
|
|
1450
|
+
fromProtoMsg(message: CommunityPoolSpendProposalWithDepositProtoMsg): CommunityPoolSpendProposalWithDeposit {
|
|
1451
|
+
return CommunityPoolSpendProposalWithDeposit.decode(message.value);
|
|
1452
|
+
},
|
|
1453
|
+
toProto(message: CommunityPoolSpendProposalWithDeposit): Uint8Array {
|
|
1454
|
+
return CommunityPoolSpendProposalWithDeposit.encode(message).finish();
|
|
1455
|
+
},
|
|
1456
|
+
toProtoMsg(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositProtoMsg {
|
|
1457
|
+
return {
|
|
1458
|
+
typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit",
|
|
1459
|
+
value: CommunityPoolSpendProposalWithDeposit.encode(message).finish()
|
|
1460
|
+
};
|
|
943
1461
|
}
|
|
944
|
-
|
|
945
1462
|
};
|