@xpla/xplajs 1.7.0-beta.0
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/CHANGELOG.md +11 -0
- package/README.md +32 -0
- package/package.json +32 -0
- package/src/amino/amino.d.ts +1 -0
- package/src/amino/amino.js +2 -0
- package/src/amino/amino.ts +1 -0
- package/src/binary.d.ts +130 -0
- package/src/binary.js +370 -0
- package/src/binary.ts +534 -0
- package/src/cosmos/app/runtime/v1alpha1/module.ts +423 -0
- package/src/cosmos/app/runtime/v2/module.ts +589 -0
- package/src/cosmos/app/v1alpha1/config.ts +422 -0
- package/src/cosmos/app/v1alpha1/module.ts +461 -0
- package/src/cosmos/app/v1alpha1/query.rpc.Query.ts +30 -0
- package/src/cosmos/app/v1alpha1/query.rpc.func.ts +9 -0
- package/src/cosmos/app/v1alpha1/query.ts +177 -0
- package/src/cosmos/auth/module/v1/module.ts +253 -0
- package/src/cosmos/auth/v1beta1/accounts.ts +226 -0
- package/src/cosmos/auth/v1beta1/auth.d.ts +177 -0
- package/src/cosmos/auth/v1beta1/auth.js +445 -0
- package/src/cosmos/auth/v1beta1/auth.ts +550 -0
- package/src/cosmos/auth/v1beta1/genesis.ts +119 -0
- package/src/cosmos/auth/v1beta1/query.d.ts +810 -0
- package/src/cosmos/auth/v1beta1/query.js +1561 -0
- package/src/cosmos/auth/v1beta1/query.lcd.ts +94 -0
- package/src/cosmos/auth/v1beta1/query.rpc.Query.ts +179 -0
- package/src/cosmos/auth/v1beta1/query.rpc.func.d.ts +12 -0
- package/src/cosmos/auth/v1beta1/query.rpc.func.js +85 -0
- package/src/cosmos/auth/v1beta1/query.rpc.func.ts +72 -0
- package/src/cosmos/auth/v1beta1/query.ts +2034 -0
- package/src/cosmos/auth/v1beta1/tx.amino.ts +8 -0
- package/src/cosmos/auth/v1beta1/tx.registry.ts +3 -0
- package/src/cosmos/auth/v1beta1/tx.rpc.func.ts +9 -0
- package/src/cosmos/auth/v1beta1/tx.rpc.msg.ts +31 -0
- package/src/cosmos/auth/v1beta1/tx.ts +219 -0
- package/src/cosmos/authz/module/v1/module.ts +80 -0
- package/src/cosmos/authz/v1beta1/authz.d.ts +177 -0
- package/src/cosmos/authz/v1beta1/authz.js +371 -0
- package/src/cosmos/authz/v1beta1/authz.ts +481 -0
- package/src/cosmos/authz/v1beta1/event.ts +259 -0
- package/src/cosmos/authz/v1beta1/genesis.ts +100 -0
- package/src/cosmos/authz/v1beta1/query.lcd.ts +59 -0
- package/src/cosmos/authz/v1beta1/query.rpc.Query.ts +64 -0
- package/src/cosmos/authz/v1beta1/query.rpc.func.ts +23 -0
- package/src/cosmos/authz/v1beta1/query.ts +707 -0
- package/src/cosmos/authz/v1beta1/tx.amino.ts +18 -0
- package/src/cosmos/authz/v1beta1/tx.d.ts +240 -0
- package/src/cosmos/authz/v1beta1/tx.js +516 -0
- package/src/cosmos/authz/v1beta1/tx.registry.ts +3 -0
- package/src/cosmos/authz/v1beta1/tx.rpc.func.d.ts +5 -0
- package/src/cosmos/authz/v1beta1/tx.rpc.func.js +27 -0
- package/src/cosmos/authz/v1beta1/tx.rpc.func.ts +21 -0
- package/src/cosmos/authz/v1beta1/tx.rpc.msg.ts +57 -0
- package/src/cosmos/authz/v1beta1/tx.ts +647 -0
- package/src/cosmos/autocli/v1/options.ts +1145 -0
- package/src/cosmos/autocli/v1/query.rpc.Query.ts +31 -0
- package/src/cosmos/autocli/v1/query.rpc.func.ts +9 -0
- package/src/cosmos/autocli/v1/query.ts +288 -0
- package/src/cosmos/bank/module/v1/module.ts +153 -0
- package/src/cosmos/bank/v1beta1/authz.ts +138 -0
- package/src/cosmos/bank/v1beta1/bank.d.ts +371 -0
- package/src/cosmos/bank/v1beta1/bank.js +726 -0
- package/src/cosmos/bank/v1beta1/bank.ts +974 -0
- package/src/cosmos/bank/v1beta1/genesis.ts +307 -0
- package/src/cosmos/bank/v1beta1/query.d.ts +1159 -0
- package/src/cosmos/bank/v1beta1/query.js +2317 -0
- package/src/cosmos/bank/v1beta1/query.lcd.ts +194 -0
- package/src/cosmos/bank/v1beta1/query.rpc.Query.ts +258 -0
- package/src/cosmos/bank/v1beta1/query.rpc.func.d.ts +15 -0
- package/src/cosmos/bank/v1beta1/query.rpc.func.js +109 -0
- package/src/cosmos/bank/v1beta1/query.rpc.func.ts +93 -0
- package/src/cosmos/bank/v1beta1/query.ts +3027 -0
- package/src/cosmos/bank/v1beta1/tx.amino.ts +23 -0
- package/src/cosmos/bank/v1beta1/tx.d.ts +342 -0
- package/src/cosmos/bank/v1beta1/tx.js +666 -0
- package/src/cosmos/bank/v1beta1/tx.registry.ts +3 -0
- package/src/cosmos/bank/v1beta1/tx.rpc.func.d.ts +6 -0
- package/src/cosmos/bank/v1beta1/tx.rpc.func.js +34 -0
- package/src/cosmos/bank/v1beta1/tx.rpc.func.ts +27 -0
- package/src/cosmos/bank/v1beta1/tx.rpc.msg.ts +67 -0
- package/src/cosmos/bank/v1beta1/tx.ts +861 -0
- package/src/cosmos/base/abci/v1beta1/abci.d.ts +599 -0
- package/src/cosmos/base/abci/v1beta1/abci.js +1293 -0
- package/src/cosmos/base/abci/v1beta1/abci.ts +1698 -0
- package/src/cosmos/base/grpc/v2/service.rpc.Service.ts +41 -0
- package/src/cosmos/base/grpc/v2/service.rpc.func.ts +16 -0
- package/src/cosmos/base/grpc/v2/service.ts +473 -0
- package/src/cosmos/base/node/v1beta1/query.lcd.ts +22 -0
- package/src/cosmos/base/node/v1beta1/query.rpc.Service.ts +41 -0
- package/src/cosmos/base/node/v1beta1/query.rpc.func.ts +16 -0
- package/src/cosmos/base/node/v1beta1/query.ts +454 -0
- package/src/cosmos/base/query/v1beta1/pagination.d.ts +176 -0
- package/src/cosmos/base/query/v1beta1/pagination.js +222 -0
- package/src/cosmos/base/query/v1beta1/pagination.ts +361 -0
- package/src/cosmos/base/reflection/v1beta1/reflection.rpc.func.ts +16 -0
- package/src/cosmos/base/reflection/v1beta1/reflection.ts +382 -0
- package/src/cosmos/base/reflection/v2alpha1/reflection.rpc.func.ts +44 -0
- package/src/cosmos/base/reflection/v2alpha1/reflection.ts +2727 -0
- package/src/cosmos/base/tendermint/v1beta1/query.lcd.ts +81 -0
- package/src/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +108 -0
- package/src/cosmos/base/tendermint/v1beta1/query.rpc.func.ts +51 -0
- package/src/cosmos/base/tendermint/v1beta1/query.ts +2302 -0
- package/src/cosmos/base/tendermint/v1beta1/types.ts +455 -0
- package/src/cosmos/base/v1beta1/coin.d.ts +166 -0
- package/src/cosmos/base/v1beta1/coin.js +341 -0
- package/src/cosmos/base/v1beta1/coin.ts +439 -0
- package/src/cosmos/circuit/module/v1/module.ts +99 -0
- package/src/cosmos/circuit/v1/query.lcd.ts +36 -0
- package/src/cosmos/circuit/v1/query.rpc.Query.ts +54 -0
- package/src/cosmos/circuit/v1/query.rpc.func.ts +23 -0
- package/src/cosmos/circuit/v1/query.ts +574 -0
- package/src/cosmos/circuit/v1/tx.amino.ts +18 -0
- package/src/cosmos/circuit/v1/tx.registry.ts +3 -0
- package/src/cosmos/circuit/v1/tx.rpc.func.ts +21 -0
- package/src/cosmos/circuit/v1/tx.rpc.msg.ts +47 -0
- package/src/cosmos/circuit/v1/tx.ts +676 -0
- package/src/cosmos/circuit/v1/types.ts +413 -0
- package/src/cosmos/consensus/module/v1/module.ts +99 -0
- package/src/cosmos/consensus/v1/query.lcd.ts +17 -0
- package/src/cosmos/consensus/v1/query.rpc.Query.ts +30 -0
- package/src/cosmos/consensus/v1/query.rpc.func.ts +9 -0
- package/src/cosmos/consensus/v1/query.ts +185 -0
- package/src/cosmos/consensus/v1/tx.amino.ts +8 -0
- package/src/cosmos/consensus/v1/tx.registry.ts +3 -0
- package/src/cosmos/consensus/v1/tx.rpc.func.ts +9 -0
- package/src/cosmos/consensus/v1/tx.rpc.msg.ts +31 -0
- package/src/cosmos/consensus/v1/tx.ts +255 -0
- package/src/cosmos/crisis/module/v1/module.ts +115 -0
- package/src/cosmos/crisis/v1beta1/genesis.ts +106 -0
- package/src/cosmos/crisis/v1beta1/tx.amino.ts +13 -0
- package/src/cosmos/crisis/v1beta1/tx.registry.ts +3 -0
- package/src/cosmos/crisis/v1beta1/tx.rpc.func.ts +15 -0
- package/src/cosmos/crisis/v1beta1/tx.rpc.msg.ts +39 -0
- package/src/cosmos/crisis/v1beta1/tx.ts +416 -0
- package/src/cosmos/crypto/ed25519/keys.d.ts +84 -0
- package/src/cosmos/crypto/ed25519/keys.js +162 -0
- package/src/cosmos/crypto/ed25519/keys.ts +209 -0
- package/src/cosmos/crypto/hd/v1/hd.ts +169 -0
- package/src/cosmos/crypto/keyring/v1/record.ts +529 -0
- package/src/cosmos/crypto/multisig/keys.ts +122 -0
- package/src/cosmos/crypto/multisig/v1beta1/multisig.d.ts +86 -0
- package/src/cosmos/crypto/multisig/v1beta1/multisig.js +177 -0
- package/src/cosmos/crypto/multisig/v1beta1/multisig.ts +225 -0
- package/src/cosmos/crypto/secp256k1/keys.d.ts +78 -0
- package/src/cosmos/crypto/secp256k1/keys.js +162 -0
- package/src/cosmos/crypto/secp256k1/keys.ts +203 -0
- package/src/cosmos/crypto/secp256r1/keys.d.ts +76 -0
- package/src/cosmos/crypto/secp256r1/keys.js +162 -0
- package/src/cosmos/crypto/secp256r1/keys.ts +201 -0
- package/src/cosmos/distribution/module/v1/module.ts +113 -0
- package/src/cosmos/distribution/v1beta1/distribution.d.ts +541 -0
- package/src/cosmos/distribution/v1beta1/distribution.js +1158 -0
- package/src/cosmos/distribution/v1beta1/distribution.ts +1494 -0
- package/src/cosmos/distribution/v1beta1/genesis.ts +1129 -0
- package/src/cosmos/distribution/v1beta1/query.lcd.ts +76 -0
- package/src/cosmos/distribution/v1beta1/query.rpc.Query.ts +133 -0
- package/src/cosmos/distribution/v1beta1/query.rpc.func.ts +72 -0
- package/src/cosmos/distribution/v1beta1/query.ts +2126 -0
- package/src/cosmos/distribution/v1beta1/tx.amino.ts +38 -0
- package/src/cosmos/distribution/v1beta1/tx.d.ts +578 -0
- package/src/cosmos/distribution/v1beta1/tx.js +1145 -0
- package/src/cosmos/distribution/v1beta1/tx.registry.ts +3 -0
- package/src/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +9 -0
- package/src/cosmos/distribution/v1beta1/tx.rpc.func.js +55 -0
- package/src/cosmos/distribution/v1beta1/tx.rpc.func.ts +45 -0
- package/src/cosmos/distribution/v1beta1/tx.rpc.msg.ts +115 -0
- package/src/cosmos/distribution/v1beta1/tx.ts +1478 -0
- package/src/cosmos/evidence/module/v1/module.ts +80 -0
- package/src/cosmos/evidence/v1beta1/evidence.ts +154 -0
- package/src/cosmos/evidence/v1beta1/genesis.ts +102 -0
- package/src/cosmos/evidence/v1beta1/query.lcd.ts +37 -0
- package/src/cosmos/evidence/v1beta1/query.rpc.Query.ts +43 -0
- package/src/cosmos/evidence/v1beta1/query.rpc.func.ts +16 -0
- package/src/cosmos/evidence/v1beta1/query.ts +451 -0
- package/src/cosmos/evidence/v1beta1/tx.amino.ts +8 -0
- package/src/cosmos/evidence/v1beta1/tx.registry.ts +3 -0
- package/src/cosmos/evidence/v1beta1/tx.rpc.func.ts +9 -0
- package/src/cosmos/evidence/v1beta1/tx.rpc.msg.ts +27 -0
- package/src/cosmos/evidence/v1beta1/tx.ts +221 -0
- package/src/cosmos/feegrant/module/v1/module.ts +80 -0
- package/src/cosmos/feegrant/v1beta1/feegrant.ts +573 -0
- package/src/cosmos/feegrant/v1beta1/genesis.ts +100 -0
- package/src/cosmos/feegrant/v1beta1/query.lcd.ts +42 -0
- package/src/cosmos/feegrant/v1beta1/query.rpc.Query.ts +58 -0
- package/src/cosmos/feegrant/v1beta1/query.rpc.func.ts +23 -0
- package/src/cosmos/feegrant/v1beta1/query.ts +677 -0
- package/src/cosmos/feegrant/v1beta1/tx.amino.ts +18 -0
- package/src/cosmos/feegrant/v1beta1/tx.d.ts +232 -0
- package/src/cosmos/feegrant/v1beta1/tx.js +471 -0
- package/src/cosmos/feegrant/v1beta1/tx.registry.ts +3 -0
- package/src/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +5 -0
- package/src/cosmos/feegrant/v1beta1/tx.rpc.func.js +27 -0
- package/src/cosmos/feegrant/v1beta1/tx.rpc.func.ts +21 -0
- package/src/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +53 -0
- package/src/cosmos/feegrant/v1beta1/tx.ts +597 -0
- package/src/cosmos/genutil/module/v1/module.ts +80 -0
- package/src/cosmos/genutil/v1beta1/genesis.ts +101 -0
- package/src/cosmos/gov/module/v1/module.ts +121 -0
- package/src/cosmos/gov/v1/genesis.ts +280 -0
- package/src/cosmos/gov/v1/gov.d.ts +696 -0
- package/src/cosmos/gov/v1/gov.js +1363 -0
- package/src/cosmos/gov/v1/gov.ts +1843 -0
- package/src/cosmos/gov/v1/query.lcd.ts +85 -0
- package/src/cosmos/gov/v1/query.rpc.Query.ts +118 -0
- package/src/cosmos/gov/v1/query.rpc.func.ts +65 -0
- package/src/cosmos/gov/v1/query.ts +1970 -0
- package/src/cosmos/gov/v1/tx.amino.ts +38 -0
- package/src/cosmos/gov/v1/tx.d.ts +624 -0
- package/src/cosmos/gov/v1/tx.js +1277 -0
- package/src/cosmos/gov/v1/tx.registry.ts +3 -0
- package/src/cosmos/gov/v1/tx.rpc.func.d.ts +9 -0
- package/src/cosmos/gov/v1/tx.rpc.func.js +55 -0
- package/src/cosmos/gov/v1/tx.rpc.func.ts +45 -0
- package/src/cosmos/gov/v1/tx.rpc.msg.ts +89 -0
- package/src/cosmos/gov/v1/tx.ts +1657 -0
- package/src/cosmos/gov/v1beta1/genesis.ts +202 -0
- package/src/cosmos/gov/v1beta1/gov.d.ts +522 -0
- package/src/cosmos/gov/v1beta1/gov.js +1114 -0
- package/src/cosmos/gov/v1beta1/gov.ts +1425 -0
- package/src/cosmos/gov/v1beta1/query.d.ts +606 -0
- package/src/cosmos/gov/v1beta1/query.js +1409 -0
- package/src/cosmos/gov/v1beta1/query.lcd.ts +80 -0
- package/src/cosmos/gov/v1beta1/query.rpc.Query.ts +107 -0
- package/src/cosmos/gov/v1beta1/query.rpc.func.d.ts +10 -0
- package/src/cosmos/gov/v1beta1/query.rpc.func.js +69 -0
- package/src/cosmos/gov/v1beta1/query.rpc.func.ts +58 -0
- package/src/cosmos/gov/v1beta1/query.ts +1749 -0
- package/src/cosmos/gov/v1beta1/tx.amino.ts +23 -0
- package/src/cosmos/gov/v1beta1/tx.d.ts +325 -0
- package/src/cosmos/gov/v1beta1/tx.js +699 -0
- package/src/cosmos/gov/v1beta1/tx.registry.ts +3 -0
- package/src/cosmos/gov/v1beta1/tx.rpc.func.d.ts +6 -0
- package/src/cosmos/gov/v1beta1/tx.rpc.func.js +34 -0
- package/src/cosmos/gov/v1beta1/tx.rpc.func.ts +27 -0
- package/src/cosmos/gov/v1beta1/tx.rpc.msg.ts +53 -0
- package/src/cosmos/gov/v1beta1/tx.ts +881 -0
- package/src/cosmos/group/module/v1/module.ts +128 -0
- package/src/cosmos/group/v1/events.ts +1044 -0
- package/src/cosmos/group/v1/genesis.ts +240 -0
- package/src/cosmos/group/v1/query.lcd.ts +145 -0
- package/src/cosmos/group/v1/query.rpc.Query.ts +191 -0
- package/src/cosmos/group/v1/query.rpc.func.ts +100 -0
- package/src/cosmos/group/v1/query.ts +3015 -0
- package/src/cosmos/group/v1/tx.amino.ts +73 -0
- package/src/cosmos/group/v1/tx.d.ts +1140 -0
- package/src/cosmos/group/v1/tx.js +2567 -0
- package/src/cosmos/group/v1/tx.registry.ts +3 -0
- package/src/cosmos/group/v1/tx.rpc.func.d.ts +16 -0
- package/src/cosmos/group/v1/tx.rpc.func.js +104 -0
- package/src/cosmos/group/v1/tx.rpc.func.ts +87 -0
- package/src/cosmos/group/v1/tx.rpc.msg.ts +127 -0
- package/src/cosmos/group/v1/tx.ts +3207 -0
- package/src/cosmos/group/v1/types.d.ts +799 -0
- package/src/cosmos/group/v1/types.js +1542 -0
- package/src/cosmos/group/v1/types.ts +2081 -0
- package/src/cosmos/ics23/v1/proofs.d.ts +730 -0
- package/src/cosmos/ics23/v1/proofs.js +1605 -0
- package/src/cosmos/ics23/v1/proofs.ts +2060 -0
- package/src/cosmos/mint/module/v1/module.ts +113 -0
- package/src/cosmos/mint/v1beta1/genesis.ts +116 -0
- package/src/cosmos/mint/v1beta1/mint.ts +291 -0
- package/src/cosmos/mint/v1beta1/query.lcd.ts +27 -0
- package/src/cosmos/mint/v1beta1/query.rpc.Query.ts +52 -0
- package/src/cosmos/mint/v1beta1/query.rpc.func.ts +23 -0
- package/src/cosmos/mint/v1beta1/query.ts +541 -0
- package/src/cosmos/mint/v1beta1/tx.amino.ts +8 -0
- package/src/cosmos/mint/v1beta1/tx.registry.ts +3 -0
- package/src/cosmos/mint/v1beta1/tx.rpc.func.ts +9 -0
- package/src/cosmos/mint/v1beta1/tx.rpc.msg.ts +31 -0
- package/src/cosmos/mint/v1beta1/tx.ts +219 -0
- package/src/cosmos/msg/textual/v1/textual.ts +1 -0
- package/src/cosmos/msg/v1/msg.d.ts +1 -0
- package/src/cosmos/msg/v1/msg.js +2 -0
- package/src/cosmos/msg/v1/msg.ts +1 -0
- package/src/cosmos/nft/module/v1/module.ts +80 -0
- package/src/cosmos/nft/v1beta1/event.ts +403 -0
- package/src/cosmos/nft/v1beta1/genesis.ts +234 -0
- package/src/cosmos/nft/v1beta1/nft.ts +356 -0
- package/src/cosmos/nft/v1beta1/query.lcd.ts +69 -0
- package/src/cosmos/nft/v1beta1/query.rpc.Query.ts +102 -0
- package/src/cosmos/nft/v1beta1/query.rpc.func.ts +51 -0
- package/src/cosmos/nft/v1beta1/query.ts +1465 -0
- package/src/cosmos/nft/v1beta1/tx.amino.ts +8 -0
- package/src/cosmos/nft/v1beta1/tx.registry.ts +3 -0
- package/src/cosmos/nft/v1beta1/tx.rpc.func.ts +9 -0
- package/src/cosmos/nft/v1beta1/tx.rpc.msg.ts +23 -0
- package/src/cosmos/nft/v1beta1/tx.ts +224 -0
- package/src/cosmos/orm/module/v1alpha1/module.ts +88 -0
- package/src/cosmos/orm/query/v1alpha1/query.rpc.Query.ts +41 -0
- package/src/cosmos/orm/query/v1alpha1/query.rpc.func.ts +16 -0
- package/src/cosmos/orm/query/v1alpha1/query.ts +993 -0
- package/src/cosmos/orm/v1/orm.ts +589 -0
- package/src/cosmos/orm/v1alpha1/schema.ts +325 -0
- package/src/cosmos/params/module/v1/module.ts +80 -0
- package/src/cosmos/params/v1beta1/params.ts +255 -0
- package/src/cosmos/params/v1beta1/query.lcd.ts +34 -0
- package/src/cosmos/params/v1beta1/query.rpc.Query.ts +51 -0
- package/src/cosmos/params/v1beta1/query.rpc.func.ts +16 -0
- package/src/cosmos/params/v1beta1/query.ts +525 -0
- package/src/cosmos/query/v1/query.d.ts +1 -0
- package/src/cosmos/query/v1/query.js +2 -0
- package/src/cosmos/query/v1/query.ts +1 -0
- package/src/cosmos/reflection/v1/reflection.rpc.func.ts +9 -0
- package/src/cosmos/reflection/v1/reflection.ts +179 -0
- package/src/cosmos/rpc.query.ts +29 -0
- package/src/cosmos/rpc.tx.ts +34 -0
- package/src/cosmos/slashing/module/v1/module.ts +99 -0
- package/src/cosmos/slashing/v1beta1/genesis.ts +492 -0
- package/src/cosmos/slashing/v1beta1/query.lcd.ts +36 -0
- package/src/cosmos/slashing/v1beta1/query.rpc.Query.ts +54 -0
- package/src/cosmos/slashing/v1beta1/query.rpc.func.ts +23 -0
- package/src/cosmos/slashing/v1beta1/query.ts +598 -0
- package/src/cosmos/slashing/v1beta1/slashing.ts +357 -0
- package/src/cosmos/slashing/v1beta1/tx.amino.ts +13 -0
- package/src/cosmos/slashing/v1beta1/tx.registry.ts +3 -0
- package/src/cosmos/slashing/v1beta1/tx.rpc.func.ts +15 -0
- package/src/cosmos/slashing/v1beta1/tx.rpc.msg.ts +45 -0
- package/src/cosmos/slashing/v1beta1/tx.ts +390 -0
- package/src/cosmos/staking/module/v1/module.ts +157 -0
- package/src/cosmos/staking/v1beta1/authz.ts +323 -0
- package/src/cosmos/staking/v1beta1/genesis.ts +346 -0
- package/src/cosmos/staking/v1beta1/query.d.ts +1124 -0
- package/src/cosmos/staking/v1beta1/query.js +2414 -0
- package/src/cosmos/staking/v1beta1/query.lcd.ts +159 -0
- package/src/cosmos/staking/v1beta1/query.rpc.Query.ts +241 -0
- package/src/cosmos/staking/v1beta1/query.rpc.func.d.ts +16 -0
- package/src/cosmos/staking/v1beta1/query.rpc.func.js +117 -0
- package/src/cosmos/staking/v1beta1/query.rpc.func.ts +100 -0
- package/src/cosmos/staking/v1beta1/query.ts +3073 -0
- package/src/cosmos/staking/v1beta1/staking.d.ts +1024 -0
- package/src/cosmos/staking/v1beta1/staking.js +2371 -0
- package/src/cosmos/staking/v1beta1/staking.ts +3005 -0
- package/src/cosmos/staking/v1beta1/tx.amino.ts +38 -0
- package/src/cosmos/staking/v1beta1/tx.d.ts +590 -0
- package/src/cosmos/staking/v1beta1/tx.js +1290 -0
- package/src/cosmos/staking/v1beta1/tx.registry.ts +3 -0
- package/src/cosmos/staking/v1beta1/tx.rpc.func.d.ts +9 -0
- package/src/cosmos/staking/v1beta1/tx.rpc.func.js +55 -0
- package/src/cosmos/staking/v1beta1/tx.rpc.func.ts +45 -0
- package/src/cosmos/staking/v1beta1/tx.rpc.msg.ts +97 -0
- package/src/cosmos/staking/v1beta1/tx.ts +1638 -0
- package/src/cosmos/store/internal/kv/v1beta1/kv.ts +207 -0
- package/src/cosmos/store/snapshots/v1/snapshot.ts +863 -0
- package/src/cosmos/store/snapshots/v2/snapshot.ts +823 -0
- package/src/cosmos/store/streaming/abci/grpc.ts +393 -0
- package/src/cosmos/store/v1beta1/commit_info.ts +362 -0
- package/src/cosmos/store/v1beta1/listening.ts +286 -0
- package/src/cosmos/streaming/v1/grpc.ts +985 -0
- package/src/cosmos/tx/config/v1/config.ts +127 -0
- package/src/cosmos/tx/signing/v1beta1/signing.d.ts +270 -0
- package/src/cosmos/tx/signing/v1beta1/signing.js +570 -0
- package/src/cosmos/tx/signing/v1beta1/signing.ts +688 -0
- package/src/cosmos/tx/v1beta1/service.d.ts +916 -0
- package/src/cosmos/tx/v1beta1/service.js +1729 -0
- package/src/cosmos/tx/v1beta1/service.lcd.ts +57 -0
- package/src/cosmos/tx/v1beta1/service.rpc.Service.ts +148 -0
- package/src/cosmos/tx/v1beta1/service.rpc.func.d.ts +11 -0
- package/src/cosmos/tx/v1beta1/service.rpc.func.js +77 -0
- package/src/cosmos/tx/v1beta1/service.rpc.func.ts +65 -0
- package/src/cosmos/tx/v1beta1/service.ts +2294 -0
- package/src/cosmos/tx/v1beta1/tx.d.ts +856 -0
- package/src/cosmos/tx/v1beta1/tx.js +1398 -0
- package/src/cosmos/tx/v1beta1/tx.ts +2029 -0
- package/src/cosmos/upgrade/module/v1/module.ts +99 -0
- package/src/cosmos/upgrade/v1beta1/query.lcd.ts +52 -0
- package/src/cosmos/upgrade/v1beta1/query.rpc.Query.ts +98 -0
- package/src/cosmos/upgrade/v1beta1/query.rpc.func.ts +37 -0
- package/src/cosmos/upgrade/v1beta1/query.ts +1016 -0
- package/src/cosmos/upgrade/v1beta1/tx.amino.ts +13 -0
- package/src/cosmos/upgrade/v1beta1/tx.registry.ts +3 -0
- package/src/cosmos/upgrade/v1beta1/tx.rpc.func.ts +15 -0
- package/src/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +45 -0
- package/src/cosmos/upgrade/v1beta1/tx.ts +398 -0
- package/src/cosmos/upgrade/v1beta1/upgrade.d.ts +245 -0
- package/src/cosmos/upgrade/v1beta1/upgrade.js +416 -0
- package/src/cosmos/upgrade/v1beta1/upgrade.ts +591 -0
- package/src/cosmos/validate/module/v1/module.ts +80 -0
- package/src/cosmos/vesting/module/v1/module.ts +80 -0
- package/src/cosmos/vesting/v1beta1/tx.amino.ts +18 -0
- package/src/cosmos/vesting/v1beta1/tx.d.ts +256 -0
- package/src/cosmos/vesting/v1beta1/tx.js +553 -0
- package/src/cosmos/vesting/v1beta1/tx.registry.ts +3 -0
- package/src/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +5 -0
- package/src/cosmos/vesting/v1beta1/tx.rpc.func.js +27 -0
- package/src/cosmos/vesting/v1beta1/tx.rpc.func.ts +21 -0
- package/src/cosmos/vesting/v1beta1/tx.rpc.msg.ts +59 -0
- package/src/cosmos/vesting/v1beta1/tx.ts +698 -0
- package/src/cosmos/vesting/v1beta1/vesting.d.ts +256 -0
- package/src/cosmos/vesting/v1beta1/vesting.js +586 -0
- package/src/cosmos/vesting/v1beta1/vesting.ts +735 -0
- package/src/cosmos_proto/cosmos.d.ts +153 -0
- package/src/cosmos_proto/cosmos.js +234 -0
- package/src/cosmos_proto/cosmos.ts +341 -0
- package/src/cosmwasm/wasm/v1/authz.ts +1231 -0
- package/src/cosmwasm/wasm/v1/genesis.ts +532 -0
- package/src/cosmwasm/wasm/v1/ibc.ts +355 -0
- package/src/cosmwasm/wasm/v1/proposal_legacy.ts +2432 -0
- package/src/cosmwasm/wasm/v1/query.lcd.ts +108 -0
- package/src/cosmwasm/wasm/v1/query.rpc.Query.ts +144 -0
- package/src/cosmwasm/wasm/v1/query.rpc.func.ts +79 -0
- package/src/cosmwasm/wasm/v1/query.ts +2560 -0
- package/src/cosmwasm/wasm/v1/tx.amino.ts +88 -0
- package/src/cosmwasm/wasm/v1/tx.registry.ts +3 -0
- package/src/cosmwasm/wasm/v1/tx.rpc.func.ts +105 -0
- package/src/cosmwasm/wasm/v1/tx.rpc.msg.ts +225 -0
- package/src/cosmwasm/wasm/v1/tx.ts +4191 -0
- package/src/cosmwasm/wasm/v1/types.ts +1120 -0
- package/src/ethermint/crypto/v1/ethsecp256k1/keys.d.ts +80 -0
- package/src/ethermint/crypto/v1/ethsecp256k1/keys.js +146 -0
- package/src/ethermint/crypto/v1/ethsecp256k1/keys.ts +193 -0
- package/src/ethermint/evm/v1/events.d.ts +162 -0
- package/src/ethermint/evm/v1/events.js +384 -0
- package/src/ethermint/evm/v1/events.ts +485 -0
- package/src/ethermint/evm/v1/evm.d.ts +530 -0
- package/src/ethermint/evm/v1/evm.js +1184 -0
- package/src/ethermint/evm/v1/evm.ts +1590 -0
- package/src/ethermint/evm/v1/genesis.d.ts +87 -0
- package/src/ethermint/evm/v1/genesis.js +188 -0
- package/src/ethermint/evm/v1/genesis.ts +240 -0
- package/src/ethermint/evm/v1/query.d.ts +913 -0
- package/src/ethermint/evm/v1/query.js +1973 -0
- package/src/ethermint/evm/v1/query.lcd.ts +157 -0
- package/src/ethermint/evm/v1/query.rpc.Query.ts +164 -0
- package/src/ethermint/evm/v1/query.rpc.func.d.ts +15 -0
- package/src/ethermint/evm/v1/query.rpc.func.js +102 -0
- package/src/ethermint/evm/v1/query.rpc.func.ts +87 -0
- package/src/ethermint/evm/v1/query.ts +2535 -0
- package/src/ethermint/evm/v1/tx.amino.ts +13 -0
- package/src/ethermint/evm/v1/tx.d.ts +452 -0
- package/src/ethermint/evm/v1/tx.js +1011 -0
- package/src/ethermint/evm/v1/tx.registry.ts +3 -0
- package/src/ethermint/evm/v1/tx.rpc.func.d.ts +4 -0
- package/src/ethermint/evm/v1/tx.rpc.func.js +20 -0
- package/src/ethermint/evm/v1/tx.rpc.func.ts +15 -0
- package/src/ethermint/evm/v1/tx.rpc.msg.ts +35 -0
- package/src/ethermint/evm/v1/tx.ts +1333 -0
- package/src/ethermint/feemarket/v1/events.d.ts +70 -0
- package/src/ethermint/feemarket/v1/events.js +157 -0
- package/src/ethermint/feemarket/v1/events.ts +195 -0
- package/src/ethermint/feemarket/v1/feemarket.d.ts +78 -0
- package/src/ethermint/feemarket/v1/feemarket.js +155 -0
- package/src/ethermint/feemarket/v1/feemarket.ts +213 -0
- package/src/ethermint/feemarket/v1/genesis.d.ts +45 -0
- package/src/ethermint/feemarket/v1/genesis.js +88 -0
- package/src/ethermint/feemarket/v1/genesis.ts +114 -0
- package/src/ethermint/feemarket/v1/query.d.ts +195 -0
- package/src/ethermint/feemarket/v1/query.js +387 -0
- package/src/ethermint/feemarket/v1/query.lcd.ts +27 -0
- package/src/ethermint/feemarket/v1/query.rpc.Query.ts +52 -0
- package/src/ethermint/feemarket/v1/query.rpc.func.d.ts +5 -0
- package/src/ethermint/feemarket/v1/query.rpc.func.js +29 -0
- package/src/ethermint/feemarket/v1/query.rpc.func.ts +23 -0
- package/src/ethermint/feemarket/v1/query.ts +487 -0
- package/src/ethermint/feemarket/v1/tx.amino.ts +8 -0
- package/src/ethermint/feemarket/v1/tx.d.ts +81 -0
- package/src/ethermint/feemarket/v1/tx.js +153 -0
- package/src/ethermint/feemarket/v1/tx.registry.ts +3 -0
- package/src/ethermint/feemarket/v1/tx.rpc.func.d.ts +3 -0
- package/src/ethermint/feemarket/v1/tx.rpc.func.js +13 -0
- package/src/ethermint/feemarket/v1/tx.rpc.func.ts +9 -0
- package/src/ethermint/feemarket/v1/tx.rpc.msg.ts +27 -0
- package/src/ethermint/feemarket/v1/tx.ts +197 -0
- package/src/ethermint/types/v1/account.d.ts +45 -0
- package/src/ethermint/types/v1/account.js +88 -0
- package/src/ethermint/types/v1/account.ts +114 -0
- package/src/ethermint/types/v1/dynamic_fee.d.ts +34 -0
- package/src/ethermint/types/v1/dynamic_fee.js +75 -0
- package/src/ethermint/types/v1/dynamic_fee.ts +91 -0
- package/src/ethermint/types/v1/indexer.d.ts +76 -0
- package/src/ethermint/types/v1/indexer.js +147 -0
- package/src/ethermint/types/v1/indexer.ts +205 -0
- package/src/ethermint/types/v1/web3.d.ts +66 -0
- package/src/ethermint/types/v1/web3.js +100 -0
- package/src/ethermint/types/v1/web3.ts +147 -0
- package/src/extern.d.ts +10 -0
- package/src/extern.js +36 -0
- package/src/extern.ts +38 -0
- package/src/gogoproto/gogo.d.ts +1 -0
- package/src/gogoproto/gogo.js +2 -0
- package/src/gogoproto/gogo.ts +1 -0
- package/src/google/api/annotations.d.ts +1 -0
- package/src/google/api/annotations.js +2 -0
- package/src/google/api/annotations.ts +1 -0
- package/src/google/api/http.d.ts +764 -0
- package/src/google/api/http.js +353 -0
- package/src/google/api/http.ts +1069 -0
- package/src/google/protobuf/any.d.ts +268 -0
- package/src/google/protobuf/any.js +81 -0
- package/src/google/protobuf/any.ts +331 -0
- package/src/google/protobuf/descriptor.d.ts +2919 -0
- package/src/google/protobuf/descriptor.js +5100 -0
- package/src/google/protobuf/descriptor.ts +7177 -0
- package/src/google/protobuf/duration.d.ts +162 -0
- package/src/google/protobuf/duration.js +81 -0
- package/src/google/protobuf/duration.ts +225 -0
- package/src/google/protobuf/timestamp.d.ts +222 -0
- package/src/google/protobuf/timestamp.js +78 -0
- package/src/google/protobuf/timestamp.ts +281 -0
- package/src/helper-func-types.d.ts +117 -0
- package/src/helper-func-types.js +55 -0
- package/src/helper-func-types.ts +191 -0
- package/src/helpers.d.ts +82 -0
- package/src/helpers.js +143 -0
- package/src/helpers.ts +259 -0
- package/src/ibc/applications/fee/v1/ack.ts +131 -0
- package/src/ibc/applications/fee/v1/fee.ts +481 -0
- package/src/ibc/applications/fee/v1/genesis.ts +661 -0
- package/src/ibc/applications/fee/v1/metadata.ts +121 -0
- package/src/ibc/applications/fee/v1/query.lcd.ts +117 -0
- package/src/ibc/applications/fee/v1/query.rpc.Query.ts +129 -0
- package/src/ibc/applications/fee/v1/query.rpc.func.ts +72 -0
- package/src/ibc/applications/fee/v1/query.ts +2134 -0
- package/src/ibc/applications/fee/v1/tx.amino.ts +23 -0
- package/src/ibc/applications/fee/v1/tx.registry.ts +3 -0
- package/src/ibc/applications/fee/v1/tx.rpc.func.ts +27 -0
- package/src/ibc/applications/fee/v1/tx.rpc.msg.ts +83 -0
- package/src/ibc/applications/fee/v1/tx.ts +889 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/controller.ts +105 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/query.lcd.ts +22 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.ts +41 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/query.rpc.func.ts +16 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/query.ts +379 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.amino.ts +18 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +3 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.ts +21 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.ts +39 -0
- package/src/ibc/applications/interchain_accounts/controller/v1/tx.ts +685 -0
- package/src/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +661 -0
- package/src/ibc/applications/interchain_accounts/host/v1/host.ts +253 -0
- package/src/ibc/applications/interchain_accounts/host/v1/query.lcd.ts +17 -0
- package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.ts +30 -0
- package/src/ibc/applications/interchain_accounts/host/v1/query.rpc.func.ts +9 -0
- package/src/ibc/applications/interchain_accounts/host/v1/query.ts +177 -0
- package/src/ibc/applications/interchain_accounts/host/v1/tx.amino.ts +13 -0
- package/src/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +3 -0
- package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.ts +15 -0
- package/src/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.ts +31 -0
- package/src/ibc/applications/interchain_accounts/host/v1/tx.ts +429 -0
- package/src/ibc/applications/interchain_accounts/v1/account.ts +112 -0
- package/src/ibc/applications/interchain_accounts/v1/metadata.ts +191 -0
- package/src/ibc/applications/interchain_accounts/v1/packet.ts +259 -0
- package/src/ibc/applications/transfer/v1/authz.ts +280 -0
- package/src/ibc/applications/transfer/v1/genesis.ts +153 -0
- package/src/ibc/applications/transfer/v1/query.lcd.ts +69 -0
- package/src/ibc/applications/transfer/v1/query.rpc.Query.ts +87 -0
- package/src/ibc/applications/transfer/v1/query.rpc.func.ts +44 -0
- package/src/ibc/applications/transfer/v1/query.ts +1205 -0
- package/src/ibc/applications/transfer/v1/transfer.d.ts +112 -0
- package/src/ibc/applications/transfer/v1/transfer.js +185 -0
- package/src/ibc/applications/transfer/v1/transfer.ts +261 -0
- package/src/ibc/applications/transfer/v1/tx.amino.ts +13 -0
- package/src/ibc/applications/transfer/v1/tx.d.ts +202 -0
- package/src/ibc/applications/transfer/v1/tx.js +402 -0
- package/src/ibc/applications/transfer/v1/tx.registry.ts +3 -0
- package/src/ibc/applications/transfer/v1/tx.rpc.func.d.ts +4 -0
- package/src/ibc/applications/transfer/v1/tx.rpc.func.js +20 -0
- package/src/ibc/applications/transfer/v1/tx.rpc.func.ts +15 -0
- package/src/ibc/applications/transfer/v1/tx.rpc.msg.ts +31 -0
- package/src/ibc/applications/transfer/v1/tx.ts +532 -0
- package/src/ibc/applications/transfer/v2/packet.ts +171 -0
- package/src/ibc/core/channel/v1/channel.d.ts +547 -0
- package/src/ibc/core/channel/v1/channel.js +1167 -0
- package/src/ibc/core/channel/v1/channel.ts +1510 -0
- package/src/ibc/core/channel/v1/genesis.ts +354 -0
- package/src/ibc/core/channel/v1/query.lcd.ts +135 -0
- package/src/ibc/core/channel/v1/query.rpc.Query.ts +240 -0
- package/src/ibc/core/channel/v1/query.rpc.func.ts +121 -0
- package/src/ibc/core/channel/v1/query.ts +4354 -0
- package/src/ibc/core/channel/v1/tx.amino.ts +98 -0
- package/src/ibc/core/channel/v1/tx.d.ts +1490 -0
- package/src/ibc/core/channel/v1/tx.js +4027 -0
- package/src/ibc/core/channel/v1/tx.registry.ts +3 -0
- package/src/ibc/core/channel/v1/tx.rpc.func.d.ts +21 -0
- package/src/ibc/core/channel/v1/tx.rpc.func.js +139 -0
- package/src/ibc/core/channel/v1/tx.rpc.func.ts +117 -0
- package/src/ibc/core/channel/v1/tx.rpc.msg.ts +171 -0
- package/src/ibc/core/channel/v1/tx.ts +4866 -0
- package/src/ibc/core/channel/v1/upgrade.d.ts +139 -0
- package/src/ibc/core/channel/v1/upgrade.js +304 -0
- package/src/ibc/core/channel/v1/upgrade.ts +388 -0
- package/src/ibc/core/client/v1/client.d.ts +372 -0
- package/src/ibc/core/client/v1/client.js +675 -0
- package/src/ibc/core/client/v1/client.ts +927 -0
- package/src/ibc/core/client/v1/genesis.ts +426 -0
- package/src/ibc/core/client/v1/query.lcd.ts +86 -0
- package/src/ibc/core/client/v1/query.rpc.Query.ts +139 -0
- package/src/ibc/core/client/v1/query.rpc.func.ts +72 -0
- package/src/ibc/core/client/v1/query.ts +2280 -0
- package/src/ibc/core/client/v1/tx.amino.ts +38 -0
- package/src/ibc/core/client/v1/tx.d.ts +587 -0
- package/src/ibc/core/client/v1/tx.js +1202 -0
- package/src/ibc/core/client/v1/tx.registry.ts +3 -0
- package/src/ibc/core/client/v1/tx.rpc.func.d.ts +9 -0
- package/src/ibc/core/client/v1/tx.rpc.func.js +55 -0
- package/src/ibc/core/client/v1/tx.rpc.func.ts +45 -0
- package/src/ibc/core/client/v1/tx.rpc.msg.ts +71 -0
- package/src/ibc/core/client/v1/tx.ts +1543 -0
- package/src/ibc/core/commitment/v1/commitment.d.ts +165 -0
- package/src/ibc/core/commitment/v1/commitment.js +325 -0
- package/src/ibc/core/commitment/v1/commitment.ts +418 -0
- package/src/ibc/core/connection/v1/connection.d.ts +376 -0
- package/src/ibc/core/connection/v1/connection.js +781 -0
- package/src/ibc/core/connection/v1/connection.ts +1010 -0
- package/src/ibc/core/connection/v1/genesis.ts +146 -0
- package/src/ibc/core/connection/v1/query.lcd.ts +54 -0
- package/src/ibc/core/connection/v1/query.rpc.Query.ts +99 -0
- package/src/ibc/core/connection/v1/query.rpc.func.ts +44 -0
- package/src/ibc/core/connection/v1/query.ts +1408 -0
- package/src/ibc/core/connection/v1/tx.amino.ts +28 -0
- package/src/ibc/core/connection/v1/tx.d.ts +457 -0
- package/src/ibc/core/connection/v1/tx.js +1087 -0
- package/src/ibc/core/connection/v1/tx.registry.ts +3 -0
- package/src/ibc/core/connection/v1/tx.rpc.func.d.ts +7 -0
- package/src/ibc/core/connection/v1/tx.rpc.func.js +41 -0
- package/src/ibc/core/connection/v1/tx.rpc.func.ts +33 -0
- package/src/ibc/core/connection/v1/tx.rpc.msg.ts +63 -0
- package/src/ibc/core/connection/v1/tx.ts +1365 -0
- package/src/ibc/core/types/v1/genesis.ts +137 -0
- package/src/ibc/lightclients/localhost/v2/localhost.ts +100 -0
- package/src/ibc/lightclients/solomachine/v2/solomachine.ts +2103 -0
- package/src/ibc/lightclients/solomachine/v3/solomachine.ts +1070 -0
- package/src/ibc/lightclients/tendermint/v1/tendermint.ts +838 -0
- package/src/ibc/lightclients/wasm/v1/genesis.ts +197 -0
- package/src/ibc/lightclients/wasm/v1/query.lcd.ts +31 -0
- package/src/ibc/lightclients/wasm/v1/query.rpc.Query.ts +43 -0
- package/src/ibc/lightclients/wasm/v1/query.rpc.func.ts +16 -0
- package/src/ibc/lightclients/wasm/v1/query.ts +404 -0
- package/src/ibc/lightclients/wasm/v1/tx.amino.ts +18 -0
- package/src/ibc/lightclients/wasm/v1/tx.registry.ts +3 -0
- package/src/ibc/lightclients/wasm/v1/tx.rpc.func.ts +21 -0
- package/src/ibc/lightclients/wasm/v1/tx.rpc.msg.ts +39 -0
- package/src/ibc/lightclients/wasm/v1/tx.ts +621 -0
- package/src/ibc/lightclients/wasm/v1/wasm.ts +438 -0
- package/src/registry.d.ts +33 -0
- package/src/registry.js +158 -0
- package/src/registry.ts +218 -0
- package/src/tendermint/abci/types.d.ts +1843 -0
- package/src/tendermint/abci/types.js +5233 -0
- package/src/tendermint/abci/types.ts +6283 -0
- package/src/tendermint/crypto/keys.d.ts +34 -0
- package/src/tendermint/crypto/keys.js +88 -0
- package/src/tendermint/crypto/keys.ts +103 -0
- package/src/tendermint/crypto/proof.d.ts +174 -0
- package/src/tendermint/crypto/proof.js +458 -0
- package/src/tendermint/crypto/proof.ts +555 -0
- package/src/tendermint/p2p/types.ts +507 -0
- package/src/tendermint/types/block.d.ts +38 -0
- package/src/tendermint/types/block.js +113 -0
- package/src/tendermint/types/block.ts +131 -0
- package/src/tendermint/types/evidence.d.ts +138 -0
- package/src/tendermint/types/evidence.js +403 -0
- package/src/tendermint/types/evidence.ts +476 -0
- package/src/tendermint/types/params.d.ts +323 -0
- package/src/tendermint/types/params.js +595 -0
- package/src/tendermint/types/params.ts +814 -0
- package/src/tendermint/types/types.d.ts +640 -0
- package/src/tendermint/types/types.js +1754 -0
- package/src/tendermint/types/types.ts +2157 -0
- package/src/tendermint/types/validator.d.ts +113 -0
- package/src/tendermint/types/validator.js +342 -0
- package/src/tendermint/types/validator.ts +389 -0
- package/src/tendermint/version/types.d.ts +82 -0
- package/src/tendermint/version/types.js +169 -0
- package/src/tendermint/version/types.ts +219 -0
- package/src/types.d.ts +124 -0
- package/src/types.js +7 -0
- package/src/types.ts +155 -0
- package/src/utf8.d.ts +27 -0
- package/src/utf8.js +140 -0
- package/src/utf8.ts +148 -0
- package/src/varint.d.ts +105 -0
- package/src/varint.js +425 -0
- package/src/varint.ts +488 -0
- package/src/xpla/lcd.ts +180 -0
- package/src/xpla/reward/v1beta1/genesis.d.ts +35 -0
- package/src/xpla/reward/v1beta1/genesis.js +76 -0
- package/src/xpla/reward/v1beta1/genesis.ts +92 -0
- package/src/xpla/reward/v1beta1/query.d.ts +136 -0
- package/src/xpla/reward/v1beta1/query.js +264 -0
- package/src/xpla/reward/v1beta1/query.lcd.ts +22 -0
- package/src/xpla/reward/v1beta1/query.rpc.Query.ts +41 -0
- package/src/xpla/reward/v1beta1/query.rpc.func.d.ts +4 -0
- package/src/xpla/reward/v1beta1/query.rpc.func.js +21 -0
- package/src/xpla/reward/v1beta1/query.rpc.func.ts +16 -0
- package/src/xpla/reward/v1beta1/query.ts +333 -0
- package/src/xpla/reward/v1beta1/reward.d.ts +42 -0
- package/src/xpla/reward/v1beta1/reward.js +131 -0
- package/src/xpla/reward/v1beta1/reward.ts +153 -0
- package/src/xpla/reward/v1beta1/tx.amino.ts +13 -0
- package/src/xpla/reward/v1beta1/tx.d.ts +158 -0
- package/src/xpla/reward/v1beta1/tx.js +304 -0
- package/src/xpla/reward/v1beta1/tx.registry.ts +3 -0
- package/src/xpla/reward/v1beta1/tx.rpc.func.d.ts +4 -0
- package/src/xpla/reward/v1beta1/tx.rpc.func.js +20 -0
- package/src/xpla/reward/v1beta1/tx.rpc.func.ts +15 -0
- package/src/xpla/reward/v1beta1/tx.rpc.msg.ts +41 -0
- package/src/xpla/reward/v1beta1/tx.ts +391 -0
- package/src/xpla/rpc.query.ts +129 -0
- package/src/xpla/rpc.tx.ts +6 -0
- package/src/xpla/volunteer/v1beta1/genesis.d.ts +33 -0
- package/src/xpla/volunteer/v1beta1/genesis.js +79 -0
- package/src/xpla/volunteer/v1beta1/genesis.ts +92 -0
- package/src/xpla/volunteer/v1beta1/proposal.d.ts +183 -0
- package/src/xpla/volunteer/v1beta1/proposal.js +537 -0
- package/src/xpla/volunteer/v1beta1/proposal.ts +649 -0
- package/src/xpla/volunteer/v1beta1/query.d.ts +60 -0
- package/src/xpla/volunteer/v1beta1/query.js +135 -0
- package/src/xpla/volunteer/v1beta1/query.lcd.ts +17 -0
- package/src/xpla/volunteer/v1beta1/query.rpc.Query.ts +30 -0
- package/src/xpla/volunteer/v1beta1/query.rpc.func.d.ts +3 -0
- package/src/xpla/volunteer/v1beta1/query.rpc.func.js +13 -0
- package/src/xpla/volunteer/v1beta1/query.rpc.func.ts +9 -0
- package/src/xpla/volunteer/v1beta1/query.ts +160 -0
- package/src/xpla/volunteer/v1beta1/tx.amino.ts +13 -0
- package/src/xpla/volunteer/v1beta1/tx.d.ts +168 -0
- package/src/xpla/volunteer/v1beta1/tx.js +351 -0
- package/src/xpla/volunteer/v1beta1/tx.registry.ts +3 -0
- package/src/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +4 -0
- package/src/xpla/volunteer/v1beta1/tx.rpc.func.js +20 -0
- package/src/xpla/volunteer/v1beta1/tx.rpc.func.ts +15 -0
- package/src/xpla/volunteer/v1beta1/tx.rpc.msg.ts +35 -0
- package/src/xpla/volunteer/v1beta1/tx.ts +448 -0
- package/src/xpla/volunteer/v1beta1/volunteervalidator.d.ts +38 -0
- package/src/xpla/volunteer/v1beta1/volunteervalidator.js +87 -0
- package/src/xpla/volunteer/v1beta1/volunteervalidator.ts +107 -0
- package/tsconfig.esm.json +10 -0
- package/tsconfig.json +10 -0
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
import { DeepPartial, bytesFromBase64, base64FromBytes, isSet } from "../../../helpers";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
|
+
/** StorageType */
|
|
5
|
+
export enum StorageType {
|
|
6
|
+
/**
|
|
7
|
+
* STORAGE_TYPE_DEFAULT_UNSPECIFIED - STORAGE_TYPE_DEFAULT_UNSPECIFIED indicates the persistent storage where all
|
|
8
|
+
* data is stored in the regular Merkle-tree backed KV-store.
|
|
9
|
+
*/
|
|
10
|
+
STORAGE_TYPE_DEFAULT_UNSPECIFIED = 0,
|
|
11
|
+
/**
|
|
12
|
+
* STORAGE_TYPE_MEMORY - STORAGE_TYPE_MEMORY indicates in-memory storage that will be
|
|
13
|
+
* reloaded every time an app restarts. Tables with this type of storage
|
|
14
|
+
* will by default be ignored when importing and exporting a module's
|
|
15
|
+
* state from JSON.
|
|
16
|
+
*/
|
|
17
|
+
STORAGE_TYPE_MEMORY = 1,
|
|
18
|
+
/**
|
|
19
|
+
* STORAGE_TYPE_TRANSIENT - STORAGE_TYPE_TRANSIENT indicates transient storage that is reset
|
|
20
|
+
* at the end of every block. Tables with this type of storage
|
|
21
|
+
* will by default be ignored when importing and exporting a module's
|
|
22
|
+
* state from JSON.
|
|
23
|
+
*/
|
|
24
|
+
STORAGE_TYPE_TRANSIENT = 2,
|
|
25
|
+
UNRECOGNIZED = -1,
|
|
26
|
+
}
|
|
27
|
+
export const StorageTypeAmino = StorageType;
|
|
28
|
+
export function storageTypeFromJSON(object: any): StorageType {
|
|
29
|
+
switch (object) {
|
|
30
|
+
case 0:
|
|
31
|
+
case "STORAGE_TYPE_DEFAULT_UNSPECIFIED":
|
|
32
|
+
return StorageType.STORAGE_TYPE_DEFAULT_UNSPECIFIED;
|
|
33
|
+
case 1:
|
|
34
|
+
case "STORAGE_TYPE_MEMORY":
|
|
35
|
+
return StorageType.STORAGE_TYPE_MEMORY;
|
|
36
|
+
case 2:
|
|
37
|
+
case "STORAGE_TYPE_TRANSIENT":
|
|
38
|
+
return StorageType.STORAGE_TYPE_TRANSIENT;
|
|
39
|
+
case -1:
|
|
40
|
+
case "UNRECOGNIZED":
|
|
41
|
+
default:
|
|
42
|
+
return StorageType.UNRECOGNIZED;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export function storageTypeToJSON(object: StorageType): string {
|
|
46
|
+
switch (object) {
|
|
47
|
+
case StorageType.STORAGE_TYPE_DEFAULT_UNSPECIFIED:
|
|
48
|
+
return "STORAGE_TYPE_DEFAULT_UNSPECIFIED";
|
|
49
|
+
case StorageType.STORAGE_TYPE_MEMORY:
|
|
50
|
+
return "STORAGE_TYPE_MEMORY";
|
|
51
|
+
case StorageType.STORAGE_TYPE_TRANSIENT:
|
|
52
|
+
return "STORAGE_TYPE_TRANSIENT";
|
|
53
|
+
case StorageType.UNRECOGNIZED:
|
|
54
|
+
default:
|
|
55
|
+
return "UNRECOGNIZED";
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
/** ModuleSchemaDescriptor describe's a module's ORM schema. */
|
|
59
|
+
export interface ModuleSchemaDescriptor {
|
|
60
|
+
schemaFile: ModuleSchemaDescriptor_FileEntry[];
|
|
61
|
+
/**
|
|
62
|
+
* prefix is an optional prefix that precedes all keys in this module's
|
|
63
|
+
* store.
|
|
64
|
+
*/
|
|
65
|
+
prefix: Uint8Array;
|
|
66
|
+
}
|
|
67
|
+
export interface ModuleSchemaDescriptorProtoMsg {
|
|
68
|
+
typeUrl: "/cosmos.orm.v1alpha1.ModuleSchemaDescriptor";
|
|
69
|
+
value: Uint8Array;
|
|
70
|
+
}
|
|
71
|
+
/** ModuleSchemaDescriptor describe's a module's ORM schema. */
|
|
72
|
+
export interface ModuleSchemaDescriptorAmino {
|
|
73
|
+
schema_file: ModuleSchemaDescriptor_FileEntryAmino[];
|
|
74
|
+
/**
|
|
75
|
+
* prefix is an optional prefix that precedes all keys in this module's
|
|
76
|
+
* store.
|
|
77
|
+
*/
|
|
78
|
+
prefix: string;
|
|
79
|
+
}
|
|
80
|
+
export interface ModuleSchemaDescriptorAminoMsg {
|
|
81
|
+
type: "cosmos-sdk/ModuleSchemaDescriptor";
|
|
82
|
+
value: ModuleSchemaDescriptorAmino;
|
|
83
|
+
}
|
|
84
|
+
/** FileEntry describes an ORM file used in a module. */
|
|
85
|
+
export interface ModuleSchemaDescriptor_FileEntry {
|
|
86
|
+
/**
|
|
87
|
+
* id is a prefix that will be varint encoded and prepended to all the
|
|
88
|
+
* table keys specified in the file's tables.
|
|
89
|
+
*/
|
|
90
|
+
id: number;
|
|
91
|
+
/**
|
|
92
|
+
* proto_file_name is the name of a file .proto in that contains
|
|
93
|
+
* table definitions. The .proto file must be in a package that the
|
|
94
|
+
* module has referenced using cosmos.app.v1.ModuleDescriptor.use_package.
|
|
95
|
+
*/
|
|
96
|
+
protoFileName: string;
|
|
97
|
+
/**
|
|
98
|
+
* storage_type optionally indicates the type of storage this file's
|
|
99
|
+
* tables should used. If it is left unspecified, the default KV-storage
|
|
100
|
+
* of the app will be used.
|
|
101
|
+
*/
|
|
102
|
+
storageType: StorageType;
|
|
103
|
+
}
|
|
104
|
+
export interface ModuleSchemaDescriptor_FileEntryProtoMsg {
|
|
105
|
+
typeUrl: "/cosmos.orm.v1alpha1.FileEntry";
|
|
106
|
+
value: Uint8Array;
|
|
107
|
+
}
|
|
108
|
+
/** FileEntry describes an ORM file used in a module. */
|
|
109
|
+
export interface ModuleSchemaDescriptor_FileEntryAmino {
|
|
110
|
+
/**
|
|
111
|
+
* id is a prefix that will be varint encoded and prepended to all the
|
|
112
|
+
* table keys specified in the file's tables.
|
|
113
|
+
*/
|
|
114
|
+
id: number;
|
|
115
|
+
/**
|
|
116
|
+
* proto_file_name is the name of a file .proto in that contains
|
|
117
|
+
* table definitions. The .proto file must be in a package that the
|
|
118
|
+
* module has referenced using cosmos.app.v1.ModuleDescriptor.use_package.
|
|
119
|
+
*/
|
|
120
|
+
proto_file_name: string;
|
|
121
|
+
/**
|
|
122
|
+
* storage_type optionally indicates the type of storage this file's
|
|
123
|
+
* tables should used. If it is left unspecified, the default KV-storage
|
|
124
|
+
* of the app will be used.
|
|
125
|
+
*/
|
|
126
|
+
storage_type: StorageType;
|
|
127
|
+
}
|
|
128
|
+
export interface ModuleSchemaDescriptor_FileEntryAminoMsg {
|
|
129
|
+
type: "cosmos-sdk/FileEntry";
|
|
130
|
+
value: ModuleSchemaDescriptor_FileEntryAmino;
|
|
131
|
+
}
|
|
132
|
+
function createBaseModuleSchemaDescriptor(): ModuleSchemaDescriptor {
|
|
133
|
+
return {
|
|
134
|
+
schemaFile: [],
|
|
135
|
+
prefix: new Uint8Array()
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
export const ModuleSchemaDescriptor = {
|
|
139
|
+
typeUrl: "/cosmos.orm.v1alpha1.ModuleSchemaDescriptor",
|
|
140
|
+
aminoType: "cosmos-sdk/ModuleSchemaDescriptor",
|
|
141
|
+
is(o: any): o is ModuleSchemaDescriptor {
|
|
142
|
+
return o && (o.$typeUrl === ModuleSchemaDescriptor.typeUrl || Array.isArray(o.schemaFile) && (!o.schemaFile.length || ModuleSchemaDescriptor_FileEntry.is(o.schemaFile[0])) && (o.prefix instanceof Uint8Array || typeof o.prefix === "string"));
|
|
143
|
+
},
|
|
144
|
+
isAmino(o: any): o is ModuleSchemaDescriptorAmino {
|
|
145
|
+
return o && (o.$typeUrl === ModuleSchemaDescriptor.typeUrl || Array.isArray(o.schema_file) && (!o.schema_file.length || ModuleSchemaDescriptor_FileEntry.isAmino(o.schema_file[0])) && (o.prefix instanceof Uint8Array || typeof o.prefix === "string"));
|
|
146
|
+
},
|
|
147
|
+
encode(message: ModuleSchemaDescriptor, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
148
|
+
for (const v of message.schemaFile) {
|
|
149
|
+
ModuleSchemaDescriptor_FileEntry.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
150
|
+
}
|
|
151
|
+
if (message.prefix.length !== 0) {
|
|
152
|
+
writer.uint32(18).bytes(message.prefix);
|
|
153
|
+
}
|
|
154
|
+
return writer;
|
|
155
|
+
},
|
|
156
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ModuleSchemaDescriptor {
|
|
157
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
158
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
159
|
+
const message = createBaseModuleSchemaDescriptor();
|
|
160
|
+
while (reader.pos < end) {
|
|
161
|
+
const tag = reader.uint32();
|
|
162
|
+
switch (tag >>> 3) {
|
|
163
|
+
case 1:
|
|
164
|
+
message.schemaFile.push(ModuleSchemaDescriptor_FileEntry.decode(reader, reader.uint32()));
|
|
165
|
+
break;
|
|
166
|
+
case 2:
|
|
167
|
+
message.prefix = reader.bytes();
|
|
168
|
+
break;
|
|
169
|
+
default:
|
|
170
|
+
reader.skipType(tag & 7);
|
|
171
|
+
break;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
return message;
|
|
175
|
+
},
|
|
176
|
+
fromPartial(object: DeepPartial<ModuleSchemaDescriptor>): ModuleSchemaDescriptor {
|
|
177
|
+
const message = createBaseModuleSchemaDescriptor();
|
|
178
|
+
message.schemaFile = object.schemaFile?.map(e => ModuleSchemaDescriptor_FileEntry.fromPartial(e)) || [];
|
|
179
|
+
message.prefix = object.prefix ?? new Uint8Array();
|
|
180
|
+
return message;
|
|
181
|
+
},
|
|
182
|
+
fromAmino(object: ModuleSchemaDescriptorAmino): ModuleSchemaDescriptor {
|
|
183
|
+
const message = createBaseModuleSchemaDescriptor();
|
|
184
|
+
message.schemaFile = object.schema_file?.map(e => ModuleSchemaDescriptor_FileEntry.fromAmino(e)) || [];
|
|
185
|
+
if (object.prefix !== undefined && object.prefix !== null) {
|
|
186
|
+
message.prefix = bytesFromBase64(object.prefix);
|
|
187
|
+
}
|
|
188
|
+
return message;
|
|
189
|
+
},
|
|
190
|
+
toAmino(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorAmino {
|
|
191
|
+
const obj: any = {};
|
|
192
|
+
if (message.schemaFile) {
|
|
193
|
+
obj.schema_file = message.schemaFile.map(e => e ? ModuleSchemaDescriptor_FileEntry.toAmino(e) : undefined);
|
|
194
|
+
} else {
|
|
195
|
+
obj.schema_file = message.schemaFile;
|
|
196
|
+
}
|
|
197
|
+
obj.prefix = message.prefix ? base64FromBytes(message.prefix) : undefined;
|
|
198
|
+
return obj;
|
|
199
|
+
},
|
|
200
|
+
fromAminoMsg(object: ModuleSchemaDescriptorAminoMsg): ModuleSchemaDescriptor {
|
|
201
|
+
return ModuleSchemaDescriptor.fromAmino(object.value);
|
|
202
|
+
},
|
|
203
|
+
toAminoMsg(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorAminoMsg {
|
|
204
|
+
return {
|
|
205
|
+
type: "cosmos-sdk/ModuleSchemaDescriptor",
|
|
206
|
+
value: ModuleSchemaDescriptor.toAmino(message)
|
|
207
|
+
};
|
|
208
|
+
},
|
|
209
|
+
fromProtoMsg(message: ModuleSchemaDescriptorProtoMsg): ModuleSchemaDescriptor {
|
|
210
|
+
return ModuleSchemaDescriptor.decode(message.value);
|
|
211
|
+
},
|
|
212
|
+
toProto(message: ModuleSchemaDescriptor): Uint8Array {
|
|
213
|
+
return ModuleSchemaDescriptor.encode(message).finish();
|
|
214
|
+
},
|
|
215
|
+
toProtoMsg(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorProtoMsg {
|
|
216
|
+
return {
|
|
217
|
+
typeUrl: "/cosmos.orm.v1alpha1.ModuleSchemaDescriptor",
|
|
218
|
+
value: ModuleSchemaDescriptor.encode(message).finish()
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
GlobalDecoderRegistry.register(ModuleSchemaDescriptor.typeUrl, ModuleSchemaDescriptor);
|
|
223
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(ModuleSchemaDescriptor.aminoType, ModuleSchemaDescriptor.typeUrl);
|
|
224
|
+
function createBaseModuleSchemaDescriptor_FileEntry(): ModuleSchemaDescriptor_FileEntry {
|
|
225
|
+
return {
|
|
226
|
+
id: 0,
|
|
227
|
+
protoFileName: "",
|
|
228
|
+
storageType: 0
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
export const ModuleSchemaDescriptor_FileEntry = {
|
|
232
|
+
typeUrl: "/cosmos.orm.v1alpha1.FileEntry",
|
|
233
|
+
aminoType: "cosmos-sdk/FileEntry",
|
|
234
|
+
is(o: any): o is ModuleSchemaDescriptor_FileEntry {
|
|
235
|
+
return o && (o.$typeUrl === ModuleSchemaDescriptor_FileEntry.typeUrl || typeof o.id === "number" && typeof o.protoFileName === "string" && isSet(o.storageType));
|
|
236
|
+
},
|
|
237
|
+
isAmino(o: any): o is ModuleSchemaDescriptor_FileEntryAmino {
|
|
238
|
+
return o && (o.$typeUrl === ModuleSchemaDescriptor_FileEntry.typeUrl || typeof o.id === "number" && typeof o.proto_file_name === "string" && isSet(o.storage_type));
|
|
239
|
+
},
|
|
240
|
+
encode(message: ModuleSchemaDescriptor_FileEntry, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
241
|
+
if (message.id !== 0) {
|
|
242
|
+
writer.uint32(8).uint32(message.id);
|
|
243
|
+
}
|
|
244
|
+
if (message.protoFileName !== "") {
|
|
245
|
+
writer.uint32(18).string(message.protoFileName);
|
|
246
|
+
}
|
|
247
|
+
if (message.storageType !== 0) {
|
|
248
|
+
writer.uint32(24).int32(message.storageType);
|
|
249
|
+
}
|
|
250
|
+
return writer;
|
|
251
|
+
},
|
|
252
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ModuleSchemaDescriptor_FileEntry {
|
|
253
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
254
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
255
|
+
const message = createBaseModuleSchemaDescriptor_FileEntry();
|
|
256
|
+
while (reader.pos < end) {
|
|
257
|
+
const tag = reader.uint32();
|
|
258
|
+
switch (tag >>> 3) {
|
|
259
|
+
case 1:
|
|
260
|
+
message.id = reader.uint32();
|
|
261
|
+
break;
|
|
262
|
+
case 2:
|
|
263
|
+
message.protoFileName = reader.string();
|
|
264
|
+
break;
|
|
265
|
+
case 3:
|
|
266
|
+
message.storageType = reader.int32() as any;
|
|
267
|
+
break;
|
|
268
|
+
default:
|
|
269
|
+
reader.skipType(tag & 7);
|
|
270
|
+
break;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
return message;
|
|
274
|
+
},
|
|
275
|
+
fromPartial(object: DeepPartial<ModuleSchemaDescriptor_FileEntry>): ModuleSchemaDescriptor_FileEntry {
|
|
276
|
+
const message = createBaseModuleSchemaDescriptor_FileEntry();
|
|
277
|
+
message.id = object.id ?? 0;
|
|
278
|
+
message.protoFileName = object.protoFileName ?? "";
|
|
279
|
+
message.storageType = object.storageType ?? 0;
|
|
280
|
+
return message;
|
|
281
|
+
},
|
|
282
|
+
fromAmino(object: ModuleSchemaDescriptor_FileEntryAmino): ModuleSchemaDescriptor_FileEntry {
|
|
283
|
+
const message = createBaseModuleSchemaDescriptor_FileEntry();
|
|
284
|
+
if (object.id !== undefined && object.id !== null) {
|
|
285
|
+
message.id = object.id;
|
|
286
|
+
}
|
|
287
|
+
if (object.proto_file_name !== undefined && object.proto_file_name !== null) {
|
|
288
|
+
message.protoFileName = object.proto_file_name;
|
|
289
|
+
}
|
|
290
|
+
if (object.storage_type !== undefined && object.storage_type !== null) {
|
|
291
|
+
message.storageType = object.storage_type;
|
|
292
|
+
}
|
|
293
|
+
return message;
|
|
294
|
+
},
|
|
295
|
+
toAmino(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntryAmino {
|
|
296
|
+
const obj: any = {};
|
|
297
|
+
obj.id = message.id === 0 ? undefined : message.id;
|
|
298
|
+
obj.proto_file_name = message.protoFileName === "" ? undefined : message.protoFileName;
|
|
299
|
+
obj.storage_type = message.storageType === 0 ? undefined : message.storageType;
|
|
300
|
+
return obj;
|
|
301
|
+
},
|
|
302
|
+
fromAminoMsg(object: ModuleSchemaDescriptor_FileEntryAminoMsg): ModuleSchemaDescriptor_FileEntry {
|
|
303
|
+
return ModuleSchemaDescriptor_FileEntry.fromAmino(object.value);
|
|
304
|
+
},
|
|
305
|
+
toAminoMsg(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntryAminoMsg {
|
|
306
|
+
return {
|
|
307
|
+
type: "cosmos-sdk/FileEntry",
|
|
308
|
+
value: ModuleSchemaDescriptor_FileEntry.toAmino(message)
|
|
309
|
+
};
|
|
310
|
+
},
|
|
311
|
+
fromProtoMsg(message: ModuleSchemaDescriptor_FileEntryProtoMsg): ModuleSchemaDescriptor_FileEntry {
|
|
312
|
+
return ModuleSchemaDescriptor_FileEntry.decode(message.value);
|
|
313
|
+
},
|
|
314
|
+
toProto(message: ModuleSchemaDescriptor_FileEntry): Uint8Array {
|
|
315
|
+
return ModuleSchemaDescriptor_FileEntry.encode(message).finish();
|
|
316
|
+
},
|
|
317
|
+
toProtoMsg(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntryProtoMsg {
|
|
318
|
+
return {
|
|
319
|
+
typeUrl: "/cosmos.orm.v1alpha1.FileEntry",
|
|
320
|
+
value: ModuleSchemaDescriptor_FileEntry.encode(message).finish()
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
};
|
|
324
|
+
GlobalDecoderRegistry.register(ModuleSchemaDescriptor_FileEntry.typeUrl, ModuleSchemaDescriptor_FileEntry);
|
|
325
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(ModuleSchemaDescriptor_FileEntry.aminoType, ModuleSchemaDescriptor_FileEntry.typeUrl);
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../../helpers";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../../registry";
|
|
4
|
+
/** Module is the config object of the params module. */
|
|
5
|
+
export interface Module {}
|
|
6
|
+
export interface ModuleProtoMsg {
|
|
7
|
+
typeUrl: "/cosmos.params.module.v1.Module";
|
|
8
|
+
value: Uint8Array;
|
|
9
|
+
}
|
|
10
|
+
/** Module is the config object of the params module. */
|
|
11
|
+
export interface ModuleAmino {}
|
|
12
|
+
export interface ModuleAminoMsg {
|
|
13
|
+
type: "cosmos-sdk/Module";
|
|
14
|
+
value: ModuleAmino;
|
|
15
|
+
}
|
|
16
|
+
function createBaseModule(): Module {
|
|
17
|
+
return {};
|
|
18
|
+
}
|
|
19
|
+
export const Module = {
|
|
20
|
+
typeUrl: "/cosmos.params.module.v1.Module",
|
|
21
|
+
aminoType: "cosmos-sdk/Module",
|
|
22
|
+
is(o: any): o is Module {
|
|
23
|
+
return o && o.$typeUrl === Module.typeUrl;
|
|
24
|
+
},
|
|
25
|
+
isAmino(o: any): o is ModuleAmino {
|
|
26
|
+
return o && o.$typeUrl === Module.typeUrl;
|
|
27
|
+
},
|
|
28
|
+
encode(_: Module, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
29
|
+
return writer;
|
|
30
|
+
},
|
|
31
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Module {
|
|
32
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
33
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
34
|
+
const message = createBaseModule();
|
|
35
|
+
while (reader.pos < end) {
|
|
36
|
+
const tag = reader.uint32();
|
|
37
|
+
switch (tag >>> 3) {
|
|
38
|
+
default:
|
|
39
|
+
reader.skipType(tag & 7);
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return message;
|
|
44
|
+
},
|
|
45
|
+
fromPartial(_: DeepPartial<Module>): Module {
|
|
46
|
+
const message = createBaseModule();
|
|
47
|
+
return message;
|
|
48
|
+
},
|
|
49
|
+
fromAmino(_: ModuleAmino): Module {
|
|
50
|
+
const message = createBaseModule();
|
|
51
|
+
return message;
|
|
52
|
+
},
|
|
53
|
+
toAmino(_: Module): ModuleAmino {
|
|
54
|
+
const obj: any = {};
|
|
55
|
+
return obj;
|
|
56
|
+
},
|
|
57
|
+
fromAminoMsg(object: ModuleAminoMsg): Module {
|
|
58
|
+
return Module.fromAmino(object.value);
|
|
59
|
+
},
|
|
60
|
+
toAminoMsg(message: Module): ModuleAminoMsg {
|
|
61
|
+
return {
|
|
62
|
+
type: "cosmos-sdk/Module",
|
|
63
|
+
value: Module.toAmino(message)
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
fromProtoMsg(message: ModuleProtoMsg): Module {
|
|
67
|
+
return Module.decode(message.value);
|
|
68
|
+
},
|
|
69
|
+
toProto(message: Module): Uint8Array {
|
|
70
|
+
return Module.encode(message).finish();
|
|
71
|
+
},
|
|
72
|
+
toProtoMsg(message: Module): ModuleProtoMsg {
|
|
73
|
+
return {
|
|
74
|
+
typeUrl: "/cosmos.params.module.v1.Module",
|
|
75
|
+
value: Module.encode(message).finish()
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
GlobalDecoderRegistry.register(Module.typeUrl, Module);
|
|
80
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(Module.aminoType, Module.typeUrl);
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
2
|
+
import { DeepPartial } from "../../../helpers";
|
|
3
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
4
|
+
/** ParameterChangeProposal defines a proposal to change one or more parameters. */
|
|
5
|
+
export interface ParameterChangeProposal {
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
changes: ParamChange[];
|
|
9
|
+
}
|
|
10
|
+
export interface ParameterChangeProposalProtoMsg {
|
|
11
|
+
typeUrl: "/cosmos.params.v1beta1.ParameterChangeProposal";
|
|
12
|
+
value: Uint8Array;
|
|
13
|
+
}
|
|
14
|
+
/** ParameterChangeProposal defines a proposal to change one or more parameters. */
|
|
15
|
+
export interface ParameterChangeProposalAmino {
|
|
16
|
+
title: string;
|
|
17
|
+
description: string;
|
|
18
|
+
changes: ParamChangeAmino[];
|
|
19
|
+
}
|
|
20
|
+
export interface ParameterChangeProposalAminoMsg {
|
|
21
|
+
type: "cosmos-sdk/ParameterChangeProposal";
|
|
22
|
+
value: ParameterChangeProposalAmino;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* ParamChange defines an individual parameter change, for use in
|
|
26
|
+
* ParameterChangeProposal.
|
|
27
|
+
*/
|
|
28
|
+
export interface ParamChange {
|
|
29
|
+
subspace: string;
|
|
30
|
+
key: string;
|
|
31
|
+
value: string;
|
|
32
|
+
}
|
|
33
|
+
export interface ParamChangeProtoMsg {
|
|
34
|
+
typeUrl: "/cosmos.params.v1beta1.ParamChange";
|
|
35
|
+
value: Uint8Array;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* ParamChange defines an individual parameter change, for use in
|
|
39
|
+
* ParameterChangeProposal.
|
|
40
|
+
*/
|
|
41
|
+
export interface ParamChangeAmino {
|
|
42
|
+
subspace: string;
|
|
43
|
+
key: string;
|
|
44
|
+
value: string;
|
|
45
|
+
}
|
|
46
|
+
export interface ParamChangeAminoMsg {
|
|
47
|
+
type: "cosmos-sdk/ParamChange";
|
|
48
|
+
value: ParamChangeAmino;
|
|
49
|
+
}
|
|
50
|
+
function createBaseParameterChangeProposal(): ParameterChangeProposal {
|
|
51
|
+
return {
|
|
52
|
+
title: "",
|
|
53
|
+
description: "",
|
|
54
|
+
changes: []
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
export const ParameterChangeProposal = {
|
|
58
|
+
typeUrl: "/cosmos.params.v1beta1.ParameterChangeProposal",
|
|
59
|
+
aminoType: "cosmos-sdk/ParameterChangeProposal",
|
|
60
|
+
is(o: any): o is ParameterChangeProposal {
|
|
61
|
+
return o && (o.$typeUrl === ParameterChangeProposal.typeUrl || typeof o.title === "string" && typeof o.description === "string" && Array.isArray(o.changes) && (!o.changes.length || ParamChange.is(o.changes[0])));
|
|
62
|
+
},
|
|
63
|
+
isAmino(o: any): o is ParameterChangeProposalAmino {
|
|
64
|
+
return o && (o.$typeUrl === ParameterChangeProposal.typeUrl || typeof o.title === "string" && typeof o.description === "string" && Array.isArray(o.changes) && (!o.changes.length || ParamChange.isAmino(o.changes[0])));
|
|
65
|
+
},
|
|
66
|
+
encode(message: ParameterChangeProposal, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
67
|
+
if (message.title !== "") {
|
|
68
|
+
writer.uint32(10).string(message.title);
|
|
69
|
+
}
|
|
70
|
+
if (message.description !== "") {
|
|
71
|
+
writer.uint32(18).string(message.description);
|
|
72
|
+
}
|
|
73
|
+
for (const v of message.changes) {
|
|
74
|
+
ParamChange.encode(v!, writer.uint32(26).fork()).ldelim();
|
|
75
|
+
}
|
|
76
|
+
return writer;
|
|
77
|
+
},
|
|
78
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ParameterChangeProposal {
|
|
79
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
80
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
81
|
+
const message = createBaseParameterChangeProposal();
|
|
82
|
+
while (reader.pos < end) {
|
|
83
|
+
const tag = reader.uint32();
|
|
84
|
+
switch (tag >>> 3) {
|
|
85
|
+
case 1:
|
|
86
|
+
message.title = reader.string();
|
|
87
|
+
break;
|
|
88
|
+
case 2:
|
|
89
|
+
message.description = reader.string();
|
|
90
|
+
break;
|
|
91
|
+
case 3:
|
|
92
|
+
message.changes.push(ParamChange.decode(reader, reader.uint32()));
|
|
93
|
+
break;
|
|
94
|
+
default:
|
|
95
|
+
reader.skipType(tag & 7);
|
|
96
|
+
break;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return message;
|
|
100
|
+
},
|
|
101
|
+
fromPartial(object: DeepPartial<ParameterChangeProposal>): ParameterChangeProposal {
|
|
102
|
+
const message = createBaseParameterChangeProposal();
|
|
103
|
+
message.title = object.title ?? "";
|
|
104
|
+
message.description = object.description ?? "";
|
|
105
|
+
message.changes = object.changes?.map(e => ParamChange.fromPartial(e)) || [];
|
|
106
|
+
return message;
|
|
107
|
+
},
|
|
108
|
+
fromAmino(object: ParameterChangeProposalAmino): ParameterChangeProposal {
|
|
109
|
+
const message = createBaseParameterChangeProposal();
|
|
110
|
+
if (object.title !== undefined && object.title !== null) {
|
|
111
|
+
message.title = object.title;
|
|
112
|
+
}
|
|
113
|
+
if (object.description !== undefined && object.description !== null) {
|
|
114
|
+
message.description = object.description;
|
|
115
|
+
}
|
|
116
|
+
message.changes = object.changes?.map(e => ParamChange.fromAmino(e)) || [];
|
|
117
|
+
return message;
|
|
118
|
+
},
|
|
119
|
+
toAmino(message: ParameterChangeProposal): ParameterChangeProposalAmino {
|
|
120
|
+
const obj: any = {};
|
|
121
|
+
obj.title = message.title === "" ? undefined : message.title;
|
|
122
|
+
obj.description = message.description === "" ? undefined : message.description;
|
|
123
|
+
if (message.changes) {
|
|
124
|
+
obj.changes = message.changes.map(e => e ? ParamChange.toAmino(e) : undefined);
|
|
125
|
+
} else {
|
|
126
|
+
obj.changes = message.changes;
|
|
127
|
+
}
|
|
128
|
+
return obj;
|
|
129
|
+
},
|
|
130
|
+
fromAminoMsg(object: ParameterChangeProposalAminoMsg): ParameterChangeProposal {
|
|
131
|
+
return ParameterChangeProposal.fromAmino(object.value);
|
|
132
|
+
},
|
|
133
|
+
toAminoMsg(message: ParameterChangeProposal): ParameterChangeProposalAminoMsg {
|
|
134
|
+
return {
|
|
135
|
+
type: "cosmos-sdk/ParameterChangeProposal",
|
|
136
|
+
value: ParameterChangeProposal.toAmino(message)
|
|
137
|
+
};
|
|
138
|
+
},
|
|
139
|
+
fromProtoMsg(message: ParameterChangeProposalProtoMsg): ParameterChangeProposal {
|
|
140
|
+
return ParameterChangeProposal.decode(message.value);
|
|
141
|
+
},
|
|
142
|
+
toProto(message: ParameterChangeProposal): Uint8Array {
|
|
143
|
+
return ParameterChangeProposal.encode(message).finish();
|
|
144
|
+
},
|
|
145
|
+
toProtoMsg(message: ParameterChangeProposal): ParameterChangeProposalProtoMsg {
|
|
146
|
+
return {
|
|
147
|
+
typeUrl: "/cosmos.params.v1beta1.ParameterChangeProposal",
|
|
148
|
+
value: ParameterChangeProposal.encode(message).finish()
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
GlobalDecoderRegistry.register(ParameterChangeProposal.typeUrl, ParameterChangeProposal);
|
|
153
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(ParameterChangeProposal.aminoType, ParameterChangeProposal.typeUrl);
|
|
154
|
+
function createBaseParamChange(): ParamChange {
|
|
155
|
+
return {
|
|
156
|
+
subspace: "",
|
|
157
|
+
key: "",
|
|
158
|
+
value: ""
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
export const ParamChange = {
|
|
162
|
+
typeUrl: "/cosmos.params.v1beta1.ParamChange",
|
|
163
|
+
aminoType: "cosmos-sdk/ParamChange",
|
|
164
|
+
is(o: any): o is ParamChange {
|
|
165
|
+
return o && (o.$typeUrl === ParamChange.typeUrl || typeof o.subspace === "string" && typeof o.key === "string" && typeof o.value === "string");
|
|
166
|
+
},
|
|
167
|
+
isAmino(o: any): o is ParamChangeAmino {
|
|
168
|
+
return o && (o.$typeUrl === ParamChange.typeUrl || typeof o.subspace === "string" && typeof o.key === "string" && typeof o.value === "string");
|
|
169
|
+
},
|
|
170
|
+
encode(message: ParamChange, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
171
|
+
if (message.subspace !== "") {
|
|
172
|
+
writer.uint32(10).string(message.subspace);
|
|
173
|
+
}
|
|
174
|
+
if (message.key !== "") {
|
|
175
|
+
writer.uint32(18).string(message.key);
|
|
176
|
+
}
|
|
177
|
+
if (message.value !== "") {
|
|
178
|
+
writer.uint32(26).string(message.value);
|
|
179
|
+
}
|
|
180
|
+
return writer;
|
|
181
|
+
},
|
|
182
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ParamChange {
|
|
183
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
184
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
185
|
+
const message = createBaseParamChange();
|
|
186
|
+
while (reader.pos < end) {
|
|
187
|
+
const tag = reader.uint32();
|
|
188
|
+
switch (tag >>> 3) {
|
|
189
|
+
case 1:
|
|
190
|
+
message.subspace = reader.string();
|
|
191
|
+
break;
|
|
192
|
+
case 2:
|
|
193
|
+
message.key = reader.string();
|
|
194
|
+
break;
|
|
195
|
+
case 3:
|
|
196
|
+
message.value = reader.string();
|
|
197
|
+
break;
|
|
198
|
+
default:
|
|
199
|
+
reader.skipType(tag & 7);
|
|
200
|
+
break;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
return message;
|
|
204
|
+
},
|
|
205
|
+
fromPartial(object: DeepPartial<ParamChange>): ParamChange {
|
|
206
|
+
const message = createBaseParamChange();
|
|
207
|
+
message.subspace = object.subspace ?? "";
|
|
208
|
+
message.key = object.key ?? "";
|
|
209
|
+
message.value = object.value ?? "";
|
|
210
|
+
return message;
|
|
211
|
+
},
|
|
212
|
+
fromAmino(object: ParamChangeAmino): ParamChange {
|
|
213
|
+
const message = createBaseParamChange();
|
|
214
|
+
if (object.subspace !== undefined && object.subspace !== null) {
|
|
215
|
+
message.subspace = object.subspace;
|
|
216
|
+
}
|
|
217
|
+
if (object.key !== undefined && object.key !== null) {
|
|
218
|
+
message.key = object.key;
|
|
219
|
+
}
|
|
220
|
+
if (object.value !== undefined && object.value !== null) {
|
|
221
|
+
message.value = object.value;
|
|
222
|
+
}
|
|
223
|
+
return message;
|
|
224
|
+
},
|
|
225
|
+
toAmino(message: ParamChange): ParamChangeAmino {
|
|
226
|
+
const obj: any = {};
|
|
227
|
+
obj.subspace = message.subspace === "" ? undefined : message.subspace;
|
|
228
|
+
obj.key = message.key === "" ? undefined : message.key;
|
|
229
|
+
obj.value = message.value === "" ? undefined : message.value;
|
|
230
|
+
return obj;
|
|
231
|
+
},
|
|
232
|
+
fromAminoMsg(object: ParamChangeAminoMsg): ParamChange {
|
|
233
|
+
return ParamChange.fromAmino(object.value);
|
|
234
|
+
},
|
|
235
|
+
toAminoMsg(message: ParamChange): ParamChangeAminoMsg {
|
|
236
|
+
return {
|
|
237
|
+
type: "cosmos-sdk/ParamChange",
|
|
238
|
+
value: ParamChange.toAmino(message)
|
|
239
|
+
};
|
|
240
|
+
},
|
|
241
|
+
fromProtoMsg(message: ParamChangeProtoMsg): ParamChange {
|
|
242
|
+
return ParamChange.decode(message.value);
|
|
243
|
+
},
|
|
244
|
+
toProto(message: ParamChange): Uint8Array {
|
|
245
|
+
return ParamChange.encode(message).finish();
|
|
246
|
+
},
|
|
247
|
+
toProtoMsg(message: ParamChange): ParamChangeProtoMsg {
|
|
248
|
+
return {
|
|
249
|
+
typeUrl: "/cosmos.params.v1beta1.ParamChange",
|
|
250
|
+
value: ParamChange.encode(message).finish()
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
GlobalDecoderRegistry.register(ParamChange.typeUrl, ParamChange);
|
|
255
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(ParamChange.aminoType, ParamChange.typeUrl);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { LCDClient } from "@cosmology/lcd";
|
|
2
|
+
import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query";
|
|
3
|
+
export class LCDQueryClient {
|
|
4
|
+
req: LCDClient;
|
|
5
|
+
constructor({
|
|
6
|
+
requestClient
|
|
7
|
+
}: {
|
|
8
|
+
requestClient: LCDClient;
|
|
9
|
+
}) {
|
|
10
|
+
this.req = requestClient;
|
|
11
|
+
}
|
|
12
|
+
/* Params queries a specific parameter of a module, given its subspace and
|
|
13
|
+
key. */
|
|
14
|
+
params = async (params: QueryParamsRequest): Promise<QueryParamsResponse> => {
|
|
15
|
+
const options: any = {
|
|
16
|
+
params: {}
|
|
17
|
+
};
|
|
18
|
+
if (typeof params?.subspace !== "undefined") {
|
|
19
|
+
options.params.subspace = params.subspace;
|
|
20
|
+
}
|
|
21
|
+
if (typeof params?.key !== "undefined") {
|
|
22
|
+
options.params.key = params.key;
|
|
23
|
+
}
|
|
24
|
+
const endpoint = `cosmos/params/v1beta1/params`;
|
|
25
|
+
return await this.req.get<QueryParamsResponse>(endpoint, options);
|
|
26
|
+
};
|
|
27
|
+
/* Subspaces queries for all registered subspaces and all keys for a subspace.
|
|
28
|
+
|
|
29
|
+
Since: cosmos-sdk 0.46 */
|
|
30
|
+
subspaces = async (_params: QuerySubspacesRequest = {}): Promise<QuerySubspacesResponse> => {
|
|
31
|
+
const endpoint = `cosmos/params/v1beta1/subspaces`;
|
|
32
|
+
return await this.req.get<QuerySubspacesResponse>(endpoint);
|
|
33
|
+
};
|
|
34
|
+
}
|