@bze/bzejs 0.0.8 → 0.0.9
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 +4 -5
- package/main/codegen/beezee/burner/burned_coins.js +4 -5
- package/main/codegen/beezee/burner/events.js +5 -7
- package/main/codegen/beezee/burner/genesis.js +8 -5
- package/main/codegen/beezee/burner/params.js +8 -5
- package/main/codegen/beezee/burner/query.js +15 -11
- package/main/codegen/beezee/burner/query.lcd.js +6 -7
- package/main/codegen/beezee/burner/query.rpc.Query.js +6 -7
- package/main/codegen/beezee/burner/tx.amino.js +2 -3
- package/main/codegen/beezee/burner/tx.js +5 -7
- package/main/codegen/beezee/burner/tx.registry.js +4 -7
- package/main/codegen/beezee/burner/tx.rpc.msg.js +5 -5
- package/main/codegen/beezee/cointrunk/accepted_domain.js +4 -5
- package/main/codegen/beezee/cointrunk/accepted_domain_proposal.js +4 -5
- package/main/codegen/beezee/cointrunk/anon_articles_counter.js +4 -5
- package/main/codegen/beezee/cointrunk/article.js +4 -5
- package/main/codegen/beezee/cointrunk/events.js +9 -15
- package/main/codegen/beezee/cointrunk/genesis.js +8 -5
- package/main/codegen/beezee/cointrunk/params.js +9 -7
- package/main/codegen/beezee/cointrunk/publisher.js +4 -5
- package/main/codegen/beezee/cointrunk/publisher_proposal.js +4 -5
- package/main/codegen/beezee/cointrunk/query.js +23 -27
- package/main/codegen/beezee/cointrunk/query.lcd.js +14 -15
- package/main/codegen/beezee/cointrunk/query.rpc.Query.js +6 -7
- package/main/codegen/beezee/cointrunk/tx.amino.js +2 -3
- package/main/codegen/beezee/cointrunk/tx.js +7 -11
- package/main/codegen/beezee/cointrunk/tx.registry.js +4 -7
- package/main/codegen/beezee/cointrunk/tx.rpc.msg.js +5 -5
- package/main/codegen/bze/bundle.js +4 -5
- package/main/codegen/bze/client.js +9 -13
- package/main/codegen/bze/lcd.js +4 -5
- package/main/codegen/bze/rpc.query.js +4 -5
- package/main/codegen/bze/rpc.tx.js +4 -5
- package/main/codegen/cosmos/app/v1alpha1/config.js +29 -7
- package/main/codegen/cosmos/app/v1alpha1/module.js +24 -9
- package/main/codegen/cosmos/app/v1alpha1/query.js +13 -7
- package/main/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/auth/v1beta1/auth.js +26 -9
- package/main/codegen/cosmos/auth/v1beta1/genesis.js +8 -5
- package/main/codegen/cosmos/auth/v1beta1/query.js +89 -31
- package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +16 -17
- package/main/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/authz/v1beta1/authz.js +41 -11
- package/main/codegen/cosmos/authz/v1beta1/event.js +13 -7
- package/main/codegen/cosmos/authz/v1beta1/genesis.js +8 -5
- package/main/codegen/cosmos/authz/v1beta1/query.js +33 -15
- package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +8 -7
- package/main/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +2 -3
- package/main/codegen/cosmos/authz/v1beta1/tx.js +53 -15
- package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +4 -7
- package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +5 -5
- package/main/codegen/cosmos/bank/v1beta1/authz.js +18 -5
- package/main/codegen/cosmos/bank/v1beta1/bank.js +68 -17
- package/main/codegen/cosmos/bank/v1beta1/genesis.js +19 -7
- package/main/codegen/cosmos/bank/v1beta1/query.js +156 -41
- package/main/codegen/cosmos/bank/v1beta1/query.lcd.js +20 -18
- package/main/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +2 -3
- package/main/codegen/cosmos/bank/v1beta1/tx.js +23 -11
- package/main/codegen/cosmos/bank/v1beta1/tx.registry.js +4 -7
- package/main/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +5 -5
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +93 -23
- package/main/codegen/cosmos/base/kv/v1beta1/kv.js +13 -7
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +45 -7
- package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +35 -11
- package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +163 -55
- package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +48 -21
- package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +36 -9
- package/main/codegen/cosmos/base/store/v1beta1/listening.js +20 -5
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +78 -33
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +14 -15
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +6 -7
- package/main/codegen/cosmos/base/v1beta1/coin.js +43 -11
- package/main/codegen/cosmos/bundle.js +4 -5
- package/main/codegen/cosmos/capability/v1beta1/capability.js +36 -9
- package/main/codegen/cosmos/capability/v1beta1/genesis.js +13 -7
- package/main/codegen/cosmos/client.js +9 -13
- package/main/codegen/cosmos/crisis/v1beta1/genesis.js +8 -5
- package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +2 -3
- package/main/codegen/cosmos/crisis/v1beta1/tx.js +13 -7
- package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +4 -7
- package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +5 -5
- package/main/codegen/cosmos/crypto/ed25519/keys.js +31 -7
- package/main/codegen/cosmos/crypto/hd/v1/hd.js +8 -5
- package/main/codegen/cosmos/crypto/keyring/v1/record.js +34 -13
- package/main/codegen/cosmos/crypto/multisig/keys.js +16 -5
- package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +31 -7
- package/main/codegen/cosmos/crypto/secp256k1/keys.js +25 -7
- package/main/codegen/cosmos/crypto/secp256r1/keys.js +13 -7
- package/main/codegen/cosmos/distribution/v1beta1/distribution.js +153 -27
- package/main/codegen/cosmos/distribution/v1beta1/genesis.js +63 -19
- package/main/codegen/cosmos/distribution/v1beta1/query.js +189 -39
- package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +20 -20
- package/main/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +2 -3
- package/main/codegen/cosmos/distribution/v1beta1/tx.js +67 -19
- package/main/codegen/cosmos/distribution/v1beta1/tx.registry.js +4 -7
- package/main/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +5 -5
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +14 -5
- package/main/codegen/cosmos/evidence/v1beta1/genesis.js +8 -5
- package/main/codegen/cosmos/evidence/v1beta1/query.js +35 -11
- package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +6 -7
- package/main/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +2 -3
- package/main/codegen/cosmos/evidence/v1beta1/tx.js +19 -7
- package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +4 -7
- package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +5 -5
- package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +35 -11
- package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +8 -5
- package/main/codegen/cosmos/feegrant/v1beta1/query.js +33 -15
- package/main/codegen/cosmos/feegrant/v1beta1/query.lcd.js +8 -8
- package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +2 -3
- package/main/codegen/cosmos/feegrant/v1beta1/tx.js +29 -11
- package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +4 -7
- package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +5 -5
- package/main/codegen/cosmos/genutil/v1beta1/genesis.js +8 -5
- package/main/codegen/cosmos/gov/v1/genesis.js +8 -5
- package/main/codegen/cosmos/gov/v1/gov.js +67 -37
- package/main/codegen/cosmos/gov/v1/query.js +89 -35
- package/main/codegen/cosmos/gov/v1/query.lcd.js +18 -19
- package/main/codegen/cosmos/gov/v1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/gov/v1/tx.amino.js +2 -3
- package/main/codegen/cosmos/gov/v1/tx.js +65 -23
- package/main/codegen/cosmos/gov/v1/tx.registry.js +4 -7
- package/main/codegen/cosmos/gov/v1/tx.rpc.msg.js +5 -5
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +8 -5
- package/main/codegen/cosmos/gov/v1beta1/gov.js +82 -39
- package/main/codegen/cosmos/gov/v1beta1/query.js +89 -35
- package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +18 -19
- package/main/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +2 -3
- package/main/codegen/cosmos/gov/v1beta1/tx.js +65 -19
- package/main/codegen/cosmos/gov/v1beta1/tx.registry.js +4 -7
- package/main/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +5 -5
- package/main/codegen/cosmos/group/v1/events.js +48 -21
- package/main/codegen/cosmos/group/v1/genesis.js +8 -5
- package/main/codegen/cosmos/group/v1/query.js +133 -55
- package/main/codegen/cosmos/group/v1/query.lcd.js +28 -29
- package/main/codegen/cosmos/group/v1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/group/v1/tx.amino.js +2 -3
- package/main/codegen/cosmos/group/v1/tx.js +148 -68
- package/main/codegen/cosmos/group/v1/tx.registry.js +4 -7
- package/main/codegen/cosmos/group/v1/tx.rpc.msg.js +5 -5
- package/main/codegen/cosmos/group/v1/types.js +97 -61
- package/main/codegen/cosmos/lcd.js +4 -5
- package/main/codegen/cosmos/mint/v1beta1/genesis.js +8 -5
- package/main/codegen/cosmos/mint/v1beta1/mint.js +13 -7
- package/main/codegen/cosmos/mint/v1beta1/query.js +51 -15
- package/main/codegen/cosmos/mint/v1beta1/query.lcd.js +8 -9
- package/main/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/nft/v1beta1/event.js +18 -9
- package/main/codegen/cosmos/nft/v1beta1/genesis.js +13 -7
- package/main/codegen/cosmos/nft/v1beta1/nft.js +13 -7
- package/main/codegen/cosmos/nft/v1beta1/query.js +73 -31
- package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +16 -16
- package/main/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +2 -3
- package/main/codegen/cosmos/nft/v1beta1/tx.js +13 -7
- package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +4 -7
- package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +5 -5
- package/main/codegen/cosmos/orm/v1/orm.js +23 -11
- package/main/codegen/cosmos/orm/v1alpha1/schema.js +18 -16
- package/main/codegen/cosmos/params/v1beta1/params.js +19 -7
- package/main/codegen/cosmos/params/v1beta1/query.js +46 -13
- package/main/codegen/cosmos/params/v1beta1/query.lcd.js +6 -7
- package/main/codegen/cosmos/params/v1beta1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/rpc.query.js +4 -5
- package/main/codegen/cosmos/rpc.tx.js +4 -5
- package/main/codegen/cosmos/slashing/v1beta1/genesis.js +29 -11
- package/main/codegen/cosmos/slashing/v1beta1/query.js +57 -15
- package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +8 -9
- package/main/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +19 -7
- package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +2 -3
- package/main/codegen/cosmos/slashing/v1beta1/tx.js +13 -7
- package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +4 -7
- package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +5 -5
- package/main/codegen/cosmos/staking/v1beta1/authz.js +26 -20
- package/main/codegen/cosmos/staking/v1beta1/genesis.js +13 -7
- package/main/codegen/cosmos/staking/v1beta1/query.js +251 -59
- package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +30 -27
- package/main/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/staking/v1beta1/staking.js +203 -52
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +2 -3
- package/main/codegen/cosmos/staking/v1beta1/tx.js +71 -23
- package/main/codegen/cosmos/staking/v1beta1/tx.registry.js +4 -7
- package/main/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +5 -5
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +48 -27
- package/main/codegen/cosmos/tx/v1beta1/service.js +122 -41
- package/main/codegen/cosmos/tx/v1beta1/service.lcd.js +8 -8
- package/main/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +6 -7
- package/main/codegen/cosmos/tx/v1beta1/tx.js +140 -29
- package/main/codegen/cosmos/upgrade/v1beta1/query.js +133 -23
- package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +12 -11
- package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +6 -7
- package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +2 -3
- package/main/codegen/cosmos/upgrade/v1beta1/tx.js +55 -11
- package/main/codegen/cosmos/upgrade/v1beta1/tx.registry.js +4 -7
- package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +5 -5
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +59 -11
- package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +2 -3
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +57 -15
- package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +4 -7
- package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +5 -5
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +71 -15
- package/main/codegen/cosmos_proto/bundle.js +5 -6
- package/main/codegen/cosmos_proto/cosmos.js +36 -15
- package/main/codegen/extern.js +3 -5
- package/main/codegen/gogoproto/bundle.js +5 -6
- package/main/codegen/google/api/http.js +566 -9
- package/main/codegen/google/bundle.js +4 -5
- package/main/codegen/google/protobuf/any.js +168 -5
- package/main/codegen/google/protobuf/descriptor.js +194 -110
- package/main/codegen/google/protobuf/duration.js +126 -5
- package/main/codegen/google/protobuf/empty.js +28 -5
- package/main/codegen/google/protobuf/timestamp.js +174 -5
- package/main/codegen/helpers.js +3 -4
- package/main/codegen/tendermint/abci/types.js +154 -123
- package/main/codegen/tendermint/bundle.js +4 -5
- package/main/codegen/tendermint/crypto/keys.js +8 -5
- package/main/codegen/tendermint/crypto/proof.js +24 -13
- package/main/codegen/tendermint/libs/bits/types.js +4 -5
- package/main/codegen/tendermint/p2p/types.js +8 -13
- package/main/codegen/tendermint/types/block.js +4 -5
- package/main/codegen/tendermint/types/evidence.js +15 -11
- package/main/codegen/tendermint/types/params.js +53 -15
- package/main/codegen/tendermint/types/types.js +66 -47
- package/main/codegen/tendermint/types/validator.js +6 -9
- package/main/codegen/tendermint/version/types.js +29 -7
- package/module/codegen/beezee/burner/genesis.js +5 -0
- package/module/codegen/beezee/burner/params.js +5 -0
- package/module/codegen/beezee/burner/query.js +9 -0
- package/module/codegen/beezee/cointrunk/genesis.js +2 -0
- package/module/codegen/beezee/cointrunk/params.js +2 -0
- package/module/codegen/beezee/cointrunk/query.js +9 -0
- package/module/codegen/bze/bundle.js +2 -2
- package/module/codegen/bze/client.js +2 -2
- package/module/codegen/cosmos/app/v1alpha1/config.js +25 -0
- package/module/codegen/cosmos/app/v1alpha1/module.js +19 -0
- package/module/codegen/cosmos/app/v1alpha1/query.js +9 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +14 -0
- package/module/codegen/cosmos/auth/v1beta1/genesis.js +5 -0
- package/module/codegen/cosmos/auth/v1beta1/query.js +73 -0
- package/module/codegen/cosmos/authz/v1beta1/authz.js +29 -0
- package/module/codegen/cosmos/authz/v1beta1/event.js +9 -0
- package/module/codegen/cosmos/authz/v1beta1/genesis.js +5 -0
- package/module/codegen/cosmos/authz/v1beta1/query.js +25 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.js +45 -0
- package/module/codegen/cosmos/bank/v1beta1/authz.js +15 -0
- package/module/codegen/cosmos/bank/v1beta1/bank.js +59 -0
- package/module/codegen/cosmos/bank/v1beta1/genesis.js +15 -0
- package/module/codegen/cosmos/bank/v1beta1/query.js +135 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.js +17 -0
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +75 -0
- package/module/codegen/cosmos/base/kv/v1beta1/kv.js +9 -0
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +30 -0
- package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +29 -0
- package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +135 -0
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +34 -0
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +25 -0
- package/module/codegen/cosmos/base/store/v1beta1/listening.js +17 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +58 -0
- package/module/codegen/cosmos/base/v1beta1/coin.js +37 -0
- package/module/codegen/cosmos/bundle.js +2 -2
- package/module/codegen/cosmos/capability/v1beta1/capability.js +25 -0
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +6 -0
- package/module/codegen/cosmos/client.js +2 -2
- package/module/codegen/cosmos/crisis/v1beta1/genesis.js +5 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.js +9 -0
- package/module/codegen/cosmos/crypto/ed25519/keys.js +27 -0
- package/module/codegen/cosmos/crypto/hd/v1/hd.js +5 -0
- package/module/codegen/cosmos/crypto/keyring/v1/record.js +27 -0
- package/module/codegen/cosmos/crypto/multisig/keys.js +13 -0
- package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +27 -0
- package/module/codegen/cosmos/crypto/secp256k1/keys.js +21 -0
- package/module/codegen/cosmos/crypto/secp256r1/keys.js +9 -0
- package/module/codegen/cosmos/distribution/v1beta1/distribution.js +136 -0
- package/module/codegen/cosmos/distribution/v1beta1/genesis.js +46 -0
- package/module/codegen/cosmos/distribution/v1beta1/query.js +166 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.js +57 -0
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +5 -0
- package/module/codegen/cosmos/evidence/v1beta1/genesis.js +5 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.js +29 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.js +15 -0
- package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +23 -0
- package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +5 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.js +25 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.js +23 -0
- package/module/codegen/cosmos/genutil/v1beta1/genesis.js +5 -0
- package/module/codegen/cosmos/gov/v1/genesis.js +2 -0
- package/module/codegen/cosmos/gov/v1/gov.js +58 -14
- package/module/codegen/cosmos/gov/v1/query.js +68 -0
- package/module/codegen/cosmos/gov/v1/tx.js +47 -0
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +2 -0
- package/module/codegen/cosmos/gov/v1beta1/gov.js +72 -14
- package/module/codegen/cosmos/gov/v1beta1/query.js +68 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.js +49 -0
- package/module/codegen/cosmos/group/v1/events.js +34 -0
- package/module/codegen/cosmos/group/v1/genesis.js +2 -0
- package/module/codegen/cosmos/group/v1/query.js +102 -0
- package/module/codegen/cosmos/group/v1/tx.js +118 -7
- package/module/codegen/cosmos/group/v1/types.js +87 -28
- package/module/codegen/cosmos/mint/v1beta1/genesis.js +5 -0
- package/module/codegen/cosmos/mint/v1beta1/mint.js +6 -0
- package/module/codegen/cosmos/mint/v1beta1/query.js +43 -0
- package/module/codegen/cosmos/nft/v1beta1/event.js +13 -0
- package/module/codegen/cosmos/nft/v1beta1/genesis.js +9 -0
- package/module/codegen/cosmos/nft/v1beta1/nft.js +9 -0
- package/module/codegen/cosmos/nft/v1beta1/query.js +54 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.js +9 -0
- package/module/codegen/cosmos/orm/v1/orm.js +17 -0
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +14 -7
- package/module/codegen/cosmos/params/v1beta1/params.js +15 -0
- package/module/codegen/cosmos/params/v1beta1/query.js +39 -0
- package/module/codegen/cosmos/slashing/v1beta1/genesis.js +20 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.js +49 -0
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +9 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.js +9 -0
- package/module/codegen/cosmos/staking/v1beta1/authz.js +22 -11
- package/module/codegen/cosmos/staking/v1beta1/genesis.js +6 -0
- package/module/codegen/cosmos/staking/v1beta1/query.js +218 -0
- package/module/codegen/cosmos/staking/v1beta1/staking.js +181 -7
- package/module/codegen/cosmos/staking/v1beta1/tx.js +56 -0
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +41 -12
- package/module/codegen/cosmos/tx/v1beta1/service.js +111 -14
- package/module/codegen/cosmos/tx/v1beta1/tx.js +122 -0
- package/module/codegen/cosmos/upgrade/v1beta1/query.js +115 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.js +49 -0
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +50 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +43 -0
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +57 -0
- package/module/codegen/cosmos_proto/bundle.js +2 -2
- package/module/codegen/cosmos_proto/cosmos.js +31 -6
- package/module/codegen/gogoproto/bundle.js +2 -2
- package/module/codegen/google/api/http.js +561 -0
- package/module/codegen/google/bundle.js +2 -2
- package/module/codegen/google/protobuf/any.js +165 -0
- package/module/codegen/google/protobuf/descriptor.js +166 -41
- package/module/codegen/google/protobuf/duration.js +61 -0
- package/module/codegen/google/protobuf/empty.js +25 -0
- package/module/codegen/google/protobuf/timestamp.js +85 -0
- package/module/codegen/tendermint/abci/types.js +107 -24
- package/module/codegen/tendermint/bundle.js +2 -2
- package/module/codegen/tendermint/crypto/keys.js +5 -0
- package/module/codegen/tendermint/crypto/proof.js +17 -0
- package/module/codegen/tendermint/types/evidence.js +9 -0
- package/module/codegen/tendermint/types/params.js +39 -0
- package/module/codegen/tendermint/types/types.js +52 -14
- package/module/codegen/tendermint/version/types.js +18 -0
- package/package.json +7 -6
|
@@ -8,11 +8,149 @@ exports.ValidatorSlashEvents = exports.ValidatorSlashEvent = exports.ValidatorOu
|
|
|
8
8
|
var _coin = require("../../base/v1beta1/coin");
|
|
9
9
|
var _m0 = _interopRequireWildcard(require("protobufjs/minimal"));
|
|
10
10
|
var _helpers = require("../../../helpers");
|
|
11
|
-
function _getRequireWildcardCache(
|
|
12
|
-
function _interopRequireWildcard(
|
|
11
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
13
13
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
14
14
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
15
15
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
16
|
+
/** Params defines the set of params for the distribution module. */
|
|
17
|
+
|
|
18
|
+
/** Params defines the set of params for the distribution module. */
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* ValidatorHistoricalRewards represents historical rewards for a validator.
|
|
22
|
+
* Height is implicit within the store key.
|
|
23
|
+
* Cumulative reward ratio is the sum from the zeroeth period
|
|
24
|
+
* until this period of rewards / tokens, per the spec.
|
|
25
|
+
* The reference count indicates the number of objects
|
|
26
|
+
* which might need to reference this historical entry at any point.
|
|
27
|
+
* ReferenceCount =
|
|
28
|
+
* number of outstanding delegations which ended the associated period (and
|
|
29
|
+
* might need to read that record)
|
|
30
|
+
* + number of slashes which ended the associated period (and might need to
|
|
31
|
+
* read that record)
|
|
32
|
+
* + one per validator for the zeroeth period, set on initialization
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* ValidatorHistoricalRewards represents historical rewards for a validator.
|
|
37
|
+
* Height is implicit within the store key.
|
|
38
|
+
* Cumulative reward ratio is the sum from the zeroeth period
|
|
39
|
+
* until this period of rewards / tokens, per the spec.
|
|
40
|
+
* The reference count indicates the number of objects
|
|
41
|
+
* which might need to reference this historical entry at any point.
|
|
42
|
+
* ReferenceCount =
|
|
43
|
+
* number of outstanding delegations which ended the associated period (and
|
|
44
|
+
* might need to read that record)
|
|
45
|
+
* + number of slashes which ended the associated period (and might need to
|
|
46
|
+
* read that record)
|
|
47
|
+
* + one per validator for the zeroeth period, set on initialization
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* ValidatorCurrentRewards represents current rewards and current
|
|
52
|
+
* period for a validator kept as a running counter and incremented
|
|
53
|
+
* each block as long as the validator's tokens remain constant.
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* ValidatorCurrentRewards represents current rewards and current
|
|
58
|
+
* period for a validator kept as a running counter and incremented
|
|
59
|
+
* each block as long as the validator's tokens remain constant.
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* ValidatorAccumulatedCommission represents accumulated commission
|
|
64
|
+
* for a validator kept as a running counter, can be withdrawn at any time.
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* ValidatorAccumulatedCommission represents accumulated commission
|
|
69
|
+
* for a validator kept as a running counter, can be withdrawn at any time.
|
|
70
|
+
*/
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards
|
|
74
|
+
* for a validator inexpensive to track, allows simple sanity checks.
|
|
75
|
+
*/
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards
|
|
79
|
+
* for a validator inexpensive to track, allows simple sanity checks.
|
|
80
|
+
*/
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* ValidatorSlashEvent represents a validator slash event.
|
|
84
|
+
* Height is implicit within the store key.
|
|
85
|
+
* This is needed to calculate appropriate amount of staking tokens
|
|
86
|
+
* for delegations which are withdrawn after a slash has occurred.
|
|
87
|
+
*/
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* ValidatorSlashEvent represents a validator slash event.
|
|
91
|
+
* Height is implicit within the store key.
|
|
92
|
+
* This is needed to calculate appropriate amount of staking tokens
|
|
93
|
+
* for delegations which are withdrawn after a slash has occurred.
|
|
94
|
+
*/
|
|
95
|
+
|
|
96
|
+
/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */
|
|
97
|
+
|
|
98
|
+
/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */
|
|
99
|
+
|
|
100
|
+
/** FeePool is the global fee pool for distribution. */
|
|
101
|
+
|
|
102
|
+
/** FeePool is the global fee pool for distribution. */
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* CommunityPoolSpendProposal details a proposal for use of community funds,
|
|
106
|
+
* together with how many coins are proposed to be spent, and to which
|
|
107
|
+
* recipient account.
|
|
108
|
+
*/
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* CommunityPoolSpendProposal details a proposal for use of community funds,
|
|
112
|
+
* together with how many coins are proposed to be spent, and to which
|
|
113
|
+
* recipient account.
|
|
114
|
+
*/
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* DelegatorStartingInfo represents the starting info for a delegator reward
|
|
118
|
+
* period. It tracks the previous validator period, the delegation's amount of
|
|
119
|
+
* staking token, and the creation height (to check later on if any slashes have
|
|
120
|
+
* occurred). NOTE: Even though validators are slashed to whole staking tokens,
|
|
121
|
+
* the delegators within the validator may be left with less than a full token,
|
|
122
|
+
* thus sdk.Dec is used.
|
|
123
|
+
*/
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* DelegatorStartingInfo represents the starting info for a delegator reward
|
|
127
|
+
* period. It tracks the previous validator period, the delegation's amount of
|
|
128
|
+
* staking token, and the creation height (to check later on if any slashes have
|
|
129
|
+
* occurred). NOTE: Even though validators are slashed to whole staking tokens,
|
|
130
|
+
* the delegators within the validator may be left with less than a full token,
|
|
131
|
+
* thus sdk.Dec is used.
|
|
132
|
+
*/
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* DelegationDelegatorReward represents the properties
|
|
136
|
+
* of a delegator's delegation reward.
|
|
137
|
+
*/
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* DelegationDelegatorReward represents the properties
|
|
141
|
+
* of a delegator's delegation reward.
|
|
142
|
+
*/
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal
|
|
146
|
+
* with a deposit
|
|
147
|
+
*/
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal
|
|
151
|
+
* with a deposit
|
|
152
|
+
*/
|
|
153
|
+
|
|
16
154
|
function createBaseParams() {
|
|
17
155
|
return {
|
|
18
156
|
communityTax: "",
|
|
@@ -21,7 +159,7 @@ function createBaseParams() {
|
|
|
21
159
|
withdrawAddrEnabled: false
|
|
22
160
|
};
|
|
23
161
|
}
|
|
24
|
-
var Params = {
|
|
162
|
+
var Params = exports.Params = {
|
|
25
163
|
encode: function encode(message) {
|
|
26
164
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
27
165
|
if (message.communityTax !== "") {
|
|
@@ -74,14 +212,13 @@ var Params = {
|
|
|
74
212
|
return message;
|
|
75
213
|
}
|
|
76
214
|
};
|
|
77
|
-
exports.Params = Params;
|
|
78
215
|
function createBaseValidatorHistoricalRewards() {
|
|
79
216
|
return {
|
|
80
217
|
cumulativeRewardRatio: [],
|
|
81
218
|
referenceCount: 0
|
|
82
219
|
};
|
|
83
220
|
}
|
|
84
|
-
var ValidatorHistoricalRewards = {
|
|
221
|
+
var ValidatorHistoricalRewards = exports.ValidatorHistoricalRewards = {
|
|
85
222
|
encode: function encode(message) {
|
|
86
223
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
87
224
|
var _iterator = _createForOfIteratorHelper(message.cumulativeRewardRatio),
|
|
@@ -131,14 +268,13 @@ var ValidatorHistoricalRewards = {
|
|
|
131
268
|
return message;
|
|
132
269
|
}
|
|
133
270
|
};
|
|
134
|
-
exports.ValidatorHistoricalRewards = ValidatorHistoricalRewards;
|
|
135
271
|
function createBaseValidatorCurrentRewards() {
|
|
136
272
|
return {
|
|
137
273
|
rewards: [],
|
|
138
274
|
period: _helpers.Long.UZERO
|
|
139
275
|
};
|
|
140
276
|
}
|
|
141
|
-
var ValidatorCurrentRewards = {
|
|
277
|
+
var ValidatorCurrentRewards = exports.ValidatorCurrentRewards = {
|
|
142
278
|
encode: function encode(message) {
|
|
143
279
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
144
280
|
var _iterator2 = _createForOfIteratorHelper(message.rewards),
|
|
@@ -188,13 +324,12 @@ var ValidatorCurrentRewards = {
|
|
|
188
324
|
return message;
|
|
189
325
|
}
|
|
190
326
|
};
|
|
191
|
-
exports.ValidatorCurrentRewards = ValidatorCurrentRewards;
|
|
192
327
|
function createBaseValidatorAccumulatedCommission() {
|
|
193
328
|
return {
|
|
194
329
|
commission: []
|
|
195
330
|
};
|
|
196
331
|
}
|
|
197
|
-
var ValidatorAccumulatedCommission = {
|
|
332
|
+
var ValidatorAccumulatedCommission = exports.ValidatorAccumulatedCommission = {
|
|
198
333
|
encode: function encode(message) {
|
|
199
334
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
200
335
|
var _iterator3 = _createForOfIteratorHelper(message.commission),
|
|
@@ -237,13 +372,12 @@ var ValidatorAccumulatedCommission = {
|
|
|
237
372
|
return message;
|
|
238
373
|
}
|
|
239
374
|
};
|
|
240
|
-
exports.ValidatorAccumulatedCommission = ValidatorAccumulatedCommission;
|
|
241
375
|
function createBaseValidatorOutstandingRewards() {
|
|
242
376
|
return {
|
|
243
377
|
rewards: []
|
|
244
378
|
};
|
|
245
379
|
}
|
|
246
|
-
var ValidatorOutstandingRewards = {
|
|
380
|
+
var ValidatorOutstandingRewards = exports.ValidatorOutstandingRewards = {
|
|
247
381
|
encode: function encode(message) {
|
|
248
382
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
249
383
|
var _iterator4 = _createForOfIteratorHelper(message.rewards),
|
|
@@ -286,14 +420,13 @@ var ValidatorOutstandingRewards = {
|
|
|
286
420
|
return message;
|
|
287
421
|
}
|
|
288
422
|
};
|
|
289
|
-
exports.ValidatorOutstandingRewards = ValidatorOutstandingRewards;
|
|
290
423
|
function createBaseValidatorSlashEvent() {
|
|
291
424
|
return {
|
|
292
425
|
validatorPeriod: _helpers.Long.UZERO,
|
|
293
426
|
fraction: ""
|
|
294
427
|
};
|
|
295
428
|
}
|
|
296
|
-
var ValidatorSlashEvent = {
|
|
429
|
+
var ValidatorSlashEvent = exports.ValidatorSlashEvent = {
|
|
297
430
|
encode: function encode(message) {
|
|
298
431
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
299
432
|
if (!message.validatorPeriod.isZero()) {
|
|
@@ -332,13 +465,12 @@ var ValidatorSlashEvent = {
|
|
|
332
465
|
return message;
|
|
333
466
|
}
|
|
334
467
|
};
|
|
335
|
-
exports.ValidatorSlashEvent = ValidatorSlashEvent;
|
|
336
468
|
function createBaseValidatorSlashEvents() {
|
|
337
469
|
return {
|
|
338
470
|
validatorSlashEvents: []
|
|
339
471
|
};
|
|
340
472
|
}
|
|
341
|
-
var ValidatorSlashEvents = {
|
|
473
|
+
var ValidatorSlashEvents = exports.ValidatorSlashEvents = {
|
|
342
474
|
encode: function encode(message) {
|
|
343
475
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
344
476
|
var _iterator5 = _createForOfIteratorHelper(message.validatorSlashEvents),
|
|
@@ -381,13 +513,12 @@ var ValidatorSlashEvents = {
|
|
|
381
513
|
return message;
|
|
382
514
|
}
|
|
383
515
|
};
|
|
384
|
-
exports.ValidatorSlashEvents = ValidatorSlashEvents;
|
|
385
516
|
function createBaseFeePool() {
|
|
386
517
|
return {
|
|
387
518
|
communityPool: []
|
|
388
519
|
};
|
|
389
520
|
}
|
|
390
|
-
var FeePool = {
|
|
521
|
+
var FeePool = exports.FeePool = {
|
|
391
522
|
encode: function encode(message) {
|
|
392
523
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
393
524
|
var _iterator6 = _createForOfIteratorHelper(message.communityPool),
|
|
@@ -430,7 +561,6 @@ var FeePool = {
|
|
|
430
561
|
return message;
|
|
431
562
|
}
|
|
432
563
|
};
|
|
433
|
-
exports.FeePool = FeePool;
|
|
434
564
|
function createBaseCommunityPoolSpendProposal() {
|
|
435
565
|
return {
|
|
436
566
|
title: "",
|
|
@@ -439,7 +569,7 @@ function createBaseCommunityPoolSpendProposal() {
|
|
|
439
569
|
amount: []
|
|
440
570
|
};
|
|
441
571
|
}
|
|
442
|
-
var CommunityPoolSpendProposal = {
|
|
572
|
+
var CommunityPoolSpendProposal = exports.CommunityPoolSpendProposal = {
|
|
443
573
|
encode: function encode(message) {
|
|
444
574
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
445
575
|
if (message.title !== "") {
|
|
@@ -503,7 +633,6 @@ var CommunityPoolSpendProposal = {
|
|
|
503
633
|
return message;
|
|
504
634
|
}
|
|
505
635
|
};
|
|
506
|
-
exports.CommunityPoolSpendProposal = CommunityPoolSpendProposal;
|
|
507
636
|
function createBaseDelegatorStartingInfo() {
|
|
508
637
|
return {
|
|
509
638
|
previousPeriod: _helpers.Long.UZERO,
|
|
@@ -511,7 +640,7 @@ function createBaseDelegatorStartingInfo() {
|
|
|
511
640
|
height: _helpers.Long.UZERO
|
|
512
641
|
};
|
|
513
642
|
}
|
|
514
|
-
var DelegatorStartingInfo = {
|
|
643
|
+
var DelegatorStartingInfo = exports.DelegatorStartingInfo = {
|
|
515
644
|
encode: function encode(message) {
|
|
516
645
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
517
646
|
if (!message.previousPeriod.isZero()) {
|
|
@@ -557,14 +686,13 @@ var DelegatorStartingInfo = {
|
|
|
557
686
|
return message;
|
|
558
687
|
}
|
|
559
688
|
};
|
|
560
|
-
exports.DelegatorStartingInfo = DelegatorStartingInfo;
|
|
561
689
|
function createBaseDelegationDelegatorReward() {
|
|
562
690
|
return {
|
|
563
691
|
validatorAddress: "",
|
|
564
692
|
reward: []
|
|
565
693
|
};
|
|
566
694
|
}
|
|
567
|
-
var DelegationDelegatorReward = {
|
|
695
|
+
var DelegationDelegatorReward = exports.DelegationDelegatorReward = {
|
|
568
696
|
encode: function encode(message) {
|
|
569
697
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
570
698
|
if (message.validatorAddress !== "") {
|
|
@@ -614,7 +742,6 @@ var DelegationDelegatorReward = {
|
|
|
614
742
|
return message;
|
|
615
743
|
}
|
|
616
744
|
};
|
|
617
|
-
exports.DelegationDelegatorReward = DelegationDelegatorReward;
|
|
618
745
|
function createBaseCommunityPoolSpendProposalWithDeposit() {
|
|
619
746
|
return {
|
|
620
747
|
title: "",
|
|
@@ -624,7 +751,7 @@ function createBaseCommunityPoolSpendProposalWithDeposit() {
|
|
|
624
751
|
deposit: ""
|
|
625
752
|
};
|
|
626
753
|
}
|
|
627
|
-
var CommunityPoolSpendProposalWithDeposit = {
|
|
754
|
+
var CommunityPoolSpendProposalWithDeposit = exports.CommunityPoolSpendProposalWithDeposit = {
|
|
628
755
|
encode: function encode(message) {
|
|
629
756
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
630
757
|
if (message.title !== "") {
|
|
@@ -683,5 +810,4 @@ var CommunityPoolSpendProposalWithDeposit = {
|
|
|
683
810
|
message.deposit = (_object$deposit = object.deposit) !== null && _object$deposit !== void 0 ? _object$deposit : "";
|
|
684
811
|
return message;
|
|
685
812
|
}
|
|
686
|
-
};
|
|
687
|
-
exports.CommunityPoolSpendProposalWithDeposit = CommunityPoolSpendProposalWithDeposit;
|
|
813
|
+
};
|
|
@@ -9,18 +9,70 @@ var _coin = require("../../base/v1beta1/coin");
|
|
|
9
9
|
var _distribution = require("./distribution");
|
|
10
10
|
var _m0 = _interopRequireWildcard(require("protobufjs/minimal"));
|
|
11
11
|
var _helpers = require("../../../helpers");
|
|
12
|
-
function _getRequireWildcardCache(
|
|
13
|
-
function _interopRequireWildcard(
|
|
12
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
13
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
14
14
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
15
15
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
16
16
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
17
|
+
/**
|
|
18
|
+
* DelegatorWithdrawInfo is the address for where distributions rewards are
|
|
19
|
+
* withdrawn to by default this struct is only used at genesis to feed in
|
|
20
|
+
* default withdraw addresses.
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* DelegatorWithdrawInfo is the address for where distributions rewards are
|
|
25
|
+
* withdrawn to by default this struct is only used at genesis to feed in
|
|
26
|
+
* default withdraw addresses.
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */
|
|
30
|
+
|
|
31
|
+
/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* ValidatorAccumulatedCommissionRecord is used for import / export via genesis
|
|
35
|
+
* json.
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* ValidatorAccumulatedCommissionRecord is used for import / export via genesis
|
|
40
|
+
* json.
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* ValidatorHistoricalRewardsRecord is used for import / export via genesis
|
|
45
|
+
* json.
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* ValidatorHistoricalRewardsRecord is used for import / export via genesis
|
|
50
|
+
* json.
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */
|
|
54
|
+
|
|
55
|
+
/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */
|
|
56
|
+
|
|
57
|
+
/** DelegatorStartingInfoRecord used for import / export via genesis json. */
|
|
58
|
+
|
|
59
|
+
/** DelegatorStartingInfoRecord used for import / export via genesis json. */
|
|
60
|
+
|
|
61
|
+
/** ValidatorSlashEventRecord is used for import / export via genesis json. */
|
|
62
|
+
|
|
63
|
+
/** ValidatorSlashEventRecord is used for import / export via genesis json. */
|
|
64
|
+
|
|
65
|
+
/** GenesisState defines the distribution module's genesis state. */
|
|
66
|
+
|
|
67
|
+
/** GenesisState defines the distribution module's genesis state. */
|
|
68
|
+
|
|
17
69
|
function createBaseDelegatorWithdrawInfo() {
|
|
18
70
|
return {
|
|
19
71
|
delegatorAddress: "",
|
|
20
72
|
withdrawAddress: ""
|
|
21
73
|
};
|
|
22
74
|
}
|
|
23
|
-
var DelegatorWithdrawInfo = {
|
|
75
|
+
var DelegatorWithdrawInfo = exports.DelegatorWithdrawInfo = {
|
|
24
76
|
encode: function encode(message) {
|
|
25
77
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
26
78
|
if (message.delegatorAddress !== "") {
|
|
@@ -59,14 +111,13 @@ var DelegatorWithdrawInfo = {
|
|
|
59
111
|
return message;
|
|
60
112
|
}
|
|
61
113
|
};
|
|
62
|
-
exports.DelegatorWithdrawInfo = DelegatorWithdrawInfo;
|
|
63
114
|
function createBaseValidatorOutstandingRewardsRecord() {
|
|
64
115
|
return {
|
|
65
116
|
validatorAddress: "",
|
|
66
117
|
outstandingRewards: []
|
|
67
118
|
};
|
|
68
119
|
}
|
|
69
|
-
var ValidatorOutstandingRewardsRecord = {
|
|
120
|
+
var ValidatorOutstandingRewardsRecord = exports.ValidatorOutstandingRewardsRecord = {
|
|
70
121
|
encode: function encode(message) {
|
|
71
122
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
72
123
|
if (message.validatorAddress !== "") {
|
|
@@ -116,14 +167,13 @@ var ValidatorOutstandingRewardsRecord = {
|
|
|
116
167
|
return message;
|
|
117
168
|
}
|
|
118
169
|
};
|
|
119
|
-
exports.ValidatorOutstandingRewardsRecord = ValidatorOutstandingRewardsRecord;
|
|
120
170
|
function createBaseValidatorAccumulatedCommissionRecord() {
|
|
121
171
|
return {
|
|
122
172
|
validatorAddress: "",
|
|
123
173
|
accumulated: undefined
|
|
124
174
|
};
|
|
125
175
|
}
|
|
126
|
-
var ValidatorAccumulatedCommissionRecord = {
|
|
176
|
+
var ValidatorAccumulatedCommissionRecord = exports.ValidatorAccumulatedCommissionRecord = {
|
|
127
177
|
encode: function encode(message) {
|
|
128
178
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
129
179
|
if (message.validatorAddress !== "") {
|
|
@@ -162,7 +212,6 @@ var ValidatorAccumulatedCommissionRecord = {
|
|
|
162
212
|
return message;
|
|
163
213
|
}
|
|
164
214
|
};
|
|
165
|
-
exports.ValidatorAccumulatedCommissionRecord = ValidatorAccumulatedCommissionRecord;
|
|
166
215
|
function createBaseValidatorHistoricalRewardsRecord() {
|
|
167
216
|
return {
|
|
168
217
|
validatorAddress: "",
|
|
@@ -170,7 +219,7 @@ function createBaseValidatorHistoricalRewardsRecord() {
|
|
|
170
219
|
rewards: undefined
|
|
171
220
|
};
|
|
172
221
|
}
|
|
173
|
-
var ValidatorHistoricalRewardsRecord = {
|
|
222
|
+
var ValidatorHistoricalRewardsRecord = exports.ValidatorHistoricalRewardsRecord = {
|
|
174
223
|
encode: function encode(message) {
|
|
175
224
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
176
225
|
if (message.validatorAddress !== "") {
|
|
@@ -216,14 +265,13 @@ var ValidatorHistoricalRewardsRecord = {
|
|
|
216
265
|
return message;
|
|
217
266
|
}
|
|
218
267
|
};
|
|
219
|
-
exports.ValidatorHistoricalRewardsRecord = ValidatorHistoricalRewardsRecord;
|
|
220
268
|
function createBaseValidatorCurrentRewardsRecord() {
|
|
221
269
|
return {
|
|
222
270
|
validatorAddress: "",
|
|
223
271
|
rewards: undefined
|
|
224
272
|
};
|
|
225
273
|
}
|
|
226
|
-
var ValidatorCurrentRewardsRecord = {
|
|
274
|
+
var ValidatorCurrentRewardsRecord = exports.ValidatorCurrentRewardsRecord = {
|
|
227
275
|
encode: function encode(message) {
|
|
228
276
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
229
277
|
if (message.validatorAddress !== "") {
|
|
@@ -262,7 +310,6 @@ var ValidatorCurrentRewardsRecord = {
|
|
|
262
310
|
return message;
|
|
263
311
|
}
|
|
264
312
|
};
|
|
265
|
-
exports.ValidatorCurrentRewardsRecord = ValidatorCurrentRewardsRecord;
|
|
266
313
|
function createBaseDelegatorStartingInfoRecord() {
|
|
267
314
|
return {
|
|
268
315
|
delegatorAddress: "",
|
|
@@ -270,7 +317,7 @@ function createBaseDelegatorStartingInfoRecord() {
|
|
|
270
317
|
startingInfo: undefined
|
|
271
318
|
};
|
|
272
319
|
}
|
|
273
|
-
var DelegatorStartingInfoRecord = {
|
|
320
|
+
var DelegatorStartingInfoRecord = exports.DelegatorStartingInfoRecord = {
|
|
274
321
|
encode: function encode(message) {
|
|
275
322
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
276
323
|
if (message.delegatorAddress !== "") {
|
|
@@ -316,7 +363,6 @@ var DelegatorStartingInfoRecord = {
|
|
|
316
363
|
return message;
|
|
317
364
|
}
|
|
318
365
|
};
|
|
319
|
-
exports.DelegatorStartingInfoRecord = DelegatorStartingInfoRecord;
|
|
320
366
|
function createBaseValidatorSlashEventRecord() {
|
|
321
367
|
return {
|
|
322
368
|
validatorAddress: "",
|
|
@@ -325,7 +371,7 @@ function createBaseValidatorSlashEventRecord() {
|
|
|
325
371
|
validatorSlashEvent: undefined
|
|
326
372
|
};
|
|
327
373
|
}
|
|
328
|
-
var ValidatorSlashEventRecord = {
|
|
374
|
+
var ValidatorSlashEventRecord = exports.ValidatorSlashEventRecord = {
|
|
329
375
|
encode: function encode(message) {
|
|
330
376
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
331
377
|
if (message.validatorAddress !== "") {
|
|
@@ -378,7 +424,6 @@ var ValidatorSlashEventRecord = {
|
|
|
378
424
|
return message;
|
|
379
425
|
}
|
|
380
426
|
};
|
|
381
|
-
exports.ValidatorSlashEventRecord = ValidatorSlashEventRecord;
|
|
382
427
|
function createBaseGenesisState() {
|
|
383
428
|
return {
|
|
384
429
|
params: undefined,
|
|
@@ -393,7 +438,7 @@ function createBaseGenesisState() {
|
|
|
393
438
|
validatorSlashEvents: []
|
|
394
439
|
};
|
|
395
440
|
}
|
|
396
|
-
var GenesisState = {
|
|
441
|
+
var GenesisState = exports.GenesisState = {
|
|
397
442
|
encode: function encode(message) {
|
|
398
443
|
var writer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _m0.Writer.create();
|
|
399
444
|
if (message.params !== undefined) {
|
|
@@ -564,5 +609,4 @@ var GenesisState = {
|
|
|
564
609
|
})) || [];
|
|
565
610
|
return message;
|
|
566
611
|
}
|
|
567
|
-
};
|
|
568
|
-
exports.GenesisState = GenesisState;
|
|
612
|
+
};
|