@bze/bzejs 0.0.3 → 0.0.5
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/main/codegen/beezee/burner/burn_coins_proposal.js +13 -0
- package/main/codegen/beezee/burner/burned_coins.js +13 -0
- package/main/codegen/beezee/burner/events.js +23 -0
- package/main/codegen/beezee/burner/genesis.js +21 -0
- package/main/codegen/beezee/burner/params.js +7 -0
- package/main/codegen/beezee/burner/query.js +48 -0
- package/main/codegen/beezee/burner/tx.js +20 -0
- package/main/codegen/beezee/cointrunk/accepted_domain.js +13 -0
- package/main/codegen/beezee/cointrunk/accepted_domain_proposal.js +17 -0
- package/main/codegen/beezee/cointrunk/anon_articles_counter.js +13 -1
- package/main/codegen/beezee/cointrunk/article.js +23 -1
- package/main/codegen/beezee/cointrunk/events.js +71 -1
- package/main/codegen/beezee/cointrunk/genesis.js +43 -1
- package/main/codegen/beezee/cointrunk/params.js +26 -0
- package/main/codegen/beezee/cointrunk/publisher.js +21 -1
- package/main/codegen/beezee/cointrunk/publisher_proposal.js +19 -0
- package/main/codegen/beezee/cointrunk/query.js +158 -0
- package/main/codegen/beezee/cointrunk/tx.js +51 -0
- package/main/codegen/bze/bundle.js +12 -16
- package/main/codegen/cosmos/app/v1alpha1/config.js +31 -0
- package/main/codegen/cosmos/app/v1alpha1/module.js +53 -0
- package/main/codegen/cosmos/app/v1alpha1/query.js +18 -0
- package/main/codegen/cosmos/auth/v1beta1/auth.js +57 -1
- package/main/codegen/cosmos/auth/v1beta1/genesis.js +21 -0
- package/main/codegen/cosmos/auth/v1beta1/query.js +150 -0
- package/main/codegen/cosmos/authz/v1beta1/authz.js +63 -8
- package/main/codegen/cosmos/authz/v1beta1/event.js +29 -0
- package/main/codegen/cosmos/authz/v1beta1/genesis.js +18 -0
- package/main/codegen/cosmos/authz/v1beta1/query.js +101 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.js +81 -0
- package/main/codegen/cosmos/bank/v1beta1/authz.js +18 -0
- package/main/codegen/cosmos/bank/v1beta1/bank.js +145 -0
- package/main/codegen/cosmos/bank/v1beta1/genesis.js +61 -0
- package/main/codegen/cosmos/bank/v1beta1/query.js +248 -0
- package/main/codegen/cosmos/bank/v1beta1/tx.js +65 -0
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +229 -1
- package/main/codegen/cosmos/base/kv/v1beta1/kv.js +31 -0
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +31 -1
- package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +54 -0
- package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +337 -0
- package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +135 -1
- package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +45 -1
- package/main/codegen/cosmos/base/store/v1beta1/listening.js +17 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +206 -1
- package/main/codegen/cosmos/base/v1beta1/coin.js +45 -0
- package/main/codegen/cosmos/bundle.js +73 -101
- package/main/codegen/cosmos/capability/v1beta1/capability.js +41 -1
- package/main/codegen/cosmos/capability/v1beta1/genesis.js +33 -1
- package/main/codegen/cosmos/crisis/v1beta1/genesis.js +11 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.js +22 -0
- package/main/codegen/cosmos/crypto/ed25519/keys.js +21 -0
- package/main/codegen/cosmos/crypto/hd/v1/hd.js +19 -0
- package/main/codegen/cosmos/crypto/keyring/v1/record.js +57 -0
- package/main/codegen/cosmos/crypto/multisig/keys.js +21 -0
- package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +31 -0
- package/main/codegen/cosmos/crypto/secp256k1/keys.js +21 -0
- package/main/codegen/cosmos/crypto/secp256r1/keys.js +21 -0
- package/main/codegen/cosmos/distribution/v1beta1/distribution.js +216 -0
- package/main/codegen/cosmos/distribution/v1beta1/genesis.js +184 -0
- package/main/codegen/cosmos/distribution/v1beta1/query.js +234 -0
- package/main/codegen/cosmos/distribution/v1beta1/tx.js +105 -0
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +21 -5
- package/main/codegen/cosmos/evidence/v1beta1/genesis.js +18 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.js +51 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.js +23 -0
- package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +96 -8
- package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +18 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.js +87 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.js +41 -0
- package/main/codegen/cosmos/genutil/v1beta1/genesis.js +19 -0
- package/main/codegen/cosmos/gov/v1/genesis.js +47 -1
- package/main/codegen/cosmos/gov/v1/gov.js +196 -15
- package/main/codegen/cosmos/gov/v1/query.js +209 -1
- package/main/codegen/cosmos/gov/v1/tx.js +144 -0
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +47 -1
- package/main/codegen/cosmos/gov/v1beta1/gov.js +198 -15
- package/main/codegen/cosmos/gov/v1beta1/query.js +209 -1
- package/main/codegen/cosmos/gov/v1beta1/tx.js +111 -0
- package/main/codegen/cosmos/group/v1/events.js +96 -1
- package/main/codegen/cosmos/group/v1/genesis.js +65 -1
- package/main/codegen/cosmos/group/v1/query.js +359 -1
- package/main/codegen/cosmos/group/v1/tx.js +365 -1
- package/main/codegen/cosmos/group/v1/types.js +269 -27
- package/main/codegen/cosmos/mint/v1beta1/genesis.js +13 -0
- package/main/codegen/cosmos/mint/v1beta1/mint.js +32 -0
- package/main/codegen/cosmos/mint/v1beta1/query.js +52 -0
- package/main/codegen/cosmos/nft/v1beta1/event.js +45 -0
- package/main/codegen/cosmos/nft/v1beta1/genesis.js +49 -0
- package/main/codegen/cosmos/nft/v1beta1/nft.js +41 -0
- package/main/codegen/cosmos/nft/v1beta1/query.js +170 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.js +24 -0
- package/main/codegen/cosmos/orm/v1/orm.js +59 -0
- package/main/codegen/cosmos/orm/v1alpha1/schema.js +45 -1
- package/main/codegen/cosmos/params/v1beta1/params.js +37 -0
- package/main/codegen/cosmos/params/v1beta1/query.js +68 -0
- package/main/codegen/cosmos/slashing/v1beta1/genesis.js +74 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.js +68 -0
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +43 -5
- package/main/codegen/cosmos/slashing/v1beta1/tx.js +18 -0
- package/main/codegen/cosmos/staking/v1beta1/authz.js +48 -1
- package/main/codegen/cosmos/staking/v1beta1/genesis.js +76 -0
- package/main/codegen/cosmos/staking/v1beta1/query.js +368 -0
- package/main/codegen/cosmos/staking/v1beta1/staking.js +366 -17
- package/main/codegen/cosmos/staking/v1beta1/tx.js +129 -8
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +95 -1
- package/main/codegen/cosmos/tx/v1beta1/service.js +173 -2
- package/main/codegen/cosmos/tx/v1beta1/tx.js +261 -0
- package/main/codegen/cosmos/upgrade/v1beta1/query.js +102 -0
- package/main/codegen/cosmos/upgrade/v1beta1/tx.js +37 -0
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +61 -5
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +94 -1
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +117 -1
- package/main/codegen/cosmos_proto/cosmos.js +42 -1
- package/main/codegen/extern.js +66 -0
- package/main/codegen/google/api/http.js +69 -0
- package/main/codegen/google/protobuf/any.js +13 -0
- package/main/codegen/google/protobuf/descriptor.js +815 -6
- package/main/codegen/google/protobuf/duration.js +13 -1
- package/main/codegen/google/protobuf/empty.js +7 -0
- package/main/codegen/google/protobuf/timestamp.js +13 -1
- package/main/codegen/helpers.js +1 -1
- package/main/codegen/index.js +11 -22
- package/main/codegen/tendermint/abci/types.js +785 -12
- package/main/codegen/tendermint/crypto/keys.js +13 -0
- package/main/codegen/tendermint/crypto/proof.js +83 -1
- package/main/codegen/tendermint/libs/bits/types.js +21 -1
- package/main/codegen/tendermint/p2p/types.js +100 -12
- package/main/codegen/tendermint/types/block.js +17 -0
- package/main/codegen/tendermint/types/evidence.js +81 -8
- package/main/codegen/tendermint/types/params.js +84 -0
- package/main/codegen/tendermint/types/types.js +266 -18
- package/main/codegen/tendermint/types/validator.js +51 -1
- package/main/codegen/tendermint/version/types.js +25 -1
- package/module/codegen/beezee/burner/burn_coins_proposal.js +13 -0
- package/module/codegen/beezee/burner/burned_coins.js +13 -0
- package/module/codegen/beezee/burner/events.js +23 -0
- package/module/codegen/beezee/burner/genesis.js +19 -0
- package/module/codegen/beezee/burner/params.js +9 -0
- package/module/codegen/beezee/burner/query.js +46 -0
- package/module/codegen/beezee/burner/tx.js +20 -0
- package/module/codegen/beezee/cointrunk/accepted_domain.js +13 -0
- package/module/codegen/beezee/cointrunk/accepted_domain_proposal.js +17 -0
- package/module/codegen/beezee/cointrunk/anon_articles_counter.js +13 -1
- package/module/codegen/beezee/cointrunk/article.js +23 -1
- package/module/codegen/beezee/cointrunk/events.js +71 -1
- package/module/codegen/beezee/cointrunk/genesis.js +31 -1
- package/module/codegen/beezee/cointrunk/params.js +27 -1
- package/module/codegen/beezee/cointrunk/publisher.js +21 -1
- package/module/codegen/beezee/cointrunk/publisher_proposal.js +19 -0
- package/module/codegen/beezee/cointrunk/query.js +144 -0
- package/module/codegen/beezee/cointrunk/tx.js +52 -1
- package/module/codegen/bze/bundle.js +12 -16
- package/module/codegen/cosmos/app/v1alpha1/config.js +37 -0
- package/module/codegen/cosmos/app/v1alpha1/module.js +47 -0
- package/module/codegen/cosmos/app/v1alpha1/query.js +20 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +53 -1
- package/module/codegen/cosmos/auth/v1beta1/genesis.js +19 -0
- package/module/codegen/cosmos/auth/v1beta1/query.js +148 -0
- package/module/codegen/cosmos/authz/v1beta1/authz.js +60 -9
- package/module/codegen/cosmos/authz/v1beta1/event.js +31 -0
- package/module/codegen/cosmos/authz/v1beta1/genesis.js +16 -0
- package/module/codegen/cosmos/authz/v1beta1/query.js +91 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.js +78 -0
- package/module/codegen/cosmos/bank/v1beta1/authz.js +21 -0
- package/module/codegen/cosmos/bank/v1beta1/bank.js +123 -0
- package/module/codegen/cosmos/bank/v1beta1/genesis.js +47 -0
- package/module/codegen/cosmos/bank/v1beta1/query.js +230 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.js +55 -0
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +193 -1
- package/module/codegen/cosmos/base/kv/v1beta1/kv.js +29 -0
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +31 -1
- package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +48 -0
- package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +307 -0
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +127 -1
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +41 -1
- package/module/codegen/cosmos/base/store/v1beta1/listening.js +25 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +194 -1
- package/module/codegen/cosmos/base/v1beta1/coin.js +52 -0
- package/module/codegen/cosmos/bundle.js +73 -101
- package/module/codegen/cosmos/capability/v1beta1/capability.js +37 -1
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +29 -1
- package/module/codegen/cosmos/crisis/v1beta1/genesis.js +13 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.js +24 -0
- package/module/codegen/cosmos/crypto/ed25519/keys.js +29 -0
- package/module/codegen/cosmos/crypto/hd/v1/hd.js +21 -0
- package/module/codegen/cosmos/crypto/keyring/v1/record.js +59 -0
- package/module/codegen/cosmos/crypto/multisig/keys.js +23 -0
- package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +33 -0
- package/module/codegen/cosmos/crypto/secp256k1/keys.js +29 -0
- package/module/codegen/cosmos/crypto/secp256r1/keys.js +23 -0
- package/module/codegen/cosmos/distribution/v1beta1/distribution.js +185 -1
- package/module/codegen/cosmos/distribution/v1beta1/genesis.js +153 -1
- package/module/codegen/cosmos/distribution/v1beta1/query.js +211 -1
- package/module/codegen/cosmos/distribution/v1beta1/tx.js +98 -0
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +21 -5
- package/module/codegen/cosmos/evidence/v1beta1/genesis.js +16 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.js +49 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.js +28 -0
- package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +81 -9
- package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +16 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.js +81 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.js +46 -0
- package/module/codegen/cosmos/genutil/v1beta1/genesis.js +17 -0
- package/module/codegen/cosmos/gov/v1/genesis.js +35 -1
- package/module/codegen/cosmos/gov/v1/gov.js +177 -16
- package/module/codegen/cosmos/gov/v1/query.js +198 -2
- package/module/codegen/cosmos/gov/v1/tx.js +130 -2
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +35 -1
- package/module/codegen/cosmos/gov/v1beta1/gov.js +183 -16
- package/module/codegen/cosmos/gov/v1beta1/query.js +198 -2
- package/module/codegen/cosmos/gov/v1beta1/tx.js +101 -2
- package/module/codegen/cosmos/group/v1/events.js +96 -1
- package/module/codegen/cosmos/group/v1/genesis.js +45 -1
- package/module/codegen/cosmos/group/v1/query.js +327 -1
- package/module/codegen/cosmos/group/v1/tx.js +347 -3
- package/module/codegen/cosmos/group/v1/types.js +258 -28
- package/module/codegen/cosmos/mint/v1beta1/genesis.js +15 -0
- package/module/codegen/cosmos/mint/v1beta1/mint.js +33 -1
- package/module/codegen/cosmos/mint/v1beta1/query.js +54 -0
- package/module/codegen/cosmos/nft/v1beta1/event.js +47 -0
- package/module/codegen/cosmos/nft/v1beta1/genesis.js +39 -0
- package/module/codegen/cosmos/nft/v1beta1/nft.js +43 -0
- package/module/codegen/cosmos/nft/v1beta1/query.js +163 -1
- package/module/codegen/cosmos/nft/v1beta1/tx.js +26 -0
- package/module/codegen/cosmos/orm/v1/orm.js +57 -0
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +41 -1
- package/module/codegen/cosmos/params/v1beta1/params.js +35 -0
- package/module/codegen/cosmos/params/v1beta1/query.js +62 -0
- package/module/codegen/cosmos/slashing/v1beta1/genesis.js +63 -1
- package/module/codegen/cosmos/slashing/v1beta1/query.js +66 -0
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +43 -5
- package/module/codegen/cosmos/slashing/v1beta1/tx.js +20 -0
- package/module/codegen/cosmos/staking/v1beta1/authz.js +44 -1
- package/module/codegen/cosmos/staking/v1beta1/genesis.js +57 -1
- package/module/codegen/cosmos/staking/v1beta1/query.js +341 -1
- package/module/codegen/cosmos/staking/v1beta1/staking.js +339 -18
- package/module/codegen/cosmos/staking/v1beta1/tx.js +130 -9
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +88 -2
- package/module/codegen/cosmos/tx/v1beta1/service.js +158 -3
- package/module/codegen/cosmos/tx/v1beta1/tx.js +226 -1
- package/module/codegen/cosmos/upgrade/v1beta1/query.js +99 -1
- package/module/codegen/cosmos/upgrade/v1beta1/tx.js +43 -0
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +61 -5
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +82 -1
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +97 -1
- package/module/codegen/cosmos_proto/cosmos.js +38 -1
- package/module/codegen/extern.js +30 -0
- package/module/codegen/google/api/http.js +67 -0
- package/module/codegen/google/protobuf/any.js +95 -0
- package/module/codegen/google/protobuf/descriptor.js +672 -7
- package/module/codegen/google/protobuf/duration.js +13 -1
- package/module/codegen/google/protobuf/empty.js +19 -0
- package/module/codegen/google/protobuf/timestamp.js +13 -1
- package/module/codegen/helpers.js +1 -1
- package/module/codegen/index.js +3 -4
- package/module/codegen/tendermint/abci/types.js +734 -13
- package/module/codegen/tendermint/crypto/keys.js +15 -0
- package/module/codegen/tendermint/crypto/proof.js +75 -1
- package/module/codegen/tendermint/libs/bits/types.js +17 -1
- package/module/codegen/tendermint/p2p/types.js +96 -12
- package/module/codegen/tendermint/types/block.js +17 -0
- package/module/codegen/tendermint/types/evidence.js +74 -9
- package/module/codegen/tendermint/types/params.js +81 -1
- package/module/codegen/tendermint/types/types.js +259 -19
- package/module/codegen/tendermint/types/validator.js +47 -1
- package/module/codegen/tendermint/version/types.js +25 -1
- package/package.json +1 -1
- package/src/codegen/beezee/burner/burn_coins_proposal.ts +16 -2
- package/src/codegen/beezee/burner/burned_coins.ts +16 -2
- package/src/codegen/beezee/burner/events.ts +29 -3
- package/src/codegen/beezee/burner/genesis.ts +22 -2
- package/src/codegen/beezee/burner/params.ts +10 -2
- package/src/codegen/beezee/burner/query.ts +59 -5
- package/src/codegen/beezee/burner/tx.ts +26 -3
- package/src/codegen/beezee/cointrunk/accepted_domain.ts +16 -2
- package/src/codegen/beezee/cointrunk/accepted_domain_proposal.ts +20 -2
- package/src/codegen/beezee/cointrunk/anon_articles_counter.ts +16 -2
- package/src/codegen/beezee/cointrunk/article.ts +26 -2
- package/src/codegen/beezee/cointrunk/events.ts +89 -7
- package/src/codegen/beezee/cointrunk/genesis.ts +38 -2
- package/src/codegen/beezee/cointrunk/params.ts +33 -3
- package/src/codegen/beezee/cointrunk/publisher.ts +24 -2
- package/src/codegen/beezee/cointrunk/publisher_proposal.ts +22 -2
- package/src/codegen/beezee/cointrunk/query.ts +187 -13
- package/src/codegen/beezee/cointrunk/tx.ts +64 -5
- package/src/codegen/bze/bundle.ts +14 -22
- package/src/codegen/cosmos/app/v1alpha1/config.ts +53 -3
- package/src/codegen/cosmos/app/v1alpha1/module.ts +124 -4
- package/src/codegen/cosmos/app/v1alpha1/query.ts +25 -3
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +64 -4
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +25 -2
- package/src/codegen/cosmos/auth/v1beta1/query.ts +195 -15
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +86 -16
- package/src/codegen/cosmos/authz/v1beta1/event.ts +45 -3
- package/src/codegen/cosmos/authz/v1beta1/genesis.ts +19 -2
- package/src/codegen/cosmos/authz/v1beta1/query.ts +130 -7
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +101 -7
- package/src/codegen/cosmos/bank/v1beta1/authz.ts +19 -2
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +200 -8
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +70 -3
- package/src/codegen/cosmos/bank/v1beta1/query.ts +339 -20
- package/src/codegen/cosmos/bank/v1beta1/tx.ts +70 -5
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +325 -11
- package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +35 -3
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +76 -3
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +64 -5
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +476 -27
- package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +163 -10
- package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +52 -4
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +23 -2
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +259 -16
- package/src/codegen/cosmos/base/v1beta1/coin.ts +57 -5
- package/src/codegen/cosmos/bundle.ts +103 -159
- package/src/codegen/cosmos/capability/v1beta1/capability.ts +48 -4
- package/src/codegen/cosmos/capability/v1beta1/genesis.ts +46 -3
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +18 -2
- package/src/codegen/cosmos/crisis/v1beta1/tx.ts +28 -3
- package/src/codegen/cosmos/crypto/ed25519/keys.ts +27 -3
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +34 -2
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +83 -6
- package/src/codegen/cosmos/crypto/multisig/keys.ts +22 -2
- package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +35 -3
- package/src/codegen/cosmos/crypto/secp256k1/keys.ts +27 -3
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +32 -3
- package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +237 -13
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +236 -9
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +303 -19
- package/src/codegen/cosmos/distribution/v1beta1/tx.ts +123 -9
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +26 -8
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +20 -2
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +67 -5
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +30 -3
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +137 -16
- package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +19 -2
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +115 -7
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +61 -5
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +21 -2
- package/src/codegen/cosmos/gov/v1/genesis.ts +55 -2
- package/src/codegen/cosmos/gov/v1/gov.ts +284 -34
- package/src/codegen/cosmos/gov/v1/query.ts +293 -19
- package/src/codegen/cosmos/gov/v1/tx.ts +173 -13
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +55 -2
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +296 -36
- package/src/codegen/cosmos/gov/v1beta1/query.ts +293 -19
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +132 -11
- package/src/codegen/cosmos/group/v1/events.ts +137 -12
- package/src/codegen/cosmos/group/v1/genesis.ts +80 -2
- package/src/codegen/cosmos/group/v1/query.ts +481 -27
- package/src/codegen/cosmos/group/v1/tx.ts +554 -34
- package/src/codegen/cosmos/group/v1/types.ts +472 -51
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +19 -2
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +53 -3
- package/src/codegen/cosmos/mint/v1beta1/query.ts +73 -7
- package/src/codegen/cosmos/nft/v1beta1/event.ts +54 -4
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +52 -3
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +69 -3
- package/src/codegen/cosmos/nft/v1beta1/query.ts +210 -15
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +37 -3
- package/src/codegen/cosmos/orm/v1/orm.ts +140 -5
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +109 -5
- package/src/codegen/cosmos/params/v1beta1/params.ts +41 -3
- package/src/codegen/cosmos/params/v1beta1/query.ts +83 -6
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +100 -5
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +87 -7
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +71 -9
- package/src/codegen/cosmos/slashing/v1beta1/tx.ts +24 -3
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +73 -5
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +91 -3
- package/src/codegen/cosmos/staking/v1beta1/query.ts +499 -29
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +507 -44
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +172 -22
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +154 -8
- package/src/codegen/cosmos/tx/v1beta1/service.ts +252 -15
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +462 -17
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +145 -11
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +53 -5
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +109 -11
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +106 -7
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +123 -7
- package/src/codegen/cosmos_proto/cosmos.ts +76 -5
- package/src/codegen/extern.ts +33 -0
- package/src/codegen/google/api/http.ts +140 -4
- package/src/codegen/google/protobuf/any.ts +47 -2
- package/src/codegen/google/protobuf/descriptor.ts +1405 -59
- package/src/codegen/google/protobuf/duration.ts +30 -2
- package/src/codegen/google/protobuf/empty.ts +10 -2
- package/src/codegen/google/protobuf/timestamp.ts +28 -2
- package/src/codegen/helpers.ts +1 -3
- package/src/codegen/index.ts +3 -4
- package/src/codegen/tendermint/abci/types.ts +970 -64
- package/src/codegen/tendermint/crypto/keys.ts +16 -2
- package/src/codegen/tendermint/crypto/proof.ts +97 -6
- package/src/codegen/tendermint/libs/bits/types.ts +22 -2
- package/src/codegen/tendermint/p2p/types.ts +118 -22
- package/src/codegen/tendermint/types/block.ts +20 -2
- package/src/codegen/tendermint/types/evidence.ts +94 -16
- package/src/codegen/tendermint/types/params.ts +137 -7
- package/src/codegen/tendermint/types/types.ts +338 -40
- package/src/codegen/tendermint/types/validator.ts +58 -4
- package/src/codegen/tendermint/version/types.ts +31 -3
- package/main/codegen/beezee/burner/tx.amino.js +0 -28
- package/main/codegen/beezee/burner/tx.registry.js +0 -47
- package/main/codegen/beezee/cointrunk/tx.amino.js +0 -59
- package/main/codegen/beezee/cointrunk/tx.registry.js +0 -65
- package/main/codegen/bze/client.js +0 -67
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -96
- package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +0 -83
- package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +0 -101
- package/main/codegen/cosmos/bank/v1beta1/tx.registry.js +0 -65
- package/main/codegen/cosmos/client.js +0 -86
- package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +0 -32
- package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +0 -47
- package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +0 -91
- package/main/codegen/cosmos/distribution/v1beta1/tx.registry.js +0 -101
- package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +0 -34
- package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +0 -47
- package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +0 -57
- package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +0 -65
- package/main/codegen/cosmos/gov/v1/tx.amino.js +0 -180
- package/main/codegen/cosmos/gov/v1/tx.registry.js +0 -119
- package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +0 -139
- package/main/codegen/cosmos/gov/v1beta1/tx.registry.js +0 -101
- package/main/codegen/cosmos/group/v1/tx.amino.js +0 -424
- package/main/codegen/cosmos/group/v1/tx.registry.js +0 -281
- package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +0 -36
- package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +0 -47
- package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +0 -24
- package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +0 -47
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -213
- package/main/codegen/cosmos/staking/v1beta1/tx.registry.js +0 -119
- package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +0 -62
- package/main/codegen/cosmos/upgrade/v1beta1/tx.registry.js +0 -65
- package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +0 -131
- package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +0 -83
- package/module/codegen/beezee/burner/tx.amino.js +0 -23
- package/module/codegen/beezee/burner/tx.registry.js +0 -33
- package/module/codegen/beezee/cointrunk/tx.amino.js +0 -56
- package/module/codegen/beezee/cointrunk/tx.registry.js +0 -51
- package/module/codegen/bze/client.js +0 -38
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -91
- package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +0 -69
- package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +0 -78
- package/module/codegen/cosmos/bank/v1beta1/tx.registry.js +0 -51
- package/module/codegen/cosmos/client.js +0 -57
- package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +0 -27
- package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +0 -33
- package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +0 -88
- package/module/codegen/cosmos/distribution/v1beta1/tx.registry.js +0 -87
- package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +0 -29
- package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +0 -33
- package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +0 -54
- package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +0 -51
- package/module/codegen/cosmos/gov/v1/tx.amino.js +0 -167
- package/module/codegen/cosmos/gov/v1/tx.registry.js +0 -105
- package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +0 -128
- package/module/codegen/cosmos/gov/v1beta1/tx.registry.js +0 -87
- package/module/codegen/cosmos/group/v1/tx.amino.js +0 -429
- package/module/codegen/cosmos/group/v1/tx.registry.js +0 -267
- package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +0 -31
- package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +0 -33
- package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +0 -19
- package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +0 -33
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -216
- package/module/codegen/cosmos/staking/v1beta1/tx.registry.js +0 -105
- package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +0 -59
- package/module/codegen/cosmos/upgrade/v1beta1/tx.registry.js +0 -51
- package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +0 -114
- package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +0 -69
- package/src/codegen/beezee/burner/tx.amino.ts +0 -32
- package/src/codegen/beezee/burner/tx.registry.ts +0 -37
- package/src/codegen/beezee/cointrunk/tx.amino.ts +0 -75
- package/src/codegen/beezee/cointrunk/tx.registry.ts +0 -58
- package/src/codegen/bze/client.ts +0 -48
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +0 -128
- package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +0 -79
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +0 -110
- package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +0 -58
- package/src/codegen/cosmos/client.ts +0 -76
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +0 -37
- package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +0 -37
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +0 -120
- package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +0 -100
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +0 -41
- package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +0 -37
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +0 -74
- package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +0 -58
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +0 -226
- package/src/codegen/cosmos/gov/v1/tx.registry.ts +0 -121
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +0 -174
- package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +0 -100
- package/src/codegen/cosmos/group/v1/tx.amino.ts +0 -583
- package/src/codegen/cosmos/group/v1/tx.registry.ts +0 -310
- package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +0 -42
- package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +0 -37
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +0 -27
- package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +0 -37
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +0 -294
- package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +0 -121
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +0 -86
- package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +0 -58
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +0 -155
- package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +0 -79
|
@@ -51,6 +51,18 @@ var DelegatorWithdrawInfo = {
|
|
|
51
51
|
}
|
|
52
52
|
return message;
|
|
53
53
|
},
|
|
54
|
+
fromJSON: function fromJSON(object) {
|
|
55
|
+
return {
|
|
56
|
+
delegatorAddress: (0, _helpers.isSet)(object.delegatorAddress) ? String(object.delegatorAddress) : "",
|
|
57
|
+
withdrawAddress: (0, _helpers.isSet)(object.withdrawAddress) ? String(object.withdrawAddress) : ""
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
toJSON: function toJSON(message) {
|
|
61
|
+
var obj = {};
|
|
62
|
+
message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
|
|
63
|
+
message.withdrawAddress !== undefined && (obj.withdrawAddress = message.withdrawAddress);
|
|
64
|
+
return obj;
|
|
65
|
+
},
|
|
54
66
|
fromPartial: function fromPartial(object) {
|
|
55
67
|
var _object$delegatorAddr, _object$withdrawAddre;
|
|
56
68
|
var message = createBaseDelegatorWithdrawInfo();
|
|
@@ -106,6 +118,26 @@ var ValidatorOutstandingRewardsRecord = {
|
|
|
106
118
|
}
|
|
107
119
|
return message;
|
|
108
120
|
},
|
|
121
|
+
fromJSON: function fromJSON(object) {
|
|
122
|
+
return {
|
|
123
|
+
validatorAddress: (0, _helpers.isSet)(object.validatorAddress) ? String(object.validatorAddress) : "",
|
|
124
|
+
outstandingRewards: Array.isArray(object === null || object === void 0 ? void 0 : object.outstandingRewards) ? object.outstandingRewards.map(function (e) {
|
|
125
|
+
return _coin.DecCoin.fromJSON(e);
|
|
126
|
+
}) : []
|
|
127
|
+
};
|
|
128
|
+
},
|
|
129
|
+
toJSON: function toJSON(message) {
|
|
130
|
+
var obj = {};
|
|
131
|
+
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
132
|
+
if (message.outstandingRewards) {
|
|
133
|
+
obj.outstandingRewards = message.outstandingRewards.map(function (e) {
|
|
134
|
+
return e ? _coin.DecCoin.toJSON(e) : undefined;
|
|
135
|
+
});
|
|
136
|
+
} else {
|
|
137
|
+
obj.outstandingRewards = [];
|
|
138
|
+
}
|
|
139
|
+
return obj;
|
|
140
|
+
},
|
|
109
141
|
fromPartial: function fromPartial(object) {
|
|
110
142
|
var _object$validatorAddr, _object$outstandingRe;
|
|
111
143
|
var message = createBaseValidatorOutstandingRewardsRecord();
|
|
@@ -154,6 +186,18 @@ var ValidatorAccumulatedCommissionRecord = {
|
|
|
154
186
|
}
|
|
155
187
|
return message;
|
|
156
188
|
},
|
|
189
|
+
fromJSON: function fromJSON(object) {
|
|
190
|
+
return {
|
|
191
|
+
validatorAddress: (0, _helpers.isSet)(object.validatorAddress) ? String(object.validatorAddress) : "",
|
|
192
|
+
accumulated: (0, _helpers.isSet)(object.accumulated) ? _distribution.ValidatorAccumulatedCommission.fromJSON(object.accumulated) : undefined
|
|
193
|
+
};
|
|
194
|
+
},
|
|
195
|
+
toJSON: function toJSON(message) {
|
|
196
|
+
var obj = {};
|
|
197
|
+
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
198
|
+
message.accumulated !== undefined && (obj.accumulated = message.accumulated ? _distribution.ValidatorAccumulatedCommission.toJSON(message.accumulated) : undefined);
|
|
199
|
+
return obj;
|
|
200
|
+
},
|
|
157
201
|
fromPartial: function fromPartial(object) {
|
|
158
202
|
var _object$validatorAddr2;
|
|
159
203
|
var message = createBaseValidatorAccumulatedCommissionRecord();
|
|
@@ -207,6 +251,20 @@ var ValidatorHistoricalRewardsRecord = {
|
|
|
207
251
|
}
|
|
208
252
|
return message;
|
|
209
253
|
},
|
|
254
|
+
fromJSON: function fromJSON(object) {
|
|
255
|
+
return {
|
|
256
|
+
validatorAddress: (0, _helpers.isSet)(object.validatorAddress) ? String(object.validatorAddress) : "",
|
|
257
|
+
period: (0, _helpers.isSet)(object.period) ? _helpers.Long.fromValue(object.period) : _helpers.Long.UZERO,
|
|
258
|
+
rewards: (0, _helpers.isSet)(object.rewards) ? _distribution.ValidatorHistoricalRewards.fromJSON(object.rewards) : undefined
|
|
259
|
+
};
|
|
260
|
+
},
|
|
261
|
+
toJSON: function toJSON(message) {
|
|
262
|
+
var obj = {};
|
|
263
|
+
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
264
|
+
message.period !== undefined && (obj.period = (message.period || _helpers.Long.UZERO).toString());
|
|
265
|
+
message.rewards !== undefined && (obj.rewards = message.rewards ? _distribution.ValidatorHistoricalRewards.toJSON(message.rewards) : undefined);
|
|
266
|
+
return obj;
|
|
267
|
+
},
|
|
210
268
|
fromPartial: function fromPartial(object) {
|
|
211
269
|
var _object$validatorAddr3;
|
|
212
270
|
var message = createBaseValidatorHistoricalRewardsRecord();
|
|
@@ -254,6 +312,18 @@ var ValidatorCurrentRewardsRecord = {
|
|
|
254
312
|
}
|
|
255
313
|
return message;
|
|
256
314
|
},
|
|
315
|
+
fromJSON: function fromJSON(object) {
|
|
316
|
+
return {
|
|
317
|
+
validatorAddress: (0, _helpers.isSet)(object.validatorAddress) ? String(object.validatorAddress) : "",
|
|
318
|
+
rewards: (0, _helpers.isSet)(object.rewards) ? _distribution.ValidatorCurrentRewards.fromJSON(object.rewards) : undefined
|
|
319
|
+
};
|
|
320
|
+
},
|
|
321
|
+
toJSON: function toJSON(message) {
|
|
322
|
+
var obj = {};
|
|
323
|
+
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
324
|
+
message.rewards !== undefined && (obj.rewards = message.rewards ? _distribution.ValidatorCurrentRewards.toJSON(message.rewards) : undefined);
|
|
325
|
+
return obj;
|
|
326
|
+
},
|
|
257
327
|
fromPartial: function fromPartial(object) {
|
|
258
328
|
var _object$validatorAddr4;
|
|
259
329
|
var message = createBaseValidatorCurrentRewardsRecord();
|
|
@@ -307,6 +377,20 @@ var DelegatorStartingInfoRecord = {
|
|
|
307
377
|
}
|
|
308
378
|
return message;
|
|
309
379
|
},
|
|
380
|
+
fromJSON: function fromJSON(object) {
|
|
381
|
+
return {
|
|
382
|
+
delegatorAddress: (0, _helpers.isSet)(object.delegatorAddress) ? String(object.delegatorAddress) : "",
|
|
383
|
+
validatorAddress: (0, _helpers.isSet)(object.validatorAddress) ? String(object.validatorAddress) : "",
|
|
384
|
+
startingInfo: (0, _helpers.isSet)(object.startingInfo) ? _distribution.DelegatorStartingInfo.fromJSON(object.startingInfo) : undefined
|
|
385
|
+
};
|
|
386
|
+
},
|
|
387
|
+
toJSON: function toJSON(message) {
|
|
388
|
+
var obj = {};
|
|
389
|
+
message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
|
|
390
|
+
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
391
|
+
message.startingInfo !== undefined && (obj.startingInfo = message.startingInfo ? _distribution.DelegatorStartingInfo.toJSON(message.startingInfo) : undefined);
|
|
392
|
+
return obj;
|
|
393
|
+
},
|
|
310
394
|
fromPartial: function fromPartial(object) {
|
|
311
395
|
var _object$delegatorAddr2, _object$validatorAddr5;
|
|
312
396
|
var message = createBaseDelegatorStartingInfoRecord();
|
|
@@ -368,6 +452,22 @@ var ValidatorSlashEventRecord = {
|
|
|
368
452
|
}
|
|
369
453
|
return message;
|
|
370
454
|
},
|
|
455
|
+
fromJSON: function fromJSON(object) {
|
|
456
|
+
return {
|
|
457
|
+
validatorAddress: (0, _helpers.isSet)(object.validatorAddress) ? String(object.validatorAddress) : "",
|
|
458
|
+
height: (0, _helpers.isSet)(object.height) ? _helpers.Long.fromValue(object.height) : _helpers.Long.UZERO,
|
|
459
|
+
period: (0, _helpers.isSet)(object.period) ? _helpers.Long.fromValue(object.period) : _helpers.Long.UZERO,
|
|
460
|
+
validatorSlashEvent: (0, _helpers.isSet)(object.validatorSlashEvent) ? _distribution.ValidatorSlashEvent.fromJSON(object.validatorSlashEvent) : undefined
|
|
461
|
+
};
|
|
462
|
+
},
|
|
463
|
+
toJSON: function toJSON(message) {
|
|
464
|
+
var obj = {};
|
|
465
|
+
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
466
|
+
message.height !== undefined && (obj.height = (message.height || _helpers.Long.UZERO).toString());
|
|
467
|
+
message.period !== undefined && (obj.period = (message.period || _helpers.Long.UZERO).toString());
|
|
468
|
+
message.validatorSlashEvent !== undefined && (obj.validatorSlashEvent = message.validatorSlashEvent ? _distribution.ValidatorSlashEvent.toJSON(message.validatorSlashEvent) : undefined);
|
|
469
|
+
return obj;
|
|
470
|
+
},
|
|
371
471
|
fromPartial: function fromPartial(object) {
|
|
372
472
|
var _object$validatorAddr6;
|
|
373
473
|
var message = createBaseValidatorSlashEventRecord();
|
|
@@ -535,6 +635,90 @@ var GenesisState = {
|
|
|
535
635
|
}
|
|
536
636
|
return message;
|
|
537
637
|
},
|
|
638
|
+
fromJSON: function fromJSON(object) {
|
|
639
|
+
return {
|
|
640
|
+
params: (0, _helpers.isSet)(object.params) ? _distribution.Params.fromJSON(object.params) : undefined,
|
|
641
|
+
feePool: (0, _helpers.isSet)(object.feePool) ? _distribution.FeePool.fromJSON(object.feePool) : undefined,
|
|
642
|
+
delegatorWithdrawInfos: Array.isArray(object === null || object === void 0 ? void 0 : object.delegatorWithdrawInfos) ? object.delegatorWithdrawInfos.map(function (e) {
|
|
643
|
+
return DelegatorWithdrawInfo.fromJSON(e);
|
|
644
|
+
}) : [],
|
|
645
|
+
previousProposer: (0, _helpers.isSet)(object.previousProposer) ? String(object.previousProposer) : "",
|
|
646
|
+
outstandingRewards: Array.isArray(object === null || object === void 0 ? void 0 : object.outstandingRewards) ? object.outstandingRewards.map(function (e) {
|
|
647
|
+
return ValidatorOutstandingRewardsRecord.fromJSON(e);
|
|
648
|
+
}) : [],
|
|
649
|
+
validatorAccumulatedCommissions: Array.isArray(object === null || object === void 0 ? void 0 : object.validatorAccumulatedCommissions) ? object.validatorAccumulatedCommissions.map(function (e) {
|
|
650
|
+
return ValidatorAccumulatedCommissionRecord.fromJSON(e);
|
|
651
|
+
}) : [],
|
|
652
|
+
validatorHistoricalRewards: Array.isArray(object === null || object === void 0 ? void 0 : object.validatorHistoricalRewards) ? object.validatorHistoricalRewards.map(function (e) {
|
|
653
|
+
return ValidatorHistoricalRewardsRecord.fromJSON(e);
|
|
654
|
+
}) : [],
|
|
655
|
+
validatorCurrentRewards: Array.isArray(object === null || object === void 0 ? void 0 : object.validatorCurrentRewards) ? object.validatorCurrentRewards.map(function (e) {
|
|
656
|
+
return ValidatorCurrentRewardsRecord.fromJSON(e);
|
|
657
|
+
}) : [],
|
|
658
|
+
delegatorStartingInfos: Array.isArray(object === null || object === void 0 ? void 0 : object.delegatorStartingInfos) ? object.delegatorStartingInfos.map(function (e) {
|
|
659
|
+
return DelegatorStartingInfoRecord.fromJSON(e);
|
|
660
|
+
}) : [],
|
|
661
|
+
validatorSlashEvents: Array.isArray(object === null || object === void 0 ? void 0 : object.validatorSlashEvents) ? object.validatorSlashEvents.map(function (e) {
|
|
662
|
+
return ValidatorSlashEventRecord.fromJSON(e);
|
|
663
|
+
}) : []
|
|
664
|
+
};
|
|
665
|
+
},
|
|
666
|
+
toJSON: function toJSON(message) {
|
|
667
|
+
var obj = {};
|
|
668
|
+
message.params !== undefined && (obj.params = message.params ? _distribution.Params.toJSON(message.params) : undefined);
|
|
669
|
+
message.feePool !== undefined && (obj.feePool = message.feePool ? _distribution.FeePool.toJSON(message.feePool) : undefined);
|
|
670
|
+
if (message.delegatorWithdrawInfos) {
|
|
671
|
+
obj.delegatorWithdrawInfos = message.delegatorWithdrawInfos.map(function (e) {
|
|
672
|
+
return e ? DelegatorWithdrawInfo.toJSON(e) : undefined;
|
|
673
|
+
});
|
|
674
|
+
} else {
|
|
675
|
+
obj.delegatorWithdrawInfos = [];
|
|
676
|
+
}
|
|
677
|
+
message.previousProposer !== undefined && (obj.previousProposer = message.previousProposer);
|
|
678
|
+
if (message.outstandingRewards) {
|
|
679
|
+
obj.outstandingRewards = message.outstandingRewards.map(function (e) {
|
|
680
|
+
return e ? ValidatorOutstandingRewardsRecord.toJSON(e) : undefined;
|
|
681
|
+
});
|
|
682
|
+
} else {
|
|
683
|
+
obj.outstandingRewards = [];
|
|
684
|
+
}
|
|
685
|
+
if (message.validatorAccumulatedCommissions) {
|
|
686
|
+
obj.validatorAccumulatedCommissions = message.validatorAccumulatedCommissions.map(function (e) {
|
|
687
|
+
return e ? ValidatorAccumulatedCommissionRecord.toJSON(e) : undefined;
|
|
688
|
+
});
|
|
689
|
+
} else {
|
|
690
|
+
obj.validatorAccumulatedCommissions = [];
|
|
691
|
+
}
|
|
692
|
+
if (message.validatorHistoricalRewards) {
|
|
693
|
+
obj.validatorHistoricalRewards = message.validatorHistoricalRewards.map(function (e) {
|
|
694
|
+
return e ? ValidatorHistoricalRewardsRecord.toJSON(e) : undefined;
|
|
695
|
+
});
|
|
696
|
+
} else {
|
|
697
|
+
obj.validatorHistoricalRewards = [];
|
|
698
|
+
}
|
|
699
|
+
if (message.validatorCurrentRewards) {
|
|
700
|
+
obj.validatorCurrentRewards = message.validatorCurrentRewards.map(function (e) {
|
|
701
|
+
return e ? ValidatorCurrentRewardsRecord.toJSON(e) : undefined;
|
|
702
|
+
});
|
|
703
|
+
} else {
|
|
704
|
+
obj.validatorCurrentRewards = [];
|
|
705
|
+
}
|
|
706
|
+
if (message.delegatorStartingInfos) {
|
|
707
|
+
obj.delegatorStartingInfos = message.delegatorStartingInfos.map(function (e) {
|
|
708
|
+
return e ? DelegatorStartingInfoRecord.toJSON(e) : undefined;
|
|
709
|
+
});
|
|
710
|
+
} else {
|
|
711
|
+
obj.delegatorStartingInfos = [];
|
|
712
|
+
}
|
|
713
|
+
if (message.validatorSlashEvents) {
|
|
714
|
+
obj.validatorSlashEvents = message.validatorSlashEvents.map(function (e) {
|
|
715
|
+
return e ? ValidatorSlashEventRecord.toJSON(e) : undefined;
|
|
716
|
+
});
|
|
717
|
+
} else {
|
|
718
|
+
obj.validatorSlashEvents = [];
|
|
719
|
+
}
|
|
720
|
+
return obj;
|
|
721
|
+
},
|
|
538
722
|
fromPartial: function fromPartial(object) {
|
|
539
723
|
var _object$delegatorWith, _object$previousPropo, _object$outstandingRe2, _object$validatorAccu, _object$validatorHist, _object$validatorCurr, _object$delegatorStar, _object$validatorSlas;
|
|
540
724
|
var message = createBaseGenesisState();
|
|
@@ -37,6 +37,13 @@ var QueryParamsRequest = {
|
|
|
37
37
|
}
|
|
38
38
|
return message;
|
|
39
39
|
},
|
|
40
|
+
fromJSON: function fromJSON(_) {
|
|
41
|
+
return {};
|
|
42
|
+
},
|
|
43
|
+
toJSON: function toJSON(_) {
|
|
44
|
+
var obj = {};
|
|
45
|
+
return obj;
|
|
46
|
+
},
|
|
40
47
|
fromPartial: function fromPartial(_) {
|
|
41
48
|
var message = createBaseQueryParamsRequest();
|
|
42
49
|
return message;
|
|
@@ -73,6 +80,16 @@ var QueryParamsResponse = {
|
|
|
73
80
|
}
|
|
74
81
|
return message;
|
|
75
82
|
},
|
|
83
|
+
fromJSON: function fromJSON(object) {
|
|
84
|
+
return {
|
|
85
|
+
params: (0, _helpers.isSet)(object.params) ? _distribution.Params.fromJSON(object.params) : undefined
|
|
86
|
+
};
|
|
87
|
+
},
|
|
88
|
+
toJSON: function toJSON(message) {
|
|
89
|
+
var obj = {};
|
|
90
|
+
message.params !== undefined && (obj.params = message.params ? _distribution.Params.toJSON(message.params) : undefined);
|
|
91
|
+
return obj;
|
|
92
|
+
},
|
|
76
93
|
fromPartial: function fromPartial(object) {
|
|
77
94
|
var message = createBaseQueryParamsResponse();
|
|
78
95
|
message.params = object.params !== undefined && object.params !== null ? _distribution.Params.fromPartial(object.params) : undefined;
|
|
@@ -110,6 +127,16 @@ var QueryValidatorOutstandingRewardsRequest = {
|
|
|
110
127
|
}
|
|
111
128
|
return message;
|
|
112
129
|
},
|
|
130
|
+
fromJSON: function fromJSON(object) {
|
|
131
|
+
return {
|
|
132
|
+
validatorAddress: (0, _helpers.isSet)(object.validatorAddress) ? String(object.validatorAddress) : ""
|
|
133
|
+
};
|
|
134
|
+
},
|
|
135
|
+
toJSON: function toJSON(message) {
|
|
136
|
+
var obj = {};
|
|
137
|
+
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
138
|
+
return obj;
|
|
139
|
+
},
|
|
113
140
|
fromPartial: function fromPartial(object) {
|
|
114
141
|
var _object$validatorAddr;
|
|
115
142
|
var message = createBaseQueryValidatorOutstandingRewardsRequest();
|
|
@@ -148,6 +175,16 @@ var QueryValidatorOutstandingRewardsResponse = {
|
|
|
148
175
|
}
|
|
149
176
|
return message;
|
|
150
177
|
},
|
|
178
|
+
fromJSON: function fromJSON(object) {
|
|
179
|
+
return {
|
|
180
|
+
rewards: (0, _helpers.isSet)(object.rewards) ? _distribution.ValidatorOutstandingRewards.fromJSON(object.rewards) : undefined
|
|
181
|
+
};
|
|
182
|
+
},
|
|
183
|
+
toJSON: function toJSON(message) {
|
|
184
|
+
var obj = {};
|
|
185
|
+
message.rewards !== undefined && (obj.rewards = message.rewards ? _distribution.ValidatorOutstandingRewards.toJSON(message.rewards) : undefined);
|
|
186
|
+
return obj;
|
|
187
|
+
},
|
|
151
188
|
fromPartial: function fromPartial(object) {
|
|
152
189
|
var message = createBaseQueryValidatorOutstandingRewardsResponse();
|
|
153
190
|
message.rewards = object.rewards !== undefined && object.rewards !== null ? _distribution.ValidatorOutstandingRewards.fromPartial(object.rewards) : undefined;
|
|
@@ -185,6 +222,16 @@ var QueryValidatorCommissionRequest = {
|
|
|
185
222
|
}
|
|
186
223
|
return message;
|
|
187
224
|
},
|
|
225
|
+
fromJSON: function fromJSON(object) {
|
|
226
|
+
return {
|
|
227
|
+
validatorAddress: (0, _helpers.isSet)(object.validatorAddress) ? String(object.validatorAddress) : ""
|
|
228
|
+
};
|
|
229
|
+
},
|
|
230
|
+
toJSON: function toJSON(message) {
|
|
231
|
+
var obj = {};
|
|
232
|
+
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
233
|
+
return obj;
|
|
234
|
+
},
|
|
188
235
|
fromPartial: function fromPartial(object) {
|
|
189
236
|
var _object$validatorAddr2;
|
|
190
237
|
var message = createBaseQueryValidatorCommissionRequest();
|
|
@@ -223,6 +270,16 @@ var QueryValidatorCommissionResponse = {
|
|
|
223
270
|
}
|
|
224
271
|
return message;
|
|
225
272
|
},
|
|
273
|
+
fromJSON: function fromJSON(object) {
|
|
274
|
+
return {
|
|
275
|
+
commission: (0, _helpers.isSet)(object.commission) ? _distribution.ValidatorAccumulatedCommission.fromJSON(object.commission) : undefined
|
|
276
|
+
};
|
|
277
|
+
},
|
|
278
|
+
toJSON: function toJSON(message) {
|
|
279
|
+
var obj = {};
|
|
280
|
+
message.commission !== undefined && (obj.commission = message.commission ? _distribution.ValidatorAccumulatedCommission.toJSON(message.commission) : undefined);
|
|
281
|
+
return obj;
|
|
282
|
+
},
|
|
226
283
|
fromPartial: function fromPartial(object) {
|
|
227
284
|
var message = createBaseQueryValidatorCommissionResponse();
|
|
228
285
|
message.commission = object.commission !== undefined && object.commission !== null ? _distribution.ValidatorAccumulatedCommission.fromPartial(object.commission) : undefined;
|
|
@@ -281,6 +338,22 @@ var QueryValidatorSlashesRequest = {
|
|
|
281
338
|
}
|
|
282
339
|
return message;
|
|
283
340
|
},
|
|
341
|
+
fromJSON: function fromJSON(object) {
|
|
342
|
+
return {
|
|
343
|
+
validatorAddress: (0, _helpers.isSet)(object.validatorAddress) ? String(object.validatorAddress) : "",
|
|
344
|
+
startingHeight: (0, _helpers.isSet)(object.startingHeight) ? _helpers.Long.fromValue(object.startingHeight) : _helpers.Long.UZERO,
|
|
345
|
+
endingHeight: (0, _helpers.isSet)(object.endingHeight) ? _helpers.Long.fromValue(object.endingHeight) : _helpers.Long.UZERO,
|
|
346
|
+
pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageRequest.fromJSON(object.pagination) : undefined
|
|
347
|
+
};
|
|
348
|
+
},
|
|
349
|
+
toJSON: function toJSON(message) {
|
|
350
|
+
var obj = {};
|
|
351
|
+
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
352
|
+
message.startingHeight !== undefined && (obj.startingHeight = (message.startingHeight || _helpers.Long.UZERO).toString());
|
|
353
|
+
message.endingHeight !== undefined && (obj.endingHeight = (message.endingHeight || _helpers.Long.UZERO).toString());
|
|
354
|
+
message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageRequest.toJSON(message.pagination) : undefined);
|
|
355
|
+
return obj;
|
|
356
|
+
},
|
|
284
357
|
fromPartial: function fromPartial(object) {
|
|
285
358
|
var _object$validatorAddr3;
|
|
286
359
|
var message = createBaseQueryValidatorSlashesRequest();
|
|
@@ -338,6 +411,26 @@ var QueryValidatorSlashesResponse = {
|
|
|
338
411
|
}
|
|
339
412
|
return message;
|
|
340
413
|
},
|
|
414
|
+
fromJSON: function fromJSON(object) {
|
|
415
|
+
return {
|
|
416
|
+
slashes: Array.isArray(object === null || object === void 0 ? void 0 : object.slashes) ? object.slashes.map(function (e) {
|
|
417
|
+
return _distribution.ValidatorSlashEvent.fromJSON(e);
|
|
418
|
+
}) : [],
|
|
419
|
+
pagination: (0, _helpers.isSet)(object.pagination) ? _pagination.PageResponse.fromJSON(object.pagination) : undefined
|
|
420
|
+
};
|
|
421
|
+
},
|
|
422
|
+
toJSON: function toJSON(message) {
|
|
423
|
+
var obj = {};
|
|
424
|
+
if (message.slashes) {
|
|
425
|
+
obj.slashes = message.slashes.map(function (e) {
|
|
426
|
+
return e ? _distribution.ValidatorSlashEvent.toJSON(e) : undefined;
|
|
427
|
+
});
|
|
428
|
+
} else {
|
|
429
|
+
obj.slashes = [];
|
|
430
|
+
}
|
|
431
|
+
message.pagination !== undefined && (obj.pagination = message.pagination ? _pagination.PageResponse.toJSON(message.pagination) : undefined);
|
|
432
|
+
return obj;
|
|
433
|
+
},
|
|
341
434
|
fromPartial: function fromPartial(object) {
|
|
342
435
|
var _object$slashes;
|
|
343
436
|
var message = createBaseQueryValidatorSlashesResponse();
|
|
@@ -386,6 +479,18 @@ var QueryDelegationRewardsRequest = {
|
|
|
386
479
|
}
|
|
387
480
|
return message;
|
|
388
481
|
},
|
|
482
|
+
fromJSON: function fromJSON(object) {
|
|
483
|
+
return {
|
|
484
|
+
delegatorAddress: (0, _helpers.isSet)(object.delegatorAddress) ? String(object.delegatorAddress) : "",
|
|
485
|
+
validatorAddress: (0, _helpers.isSet)(object.validatorAddress) ? String(object.validatorAddress) : ""
|
|
486
|
+
};
|
|
487
|
+
},
|
|
488
|
+
toJSON: function toJSON(message) {
|
|
489
|
+
var obj = {};
|
|
490
|
+
message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
|
|
491
|
+
message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress);
|
|
492
|
+
return obj;
|
|
493
|
+
},
|
|
389
494
|
fromPartial: function fromPartial(object) {
|
|
390
495
|
var _object$delegatorAddr, _object$validatorAddr4;
|
|
391
496
|
var message = createBaseQueryDelegationRewardsRequest();
|
|
@@ -434,6 +539,24 @@ var QueryDelegationRewardsResponse = {
|
|
|
434
539
|
}
|
|
435
540
|
return message;
|
|
436
541
|
},
|
|
542
|
+
fromJSON: function fromJSON(object) {
|
|
543
|
+
return {
|
|
544
|
+
rewards: Array.isArray(object === null || object === void 0 ? void 0 : object.rewards) ? object.rewards.map(function (e) {
|
|
545
|
+
return _coin.DecCoin.fromJSON(e);
|
|
546
|
+
}) : []
|
|
547
|
+
};
|
|
548
|
+
},
|
|
549
|
+
toJSON: function toJSON(message) {
|
|
550
|
+
var obj = {};
|
|
551
|
+
if (message.rewards) {
|
|
552
|
+
obj.rewards = message.rewards.map(function (e) {
|
|
553
|
+
return e ? _coin.DecCoin.toJSON(e) : undefined;
|
|
554
|
+
});
|
|
555
|
+
} else {
|
|
556
|
+
obj.rewards = [];
|
|
557
|
+
}
|
|
558
|
+
return obj;
|
|
559
|
+
},
|
|
437
560
|
fromPartial: function fromPartial(object) {
|
|
438
561
|
var _object$rewards;
|
|
439
562
|
var message = createBaseQueryDelegationRewardsResponse();
|
|
@@ -474,6 +597,16 @@ var QueryDelegationTotalRewardsRequest = {
|
|
|
474
597
|
}
|
|
475
598
|
return message;
|
|
476
599
|
},
|
|
600
|
+
fromJSON: function fromJSON(object) {
|
|
601
|
+
return {
|
|
602
|
+
delegatorAddress: (0, _helpers.isSet)(object.delegatorAddress) ? String(object.delegatorAddress) : ""
|
|
603
|
+
};
|
|
604
|
+
},
|
|
605
|
+
toJSON: function toJSON(message) {
|
|
606
|
+
var obj = {};
|
|
607
|
+
message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
|
|
608
|
+
return obj;
|
|
609
|
+
},
|
|
477
610
|
fromPartial: function fromPartial(object) {
|
|
478
611
|
var _object$delegatorAddr2;
|
|
479
612
|
var message = createBaseQueryDelegationTotalRewardsRequest();
|
|
@@ -537,6 +670,34 @@ var QueryDelegationTotalRewardsResponse = {
|
|
|
537
670
|
}
|
|
538
671
|
return message;
|
|
539
672
|
},
|
|
673
|
+
fromJSON: function fromJSON(object) {
|
|
674
|
+
return {
|
|
675
|
+
rewards: Array.isArray(object === null || object === void 0 ? void 0 : object.rewards) ? object.rewards.map(function (e) {
|
|
676
|
+
return _distribution.DelegationDelegatorReward.fromJSON(e);
|
|
677
|
+
}) : [],
|
|
678
|
+
total: Array.isArray(object === null || object === void 0 ? void 0 : object.total) ? object.total.map(function (e) {
|
|
679
|
+
return _coin.DecCoin.fromJSON(e);
|
|
680
|
+
}) : []
|
|
681
|
+
};
|
|
682
|
+
},
|
|
683
|
+
toJSON: function toJSON(message) {
|
|
684
|
+
var obj = {};
|
|
685
|
+
if (message.rewards) {
|
|
686
|
+
obj.rewards = message.rewards.map(function (e) {
|
|
687
|
+
return e ? _distribution.DelegationDelegatorReward.toJSON(e) : undefined;
|
|
688
|
+
});
|
|
689
|
+
} else {
|
|
690
|
+
obj.rewards = [];
|
|
691
|
+
}
|
|
692
|
+
if (message.total) {
|
|
693
|
+
obj.total = message.total.map(function (e) {
|
|
694
|
+
return e ? _coin.DecCoin.toJSON(e) : undefined;
|
|
695
|
+
});
|
|
696
|
+
} else {
|
|
697
|
+
obj.total = [];
|
|
698
|
+
}
|
|
699
|
+
return obj;
|
|
700
|
+
},
|
|
540
701
|
fromPartial: function fromPartial(object) {
|
|
541
702
|
var _object$rewards2, _object$total;
|
|
542
703
|
var message = createBaseQueryDelegationTotalRewardsResponse();
|
|
@@ -580,6 +741,16 @@ var QueryDelegatorValidatorsRequest = {
|
|
|
580
741
|
}
|
|
581
742
|
return message;
|
|
582
743
|
},
|
|
744
|
+
fromJSON: function fromJSON(object) {
|
|
745
|
+
return {
|
|
746
|
+
delegatorAddress: (0, _helpers.isSet)(object.delegatorAddress) ? String(object.delegatorAddress) : ""
|
|
747
|
+
};
|
|
748
|
+
},
|
|
749
|
+
toJSON: function toJSON(message) {
|
|
750
|
+
var obj = {};
|
|
751
|
+
message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
|
|
752
|
+
return obj;
|
|
753
|
+
},
|
|
583
754
|
fromPartial: function fromPartial(object) {
|
|
584
755
|
var _object$delegatorAddr3;
|
|
585
756
|
var message = createBaseQueryDelegatorValidatorsRequest();
|
|
@@ -627,6 +798,24 @@ var QueryDelegatorValidatorsResponse = {
|
|
|
627
798
|
}
|
|
628
799
|
return message;
|
|
629
800
|
},
|
|
801
|
+
fromJSON: function fromJSON(object) {
|
|
802
|
+
return {
|
|
803
|
+
validators: Array.isArray(object === null || object === void 0 ? void 0 : object.validators) ? object.validators.map(function (e) {
|
|
804
|
+
return String(e);
|
|
805
|
+
}) : []
|
|
806
|
+
};
|
|
807
|
+
},
|
|
808
|
+
toJSON: function toJSON(message) {
|
|
809
|
+
var obj = {};
|
|
810
|
+
if (message.validators) {
|
|
811
|
+
obj.validators = message.validators.map(function (e) {
|
|
812
|
+
return e;
|
|
813
|
+
});
|
|
814
|
+
} else {
|
|
815
|
+
obj.validators = [];
|
|
816
|
+
}
|
|
817
|
+
return obj;
|
|
818
|
+
},
|
|
630
819
|
fromPartial: function fromPartial(object) {
|
|
631
820
|
var _object$validators;
|
|
632
821
|
var message = createBaseQueryDelegatorValidatorsResponse();
|
|
@@ -667,6 +856,16 @@ var QueryDelegatorWithdrawAddressRequest = {
|
|
|
667
856
|
}
|
|
668
857
|
return message;
|
|
669
858
|
},
|
|
859
|
+
fromJSON: function fromJSON(object) {
|
|
860
|
+
return {
|
|
861
|
+
delegatorAddress: (0, _helpers.isSet)(object.delegatorAddress) ? String(object.delegatorAddress) : ""
|
|
862
|
+
};
|
|
863
|
+
},
|
|
864
|
+
toJSON: function toJSON(message) {
|
|
865
|
+
var obj = {};
|
|
866
|
+
message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress);
|
|
867
|
+
return obj;
|
|
868
|
+
},
|
|
670
869
|
fromPartial: function fromPartial(object) {
|
|
671
870
|
var _object$delegatorAddr4;
|
|
672
871
|
var message = createBaseQueryDelegatorWithdrawAddressRequest();
|
|
@@ -705,6 +904,16 @@ var QueryDelegatorWithdrawAddressResponse = {
|
|
|
705
904
|
}
|
|
706
905
|
return message;
|
|
707
906
|
},
|
|
907
|
+
fromJSON: function fromJSON(object) {
|
|
908
|
+
return {
|
|
909
|
+
withdrawAddress: (0, _helpers.isSet)(object.withdrawAddress) ? String(object.withdrawAddress) : ""
|
|
910
|
+
};
|
|
911
|
+
},
|
|
912
|
+
toJSON: function toJSON(message) {
|
|
913
|
+
var obj = {};
|
|
914
|
+
message.withdrawAddress !== undefined && (obj.withdrawAddress = message.withdrawAddress);
|
|
915
|
+
return obj;
|
|
916
|
+
},
|
|
708
917
|
fromPartial: function fromPartial(object) {
|
|
709
918
|
var _object$withdrawAddre;
|
|
710
919
|
var message = createBaseQueryDelegatorWithdrawAddressResponse();
|
|
@@ -735,6 +944,13 @@ var QueryCommunityPoolRequest = {
|
|
|
735
944
|
}
|
|
736
945
|
return message;
|
|
737
946
|
},
|
|
947
|
+
fromJSON: function fromJSON(_) {
|
|
948
|
+
return {};
|
|
949
|
+
},
|
|
950
|
+
toJSON: function toJSON(_) {
|
|
951
|
+
var obj = {};
|
|
952
|
+
return obj;
|
|
953
|
+
},
|
|
738
954
|
fromPartial: function fromPartial(_) {
|
|
739
955
|
var message = createBaseQueryCommunityPoolRequest();
|
|
740
956
|
return message;
|
|
@@ -780,6 +996,24 @@ var QueryCommunityPoolResponse = {
|
|
|
780
996
|
}
|
|
781
997
|
return message;
|
|
782
998
|
},
|
|
999
|
+
fromJSON: function fromJSON(object) {
|
|
1000
|
+
return {
|
|
1001
|
+
pool: Array.isArray(object === null || object === void 0 ? void 0 : object.pool) ? object.pool.map(function (e) {
|
|
1002
|
+
return _coin.DecCoin.fromJSON(e);
|
|
1003
|
+
}) : []
|
|
1004
|
+
};
|
|
1005
|
+
},
|
|
1006
|
+
toJSON: function toJSON(message) {
|
|
1007
|
+
var obj = {};
|
|
1008
|
+
if (message.pool) {
|
|
1009
|
+
obj.pool = message.pool.map(function (e) {
|
|
1010
|
+
return e ? _coin.DecCoin.toJSON(e) : undefined;
|
|
1011
|
+
});
|
|
1012
|
+
} else {
|
|
1013
|
+
obj.pool = [];
|
|
1014
|
+
}
|
|
1015
|
+
return obj;
|
|
1016
|
+
},
|
|
783
1017
|
fromPartial: function fromPartial(object) {
|
|
784
1018
|
var _object$pool;
|
|
785
1019
|
var message = createBaseQueryCommunityPoolResponse();
|