@bze/bzejs 0.0.7 → 0.0.8
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/cointrunk/anon_articles_counter.js +1 -1
- package/main/codegen/beezee/cointrunk/article.js +1 -1
- package/main/codegen/beezee/cointrunk/events.js +1 -1
- package/main/codegen/beezee/cointrunk/genesis.js +1 -1
- package/main/codegen/beezee/cointrunk/publisher.js +1 -1
- package/main/codegen/cosmos/auth/v1beta1/auth.js +1 -1
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +2 -0
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -1
- package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -1
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -1
- package/main/codegen/cosmos/capability/v1beta1/capability.js +1 -1
- package/main/codegen/cosmos/capability/v1beta1/genesis.js +1 -1
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +1 -1
- package/main/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1/gov.js +21 -2
- package/main/codegen/cosmos/gov/v1/query.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/main/codegen/cosmos/gov/v1beta1/gov.js +21 -2
- package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/main/codegen/cosmos/group/v1/events.js +1 -1
- package/main/codegen/cosmos/group/v1/genesis.js +1 -1
- package/main/codegen/cosmos/group/v1/query.js +1 -1
- package/main/codegen/cosmos/group/v1/tx.js +7 -1
- package/main/codegen/cosmos/group/v1/types.js +38 -4
- package/main/codegen/cosmos/orm/v1alpha1/schema.js +10 -1
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +1 -1
- package/main/codegen/cosmos/staking/v1beta1/authz.js +13 -1
- package/main/codegen/cosmos/staking/v1beta1/staking.js +9 -1
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +2 -0
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -1
- package/main/codegen/cosmos/tx/v1beta1/service.js +17 -2
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +1 -1
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +1 -1
- package/main/codegen/cosmos_proto/cosmos.js +7 -1
- package/main/codegen/google/protobuf/descriptor.js +63 -6
- package/main/codegen/google/protobuf/duration.js +1 -1
- package/main/codegen/google/protobuf/timestamp.js +1 -1
- package/main/codegen/helpers.js +1 -1
- package/main/codegen/index.js +11 -0
- package/main/codegen/tendermint/abci/types.js +33 -4
- package/main/codegen/tendermint/crypto/proof.js +1 -1
- package/main/codegen/tendermint/libs/bits/types.js +1 -1
- package/main/codegen/tendermint/p2p/types.js +1 -1
- package/main/codegen/tendermint/types/types.js +18 -2
- package/main/codegen/tendermint/types/validator.js +1 -1
- package/main/codegen/tendermint/version/types.js +1 -1
- package/module/codegen/beezee/cointrunk/anon_articles_counter.js +1 -1
- package/module/codegen/beezee/cointrunk/article.js +1 -1
- package/module/codegen/beezee/cointrunk/events.js +1 -1
- package/module/codegen/beezee/cointrunk/genesis.js +1 -1
- package/module/codegen/beezee/cointrunk/publisher.js +1 -1
- package/module/codegen/cosmos/auth/v1beta1/auth.js +1 -1
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +2 -0
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +1 -1
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +1 -1
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1 -1
- package/module/codegen/cosmos/capability/v1beta1/capability.js +1 -1
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +1 -1
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +1 -1
- package/module/codegen/cosmos/gov/v1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1/gov.js +21 -2
- package/module/codegen/cosmos/gov/v1/query.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
- package/module/codegen/cosmos/gov/v1beta1/gov.js +21 -2
- package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
- package/module/codegen/cosmos/group/v1/events.js +1 -1
- package/module/codegen/cosmos/group/v1/genesis.js +1 -1
- package/module/codegen/cosmos/group/v1/query.js +1 -1
- package/module/codegen/cosmos/group/v1/tx.js +7 -1
- package/module/codegen/cosmos/group/v1/types.js +38 -4
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +10 -1
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +1 -1
- package/module/codegen/cosmos/staking/v1beta1/authz.js +13 -1
- package/module/codegen/cosmos/staking/v1beta1/staking.js +9 -1
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +1 -0
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -1
- package/module/codegen/cosmos/tx/v1beta1/service.js +17 -2
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +1 -1
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +1 -1
- package/module/codegen/cosmos_proto/cosmos.js +7 -1
- package/module/codegen/google/protobuf/descriptor.js +63 -6
- package/module/codegen/google/protobuf/duration.js +1 -1
- package/module/codegen/google/protobuf/timestamp.js +1 -1
- package/module/codegen/helpers.js +1 -1
- package/module/codegen/index.js +3 -2
- package/module/codegen/tendermint/abci/types.js +33 -4
- package/module/codegen/tendermint/crypto/proof.js +1 -1
- package/module/codegen/tendermint/libs/bits/types.js +1 -1
- package/module/codegen/tendermint/p2p/types.js +1 -1
- package/module/codegen/tendermint/types/evidence.js +1 -1
- package/module/codegen/tendermint/types/types.js +19 -3
- package/module/codegen/tendermint/types/validator.js +1 -1
- package/module/codegen/tendermint/version/types.js +1 -1
- package/package.json +2 -2
- package/src/codegen/beezee/burner/query.ts +1 -0
- package/src/codegen/beezee/burner/tx.amino.ts +3 -3
- package/src/codegen/beezee/cointrunk/anon_articles_counter.ts +1 -1
- package/src/codegen/beezee/cointrunk/article.ts +1 -1
- package/src/codegen/beezee/cointrunk/events.ts +1 -1
- package/src/codegen/beezee/cointrunk/genesis.ts +1 -1
- package/src/codegen/beezee/cointrunk/publisher.ts +1 -1
- package/src/codegen/beezee/cointrunk/query.ts +1 -0
- package/src/codegen/beezee/cointrunk/tx.amino.ts +6 -6
- package/src/codegen/cosmos/app/v1alpha1/config.ts +18 -0
- package/src/codegen/cosmos/app/v1alpha1/module.ts +67 -0
- package/src/codegen/cosmos/app/v1alpha1/query.ts +1 -0
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +1 -1
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +3 -0
- package/src/codegen/cosmos/auth/v1beta1/query.ts +7 -0
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +8 -0
- package/src/codegen/cosmos/authz/v1beta1/event.ts +10 -0
- package/src/codegen/cosmos/authz/v1beta1/query.ts +17 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +10 -9
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +6 -0
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +46 -0
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +13 -0
- package/src/codegen/cosmos/bank/v1beta1/query.ts +44 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +87 -1
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +40 -1
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +2 -0
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +78 -0
- package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +6 -1
- package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +1 -1
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +3 -0
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +15 -1
- package/src/codegen/cosmos/capability/v1beta1/capability.ts +1 -1
- package/src/codegen/cosmos/capability/v1beta1/genesis.ts +10 -1
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +4 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +12 -0
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +11 -0
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +5 -0
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +48 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +27 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +1 -1
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +1 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +6 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +1 -0
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +34 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +14 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +8 -0
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +1 -0
- package/src/codegen/cosmos/gov/v1/genesis.ts +14 -1
- package/src/codegen/cosmos/gov/v1/gov.ts +86 -4
- package/src/codegen/cosmos/gov/v1/query.ts +43 -3
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +15 -15
- package/src/codegen/cosmos/gov/v1/tx.ts +7 -2
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +14 -1
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +91 -5
- package/src/codegen/cosmos/gov/v1beta1/query.ts +43 -3
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +12 -12
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +2 -2
- package/src/codegen/cosmos/group/v1/events.ts +16 -3
- package/src/codegen/cosmos/group/v1/genesis.ts +25 -1
- package/src/codegen/cosmos/group/v1/query.ts +61 -1
- package/src/codegen/cosmos/group/v1/tx.amino.ts +42 -42
- package/src/codegen/cosmos/group/v1/tx.ts +121 -5
- package/src/codegen/cosmos/group/v1/types.ts +205 -8
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +3 -0
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +14 -0
- package/src/codegen/cosmos/mint/v1beta1/query.ts +3 -0
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +4 -0
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +22 -0
- package/src/codegen/cosmos/nft/v1beta1/query.ts +1 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +7 -0
- package/src/codegen/cosmos/orm/v1/orm.ts +71 -0
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +70 -2
- package/src/codegen/cosmos/params/v1beta1/query.ts +4 -0
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +20 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +3 -0
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +21 -1
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +3 -3
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +34 -2
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +22 -0
- package/src/codegen/cosmos/staking/v1beta1/query.ts +60 -0
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +97 -2
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +16 -15
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +7 -0
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +66 -2
- package/src/codegen/cosmos/tx/v1beta1/service.ts +74 -4
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +181 -3
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +14 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +6 -6
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +4 -0
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +35 -1
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +9 -9
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +1 -1
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +1 -1
- package/src/codegen/cosmos_proto/cosmos.ts +37 -2
- package/src/codegen/google/api/http.ts +66 -0
- package/src/codegen/google/protobuf/any.ts +31 -0
- package/src/codegen/google/protobuf/descriptor.ts +641 -15
- package/src/codegen/google/protobuf/duration.ts +15 -1
- package/src/codegen/google/protobuf/timestamp.ts +13 -1
- package/src/codegen/helpers.ts +1 -3
- package/src/codegen/index.ts +3 -2
- package/src/codegen/tendermint/abci/types.ts +109 -8
- package/src/codegen/tendermint/crypto/proof.ts +4 -1
- package/src/codegen/tendermint/libs/bits/types.ts +1 -1
- package/src/codegen/tendermint/p2p/types.ts +1 -1
- package/src/codegen/tendermint/types/evidence.ts +1 -1
- package/src/codegen/tendermint/types/params.ts +36 -0
- package/src/codegen/tendermint/types/types.ts +50 -6
- package/src/codegen/tendermint/types/validator.ts +1 -1
- package/src/codegen/tendermint/version/types.ts +1 -1
- package/types/codegen/beezee/burner/burn_coins_proposal.d.ts +2 -3
- package/types/codegen/beezee/burner/burned_coins.d.ts +2 -3
- package/types/codegen/beezee/burner/events.d.ts +3 -6
- package/types/codegen/beezee/burner/genesis.d.ts +2 -3
- package/types/codegen/beezee/burner/params.d.ts +2 -3
- package/types/codegen/beezee/burner/query.d.ts +5 -12
- package/types/codegen/beezee/burner/tx.amino.d.ts +16 -0
- package/types/codegen/beezee/burner/tx.d.ts +3 -6
- package/types/codegen/beezee/burner/tx.registry.d.ts +24 -0
- package/types/codegen/beezee/cointrunk/accepted_domain.d.ts +2 -3
- package/types/codegen/beezee/cointrunk/accepted_domain_proposal.d.ts +2 -3
- package/types/codegen/beezee/cointrunk/anon_articles_counter.d.ts +2 -4
- package/types/codegen/beezee/cointrunk/article.d.ts +2 -4
- package/types/codegen/beezee/cointrunk/events.d.ts +7 -19
- package/types/codegen/beezee/cointrunk/genesis.d.ts +2 -4
- package/types/codegen/beezee/cointrunk/params.d.ts +3 -7
- package/types/codegen/beezee/cointrunk/publisher.d.ts +2 -4
- package/types/codegen/beezee/cointrunk/publisher_proposal.d.ts +2 -3
- package/types/codegen/beezee/cointrunk/query.d.ts +13 -36
- package/types/codegen/beezee/cointrunk/tx.amino.d.ts +31 -0
- package/types/codegen/beezee/cointrunk/tx.d.ts +5 -13
- package/types/codegen/beezee/cointrunk/tx.registry.d.ts +36 -0
- package/types/codegen/bze/bundle.d.ts +3692 -145
- package/types/codegen/bze/client.d.ts +56 -0
- package/types/codegen/cosmos/app/v1alpha1/config.d.ts +3 -6
- package/types/codegen/cosmos/app/v1alpha1/module.d.ts +4 -9
- package/types/codegen/cosmos/app/v1alpha1/query.d.ts +3 -6
- package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +4 -10
- package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +2 -3
- package/types/codegen/cosmos/auth/v1beta1/query.d.ts +15 -42
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +9 -17
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +3 -6
- package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +2 -3
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +7 -18
- package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +54 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +7 -18
- package/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts +48 -0
- package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +2 -3
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +8 -21
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +3 -6
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +20 -57
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +5 -12
- package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +11 -31
- package/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts +3 -6
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +3 -7
- package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +5 -12
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +27 -78
- package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +10 -28
- package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +4 -10
- package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +2 -3
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +16 -46
- package/types/codegen/cosmos/base/v1beta1/coin.d.ts +5 -12
- package/types/codegen/cosmos/bundle.d.ts +45768 -1838
- package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +4 -10
- package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +3 -7
- package/types/codegen/cosmos/client.d.ts +952 -0
- package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +2 -3
- package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +17 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.d.ts +3 -6
- package/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts +24 -0
- package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +3 -6
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +2 -3
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +6 -15
- package/types/codegen/cosmos/crypto/multisig/keys.d.ts +2 -3
- package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +3 -6
- package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +3 -6
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +3 -6
- package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +13 -37
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +9 -25
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +19 -55
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +9 -24
- package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
- package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +4 -7
- package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +2 -3
- package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +5 -12
- package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +19 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +3 -6
- package/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts +24 -0
- package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +9 -17
- package/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts +2 -3
- package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +7 -18
- package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +32 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +5 -12
- package/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +2 -3
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +2 -4
- package/types/codegen/cosmos/gov/v1/gov.d.ts +17 -34
- package/types/codegen/cosmos/gov/v1/query.d.ts +17 -49
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
- package/types/codegen/cosmos/gov/v1/tx.d.ts +11 -31
- package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +2 -4
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +18 -37
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +17 -49
- package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +9 -25
- package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
- package/types/codegen/cosmos/group/v1/events.d.ts +10 -28
- package/types/codegen/cosmos/group/v1/genesis.d.ts +2 -4
- package/types/codegen/cosmos/group/v1/query.d.ts +27 -79
- package/types/codegen/cosmos/group/v1/tx.amino.d.ts +227 -0
- package/types/codegen/cosmos/group/v1/tx.d.ts +29 -85
- package/types/codegen/cosmos/group/v1/tx.registry.d.ts +180 -0
- package/types/codegen/cosmos/group/v1/types.d.ts +24 -47
- package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +2 -3
- package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +3 -7
- package/types/codegen/cosmos/mint/v1beta1/query.d.ts +7 -18
- package/types/codegen/cosmos/nft/v1beta1/event.d.ts +4 -9
- package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +3 -6
- package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +3 -6
- package/types/codegen/cosmos/nft/v1beta1/query.d.ts +15 -43
- package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +18 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +3 -6
- package/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts +24 -0
- package/types/codegen/cosmos/orm/v1/orm.d.ts +5 -12
- package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +3 -6
- package/types/codegen/cosmos/params/v1beta1/params.d.ts +3 -6
- package/types/codegen/cosmos/params/v1beta1/query.d.ts +6 -15
- package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +5 -13
- package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +7 -18
- package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +5 -10
- package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +15 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.d.ts +3 -6
- package/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts +24 -0
- package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +3 -6
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +3 -7
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +29 -85
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +29 -70
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +15 -35
- package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +6 -16
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +11 -31
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +14 -40
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +11 -31
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +5 -12
- package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +7 -16
- package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +58 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +7 -19
- package/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts +48 -0
- package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +7 -19
- package/types/codegen/cosmos_proto/bundle.d.ts +9 -6
- package/types/codegen/cosmos_proto/cosmos.d.ts +3 -6
- package/types/codegen/google/api/http.d.ts +4 -9
- package/types/codegen/google/bundle.d.ts +8819 -102
- package/types/codegen/google/protobuf/any.d.ts +2 -3
- package/types/codegen/google/protobuf/descriptor.d.ts +28 -82
- package/types/codegen/google/protobuf/duration.d.ts +2 -4
- package/types/codegen/google/protobuf/empty.d.ts +2 -3
- package/types/codegen/google/protobuf/timestamp.d.ts +2 -4
- package/types/codegen/index.d.ts +2 -0
- package/types/codegen/tendermint/abci/types.d.ts +49 -138
- package/types/codegen/tendermint/bundle.d.ts +19282 -255
- package/types/codegen/tendermint/crypto/keys.d.ts +2 -3
- package/types/codegen/tendermint/crypto/proof.d.ts +6 -16
- package/types/codegen/tendermint/libs/bits/types.d.ts +2 -4
- package/types/codegen/tendermint/p2p/types.d.ts +12 -23
- package/types/codegen/tendermint/types/block.d.ts +2 -3
- package/types/codegen/tendermint/types/evidence.d.ts +9 -18
- package/types/codegen/tendermint/types/params.d.ts +7 -19
- package/types/codegen/tendermint/types/types.d.ts +22 -49
- package/types/codegen/tendermint/types/validator.d.ts +4 -10
- package/types/codegen/tendermint/version/types.d.ts +3 -7
|
@@ -22,7 +22,28 @@ export let FieldDescriptorProto_Type;
|
|
|
22
22
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_SINT64"] = 18] = "TYPE_SINT64";
|
|
23
23
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
24
24
|
})(FieldDescriptorProto_Type || (FieldDescriptorProto_Type = {}));
|
|
25
|
-
export
|
|
25
|
+
export let FieldDescriptorProto_TypeSDKType;
|
|
26
|
+
(function (FieldDescriptorProto_TypeSDKType) {
|
|
27
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_DOUBLE"] = 1] = "TYPE_DOUBLE";
|
|
28
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_FLOAT"] = 2] = "TYPE_FLOAT";
|
|
29
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_INT64"] = 3] = "TYPE_INT64";
|
|
30
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_UINT64"] = 4] = "TYPE_UINT64";
|
|
31
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_INT32"] = 5] = "TYPE_INT32";
|
|
32
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_FIXED64"] = 6] = "TYPE_FIXED64";
|
|
33
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_FIXED32"] = 7] = "TYPE_FIXED32";
|
|
34
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_BOOL"] = 8] = "TYPE_BOOL";
|
|
35
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_STRING"] = 9] = "TYPE_STRING";
|
|
36
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_GROUP"] = 10] = "TYPE_GROUP";
|
|
37
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_MESSAGE"] = 11] = "TYPE_MESSAGE";
|
|
38
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_BYTES"] = 12] = "TYPE_BYTES";
|
|
39
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_UINT32"] = 13] = "TYPE_UINT32";
|
|
40
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_ENUM"] = 14] = "TYPE_ENUM";
|
|
41
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_SFIXED32"] = 15] = "TYPE_SFIXED32";
|
|
42
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_SFIXED64"] = 16] = "TYPE_SFIXED64";
|
|
43
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_SINT32"] = 17] = "TYPE_SINT32";
|
|
44
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_SINT64"] = 18] = "TYPE_SINT64";
|
|
45
|
+
FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
46
|
+
})(FieldDescriptorProto_TypeSDKType || (FieldDescriptorProto_TypeSDKType = {}));
|
|
26
47
|
export function fieldDescriptorProto_TypeFromJSON(object) {
|
|
27
48
|
switch (object) {
|
|
28
49
|
case 1:
|
|
@@ -135,7 +156,13 @@ export let FieldDescriptorProto_Label;
|
|
|
135
156
|
FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_REPEATED"] = 3] = "LABEL_REPEATED";
|
|
136
157
|
FieldDescriptorProto_Label[FieldDescriptorProto_Label["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
137
158
|
})(FieldDescriptorProto_Label || (FieldDescriptorProto_Label = {}));
|
|
138
|
-
export
|
|
159
|
+
export let FieldDescriptorProto_LabelSDKType;
|
|
160
|
+
(function (FieldDescriptorProto_LabelSDKType) {
|
|
161
|
+
FieldDescriptorProto_LabelSDKType[FieldDescriptorProto_LabelSDKType["LABEL_OPTIONAL"] = 1] = "LABEL_OPTIONAL";
|
|
162
|
+
FieldDescriptorProto_LabelSDKType[FieldDescriptorProto_LabelSDKType["LABEL_REQUIRED"] = 2] = "LABEL_REQUIRED";
|
|
163
|
+
FieldDescriptorProto_LabelSDKType[FieldDescriptorProto_LabelSDKType["LABEL_REPEATED"] = 3] = "LABEL_REPEATED";
|
|
164
|
+
FieldDescriptorProto_LabelSDKType[FieldDescriptorProto_LabelSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
165
|
+
})(FieldDescriptorProto_LabelSDKType || (FieldDescriptorProto_LabelSDKType = {}));
|
|
139
166
|
export function fieldDescriptorProto_LabelFromJSON(object) {
|
|
140
167
|
switch (object) {
|
|
141
168
|
case 1:
|
|
@@ -169,13 +196,20 @@ export function fieldDescriptorProto_LabelToJSON(object) {
|
|
|
169
196
|
/** Generated classes can be optimized for speed or code size. */
|
|
170
197
|
|
|
171
198
|
export let FileOptions_OptimizeMode;
|
|
199
|
+
/** Generated classes can be optimized for speed or code size. */
|
|
172
200
|
(function (FileOptions_OptimizeMode) {
|
|
173
201
|
FileOptions_OptimizeMode[FileOptions_OptimizeMode["SPEED"] = 1] = "SPEED";
|
|
174
202
|
FileOptions_OptimizeMode[FileOptions_OptimizeMode["CODE_SIZE"] = 2] = "CODE_SIZE";
|
|
175
203
|
FileOptions_OptimizeMode[FileOptions_OptimizeMode["LITE_RUNTIME"] = 3] = "LITE_RUNTIME";
|
|
176
204
|
FileOptions_OptimizeMode[FileOptions_OptimizeMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
177
205
|
})(FileOptions_OptimizeMode || (FileOptions_OptimizeMode = {}));
|
|
178
|
-
export
|
|
206
|
+
export let FileOptions_OptimizeModeSDKType;
|
|
207
|
+
(function (FileOptions_OptimizeModeSDKType) {
|
|
208
|
+
FileOptions_OptimizeModeSDKType[FileOptions_OptimizeModeSDKType["SPEED"] = 1] = "SPEED";
|
|
209
|
+
FileOptions_OptimizeModeSDKType[FileOptions_OptimizeModeSDKType["CODE_SIZE"] = 2] = "CODE_SIZE";
|
|
210
|
+
FileOptions_OptimizeModeSDKType[FileOptions_OptimizeModeSDKType["LITE_RUNTIME"] = 3] = "LITE_RUNTIME";
|
|
211
|
+
FileOptions_OptimizeModeSDKType[FileOptions_OptimizeModeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
212
|
+
})(FileOptions_OptimizeModeSDKType || (FileOptions_OptimizeModeSDKType = {}));
|
|
179
213
|
export function fileOptions_OptimizeModeFromJSON(object) {
|
|
180
214
|
switch (object) {
|
|
181
215
|
case 1:
|
|
@@ -213,7 +247,13 @@ export let FieldOptions_CType;
|
|
|
213
247
|
FieldOptions_CType[FieldOptions_CType["STRING_PIECE"] = 2] = "STRING_PIECE";
|
|
214
248
|
FieldOptions_CType[FieldOptions_CType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
215
249
|
})(FieldOptions_CType || (FieldOptions_CType = {}));
|
|
216
|
-
export
|
|
250
|
+
export let FieldOptions_CTypeSDKType;
|
|
251
|
+
(function (FieldOptions_CTypeSDKType) {
|
|
252
|
+
FieldOptions_CTypeSDKType[FieldOptions_CTypeSDKType["STRING"] = 0] = "STRING";
|
|
253
|
+
FieldOptions_CTypeSDKType[FieldOptions_CTypeSDKType["CORD"] = 1] = "CORD";
|
|
254
|
+
FieldOptions_CTypeSDKType[FieldOptions_CTypeSDKType["STRING_PIECE"] = 2] = "STRING_PIECE";
|
|
255
|
+
FieldOptions_CTypeSDKType[FieldOptions_CTypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
256
|
+
})(FieldOptions_CTypeSDKType || (FieldOptions_CTypeSDKType = {}));
|
|
217
257
|
export function fieldOptions_CTypeFromJSON(object) {
|
|
218
258
|
switch (object) {
|
|
219
259
|
case 0:
|
|
@@ -251,7 +291,13 @@ export let FieldOptions_JSType;
|
|
|
251
291
|
FieldOptions_JSType[FieldOptions_JSType["JS_NUMBER"] = 2] = "JS_NUMBER";
|
|
252
292
|
FieldOptions_JSType[FieldOptions_JSType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
253
293
|
})(FieldOptions_JSType || (FieldOptions_JSType = {}));
|
|
254
|
-
export
|
|
294
|
+
export let FieldOptions_JSTypeSDKType;
|
|
295
|
+
(function (FieldOptions_JSTypeSDKType) {
|
|
296
|
+
FieldOptions_JSTypeSDKType[FieldOptions_JSTypeSDKType["JS_NORMAL"] = 0] = "JS_NORMAL";
|
|
297
|
+
FieldOptions_JSTypeSDKType[FieldOptions_JSTypeSDKType["JS_STRING"] = 1] = "JS_STRING";
|
|
298
|
+
FieldOptions_JSTypeSDKType[FieldOptions_JSTypeSDKType["JS_NUMBER"] = 2] = "JS_NUMBER";
|
|
299
|
+
FieldOptions_JSTypeSDKType[FieldOptions_JSTypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
300
|
+
})(FieldOptions_JSTypeSDKType || (FieldOptions_JSTypeSDKType = {}));
|
|
255
301
|
export function fieldOptions_JSTypeFromJSON(object) {
|
|
256
302
|
switch (object) {
|
|
257
303
|
case 0:
|
|
@@ -289,13 +335,24 @@ export function fieldOptions_JSTypeToJSON(object) {
|
|
|
289
335
|
*/
|
|
290
336
|
|
|
291
337
|
export let MethodOptions_IdempotencyLevel;
|
|
338
|
+
/**
|
|
339
|
+
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
|
340
|
+
* or neither? HTTP based RPC implementation may choose GET verb for safe
|
|
341
|
+
* methods, and PUT verb for idempotent methods instead of the default POST.
|
|
342
|
+
*/
|
|
292
343
|
(function (MethodOptions_IdempotencyLevel) {
|
|
293
344
|
MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENCY_UNKNOWN"] = 0] = "IDEMPOTENCY_UNKNOWN";
|
|
294
345
|
MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["NO_SIDE_EFFECTS"] = 1] = "NO_SIDE_EFFECTS";
|
|
295
346
|
MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENT"] = 2] = "IDEMPOTENT";
|
|
296
347
|
MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
297
348
|
})(MethodOptions_IdempotencyLevel || (MethodOptions_IdempotencyLevel = {}));
|
|
298
|
-
export
|
|
349
|
+
export let MethodOptions_IdempotencyLevelSDKType;
|
|
350
|
+
(function (MethodOptions_IdempotencyLevelSDKType) {
|
|
351
|
+
MethodOptions_IdempotencyLevelSDKType[MethodOptions_IdempotencyLevelSDKType["IDEMPOTENCY_UNKNOWN"] = 0] = "IDEMPOTENCY_UNKNOWN";
|
|
352
|
+
MethodOptions_IdempotencyLevelSDKType[MethodOptions_IdempotencyLevelSDKType["NO_SIDE_EFFECTS"] = 1] = "NO_SIDE_EFFECTS";
|
|
353
|
+
MethodOptions_IdempotencyLevelSDKType[MethodOptions_IdempotencyLevelSDKType["IDEMPOTENT"] = 2] = "IDEMPOTENT";
|
|
354
|
+
MethodOptions_IdempotencyLevelSDKType[MethodOptions_IdempotencyLevelSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
355
|
+
})(MethodOptions_IdempotencyLevelSDKType || (MethodOptions_IdempotencyLevelSDKType = {}));
|
|
299
356
|
export function methodOptions_IdempotencyLevelFromJSON(object) {
|
|
300
357
|
switch (object) {
|
|
301
358
|
case 0:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Long } from "../../helpers";
|
|
2
1
|
import * as _m0 from "protobufjs/minimal";
|
|
2
|
+
import { Long } from "../../helpers";
|
|
3
3
|
/**
|
|
4
4
|
* A Timestamp represents a point in time independent of any time zone or local
|
|
5
5
|
* calendar, encoded as a count of seconds and fractions of seconds at
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @osmonauts/telescope@0.
|
|
2
|
+
* This file and any referenced files were automatically generated by @osmonauts/telescope@0.78.0
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or yarn proto command to regenerate this bundle.
|
|
5
5
|
*/
|
package/module/codegen/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @osmonauts/telescope@0.
|
|
2
|
+
* This file and any referenced files were automatically generated by @osmonauts/telescope@0.78.0
|
|
3
3
|
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
|
|
4
4
|
* and run the transpile command or yarn proto command to regenerate this bundle.
|
|
5
5
|
*/
|
|
@@ -11,4 +11,5 @@ export * from "./cosmos/bundle";
|
|
|
11
11
|
export * from "./cosmos/client";
|
|
12
12
|
export * from "./gogoproto/bundle";
|
|
13
13
|
export * from "./google/bundle";
|
|
14
|
-
export * from "./tendermint/bundle";
|
|
14
|
+
export * from "./tendermint/bundle";
|
|
15
|
+
export * from "./extern";
|
|
@@ -11,7 +11,12 @@ export let CheckTxType;
|
|
|
11
11
|
CheckTxType[CheckTxType["RECHECK"] = 1] = "RECHECK";
|
|
12
12
|
CheckTxType[CheckTxType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
13
13
|
})(CheckTxType || (CheckTxType = {}));
|
|
14
|
-
export
|
|
14
|
+
export let CheckTxTypeSDKType;
|
|
15
|
+
(function (CheckTxTypeSDKType) {
|
|
16
|
+
CheckTxTypeSDKType[CheckTxTypeSDKType["NEW"] = 0] = "NEW";
|
|
17
|
+
CheckTxTypeSDKType[CheckTxTypeSDKType["RECHECK"] = 1] = "RECHECK";
|
|
18
|
+
CheckTxTypeSDKType[CheckTxTypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
19
|
+
})(CheckTxTypeSDKType || (CheckTxTypeSDKType = {}));
|
|
15
20
|
export function checkTxTypeFromJSON(object) {
|
|
16
21
|
switch (object) {
|
|
17
22
|
case 0:
|
|
@@ -47,7 +52,16 @@ export let ResponseOfferSnapshot_Result;
|
|
|
47
52
|
ResponseOfferSnapshot_Result[ResponseOfferSnapshot_Result["REJECT_SENDER"] = 5] = "REJECT_SENDER";
|
|
48
53
|
ResponseOfferSnapshot_Result[ResponseOfferSnapshot_Result["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
49
54
|
})(ResponseOfferSnapshot_Result || (ResponseOfferSnapshot_Result = {}));
|
|
50
|
-
export
|
|
55
|
+
export let ResponseOfferSnapshot_ResultSDKType;
|
|
56
|
+
(function (ResponseOfferSnapshot_ResultSDKType) {
|
|
57
|
+
ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
58
|
+
ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["ACCEPT"] = 1] = "ACCEPT";
|
|
59
|
+
ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["ABORT"] = 2] = "ABORT";
|
|
60
|
+
ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["REJECT"] = 3] = "REJECT";
|
|
61
|
+
ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["REJECT_FORMAT"] = 4] = "REJECT_FORMAT";
|
|
62
|
+
ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["REJECT_SENDER"] = 5] = "REJECT_SENDER";
|
|
63
|
+
ResponseOfferSnapshot_ResultSDKType[ResponseOfferSnapshot_ResultSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
64
|
+
})(ResponseOfferSnapshot_ResultSDKType || (ResponseOfferSnapshot_ResultSDKType = {}));
|
|
51
65
|
export function responseOfferSnapshot_ResultFromJSON(object) {
|
|
52
66
|
switch (object) {
|
|
53
67
|
case 0:
|
|
@@ -103,7 +117,16 @@ export let ResponseApplySnapshotChunk_Result;
|
|
|
103
117
|
ResponseApplySnapshotChunk_Result[ResponseApplySnapshotChunk_Result["REJECT_SNAPSHOT"] = 5] = "REJECT_SNAPSHOT";
|
|
104
118
|
ResponseApplySnapshotChunk_Result[ResponseApplySnapshotChunk_Result["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
105
119
|
})(ResponseApplySnapshotChunk_Result || (ResponseApplySnapshotChunk_Result = {}));
|
|
106
|
-
export
|
|
120
|
+
export let ResponseApplySnapshotChunk_ResultSDKType;
|
|
121
|
+
(function (ResponseApplySnapshotChunk_ResultSDKType) {
|
|
122
|
+
ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
123
|
+
ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["ACCEPT"] = 1] = "ACCEPT";
|
|
124
|
+
ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["ABORT"] = 2] = "ABORT";
|
|
125
|
+
ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["RETRY"] = 3] = "RETRY";
|
|
126
|
+
ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["RETRY_SNAPSHOT"] = 4] = "RETRY_SNAPSHOT";
|
|
127
|
+
ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["REJECT_SNAPSHOT"] = 5] = "REJECT_SNAPSHOT";
|
|
128
|
+
ResponseApplySnapshotChunk_ResultSDKType[ResponseApplySnapshotChunk_ResultSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
129
|
+
})(ResponseApplySnapshotChunk_ResultSDKType || (ResponseApplySnapshotChunk_ResultSDKType = {}));
|
|
107
130
|
export function responseApplySnapshotChunk_ResultFromJSON(object) {
|
|
108
131
|
switch (object) {
|
|
109
132
|
case 0:
|
|
@@ -156,7 +179,13 @@ export let EvidenceType;
|
|
|
156
179
|
EvidenceType[EvidenceType["LIGHT_CLIENT_ATTACK"] = 2] = "LIGHT_CLIENT_ATTACK";
|
|
157
180
|
EvidenceType[EvidenceType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
158
181
|
})(EvidenceType || (EvidenceType = {}));
|
|
159
|
-
export
|
|
182
|
+
export let EvidenceTypeSDKType;
|
|
183
|
+
(function (EvidenceTypeSDKType) {
|
|
184
|
+
EvidenceTypeSDKType[EvidenceTypeSDKType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
185
|
+
EvidenceTypeSDKType[EvidenceTypeSDKType["DUPLICATE_VOTE"] = 1] = "DUPLICATE_VOTE";
|
|
186
|
+
EvidenceTypeSDKType[EvidenceTypeSDKType["LIGHT_CLIENT_ATTACK"] = 2] = "LIGHT_CLIENT_ATTACK";
|
|
187
|
+
EvidenceTypeSDKType[EvidenceTypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
188
|
+
})(EvidenceTypeSDKType || (EvidenceTypeSDKType = {}));
|
|
160
189
|
export function evidenceTypeFromJSON(object) {
|
|
161
190
|
switch (object) {
|
|
162
191
|
case 0:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Timestamp } from "../../google/protobuf/timestamp";
|
|
2
|
-
import { Long, toTimestamp, fromTimestamp } from "../../helpers";
|
|
3
2
|
import * as _m0 from "protobufjs/minimal";
|
|
3
|
+
import { Long, toTimestamp, fromTimestamp } from "../../helpers";
|
|
4
4
|
function createBaseProtocolVersion() {
|
|
5
5
|
return {
|
|
6
6
|
p2p: Long.UZERO,
|
|
@@ -2,7 +2,7 @@ import { Vote, LightBlock } from "./types";
|
|
|
2
2
|
import { Timestamp } from "../../google/protobuf/timestamp";
|
|
3
3
|
import { Validator } from "./validator";
|
|
4
4
|
import * as _m0 from "protobufjs/minimal";
|
|
5
|
-
import {
|
|
5
|
+
import { toTimestamp, Long, fromTimestamp } from "../../helpers";
|
|
6
6
|
function createBaseEvidence() {
|
|
7
7
|
return {
|
|
8
8
|
duplicateVoteEvidence: undefined,
|
|
@@ -3,10 +3,11 @@ import { Consensus } from "../version/types";
|
|
|
3
3
|
import { Timestamp } from "../../google/protobuf/timestamp";
|
|
4
4
|
import { ValidatorSet } from "./validator";
|
|
5
5
|
import * as _m0 from "protobufjs/minimal";
|
|
6
|
-
import {
|
|
6
|
+
import { toTimestamp, Long, fromTimestamp } from "../../helpers";
|
|
7
7
|
/** BlockIdFlag indicates which BlcokID the signature is for */
|
|
8
8
|
|
|
9
9
|
export let BlockIDFlag;
|
|
10
|
+
/** BlockIdFlag indicates which BlcokID the signature is for */
|
|
10
11
|
(function (BlockIDFlag) {
|
|
11
12
|
BlockIDFlag[BlockIDFlag["BLOCK_ID_FLAG_UNKNOWN"] = 0] = "BLOCK_ID_FLAG_UNKNOWN";
|
|
12
13
|
BlockIDFlag[BlockIDFlag["BLOCK_ID_FLAG_ABSENT"] = 1] = "BLOCK_ID_FLAG_ABSENT";
|
|
@@ -14,7 +15,14 @@ export let BlockIDFlag;
|
|
|
14
15
|
BlockIDFlag[BlockIDFlag["BLOCK_ID_FLAG_NIL"] = 3] = "BLOCK_ID_FLAG_NIL";
|
|
15
16
|
BlockIDFlag[BlockIDFlag["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
16
17
|
})(BlockIDFlag || (BlockIDFlag = {}));
|
|
17
|
-
export
|
|
18
|
+
export let BlockIDFlagSDKType;
|
|
19
|
+
(function (BlockIDFlagSDKType) {
|
|
20
|
+
BlockIDFlagSDKType[BlockIDFlagSDKType["BLOCK_ID_FLAG_UNKNOWN"] = 0] = "BLOCK_ID_FLAG_UNKNOWN";
|
|
21
|
+
BlockIDFlagSDKType[BlockIDFlagSDKType["BLOCK_ID_FLAG_ABSENT"] = 1] = "BLOCK_ID_FLAG_ABSENT";
|
|
22
|
+
BlockIDFlagSDKType[BlockIDFlagSDKType["BLOCK_ID_FLAG_COMMIT"] = 2] = "BLOCK_ID_FLAG_COMMIT";
|
|
23
|
+
BlockIDFlagSDKType[BlockIDFlagSDKType["BLOCK_ID_FLAG_NIL"] = 3] = "BLOCK_ID_FLAG_NIL";
|
|
24
|
+
BlockIDFlagSDKType[BlockIDFlagSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
25
|
+
})(BlockIDFlagSDKType || (BlockIDFlagSDKType = {}));
|
|
18
26
|
export function blockIDFlagFromJSON(object) {
|
|
19
27
|
switch (object) {
|
|
20
28
|
case 0:
|
|
@@ -53,6 +61,7 @@ export function blockIDFlagToJSON(object) {
|
|
|
53
61
|
/** SignedMsgType is a type of signed message in the consensus. */
|
|
54
62
|
|
|
55
63
|
export let SignedMsgType;
|
|
64
|
+
/** SignedMsgType is a type of signed message in the consensus. */
|
|
56
65
|
(function (SignedMsgType) {
|
|
57
66
|
SignedMsgType[SignedMsgType["SIGNED_MSG_TYPE_UNKNOWN"] = 0] = "SIGNED_MSG_TYPE_UNKNOWN";
|
|
58
67
|
SignedMsgType[SignedMsgType["SIGNED_MSG_TYPE_PREVOTE"] = 1] = "SIGNED_MSG_TYPE_PREVOTE";
|
|
@@ -60,7 +69,14 @@ export let SignedMsgType;
|
|
|
60
69
|
SignedMsgType[SignedMsgType["SIGNED_MSG_TYPE_PROPOSAL"] = 32] = "SIGNED_MSG_TYPE_PROPOSAL";
|
|
61
70
|
SignedMsgType[SignedMsgType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
62
71
|
})(SignedMsgType || (SignedMsgType = {}));
|
|
63
|
-
export
|
|
72
|
+
export let SignedMsgTypeSDKType;
|
|
73
|
+
(function (SignedMsgTypeSDKType) {
|
|
74
|
+
SignedMsgTypeSDKType[SignedMsgTypeSDKType["SIGNED_MSG_TYPE_UNKNOWN"] = 0] = "SIGNED_MSG_TYPE_UNKNOWN";
|
|
75
|
+
SignedMsgTypeSDKType[SignedMsgTypeSDKType["SIGNED_MSG_TYPE_PREVOTE"] = 1] = "SIGNED_MSG_TYPE_PREVOTE";
|
|
76
|
+
SignedMsgTypeSDKType[SignedMsgTypeSDKType["SIGNED_MSG_TYPE_PRECOMMIT"] = 2] = "SIGNED_MSG_TYPE_PRECOMMIT";
|
|
77
|
+
SignedMsgTypeSDKType[SignedMsgTypeSDKType["SIGNED_MSG_TYPE_PROPOSAL"] = 32] = "SIGNED_MSG_TYPE_PROPOSAL";
|
|
78
|
+
SignedMsgTypeSDKType[SignedMsgTypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
79
|
+
})(SignedMsgTypeSDKType || (SignedMsgTypeSDKType = {}));
|
|
64
80
|
export function signedMsgTypeFromJSON(object) {
|
|
65
81
|
switch (object) {
|
|
66
82
|
case 0:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Long } from "../../helpers";
|
|
2
1
|
import * as _m0 from "protobufjs/minimal";
|
|
2
|
+
import { Long } from "../../helpers";
|
|
3
3
|
/**
|
|
4
4
|
* App includes the protocol and software version for the application.
|
|
5
5
|
* This information is included in ResponseInfo. The App.Protocol can be
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bze/bzejs",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "BZE JS lib ",
|
|
3
|
+
"version": "0.0.8",
|
|
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",
|
|
7
7
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -18,6 +18,7 @@ export interface QueryParamsResponse {
|
|
|
18
18
|
/** QueryParamsResponse is response type for the Query/Params RPC method. */
|
|
19
19
|
|
|
20
20
|
export interface QueryParamsResponseSDKType {
|
|
21
|
+
/** params holds all the parameters of this module. */
|
|
21
22
|
params?: ParamsSDKType;
|
|
22
23
|
}
|
|
23
24
|
export interface QueryAllBurnedCoinsRequest {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AminoMsg } from "@cosmjs/amino";
|
|
2
2
|
import { MsgFundBurner } from "./tx";
|
|
3
|
-
export interface
|
|
3
|
+
export interface AminoMsgFundBurner extends AminoMsg {
|
|
4
4
|
type: "/bze.burner.v1.MsgFundBurner";
|
|
5
5
|
value: {
|
|
6
6
|
creator: string;
|
|
@@ -13,7 +13,7 @@ export const AminoConverter = {
|
|
|
13
13
|
toAmino: ({
|
|
14
14
|
creator,
|
|
15
15
|
amount
|
|
16
|
-
}: MsgFundBurner):
|
|
16
|
+
}: MsgFundBurner): AminoMsgFundBurner["value"] => {
|
|
17
17
|
return {
|
|
18
18
|
creator,
|
|
19
19
|
amount
|
|
@@ -22,7 +22,7 @@ export const AminoConverter = {
|
|
|
22
22
|
fromAmino: ({
|
|
23
23
|
creator,
|
|
24
24
|
amount
|
|
25
|
-
}:
|
|
25
|
+
}: AminoMsgFundBurner["value"]): MsgFundBurner => {
|
|
26
26
|
return {
|
|
27
27
|
creator,
|
|
28
28
|
amount
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Publisher, PublisherSDKType } from "./publisher";
|
|
2
2
|
import { AcceptedDomain, AcceptedDomainSDKType } from "./accepted_domain";
|
|
3
|
-
import { Long, DeepPartial } from "../../helpers";
|
|
4
3
|
import * as _m0 from "protobufjs/minimal";
|
|
4
|
+
import { Long, DeepPartial } from "../../helpers";
|
|
5
5
|
export interface ArticleAddedEvent {
|
|
6
6
|
publisher: string;
|
|
7
7
|
articleId: Long;
|
|
@@ -2,8 +2,8 @@ import { Params, ParamsSDKType } from "./params";
|
|
|
2
2
|
import { Publisher, PublisherSDKType } from "./publisher";
|
|
3
3
|
import { AcceptedDomain, AcceptedDomainSDKType } from "./accepted_domain";
|
|
4
4
|
import { Article, ArticleSDKType } from "./article";
|
|
5
|
-
import { Long, DeepPartial } from "../../helpers";
|
|
6
5
|
import * as _m0 from "protobufjs/minimal";
|
|
6
|
+
import { Long, DeepPartial } from "../../helpers";
|
|
7
7
|
/** GenesisState defines the cointrunk module's genesis state. */
|
|
8
8
|
|
|
9
9
|
export interface GenesisState {
|
|
@@ -21,6 +21,7 @@ export interface QueryParamsResponse {
|
|
|
21
21
|
/** QueryParamsResponse is response type for the Query/Params RPC method. */
|
|
22
22
|
|
|
23
23
|
export interface QueryParamsResponseSDKType {
|
|
24
|
+
/** params holds all the parameters of this module. */
|
|
24
25
|
params?: ParamsSDKType;
|
|
25
26
|
}
|
|
26
27
|
export interface QueryAcceptedDomainRequest {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AminoMsg } from "@cosmjs/amino";
|
|
2
2
|
import { MsgAddArticle, MsgPayPublisherRespect } from "./tx";
|
|
3
|
-
export interface
|
|
3
|
+
export interface AminoMsgAddArticle extends AminoMsg {
|
|
4
4
|
type: "/bze.cointrunk.v1.MsgAddArticle";
|
|
5
5
|
value: {
|
|
6
6
|
publisher: string;
|
|
@@ -9,7 +9,7 @@ export interface MsgAddArticleAminoType extends AminoMsg {
|
|
|
9
9
|
picture: string;
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
export interface
|
|
12
|
+
export interface AminoMsgPayPublisherRespect extends AminoMsg {
|
|
13
13
|
type: "/bze.cointrunk.v1.MsgPayPublisherRespect";
|
|
14
14
|
value: {
|
|
15
15
|
creator: string;
|
|
@@ -25,7 +25,7 @@ export const AminoConverter = {
|
|
|
25
25
|
title,
|
|
26
26
|
url,
|
|
27
27
|
picture
|
|
28
|
-
}: MsgAddArticle):
|
|
28
|
+
}: MsgAddArticle): AminoMsgAddArticle["value"] => {
|
|
29
29
|
return {
|
|
30
30
|
publisher,
|
|
31
31
|
title,
|
|
@@ -38,7 +38,7 @@ export const AminoConverter = {
|
|
|
38
38
|
title,
|
|
39
39
|
url,
|
|
40
40
|
picture
|
|
41
|
-
}:
|
|
41
|
+
}: AminoMsgAddArticle["value"]): MsgAddArticle => {
|
|
42
42
|
return {
|
|
43
43
|
publisher,
|
|
44
44
|
title,
|
|
@@ -53,7 +53,7 @@ export const AminoConverter = {
|
|
|
53
53
|
creator,
|
|
54
54
|
address,
|
|
55
55
|
amount
|
|
56
|
-
}: MsgPayPublisherRespect):
|
|
56
|
+
}: MsgPayPublisherRespect): AminoMsgPayPublisherRespect["value"] => {
|
|
57
57
|
return {
|
|
58
58
|
creator,
|
|
59
59
|
address,
|
|
@@ -64,7 +64,7 @@ export const AminoConverter = {
|
|
|
64
64
|
creator,
|
|
65
65
|
address,
|
|
66
66
|
amount
|
|
67
|
-
}:
|
|
67
|
+
}: AminoMsgPayPublisherRespect["value"]): MsgPayPublisherRespect => {
|
|
68
68
|
return {
|
|
69
69
|
creator,
|
|
70
70
|
address,
|
|
@@ -26,6 +26,7 @@ export interface Config {
|
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
28
|
export interface ConfigSDKType {
|
|
29
|
+
/** modules are the module configurations for the app. */
|
|
29
30
|
modules: ModuleConfigSDKType[];
|
|
30
31
|
}
|
|
31
32
|
/** ModuleConfig is a module configuration for an app. */
|
|
@@ -54,7 +55,24 @@ export interface ModuleConfig {
|
|
|
54
55
|
/** ModuleConfig is a module configuration for an app. */
|
|
55
56
|
|
|
56
57
|
export interface ModuleConfigSDKType {
|
|
58
|
+
/**
|
|
59
|
+
* name is the unique name of the module within the app. It should be a name
|
|
60
|
+
* that persists between different versions of a module so that modules
|
|
61
|
+
* can be smoothly upgraded to new versions.
|
|
62
|
+
*
|
|
63
|
+
* For example, for the module cosmos.bank.module.v1.Module, we may chose
|
|
64
|
+
* to simply name the module "bank" in the app. When we upgrade to
|
|
65
|
+
* cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same
|
|
66
|
+
* and the framework knows that the v2 module should receive all the same state
|
|
67
|
+
* that the v1 module had. Note: modules should provide info on which versions
|
|
68
|
+
* they can migrate from in the ModuleDescriptor.can_migration_from field.
|
|
69
|
+
*/
|
|
57
70
|
name: string;
|
|
71
|
+
/**
|
|
72
|
+
* config is the config object for the module. Module config messages should
|
|
73
|
+
* define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension.
|
|
74
|
+
*/
|
|
75
|
+
|
|
58
76
|
config?: AnySDKType;
|
|
59
77
|
}
|
|
60
78
|
|
|
@@ -34,8 +34,32 @@ export interface ModuleDescriptor {
|
|
|
34
34
|
/** ModuleDescriptor describes an app module. */
|
|
35
35
|
|
|
36
36
|
export interface ModuleDescriptorSDKType {
|
|
37
|
+
/**
|
|
38
|
+
* go_import names the package that should be imported by an app to load the
|
|
39
|
+
* module in the runtime module registry. Either go_import must be defined here
|
|
40
|
+
* or the go_package option must be defined at the file level to indicate
|
|
41
|
+
* to users where to location the module implementation. go_import takes
|
|
42
|
+
* precedence over go_package when both are defined.
|
|
43
|
+
*/
|
|
37
44
|
go_import: string;
|
|
45
|
+
/**
|
|
46
|
+
* use_package refers to a protobuf package that this module
|
|
47
|
+
* uses and exposes to the world. In an app, only one module should "use"
|
|
48
|
+
* or own a single protobuf package. It is assumed that the module uses
|
|
49
|
+
* all of the .proto files in a single package.
|
|
50
|
+
*/
|
|
51
|
+
|
|
38
52
|
use_package: PackageReferenceSDKType[];
|
|
53
|
+
/**
|
|
54
|
+
* can_migrate_from defines which module versions this module can migrate
|
|
55
|
+
* state from. The framework will check that one module version is able to
|
|
56
|
+
* migrate from a previous module version before attempting to update its
|
|
57
|
+
* config. It is assumed that modules can transitively migrate from earlier
|
|
58
|
+
* versions. For instance if v3 declares it can migrate from v2, and v2
|
|
59
|
+
* declares it can migrate from v1, the framework knows how to migrate
|
|
60
|
+
* from v1 to v3, assuming all 3 module versions are registered at runtime.
|
|
61
|
+
*/
|
|
62
|
+
|
|
39
63
|
can_migrate_from: MigrateFromInfoSDKType[];
|
|
40
64
|
}
|
|
41
65
|
/** PackageReference is a reference to a protobuf package used by a module. */
|
|
@@ -86,7 +110,46 @@ export interface PackageReference {
|
|
|
86
110
|
/** PackageReference is a reference to a protobuf package used by a module. */
|
|
87
111
|
|
|
88
112
|
export interface PackageReferenceSDKType {
|
|
113
|
+
/** name is the fully-qualified name of the package. */
|
|
89
114
|
name: string;
|
|
115
|
+
/**
|
|
116
|
+
* revision is the optional revision of the package that is being used.
|
|
117
|
+
* Protobuf packages used in Cosmos should generally have a major version
|
|
118
|
+
* as the last part of the package name, ex. foo.bar.baz.v1.
|
|
119
|
+
* The revision of a package can be thought of as the minor version of a
|
|
120
|
+
* package which has additional backwards compatible definitions that weren't
|
|
121
|
+
* present in a previous version.
|
|
122
|
+
*
|
|
123
|
+
* A package should indicate its revision with a source code comment
|
|
124
|
+
* above the package declaration in one of its fields containing the
|
|
125
|
+
* test "Revision N" where N is an integer revision. All packages start
|
|
126
|
+
* at revision 0 the first time they are released in a module.
|
|
127
|
+
*
|
|
128
|
+
* When a new version of a module is released and items are added to existing
|
|
129
|
+
* .proto files, these definitions should contain comments of the form
|
|
130
|
+
* "Since Revision N" where N is an integer revision.
|
|
131
|
+
*
|
|
132
|
+
* When the module runtime starts up, it will check the pinned proto
|
|
133
|
+
* image and panic if there are runtime protobuf definitions that are not
|
|
134
|
+
* in the pinned descriptor which do not have
|
|
135
|
+
* a "Since Revision N" comment or have a "Since Revision N" comment where
|
|
136
|
+
* N is <= to the revision specified here. This indicates that the protobuf
|
|
137
|
+
* files have been updated, but the pinned file descriptor hasn't.
|
|
138
|
+
*
|
|
139
|
+
* If there are items in the pinned file descriptor with a revision
|
|
140
|
+
* greater than the value indicated here, this will also cause a panic
|
|
141
|
+
* as it may mean that the pinned descriptor for a legacy module has been
|
|
142
|
+
* improperly updated or that there is some other versioning discrepancy.
|
|
143
|
+
* Runtime protobuf definitions will also be checked for compatibility
|
|
144
|
+
* with pinned file descriptors to make sure there are no incompatible changes.
|
|
145
|
+
*
|
|
146
|
+
* This behavior ensures that:
|
|
147
|
+
* * pinned proto images are up-to-date
|
|
148
|
+
* * protobuf files are carefully annotated with revision comments which
|
|
149
|
+
* are important good client UX
|
|
150
|
+
* * protobuf files are changed in backwards and forwards compatible ways
|
|
151
|
+
*/
|
|
152
|
+
|
|
90
153
|
revision: number;
|
|
91
154
|
}
|
|
92
155
|
/**
|
|
@@ -107,6 +170,10 @@ export interface MigrateFromInfo {
|
|
|
107
170
|
*/
|
|
108
171
|
|
|
109
172
|
export interface MigrateFromInfoSDKType {
|
|
173
|
+
/**
|
|
174
|
+
* module is the fully-qualified protobuf name of the module config object
|
|
175
|
+
* for the previous module version, ex: "cosmos.group.module.v1.Module".
|
|
176
|
+
*/
|
|
110
177
|
module: string;
|
|
111
178
|
}
|
|
112
179
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
|
2
|
-
import { Long, DeepPartial } from "../../../helpers";
|
|
3
2
|
import * as _m0 from "protobufjs/minimal";
|
|
3
|
+
import { Long, DeepPartial } from "../../../helpers";
|
|
4
4
|
/**
|
|
5
5
|
* BaseAccount defines a base account type. It contains all the necessary fields
|
|
6
6
|
* for basic account functionality. Any custom account type should extend this
|
|
@@ -14,7 +14,10 @@ export interface GenesisState {
|
|
|
14
14
|
/** GenesisState defines the auth module's genesis state. */
|
|
15
15
|
|
|
16
16
|
export interface GenesisStateSDKType {
|
|
17
|
+
/** params defines all the paramaters of the module. */
|
|
17
18
|
params?: ParamsSDKType;
|
|
19
|
+
/** accounts are the accounts present at genesis. */
|
|
20
|
+
|
|
18
21
|
accounts: AnySDKType[];
|
|
19
22
|
}
|
|
20
23
|
|