@ark-us/wasmxjs 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main/codegen/amino/amino.js +5 -0
- package/main/codegen/amino/bundle.js +16 -0
- package/main/codegen/cosmos/app/runtime/v1alpha1/module.js +352 -0
- package/main/codegen/cosmos/app/v1alpha1/config.js +256 -0
- package/main/codegen/cosmos/app/v1alpha1/module.js +226 -0
- package/main/codegen/cosmos/app/v1alpha1/query.js +94 -0
- package/main/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +47 -0
- package/main/codegen/cosmos/auth/module/v1/module.js +178 -0
- package/main/codegen/cosmos/auth/v1beta1/auth.js +344 -0
- package/main/codegen/cosmos/auth/v1beta1/genesis.js +93 -0
- package/main/codegen/cosmos/auth/v1beta1/query.js +990 -0
- package/main/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +169 -0
- package/main/codegen/cosmos/auth/v1beta1/tx.amino.js +41 -0
- package/main/codegen/cosmos/auth/v1beta1/tx.js +105 -0
- package/main/codegen/cosmos/auth/v1beta1/tx.registry.js +63 -0
- package/main/codegen/cosmos/auth/v1beta1/tx.rpc.msg.js +35 -0
- package/main/codegen/cosmos/authz/module/v1/module.js +45 -0
- package/main/codegen/cosmos/authz/v1beta1/authz.js +266 -0
- package/main/codegen/cosmos/authz/v1beta1/event.js +147 -0
- package/main/codegen/cosmos/authz/v1beta1/genesis.js +81 -0
- package/main/codegen/cosmos/authz/v1beta1/query.js +441 -0
- package/main/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +72 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +98 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.js +366 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +123 -0
- package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +55 -0
- package/main/codegen/cosmos/autocli/v1/options.js +719 -0
- package/main/codegen/cosmos/autocli/v1/query.js +186 -0
- package/main/codegen/cosmos/autocli/v1/query.rpc.Query.js +47 -0
- package/main/codegen/cosmos/bank/module/v1/module.js +120 -0
- package/main/codegen/cosmos/bank/v1beta1/authz.js +110 -0
- package/main/codegen/cosmos/bank/v1beta1/bank.js +595 -0
- package/main/codegen/cosmos/bank/v1beta1/genesis.js +257 -0
- package/main/codegen/cosmos/bank/v1beta1/query.js +1604 -0
- package/main/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +209 -0
- package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +169 -0
- package/main/codegen/cosmos/bank/v1beta1/tx.js +503 -0
- package/main/codegen/cosmos/bank/v1beta1/tx.registry.js +153 -0
- package/main/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +65 -0
- package/main/codegen/cosmos/base/abci/v1beta1/abci.js +194 -18
- package/main/codegen/cosmos/base/node/v1beta1/query.js +248 -0
- package/main/codegen/cosmos/base/node/v1beta1/query.rpc.Service.js +61 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +374 -12
- package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +13 -0
- package/main/codegen/cosmos/base/tendermint/v1beta1/types.js +270 -0
- package/main/codegen/cosmos/bundle.js +458 -31
- package/main/codegen/cosmos/circuit/module/v1/module.js +59 -0
- package/main/codegen/cosmos/circuit/v1/query.js +337 -0
- package/main/codegen/cosmos/circuit/v1/query.rpc.Query.js +76 -0
- package/main/codegen/cosmos/circuit/v1/tx.amino.js +77 -0
- package/main/codegen/cosmos/circuit/v1/tx.js +381 -0
- package/main/codegen/cosmos/circuit/v1/tx.registry.js +123 -0
- package/main/codegen/cosmos/circuit/v1/tx.rpc.msg.js +55 -0
- package/main/codegen/cosmos/circuit/v1/types.js +307 -0
- package/main/codegen/cosmos/client.js +94 -0
- package/main/codegen/cosmos/consensus/module/v1/module.js +59 -0
- package/main/codegen/cosmos/consensus/v1/query.js +94 -0
- package/main/codegen/cosmos/consensus/v1/query.rpc.Query.js +47 -0
- package/main/codegen/cosmos/consensus/v1/tx.amino.js +69 -0
- package/main/codegen/cosmos/consensus/v1/tx.js +135 -0
- package/main/codegen/cosmos/consensus/v1/tx.registry.js +63 -0
- package/main/codegen/cosmos/consensus/v1/tx.rpc.msg.js +35 -0
- package/main/codegen/cosmos/crisis/module/v1/module.js +69 -0
- package/main/codegen/cosmos/crisis/v1beta1/genesis.js +59 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +58 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.js +208 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +93 -0
- package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +45 -0
- package/main/codegen/cosmos/crypto/ed25519/keys.js +107 -0
- package/main/codegen/cosmos/crypto/hd/v1/hd.js +99 -0
- package/main/codegen/cosmos/crypto/keyring/v1/record.js +275 -0
- package/main/codegen/cosmos/crypto/multisig/keys.js +92 -0
- package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +139 -0
- package/main/codegen/cosmos/crypto/secp256k1/keys.js +107 -0
- package/main/codegen/cosmos/crypto/secp256r1/keys.js +107 -0
- package/main/codegen/cosmos/distribution/module/v1/module.js +69 -0
- package/main/codegen/cosmos/distribution/v1beta1/distribution.js +903 -0
- package/main/codegen/cosmos/distribution/v1beta1/genesis.js +752 -0
- package/main/codegen/cosmos/distribution/v1beta1/query.js +1180 -0
- package/main/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +165 -0
- package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +186 -0
- package/main/codegen/cosmos/distribution/v1beta1/tx.js +798 -0
- package/main/codegen/cosmos/distribution/v1beta1/tx.registry.js +243 -0
- package/main/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +95 -0
- package/main/codegen/cosmos/evidence/module/v1/module.js +45 -0
- package/main/codegen/cosmos/evidence/v1beta1/evidence.js +90 -0
- package/main/codegen/cosmos/evidence/v1beta1/genesis.js +81 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.js +245 -0
- package/main/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +62 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +34 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.js +118 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +63 -0
- package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +35 -0
- package/main/codegen/cosmos/feegrant/module/v1/module.js +45 -0
- package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +366 -0
- package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +81 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.js +391 -0
- package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +72 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +72 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.js +291 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +123 -0
- package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +55 -0
- package/main/codegen/cosmos/genutil/module/v1/module.js +45 -0
- package/main/codegen/cosmos/genutil/v1beta1/genesis.js +81 -0
- package/main/codegen/cosmos/gov/module/v1/module.js +69 -0
- package/main/codegen/cosmos/gov/v1/genesis.js +200 -0
- package/main/codegen/cosmos/gov/v1/gov.js +1129 -0
- package/main/codegen/cosmos/gov/v1/query.js +1045 -0
- package/main/codegen/cosmos/gov/v1/query.rpc.Query.js +151 -0
- package/main/codegen/cosmos/gov/v1/tx.amino.js +302 -0
- package/main/codegen/cosmos/gov/v1/tx.js +889 -0
- package/main/codegen/cosmos/gov/v1/tx.registry.js +243 -0
- package/main/codegen/cosmos/gov/v1/tx.rpc.msg.js +95 -0
- package/main/codegen/cosmos/gov/v1beta1/genesis.js +180 -0
- package/main/codegen/cosmos/gov/v1beta1/gov.js +876 -0
- package/main/codegen/cosmos/gov/v1beta1/query.js +952 -0
- package/main/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +137 -0
- package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +139 -0
- package/main/codegen/cosmos/gov/v1beta1/tx.js +498 -0
- package/main/codegen/cosmos/gov/v1beta1/tx.registry.js +153 -0
- package/main/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +65 -0
- package/main/codegen/cosmos/group/module/v1/module.js +69 -0
- package/main/codegen/cosmos/group/v1/events.js +537 -0
- package/main/codegen/cosmos/group/v1/genesis.js +228 -0
- package/main/codegen/cosmos/group/v1/query.js +1699 -0
- package/main/codegen/cosmos/group/v1/query.rpc.Query.js +218 -0
- package/main/codegen/cosmos/group/v1/tx.amino.js +426 -0
- package/main/codegen/cosmos/group/v1/tx.js +1741 -0
- package/main/codegen/cosmos/group/v1/tx.registry.js +453 -0
- package/main/codegen/cosmos/group/v1/tx.rpc.msg.js +165 -0
- package/main/codegen/cosmos/group/v1/types.js +1178 -0
- package/main/codegen/cosmos/mint/module/v1/module.js +69 -0
- package/main/codegen/cosmos/mint/v1beta1/genesis.js +69 -0
- package/main/codegen/cosmos/mint/v1beta1/mint.js +167 -0
- package/main/codegen/cosmos/mint/v1beta1/query.js +260 -0
- package/main/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +75 -0
- package/main/codegen/cosmos/mint/v1beta1/tx.amino.js +43 -0
- package/main/codegen/cosmos/mint/v1beta1/tx.js +105 -0
- package/main/codegen/cosmos/mint/v1beta1/tx.registry.js +63 -0
- package/main/codegen/cosmos/mint/v1beta1/tx.rpc.msg.js +35 -0
- package/main/codegen/cosmos/msg/textual/v1/textual.js +5 -0
- package/main/codegen/cosmos/msg/v1/msg.js +5 -0
- package/main/codegen/cosmos/nft/module/v1/module.js +45 -0
- package/main/codegen/cosmos/nft/v1beta1/event.js +225 -0
- package/main/codegen/cosmos/nft/v1beta1/genesis.js +188 -0
- package/main/codegen/cosmos/nft/v1beta1/nft.js +208 -0
- package/main/codegen/cosmos/nft/v1beta1/query.js +791 -0
- package/main/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +127 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +36 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.js +124 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +63 -0
- package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +35 -0
- package/main/codegen/cosmos/orm/module/v1alpha1/module.js +45 -0
- package/main/codegen/cosmos/orm/query/v1alpha1/query.js +598 -0
- package/main/codegen/cosmos/orm/query/v1alpha1/query.rpc.Query.js +59 -0
- package/main/codegen/cosmos/orm/v1/orm.js +275 -0
- package/main/codegen/cosmos/orm/v1alpha1/schema.js +211 -0
- package/main/codegen/cosmos/params/module/v1/module.js +45 -0
- package/main/codegen/cosmos/params/v1beta1/params.js +169 -0
- package/main/codegen/cosmos/params/v1beta1/query.js +299 -0
- package/main/codegen/cosmos/params/v1beta1/query.rpc.Query.js +60 -0
- package/main/codegen/cosmos/query/v1/query.js +5 -0
- package/main/codegen/cosmos/reflection/v1/reflection.js +116 -0
- package/main/codegen/cosmos/rpc.query.js +228 -8
- package/main/codegen/cosmos/rpc.tx.js +248 -0
- package/main/codegen/cosmos/slashing/module/v1/module.js +59 -0
- package/main/codegen/cosmos/slashing/v1beta1/genesis.js +314 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.js +317 -0
- package/main/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +76 -0
- package/main/codegen/cosmos/slashing/v1beta1/slashing.js +199 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +62 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.js +188 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +93 -0
- package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +45 -0
- package/main/codegen/cosmos/staking/module/v1/module.js +111 -0
- package/main/codegen/cosmos/staking/v1beta1/authz.js +238 -0
- package/main/codegen/cosmos/staking/v1beta1/genesis.js +286 -0
- package/main/codegen/cosmos/staking/v1beta1/query.js +1649 -0
- package/main/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +217 -0
- package/main/codegen/cosmos/staking/v1beta1/staking.js +1810 -0
- package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +284 -0
- package/main/codegen/cosmos/staking/v1beta1/tx.js +830 -0
- package/main/codegen/cosmos/staking/v1beta1/tx.registry.js +243 -0
- package/main/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +95 -0
- package/main/codegen/cosmos/{base → store/internal}/kv/v1beta1/kv.js +1 -1
- package/main/codegen/cosmos/store/streaming/abci/grpc.js +230 -0
- package/main/codegen/cosmos/{base/store → store}/v1beta1/commit_info.js +14 -3
- package/main/codegen/cosmos/store/v1beta1/listening.js +157 -0
- package/main/codegen/cosmos/tx/config/v1/config.js +69 -0
- package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +433 -0
- package/main/codegen/cosmos/tx/v1beta1/service.js +1231 -0
- package/main/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +150 -0
- package/main/codegen/cosmos/tx/v1beta1/tx.js +1101 -0
- package/main/codegen/cosmos/upgrade/module/v1/module.js +59 -0
- package/main/codegen/cosmos/upgrade/v1beta1/query.js +485 -0
- package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +100 -0
- package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +68 -0
- package/main/codegen/cosmos/upgrade/v1beta1/tx.js +188 -0
- package/main/codegen/cosmos/upgrade/v1beta1/tx.registry.js +93 -0
- package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +45 -0
- package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +285 -0
- package/main/codegen/cosmos/vesting/module/v1/module.js +45 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +131 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.js +412 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +123 -0
- package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +55 -0
- package/main/codegen/cosmos/vesting/v1beta1/vesting.js +476 -0
- package/main/codegen/cosmos_proto/bundle.js +16 -0
- package/main/codegen/cosmos_proto/cosmos.js +221 -0
- package/main/codegen/gogoproto/bundle.js +2 -2
- package/main/codegen/google/bundle.js +9 -9
- package/main/codegen/index.js +45 -12
- package/main/codegen/mythos/bundle.js +59 -23
- package/main/codegen/mythos/client.js +4 -2
- package/main/codegen/mythos/cosmosmod/v1/auth.js +154 -0
- package/main/codegen/mythos/cosmosmod/v1/auth_cosmos.js +344 -0
- package/main/codegen/mythos/cosmosmod/v1/auth_genesis.js +113 -0
- package/main/codegen/mythos/cosmosmod/v1/bank_genesis.js +317 -0
- package/main/codegen/mythos/cosmosmod/v1/distribution_genesis.js +307 -0
- package/main/codegen/mythos/cosmosmod/v1/genesis.js +114 -0
- package/main/codegen/mythos/cosmosmod/v1/gov.js +1286 -0
- package/main/codegen/mythos/cosmosmod/v1/gov_genesis.js +171 -0
- package/main/codegen/mythos/cosmosmod/v1/staking.js +187 -0
- package/main/codegen/mythos/cosmosmod/v1/staking_genesis.js +307 -0
- package/main/codegen/{cosmos/base/store/v1beta1/listening.js → mythos/crypto/v1/ethsecp256k1/keys.js} +57 -39
- package/main/codegen/mythos/index.js +22 -0
- package/main/codegen/mythos/network/v1/custom.js +91 -0
- package/main/codegen/mythos/network/v1/genesis.js +45 -0
- package/main/codegen/mythos/network/v1/query.js +305 -0
- package/main/codegen/mythos/network/v1/query.rpc.Query.js +59 -0
- package/main/codegen/mythos/network/v1/tendermint.js +1001 -0
- package/main/codegen/mythos/network/v1/tx.amino.js +273 -0
- package/main/codegen/mythos/network/v1/tx.js +1860 -0
- package/main/codegen/mythos/network/v1/tx.registry.js +304 -0
- package/main/codegen/mythos/network/v1/tx.rpc.msg.js +116 -0
- package/main/codegen/mythos/rpc.query.js +249 -19
- package/main/codegen/mythos/rpc.tx.js +237 -9
- package/main/codegen/mythos/wasmx/v1/contract.js +136 -52
- package/main/codegen/mythos/wasmx/v1/eth.js +119 -0
- package/main/codegen/mythos/wasmx/v1/genesis.js +168 -50
- package/main/codegen/mythos/wasmx/v1/query.js +418 -40
- package/main/codegen/mythos/wasmx/v1/query.rpc.Query.js +26 -0
- package/main/codegen/mythos/wasmx/v1/role.js +435 -0
- package/main/codegen/mythos/wasmx/v1/tx.amino.js +70 -47
- package/main/codegen/mythos/wasmx/v1/tx.js +178 -27
- package/main/codegen/mythos/wasmx/v1/tx.registry.js +61 -31
- package/main/codegen/mythos/wasmx/v1/tx.rpc.msg.js +20 -10
- package/main/codegen/mythos/websrv/v1/tx.amino.js +62 -0
- package/main/codegen/mythos/websrv/v1/tx.js +248 -2
- package/main/codegen/mythos/websrv/v1/tx.registry.js +61 -1
- package/main/codegen/mythos/websrv/v1/tx.rpc.msg.js +20 -0
- package/main/codegen/tendermint/abci/types.js +1838 -1135
- package/main/codegen/tendermint/bundle.js +17 -17
- package/main/codegen/tendermint/types/params.js +70 -23
- package/main/codegen/tendermint/types/types.js +224 -66
- package/main/codegen/tendermint/types/validator.js +58 -1
- package/module/codegen/amino/amino.js +1 -0
- package/module/codegen/amino/bundle.js +5 -0
- package/module/codegen/cosmos/app/runtime/v1alpha1/module.js +218 -0
- package/module/codegen/cosmos/app/v1alpha1/config.js +203 -0
- package/module/codegen/cosmos/app/v1alpha1/module.js +180 -0
- package/module/codegen/cosmos/app/v1alpha1/query.js +83 -0
- package/module/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +27 -0
- package/module/codegen/cosmos/auth/module/v1/module.js +134 -0
- package/module/codegen/cosmos/auth/v1beta1/auth.js +300 -0
- package/module/codegen/cosmos/auth/v1beta1/genesis.js +66 -0
- package/module/codegen/cosmos/auth/v1beta1/query.js +914 -0
- package/module/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +110 -0
- package/module/codegen/cosmos/auth/v1beta1/tx.amino.js +36 -0
- package/module/codegen/cosmos/auth/v1beta1/tx.js +98 -0
- package/module/codegen/cosmos/auth/v1beta1/tx.registry.js +49 -0
- package/module/codegen/cosmos/auth/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/authz/module/v1/module.js +36 -0
- package/module/codegen/cosmos/authz/v1beta1/authz.js +236 -0
- package/module/codegen/cosmos/authz/v1beta1/event.js +136 -0
- package/module/codegen/cosmos/authz/v1beta1/genesis.js +54 -0
- package/module/codegen/cosmos/authz/v1beta1/query.js +374 -0
- package/module/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +93 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.js +317 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +109 -0
- package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +29 -0
- package/module/codegen/cosmos/autocli/v1/options.js +609 -0
- package/module/codegen/cosmos/autocli/v1/query.js +159 -0
- package/module/codegen/cosmos/autocli/v1/query.rpc.Query.js +28 -0
- package/module/codegen/cosmos/bank/module/v1/module.js +78 -0
- package/module/codegen/cosmos/bank/v1beta1/authz.js +73 -0
- package/module/codegen/cosmos/bank/v1beta1/bank.js +481 -0
- package/module/codegen/cosmos/bank/v1beta1/genesis.js +168 -0
- package/module/codegen/cosmos/bank/v1beta1/query.js +1420 -0
- package/module/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +139 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +142 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.js +402 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.registry.js +139 -0
- package/module/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +35 -0
- package/module/codegen/cosmos/base/abci/v1beta1/abci.js +135 -6
- package/module/codegen/cosmos/base/node/v1beta1/query.js +233 -0
- package/module/codegen/cosmos/base/node/v1beta1/query.rpc.Service.js +36 -0
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +353 -14
- package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +10 -1
- package/module/codegen/cosmos/base/tendermint/v1beta1/types.js +262 -0
- package/module/codegen/cosmos/bundle.js +458 -31
- package/module/codegen/cosmos/circuit/module/v1/module.js +50 -0
- package/module/codegen/cosmos/circuit/v1/query.js +285 -0
- package/module/codegen/cosmos/circuit/v1/query.rpc.Query.js +47 -0
- package/module/codegen/cosmos/circuit/v1/tx.amino.js +76 -0
- package/module/codegen/cosmos/circuit/v1/tx.js +329 -0
- package/module/codegen/cosmos/circuit/v1/tx.registry.js +109 -0
- package/module/codegen/cosmos/circuit/v1/tx.rpc.msg.js +29 -0
- package/module/codegen/cosmos/circuit/v1/types.js +241 -0
- package/module/codegen/cosmos/client.js +65 -0
- package/module/codegen/cosmos/consensus/module/v1/module.js +50 -0
- package/module/codegen/cosmos/consensus/v1/query.js +83 -0
- package/module/codegen/cosmos/consensus/v1/query.rpc.Query.js +27 -0
- package/module/codegen/cosmos/consensus/v1/tx.amino.js +64 -0
- package/module/codegen/cosmos/consensus/v1/tx.js +124 -0
- package/module/codegen/cosmos/consensus/v1/tx.registry.js +49 -0
- package/module/codegen/cosmos/consensus/v1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/crisis/module/v1/module.js +60 -0
- package/module/codegen/cosmos/crisis/v1beta1/genesis.js +50 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +55 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.js +193 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +79 -0
- package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +23 -0
- package/module/codegen/cosmos/crypto/ed25519/keys.js +102 -0
- package/module/codegen/cosmos/crypto/hd/v1/hd.js +90 -0
- package/module/codegen/cosmos/crypto/keyring/v1/record.js +258 -0
- package/module/codegen/cosmos/crypto/multisig/keys.js +69 -0
- package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +114 -0
- package/module/codegen/cosmos/crypto/secp256k1/keys.js +102 -0
- package/module/codegen/cosmos/crypto/secp256r1/keys.js +96 -0
- package/module/codegen/cosmos/distribution/module/v1/module.js +60 -0
- package/module/codegen/cosmos/distribution/v1beta1/distribution.js +749 -0
- package/module/codegen/cosmos/distribution/v1beta1/genesis.js +610 -0
- package/module/codegen/cosmos/distribution/v1beta1/query.js +1010 -0
- package/module/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +108 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +181 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.js +688 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.registry.js +229 -0
- package/module/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +53 -0
- package/module/codegen/cosmos/evidence/module/v1/module.js +36 -0
- package/module/codegen/cosmos/evidence/v1beta1/evidence.js +84 -0
- package/module/codegen/cosmos/evidence/v1beta1/genesis.js +54 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.js +212 -0
- package/module/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +38 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +29 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.js +110 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +49 -0
- package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/feegrant/module/v1/module.js +36 -0
- package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +291 -0
- package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +54 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.js +339 -0
- package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +71 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.js +275 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +109 -0
- package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +29 -0
- package/module/codegen/cosmos/genutil/module/v1/module.js +36 -0
- package/module/codegen/cosmos/genutil/v1beta1/genesis.js +54 -0
- package/module/codegen/cosmos/gov/module/v1/module.js +60 -0
- package/module/codegen/cosmos/gov/v1/genesis.js +143 -0
- package/module/codegen/cosmos/gov/v1/gov.js +988 -0
- package/module/codegen/cosmos/gov/v1/query.js +954 -0
- package/module/codegen/cosmos/gov/v1/query.rpc.Query.js +99 -0
- package/module/codegen/cosmos/gov/v1/tx.amino.js +285 -0
- package/module/codegen/cosmos/gov/v1/tx.js +794 -0
- package/module/codegen/cosmos/gov/v1/tx.registry.js +229 -0
- package/module/codegen/cosmos/gov/v1/tx.rpc.msg.js +53 -0
- package/module/codegen/cosmos/gov/v1beta1/genesis.js +123 -0
- package/module/codegen/cosmos/gov/v1beta1/gov.js +780 -0
- package/module/codegen/cosmos/gov/v1beta1/query.js +865 -0
- package/module/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +90 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +128 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.js +430 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.registry.js +139 -0
- package/module/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +35 -0
- package/module/codegen/cosmos/group/module/v1/module.js +60 -0
- package/module/codegen/cosmos/group/v1/events.js +510 -0
- package/module/codegen/cosmos/group/v1/genesis.js +141 -0
- package/module/codegen/cosmos/group/v1/query.js +1498 -0
- package/module/codegen/cosmos/group/v1/query.rpc.Query.js +146 -0
- package/module/codegen/cosmos/group/v1/tx.amino.js +431 -0
- package/module/codegen/cosmos/group/v1/tx.js +1595 -0
- package/module/codegen/cosmos/group/v1/tx.registry.js +439 -0
- package/module/codegen/cosmos/group/v1/tx.rpc.msg.js +95 -0
- package/module/codegen/cosmos/group/v1/types.js +1105 -0
- package/module/codegen/cosmos/mint/module/v1/module.js +60 -0
- package/module/codegen/cosmos/mint/v1beta1/genesis.js +60 -0
- package/module/codegen/cosmos/mint/v1beta1/mint.js +156 -0
- package/module/codegen/cosmos/mint/v1beta1/query.js +241 -0
- package/module/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/cosmos/mint/v1beta1/tx.amino.js +38 -0
- package/module/codegen/cosmos/mint/v1beta1/tx.js +98 -0
- package/module/codegen/cosmos/mint/v1beta1/tx.registry.js +49 -0
- package/module/codegen/cosmos/mint/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/msg/textual/v1/textual.js +1 -0
- package/module/codegen/cosmos/msg/v1/msg.js +1 -0
- package/module/codegen/cosmos/nft/module/v1/module.js +36 -0
- package/module/codegen/cosmos/nft/v1beta1/event.js +212 -0
- package/module/codegen/cosmos/nft/v1beta1/genesis.js +129 -0
- package/module/codegen/cosmos/nft/v1beta1/nft.js +197 -0
- package/module/codegen/cosmos/nft/v1beta1/query.js +723 -0
- package/module/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +83 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +31 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.js +113 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +49 -0
- package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +17 -0
- package/module/codegen/cosmos/orm/module/v1alpha1/module.js +40 -0
- package/module/codegen/cosmos/orm/query/v1alpha1/query.js +499 -0
- package/module/codegen/cosmos/orm/query/v1alpha1/query.rpc.Query.js +36 -0
- package/module/codegen/cosmos/orm/v1/orm.js +242 -0
- package/module/codegen/cosmos/orm/v1alpha1/schema.js +177 -0
- package/module/codegen/cosmos/params/module/v1/module.js +36 -0
- package/module/codegen/cosmos/params/v1beta1/params.js +140 -0
- package/module/codegen/cosmos/params/v1beta1/query.js +249 -0
- package/module/codegen/cosmos/params/v1beta1/query.rpc.Query.js +36 -0
- package/module/codegen/cosmos/query/v1/query.js +1 -0
- package/module/codegen/cosmos/reflection/v1/reflection.js +87 -0
- package/module/codegen/cosmos/rpc.query.js +66 -0
- package/module/codegen/cosmos/rpc.tx.js +58 -0
- package/module/codegen/cosmos/slashing/module/v1/module.js +50 -0
- package/module/codegen/cosmos/slashing/v1beta1/genesis.js +251 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.js +280 -0
- package/module/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +47 -0
- package/module/codegen/cosmos/slashing/v1beta1/slashing.js +191 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +59 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.js +173 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +79 -0
- package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +23 -0
- package/module/codegen/cosmos/staking/module/v1/module.js +84 -0
- package/module/codegen/cosmos/staking/v1beta1/authz.js +204 -0
- package/module/codegen/cosmos/staking/v1beta1/genesis.js +197 -0
- package/module/codegen/cosmos/staking/v1beta1/query.js +1478 -0
- package/module/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +144 -0
- package/module/codegen/cosmos/staking/v1beta1/staking.js +1615 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +290 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.js +795 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.registry.js +229 -0
- package/module/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +53 -0
- package/module/codegen/cosmos/{base → store/internal}/kv/v1beta1/kv.js +1 -1
- package/module/codegen/cosmos/store/streaming/abci/grpc.js +197 -0
- package/module/codegen/cosmos/{base/store → store}/v1beta1/commit_info.js +14 -3
- package/module/codegen/cosmos/store/v1beta1/listening.js +152 -0
- package/module/codegen/cosmos/tx/config/v1/config.js +60 -0
- package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +378 -0
- package/module/codegen/cosmos/tx/v1beta1/service.js +1117 -0
- package/module/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +99 -0
- package/module/codegen/cosmos/tx/v1beta1/tx.js +930 -0
- package/module/codegen/cosmos/upgrade/module/v1/module.js +50 -0
- package/module/codegen/cosmos/upgrade/v1beta1/query.js +443 -0
- package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +63 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +65 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.js +177 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.registry.js +79 -0
- package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +23 -0
- package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +270 -0
- package/module/codegen/cosmos/vesting/module/v1/module.js +36 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +114 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.js +348 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +109 -0
- package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +29 -0
- package/module/codegen/cosmos/vesting/v1beta1/vesting.js +382 -0
- package/module/codegen/cosmos_proto/bundle.js +5 -0
- package/module/codegen/cosmos_proto/cosmos.js +186 -0
- package/module/codegen/gogoproto/bundle.js +2 -2
- package/module/codegen/google/bundle.js +9 -9
- package/module/codegen/index.js +3 -0
- package/module/codegen/mythos/bundle.js +59 -23
- package/module/codegen/mythos/client.js +4 -2
- package/module/codegen/mythos/cosmosmod/v1/auth.js +139 -0
- package/module/codegen/mythos/cosmosmod/v1/auth_cosmos.js +300 -0
- package/module/codegen/mythos/cosmosmod/v1/auth_genesis.js +86 -0
- package/module/codegen/mythos/cosmosmod/v1/bank_genesis.js +213 -0
- package/module/codegen/mythos/cosmosmod/v1/distribution_genesis.js +190 -0
- package/module/codegen/mythos/cosmosmod/v1/genesis.js +105 -0
- package/module/codegen/mythos/cosmosmod/v1/gov.js +1121 -0
- package/module/codegen/mythos/cosmosmod/v1/gov_genesis.js +114 -0
- package/module/codegen/mythos/cosmosmod/v1/staking.js +159 -0
- package/module/codegen/mythos/cosmosmod/v1/staking_genesis.js +218 -0
- package/module/codegen/mythos/crypto/v1/ethsecp256k1/keys.js +100 -0
- package/module/codegen/mythos/index.js +2 -0
- package/module/codegen/mythos/network/v1/custom.js +62 -0
- package/module/codegen/mythos/network/v1/genesis.js +36 -0
- package/module/codegen/mythos/network/v1/query.js +260 -0
- package/module/codegen/mythos/network/v1/query.rpc.Query.js +36 -0
- package/module/codegen/mythos/network/v1/tendermint.js +874 -0
- package/module/codegen/mythos/network/v1/tx.amino.js +280 -0
- package/module/codegen/mythos/network/v1/tx.js +1700 -0
- package/module/codegen/mythos/network/v1/tx.registry.js +290 -0
- package/module/codegen/mythos/network/v1/tx.rpc.msg.js +66 -0
- package/module/codegen/mythos/rpc.query.js +69 -0
- package/module/codegen/mythos/rpc.tx.js +57 -0
- package/module/codegen/mythos/wasmx/v1/contract.js +124 -46
- package/module/codegen/mythos/wasmx/v1/eth.js +110 -0
- package/module/codegen/mythos/wasmx/v1/genesis.js +113 -40
- package/module/codegen/mythos/wasmx/v1/query.js +338 -28
- package/module/codegen/mythos/wasmx/v1/query.rpc.Query.js +19 -1
- package/module/codegen/mythos/wasmx/v1/role.js +381 -0
- package/module/codegen/mythos/wasmx/v1/tx.amino.js +46 -21
- package/module/codegen/mythos/wasmx/v1/tx.js +172 -27
- package/module/codegen/mythos/wasmx/v1/tx.registry.js +62 -32
- package/module/codegen/mythos/wasmx/v1/tx.rpc.msg.js +13 -7
- package/module/codegen/mythos/websrv/v1/tx.amino.js +66 -0
- package/module/codegen/mythos/websrv/v1/tx.js +238 -0
- package/module/codegen/mythos/websrv/v1/tx.registry.js +62 -2
- package/module/codegen/mythos/websrv/v1/tx.rpc.msg.js +13 -1
- package/module/codegen/tendermint/abci/types.js +1360 -806
- package/module/codegen/tendermint/bundle.js +17 -17
- package/module/codegen/tendermint/crypto/keys.js +1 -1
- package/module/codegen/tendermint/types/params.js +66 -21
- package/module/codegen/tendermint/types/types.js +203 -61
- package/module/codegen/tendermint/types/validator.js +54 -0
- package/package.json +1 -1
- package/src/codegen/amino/amino.ts +1 -0
- package/src/codegen/amino/bundle.ts +3 -0
- package/src/codegen/cosmos/app/runtime/v1alpha1/module.ts +411 -0
- package/src/codegen/cosmos/app/v1alpha1/config.ts +359 -0
- package/src/codegen/cosmos/app/v1alpha1/module.ts +392 -0
- package/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts +35 -0
- package/src/codegen/cosmos/app/v1alpha1/query.ts +121 -0
- package/src/codegen/cosmos/auth/module/v1/module.ts +212 -0
- package/src/codegen/cosmos/auth/v1beta1/auth.ts +451 -0
- package/src/codegen/cosmos/auth/v1beta1/genesis.ts +97 -0
- package/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts +194 -0
- package/src/codegen/cosmos/auth/v1beta1/query.ts +1491 -0
- package/src/codegen/cosmos/auth/v1beta1/tx.amino.ts +51 -0
- package/src/codegen/cosmos/auth/v1beta1/tx.registry.ts +55 -0
- package/src/codegen/cosmos/auth/v1beta1/tx.rpc.msg.ts +29 -0
- package/src/codegen/cosmos/auth/v1beta1/tx.ts +165 -0
- package/src/codegen/cosmos/authz/module/v1/module.ts +50 -0
- package/src/codegen/cosmos/authz/v1beta1/authz.ts +368 -0
- package/src/codegen/cosmos/authz/v1beta1/event.ts +212 -0
- package/src/codegen/cosmos/authz/v1beta1/genesis.ts +75 -0
- package/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts +71 -0
- package/src/codegen/cosmos/authz/v1beta1/query.ts +570 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +129 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +125 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +56 -0
- package/src/codegen/cosmos/authz/v1beta1/tx.ts +484 -0
- package/src/codegen/cosmos/autocli/v1/options.ts +1060 -0
- package/src/codegen/cosmos/autocli/v1/query.rpc.Query.ts +36 -0
- package/src/codegen/cosmos/autocli/v1/query.ts +229 -0
- package/src/codegen/cosmos/bank/module/v1/module.ts +137 -0
- package/src/codegen/cosmos/bank/v1beta1/authz.ts +118 -0
- package/src/codegen/cosmos/bank/v1beta1/bank.ts +830 -0
- package/src/codegen/cosmos/bank/v1beta1/genesis.ts +279 -0
- package/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts +262 -0
- package/src/codegen/cosmos/bank/v1beta1/query.ts +2360 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +198 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +160 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +66 -0
- package/src/codegen/cosmos/bank/v1beta1/tx.ts +664 -0
- package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +252 -6
- package/src/codegen/cosmos/base/node/v1beta1/query.rpc.Service.ts +49 -0
- package/src/codegen/cosmos/base/node/v1beta1/query.ts +351 -0
- package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +4 -2
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +21 -1
- package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +561 -20
- package/src/codegen/cosmos/base/tendermint/v1beta1/types.ts +412 -0
- package/src/codegen/cosmos/base/v1beta1/coin.ts +16 -4
- package/src/codegen/cosmos/bundle.ts +592 -27
- package/src/codegen/cosmos/circuit/module/v1/module.ts +71 -0
- package/src/codegen/cosmos/circuit/v1/query.rpc.Query.ts +65 -0
- package/src/codegen/cosmos/circuit/v1/query.ts +420 -0
- package/src/codegen/cosmos/circuit/v1/tx.amino.ts +103 -0
- package/src/codegen/cosmos/circuit/v1/tx.registry.ts +125 -0
- package/src/codegen/cosmos/circuit/v1/tx.rpc.msg.ts +50 -0
- package/src/codegen/cosmos/circuit/v1/tx.ts +529 -0
- package/src/codegen/cosmos/circuit/v1/types.ts +385 -0
- package/src/codegen/cosmos/client.ts +88 -0
- package/src/codegen/cosmos/consensus/module/v1/module.ts +71 -0
- package/src/codegen/cosmos/consensus/v1/query.rpc.Query.ts +35 -0
- package/src/codegen/cosmos/consensus/v1/query.ts +129 -0
- package/src/codegen/cosmos/consensus/v1/tx.amino.ts +90 -0
- package/src/codegen/cosmos/consensus/v1/tx.registry.ts +55 -0
- package/src/codegen/cosmos/consensus/v1/tx.rpc.msg.ts +29 -0
- package/src/codegen/cosmos/consensus/v1/tx.ts +203 -0
- package/src/codegen/cosmos/crisis/module/v1/module.ts +89 -0
- package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +78 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +75 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +90 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +39 -0
- package/src/codegen/cosmos/crisis/v1beta1/tx.ts +311 -0
- package/src/codegen/cosmos/crypto/ed25519/keys.ts +154 -0
- package/src/codegen/cosmos/crypto/hd/v1/hd.ts +149 -0
- package/src/codegen/cosmos/crypto/keyring/v1/record.ts +401 -0
- package/src/codegen/cosmos/crypto/multisig/keys.ts +98 -0
- package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +174 -0
- package/src/codegen/cosmos/crypto/secp256k1/keys.ts +148 -0
- package/src/codegen/cosmos/crypto/secp256r1/keys.ts +146 -0
- package/src/codegen/cosmos/distribution/module/v1/module.ts +87 -0
- package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +1211 -0
- package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +979 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts +164 -0
- package/src/codegen/cosmos/distribution/v1beta1/query.ts +1629 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +247 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +265 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +113 -0
- package/src/codegen/cosmos/distribution/v1beta1/tx.ts +1116 -0
- package/src/codegen/cosmos/evidence/module/v1/module.ts +50 -0
- package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +132 -0
- package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +77 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts +51 -0
- package/src/codegen/cosmos/evidence/v1beta1/query.ts +352 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +41 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +55 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +27 -0
- package/src/codegen/cosmos/evidence/v1beta1/tx.ts +165 -0
- package/src/codegen/cosmos/feegrant/module/v1/module.ts +50 -0
- package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +489 -0
- package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +75 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts +67 -0
- package/src/codegen/cosmos/feegrant/v1beta1/query.ts +532 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +97 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +125 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +54 -0
- package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +433 -0
- package/src/codegen/cosmos/genutil/module/v1/module.ts +50 -0
- package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +77 -0
- package/src/codegen/cosmos/gov/module/v1/module.ts +95 -0
- package/src/codegen/cosmos/gov/v1/genesis.ts +284 -0
- package/src/codegen/cosmos/gov/v1/gov.ts +1802 -0
- package/src/codegen/cosmos/gov/v1/query.rpc.Query.ts +147 -0
- package/src/codegen/cosmos/gov/v1/query.ts +1526 -0
- package/src/codegen/cosmos/gov/v1/tx.amino.ts +393 -0
- package/src/codegen/cosmos/gov/v1/tx.registry.ts +265 -0
- package/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +96 -0
- package/src/codegen/cosmos/gov/v1/tx.ts +1317 -0
- package/src/codegen/cosmos/gov/v1beta1/genesis.ts +196 -0
- package/src/codegen/cosmos/gov/v1beta1/gov.ts +1320 -0
- package/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts +133 -0
- package/src/codegen/cosmos/gov/v1beta1/query.ts +1352 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +174 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +160 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +58 -0
- package/src/codegen/cosmos/gov/v1beta1/tx.ts +681 -0
- package/src/codegen/cosmos/group/module/v1/module.ts +102 -0
- package/src/codegen/cosmos/group/v1/events.ts +783 -0
- package/src/codegen/cosmos/group/v1/genesis.ts +244 -0
- package/src/codegen/cosmos/group/v1/query.rpc.Query.ts +229 -0
- package/src/codegen/cosmos/group/v1/query.ts +2330 -0
- package/src/codegen/cosmos/group/v1/tx.amino.ts +575 -0
- package/src/codegen/cosmos/group/v1/tx.registry.ts +510 -0
- package/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +154 -0
- package/src/codegen/cosmos/group/v1/tx.ts +2547 -0
- package/src/codegen/cosmos/group/v1/types.ts +1982 -0
- package/src/codegen/cosmos/mint/module/v1/module.ts +87 -0
- package/src/codegen/cosmos/mint/v1beta1/genesis.ts +90 -0
- package/src/codegen/cosmos/mint/v1beta1/mint.ts +248 -0
- package/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts +63 -0
- package/src/codegen/cosmos/mint/v1beta1/query.ts +375 -0
- package/src/codegen/cosmos/mint/v1beta1/tx.amino.ts +54 -0
- package/src/codegen/cosmos/mint/v1beta1/tx.registry.ts +55 -0
- package/src/codegen/cosmos/mint/v1beta1/tx.rpc.msg.ts +29 -0
- package/src/codegen/cosmos/mint/v1beta1/tx.ts +165 -0
- package/src/codegen/cosmos/msg/textual/v1/textual.ts +1 -0
- package/src/codegen/cosmos/msg/v1/msg.ts +1 -0
- package/src/codegen/cosmos/nft/module/v1/module.ts +50 -0
- package/src/codegen/cosmos/nft/v1beta1/event.ts +335 -0
- package/src/codegen/cosmos/nft/v1beta1/genesis.ts +194 -0
- package/src/codegen/cosmos/nft/v1beta1/nft.ts +321 -0
- package/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts +124 -0
- package/src/codegen/cosmos/nft/v1beta1/query.ts +1108 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +42 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +55 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +24 -0
- package/src/codegen/cosmos/nft/v1beta1/tx.ts +174 -0
- package/src/codegen/cosmos/orm/module/v1alpha1/module.ts +58 -0
- package/src/codegen/cosmos/orm/query/v1alpha1/query.rpc.Query.ts +49 -0
- package/src/codegen/cosmos/orm/query/v1alpha1/query.ts +852 -0
- package/src/codegen/cosmos/orm/v1/orm.ts +494 -0
- package/src/codegen/cosmos/orm/v1alpha1/schema.ts +314 -0
- package/src/codegen/cosmos/params/module/v1/module.ts +50 -0
- package/src/codegen/cosmos/params/v1beta1/params.ts +204 -0
- package/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts +56 -0
- package/src/codegen/cosmos/params/v1beta1/query.ts +398 -0
- package/src/codegen/cosmos/query/v1/query.ts +1 -0
- package/src/codegen/cosmos/reflection/v1/reflection.ts +126 -0
- package/src/codegen/cosmos/rpc.query.ts +66 -0
- package/src/codegen/cosmos/rpc.tx.ts +61 -0
- package/src/codegen/cosmos/slashing/module/v1/module.ts +71 -0
- package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +404 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts +65 -0
- package/src/codegen/cosmos/slashing/v1beta1/query.ts +438 -0
- package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +312 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +83 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +90 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +43 -0
- package/src/codegen/cosmos/slashing/v1beta1/tx.ts +281 -0
- package/src/codegen/cosmos/staking/module/v1/module.ts +139 -0
- package/src/codegen/cosmos/staking/v1beta1/authz.ts +315 -0
- package/src/codegen/cosmos/staking/v1beta1/genesis.ts +323 -0
- package/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts +260 -0
- package/src/codegen/cosmos/staking/v1beta1/query.ts +2380 -0
- package/src/codegen/cosmos/staking/v1beta1/staking.ts +2602 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +397 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +265 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +102 -0
- package/src/codegen/cosmos/staking/v1beta1/tx.ts +1264 -0
- package/src/codegen/cosmos/{base → store/internal}/kv/v1beta1/kv.ts +1 -1
- package/src/codegen/cosmos/{base/snapshots/v1beta1 → store/snapshots/v1}/snapshot.ts +50 -10
- package/src/codegen/cosmos/store/streaming/abci/grpc.ts +286 -0
- package/src/codegen/cosmos/{base/store → store}/v1beta1/commit_info.ts +20 -5
- package/src/codegen/cosmos/store/v1beta1/listening.ts +235 -0
- package/src/codegen/cosmos/tx/config/v1/config.ts +101 -0
- package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +648 -0
- package/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts +167 -0
- package/src/codegen/cosmos/tx/v1beta1/service.ts +1917 -0
- package/src/codegen/cosmos/tx/v1beta1/tx.ts +1776 -0
- package/src/codegen/cosmos/upgrade/module/v1/module.ts +71 -0
- package/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts +106 -0
- package/src/codegen/cosmos/upgrade/v1beta1/query.ts +751 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +92 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +90 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +43 -0
- package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +289 -0
- package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +506 -0
- package/src/codegen/cosmos/vesting/module/v1/module.ts +50 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +155 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +125 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +57 -0
- package/src/codegen/cosmos/vesting/v1beta1/tx.ts +548 -0
- package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +594 -0
- package/src/codegen/cosmos_proto/bundle.ts +3 -0
- package/src/codegen/cosmos_proto/cosmos.ts +326 -0
- package/src/codegen/gogoproto/bundle.ts +2 -2
- package/src/codegen/google/bundle.ts +14 -14
- package/src/codegen/index.ts +5 -2
- package/src/codegen/mythos/bundle.ts +93 -40
- package/src/codegen/mythos/client.ts +5 -2
- package/src/codegen/mythos/cosmosmod/v1/auth.ts +192 -0
- package/src/codegen/mythos/cosmosmod/v1/auth_cosmos.ts +451 -0
- package/src/codegen/mythos/cosmosmod/v1/auth_genesis.ts +125 -0
- package/src/codegen/mythos/cosmosmod/v1/bank_genesis.ts +335 -0
- package/src/codegen/mythos/cosmosmod/v1/distribution_genesis.ts +300 -0
- package/src/codegen/mythos/cosmosmod/v1/genesis.ts +146 -0
- package/src/codegen/mythos/cosmosmod/v1/gov.ts +1921 -0
- package/src/codegen/mythos/cosmosmod/v1/gov_genesis.ts +201 -0
- package/src/codegen/mythos/cosmosmod/v1/staking.ts +233 -0
- package/src/codegen/mythos/cosmosmod/v1/staking_genesis.ts +376 -0
- package/src/codegen/mythos/crypto/v1/ethsecp256k1/keys.ts +154 -0
- package/src/codegen/mythos/index.ts +2 -0
- package/src/codegen/mythos/network/v1/custom.ts +87 -0
- package/src/codegen/mythos/network/v1/genesis.ts +50 -0
- package/src/codegen/mythos/network/v1/query.rpc.Query.ts +47 -0
- package/src/codegen/mythos/network/v1/query.ts +410 -0
- package/src/codegen/mythos/network/v1/tendermint.ts +1272 -0
- package/src/codegen/mythos/network/v1/tx.amino.ts +371 -0
- package/src/codegen/mythos/network/v1/tx.registry.ts +336 -0
- package/src/codegen/mythos/network/v1/tx.rpc.msg.ts +101 -0
- package/src/codegen/mythos/network/v1/tx.ts +2473 -0
- package/src/codegen/mythos/rpc.query.ts +69 -0
- package/src/codegen/mythos/rpc.tx.ts +57 -0
- package/src/codegen/mythos/wasmx/v1/contract.ts +197 -85
- package/src/codegen/mythos/wasmx/v1/eth.ts +197 -0
- package/src/codegen/mythos/wasmx/v1/genesis.ts +161 -45
- package/src/codegen/mythos/wasmx/v1/query.rpc.Query.ts +29 -1
- package/src/codegen/mythos/wasmx/v1/query.ts +552 -36
- package/src/codegen/mythos/wasmx/v1/role.ts +536 -0
- package/src/codegen/mythos/wasmx/v1/tx.amino.ts +64 -31
- package/src/codegen/mythos/wasmx/v1/tx.registry.ts +71 -36
- package/src/codegen/mythos/wasmx/v1/tx.rpc.msg.ts +25 -12
- package/src/codegen/mythos/wasmx/v1/tx.ts +255 -28
- package/src/codegen/mythos/websrv/v1/tx.amino.ts +87 -1
- package/src/codegen/mythos/websrv/v1/tx.registry.ts +72 -2
- package/src/codegen/mythos/websrv/v1/tx.rpc.msg.ts +24 -1
- package/src/codegen/mythos/websrv/v1/tx.ts +368 -6
- package/src/codegen/tendermint/abci/types.ts +2150 -1299
- package/src/codegen/tendermint/bundle.ts +22 -22
- package/src/codegen/tendermint/crypto/keys.ts +2 -2
- package/src/codegen/tendermint/crypto/proof.ts +0 -2
- package/src/codegen/tendermint/types/evidence.ts +4 -16
- package/src/codegen/tendermint/types/params.ts +120 -45
- package/src/codegen/tendermint/types/types.ts +339 -84
- package/src/codegen/tendermint/types/validator.ts +71 -0
- package/src/codegen/tendermint/version/types.ts +6 -6
- package/types/codegen/amino/amino.d.ts +1 -0
- package/types/codegen/amino/bundle.d.ts +1 -0
- package/types/codegen/cosmos/app/runtime/v1alpha1/module.d.ts +139 -0
- package/types/codegen/cosmos/app/v1alpha1/config.d.ts +129 -0
- package/types/codegen/cosmos/app/v1alpha1/module.d.ts +182 -0
- package/types/codegen/cosmos/app/v1alpha1/query.d.ts +32 -0
- package/types/codegen/cosmos/app/v1alpha1/query.rpc.Query.d.ts +16 -0
- package/types/codegen/cosmos/auth/module/v1/module.d.ts +8 -51
- package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +110 -0
- package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +24 -0
- package/types/codegen/cosmos/auth/v1beta1/query.d.ts +458 -0
- package/types/codegen/cosmos/auth/v1beta1/query.rpc.Query.d.ts +83 -0
- package/types/codegen/cosmos/auth/v1beta1/tx.amino.d.ts +22 -0
- package/types/codegen/cosmos/auth/v1beta1/tx.d.ts +62 -0
- package/types/codegen/cosmos/auth/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/auth/v1beta1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/cosmos/authz/module/v1/module.d.ts +3 -22
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +103 -0
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +51 -0
- package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +17 -0
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +129 -0
- package/types/codegen/cosmos/authz/v1beta1/query.rpc.Query.d.ts +32 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +54 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +129 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts +76 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +30 -0
- package/types/codegen/cosmos/autocli/v1/options.d.ts +304 -0
- package/types/codegen/cosmos/autocli/v1/query.d.ts +51 -0
- package/types/codegen/cosmos/autocli/v1/query.rpc.Query.d.ts +17 -0
- package/types/codegen/cosmos/bank/module/v1/module.d.ts +18 -25
- package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +41 -0
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +251 -0
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +77 -0
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +699 -0
- package/types/codegen/cosmos/bank/v1beta1/query.rpc.Query.d.ts +119 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +78 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +205 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +96 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +33 -0
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +76 -2
- package/types/codegen/cosmos/base/node/v1beta1/query.d.ts +84 -0
- package/types/codegen/cosmos/base/node/v1beta1/query.rpc.Service.d.ts +20 -0
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +4 -2
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +142 -7
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.d.ts +11 -1
- package/types/codegen/cosmos/base/tendermint/v1beta1/types.d.ts +101 -0
- package/types/codegen/cosmos/base/v1beta1/coin.d.ts +16 -4
- package/types/codegen/cosmos/bundle.d.ts +8708 -439
- package/types/codegen/cosmos/circuit/module/v1/module.d.ts +4 -24
- package/types/codegen/cosmos/circuit/v1/query.d.ts +97 -0
- package/types/codegen/cosmos/circuit/v1/query.rpc.Query.d.ts +24 -0
- package/types/codegen/cosmos/circuit/v1/tx.amino.d.ts +44 -0
- package/types/codegen/cosmos/circuit/v1/tx.d.ts +148 -0
- package/types/codegen/cosmos/circuit/v1/tx.registry.d.ts +76 -0
- package/types/codegen/cosmos/circuit/v1/tx.rpc.msg.d.ts +24 -0
- package/types/codegen/cosmos/circuit/v1/types.d.ts +124 -0
- package/types/codegen/cosmos/client.d.ts +1366 -0
- package/types/codegen/cosmos/consensus/module/v1/module.d.ts +4 -24
- package/types/codegen/cosmos/consensus/v1/query.d.ts +40 -0
- package/types/codegen/cosmos/consensus/v1/query.rpc.Query.d.ts +16 -0
- package/types/codegen/cosmos/consensus/v1/tx.amino.d.ts +33 -0
- package/types/codegen/cosmos/consensus/v1/tx.d.ts +62 -0
- package/types/codegen/cosmos/consensus/v1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/consensus/v1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/cosmos/crisis/module/v1/module.d.ts +4 -25
- package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +25 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +32 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.d.ts +92 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts +56 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +20 -0
- package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +49 -0
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +40 -0
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +102 -0
- package/types/codegen/cosmos/crypto/multisig/keys.d.ts +27 -0
- package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +51 -0
- package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +43 -0
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +41 -0
- package/types/codegen/cosmos/distribution/module/v1/module.d.ts +4 -25
- package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +338 -0
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +241 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +464 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +55 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +103 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +339 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +156 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +59 -0
- package/types/codegen/cosmos/evidence/module/v1/module.d.ts +3 -22
- package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +39 -0
- package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +19 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +107 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.rpc.Query.d.ts +20 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +19 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +46 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +15 -0
- package/types/codegen/cosmos/feegrant/module/v1/module.d.ts +3 -22
- package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +145 -0
- package/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts +17 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +137 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +28 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +43 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +126 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts +76 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +28 -0
- package/types/codegen/cosmos/genutil/module/v1/module.d.ts +3 -22
- package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +18 -0
- package/types/codegen/cosmos/gov/module/v1/module.d.ts +8 -27
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +99 -0
- package/types/codegen/cosmos/gov/v1/gov.d.ts +588 -0
- package/types/codegen/cosmos/gov/v1/query.d.ts +401 -0
- package/types/codegen/cosmos/gov/v1/query.rpc.Query.d.ts +48 -0
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +145 -0
- package/types/codegen/cosmos/gov/v1/tx.d.ts +381 -0
- package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +156 -0
- package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +42 -0
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +45 -0
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +408 -0
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +335 -0
- package/types/codegen/cosmos/gov/v1beta1/query.rpc.Query.d.ts +44 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +184 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +96 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +25 -0
- package/types/codegen/cosmos/group/module/v1/module.d.ts +11 -30
- package/types/codegen/cosmos/group/v1/events.d.ts +194 -0
- package/types/codegen/cosmos/group/v1/genesis.d.ts +67 -0
- package/types/codegen/cosmos/group/v1/query.d.ts +569 -0
- package/types/codegen/cosmos/group/v1/query.rpc.Query.d.ts +78 -0
- package/types/codegen/cosmos/group/v1/tx.amino.d.ts +217 -0
- package/types/codegen/cosmos/group/v1/tx.d.ts +671 -0
- package/types/codegen/cosmos/group/v1/tx.registry.d.ts +296 -0
- package/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts +51 -0
- package/types/codegen/cosmos/group/v1/types.d.ts +665 -0
- package/types/codegen/cosmos/mint/module/v1/module.d.ts +4 -25
- package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +23 -0
- package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +61 -0
- package/types/codegen/cosmos/mint/v1beta1/query.d.ts +110 -0
- package/types/codegen/cosmos/mint/v1beta1/query.rpc.Query.d.ts +24 -0
- package/types/codegen/cosmos/mint/v1beta1/tx.amino.d.ts +23 -0
- package/types/codegen/cosmos/mint/v1beta1/tx.d.ts +62 -0
- package/types/codegen/cosmos/mint/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/mint/v1beta1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/cosmos/msg/textual/v1/textual.d.ts +1 -0
- package/types/codegen/cosmos/msg/v1/msg.d.ts +1 -0
- package/types/codegen/cosmos/nft/module/v1/module.d.ts +3 -22
- package/types/codegen/cosmos/nft/v1beta1/event.d.ts +80 -0
- package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +44 -0
- package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +76 -0
- package/types/codegen/cosmos/nft/v1beta1/query.d.ts +271 -0
- package/types/codegen/cosmos/nft/v1beta1/query.rpc.Query.d.ts +43 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +18 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +43 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +12 -0
- package/types/codegen/cosmos/orm/module/v1alpha1/module.d.ts +3 -26
- package/types/codegen/cosmos/orm/query/v1alpha1/query.d.ts +250 -0
- package/types/codegen/cosmos/orm/query/v1alpha1/query.rpc.Query.d.ts +20 -0
- package/types/codegen/cosmos/orm/v1/orm.d.ts +209 -0
- package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +121 -0
- package/types/codegen/cosmos/params/module/v1/module.d.ts +3 -22
- package/types/codegen/cosmos/params/v1beta1/params.d.ts +45 -0
- package/types/codegen/cosmos/params/v1beta1/query.d.ts +115 -0
- package/types/codegen/cosmos/params/v1beta1/query.rpc.Query.d.ts +27 -0
- package/types/codegen/cosmos/query/v1/query.d.ts +1 -0
- package/types/codegen/cosmos/reflection/v1/reflection.d.ts +32 -0
- package/types/codegen/cosmos/rpc.query.d.ts +214 -0
- package/types/codegen/cosmos/rpc.tx.d.ts +59 -0
- package/types/codegen/cosmos/slashing/module/v1/module.d.ts +4 -24
- package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +110 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +123 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.rpc.Query.d.ts +24 -0
- package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +91 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +36 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.d.ts +90 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts +56 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +24 -0
- package/types/codegen/cosmos/staking/module/v1/module.d.ts +4 -27
- package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +104 -0
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +82 -0
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +649 -0
- package/types/codegen/cosmos/staking/v1beta1/query.rpc.Query.d.ts +111 -0
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +686 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +145 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +351 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +156 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +48 -0
- package/types/codegen/cosmos/store/internal/kv/v1beta1/kv.d.ts +33 -0
- package/types/codegen/cosmos/store/snapshots/v1/snapshot.d.ts +176 -0
- package/types/codegen/cosmos/store/streaming/abci/grpc.d.ts +69 -0
- package/types/codegen/cosmos/store/v1beta1/commit_info.d.ts +75 -0
- package/types/codegen/cosmos/store/v1beta1/listening.d.ts +66 -0
- package/types/codegen/cosmos/tx/config/v1/config.d.ts +34 -0
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +242 -0
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +646 -0
- package/types/codegen/cosmos/tx/v1beta1/service.rpc.Service.d.ts +68 -0
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +636 -0
- package/types/codegen/cosmos/upgrade/module/v1/module.d.ts +4 -24
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +254 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +47 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +98 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +56 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +24 -0
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +179 -0
- package/types/codegen/cosmos/vesting/module/v1/module.d.ts +3 -22
- package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +58 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +155 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts +76 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +31 -0
- package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +155 -0
- package/types/codegen/cosmos_proto/bundle.d.ts +21 -0
- package/types/codegen/cosmos_proto/cosmos.d.ts +127 -0
- package/types/codegen/google/bundle.d.ts +201 -201
- package/types/codegen/index.d.ts +3 -0
- package/types/codegen/mythos/bundle.d.ts +1967 -543
- package/types/codegen/mythos/client.d.ts +206 -10
- package/types/codegen/mythos/cosmosmod/v1/auth.d.ts +41 -0
- package/types/codegen/mythos/cosmosmod/v1/auth_cosmos.d.ts +110 -0
- package/types/codegen/mythos/cosmosmod/v1/auth_genesis.d.ts +28 -0
- package/types/codegen/mythos/cosmosmod/v1/bank_genesis.d.ts +84 -0
- package/types/codegen/mythos/cosmosmod/v1/distribution_genesis.d.ts +60 -0
- package/types/codegen/mythos/cosmosmod/v1/genesis.d.ts +33 -0
- package/types/codegen/mythos/cosmosmod/v1/gov.d.ts +527 -0
- package/types/codegen/mythos/cosmosmod/v1/gov_genesis.d.ts +64 -0
- package/types/codegen/mythos/cosmosmod/v1/staking.d.ts +62 -0
- package/types/codegen/mythos/cosmosmod/v1/staking_genesis.d.ts +107 -0
- package/types/codegen/mythos/crypto/v1/ethsecp256k1/keys.d.ts +49 -0
- package/types/codegen/mythos/index.d.ts +2 -0
- package/types/codegen/mythos/network/v1/custom.d.ts +18 -0
- package/types/codegen/mythos/network/v1/genesis.d.ts +14 -0
- package/types/codegen/mythos/network/v1/query.d.ts +110 -0
- package/types/codegen/mythos/network/v1/query.rpc.Query.d.ts +19 -0
- package/types/codegen/mythos/network/v1/tendermint.d.ts +266 -0
- package/types/codegen/mythos/network/v1/tx.amino.d.ts +138 -0
- package/types/codegen/mythos/network/v1/tx.d.ts +531 -0
- package/types/codegen/mythos/network/v1/tx.registry.d.ts +197 -0
- package/types/codegen/mythos/network/v1/tx.rpc.msg.d.ts +35 -0
- package/types/codegen/mythos/rpc.query.d.ts +222 -0
- package/types/codegen/mythos/rpc.tx.d.ts +57 -0
- package/types/codegen/mythos/wasmx/v1/contract.d.ts +78 -46
- package/types/codegen/mythos/wasmx/v1/eth.d.ts +62 -0
- package/types/codegen/mythos/wasmx/v1/genesis.d.ts +32 -9
- package/types/codegen/mythos/wasmx/v1/query.d.ts +151 -11
- package/types/codegen/mythos/wasmx/v1/query.rpc.Query.d.ts +9 -1
- package/types/codegen/mythos/wasmx/v1/role.d.ts +114 -0
- package/types/codegen/mythos/wasmx/v1/tx.amino.d.ts +28 -15
- package/types/codegen/mythos/wasmx/v1/tx.d.ts +70 -9
- package/types/codegen/mythos/wasmx/v1/tx.registry.d.ts +39 -19
- package/types/codegen/mythos/wasmx/v1/tx.rpc.msg.d.ts +11 -5
- package/types/codegen/mythos/websrv/v1/tx.amino.d.ts +31 -1
- package/types/codegen/mythos/websrv/v1/tx.d.ts +86 -6
- package/types/codegen/mythos/websrv/v1/tx.registry.d.ts +41 -1
- package/types/codegen/mythos/websrv/v1/tx.rpc.msg.d.ts +10 -1
- package/types/codegen/tendermint/abci/types.d.ts +458 -253
- package/types/codegen/tendermint/bundle.d.ts +530 -480
- package/types/codegen/tendermint/crypto/keys.d.ts +2 -2
- package/types/codegen/tendermint/crypto/proof.d.ts +0 -2
- package/types/codegen/tendermint/types/evidence.d.ts +4 -16
- package/types/codegen/tendermint/types/params.d.ts +45 -20
- package/types/codegen/tendermint/types/types.d.ts +97 -39
- package/types/codegen/tendermint/types/validator.d.ts +24 -0
- package/types/codegen/tendermint/version/types.d.ts +6 -6
- package/main/codegen/mythos/websrv/v1/proposal.js +0 -167
- package/module/codegen/cosmos/base/store/v1beta1/listening.js +0 -86
- package/module/codegen/mythos/websrv/v1/proposal.js +0 -156
- package/src/codegen/cosmos/base/store/v1beta1/listening.ts +0 -129
- package/src/codegen/mythos/websrv/v1/proposal.ts +0 -254
- /package/main/codegen/cosmos/{base/snapshots/v1beta1 → store/snapshots/v1}/snapshot.js +0 -0
- /package/module/codegen/cosmos/{base/snapshots/v1beta1 → store/snapshots/v1}/snapshot.js +0 -0
|
@@ -0,0 +1,1982 @@
|
|
|
1
|
+
import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp";
|
|
2
|
+
import { Duration, DurationSDKType } from "../../../google/protobuf/duration";
|
|
3
|
+
import { Any, AnySDKType } from "../../../google/protobuf/any";
|
|
4
|
+
import * as _m0 from "protobufjs/minimal";
|
|
5
|
+
import { isSet, fromJsonTimestamp, fromTimestamp, Long } from "../../../helpers";
|
|
6
|
+
/** VoteOption enumerates the valid vote options for a given proposal. */
|
|
7
|
+
|
|
8
|
+
export enum VoteOption {
|
|
9
|
+
/**
|
|
10
|
+
* VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines an unspecified vote option which will
|
|
11
|
+
* return an error.
|
|
12
|
+
*/
|
|
13
|
+
VOTE_OPTION_UNSPECIFIED = 0,
|
|
14
|
+
|
|
15
|
+
/** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */
|
|
16
|
+
VOTE_OPTION_YES = 1,
|
|
17
|
+
|
|
18
|
+
/** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */
|
|
19
|
+
VOTE_OPTION_ABSTAIN = 2,
|
|
20
|
+
|
|
21
|
+
/** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */
|
|
22
|
+
VOTE_OPTION_NO = 3,
|
|
23
|
+
|
|
24
|
+
/** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
|
|
25
|
+
VOTE_OPTION_NO_WITH_VETO = 4,
|
|
26
|
+
UNRECOGNIZED = -1,
|
|
27
|
+
}
|
|
28
|
+
/** VoteOption enumerates the valid vote options for a given proposal. */
|
|
29
|
+
|
|
30
|
+
export enum VoteOptionSDKType {
|
|
31
|
+
/**
|
|
32
|
+
* VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines an unspecified vote option which will
|
|
33
|
+
* return an error.
|
|
34
|
+
*/
|
|
35
|
+
VOTE_OPTION_UNSPECIFIED = 0,
|
|
36
|
+
|
|
37
|
+
/** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */
|
|
38
|
+
VOTE_OPTION_YES = 1,
|
|
39
|
+
|
|
40
|
+
/** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */
|
|
41
|
+
VOTE_OPTION_ABSTAIN = 2,
|
|
42
|
+
|
|
43
|
+
/** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */
|
|
44
|
+
VOTE_OPTION_NO = 3,
|
|
45
|
+
|
|
46
|
+
/** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */
|
|
47
|
+
VOTE_OPTION_NO_WITH_VETO = 4,
|
|
48
|
+
UNRECOGNIZED = -1,
|
|
49
|
+
}
|
|
50
|
+
export function voteOptionFromJSON(object: any): VoteOption {
|
|
51
|
+
switch (object) {
|
|
52
|
+
case 0:
|
|
53
|
+
case "VOTE_OPTION_UNSPECIFIED":
|
|
54
|
+
return VoteOption.VOTE_OPTION_UNSPECIFIED;
|
|
55
|
+
|
|
56
|
+
case 1:
|
|
57
|
+
case "VOTE_OPTION_YES":
|
|
58
|
+
return VoteOption.VOTE_OPTION_YES;
|
|
59
|
+
|
|
60
|
+
case 2:
|
|
61
|
+
case "VOTE_OPTION_ABSTAIN":
|
|
62
|
+
return VoteOption.VOTE_OPTION_ABSTAIN;
|
|
63
|
+
|
|
64
|
+
case 3:
|
|
65
|
+
case "VOTE_OPTION_NO":
|
|
66
|
+
return VoteOption.VOTE_OPTION_NO;
|
|
67
|
+
|
|
68
|
+
case 4:
|
|
69
|
+
case "VOTE_OPTION_NO_WITH_VETO":
|
|
70
|
+
return VoteOption.VOTE_OPTION_NO_WITH_VETO;
|
|
71
|
+
|
|
72
|
+
case -1:
|
|
73
|
+
case "UNRECOGNIZED":
|
|
74
|
+
default:
|
|
75
|
+
return VoteOption.UNRECOGNIZED;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export function voteOptionToJSON(object: VoteOption): string {
|
|
79
|
+
switch (object) {
|
|
80
|
+
case VoteOption.VOTE_OPTION_UNSPECIFIED:
|
|
81
|
+
return "VOTE_OPTION_UNSPECIFIED";
|
|
82
|
+
|
|
83
|
+
case VoteOption.VOTE_OPTION_YES:
|
|
84
|
+
return "VOTE_OPTION_YES";
|
|
85
|
+
|
|
86
|
+
case VoteOption.VOTE_OPTION_ABSTAIN:
|
|
87
|
+
return "VOTE_OPTION_ABSTAIN";
|
|
88
|
+
|
|
89
|
+
case VoteOption.VOTE_OPTION_NO:
|
|
90
|
+
return "VOTE_OPTION_NO";
|
|
91
|
+
|
|
92
|
+
case VoteOption.VOTE_OPTION_NO_WITH_VETO:
|
|
93
|
+
return "VOTE_OPTION_NO_WITH_VETO";
|
|
94
|
+
|
|
95
|
+
case VoteOption.UNRECOGNIZED:
|
|
96
|
+
default:
|
|
97
|
+
return "UNRECOGNIZED";
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
/** ProposalStatus defines proposal statuses. */
|
|
101
|
+
|
|
102
|
+
export enum ProposalStatus {
|
|
103
|
+
/** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */
|
|
104
|
+
PROPOSAL_STATUS_UNSPECIFIED = 0,
|
|
105
|
+
|
|
106
|
+
/** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when submitted. */
|
|
107
|
+
PROPOSAL_STATUS_SUBMITTED = 1,
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* PROPOSAL_STATUS_ACCEPTED - Final status of a proposal when the final tally is done and the outcome
|
|
111
|
+
* passes the group policy's decision policy.
|
|
112
|
+
*/
|
|
113
|
+
PROPOSAL_STATUS_ACCEPTED = 2,
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* PROPOSAL_STATUS_REJECTED - Final status of a proposal when the final tally is done and the outcome
|
|
117
|
+
* is rejected by the group policy's decision policy.
|
|
118
|
+
*/
|
|
119
|
+
PROPOSAL_STATUS_REJECTED = 3,
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group policy is modified before the
|
|
123
|
+
* final tally.
|
|
124
|
+
*/
|
|
125
|
+
PROPOSAL_STATUS_ABORTED = 4,
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* PROPOSAL_STATUS_WITHDRAWN - A proposal can be withdrawn before the voting start time by the owner.
|
|
129
|
+
* When this happens the final status is Withdrawn.
|
|
130
|
+
*/
|
|
131
|
+
PROPOSAL_STATUS_WITHDRAWN = 5,
|
|
132
|
+
UNRECOGNIZED = -1,
|
|
133
|
+
}
|
|
134
|
+
/** ProposalStatus defines proposal statuses. */
|
|
135
|
+
|
|
136
|
+
export enum ProposalStatusSDKType {
|
|
137
|
+
/** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */
|
|
138
|
+
PROPOSAL_STATUS_UNSPECIFIED = 0,
|
|
139
|
+
|
|
140
|
+
/** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when submitted. */
|
|
141
|
+
PROPOSAL_STATUS_SUBMITTED = 1,
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* PROPOSAL_STATUS_ACCEPTED - Final status of a proposal when the final tally is done and the outcome
|
|
145
|
+
* passes the group policy's decision policy.
|
|
146
|
+
*/
|
|
147
|
+
PROPOSAL_STATUS_ACCEPTED = 2,
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* PROPOSAL_STATUS_REJECTED - Final status of a proposal when the final tally is done and the outcome
|
|
151
|
+
* is rejected by the group policy's decision policy.
|
|
152
|
+
*/
|
|
153
|
+
PROPOSAL_STATUS_REJECTED = 3,
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group policy is modified before the
|
|
157
|
+
* final tally.
|
|
158
|
+
*/
|
|
159
|
+
PROPOSAL_STATUS_ABORTED = 4,
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* PROPOSAL_STATUS_WITHDRAWN - A proposal can be withdrawn before the voting start time by the owner.
|
|
163
|
+
* When this happens the final status is Withdrawn.
|
|
164
|
+
*/
|
|
165
|
+
PROPOSAL_STATUS_WITHDRAWN = 5,
|
|
166
|
+
UNRECOGNIZED = -1,
|
|
167
|
+
}
|
|
168
|
+
export function proposalStatusFromJSON(object: any): ProposalStatus {
|
|
169
|
+
switch (object) {
|
|
170
|
+
case 0:
|
|
171
|
+
case "PROPOSAL_STATUS_UNSPECIFIED":
|
|
172
|
+
return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED;
|
|
173
|
+
|
|
174
|
+
case 1:
|
|
175
|
+
case "PROPOSAL_STATUS_SUBMITTED":
|
|
176
|
+
return ProposalStatus.PROPOSAL_STATUS_SUBMITTED;
|
|
177
|
+
|
|
178
|
+
case 2:
|
|
179
|
+
case "PROPOSAL_STATUS_ACCEPTED":
|
|
180
|
+
return ProposalStatus.PROPOSAL_STATUS_ACCEPTED;
|
|
181
|
+
|
|
182
|
+
case 3:
|
|
183
|
+
case "PROPOSAL_STATUS_REJECTED":
|
|
184
|
+
return ProposalStatus.PROPOSAL_STATUS_REJECTED;
|
|
185
|
+
|
|
186
|
+
case 4:
|
|
187
|
+
case "PROPOSAL_STATUS_ABORTED":
|
|
188
|
+
return ProposalStatus.PROPOSAL_STATUS_ABORTED;
|
|
189
|
+
|
|
190
|
+
case 5:
|
|
191
|
+
case "PROPOSAL_STATUS_WITHDRAWN":
|
|
192
|
+
return ProposalStatus.PROPOSAL_STATUS_WITHDRAWN;
|
|
193
|
+
|
|
194
|
+
case -1:
|
|
195
|
+
case "UNRECOGNIZED":
|
|
196
|
+
default:
|
|
197
|
+
return ProposalStatus.UNRECOGNIZED;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
export function proposalStatusToJSON(object: ProposalStatus): string {
|
|
201
|
+
switch (object) {
|
|
202
|
+
case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED:
|
|
203
|
+
return "PROPOSAL_STATUS_UNSPECIFIED";
|
|
204
|
+
|
|
205
|
+
case ProposalStatus.PROPOSAL_STATUS_SUBMITTED:
|
|
206
|
+
return "PROPOSAL_STATUS_SUBMITTED";
|
|
207
|
+
|
|
208
|
+
case ProposalStatus.PROPOSAL_STATUS_ACCEPTED:
|
|
209
|
+
return "PROPOSAL_STATUS_ACCEPTED";
|
|
210
|
+
|
|
211
|
+
case ProposalStatus.PROPOSAL_STATUS_REJECTED:
|
|
212
|
+
return "PROPOSAL_STATUS_REJECTED";
|
|
213
|
+
|
|
214
|
+
case ProposalStatus.PROPOSAL_STATUS_ABORTED:
|
|
215
|
+
return "PROPOSAL_STATUS_ABORTED";
|
|
216
|
+
|
|
217
|
+
case ProposalStatus.PROPOSAL_STATUS_WITHDRAWN:
|
|
218
|
+
return "PROPOSAL_STATUS_WITHDRAWN";
|
|
219
|
+
|
|
220
|
+
case ProposalStatus.UNRECOGNIZED:
|
|
221
|
+
default:
|
|
222
|
+
return "UNRECOGNIZED";
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
/** ProposalExecutorResult defines types of proposal executor results. */
|
|
226
|
+
|
|
227
|
+
export enum ProposalExecutorResult {
|
|
228
|
+
/** PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED - An empty value is not allowed. */
|
|
229
|
+
PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0,
|
|
230
|
+
|
|
231
|
+
/** PROPOSAL_EXECUTOR_RESULT_NOT_RUN - We have not yet run the executor. */
|
|
232
|
+
PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1,
|
|
233
|
+
|
|
234
|
+
/** PROPOSAL_EXECUTOR_RESULT_SUCCESS - The executor was successful and proposed action updated state. */
|
|
235
|
+
PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2,
|
|
236
|
+
|
|
237
|
+
/** PROPOSAL_EXECUTOR_RESULT_FAILURE - The executor returned an error and proposed action didn't update state. */
|
|
238
|
+
PROPOSAL_EXECUTOR_RESULT_FAILURE = 3,
|
|
239
|
+
UNRECOGNIZED = -1,
|
|
240
|
+
}
|
|
241
|
+
/** ProposalExecutorResult defines types of proposal executor results. */
|
|
242
|
+
|
|
243
|
+
export enum ProposalExecutorResultSDKType {
|
|
244
|
+
/** PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED - An empty value is not allowed. */
|
|
245
|
+
PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0,
|
|
246
|
+
|
|
247
|
+
/** PROPOSAL_EXECUTOR_RESULT_NOT_RUN - We have not yet run the executor. */
|
|
248
|
+
PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1,
|
|
249
|
+
|
|
250
|
+
/** PROPOSAL_EXECUTOR_RESULT_SUCCESS - The executor was successful and proposed action updated state. */
|
|
251
|
+
PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2,
|
|
252
|
+
|
|
253
|
+
/** PROPOSAL_EXECUTOR_RESULT_FAILURE - The executor returned an error and proposed action didn't update state. */
|
|
254
|
+
PROPOSAL_EXECUTOR_RESULT_FAILURE = 3,
|
|
255
|
+
UNRECOGNIZED = -1,
|
|
256
|
+
}
|
|
257
|
+
export function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult {
|
|
258
|
+
switch (object) {
|
|
259
|
+
case 0:
|
|
260
|
+
case "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED":
|
|
261
|
+
return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED;
|
|
262
|
+
|
|
263
|
+
case 1:
|
|
264
|
+
case "PROPOSAL_EXECUTOR_RESULT_NOT_RUN":
|
|
265
|
+
return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN;
|
|
266
|
+
|
|
267
|
+
case 2:
|
|
268
|
+
case "PROPOSAL_EXECUTOR_RESULT_SUCCESS":
|
|
269
|
+
return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS;
|
|
270
|
+
|
|
271
|
+
case 3:
|
|
272
|
+
case "PROPOSAL_EXECUTOR_RESULT_FAILURE":
|
|
273
|
+
return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE;
|
|
274
|
+
|
|
275
|
+
case -1:
|
|
276
|
+
case "UNRECOGNIZED":
|
|
277
|
+
default:
|
|
278
|
+
return ProposalExecutorResult.UNRECOGNIZED;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
export function proposalExecutorResultToJSON(object: ProposalExecutorResult): string {
|
|
282
|
+
switch (object) {
|
|
283
|
+
case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED:
|
|
284
|
+
return "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED";
|
|
285
|
+
|
|
286
|
+
case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN:
|
|
287
|
+
return "PROPOSAL_EXECUTOR_RESULT_NOT_RUN";
|
|
288
|
+
|
|
289
|
+
case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS:
|
|
290
|
+
return "PROPOSAL_EXECUTOR_RESULT_SUCCESS";
|
|
291
|
+
|
|
292
|
+
case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE:
|
|
293
|
+
return "PROPOSAL_EXECUTOR_RESULT_FAILURE";
|
|
294
|
+
|
|
295
|
+
case ProposalExecutorResult.UNRECOGNIZED:
|
|
296
|
+
default:
|
|
297
|
+
return "UNRECOGNIZED";
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Member represents a group member with an account address,
|
|
302
|
+
* non-zero weight, metadata and added_at timestamp.
|
|
303
|
+
*/
|
|
304
|
+
|
|
305
|
+
export interface Member {
|
|
306
|
+
/** address is the member's account address. */
|
|
307
|
+
address: string;
|
|
308
|
+
/** weight is the member's voting weight that should be greater than 0. */
|
|
309
|
+
|
|
310
|
+
weight: string;
|
|
311
|
+
/** metadata is any arbitrary metadata attached to the member. */
|
|
312
|
+
|
|
313
|
+
metadata: string;
|
|
314
|
+
/** added_at is a timestamp specifying when a member was added. */
|
|
315
|
+
|
|
316
|
+
addedAt?: Timestamp;
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* Member represents a group member with an account address,
|
|
320
|
+
* non-zero weight, metadata and added_at timestamp.
|
|
321
|
+
*/
|
|
322
|
+
|
|
323
|
+
export interface MemberSDKType {
|
|
324
|
+
/** address is the member's account address. */
|
|
325
|
+
address: string;
|
|
326
|
+
/** weight is the member's voting weight that should be greater than 0. */
|
|
327
|
+
|
|
328
|
+
weight: string;
|
|
329
|
+
/** metadata is any arbitrary metadata attached to the member. */
|
|
330
|
+
|
|
331
|
+
metadata: string;
|
|
332
|
+
/** added_at is a timestamp specifying when a member was added. */
|
|
333
|
+
|
|
334
|
+
added_at?: TimestampSDKType;
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* MemberRequest represents a group member to be used in Msg server requests.
|
|
338
|
+
* Contrary to `Member`, it doesn't have any `added_at` field
|
|
339
|
+
* since this field cannot be set as part of requests.
|
|
340
|
+
*/
|
|
341
|
+
|
|
342
|
+
export interface MemberRequest {
|
|
343
|
+
/** address is the member's account address. */
|
|
344
|
+
address: string;
|
|
345
|
+
/** weight is the member's voting weight that should be greater than 0. */
|
|
346
|
+
|
|
347
|
+
weight: string;
|
|
348
|
+
/** metadata is any arbitrary metadata attached to the member. */
|
|
349
|
+
|
|
350
|
+
metadata: string;
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* MemberRequest represents a group member to be used in Msg server requests.
|
|
354
|
+
* Contrary to `Member`, it doesn't have any `added_at` field
|
|
355
|
+
* since this field cannot be set as part of requests.
|
|
356
|
+
*/
|
|
357
|
+
|
|
358
|
+
export interface MemberRequestSDKType {
|
|
359
|
+
/** address is the member's account address. */
|
|
360
|
+
address: string;
|
|
361
|
+
/** weight is the member's voting weight that should be greater than 0. */
|
|
362
|
+
|
|
363
|
+
weight: string;
|
|
364
|
+
/** metadata is any arbitrary metadata attached to the member. */
|
|
365
|
+
|
|
366
|
+
metadata: string;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* ThresholdDecisionPolicy is a decision policy where a proposal passes when it
|
|
370
|
+
* satisfies the two following conditions:
|
|
371
|
+
* 1. The sum of all `YES` voter's weights is greater or equal than the defined
|
|
372
|
+
* `threshold`.
|
|
373
|
+
* 2. The voting and execution periods of the proposal respect the parameters
|
|
374
|
+
* given by `windows`.
|
|
375
|
+
*/
|
|
376
|
+
|
|
377
|
+
export interface ThresholdDecisionPolicy {
|
|
378
|
+
/**
|
|
379
|
+
* threshold is the minimum weighted sum of `YES` votes that must be met or
|
|
380
|
+
* exceeded for a proposal to succeed.
|
|
381
|
+
*/
|
|
382
|
+
threshold: string;
|
|
383
|
+
/** windows defines the different windows for voting and execution. */
|
|
384
|
+
|
|
385
|
+
windows?: DecisionPolicyWindows;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* ThresholdDecisionPolicy is a decision policy where a proposal passes when it
|
|
389
|
+
* satisfies the two following conditions:
|
|
390
|
+
* 1. The sum of all `YES` voter's weights is greater or equal than the defined
|
|
391
|
+
* `threshold`.
|
|
392
|
+
* 2. The voting and execution periods of the proposal respect the parameters
|
|
393
|
+
* given by `windows`.
|
|
394
|
+
*/
|
|
395
|
+
|
|
396
|
+
export interface ThresholdDecisionPolicySDKType {
|
|
397
|
+
/**
|
|
398
|
+
* threshold is the minimum weighted sum of `YES` votes that must be met or
|
|
399
|
+
* exceeded for a proposal to succeed.
|
|
400
|
+
*/
|
|
401
|
+
threshold: string;
|
|
402
|
+
/** windows defines the different windows for voting and execution. */
|
|
403
|
+
|
|
404
|
+
windows?: DecisionPolicyWindowsSDKType;
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* PercentageDecisionPolicy is a decision policy where a proposal passes when
|
|
408
|
+
* it satisfies the two following conditions:
|
|
409
|
+
* 1. The percentage of all `YES` voters' weights out of the total group weight
|
|
410
|
+
* is greater or equal than the given `percentage`.
|
|
411
|
+
* 2. The voting and execution periods of the proposal respect the parameters
|
|
412
|
+
* given by `windows`.
|
|
413
|
+
*/
|
|
414
|
+
|
|
415
|
+
export interface PercentageDecisionPolicy {
|
|
416
|
+
/**
|
|
417
|
+
* percentage is the minimum percentage of the weighted sum of `YES` votes must
|
|
418
|
+
* meet for a proposal to succeed.
|
|
419
|
+
*/
|
|
420
|
+
percentage: string;
|
|
421
|
+
/** windows defines the different windows for voting and execution. */
|
|
422
|
+
|
|
423
|
+
windows?: DecisionPolicyWindows;
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
* PercentageDecisionPolicy is a decision policy where a proposal passes when
|
|
427
|
+
* it satisfies the two following conditions:
|
|
428
|
+
* 1. The percentage of all `YES` voters' weights out of the total group weight
|
|
429
|
+
* is greater or equal than the given `percentage`.
|
|
430
|
+
* 2. The voting and execution periods of the proposal respect the parameters
|
|
431
|
+
* given by `windows`.
|
|
432
|
+
*/
|
|
433
|
+
|
|
434
|
+
export interface PercentageDecisionPolicySDKType {
|
|
435
|
+
/**
|
|
436
|
+
* percentage is the minimum percentage of the weighted sum of `YES` votes must
|
|
437
|
+
* meet for a proposal to succeed.
|
|
438
|
+
*/
|
|
439
|
+
percentage: string;
|
|
440
|
+
/** windows defines the different windows for voting and execution. */
|
|
441
|
+
|
|
442
|
+
windows?: DecisionPolicyWindowsSDKType;
|
|
443
|
+
}
|
|
444
|
+
/** DecisionPolicyWindows defines the different windows for voting and execution. */
|
|
445
|
+
|
|
446
|
+
export interface DecisionPolicyWindows {
|
|
447
|
+
/**
|
|
448
|
+
* voting_period is the duration from submission of a proposal to the end of voting period
|
|
449
|
+
* Within this times votes can be submitted with MsgVote.
|
|
450
|
+
*/
|
|
451
|
+
votingPeriod?: Duration;
|
|
452
|
+
/**
|
|
453
|
+
* min_execution_period is the minimum duration after the proposal submission
|
|
454
|
+
* where members can start sending MsgExec. This means that the window for
|
|
455
|
+
* sending a MsgExec transaction is:
|
|
456
|
+
* `[ submission + min_execution_period ; submission + voting_period + max_execution_period]`
|
|
457
|
+
* where max_execution_period is a app-specific config, defined in the keeper.
|
|
458
|
+
* If not set, min_execution_period will default to 0.
|
|
459
|
+
*
|
|
460
|
+
* Please make sure to set a `min_execution_period` that is smaller than
|
|
461
|
+
* `voting_period + max_execution_period`, or else the above execution window
|
|
462
|
+
* is empty, meaning that all proposals created with this decision policy
|
|
463
|
+
* won't be able to be executed.
|
|
464
|
+
*/
|
|
465
|
+
|
|
466
|
+
minExecutionPeriod?: Duration;
|
|
467
|
+
}
|
|
468
|
+
/** DecisionPolicyWindows defines the different windows for voting and execution. */
|
|
469
|
+
|
|
470
|
+
export interface DecisionPolicyWindowsSDKType {
|
|
471
|
+
/**
|
|
472
|
+
* voting_period is the duration from submission of a proposal to the end of voting period
|
|
473
|
+
* Within this times votes can be submitted with MsgVote.
|
|
474
|
+
*/
|
|
475
|
+
voting_period?: DurationSDKType;
|
|
476
|
+
/**
|
|
477
|
+
* min_execution_period is the minimum duration after the proposal submission
|
|
478
|
+
* where members can start sending MsgExec. This means that the window for
|
|
479
|
+
* sending a MsgExec transaction is:
|
|
480
|
+
* `[ submission + min_execution_period ; submission + voting_period + max_execution_period]`
|
|
481
|
+
* where max_execution_period is a app-specific config, defined in the keeper.
|
|
482
|
+
* If not set, min_execution_period will default to 0.
|
|
483
|
+
*
|
|
484
|
+
* Please make sure to set a `min_execution_period` that is smaller than
|
|
485
|
+
* `voting_period + max_execution_period`, or else the above execution window
|
|
486
|
+
* is empty, meaning that all proposals created with this decision policy
|
|
487
|
+
* won't be able to be executed.
|
|
488
|
+
*/
|
|
489
|
+
|
|
490
|
+
min_execution_period?: DurationSDKType;
|
|
491
|
+
}
|
|
492
|
+
/** GroupInfo represents the high-level on-chain information for a group. */
|
|
493
|
+
|
|
494
|
+
export interface GroupInfo {
|
|
495
|
+
/** id is the unique ID of the group. */
|
|
496
|
+
id: Long;
|
|
497
|
+
/** admin is the account address of the group's admin. */
|
|
498
|
+
|
|
499
|
+
admin: string;
|
|
500
|
+
/**
|
|
501
|
+
* metadata is any arbitrary metadata to attached to the group.
|
|
502
|
+
* the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1
|
|
503
|
+
*/
|
|
504
|
+
|
|
505
|
+
metadata: string;
|
|
506
|
+
/**
|
|
507
|
+
* version is used to track changes to a group's membership structure that
|
|
508
|
+
* would break existing proposals. Whenever any members weight is changed,
|
|
509
|
+
* or any member is added or removed this version is incremented and will
|
|
510
|
+
* cause proposals based on older versions of this group to fail
|
|
511
|
+
*/
|
|
512
|
+
|
|
513
|
+
version: Long;
|
|
514
|
+
/** total_weight is the sum of the group members' weights. */
|
|
515
|
+
|
|
516
|
+
totalWeight: string;
|
|
517
|
+
/** created_at is a timestamp specifying when a group was created. */
|
|
518
|
+
|
|
519
|
+
createdAt?: Timestamp;
|
|
520
|
+
}
|
|
521
|
+
/** GroupInfo represents the high-level on-chain information for a group. */
|
|
522
|
+
|
|
523
|
+
export interface GroupInfoSDKType {
|
|
524
|
+
/** id is the unique ID of the group. */
|
|
525
|
+
id: Long;
|
|
526
|
+
/** admin is the account address of the group's admin. */
|
|
527
|
+
|
|
528
|
+
admin: string;
|
|
529
|
+
/**
|
|
530
|
+
* metadata is any arbitrary metadata to attached to the group.
|
|
531
|
+
* the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#group-1
|
|
532
|
+
*/
|
|
533
|
+
|
|
534
|
+
metadata: string;
|
|
535
|
+
/**
|
|
536
|
+
* version is used to track changes to a group's membership structure that
|
|
537
|
+
* would break existing proposals. Whenever any members weight is changed,
|
|
538
|
+
* or any member is added or removed this version is incremented and will
|
|
539
|
+
* cause proposals based on older versions of this group to fail
|
|
540
|
+
*/
|
|
541
|
+
|
|
542
|
+
version: Long;
|
|
543
|
+
/** total_weight is the sum of the group members' weights. */
|
|
544
|
+
|
|
545
|
+
total_weight: string;
|
|
546
|
+
/** created_at is a timestamp specifying when a group was created. */
|
|
547
|
+
|
|
548
|
+
created_at?: TimestampSDKType;
|
|
549
|
+
}
|
|
550
|
+
/** GroupMember represents the relationship between a group and a member. */
|
|
551
|
+
|
|
552
|
+
export interface GroupMember {
|
|
553
|
+
/** group_id is the unique ID of the group. */
|
|
554
|
+
groupId: Long;
|
|
555
|
+
/** member is the member data. */
|
|
556
|
+
|
|
557
|
+
member?: Member;
|
|
558
|
+
}
|
|
559
|
+
/** GroupMember represents the relationship between a group and a member. */
|
|
560
|
+
|
|
561
|
+
export interface GroupMemberSDKType {
|
|
562
|
+
/** group_id is the unique ID of the group. */
|
|
563
|
+
group_id: Long;
|
|
564
|
+
/** member is the member data. */
|
|
565
|
+
|
|
566
|
+
member?: MemberSDKType;
|
|
567
|
+
}
|
|
568
|
+
/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */
|
|
569
|
+
|
|
570
|
+
export interface GroupPolicyInfo {
|
|
571
|
+
/** address is the account address of group policy. */
|
|
572
|
+
address: string;
|
|
573
|
+
/** group_id is the unique ID of the group. */
|
|
574
|
+
|
|
575
|
+
groupId: Long;
|
|
576
|
+
/** admin is the account address of the group admin. */
|
|
577
|
+
|
|
578
|
+
admin: string;
|
|
579
|
+
/**
|
|
580
|
+
* metadata is any arbitrary metadata attached to the group policy.
|
|
581
|
+
* the recommended format of the metadata is to be found here:
|
|
582
|
+
* https://docs.cosmos.network/v0.47/modules/group#decision-policy-1
|
|
583
|
+
*/
|
|
584
|
+
|
|
585
|
+
metadata: string;
|
|
586
|
+
/**
|
|
587
|
+
* version is used to track changes to a group's GroupPolicyInfo structure that
|
|
588
|
+
* would create a different result on a running proposal.
|
|
589
|
+
*/
|
|
590
|
+
|
|
591
|
+
version: Long;
|
|
592
|
+
/** decision_policy specifies the group policy's decision policy. */
|
|
593
|
+
|
|
594
|
+
decisionPolicy?: Any;
|
|
595
|
+
/** created_at is a timestamp specifying when a group policy was created. */
|
|
596
|
+
|
|
597
|
+
createdAt?: Timestamp;
|
|
598
|
+
}
|
|
599
|
+
/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */
|
|
600
|
+
|
|
601
|
+
export interface GroupPolicyInfoSDKType {
|
|
602
|
+
/** address is the account address of group policy. */
|
|
603
|
+
address: string;
|
|
604
|
+
/** group_id is the unique ID of the group. */
|
|
605
|
+
|
|
606
|
+
group_id: Long;
|
|
607
|
+
/** admin is the account address of the group admin. */
|
|
608
|
+
|
|
609
|
+
admin: string;
|
|
610
|
+
/**
|
|
611
|
+
* metadata is any arbitrary metadata attached to the group policy.
|
|
612
|
+
* the recommended format of the metadata is to be found here:
|
|
613
|
+
* https://docs.cosmos.network/v0.47/modules/group#decision-policy-1
|
|
614
|
+
*/
|
|
615
|
+
|
|
616
|
+
metadata: string;
|
|
617
|
+
/**
|
|
618
|
+
* version is used to track changes to a group's GroupPolicyInfo structure that
|
|
619
|
+
* would create a different result on a running proposal.
|
|
620
|
+
*/
|
|
621
|
+
|
|
622
|
+
version: Long;
|
|
623
|
+
/** decision_policy specifies the group policy's decision policy. */
|
|
624
|
+
|
|
625
|
+
decision_policy?: AnySDKType;
|
|
626
|
+
/** created_at is a timestamp specifying when a group policy was created. */
|
|
627
|
+
|
|
628
|
+
created_at?: TimestampSDKType;
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* Proposal defines a group proposal. Any member of a group can submit a proposal
|
|
632
|
+
* for a group policy to decide upon.
|
|
633
|
+
* A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal
|
|
634
|
+
* passes as well as some optional metadata associated with the proposal.
|
|
635
|
+
*/
|
|
636
|
+
|
|
637
|
+
export interface Proposal {
|
|
638
|
+
/** id is the unique id of the proposal. */
|
|
639
|
+
id: Long;
|
|
640
|
+
/** group_policy_address is the account address of group policy. */
|
|
641
|
+
|
|
642
|
+
groupPolicyAddress: string;
|
|
643
|
+
/**
|
|
644
|
+
* metadata is any arbitrary metadata attached to the proposal.
|
|
645
|
+
* the recommended format of the metadata is to be found here:
|
|
646
|
+
* https://docs.cosmos.network/v0.47/modules/group#proposal-4
|
|
647
|
+
*/
|
|
648
|
+
|
|
649
|
+
metadata: string;
|
|
650
|
+
/** proposers are the account addresses of the proposers. */
|
|
651
|
+
|
|
652
|
+
proposers: string[];
|
|
653
|
+
/** submit_time is a timestamp specifying when a proposal was submitted. */
|
|
654
|
+
|
|
655
|
+
submitTime?: Timestamp;
|
|
656
|
+
/**
|
|
657
|
+
* group_version tracks the version of the group at proposal submission.
|
|
658
|
+
* This field is here for informational purposes only.
|
|
659
|
+
*/
|
|
660
|
+
|
|
661
|
+
groupVersion: Long;
|
|
662
|
+
/**
|
|
663
|
+
* group_policy_version tracks the version of the group policy at proposal submission.
|
|
664
|
+
* When a decision policy is changed, existing proposals from previous policy
|
|
665
|
+
* versions will become invalid with the `ABORTED` status.
|
|
666
|
+
* This field is here for informational purposes only.
|
|
667
|
+
*/
|
|
668
|
+
|
|
669
|
+
groupPolicyVersion: Long;
|
|
670
|
+
/** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */
|
|
671
|
+
|
|
672
|
+
status: ProposalStatus;
|
|
673
|
+
/**
|
|
674
|
+
* final_tally_result contains the sums of all weighted votes for this
|
|
675
|
+
* proposal for each vote option. It is empty at submission, and only
|
|
676
|
+
* populated after tallying, at voting period end or at proposal execution,
|
|
677
|
+
* whichever happens first.
|
|
678
|
+
*/
|
|
679
|
+
|
|
680
|
+
finalTallyResult?: TallyResult;
|
|
681
|
+
/**
|
|
682
|
+
* voting_period_end is the timestamp before which voting must be done.
|
|
683
|
+
* Unless a successful MsgExec is called before (to execute a proposal whose
|
|
684
|
+
* tally is successful before the voting period ends), tallying will be done
|
|
685
|
+
* at this point, and the `final_tally_result`and `status` fields will be
|
|
686
|
+
* accordingly updated.
|
|
687
|
+
*/
|
|
688
|
+
|
|
689
|
+
votingPeriodEnd?: Timestamp;
|
|
690
|
+
/** executor_result is the final result of the proposal execution. Initial value is NotRun. */
|
|
691
|
+
|
|
692
|
+
executorResult: ProposalExecutorResult;
|
|
693
|
+
/** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */
|
|
694
|
+
|
|
695
|
+
messages: Any[];
|
|
696
|
+
/**
|
|
697
|
+
* title is the title of the proposal
|
|
698
|
+
*
|
|
699
|
+
* Since: cosmos-sdk 0.47
|
|
700
|
+
*/
|
|
701
|
+
|
|
702
|
+
title: string;
|
|
703
|
+
/**
|
|
704
|
+
* summary is a short summary of the proposal
|
|
705
|
+
*
|
|
706
|
+
* Since: cosmos-sdk 0.47
|
|
707
|
+
*/
|
|
708
|
+
|
|
709
|
+
summary: string;
|
|
710
|
+
}
|
|
711
|
+
/**
|
|
712
|
+
* Proposal defines a group proposal. Any member of a group can submit a proposal
|
|
713
|
+
* for a group policy to decide upon.
|
|
714
|
+
* A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal
|
|
715
|
+
* passes as well as some optional metadata associated with the proposal.
|
|
716
|
+
*/
|
|
717
|
+
|
|
718
|
+
export interface ProposalSDKType {
|
|
719
|
+
/** id is the unique id of the proposal. */
|
|
720
|
+
id: Long;
|
|
721
|
+
/** group_policy_address is the account address of group policy. */
|
|
722
|
+
|
|
723
|
+
group_policy_address: string;
|
|
724
|
+
/**
|
|
725
|
+
* metadata is any arbitrary metadata attached to the proposal.
|
|
726
|
+
* the recommended format of the metadata is to be found here:
|
|
727
|
+
* https://docs.cosmos.network/v0.47/modules/group#proposal-4
|
|
728
|
+
*/
|
|
729
|
+
|
|
730
|
+
metadata: string;
|
|
731
|
+
/** proposers are the account addresses of the proposers. */
|
|
732
|
+
|
|
733
|
+
proposers: string[];
|
|
734
|
+
/** submit_time is a timestamp specifying when a proposal was submitted. */
|
|
735
|
+
|
|
736
|
+
submit_time?: TimestampSDKType;
|
|
737
|
+
/**
|
|
738
|
+
* group_version tracks the version of the group at proposal submission.
|
|
739
|
+
* This field is here for informational purposes only.
|
|
740
|
+
*/
|
|
741
|
+
|
|
742
|
+
group_version: Long;
|
|
743
|
+
/**
|
|
744
|
+
* group_policy_version tracks the version of the group policy at proposal submission.
|
|
745
|
+
* When a decision policy is changed, existing proposals from previous policy
|
|
746
|
+
* versions will become invalid with the `ABORTED` status.
|
|
747
|
+
* This field is here for informational purposes only.
|
|
748
|
+
*/
|
|
749
|
+
|
|
750
|
+
group_policy_version: Long;
|
|
751
|
+
/** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */
|
|
752
|
+
|
|
753
|
+
status: ProposalStatusSDKType;
|
|
754
|
+
/**
|
|
755
|
+
* final_tally_result contains the sums of all weighted votes for this
|
|
756
|
+
* proposal for each vote option. It is empty at submission, and only
|
|
757
|
+
* populated after tallying, at voting period end or at proposal execution,
|
|
758
|
+
* whichever happens first.
|
|
759
|
+
*/
|
|
760
|
+
|
|
761
|
+
final_tally_result?: TallyResultSDKType;
|
|
762
|
+
/**
|
|
763
|
+
* voting_period_end is the timestamp before which voting must be done.
|
|
764
|
+
* Unless a successful MsgExec is called before (to execute a proposal whose
|
|
765
|
+
* tally is successful before the voting period ends), tallying will be done
|
|
766
|
+
* at this point, and the `final_tally_result`and `status` fields will be
|
|
767
|
+
* accordingly updated.
|
|
768
|
+
*/
|
|
769
|
+
|
|
770
|
+
voting_period_end?: TimestampSDKType;
|
|
771
|
+
/** executor_result is the final result of the proposal execution. Initial value is NotRun. */
|
|
772
|
+
|
|
773
|
+
executor_result: ProposalExecutorResultSDKType;
|
|
774
|
+
/** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */
|
|
775
|
+
|
|
776
|
+
messages: AnySDKType[];
|
|
777
|
+
/**
|
|
778
|
+
* title is the title of the proposal
|
|
779
|
+
*
|
|
780
|
+
* Since: cosmos-sdk 0.47
|
|
781
|
+
*/
|
|
782
|
+
|
|
783
|
+
title: string;
|
|
784
|
+
/**
|
|
785
|
+
* summary is a short summary of the proposal
|
|
786
|
+
*
|
|
787
|
+
* Since: cosmos-sdk 0.47
|
|
788
|
+
*/
|
|
789
|
+
|
|
790
|
+
summary: string;
|
|
791
|
+
}
|
|
792
|
+
/** TallyResult represents the sum of weighted votes for each vote option. */
|
|
793
|
+
|
|
794
|
+
export interface TallyResult {
|
|
795
|
+
/** yes_count is the weighted sum of yes votes. */
|
|
796
|
+
yesCount: string;
|
|
797
|
+
/** abstain_count is the weighted sum of abstainers. */
|
|
798
|
+
|
|
799
|
+
abstainCount: string;
|
|
800
|
+
/** no_count is the weighted sum of no votes. */
|
|
801
|
+
|
|
802
|
+
noCount: string;
|
|
803
|
+
/** no_with_veto_count is the weighted sum of veto. */
|
|
804
|
+
|
|
805
|
+
noWithVetoCount: string;
|
|
806
|
+
}
|
|
807
|
+
/** TallyResult represents the sum of weighted votes for each vote option. */
|
|
808
|
+
|
|
809
|
+
export interface TallyResultSDKType {
|
|
810
|
+
/** yes_count is the weighted sum of yes votes. */
|
|
811
|
+
yes_count: string;
|
|
812
|
+
/** abstain_count is the weighted sum of abstainers. */
|
|
813
|
+
|
|
814
|
+
abstain_count: string;
|
|
815
|
+
/** no_count is the weighted sum of no votes. */
|
|
816
|
+
|
|
817
|
+
no_count: string;
|
|
818
|
+
/** no_with_veto_count is the weighted sum of veto. */
|
|
819
|
+
|
|
820
|
+
no_with_veto_count: string;
|
|
821
|
+
}
|
|
822
|
+
/** Vote represents a vote for a proposal.string metadata */
|
|
823
|
+
|
|
824
|
+
export interface Vote {
|
|
825
|
+
/** proposal is the unique ID of the proposal. */
|
|
826
|
+
proposalId: Long;
|
|
827
|
+
/** voter is the account address of the voter. */
|
|
828
|
+
|
|
829
|
+
voter: string;
|
|
830
|
+
/** option is the voter's choice on the proposal. */
|
|
831
|
+
|
|
832
|
+
option: VoteOption;
|
|
833
|
+
/**
|
|
834
|
+
* metadata is any arbitrary metadata attached to the vote.
|
|
835
|
+
* the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2
|
|
836
|
+
*/
|
|
837
|
+
|
|
838
|
+
metadata: string;
|
|
839
|
+
/** submit_time is the timestamp when the vote was submitted. */
|
|
840
|
+
|
|
841
|
+
submitTime?: Timestamp;
|
|
842
|
+
}
|
|
843
|
+
/** Vote represents a vote for a proposal.string metadata */
|
|
844
|
+
|
|
845
|
+
export interface VoteSDKType {
|
|
846
|
+
/** proposal is the unique ID of the proposal. */
|
|
847
|
+
proposal_id: Long;
|
|
848
|
+
/** voter is the account address of the voter. */
|
|
849
|
+
|
|
850
|
+
voter: string;
|
|
851
|
+
/** option is the voter's choice on the proposal. */
|
|
852
|
+
|
|
853
|
+
option: VoteOptionSDKType;
|
|
854
|
+
/**
|
|
855
|
+
* metadata is any arbitrary metadata attached to the vote.
|
|
856
|
+
* the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#vote-2
|
|
857
|
+
*/
|
|
858
|
+
|
|
859
|
+
metadata: string;
|
|
860
|
+
/** submit_time is the timestamp when the vote was submitted. */
|
|
861
|
+
|
|
862
|
+
submit_time?: TimestampSDKType;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
function createBaseMember(): Member {
|
|
866
|
+
return {
|
|
867
|
+
address: "",
|
|
868
|
+
weight: "",
|
|
869
|
+
metadata: "",
|
|
870
|
+
addedAt: undefined
|
|
871
|
+
};
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
export const Member = {
|
|
875
|
+
encode(message: Member, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
876
|
+
if (message.address !== "") {
|
|
877
|
+
writer.uint32(10).string(message.address);
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
if (message.weight !== "") {
|
|
881
|
+
writer.uint32(18).string(message.weight);
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
if (message.metadata !== "") {
|
|
885
|
+
writer.uint32(26).string(message.metadata);
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
if (message.addedAt !== undefined) {
|
|
889
|
+
Timestamp.encode(message.addedAt, writer.uint32(34).fork()).ldelim();
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
return writer;
|
|
893
|
+
},
|
|
894
|
+
|
|
895
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Member {
|
|
896
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
897
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
898
|
+
const message = createBaseMember();
|
|
899
|
+
|
|
900
|
+
while (reader.pos < end) {
|
|
901
|
+
const tag = reader.uint32();
|
|
902
|
+
|
|
903
|
+
switch (tag >>> 3) {
|
|
904
|
+
case 1:
|
|
905
|
+
message.address = reader.string();
|
|
906
|
+
break;
|
|
907
|
+
|
|
908
|
+
case 2:
|
|
909
|
+
message.weight = reader.string();
|
|
910
|
+
break;
|
|
911
|
+
|
|
912
|
+
case 3:
|
|
913
|
+
message.metadata = reader.string();
|
|
914
|
+
break;
|
|
915
|
+
|
|
916
|
+
case 4:
|
|
917
|
+
message.addedAt = Timestamp.decode(reader, reader.uint32());
|
|
918
|
+
break;
|
|
919
|
+
|
|
920
|
+
default:
|
|
921
|
+
reader.skipType(tag & 7);
|
|
922
|
+
break;
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
return message;
|
|
927
|
+
},
|
|
928
|
+
|
|
929
|
+
fromJSON(object: any): Member {
|
|
930
|
+
return {
|
|
931
|
+
address: isSet(object.address) ? String(object.address) : "",
|
|
932
|
+
weight: isSet(object.weight) ? String(object.weight) : "",
|
|
933
|
+
metadata: isSet(object.metadata) ? String(object.metadata) : "",
|
|
934
|
+
addedAt: isSet(object.addedAt) ? fromJsonTimestamp(object.addedAt) : undefined
|
|
935
|
+
};
|
|
936
|
+
},
|
|
937
|
+
|
|
938
|
+
toJSON(message: Member): unknown {
|
|
939
|
+
const obj: any = {};
|
|
940
|
+
message.address !== undefined && (obj.address = message.address);
|
|
941
|
+
message.weight !== undefined && (obj.weight = message.weight);
|
|
942
|
+
message.metadata !== undefined && (obj.metadata = message.metadata);
|
|
943
|
+
message.addedAt !== undefined && (obj.addedAt = fromTimestamp(message.addedAt).toISOString());
|
|
944
|
+
return obj;
|
|
945
|
+
},
|
|
946
|
+
|
|
947
|
+
fromPartial(object: Partial<Member>): Member {
|
|
948
|
+
const message = createBaseMember();
|
|
949
|
+
message.address = object.address ?? "";
|
|
950
|
+
message.weight = object.weight ?? "";
|
|
951
|
+
message.metadata = object.metadata ?? "";
|
|
952
|
+
message.addedAt = object.addedAt !== undefined && object.addedAt !== null ? Timestamp.fromPartial(object.addedAt) : undefined;
|
|
953
|
+
return message;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
};
|
|
957
|
+
|
|
958
|
+
function createBaseMemberRequest(): MemberRequest {
|
|
959
|
+
return {
|
|
960
|
+
address: "",
|
|
961
|
+
weight: "",
|
|
962
|
+
metadata: ""
|
|
963
|
+
};
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
export const MemberRequest = {
|
|
967
|
+
encode(message: MemberRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
968
|
+
if (message.address !== "") {
|
|
969
|
+
writer.uint32(10).string(message.address);
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
if (message.weight !== "") {
|
|
973
|
+
writer.uint32(18).string(message.weight);
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
if (message.metadata !== "") {
|
|
977
|
+
writer.uint32(26).string(message.metadata);
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
return writer;
|
|
981
|
+
},
|
|
982
|
+
|
|
983
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MemberRequest {
|
|
984
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
985
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
986
|
+
const message = createBaseMemberRequest();
|
|
987
|
+
|
|
988
|
+
while (reader.pos < end) {
|
|
989
|
+
const tag = reader.uint32();
|
|
990
|
+
|
|
991
|
+
switch (tag >>> 3) {
|
|
992
|
+
case 1:
|
|
993
|
+
message.address = reader.string();
|
|
994
|
+
break;
|
|
995
|
+
|
|
996
|
+
case 2:
|
|
997
|
+
message.weight = reader.string();
|
|
998
|
+
break;
|
|
999
|
+
|
|
1000
|
+
case 3:
|
|
1001
|
+
message.metadata = reader.string();
|
|
1002
|
+
break;
|
|
1003
|
+
|
|
1004
|
+
default:
|
|
1005
|
+
reader.skipType(tag & 7);
|
|
1006
|
+
break;
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
return message;
|
|
1011
|
+
},
|
|
1012
|
+
|
|
1013
|
+
fromJSON(object: any): MemberRequest {
|
|
1014
|
+
return {
|
|
1015
|
+
address: isSet(object.address) ? String(object.address) : "",
|
|
1016
|
+
weight: isSet(object.weight) ? String(object.weight) : "",
|
|
1017
|
+
metadata: isSet(object.metadata) ? String(object.metadata) : ""
|
|
1018
|
+
};
|
|
1019
|
+
},
|
|
1020
|
+
|
|
1021
|
+
toJSON(message: MemberRequest): unknown {
|
|
1022
|
+
const obj: any = {};
|
|
1023
|
+
message.address !== undefined && (obj.address = message.address);
|
|
1024
|
+
message.weight !== undefined && (obj.weight = message.weight);
|
|
1025
|
+
message.metadata !== undefined && (obj.metadata = message.metadata);
|
|
1026
|
+
return obj;
|
|
1027
|
+
},
|
|
1028
|
+
|
|
1029
|
+
fromPartial(object: Partial<MemberRequest>): MemberRequest {
|
|
1030
|
+
const message = createBaseMemberRequest();
|
|
1031
|
+
message.address = object.address ?? "";
|
|
1032
|
+
message.weight = object.weight ?? "";
|
|
1033
|
+
message.metadata = object.metadata ?? "";
|
|
1034
|
+
return message;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
};
|
|
1038
|
+
|
|
1039
|
+
function createBaseThresholdDecisionPolicy(): ThresholdDecisionPolicy {
|
|
1040
|
+
return {
|
|
1041
|
+
threshold: "",
|
|
1042
|
+
windows: undefined
|
|
1043
|
+
};
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
export const ThresholdDecisionPolicy = {
|
|
1047
|
+
encode(message: ThresholdDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1048
|
+
if (message.threshold !== "") {
|
|
1049
|
+
writer.uint32(10).string(message.threshold);
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
if (message.windows !== undefined) {
|
|
1053
|
+
DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim();
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
return writer;
|
|
1057
|
+
},
|
|
1058
|
+
|
|
1059
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ThresholdDecisionPolicy {
|
|
1060
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1061
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1062
|
+
const message = createBaseThresholdDecisionPolicy();
|
|
1063
|
+
|
|
1064
|
+
while (reader.pos < end) {
|
|
1065
|
+
const tag = reader.uint32();
|
|
1066
|
+
|
|
1067
|
+
switch (tag >>> 3) {
|
|
1068
|
+
case 1:
|
|
1069
|
+
message.threshold = reader.string();
|
|
1070
|
+
break;
|
|
1071
|
+
|
|
1072
|
+
case 2:
|
|
1073
|
+
message.windows = DecisionPolicyWindows.decode(reader, reader.uint32());
|
|
1074
|
+
break;
|
|
1075
|
+
|
|
1076
|
+
default:
|
|
1077
|
+
reader.skipType(tag & 7);
|
|
1078
|
+
break;
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
return message;
|
|
1083
|
+
},
|
|
1084
|
+
|
|
1085
|
+
fromJSON(object: any): ThresholdDecisionPolicy {
|
|
1086
|
+
return {
|
|
1087
|
+
threshold: isSet(object.threshold) ? String(object.threshold) : "",
|
|
1088
|
+
windows: isSet(object.windows) ? DecisionPolicyWindows.fromJSON(object.windows) : undefined
|
|
1089
|
+
};
|
|
1090
|
+
},
|
|
1091
|
+
|
|
1092
|
+
toJSON(message: ThresholdDecisionPolicy): unknown {
|
|
1093
|
+
const obj: any = {};
|
|
1094
|
+
message.threshold !== undefined && (obj.threshold = message.threshold);
|
|
1095
|
+
message.windows !== undefined && (obj.windows = message.windows ? DecisionPolicyWindows.toJSON(message.windows) : undefined);
|
|
1096
|
+
return obj;
|
|
1097
|
+
},
|
|
1098
|
+
|
|
1099
|
+
fromPartial(object: Partial<ThresholdDecisionPolicy>): ThresholdDecisionPolicy {
|
|
1100
|
+
const message = createBaseThresholdDecisionPolicy();
|
|
1101
|
+
message.threshold = object.threshold ?? "";
|
|
1102
|
+
message.windows = object.windows !== undefined && object.windows !== null ? DecisionPolicyWindows.fromPartial(object.windows) : undefined;
|
|
1103
|
+
return message;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
};
|
|
1107
|
+
|
|
1108
|
+
function createBasePercentageDecisionPolicy(): PercentageDecisionPolicy {
|
|
1109
|
+
return {
|
|
1110
|
+
percentage: "",
|
|
1111
|
+
windows: undefined
|
|
1112
|
+
};
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
export const PercentageDecisionPolicy = {
|
|
1116
|
+
encode(message: PercentageDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1117
|
+
if (message.percentage !== "") {
|
|
1118
|
+
writer.uint32(10).string(message.percentage);
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
if (message.windows !== undefined) {
|
|
1122
|
+
DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim();
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
return writer;
|
|
1126
|
+
},
|
|
1127
|
+
|
|
1128
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): PercentageDecisionPolicy {
|
|
1129
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1130
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1131
|
+
const message = createBasePercentageDecisionPolicy();
|
|
1132
|
+
|
|
1133
|
+
while (reader.pos < end) {
|
|
1134
|
+
const tag = reader.uint32();
|
|
1135
|
+
|
|
1136
|
+
switch (tag >>> 3) {
|
|
1137
|
+
case 1:
|
|
1138
|
+
message.percentage = reader.string();
|
|
1139
|
+
break;
|
|
1140
|
+
|
|
1141
|
+
case 2:
|
|
1142
|
+
message.windows = DecisionPolicyWindows.decode(reader, reader.uint32());
|
|
1143
|
+
break;
|
|
1144
|
+
|
|
1145
|
+
default:
|
|
1146
|
+
reader.skipType(tag & 7);
|
|
1147
|
+
break;
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
return message;
|
|
1152
|
+
},
|
|
1153
|
+
|
|
1154
|
+
fromJSON(object: any): PercentageDecisionPolicy {
|
|
1155
|
+
return {
|
|
1156
|
+
percentage: isSet(object.percentage) ? String(object.percentage) : "",
|
|
1157
|
+
windows: isSet(object.windows) ? DecisionPolicyWindows.fromJSON(object.windows) : undefined
|
|
1158
|
+
};
|
|
1159
|
+
},
|
|
1160
|
+
|
|
1161
|
+
toJSON(message: PercentageDecisionPolicy): unknown {
|
|
1162
|
+
const obj: any = {};
|
|
1163
|
+
message.percentage !== undefined && (obj.percentage = message.percentage);
|
|
1164
|
+
message.windows !== undefined && (obj.windows = message.windows ? DecisionPolicyWindows.toJSON(message.windows) : undefined);
|
|
1165
|
+
return obj;
|
|
1166
|
+
},
|
|
1167
|
+
|
|
1168
|
+
fromPartial(object: Partial<PercentageDecisionPolicy>): PercentageDecisionPolicy {
|
|
1169
|
+
const message = createBasePercentageDecisionPolicy();
|
|
1170
|
+
message.percentage = object.percentage ?? "";
|
|
1171
|
+
message.windows = object.windows !== undefined && object.windows !== null ? DecisionPolicyWindows.fromPartial(object.windows) : undefined;
|
|
1172
|
+
return message;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
};
|
|
1176
|
+
|
|
1177
|
+
function createBaseDecisionPolicyWindows(): DecisionPolicyWindows {
|
|
1178
|
+
return {
|
|
1179
|
+
votingPeriod: undefined,
|
|
1180
|
+
minExecutionPeriod: undefined
|
|
1181
|
+
};
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
export const DecisionPolicyWindows = {
|
|
1185
|
+
encode(message: DecisionPolicyWindows, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1186
|
+
if (message.votingPeriod !== undefined) {
|
|
1187
|
+
Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim();
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
if (message.minExecutionPeriod !== undefined) {
|
|
1191
|
+
Duration.encode(message.minExecutionPeriod, writer.uint32(18).fork()).ldelim();
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
return writer;
|
|
1195
|
+
},
|
|
1196
|
+
|
|
1197
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DecisionPolicyWindows {
|
|
1198
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1199
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1200
|
+
const message = createBaseDecisionPolicyWindows();
|
|
1201
|
+
|
|
1202
|
+
while (reader.pos < end) {
|
|
1203
|
+
const tag = reader.uint32();
|
|
1204
|
+
|
|
1205
|
+
switch (tag >>> 3) {
|
|
1206
|
+
case 1:
|
|
1207
|
+
message.votingPeriod = Duration.decode(reader, reader.uint32());
|
|
1208
|
+
break;
|
|
1209
|
+
|
|
1210
|
+
case 2:
|
|
1211
|
+
message.minExecutionPeriod = Duration.decode(reader, reader.uint32());
|
|
1212
|
+
break;
|
|
1213
|
+
|
|
1214
|
+
default:
|
|
1215
|
+
reader.skipType(tag & 7);
|
|
1216
|
+
break;
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
return message;
|
|
1221
|
+
},
|
|
1222
|
+
|
|
1223
|
+
fromJSON(object: any): DecisionPolicyWindows {
|
|
1224
|
+
return {
|
|
1225
|
+
votingPeriod: isSet(object.votingPeriod) ? Duration.fromJSON(object.votingPeriod) : undefined,
|
|
1226
|
+
minExecutionPeriod: isSet(object.minExecutionPeriod) ? Duration.fromJSON(object.minExecutionPeriod) : undefined
|
|
1227
|
+
};
|
|
1228
|
+
},
|
|
1229
|
+
|
|
1230
|
+
toJSON(message: DecisionPolicyWindows): unknown {
|
|
1231
|
+
const obj: any = {};
|
|
1232
|
+
message.votingPeriod !== undefined && (obj.votingPeriod = message.votingPeriod ? Duration.toJSON(message.votingPeriod) : undefined);
|
|
1233
|
+
message.minExecutionPeriod !== undefined && (obj.minExecutionPeriod = message.minExecutionPeriod ? Duration.toJSON(message.minExecutionPeriod) : undefined);
|
|
1234
|
+
return obj;
|
|
1235
|
+
},
|
|
1236
|
+
|
|
1237
|
+
fromPartial(object: Partial<DecisionPolicyWindows>): DecisionPolicyWindows {
|
|
1238
|
+
const message = createBaseDecisionPolicyWindows();
|
|
1239
|
+
message.votingPeriod = object.votingPeriod !== undefined && object.votingPeriod !== null ? Duration.fromPartial(object.votingPeriod) : undefined;
|
|
1240
|
+
message.minExecutionPeriod = object.minExecutionPeriod !== undefined && object.minExecutionPeriod !== null ? Duration.fromPartial(object.minExecutionPeriod) : undefined;
|
|
1241
|
+
return message;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
};
|
|
1245
|
+
|
|
1246
|
+
function createBaseGroupInfo(): GroupInfo {
|
|
1247
|
+
return {
|
|
1248
|
+
id: Long.UZERO,
|
|
1249
|
+
admin: "",
|
|
1250
|
+
metadata: "",
|
|
1251
|
+
version: Long.UZERO,
|
|
1252
|
+
totalWeight: "",
|
|
1253
|
+
createdAt: undefined
|
|
1254
|
+
};
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
export const GroupInfo = {
|
|
1258
|
+
encode(message: GroupInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1259
|
+
if (!message.id.isZero()) {
|
|
1260
|
+
writer.uint32(8).uint64(message.id);
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
if (message.admin !== "") {
|
|
1264
|
+
writer.uint32(18).string(message.admin);
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
if (message.metadata !== "") {
|
|
1268
|
+
writer.uint32(26).string(message.metadata);
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
if (!message.version.isZero()) {
|
|
1272
|
+
writer.uint32(32).uint64(message.version);
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
if (message.totalWeight !== "") {
|
|
1276
|
+
writer.uint32(42).string(message.totalWeight);
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
if (message.createdAt !== undefined) {
|
|
1280
|
+
Timestamp.encode(message.createdAt, writer.uint32(50).fork()).ldelim();
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
return writer;
|
|
1284
|
+
},
|
|
1285
|
+
|
|
1286
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GroupInfo {
|
|
1287
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1288
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1289
|
+
const message = createBaseGroupInfo();
|
|
1290
|
+
|
|
1291
|
+
while (reader.pos < end) {
|
|
1292
|
+
const tag = reader.uint32();
|
|
1293
|
+
|
|
1294
|
+
switch (tag >>> 3) {
|
|
1295
|
+
case 1:
|
|
1296
|
+
message.id = (reader.uint64() as Long);
|
|
1297
|
+
break;
|
|
1298
|
+
|
|
1299
|
+
case 2:
|
|
1300
|
+
message.admin = reader.string();
|
|
1301
|
+
break;
|
|
1302
|
+
|
|
1303
|
+
case 3:
|
|
1304
|
+
message.metadata = reader.string();
|
|
1305
|
+
break;
|
|
1306
|
+
|
|
1307
|
+
case 4:
|
|
1308
|
+
message.version = (reader.uint64() as Long);
|
|
1309
|
+
break;
|
|
1310
|
+
|
|
1311
|
+
case 5:
|
|
1312
|
+
message.totalWeight = reader.string();
|
|
1313
|
+
break;
|
|
1314
|
+
|
|
1315
|
+
case 6:
|
|
1316
|
+
message.createdAt = Timestamp.decode(reader, reader.uint32());
|
|
1317
|
+
break;
|
|
1318
|
+
|
|
1319
|
+
default:
|
|
1320
|
+
reader.skipType(tag & 7);
|
|
1321
|
+
break;
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
return message;
|
|
1326
|
+
},
|
|
1327
|
+
|
|
1328
|
+
fromJSON(object: any): GroupInfo {
|
|
1329
|
+
return {
|
|
1330
|
+
id: isSet(object.id) ? Long.fromValue(object.id) : Long.UZERO,
|
|
1331
|
+
admin: isSet(object.admin) ? String(object.admin) : "",
|
|
1332
|
+
metadata: isSet(object.metadata) ? String(object.metadata) : "",
|
|
1333
|
+
version: isSet(object.version) ? Long.fromValue(object.version) : Long.UZERO,
|
|
1334
|
+
totalWeight: isSet(object.totalWeight) ? String(object.totalWeight) : "",
|
|
1335
|
+
createdAt: isSet(object.createdAt) ? fromJsonTimestamp(object.createdAt) : undefined
|
|
1336
|
+
};
|
|
1337
|
+
},
|
|
1338
|
+
|
|
1339
|
+
toJSON(message: GroupInfo): unknown {
|
|
1340
|
+
const obj: any = {};
|
|
1341
|
+
message.id !== undefined && (obj.id = (message.id || Long.UZERO).toString());
|
|
1342
|
+
message.admin !== undefined && (obj.admin = message.admin);
|
|
1343
|
+
message.metadata !== undefined && (obj.metadata = message.metadata);
|
|
1344
|
+
message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString());
|
|
1345
|
+
message.totalWeight !== undefined && (obj.totalWeight = message.totalWeight);
|
|
1346
|
+
message.createdAt !== undefined && (obj.createdAt = fromTimestamp(message.createdAt).toISOString());
|
|
1347
|
+
return obj;
|
|
1348
|
+
},
|
|
1349
|
+
|
|
1350
|
+
fromPartial(object: Partial<GroupInfo>): GroupInfo {
|
|
1351
|
+
const message = createBaseGroupInfo();
|
|
1352
|
+
message.id = object.id !== undefined && object.id !== null ? Long.fromValue(object.id) : Long.UZERO;
|
|
1353
|
+
message.admin = object.admin ?? "";
|
|
1354
|
+
message.metadata = object.metadata ?? "";
|
|
1355
|
+
message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.UZERO;
|
|
1356
|
+
message.totalWeight = object.totalWeight ?? "";
|
|
1357
|
+
message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? Timestamp.fromPartial(object.createdAt) : undefined;
|
|
1358
|
+
return message;
|
|
1359
|
+
}
|
|
1360
|
+
|
|
1361
|
+
};
|
|
1362
|
+
|
|
1363
|
+
function createBaseGroupMember(): GroupMember {
|
|
1364
|
+
return {
|
|
1365
|
+
groupId: Long.UZERO,
|
|
1366
|
+
member: undefined
|
|
1367
|
+
};
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
export const GroupMember = {
|
|
1371
|
+
encode(message: GroupMember, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1372
|
+
if (!message.groupId.isZero()) {
|
|
1373
|
+
writer.uint32(8).uint64(message.groupId);
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
if (message.member !== undefined) {
|
|
1377
|
+
Member.encode(message.member, writer.uint32(18).fork()).ldelim();
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
return writer;
|
|
1381
|
+
},
|
|
1382
|
+
|
|
1383
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GroupMember {
|
|
1384
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1385
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1386
|
+
const message = createBaseGroupMember();
|
|
1387
|
+
|
|
1388
|
+
while (reader.pos < end) {
|
|
1389
|
+
const tag = reader.uint32();
|
|
1390
|
+
|
|
1391
|
+
switch (tag >>> 3) {
|
|
1392
|
+
case 1:
|
|
1393
|
+
message.groupId = (reader.uint64() as Long);
|
|
1394
|
+
break;
|
|
1395
|
+
|
|
1396
|
+
case 2:
|
|
1397
|
+
message.member = Member.decode(reader, reader.uint32());
|
|
1398
|
+
break;
|
|
1399
|
+
|
|
1400
|
+
default:
|
|
1401
|
+
reader.skipType(tag & 7);
|
|
1402
|
+
break;
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
return message;
|
|
1407
|
+
},
|
|
1408
|
+
|
|
1409
|
+
fromJSON(object: any): GroupMember {
|
|
1410
|
+
return {
|
|
1411
|
+
groupId: isSet(object.groupId) ? Long.fromValue(object.groupId) : Long.UZERO,
|
|
1412
|
+
member: isSet(object.member) ? Member.fromJSON(object.member) : undefined
|
|
1413
|
+
};
|
|
1414
|
+
},
|
|
1415
|
+
|
|
1416
|
+
toJSON(message: GroupMember): unknown {
|
|
1417
|
+
const obj: any = {};
|
|
1418
|
+
message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString());
|
|
1419
|
+
message.member !== undefined && (obj.member = message.member ? Member.toJSON(message.member) : undefined);
|
|
1420
|
+
return obj;
|
|
1421
|
+
},
|
|
1422
|
+
|
|
1423
|
+
fromPartial(object: Partial<GroupMember>): GroupMember {
|
|
1424
|
+
const message = createBaseGroupMember();
|
|
1425
|
+
message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO;
|
|
1426
|
+
message.member = object.member !== undefined && object.member !== null ? Member.fromPartial(object.member) : undefined;
|
|
1427
|
+
return message;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
};
|
|
1431
|
+
|
|
1432
|
+
function createBaseGroupPolicyInfo(): GroupPolicyInfo {
|
|
1433
|
+
return {
|
|
1434
|
+
address: "",
|
|
1435
|
+
groupId: Long.UZERO,
|
|
1436
|
+
admin: "",
|
|
1437
|
+
metadata: "",
|
|
1438
|
+
version: Long.UZERO,
|
|
1439
|
+
decisionPolicy: undefined,
|
|
1440
|
+
createdAt: undefined
|
|
1441
|
+
};
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
export const GroupPolicyInfo = {
|
|
1445
|
+
encode(message: GroupPolicyInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1446
|
+
if (message.address !== "") {
|
|
1447
|
+
writer.uint32(10).string(message.address);
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
if (!message.groupId.isZero()) {
|
|
1451
|
+
writer.uint32(16).uint64(message.groupId);
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
if (message.admin !== "") {
|
|
1455
|
+
writer.uint32(26).string(message.admin);
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
if (message.metadata !== "") {
|
|
1459
|
+
writer.uint32(34).string(message.metadata);
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
if (!message.version.isZero()) {
|
|
1463
|
+
writer.uint32(40).uint64(message.version);
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
if (message.decisionPolicy !== undefined) {
|
|
1467
|
+
Any.encode(message.decisionPolicy, writer.uint32(50).fork()).ldelim();
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
if (message.createdAt !== undefined) {
|
|
1471
|
+
Timestamp.encode(message.createdAt, writer.uint32(58).fork()).ldelim();
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
return writer;
|
|
1475
|
+
},
|
|
1476
|
+
|
|
1477
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GroupPolicyInfo {
|
|
1478
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1479
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1480
|
+
const message = createBaseGroupPolicyInfo();
|
|
1481
|
+
|
|
1482
|
+
while (reader.pos < end) {
|
|
1483
|
+
const tag = reader.uint32();
|
|
1484
|
+
|
|
1485
|
+
switch (tag >>> 3) {
|
|
1486
|
+
case 1:
|
|
1487
|
+
message.address = reader.string();
|
|
1488
|
+
break;
|
|
1489
|
+
|
|
1490
|
+
case 2:
|
|
1491
|
+
message.groupId = (reader.uint64() as Long);
|
|
1492
|
+
break;
|
|
1493
|
+
|
|
1494
|
+
case 3:
|
|
1495
|
+
message.admin = reader.string();
|
|
1496
|
+
break;
|
|
1497
|
+
|
|
1498
|
+
case 4:
|
|
1499
|
+
message.metadata = reader.string();
|
|
1500
|
+
break;
|
|
1501
|
+
|
|
1502
|
+
case 5:
|
|
1503
|
+
message.version = (reader.uint64() as Long);
|
|
1504
|
+
break;
|
|
1505
|
+
|
|
1506
|
+
case 6:
|
|
1507
|
+
message.decisionPolicy = Any.decode(reader, reader.uint32());
|
|
1508
|
+
break;
|
|
1509
|
+
|
|
1510
|
+
case 7:
|
|
1511
|
+
message.createdAt = Timestamp.decode(reader, reader.uint32());
|
|
1512
|
+
break;
|
|
1513
|
+
|
|
1514
|
+
default:
|
|
1515
|
+
reader.skipType(tag & 7);
|
|
1516
|
+
break;
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
return message;
|
|
1521
|
+
},
|
|
1522
|
+
|
|
1523
|
+
fromJSON(object: any): GroupPolicyInfo {
|
|
1524
|
+
return {
|
|
1525
|
+
address: isSet(object.address) ? String(object.address) : "",
|
|
1526
|
+
groupId: isSet(object.groupId) ? Long.fromValue(object.groupId) : Long.UZERO,
|
|
1527
|
+
admin: isSet(object.admin) ? String(object.admin) : "",
|
|
1528
|
+
metadata: isSet(object.metadata) ? String(object.metadata) : "",
|
|
1529
|
+
version: isSet(object.version) ? Long.fromValue(object.version) : Long.UZERO,
|
|
1530
|
+
decisionPolicy: isSet(object.decisionPolicy) ? Any.fromJSON(object.decisionPolicy) : undefined,
|
|
1531
|
+
createdAt: isSet(object.createdAt) ? fromJsonTimestamp(object.createdAt) : undefined
|
|
1532
|
+
};
|
|
1533
|
+
},
|
|
1534
|
+
|
|
1535
|
+
toJSON(message: GroupPolicyInfo): unknown {
|
|
1536
|
+
const obj: any = {};
|
|
1537
|
+
message.address !== undefined && (obj.address = message.address);
|
|
1538
|
+
message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString());
|
|
1539
|
+
message.admin !== undefined && (obj.admin = message.admin);
|
|
1540
|
+
message.metadata !== undefined && (obj.metadata = message.metadata);
|
|
1541
|
+
message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString());
|
|
1542
|
+
message.decisionPolicy !== undefined && (obj.decisionPolicy = message.decisionPolicy ? Any.toJSON(message.decisionPolicy) : undefined);
|
|
1543
|
+
message.createdAt !== undefined && (obj.createdAt = fromTimestamp(message.createdAt).toISOString());
|
|
1544
|
+
return obj;
|
|
1545
|
+
},
|
|
1546
|
+
|
|
1547
|
+
fromPartial(object: Partial<GroupPolicyInfo>): GroupPolicyInfo {
|
|
1548
|
+
const message = createBaseGroupPolicyInfo();
|
|
1549
|
+
message.address = object.address ?? "";
|
|
1550
|
+
message.groupId = object.groupId !== undefined && object.groupId !== null ? Long.fromValue(object.groupId) : Long.UZERO;
|
|
1551
|
+
message.admin = object.admin ?? "";
|
|
1552
|
+
message.metadata = object.metadata ?? "";
|
|
1553
|
+
message.version = object.version !== undefined && object.version !== null ? Long.fromValue(object.version) : Long.UZERO;
|
|
1554
|
+
message.decisionPolicy = object.decisionPolicy !== undefined && object.decisionPolicy !== null ? Any.fromPartial(object.decisionPolicy) : undefined;
|
|
1555
|
+
message.createdAt = object.createdAt !== undefined && object.createdAt !== null ? Timestamp.fromPartial(object.createdAt) : undefined;
|
|
1556
|
+
return message;
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
};
|
|
1560
|
+
|
|
1561
|
+
function createBaseProposal(): Proposal {
|
|
1562
|
+
return {
|
|
1563
|
+
id: Long.UZERO,
|
|
1564
|
+
groupPolicyAddress: "",
|
|
1565
|
+
metadata: "",
|
|
1566
|
+
proposers: [],
|
|
1567
|
+
submitTime: undefined,
|
|
1568
|
+
groupVersion: Long.UZERO,
|
|
1569
|
+
groupPolicyVersion: Long.UZERO,
|
|
1570
|
+
status: 0,
|
|
1571
|
+
finalTallyResult: undefined,
|
|
1572
|
+
votingPeriodEnd: undefined,
|
|
1573
|
+
executorResult: 0,
|
|
1574
|
+
messages: [],
|
|
1575
|
+
title: "",
|
|
1576
|
+
summary: ""
|
|
1577
|
+
};
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
export const Proposal = {
|
|
1581
|
+
encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1582
|
+
if (!message.id.isZero()) {
|
|
1583
|
+
writer.uint32(8).uint64(message.id);
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
if (message.groupPolicyAddress !== "") {
|
|
1587
|
+
writer.uint32(18).string(message.groupPolicyAddress);
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
if (message.metadata !== "") {
|
|
1591
|
+
writer.uint32(26).string(message.metadata);
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
for (const v of message.proposers) {
|
|
1595
|
+
writer.uint32(34).string(v!);
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
if (message.submitTime !== undefined) {
|
|
1599
|
+
Timestamp.encode(message.submitTime, writer.uint32(42).fork()).ldelim();
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
if (!message.groupVersion.isZero()) {
|
|
1603
|
+
writer.uint32(48).uint64(message.groupVersion);
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
if (!message.groupPolicyVersion.isZero()) {
|
|
1607
|
+
writer.uint32(56).uint64(message.groupPolicyVersion);
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
if (message.status !== 0) {
|
|
1611
|
+
writer.uint32(64).int32(message.status);
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
if (message.finalTallyResult !== undefined) {
|
|
1615
|
+
TallyResult.encode(message.finalTallyResult, writer.uint32(74).fork()).ldelim();
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
if (message.votingPeriodEnd !== undefined) {
|
|
1619
|
+
Timestamp.encode(message.votingPeriodEnd, writer.uint32(82).fork()).ldelim();
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
if (message.executorResult !== 0) {
|
|
1623
|
+
writer.uint32(88).int32(message.executorResult);
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
for (const v of message.messages) {
|
|
1627
|
+
Any.encode(v!, writer.uint32(98).fork()).ldelim();
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
if (message.title !== "") {
|
|
1631
|
+
writer.uint32(106).string(message.title);
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
if (message.summary !== "") {
|
|
1635
|
+
writer.uint32(114).string(message.summary);
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
return writer;
|
|
1639
|
+
},
|
|
1640
|
+
|
|
1641
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Proposal {
|
|
1642
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1643
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1644
|
+
const message = createBaseProposal();
|
|
1645
|
+
|
|
1646
|
+
while (reader.pos < end) {
|
|
1647
|
+
const tag = reader.uint32();
|
|
1648
|
+
|
|
1649
|
+
switch (tag >>> 3) {
|
|
1650
|
+
case 1:
|
|
1651
|
+
message.id = (reader.uint64() as Long);
|
|
1652
|
+
break;
|
|
1653
|
+
|
|
1654
|
+
case 2:
|
|
1655
|
+
message.groupPolicyAddress = reader.string();
|
|
1656
|
+
break;
|
|
1657
|
+
|
|
1658
|
+
case 3:
|
|
1659
|
+
message.metadata = reader.string();
|
|
1660
|
+
break;
|
|
1661
|
+
|
|
1662
|
+
case 4:
|
|
1663
|
+
message.proposers.push(reader.string());
|
|
1664
|
+
break;
|
|
1665
|
+
|
|
1666
|
+
case 5:
|
|
1667
|
+
message.submitTime = Timestamp.decode(reader, reader.uint32());
|
|
1668
|
+
break;
|
|
1669
|
+
|
|
1670
|
+
case 6:
|
|
1671
|
+
message.groupVersion = (reader.uint64() as Long);
|
|
1672
|
+
break;
|
|
1673
|
+
|
|
1674
|
+
case 7:
|
|
1675
|
+
message.groupPolicyVersion = (reader.uint64() as Long);
|
|
1676
|
+
break;
|
|
1677
|
+
|
|
1678
|
+
case 8:
|
|
1679
|
+
message.status = (reader.int32() as any);
|
|
1680
|
+
break;
|
|
1681
|
+
|
|
1682
|
+
case 9:
|
|
1683
|
+
message.finalTallyResult = TallyResult.decode(reader, reader.uint32());
|
|
1684
|
+
break;
|
|
1685
|
+
|
|
1686
|
+
case 10:
|
|
1687
|
+
message.votingPeriodEnd = Timestamp.decode(reader, reader.uint32());
|
|
1688
|
+
break;
|
|
1689
|
+
|
|
1690
|
+
case 11:
|
|
1691
|
+
message.executorResult = (reader.int32() as any);
|
|
1692
|
+
break;
|
|
1693
|
+
|
|
1694
|
+
case 12:
|
|
1695
|
+
message.messages.push(Any.decode(reader, reader.uint32()));
|
|
1696
|
+
break;
|
|
1697
|
+
|
|
1698
|
+
case 13:
|
|
1699
|
+
message.title = reader.string();
|
|
1700
|
+
break;
|
|
1701
|
+
|
|
1702
|
+
case 14:
|
|
1703
|
+
message.summary = reader.string();
|
|
1704
|
+
break;
|
|
1705
|
+
|
|
1706
|
+
default:
|
|
1707
|
+
reader.skipType(tag & 7);
|
|
1708
|
+
break;
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
return message;
|
|
1713
|
+
},
|
|
1714
|
+
|
|
1715
|
+
fromJSON(object: any): Proposal {
|
|
1716
|
+
return {
|
|
1717
|
+
id: isSet(object.id) ? Long.fromValue(object.id) : Long.UZERO,
|
|
1718
|
+
groupPolicyAddress: isSet(object.groupPolicyAddress) ? String(object.groupPolicyAddress) : "",
|
|
1719
|
+
metadata: isSet(object.metadata) ? String(object.metadata) : "",
|
|
1720
|
+
proposers: Array.isArray(object?.proposers) ? object.proposers.map((e: any) => String(e)) : [],
|
|
1721
|
+
submitTime: isSet(object.submitTime) ? fromJsonTimestamp(object.submitTime) : undefined,
|
|
1722
|
+
groupVersion: isSet(object.groupVersion) ? Long.fromValue(object.groupVersion) : Long.UZERO,
|
|
1723
|
+
groupPolicyVersion: isSet(object.groupPolicyVersion) ? Long.fromValue(object.groupPolicyVersion) : Long.UZERO,
|
|
1724
|
+
status: isSet(object.status) ? proposalStatusFromJSON(object.status) : 0,
|
|
1725
|
+
finalTallyResult: isSet(object.finalTallyResult) ? TallyResult.fromJSON(object.finalTallyResult) : undefined,
|
|
1726
|
+
votingPeriodEnd: isSet(object.votingPeriodEnd) ? fromJsonTimestamp(object.votingPeriodEnd) : undefined,
|
|
1727
|
+
executorResult: isSet(object.executorResult) ? proposalExecutorResultFromJSON(object.executorResult) : 0,
|
|
1728
|
+
messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromJSON(e)) : [],
|
|
1729
|
+
title: isSet(object.title) ? String(object.title) : "",
|
|
1730
|
+
summary: isSet(object.summary) ? String(object.summary) : ""
|
|
1731
|
+
};
|
|
1732
|
+
},
|
|
1733
|
+
|
|
1734
|
+
toJSON(message: Proposal): unknown {
|
|
1735
|
+
const obj: any = {};
|
|
1736
|
+
message.id !== undefined && (obj.id = (message.id || Long.UZERO).toString());
|
|
1737
|
+
message.groupPolicyAddress !== undefined && (obj.groupPolicyAddress = message.groupPolicyAddress);
|
|
1738
|
+
message.metadata !== undefined && (obj.metadata = message.metadata);
|
|
1739
|
+
|
|
1740
|
+
if (message.proposers) {
|
|
1741
|
+
obj.proposers = message.proposers.map(e => e);
|
|
1742
|
+
} else {
|
|
1743
|
+
obj.proposers = [];
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
message.submitTime !== undefined && (obj.submitTime = fromTimestamp(message.submitTime).toISOString());
|
|
1747
|
+
message.groupVersion !== undefined && (obj.groupVersion = (message.groupVersion || Long.UZERO).toString());
|
|
1748
|
+
message.groupPolicyVersion !== undefined && (obj.groupPolicyVersion = (message.groupPolicyVersion || Long.UZERO).toString());
|
|
1749
|
+
message.status !== undefined && (obj.status = proposalStatusToJSON(message.status));
|
|
1750
|
+
message.finalTallyResult !== undefined && (obj.finalTallyResult = message.finalTallyResult ? TallyResult.toJSON(message.finalTallyResult) : undefined);
|
|
1751
|
+
message.votingPeriodEnd !== undefined && (obj.votingPeriodEnd = fromTimestamp(message.votingPeriodEnd).toISOString());
|
|
1752
|
+
message.executorResult !== undefined && (obj.executorResult = proposalExecutorResultToJSON(message.executorResult));
|
|
1753
|
+
|
|
1754
|
+
if (message.messages) {
|
|
1755
|
+
obj.messages = message.messages.map(e => e ? Any.toJSON(e) : undefined);
|
|
1756
|
+
} else {
|
|
1757
|
+
obj.messages = [];
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
message.title !== undefined && (obj.title = message.title);
|
|
1761
|
+
message.summary !== undefined && (obj.summary = message.summary);
|
|
1762
|
+
return obj;
|
|
1763
|
+
},
|
|
1764
|
+
|
|
1765
|
+
fromPartial(object: Partial<Proposal>): Proposal {
|
|
1766
|
+
const message = createBaseProposal();
|
|
1767
|
+
message.id = object.id !== undefined && object.id !== null ? Long.fromValue(object.id) : Long.UZERO;
|
|
1768
|
+
message.groupPolicyAddress = object.groupPolicyAddress ?? "";
|
|
1769
|
+
message.metadata = object.metadata ?? "";
|
|
1770
|
+
message.proposers = object.proposers?.map(e => e) || [];
|
|
1771
|
+
message.submitTime = object.submitTime !== undefined && object.submitTime !== null ? Timestamp.fromPartial(object.submitTime) : undefined;
|
|
1772
|
+
message.groupVersion = object.groupVersion !== undefined && object.groupVersion !== null ? Long.fromValue(object.groupVersion) : Long.UZERO;
|
|
1773
|
+
message.groupPolicyVersion = object.groupPolicyVersion !== undefined && object.groupPolicyVersion !== null ? Long.fromValue(object.groupPolicyVersion) : Long.UZERO;
|
|
1774
|
+
message.status = object.status ?? 0;
|
|
1775
|
+
message.finalTallyResult = object.finalTallyResult !== undefined && object.finalTallyResult !== null ? TallyResult.fromPartial(object.finalTallyResult) : undefined;
|
|
1776
|
+
message.votingPeriodEnd = object.votingPeriodEnd !== undefined && object.votingPeriodEnd !== null ? Timestamp.fromPartial(object.votingPeriodEnd) : undefined;
|
|
1777
|
+
message.executorResult = object.executorResult ?? 0;
|
|
1778
|
+
message.messages = object.messages?.map(e => Any.fromPartial(e)) || [];
|
|
1779
|
+
message.title = object.title ?? "";
|
|
1780
|
+
message.summary = object.summary ?? "";
|
|
1781
|
+
return message;
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
};
|
|
1785
|
+
|
|
1786
|
+
function createBaseTallyResult(): TallyResult {
|
|
1787
|
+
return {
|
|
1788
|
+
yesCount: "",
|
|
1789
|
+
abstainCount: "",
|
|
1790
|
+
noCount: "",
|
|
1791
|
+
noWithVetoCount: ""
|
|
1792
|
+
};
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
export const TallyResult = {
|
|
1796
|
+
encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1797
|
+
if (message.yesCount !== "") {
|
|
1798
|
+
writer.uint32(10).string(message.yesCount);
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
if (message.abstainCount !== "") {
|
|
1802
|
+
writer.uint32(18).string(message.abstainCount);
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
if (message.noCount !== "") {
|
|
1806
|
+
writer.uint32(26).string(message.noCount);
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
if (message.noWithVetoCount !== "") {
|
|
1810
|
+
writer.uint32(34).string(message.noWithVetoCount);
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
return writer;
|
|
1814
|
+
},
|
|
1815
|
+
|
|
1816
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult {
|
|
1817
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1818
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1819
|
+
const message = createBaseTallyResult();
|
|
1820
|
+
|
|
1821
|
+
while (reader.pos < end) {
|
|
1822
|
+
const tag = reader.uint32();
|
|
1823
|
+
|
|
1824
|
+
switch (tag >>> 3) {
|
|
1825
|
+
case 1:
|
|
1826
|
+
message.yesCount = reader.string();
|
|
1827
|
+
break;
|
|
1828
|
+
|
|
1829
|
+
case 2:
|
|
1830
|
+
message.abstainCount = reader.string();
|
|
1831
|
+
break;
|
|
1832
|
+
|
|
1833
|
+
case 3:
|
|
1834
|
+
message.noCount = reader.string();
|
|
1835
|
+
break;
|
|
1836
|
+
|
|
1837
|
+
case 4:
|
|
1838
|
+
message.noWithVetoCount = reader.string();
|
|
1839
|
+
break;
|
|
1840
|
+
|
|
1841
|
+
default:
|
|
1842
|
+
reader.skipType(tag & 7);
|
|
1843
|
+
break;
|
|
1844
|
+
}
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
return message;
|
|
1848
|
+
},
|
|
1849
|
+
|
|
1850
|
+
fromJSON(object: any): TallyResult {
|
|
1851
|
+
return {
|
|
1852
|
+
yesCount: isSet(object.yesCount) ? String(object.yesCount) : "",
|
|
1853
|
+
abstainCount: isSet(object.abstainCount) ? String(object.abstainCount) : "",
|
|
1854
|
+
noCount: isSet(object.noCount) ? String(object.noCount) : "",
|
|
1855
|
+
noWithVetoCount: isSet(object.noWithVetoCount) ? String(object.noWithVetoCount) : ""
|
|
1856
|
+
};
|
|
1857
|
+
},
|
|
1858
|
+
|
|
1859
|
+
toJSON(message: TallyResult): unknown {
|
|
1860
|
+
const obj: any = {};
|
|
1861
|
+
message.yesCount !== undefined && (obj.yesCount = message.yesCount);
|
|
1862
|
+
message.abstainCount !== undefined && (obj.abstainCount = message.abstainCount);
|
|
1863
|
+
message.noCount !== undefined && (obj.noCount = message.noCount);
|
|
1864
|
+
message.noWithVetoCount !== undefined && (obj.noWithVetoCount = message.noWithVetoCount);
|
|
1865
|
+
return obj;
|
|
1866
|
+
},
|
|
1867
|
+
|
|
1868
|
+
fromPartial(object: Partial<TallyResult>): TallyResult {
|
|
1869
|
+
const message = createBaseTallyResult();
|
|
1870
|
+
message.yesCount = object.yesCount ?? "";
|
|
1871
|
+
message.abstainCount = object.abstainCount ?? "";
|
|
1872
|
+
message.noCount = object.noCount ?? "";
|
|
1873
|
+
message.noWithVetoCount = object.noWithVetoCount ?? "";
|
|
1874
|
+
return message;
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
};
|
|
1878
|
+
|
|
1879
|
+
function createBaseVote(): Vote {
|
|
1880
|
+
return {
|
|
1881
|
+
proposalId: Long.UZERO,
|
|
1882
|
+
voter: "",
|
|
1883
|
+
option: 0,
|
|
1884
|
+
metadata: "",
|
|
1885
|
+
submitTime: undefined
|
|
1886
|
+
};
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
export const Vote = {
|
|
1890
|
+
encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
1891
|
+
if (!message.proposalId.isZero()) {
|
|
1892
|
+
writer.uint32(8).uint64(message.proposalId);
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
if (message.voter !== "") {
|
|
1896
|
+
writer.uint32(18).string(message.voter);
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
if (message.option !== 0) {
|
|
1900
|
+
writer.uint32(24).int32(message.option);
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
if (message.metadata !== "") {
|
|
1904
|
+
writer.uint32(34).string(message.metadata);
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
if (message.submitTime !== undefined) {
|
|
1908
|
+
Timestamp.encode(message.submitTime, writer.uint32(42).fork()).ldelim();
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
return writer;
|
|
1912
|
+
},
|
|
1913
|
+
|
|
1914
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Vote {
|
|
1915
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
1916
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1917
|
+
const message = createBaseVote();
|
|
1918
|
+
|
|
1919
|
+
while (reader.pos < end) {
|
|
1920
|
+
const tag = reader.uint32();
|
|
1921
|
+
|
|
1922
|
+
switch (tag >>> 3) {
|
|
1923
|
+
case 1:
|
|
1924
|
+
message.proposalId = (reader.uint64() as Long);
|
|
1925
|
+
break;
|
|
1926
|
+
|
|
1927
|
+
case 2:
|
|
1928
|
+
message.voter = reader.string();
|
|
1929
|
+
break;
|
|
1930
|
+
|
|
1931
|
+
case 3:
|
|
1932
|
+
message.option = (reader.int32() as any);
|
|
1933
|
+
break;
|
|
1934
|
+
|
|
1935
|
+
case 4:
|
|
1936
|
+
message.metadata = reader.string();
|
|
1937
|
+
break;
|
|
1938
|
+
|
|
1939
|
+
case 5:
|
|
1940
|
+
message.submitTime = Timestamp.decode(reader, reader.uint32());
|
|
1941
|
+
break;
|
|
1942
|
+
|
|
1943
|
+
default:
|
|
1944
|
+
reader.skipType(tag & 7);
|
|
1945
|
+
break;
|
|
1946
|
+
}
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1949
|
+
return message;
|
|
1950
|
+
},
|
|
1951
|
+
|
|
1952
|
+
fromJSON(object: any): Vote {
|
|
1953
|
+
return {
|
|
1954
|
+
proposalId: isSet(object.proposalId) ? Long.fromValue(object.proposalId) : Long.UZERO,
|
|
1955
|
+
voter: isSet(object.voter) ? String(object.voter) : "",
|
|
1956
|
+
option: isSet(object.option) ? voteOptionFromJSON(object.option) : 0,
|
|
1957
|
+
metadata: isSet(object.metadata) ? String(object.metadata) : "",
|
|
1958
|
+
submitTime: isSet(object.submitTime) ? fromJsonTimestamp(object.submitTime) : undefined
|
|
1959
|
+
};
|
|
1960
|
+
},
|
|
1961
|
+
|
|
1962
|
+
toJSON(message: Vote): unknown {
|
|
1963
|
+
const obj: any = {};
|
|
1964
|
+
message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString());
|
|
1965
|
+
message.voter !== undefined && (obj.voter = message.voter);
|
|
1966
|
+
message.option !== undefined && (obj.option = voteOptionToJSON(message.option));
|
|
1967
|
+
message.metadata !== undefined && (obj.metadata = message.metadata);
|
|
1968
|
+
message.submitTime !== undefined && (obj.submitTime = fromTimestamp(message.submitTime).toISOString());
|
|
1969
|
+
return obj;
|
|
1970
|
+
},
|
|
1971
|
+
|
|
1972
|
+
fromPartial(object: Partial<Vote>): Vote {
|
|
1973
|
+
const message = createBaseVote();
|
|
1974
|
+
message.proposalId = object.proposalId !== undefined && object.proposalId !== null ? Long.fromValue(object.proposalId) : Long.UZERO;
|
|
1975
|
+
message.voter = object.voter ?? "";
|
|
1976
|
+
message.option = object.option ?? 0;
|
|
1977
|
+
message.metadata = object.metadata ?? "";
|
|
1978
|
+
message.submitTime = object.submitTime !== undefined && object.submitTime !== null ? Timestamp.fromPartial(object.submitTime) : undefined;
|
|
1979
|
+
return message;
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
};
|