juno-network 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/main/codegen/cosmos/client.js +11 -5
- package/main/codegen/cosmwasm/client.js +11 -5
- package/main/codegen/ibc/client.js +11 -5
- package/package.json +3 -3
- package/types/codegen/JunoSwap.client.d.ts +120 -0
- package/types/codegen/JunoSwap.types.d.ts +124 -0
- package/types/codegen/confio/proofs.d.ts +495 -0
- package/types/codegen/contracts.d.ts +12 -0
- package/types/codegen/cosmos/app/v1alpha1/config.d.ts +51 -0
- package/types/codegen/cosmos/app/v1alpha1/module.d.ts +105 -0
- package/types/codegen/cosmos/app/v1alpha1/query.d.ts +25 -0
- package/types/codegen/cosmos/app/v1alpha1/query.rpc.query.d.ts +11 -0
- package/types/codegen/cosmos/auth/v1beta1/auth.d.ts +49 -0
- package/types/codegen/cosmos/auth/v1beta1/genesis.d.ts +18 -0
- package/types/codegen/cosmos/auth/v1beta1/query.d.ts +171 -0
- package/types/codegen/cosmos/auth/v1beta1/query.lcd.d.ts +14 -0
- package/types/codegen/cosmos/auth/v1beta1/query.rpc.query.d.ts +23 -0
- package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +95 -0
- package/types/codegen/cosmos/authz/v1beta1/event.d.ts +48 -0
- package/types/codegen/cosmos/authz/v1beta1/genesis.d.ts +16 -0
- package/types/codegen/cosmos/authz/v1beta1/query.d.ts +118 -0
- package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/cosmos/authz/v1beta1/query.rpc.query.d.ts +21 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.amino.d.ts +54 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +118 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.registry.d.ts +76 -0
- package/types/codegen/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +15 -0
- package/types/codegen/cosmos/bank/v1beta1/authz.d.ts +26 -0
- package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +222 -0
- package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +62 -0
- package/types/codegen/cosmos/bank/v1beta1/query.d.ts +396 -0
- package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmos/bank/v1beta1/query.rpc.query.d.ts +39 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +44 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.d.ts +58 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +354 -0
- package/types/codegen/cosmos/base/kv/v1beta1/kv.d.ts +25 -0
- package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +138 -0
- package/types/codegen/cosmos/base/reflection/v1beta1/reflection.d.ts +53 -0
- package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +514 -0
- package/types/codegen/cosmos/base/snapshots/v1beta1/snapshot.d.ts +118 -0
- package/types/codegen/cosmos/base/store/v1beta1/commit_info.d.ts +47 -0
- package/types/codegen/cosmos/base/store/v1beta1/listening.d.ts +24 -0
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.d.ts +197 -0
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.lcd.d.ts +13 -0
- package/types/codegen/cosmos/base/tendermint/v1beta1/query.rpc.svc.d.ts +21 -0
- package/types/codegen/cosmos/base/v1beta1/coin.d.ts +78 -0
- package/types/codegen/cosmos/bundle.d.ts +6233 -0
- package/types/codegen/cosmos/capability/v1beta1/capability.d.ts +45 -0
- package/types/codegen/cosmos/capability/v1beta1/genesis.d.ts +34 -0
- package/types/codegen/cosmos/client.d.ts +473 -0
- package/types/codegen/cosmos/crisis/v1beta1/genesis.d.ts +18 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.amino.d.ts +17 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.d.ts +25 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/crypto/ed25519/keys.d.ts +46 -0
- package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +39 -0
- package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +95 -0
- package/types/codegen/cosmos/crypto/multisig/keys.d.ts +26 -0
- package/types/codegen/cosmos/crypto/multisig/v1beta1/multisig.d.ts +48 -0
- package/types/codegen/cosmos/crypto/secp256k1/keys.d.ts +40 -0
- package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +38 -0
- package/types/codegen/cosmos/distribution/v1beta1/distribution.d.ts +281 -0
- package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +224 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +385 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmos/distribution/v1beta1/query.rpc.query.d.ts +39 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +54 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.d.ts +133 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.registry.d.ts +60 -0
- package/types/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/cosmos/evidence/v1beta1/evidence.d.ts +19 -0
- package/types/codegen/cosmos/evidence/v1beta1/genesis.d.ts +15 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.d.ts +60 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.lcd.d.ts +9 -0
- package/types/codegen/cosmos/evidence/v1beta1/query.rpc.query.d.ts +13 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.amino.d.ts +19 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.d.ts +30 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/feegrant/v1beta1/feegrant.d.ts +89 -0
- package/types/codegen/cosmos/feegrant/v1beta1/genesis.d.ts +14 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.d.ts +84 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.lcd.d.ts +10 -0
- package/types/codegen/cosmos/feegrant/v1beta1/query.rpc.query.d.ts +15 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.amino.d.ts +32 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.d.ts +56 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.registry.d.ts +56 -0
- package/types/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/types/codegen/cosmos/genutil/v1beta1/genesis.d.ts +14 -0
- package/types/codegen/cosmos/gov/v1/genesis.d.ts +42 -0
- package/types/codegen/cosmos/gov/v1/gov.d.ts +301 -0
- package/types/codegen/cosmos/gov/v1/query.d.ts +298 -0
- package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +16 -0
- package/types/codegen/cosmos/gov/v1/query.rpc.query.d.ts +36 -0
- package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +86 -0
- package/types/codegen/cosmos/gov/v1/tx.d.ts +169 -0
- package/types/codegen/cosmos/gov/v1/tx.registry.d.ts +72 -0
- package/types/codegen/cosmos/gov/v1/tx.rpc.msg.d.ts +19 -0
- package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +42 -0
- package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +338 -0
- package/types/codegen/cosmos/gov/v1beta1/query.d.ts +298 -0
- package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +16 -0
- package/types/codegen/cosmos/gov/v1beta1/query.rpc.query.d.ts +36 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +68 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +141 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.registry.d.ts +60 -0
- package/types/codegen/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/cosmos/group/v1/events.d.ts +115 -0
- package/types/codegen/cosmos/group/v1/genesis.d.ts +38 -0
- package/types/codegen/cosmos/group/v1/query.d.ts +350 -0
- package/types/codegen/cosmos/group/v1/query.lcd.d.ts +20 -0
- package/types/codegen/cosmos/group/v1/query.rpc.query.d.ts +35 -0
- package/types/codegen/cosmos/group/v1/tx.amino.d.ts +227 -0
- package/types/codegen/cosmos/group/v1/tx.d.ts +419 -0
- package/types/codegen/cosmos/group/v1/tx.registry.d.ts +296 -0
- package/types/codegen/cosmos/group/v1/tx.rpc.msg.d.ts +37 -0
- package/types/codegen/cosmos/group/v1/types.d.ts +324 -0
- package/types/codegen/cosmos/lcd.d.ts +28 -0
- package/types/codegen/cosmos/mint/v1beta1/genesis.d.ts +17 -0
- package/types/codegen/cosmos/mint/v1beta1/mint.d.ts +38 -0
- package/types/codegen/cosmos/mint/v1beta1/query.d.ts +78 -0
- package/types/codegen/cosmos/mint/v1beta1/query.lcd.d.ts +10 -0
- package/types/codegen/cosmos/mint/v1beta1/query.rpc.query.d.ts +15 -0
- package/types/codegen/cosmos/msg/v1/msg.d.ts +1 -0
- package/types/codegen/cosmos/nft/v1beta1/event.d.ts +42 -0
- package/types/codegen/cosmos/nft/v1beta1/genesis.d.ts +30 -0
- package/types/codegen/cosmos/nft/v1beta1/nft.d.ts +47 -0
- package/types/codegen/cosmos/nft/v1beta1/query.d.ts +166 -0
- package/types/codegen/cosmos/nft/v1beta1/query.lcd.d.ts +14 -0
- package/types/codegen/cosmos/nft/v1beta1/query.rpc.query.d.ts +23 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.amino.d.ts +18 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.d.ts +30 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/orm/v1/orm.d.ts +117 -0
- package/types/codegen/cosmos/orm/v1alpha1/schema.d.ts +90 -0
- package/types/codegen/cosmos/params/v1beta1/params.d.ts +31 -0
- package/types/codegen/cosmos/params/v1beta1/query.d.ts +71 -0
- package/types/codegen/cosmos/params/v1beta1/query.lcd.d.ts +9 -0
- package/types/codegen/cosmos/params/v1beta1/query.rpc.query.d.ts +13 -0
- package/types/codegen/cosmos/rpc.query.d.ts +97 -0
- package/types/codegen/cosmos/rpc.tx.d.ts +26 -0
- package/types/codegen/cosmos/slashing/v1beta1/genesis.d.ts +70 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.d.ts +85 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.lcd.d.ts +10 -0
- package/types/codegen/cosmos/slashing/v1beta1/query.rpc.query.d.ts +15 -0
- package/types/codegen/cosmos/slashing/v1beta1/slashing.d.ts +52 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.amino.d.ts +15 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.d.ts +23 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +97 -0
- package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +75 -0
- package/types/codegen/cosmos/staking/v1beta1/query.d.ts +592 -0
- package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +22 -0
- package/types/codegen/cosmos/staking/v1beta1/query.rpc.query.d.ts +54 -0
- package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +568 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +106 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +191 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.registry.d.ts +72 -0
- package/types/codegen/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +19 -0
- package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +203 -0
- package/types/codegen/cosmos/tx/v1beta1/service.d.ts +339 -0
- package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +11 -0
- package/types/codegen/cosmos/tx/v1beta1/service.rpc.svc.d.ts +27 -0
- package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +603 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +233 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +13 -0
- package/types/codegen/cosmos/upgrade/v1beta1/query.rpc.query.d.ts +27 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +39 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +91 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.registry.d.ts +36 -0
- package/types/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +13 -0
- package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +165 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.amino.d.ts +58 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.d.ts +88 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.registry.d.ts +76 -0
- package/types/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +15 -0
- package/types/codegen/cosmos/vesting/v1beta1/vesting.d.ts +97 -0
- package/types/codegen/cosmos_proto/bundle.d.ts +24 -0
- package/types/codegen/cosmos_proto/cosmos.d.ts +124 -0
- package/types/codegen/cosmwasm/bundle.d.ts +1109 -0
- package/types/codegen/cosmwasm/client.d.ts +120 -0
- package/types/codegen/cosmwasm/lcd.d.ts +33 -0
- package/types/codegen/cosmwasm/rpc.query.d.ts +112 -0
- package/types/codegen/cosmwasm/rpc.tx.d.ts +31 -0
- package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +101 -0
- package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +60 -0
- package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +297 -0
- package/types/codegen/cosmwasm/wasm/v1/query.d.ts +411 -0
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +17 -0
- package/types/codegen/cosmwasm/wasm/v1/query.rpc.query.d.ts +39 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +95 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +262 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +84 -0
- package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +21 -0
- package/types/codegen/cosmwasm/wasm/v1/types.d.ts +247 -0
- package/types/codegen/gogoproto/bundle.d.ts +1 -0
- package/types/codegen/gogoproto/gogo.d.ts +1 -0
- package/types/codegen/google/api/annotations.d.ts +1 -0
- package/types/codegen/google/api/http.d.ts +375 -0
- package/types/codegen/google/bundle.d.ts +1545 -0
- package/types/codegen/google/protobuf/any.d.ts +237 -0
- package/types/codegen/google/protobuf/descriptor.d.ts +1725 -0
- package/types/codegen/google/protobuf/duration.d.ts +161 -0
- package/types/codegen/google/protobuf/empty.d.ts +33 -0
- package/types/codegen/google/protobuf/field_mask.d.ts +417 -0
- package/types/codegen/google/protobuf/struct.d.ts +148 -0
- package/types/codegen/google/protobuf/timestamp.d.ts +205 -0
- package/types/codegen/google/protobuf/wrappers.d.ts +209 -0
- package/types/codegen/ibc/applications/transfer/v1/genesis.d.ts +20 -0
- package/types/codegen/ibc/applications/transfer/v1/query.d.ts +118 -0
- package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +11 -0
- package/types/codegen/ibc/applications/transfer/v1/query.rpc.query.d.ts +21 -0
- package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +74 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +25 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +74 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.registry.d.ts +24 -0
- package/types/codegen/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +11 -0
- package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +37 -0
- package/types/codegen/ibc/bundle.d.ts +3781 -0
- package/types/codegen/ibc/client.d.ts +559 -0
- package/types/codegen/ibc/core/channel/v1/channel.d.ts +313 -0
- package/types/codegen/ibc/core/channel/v1/genesis.d.ts +55 -0
- package/types/codegen/ibc/core/channel/v1/query.d.ts +726 -0
- package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +21 -0
- package/types/codegen/ibc/core/channel/v1/query.rpc.query.d.ts +51 -0
- package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +209 -0
- package/types/codegen/ibc/core/channel/v1/tx.d.ts +380 -0
- package/types/codegen/ibc/core/channel/v1/tx.registry.d.ts +132 -0
- package/types/codegen/ibc/core/channel/v1/tx.rpc.msg.d.ts +29 -0
- package/types/codegen/ibc/core/client/v1/client.d.ts +219 -0
- package/types/codegen/ibc/core/client/v1/genesis.d.ts +82 -0
- package/types/codegen/ibc/core/client/v1/query.d.ts +377 -0
- package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +16 -0
- package/types/codegen/ibc/core/client/v1/query.rpc.query.d.ts +36 -0
- package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +77 -0
- package/types/codegen/ibc/core/client/v1/tx.d.ts +187 -0
- package/types/codegen/ibc/core/client/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/client/v1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/ibc/core/commitment/v1/commitment.d.ts +89 -0
- package/types/codegen/ibc/core/connection/v1/connection.d.ts +260 -0
- package/types/codegen/ibc/core/connection/v1/genesis.d.ts +24 -0
- package/types/codegen/ibc/core/connection/v1/query.d.ts +264 -0
- package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +13 -0
- package/types/codegen/ibc/core/connection/v1/query.rpc.query.d.ts +27 -0
- package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +103 -0
- package/types/codegen/ibc/core/connection/v1/tx.d.ts +225 -0
- package/types/codegen/ibc/core/connection/v1/tx.registry.d.ts +60 -0
- package/types/codegen/ibc/core/connection/v1/tx.rpc.msg.d.ts +17 -0
- package/types/codegen/ibc/core/port/v1/query.d.ts +37 -0
- package/types/codegen/ibc/core/port/v1/query.rpc.query.d.ts +11 -0
- package/types/codegen/ibc/core/types/v1/genesis.d.ts +21 -0
- package/types/codegen/ibc/lcd.d.ts +46 -0
- package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +28 -0
- package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +433 -0
- package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +433 -0
- package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +215 -0
- package/types/codegen/ibc/rpc.query.d.ts +148 -0
- package/types/codegen/ibc/rpc.tx.d.ts +44 -0
- package/types/codegen/ics23/bundle.d.ts +545 -0
- package/types/codegen/index.d.ts +18 -0
- package/types/codegen/juno/bundle.d.ts +226 -0
- package/types/codegen/juno/lcd.d.ts +31 -0
- package/types/codegen/juno/mint/genesis.d.ts +22 -0
- package/types/codegen/juno/mint/mint.d.ts +44 -0
- package/types/codegen/juno/mint/query.d.ts +99 -0
- package/types/codegen/juno/mint/query.lcd.d.ts +11 -0
- package/types/codegen/juno/mint/query.rpc.query.d.ts +21 -0
- package/types/codegen/juno/rpc.query.d.ts +104 -0
- package/types/codegen/tendermint/abci/types.d.ts +902 -0
- package/types/codegen/tendermint/bundle.d.ts +2065 -0
- package/types/codegen/tendermint/crypto/keys.d.ts +17 -0
- package/types/codegen/tendermint/crypto/proof.d.ts +89 -0
- package/types/codegen/tendermint/libs/bits/types.d.ts +15 -0
- package/types/codegen/tendermint/p2p/types.d.ts +87 -0
- package/types/codegen/tendermint/types/block.d.ts +21 -0
- package/types/codegen/tendermint/types/evidence.d.ts +70 -0
- package/types/codegen/tendermint/types/params.d.ts +181 -0
- package/types/codegen/tendermint/types/types.d.ts +326 -0
- package/types/codegen/tendermint/types/validator.d.ts +48 -0
- package/types/codegen/tendermint/version/types.d.ts +48 -0
- package/types/index.d.ts +1 -0
@@ -0,0 +1,227 @@
|
|
1
|
+
import { AminoMsg } from "@cosmjs/amino";
|
2
|
+
import { MsgCreateGroup, MsgUpdateGroupMembers, MsgUpdateGroupAdmin, MsgUpdateGroupMetadata, MsgCreateGroupPolicy, MsgCreateGroupWithPolicy, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyMetadata, MsgSubmitProposal, MsgWithdrawProposal, MsgVote, MsgExec, MsgLeaveGroup } from "./tx";
|
3
|
+
export interface AminoMsgCreateGroup extends AminoMsg {
|
4
|
+
type: "cosmos-sdk/MsgCreateGroup";
|
5
|
+
value: {
|
6
|
+
admin: string;
|
7
|
+
members: {
|
8
|
+
address: string;
|
9
|
+
weight: string;
|
10
|
+
metadata: string;
|
11
|
+
added_at: {
|
12
|
+
seconds: string;
|
13
|
+
nanos: number;
|
14
|
+
};
|
15
|
+
}[];
|
16
|
+
metadata: string;
|
17
|
+
};
|
18
|
+
}
|
19
|
+
export interface AminoMsgUpdateGroupMembers extends AminoMsg {
|
20
|
+
type: "cosmos-sdk/MsgUpdateGroupMembers";
|
21
|
+
value: {
|
22
|
+
admin: string;
|
23
|
+
group_id: string;
|
24
|
+
member_updates: {
|
25
|
+
address: string;
|
26
|
+
weight: string;
|
27
|
+
metadata: string;
|
28
|
+
added_at: {
|
29
|
+
seconds: string;
|
30
|
+
nanos: number;
|
31
|
+
};
|
32
|
+
}[];
|
33
|
+
};
|
34
|
+
}
|
35
|
+
export interface AminoMsgUpdateGroupAdmin extends AminoMsg {
|
36
|
+
type: "cosmos-sdk/MsgUpdateGroupAdmin";
|
37
|
+
value: {
|
38
|
+
admin: string;
|
39
|
+
group_id: string;
|
40
|
+
new_admin: string;
|
41
|
+
};
|
42
|
+
}
|
43
|
+
export interface AminoMsgUpdateGroupMetadata extends AminoMsg {
|
44
|
+
type: "cosmos-sdk/MsgUpdateGroupMetadata";
|
45
|
+
value: {
|
46
|
+
admin: string;
|
47
|
+
group_id: string;
|
48
|
+
metadata: string;
|
49
|
+
};
|
50
|
+
}
|
51
|
+
export interface AminoMsgCreateGroupPolicy extends AminoMsg {
|
52
|
+
type: "cosmos-sdk/MsgCreateGroupPolicy";
|
53
|
+
value: {
|
54
|
+
admin: string;
|
55
|
+
group_id: string;
|
56
|
+
metadata: string;
|
57
|
+
decision_policy: {
|
58
|
+
type_url: string;
|
59
|
+
value: Uint8Array;
|
60
|
+
};
|
61
|
+
};
|
62
|
+
}
|
63
|
+
export interface AminoMsgCreateGroupWithPolicy extends AminoMsg {
|
64
|
+
type: "cosmos-sdk/MsgCreateGroupWithPolicy";
|
65
|
+
value: {
|
66
|
+
admin: string;
|
67
|
+
members: {
|
68
|
+
address: string;
|
69
|
+
weight: string;
|
70
|
+
metadata: string;
|
71
|
+
added_at: {
|
72
|
+
seconds: string;
|
73
|
+
nanos: number;
|
74
|
+
};
|
75
|
+
}[];
|
76
|
+
group_metadata: string;
|
77
|
+
group_policy_metadata: string;
|
78
|
+
group_policy_as_admin: boolean;
|
79
|
+
decision_policy: {
|
80
|
+
type_url: string;
|
81
|
+
value: Uint8Array;
|
82
|
+
};
|
83
|
+
};
|
84
|
+
}
|
85
|
+
export interface AminoMsgUpdateGroupPolicyAdmin extends AminoMsg {
|
86
|
+
type: "cosmos-sdk/MsgUpdateGroupPolicyAdmin";
|
87
|
+
value: {
|
88
|
+
admin: string;
|
89
|
+
address: string;
|
90
|
+
new_admin: string;
|
91
|
+
};
|
92
|
+
}
|
93
|
+
export interface AminoMsgUpdateGroupPolicyDecisionPolicy extends AminoMsg {
|
94
|
+
type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicy";
|
95
|
+
value: {
|
96
|
+
admin: string;
|
97
|
+
address: string;
|
98
|
+
decision_policy: {
|
99
|
+
type_url: string;
|
100
|
+
value: Uint8Array;
|
101
|
+
};
|
102
|
+
};
|
103
|
+
}
|
104
|
+
export interface AminoMsgUpdateGroupPolicyMetadata extends AminoMsg {
|
105
|
+
type: "cosmos-sdk/MsgUpdateGroupPolicyMetadata";
|
106
|
+
value: {
|
107
|
+
admin: string;
|
108
|
+
address: string;
|
109
|
+
metadata: string;
|
110
|
+
};
|
111
|
+
}
|
112
|
+
export interface AminoMsgSubmitProposal extends AminoMsg {
|
113
|
+
type: "cosmos-sdk/group/MsgSubmitProposal";
|
114
|
+
value: {
|
115
|
+
address: string;
|
116
|
+
proposers: string[];
|
117
|
+
metadata: string;
|
118
|
+
messages: {
|
119
|
+
type_url: string;
|
120
|
+
value: Uint8Array;
|
121
|
+
}[];
|
122
|
+
exec: number;
|
123
|
+
};
|
124
|
+
}
|
125
|
+
export interface AminoMsgWithdrawProposal extends AminoMsg {
|
126
|
+
type: "cosmos-sdk/group/MsgWithdrawProposal";
|
127
|
+
value: {
|
128
|
+
proposal_id: string;
|
129
|
+
address: string;
|
130
|
+
};
|
131
|
+
}
|
132
|
+
export interface AminoMsgVote extends AminoMsg {
|
133
|
+
type: "cosmos-sdk/group/MsgVote";
|
134
|
+
value: {
|
135
|
+
proposal_id: string;
|
136
|
+
voter: string;
|
137
|
+
option: number;
|
138
|
+
metadata: string;
|
139
|
+
exec: number;
|
140
|
+
};
|
141
|
+
}
|
142
|
+
export interface AminoMsgExec extends AminoMsg {
|
143
|
+
type: "cosmos-sdk/group/MsgExec";
|
144
|
+
value: {
|
145
|
+
proposal_id: string;
|
146
|
+
signer: string;
|
147
|
+
};
|
148
|
+
}
|
149
|
+
export interface AminoMsgLeaveGroup extends AminoMsg {
|
150
|
+
type: "cosmos-sdk/group/MsgLeaveGroup";
|
151
|
+
value: {
|
152
|
+
address: string;
|
153
|
+
group_id: string;
|
154
|
+
};
|
155
|
+
}
|
156
|
+
export declare const AminoConverter: {
|
157
|
+
"/cosmos.group.v1.MsgCreateGroup": {
|
158
|
+
aminoType: string;
|
159
|
+
toAmino: ({ admin, members, metadata }: MsgCreateGroup) => AminoMsgCreateGroup["value"];
|
160
|
+
fromAmino: ({ admin, members, metadata }: AminoMsgCreateGroup["value"]) => MsgCreateGroup;
|
161
|
+
};
|
162
|
+
"/cosmos.group.v1.MsgUpdateGroupMembers": {
|
163
|
+
aminoType: string;
|
164
|
+
toAmino: ({ admin, group_id, member_updates }: MsgUpdateGroupMembers) => AminoMsgUpdateGroupMembers["value"];
|
165
|
+
fromAmino: ({ admin, group_id, member_updates }: AminoMsgUpdateGroupMembers["value"]) => MsgUpdateGroupMembers;
|
166
|
+
};
|
167
|
+
"/cosmos.group.v1.MsgUpdateGroupAdmin": {
|
168
|
+
aminoType: string;
|
169
|
+
toAmino: ({ admin, group_id, new_admin }: MsgUpdateGroupAdmin) => AminoMsgUpdateGroupAdmin["value"];
|
170
|
+
fromAmino: ({ admin, group_id, new_admin }: AminoMsgUpdateGroupAdmin["value"]) => MsgUpdateGroupAdmin;
|
171
|
+
};
|
172
|
+
"/cosmos.group.v1.MsgUpdateGroupMetadata": {
|
173
|
+
aminoType: string;
|
174
|
+
toAmino: ({ admin, group_id, metadata }: MsgUpdateGroupMetadata) => AminoMsgUpdateGroupMetadata["value"];
|
175
|
+
fromAmino: ({ admin, group_id, metadata }: AminoMsgUpdateGroupMetadata["value"]) => MsgUpdateGroupMetadata;
|
176
|
+
};
|
177
|
+
"/cosmos.group.v1.MsgCreateGroupPolicy": {
|
178
|
+
aminoType: string;
|
179
|
+
toAmino: ({ admin, group_id, metadata, decision_policy }: MsgCreateGroupPolicy) => AminoMsgCreateGroupPolicy["value"];
|
180
|
+
fromAmino: ({ admin, group_id, metadata, decision_policy }: AminoMsgCreateGroupPolicy["value"]) => MsgCreateGroupPolicy;
|
181
|
+
};
|
182
|
+
"/cosmos.group.v1.MsgCreateGroupWithPolicy": {
|
183
|
+
aminoType: string;
|
184
|
+
toAmino: ({ admin, members, group_metadata, group_policy_metadata, group_policy_as_admin, decision_policy }: MsgCreateGroupWithPolicy) => AminoMsgCreateGroupWithPolicy["value"];
|
185
|
+
fromAmino: ({ admin, members, group_metadata, group_policy_metadata, group_policy_as_admin, decision_policy }: AminoMsgCreateGroupWithPolicy["value"]) => MsgCreateGroupWithPolicy;
|
186
|
+
};
|
187
|
+
"/cosmos.group.v1.MsgUpdateGroupPolicyAdmin": {
|
188
|
+
aminoType: string;
|
189
|
+
toAmino: ({ admin, address, new_admin }: MsgUpdateGroupPolicyAdmin) => AminoMsgUpdateGroupPolicyAdmin["value"];
|
190
|
+
fromAmino: ({ admin, address, new_admin }: AminoMsgUpdateGroupPolicyAdmin["value"]) => MsgUpdateGroupPolicyAdmin;
|
191
|
+
};
|
192
|
+
"/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy": {
|
193
|
+
aminoType: string;
|
194
|
+
toAmino: ({ admin, address, decision_policy }: MsgUpdateGroupPolicyDecisionPolicy) => AminoMsgUpdateGroupPolicyDecisionPolicy["value"];
|
195
|
+
fromAmino: ({ admin, address, decision_policy }: AminoMsgUpdateGroupPolicyDecisionPolicy["value"]) => MsgUpdateGroupPolicyDecisionPolicy;
|
196
|
+
};
|
197
|
+
"/cosmos.group.v1.MsgUpdateGroupPolicyMetadata": {
|
198
|
+
aminoType: string;
|
199
|
+
toAmino: ({ admin, address, metadata }: MsgUpdateGroupPolicyMetadata) => AminoMsgUpdateGroupPolicyMetadata["value"];
|
200
|
+
fromAmino: ({ admin, address, metadata }: AminoMsgUpdateGroupPolicyMetadata["value"]) => MsgUpdateGroupPolicyMetadata;
|
201
|
+
};
|
202
|
+
"/cosmos.group.v1.MsgSubmitProposal": {
|
203
|
+
aminoType: string;
|
204
|
+
toAmino: ({ address, proposers, metadata, messages, exec }: MsgSubmitProposal) => AminoMsgSubmitProposal["value"];
|
205
|
+
fromAmino: ({ address, proposers, metadata, messages, exec }: AminoMsgSubmitProposal["value"]) => MsgSubmitProposal;
|
206
|
+
};
|
207
|
+
"/cosmos.group.v1.MsgWithdrawProposal": {
|
208
|
+
aminoType: string;
|
209
|
+
toAmino: ({ proposal_id, address }: MsgWithdrawProposal) => AminoMsgWithdrawProposal["value"];
|
210
|
+
fromAmino: ({ proposal_id, address }: AminoMsgWithdrawProposal["value"]) => MsgWithdrawProposal;
|
211
|
+
};
|
212
|
+
"/cosmos.group.v1.MsgVote": {
|
213
|
+
aminoType: string;
|
214
|
+
toAmino: ({ proposal_id, voter, option, metadata, exec }: MsgVote) => AminoMsgVote["value"];
|
215
|
+
fromAmino: ({ proposal_id, voter, option, metadata, exec }: AminoMsgVote["value"]) => MsgVote;
|
216
|
+
};
|
217
|
+
"/cosmos.group.v1.MsgExec": {
|
218
|
+
aminoType: string;
|
219
|
+
toAmino: ({ proposal_id, signer }: MsgExec) => AminoMsgExec["value"];
|
220
|
+
fromAmino: ({ proposal_id, signer }: AminoMsgExec["value"]) => MsgExec;
|
221
|
+
};
|
222
|
+
"/cosmos.group.v1.MsgLeaveGroup": {
|
223
|
+
aminoType: string;
|
224
|
+
toAmino: ({ address, group_id }: MsgLeaveGroup) => AminoMsgLeaveGroup["value"];
|
225
|
+
fromAmino: ({ address, group_id }: AminoMsgLeaveGroup["value"]) => MsgLeaveGroup;
|
226
|
+
};
|
227
|
+
};
|
@@ -0,0 +1,419 @@
|
|
1
|
+
import { Member, VoteOption } from "./types";
|
2
|
+
import { Any } from "../../../google/protobuf/any";
|
3
|
+
import * as _m0 from "protobufjs/minimal";
|
4
|
+
import { DeepPartial, Long } from "@osmonauts/helpers";
|
5
|
+
/** Exec defines modes of execution of a proposal on creation or on new vote. */
|
6
|
+
export declare enum Exec {
|
7
|
+
/**
|
8
|
+
* EXEC_UNSPECIFIED - An empty value means that there should be a separate
|
9
|
+
* MsgExec request for the proposal to execute.
|
10
|
+
*/
|
11
|
+
EXEC_UNSPECIFIED = 0,
|
12
|
+
/**
|
13
|
+
* EXEC_TRY - Try to execute the proposal immediately.
|
14
|
+
* If the proposal is not allowed per the DecisionPolicy,
|
15
|
+
* the proposal will still be open and could
|
16
|
+
* be executed at a later point.
|
17
|
+
*/
|
18
|
+
EXEC_TRY = 1,
|
19
|
+
UNRECOGNIZED = -1
|
20
|
+
}
|
21
|
+
export declare function execFromJSON(object: any): Exec;
|
22
|
+
export declare function execToJSON(object: Exec): string;
|
23
|
+
/** MsgCreateGroup is the Msg/CreateGroup request type. */
|
24
|
+
export interface MsgCreateGroup {
|
25
|
+
/** admin is the account address of the group admin. */
|
26
|
+
admin: string;
|
27
|
+
/** members defines the group members. */
|
28
|
+
members: Member[];
|
29
|
+
/** metadata is any arbitrary metadata to attached to the group. */
|
30
|
+
metadata: string;
|
31
|
+
}
|
32
|
+
/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */
|
33
|
+
export interface MsgCreateGroupResponse {
|
34
|
+
/** group_id is the unique ID of the newly created group. */
|
35
|
+
group_id: Long;
|
36
|
+
}
|
37
|
+
/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */
|
38
|
+
export interface MsgUpdateGroupMembers {
|
39
|
+
/** admin is the account address of the group admin. */
|
40
|
+
admin: string;
|
41
|
+
/** group_id is the unique ID of the group. */
|
42
|
+
group_id: Long;
|
43
|
+
/**
|
44
|
+
* member_updates is the list of members to update,
|
45
|
+
* set weight to 0 to remove a member.
|
46
|
+
*/
|
47
|
+
member_updates: Member[];
|
48
|
+
}
|
49
|
+
/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */
|
50
|
+
export interface MsgUpdateGroupMembersResponse {
|
51
|
+
}
|
52
|
+
/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */
|
53
|
+
export interface MsgUpdateGroupAdmin {
|
54
|
+
/** admin is the current account address of the group admin. */
|
55
|
+
admin: string;
|
56
|
+
/** group_id is the unique ID of the group. */
|
57
|
+
group_id: Long;
|
58
|
+
/** new_admin is the group new admin account address. */
|
59
|
+
new_admin: string;
|
60
|
+
}
|
61
|
+
/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */
|
62
|
+
export interface MsgUpdateGroupAdminResponse {
|
63
|
+
}
|
64
|
+
/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */
|
65
|
+
export interface MsgUpdateGroupMetadata {
|
66
|
+
/** admin is the account address of the group admin. */
|
67
|
+
admin: string;
|
68
|
+
/** group_id is the unique ID of the group. */
|
69
|
+
group_id: Long;
|
70
|
+
/** metadata is the updated group's metadata. */
|
71
|
+
metadata: string;
|
72
|
+
}
|
73
|
+
/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */
|
74
|
+
export interface MsgUpdateGroupMetadataResponse {
|
75
|
+
}
|
76
|
+
/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */
|
77
|
+
export interface MsgCreateGroupPolicy {
|
78
|
+
/** admin is the account address of the group admin. */
|
79
|
+
admin: string;
|
80
|
+
/** group_id is the unique ID of the group. */
|
81
|
+
group_id: Long;
|
82
|
+
/** metadata is any arbitrary metadata attached to the group policy. */
|
83
|
+
metadata: string;
|
84
|
+
/** decision_policy specifies the group policy's decision policy. */
|
85
|
+
decision_policy: Any;
|
86
|
+
}
|
87
|
+
/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */
|
88
|
+
export interface MsgCreateGroupPolicyResponse {
|
89
|
+
/** address is the account address of the newly created group policy. */
|
90
|
+
address: string;
|
91
|
+
}
|
92
|
+
/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */
|
93
|
+
export interface MsgUpdateGroupPolicyAdmin {
|
94
|
+
/** admin is the account address of the group admin. */
|
95
|
+
admin: string;
|
96
|
+
/** address is the account address of the group policy. */
|
97
|
+
address: string;
|
98
|
+
/** new_admin is the new group policy admin. */
|
99
|
+
new_admin: string;
|
100
|
+
}
|
101
|
+
/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */
|
102
|
+
export interface MsgCreateGroupWithPolicy {
|
103
|
+
/** admin is the account address of the group and group policy admin. */
|
104
|
+
admin: string;
|
105
|
+
/** members defines the group members. */
|
106
|
+
members: Member[];
|
107
|
+
/** group_metadata is any arbitrary metadata attached to the group. */
|
108
|
+
group_metadata: string;
|
109
|
+
/** group_policy_metadata is any arbitrary metadata attached to the group policy. */
|
110
|
+
group_policy_metadata: string;
|
111
|
+
/** group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group and group policy admin. */
|
112
|
+
group_policy_as_admin: boolean;
|
113
|
+
/** decision_policy specifies the group policy's decision policy. */
|
114
|
+
decision_policy: Any;
|
115
|
+
}
|
116
|
+
/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */
|
117
|
+
export interface MsgCreateGroupWithPolicyResponse {
|
118
|
+
/** group_id is the unique ID of the newly created group with policy. */
|
119
|
+
group_id: Long;
|
120
|
+
/** group_policy_address is the account address of the newly created group policy. */
|
121
|
+
group_policy_address: string;
|
122
|
+
}
|
123
|
+
/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */
|
124
|
+
export interface MsgUpdateGroupPolicyAdminResponse {
|
125
|
+
}
|
126
|
+
/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */
|
127
|
+
export interface MsgUpdateGroupPolicyDecisionPolicy {
|
128
|
+
/** admin is the account address of the group admin. */
|
129
|
+
admin: string;
|
130
|
+
/** address is the account address of group policy. */
|
131
|
+
address: string;
|
132
|
+
/** decision_policy is the updated group policy's decision policy. */
|
133
|
+
decision_policy: Any;
|
134
|
+
}
|
135
|
+
/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */
|
136
|
+
export interface MsgUpdateGroupPolicyDecisionPolicyResponse {
|
137
|
+
}
|
138
|
+
/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */
|
139
|
+
export interface MsgUpdateGroupPolicyMetadata {
|
140
|
+
/** admin is the account address of the group admin. */
|
141
|
+
admin: string;
|
142
|
+
/** address is the account address of group policy. */
|
143
|
+
address: string;
|
144
|
+
/** metadata is the updated group policy metadata. */
|
145
|
+
metadata: string;
|
146
|
+
}
|
147
|
+
/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */
|
148
|
+
export interface MsgUpdateGroupPolicyMetadataResponse {
|
149
|
+
}
|
150
|
+
/** MsgSubmitProposal is the Msg/SubmitProposal request type. */
|
151
|
+
export interface MsgSubmitProposal {
|
152
|
+
/** address is the account address of group policy. */
|
153
|
+
address: string;
|
154
|
+
/**
|
155
|
+
* proposers are the account addresses of the proposers.
|
156
|
+
* Proposers signatures will be counted as yes votes.
|
157
|
+
*/
|
158
|
+
proposers: string[];
|
159
|
+
/** metadata is any arbitrary metadata to attached to the proposal. */
|
160
|
+
metadata: string;
|
161
|
+
/** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */
|
162
|
+
messages: Any[];
|
163
|
+
/**
|
164
|
+
* exec defines the mode of execution of the proposal,
|
165
|
+
* whether it should be executed immediately on creation or not.
|
166
|
+
* If so, proposers signatures are considered as Yes votes.
|
167
|
+
*/
|
168
|
+
exec: Exec;
|
169
|
+
}
|
170
|
+
/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */
|
171
|
+
export interface MsgSubmitProposalResponse {
|
172
|
+
/** proposal is the unique ID of the proposal. */
|
173
|
+
proposal_id: Long;
|
174
|
+
}
|
175
|
+
/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */
|
176
|
+
export interface MsgWithdrawProposal {
|
177
|
+
/** proposal is the unique ID of the proposal. */
|
178
|
+
proposal_id: Long;
|
179
|
+
/** address is the admin of the group policy or one of the proposer of the proposal. */
|
180
|
+
address: string;
|
181
|
+
}
|
182
|
+
/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */
|
183
|
+
export interface MsgWithdrawProposalResponse {
|
184
|
+
}
|
185
|
+
/** MsgVote is the Msg/Vote request type. */
|
186
|
+
export interface MsgVote {
|
187
|
+
/** proposal is the unique ID of the proposal. */
|
188
|
+
proposal_id: Long;
|
189
|
+
/** voter is the voter account address. */
|
190
|
+
voter: string;
|
191
|
+
/** option is the voter's choice on the proposal. */
|
192
|
+
option: VoteOption;
|
193
|
+
/** metadata is any arbitrary metadata to attached to the vote. */
|
194
|
+
metadata: string;
|
195
|
+
/**
|
196
|
+
* exec defines whether the proposal should be executed
|
197
|
+
* immediately after voting or not.
|
198
|
+
*/
|
199
|
+
exec: Exec;
|
200
|
+
}
|
201
|
+
/** MsgVoteResponse is the Msg/Vote response type. */
|
202
|
+
export interface MsgVoteResponse {
|
203
|
+
}
|
204
|
+
/** MsgExec is the Msg/Exec request type. */
|
205
|
+
export interface MsgExec {
|
206
|
+
/** proposal is the unique ID of the proposal. */
|
207
|
+
proposal_id: Long;
|
208
|
+
/** signer is the account address used to execute the proposal. */
|
209
|
+
signer: string;
|
210
|
+
}
|
211
|
+
/** MsgExecResponse is the Msg/Exec request type. */
|
212
|
+
export interface MsgExecResponse {
|
213
|
+
}
|
214
|
+
/** MsgLeaveGroup is the Msg/LeaveGroup request type. */
|
215
|
+
export interface MsgLeaveGroup {
|
216
|
+
/** address is the account address of the group member. */
|
217
|
+
address: string;
|
218
|
+
/** group_id is the unique ID of the group. */
|
219
|
+
group_id: Long;
|
220
|
+
}
|
221
|
+
/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */
|
222
|
+
export interface MsgLeaveGroupResponse {
|
223
|
+
}
|
224
|
+
export declare const MsgCreateGroup: {
|
225
|
+
encode(message: MsgCreateGroup, writer?: _m0.Writer): _m0.Writer;
|
226
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroup;
|
227
|
+
fromJSON(object: any): MsgCreateGroup;
|
228
|
+
toJSON(message: MsgCreateGroup): unknown;
|
229
|
+
fromPartial(object: DeepPartial<MsgCreateGroup>): MsgCreateGroup;
|
230
|
+
};
|
231
|
+
export declare const MsgCreateGroupResponse: {
|
232
|
+
encode(message: MsgCreateGroupResponse, writer?: _m0.Writer): _m0.Writer;
|
233
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponse;
|
234
|
+
fromJSON(object: any): MsgCreateGroupResponse;
|
235
|
+
toJSON(message: MsgCreateGroupResponse): unknown;
|
236
|
+
fromPartial(object: DeepPartial<MsgCreateGroupResponse>): MsgCreateGroupResponse;
|
237
|
+
};
|
238
|
+
export declare const MsgUpdateGroupMembers: {
|
239
|
+
encode(message: MsgUpdateGroupMembers, writer?: _m0.Writer): _m0.Writer;
|
240
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembers;
|
241
|
+
fromJSON(object: any): MsgUpdateGroupMembers;
|
242
|
+
toJSON(message: MsgUpdateGroupMembers): unknown;
|
243
|
+
fromPartial(object: DeepPartial<MsgUpdateGroupMembers>): MsgUpdateGroupMembers;
|
244
|
+
};
|
245
|
+
export declare const MsgUpdateGroupMembersResponse: {
|
246
|
+
encode(_: MsgUpdateGroupMembersResponse, writer?: _m0.Writer): _m0.Writer;
|
247
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse;
|
248
|
+
fromJSON(_: any): MsgUpdateGroupMembersResponse;
|
249
|
+
toJSON(_: MsgUpdateGroupMembersResponse): unknown;
|
250
|
+
fromPartial(_: DeepPartial<MsgUpdateGroupMembersResponse>): MsgUpdateGroupMembersResponse;
|
251
|
+
};
|
252
|
+
export declare const MsgUpdateGroupAdmin: {
|
253
|
+
encode(message: MsgUpdateGroupAdmin, writer?: _m0.Writer): _m0.Writer;
|
254
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdmin;
|
255
|
+
fromJSON(object: any): MsgUpdateGroupAdmin;
|
256
|
+
toJSON(message: MsgUpdateGroupAdmin): unknown;
|
257
|
+
fromPartial(object: DeepPartial<MsgUpdateGroupAdmin>): MsgUpdateGroupAdmin;
|
258
|
+
};
|
259
|
+
export declare const MsgUpdateGroupAdminResponse: {
|
260
|
+
encode(_: MsgUpdateGroupAdminResponse, writer?: _m0.Writer): _m0.Writer;
|
261
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse;
|
262
|
+
fromJSON(_: any): MsgUpdateGroupAdminResponse;
|
263
|
+
toJSON(_: MsgUpdateGroupAdminResponse): unknown;
|
264
|
+
fromPartial(_: DeepPartial<MsgUpdateGroupAdminResponse>): MsgUpdateGroupAdminResponse;
|
265
|
+
};
|
266
|
+
export declare const MsgUpdateGroupMetadata: {
|
267
|
+
encode(message: MsgUpdateGroupMetadata, writer?: _m0.Writer): _m0.Writer;
|
268
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadata;
|
269
|
+
fromJSON(object: any): MsgUpdateGroupMetadata;
|
270
|
+
toJSON(message: MsgUpdateGroupMetadata): unknown;
|
271
|
+
fromPartial(object: DeepPartial<MsgUpdateGroupMetadata>): MsgUpdateGroupMetadata;
|
272
|
+
};
|
273
|
+
export declare const MsgUpdateGroupMetadataResponse: {
|
274
|
+
encode(_: MsgUpdateGroupMetadataResponse, writer?: _m0.Writer): _m0.Writer;
|
275
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse;
|
276
|
+
fromJSON(_: any): MsgUpdateGroupMetadataResponse;
|
277
|
+
toJSON(_: MsgUpdateGroupMetadataResponse): unknown;
|
278
|
+
fromPartial(_: DeepPartial<MsgUpdateGroupMetadataResponse>): MsgUpdateGroupMetadataResponse;
|
279
|
+
};
|
280
|
+
export declare const MsgCreateGroupPolicy: {
|
281
|
+
encode(message: MsgCreateGroupPolicy, writer?: _m0.Writer): _m0.Writer;
|
282
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicy;
|
283
|
+
fromJSON(object: any): MsgCreateGroupPolicy;
|
284
|
+
toJSON(message: MsgCreateGroupPolicy): unknown;
|
285
|
+
fromPartial(object: DeepPartial<MsgCreateGroupPolicy>): MsgCreateGroupPolicy;
|
286
|
+
};
|
287
|
+
export declare const MsgCreateGroupPolicyResponse: {
|
288
|
+
encode(message: MsgCreateGroupPolicyResponse, writer?: _m0.Writer): _m0.Writer;
|
289
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse;
|
290
|
+
fromJSON(object: any): MsgCreateGroupPolicyResponse;
|
291
|
+
toJSON(message: MsgCreateGroupPolicyResponse): unknown;
|
292
|
+
fromPartial(object: DeepPartial<MsgCreateGroupPolicyResponse>): MsgCreateGroupPolicyResponse;
|
293
|
+
};
|
294
|
+
export declare const MsgUpdateGroupPolicyAdmin: {
|
295
|
+
encode(message: MsgUpdateGroupPolicyAdmin, writer?: _m0.Writer): _m0.Writer;
|
296
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdmin;
|
297
|
+
fromJSON(object: any): MsgUpdateGroupPolicyAdmin;
|
298
|
+
toJSON(message: MsgUpdateGroupPolicyAdmin): unknown;
|
299
|
+
fromPartial(object: DeepPartial<MsgUpdateGroupPolicyAdmin>): MsgUpdateGroupPolicyAdmin;
|
300
|
+
};
|
301
|
+
export declare const MsgCreateGroupWithPolicy: {
|
302
|
+
encode(message: MsgCreateGroupWithPolicy, writer?: _m0.Writer): _m0.Writer;
|
303
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicy;
|
304
|
+
fromJSON(object: any): MsgCreateGroupWithPolicy;
|
305
|
+
toJSON(message: MsgCreateGroupWithPolicy): unknown;
|
306
|
+
fromPartial(object: DeepPartial<MsgCreateGroupWithPolicy>): MsgCreateGroupWithPolicy;
|
307
|
+
};
|
308
|
+
export declare const MsgCreateGroupWithPolicyResponse: {
|
309
|
+
encode(message: MsgCreateGroupWithPolicyResponse, writer?: _m0.Writer): _m0.Writer;
|
310
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse;
|
311
|
+
fromJSON(object: any): MsgCreateGroupWithPolicyResponse;
|
312
|
+
toJSON(message: MsgCreateGroupWithPolicyResponse): unknown;
|
313
|
+
fromPartial(object: DeepPartial<MsgCreateGroupWithPolicyResponse>): MsgCreateGroupWithPolicyResponse;
|
314
|
+
};
|
315
|
+
export declare const MsgUpdateGroupPolicyAdminResponse: {
|
316
|
+
encode(_: MsgUpdateGroupPolicyAdminResponse, writer?: _m0.Writer): _m0.Writer;
|
317
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse;
|
318
|
+
fromJSON(_: any): MsgUpdateGroupPolicyAdminResponse;
|
319
|
+
toJSON(_: MsgUpdateGroupPolicyAdminResponse): unknown;
|
320
|
+
fromPartial(_: DeepPartial<MsgUpdateGroupPolicyAdminResponse>): MsgUpdateGroupPolicyAdminResponse;
|
321
|
+
};
|
322
|
+
export declare const MsgUpdateGroupPolicyDecisionPolicy: {
|
323
|
+
encode(message: MsgUpdateGroupPolicyDecisionPolicy, writer?: _m0.Writer): _m0.Writer;
|
324
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicy;
|
325
|
+
fromJSON(object: any): MsgUpdateGroupPolicyDecisionPolicy;
|
326
|
+
toJSON(message: MsgUpdateGroupPolicyDecisionPolicy): unknown;
|
327
|
+
fromPartial(object: DeepPartial<MsgUpdateGroupPolicyDecisionPolicy>): MsgUpdateGroupPolicyDecisionPolicy;
|
328
|
+
};
|
329
|
+
export declare const MsgUpdateGroupPolicyDecisionPolicyResponse: {
|
330
|
+
encode(_: MsgUpdateGroupPolicyDecisionPolicyResponse, writer?: _m0.Writer): _m0.Writer;
|
331
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse;
|
332
|
+
fromJSON(_: any): MsgUpdateGroupPolicyDecisionPolicyResponse;
|
333
|
+
toJSON(_: MsgUpdateGroupPolicyDecisionPolicyResponse): unknown;
|
334
|
+
fromPartial(_: DeepPartial<MsgUpdateGroupPolicyDecisionPolicyResponse>): MsgUpdateGroupPolicyDecisionPolicyResponse;
|
335
|
+
};
|
336
|
+
export declare const MsgUpdateGroupPolicyMetadata: {
|
337
|
+
encode(message: MsgUpdateGroupPolicyMetadata, writer?: _m0.Writer): _m0.Writer;
|
338
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadata;
|
339
|
+
fromJSON(object: any): MsgUpdateGroupPolicyMetadata;
|
340
|
+
toJSON(message: MsgUpdateGroupPolicyMetadata): unknown;
|
341
|
+
fromPartial(object: DeepPartial<MsgUpdateGroupPolicyMetadata>): MsgUpdateGroupPolicyMetadata;
|
342
|
+
};
|
343
|
+
export declare const MsgUpdateGroupPolicyMetadataResponse: {
|
344
|
+
encode(_: MsgUpdateGroupPolicyMetadataResponse, writer?: _m0.Writer): _m0.Writer;
|
345
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse;
|
346
|
+
fromJSON(_: any): MsgUpdateGroupPolicyMetadataResponse;
|
347
|
+
toJSON(_: MsgUpdateGroupPolicyMetadataResponse): unknown;
|
348
|
+
fromPartial(_: DeepPartial<MsgUpdateGroupPolicyMetadataResponse>): MsgUpdateGroupPolicyMetadataResponse;
|
349
|
+
};
|
350
|
+
export declare const MsgSubmitProposal: {
|
351
|
+
encode(message: MsgSubmitProposal, writer?: _m0.Writer): _m0.Writer;
|
352
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal;
|
353
|
+
fromJSON(object: any): MsgSubmitProposal;
|
354
|
+
toJSON(message: MsgSubmitProposal): unknown;
|
355
|
+
fromPartial(object: DeepPartial<MsgSubmitProposal>): MsgSubmitProposal;
|
356
|
+
};
|
357
|
+
export declare const MsgSubmitProposalResponse: {
|
358
|
+
encode(message: MsgSubmitProposalResponse, writer?: _m0.Writer): _m0.Writer;
|
359
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse;
|
360
|
+
fromJSON(object: any): MsgSubmitProposalResponse;
|
361
|
+
toJSON(message: MsgSubmitProposalResponse): unknown;
|
362
|
+
fromPartial(object: DeepPartial<MsgSubmitProposalResponse>): MsgSubmitProposalResponse;
|
363
|
+
};
|
364
|
+
export declare const MsgWithdrawProposal: {
|
365
|
+
encode(message: MsgWithdrawProposal, writer?: _m0.Writer): _m0.Writer;
|
366
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposal;
|
367
|
+
fromJSON(object: any): MsgWithdrawProposal;
|
368
|
+
toJSON(message: MsgWithdrawProposal): unknown;
|
369
|
+
fromPartial(object: DeepPartial<MsgWithdrawProposal>): MsgWithdrawProposal;
|
370
|
+
};
|
371
|
+
export declare const MsgWithdrawProposalResponse: {
|
372
|
+
encode(_: MsgWithdrawProposalResponse, writer?: _m0.Writer): _m0.Writer;
|
373
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponse;
|
374
|
+
fromJSON(_: any): MsgWithdrawProposalResponse;
|
375
|
+
toJSON(_: MsgWithdrawProposalResponse): unknown;
|
376
|
+
fromPartial(_: DeepPartial<MsgWithdrawProposalResponse>): MsgWithdrawProposalResponse;
|
377
|
+
};
|
378
|
+
export declare const MsgVote: {
|
379
|
+
encode(message: MsgVote, writer?: _m0.Writer): _m0.Writer;
|
380
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote;
|
381
|
+
fromJSON(object: any): MsgVote;
|
382
|
+
toJSON(message: MsgVote): unknown;
|
383
|
+
fromPartial(object: DeepPartial<MsgVote>): MsgVote;
|
384
|
+
};
|
385
|
+
export declare const MsgVoteResponse: {
|
386
|
+
encode(_: MsgVoteResponse, writer?: _m0.Writer): _m0.Writer;
|
387
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse;
|
388
|
+
fromJSON(_: any): MsgVoteResponse;
|
389
|
+
toJSON(_: MsgVoteResponse): unknown;
|
390
|
+
fromPartial(_: DeepPartial<MsgVoteResponse>): MsgVoteResponse;
|
391
|
+
};
|
392
|
+
export declare const MsgExec: {
|
393
|
+
encode(message: MsgExec, writer?: _m0.Writer): _m0.Writer;
|
394
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec;
|
395
|
+
fromJSON(object: any): MsgExec;
|
396
|
+
toJSON(message: MsgExec): unknown;
|
397
|
+
fromPartial(object: DeepPartial<MsgExec>): MsgExec;
|
398
|
+
};
|
399
|
+
export declare const MsgExecResponse: {
|
400
|
+
encode(_: MsgExecResponse, writer?: _m0.Writer): _m0.Writer;
|
401
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse;
|
402
|
+
fromJSON(_: any): MsgExecResponse;
|
403
|
+
toJSON(_: MsgExecResponse): unknown;
|
404
|
+
fromPartial(_: DeepPartial<MsgExecResponse>): MsgExecResponse;
|
405
|
+
};
|
406
|
+
export declare const MsgLeaveGroup: {
|
407
|
+
encode(message: MsgLeaveGroup, writer?: _m0.Writer): _m0.Writer;
|
408
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroup;
|
409
|
+
fromJSON(object: any): MsgLeaveGroup;
|
410
|
+
toJSON(message: MsgLeaveGroup): unknown;
|
411
|
+
fromPartial(object: DeepPartial<MsgLeaveGroup>): MsgLeaveGroup;
|
412
|
+
};
|
413
|
+
export declare const MsgLeaveGroupResponse: {
|
414
|
+
encode(_: MsgLeaveGroupResponse, writer?: _m0.Writer): _m0.Writer;
|
415
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponse;
|
416
|
+
fromJSON(_: any): MsgLeaveGroupResponse;
|
417
|
+
toJSON(_: MsgLeaveGroupResponse): unknown;
|
418
|
+
fromPartial(_: DeepPartial<MsgLeaveGroupResponse>): MsgLeaveGroupResponse;
|
419
|
+
};
|