@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
|
@@ -5,18 +5,18 @@ import { EvidenceParams, ValidatorParams, VersionParams } from "../types/params"
|
|
|
5
5
|
import { PublicKey } from "../crypto/keys";
|
|
6
6
|
import * as _m0 from "protobufjs/minimal";
|
|
7
7
|
import { Long, toTimestamp, fromTimestamp } from "../../helpers";
|
|
8
|
-
export let CheckTxType
|
|
9
|
-
(function (CheckTxType) {
|
|
8
|
+
export let CheckTxType = /*#__PURE__*/function (CheckTxType) {
|
|
10
9
|
CheckTxType[CheckTxType["NEW"] = 0] = "NEW";
|
|
11
10
|
CheckTxType[CheckTxType["RECHECK"] = 1] = "RECHECK";
|
|
12
11
|
CheckTxType[CheckTxType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
return CheckTxType;
|
|
13
|
+
}({});
|
|
14
|
+
export let CheckTxTypeSDKType = /*#__PURE__*/function (CheckTxTypeSDKType) {
|
|
16
15
|
CheckTxTypeSDKType[CheckTxTypeSDKType["NEW"] = 0] = "NEW";
|
|
17
16
|
CheckTxTypeSDKType[CheckTxTypeSDKType["RECHECK"] = 1] = "RECHECK";
|
|
18
17
|
CheckTxTypeSDKType[CheckTxTypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
19
|
-
|
|
18
|
+
return CheckTxTypeSDKType;
|
|
19
|
+
}({});
|
|
20
20
|
export function checkTxTypeFromJSON(object) {
|
|
21
21
|
switch (object) {
|
|
22
22
|
case 0:
|
|
@@ -42,8 +42,7 @@ export function checkTxTypeToJSON(object) {
|
|
|
42
42
|
return "UNRECOGNIZED";
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
export let ResponseOfferSnapshot_Result
|
|
46
|
-
(function (ResponseOfferSnapshot_Result) {
|
|
45
|
+
export let ResponseOfferSnapshot_Result = /*#__PURE__*/function (ResponseOfferSnapshot_Result) {
|
|
47
46
|
ResponseOfferSnapshot_Result[ResponseOfferSnapshot_Result["UNKNOWN"] = 0] = "UNKNOWN";
|
|
48
47
|
ResponseOfferSnapshot_Result[ResponseOfferSnapshot_Result["ACCEPT"] = 1] = "ACCEPT";
|
|
49
48
|
ResponseOfferSnapshot_Result[ResponseOfferSnapshot_Result["ABORT"] = 2] = "ABORT";
|
|
@@ -51,9 +50,9 @@ export let ResponseOfferSnapshot_Result;
|
|
|
51
50
|
ResponseOfferSnapshot_Result[ResponseOfferSnapshot_Result["REJECT_FORMAT"] = 4] = "REJECT_FORMAT";
|
|
52
51
|
ResponseOfferSnapshot_Result[ResponseOfferSnapshot_Result["REJECT_SENDER"] = 5] = "REJECT_SENDER";
|
|
53
52
|
ResponseOfferSnapshot_Result[ResponseOfferSnapshot_Result["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
return ResponseOfferSnapshot_Result;
|
|
54
|
+
}({});
|
|
55
|
+
export let ResponseOfferSnapshot_ResultSDKType = /*#__PURE__*/function (ResponseOfferSnapshot_ResultSDKType) {
|
|
57
56
|
ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
58
57
|
ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["ACCEPT"] = 1] = "ACCEPT";
|
|
59
58
|
ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["ABORT"] = 2] = "ABORT";
|
|
@@ -61,7 +60,8 @@ export let ResponseOfferSnapshot_ResultSDKType;
|
|
|
61
60
|
ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["REJECT_FORMAT"] = 4] = "REJECT_FORMAT";
|
|
62
61
|
ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["REJECT_SENDER"] = 5] = "REJECT_SENDER";
|
|
63
62
|
ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
64
|
-
|
|
63
|
+
return ResponseOfferSnapshot_ResultSDKType;
|
|
64
|
+
}({});
|
|
65
65
|
export function responseOfferSnapshot_ResultFromJSON(object) {
|
|
66
66
|
switch (object) {
|
|
67
67
|
case 0:
|
|
@@ -107,8 +107,7 @@ export function responseOfferSnapshot_ResultToJSON(object) {
|
|
|
107
107
|
return "UNRECOGNIZED";
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
export let ResponseApplySnapshotChunk_Result
|
|
111
|
-
(function (ResponseApplySnapshotChunk_Result) {
|
|
110
|
+
export let ResponseApplySnapshotChunk_Result = /*#__PURE__*/function (ResponseApplySnapshotChunk_Result) {
|
|
112
111
|
ResponseApplySnapshotChunk_Result[ResponseApplySnapshotChunk_Result["UNKNOWN"] = 0] = "UNKNOWN";
|
|
113
112
|
ResponseApplySnapshotChunk_Result[ResponseApplySnapshotChunk_Result["ACCEPT"] = 1] = "ACCEPT";
|
|
114
113
|
ResponseApplySnapshotChunk_Result[ResponseApplySnapshotChunk_Result["ABORT"] = 2] = "ABORT";
|
|
@@ -116,9 +115,9 @@ export let ResponseApplySnapshotChunk_Result;
|
|
|
116
115
|
ResponseApplySnapshotChunk_Result[ResponseApplySnapshotChunk_Result["RETRY_SNAPSHOT"] = 4] = "RETRY_SNAPSHOT";
|
|
117
116
|
ResponseApplySnapshotChunk_Result[ResponseApplySnapshotChunk_Result["REJECT_SNAPSHOT"] = 5] = "REJECT_SNAPSHOT";
|
|
118
117
|
ResponseApplySnapshotChunk_Result[ResponseApplySnapshotChunk_Result["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
118
|
+
return ResponseApplySnapshotChunk_Result;
|
|
119
|
+
}({});
|
|
120
|
+
export let ResponseApplySnapshotChunk_ResultSDKType = /*#__PURE__*/function (ResponseApplySnapshotChunk_ResultSDKType) {
|
|
122
121
|
ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
123
122
|
ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["ACCEPT"] = 1] = "ACCEPT";
|
|
124
123
|
ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["ABORT"] = 2] = "ABORT";
|
|
@@ -126,7 +125,8 @@ export let ResponseApplySnapshotChunk_ResultSDKType;
|
|
|
126
125
|
ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["RETRY_SNAPSHOT"] = 4] = "RETRY_SNAPSHOT";
|
|
127
126
|
ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["REJECT_SNAPSHOT"] = 5] = "REJECT_SNAPSHOT";
|
|
128
127
|
ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
129
|
-
|
|
128
|
+
return ResponseApplySnapshotChunk_ResultSDKType;
|
|
129
|
+
}({});
|
|
130
130
|
export function responseApplySnapshotChunk_ResultFromJSON(object) {
|
|
131
131
|
switch (object) {
|
|
132
132
|
case 0:
|
|
@@ -172,20 +172,20 @@ export function responseApplySnapshotChunk_ResultToJSON(object) {
|
|
|
172
172
|
return "UNRECOGNIZED";
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
-
export let EvidenceType
|
|
176
|
-
(function (EvidenceType) {
|
|
175
|
+
export let EvidenceType = /*#__PURE__*/function (EvidenceType) {
|
|
177
176
|
EvidenceType[EvidenceType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
178
177
|
EvidenceType[EvidenceType["DUPLICATE_VOTE"] = 1] = "DUPLICATE_VOTE";
|
|
179
178
|
EvidenceType[EvidenceType["LIGHT_CLIENT_ATTACK"] = 2] = "LIGHT_CLIENT_ATTACK";
|
|
180
179
|
EvidenceType[EvidenceType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
180
|
+
return EvidenceType;
|
|
181
|
+
}({});
|
|
182
|
+
export let EvidenceTypeSDKType = /*#__PURE__*/function (EvidenceTypeSDKType) {
|
|
184
183
|
EvidenceTypeSDKType[EvidenceTypeSDKType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
185
184
|
EvidenceTypeSDKType[EvidenceTypeSDKType["DUPLICATE_VOTE"] = 1] = "DUPLICATE_VOTE";
|
|
186
185
|
EvidenceTypeSDKType[EvidenceTypeSDKType["LIGHT_CLIENT_ATTACK"] = 2] = "LIGHT_CLIENT_ATTACK";
|
|
187
186
|
EvidenceTypeSDKType[EvidenceTypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
188
|
-
|
|
187
|
+
return EvidenceTypeSDKType;
|
|
188
|
+
}({});
|
|
189
189
|
export function evidenceTypeFromJSON(object) {
|
|
190
190
|
switch (object) {
|
|
191
191
|
case 0:
|
|
@@ -216,6 +216,89 @@ export function evidenceTypeToJSON(object) {
|
|
|
216
216
|
return "UNRECOGNIZED";
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
+
|
|
220
|
+
/** nondeterministic */
|
|
221
|
+
|
|
222
|
+
/** nondeterministic */
|
|
223
|
+
|
|
224
|
+
/** lists available snapshots */
|
|
225
|
+
|
|
226
|
+
/** lists available snapshots */
|
|
227
|
+
|
|
228
|
+
/** offers a snapshot to the application */
|
|
229
|
+
|
|
230
|
+
/** offers a snapshot to the application */
|
|
231
|
+
|
|
232
|
+
/** loads a snapshot chunk */
|
|
233
|
+
|
|
234
|
+
/** loads a snapshot chunk */
|
|
235
|
+
|
|
236
|
+
/** Applies a snapshot chunk */
|
|
237
|
+
|
|
238
|
+
/** Applies a snapshot chunk */
|
|
239
|
+
|
|
240
|
+
/** nondeterministic */
|
|
241
|
+
|
|
242
|
+
/** nondeterministic */
|
|
243
|
+
|
|
244
|
+
/** nondeterministic */
|
|
245
|
+
|
|
246
|
+
/** nondeterministic */
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* ConsensusParams contains all consensus-relevant parameters
|
|
250
|
+
* that can be adjusted by the abci app
|
|
251
|
+
*/
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* ConsensusParams contains all consensus-relevant parameters
|
|
255
|
+
* that can be adjusted by the abci app
|
|
256
|
+
*/
|
|
257
|
+
|
|
258
|
+
/** BlockParams contains limits on the block size. */
|
|
259
|
+
|
|
260
|
+
/** BlockParams contains limits on the block size. */
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Event allows application developers to attach additional information to
|
|
264
|
+
* ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.
|
|
265
|
+
* Later, transactions may be queried using these events.
|
|
266
|
+
*/
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Event allows application developers to attach additional information to
|
|
270
|
+
* ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.
|
|
271
|
+
* Later, transactions may be queried using these events.
|
|
272
|
+
*/
|
|
273
|
+
|
|
274
|
+
/** EventAttribute is a single key-value pair, associated with an event. */
|
|
275
|
+
|
|
276
|
+
/** EventAttribute is a single key-value pair, associated with an event. */
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* TxResult contains results of executing the transaction.
|
|
280
|
+
*
|
|
281
|
+
* One usage is indexing transaction results.
|
|
282
|
+
*/
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* TxResult contains results of executing the transaction.
|
|
286
|
+
*
|
|
287
|
+
* One usage is indexing transaction results.
|
|
288
|
+
*/
|
|
289
|
+
|
|
290
|
+
/** Validator */
|
|
291
|
+
|
|
292
|
+
/** Validator */
|
|
293
|
+
|
|
294
|
+
/** ValidatorUpdate */
|
|
295
|
+
|
|
296
|
+
/** ValidatorUpdate */
|
|
297
|
+
|
|
298
|
+
/** VoteInfo */
|
|
299
|
+
|
|
300
|
+
/** VoteInfo */
|
|
301
|
+
|
|
219
302
|
function createBaseRequest() {
|
|
220
303
|
return {
|
|
221
304
|
echo: undefined,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
import * as _119 from "./abci/types";
|
|
5
5
|
import * as _120 from "./crypto/keys";
|
|
6
6
|
import * as _121 from "./crypto/proof";
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import * as _m0 from "protobufjs/minimal";
|
|
2
|
+
|
|
3
|
+
/** PublicKey defines the keys available for use with Tendermint Validators */
|
|
4
|
+
|
|
5
|
+
/** PublicKey defines the keys available for use with Tendermint Validators */
|
|
6
|
+
|
|
2
7
|
function createBasePublicKey() {
|
|
3
8
|
return {
|
|
4
9
|
ed25519: undefined,
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
import * as _m0 from "protobufjs/minimal";
|
|
2
2
|
import { Long } from "../../helpers";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* ProofOp defines an operation used for calculating Merkle root
|
|
6
|
+
* The data could be arbitrary format, providing nessecary data
|
|
7
|
+
* for example neighbouring node hash
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* ProofOp defines an operation used for calculating Merkle root
|
|
12
|
+
* The data could be arbitrary format, providing nessecary data
|
|
13
|
+
* for example neighbouring node hash
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
/** ProofOps is Merkle proof defined by the list of ProofOps */
|
|
17
|
+
|
|
18
|
+
/** ProofOps is Merkle proof defined by the list of ProofOps */
|
|
19
|
+
|
|
3
20
|
function createBaseProof() {
|
|
4
21
|
return {
|
|
5
22
|
total: Long.ZERO,
|
|
@@ -3,6 +3,15 @@ import { Timestamp } from "../../google/protobuf/timestamp";
|
|
|
3
3
|
import { Validator } from "./validator";
|
|
4
4
|
import * as _m0 from "protobufjs/minimal";
|
|
5
5
|
import { toTimestamp, Long, fromTimestamp } from "../../helpers";
|
|
6
|
+
|
|
7
|
+
/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */
|
|
8
|
+
|
|
9
|
+
/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */
|
|
10
|
+
|
|
11
|
+
/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */
|
|
12
|
+
|
|
13
|
+
/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */
|
|
14
|
+
|
|
6
15
|
function createBaseEvidence() {
|
|
7
16
|
return {
|
|
8
17
|
duplicateVoteEvidence: undefined,
|
|
@@ -6,6 +6,45 @@ import { Long } from "../../helpers";
|
|
|
6
6
|
* validity of blocks.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* ConsensusParams contains consensus critical parameters that determine the
|
|
11
|
+
* validity of blocks.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/** BlockParams contains limits on the block size. */
|
|
15
|
+
|
|
16
|
+
/** BlockParams contains limits on the block size. */
|
|
17
|
+
|
|
18
|
+
/** EvidenceParams determine how we handle evidence of malfeasance. */
|
|
19
|
+
|
|
20
|
+
/** EvidenceParams determine how we handle evidence of malfeasance. */
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* ValidatorParams restrict the public key types validators can use.
|
|
24
|
+
* NOTE: uses ABCI pubkey naming, not Amino names.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* ValidatorParams restrict the public key types validators can use.
|
|
29
|
+
* NOTE: uses ABCI pubkey naming, not Amino names.
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
/** VersionParams contains the ABCI application version. */
|
|
33
|
+
|
|
34
|
+
/** VersionParams contains the ABCI application version. */
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* HashedParams is a subset of ConsensusParams.
|
|
38
|
+
*
|
|
39
|
+
* It is hashed into the Header.ConsensusHash.
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* HashedParams is a subset of ConsensusParams.
|
|
44
|
+
*
|
|
45
|
+
* It is hashed into the Header.ConsensusHash.
|
|
46
|
+
*/
|
|
47
|
+
|
|
9
48
|
function createBaseConsensusParams() {
|
|
10
49
|
return {
|
|
11
50
|
block: undefined,
|
|
@@ -6,23 +6,24 @@ import * as _m0 from "protobufjs/minimal";
|
|
|
6
6
|
import { toTimestamp, Long, fromTimestamp } from "../../helpers";
|
|
7
7
|
/** BlockIdFlag indicates which BlcokID the signature is for */
|
|
8
8
|
|
|
9
|
-
export let BlockIDFlag
|
|
10
|
-
/** BlockIdFlag indicates which BlcokID the signature is for */
|
|
11
|
-
(function (BlockIDFlag) {
|
|
9
|
+
export let BlockIDFlag = /*#__PURE__*/function (BlockIDFlag) {
|
|
12
10
|
BlockIDFlag[BlockIDFlag["BLOCK_ID_FLAG_UNKNOWN"] = 0] = "BLOCK_ID_FLAG_UNKNOWN";
|
|
13
11
|
BlockIDFlag[BlockIDFlag["BLOCK_ID_FLAG_ABSENT"] = 1] = "BLOCK_ID_FLAG_ABSENT";
|
|
14
12
|
BlockIDFlag[BlockIDFlag["BLOCK_ID_FLAG_COMMIT"] = 2] = "BLOCK_ID_FLAG_COMMIT";
|
|
15
13
|
BlockIDFlag[BlockIDFlag["BLOCK_ID_FLAG_NIL"] = 3] = "BLOCK_ID_FLAG_NIL";
|
|
16
14
|
BlockIDFlag[BlockIDFlag["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
return BlockIDFlag;
|
|
16
|
+
}({});
|
|
17
|
+
/** BlockIdFlag indicates which BlcokID the signature is for */
|
|
18
|
+
|
|
19
|
+
export let BlockIDFlagSDKType = /*#__PURE__*/function (BlockIDFlagSDKType) {
|
|
20
20
|
BlockIDFlagSDKType[BlockIDFlagSDKType["BLOCK_ID_FLAG_UNKNOWN"] = 0] = "BLOCK_ID_FLAG_UNKNOWN";
|
|
21
21
|
BlockIDFlagSDKType[BlockIDFlagSDKType["BLOCK_ID_FLAG_ABSENT"] = 1] = "BLOCK_ID_FLAG_ABSENT";
|
|
22
22
|
BlockIDFlagSDKType[BlockIDFlagSDKType["BLOCK_ID_FLAG_COMMIT"] = 2] = "BLOCK_ID_FLAG_COMMIT";
|
|
23
23
|
BlockIDFlagSDKType[BlockIDFlagSDKType["BLOCK_ID_FLAG_NIL"] = 3] = "BLOCK_ID_FLAG_NIL";
|
|
24
24
|
BlockIDFlagSDKType[BlockIDFlagSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
25
|
-
|
|
25
|
+
return BlockIDFlagSDKType;
|
|
26
|
+
}({});
|
|
26
27
|
export function blockIDFlagFromJSON(object) {
|
|
27
28
|
switch (object) {
|
|
28
29
|
case 0:
|
|
@@ -60,23 +61,24 @@ export function blockIDFlagToJSON(object) {
|
|
|
60
61
|
}
|
|
61
62
|
/** SignedMsgType is a type of signed message in the consensus. */
|
|
62
63
|
|
|
63
|
-
export let SignedMsgType
|
|
64
|
-
/** SignedMsgType is a type of signed message in the consensus. */
|
|
65
|
-
(function (SignedMsgType) {
|
|
64
|
+
export let SignedMsgType = /*#__PURE__*/function (SignedMsgType) {
|
|
66
65
|
SignedMsgType[SignedMsgType["SIGNED_MSG_TYPE_UNKNOWN"] = 0] = "SIGNED_MSG_TYPE_UNKNOWN";
|
|
67
66
|
SignedMsgType[SignedMsgType["SIGNED_MSG_TYPE_PREVOTE"] = 1] = "SIGNED_MSG_TYPE_PREVOTE";
|
|
68
67
|
SignedMsgType[SignedMsgType["SIGNED_MSG_TYPE_PRECOMMIT"] = 2] = "SIGNED_MSG_TYPE_PRECOMMIT";
|
|
69
68
|
SignedMsgType[SignedMsgType["SIGNED_MSG_TYPE_PROPOSAL"] = 32] = "SIGNED_MSG_TYPE_PROPOSAL";
|
|
70
69
|
SignedMsgType[SignedMsgType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
return SignedMsgType;
|
|
71
|
+
}({});
|
|
72
|
+
/** SignedMsgType is a type of signed message in the consensus. */
|
|
73
|
+
|
|
74
|
+
export let SignedMsgTypeSDKType = /*#__PURE__*/function (SignedMsgTypeSDKType) {
|
|
74
75
|
SignedMsgTypeSDKType[SignedMsgTypeSDKType["SIGNED_MSG_TYPE_UNKNOWN"] = 0] = "SIGNED_MSG_TYPE_UNKNOWN";
|
|
75
76
|
SignedMsgTypeSDKType[SignedMsgTypeSDKType["SIGNED_MSG_TYPE_PREVOTE"] = 1] = "SIGNED_MSG_TYPE_PREVOTE";
|
|
76
77
|
SignedMsgTypeSDKType[SignedMsgTypeSDKType["SIGNED_MSG_TYPE_PRECOMMIT"] = 2] = "SIGNED_MSG_TYPE_PRECOMMIT";
|
|
77
78
|
SignedMsgTypeSDKType[SignedMsgTypeSDKType["SIGNED_MSG_TYPE_PROPOSAL"] = 32] = "SIGNED_MSG_TYPE_PROPOSAL";
|
|
78
79
|
SignedMsgTypeSDKType[SignedMsgTypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
79
|
-
|
|
80
|
+
return SignedMsgTypeSDKType;
|
|
81
|
+
}({});
|
|
80
82
|
export function signedMsgTypeFromJSON(object) {
|
|
81
83
|
switch (object) {
|
|
82
84
|
case 0:
|
|
@@ -114,6 +116,42 @@ export function signedMsgTypeToJSON(object) {
|
|
|
114
116
|
}
|
|
115
117
|
/** PartsetHeader */
|
|
116
118
|
|
|
119
|
+
/** PartsetHeader */
|
|
120
|
+
|
|
121
|
+
/** BlockID */
|
|
122
|
+
|
|
123
|
+
/** BlockID */
|
|
124
|
+
|
|
125
|
+
/** Header defines the structure of a Tendermint block header. */
|
|
126
|
+
|
|
127
|
+
/** Header defines the structure of a Tendermint block header. */
|
|
128
|
+
|
|
129
|
+
/** Data contains the set of transactions included in the block */
|
|
130
|
+
|
|
131
|
+
/** Data contains the set of transactions included in the block */
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Vote represents a prevote, precommit, or commit vote from validators for
|
|
135
|
+
* consensus.
|
|
136
|
+
*/
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Vote represents a prevote, precommit, or commit vote from validators for
|
|
140
|
+
* consensus.
|
|
141
|
+
*/
|
|
142
|
+
|
|
143
|
+
/** Commit contains the evidence that a block was committed by a set of validators. */
|
|
144
|
+
|
|
145
|
+
/** Commit contains the evidence that a block was committed by a set of validators. */
|
|
146
|
+
|
|
147
|
+
/** CommitSig is a part of the Vote included in a Commit. */
|
|
148
|
+
|
|
149
|
+
/** CommitSig is a part of the Vote included in a Commit. */
|
|
150
|
+
|
|
151
|
+
/** TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. */
|
|
152
|
+
|
|
153
|
+
/** TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. */
|
|
154
|
+
|
|
117
155
|
function createBasePartSetHeader() {
|
|
118
156
|
return {
|
|
119
157
|
total: 0,
|
|
@@ -6,6 +6,24 @@ import { Long } from "../../helpers";
|
|
|
6
6
|
* updated in ResponseEndBlock.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* App includes the protocol and software version for the application.
|
|
11
|
+
* This information is included in ResponseInfo. The App.Protocol can be
|
|
12
|
+
* updated in ResponseEndBlock.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Consensus captures the consensus rules for processing a block in the blockchain,
|
|
17
|
+
* including all blockchain data structures and the rules of the application's
|
|
18
|
+
* state transition machine.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Consensus captures the consensus rules for processing a block in the blockchain,
|
|
23
|
+
* including all blockchain data structures and the rules of the application's
|
|
24
|
+
* state transition machine.
|
|
25
|
+
*/
|
|
26
|
+
|
|
9
27
|
function createBaseApp() {
|
|
10
28
|
return {
|
|
11
29
|
protocol: Long.UZERO,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bze/bzejs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "BZE JS lib - Alpha version totally unstable. If you can fix it, submit a PR.",
|
|
5
5
|
"author": "Stefan Victor <faneatiku@yahoo.com>",
|
|
6
6
|
"homepage": "https://github.com/bze-alphateam/bzejs",
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"@babel/preset-env": "7.19.4",
|
|
60
60
|
"@babel/preset-typescript": "^7.18.6",
|
|
61
61
|
"@osmonauts/telescope": "^0.78.0",
|
|
62
|
+
"@protobufs/ibc": "^0.1.0",
|
|
62
63
|
"@types/jest": "^29.1.2",
|
|
63
64
|
"babel-core": "7.0.0-bridge.0",
|
|
64
65
|
"babel-jest": "29.1.2",
|
|
@@ -78,11 +79,11 @@
|
|
|
78
79
|
},
|
|
79
80
|
"dependencies": {
|
|
80
81
|
"@babel/runtime": "^7.19.4",
|
|
81
|
-
"@cosmjs/amino": "0.
|
|
82
|
-
"@cosmjs/proto-signing": "0.
|
|
83
|
-
"@cosmjs/stargate": "0.
|
|
84
|
-
"@cosmjs/tendermint-rpc": "^0.
|
|
82
|
+
"@cosmjs/amino": "0.32.2",
|
|
83
|
+
"@cosmjs/proto-signing": "0.32.2",
|
|
84
|
+
"@cosmjs/stargate": "0.32.2",
|
|
85
|
+
"@cosmjs/tendermint-rpc": "^0.32.2",
|
|
85
86
|
"@osmonauts/lcd": "^0.10.0",
|
|
86
87
|
"protobufjs": "^6.11.2"
|
|
87
88
|
}
|
|
88
|
-
}
|
|
89
|
+
}
|