@bze/bzejs 0.0.2 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main/codegen/beezee/burner/burn_coins_proposal.js +13 -0
- package/main/codegen/beezee/burner/burned_coins.js +13 -0
- package/main/codegen/beezee/burner/events.js +23 -0
- package/main/codegen/beezee/burner/genesis.js +21 -0
- package/main/codegen/beezee/burner/params.js +7 -0
- package/main/codegen/beezee/burner/query.js +48 -0
- package/main/codegen/beezee/burner/tx.js +20 -0
- package/main/codegen/beezee/cointrunk/accepted_domain.js +13 -0
- package/main/codegen/beezee/cointrunk/accepted_domain_proposal.js +17 -0
- package/main/codegen/beezee/cointrunk/anon_articles_counter.js +13 -1
- package/main/codegen/beezee/cointrunk/article.js +23 -1
- package/main/codegen/beezee/cointrunk/events.js +71 -1
- package/main/codegen/beezee/cointrunk/genesis.js +43 -1
- package/main/codegen/beezee/cointrunk/params.js +26 -0
- package/main/codegen/beezee/cointrunk/publisher.js +21 -1
- package/main/codegen/beezee/cointrunk/publisher_proposal.js +19 -0
- package/main/codegen/beezee/cointrunk/query.js +158 -0
- package/main/codegen/beezee/cointrunk/tx.js +51 -0
- package/main/codegen/bze/bundle.js +12 -16
- package/main/codegen/cosmos/app/v1alpha1/config.js +31 -0
- package/main/codegen/cosmos/app/v1alpha1/module.js +53 -0
- package/main/codegen/cosmos/app/v1alpha1/query.js +18 -0
- package/main/codegen/cosmos/auth/v1beta1/auth.js +57 -1
- package/main/codegen/cosmos/auth/v1beta1/genesis.js +21 -0
- package/main/codegen/cosmos/auth/v1beta1/query.js +150 -0
- package/main/codegen/cosmos/authz/v1beta1/authz.js +63 -8
- package/main/codegen/cosmos/authz/v1beta1/event.js +29 -0
- package/main/codegen/cosmos/authz/v1beta1/genesis.js +18 -0
- package/main/codegen/cosmos/authz/v1beta1/query.js +101 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.js +81 -0
- package/main/codegen/cosmos/bank/v1beta1/authz.js +18 -0
- package/main/codegen/cosmos/bank/v1beta1/bank.js +145 -0
- package/main/codegen/cosmos/bank/v1beta1/genesis.js +61 -0
- package/main/codegen/cosmos/bank/v1beta1/query.js +248 -0
- package/main/codegen/cosmos/bank/v1beta1/tx.js +65 -0
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +229 -1
- package/main/codegen/cosmos/base/kv/v1beta1/kv.js +31 -0
- package/main/codegen/cosmos/base/query/v1beta1/pagination.js +31 -1
- package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +54 -0
- package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +337 -0
- package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +135 -1
- package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +45 -1
- package/main/codegen/cosmos/base/store/v1beta1/listening.js +17 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +206 -1
- package/main/codegen/cosmos/base/v1beta1/coin.js +45 -0
- package/main/codegen/cosmos/bundle.js +73 -101
- package/main/codegen/cosmos/capability/v1beta1/capability.js +41 -1
- package/main/codegen/cosmos/capability/v1beta1/genesis.js +33 -1
- package/main/codegen/cosmos/crisis/v1beta1/genesis.js +11 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.js +22 -0
- package/main/codegen/cosmos/crypto/ed25519/keys.js +21 -0
- package/main/codegen/cosmos/crypto/hd/v1/hd.js +19 -0
- package/main/codegen/cosmos/crypto/keyring/v1/record.js +57 -0
- package/main/codegen/cosmos/crypto/multisig/keys.js +21 -0
- package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +31 -0
- package/main/codegen/cosmos/crypto/secp256k1/keys.js +21 -0
- package/main/codegen/cosmos/crypto/secp256r1/keys.js +21 -0
- package/main/codegen/cosmos/distribution/v1beta1/distribution.js +216 -0
- package/main/codegen/cosmos/distribution/v1beta1/genesis.js +184 -0
- package/main/codegen/cosmos/distribution/v1beta1/query.js +234 -0
- package/main/codegen/cosmos/distribution/v1beta1/tx.js +105 -0
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +21 -5
- package/main/codegen/cosmos/evidence/v1beta1/genesis.js +18 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.js +51 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.js +23 -0
- package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +96 -8
- package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +18 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.js +87 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.js +41 -0
- package/main/codegen/cosmos/genutil/v1beta1/genesis.js +19 -0
- package/main/codegen/cosmos/gov/v1/genesis.js +47 -1
- package/main/codegen/cosmos/gov/v1/gov.js +196 -15
- package/main/codegen/cosmos/gov/v1/query.js +209 -1
- package/main/codegen/cosmos/gov/v1/tx.js +144 -0
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +47 -1
- package/main/codegen/cosmos/gov/v1beta1/gov.js +198 -15
- package/main/codegen/cosmos/gov/v1beta1/query.js +209 -1
- package/main/codegen/cosmos/gov/v1beta1/tx.js +111 -0
- package/main/codegen/cosmos/group/v1/events.js +96 -1
- package/main/codegen/cosmos/group/v1/genesis.js +65 -1
- package/main/codegen/cosmos/group/v1/query.js +359 -1
- package/main/codegen/cosmos/group/v1/tx.js +365 -1
- package/main/codegen/cosmos/group/v1/types.js +269 -27
- package/main/codegen/cosmos/mint/v1beta1/genesis.js +13 -0
- package/main/codegen/cosmos/mint/v1beta1/mint.js +32 -0
- package/main/codegen/cosmos/mint/v1beta1/query.js +52 -0
- package/main/codegen/cosmos/nft/v1beta1/event.js +45 -0
- package/main/codegen/cosmos/nft/v1beta1/genesis.js +49 -0
- package/main/codegen/cosmos/nft/v1beta1/nft.js +41 -0
- package/main/codegen/cosmos/nft/v1beta1/query.js +170 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.js +24 -0
- package/main/codegen/cosmos/orm/v1/orm.js +59 -0
- package/main/codegen/cosmos/orm/v1alpha1/schema.js +45 -1
- package/main/codegen/cosmos/params/v1beta1/params.js +37 -0
- package/main/codegen/cosmos/params/v1beta1/query.js +68 -0
- package/main/codegen/cosmos/slashing/v1beta1/genesis.js +74 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.js +68 -0
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +43 -5
- package/main/codegen/cosmos/slashing/v1beta1/tx.js +18 -0
- package/main/codegen/cosmos/staking/v1beta1/authz.js +48 -1
- package/main/codegen/cosmos/staking/v1beta1/genesis.js +76 -0
- package/main/codegen/cosmos/staking/v1beta1/query.js +368 -0
- package/main/codegen/cosmos/staking/v1beta1/staking.js +366 -17
- package/main/codegen/cosmos/staking/v1beta1/tx.js +129 -8
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +95 -1
- package/main/codegen/cosmos/tx/v1beta1/service.js +173 -2
- package/main/codegen/cosmos/tx/v1beta1/tx.js +261 -0
- package/main/codegen/cosmos/upgrade/v1beta1/query.js +102 -0
- package/main/codegen/cosmos/upgrade/v1beta1/tx.js +37 -0
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +61 -5
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +94 -1
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +117 -1
- package/main/codegen/cosmos_proto/cosmos.js +42 -1
- package/main/codegen/extern.js +66 -0
- package/main/codegen/google/api/http.js +69 -0
- package/main/codegen/google/protobuf/any.js +13 -0
- package/main/codegen/google/protobuf/descriptor.js +815 -6
- package/main/codegen/google/protobuf/duration.js +13 -1
- package/main/codegen/google/protobuf/empty.js +7 -0
- package/main/codegen/google/protobuf/timestamp.js +13 -1
- package/main/codegen/helpers.js +1 -1
- package/main/codegen/index.js +11 -22
- package/main/codegen/tendermint/abci/types.js +785 -12
- package/main/codegen/tendermint/crypto/keys.js +13 -0
- package/main/codegen/tendermint/crypto/proof.js +83 -1
- package/main/codegen/tendermint/libs/bits/types.js +21 -1
- package/main/codegen/tendermint/p2p/types.js +100 -12
- package/main/codegen/tendermint/types/block.js +17 -0
- package/main/codegen/tendermint/types/evidence.js +81 -8
- package/main/codegen/tendermint/types/params.js +84 -0
- package/main/codegen/tendermint/types/types.js +266 -18
- package/main/codegen/tendermint/types/validator.js +51 -1
- package/main/codegen/tendermint/version/types.js +25 -1
- package/module/codegen/beezee/burner/burn_coins_proposal.js +13 -0
- package/module/codegen/beezee/burner/burned_coins.js +13 -0
- package/module/codegen/beezee/burner/events.js +23 -0
- package/module/codegen/beezee/burner/genesis.js +19 -0
- package/module/codegen/beezee/burner/params.js +9 -0
- package/module/codegen/beezee/burner/query.js +46 -0
- package/module/codegen/beezee/burner/tx.js +20 -0
- package/module/codegen/beezee/cointrunk/accepted_domain.js +13 -0
- package/module/codegen/beezee/cointrunk/accepted_domain_proposal.js +17 -0
- package/module/codegen/beezee/cointrunk/anon_articles_counter.js +13 -1
- package/module/codegen/beezee/cointrunk/article.js +23 -1
- package/module/codegen/beezee/cointrunk/events.js +71 -1
- package/module/codegen/beezee/cointrunk/genesis.js +31 -1
- package/module/codegen/beezee/cointrunk/params.js +27 -1
- package/module/codegen/beezee/cointrunk/publisher.js +21 -1
- package/module/codegen/beezee/cointrunk/publisher_proposal.js +19 -0
- package/module/codegen/beezee/cointrunk/query.js +144 -0
- package/module/codegen/beezee/cointrunk/tx.js +52 -1
- package/module/codegen/bze/bundle.js +12 -16
- package/module/codegen/cosmos/app/v1alpha1/config.js +37 -0
- package/module/codegen/cosmos/app/v1alpha1/module.js +47 -0
- package/module/codegen/cosmos/app/v1alpha1/query.js +20 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +53 -1
- package/module/codegen/cosmos/auth/v1beta1/genesis.js +19 -0
- package/module/codegen/cosmos/auth/v1beta1/query.js +148 -0
- package/module/codegen/cosmos/authz/v1beta1/authz.js +60 -9
- package/module/codegen/cosmos/authz/v1beta1/event.js +31 -0
- package/module/codegen/cosmos/authz/v1beta1/genesis.js +16 -0
- package/module/codegen/cosmos/authz/v1beta1/query.js +91 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.js +78 -0
- package/module/codegen/cosmos/bank/v1beta1/authz.js +21 -0
- package/module/codegen/cosmos/bank/v1beta1/bank.js +123 -0
- package/module/codegen/cosmos/bank/v1beta1/genesis.js +47 -0
- package/module/codegen/cosmos/bank/v1beta1/query.js +230 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.js +55 -0
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +193 -1
- package/module/codegen/cosmos/base/kv/v1beta1/kv.js +29 -0
- package/module/codegen/cosmos/base/query/v1beta1/pagination.js +31 -1
- package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +48 -0
- package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +307 -0
- package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +127 -1
- package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +41 -1
- package/module/codegen/cosmos/base/store/v1beta1/listening.js +25 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +194 -1
- package/module/codegen/cosmos/base/v1beta1/coin.js +52 -0
- package/module/codegen/cosmos/bundle.js +73 -101
- package/module/codegen/cosmos/capability/v1beta1/capability.js +37 -1
- package/module/codegen/cosmos/capability/v1beta1/genesis.js +29 -1
- package/module/codegen/cosmos/crisis/v1beta1/genesis.js +13 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.js +24 -0
- package/module/codegen/cosmos/crypto/ed25519/keys.js +29 -0
- package/module/codegen/cosmos/crypto/hd/v1/hd.js +21 -0
- package/module/codegen/cosmos/crypto/keyring/v1/record.js +59 -0
- package/module/codegen/cosmos/crypto/multisig/keys.js +23 -0
- package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +33 -0
- package/module/codegen/cosmos/crypto/secp256k1/keys.js +29 -0
- package/module/codegen/cosmos/crypto/secp256r1/keys.js +23 -0
- package/module/codegen/cosmos/distribution/v1beta1/distribution.js +185 -1
- package/module/codegen/cosmos/distribution/v1beta1/genesis.js +153 -1
- package/module/codegen/cosmos/distribution/v1beta1/query.js +211 -1
- package/module/codegen/cosmos/distribution/v1beta1/tx.js +98 -0
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +21 -5
- package/module/codegen/cosmos/evidence/v1beta1/genesis.js +16 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.js +49 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.js +28 -0
- package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +81 -9
- package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +16 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.js +81 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.js +46 -0
- package/module/codegen/cosmos/genutil/v1beta1/genesis.js +17 -0
- package/module/codegen/cosmos/gov/v1/genesis.js +35 -1
- package/module/codegen/cosmos/gov/v1/gov.js +177 -16
- package/module/codegen/cosmos/gov/v1/query.js +198 -2
- package/module/codegen/cosmos/gov/v1/tx.js +130 -2
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +35 -1
- package/module/codegen/cosmos/gov/v1beta1/gov.js +183 -16
- package/module/codegen/cosmos/gov/v1beta1/query.js +198 -2
- package/module/codegen/cosmos/gov/v1beta1/tx.js +101 -2
- package/module/codegen/cosmos/group/v1/events.js +96 -1
- package/module/codegen/cosmos/group/v1/genesis.js +45 -1
- package/module/codegen/cosmos/group/v1/query.js +327 -1
- package/module/codegen/cosmos/group/v1/tx.js +347 -3
- package/module/codegen/cosmos/group/v1/types.js +258 -28
- package/module/codegen/cosmos/mint/v1beta1/genesis.js +15 -0
- package/module/codegen/cosmos/mint/v1beta1/mint.js +33 -1
- package/module/codegen/cosmos/mint/v1beta1/query.js +54 -0
- package/module/codegen/cosmos/nft/v1beta1/event.js +47 -0
- package/module/codegen/cosmos/nft/v1beta1/genesis.js +39 -0
- package/module/codegen/cosmos/nft/v1beta1/nft.js +43 -0
- package/module/codegen/cosmos/nft/v1beta1/query.js +163 -1
- package/module/codegen/cosmos/nft/v1beta1/tx.js +26 -0
- package/module/codegen/cosmos/orm/v1/orm.js +57 -0
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +41 -1
- package/module/codegen/cosmos/params/v1beta1/params.js +35 -0
- package/module/codegen/cosmos/params/v1beta1/query.js +62 -0
- package/module/codegen/cosmos/slashing/v1beta1/genesis.js +63 -1
- package/module/codegen/cosmos/slashing/v1beta1/query.js +66 -0
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +43 -5
- package/module/codegen/cosmos/slashing/v1beta1/tx.js +20 -0
- package/module/codegen/cosmos/staking/v1beta1/authz.js +44 -1
- package/module/codegen/cosmos/staking/v1beta1/genesis.js +57 -1
- package/module/codegen/cosmos/staking/v1beta1/query.js +341 -1
- package/module/codegen/cosmos/staking/v1beta1/staking.js +339 -18
- package/module/codegen/cosmos/staking/v1beta1/tx.js +130 -9
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +88 -2
- package/module/codegen/cosmos/tx/v1beta1/service.js +158 -3
- package/module/codegen/cosmos/tx/v1beta1/tx.js +226 -1
- package/module/codegen/cosmos/upgrade/v1beta1/query.js +99 -1
- package/module/codegen/cosmos/upgrade/v1beta1/tx.js +43 -0
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +61 -5
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +82 -1
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +97 -1
- package/module/codegen/cosmos_proto/cosmos.js +38 -1
- package/module/codegen/extern.js +30 -0
- package/module/codegen/google/api/http.js +67 -0
- package/module/codegen/google/protobuf/any.js +95 -0
- package/module/codegen/google/protobuf/descriptor.js +672 -7
- package/module/codegen/google/protobuf/duration.js +13 -1
- package/module/codegen/google/protobuf/empty.js +19 -0
- package/module/codegen/google/protobuf/timestamp.js +13 -1
- package/module/codegen/helpers.js +1 -1
- package/module/codegen/index.js +3 -4
- package/module/codegen/tendermint/abci/types.js +734 -13
- package/module/codegen/tendermint/crypto/keys.js +15 -0
- package/module/codegen/tendermint/crypto/proof.js +75 -1
- package/module/codegen/tendermint/libs/bits/types.js +17 -1
- package/module/codegen/tendermint/p2p/types.js +96 -12
- package/module/codegen/tendermint/types/block.js +17 -0
- package/module/codegen/tendermint/types/evidence.js +74 -9
- package/module/codegen/tendermint/types/params.js +81 -1
- package/module/codegen/tendermint/types/types.js +259 -19
- package/module/codegen/tendermint/types/validator.js +47 -1
- package/module/codegen/tendermint/version/types.js +25 -1
- package/package.json +1 -1
- package/src/codegen/beezee/burner/burn_coins_proposal.ts +16 -2
- package/src/codegen/beezee/burner/burned_coins.ts +16 -2
- package/src/codegen/beezee/burner/events.ts +29 -3
- package/src/codegen/beezee/burner/genesis.ts +22 -2
- package/src/codegen/beezee/burner/params.ts +10 -2
- package/src/codegen/beezee/burner/query.ts +59 -5
- package/src/codegen/beezee/burner/tx.ts +26 -3
- package/src/codegen/beezee/cointrunk/accepted_domain.ts +16 -2
- package/src/codegen/beezee/cointrunk/accepted_domain_proposal.ts +20 -2
- package/src/codegen/beezee/cointrunk/anon_articles_counter.ts +16 -2
- package/src/codegen/beezee/cointrunk/article.ts +26 -2
- package/src/codegen/beezee/cointrunk/events.ts +89 -7
- package/src/codegen/beezee/cointrunk/genesis.ts +38 -2
- package/src/codegen/beezee/cointrunk/params.ts +33 -3
- package/src/codegen/beezee/cointrunk/publisher.ts +24 -2
- package/src/codegen/beezee/cointrunk/publisher_proposal.ts +22 -2
- package/src/codegen/beezee/cointrunk/query.ts +187 -13
- package/src/codegen/beezee/cointrunk/tx.ts +64 -5
- package/src/codegen/bze/bundle.ts +14 -22
- package/src/codegen/cosmos/app/v1alpha1/config.ts +53 -3
- package/src/codegen/cosmos/app/v1alpha1/module.ts +124 -4
- package/src/codegen/cosmos/app/v1alpha1/query.ts +25 -3
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +64 -4
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +25 -2
- package/src/codegen/cosmos/auth/v1beta1/query.ts +195 -15
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +86 -16
- package/src/codegen/cosmos/authz/v1beta1/event.ts +45 -3
- package/src/codegen/cosmos/authz/v1beta1/genesis.ts +19 -2
- package/src/codegen/cosmos/authz/v1beta1/query.ts +130 -7
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +101 -7
- package/src/codegen/cosmos/bank/v1beta1/authz.ts +19 -2
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +200 -8
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +70 -3
- package/src/codegen/cosmos/bank/v1beta1/query.ts +339 -20
- package/src/codegen/cosmos/bank/v1beta1/tx.ts +70 -5
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +325 -11
- package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +35 -3
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +76 -3
- package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +64 -5
- package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +476 -27
- package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +163 -10
- package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +52 -4
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +23 -2
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +259 -16
- package/src/codegen/cosmos/base/v1beta1/coin.ts +57 -5
- package/src/codegen/cosmos/bundle.ts +103 -159
- package/src/codegen/cosmos/capability/v1beta1/capability.ts +48 -4
- package/src/codegen/cosmos/capability/v1beta1/genesis.ts +46 -3
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +18 -2
- package/src/codegen/cosmos/crisis/v1beta1/tx.ts +28 -3
- package/src/codegen/cosmos/crypto/ed25519/keys.ts +27 -3
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +34 -2
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +83 -6
- package/src/codegen/cosmos/crypto/multisig/keys.ts +22 -2
- package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +35 -3
- package/src/codegen/cosmos/crypto/secp256k1/keys.ts +27 -3
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +32 -3
- package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +237 -13
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +236 -9
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +303 -19
- package/src/codegen/cosmos/distribution/v1beta1/tx.ts +123 -9
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +26 -8
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +20 -2
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +67 -5
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +30 -3
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +137 -16
- package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +19 -2
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +115 -7
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +61 -5
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +21 -2
- package/src/codegen/cosmos/gov/v1/genesis.ts +55 -2
- package/src/codegen/cosmos/gov/v1/gov.ts +284 -34
- package/src/codegen/cosmos/gov/v1/query.ts +293 -19
- package/src/codegen/cosmos/gov/v1/tx.ts +173 -13
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +55 -2
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +296 -36
- package/src/codegen/cosmos/gov/v1beta1/query.ts +293 -19
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +132 -11
- package/src/codegen/cosmos/group/v1/events.ts +137 -12
- package/src/codegen/cosmos/group/v1/genesis.ts +80 -2
- package/src/codegen/cosmos/group/v1/query.ts +481 -27
- package/src/codegen/cosmos/group/v1/tx.ts +554 -34
- package/src/codegen/cosmos/group/v1/types.ts +472 -51
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +19 -2
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +53 -3
- package/src/codegen/cosmos/mint/v1beta1/query.ts +73 -7
- package/src/codegen/cosmos/nft/v1beta1/event.ts +54 -4
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +52 -3
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +69 -3
- package/src/codegen/cosmos/nft/v1beta1/query.ts +210 -15
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +37 -3
- package/src/codegen/cosmos/orm/v1/orm.ts +140 -5
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +109 -5
- package/src/codegen/cosmos/params/v1beta1/params.ts +41 -3
- package/src/codegen/cosmos/params/v1beta1/query.ts +83 -6
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +100 -5
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +87 -7
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +71 -9
- package/src/codegen/cosmos/slashing/v1beta1/tx.ts +24 -3
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +73 -5
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +91 -3
- package/src/codegen/cosmos/staking/v1beta1/query.ts +499 -29
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +507 -44
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +172 -22
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +154 -8
- package/src/codegen/cosmos/tx/v1beta1/service.ts +252 -15
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +462 -17
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +145 -11
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +53 -5
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +109 -11
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +106 -7
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +123 -7
- package/src/codegen/cosmos_proto/cosmos.ts +76 -5
- package/src/codegen/extern.ts +33 -0
- package/src/codegen/google/api/http.ts +140 -4
- package/src/codegen/google/protobuf/any.ts +47 -2
- package/src/codegen/google/protobuf/descriptor.ts +1405 -59
- package/src/codegen/google/protobuf/duration.ts +30 -2
- package/src/codegen/google/protobuf/empty.ts +10 -2
- package/src/codegen/google/protobuf/timestamp.ts +28 -2
- package/src/codegen/helpers.ts +1 -3
- package/src/codegen/index.ts +3 -4
- package/src/codegen/tendermint/abci/types.ts +970 -64
- package/src/codegen/tendermint/crypto/keys.ts +16 -2
- package/src/codegen/tendermint/crypto/proof.ts +97 -6
- package/src/codegen/tendermint/libs/bits/types.ts +22 -2
- package/src/codegen/tendermint/p2p/types.ts +118 -22
- package/src/codegen/tendermint/types/block.ts +20 -2
- package/src/codegen/tendermint/types/evidence.ts +94 -16
- package/src/codegen/tendermint/types/params.ts +137 -7
- package/src/codegen/tendermint/types/types.ts +338 -40
- package/src/codegen/tendermint/types/validator.ts +58 -4
- package/src/codegen/tendermint/version/types.ts +31 -3
- package/main/codegen/beezee/burner/tx.amino.js +0 -28
- package/main/codegen/beezee/burner/tx.registry.js +0 -47
- package/main/codegen/beezee/cointrunk/tx.amino.js +0 -59
- package/main/codegen/beezee/cointrunk/tx.registry.js +0 -65
- package/main/codegen/bze/client.js +0 -67
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -96
- package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +0 -83
- package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +0 -101
- package/main/codegen/cosmos/bank/v1beta1/tx.registry.js +0 -65
- package/main/codegen/cosmos/client.js +0 -86
- package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +0 -32
- package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +0 -47
- package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +0 -91
- package/main/codegen/cosmos/distribution/v1beta1/tx.registry.js +0 -101
- package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +0 -34
- package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +0 -47
- package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +0 -57
- package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +0 -65
- package/main/codegen/cosmos/gov/v1/tx.amino.js +0 -180
- package/main/codegen/cosmos/gov/v1/tx.registry.js +0 -119
- package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +0 -139
- package/main/codegen/cosmos/gov/v1beta1/tx.registry.js +0 -101
- package/main/codegen/cosmos/group/v1/tx.amino.js +0 -424
- package/main/codegen/cosmos/group/v1/tx.registry.js +0 -281
- package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +0 -36
- package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +0 -47
- package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +0 -24
- package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +0 -47
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -213
- package/main/codegen/cosmos/staking/v1beta1/tx.registry.js +0 -119
- package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +0 -62
- package/main/codegen/cosmos/upgrade/v1beta1/tx.registry.js +0 -65
- package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +0 -131
- package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +0 -83
- package/module/codegen/beezee/burner/tx.amino.js +0 -23
- package/module/codegen/beezee/burner/tx.registry.js +0 -33
- package/module/codegen/beezee/cointrunk/tx.amino.js +0 -56
- package/module/codegen/beezee/cointrunk/tx.registry.js +0 -51
- package/module/codegen/bze/client.js +0 -38
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +0 -91
- package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +0 -69
- package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +0 -78
- package/module/codegen/cosmos/bank/v1beta1/tx.registry.js +0 -51
- package/module/codegen/cosmos/client.js +0 -57
- package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +0 -27
- package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +0 -33
- package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +0 -88
- package/module/codegen/cosmos/distribution/v1beta1/tx.registry.js +0 -87
- package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +0 -29
- package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +0 -33
- package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +0 -54
- package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +0 -51
- package/module/codegen/cosmos/gov/v1/tx.amino.js +0 -167
- package/module/codegen/cosmos/gov/v1/tx.registry.js +0 -105
- package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +0 -128
- package/module/codegen/cosmos/gov/v1beta1/tx.registry.js +0 -87
- package/module/codegen/cosmos/group/v1/tx.amino.js +0 -429
- package/module/codegen/cosmos/group/v1/tx.registry.js +0 -267
- package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +0 -31
- package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +0 -33
- package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +0 -19
- package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +0 -33
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +0 -216
- package/module/codegen/cosmos/staking/v1beta1/tx.registry.js +0 -105
- package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +0 -59
- package/module/codegen/cosmos/upgrade/v1beta1/tx.registry.js +0 -51
- package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +0 -114
- package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +0 -69
- package/src/.gitkeep +0 -0
- package/src/codegen/beezee/burner/tx.amino.ts +0 -32
- package/src/codegen/beezee/burner/tx.registry.ts +0 -37
- package/src/codegen/beezee/cointrunk/tx.amino.ts +0 -75
- package/src/codegen/beezee/cointrunk/tx.registry.ts +0 -58
- package/src/codegen/bze/client.ts +0 -48
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +0 -128
- package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +0 -79
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +0 -110
- package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +0 -58
- package/src/codegen/cosmos/client.ts +0 -76
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +0 -37
- package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +0 -37
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +0 -120
- package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +0 -100
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +0 -41
- package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +0 -37
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +0 -74
- package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +0 -58
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +0 -226
- package/src/codegen/cosmos/gov/v1/tx.registry.ts +0 -121
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +0 -174
- package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +0 -100
- package/src/codegen/cosmos/group/v1/tx.amino.ts +0 -583
- package/src/codegen/cosmos/group/v1/tx.registry.ts +0 -310
- package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +0 -42
- package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +0 -37
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +0 -27
- package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +0 -37
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +0 -294
- package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +0 -121
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +0 -86
- package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +0 -58
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +0 -155
- package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +0 -79
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Minter, MinterSDKType, Params, ParamsSDKType } from "./mint";
|
|
2
2
|
import * as _m0 from "protobufjs/minimal";
|
|
3
|
-
import {
|
|
3
|
+
import { isSet } from "../../../helpers";
|
|
4
4
|
/** GenesisState defines the mint module's genesis state. */
|
|
5
5
|
|
|
6
6
|
export interface GenesisState {
|
|
@@ -13,7 +13,10 @@ export interface GenesisState {
|
|
|
13
13
|
/** GenesisState defines the mint module's genesis state. */
|
|
14
14
|
|
|
15
15
|
export interface GenesisStateSDKType {
|
|
16
|
+
/** minter is a space for holding current inflation information. */
|
|
16
17
|
minter?: MinterSDKType;
|
|
18
|
+
/** params defines all the paramaters of the module. */
|
|
19
|
+
|
|
17
20
|
params?: ParamsSDKType;
|
|
18
21
|
}
|
|
19
22
|
|
|
@@ -63,7 +66,21 @@ export const GenesisState = {
|
|
|
63
66
|
return message;
|
|
64
67
|
},
|
|
65
68
|
|
|
66
|
-
|
|
69
|
+
fromJSON(object: any): GenesisState {
|
|
70
|
+
return {
|
|
71
|
+
minter: isSet(object.minter) ? Minter.fromJSON(object.minter) : undefined,
|
|
72
|
+
params: isSet(object.params) ? Params.fromJSON(object.params) : undefined
|
|
73
|
+
};
|
|
74
|
+
},
|
|
75
|
+
|
|
76
|
+
toJSON(message: GenesisState): unknown {
|
|
77
|
+
const obj: any = {};
|
|
78
|
+
message.minter !== undefined && (obj.minter = message.minter ? Minter.toJSON(message.minter) : undefined);
|
|
79
|
+
message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
|
|
80
|
+
return obj;
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
fromPartial(object: Partial<GenesisState>): GenesisState {
|
|
67
84
|
const message = createBaseGenesisState();
|
|
68
85
|
message.minter = object.minter !== undefined && object.minter !== null ? Minter.fromPartial(object.minter) : undefined;
|
|
69
86
|
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _m0 from "protobufjs/minimal";
|
|
2
|
-
import {
|
|
2
|
+
import { isSet, Long } from "../../../helpers";
|
|
3
3
|
/** Minter represents the minting state. */
|
|
4
4
|
|
|
5
5
|
export interface Minter {
|
|
@@ -12,7 +12,10 @@ export interface Minter {
|
|
|
12
12
|
/** Minter represents the minting state. */
|
|
13
13
|
|
|
14
14
|
export interface MinterSDKType {
|
|
15
|
+
/** current annual inflation rate */
|
|
15
16
|
inflation: string;
|
|
17
|
+
/** current annual expected provisions */
|
|
18
|
+
|
|
16
19
|
annual_provisions: string;
|
|
17
20
|
}
|
|
18
21
|
/** Params holds parameters for the mint module. */
|
|
@@ -39,11 +42,22 @@ export interface Params {
|
|
|
39
42
|
/** Params holds parameters for the mint module. */
|
|
40
43
|
|
|
41
44
|
export interface ParamsSDKType {
|
|
45
|
+
/** type of coin to mint */
|
|
42
46
|
mint_denom: string;
|
|
47
|
+
/** maximum annual change in inflation rate */
|
|
48
|
+
|
|
43
49
|
inflation_rate_change: string;
|
|
50
|
+
/** maximum inflation rate */
|
|
51
|
+
|
|
44
52
|
inflation_max: string;
|
|
53
|
+
/** minimum inflation rate */
|
|
54
|
+
|
|
45
55
|
inflation_min: string;
|
|
56
|
+
/** goal of percent bonded atoms */
|
|
57
|
+
|
|
46
58
|
goal_bonded: string;
|
|
59
|
+
/** expected blocks per year */
|
|
60
|
+
|
|
47
61
|
blocks_per_year: Long;
|
|
48
62
|
}
|
|
49
63
|
|
|
@@ -93,7 +107,21 @@ export const Minter = {
|
|
|
93
107
|
return message;
|
|
94
108
|
},
|
|
95
109
|
|
|
96
|
-
|
|
110
|
+
fromJSON(object: any): Minter {
|
|
111
|
+
return {
|
|
112
|
+
inflation: isSet(object.inflation) ? String(object.inflation) : "",
|
|
113
|
+
annualProvisions: isSet(object.annualProvisions) ? String(object.annualProvisions) : ""
|
|
114
|
+
};
|
|
115
|
+
},
|
|
116
|
+
|
|
117
|
+
toJSON(message: Minter): unknown {
|
|
118
|
+
const obj: any = {};
|
|
119
|
+
message.inflation !== undefined && (obj.inflation = message.inflation);
|
|
120
|
+
message.annualProvisions !== undefined && (obj.annualProvisions = message.annualProvisions);
|
|
121
|
+
return obj;
|
|
122
|
+
},
|
|
123
|
+
|
|
124
|
+
fromPartial(object: Partial<Minter>): Minter {
|
|
97
125
|
const message = createBaseMinter();
|
|
98
126
|
message.inflation = object.inflation ?? "";
|
|
99
127
|
message.annualProvisions = object.annualProvisions ?? "";
|
|
@@ -184,7 +212,29 @@ export const Params = {
|
|
|
184
212
|
return message;
|
|
185
213
|
},
|
|
186
214
|
|
|
187
|
-
|
|
215
|
+
fromJSON(object: any): Params {
|
|
216
|
+
return {
|
|
217
|
+
mintDenom: isSet(object.mintDenom) ? String(object.mintDenom) : "",
|
|
218
|
+
inflationRateChange: isSet(object.inflationRateChange) ? String(object.inflationRateChange) : "",
|
|
219
|
+
inflationMax: isSet(object.inflationMax) ? String(object.inflationMax) : "",
|
|
220
|
+
inflationMin: isSet(object.inflationMin) ? String(object.inflationMin) : "",
|
|
221
|
+
goalBonded: isSet(object.goalBonded) ? String(object.goalBonded) : "",
|
|
222
|
+
blocksPerYear: isSet(object.blocksPerYear) ? Long.fromValue(object.blocksPerYear) : Long.UZERO
|
|
223
|
+
};
|
|
224
|
+
},
|
|
225
|
+
|
|
226
|
+
toJSON(message: Params): unknown {
|
|
227
|
+
const obj: any = {};
|
|
228
|
+
message.mintDenom !== undefined && (obj.mintDenom = message.mintDenom);
|
|
229
|
+
message.inflationRateChange !== undefined && (obj.inflationRateChange = message.inflationRateChange);
|
|
230
|
+
message.inflationMax !== undefined && (obj.inflationMax = message.inflationMax);
|
|
231
|
+
message.inflationMin !== undefined && (obj.inflationMin = message.inflationMin);
|
|
232
|
+
message.goalBonded !== undefined && (obj.goalBonded = message.goalBonded);
|
|
233
|
+
message.blocksPerYear !== undefined && (obj.blocksPerYear = (message.blocksPerYear || Long.UZERO).toString());
|
|
234
|
+
return obj;
|
|
235
|
+
},
|
|
236
|
+
|
|
237
|
+
fromPartial(object: Partial<Params>): Params {
|
|
188
238
|
const message = createBaseParams();
|
|
189
239
|
message.mintDenom = object.mintDenom ?? "";
|
|
190
240
|
message.inflationRateChange = object.inflationRateChange ?? "";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Params, ParamsSDKType } from "./mint";
|
|
2
2
|
import * as _m0 from "protobufjs/minimal";
|
|
3
|
-
import {
|
|
3
|
+
import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers";
|
|
4
4
|
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
|
|
5
5
|
|
|
6
6
|
export interface QueryParamsRequest {}
|
|
@@ -16,6 +16,7 @@ export interface QueryParamsResponse {
|
|
|
16
16
|
/** QueryParamsResponse is the response type for the Query/Params RPC method. */
|
|
17
17
|
|
|
18
18
|
export interface QueryParamsResponseSDKType {
|
|
19
|
+
/** params defines the parameters of the module. */
|
|
19
20
|
params?: ParamsSDKType;
|
|
20
21
|
}
|
|
21
22
|
/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */
|
|
@@ -39,6 +40,7 @@ export interface QueryInflationResponse {
|
|
|
39
40
|
*/
|
|
40
41
|
|
|
41
42
|
export interface QueryInflationResponseSDKType {
|
|
43
|
+
/** inflation is the current minting inflation value. */
|
|
42
44
|
inflation: Uint8Array;
|
|
43
45
|
}
|
|
44
46
|
/**
|
|
@@ -68,6 +70,7 @@ export interface QueryAnnualProvisionsResponse {
|
|
|
68
70
|
*/
|
|
69
71
|
|
|
70
72
|
export interface QueryAnnualProvisionsResponseSDKType {
|
|
73
|
+
/** annual_provisions is the current minting annual provisions value. */
|
|
71
74
|
annual_provisions: Uint8Array;
|
|
72
75
|
}
|
|
73
76
|
|
|
@@ -98,7 +101,16 @@ export const QueryParamsRequest = {
|
|
|
98
101
|
return message;
|
|
99
102
|
},
|
|
100
103
|
|
|
101
|
-
|
|
104
|
+
fromJSON(_: any): QueryParamsRequest {
|
|
105
|
+
return {};
|
|
106
|
+
},
|
|
107
|
+
|
|
108
|
+
toJSON(_: QueryParamsRequest): unknown {
|
|
109
|
+
const obj: any = {};
|
|
110
|
+
return obj;
|
|
111
|
+
},
|
|
112
|
+
|
|
113
|
+
fromPartial(_: Partial<QueryParamsRequest>): QueryParamsRequest {
|
|
102
114
|
const message = createBaseQueryParamsRequest();
|
|
103
115
|
return message;
|
|
104
116
|
}
|
|
@@ -142,7 +154,19 @@ export const QueryParamsResponse = {
|
|
|
142
154
|
return message;
|
|
143
155
|
},
|
|
144
156
|
|
|
145
|
-
|
|
157
|
+
fromJSON(object: any): QueryParamsResponse {
|
|
158
|
+
return {
|
|
159
|
+
params: isSet(object.params) ? Params.fromJSON(object.params) : undefined
|
|
160
|
+
};
|
|
161
|
+
},
|
|
162
|
+
|
|
163
|
+
toJSON(message: QueryParamsResponse): unknown {
|
|
164
|
+
const obj: any = {};
|
|
165
|
+
message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined);
|
|
166
|
+
return obj;
|
|
167
|
+
},
|
|
168
|
+
|
|
169
|
+
fromPartial(object: Partial<QueryParamsResponse>): QueryParamsResponse {
|
|
146
170
|
const message = createBaseQueryParamsResponse();
|
|
147
171
|
message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined;
|
|
148
172
|
return message;
|
|
@@ -177,7 +201,16 @@ export const QueryInflationRequest = {
|
|
|
177
201
|
return message;
|
|
178
202
|
},
|
|
179
203
|
|
|
180
|
-
|
|
204
|
+
fromJSON(_: any): QueryInflationRequest {
|
|
205
|
+
return {};
|
|
206
|
+
},
|
|
207
|
+
|
|
208
|
+
toJSON(_: QueryInflationRequest): unknown {
|
|
209
|
+
const obj: any = {};
|
|
210
|
+
return obj;
|
|
211
|
+
},
|
|
212
|
+
|
|
213
|
+
fromPartial(_: Partial<QueryInflationRequest>): QueryInflationRequest {
|
|
181
214
|
const message = createBaseQueryInflationRequest();
|
|
182
215
|
return message;
|
|
183
216
|
}
|
|
@@ -221,7 +254,19 @@ export const QueryInflationResponse = {
|
|
|
221
254
|
return message;
|
|
222
255
|
},
|
|
223
256
|
|
|
224
|
-
|
|
257
|
+
fromJSON(object: any): QueryInflationResponse {
|
|
258
|
+
return {
|
|
259
|
+
inflation: isSet(object.inflation) ? bytesFromBase64(object.inflation) : new Uint8Array()
|
|
260
|
+
};
|
|
261
|
+
},
|
|
262
|
+
|
|
263
|
+
toJSON(message: QueryInflationResponse): unknown {
|
|
264
|
+
const obj: any = {};
|
|
265
|
+
message.inflation !== undefined && (obj.inflation = base64FromBytes(message.inflation !== undefined ? message.inflation : new Uint8Array()));
|
|
266
|
+
return obj;
|
|
267
|
+
},
|
|
268
|
+
|
|
269
|
+
fromPartial(object: Partial<QueryInflationResponse>): QueryInflationResponse {
|
|
225
270
|
const message = createBaseQueryInflationResponse();
|
|
226
271
|
message.inflation = object.inflation ?? new Uint8Array();
|
|
227
272
|
return message;
|
|
@@ -256,7 +301,16 @@ export const QueryAnnualProvisionsRequest = {
|
|
|
256
301
|
return message;
|
|
257
302
|
},
|
|
258
303
|
|
|
259
|
-
|
|
304
|
+
fromJSON(_: any): QueryAnnualProvisionsRequest {
|
|
305
|
+
return {};
|
|
306
|
+
},
|
|
307
|
+
|
|
308
|
+
toJSON(_: QueryAnnualProvisionsRequest): unknown {
|
|
309
|
+
const obj: any = {};
|
|
310
|
+
return obj;
|
|
311
|
+
},
|
|
312
|
+
|
|
313
|
+
fromPartial(_: Partial<QueryAnnualProvisionsRequest>): QueryAnnualProvisionsRequest {
|
|
260
314
|
const message = createBaseQueryAnnualProvisionsRequest();
|
|
261
315
|
return message;
|
|
262
316
|
}
|
|
@@ -300,7 +354,19 @@ export const QueryAnnualProvisionsResponse = {
|
|
|
300
354
|
return message;
|
|
301
355
|
},
|
|
302
356
|
|
|
303
|
-
|
|
357
|
+
fromJSON(object: any): QueryAnnualProvisionsResponse {
|
|
358
|
+
return {
|
|
359
|
+
annualProvisions: isSet(object.annualProvisions) ? bytesFromBase64(object.annualProvisions) : new Uint8Array()
|
|
360
|
+
};
|
|
361
|
+
},
|
|
362
|
+
|
|
363
|
+
toJSON(message: QueryAnnualProvisionsResponse): unknown {
|
|
364
|
+
const obj: any = {};
|
|
365
|
+
message.annualProvisions !== undefined && (obj.annualProvisions = base64FromBytes(message.annualProvisions !== undefined ? message.annualProvisions : new Uint8Array()));
|
|
366
|
+
return obj;
|
|
367
|
+
},
|
|
368
|
+
|
|
369
|
+
fromPartial(object: Partial<QueryAnnualProvisionsResponse>): QueryAnnualProvisionsResponse {
|
|
304
370
|
const message = createBaseQueryAnnualProvisionsResponse();
|
|
305
371
|
message.annualProvisions = object.annualProvisions ?? new Uint8Array();
|
|
306
372
|
return message;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _m0 from "protobufjs/minimal";
|
|
2
|
-
import {
|
|
2
|
+
import { isSet } from "../../../helpers";
|
|
3
3
|
/** EventSend is emitted on Msg/Send */
|
|
4
4
|
|
|
5
5
|
export interface EventSend {
|
|
@@ -109,7 +109,25 @@ export const EventSend = {
|
|
|
109
109
|
return message;
|
|
110
110
|
},
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
fromJSON(object: any): EventSend {
|
|
113
|
+
return {
|
|
114
|
+
classId: isSet(object.classId) ? String(object.classId) : "",
|
|
115
|
+
id: isSet(object.id) ? String(object.id) : "",
|
|
116
|
+
sender: isSet(object.sender) ? String(object.sender) : "",
|
|
117
|
+
receiver: isSet(object.receiver) ? String(object.receiver) : ""
|
|
118
|
+
};
|
|
119
|
+
},
|
|
120
|
+
|
|
121
|
+
toJSON(message: EventSend): unknown {
|
|
122
|
+
const obj: any = {};
|
|
123
|
+
message.classId !== undefined && (obj.classId = message.classId);
|
|
124
|
+
message.id !== undefined && (obj.id = message.id);
|
|
125
|
+
message.sender !== undefined && (obj.sender = message.sender);
|
|
126
|
+
message.receiver !== undefined && (obj.receiver = message.receiver);
|
|
127
|
+
return obj;
|
|
128
|
+
},
|
|
129
|
+
|
|
130
|
+
fromPartial(object: Partial<EventSend>): EventSend {
|
|
113
131
|
const message = createBaseEventSend();
|
|
114
132
|
message.classId = object.classId ?? "";
|
|
115
133
|
message.id = object.id ?? "";
|
|
@@ -175,7 +193,23 @@ export const EventMint = {
|
|
|
175
193
|
return message;
|
|
176
194
|
},
|
|
177
195
|
|
|
178
|
-
|
|
196
|
+
fromJSON(object: any): EventMint {
|
|
197
|
+
return {
|
|
198
|
+
classId: isSet(object.classId) ? String(object.classId) : "",
|
|
199
|
+
id: isSet(object.id) ? String(object.id) : "",
|
|
200
|
+
owner: isSet(object.owner) ? String(object.owner) : ""
|
|
201
|
+
};
|
|
202
|
+
},
|
|
203
|
+
|
|
204
|
+
toJSON(message: EventMint): unknown {
|
|
205
|
+
const obj: any = {};
|
|
206
|
+
message.classId !== undefined && (obj.classId = message.classId);
|
|
207
|
+
message.id !== undefined && (obj.id = message.id);
|
|
208
|
+
message.owner !== undefined && (obj.owner = message.owner);
|
|
209
|
+
return obj;
|
|
210
|
+
},
|
|
211
|
+
|
|
212
|
+
fromPartial(object: Partial<EventMint>): EventMint {
|
|
179
213
|
const message = createBaseEventMint();
|
|
180
214
|
message.classId = object.classId ?? "";
|
|
181
215
|
message.id = object.id ?? "";
|
|
@@ -240,7 +274,23 @@ export const EventBurn = {
|
|
|
240
274
|
return message;
|
|
241
275
|
},
|
|
242
276
|
|
|
243
|
-
|
|
277
|
+
fromJSON(object: any): EventBurn {
|
|
278
|
+
return {
|
|
279
|
+
classId: isSet(object.classId) ? String(object.classId) : "",
|
|
280
|
+
id: isSet(object.id) ? String(object.id) : "",
|
|
281
|
+
owner: isSet(object.owner) ? String(object.owner) : ""
|
|
282
|
+
};
|
|
283
|
+
},
|
|
284
|
+
|
|
285
|
+
toJSON(message: EventBurn): unknown {
|
|
286
|
+
const obj: any = {};
|
|
287
|
+
message.classId !== undefined && (obj.classId = message.classId);
|
|
288
|
+
message.id !== undefined && (obj.id = message.id);
|
|
289
|
+
message.owner !== undefined && (obj.owner = message.owner);
|
|
290
|
+
return obj;
|
|
291
|
+
},
|
|
292
|
+
|
|
293
|
+
fromPartial(object: Partial<EventBurn>): EventBurn {
|
|
244
294
|
const message = createBaseEventBurn();
|
|
245
295
|
message.classId = object.classId ?? "";
|
|
246
296
|
message.id = object.id ?? "";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Class, ClassSDKType, NFT, NFTSDKType } from "./nft";
|
|
2
2
|
import * as _m0 from "protobufjs/minimal";
|
|
3
|
-
import {
|
|
3
|
+
import { isSet } from "../../../helpers";
|
|
4
4
|
/** GenesisState defines the nft module's genesis state. */
|
|
5
5
|
|
|
6
6
|
export interface GenesisState {
|
|
@@ -11,6 +11,7 @@ export interface GenesisState {
|
|
|
11
11
|
/** GenesisState defines the nft module's genesis state. */
|
|
12
12
|
|
|
13
13
|
export interface GenesisStateSDKType {
|
|
14
|
+
/** class defines the class of the nft type. */
|
|
14
15
|
classes: ClassSDKType[];
|
|
15
16
|
entries: EntrySDKType[];
|
|
16
17
|
}
|
|
@@ -26,7 +27,10 @@ export interface Entry {
|
|
|
26
27
|
/** Entry Defines all nft owned by a person */
|
|
27
28
|
|
|
28
29
|
export interface EntrySDKType {
|
|
30
|
+
/** owner is the owner address of the following nft */
|
|
29
31
|
owner: string;
|
|
32
|
+
/** nfts is a group of nfts of the same owner */
|
|
33
|
+
|
|
30
34
|
nfts: NFTSDKType[];
|
|
31
35
|
}
|
|
32
36
|
|
|
@@ -76,7 +80,32 @@ export const GenesisState = {
|
|
|
76
80
|
return message;
|
|
77
81
|
},
|
|
78
82
|
|
|
79
|
-
|
|
83
|
+
fromJSON(object: any): GenesisState {
|
|
84
|
+
return {
|
|
85
|
+
classes: Array.isArray(object?.classes) ? object.classes.map((e: any) => Class.fromJSON(e)) : [],
|
|
86
|
+
entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => Entry.fromJSON(e)) : []
|
|
87
|
+
};
|
|
88
|
+
},
|
|
89
|
+
|
|
90
|
+
toJSON(message: GenesisState): unknown {
|
|
91
|
+
const obj: any = {};
|
|
92
|
+
|
|
93
|
+
if (message.classes) {
|
|
94
|
+
obj.classes = message.classes.map(e => e ? Class.toJSON(e) : undefined);
|
|
95
|
+
} else {
|
|
96
|
+
obj.classes = [];
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
if (message.entries) {
|
|
100
|
+
obj.entries = message.entries.map(e => e ? Entry.toJSON(e) : undefined);
|
|
101
|
+
} else {
|
|
102
|
+
obj.entries = [];
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
return obj;
|
|
106
|
+
},
|
|
107
|
+
|
|
108
|
+
fromPartial(object: Partial<GenesisState>): GenesisState {
|
|
80
109
|
const message = createBaseGenesisState();
|
|
81
110
|
message.classes = object.classes?.map(e => Class.fromPartial(e)) || [];
|
|
82
111
|
message.entries = object.entries?.map(e => Entry.fromPartial(e)) || [];
|
|
@@ -131,7 +160,27 @@ export const Entry = {
|
|
|
131
160
|
return message;
|
|
132
161
|
},
|
|
133
162
|
|
|
134
|
-
|
|
163
|
+
fromJSON(object: any): Entry {
|
|
164
|
+
return {
|
|
165
|
+
owner: isSet(object.owner) ? String(object.owner) : "",
|
|
166
|
+
nfts: Array.isArray(object?.nfts) ? object.nfts.map((e: any) => NFT.fromJSON(e)) : []
|
|
167
|
+
};
|
|
168
|
+
},
|
|
169
|
+
|
|
170
|
+
toJSON(message: Entry): unknown {
|
|
171
|
+
const obj: any = {};
|
|
172
|
+
message.owner !== undefined && (obj.owner = message.owner);
|
|
173
|
+
|
|
174
|
+
if (message.nfts) {
|
|
175
|
+
obj.nfts = message.nfts.map(e => e ? NFT.toJSON(e) : undefined);
|
|
176
|
+
} else {
|
|
177
|
+
obj.nfts = [];
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
return obj;
|
|
181
|
+
},
|
|
182
|
+
|
|
183
|
+
fromPartial(object: Partial<Entry>): Entry {
|
|
135
184
|
const message = createBaseEntry();
|
|
136
185
|
message.owner = object.owner ?? "";
|
|
137
186
|
message.nfts = object.nfts?.map(e => NFT.fromPartial(e)) || [];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
|
2
2
|
import * as _m0 from "protobufjs/minimal";
|
|
3
|
-
import {
|
|
3
|
+
import { isSet } from "../../../helpers";
|
|
4
4
|
/** Class defines the class of the nft type. */
|
|
5
5
|
|
|
6
6
|
export interface Class {
|
|
@@ -28,12 +28,25 @@ export interface Class {
|
|
|
28
28
|
/** Class defines the class of the nft type. */
|
|
29
29
|
|
|
30
30
|
export interface ClassSDKType {
|
|
31
|
+
/** id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 */
|
|
31
32
|
id: string;
|
|
33
|
+
/** name defines the human-readable name of the NFT classification. Optional */
|
|
34
|
+
|
|
32
35
|
name: string;
|
|
36
|
+
/** symbol is an abbreviated name for nft classification. Optional */
|
|
37
|
+
|
|
33
38
|
symbol: string;
|
|
39
|
+
/** description is a brief description of nft classification. Optional */
|
|
40
|
+
|
|
34
41
|
description: string;
|
|
42
|
+
/** uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional */
|
|
43
|
+
|
|
35
44
|
uri: string;
|
|
45
|
+
/** uri_hash is a hash of the document pointed by uri. Optional */
|
|
46
|
+
|
|
36
47
|
uri_hash: string;
|
|
48
|
+
/** data is the app specific metadata of the NFT class. Optional */
|
|
49
|
+
|
|
37
50
|
data?: AnySDKType;
|
|
38
51
|
}
|
|
39
52
|
/** NFT defines the NFT. */
|
|
@@ -57,10 +70,19 @@ export interface NFT {
|
|
|
57
70
|
/** NFT defines the NFT. */
|
|
58
71
|
|
|
59
72
|
export interface NFTSDKType {
|
|
73
|
+
/** class_id associated with the NFT, similar to the contract address of ERC721 */
|
|
60
74
|
class_id: string;
|
|
75
|
+
/** id is a unique identifier of the NFT */
|
|
76
|
+
|
|
61
77
|
id: string;
|
|
78
|
+
/** uri for the NFT metadata stored off chain */
|
|
79
|
+
|
|
62
80
|
uri: string;
|
|
81
|
+
/** uri_hash is a hash of the document pointed by uri */
|
|
82
|
+
|
|
63
83
|
uri_hash: string;
|
|
84
|
+
/** data is an app specific data of the NFT. Optional */
|
|
85
|
+
|
|
64
86
|
data?: AnySDKType;
|
|
65
87
|
}
|
|
66
88
|
|
|
@@ -155,7 +177,31 @@ export const Class = {
|
|
|
155
177
|
return message;
|
|
156
178
|
},
|
|
157
179
|
|
|
158
|
-
|
|
180
|
+
fromJSON(object: any): Class {
|
|
181
|
+
return {
|
|
182
|
+
id: isSet(object.id) ? String(object.id) : "",
|
|
183
|
+
name: isSet(object.name) ? String(object.name) : "",
|
|
184
|
+
symbol: isSet(object.symbol) ? String(object.symbol) : "",
|
|
185
|
+
description: isSet(object.description) ? String(object.description) : "",
|
|
186
|
+
uri: isSet(object.uri) ? String(object.uri) : "",
|
|
187
|
+
uriHash: isSet(object.uriHash) ? String(object.uriHash) : "",
|
|
188
|
+
data: isSet(object.data) ? Any.fromJSON(object.data) : undefined
|
|
189
|
+
};
|
|
190
|
+
},
|
|
191
|
+
|
|
192
|
+
toJSON(message: Class): unknown {
|
|
193
|
+
const obj: any = {};
|
|
194
|
+
message.id !== undefined && (obj.id = message.id);
|
|
195
|
+
message.name !== undefined && (obj.name = message.name);
|
|
196
|
+
message.symbol !== undefined && (obj.symbol = message.symbol);
|
|
197
|
+
message.description !== undefined && (obj.description = message.description);
|
|
198
|
+
message.uri !== undefined && (obj.uri = message.uri);
|
|
199
|
+
message.uriHash !== undefined && (obj.uriHash = message.uriHash);
|
|
200
|
+
message.data !== undefined && (obj.data = message.data ? Any.toJSON(message.data) : undefined);
|
|
201
|
+
return obj;
|
|
202
|
+
},
|
|
203
|
+
|
|
204
|
+
fromPartial(object: Partial<Class>): Class {
|
|
159
205
|
const message = createBaseClass();
|
|
160
206
|
message.id = object.id ?? "";
|
|
161
207
|
message.name = object.name ?? "";
|
|
@@ -242,7 +288,27 @@ export const NFT = {
|
|
|
242
288
|
return message;
|
|
243
289
|
},
|
|
244
290
|
|
|
245
|
-
|
|
291
|
+
fromJSON(object: any): NFT {
|
|
292
|
+
return {
|
|
293
|
+
classId: isSet(object.classId) ? String(object.classId) : "",
|
|
294
|
+
id: isSet(object.id) ? String(object.id) : "",
|
|
295
|
+
uri: isSet(object.uri) ? String(object.uri) : "",
|
|
296
|
+
uriHash: isSet(object.uriHash) ? String(object.uriHash) : "",
|
|
297
|
+
data: isSet(object.data) ? Any.fromJSON(object.data) : undefined
|
|
298
|
+
};
|
|
299
|
+
},
|
|
300
|
+
|
|
301
|
+
toJSON(message: NFT): unknown {
|
|
302
|
+
const obj: any = {};
|
|
303
|
+
message.classId !== undefined && (obj.classId = message.classId);
|
|
304
|
+
message.id !== undefined && (obj.id = message.id);
|
|
305
|
+
message.uri !== undefined && (obj.uri = message.uri);
|
|
306
|
+
message.uriHash !== undefined && (obj.uriHash = message.uriHash);
|
|
307
|
+
message.data !== undefined && (obj.data = message.data ? Any.toJSON(message.data) : undefined);
|
|
308
|
+
return obj;
|
|
309
|
+
},
|
|
310
|
+
|
|
311
|
+
fromPartial(object: Partial<NFT>): NFT {
|
|
246
312
|
const message = createBaseNFT();
|
|
247
313
|
message.classId = object.classId ?? "";
|
|
248
314
|
message.id = object.id ?? "";
|