@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,1044 @@
|
|
|
1
|
+
import { ProposalExecutorResult, ProposalStatus, TallyResult, TallyResultAmino } from "./types";
|
|
2
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
3
|
+
import { DeepPartial, isSet } from "../../../helpers";
|
|
4
|
+
import { GlobalDecoderRegistry } from "../../../registry";
|
|
5
|
+
/** EventCreateGroup is an event emitted when a group is created. */
|
|
6
|
+
export interface EventCreateGroup {
|
|
7
|
+
/** group_id is the unique ID of the group. */
|
|
8
|
+
groupId: bigint;
|
|
9
|
+
}
|
|
10
|
+
export interface EventCreateGroupProtoMsg {
|
|
11
|
+
typeUrl: "/cosmos.group.v1.EventCreateGroup";
|
|
12
|
+
value: Uint8Array;
|
|
13
|
+
}
|
|
14
|
+
/** EventCreateGroup is an event emitted when a group is created. */
|
|
15
|
+
export interface EventCreateGroupAmino {
|
|
16
|
+
/** group_id is the unique ID of the group. */
|
|
17
|
+
group_id: string;
|
|
18
|
+
}
|
|
19
|
+
export interface EventCreateGroupAminoMsg {
|
|
20
|
+
type: "cosmos-sdk/EventCreateGroup";
|
|
21
|
+
value: EventCreateGroupAmino;
|
|
22
|
+
}
|
|
23
|
+
/** EventUpdateGroup is an event emitted when a group is updated. */
|
|
24
|
+
export interface EventUpdateGroup {
|
|
25
|
+
/** group_id is the unique ID of the group. */
|
|
26
|
+
groupId: bigint;
|
|
27
|
+
}
|
|
28
|
+
export interface EventUpdateGroupProtoMsg {
|
|
29
|
+
typeUrl: "/cosmos.group.v1.EventUpdateGroup";
|
|
30
|
+
value: Uint8Array;
|
|
31
|
+
}
|
|
32
|
+
/** EventUpdateGroup is an event emitted when a group is updated. */
|
|
33
|
+
export interface EventUpdateGroupAmino {
|
|
34
|
+
/** group_id is the unique ID of the group. */
|
|
35
|
+
group_id: string;
|
|
36
|
+
}
|
|
37
|
+
export interface EventUpdateGroupAminoMsg {
|
|
38
|
+
type: "cosmos-sdk/EventUpdateGroup";
|
|
39
|
+
value: EventUpdateGroupAmino;
|
|
40
|
+
}
|
|
41
|
+
/** EventCreateGroupPolicy is an event emitted when a group policy is created. */
|
|
42
|
+
export interface EventCreateGroupPolicy {
|
|
43
|
+
/** address is the account address of the group policy. */
|
|
44
|
+
address: string;
|
|
45
|
+
}
|
|
46
|
+
export interface EventCreateGroupPolicyProtoMsg {
|
|
47
|
+
typeUrl: "/cosmos.group.v1.EventCreateGroupPolicy";
|
|
48
|
+
value: Uint8Array;
|
|
49
|
+
}
|
|
50
|
+
/** EventCreateGroupPolicy is an event emitted when a group policy is created. */
|
|
51
|
+
export interface EventCreateGroupPolicyAmino {
|
|
52
|
+
/** address is the account address of the group policy. */
|
|
53
|
+
address: string;
|
|
54
|
+
}
|
|
55
|
+
export interface EventCreateGroupPolicyAminoMsg {
|
|
56
|
+
type: "cosmos-sdk/EventCreateGroupPolicy";
|
|
57
|
+
value: EventCreateGroupPolicyAmino;
|
|
58
|
+
}
|
|
59
|
+
/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */
|
|
60
|
+
export interface EventUpdateGroupPolicy {
|
|
61
|
+
/** address is the account address of the group policy. */
|
|
62
|
+
address: string;
|
|
63
|
+
}
|
|
64
|
+
export interface EventUpdateGroupPolicyProtoMsg {
|
|
65
|
+
typeUrl: "/cosmos.group.v1.EventUpdateGroupPolicy";
|
|
66
|
+
value: Uint8Array;
|
|
67
|
+
}
|
|
68
|
+
/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */
|
|
69
|
+
export interface EventUpdateGroupPolicyAmino {
|
|
70
|
+
/** address is the account address of the group policy. */
|
|
71
|
+
address: string;
|
|
72
|
+
}
|
|
73
|
+
export interface EventUpdateGroupPolicyAminoMsg {
|
|
74
|
+
type: "cosmos-sdk/EventUpdateGroupPolicy";
|
|
75
|
+
value: EventUpdateGroupPolicyAmino;
|
|
76
|
+
}
|
|
77
|
+
/** EventSubmitProposal is an event emitted when a proposal is created. */
|
|
78
|
+
export interface EventSubmitProposal {
|
|
79
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
80
|
+
proposalId: bigint;
|
|
81
|
+
}
|
|
82
|
+
export interface EventSubmitProposalProtoMsg {
|
|
83
|
+
typeUrl: "/cosmos.group.v1.EventSubmitProposal";
|
|
84
|
+
value: Uint8Array;
|
|
85
|
+
}
|
|
86
|
+
/** EventSubmitProposal is an event emitted when a proposal is created. */
|
|
87
|
+
export interface EventSubmitProposalAmino {
|
|
88
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
89
|
+
proposal_id: string;
|
|
90
|
+
}
|
|
91
|
+
export interface EventSubmitProposalAminoMsg {
|
|
92
|
+
type: "cosmos-sdk/EventSubmitProposal";
|
|
93
|
+
value: EventSubmitProposalAmino;
|
|
94
|
+
}
|
|
95
|
+
/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */
|
|
96
|
+
export interface EventWithdrawProposal {
|
|
97
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
98
|
+
proposalId: bigint;
|
|
99
|
+
}
|
|
100
|
+
export interface EventWithdrawProposalProtoMsg {
|
|
101
|
+
typeUrl: "/cosmos.group.v1.EventWithdrawProposal";
|
|
102
|
+
value: Uint8Array;
|
|
103
|
+
}
|
|
104
|
+
/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */
|
|
105
|
+
export interface EventWithdrawProposalAmino {
|
|
106
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
107
|
+
proposal_id: string;
|
|
108
|
+
}
|
|
109
|
+
export interface EventWithdrawProposalAminoMsg {
|
|
110
|
+
type: "cosmos-sdk/EventWithdrawProposal";
|
|
111
|
+
value: EventWithdrawProposalAmino;
|
|
112
|
+
}
|
|
113
|
+
/** EventVote is an event emitted when a voter votes on a proposal. */
|
|
114
|
+
export interface EventVote {
|
|
115
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
116
|
+
proposalId: bigint;
|
|
117
|
+
}
|
|
118
|
+
export interface EventVoteProtoMsg {
|
|
119
|
+
typeUrl: "/cosmos.group.v1.EventVote";
|
|
120
|
+
value: Uint8Array;
|
|
121
|
+
}
|
|
122
|
+
/** EventVote is an event emitted when a voter votes on a proposal. */
|
|
123
|
+
export interface EventVoteAmino {
|
|
124
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
125
|
+
proposal_id: string;
|
|
126
|
+
}
|
|
127
|
+
export interface EventVoteAminoMsg {
|
|
128
|
+
type: "cosmos-sdk/EventVote";
|
|
129
|
+
value: EventVoteAmino;
|
|
130
|
+
}
|
|
131
|
+
/** EventExec is an event emitted when a proposal is executed. */
|
|
132
|
+
export interface EventExec {
|
|
133
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
134
|
+
proposalId: bigint;
|
|
135
|
+
/** result is the proposal execution result. */
|
|
136
|
+
result: ProposalExecutorResult;
|
|
137
|
+
/** logs contains error logs in case the execution result is FAILURE. */
|
|
138
|
+
logs: string;
|
|
139
|
+
}
|
|
140
|
+
export interface EventExecProtoMsg {
|
|
141
|
+
typeUrl: "/cosmos.group.v1.EventExec";
|
|
142
|
+
value: Uint8Array;
|
|
143
|
+
}
|
|
144
|
+
/** EventExec is an event emitted when a proposal is executed. */
|
|
145
|
+
export interface EventExecAmino {
|
|
146
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
147
|
+
proposal_id: string;
|
|
148
|
+
/** result is the proposal execution result. */
|
|
149
|
+
result: ProposalExecutorResult;
|
|
150
|
+
/** logs contains error logs in case the execution result is FAILURE. */
|
|
151
|
+
logs: string;
|
|
152
|
+
}
|
|
153
|
+
export interface EventExecAminoMsg {
|
|
154
|
+
type: "cosmos-sdk/EventExec";
|
|
155
|
+
value: EventExecAmino;
|
|
156
|
+
}
|
|
157
|
+
/** EventLeaveGroup is an event emitted when group member leaves the group. */
|
|
158
|
+
export interface EventLeaveGroup {
|
|
159
|
+
/** group_id is the unique ID of the group. */
|
|
160
|
+
groupId: bigint;
|
|
161
|
+
/** address is the account address of the group member. */
|
|
162
|
+
address: string;
|
|
163
|
+
}
|
|
164
|
+
export interface EventLeaveGroupProtoMsg {
|
|
165
|
+
typeUrl: "/cosmos.group.v1.EventLeaveGroup";
|
|
166
|
+
value: Uint8Array;
|
|
167
|
+
}
|
|
168
|
+
/** EventLeaveGroup is an event emitted when group member leaves the group. */
|
|
169
|
+
export interface EventLeaveGroupAmino {
|
|
170
|
+
/** group_id is the unique ID of the group. */
|
|
171
|
+
group_id: string;
|
|
172
|
+
/** address is the account address of the group member. */
|
|
173
|
+
address: string;
|
|
174
|
+
}
|
|
175
|
+
export interface EventLeaveGroupAminoMsg {
|
|
176
|
+
type: "cosmos-sdk/EventLeaveGroup";
|
|
177
|
+
value: EventLeaveGroupAmino;
|
|
178
|
+
}
|
|
179
|
+
/** EventProposalPruned is an event emitted when a proposal is pruned. */
|
|
180
|
+
export interface EventProposalPruned {
|
|
181
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
182
|
+
proposalId: bigint;
|
|
183
|
+
/** status is the proposal status (UNSPECIFIED, SUBMITTED, ACCEPTED, REJECTED, ABORTED, WITHDRAWN). */
|
|
184
|
+
status: ProposalStatus;
|
|
185
|
+
/** tally_result is the proposal tally result (when applicable). */
|
|
186
|
+
tallyResult?: TallyResult;
|
|
187
|
+
}
|
|
188
|
+
export interface EventProposalPrunedProtoMsg {
|
|
189
|
+
typeUrl: "/cosmos.group.v1.EventProposalPruned";
|
|
190
|
+
value: Uint8Array;
|
|
191
|
+
}
|
|
192
|
+
/** EventProposalPruned is an event emitted when a proposal is pruned. */
|
|
193
|
+
export interface EventProposalPrunedAmino {
|
|
194
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
195
|
+
proposal_id: string;
|
|
196
|
+
/** status is the proposal status (UNSPECIFIED, SUBMITTED, ACCEPTED, REJECTED, ABORTED, WITHDRAWN). */
|
|
197
|
+
status: ProposalStatus;
|
|
198
|
+
/** tally_result is the proposal tally result (when applicable). */
|
|
199
|
+
tally_result?: TallyResultAmino;
|
|
200
|
+
}
|
|
201
|
+
export interface EventProposalPrunedAminoMsg {
|
|
202
|
+
type: "cosmos-sdk/EventProposalPruned";
|
|
203
|
+
value: EventProposalPrunedAmino;
|
|
204
|
+
}
|
|
205
|
+
function createBaseEventCreateGroup(): EventCreateGroup {
|
|
206
|
+
return {
|
|
207
|
+
groupId: BigInt(0)
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
export const EventCreateGroup = {
|
|
211
|
+
typeUrl: "/cosmos.group.v1.EventCreateGroup",
|
|
212
|
+
aminoType: "cosmos-sdk/EventCreateGroup",
|
|
213
|
+
is(o: any): o is EventCreateGroup {
|
|
214
|
+
return o && (o.$typeUrl === EventCreateGroup.typeUrl || typeof o.groupId === "bigint");
|
|
215
|
+
},
|
|
216
|
+
isAmino(o: any): o is EventCreateGroupAmino {
|
|
217
|
+
return o && (o.$typeUrl === EventCreateGroup.typeUrl || typeof o.group_id === "bigint");
|
|
218
|
+
},
|
|
219
|
+
encode(message: EventCreateGroup, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
220
|
+
if (message.groupId !== BigInt(0)) {
|
|
221
|
+
writer.uint32(8).uint64(message.groupId);
|
|
222
|
+
}
|
|
223
|
+
return writer;
|
|
224
|
+
},
|
|
225
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventCreateGroup {
|
|
226
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
227
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
228
|
+
const message = createBaseEventCreateGroup();
|
|
229
|
+
while (reader.pos < end) {
|
|
230
|
+
const tag = reader.uint32();
|
|
231
|
+
switch (tag >>> 3) {
|
|
232
|
+
case 1:
|
|
233
|
+
message.groupId = reader.uint64();
|
|
234
|
+
break;
|
|
235
|
+
default:
|
|
236
|
+
reader.skipType(tag & 7);
|
|
237
|
+
break;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
return message;
|
|
241
|
+
},
|
|
242
|
+
fromPartial(object: DeepPartial<EventCreateGroup>): EventCreateGroup {
|
|
243
|
+
const message = createBaseEventCreateGroup();
|
|
244
|
+
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
245
|
+
return message;
|
|
246
|
+
},
|
|
247
|
+
fromAmino(object: EventCreateGroupAmino): EventCreateGroup {
|
|
248
|
+
const message = createBaseEventCreateGroup();
|
|
249
|
+
if (object.group_id !== undefined && object.group_id !== null) {
|
|
250
|
+
message.groupId = BigInt(object.group_id);
|
|
251
|
+
}
|
|
252
|
+
return message;
|
|
253
|
+
},
|
|
254
|
+
toAmino(message: EventCreateGroup): EventCreateGroupAmino {
|
|
255
|
+
const obj: any = {};
|
|
256
|
+
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
257
|
+
return obj;
|
|
258
|
+
},
|
|
259
|
+
fromAminoMsg(object: EventCreateGroupAminoMsg): EventCreateGroup {
|
|
260
|
+
return EventCreateGroup.fromAmino(object.value);
|
|
261
|
+
},
|
|
262
|
+
toAminoMsg(message: EventCreateGroup): EventCreateGroupAminoMsg {
|
|
263
|
+
return {
|
|
264
|
+
type: "cosmos-sdk/EventCreateGroup",
|
|
265
|
+
value: EventCreateGroup.toAmino(message)
|
|
266
|
+
};
|
|
267
|
+
},
|
|
268
|
+
fromProtoMsg(message: EventCreateGroupProtoMsg): EventCreateGroup {
|
|
269
|
+
return EventCreateGroup.decode(message.value);
|
|
270
|
+
},
|
|
271
|
+
toProto(message: EventCreateGroup): Uint8Array {
|
|
272
|
+
return EventCreateGroup.encode(message).finish();
|
|
273
|
+
},
|
|
274
|
+
toProtoMsg(message: EventCreateGroup): EventCreateGroupProtoMsg {
|
|
275
|
+
return {
|
|
276
|
+
typeUrl: "/cosmos.group.v1.EventCreateGroup",
|
|
277
|
+
value: EventCreateGroup.encode(message).finish()
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
GlobalDecoderRegistry.register(EventCreateGroup.typeUrl, EventCreateGroup);
|
|
282
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(EventCreateGroup.aminoType, EventCreateGroup.typeUrl);
|
|
283
|
+
function createBaseEventUpdateGroup(): EventUpdateGroup {
|
|
284
|
+
return {
|
|
285
|
+
groupId: BigInt(0)
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
export const EventUpdateGroup = {
|
|
289
|
+
typeUrl: "/cosmos.group.v1.EventUpdateGroup",
|
|
290
|
+
aminoType: "cosmos-sdk/EventUpdateGroup",
|
|
291
|
+
is(o: any): o is EventUpdateGroup {
|
|
292
|
+
return o && (o.$typeUrl === EventUpdateGroup.typeUrl || typeof o.groupId === "bigint");
|
|
293
|
+
},
|
|
294
|
+
isAmino(o: any): o is EventUpdateGroupAmino {
|
|
295
|
+
return o && (o.$typeUrl === EventUpdateGroup.typeUrl || typeof o.group_id === "bigint");
|
|
296
|
+
},
|
|
297
|
+
encode(message: EventUpdateGroup, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
298
|
+
if (message.groupId !== BigInt(0)) {
|
|
299
|
+
writer.uint32(8).uint64(message.groupId);
|
|
300
|
+
}
|
|
301
|
+
return writer;
|
|
302
|
+
},
|
|
303
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventUpdateGroup {
|
|
304
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
305
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
306
|
+
const message = createBaseEventUpdateGroup();
|
|
307
|
+
while (reader.pos < end) {
|
|
308
|
+
const tag = reader.uint32();
|
|
309
|
+
switch (tag >>> 3) {
|
|
310
|
+
case 1:
|
|
311
|
+
message.groupId = reader.uint64();
|
|
312
|
+
break;
|
|
313
|
+
default:
|
|
314
|
+
reader.skipType(tag & 7);
|
|
315
|
+
break;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
return message;
|
|
319
|
+
},
|
|
320
|
+
fromPartial(object: DeepPartial<EventUpdateGroup>): EventUpdateGroup {
|
|
321
|
+
const message = createBaseEventUpdateGroup();
|
|
322
|
+
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
323
|
+
return message;
|
|
324
|
+
},
|
|
325
|
+
fromAmino(object: EventUpdateGroupAmino): EventUpdateGroup {
|
|
326
|
+
const message = createBaseEventUpdateGroup();
|
|
327
|
+
if (object.group_id !== undefined && object.group_id !== null) {
|
|
328
|
+
message.groupId = BigInt(object.group_id);
|
|
329
|
+
}
|
|
330
|
+
return message;
|
|
331
|
+
},
|
|
332
|
+
toAmino(message: EventUpdateGroup): EventUpdateGroupAmino {
|
|
333
|
+
const obj: any = {};
|
|
334
|
+
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
335
|
+
return obj;
|
|
336
|
+
},
|
|
337
|
+
fromAminoMsg(object: EventUpdateGroupAminoMsg): EventUpdateGroup {
|
|
338
|
+
return EventUpdateGroup.fromAmino(object.value);
|
|
339
|
+
},
|
|
340
|
+
toAminoMsg(message: EventUpdateGroup): EventUpdateGroupAminoMsg {
|
|
341
|
+
return {
|
|
342
|
+
type: "cosmos-sdk/EventUpdateGroup",
|
|
343
|
+
value: EventUpdateGroup.toAmino(message)
|
|
344
|
+
};
|
|
345
|
+
},
|
|
346
|
+
fromProtoMsg(message: EventUpdateGroupProtoMsg): EventUpdateGroup {
|
|
347
|
+
return EventUpdateGroup.decode(message.value);
|
|
348
|
+
},
|
|
349
|
+
toProto(message: EventUpdateGroup): Uint8Array {
|
|
350
|
+
return EventUpdateGroup.encode(message).finish();
|
|
351
|
+
},
|
|
352
|
+
toProtoMsg(message: EventUpdateGroup): EventUpdateGroupProtoMsg {
|
|
353
|
+
return {
|
|
354
|
+
typeUrl: "/cosmos.group.v1.EventUpdateGroup",
|
|
355
|
+
value: EventUpdateGroup.encode(message).finish()
|
|
356
|
+
};
|
|
357
|
+
}
|
|
358
|
+
};
|
|
359
|
+
GlobalDecoderRegistry.register(EventUpdateGroup.typeUrl, EventUpdateGroup);
|
|
360
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(EventUpdateGroup.aminoType, EventUpdateGroup.typeUrl);
|
|
361
|
+
function createBaseEventCreateGroupPolicy(): EventCreateGroupPolicy {
|
|
362
|
+
return {
|
|
363
|
+
address: ""
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
export const EventCreateGroupPolicy = {
|
|
367
|
+
typeUrl: "/cosmos.group.v1.EventCreateGroupPolicy",
|
|
368
|
+
aminoType: "cosmos-sdk/EventCreateGroupPolicy",
|
|
369
|
+
is(o: any): o is EventCreateGroupPolicy {
|
|
370
|
+
return o && (o.$typeUrl === EventCreateGroupPolicy.typeUrl || typeof o.address === "string");
|
|
371
|
+
},
|
|
372
|
+
isAmino(o: any): o is EventCreateGroupPolicyAmino {
|
|
373
|
+
return o && (o.$typeUrl === EventCreateGroupPolicy.typeUrl || typeof o.address === "string");
|
|
374
|
+
},
|
|
375
|
+
encode(message: EventCreateGroupPolicy, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
376
|
+
if (message.address !== "") {
|
|
377
|
+
writer.uint32(10).string(message.address);
|
|
378
|
+
}
|
|
379
|
+
return writer;
|
|
380
|
+
},
|
|
381
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventCreateGroupPolicy {
|
|
382
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
383
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
384
|
+
const message = createBaseEventCreateGroupPolicy();
|
|
385
|
+
while (reader.pos < end) {
|
|
386
|
+
const tag = reader.uint32();
|
|
387
|
+
switch (tag >>> 3) {
|
|
388
|
+
case 1:
|
|
389
|
+
message.address = reader.string();
|
|
390
|
+
break;
|
|
391
|
+
default:
|
|
392
|
+
reader.skipType(tag & 7);
|
|
393
|
+
break;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
return message;
|
|
397
|
+
},
|
|
398
|
+
fromPartial(object: DeepPartial<EventCreateGroupPolicy>): EventCreateGroupPolicy {
|
|
399
|
+
const message = createBaseEventCreateGroupPolicy();
|
|
400
|
+
message.address = object.address ?? "";
|
|
401
|
+
return message;
|
|
402
|
+
},
|
|
403
|
+
fromAmino(object: EventCreateGroupPolicyAmino): EventCreateGroupPolicy {
|
|
404
|
+
const message = createBaseEventCreateGroupPolicy();
|
|
405
|
+
if (object.address !== undefined && object.address !== null) {
|
|
406
|
+
message.address = object.address;
|
|
407
|
+
}
|
|
408
|
+
return message;
|
|
409
|
+
},
|
|
410
|
+
toAmino(message: EventCreateGroupPolicy): EventCreateGroupPolicyAmino {
|
|
411
|
+
const obj: any = {};
|
|
412
|
+
obj.address = message.address === "" ? undefined : message.address;
|
|
413
|
+
return obj;
|
|
414
|
+
},
|
|
415
|
+
fromAminoMsg(object: EventCreateGroupPolicyAminoMsg): EventCreateGroupPolicy {
|
|
416
|
+
return EventCreateGroupPolicy.fromAmino(object.value);
|
|
417
|
+
},
|
|
418
|
+
toAminoMsg(message: EventCreateGroupPolicy): EventCreateGroupPolicyAminoMsg {
|
|
419
|
+
return {
|
|
420
|
+
type: "cosmos-sdk/EventCreateGroupPolicy",
|
|
421
|
+
value: EventCreateGroupPolicy.toAmino(message)
|
|
422
|
+
};
|
|
423
|
+
},
|
|
424
|
+
fromProtoMsg(message: EventCreateGroupPolicyProtoMsg): EventCreateGroupPolicy {
|
|
425
|
+
return EventCreateGroupPolicy.decode(message.value);
|
|
426
|
+
},
|
|
427
|
+
toProto(message: EventCreateGroupPolicy): Uint8Array {
|
|
428
|
+
return EventCreateGroupPolicy.encode(message).finish();
|
|
429
|
+
},
|
|
430
|
+
toProtoMsg(message: EventCreateGroupPolicy): EventCreateGroupPolicyProtoMsg {
|
|
431
|
+
return {
|
|
432
|
+
typeUrl: "/cosmos.group.v1.EventCreateGroupPolicy",
|
|
433
|
+
value: EventCreateGroupPolicy.encode(message).finish()
|
|
434
|
+
};
|
|
435
|
+
}
|
|
436
|
+
};
|
|
437
|
+
GlobalDecoderRegistry.register(EventCreateGroupPolicy.typeUrl, EventCreateGroupPolicy);
|
|
438
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(EventCreateGroupPolicy.aminoType, EventCreateGroupPolicy.typeUrl);
|
|
439
|
+
function createBaseEventUpdateGroupPolicy(): EventUpdateGroupPolicy {
|
|
440
|
+
return {
|
|
441
|
+
address: ""
|
|
442
|
+
};
|
|
443
|
+
}
|
|
444
|
+
export const EventUpdateGroupPolicy = {
|
|
445
|
+
typeUrl: "/cosmos.group.v1.EventUpdateGroupPolicy",
|
|
446
|
+
aminoType: "cosmos-sdk/EventUpdateGroupPolicy",
|
|
447
|
+
is(o: any): o is EventUpdateGroupPolicy {
|
|
448
|
+
return o && (o.$typeUrl === EventUpdateGroupPolicy.typeUrl || typeof o.address === "string");
|
|
449
|
+
},
|
|
450
|
+
isAmino(o: any): o is EventUpdateGroupPolicyAmino {
|
|
451
|
+
return o && (o.$typeUrl === EventUpdateGroupPolicy.typeUrl || typeof o.address === "string");
|
|
452
|
+
},
|
|
453
|
+
encode(message: EventUpdateGroupPolicy, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
454
|
+
if (message.address !== "") {
|
|
455
|
+
writer.uint32(10).string(message.address);
|
|
456
|
+
}
|
|
457
|
+
return writer;
|
|
458
|
+
},
|
|
459
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventUpdateGroupPolicy {
|
|
460
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
461
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
462
|
+
const message = createBaseEventUpdateGroupPolicy();
|
|
463
|
+
while (reader.pos < end) {
|
|
464
|
+
const tag = reader.uint32();
|
|
465
|
+
switch (tag >>> 3) {
|
|
466
|
+
case 1:
|
|
467
|
+
message.address = reader.string();
|
|
468
|
+
break;
|
|
469
|
+
default:
|
|
470
|
+
reader.skipType(tag & 7);
|
|
471
|
+
break;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
return message;
|
|
475
|
+
},
|
|
476
|
+
fromPartial(object: DeepPartial<EventUpdateGroupPolicy>): EventUpdateGroupPolicy {
|
|
477
|
+
const message = createBaseEventUpdateGroupPolicy();
|
|
478
|
+
message.address = object.address ?? "";
|
|
479
|
+
return message;
|
|
480
|
+
},
|
|
481
|
+
fromAmino(object: EventUpdateGroupPolicyAmino): EventUpdateGroupPolicy {
|
|
482
|
+
const message = createBaseEventUpdateGroupPolicy();
|
|
483
|
+
if (object.address !== undefined && object.address !== null) {
|
|
484
|
+
message.address = object.address;
|
|
485
|
+
}
|
|
486
|
+
return message;
|
|
487
|
+
},
|
|
488
|
+
toAmino(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyAmino {
|
|
489
|
+
const obj: any = {};
|
|
490
|
+
obj.address = message.address === "" ? undefined : message.address;
|
|
491
|
+
return obj;
|
|
492
|
+
},
|
|
493
|
+
fromAminoMsg(object: EventUpdateGroupPolicyAminoMsg): EventUpdateGroupPolicy {
|
|
494
|
+
return EventUpdateGroupPolicy.fromAmino(object.value);
|
|
495
|
+
},
|
|
496
|
+
toAminoMsg(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyAminoMsg {
|
|
497
|
+
return {
|
|
498
|
+
type: "cosmos-sdk/EventUpdateGroupPolicy",
|
|
499
|
+
value: EventUpdateGroupPolicy.toAmino(message)
|
|
500
|
+
};
|
|
501
|
+
},
|
|
502
|
+
fromProtoMsg(message: EventUpdateGroupPolicyProtoMsg): EventUpdateGroupPolicy {
|
|
503
|
+
return EventUpdateGroupPolicy.decode(message.value);
|
|
504
|
+
},
|
|
505
|
+
toProto(message: EventUpdateGroupPolicy): Uint8Array {
|
|
506
|
+
return EventUpdateGroupPolicy.encode(message).finish();
|
|
507
|
+
},
|
|
508
|
+
toProtoMsg(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyProtoMsg {
|
|
509
|
+
return {
|
|
510
|
+
typeUrl: "/cosmos.group.v1.EventUpdateGroupPolicy",
|
|
511
|
+
value: EventUpdateGroupPolicy.encode(message).finish()
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
};
|
|
515
|
+
GlobalDecoderRegistry.register(EventUpdateGroupPolicy.typeUrl, EventUpdateGroupPolicy);
|
|
516
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(EventUpdateGroupPolicy.aminoType, EventUpdateGroupPolicy.typeUrl);
|
|
517
|
+
function createBaseEventSubmitProposal(): EventSubmitProposal {
|
|
518
|
+
return {
|
|
519
|
+
proposalId: BigInt(0)
|
|
520
|
+
};
|
|
521
|
+
}
|
|
522
|
+
export const EventSubmitProposal = {
|
|
523
|
+
typeUrl: "/cosmos.group.v1.EventSubmitProposal",
|
|
524
|
+
aminoType: "cosmos-sdk/EventSubmitProposal",
|
|
525
|
+
is(o: any): o is EventSubmitProposal {
|
|
526
|
+
return o && (o.$typeUrl === EventSubmitProposal.typeUrl || typeof o.proposalId === "bigint");
|
|
527
|
+
},
|
|
528
|
+
isAmino(o: any): o is EventSubmitProposalAmino {
|
|
529
|
+
return o && (o.$typeUrl === EventSubmitProposal.typeUrl || typeof o.proposal_id === "bigint");
|
|
530
|
+
},
|
|
531
|
+
encode(message: EventSubmitProposal, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
532
|
+
if (message.proposalId !== BigInt(0)) {
|
|
533
|
+
writer.uint32(8).uint64(message.proposalId);
|
|
534
|
+
}
|
|
535
|
+
return writer;
|
|
536
|
+
},
|
|
537
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventSubmitProposal {
|
|
538
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
539
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
540
|
+
const message = createBaseEventSubmitProposal();
|
|
541
|
+
while (reader.pos < end) {
|
|
542
|
+
const tag = reader.uint32();
|
|
543
|
+
switch (tag >>> 3) {
|
|
544
|
+
case 1:
|
|
545
|
+
message.proposalId = reader.uint64();
|
|
546
|
+
break;
|
|
547
|
+
default:
|
|
548
|
+
reader.skipType(tag & 7);
|
|
549
|
+
break;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
return message;
|
|
553
|
+
},
|
|
554
|
+
fromPartial(object: DeepPartial<EventSubmitProposal>): EventSubmitProposal {
|
|
555
|
+
const message = createBaseEventSubmitProposal();
|
|
556
|
+
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
557
|
+
return message;
|
|
558
|
+
},
|
|
559
|
+
fromAmino(object: EventSubmitProposalAmino): EventSubmitProposal {
|
|
560
|
+
const message = createBaseEventSubmitProposal();
|
|
561
|
+
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
562
|
+
message.proposalId = BigInt(object.proposal_id);
|
|
563
|
+
}
|
|
564
|
+
return message;
|
|
565
|
+
},
|
|
566
|
+
toAmino(message: EventSubmitProposal): EventSubmitProposalAmino {
|
|
567
|
+
const obj: any = {};
|
|
568
|
+
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
569
|
+
return obj;
|
|
570
|
+
},
|
|
571
|
+
fromAminoMsg(object: EventSubmitProposalAminoMsg): EventSubmitProposal {
|
|
572
|
+
return EventSubmitProposal.fromAmino(object.value);
|
|
573
|
+
},
|
|
574
|
+
toAminoMsg(message: EventSubmitProposal): EventSubmitProposalAminoMsg {
|
|
575
|
+
return {
|
|
576
|
+
type: "cosmos-sdk/EventSubmitProposal",
|
|
577
|
+
value: EventSubmitProposal.toAmino(message)
|
|
578
|
+
};
|
|
579
|
+
},
|
|
580
|
+
fromProtoMsg(message: EventSubmitProposalProtoMsg): EventSubmitProposal {
|
|
581
|
+
return EventSubmitProposal.decode(message.value);
|
|
582
|
+
},
|
|
583
|
+
toProto(message: EventSubmitProposal): Uint8Array {
|
|
584
|
+
return EventSubmitProposal.encode(message).finish();
|
|
585
|
+
},
|
|
586
|
+
toProtoMsg(message: EventSubmitProposal): EventSubmitProposalProtoMsg {
|
|
587
|
+
return {
|
|
588
|
+
typeUrl: "/cosmos.group.v1.EventSubmitProposal",
|
|
589
|
+
value: EventSubmitProposal.encode(message).finish()
|
|
590
|
+
};
|
|
591
|
+
}
|
|
592
|
+
};
|
|
593
|
+
GlobalDecoderRegistry.register(EventSubmitProposal.typeUrl, EventSubmitProposal);
|
|
594
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(EventSubmitProposal.aminoType, EventSubmitProposal.typeUrl);
|
|
595
|
+
function createBaseEventWithdrawProposal(): EventWithdrawProposal {
|
|
596
|
+
return {
|
|
597
|
+
proposalId: BigInt(0)
|
|
598
|
+
};
|
|
599
|
+
}
|
|
600
|
+
export const EventWithdrawProposal = {
|
|
601
|
+
typeUrl: "/cosmos.group.v1.EventWithdrawProposal",
|
|
602
|
+
aminoType: "cosmos-sdk/EventWithdrawProposal",
|
|
603
|
+
is(o: any): o is EventWithdrawProposal {
|
|
604
|
+
return o && (o.$typeUrl === EventWithdrawProposal.typeUrl || typeof o.proposalId === "bigint");
|
|
605
|
+
},
|
|
606
|
+
isAmino(o: any): o is EventWithdrawProposalAmino {
|
|
607
|
+
return o && (o.$typeUrl === EventWithdrawProposal.typeUrl || typeof o.proposal_id === "bigint");
|
|
608
|
+
},
|
|
609
|
+
encode(message: EventWithdrawProposal, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
610
|
+
if (message.proposalId !== BigInt(0)) {
|
|
611
|
+
writer.uint32(8).uint64(message.proposalId);
|
|
612
|
+
}
|
|
613
|
+
return writer;
|
|
614
|
+
},
|
|
615
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventWithdrawProposal {
|
|
616
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
617
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
618
|
+
const message = createBaseEventWithdrawProposal();
|
|
619
|
+
while (reader.pos < end) {
|
|
620
|
+
const tag = reader.uint32();
|
|
621
|
+
switch (tag >>> 3) {
|
|
622
|
+
case 1:
|
|
623
|
+
message.proposalId = reader.uint64();
|
|
624
|
+
break;
|
|
625
|
+
default:
|
|
626
|
+
reader.skipType(tag & 7);
|
|
627
|
+
break;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
return message;
|
|
631
|
+
},
|
|
632
|
+
fromPartial(object: DeepPartial<EventWithdrawProposal>): EventWithdrawProposal {
|
|
633
|
+
const message = createBaseEventWithdrawProposal();
|
|
634
|
+
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
635
|
+
return message;
|
|
636
|
+
},
|
|
637
|
+
fromAmino(object: EventWithdrawProposalAmino): EventWithdrawProposal {
|
|
638
|
+
const message = createBaseEventWithdrawProposal();
|
|
639
|
+
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
640
|
+
message.proposalId = BigInt(object.proposal_id);
|
|
641
|
+
}
|
|
642
|
+
return message;
|
|
643
|
+
},
|
|
644
|
+
toAmino(message: EventWithdrawProposal): EventWithdrawProposalAmino {
|
|
645
|
+
const obj: any = {};
|
|
646
|
+
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
647
|
+
return obj;
|
|
648
|
+
},
|
|
649
|
+
fromAminoMsg(object: EventWithdrawProposalAminoMsg): EventWithdrawProposal {
|
|
650
|
+
return EventWithdrawProposal.fromAmino(object.value);
|
|
651
|
+
},
|
|
652
|
+
toAminoMsg(message: EventWithdrawProposal): EventWithdrawProposalAminoMsg {
|
|
653
|
+
return {
|
|
654
|
+
type: "cosmos-sdk/EventWithdrawProposal",
|
|
655
|
+
value: EventWithdrawProposal.toAmino(message)
|
|
656
|
+
};
|
|
657
|
+
},
|
|
658
|
+
fromProtoMsg(message: EventWithdrawProposalProtoMsg): EventWithdrawProposal {
|
|
659
|
+
return EventWithdrawProposal.decode(message.value);
|
|
660
|
+
},
|
|
661
|
+
toProto(message: EventWithdrawProposal): Uint8Array {
|
|
662
|
+
return EventWithdrawProposal.encode(message).finish();
|
|
663
|
+
},
|
|
664
|
+
toProtoMsg(message: EventWithdrawProposal): EventWithdrawProposalProtoMsg {
|
|
665
|
+
return {
|
|
666
|
+
typeUrl: "/cosmos.group.v1.EventWithdrawProposal",
|
|
667
|
+
value: EventWithdrawProposal.encode(message).finish()
|
|
668
|
+
};
|
|
669
|
+
}
|
|
670
|
+
};
|
|
671
|
+
GlobalDecoderRegistry.register(EventWithdrawProposal.typeUrl, EventWithdrawProposal);
|
|
672
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(EventWithdrawProposal.aminoType, EventWithdrawProposal.typeUrl);
|
|
673
|
+
function createBaseEventVote(): EventVote {
|
|
674
|
+
return {
|
|
675
|
+
proposalId: BigInt(0)
|
|
676
|
+
};
|
|
677
|
+
}
|
|
678
|
+
export const EventVote = {
|
|
679
|
+
typeUrl: "/cosmos.group.v1.EventVote",
|
|
680
|
+
aminoType: "cosmos-sdk/EventVote",
|
|
681
|
+
is(o: any): o is EventVote {
|
|
682
|
+
return o && (o.$typeUrl === EventVote.typeUrl || typeof o.proposalId === "bigint");
|
|
683
|
+
},
|
|
684
|
+
isAmino(o: any): o is EventVoteAmino {
|
|
685
|
+
return o && (o.$typeUrl === EventVote.typeUrl || typeof o.proposal_id === "bigint");
|
|
686
|
+
},
|
|
687
|
+
encode(message: EventVote, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
688
|
+
if (message.proposalId !== BigInt(0)) {
|
|
689
|
+
writer.uint32(8).uint64(message.proposalId);
|
|
690
|
+
}
|
|
691
|
+
return writer;
|
|
692
|
+
},
|
|
693
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventVote {
|
|
694
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
695
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
696
|
+
const message = createBaseEventVote();
|
|
697
|
+
while (reader.pos < end) {
|
|
698
|
+
const tag = reader.uint32();
|
|
699
|
+
switch (tag >>> 3) {
|
|
700
|
+
case 1:
|
|
701
|
+
message.proposalId = reader.uint64();
|
|
702
|
+
break;
|
|
703
|
+
default:
|
|
704
|
+
reader.skipType(tag & 7);
|
|
705
|
+
break;
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
return message;
|
|
709
|
+
},
|
|
710
|
+
fromPartial(object: DeepPartial<EventVote>): EventVote {
|
|
711
|
+
const message = createBaseEventVote();
|
|
712
|
+
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
713
|
+
return message;
|
|
714
|
+
},
|
|
715
|
+
fromAmino(object: EventVoteAmino): EventVote {
|
|
716
|
+
const message = createBaseEventVote();
|
|
717
|
+
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
718
|
+
message.proposalId = BigInt(object.proposal_id);
|
|
719
|
+
}
|
|
720
|
+
return message;
|
|
721
|
+
},
|
|
722
|
+
toAmino(message: EventVote): EventVoteAmino {
|
|
723
|
+
const obj: any = {};
|
|
724
|
+
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
725
|
+
return obj;
|
|
726
|
+
},
|
|
727
|
+
fromAminoMsg(object: EventVoteAminoMsg): EventVote {
|
|
728
|
+
return EventVote.fromAmino(object.value);
|
|
729
|
+
},
|
|
730
|
+
toAminoMsg(message: EventVote): EventVoteAminoMsg {
|
|
731
|
+
return {
|
|
732
|
+
type: "cosmos-sdk/EventVote",
|
|
733
|
+
value: EventVote.toAmino(message)
|
|
734
|
+
};
|
|
735
|
+
},
|
|
736
|
+
fromProtoMsg(message: EventVoteProtoMsg): EventVote {
|
|
737
|
+
return EventVote.decode(message.value);
|
|
738
|
+
},
|
|
739
|
+
toProto(message: EventVote): Uint8Array {
|
|
740
|
+
return EventVote.encode(message).finish();
|
|
741
|
+
},
|
|
742
|
+
toProtoMsg(message: EventVote): EventVoteProtoMsg {
|
|
743
|
+
return {
|
|
744
|
+
typeUrl: "/cosmos.group.v1.EventVote",
|
|
745
|
+
value: EventVote.encode(message).finish()
|
|
746
|
+
};
|
|
747
|
+
}
|
|
748
|
+
};
|
|
749
|
+
GlobalDecoderRegistry.register(EventVote.typeUrl, EventVote);
|
|
750
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(EventVote.aminoType, EventVote.typeUrl);
|
|
751
|
+
function createBaseEventExec(): EventExec {
|
|
752
|
+
return {
|
|
753
|
+
proposalId: BigInt(0),
|
|
754
|
+
result: 0,
|
|
755
|
+
logs: ""
|
|
756
|
+
};
|
|
757
|
+
}
|
|
758
|
+
export const EventExec = {
|
|
759
|
+
typeUrl: "/cosmos.group.v1.EventExec",
|
|
760
|
+
aminoType: "cosmos-sdk/EventExec",
|
|
761
|
+
is(o: any): o is EventExec {
|
|
762
|
+
return o && (o.$typeUrl === EventExec.typeUrl || typeof o.proposalId === "bigint" && isSet(o.result) && typeof o.logs === "string");
|
|
763
|
+
},
|
|
764
|
+
isAmino(o: any): o is EventExecAmino {
|
|
765
|
+
return o && (o.$typeUrl === EventExec.typeUrl || typeof o.proposal_id === "bigint" && isSet(o.result) && typeof o.logs === "string");
|
|
766
|
+
},
|
|
767
|
+
encode(message: EventExec, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
768
|
+
if (message.proposalId !== BigInt(0)) {
|
|
769
|
+
writer.uint32(8).uint64(message.proposalId);
|
|
770
|
+
}
|
|
771
|
+
if (message.result !== 0) {
|
|
772
|
+
writer.uint32(16).int32(message.result);
|
|
773
|
+
}
|
|
774
|
+
if (message.logs !== "") {
|
|
775
|
+
writer.uint32(26).string(message.logs);
|
|
776
|
+
}
|
|
777
|
+
return writer;
|
|
778
|
+
},
|
|
779
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventExec {
|
|
780
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
781
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
782
|
+
const message = createBaseEventExec();
|
|
783
|
+
while (reader.pos < end) {
|
|
784
|
+
const tag = reader.uint32();
|
|
785
|
+
switch (tag >>> 3) {
|
|
786
|
+
case 1:
|
|
787
|
+
message.proposalId = reader.uint64();
|
|
788
|
+
break;
|
|
789
|
+
case 2:
|
|
790
|
+
message.result = reader.int32() as any;
|
|
791
|
+
break;
|
|
792
|
+
case 3:
|
|
793
|
+
message.logs = reader.string();
|
|
794
|
+
break;
|
|
795
|
+
default:
|
|
796
|
+
reader.skipType(tag & 7);
|
|
797
|
+
break;
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
return message;
|
|
801
|
+
},
|
|
802
|
+
fromPartial(object: DeepPartial<EventExec>): EventExec {
|
|
803
|
+
const message = createBaseEventExec();
|
|
804
|
+
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
805
|
+
message.result = object.result ?? 0;
|
|
806
|
+
message.logs = object.logs ?? "";
|
|
807
|
+
return message;
|
|
808
|
+
},
|
|
809
|
+
fromAmino(object: EventExecAmino): EventExec {
|
|
810
|
+
const message = createBaseEventExec();
|
|
811
|
+
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
812
|
+
message.proposalId = BigInt(object.proposal_id);
|
|
813
|
+
}
|
|
814
|
+
if (object.result !== undefined && object.result !== null) {
|
|
815
|
+
message.result = object.result;
|
|
816
|
+
}
|
|
817
|
+
if (object.logs !== undefined && object.logs !== null) {
|
|
818
|
+
message.logs = object.logs;
|
|
819
|
+
}
|
|
820
|
+
return message;
|
|
821
|
+
},
|
|
822
|
+
toAmino(message: EventExec): EventExecAmino {
|
|
823
|
+
const obj: any = {};
|
|
824
|
+
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
825
|
+
obj.result = message.result === 0 ? undefined : message.result;
|
|
826
|
+
obj.logs = message.logs === "" ? undefined : message.logs;
|
|
827
|
+
return obj;
|
|
828
|
+
},
|
|
829
|
+
fromAminoMsg(object: EventExecAminoMsg): EventExec {
|
|
830
|
+
return EventExec.fromAmino(object.value);
|
|
831
|
+
},
|
|
832
|
+
toAminoMsg(message: EventExec): EventExecAminoMsg {
|
|
833
|
+
return {
|
|
834
|
+
type: "cosmos-sdk/EventExec",
|
|
835
|
+
value: EventExec.toAmino(message)
|
|
836
|
+
};
|
|
837
|
+
},
|
|
838
|
+
fromProtoMsg(message: EventExecProtoMsg): EventExec {
|
|
839
|
+
return EventExec.decode(message.value);
|
|
840
|
+
},
|
|
841
|
+
toProto(message: EventExec): Uint8Array {
|
|
842
|
+
return EventExec.encode(message).finish();
|
|
843
|
+
},
|
|
844
|
+
toProtoMsg(message: EventExec): EventExecProtoMsg {
|
|
845
|
+
return {
|
|
846
|
+
typeUrl: "/cosmos.group.v1.EventExec",
|
|
847
|
+
value: EventExec.encode(message).finish()
|
|
848
|
+
};
|
|
849
|
+
}
|
|
850
|
+
};
|
|
851
|
+
GlobalDecoderRegistry.register(EventExec.typeUrl, EventExec);
|
|
852
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(EventExec.aminoType, EventExec.typeUrl);
|
|
853
|
+
function createBaseEventLeaveGroup(): EventLeaveGroup {
|
|
854
|
+
return {
|
|
855
|
+
groupId: BigInt(0),
|
|
856
|
+
address: ""
|
|
857
|
+
};
|
|
858
|
+
}
|
|
859
|
+
export const EventLeaveGroup = {
|
|
860
|
+
typeUrl: "/cosmos.group.v1.EventLeaveGroup",
|
|
861
|
+
aminoType: "cosmos-sdk/EventLeaveGroup",
|
|
862
|
+
is(o: any): o is EventLeaveGroup {
|
|
863
|
+
return o && (o.$typeUrl === EventLeaveGroup.typeUrl || typeof o.groupId === "bigint" && typeof o.address === "string");
|
|
864
|
+
},
|
|
865
|
+
isAmino(o: any): o is EventLeaveGroupAmino {
|
|
866
|
+
return o && (o.$typeUrl === EventLeaveGroup.typeUrl || typeof o.group_id === "bigint" && typeof o.address === "string");
|
|
867
|
+
},
|
|
868
|
+
encode(message: EventLeaveGroup, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
869
|
+
if (message.groupId !== BigInt(0)) {
|
|
870
|
+
writer.uint32(8).uint64(message.groupId);
|
|
871
|
+
}
|
|
872
|
+
if (message.address !== "") {
|
|
873
|
+
writer.uint32(18).string(message.address);
|
|
874
|
+
}
|
|
875
|
+
return writer;
|
|
876
|
+
},
|
|
877
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventLeaveGroup {
|
|
878
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
879
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
880
|
+
const message = createBaseEventLeaveGroup();
|
|
881
|
+
while (reader.pos < end) {
|
|
882
|
+
const tag = reader.uint32();
|
|
883
|
+
switch (tag >>> 3) {
|
|
884
|
+
case 1:
|
|
885
|
+
message.groupId = reader.uint64();
|
|
886
|
+
break;
|
|
887
|
+
case 2:
|
|
888
|
+
message.address = reader.string();
|
|
889
|
+
break;
|
|
890
|
+
default:
|
|
891
|
+
reader.skipType(tag & 7);
|
|
892
|
+
break;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
return message;
|
|
896
|
+
},
|
|
897
|
+
fromPartial(object: DeepPartial<EventLeaveGroup>): EventLeaveGroup {
|
|
898
|
+
const message = createBaseEventLeaveGroup();
|
|
899
|
+
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
900
|
+
message.address = object.address ?? "";
|
|
901
|
+
return message;
|
|
902
|
+
},
|
|
903
|
+
fromAmino(object: EventLeaveGroupAmino): EventLeaveGroup {
|
|
904
|
+
const message = createBaseEventLeaveGroup();
|
|
905
|
+
if (object.group_id !== undefined && object.group_id !== null) {
|
|
906
|
+
message.groupId = BigInt(object.group_id);
|
|
907
|
+
}
|
|
908
|
+
if (object.address !== undefined && object.address !== null) {
|
|
909
|
+
message.address = object.address;
|
|
910
|
+
}
|
|
911
|
+
return message;
|
|
912
|
+
},
|
|
913
|
+
toAmino(message: EventLeaveGroup): EventLeaveGroupAmino {
|
|
914
|
+
const obj: any = {};
|
|
915
|
+
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
916
|
+
obj.address = message.address === "" ? undefined : message.address;
|
|
917
|
+
return obj;
|
|
918
|
+
},
|
|
919
|
+
fromAminoMsg(object: EventLeaveGroupAminoMsg): EventLeaveGroup {
|
|
920
|
+
return EventLeaveGroup.fromAmino(object.value);
|
|
921
|
+
},
|
|
922
|
+
toAminoMsg(message: EventLeaveGroup): EventLeaveGroupAminoMsg {
|
|
923
|
+
return {
|
|
924
|
+
type: "cosmos-sdk/EventLeaveGroup",
|
|
925
|
+
value: EventLeaveGroup.toAmino(message)
|
|
926
|
+
};
|
|
927
|
+
},
|
|
928
|
+
fromProtoMsg(message: EventLeaveGroupProtoMsg): EventLeaveGroup {
|
|
929
|
+
return EventLeaveGroup.decode(message.value);
|
|
930
|
+
},
|
|
931
|
+
toProto(message: EventLeaveGroup): Uint8Array {
|
|
932
|
+
return EventLeaveGroup.encode(message).finish();
|
|
933
|
+
},
|
|
934
|
+
toProtoMsg(message: EventLeaveGroup): EventLeaveGroupProtoMsg {
|
|
935
|
+
return {
|
|
936
|
+
typeUrl: "/cosmos.group.v1.EventLeaveGroup",
|
|
937
|
+
value: EventLeaveGroup.encode(message).finish()
|
|
938
|
+
};
|
|
939
|
+
}
|
|
940
|
+
};
|
|
941
|
+
GlobalDecoderRegistry.register(EventLeaveGroup.typeUrl, EventLeaveGroup);
|
|
942
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(EventLeaveGroup.aminoType, EventLeaveGroup.typeUrl);
|
|
943
|
+
function createBaseEventProposalPruned(): EventProposalPruned {
|
|
944
|
+
return {
|
|
945
|
+
proposalId: BigInt(0),
|
|
946
|
+
status: 0,
|
|
947
|
+
tallyResult: undefined
|
|
948
|
+
};
|
|
949
|
+
}
|
|
950
|
+
export const EventProposalPruned = {
|
|
951
|
+
typeUrl: "/cosmos.group.v1.EventProposalPruned",
|
|
952
|
+
aminoType: "cosmos-sdk/EventProposalPruned",
|
|
953
|
+
is(o: any): o is EventProposalPruned {
|
|
954
|
+
return o && (o.$typeUrl === EventProposalPruned.typeUrl || typeof o.proposalId === "bigint" && isSet(o.status));
|
|
955
|
+
},
|
|
956
|
+
isAmino(o: any): o is EventProposalPrunedAmino {
|
|
957
|
+
return o && (o.$typeUrl === EventProposalPruned.typeUrl || typeof o.proposal_id === "bigint" && isSet(o.status));
|
|
958
|
+
},
|
|
959
|
+
encode(message: EventProposalPruned, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
960
|
+
if (message.proposalId !== BigInt(0)) {
|
|
961
|
+
writer.uint32(8).uint64(message.proposalId);
|
|
962
|
+
}
|
|
963
|
+
if (message.status !== 0) {
|
|
964
|
+
writer.uint32(16).int32(message.status);
|
|
965
|
+
}
|
|
966
|
+
if (message.tallyResult !== undefined) {
|
|
967
|
+
TallyResult.encode(message.tallyResult, writer.uint32(26).fork()).ldelim();
|
|
968
|
+
}
|
|
969
|
+
return writer;
|
|
970
|
+
},
|
|
971
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventProposalPruned {
|
|
972
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
973
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
974
|
+
const message = createBaseEventProposalPruned();
|
|
975
|
+
while (reader.pos < end) {
|
|
976
|
+
const tag = reader.uint32();
|
|
977
|
+
switch (tag >>> 3) {
|
|
978
|
+
case 1:
|
|
979
|
+
message.proposalId = reader.uint64();
|
|
980
|
+
break;
|
|
981
|
+
case 2:
|
|
982
|
+
message.status = reader.int32() as any;
|
|
983
|
+
break;
|
|
984
|
+
case 3:
|
|
985
|
+
message.tallyResult = TallyResult.decode(reader, reader.uint32());
|
|
986
|
+
break;
|
|
987
|
+
default:
|
|
988
|
+
reader.skipType(tag & 7);
|
|
989
|
+
break;
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
return message;
|
|
993
|
+
},
|
|
994
|
+
fromPartial(object: DeepPartial<EventProposalPruned>): EventProposalPruned {
|
|
995
|
+
const message = createBaseEventProposalPruned();
|
|
996
|
+
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
997
|
+
message.status = object.status ?? 0;
|
|
998
|
+
message.tallyResult = object.tallyResult !== undefined && object.tallyResult !== null ? TallyResult.fromPartial(object.tallyResult) : undefined;
|
|
999
|
+
return message;
|
|
1000
|
+
},
|
|
1001
|
+
fromAmino(object: EventProposalPrunedAmino): EventProposalPruned {
|
|
1002
|
+
const message = createBaseEventProposalPruned();
|
|
1003
|
+
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
1004
|
+
message.proposalId = BigInt(object.proposal_id);
|
|
1005
|
+
}
|
|
1006
|
+
if (object.status !== undefined && object.status !== null) {
|
|
1007
|
+
message.status = object.status;
|
|
1008
|
+
}
|
|
1009
|
+
if (object.tally_result !== undefined && object.tally_result !== null) {
|
|
1010
|
+
message.tallyResult = TallyResult.fromAmino(object.tally_result);
|
|
1011
|
+
}
|
|
1012
|
+
return message;
|
|
1013
|
+
},
|
|
1014
|
+
toAmino(message: EventProposalPruned): EventProposalPrunedAmino {
|
|
1015
|
+
const obj: any = {};
|
|
1016
|
+
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
1017
|
+
obj.status = message.status === 0 ? undefined : message.status;
|
|
1018
|
+
obj.tally_result = message.tallyResult ? TallyResult.toAmino(message.tallyResult) : undefined;
|
|
1019
|
+
return obj;
|
|
1020
|
+
},
|
|
1021
|
+
fromAminoMsg(object: EventProposalPrunedAminoMsg): EventProposalPruned {
|
|
1022
|
+
return EventProposalPruned.fromAmino(object.value);
|
|
1023
|
+
},
|
|
1024
|
+
toAminoMsg(message: EventProposalPruned): EventProposalPrunedAminoMsg {
|
|
1025
|
+
return {
|
|
1026
|
+
type: "cosmos-sdk/EventProposalPruned",
|
|
1027
|
+
value: EventProposalPruned.toAmino(message)
|
|
1028
|
+
};
|
|
1029
|
+
},
|
|
1030
|
+
fromProtoMsg(message: EventProposalPrunedProtoMsg): EventProposalPruned {
|
|
1031
|
+
return EventProposalPruned.decode(message.value);
|
|
1032
|
+
},
|
|
1033
|
+
toProto(message: EventProposalPruned): Uint8Array {
|
|
1034
|
+
return EventProposalPruned.encode(message).finish();
|
|
1035
|
+
},
|
|
1036
|
+
toProtoMsg(message: EventProposalPruned): EventProposalPrunedProtoMsg {
|
|
1037
|
+
return {
|
|
1038
|
+
typeUrl: "/cosmos.group.v1.EventProposalPruned",
|
|
1039
|
+
value: EventProposalPruned.encode(message).finish()
|
|
1040
|
+
};
|
|
1041
|
+
}
|
|
1042
|
+
};
|
|
1043
|
+
GlobalDecoderRegistry.register(EventProposalPruned.typeUrl, EventProposalPruned);
|
|
1044
|
+
GlobalDecoderRegistry.registerAminoProtoMapping(EventProposalPruned.aminoType, EventProposalPruned.typeUrl);
|