@burnt-labs/xion-types 0.0.1-test.1762962136
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/jest.config.js +18 -0
- package/package.json +56 -0
- package/scripts/aminos.ts +29 -0
- package/scripts/codegen.ts +94 -0
- package/scripts/download-protos.ts +248 -0
- package/telescope.config.json +84 -0
- package/tsconfig.esm.json +9 -0
- package/tsconfig.json +18 -0
- package/types/abstractaccount/bundle.ts +35 -0
- package/types/abstractaccount/client.ts +48 -0
- package/types/abstractaccount/lcd.ts +130 -0
- package/types/abstractaccount/rpc.query.ts +93 -0
- package/types/abstractaccount/rpc.tx.ts +74 -0
- package/types/abstractaccount/v1/account.ts +250 -0
- package/types/abstractaccount/v1/events.ts +135 -0
- package/types/abstractaccount/v1/genesis.ts +106 -0
- package/types/abstractaccount/v1/params.ts +192 -0
- package/types/abstractaccount/v1/query.lcd.ts +19 -0
- package/types/abstractaccount/v1/query.rpc.Query.ts +31 -0
- package/types/abstractaccount/v1/query.ts +160 -0
- package/types/abstractaccount/v1/tx.amino.ts +14 -0
- package/types/abstractaccount/v1/tx.registry.ts +53 -0
- package/types/abstractaccount/v1/tx.rpc.msg.ts +29 -0
- package/types/abstractaccount/v1/tx.ts +454 -0
- package/types/amino/amino.ts +1 -0
- package/types/amino/bundle.ts +5 -0
- package/types/binary.ts +535 -0
- package/types/cosmos/app/runtime/v1alpha1/module.ts +492 -0
- package/types/cosmos/app/v1alpha1/config.ts +437 -0
- package/types/cosmos/app/v1alpha1/module.ts +466 -0
- package/types/cosmos/app/v1alpha1/query.rpc.Query.ts +31 -0
- package/types/cosmos/app/v1alpha1/query.ts +176 -0
- package/types/cosmos/auth/module/v1/module.ts +288 -0
- package/types/cosmos/auth/v1beta1/auth.ts +562 -0
- package/types/cosmos/auth/v1beta1/genesis.ts +123 -0
- package/types/cosmos/auth/v1beta1/query.lcd.ts +91 -0
- package/types/cosmos/auth/v1beta1/query.rpc.Query.ts +137 -0
- package/types/cosmos/auth/v1beta1/query.ts +2005 -0
- package/types/cosmos/auth/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/auth/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/auth/v1beta1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/auth/v1beta1/tx.ts +208 -0
- package/types/cosmos/authz/module/v1/module.ts +77 -0
- package/types/cosmos/authz/v1beta1/authz.ts +599 -0
- package/types/cosmos/authz/v1beta1/event.ts +274 -0
- package/types/cosmos/authz/v1beta1/genesis.ts +99 -0
- package/types/cosmos/authz/v1beta1/query.lcd.ts +59 -0
- package/types/cosmos/authz/v1beta1/query.rpc.Query.ts +53 -0
- package/types/cosmos/authz/v1beta1/query.ts +734 -0
- package/types/cosmos/authz/v1beta1/tx.amino.ts +19 -0
- package/types/cosmos/authz/v1beta1/tx.registry.ts +71 -0
- package/types/cosmos/authz/v1beta1/tx.rpc.msg.ts +49 -0
- package/types/cosmos/authz/v1beta1/tx.ts +666 -0
- package/types/cosmos/autocli/v1/options.ts +1317 -0
- package/types/cosmos/autocli/v1/query.rpc.Query.ts +32 -0
- package/types/cosmos/autocli/v1/query.ts +298 -0
- package/types/cosmos/bank/module/v1/module.ts +156 -0
- package/types/cosmos/bank/v1beta1/authz.ts +134 -0
- package/types/cosmos/bank/v1beta1/bank.ts +984 -0
- package/types/cosmos/bank/v1beta1/genesis.ts +316 -0
- package/types/cosmos/bank/v1beta1/query.lcd.ts +207 -0
- package/types/cosmos/bank/v1beta1/query.rpc.Query.ts +212 -0
- package/types/cosmos/bank/v1beta1/query.ts +3051 -0
- package/types/cosmos/bank/v1beta1/tx.amino.ts +24 -0
- package/types/cosmos/bank/v1beta1/tx.registry.ts +89 -0
- package/types/cosmos/bank/v1beta1/tx.rpc.msg.ts +53 -0
- package/types/cosmos/bank/v1beta1/tx.ts +845 -0
- package/types/cosmos/base/abci/v1beta1/abci.ts +1776 -0
- package/types/cosmos/base/node/v1beta1/query.lcd.ts +25 -0
- package/types/cosmos/base/node/v1beta1/query.rpc.Service.ts +42 -0
- package/types/cosmos/base/node/v1beta1/query.ts +467 -0
- package/types/cosmos/base/query/v1beta1/pagination.ts +372 -0
- package/types/cosmos/base/reflection/v1beta1/reflection.ts +385 -0
- package/types/cosmos/base/reflection/v2alpha1/reflection.ts +2790 -0
- package/types/cosmos/base/tendermint/v1beta1/query.lcd.ts +87 -0
- package/types/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +103 -0
- package/types/cosmos/base/tendermint/v1beta1/query.ts +2358 -0
- package/types/cosmos/base/tendermint/v1beta1/types.ts +492 -0
- package/types/cosmos/base/v1beta1/coin.ts +449 -0
- package/types/cosmos/benchmark/module/v1/module.ts +384 -0
- package/types/cosmos/benchmark/v1/benchmark.ts +186 -0
- package/types/cosmos/benchmark/v1/tx.amino.ts +9 -0
- package/types/cosmos/benchmark/v1/tx.registry.ts +35 -0
- package/types/cosmos/benchmark/v1/tx.rpc.msg.ts +21 -0
- package/types/cosmos/benchmark/v1/tx.ts +224 -0
- package/types/cosmos/bundle.ts +807 -0
- package/types/cosmos/circuit/module/v1/module.ts +100 -0
- package/types/cosmos/circuit/v1/query.lcd.ts +40 -0
- package/types/cosmos/circuit/v1/query.rpc.Query.ts +55 -0
- package/types/cosmos/circuit/v1/query.ts +576 -0
- package/types/cosmos/circuit/v1/tx.amino.ts +19 -0
- package/types/cosmos/circuit/v1/tx.registry.ts +71 -0
- package/types/cosmos/circuit/v1/tx.rpc.msg.ts +43 -0
- package/types/cosmos/circuit/v1/tx.ts +685 -0
- package/types/cosmos/circuit/v1/types.ts +419 -0
- package/types/cosmos/client.ts +100 -0
- package/types/cosmos/consensus/module/v1/module.ts +100 -0
- package/types/cosmos/consensus/v1/query.lcd.ts +19 -0
- package/types/cosmos/consensus/v1/query.rpc.Query.ts +31 -0
- package/types/cosmos/consensus/v1/query.ts +182 -0
- package/types/cosmos/consensus/v1/tx.amino.ts +9 -0
- package/types/cosmos/consensus/v1/tx.registry.ts +35 -0
- package/types/cosmos/consensus/v1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/consensus/v1/tx.ts +257 -0
- package/types/cosmos/counter/module/v1/module.ts +100 -0
- package/types/cosmos/counter/v1/query.rpc.Query.ts +31 -0
- package/types/cosmos/counter/v1/query.ts +171 -0
- package/types/cosmos/counter/v1/tx.amino.ts +9 -0
- package/types/cosmos/counter/v1/tx.registry.ts +35 -0
- package/types/cosmos/counter/v1/tx.rpc.msg.ts +21 -0
- package/types/cosmos/counter/v1/tx.ts +217 -0
- package/types/cosmos/crisis/module/v1/module.ts +119 -0
- package/types/cosmos/crisis/v1beta1/genesis.ts +105 -0
- package/types/cosmos/crisis/v1beta1/tx.amino.ts +14 -0
- package/types/cosmos/crisis/v1beta1/tx.registry.ts +53 -0
- package/types/cosmos/crisis/v1beta1/tx.rpc.msg.ts +32 -0
- package/types/cosmos/crisis/v1beta1/tx.ts +413 -0
- package/types/cosmos/crypto/bls12_381/keys.ts +207 -0
- package/types/cosmos/crypto/ed25519/keys.ts +214 -0
- package/types/cosmos/crypto/hd/v1/hd.ts +180 -0
- package/types/cosmos/crypto/keyring/v1/record.ts +542 -0
- package/types/cosmos/crypto/multisig/keys.ts +124 -0
- package/types/cosmos/crypto/multisig/v1beta1/multisig.ts +231 -0
- package/types/cosmos/crypto/secp256k1/keys.ts +207 -0
- package/types/cosmos/crypto/secp256r1/keys.ts +203 -0
- package/types/cosmos/distribution/module/v1/module.ts +115 -0
- package/types/cosmos/distribution/v1beta1/distribution.ts +1551 -0
- package/types/cosmos/distribution/v1beta1/genesis.ts +1208 -0
- package/types/cosmos/distribution/v1beta1/query.lcd.ts +89 -0
- package/types/cosmos/distribution/v1beta1/query.rpc.Query.ts +137 -0
- package/types/cosmos/distribution/v1beta1/query.ts +2195 -0
- package/types/cosmos/distribution/v1beta1/tx.amino.ts +39 -0
- package/types/cosmos/distribution/v1beta1/tx.registry.ts +143 -0
- package/types/cosmos/distribution/v1beta1/tx.rpc.msg.ts +96 -0
- package/types/cosmos/distribution/v1beta1/tx.ts +1460 -0
- package/types/cosmos/epochs/module/v1/module.ts +77 -0
- package/types/cosmos/epochs/v1beta1/events.ts +205 -0
- package/types/cosmos/epochs/v1beta1/genesis.ts +384 -0
- package/types/cosmos/epochs/v1beta1/query.lcd.ts +31 -0
- package/types/cosmos/epochs/v1beta1/query.rpc.Query.ts +42 -0
- package/types/cosmos/epochs/v1beta1/query.ts +390 -0
- package/types/cosmos/evidence/module/v1/module.ts +77 -0
- package/types/cosmos/evidence/v1beta1/evidence.ts +166 -0
- package/types/cosmos/evidence/v1beta1/genesis.ts +103 -0
- package/types/cosmos/evidence/v1beta1/query.lcd.ts +40 -0
- package/types/cosmos/evidence/v1beta1/query.rpc.Query.ts +44 -0
- package/types/cosmos/evidence/v1beta1/query.ts +458 -0
- package/types/cosmos/evidence/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/evidence/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/evidence/v1beta1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/evidence/v1beta1/tx.ts +243 -0
- package/types/cosmos/feegrant/module/v1/module.ts +77 -0
- package/types/cosmos/feegrant/v1beta1/feegrant.ts +701 -0
- package/types/cosmos/feegrant/v1beta1/genesis.ts +99 -0
- package/types/cosmos/feegrant/v1beta1/query.lcd.ts +44 -0
- package/types/cosmos/feegrant/v1beta1/query.rpc.Query.ts +53 -0
- package/types/cosmos/feegrant/v1beta1/query.ts +683 -0
- package/types/cosmos/feegrant/v1beta1/tx.amino.ts +19 -0
- package/types/cosmos/feegrant/v1beta1/tx.registry.ts +71 -0
- package/types/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +43 -0
- package/types/cosmos/feegrant/v1beta1/tx.ts +683 -0
- package/types/cosmos/genutil/module/v1/module.ts +77 -0
- package/types/cosmos/genutil/v1beta1/genesis.ts +103 -0
- package/types/cosmos/gov/module/v1/module.ts +123 -0
- package/types/cosmos/gov/v1/genesis.ts +288 -0
- package/types/cosmos/gov/v1/gov.ts +1889 -0
- package/types/cosmos/gov/v1/query.lcd.ts +95 -0
- package/types/cosmos/gov/v1/query.rpc.Query.ts +119 -0
- package/types/cosmos/gov/v1/query.ts +2026 -0
- package/types/cosmos/gov/v1/tx.amino.ts +39 -0
- package/types/cosmos/gov/v1/tx.registry.ts +143 -0
- package/types/cosmos/gov/v1/tx.rpc.msg.ts +75 -0
- package/types/cosmos/gov/v1/tx.ts +1911 -0
- package/types/cosmos/gov/v1beta1/genesis.ts +221 -0
- package/types/cosmos/gov/v1beta1/gov.ts +1725 -0
- package/types/cosmos/gov/v1beta1/query.lcd.ts +89 -0
- package/types/cosmos/gov/v1beta1/query.rpc.Query.ts +108 -0
- package/types/cosmos/gov/v1beta1/query.ts +1813 -0
- package/types/cosmos/gov/v1beta1/tx.amino.ts +24 -0
- package/types/cosmos/gov/v1beta1/tx.registry.ts +89 -0
- package/types/cosmos/gov/v1beta1/tx.rpc.msg.ts +45 -0
- package/types/cosmos/gov/v1beta1/tx.ts +1128 -0
- package/types/cosmos/group/module/v1/module.ts +128 -0
- package/types/cosmos/group/v1/events.ts +1195 -0
- package/types/cosmos/group/v1/genesis.ts +256 -0
- package/types/cosmos/group/v1/query.lcd.ts +158 -0
- package/types/cosmos/group/v1/query.rpc.Query.ts +182 -0
- package/types/cosmos/group/v1/query.ts +3108 -0
- package/types/cosmos/group/v1/tx.amino.ts +74 -0
- package/types/cosmos/group/v1/tx.registry.ts +269 -0
- package/types/cosmos/group/v1/tx.rpc.msg.ts +125 -0
- package/types/cosmos/group/v1/tx.ts +3353 -0
- package/types/cosmos/group/v1/types.ts +2248 -0
- package/types/cosmos/ics23/v1/proofs.ts +2167 -0
- package/types/cosmos/lcd.ts +125 -0
- package/types/cosmos/mint/module/v1/module.ts +115 -0
- package/types/cosmos/mint/v1beta1/genesis.ts +120 -0
- package/types/cosmos/mint/v1beta1/mint.ts +313 -0
- package/types/cosmos/mint/v1beta1/query.lcd.ts +31 -0
- package/types/cosmos/mint/v1beta1/query.rpc.Query.ts +53 -0
- package/types/cosmos/mint/v1beta1/query.ts +544 -0
- package/types/cosmos/mint/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/mint/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/mint/v1beta1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/mint/v1beta1/tx.ts +208 -0
- package/types/cosmos/msg/textual/v1/textual.ts +1 -0
- package/types/cosmos/msg/v1/msg.ts +1 -0
- package/types/cosmos/nft/module/v1/module.ts +77 -0
- package/types/cosmos/nft/v1beta1/event.ts +429 -0
- package/types/cosmos/nft/v1beta1/genesis.ts +243 -0
- package/types/cosmos/nft/v1beta1/nft.ts +389 -0
- package/types/cosmos/nft/v1beta1/query.lcd.ts +77 -0
- package/types/cosmos/nft/v1beta1/query.rpc.Query.ts +102 -0
- package/types/cosmos/nft/v1beta1/query.ts +1513 -0
- package/types/cosmos/nft/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/nft/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/nft/v1beta1/tx.rpc.msg.ts +21 -0
- package/types/cosmos/nft/v1beta1/tx.ts +232 -0
- package/types/cosmos/params/module/v1/module.ts +77 -0
- package/types/cosmos/params/v1beta1/params.ts +262 -0
- package/types/cosmos/params/v1beta1/query.lcd.ts +35 -0
- package/types/cosmos/params/v1beta1/query.rpc.Query.ts +45 -0
- package/types/cosmos/params/v1beta1/query.ts +521 -0
- package/types/cosmos/protocolpool/module/v1/module.ts +100 -0
- package/types/cosmos/protocolpool/v1/genesis.ts +126 -0
- package/types/cosmos/protocolpool/v1/query.lcd.ts +37 -0
- package/types/cosmos/protocolpool/v1/query.rpc.Query.ts +64 -0
- package/types/cosmos/protocolpool/v1/query.ts +761 -0
- package/types/cosmos/protocolpool/v1/tx.amino.ts +29 -0
- package/types/cosmos/protocolpool/v1/tx.registry.ts +107 -0
- package/types/cosmos/protocolpool/v1/tx.rpc.msg.ts +69 -0
- package/types/cosmos/protocolpool/v1/tx.ts +1124 -0
- package/types/cosmos/protocolpool/v1/types.ts +268 -0
- package/types/cosmos/query/v1/query.ts +1 -0
- package/types/cosmos/reflection/v1/reflection.ts +178 -0
- package/types/cosmos/rpc.query.ts +90 -0
- package/types/cosmos/rpc.tx.ts +71 -0
- package/types/cosmos/slashing/module/v1/module.ts +100 -0
- package/types/cosmos/slashing/v1beta1/genesis.ts +511 -0
- package/types/cosmos/slashing/v1beta1/query.lcd.ts +40 -0
- package/types/cosmos/slashing/v1beta1/query.rpc.Query.ts +55 -0
- package/types/cosmos/slashing/v1beta1/query.ts +606 -0
- package/types/cosmos/slashing/v1beta1/slashing.ts +371 -0
- package/types/cosmos/slashing/v1beta1/tx.amino.ts +14 -0
- package/types/cosmos/slashing/v1beta1/tx.registry.ts +53 -0
- package/types/cosmos/slashing/v1beta1/tx.rpc.msg.ts +36 -0
- package/types/cosmos/slashing/v1beta1/tx.ts +377 -0
- package/types/cosmos/staking/module/v1/module.ts +165 -0
- package/types/cosmos/staking/v1beta1/authz.ts +321 -0
- package/types/cosmos/staking/v1beta1/genesis.ts +370 -0
- package/types/cosmos/staking/v1beta1/query.lcd.ts +174 -0
- package/types/cosmos/staking/v1beta1/query.rpc.Query.ts +217 -0
- package/types/cosmos/staking/v1beta1/query.ts +3187 -0
- package/types/cosmos/staking/v1beta1/staking.ts +3193 -0
- package/types/cosmos/staking/v1beta1/tx.amino.ts +39 -0
- package/types/cosmos/staking/v1beta1/tx.registry.ts +143 -0
- package/types/cosmos/staking/v1beta1/tx.rpc.msg.ts +84 -0
- package/types/cosmos/staking/v1beta1/tx.ts +1642 -0
- package/types/cosmos/store/internal/kv/v1beta1/kv.ts +208 -0
- package/types/cosmos/store/snapshots/v1/snapshot.ts +840 -0
- package/types/cosmos/store/streaming/abci/grpc.ts +393 -0
- package/types/cosmos/store/v1beta1/commit_info.ts +369 -0
- package/types/cosmos/store/v1beta1/listening.ts +296 -0
- package/types/cosmos/tx/config/v1/config.ts +127 -0
- package/types/cosmos/tx/signing/v1beta1/signing.ts +713 -0
- package/types/cosmos/tx/v1beta1/service.lcd.ts +59 -0
- package/types/cosmos/tx/v1beta1/service.rpc.Service.ts +119 -0
- package/types/cosmos/tx/v1beta1/service.ts +2319 -0
- package/types/cosmos/tx/v1beta1/tx.ts +2168 -0
- package/types/cosmos/upgrade/module/v1/module.ts +100 -0
- package/types/cosmos/upgrade/v1beta1/query.lcd.ts +54 -0
- package/types/cosmos/upgrade/v1beta1/query.rpc.Query.ts +82 -0
- package/types/cosmos/upgrade/v1beta1/query.ts +1004 -0
- package/types/cosmos/upgrade/v1beta1/tx.amino.ts +14 -0
- package/types/cosmos/upgrade/v1beta1/tx.registry.ts +53 -0
- package/types/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +32 -0
- package/types/cosmos/upgrade/v1beta1/tx.ts +368 -0
- package/types/cosmos/upgrade/v1beta1/upgrade.ts +623 -0
- package/types/cosmos/vesting/module/v1/module.ts +77 -0
- package/types/cosmos/vesting/v1beta1/tx.amino.ts +19 -0
- package/types/cosmos/vesting/v1beta1/tx.registry.ts +71 -0
- package/types/cosmos/vesting/v1beta1/tx.rpc.msg.ts +46 -0
- package/types/cosmos/vesting/v1beta1/tx.ts +688 -0
- package/types/cosmos/vesting/v1beta1/vesting.ts +751 -0
- package/types/cosmos_proto/bundle.ts +5 -0
- package/types/cosmos_proto/cosmos.ts +355 -0
- package/types/cosmwasm/bundle.ts +39 -0
- package/types/cosmwasm/client.ts +48 -0
- package/types/cosmwasm/lcd.ts +132 -0
- package/types/cosmwasm/rpc.query.ts +95 -0
- package/types/cosmwasm/rpc.tx.ts +76 -0
- package/types/cosmwasm/wasm/v1/authz.ts +1409 -0
- package/types/cosmwasm/wasm/v1/genesis.ts +544 -0
- package/types/cosmwasm/wasm/v1/ibc.ts +437 -0
- package/types/cosmwasm/wasm/v1/proposal_legacy.ts +2711 -0
- package/types/cosmwasm/wasm/v1/query.lcd.ts +154 -0
- package/types/cosmwasm/wasm/v1/query.rpc.Query.ts +181 -0
- package/types/cosmwasm/wasm/v1/query.ts +3339 -0
- package/types/cosmwasm/wasm/v1/tx.amino.ts +89 -0
- package/types/cosmwasm/wasm/v1/tx.registry.ts +323 -0
- package/types/cosmwasm/wasm/v1/tx.rpc.msg.ts +197 -0
- package/types/cosmwasm/wasm/v1/tx.ts +4403 -0
- package/types/cosmwasm/wasm/v1/types.ts +1193 -0
- package/types/gogoproto/bundle.ts +5 -0
- package/types/gogoproto/gogo.ts +1 -0
- package/types/google/api/annotations.ts +1 -0
- package/types/google/api/apikeys/v2/apikeys.ts +1245 -0
- package/types/google/api/apikeys/v2/resources.ts +1268 -0
- package/types/google/api/auth.ts +1175 -0
- package/types/google/api/backend.ts +691 -0
- package/types/google/api/billing.ts +333 -0
- package/types/google/api/client.ts +3100 -0
- package/types/google/api/cloudquotas/v1/cloudquotas.ts +1196 -0
- package/types/google/api/cloudquotas/v1/resources.ts +2065 -0
- package/types/google/api/cloudquotas/v1beta/cloudquotas.ts +1196 -0
- package/types/google/api/cloudquotas/v1beta/quota_adjuster_settings.ts +509 -0
- package/types/google/api/cloudquotas/v1beta/resources.ts +2069 -0
- package/types/google/api/config_change.ts +385 -0
- package/types/google/api/consumer.ts +362 -0
- package/types/google/api/context.ts +418 -0
- package/types/google/api/control.ts +141 -0
- package/types/google/api/distribution.ts +1253 -0
- package/types/google/api/documentation.ts +738 -0
- package/types/google/api/endpoint.ts +245 -0
- package/types/google/api/error_reason.ts +816 -0
- package/types/google/api/expr/conformance/v1alpha1/conformance_service.ts +1293 -0
- package/types/google/api/expr/v1alpha1/checked.ts +2259 -0
- package/types/google/api/expr/v1alpha1/eval.ts +675 -0
- package/types/google/api/expr/v1alpha1/explain.ts +257 -0
- package/types/google/api/expr/v1alpha1/syntax.ts +2983 -0
- package/types/google/api/expr/v1alpha1/value.ts +771 -0
- package/types/google/api/expr/v1beta1/decl.ts +563 -0
- package/types/google/api/expr/v1beta1/eval.ts +758 -0
- package/types/google/api/expr/v1beta1/expr.ts +1750 -0
- package/types/google/api/expr/v1beta1/source.ts +446 -0
- package/types/google/api/expr/v1beta1/value.ts +771 -0
- package/types/google/api/field_behavior.ts +136 -0
- package/types/google/api/field_info.ts +319 -0
- package/types/google/api/http.ts +1362 -0
- package/types/google/api/httpbody.ts +270 -0
- package/types/google/api/label.ts +174 -0
- package/types/google/api/launch_stage.ts +112 -0
- package/types/google/api/log.ts +201 -0
- package/types/google/api/logging.ts +355 -0
- package/types/google/api/metric.ts +1174 -0
- package/types/google/api/monitored_resource.ts +841 -0
- package/types/google/api/monitoring.ts +430 -0
- package/types/google/api/policy.ts +314 -0
- package/types/google/api/quota.ts +1040 -0
- package/types/google/api/resource.ts +769 -0
- package/types/google/api/routing.ts +1405 -0
- package/types/google/api/service.ts +790 -0
- package/types/google/api/servicecontrol/v1/check_error.ts +366 -0
- package/types/google/api/servicecontrol/v1/distribution.ts +773 -0
- package/types/google/api/servicecontrol/v1/http_request.ts +427 -0
- package/types/google/api/servicecontrol/v1/log_entry.ts +804 -0
- package/types/google/api/servicecontrol/v1/metric_value.ts +499 -0
- package/types/google/api/servicecontrol/v1/operation.ts +544 -0
- package/types/google/api/servicecontrol/v1/quota_controller.ts +1041 -0
- package/types/google/api/servicecontrol/v1/service_controller.ts +1164 -0
- package/types/google/api/servicecontrol/v2/service_controller.ts +949 -0
- package/types/google/api/servicemanagement/v1/resources.ts +1888 -0
- package/types/google/api/servicemanagement/v1/servicemanager.ts +2444 -0
- package/types/google/api/serviceusage/v1/resources.ts +629 -0
- package/types/google/api/serviceusage/v1/serviceusage.ts +1530 -0
- package/types/google/api/serviceusage/v1beta1/resources.ts +2972 -0
- package/types/google/api/serviceusage/v1beta1/serviceusage.ts +4567 -0
- package/types/google/api/source_info.ts +97 -0
- package/types/google/api/system_parameter.ts +461 -0
- package/types/google/api/usage.ts +404 -0
- package/types/google/api/visibility.ts +328 -0
- package/types/google/bundle.ts +115 -0
- package/types/google/logging/type/log_severity.ts +104 -0
- package/types/google/longrunning/operations.ts +1153 -0
- package/types/google/protobuf/any.ts +424 -0
- package/types/google/protobuf/api.ts +942 -0
- package/types/google/protobuf/descriptor.ts +7801 -0
- package/types/google/protobuf/duration.ts +284 -0
- package/types/google/protobuf/empty.ts +93 -0
- package/types/google/protobuf/field_mask.ts +694 -0
- package/types/google/protobuf/source_context.ts +105 -0
- package/types/google/protobuf/struct.ts +584 -0
- package/types/google/protobuf/timestamp.ts +373 -0
- package/types/google/protobuf/type.ts +1279 -0
- package/types/google/protobuf/wrappers.ts +1002 -0
- package/types/google/rpc/code.ts +286 -0
- package/types/google/rpc/context/attribute_context.ts +2517 -0
- package/types/google/rpc/context/audit_context.ts +188 -0
- package/types/google/rpc/error_details.ts +2467 -0
- package/types/google/rpc/http.ts +424 -0
- package/types/google/rpc/status.ts +173 -0
- package/types/helpers.ts +259 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/controller.ts +107 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/query.lcd.ts +25 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.ts +42 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/query.ts +379 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.amino.ts +19 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +71 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.ts +37 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +692 -0
- package/types/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +675 -0
- package/types/ibc/applications/interchain_accounts/host/v1/host.ts +261 -0
- package/types/ibc/applications/interchain_accounts/host/v1/query.lcd.ts +19 -0
- package/types/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.ts +31 -0
- package/types/ibc/applications/interchain_accounts/host/v1/query.ts +176 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.amino.ts +14 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +53 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.ts +29 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.ts +440 -0
- package/types/ibc/applications/interchain_accounts/v1/account.ts +115 -0
- package/types/ibc/applications/interchain_accounts/v1/metadata.ts +206 -0
- package/types/ibc/applications/interchain_accounts/v1/packet.ts +262 -0
- package/types/ibc/applications/transfer/v1/authz.ts +297 -0
- package/types/ibc/applications/transfer/v1/denomtrace.ts +133 -0
- package/types/ibc/applications/transfer/v1/genesis.ts +156 -0
- package/types/ibc/applications/transfer/v1/packet.ts +186 -0
- package/types/ibc/applications/transfer/v1/query.lcd.ts +76 -0
- package/types/ibc/applications/transfer/v1/query.rpc.Query.ts +88 -0
- package/types/ibc/applications/transfer/v1/query.ts +1233 -0
- package/types/ibc/applications/transfer/v1/token.ts +347 -0
- package/types/ibc/applications/transfer/v1/transfer.ts +140 -0
- package/types/ibc/applications/transfer/v1/tx.amino.ts +14 -0
- package/types/ibc/applications/transfer/v1/tx.registry.ts +53 -0
- package/types/ibc/applications/transfer/v1/tx.rpc.msg.ts +29 -0
- package/types/ibc/applications/transfer/v1/tx.ts +579 -0
- package/types/ibc/bundle.ts +265 -0
- package/types/ibc/client.ts +72 -0
- package/types/ibc/core/channel/v1/channel.ts +1455 -0
- package/types/ibc/core/channel/v1/genesis.ts +351 -0
- package/types/ibc/core/channel/v1/query.lcd.ts +135 -0
- package/types/ibc/core/channel/v1/query.rpc.Query.ts +200 -0
- package/types/ibc/core/channel/v1/query.ts +3943 -0
- package/types/ibc/core/channel/v1/tx.amino.ts +54 -0
- package/types/ibc/core/channel/v1/tx.registry.ts +197 -0
- package/types/ibc/core/channel/v1/tx.rpc.msg.ts +96 -0
- package/types/ibc/core/channel/v1/tx.ts +2558 -0
- package/types/ibc/core/channel/v2/genesis.ts +433 -0
- package/types/ibc/core/channel/v2/packet.ts +640 -0
- package/types/ibc/core/channel/v2/query.lcd.ts +77 -0
- package/types/ibc/core/channel/v2/query.rpc.Query.ts +108 -0
- package/types/ibc/core/channel/v2/query.ts +2075 -0
- package/types/ibc/core/channel/v2/tx.amino.ts +24 -0
- package/types/ibc/core/channel/v2/tx.registry.ts +89 -0
- package/types/ibc/core/channel/v2/tx.rpc.msg.ts +45 -0
- package/types/ibc/core/channel/v2/tx.ts +1003 -0
- package/types/ibc/core/client/v1/client.ts +636 -0
- package/types/ibc/core/client/v1/genesis.ts +448 -0
- package/types/ibc/core/client/v1/query.lcd.ts +102 -0
- package/types/ibc/core/client/v1/query.rpc.Query.ts +149 -0
- package/types/ibc/core/client/v1/query.ts +2588 -0
- package/types/ibc/core/client/v1/tx.amino.ts +44 -0
- package/types/ibc/core/client/v1/tx.registry.ts +161 -0
- package/types/ibc/core/client/v1/tx.rpc.msg.ts +77 -0
- package/types/ibc/core/client/v1/tx.ts +1796 -0
- package/types/ibc/core/client/v2/config.ts +115 -0
- package/types/ibc/core/client/v2/counterparty.ts +122 -0
- package/types/ibc/core/client/v2/genesis.ts +220 -0
- package/types/ibc/core/client/v2/query.lcd.ts +25 -0
- package/types/ibc/core/client/v2/query.rpc.Query.ts +42 -0
- package/types/ibc/core/client/v2/query.ts +402 -0
- package/types/ibc/core/client/v2/tx.amino.ts +14 -0
- package/types/ibc/core/client/v2/tx.registry.ts +53 -0
- package/types/ibc/core/client/v2/tx.rpc.msg.ts +29 -0
- package/types/ibc/core/client/v2/tx.ts +453 -0
- package/types/ibc/core/commitment/v1/commitment.ts +321 -0
- package/types/ibc/core/commitment/v2/commitment.ts +193 -0
- package/types/ibc/core/connection/v1/connection.ts +1056 -0
- package/types/ibc/core/connection/v1/genesis.ts +150 -0
- package/types/ibc/core/connection/v1/query.lcd.ts +61 -0
- package/types/ibc/core/connection/v1/query.rpc.Query.ts +97 -0
- package/types/ibc/core/connection/v1/query.ts +1472 -0
- package/types/ibc/core/connection/v1/tx.amino.ts +29 -0
- package/types/ibc/core/connection/v1/tx.registry.ts +107 -0
- package/types/ibc/core/connection/v1/tx.rpc.msg.ts +59 -0
- package/types/ibc/core/connection/v1/tx.ts +1456 -0
- package/types/ibc/core/types/v1/genesis.ts +191 -0
- package/types/ibc/lcd.ts +176 -0
- package/types/ibc/lightclients/solomachine/v2/solomachine.ts +2161 -0
- package/types/ibc/lightclients/solomachine/v3/solomachine.ts +1114 -0
- package/types/ibc/lightclients/tendermint/v1/tendermint.ts +891 -0
- package/types/ibc/lightclients/wasm/v1/genesis.ts +201 -0
- package/types/ibc/lightclients/wasm/v1/query.lcd.ts +34 -0
- package/types/ibc/lightclients/wasm/v1/query.rpc.Query.ts +44 -0
- package/types/ibc/lightclients/wasm/v1/query.ts +413 -0
- package/types/ibc/lightclients/wasm/v1/tx.amino.ts +19 -0
- package/types/ibc/lightclients/wasm/v1/tx.registry.ts +71 -0
- package/types/ibc/lightclients/wasm/v1/tx.rpc.msg.ts +37 -0
- package/types/ibc/lightclients/wasm/v1/tx.ts +640 -0
- package/types/ibc/lightclients/wasm/v1/wasm.ts +444 -0
- package/types/ibc/rpc.query.ts +123 -0
- package/types/ibc/rpc.tx.ts +104 -0
- package/types/index.ts +25 -0
- package/types/tendermint/abci/types.ts +6565 -0
- package/types/tendermint/bundle.ts +33 -0
- package/types/tendermint/crypto/keys.ts +106 -0
- package/types/tendermint/crypto/proof.ts +576 -0
- package/types/tendermint/p2p/types.ts +523 -0
- package/types/tendermint/types/block.ts +134 -0
- package/types/tendermint/types/evidence.ts +491 -0
- package/types/tendermint/types/params.ts +839 -0
- package/types/tendermint/types/types.ts +2266 -0
- package/types/tendermint/types/validator.ts +399 -0
- package/types/tendermint/version/types.ts +228 -0
- package/types/utf8.ts +149 -0
- package/types/varint.ts +489 -0
- package/types/xion/bundle.ts +117 -0
- package/types/xion/client.ts +57 -0
- package/types/xion/feeabs/v1beta1/epoch.ts +386 -0
- package/types/xion/feeabs/v1beta1/genesis.ts +136 -0
- package/types/xion/feeabs/v1beta1/osmosisibc.ts +868 -0
- package/types/xion/feeabs/v1beta1/params.ts +189 -0
- package/types/xion/feeabs/v1beta1/proposal.ts +593 -0
- package/types/xion/feeabs/v1beta1/query.lcd.ts +37 -0
- package/types/xion/feeabs/v1beta1/query.rpc.Query.ts +64 -0
- package/types/xion/feeabs/v1beta1/query.ts +732 -0
- package/types/xion/feeabs/v1beta1/tx.amino.ts +39 -0
- package/types/xion/feeabs/v1beta1/tx.registry.ts +143 -0
- package/types/xion/feeabs/v1beta1/tx.rpc.msg.ts +72 -0
- package/types/xion/feeabs/v1beta1/tx.ts +1261 -0
- package/types/xion/globalfee/v1/genesis.ts +249 -0
- package/types/xion/globalfee/v1/query.lcd.ts +19 -0
- package/types/xion/globalfee/v1/query.rpc.Query.ts +31 -0
- package/types/xion/globalfee/v1/query.ts +178 -0
- package/types/xion/jwk/v1/audience.ts +224 -0
- package/types/xion/jwk/v1/genesis.ts +117 -0
- package/types/xion/jwk/v1/params.ts +113 -0
- package/types/xion/jwk/v1/query.lcd.ts +52 -0
- package/types/xion/jwk/v1/query.rpc.Query.ts +77 -0
- package/types/xion/jwk/v1/query.ts +1697 -0
- package/types/xion/jwk/v1/tx.amino.ts +29 -0
- package/types/xion/jwk/v1/tx.registry.ts +107 -0
- package/types/xion/jwk/v1/tx.rpc.msg.ts +53 -0
- package/types/xion/jwk/v1/tx.ts +1040 -0
- package/types/xion/lcd.ts +147 -0
- package/types/xion/mint/v1/event.ts +216 -0
- package/types/xion/mint/v1/genesis.ts +114 -0
- package/types/xion/mint/v1/mint.ts +307 -0
- package/types/xion/mint/v1/query.lcd.ts +31 -0
- package/types/xion/mint/v1/query.rpc.Query.ts +53 -0
- package/types/xion/mint/v1/query.ts +508 -0
- package/types/xion/mint/v1/tx.amino.ts +9 -0
- package/types/xion/mint/v1/tx.registry.ts +35 -0
- package/types/xion/mint/v1/tx.rpc.msg.ts +26 -0
- package/types/xion/mint/v1/tx.ts +222 -0
- package/types/xion/rpc.query.ts +105 -0
- package/types/xion/rpc.tx.ts +83 -0
- package/types/xion/v1/feegrant.ts +457 -0
- package/types/xion/v1/genesis.ts +116 -0
- package/types/xion/v1/query.rpc.Query.ts +64 -0
- package/types/xion/v1/query.ts +862 -0
- package/types/xion/v1/tx.amino.ts +24 -0
- package/types/xion/v1/tx.registry.ts +89 -0
- package/types/xion/v1/tx.rpc.msg.ts +57 -0
- package/types/xion/v1/tx.ts +793 -0
|
@@ -0,0 +1,1195 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { ProposalExecutorResult, ProposalStatus, TallyResult, TallyResultAmino, TallyResultSDKType } from "./types";
|
|
3
|
+
import { BinaryReader, BinaryWriter } from "../../../binary";
|
|
4
|
+
/** EventCreateGroup is an event emitted when a group is created. */
|
|
5
|
+
export interface EventCreateGroup {
|
|
6
|
+
/** group_id is the unique ID of the group. */
|
|
7
|
+
groupId: bigint;
|
|
8
|
+
}
|
|
9
|
+
export interface EventCreateGroupProtoMsg {
|
|
10
|
+
typeUrl: "/cosmos.group.v1.EventCreateGroup";
|
|
11
|
+
value: Uint8Array;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* EventCreateGroup is an event emitted when a group is created.
|
|
15
|
+
* @name EventCreateGroupAmino
|
|
16
|
+
* @package cosmos.group.v1
|
|
17
|
+
* @see proto type: cosmos.group.v1.EventCreateGroup
|
|
18
|
+
*/
|
|
19
|
+
export interface EventCreateGroupAmino {
|
|
20
|
+
/**
|
|
21
|
+
* group_id is the unique ID of the group.
|
|
22
|
+
*/
|
|
23
|
+
group_id?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface EventCreateGroupAminoMsg {
|
|
26
|
+
type: "cosmos-sdk/EventCreateGroup";
|
|
27
|
+
value: EventCreateGroupAmino;
|
|
28
|
+
}
|
|
29
|
+
/** EventCreateGroup is an event emitted when a group is created. */
|
|
30
|
+
export interface EventCreateGroupSDKType {
|
|
31
|
+
group_id: bigint;
|
|
32
|
+
}
|
|
33
|
+
/** EventUpdateGroup is an event emitted when a group is updated. */
|
|
34
|
+
export interface EventUpdateGroup {
|
|
35
|
+
/** group_id is the unique ID of the group. */
|
|
36
|
+
groupId: bigint;
|
|
37
|
+
}
|
|
38
|
+
export interface EventUpdateGroupProtoMsg {
|
|
39
|
+
typeUrl: "/cosmos.group.v1.EventUpdateGroup";
|
|
40
|
+
value: Uint8Array;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* EventUpdateGroup is an event emitted when a group is updated.
|
|
44
|
+
* @name EventUpdateGroupAmino
|
|
45
|
+
* @package cosmos.group.v1
|
|
46
|
+
* @see proto type: cosmos.group.v1.EventUpdateGroup
|
|
47
|
+
*/
|
|
48
|
+
export interface EventUpdateGroupAmino {
|
|
49
|
+
/**
|
|
50
|
+
* group_id is the unique ID of the group.
|
|
51
|
+
*/
|
|
52
|
+
group_id?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface EventUpdateGroupAminoMsg {
|
|
55
|
+
type: "cosmos-sdk/EventUpdateGroup";
|
|
56
|
+
value: EventUpdateGroupAmino;
|
|
57
|
+
}
|
|
58
|
+
/** EventUpdateGroup is an event emitted when a group is updated. */
|
|
59
|
+
export interface EventUpdateGroupSDKType {
|
|
60
|
+
group_id: bigint;
|
|
61
|
+
}
|
|
62
|
+
/** EventCreateGroupPolicy is an event emitted when a group policy is created. */
|
|
63
|
+
export interface EventCreateGroupPolicy {
|
|
64
|
+
/** address is the account address of the group policy. */
|
|
65
|
+
address: string;
|
|
66
|
+
}
|
|
67
|
+
export interface EventCreateGroupPolicyProtoMsg {
|
|
68
|
+
typeUrl: "/cosmos.group.v1.EventCreateGroupPolicy";
|
|
69
|
+
value: Uint8Array;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* EventCreateGroupPolicy is an event emitted when a group policy is created.
|
|
73
|
+
* @name EventCreateGroupPolicyAmino
|
|
74
|
+
* @package cosmos.group.v1
|
|
75
|
+
* @see proto type: cosmos.group.v1.EventCreateGroupPolicy
|
|
76
|
+
*/
|
|
77
|
+
export interface EventCreateGroupPolicyAmino {
|
|
78
|
+
/**
|
|
79
|
+
* address is the account address of the group policy.
|
|
80
|
+
*/
|
|
81
|
+
address?: string;
|
|
82
|
+
}
|
|
83
|
+
export interface EventCreateGroupPolicyAminoMsg {
|
|
84
|
+
type: "cosmos-sdk/EventCreateGroupPolicy";
|
|
85
|
+
value: EventCreateGroupPolicyAmino;
|
|
86
|
+
}
|
|
87
|
+
/** EventCreateGroupPolicy is an event emitted when a group policy is created. */
|
|
88
|
+
export interface EventCreateGroupPolicySDKType {
|
|
89
|
+
address: string;
|
|
90
|
+
}
|
|
91
|
+
/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */
|
|
92
|
+
export interface EventUpdateGroupPolicy {
|
|
93
|
+
/** address is the account address of the group policy. */
|
|
94
|
+
address: string;
|
|
95
|
+
}
|
|
96
|
+
export interface EventUpdateGroupPolicyProtoMsg {
|
|
97
|
+
typeUrl: "/cosmos.group.v1.EventUpdateGroupPolicy";
|
|
98
|
+
value: Uint8Array;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* EventUpdateGroupPolicy is an event emitted when a group policy is updated.
|
|
102
|
+
* @name EventUpdateGroupPolicyAmino
|
|
103
|
+
* @package cosmos.group.v1
|
|
104
|
+
* @see proto type: cosmos.group.v1.EventUpdateGroupPolicy
|
|
105
|
+
*/
|
|
106
|
+
export interface EventUpdateGroupPolicyAmino {
|
|
107
|
+
/**
|
|
108
|
+
* address is the account address of the group policy.
|
|
109
|
+
*/
|
|
110
|
+
address?: string;
|
|
111
|
+
}
|
|
112
|
+
export interface EventUpdateGroupPolicyAminoMsg {
|
|
113
|
+
type: "cosmos-sdk/EventUpdateGroupPolicy";
|
|
114
|
+
value: EventUpdateGroupPolicyAmino;
|
|
115
|
+
}
|
|
116
|
+
/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */
|
|
117
|
+
export interface EventUpdateGroupPolicySDKType {
|
|
118
|
+
address: string;
|
|
119
|
+
}
|
|
120
|
+
/** EventSubmitProposal is an event emitted when a proposal is created. */
|
|
121
|
+
export interface EventSubmitProposal {
|
|
122
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
123
|
+
proposalId: bigint;
|
|
124
|
+
}
|
|
125
|
+
export interface EventSubmitProposalProtoMsg {
|
|
126
|
+
typeUrl: "/cosmos.group.v1.EventSubmitProposal";
|
|
127
|
+
value: Uint8Array;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* EventSubmitProposal is an event emitted when a proposal is created.
|
|
131
|
+
* @name EventSubmitProposalAmino
|
|
132
|
+
* @package cosmos.group.v1
|
|
133
|
+
* @see proto type: cosmos.group.v1.EventSubmitProposal
|
|
134
|
+
*/
|
|
135
|
+
export interface EventSubmitProposalAmino {
|
|
136
|
+
/**
|
|
137
|
+
* proposal_id is the unique ID of the proposal.
|
|
138
|
+
*/
|
|
139
|
+
proposal_id?: string;
|
|
140
|
+
}
|
|
141
|
+
export interface EventSubmitProposalAminoMsg {
|
|
142
|
+
type: "cosmos-sdk/EventSubmitProposal";
|
|
143
|
+
value: EventSubmitProposalAmino;
|
|
144
|
+
}
|
|
145
|
+
/** EventSubmitProposal is an event emitted when a proposal is created. */
|
|
146
|
+
export interface EventSubmitProposalSDKType {
|
|
147
|
+
proposal_id: bigint;
|
|
148
|
+
}
|
|
149
|
+
/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */
|
|
150
|
+
export interface EventWithdrawProposal {
|
|
151
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
152
|
+
proposalId: bigint;
|
|
153
|
+
}
|
|
154
|
+
export interface EventWithdrawProposalProtoMsg {
|
|
155
|
+
typeUrl: "/cosmos.group.v1.EventWithdrawProposal";
|
|
156
|
+
value: Uint8Array;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* EventWithdrawProposal is an event emitted when a proposal is withdrawn.
|
|
160
|
+
* @name EventWithdrawProposalAmino
|
|
161
|
+
* @package cosmos.group.v1
|
|
162
|
+
* @see proto type: cosmos.group.v1.EventWithdrawProposal
|
|
163
|
+
*/
|
|
164
|
+
export interface EventWithdrawProposalAmino {
|
|
165
|
+
/**
|
|
166
|
+
* proposal_id is the unique ID of the proposal.
|
|
167
|
+
*/
|
|
168
|
+
proposal_id?: string;
|
|
169
|
+
}
|
|
170
|
+
export interface EventWithdrawProposalAminoMsg {
|
|
171
|
+
type: "cosmos-sdk/EventWithdrawProposal";
|
|
172
|
+
value: EventWithdrawProposalAmino;
|
|
173
|
+
}
|
|
174
|
+
/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */
|
|
175
|
+
export interface EventWithdrawProposalSDKType {
|
|
176
|
+
proposal_id: bigint;
|
|
177
|
+
}
|
|
178
|
+
/** EventVote is an event emitted when a voter votes on a proposal. */
|
|
179
|
+
export interface EventVote {
|
|
180
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
181
|
+
proposalId: bigint;
|
|
182
|
+
}
|
|
183
|
+
export interface EventVoteProtoMsg {
|
|
184
|
+
typeUrl: "/cosmos.group.v1.EventVote";
|
|
185
|
+
value: Uint8Array;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* EventVote is an event emitted when a voter votes on a proposal.
|
|
189
|
+
* @name EventVoteAmino
|
|
190
|
+
* @package cosmos.group.v1
|
|
191
|
+
* @see proto type: cosmos.group.v1.EventVote
|
|
192
|
+
*/
|
|
193
|
+
export interface EventVoteAmino {
|
|
194
|
+
/**
|
|
195
|
+
* proposal_id is the unique ID of the proposal.
|
|
196
|
+
*/
|
|
197
|
+
proposal_id?: string;
|
|
198
|
+
}
|
|
199
|
+
export interface EventVoteAminoMsg {
|
|
200
|
+
type: "cosmos-sdk/EventVote";
|
|
201
|
+
value: EventVoteAmino;
|
|
202
|
+
}
|
|
203
|
+
/** EventVote is an event emitted when a voter votes on a proposal. */
|
|
204
|
+
export interface EventVoteSDKType {
|
|
205
|
+
proposal_id: bigint;
|
|
206
|
+
}
|
|
207
|
+
/** EventExec is an event emitted when a proposal is executed. */
|
|
208
|
+
export interface EventExec {
|
|
209
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
210
|
+
proposalId: bigint;
|
|
211
|
+
/** result is the proposal execution result. */
|
|
212
|
+
result: ProposalExecutorResult;
|
|
213
|
+
/** logs contains error logs in case the execution result is FAILURE. */
|
|
214
|
+
logs: string;
|
|
215
|
+
}
|
|
216
|
+
export interface EventExecProtoMsg {
|
|
217
|
+
typeUrl: "/cosmos.group.v1.EventExec";
|
|
218
|
+
value: Uint8Array;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* EventExec is an event emitted when a proposal is executed.
|
|
222
|
+
* @name EventExecAmino
|
|
223
|
+
* @package cosmos.group.v1
|
|
224
|
+
* @see proto type: cosmos.group.v1.EventExec
|
|
225
|
+
*/
|
|
226
|
+
export interface EventExecAmino {
|
|
227
|
+
/**
|
|
228
|
+
* proposal_id is the unique ID of the proposal.
|
|
229
|
+
*/
|
|
230
|
+
proposal_id?: string;
|
|
231
|
+
/**
|
|
232
|
+
* result is the proposal execution result.
|
|
233
|
+
*/
|
|
234
|
+
result?: ProposalExecutorResult;
|
|
235
|
+
/**
|
|
236
|
+
* logs contains error logs in case the execution result is FAILURE.
|
|
237
|
+
*/
|
|
238
|
+
logs?: string;
|
|
239
|
+
}
|
|
240
|
+
export interface EventExecAminoMsg {
|
|
241
|
+
type: "cosmos-sdk/EventExec";
|
|
242
|
+
value: EventExecAmino;
|
|
243
|
+
}
|
|
244
|
+
/** EventExec is an event emitted when a proposal is executed. */
|
|
245
|
+
export interface EventExecSDKType {
|
|
246
|
+
proposal_id: bigint;
|
|
247
|
+
result: ProposalExecutorResult;
|
|
248
|
+
logs: string;
|
|
249
|
+
}
|
|
250
|
+
/** EventLeaveGroup is an event emitted when group member leaves the group. */
|
|
251
|
+
export interface EventLeaveGroup {
|
|
252
|
+
/** group_id is the unique ID of the group. */
|
|
253
|
+
groupId: bigint;
|
|
254
|
+
/** address is the account address of the group member. */
|
|
255
|
+
address: string;
|
|
256
|
+
}
|
|
257
|
+
export interface EventLeaveGroupProtoMsg {
|
|
258
|
+
typeUrl: "/cosmos.group.v1.EventLeaveGroup";
|
|
259
|
+
value: Uint8Array;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* EventLeaveGroup is an event emitted when group member leaves the group.
|
|
263
|
+
* @name EventLeaveGroupAmino
|
|
264
|
+
* @package cosmos.group.v1
|
|
265
|
+
* @see proto type: cosmos.group.v1.EventLeaveGroup
|
|
266
|
+
*/
|
|
267
|
+
export interface EventLeaveGroupAmino {
|
|
268
|
+
/**
|
|
269
|
+
* group_id is the unique ID of the group.
|
|
270
|
+
*/
|
|
271
|
+
group_id?: string;
|
|
272
|
+
/**
|
|
273
|
+
* address is the account address of the group member.
|
|
274
|
+
*/
|
|
275
|
+
address?: string;
|
|
276
|
+
}
|
|
277
|
+
export interface EventLeaveGroupAminoMsg {
|
|
278
|
+
type: "cosmos-sdk/EventLeaveGroup";
|
|
279
|
+
value: EventLeaveGroupAmino;
|
|
280
|
+
}
|
|
281
|
+
/** EventLeaveGroup is an event emitted when group member leaves the group. */
|
|
282
|
+
export interface EventLeaveGroupSDKType {
|
|
283
|
+
group_id: bigint;
|
|
284
|
+
address: string;
|
|
285
|
+
}
|
|
286
|
+
/** EventProposalPruned is an event emitted when a proposal is pruned. */
|
|
287
|
+
export interface EventProposalPruned {
|
|
288
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
289
|
+
proposalId: bigint;
|
|
290
|
+
/** status is the proposal status (UNSPECIFIED, SUBMITTED, ACCEPTED, REJECTED, ABORTED, WITHDRAWN). */
|
|
291
|
+
status: ProposalStatus;
|
|
292
|
+
/** tally_result is the proposal tally result (when applicable). */
|
|
293
|
+
tallyResult?: TallyResult;
|
|
294
|
+
}
|
|
295
|
+
export interface EventProposalPrunedProtoMsg {
|
|
296
|
+
typeUrl: "/cosmos.group.v1.EventProposalPruned";
|
|
297
|
+
value: Uint8Array;
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* EventProposalPruned is an event emitted when a proposal is pruned.
|
|
301
|
+
* @name EventProposalPrunedAmino
|
|
302
|
+
* @package cosmos.group.v1
|
|
303
|
+
* @see proto type: cosmos.group.v1.EventProposalPruned
|
|
304
|
+
*/
|
|
305
|
+
export interface EventProposalPrunedAmino {
|
|
306
|
+
/**
|
|
307
|
+
* proposal_id is the unique ID of the proposal.
|
|
308
|
+
*/
|
|
309
|
+
proposal_id?: string;
|
|
310
|
+
/**
|
|
311
|
+
* status is the proposal status (UNSPECIFIED, SUBMITTED, ACCEPTED, REJECTED, ABORTED, WITHDRAWN).
|
|
312
|
+
*/
|
|
313
|
+
status?: ProposalStatus;
|
|
314
|
+
/**
|
|
315
|
+
* tally_result is the proposal tally result (when applicable).
|
|
316
|
+
*/
|
|
317
|
+
tally_result?: TallyResultAmino;
|
|
318
|
+
}
|
|
319
|
+
export interface EventProposalPrunedAminoMsg {
|
|
320
|
+
type: "cosmos-sdk/EventProposalPruned";
|
|
321
|
+
value: EventProposalPrunedAmino;
|
|
322
|
+
}
|
|
323
|
+
/** EventProposalPruned is an event emitted when a proposal is pruned. */
|
|
324
|
+
export interface EventProposalPrunedSDKType {
|
|
325
|
+
proposal_id: bigint;
|
|
326
|
+
status: ProposalStatus;
|
|
327
|
+
tally_result?: TallyResultSDKType;
|
|
328
|
+
}
|
|
329
|
+
/** EventTallyError is an event emitted when a proposal tally failed with an error. */
|
|
330
|
+
export interface EventTallyError {
|
|
331
|
+
/** proposal_id is the unique ID of the proposal. */
|
|
332
|
+
proposalId: bigint;
|
|
333
|
+
/** error_message is the raw error output */
|
|
334
|
+
errorMessage: string;
|
|
335
|
+
}
|
|
336
|
+
export interface EventTallyErrorProtoMsg {
|
|
337
|
+
typeUrl: "/cosmos.group.v1.EventTallyError";
|
|
338
|
+
value: Uint8Array;
|
|
339
|
+
}
|
|
340
|
+
/**
|
|
341
|
+
* EventTallyError is an event emitted when a proposal tally failed with an error.
|
|
342
|
+
* @name EventTallyErrorAmino
|
|
343
|
+
* @package cosmos.group.v1
|
|
344
|
+
* @see proto type: cosmos.group.v1.EventTallyError
|
|
345
|
+
*/
|
|
346
|
+
export interface EventTallyErrorAmino {
|
|
347
|
+
/**
|
|
348
|
+
* proposal_id is the unique ID of the proposal.
|
|
349
|
+
*/
|
|
350
|
+
proposal_id?: string;
|
|
351
|
+
/**
|
|
352
|
+
* error_message is the raw error output
|
|
353
|
+
*/
|
|
354
|
+
error_message?: string;
|
|
355
|
+
}
|
|
356
|
+
export interface EventTallyErrorAminoMsg {
|
|
357
|
+
type: "cosmos-sdk/EventTallyError";
|
|
358
|
+
value: EventTallyErrorAmino;
|
|
359
|
+
}
|
|
360
|
+
/** EventTallyError is an event emitted when a proposal tally failed with an error. */
|
|
361
|
+
export interface EventTallyErrorSDKType {
|
|
362
|
+
proposal_id: bigint;
|
|
363
|
+
error_message: string;
|
|
364
|
+
}
|
|
365
|
+
function createBaseEventCreateGroup(): EventCreateGroup {
|
|
366
|
+
return {
|
|
367
|
+
groupId: BigInt(0)
|
|
368
|
+
};
|
|
369
|
+
}
|
|
370
|
+
export const EventCreateGroup = {
|
|
371
|
+
typeUrl: "/cosmos.group.v1.EventCreateGroup",
|
|
372
|
+
encode(message: EventCreateGroup, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
373
|
+
if (message.groupId !== BigInt(0)) {
|
|
374
|
+
writer.uint32(8).uint64(message.groupId);
|
|
375
|
+
}
|
|
376
|
+
return writer;
|
|
377
|
+
},
|
|
378
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventCreateGroup {
|
|
379
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
380
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
381
|
+
const message = createBaseEventCreateGroup();
|
|
382
|
+
while (reader.pos < end) {
|
|
383
|
+
const tag = reader.uint32();
|
|
384
|
+
switch (tag >>> 3) {
|
|
385
|
+
case 1:
|
|
386
|
+
message.groupId = reader.uint64();
|
|
387
|
+
break;
|
|
388
|
+
default:
|
|
389
|
+
reader.skipType(tag & 7);
|
|
390
|
+
break;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
return message;
|
|
394
|
+
},
|
|
395
|
+
fromPartial(object: Partial<EventCreateGroup>): EventCreateGroup {
|
|
396
|
+
const message = createBaseEventCreateGroup();
|
|
397
|
+
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
398
|
+
return message;
|
|
399
|
+
},
|
|
400
|
+
fromAmino(object: EventCreateGroupAmino): EventCreateGroup {
|
|
401
|
+
const message = createBaseEventCreateGroup();
|
|
402
|
+
if (object.group_id !== undefined && object.group_id !== null) {
|
|
403
|
+
message.groupId = BigInt(object.group_id);
|
|
404
|
+
}
|
|
405
|
+
return message;
|
|
406
|
+
},
|
|
407
|
+
toAmino(message: EventCreateGroup): EventCreateGroupAmino {
|
|
408
|
+
const obj: any = {};
|
|
409
|
+
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
410
|
+
return obj;
|
|
411
|
+
},
|
|
412
|
+
fromAminoMsg(object: EventCreateGroupAminoMsg): EventCreateGroup {
|
|
413
|
+
return EventCreateGroup.fromAmino(object.value);
|
|
414
|
+
},
|
|
415
|
+
toAminoMsg(message: EventCreateGroup): EventCreateGroupAminoMsg {
|
|
416
|
+
return {
|
|
417
|
+
type: "cosmos-sdk/EventCreateGroup",
|
|
418
|
+
value: EventCreateGroup.toAmino(message)
|
|
419
|
+
};
|
|
420
|
+
},
|
|
421
|
+
fromProtoMsg(message: EventCreateGroupProtoMsg): EventCreateGroup {
|
|
422
|
+
return EventCreateGroup.decode(message.value);
|
|
423
|
+
},
|
|
424
|
+
toProto(message: EventCreateGroup): Uint8Array {
|
|
425
|
+
return EventCreateGroup.encode(message).finish();
|
|
426
|
+
},
|
|
427
|
+
toProtoMsg(message: EventCreateGroup): EventCreateGroupProtoMsg {
|
|
428
|
+
return {
|
|
429
|
+
typeUrl: "/cosmos.group.v1.EventCreateGroup",
|
|
430
|
+
value: EventCreateGroup.encode(message).finish()
|
|
431
|
+
};
|
|
432
|
+
}
|
|
433
|
+
};
|
|
434
|
+
function createBaseEventUpdateGroup(): EventUpdateGroup {
|
|
435
|
+
return {
|
|
436
|
+
groupId: BigInt(0)
|
|
437
|
+
};
|
|
438
|
+
}
|
|
439
|
+
export const EventUpdateGroup = {
|
|
440
|
+
typeUrl: "/cosmos.group.v1.EventUpdateGroup",
|
|
441
|
+
encode(message: EventUpdateGroup, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
442
|
+
if (message.groupId !== BigInt(0)) {
|
|
443
|
+
writer.uint32(8).uint64(message.groupId);
|
|
444
|
+
}
|
|
445
|
+
return writer;
|
|
446
|
+
},
|
|
447
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventUpdateGroup {
|
|
448
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
449
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
450
|
+
const message = createBaseEventUpdateGroup();
|
|
451
|
+
while (reader.pos < end) {
|
|
452
|
+
const tag = reader.uint32();
|
|
453
|
+
switch (tag >>> 3) {
|
|
454
|
+
case 1:
|
|
455
|
+
message.groupId = reader.uint64();
|
|
456
|
+
break;
|
|
457
|
+
default:
|
|
458
|
+
reader.skipType(tag & 7);
|
|
459
|
+
break;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
return message;
|
|
463
|
+
},
|
|
464
|
+
fromPartial(object: Partial<EventUpdateGroup>): EventUpdateGroup {
|
|
465
|
+
const message = createBaseEventUpdateGroup();
|
|
466
|
+
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
467
|
+
return message;
|
|
468
|
+
},
|
|
469
|
+
fromAmino(object: EventUpdateGroupAmino): EventUpdateGroup {
|
|
470
|
+
const message = createBaseEventUpdateGroup();
|
|
471
|
+
if (object.group_id !== undefined && object.group_id !== null) {
|
|
472
|
+
message.groupId = BigInt(object.group_id);
|
|
473
|
+
}
|
|
474
|
+
return message;
|
|
475
|
+
},
|
|
476
|
+
toAmino(message: EventUpdateGroup): EventUpdateGroupAmino {
|
|
477
|
+
const obj: any = {};
|
|
478
|
+
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
479
|
+
return obj;
|
|
480
|
+
},
|
|
481
|
+
fromAminoMsg(object: EventUpdateGroupAminoMsg): EventUpdateGroup {
|
|
482
|
+
return EventUpdateGroup.fromAmino(object.value);
|
|
483
|
+
},
|
|
484
|
+
toAminoMsg(message: EventUpdateGroup): EventUpdateGroupAminoMsg {
|
|
485
|
+
return {
|
|
486
|
+
type: "cosmos-sdk/EventUpdateGroup",
|
|
487
|
+
value: EventUpdateGroup.toAmino(message)
|
|
488
|
+
};
|
|
489
|
+
},
|
|
490
|
+
fromProtoMsg(message: EventUpdateGroupProtoMsg): EventUpdateGroup {
|
|
491
|
+
return EventUpdateGroup.decode(message.value);
|
|
492
|
+
},
|
|
493
|
+
toProto(message: EventUpdateGroup): Uint8Array {
|
|
494
|
+
return EventUpdateGroup.encode(message).finish();
|
|
495
|
+
},
|
|
496
|
+
toProtoMsg(message: EventUpdateGroup): EventUpdateGroupProtoMsg {
|
|
497
|
+
return {
|
|
498
|
+
typeUrl: "/cosmos.group.v1.EventUpdateGroup",
|
|
499
|
+
value: EventUpdateGroup.encode(message).finish()
|
|
500
|
+
};
|
|
501
|
+
}
|
|
502
|
+
};
|
|
503
|
+
function createBaseEventCreateGroupPolicy(): EventCreateGroupPolicy {
|
|
504
|
+
return {
|
|
505
|
+
address: ""
|
|
506
|
+
};
|
|
507
|
+
}
|
|
508
|
+
export const EventCreateGroupPolicy = {
|
|
509
|
+
typeUrl: "/cosmos.group.v1.EventCreateGroupPolicy",
|
|
510
|
+
encode(message: EventCreateGroupPolicy, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
511
|
+
if (message.address !== "") {
|
|
512
|
+
writer.uint32(10).string(message.address);
|
|
513
|
+
}
|
|
514
|
+
return writer;
|
|
515
|
+
},
|
|
516
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventCreateGroupPolicy {
|
|
517
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
518
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
519
|
+
const message = createBaseEventCreateGroupPolicy();
|
|
520
|
+
while (reader.pos < end) {
|
|
521
|
+
const tag = reader.uint32();
|
|
522
|
+
switch (tag >>> 3) {
|
|
523
|
+
case 1:
|
|
524
|
+
message.address = reader.string();
|
|
525
|
+
break;
|
|
526
|
+
default:
|
|
527
|
+
reader.skipType(tag & 7);
|
|
528
|
+
break;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
return message;
|
|
532
|
+
},
|
|
533
|
+
fromPartial(object: Partial<EventCreateGroupPolicy>): EventCreateGroupPolicy {
|
|
534
|
+
const message = createBaseEventCreateGroupPolicy();
|
|
535
|
+
message.address = object.address ?? "";
|
|
536
|
+
return message;
|
|
537
|
+
},
|
|
538
|
+
fromAmino(object: EventCreateGroupPolicyAmino): EventCreateGroupPolicy {
|
|
539
|
+
const message = createBaseEventCreateGroupPolicy();
|
|
540
|
+
if (object.address !== undefined && object.address !== null) {
|
|
541
|
+
message.address = object.address;
|
|
542
|
+
}
|
|
543
|
+
return message;
|
|
544
|
+
},
|
|
545
|
+
toAmino(message: EventCreateGroupPolicy): EventCreateGroupPolicyAmino {
|
|
546
|
+
const obj: any = {};
|
|
547
|
+
obj.address = message.address === "" ? undefined : message.address;
|
|
548
|
+
return obj;
|
|
549
|
+
},
|
|
550
|
+
fromAminoMsg(object: EventCreateGroupPolicyAminoMsg): EventCreateGroupPolicy {
|
|
551
|
+
return EventCreateGroupPolicy.fromAmino(object.value);
|
|
552
|
+
},
|
|
553
|
+
toAminoMsg(message: EventCreateGroupPolicy): EventCreateGroupPolicyAminoMsg {
|
|
554
|
+
return {
|
|
555
|
+
type: "cosmos-sdk/EventCreateGroupPolicy",
|
|
556
|
+
value: EventCreateGroupPolicy.toAmino(message)
|
|
557
|
+
};
|
|
558
|
+
},
|
|
559
|
+
fromProtoMsg(message: EventCreateGroupPolicyProtoMsg): EventCreateGroupPolicy {
|
|
560
|
+
return EventCreateGroupPolicy.decode(message.value);
|
|
561
|
+
},
|
|
562
|
+
toProto(message: EventCreateGroupPolicy): Uint8Array {
|
|
563
|
+
return EventCreateGroupPolicy.encode(message).finish();
|
|
564
|
+
},
|
|
565
|
+
toProtoMsg(message: EventCreateGroupPolicy): EventCreateGroupPolicyProtoMsg {
|
|
566
|
+
return {
|
|
567
|
+
typeUrl: "/cosmos.group.v1.EventCreateGroupPolicy",
|
|
568
|
+
value: EventCreateGroupPolicy.encode(message).finish()
|
|
569
|
+
};
|
|
570
|
+
}
|
|
571
|
+
};
|
|
572
|
+
function createBaseEventUpdateGroupPolicy(): EventUpdateGroupPolicy {
|
|
573
|
+
return {
|
|
574
|
+
address: ""
|
|
575
|
+
};
|
|
576
|
+
}
|
|
577
|
+
export const EventUpdateGroupPolicy = {
|
|
578
|
+
typeUrl: "/cosmos.group.v1.EventUpdateGroupPolicy",
|
|
579
|
+
encode(message: EventUpdateGroupPolicy, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
580
|
+
if (message.address !== "") {
|
|
581
|
+
writer.uint32(10).string(message.address);
|
|
582
|
+
}
|
|
583
|
+
return writer;
|
|
584
|
+
},
|
|
585
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventUpdateGroupPolicy {
|
|
586
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
587
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
588
|
+
const message = createBaseEventUpdateGroupPolicy();
|
|
589
|
+
while (reader.pos < end) {
|
|
590
|
+
const tag = reader.uint32();
|
|
591
|
+
switch (tag >>> 3) {
|
|
592
|
+
case 1:
|
|
593
|
+
message.address = reader.string();
|
|
594
|
+
break;
|
|
595
|
+
default:
|
|
596
|
+
reader.skipType(tag & 7);
|
|
597
|
+
break;
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
return message;
|
|
601
|
+
},
|
|
602
|
+
fromPartial(object: Partial<EventUpdateGroupPolicy>): EventUpdateGroupPolicy {
|
|
603
|
+
const message = createBaseEventUpdateGroupPolicy();
|
|
604
|
+
message.address = object.address ?? "";
|
|
605
|
+
return message;
|
|
606
|
+
},
|
|
607
|
+
fromAmino(object: EventUpdateGroupPolicyAmino): EventUpdateGroupPolicy {
|
|
608
|
+
const message = createBaseEventUpdateGroupPolicy();
|
|
609
|
+
if (object.address !== undefined && object.address !== null) {
|
|
610
|
+
message.address = object.address;
|
|
611
|
+
}
|
|
612
|
+
return message;
|
|
613
|
+
},
|
|
614
|
+
toAmino(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyAmino {
|
|
615
|
+
const obj: any = {};
|
|
616
|
+
obj.address = message.address === "" ? undefined : message.address;
|
|
617
|
+
return obj;
|
|
618
|
+
},
|
|
619
|
+
fromAminoMsg(object: EventUpdateGroupPolicyAminoMsg): EventUpdateGroupPolicy {
|
|
620
|
+
return EventUpdateGroupPolicy.fromAmino(object.value);
|
|
621
|
+
},
|
|
622
|
+
toAminoMsg(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyAminoMsg {
|
|
623
|
+
return {
|
|
624
|
+
type: "cosmos-sdk/EventUpdateGroupPolicy",
|
|
625
|
+
value: EventUpdateGroupPolicy.toAmino(message)
|
|
626
|
+
};
|
|
627
|
+
},
|
|
628
|
+
fromProtoMsg(message: EventUpdateGroupPolicyProtoMsg): EventUpdateGroupPolicy {
|
|
629
|
+
return EventUpdateGroupPolicy.decode(message.value);
|
|
630
|
+
},
|
|
631
|
+
toProto(message: EventUpdateGroupPolicy): Uint8Array {
|
|
632
|
+
return EventUpdateGroupPolicy.encode(message).finish();
|
|
633
|
+
},
|
|
634
|
+
toProtoMsg(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyProtoMsg {
|
|
635
|
+
return {
|
|
636
|
+
typeUrl: "/cosmos.group.v1.EventUpdateGroupPolicy",
|
|
637
|
+
value: EventUpdateGroupPolicy.encode(message).finish()
|
|
638
|
+
};
|
|
639
|
+
}
|
|
640
|
+
};
|
|
641
|
+
function createBaseEventSubmitProposal(): EventSubmitProposal {
|
|
642
|
+
return {
|
|
643
|
+
proposalId: BigInt(0)
|
|
644
|
+
};
|
|
645
|
+
}
|
|
646
|
+
export const EventSubmitProposal = {
|
|
647
|
+
typeUrl: "/cosmos.group.v1.EventSubmitProposal",
|
|
648
|
+
encode(message: EventSubmitProposal, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
649
|
+
if (message.proposalId !== BigInt(0)) {
|
|
650
|
+
writer.uint32(8).uint64(message.proposalId);
|
|
651
|
+
}
|
|
652
|
+
return writer;
|
|
653
|
+
},
|
|
654
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventSubmitProposal {
|
|
655
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
656
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
657
|
+
const message = createBaseEventSubmitProposal();
|
|
658
|
+
while (reader.pos < end) {
|
|
659
|
+
const tag = reader.uint32();
|
|
660
|
+
switch (tag >>> 3) {
|
|
661
|
+
case 1:
|
|
662
|
+
message.proposalId = reader.uint64();
|
|
663
|
+
break;
|
|
664
|
+
default:
|
|
665
|
+
reader.skipType(tag & 7);
|
|
666
|
+
break;
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
return message;
|
|
670
|
+
},
|
|
671
|
+
fromPartial(object: Partial<EventSubmitProposal>): EventSubmitProposal {
|
|
672
|
+
const message = createBaseEventSubmitProposal();
|
|
673
|
+
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
674
|
+
return message;
|
|
675
|
+
},
|
|
676
|
+
fromAmino(object: EventSubmitProposalAmino): EventSubmitProposal {
|
|
677
|
+
const message = createBaseEventSubmitProposal();
|
|
678
|
+
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
679
|
+
message.proposalId = BigInt(object.proposal_id);
|
|
680
|
+
}
|
|
681
|
+
return message;
|
|
682
|
+
},
|
|
683
|
+
toAmino(message: EventSubmitProposal): EventSubmitProposalAmino {
|
|
684
|
+
const obj: any = {};
|
|
685
|
+
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
686
|
+
return obj;
|
|
687
|
+
},
|
|
688
|
+
fromAminoMsg(object: EventSubmitProposalAminoMsg): EventSubmitProposal {
|
|
689
|
+
return EventSubmitProposal.fromAmino(object.value);
|
|
690
|
+
},
|
|
691
|
+
toAminoMsg(message: EventSubmitProposal): EventSubmitProposalAminoMsg {
|
|
692
|
+
return {
|
|
693
|
+
type: "cosmos-sdk/EventSubmitProposal",
|
|
694
|
+
value: EventSubmitProposal.toAmino(message)
|
|
695
|
+
};
|
|
696
|
+
},
|
|
697
|
+
fromProtoMsg(message: EventSubmitProposalProtoMsg): EventSubmitProposal {
|
|
698
|
+
return EventSubmitProposal.decode(message.value);
|
|
699
|
+
},
|
|
700
|
+
toProto(message: EventSubmitProposal): Uint8Array {
|
|
701
|
+
return EventSubmitProposal.encode(message).finish();
|
|
702
|
+
},
|
|
703
|
+
toProtoMsg(message: EventSubmitProposal): EventSubmitProposalProtoMsg {
|
|
704
|
+
return {
|
|
705
|
+
typeUrl: "/cosmos.group.v1.EventSubmitProposal",
|
|
706
|
+
value: EventSubmitProposal.encode(message).finish()
|
|
707
|
+
};
|
|
708
|
+
}
|
|
709
|
+
};
|
|
710
|
+
function createBaseEventWithdrawProposal(): EventWithdrawProposal {
|
|
711
|
+
return {
|
|
712
|
+
proposalId: BigInt(0)
|
|
713
|
+
};
|
|
714
|
+
}
|
|
715
|
+
export const EventWithdrawProposal = {
|
|
716
|
+
typeUrl: "/cosmos.group.v1.EventWithdrawProposal",
|
|
717
|
+
encode(message: EventWithdrawProposal, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
718
|
+
if (message.proposalId !== BigInt(0)) {
|
|
719
|
+
writer.uint32(8).uint64(message.proposalId);
|
|
720
|
+
}
|
|
721
|
+
return writer;
|
|
722
|
+
},
|
|
723
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventWithdrawProposal {
|
|
724
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
725
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
726
|
+
const message = createBaseEventWithdrawProposal();
|
|
727
|
+
while (reader.pos < end) {
|
|
728
|
+
const tag = reader.uint32();
|
|
729
|
+
switch (tag >>> 3) {
|
|
730
|
+
case 1:
|
|
731
|
+
message.proposalId = reader.uint64();
|
|
732
|
+
break;
|
|
733
|
+
default:
|
|
734
|
+
reader.skipType(tag & 7);
|
|
735
|
+
break;
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
return message;
|
|
739
|
+
},
|
|
740
|
+
fromPartial(object: Partial<EventWithdrawProposal>): EventWithdrawProposal {
|
|
741
|
+
const message = createBaseEventWithdrawProposal();
|
|
742
|
+
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
743
|
+
return message;
|
|
744
|
+
},
|
|
745
|
+
fromAmino(object: EventWithdrawProposalAmino): EventWithdrawProposal {
|
|
746
|
+
const message = createBaseEventWithdrawProposal();
|
|
747
|
+
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
748
|
+
message.proposalId = BigInt(object.proposal_id);
|
|
749
|
+
}
|
|
750
|
+
return message;
|
|
751
|
+
},
|
|
752
|
+
toAmino(message: EventWithdrawProposal): EventWithdrawProposalAmino {
|
|
753
|
+
const obj: any = {};
|
|
754
|
+
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
755
|
+
return obj;
|
|
756
|
+
},
|
|
757
|
+
fromAminoMsg(object: EventWithdrawProposalAminoMsg): EventWithdrawProposal {
|
|
758
|
+
return EventWithdrawProposal.fromAmino(object.value);
|
|
759
|
+
},
|
|
760
|
+
toAminoMsg(message: EventWithdrawProposal): EventWithdrawProposalAminoMsg {
|
|
761
|
+
return {
|
|
762
|
+
type: "cosmos-sdk/EventWithdrawProposal",
|
|
763
|
+
value: EventWithdrawProposal.toAmino(message)
|
|
764
|
+
};
|
|
765
|
+
},
|
|
766
|
+
fromProtoMsg(message: EventWithdrawProposalProtoMsg): EventWithdrawProposal {
|
|
767
|
+
return EventWithdrawProposal.decode(message.value);
|
|
768
|
+
},
|
|
769
|
+
toProto(message: EventWithdrawProposal): Uint8Array {
|
|
770
|
+
return EventWithdrawProposal.encode(message).finish();
|
|
771
|
+
},
|
|
772
|
+
toProtoMsg(message: EventWithdrawProposal): EventWithdrawProposalProtoMsg {
|
|
773
|
+
return {
|
|
774
|
+
typeUrl: "/cosmos.group.v1.EventWithdrawProposal",
|
|
775
|
+
value: EventWithdrawProposal.encode(message).finish()
|
|
776
|
+
};
|
|
777
|
+
}
|
|
778
|
+
};
|
|
779
|
+
function createBaseEventVote(): EventVote {
|
|
780
|
+
return {
|
|
781
|
+
proposalId: BigInt(0)
|
|
782
|
+
};
|
|
783
|
+
}
|
|
784
|
+
export const EventVote = {
|
|
785
|
+
typeUrl: "/cosmos.group.v1.EventVote",
|
|
786
|
+
encode(message: EventVote, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
787
|
+
if (message.proposalId !== BigInt(0)) {
|
|
788
|
+
writer.uint32(8).uint64(message.proposalId);
|
|
789
|
+
}
|
|
790
|
+
return writer;
|
|
791
|
+
},
|
|
792
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventVote {
|
|
793
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
794
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
795
|
+
const message = createBaseEventVote();
|
|
796
|
+
while (reader.pos < end) {
|
|
797
|
+
const tag = reader.uint32();
|
|
798
|
+
switch (tag >>> 3) {
|
|
799
|
+
case 1:
|
|
800
|
+
message.proposalId = reader.uint64();
|
|
801
|
+
break;
|
|
802
|
+
default:
|
|
803
|
+
reader.skipType(tag & 7);
|
|
804
|
+
break;
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
return message;
|
|
808
|
+
},
|
|
809
|
+
fromPartial(object: Partial<EventVote>): EventVote {
|
|
810
|
+
const message = createBaseEventVote();
|
|
811
|
+
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
812
|
+
return message;
|
|
813
|
+
},
|
|
814
|
+
fromAmino(object: EventVoteAmino): EventVote {
|
|
815
|
+
const message = createBaseEventVote();
|
|
816
|
+
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
817
|
+
message.proposalId = BigInt(object.proposal_id);
|
|
818
|
+
}
|
|
819
|
+
return message;
|
|
820
|
+
},
|
|
821
|
+
toAmino(message: EventVote): EventVoteAmino {
|
|
822
|
+
const obj: any = {};
|
|
823
|
+
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
824
|
+
return obj;
|
|
825
|
+
},
|
|
826
|
+
fromAminoMsg(object: EventVoteAminoMsg): EventVote {
|
|
827
|
+
return EventVote.fromAmino(object.value);
|
|
828
|
+
},
|
|
829
|
+
toAminoMsg(message: EventVote): EventVoteAminoMsg {
|
|
830
|
+
return {
|
|
831
|
+
type: "cosmos-sdk/EventVote",
|
|
832
|
+
value: EventVote.toAmino(message)
|
|
833
|
+
};
|
|
834
|
+
},
|
|
835
|
+
fromProtoMsg(message: EventVoteProtoMsg): EventVote {
|
|
836
|
+
return EventVote.decode(message.value);
|
|
837
|
+
},
|
|
838
|
+
toProto(message: EventVote): Uint8Array {
|
|
839
|
+
return EventVote.encode(message).finish();
|
|
840
|
+
},
|
|
841
|
+
toProtoMsg(message: EventVote): EventVoteProtoMsg {
|
|
842
|
+
return {
|
|
843
|
+
typeUrl: "/cosmos.group.v1.EventVote",
|
|
844
|
+
value: EventVote.encode(message).finish()
|
|
845
|
+
};
|
|
846
|
+
}
|
|
847
|
+
};
|
|
848
|
+
function createBaseEventExec(): EventExec {
|
|
849
|
+
return {
|
|
850
|
+
proposalId: BigInt(0),
|
|
851
|
+
result: 0,
|
|
852
|
+
logs: ""
|
|
853
|
+
};
|
|
854
|
+
}
|
|
855
|
+
export const EventExec = {
|
|
856
|
+
typeUrl: "/cosmos.group.v1.EventExec",
|
|
857
|
+
encode(message: EventExec, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
858
|
+
if (message.proposalId !== BigInt(0)) {
|
|
859
|
+
writer.uint32(8).uint64(message.proposalId);
|
|
860
|
+
}
|
|
861
|
+
if (message.result !== 0) {
|
|
862
|
+
writer.uint32(16).int32(message.result);
|
|
863
|
+
}
|
|
864
|
+
if (message.logs !== "") {
|
|
865
|
+
writer.uint32(26).string(message.logs);
|
|
866
|
+
}
|
|
867
|
+
return writer;
|
|
868
|
+
},
|
|
869
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventExec {
|
|
870
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
871
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
872
|
+
const message = createBaseEventExec();
|
|
873
|
+
while (reader.pos < end) {
|
|
874
|
+
const tag = reader.uint32();
|
|
875
|
+
switch (tag >>> 3) {
|
|
876
|
+
case 1:
|
|
877
|
+
message.proposalId = reader.uint64();
|
|
878
|
+
break;
|
|
879
|
+
case 2:
|
|
880
|
+
message.result = reader.int32() as any;
|
|
881
|
+
break;
|
|
882
|
+
case 3:
|
|
883
|
+
message.logs = reader.string();
|
|
884
|
+
break;
|
|
885
|
+
default:
|
|
886
|
+
reader.skipType(tag & 7);
|
|
887
|
+
break;
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
return message;
|
|
891
|
+
},
|
|
892
|
+
fromPartial(object: Partial<EventExec>): EventExec {
|
|
893
|
+
const message = createBaseEventExec();
|
|
894
|
+
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
895
|
+
message.result = object.result ?? 0;
|
|
896
|
+
message.logs = object.logs ?? "";
|
|
897
|
+
return message;
|
|
898
|
+
},
|
|
899
|
+
fromAmino(object: EventExecAmino): EventExec {
|
|
900
|
+
const message = createBaseEventExec();
|
|
901
|
+
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
902
|
+
message.proposalId = BigInt(object.proposal_id);
|
|
903
|
+
}
|
|
904
|
+
if (object.result !== undefined && object.result !== null) {
|
|
905
|
+
message.result = object.result;
|
|
906
|
+
}
|
|
907
|
+
if (object.logs !== undefined && object.logs !== null) {
|
|
908
|
+
message.logs = object.logs;
|
|
909
|
+
}
|
|
910
|
+
return message;
|
|
911
|
+
},
|
|
912
|
+
toAmino(message: EventExec): EventExecAmino {
|
|
913
|
+
const obj: any = {};
|
|
914
|
+
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
915
|
+
obj.result = message.result === 0 ? undefined : message.result;
|
|
916
|
+
obj.logs = message.logs === "" ? undefined : message.logs;
|
|
917
|
+
return obj;
|
|
918
|
+
},
|
|
919
|
+
fromAminoMsg(object: EventExecAminoMsg): EventExec {
|
|
920
|
+
return EventExec.fromAmino(object.value);
|
|
921
|
+
},
|
|
922
|
+
toAminoMsg(message: EventExec): EventExecAminoMsg {
|
|
923
|
+
return {
|
|
924
|
+
type: "cosmos-sdk/EventExec",
|
|
925
|
+
value: EventExec.toAmino(message)
|
|
926
|
+
};
|
|
927
|
+
},
|
|
928
|
+
fromProtoMsg(message: EventExecProtoMsg): EventExec {
|
|
929
|
+
return EventExec.decode(message.value);
|
|
930
|
+
},
|
|
931
|
+
toProto(message: EventExec): Uint8Array {
|
|
932
|
+
return EventExec.encode(message).finish();
|
|
933
|
+
},
|
|
934
|
+
toProtoMsg(message: EventExec): EventExecProtoMsg {
|
|
935
|
+
return {
|
|
936
|
+
typeUrl: "/cosmos.group.v1.EventExec",
|
|
937
|
+
value: EventExec.encode(message).finish()
|
|
938
|
+
};
|
|
939
|
+
}
|
|
940
|
+
};
|
|
941
|
+
function createBaseEventLeaveGroup(): EventLeaveGroup {
|
|
942
|
+
return {
|
|
943
|
+
groupId: BigInt(0),
|
|
944
|
+
address: ""
|
|
945
|
+
};
|
|
946
|
+
}
|
|
947
|
+
export const EventLeaveGroup = {
|
|
948
|
+
typeUrl: "/cosmos.group.v1.EventLeaveGroup",
|
|
949
|
+
encode(message: EventLeaveGroup, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
950
|
+
if (message.groupId !== BigInt(0)) {
|
|
951
|
+
writer.uint32(8).uint64(message.groupId);
|
|
952
|
+
}
|
|
953
|
+
if (message.address !== "") {
|
|
954
|
+
writer.uint32(18).string(message.address);
|
|
955
|
+
}
|
|
956
|
+
return writer;
|
|
957
|
+
},
|
|
958
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventLeaveGroup {
|
|
959
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
960
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
961
|
+
const message = createBaseEventLeaveGroup();
|
|
962
|
+
while (reader.pos < end) {
|
|
963
|
+
const tag = reader.uint32();
|
|
964
|
+
switch (tag >>> 3) {
|
|
965
|
+
case 1:
|
|
966
|
+
message.groupId = reader.uint64();
|
|
967
|
+
break;
|
|
968
|
+
case 2:
|
|
969
|
+
message.address = reader.string();
|
|
970
|
+
break;
|
|
971
|
+
default:
|
|
972
|
+
reader.skipType(tag & 7);
|
|
973
|
+
break;
|
|
974
|
+
}
|
|
975
|
+
}
|
|
976
|
+
return message;
|
|
977
|
+
},
|
|
978
|
+
fromPartial(object: Partial<EventLeaveGroup>): EventLeaveGroup {
|
|
979
|
+
const message = createBaseEventLeaveGroup();
|
|
980
|
+
message.groupId = object.groupId !== undefined && object.groupId !== null ? BigInt(object.groupId.toString()) : BigInt(0);
|
|
981
|
+
message.address = object.address ?? "";
|
|
982
|
+
return message;
|
|
983
|
+
},
|
|
984
|
+
fromAmino(object: EventLeaveGroupAmino): EventLeaveGroup {
|
|
985
|
+
const message = createBaseEventLeaveGroup();
|
|
986
|
+
if (object.group_id !== undefined && object.group_id !== null) {
|
|
987
|
+
message.groupId = BigInt(object.group_id);
|
|
988
|
+
}
|
|
989
|
+
if (object.address !== undefined && object.address !== null) {
|
|
990
|
+
message.address = object.address;
|
|
991
|
+
}
|
|
992
|
+
return message;
|
|
993
|
+
},
|
|
994
|
+
toAmino(message: EventLeaveGroup): EventLeaveGroupAmino {
|
|
995
|
+
const obj: any = {};
|
|
996
|
+
obj.group_id = message.groupId !== BigInt(0) ? message.groupId?.toString() : undefined;
|
|
997
|
+
obj.address = message.address === "" ? undefined : message.address;
|
|
998
|
+
return obj;
|
|
999
|
+
},
|
|
1000
|
+
fromAminoMsg(object: EventLeaveGroupAminoMsg): EventLeaveGroup {
|
|
1001
|
+
return EventLeaveGroup.fromAmino(object.value);
|
|
1002
|
+
},
|
|
1003
|
+
toAminoMsg(message: EventLeaveGroup): EventLeaveGroupAminoMsg {
|
|
1004
|
+
return {
|
|
1005
|
+
type: "cosmos-sdk/EventLeaveGroup",
|
|
1006
|
+
value: EventLeaveGroup.toAmino(message)
|
|
1007
|
+
};
|
|
1008
|
+
},
|
|
1009
|
+
fromProtoMsg(message: EventLeaveGroupProtoMsg): EventLeaveGroup {
|
|
1010
|
+
return EventLeaveGroup.decode(message.value);
|
|
1011
|
+
},
|
|
1012
|
+
toProto(message: EventLeaveGroup): Uint8Array {
|
|
1013
|
+
return EventLeaveGroup.encode(message).finish();
|
|
1014
|
+
},
|
|
1015
|
+
toProtoMsg(message: EventLeaveGroup): EventLeaveGroupProtoMsg {
|
|
1016
|
+
return {
|
|
1017
|
+
typeUrl: "/cosmos.group.v1.EventLeaveGroup",
|
|
1018
|
+
value: EventLeaveGroup.encode(message).finish()
|
|
1019
|
+
};
|
|
1020
|
+
}
|
|
1021
|
+
};
|
|
1022
|
+
function createBaseEventProposalPruned(): EventProposalPruned {
|
|
1023
|
+
return {
|
|
1024
|
+
proposalId: BigInt(0),
|
|
1025
|
+
status: 0,
|
|
1026
|
+
tallyResult: undefined
|
|
1027
|
+
};
|
|
1028
|
+
}
|
|
1029
|
+
export const EventProposalPruned = {
|
|
1030
|
+
typeUrl: "/cosmos.group.v1.EventProposalPruned",
|
|
1031
|
+
encode(message: EventProposalPruned, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1032
|
+
if (message.proposalId !== BigInt(0)) {
|
|
1033
|
+
writer.uint32(8).uint64(message.proposalId);
|
|
1034
|
+
}
|
|
1035
|
+
if (message.status !== 0) {
|
|
1036
|
+
writer.uint32(16).int32(message.status);
|
|
1037
|
+
}
|
|
1038
|
+
if (message.tallyResult !== undefined) {
|
|
1039
|
+
TallyResult.encode(message.tallyResult, writer.uint32(26).fork()).ldelim();
|
|
1040
|
+
}
|
|
1041
|
+
return writer;
|
|
1042
|
+
},
|
|
1043
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventProposalPruned {
|
|
1044
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1045
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1046
|
+
const message = createBaseEventProposalPruned();
|
|
1047
|
+
while (reader.pos < end) {
|
|
1048
|
+
const tag = reader.uint32();
|
|
1049
|
+
switch (tag >>> 3) {
|
|
1050
|
+
case 1:
|
|
1051
|
+
message.proposalId = reader.uint64();
|
|
1052
|
+
break;
|
|
1053
|
+
case 2:
|
|
1054
|
+
message.status = reader.int32() as any;
|
|
1055
|
+
break;
|
|
1056
|
+
case 3:
|
|
1057
|
+
message.tallyResult = TallyResult.decode(reader, reader.uint32());
|
|
1058
|
+
break;
|
|
1059
|
+
default:
|
|
1060
|
+
reader.skipType(tag & 7);
|
|
1061
|
+
break;
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
return message;
|
|
1065
|
+
},
|
|
1066
|
+
fromPartial(object: Partial<EventProposalPruned>): EventProposalPruned {
|
|
1067
|
+
const message = createBaseEventProposalPruned();
|
|
1068
|
+
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
1069
|
+
message.status = object.status ?? 0;
|
|
1070
|
+
message.tallyResult = object.tallyResult !== undefined && object.tallyResult !== null ? TallyResult.fromPartial(object.tallyResult) : undefined;
|
|
1071
|
+
return message;
|
|
1072
|
+
},
|
|
1073
|
+
fromAmino(object: EventProposalPrunedAmino): EventProposalPruned {
|
|
1074
|
+
const message = createBaseEventProposalPruned();
|
|
1075
|
+
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
1076
|
+
message.proposalId = BigInt(object.proposal_id);
|
|
1077
|
+
}
|
|
1078
|
+
if (object.status !== undefined && object.status !== null) {
|
|
1079
|
+
message.status = object.status;
|
|
1080
|
+
}
|
|
1081
|
+
if (object.tally_result !== undefined && object.tally_result !== null) {
|
|
1082
|
+
message.tallyResult = TallyResult.fromAmino(object.tally_result);
|
|
1083
|
+
}
|
|
1084
|
+
return message;
|
|
1085
|
+
},
|
|
1086
|
+
toAmino(message: EventProposalPruned): EventProposalPrunedAmino {
|
|
1087
|
+
const obj: any = {};
|
|
1088
|
+
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
1089
|
+
obj.status = message.status === 0 ? undefined : message.status;
|
|
1090
|
+
obj.tally_result = message.tallyResult ? TallyResult.toAmino(message.tallyResult) : undefined;
|
|
1091
|
+
return obj;
|
|
1092
|
+
},
|
|
1093
|
+
fromAminoMsg(object: EventProposalPrunedAminoMsg): EventProposalPruned {
|
|
1094
|
+
return EventProposalPruned.fromAmino(object.value);
|
|
1095
|
+
},
|
|
1096
|
+
toAminoMsg(message: EventProposalPruned): EventProposalPrunedAminoMsg {
|
|
1097
|
+
return {
|
|
1098
|
+
type: "cosmos-sdk/EventProposalPruned",
|
|
1099
|
+
value: EventProposalPruned.toAmino(message)
|
|
1100
|
+
};
|
|
1101
|
+
},
|
|
1102
|
+
fromProtoMsg(message: EventProposalPrunedProtoMsg): EventProposalPruned {
|
|
1103
|
+
return EventProposalPruned.decode(message.value);
|
|
1104
|
+
},
|
|
1105
|
+
toProto(message: EventProposalPruned): Uint8Array {
|
|
1106
|
+
return EventProposalPruned.encode(message).finish();
|
|
1107
|
+
},
|
|
1108
|
+
toProtoMsg(message: EventProposalPruned): EventProposalPrunedProtoMsg {
|
|
1109
|
+
return {
|
|
1110
|
+
typeUrl: "/cosmos.group.v1.EventProposalPruned",
|
|
1111
|
+
value: EventProposalPruned.encode(message).finish()
|
|
1112
|
+
};
|
|
1113
|
+
}
|
|
1114
|
+
};
|
|
1115
|
+
function createBaseEventTallyError(): EventTallyError {
|
|
1116
|
+
return {
|
|
1117
|
+
proposalId: BigInt(0),
|
|
1118
|
+
errorMessage: ""
|
|
1119
|
+
};
|
|
1120
|
+
}
|
|
1121
|
+
export const EventTallyError = {
|
|
1122
|
+
typeUrl: "/cosmos.group.v1.EventTallyError",
|
|
1123
|
+
encode(message: EventTallyError, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
1124
|
+
if (message.proposalId !== BigInt(0)) {
|
|
1125
|
+
writer.uint32(8).uint64(message.proposalId);
|
|
1126
|
+
}
|
|
1127
|
+
if (message.errorMessage !== "") {
|
|
1128
|
+
writer.uint32(18).string(message.errorMessage);
|
|
1129
|
+
}
|
|
1130
|
+
return writer;
|
|
1131
|
+
},
|
|
1132
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EventTallyError {
|
|
1133
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1134
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1135
|
+
const message = createBaseEventTallyError();
|
|
1136
|
+
while (reader.pos < end) {
|
|
1137
|
+
const tag = reader.uint32();
|
|
1138
|
+
switch (tag >>> 3) {
|
|
1139
|
+
case 1:
|
|
1140
|
+
message.proposalId = reader.uint64();
|
|
1141
|
+
break;
|
|
1142
|
+
case 2:
|
|
1143
|
+
message.errorMessage = reader.string();
|
|
1144
|
+
break;
|
|
1145
|
+
default:
|
|
1146
|
+
reader.skipType(tag & 7);
|
|
1147
|
+
break;
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
return message;
|
|
1151
|
+
},
|
|
1152
|
+
fromPartial(object: Partial<EventTallyError>): EventTallyError {
|
|
1153
|
+
const message = createBaseEventTallyError();
|
|
1154
|
+
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? BigInt(object.proposalId.toString()) : BigInt(0);
|
|
1155
|
+
message.errorMessage = object.errorMessage ?? "";
|
|
1156
|
+
return message;
|
|
1157
|
+
},
|
|
1158
|
+
fromAmino(object: EventTallyErrorAmino): EventTallyError {
|
|
1159
|
+
const message = createBaseEventTallyError();
|
|
1160
|
+
if (object.proposal_id !== undefined && object.proposal_id !== null) {
|
|
1161
|
+
message.proposalId = BigInt(object.proposal_id);
|
|
1162
|
+
}
|
|
1163
|
+
if (object.error_message !== undefined && object.error_message !== null) {
|
|
1164
|
+
message.errorMessage = object.error_message;
|
|
1165
|
+
}
|
|
1166
|
+
return message;
|
|
1167
|
+
},
|
|
1168
|
+
toAmino(message: EventTallyError): EventTallyErrorAmino {
|
|
1169
|
+
const obj: any = {};
|
|
1170
|
+
obj.proposal_id = message.proposalId !== BigInt(0) ? message.proposalId?.toString() : undefined;
|
|
1171
|
+
obj.error_message = message.errorMessage === "" ? undefined : message.errorMessage;
|
|
1172
|
+
return obj;
|
|
1173
|
+
},
|
|
1174
|
+
fromAminoMsg(object: EventTallyErrorAminoMsg): EventTallyError {
|
|
1175
|
+
return EventTallyError.fromAmino(object.value);
|
|
1176
|
+
},
|
|
1177
|
+
toAminoMsg(message: EventTallyError): EventTallyErrorAminoMsg {
|
|
1178
|
+
return {
|
|
1179
|
+
type: "cosmos-sdk/EventTallyError",
|
|
1180
|
+
value: EventTallyError.toAmino(message)
|
|
1181
|
+
};
|
|
1182
|
+
},
|
|
1183
|
+
fromProtoMsg(message: EventTallyErrorProtoMsg): EventTallyError {
|
|
1184
|
+
return EventTallyError.decode(message.value);
|
|
1185
|
+
},
|
|
1186
|
+
toProto(message: EventTallyError): Uint8Array {
|
|
1187
|
+
return EventTallyError.encode(message).finish();
|
|
1188
|
+
},
|
|
1189
|
+
toProtoMsg(message: EventTallyError): EventTallyErrorProtoMsg {
|
|
1190
|
+
return {
|
|
1191
|
+
typeUrl: "/cosmos.group.v1.EventTallyError",
|
|
1192
|
+
value: EventTallyError.encode(message).finish()
|
|
1193
|
+
};
|
|
1194
|
+
}
|
|
1195
|
+
};
|